bandwidth-sdk 7.4.0 → 7.4.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 (153) hide show
  1. package/bandwidth.yml +53 -8
  2. package/configuration.ts +1 -1
  3. package/coverage/clover.xml +2 -2
  4. package/coverage/coverage-final.json +2 -2
  5. package/coverage/lcov-report/index.html +1 -1
  6. package/coverage/lcov-report/node-sdk/api/calls-api.ts.html +1 -1
  7. package/coverage/lcov-report/node-sdk/api/conferences-api.ts.html +1 -1
  8. package/coverage/lcov-report/node-sdk/api/index.html +1 -1
  9. package/coverage/lcov-report/node-sdk/api/media-api.ts.html +1 -1
  10. package/coverage/lcov-report/node-sdk/api/messages-api.ts.html +1 -1
  11. package/coverage/lcov-report/node-sdk/api/mfaapi.ts.html +1 -1
  12. package/coverage/lcov-report/node-sdk/api/multi-channel-api.ts.html +1 -1
  13. package/coverage/lcov-report/node-sdk/api/phone-number-lookup-api.ts.html +1 -1
  14. package/coverage/lcov-report/node-sdk/api/recordings-api.ts.html +1 -1
  15. package/coverage/lcov-report/node-sdk/api/statistics-api.ts.html +1 -1
  16. package/coverage/lcov-report/node-sdk/api/toll-free-verification-api.ts.html +1 -1
  17. package/coverage/lcov-report/node-sdk/api/transcriptions-api.ts.html +1 -1
  18. package/coverage/lcov-report/node-sdk/api.ts.html +1 -1
  19. package/coverage/lcov-report/node-sdk/base.ts.html +1 -1
  20. package/coverage/lcov-report/node-sdk/common.ts.html +1 -1
  21. package/coverage/lcov-report/node-sdk/configuration.ts.html +2 -2
  22. package/coverage/lcov-report/node-sdk/index.html +1 -1
  23. package/coverage/lcov-report/node-sdk/models/business-entity-type-enum.ts.html +2 -2
  24. package/coverage/lcov-report/node-sdk/models/business-registration-issuing-country-enum.ts.html +16 -4
  25. package/coverage/lcov-report/node-sdk/models/business-registration-type-enum.ts.html +2 -2
  26. package/coverage/lcov-report/node-sdk/models/bxml/Bxml.ts.html +1 -1
  27. package/coverage/lcov-report/node-sdk/models/bxml/NestableVerb.ts.html +1 -1
  28. package/coverage/lcov-report/node-sdk/models/bxml/Response.ts.html +1 -1
  29. package/coverage/lcov-report/node-sdk/models/bxml/Root.ts.html +1 -1
  30. package/coverage/lcov-report/node-sdk/models/bxml/Verb.ts.html +1 -1
  31. package/coverage/lcov-report/node-sdk/models/bxml/index.html +1 -1
  32. package/coverage/lcov-report/node-sdk/models/bxml/index.ts.html +1 -1
  33. package/coverage/lcov-report/node-sdk/models/bxml/verbs/Bridge.ts.html +1 -1
  34. package/coverage/lcov-report/node-sdk/models/bxml/verbs/Conference.ts.html +1 -1
  35. package/coverage/lcov-report/node-sdk/models/bxml/verbs/CustomParam.ts.html +1 -1
  36. package/coverage/lcov-report/node-sdk/models/bxml/verbs/Forward.ts.html +1 -1
  37. package/coverage/lcov-report/node-sdk/models/bxml/verbs/Gather.ts.html +1 -1
  38. package/coverage/lcov-report/node-sdk/models/bxml/verbs/Hangup.ts.html +1 -1
  39. package/coverage/lcov-report/node-sdk/models/bxml/verbs/Pause.ts.html +1 -1
  40. package/coverage/lcov-report/node-sdk/models/bxml/verbs/PauseRecording.ts.html +1 -1
  41. package/coverage/lcov-report/node-sdk/models/bxml/verbs/PhoneNumber.ts.html +1 -1
  42. package/coverage/lcov-report/node-sdk/models/bxml/verbs/PlayAudio.ts.html +1 -1
  43. package/coverage/lcov-report/node-sdk/models/bxml/verbs/Record.ts.html +1 -1
  44. package/coverage/lcov-report/node-sdk/models/bxml/verbs/Redirect.ts.html +1 -1
  45. package/coverage/lcov-report/node-sdk/models/bxml/verbs/ResumeRecording.ts.html +1 -1
  46. package/coverage/lcov-report/node-sdk/models/bxml/verbs/Ring.ts.html +1 -1
  47. package/coverage/lcov-report/node-sdk/models/bxml/verbs/SendDtmf.ts.html +1 -1
  48. package/coverage/lcov-report/node-sdk/models/bxml/verbs/SipUri.ts.html +1 -1
  49. package/coverage/lcov-report/node-sdk/models/bxml/verbs/SpeakSentence.ts.html +1 -1
  50. package/coverage/lcov-report/node-sdk/models/bxml/verbs/StartGather.ts.html +1 -1
  51. package/coverage/lcov-report/node-sdk/models/bxml/verbs/StartRecording.ts.html +1 -1
  52. package/coverage/lcov-report/node-sdk/models/bxml/verbs/StartStream.ts.html +1 -1
  53. package/coverage/lcov-report/node-sdk/models/bxml/verbs/StartTranscription.ts.html +1 -1
  54. package/coverage/lcov-report/node-sdk/models/bxml/verbs/StopGather.ts.html +1 -1
  55. package/coverage/lcov-report/node-sdk/models/bxml/verbs/StopRecording.ts.html +1 -1
  56. package/coverage/lcov-report/node-sdk/models/bxml/verbs/StopStream.ts.html +1 -1
  57. package/coverage/lcov-report/node-sdk/models/bxml/verbs/StopTranscription.ts.html +1 -1
  58. package/coverage/lcov-report/node-sdk/models/bxml/verbs/StreamParam.ts.html +1 -1
  59. package/coverage/lcov-report/node-sdk/models/bxml/verbs/Tag.ts.html +1 -1
  60. package/coverage/lcov-report/node-sdk/models/bxml/verbs/Transfer.ts.html +1 -1
  61. package/coverage/lcov-report/node-sdk/models/bxml/verbs/index.html +1 -1
  62. package/coverage/lcov-report/node-sdk/models/bxml/verbs/index.ts.html +1 -1
  63. package/coverage/lcov-report/node-sdk/models/call-direction-enum.ts.html +1 -1
  64. package/coverage/lcov-report/node-sdk/models/call-state-enum.ts.html +1 -1
  65. package/coverage/lcov-report/node-sdk/models/call-transcription-detected-language-enum.ts.html +1 -1
  66. package/coverage/lcov-report/node-sdk/models/call-transcription-track-enum.ts.html +1 -1
  67. package/coverage/lcov-report/node-sdk/models/callback-method-enum.ts.html +1 -1
  68. package/coverage/lcov-report/node-sdk/models/card-width-enum.ts.html +1 -1
  69. package/coverage/lcov-report/node-sdk/models/completed-lookup-status-enum.ts.html +1 -1
  70. package/coverage/lcov-report/node-sdk/models/conference-state-enum.ts.html +1 -1
  71. package/coverage/lcov-report/node-sdk/models/deactivation-event-enum.ts.html +1 -1
  72. package/coverage/lcov-report/node-sdk/models/file-format-enum.ts.html +1 -1
  73. package/coverage/lcov-report/node-sdk/models/in-progress-lookup-status-enum.ts.html +1 -1
  74. package/coverage/lcov-report/node-sdk/models/inbound-callback-type-enum.ts.html +1 -1
  75. package/coverage/lcov-report/node-sdk/models/index.html +1 -1
  76. package/coverage/lcov-report/node-sdk/models/index.ts.html +1 -1
  77. package/coverage/lcov-report/node-sdk/models/latest-message-delivery-status-enum.ts.html +7 -4
  78. package/coverage/lcov-report/node-sdk/models/line-type-enum.ts.html +1 -1
  79. package/coverage/lcov-report/node-sdk/models/list-message-direction-enum.ts.html +1 -1
  80. package/coverage/lcov-report/node-sdk/models/machine-detection-mode-enum.ts.html +1 -1
  81. package/coverage/lcov-report/node-sdk/models/message-direction-enum.ts.html +1 -1
  82. package/coverage/lcov-report/node-sdk/models/message-status-enum.ts.html +1 -1
  83. package/coverage/lcov-report/node-sdk/models/message-type-enum.ts.html +1 -1
  84. package/coverage/lcov-report/node-sdk/models/multi-channel-message-channel-enum.ts.html +1 -1
  85. package/coverage/lcov-report/node-sdk/models/priority-enum.ts.html +1 -1
  86. package/coverage/lcov-report/node-sdk/models/product-type-enum.ts.html +1 -1
  87. package/coverage/lcov-report/node-sdk/models/rbm-action-type-enum.ts.html +1 -1
  88. package/coverage/lcov-report/node-sdk/models/rbm-media-height-enum.ts.html +1 -1
  89. package/coverage/lcov-report/node-sdk/models/rbm-open-url-enum.ts.html +1 -1
  90. package/coverage/lcov-report/node-sdk/models/rbm-web-view-enum.ts.html +1 -1
  91. package/coverage/lcov-report/node-sdk/models/recording-state-enum.ts.html +1 -1
  92. package/coverage/lcov-report/node-sdk/models/redirect-method-enum.ts.html +1 -1
  93. package/coverage/lcov-report/node-sdk/models/standalone-card-orientation-enum.ts.html +1 -1
  94. package/coverage/lcov-report/node-sdk/models/status-callback-type-enum.ts.html +1 -1
  95. package/coverage/lcov-report/node-sdk/models/tfv-callback-status-enum.ts.html +1 -1
  96. package/coverage/lcov-report/node-sdk/models/tfv-status-enum.ts.html +1 -1
  97. package/coverage/lcov-report/node-sdk/models/thumbnail-alignment-enum.ts.html +1 -1
  98. package/coverage/lcov-report/node-sdk/models/webhook-subscription-type-enum.ts.html +1 -1
  99. package/dist/configuration.js +1 -1
  100. package/dist/models/business-entity-type-enum.d.ts +1 -1
  101. package/dist/models/business-entity-type-enum.js +1 -1
  102. package/dist/models/business-registration-issuing-country-enum.d.ts +5 -1
  103. package/dist/models/business-registration-issuing-country-enum.js +6 -2
  104. package/dist/models/callback.d.ts +2 -0
  105. package/dist/models/latest-message-delivery-status-enum.d.ts +2 -1
  106. package/dist/models/latest-message-delivery-status-enum.js +3 -2
  107. package/dist/models/message-request.d.ts +1 -1
  108. package/dist/models/message.d.ts +1 -1
  109. package/dist/models/multi-channel-channel-list-object-base.d.ts +1 -1
  110. package/dist/models/multi-channel-channel-list-request-object.d.ts +1 -1
  111. package/dist/models/multi-channel-channel-list-response-object.d.ts +1 -1
  112. package/dist/models/status-callback-message.d.ts +1 -1
  113. package/dist/models/tfv-submission-info.d.ts +1 -1
  114. package/dist/models/verification-request.d.ts +1 -1
  115. package/dist/models/verification-update-request.d.ts +1 -1
  116. package/docs/BusinessEntityTypeEnum.md +1 -1
  117. package/docs/BusinessRegistrationIssuingCountryEnum.md +9 -1
  118. package/docs/BusinessRegistrationTypeEnum.md +1 -1
  119. package/docs/InboundCallbackMessage.md +1 -1
  120. package/docs/LatestMessageDeliveryStatusEnum.md +3 -1
  121. package/docs/Message.md +1 -1
  122. package/docs/MessageRequest.md +1 -1
  123. package/docs/MultiChannelChannelListMMSObject.md +1 -1
  124. package/docs/MultiChannelChannelListMMSResponseObject.md +1 -1
  125. package/docs/MultiChannelChannelListObjectBase.md +1 -1
  126. package/docs/MultiChannelChannelListRBMObject.md +1 -1
  127. package/docs/MultiChannelChannelListRBMResponseObject.md +1 -1
  128. package/docs/MultiChannelChannelListRequestObject.md +1 -1
  129. package/docs/MultiChannelChannelListResponseObject.md +1 -1
  130. package/docs/MultiChannelChannelListSMSObject.md +1 -1
  131. package/docs/MultiChannelChannelListSMSResponseObject.md +1 -1
  132. package/docs/StatusCallbackMessage.md +1 -1
  133. package/docs/TfvSubmissionInfo.md +1 -1
  134. package/docs/VerificationRequest.md +1 -1
  135. package/docs/VerificationUpdateRequest.md +1 -1
  136. package/models/business-entity-type-enum.ts +1 -1
  137. package/models/business-registration-issuing-country-enum.ts +6 -2
  138. package/models/business-registration-type-enum.ts +1 -1
  139. package/models/callback.ts +1 -1
  140. package/models/latest-message-delivery-status-enum.ts +3 -2
  141. package/models/message-request.ts +1 -1
  142. package/models/message.ts +1 -1
  143. package/models/multi-channel-channel-list-object-base.ts +1 -1
  144. package/models/multi-channel-channel-list-request-object.ts +1 -1
  145. package/models/multi-channel-channel-list-response-object.ts +1 -1
  146. package/models/status-callback-message.ts +1 -1
  147. package/models/tfv-submission-info.ts +1 -1
  148. package/models/verification-request.ts +1 -1
  149. package/models/verification-update-request.ts +1 -1
  150. package/package.json +1 -1
  151. package/tests/smoke/phone-number-lookup-api.test.ts +0 -2
  152. package/tests/unit/models/business-registration-issuing-country-enum.test.ts +4 -0
  153. package/tests/unit/models/latest-message-delivery-status-enum.test.ts +1 -0
