|
151 | 151 | },
|
152 | 152 | "GetDigitsReason": {
|
153 | 153 | "type": "string",
|
154 |
| - "enum": [ |
155 |
| - "finishKey", |
156 |
| - "timeout", |
157 |
| - "maxDigits", |
158 |
| - "tone" |
159 |
| - ], |
| 154 | + "enum": ["finishKey", "timeout", "maxDigits", "tone"], |
160 | 155 | "description": "This field explains how the GetDigits action ended. The value is one of the below: •finishKey - The finish key as specified had been pressed by the caller. Digit string has all keys up to, but not including, the finish key. •timeout - The timeout limit was reached prior to any other criteria being met. If any digits were collected, they will be included. •maxDigits - The maximum number of digits was reached and digit collection ended. •tone - Answering machine or fax tone detection occurred, interrupting digit collection. Any digits received up to this point are included in this webhook."
|
161 | 156 | },
|
162 | 157 | "ConferenceStatus": {
|
|
420 | 415 | "SMSTenDLCBrandIdentityStatus": {
|
421 | 416 | "type": "string",
|
422 | 417 | "description": "TCR assessment of the brand identification status.",
|
423 |
| - "enum": [ |
424 |
| - "SELF_DECLARED", |
425 |
| - "UNVERIFIED", |
426 |
| - "VERIFIED", |
427 |
| - "VETTED_VERIFIED" |
428 |
| - ] |
| 418 | + "enum": ["SELF_DECLARED", "UNVERIFIED", "VERIFIED", "VETTED_VERIFIED"] |
429 | 419 | },
|
430 | 420 | "CompletionResultStatus": {
|
431 | 421 | "type": "string",
|
|
494 | 484 | "Webhook": {
|
495 | 485 | "type": "object",
|
496 | 486 | "discriminator": {
|
497 |
| - "propertyName": "requestType", |
498 |
| - "mapping": { |
499 |
| - "addToConferenceNotification": "#/components/schemas/AddToConferenceNotificationWebhook", |
500 |
| - "addToQueueNotification": "#/components/schemas/AddToQueueNotificationWebhook", |
501 |
| - "callControl": "#/components/schemas/CallControlWebhook", |
502 |
| - "callStatus": "#/components/schemas/CallStatusWebhook", |
503 |
| - "conferenceRecordingStatus": "#/components/schemas/ConferenceRecordingStatusWebhook", |
504 |
| - "conferenceStatus": "#/components/schemas/ConferenceStatusWebhook", |
505 |
| - "createConference": "#/components/schemas/CreateConferenceWebhook", |
506 |
| - "dequeue": "#/components/schemas/DequeueWebhook", |
507 |
| - "getDigits": "#/components/schemas/GetDigitsWebhook", |
508 |
| - "getSpeech": "#/components/schemas/GetSpeechWebhook", |
509 |
| - "inboundCall": "#/components/schemas/InboundCallWebhook", |
510 |
| - "leaveConference": "#/components/schemas/LeaveConferenceWebhook", |
511 |
| - "machineDetected": "#/components/schemas/MachineDetectedWebhook", |
512 |
| - "messageDelivery": "#/components/schemas/MessageDeliveryWebhook", |
513 |
| - "messageStatus": "#/components/schemas/MessageStatusWebhook", |
514 |
| - "outDialApiConnect": "#/components/schemas/OutDialApiConnectWebhook", |
515 |
| - "outDialConnect": "#/components/schemas/OutDialConnectWebhook", |
516 |
| - "outDialStart": "#/components/schemas/OutDialStartWebhook", |
517 |
| - "queueWait": "#/components/schemas/QueueWaitWebhook", |
518 |
| - "record": "#/components/schemas/RecordWebhook", |
519 |
| - "redirect": "#/components/schemas/RedirectWebhook", |
520 |
| - "removeFromQueueNotification": "#/components/schemas/RemoveFromQueueNotificationWebhook", |
521 |
| - "transcribe": "#/components/schemas/TranscribeWebhook" |
522 |
| - } |
| 487 | + "propertyName": "requestType", |
| 488 | + "mapping": { |
| 489 | + "addToConferenceNotification": "#/components/schemas/AddToConferenceNotificationWebhook", |
| 490 | + "addToQueueNotification": "#/components/schemas/AddToQueueNotificationWebhook", |
| 491 | + "callControl": "#/components/schemas/CallControlWebhook", |
| 492 | + "callStatus": "#/components/schemas/CallStatusWebhook", |
| 493 | + "conferenceRecordingStatus": "#/components/schemas/ConferenceRecordingStatusWebhook", |
| 494 | + "conferenceStatus": "#/components/schemas/ConferenceStatusWebhook", |
| 495 | + "createConference": "#/components/schemas/CreateConferenceWebhook", |
| 496 | + "dequeue": "#/components/schemas/DequeueWebhook", |
| 497 | + "getDigits": "#/components/schemas/GetDigitsWebhook", |
| 498 | + "getSpeech": "#/components/schemas/GetSpeechWebhook", |
| 499 | + "inboundCall": "#/components/schemas/InboundCallWebhook", |
| 500 | + "leaveConference": "#/components/schemas/LeaveConferenceWebhook", |
| 501 | + "machineDetected": "#/components/schemas/MachineDetectedWebhook", |
| 502 | + "messageDelivery": "#/components/schemas/MessageDeliveryWebhook", |
| 503 | + "messageStatus": "#/components/schemas/MessageStatusWebhook", |
| 504 | + "outDialApiConnect": "#/components/schemas/OutDialApiConnectWebhook", |
| 505 | + "outDialConnect": "#/components/schemas/OutDialConnectWebhook", |
| 506 | + "outDialStart": "#/components/schemas/OutDialStartWebhook", |
| 507 | + "queueWait": "#/components/schemas/QueueWaitWebhook", |
| 508 | + "record": "#/components/schemas/RecordWebhook", |
| 509 | + "redirect": "#/components/schemas/RedirectWebhook", |
| 510 | + "removeFromQueueNotification": "#/components/schemas/RemoveFromQueueNotificationWebhook", |
| 511 | + "transcribe": "#/components/schemas/TranscribeWebhook" |
| 512 | + } |
523 | 513 | },
|
524 | 514 | "properties": {
|
525 | 515 | "requestType": {
|
|
3598 | 3588 | "nullable": true
|
3599 | 3589 | },
|
3600 | 3590 | "tfn": {
|
3601 |
| - "type": "object", |
3602 |
| - "required": [ |
3603 |
| - "campaignId" |
3604 |
| - ], |
3605 |
| - "properties": { |
3606 |
| - "campaignId": { |
3607 |
| - "$ref": "#/components/schemas/TFNCampaignId" |
3608 |
| - } |
3609 |
| - }, |
| 3591 | + "$ref": "#/components/schemas/TFN", |
3610 | 3592 | "nullable": true
|
3611 |
| - }, |
| 3593 | + }, |
3612 | 3594 | "phoneNumberId": {
|
3613 | 3595 | "type": "string",
|
3614 | 3596 | "description": "String that uniquely identifies the phoneNumber resource used to send this Message",
|
|
0 commit comments