bandwidth-sdk 7.0.0 → 7.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (158) hide show
  1. package/.openapi-generator/FILES +22 -6
  2. package/README.md +11 -3
  3. package/bandwidth.yml +78 -22
  4. package/configuration.ts +1 -1
  5. package/coverage/clover.xml +63 -55
  6. package/coverage/coverage-final.json +4 -4
  7. package/coverage/lcov-report/index.html +21 -21
  8. package/coverage/lcov-report/node-sdk/api/calls-api.ts.html +1 -1
  9. package/coverage/lcov-report/node-sdk/api/conferences-api.ts.html +1 -1
  10. package/coverage/lcov-report/node-sdk/api/index.html +20 -20
  11. package/coverage/lcov-report/node-sdk/api/media-api.ts.html +1 -1
  12. package/coverage/lcov-report/node-sdk/api/messages-api.ts.html +1 -1
  13. package/coverage/lcov-report/node-sdk/api/mfaapi.ts.html +1 -1
  14. package/coverage/lcov-report/node-sdk/api/multi-channel-api.ts.html +64 -64
  15. package/coverage/lcov-report/node-sdk/api/phone-number-lookup-api.ts.html +1 -1
  16. package/coverage/lcov-report/node-sdk/api/recordings-api.ts.html +1 -1
  17. package/coverage/lcov-report/node-sdk/api/statistics-api.ts.html +1 -1
  18. package/coverage/lcov-report/node-sdk/api/toll-free-verification-api.ts.html +1 -1
  19. package/coverage/lcov-report/node-sdk/api/transcriptions-api.ts.html +1 -1
  20. package/coverage/lcov-report/node-sdk/api.ts.html +1 -1
  21. package/coverage/lcov-report/node-sdk/base.ts.html +1 -1
  22. package/coverage/lcov-report/node-sdk/common.ts.html +22 -22
  23. package/coverage/lcov-report/node-sdk/configuration.ts.html +4 -4
  24. package/coverage/lcov-report/node-sdk/index.html +1 -1
  25. package/coverage/lcov-report/node-sdk/models/business-entity-type-enum.ts.html +1 -1
  26. package/coverage/lcov-report/node-sdk/models/business-registration-type-enum.ts.html +1 -1
  27. package/coverage/lcov-report/node-sdk/models/bxml/Bxml.ts.html +1 -1
  28. package/coverage/lcov-report/node-sdk/models/bxml/NestableVerb.ts.html +1 -1
  29. package/coverage/lcov-report/node-sdk/models/bxml/Response.ts.html +1 -1
  30. package/coverage/lcov-report/node-sdk/models/bxml/Root.ts.html +1 -1
  31. package/coverage/lcov-report/node-sdk/models/bxml/Verb.ts.html +1 -1
  32. package/coverage/lcov-report/node-sdk/models/bxml/index.html +1 -1
  33. package/coverage/lcov-report/node-sdk/models/bxml/index.ts.html +1 -1
  34. package/coverage/lcov-report/node-sdk/models/bxml/verbs/Bridge.ts.html +1 -1
  35. package/coverage/lcov-report/node-sdk/models/bxml/verbs/Conference.ts.html +1 -1
  36. package/coverage/lcov-report/node-sdk/models/bxml/verbs/CustomParam.ts.html +1 -1
  37. package/coverage/lcov-report/node-sdk/models/bxml/verbs/Forward.ts.html +1 -1
  38. package/coverage/lcov-report/node-sdk/models/bxml/verbs/Gather.ts.html +1 -1
  39. package/coverage/lcov-report/node-sdk/models/bxml/verbs/Hangup.ts.html +1 -1
  40. package/coverage/lcov-report/node-sdk/models/bxml/verbs/Pause.ts.html +1 -1
  41. package/coverage/lcov-report/node-sdk/models/bxml/verbs/PauseRecording.ts.html +1 -1
  42. package/coverage/lcov-report/node-sdk/models/bxml/verbs/PhoneNumber.ts.html +1 -1
  43. package/coverage/lcov-report/node-sdk/models/bxml/verbs/PlayAudio.ts.html +1 -1
  44. package/coverage/lcov-report/node-sdk/models/bxml/verbs/Record.ts.html +1 -1
  45. package/coverage/lcov-report/node-sdk/models/bxml/verbs/Redirect.ts.html +1 -1
  46. package/coverage/lcov-report/node-sdk/models/bxml/verbs/ResumeRecording.ts.html +1 -1
  47. package/coverage/lcov-report/node-sdk/models/bxml/verbs/Ring.ts.html +1 -1
  48. package/coverage/lcov-report/node-sdk/models/bxml/verbs/SendDtmf.ts.html +1 -1
  49. package/coverage/lcov-report/node-sdk/models/bxml/verbs/SipUri.ts.html +1 -1
  50. package/coverage/lcov-report/node-sdk/models/bxml/verbs/SpeakSentence.ts.html +1 -1
  51. package/coverage/lcov-report/node-sdk/models/bxml/verbs/StartGather.ts.html +1 -1
  52. package/coverage/lcov-report/node-sdk/models/bxml/verbs/StartRecording.ts.html +1 -1
  53. package/coverage/lcov-report/node-sdk/models/bxml/verbs/StartStream.ts.html +1 -1
  54. package/coverage/lcov-report/node-sdk/models/bxml/verbs/StartTranscription.ts.html +1 -1
  55. package/coverage/lcov-report/node-sdk/models/bxml/verbs/StopGather.ts.html +1 -1
  56. package/coverage/lcov-report/node-sdk/models/bxml/verbs/StopRecording.ts.html +1 -1
  57. package/coverage/lcov-report/node-sdk/models/bxml/verbs/StopStream.ts.html +1 -1
  58. package/coverage/lcov-report/node-sdk/models/bxml/verbs/StopTranscription.ts.html +1 -1
  59. package/coverage/lcov-report/node-sdk/models/bxml/verbs/StreamParam.ts.html +1 -1
  60. package/coverage/lcov-report/node-sdk/models/bxml/verbs/Tag.ts.html +1 -1
  61. package/coverage/lcov-report/node-sdk/models/bxml/verbs/Transfer.ts.html +1 -1
  62. package/coverage/lcov-report/node-sdk/models/bxml/verbs/index.html +1 -1
  63. package/coverage/lcov-report/node-sdk/models/bxml/verbs/index.ts.html +1 -1
  64. package/coverage/lcov-report/node-sdk/models/call-direction-enum.ts.html +1 -1
  65. package/coverage/lcov-report/node-sdk/models/call-state-enum.ts.html +1 -1
  66. package/coverage/lcov-report/node-sdk/models/call-transcription-detected-language-enum.ts.html +1 -1
  67. package/coverage/lcov-report/node-sdk/models/call-transcription-track-enum.ts.html +1 -1
  68. package/coverage/lcov-report/node-sdk/models/callback-method-enum.ts.html +1 -1
  69. package/coverage/lcov-report/node-sdk/models/card-width-enum.ts.html +1 -1
  70. package/coverage/lcov-report/node-sdk/models/completed-lookup-status-enum.ts.html +1 -1
  71. package/coverage/lcov-report/node-sdk/models/conference-state-enum.ts.html +1 -1
  72. package/coverage/lcov-report/node-sdk/models/deactivation-event-enum.ts.html +1 -1
  73. package/coverage/lcov-report/node-sdk/models/file-format-enum.ts.html +1 -1
  74. package/coverage/lcov-report/node-sdk/models/in-progress-lookup-status-enum.ts.html +1 -1
  75. package/coverage/lcov-report/node-sdk/models/inbound-callback-type-enum.ts.html +1 -1
  76. package/coverage/lcov-report/node-sdk/models/index.html +5 -5
  77. package/coverage/lcov-report/node-sdk/models/index.ts.html +31 -7
  78. package/coverage/lcov-report/node-sdk/models/latest-message-delivery-status-enum.ts.html +1 -1
  79. package/coverage/lcov-report/node-sdk/models/line-type-enum.ts.html +1 -1
  80. package/coverage/lcov-report/node-sdk/models/list-message-direction-enum.ts.html +1 -1
  81. package/coverage/lcov-report/node-sdk/models/machine-detection-mode-enum.ts.html +1 -1
  82. package/coverage/lcov-report/node-sdk/models/message-direction-enum.ts.html +1 -1
  83. package/coverage/lcov-report/node-sdk/models/message-status-enum.ts.html +1 -1
  84. package/coverage/lcov-report/node-sdk/models/message-type-enum.ts.html +1 -1
  85. package/coverage/lcov-report/node-sdk/models/multi-channel-message-channel-enum.ts.html +1 -1
  86. package/coverage/lcov-report/node-sdk/models/priority-enum.ts.html +1 -1
  87. package/coverage/lcov-report/node-sdk/models/product-type-enum.ts.html +1 -1
  88. package/coverage/lcov-report/node-sdk/models/rbm-action-type-enum.ts.html +1 -1
  89. package/coverage/lcov-report/node-sdk/models/rbm-media-height-enum.ts.html +1 -1
  90. package/coverage/lcov-report/node-sdk/models/recording-state-enum.ts.html +1 -1
  91. package/coverage/lcov-report/node-sdk/models/redirect-method-enum.ts.html +1 -1
  92. package/coverage/lcov-report/node-sdk/models/standalone-card-orientation-enum.ts.html +1 -1
  93. package/coverage/lcov-report/node-sdk/models/status-callback-type-enum.ts.html +1 -1
  94. package/coverage/lcov-report/node-sdk/models/tfv-callback-status-enum.ts.html +1 -1
  95. package/coverage/lcov-report/node-sdk/models/tfv-status-enum.ts.html +1 -1
  96. package/coverage/lcov-report/node-sdk/models/thumbnail-alignment-enum.ts.html +1 -1
  97. package/coverage/lcov-report/node-sdk/models/webhook-subscription-type-enum.ts.html +1 -1
  98. package/coverage/lcov.info +123 -115
  99. package/dist/configuration.js +1 -1
  100. package/dist/models/index.d.ts +11 -3
  101. package/dist/models/index.js +11 -3
  102. package/dist/models/multi-channel-action.d.ts +48 -21
  103. package/dist/models/{multi-channel-message-response-data-channel-list-inner.d.ts → multi-channel-channel-list-mmsobject.d.ts} +3 -3
  104. package/dist/models/multi-channel-channel-list-mmsresponse-object.d.ts +17 -0
  105. package/dist/models/{multi-channel-channel-list-object.d.ts → multi-channel-channel-list-object-base.d.ts} +1 -3
  106. package/dist/models/multi-channel-channel-list-owner-object.d.ts +17 -0
  107. package/dist/models/multi-channel-channel-list-owner-object.js +15 -0
  108. package/dist/models/{multi-channel-channel-list-object-content.d.ts → multi-channel-channel-list-rbmobject-all-of-content.d.ts} +2 -4
  109. package/dist/models/multi-channel-channel-list-rbmobject-all-of-content.js +15 -0
  110. package/dist/models/multi-channel-channel-list-rbmobject.d.ts +16 -0
  111. package/dist/models/multi-channel-channel-list-rbmobject.js +15 -0
  112. package/dist/models/multi-channel-channel-list-rbmresponse-object.d.ts +17 -0
  113. package/dist/models/multi-channel-channel-list-rbmresponse-object.js +15 -0
  114. package/dist/models/multi-channel-channel-list-request-object.d.ts +25 -0
  115. package/dist/models/multi-channel-channel-list-request-object.js +15 -0
  116. package/dist/models/multi-channel-channel-list-response-object.d.ts +29 -0
  117. package/dist/models/multi-channel-channel-list-response-object.js +15 -0
  118. package/dist/models/multi-channel-channel-list-smsobject.d.ts +16 -0
  119. package/dist/models/multi-channel-channel-list-smsobject.js +15 -0
  120. package/dist/models/multi-channel-channel-list-smsresponse-object.d.ts +17 -0
  121. package/dist/models/multi-channel-channel-list-smsresponse-object.js +15 -0
  122. package/dist/models/multi-channel-message-request.d.ts +2 -2
  123. package/dist/models/multi-channel-message-response-data.d.ts +2 -2
  124. package/docs/{MultiChannelChannelListObject.md → MultiChannelChannelListMMSObject.md} +4 -4
  125. package/docs/{MultiChannelMessageResponseDataChannelListInner.md → MultiChannelChannelListMMSResponseObject.md} +4 -4
  126. package/docs/MultiChannelChannelListObjectBase.md +24 -0
  127. package/docs/MultiChannelChannelListOwnerObject.md +20 -0
  128. package/docs/MultiChannelChannelListRBMObject.md +26 -0
  129. package/docs/{MultiChannelChannelListObjectContent.md → MultiChannelChannelListRBMObjectAllOfContent.md} +5 -5
  130. package/docs/MultiChannelChannelListRBMResponseObject.md +28 -0
  131. package/docs/MultiChannelChannelListRequestObject.md +26 -0
  132. package/docs/MultiChannelChannelListResponseObject.md +28 -0
  133. package/docs/MultiChannelChannelListSMSObject.md +26 -0
  134. package/docs/MultiChannelChannelListSMSResponseObject.md +28 -0
  135. package/docs/MultiChannelMessageRequest.md +1 -1
  136. package/docs/MultiChannelMessageResponseData.md +1 -1
  137. package/models/index.ts +11 -3
  138. package/models/multi-channel-action.ts +48 -4
  139. package/models/{multi-channel-message-response-data-channel-list-inner.ts → multi-channel-channel-list-mmsobject.ts} +4 -4
  140. package/models/multi-channel-channel-list-mmsresponse-object.ts +34 -0
  141. package/models/{multi-channel-channel-list-object.ts → multi-channel-channel-list-object-base.ts} +1 -5
  142. package/models/multi-channel-channel-list-owner-object.ts +23 -0
  143. package/models/{multi-channel-channel-list-object-content.ts → multi-channel-channel-list-rbmobject-all-of-content.ts} +5 -11
  144. package/models/multi-channel-channel-list-rbmobject.ts +31 -0
  145. package/models/multi-channel-channel-list-rbmresponse-object.ts +34 -0
  146. package/models/multi-channel-channel-list-request-object.ts +46 -0
  147. package/models/multi-channel-channel-list-response-object.ts +50 -0
  148. package/models/multi-channel-channel-list-smsobject.ts +31 -0
  149. package/models/multi-channel-channel-list-smsresponse-object.ts +34 -0
  150. package/models/multi-channel-message-request.ts +2 -2
  151. package/models/multi-channel-message-response-data.ts +2 -2
  152. package/package.json +1 -1
  153. package/tests/smoke/multi-channel-api.test.ts +117 -10
  154. package/tests/smoke/phone-number-lookup-api.test.ts +2 -2
  155. package/tests/unit/api/multi-channel-api.test.ts +27 -10
  156. /package/dist/models/{multi-channel-channel-list-object-content.js → multi-channel-channel-list-mmsobject.js} +0 -0
  157. /package/dist/models/{multi-channel-channel-list-object.js → multi-channel-channel-list-mmsresponse-object.js} +0 -0
  158. /package/dist/models/{multi-channel-message-response-data-channel-list-inner.js → multi-channel-channel-list-object-base.js} +0 -0
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Bandwidth
6
+ * Bandwidth\'s Communication APIs
7
+ *
8
+ * The version of the OpenAPI document: 1.0.0
9
+ * Contact: letstalk@bandwidth.com
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,25 @@
1
+ /**
2
+ * Bandwidth
3
+ * Bandwidth\'s Communication APIs
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ * Contact: letstalk@bandwidth.com
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { MmsMessageContent } from './mms-message-content';
13
+ import type { MultiChannelMessageChannelEnum } from './multi-channel-message-channel-enum';
14
+ export interface MultiChannelChannelListRequestObject {
15
+ /**
16
+ * The sender ID of the message. This could be an alphanumeric sender ID.
17
+ */
18
+ 'from': string;
19
+ /**
20
+ * The ID of the Application your from number or senderId is associated with in the Bandwidth Phone Number Dashboard.
21
+ */
22
+ 'applicationId': string;
23
+ 'channel': MultiChannelMessageChannelEnum;
24
+ 'content': MmsMessageContent;
25
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Bandwidth
6
+ * Bandwidth\'s Communication APIs
7
+ *
8
+ * The version of the OpenAPI document: 1.0.0
9
+ * Contact: letstalk@bandwidth.com
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,29 @@
1
+ /**
2
+ * Bandwidth
3
+ * Bandwidth\'s Communication APIs
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ * Contact: letstalk@bandwidth.com
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { MmsMessageContent } from './mms-message-content';
13
+ import type { MultiChannelMessageChannelEnum } from './multi-channel-message-channel-enum';
14
+ export interface MultiChannelChannelListResponseObject {
15
+ /**
16
+ * The sender ID of the message. This could be an alphanumeric sender ID.
17
+ */
18
+ 'from': string;
19
+ /**
20
+ * The ID of the Application your from number or senderId is associated with in the Bandwidth Phone Number Dashboard.
21
+ */
22
+ 'applicationId': string;
23
+ 'channel': MultiChannelMessageChannelEnum;
24
+ 'content': MmsMessageContent;
25
+ /**
26
+ * The Bandwidth senderId associated with the message. Identical to \'from\'.
27
+ */
28
+ 'owner': string;
29
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Bandwidth
6
+ * Bandwidth\'s Communication APIs
7
+ *
8
+ * The version of the OpenAPI document: 1.0.0
9
+ * Contact: letstalk@bandwidth.com
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,16 @@
1
+ /**
2
+ * Bandwidth
3
+ * Bandwidth\'s Communication APIs
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ * Contact: letstalk@bandwidth.com
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { MultiChannelChannelListObjectBase } from './multi-channel-channel-list-object-base';
13
+ /**
14
+ * @type MultiChannelChannelListSMSObject
15
+ */
16
+ export type MultiChannelChannelListSMSObject = MultiChannelChannelListObjectBase;
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Bandwidth
6
+ * Bandwidth\'s Communication APIs
7
+ *
8
+ * The version of the OpenAPI document: 1.0.0
9
+ * Contact: letstalk@bandwidth.com
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,17 @@
1
+ /**
2
+ * Bandwidth
3
+ * Bandwidth\'s Communication APIs
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ * Contact: letstalk@bandwidth.com
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { MultiChannelChannelListOwnerObject } from './multi-channel-channel-list-owner-object';
13
+ import type { MultiChannelChannelListSMSObject } from './multi-channel-channel-list-smsobject';
14
+ /**
15
+ * @type MultiChannelChannelListSMSResponseObject
16
+ */
17
+ export type MultiChannelChannelListSMSResponseObject = MultiChannelChannelListOwnerObject & MultiChannelChannelListSMSObject;
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Bandwidth
6
+ * Bandwidth\'s Communication APIs
7
+ *
8
+ * The version of the OpenAPI document: 1.0.0
9
+ * Contact: letstalk@bandwidth.com
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -9,7 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import type { MultiChannelChannelListObject } from './multi-channel-channel-list-object';
12
+ import type { MultiChannelChannelListRequestObject } from './multi-channel-channel-list-request-object';
13
13
  import type { PriorityEnum } from './priority-enum';