package/bandwidth.yml CHANGED
@@ -1696,7 +1696,7 @@ components:
1696
1696
  type: string
1697
1697
  description: >-
1698
1698
  The ID of the Application your from number or senderId is associated
1699
- with in the Bandwidth Phone Number Dashboard.
1699
+ with in the Bandwidth App.
1700
1700
  example: 93de2206-9669-4e07-948d-329f4b722ee2
1701
1701
  priorityEnum:
1702
1702
  type: string
@@ -1956,8 +1956,10 @@ components:
1956
1956
  type: string
1957
1957
  contentLength:
1958
1958
  type: integer
1959
+ example: 1024
1959
1960
  mediaName:
1960
1961
  type: string
1962
+ example: image.png
1961
1963
  segmentCount:
1962
1964
  type: integer
1963
1965
  description: >-
@@ -2744,6 +2746,7 @@ components:
2744
2746
  discriminator:
2745
2747
  propertyName: type
2746
2748
  mapping:
2749
+ message-sending: '#/components/schemas/statusCallback'
2747
2750
  message-sent: '#/components/schemas/statusCallback'
2748
2751
  message-delivered: '#/components/schemas/statusCallback'
2749
2752
  message-failed: '#/components/schemas/statusCallback'
@@ -5510,10 +5513,14 @@ components:
5510
5513
 
