|
1670 | 1670 | "$ref": "#/components/schemas/AddToSteeringPoolRequest"
|
1671 | 1671 | }
|
1672 | 1672 | }
|
| 1673 | + } |
| 1674 | + }, |
| 1675 | + "responses": { |
| 1676 | + "200": { |
| 1677 | + "description": "Successful Response", |
| 1678 | + "content": { "application/json": { "schema": {} } } |
| 1679 | + }, |
| 1680 | + "422": { |
| 1681 | + "description": "Validation Error", |
| 1682 | + "content": { |
| 1683 | + "application/json": { |
| 1684 | + "schema": { "$ref": "#/components/schemas/HTTPValidationError" } |
| 1685 | + } |
| 1686 | + } |
| 1687 | + } |
| 1688 | + }, |
| 1689 | + "security": [{ "HTTPBearer": [] }] |
| 1690 | + } |
| 1691 | + }, |
| 1692 | + "/v1/account_connections/remove_from_steering_pool": { |
| 1693 | + "post": { |
| 1694 | + "tags": ["account_connections"], |
| 1695 | + "summary": "Remove From Steering Pool", |
| 1696 | + "operationId": "remove_from_steering_pool", |
| 1697 | + "parameters": [ |
| 1698 | + { |
| 1699 | + "required": true, |
| 1700 | + "schema": { "type": "string", "format": "uuid", "title": "Id" }, |
| 1701 | + "name": "id", |
| 1702 | + "in": "query" |
| 1703 | + } |
| 1704 | + ], |
| 1705 | + "requestBody": { |
| 1706 | + "content": { |
| 1707 | + "application/json": { |
| 1708 | + "schema": { |
| 1709 | + "$ref": "#/components/schemas/RemoveFromSteeringPoolRequest" |
| 1710 | + } |
| 1711 | + } |
1673 | 1712 | },
|
1674 | 1713 | "required": true
|
1675 | 1714 | },
|
|
1714 | 1753 | },
|
1715 | 1754 | "page": { "type": "integer", "title": "Page" },
|
1716 | 1755 | "size": { "type": "integer", "title": "Size" },
|
1717 |
| - "has_more": { "type": "boolean", "title": "Has More" } |
| 1756 | + "has_more": { "type": "boolean", "title": "Has More" }, |
| 1757 | + "total": { "type": "integer", "title": "Total" }, |
| 1758 | + "total_is_estimated": { |
| 1759 | + "type": "boolean", |
| 1760 | + "title": "Total Is Estimated" |
| 1761 | + } |
1718 | 1762 | },
|
1719 | 1763 | "type": "object",
|
1720 |
| - "required": ["items", "page", "size", "has_more"], |
| 1764 | + "required": [ |
| 1765 | + "items", |
| 1766 | + "page", |
| 1767 | + "size", |
| 1768 | + "has_more", |
| 1769 | + "total", |
| 1770 | + "total_is_estimated" |
| 1771 | + ], |
1721 | 1772 | "title": "AccountConnectionPage"
|
1722 | 1773 | },
|
1723 | 1774 | "AccountConnectionParamsRequest": {
|
|
1793 | 1844 | },
|
1794 | 1845 | "page": { "type": "integer", "title": "Page" },
|
1795 | 1846 | "size": { "type": "integer", "title": "Size" },
|
1796 |
| - "has_more": { "type": "boolean", "title": "Has More" } |
| 1847 | + "has_more": { "type": "boolean", "title": "Has More" }, |
| 1848 | + "total": { "type": "integer", "title": "Total" }, |
| 1849 | + "total_is_estimated": { |
| 1850 | + "type": "boolean", |
| 1851 | + "title": "Total Is Estimated" |
| 1852 | + } |
1797 | 1853 | },
|
1798 | 1854 | "type": "object",
|
1799 |
| - "required": ["items", "page", "size", "has_more"], |
| 1855 | + "required": [ |
| 1856 | + "items", |
| 1857 | + "page", |
| 1858 | + "size", |
| 1859 | + "has_more", |
| 1860 | + "total", |
| 1861 | + "total_is_estimated" |
| 1862 | + ], |
1800 | 1863 | "title": "ActionPage"
|
1801 | 1864 | },
|
1802 | 1865 | "ActionParamsRequest": {
|
|
1973 | 2036 | "phone_number": { "type": "string", "title": "Phone Number" }
|
1974 | 2037 | },
|
1975 | 2038 | "type": "object",
|
| 2039 | + "required": ["phone_number"], |
1976 | 2040 | "title": "AddToSteeringPoolRequest"
|
1977 | 2041 | },
|
1978 | 2042 | "Agent": {
|
|
2101 | 2165 | },
|
2102 | 2166 | "page": { "type": "integer", "title": "Page" },
|
2103 | 2167 | "size": { "type": "integer", "title": "Size" },
|
2104 |
| - "has_more": { "type": "boolean", "title": "Has More" } |
| 2168 | + "has_more": { "type": "boolean", "title": "Has More" }, |
| 2169 | + "total": { "type": "integer", "title": "Total" }, |
| 2170 | + "total_is_estimated": { |
| 2171 | + "type": "boolean", |
| 2172 | + "title": "Total Is Estimated" |
| 2173 | + } |
2105 | 2174 | },
|
2106 | 2175 | "type": "object",
|
2107 |
| - "required": ["items", "page", "size", "has_more"], |
| 2176 | + "required": [ |
| 2177 | + "items", |
| 2178 | + "page", |
| 2179 | + "size", |
| 2180 | + "has_more", |
| 2181 | + "total", |
| 2182 | + "total_is_estimated" |
| 2183 | + ], |
2108 | 2184 | "title": "AgentPage"
|
2109 | 2185 | },
|
2110 | 2186 | "AgentParams": {
|
|
2551 | 2627 | ],
|
2552 | 2628 | "title": "Stage Outcome"
|
2553 | 2629 | },
|
| 2630 | + "telephony_metadata": { |
| 2631 | + "anyOf": [ |
| 2632 | + { "$ref": "#/components/schemas/VonageTelephonyMetadata" }, |
| 2633 | + { "$ref": "#/components/schemas/TwilioTelephonyMetadata" } |
| 2634 | + ], |
| 2635 | + "title": "Telephony Metadata" |
| 2636 | + }, |
2554 | 2637 | "to_number": { "type": "string", "title": "To Number" },
|
2555 | 2638 | "from_number": { "type": "string", "title": "From Number" },
|
2556 | 2639 | "agent": { "$ref": "#/components/schemas/Agent" },
|
|
2622 | 2705 | },
|
2623 | 2706 | "page": { "type": "integer", "title": "Page" },
|
2624 | 2707 | "size": { "type": "integer", "title": "Size" },
|
2625 |
| - "has_more": { "type": "boolean", "title": "Has More" } |
| 2708 | + "has_more": { "type": "boolean", "title": "Has More" }, |
| 2709 | + "total": { "type": "integer", "title": "Total" }, |
| 2710 | + "total_is_estimated": { |
| 2711 | + "type": "boolean", |
| 2712 | + "title": "Total Is Estimated" |
| 2713 | + } |
2626 | 2714 | },
|
2627 | 2715 | "type": "object",
|
2628 |
| - "required": ["items", "page", "size", "has_more"], |
| 2716 | + "required": [ |
| 2717 | + "items", |
| 2718 | + "page", |
| 2719 | + "size", |
| 2720 | + "has_more", |
| 2721 | + "total", |
| 2722 | + "total_is_estimated" |
| 2723 | + ], |
2629 | 2724 | "title": "CallPage"
|
2630 | 2725 | },
|
2631 | 2726 | "CallStatus": {
|
|
3471 | 3566 | ],
|
3472 | 3567 | "title": "Stage Outcome"
|
3473 | 3568 | },
|
| 3569 | + "telephony_metadata": { |
| 3570 | + "anyOf": [ |
| 3571 | + { "$ref": "#/components/schemas/VonageTelephonyMetadata" }, |
| 3572 | + { "$ref": "#/components/schemas/TwilioTelephonyMetadata" } |
| 3573 | + ], |
| 3574 | + "title": "Telephony Metadata" |
| 3575 | + }, |
3474 | 3576 | "to_number": { "type": "string", "title": "To Number" },
|
3475 | 3577 | "from_number": { "type": "string", "title": "From Number" },
|
3476 | 3578 | "agent": { "type": "string", "format": "uuid", "title": "Agent" },
|
|
3694 | 3796 | },
|
3695 | 3797 | "page": { "type": "integer", "title": "Page" },
|
3696 | 3798 | "size": { "type": "integer", "title": "Size" },
|
3697 |
| - "has_more": { "type": "boolean", "title": "Has More" } |
| 3799 | + "has_more": { "type": "boolean", "title": "Has More" }, |
| 3800 | + "total": { "type": "integer", "title": "Total" }, |
| 3801 | + "total_is_estimated": { |
| 3802 | + "type": "boolean", |
| 3803 | + "title": "Total Is Estimated" |
| 3804 | + } |
3698 | 3805 | },
|
3699 | 3806 | "type": "object",
|
3700 |
| - "required": ["items", "page", "size", "has_more"], |
| 3807 | + "required": [ |
| 3808 | + "items", |
| 3809 | + "page", |
| 3810 | + "size", |
| 3811 | + "has_more", |
| 3812 | + "total", |
| 3813 | + "total_is_estimated" |
| 3814 | + ], |
3701 | 3815 | "title": "PhoneNumberPage"
|
3702 | 3816 | },
|
3703 | 3817 | "PhraseBasedActionTrigger": {
|
|
4018 | 4132 | },
|
4019 | 4133 | "page": { "type": "integer", "title": "Page" },
|
4020 | 4134 | "size": { "type": "integer", "title": "Size" },
|
4021 |
| - "has_more": { "type": "boolean", "title": "Has More" } |
| 4135 | + "has_more": { "type": "boolean", "title": "Has More" }, |
| 4136 | + "total": { "type": "integer", "title": "Total" }, |
| 4137 | + "total_is_estimated": { |
| 4138 | + "type": "boolean", |
| 4139 | + "title": "Total Is Estimated" |
| 4140 | + } |
4022 | 4141 | },
|
4023 | 4142 | "type": "object",
|
4024 |
| - "required": ["items", "page", "size", "has_more"], |
| 4143 | + "required": [ |
| 4144 | + "items", |
| 4145 | + "page", |
| 4146 | + "size", |
| 4147 | + "has_more", |
| 4148 | + "total", |
| 4149 | + "total_is_estimated" |
| 4150 | + ], |
4025 | 4151 | "title": "PromptPage"
|
4026 | 4152 | },
|
4027 | 4153 | "PromptParams": {
|
|
4097 | 4223 | "type": "object",
|
4098 | 4224 | "title": "PromptUpdateParams"
|
4099 | 4225 | },
|
| 4226 | + "RemoveFromSteeringPoolRequest": { |
| 4227 | + "properties": { |
| 4228 | + "phone_number": { "type": "string", "title": "Phone Number" } |
| 4229 | + }, |
| 4230 | + "type": "object", |
| 4231 | + "required": ["phone_number"], |
| 4232 | + "title": "RemoveFromSteeringPoolRequest" |
| 4233 | + }, |
4100 | 4234 | "RimeVoice": {
|
4101 | 4235 | "properties": {
|
4102 | 4236 | "id": { "type": "string", "format": "uuid", "title": "Id" },
|
|
4432 | 4566 | "required": ["twilio_account_sid", "twilio_auth_token"],
|
4433 | 4567 | "title": "TwilioCredentials"
|
4434 | 4568 | },
|
| 4569 | + "TwilioTelephonyMetadata": { |
| 4570 | + "properties": { |
| 4571 | + "type": { |
| 4572 | + "type": "string", |
| 4573 | + "enum": ["telephony_metadata_twilio"], |
| 4574 | + "title": "Type", |
| 4575 | + "default": "telephony_metadata_twilio" |
| 4576 | + }, |
| 4577 | + "call_sid": { "type": "string", "title": "Call Sid" }, |
| 4578 | + "call_status": { "type": "string", "title": "Call Status" }, |
| 4579 | + "transfer_call_sid": { |
| 4580 | + "type": "string", |
| 4581 | + "title": "Transfer Call Sid" |
| 4582 | + }, |
| 4583 | + "transfer_call_status": { |
| 4584 | + "type": "string", |
| 4585 | + "title": "Transfer Call Status" |
| 4586 | + }, |
| 4587 | + "conference_sid": { "type": "string", "title": "Conference Sid" } |
| 4588 | + }, |
| 4589 | + "type": "object", |
| 4590 | + "title": "TwilioTelephonyMetadata" |
| 4591 | + }, |
4435 | 4592 | "Undefined": {
|
4436 | 4593 | "properties": {},
|
4437 | 4594 | "additionalProperties": false,
|
|
4516 | 4673 | },
|
4517 | 4674 | "page": { "type": "integer", "title": "Page" },
|
4518 | 4675 | "size": { "type": "integer", "title": "Size" },
|
4519 |
| - "has_more": { "type": "boolean", "title": "Has More" } |
| 4676 | + "has_more": { "type": "boolean", "title": "Has More" }, |
| 4677 | + "total": { "type": "integer", "title": "Total" }, |
| 4678 | + "total_is_estimated": { |
| 4679 | + "type": "boolean", |
| 4680 | + "title": "Total Is Estimated" |
| 4681 | + } |
4520 | 4682 | },
|
4521 | 4683 | "type": "object",
|
4522 |
| - "required": ["items", "page", "size", "has_more"], |
| 4684 | + "required": [ |
| 4685 | + "items", |
| 4686 | + "page", |
| 4687 | + "size", |
| 4688 | + "has_more", |
| 4689 | + "total", |
| 4690 | + "total_is_estimated" |
| 4691 | + ], |
4523 | 4692 | "title": "VectorDatabasePage"
|
4524 | 4693 | },
|
4525 | 4694 | "VoicePage": {
|
|
4547 | 4716 | },
|
4548 | 4717 | "page": { "type": "integer", "title": "Page" },
|
4549 | 4718 | "size": { "type": "integer", "title": "Size" },
|
4550 |
| - "has_more": { "type": "boolean", "title": "Has More" } |
| 4719 | + "has_more": { "type": "boolean", "title": "Has More" }, |
| 4720 | + "total": { "type": "integer", "title": "Total" }, |
| 4721 | + "total_is_estimated": { |
| 4722 | + "type": "boolean", |
| 4723 | + "title": "Total Is Estimated" |
| 4724 | + } |
4551 | 4725 | },
|
4552 | 4726 | "type": "object",
|
4553 |
| - "required": ["items", "page", "size", "has_more"], |
| 4727 | + "required": [ |
| 4728 | + "items", |
| 4729 | + "page", |
| 4730 | + "size", |
| 4731 | + "has_more", |
| 4732 | + "total", |
| 4733 | + "total_is_estimated" |
| 4734 | + ], |
4554 | 4735 | "title": "VoicePage"
|
4555 | 4736 | },
|
4556 | 4737 | "VoiceParamsRequest": {
|
|
4607 | 4788 | }
|
4608 | 4789 | }
|
4609 | 4790 | },
|
| 4791 | + "VonageTelephonyMetadata": { |
| 4792 | + "properties": { |
| 4793 | + "type": { |
| 4794 | + "type": "string", |
| 4795 | + "enum": ["telephony_metadata_vonage"], |
| 4796 | + "title": "Type", |
| 4797 | + "default": "telephony_metadata_vonage" |
| 4798 | + } |
| 4799 | + }, |
| 4800 | + "type": "object", |
| 4801 | + "title": "VonageTelephonyMetadata" |
| 4802 | + }, |
4610 | 4803 | "Webhook": {
|
4611 | 4804 | "properties": {
|
4612 | 4805 | "id": { "type": "string", "format": "uuid", "title": "Id" },
|
|
4634 | 4827 | },
|
4635 | 4828 | "page": { "type": "integer", "title": "Page" },
|
4636 | 4829 | "size": { "type": "integer", "title": "Size" },
|
4637 |
| - "has_more": { "type": "boolean", "title": "Has More" } |
| 4830 | + "has_more": { "type": "boolean", "title": "Has More" }, |
| 4831 | + "total": { "type": "integer", "title": "Total" }, |
| 4832 | + "total_is_estimated": { |
| 4833 | + "type": "boolean", |
| 4834 | + "title": "Total Is Estimated" |
| 4835 | + } |
4638 | 4836 | },
|
4639 | 4837 | "type": "object",
|
4640 |
| - "required": ["items", "page", "size", "has_more"], |
| 4838 | + "required": [ |
| 4839 | + "items", |
| 4840 | + "page", |
| 4841 | + "size", |
| 4842 | + "has_more", |
| 4843 | + "total", |
| 4844 | + "total_is_estimated" |
| 4845 | + ], |
4641 | 4846 | "title": "WebhookPage"
|
4642 | 4847 | },
|
4643 | 4848 | "WebhookParams": {
|
|
0 commit comments