14
14
  /**
15
15
  * Multi-Channel Message Request
@@ -22,7 +22,7 @@ export interface MultiChannelMessageRequest {
22
22
  /**
23
23
  * A list of message bodies. The messages will be attempted in the order they are listed. Once a message sends successfully, the others will be ignored.
24
24
  */
25
- 'channelList': Array<MultiChannelChannelListObject>;
25
+ 'channelList': Array<MultiChannelChannelListRequestObject>;
26
26
  /**
27
27
  * A custom string that will be included in callback events of the message. Max 1024 characters.
28
28
  */
@@ -10,7 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import type { MessageDirectionEnum } from './message-direction-enum';
13
- import type { MultiChannelMessageResponseDataChannelListInner } from './multi-channel-message-response-data-channel-list-inner';
13
+ import type { MultiChannelChannelListResponseObject } from './multi-channel-channel-list-response-object';
14
14
  import type { PriorityEnum } from './priority-enum';
15
15
  /**
16
16
  * The data returned in a multichannel message response.
@@ -32,7 +32,7 @@ export interface MultiChannelMessageResponseData {
32
32
  /**
33
33
  * A list of message bodies. The messages will be attempted in the order they are listed. Once a message sends successfully, the others will be ignored.
34
34
  */
35
- 'channelList': Array<MultiChannelMessageResponseDataChannelListInner>;
35
+ 'channelList': Array<MultiChannelChannelListResponseObject>;
36
36
  /**
37
37
  * A custom string that will be included in callback events of the message. Max 1024 characters.
38
38
  */