5511
5514
  - UNKNOWN: Bandwidth cannot find an delivery status entry for the
5512
5515
  number.
5516
+
5517
+ - NOT_ENABLED: The phone number is not enabled for messaging, so there
5518
+ is no delivery status information.
5513
5519
  enum:
5514
5520
  - ACTIVE
5515
5521
  - DEACTIVATED
5516
5522
  - UNKNOWN
5523
+ - NOT_ENABLED
5517
5524
  lineTypeEnum:
5518
5525
  type: string
5519
5526
  enum:
@@ -5816,25 +5823,36 @@ components:
5816
5823
  type: string
5817
5824
  privacyPolicyUrl:
5818
5825
  description: The Toll-Free Verification request privacy policy URL.
5826
+ maxLength: 500
5819
5827
  example: http://your-company.com/privacyPolicy
5820
5828
  type: string
5821
5829
  termsAndConditionsUrl:
5822
5830
  description: The Toll-Free Verification request terms and conditions policy URL.
5831
+ maxLength: 500
5823
5832
  example: http://your-company.com/termsAndConditions
5824
5833
  type: string
5825
5834
  businessDba:
5826
5835
  description: The company 'Doing Business As'.
5836
+ maxLength: 500
5827
5837
  example: Another Company Name Inc.
5828
5838
  type: string
