Skip to content

Commit aa8ded6

Browse files
committed
2 parents 8999c93 + abfcd9d commit aa8ded6

File tree

5 files changed

+391
-20
lines changed

5 files changed

+391
-20
lines changed

docs/mint.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -194,6 +194,8 @@
194194
"actions",
195195
"conversational-dials",
196196
"retrieve-call-data",
197+
"phrase-triggers",
198+
"warm-transfer",
197199
"machine-detection",
198200
"do-not-call-detection",
199201
"bring-your-own-telephony",

docs/openapi.json

Lines changed: 223 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1670,6 +1670,45 @@
16701670
"$ref": "#/components/schemas/AddToSteeringPoolRequest"
16711671
}
16721672
}
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+
}
16731712
},
16741713
"required": true
16751714
},
@@ -1714,10 +1753,22 @@
17141753
},
17151754
"page": { "type": "integer", "title": "Page" },
17161755
"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+
}
17181762
},
17191763
"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+
],
17211772
"title": "AccountConnectionPage"
17221773
},
17231774
"AccountConnectionParamsRequest": {
@@ -1793,10 +1844,22 @@
17931844
},
17941845
"page": { "type": "integer", "title": "Page" },
17951846
"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+
}
17971853
},
17981854
"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+
],
18001863
"title": "ActionPage"
18011864
},
18021865
"ActionParamsRequest": {
@@ -1973,6 +2036,7 @@
19732036
"phone_number": { "type": "string", "title": "Phone Number" }
19742037
},
19752038
"type": "object",
2039+
"required": ["phone_number"],
19762040
"title": "AddToSteeringPoolRequest"
19772041
},
19782042
"Agent": {
@@ -2101,10 +2165,22 @@
21012165
},
21022166
"page": { "type": "integer", "title": "Page" },
21032167
"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+
}
21052174
},
21062175
"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+
],
21082184
"title": "AgentPage"
21092185
},
21102186
"AgentParams": {
@@ -2551,6 +2627,13 @@
25512627
],
25522628
"title": "Stage Outcome"
25532629
},
2630+
"telephony_metadata": {
2631+
"anyOf": [
2632+
{ "$ref": "#/components/schemas/VonageTelephonyMetadata" },
2633+
{ "$ref": "#/components/schemas/TwilioTelephonyMetadata" }
2634+
],
2635+
"title": "Telephony Metadata"
2636+
},
25542637
"to_number": { "type": "string", "title": "To Number" },
25552638
"from_number": { "type": "string", "title": "From Number" },
25562639
"agent": { "$ref": "#/components/schemas/Agent" },
@@ -2622,10 +2705,22 @@
26222705
},
26232706
"page": { "type": "integer", "title": "Page" },
26242707
"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+
}
26262714
},
26272715
"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+
],
26292724
"title": "CallPage"
26302725
},
26312726
"CallStatus": {
@@ -3471,6 +3566,13 @@
34713566
],
34723567
"title": "Stage Outcome"
34733568
},
3569+
"telephony_metadata": {
3570+
"anyOf": [
3571+
{ "$ref": "#/components/schemas/VonageTelephonyMetadata" },
3572+
{ "$ref": "#/components/schemas/TwilioTelephonyMetadata" }
3573+
],
3574+
"title": "Telephony Metadata"
3575+
},
34743576
"to_number": { "type": "string", "title": "To Number" },
34753577
"from_number": { "type": "string", "title": "From Number" },
34763578
"agent": { "type": "string", "format": "uuid", "title": "Agent" },
@@ -3694,10 +3796,22 @@
36943796
},
36953797
"page": { "type": "integer", "title": "Page" },
36963798
"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+
}
36983805
},
36993806
"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+
],
37013815
"title": "PhoneNumberPage"
37023816
},
37033817
"PhraseBasedActionTrigger": {
@@ -4018,10 +4132,22 @@
40184132
},
40194133
"page": { "type": "integer", "title": "Page" },
40204134
"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+
}
40224141
},
40234142
"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+
],
40254151
"title": "PromptPage"
40264152
},
40274153
"PromptParams": {
@@ -4097,6 +4223,14 @@
40974223
"type": "object",
40984224
"title": "PromptUpdateParams"
40994225
},
4226+
"RemoveFromSteeringPoolRequest": {
4227+
"properties": {
4228+
"phone_number": { "type": "string", "title": "Phone Number" }
4229+
},
4230+
"type": "object",
4231+
"required": ["phone_number"],
4232+
"title": "RemoveFromSteeringPoolRequest"
4233+
},
41004234
"RimeVoice": {
41014235
"properties": {
41024236
"id": { "type": "string", "format": "uuid", "title": "Id" },
@@ -4432,6 +4566,29 @@
44324566
"required": ["twilio_account_sid", "twilio_auth_token"],
44334567
"title": "TwilioCredentials"
44344568
},
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+
},
44354592
"Undefined": {
44364593
"properties": {},
44374594
"additionalProperties": false,
@@ -4516,10 +4673,22 @@
45164673
},
45174674
"page": { "type": "integer", "title": "Page" },
45184675
"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+
}
45204682
},
45214683
"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+
],
45234692
"title": "VectorDatabasePage"
45244693
},
45254694
"VoicePage": {
@@ -4547,10 +4716,22 @@
45474716
},
45484717
"page": { "type": "integer", "title": "Page" },
45494718
"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+
}
45514725
},
45524726
"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+
],
45544735
"title": "VoicePage"
45554736
},
45564737
"VoiceParamsRequest": {
@@ -4607,6 +4788,18 @@
46074788
}
46084789
}
46094790
},
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+
},
46104803
"Webhook": {
46114804
"properties": {
46124805
"id": { "type": "string", "format": "uuid", "title": "Id" },
@@ -4634,10 +4827,22 @@
46344827
},
46354828
"page": { "type": "integer", "title": "Page" },
46364829
"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+
}
46384836
},
46394837
"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+
],
46414846
"title": "WebhookPage"
46424847
},
46434848
"WebhookParams": {

0 commit comments

Comments
 (0)