@@ -1,4 +1,4 @@
1
- # MultiChannelChannelListObject
1
+ # MultiChannelChannelListMMSObject
2
2
 
3
3
 
4
4
  ## Properties
@@ -8,14 +8,14 @@ Name | Type | Description | Notes
8
8
  **from** | **string** | The sender ID of the message. This could be an alphanumeric sender ID. | [default to undefined]
9
9
  **applicationId** | **string** | The ID of the Application your from number or senderId is associated with in the Bandwidth Phone Number Dashboard. | [default to undefined]
10
10
  **channel** | [**MultiChannelMessageChannelEnum**](MultiChannelMessageChannelEnum.md) | | [default to undefined]
11
- **content** | [**MultiChannelChannelListObjectContent**](MultiChannelChannelListObjectContent.md) | | [default to undefined]
11
+ **content** | [**MmsMessageContent**](MmsMessageContent.md) | | [default to undefined]
12
12
 
13
13
  ## Example
14
14
 
15
15
  ```typescript
16
- import { MultiChannelChannelListObject } from 'bandwidth-sdk';
16
+ import { MultiChannelChannelListMMSObject } from 'bandwidth-sdk';
17
17
 
18
- const instance: MultiChannelChannelListObject = {
18
+ const instance: MultiChannelChannelListMMSObject = {
19
19
  from,
20
20
  applicationId,
21
21
  channel,
@@ -1,4 +1,4 @@
1
- # MultiChannelMessageResponseDataChannelListInner
1
+ # MultiChannelChannelListMMSResponseObject
2
2
 
3
3
 
4
4
  ## Properties
@@ -8,15 +8,15 @@ Name | Type | Description | Notes
8
8
  **from** | **string** | The sender ID of the message. This could be an alphanumeric sender ID. | [default to undefined]
9
9
  **applicationId** | **string** | The ID of the Application your from number or senderId is associated with in the Bandwidth Phone Number Dashboard. | [default to undefined]
10
10
  **channel** | [**MultiChannelMessageChannelEnum**](MultiChannelMessageChannelEnum.md) | | [default to undefined]
11
- **content** | [**MultiChannelChannelListObjectContent**](MultiChannelChannelListObjectContent.md) | | [default to undefined]
11
+ **content** | [**MmsMessageContent**](MmsMessageContent.md) | | [default to undefined]
12
12
  **owner** | **string** | The Bandwidth senderId associated with the message. Identical to \&#39;from\&#39;. | [default to undefined]
13
13
 
14
14
  ## Example
15
15
 
16
16
  ```typescript