5829
5839
  businessRegistrationNumber:
5830
5840
  type: string
5831
- description: Government-issued business identifying number.
5841
+ description: >
5842
+ Government-issued business identifying number.
5843
+
5844
+
5845
+ **Note:** If this field is provided, it is strongly recommended to also
5846
+ provide `businessRegistrationType` and
5847
+ `businessRegistrationIssuingCountry`. Submissions missing these fields
5848
+ have a high likelihood of rejection.
5832
5849
  nullable: true
5833
5850
  maxLength: 500
5834
5851
  example: 12-3456789
5835
5852
  businessRegistrationTypeEnum:
5836
5853
  type: string
5837
- description: The type of business registration number.
5854
+ description: |
5855
+ The type of business registration number.
5838
5856
  enum:
5839
5857
  - EIN
5840
5858
  - CBN
@@ -5854,12 +5872,22 @@ components:
5854
5872
  - CNPJ
5855
5873
  - UID
5856
5874
  - OTHER
5875
+ example: EIN
5857
5876
  nullable: true
5858
5877
  businessRegistrationIssuingCountryEnum:
5859
5878
  type: string
5860
5879
  description: >-
5861
5880
  The country issuing the business registration in ISO-3166-1 alpha-3
5862
- format.
5881
+ format. Alpha-2 country codes are acceptable, but the application will
5882
+ convert them to alpha-3 when received, so alpha-3 is encouraged.
5883
+
5884
+
5885
+ **Note:** If this field is omitted but `businessRegistrationType` is
5886
+ provided, the application will attempt to infer the country based on the
5887
+ registration type. However, if the application cannot confidently infer
5888
+ the country, the submission may be rejected. To ensure the highest
5889
+ likelihood of acceptance, it is recommended to provide both
5890
+ `businessRegistrationType` and `businessRegistrationIssuingCountry`.
5863
5891
 
5864
5892
 
5865
5893
  | Registration Type | Supported Countries |
@@ -5915,18 +5943,23 @@ components:
5915
5943
  - DEU
5916
5944
  - ESP
5917
5945
  - CHE
5946
+ - CYP
5947
+ - IND
5948
+ - CHN
5949
+ - BGR
5950
+ example: USA
5918
5951
  nullable: false
5919
5952
  businessEntityTypeEnum:
5920
5953
  type: string
5921
- description: >-
5922
- The type of registered business. If no option is applicable, please
5923
- provide "SOLE_PROPRIETOR" as a value.
5954
+ description: |
5955
+ The type of registered business.
5924
5956
  enum:
5925
5957
  - SOLE_PROPRIETOR
5926
5958
  - PRIVATE_PROFIT
5927
5959
  - PUBLIC_PROFIT
5928
5960
  - NON_PROFIT
5929
5961
  - GOVERNMENT
5962
+ example: PRIVATE_PROFIT
5930
5963
  nullable: false
5931
5964
  helpMessageResponse:
5932
5965
  type: string
@@ -6576,10 +6609,14 @@ components:
6576
6609
  $ref: '#/components/schemas/businessDba'
6577
6610
  businessRegistrationNumber:
6578
6611
  $ref: '#/components/schemas/businessRegistrationNumber'
6612
+ description: Government-issued business identifying number.
6579
6613
  businessRegistrationType:
6580
6614
  $ref: '#/components/schemas/businessRegistrationTypeEnum'
6581
6615
  businessRegistrationIssuingCountry:
6582
6616
  $ref: '#/components/schemas/businessRegistrationIssuingCountryEnum'
6617
+ description: >-
6618
+ The country issuing the business registration in ISO-3166-1 alpha-3
6619
+ format.
6583
6620
  businessEntityType:
6584
6621
  $ref: '#/components/schemas/businessEntityTypeEnum'
6585
6622
  tfvStatusEnum:
@@ -8117,7 +8154,7 @@ components:
8117
8154
  latestMessageDeliveryStatusDate: '2025-05-18'
8118
8155
  - phoneNumber: '+10072904498'
8119
8156
  countryCodeA3: USA
8120
- lineType: FIXED
8157
+ lineType: MOBILE
8121
8158
  voiceProvider: VERIZON
8122
8159
  latestMessageDeliveryStatus: DEACTIVATED
8123
8160
  initialMessageDeliveryStatusDate: '2025-09-05'
@@ -8131,6 +8168,14 @@ components:
8131
8168
  deactivationDate: '2025-09-29 01:23:00'
8132
8169
  deactivationEvent: DEACTIVATED
8133
8170
  latestMessageDeliveryStatus: UNKNOWN
8171
+ - phoneNumber: '+10072904500'
8172
+ lineType: FIXED
8173
+ countryCodeA3: USA
8174
+ voiceProvider: VERIZON
8175
+ deactivationReporter: Verizon Wireless
8176
+ deactivationDate: '2025-09-29 01:23:00'
8177
+ deactivationEvent: DEACTIVATED
8178
+ latestMessageDeliveryStatus: NOT_ENABLED
8134
8179
  errors: []
8135
8180
  badRequestExample:
8136
8181
  summary: Example Bad Request Error
package/configuration.ts CHANGED
@@ -141,7 +141,7 @@ export class Configuration {
141
141
  ...param.baseOptions,
142
142
  headers: {
143
143
  ...param.baseOptions?.headers,
144
- 'User-Agent': "OpenAPI-Generator/7.4.0/typescript-axios"
144
+ 'User-Agent': "OpenAPI-Generator/7.4.1/typescript-axios"
145
145
  },
146
146
  };
147
147
  this.formDataCtor = param.formDataCtor;
@@ -1,6 +1,6 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
- <coverage generated="1771970235450" clover="3.2.0">
3
- <project timestamp="1771970235450" name="All files">
2
+ <coverage generated="1774382278589" clover="3.2.0">
3
+ <project timestamp="1774382278589" name="All files">
4
4
  <metrics statements="1972" coveredstatements="1809" conditionals="1466" coveredconditionals="1055" methods="497" coveredmethods="378" elements="3935" coveredelements="3242" complexity="0" loc="1972" ncloc="1972" packages="5" files="88" classes="88"/>
5
5
  <package name="node-sdk">
6
6
  <metrics statements="108" coveredstatements="85" conditionals="91" coveredconditionals="52" methods="23" coveredmethods="20"/>