17
- import { MultiChannelMessageResponseDataChannelListInner } from 'bandwidth-sdk';
17
+ import { MultiChannelChannelListMMSResponseObject } from 'bandwidth-sdk';
18
18
 
19
- const instance: MultiChannelMessageResponseDataChannelListInner = {
19
+ const instance: MultiChannelChannelListMMSResponseObject = {
20
20
  from,
21
21
  applicationId,
22
22
  channel,
@@ -0,0 +1,24 @@
1
+ # MultiChannelChannelListObjectBase
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **from** | **string** | The sender ID of the message. This could be an alphanumeric sender ID. | [default to undefined]
9
+ **applicationId** | **string** | The ID of the Application your from number or senderId is associated with in the Bandwidth Phone Number Dashboard. | [default to undefined]
10
+ **channel** | [**MultiChannelMessageChannelEnum**](MultiChannelMessageChannelEnum.md) | | [default to undefined]
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import { MultiChannelChannelListObjectBase } from 'bandwidth-sdk';
16
+
17
+ const instance: MultiChannelChannelListObjectBase = {
18
+ from,
19
+ applicationId,
20
+ channel,
21
+ };
22
+ ```
23
+
24
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,20 @@
1
+ # MultiChannelChannelListOwnerObject
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **owner** | **string** | The Bandwidth senderId associated with the message. Identical to \&#39;from\&#39;. | [default to undefined]
9
+
10
+ ## Example
11
+
12
+ ```typescript
13
+ import { MultiChannelChannelListOwnerObject } from 'bandwidth-sdk';
14
+
15
+ const instance: MultiChannelChannelListOwnerObject = {
16
+ owner,
17
+ };
18
+ ```
19
+
20
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,26 @@
1
+ # MultiChannelChannelListRBMObject
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **from** | **string** | The sender ID of the message. This could be an alphanumeric sender ID. | [default to undefined]
9
+ **applicationId** | **string** | The ID of the Application your from number or senderId is associated with in the Bandwidth Phone Number Dashboard. | [default to undefined]
10
+ **channel** | [**MultiChannelMessageChannelEnum**](MultiChannelMessageChannelEnum.md) | | [default to undefined]
11
+ **content** | [**MultiChannelChannelListRBMObjectAllOfContent**](MultiChannelChannelListRBMObjectAllOfContent.md) | | [default to undefined]
12
+
13
+ ## Example
14
+
15
+ ```typescript
16
+ import { MultiChannelChannelListRBMObject } from 'bandwidth-sdk';
17
+
18
+ const instance: MultiChannelChannelListRBMObject = {
19
+ from,
20
+ applicationId,
21
+ channel,
22
+ content,
23
+ };
24
+ ```
25
+
26
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -1,4 +1,4 @@
1
- # MultiChannelChannelListObjectContent
1
+ # MultiChannelChannelListRBMObjectAllOfContent
2
2
 
3
3
  The content of the message.
4
4
 
@@ -6,9 +6,9 @@ The content of the message.
6
6
 
7
7
  Name | Type | Description | Notes
8
8
  ------------ | ------------- | ------------- | -------------
9
- **text** | **string** | The contents of the text message. Must be 2048 characters or less. | [default to undefined]
9
+ **text** | **string** | The text associated with the message. Must be 3270 characters or less | [default to undefined]
10
10
  **suggestions** | [**Array&lt;MultiChannelAction&gt;**](MultiChannelAction.md) | An array of suggested actions for the recipient. | [optional] [default to undefined]
11
- **media** | [**Array&lt;MmsMessageContentFile&gt;**](MmsMessageContentFile.md) | | [default to undefined]
11
+ **media** | [**RbmMessageContentFile**](RbmMessageContentFile.md) | | [default to undefined]
12
12
  **orientation** | [**StandaloneCardOrientationEnum**](StandaloneCardOrientationEnum.md) | | [default to undefined]
13
13
  **thumbnailImageAlignment** | [**ThumbnailAlignmentEnum**](ThumbnailAlignmentEnum.md) | | [default to undefined]
14
14
  **cardContent** | [**RbmCardContent**](RbmCardContent.md) | | [default to undefined]
@@ -18,9 +18,9 @@ Name | Type | Description | Notes
18
18
  ## Example
19
19
 
20
20
  ```typescript
21
- import { MultiChannelChannelListObjectContent } from 'bandwidth-sdk';
21
+ import { MultiChannelChannelListRBMObjectAllOfContent } from 'bandwidth-sdk';
22
22
 
23
- const instance: MultiChannelChannelListObjectContent = {
23
+ const instance: MultiChannelChannelListRBMObjectAllOfContent = {
24
24
  text,
25
25
  suggestions,
26
26
  media,
@@ -0,0 +1,28 @@
1
+ # MultiChannelChannelListRBMResponseObject
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **from** | **string** | The sender ID of the message. This could be an alphanumeric sender ID. | [default to undefined]
9
+ **applicationId** | **string** | The ID of the Application your from number or senderId is associated with in the Bandwidth Phone Number Dashboard. | [default to undefined]
10
+ **channel** | [**MultiChannelMessageChannelEnum**](MultiChannelMessageChannelEnum.md) | | [default to undefined]
11
+ **content** | [**MultiChannelChannelListRBMObjectAllOfContent**](MultiChannelChannelListRBMObjectAllOfContent.md) | | [default to undefined]
12
+ **owner** | **string** | The Bandwidth senderId associated with the message. Identical to \&#39;from\&#39;. | [default to undefined]
13
+
14
+ ## Example
15
+
16
+ ```typescript
17
+ import { MultiChannelChannelListRBMResponseObject } from 'bandwidth-sdk';
18
+
19
+ const instance: MultiChannelChannelListRBMResponseObject = {
20
+ from,
21
+ applicationId,
22
+ channel,
23
+ content,
24
+ owner,
25
+ };
26
+ ```
27
+
28
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,26 @@
1
+ # MultiChannelChannelListRequestObject
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **from** | **string** | The sender ID of the message. This could be an alphanumeric sender ID. | [default to undefined]
9
+ **applicationId** | **string** | The ID of the Application your from number or senderId is associated with in the Bandwidth Phone Number Dashboard. | [default to undefined]
10
+ **channel** | [**MultiChannelMessageChannelEnum**](MultiChannelMessageChannelEnum.md) | | [default to undefined]
11
+ **content** | [**MmsMessageContent**](MmsMessageContent.md) | | [default to undefined]
12
+
13
+ ## Example
14
+
15
+ ```typescript
16
+ import { MultiChannelChannelListRequestObject } from 'bandwidth-sdk';
17
+
18
+ const instance: MultiChannelChannelListRequestObject = {
19
+ from,
20
+ applicationId,
21
+ channel,
22
+ content,
23
+ };
24
+ ```
25
+
26
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,28 @@
1
+ # MultiChannelChannelListResponseObject
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **from** | **string** | The sender ID of the message. This could be an alphanumeric sender ID. | [default to undefined]
9
+ **applicationId** | **string** | The ID of the Application your from number or senderId is associated with in the Bandwidth Phone Number Dashboard. | [default to undefined]
10
+ **channel** | [**MultiChannelMessageChannelEnum**](MultiChannelMessageChannelEnum.md) | | [default to undefined]
11
+ **content** | [**MmsMessageContent**](MmsMessageContent.md) | | [default to undefined]
12
+ **owner** | **string** | The Bandwidth senderId associated with the message. Identical to \&#39;from\&#39;. | [default to undefined]
13
+
14
+ ## Example
15
+
16
+ ```typescript
17
+ import { MultiChannelChannelListResponseObject } from 'bandwidth-sdk';
18
+
19
+ const instance: MultiChannelChannelListResponseObject = {
20
+ from,
21
+ applicationId,
22
+ channel,
23
+ content,
24
+ owner,
25
+ };
26
+ ```
27
+
28
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,26 @@
1
+ # MultiChannelChannelListSMSObject
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **from** | **string** | The sender ID of the message. This could be an alphanumeric sender ID. | [default to undefined]
9
+ **applicationId** | **string** | The ID of the Application your from number or senderId is associated with in the Bandwidth Phone Number Dashboard. | [default to undefined]
10
+ **channel** | [**MultiChannelMessageChannelEnum**](MultiChannelMessageChannelEnum.md) | | [default to undefined]
11
+ **content** | [**SmsMessageContent**](SmsMessageContent.md) | | [default to undefined]
12
+
13
+ ## Example
14
+
15
+ ```typescript
16
+ import { MultiChannelChannelListSMSObject } from 'bandwidth-sdk';
17
+
18
+ const instance: MultiChannelChannelListSMSObject = {
19
+ from,
20
+ applicationId,
21
+ channel,
22
+ content,
23
+ };
24
+ ```
25
+
26
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,28 @@
1
+ # MultiChannelChannelListSMSResponseObject
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **from** | **string** | The sender ID of the message. This could be an alphanumeric sender ID. | [default to undefined]
9
+ **applicationId** | **string** | The ID of the Application your from number or senderId is associated with in the Bandwidth Phone Number Dashboard. | [default to undefined]
10
+ **channel** | [**MultiChannelMessageChannelEnum**](MultiChannelMessageChannelEnum.md) | | [default to undefined]
11
+ **content** | [**SmsMessageContent**](SmsMessageContent.md) | | [default to undefined]
12
+ **owner** | **string** | The Bandwidth senderId associated with the message. Identical to \&#39;from\&#39;. | [default to undefined]
13
+
14
+ ## Example
15
+
16
+ ```typescript
17
+ import { MultiChannelChannelListSMSResponseObject } from 'bandwidth-sdk';
18
+
19
+ const instance: MultiChannelChannelListSMSResponseObject = {
20
+ from,
21
+ applicationId,
22
+ channel,
23
+ content,
24
+ owner,
25
+ };
26
+ ```
27
+
28
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -7,7 +7,7 @@ Multi-Channel Message Request
7
7
  Name | Type | Description | Notes
8
8
  ------------ | ------------- | ------------- | -------------
9
9
  **to** | **string** | The phone number the message should be sent to in E164 format. | [default to undefined]
10
- **channelList** | [**Array&lt;MultiChannelChannelListObject&gt;**](MultiChannelChannelListObject.md) | A list of message bodies. The messages will be attempted in the order they are listed. Once a message sends successfully, the others will be ignored. | [default to undefined]
10
+ **channelList** | [**Array&lt;MultiChannelChannelListRequestObject&gt;**](MultiChannelChannelListRequestObject.md) | A list of message bodies. The messages will be attempted in the order they are listed. Once a message sends successfully, the others will be ignored. | [default to undefined]
11
11
  **tag** | **string** | A custom string that will be included in callback events of the message. Max 1024 characters. | [optional] [default to undefined]
12
12
  **priority** | [**PriorityEnum**](PriorityEnum.md) | | [optional] [default to undefined]
13
13
  **expiration** | **string** | A string with the date/time value that the message will automatically expire by. This must be a valid RFC-3339 value, e.g., 2021-03-14T01:59:26Z or 2021-03-13T20:59:26-05:00. Must be a date-time in the future. | [optional] [default to undefined]
@@ -10,7 +10,7 @@ Name | Type | Description | Notes
10
10
  **time** | **string** | The time the message was received by the Bandwidth API. | [default to undefined]
11
11
  **direction** | [**MessageDirectionEnum**](MessageDirectionEnum.md) | | [default to undefined]
12
12
  **to** | **Set&lt;string&gt;** | The destination phone number(s) of the message, in E164 format. | [default to undefined]
13
- **channelList** | [**Array&lt;MultiChannelMessageResponseDataChannelListInner&gt;**](MultiChannelMessageResponseDataChannelListInner.md) | A list of message bodies. The messages will be attempted in the order they are listed. Once a message sends successfully, the others will be ignored. | [default to undefined]
13
+ **channelList** | [**Array&lt;MultiChannelChannelListResponseObject&gt;**](MultiChannelChannelListResponseObject.md) | A list of message bodies. The messages will be attempted in the order they are listed. Once a message sends successfully, the others will be ignored. | [default to undefined]
14
14
  **tag** | **string** | A custom string that will be included in callback events of the message. Max 1024 characters. | [optional] [default to undefined]
15
15
  **priority** | [**PriorityEnum**](PriorityEnum.md) | | [optional] [default to undefined]
16
16
  **expiration** | **string** | A string with the date/time value that the message will automatically expire by. This must be a valid RFC-3339 value, e.g., 2021-03-14T01:59:26Z or 2021-03-13T20:59:26-05:00. Must be a date-time in the future. | [optional] [default to undefined]
package/models/index.ts CHANGED
@@ -90,14 +90,22 @@ export * from './mms-message-content-file';
90
90
  export * from './model-error';
91
91
  export * from './multi-channel-action';
92
92
  export * from './multi-channel-action-calendar-event';
93
- export * from './multi-channel-channel-list-object';
94
- export * from './multi-channel-channel-list-object-content';
93
+ export * from './multi-channel-channel-list-mmsobject';
94
+ export * from './multi-channel-channel-list-mmsresponse-object';
95
+ export * from './multi-channel-channel-list-object-base';
96
+ export * from './multi-channel-channel-list-owner-object';
97
+ export * from './multi-channel-channel-list-rbmobject';
98
+ export * from './multi-channel-channel-list-rbmobject-all-of-content';
99
+ export * from './multi-channel-channel-list-rbmresponse-object';
100
+ export * from './multi-channel-channel-list-request-object';
101
+ export * from './multi-channel-channel-list-response-object';
102
+ export * from './multi-channel-channel-list-smsobject';
103
+ export * from './multi-channel-channel-list-smsresponse-object';
95
104
  export * from './multi-channel-error';
96
105
  export * from './multi-channel-message-channel-enum';
97
106
  export * from './multi-channel-message-content';
98
107
  export * from './multi-channel-message-request';
99
108
  export * from './multi-channel-message-response-data';
100
- export * from './multi-channel-message-response-data-channel-list-inner';
101
109
  export * from './opt-in-workflow';
102
110
  export * from './page-info';
103
111
  export * from './priority-enum';
@@ -32,9 +32,53 @@ import type { RbmActionTypeEnum } from './rbm-action-type-enum';
32
32
  // @ts-ignore
33
33
  import type { RbmActionViewLocation } from './rbm-action-view-location';
34
34
 
35
- /**
36
- * @type MultiChannelAction
37
- */
38
- export type MultiChannelAction = { type: 'CREATE_CALENDAR_EVENT' } & MultiChannelActionCalendarEvent | { type: 'DIAL_PHONE' } & RbmActionDial | { type: 'OPEN_URL' } & RbmActionOpenUrl | { type: 'REPLY' } & RbmActionBase | { type: 'REQUEST_LOCATION' } & RbmActionBase | { type: 'SHOW_LOCATION' } & RbmActionViewLocation;
35
+ export interface MultiChannelAction {
36
+ 'type': RbmActionTypeEnum;
37
+ /**
38
+ * Displayed text for user to click
39
+ */
40
+ 'text': string;
41
+ /**
42
+ * Base64 payload the customer receives when the reply is clicked.
43
+ */
44
+ 'postbackData': string;
45
+ /**
46
+ * The phone number to dial. Must be E164 format.
47
+ */
48
+ 'phoneNumber': string;
49
+ /**
50
+ * The latitude of the location.
51
+ */
52
+ 'latitude': number;
53
+ /**
54
+ * The longitude of the location.
55
+ */
56
+ 'longitude': number;
57
+ /**
58
+ * The label of the location.
59
+ */
60
+ 'label'?: string;
61
+ /**
62
+ * The title of the event.
63
+ */
64
+ 'title': string;
65
+ /**
66
+ * The start time of the event.
67
+ */
68
+ 'startTime': string;
69
+ /**
70
+ * The end time of the event.
71
+ */
72
+ 'endTime': string;
73
+ /**
74
+ * The description of the event.
75
+ */
76
+ 'description'?: string;
77
+ /**
78
+ * The URL to open in browser.
79
+ */
80
+ 'url': string;
81
+ }
82
+
39
83
 
40
84
 
@@ -15,17 +15,17 @@
15
15
 
16
16
  // May contain unused imports in some cases
17
17
  // @ts-ignore
18
- import type { MultiChannelChannelListObject } from './multi-channel-channel-list-object';
18
+ import type { MmsMessageContent } from './mms-message-content';
19
19
  // May contain unused imports in some cases
20
20
  // @ts-ignore
21
- import type { MultiChannelChannelListObjectContent } from './multi-channel-channel-list-object-content';
21
+ import type { MultiChannelChannelListObjectBase } from './multi-channel-channel-list-object-base';
22
22
  // May contain unused imports in some cases
23
23
  // @ts-ignore
24
24
  import type { MultiChannelMessageChannelEnum } from './multi-channel-message-channel-enum';
25
25
 
26
26
  /**
27
- * @type MultiChannelMessageResponseDataChannelListInner
27
+ * @type MultiChannelChannelListMMSObject
28
28
  */
29
- export type MultiChannelMessageResponseDataChannelListInner = MultiChannelChannelListObject;
29
+ export type MultiChannelChannelListMMSObject = MultiChannelChannelListObjectBase;
30
30
 
31
31