bandwidth-sdk 17.3.2 → 18.0.0

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a361e879b7e9eb3f73da743085677f7bb58c0b8b8ce1fa3e487e701e7fed01ba
4
- data.tar.gz: f282c45a88a4c7d0a783952f3e9474b3e1b0e0802d44c7c4ca43adec07fab1cf
3
+ metadata.gz: f21c9b7a965a264ef14618d42e01d9847b40b1a7a4cdd73ab1b6312acab09c0a
4
+ data.tar.gz: 25516a2746c0ef44f93af141edd18d0b78d5b3268d96f3eeb2e7c5eb1e963d33
5
5
  SHA512:
6
- metadata.gz: 88b3ef75dbb38c6bc292fb581b0f287d276e93a439ad93e6a2683a6ba96d48be2affc4b5b0a4e5106928f9b34ad58b08048440e6175c39815e31df0ef2bcf709
7
- data.tar.gz: 333ff1bf89dcea46a87f3f30e0ed374895ebcf06846b54c77d2cf1ada046ebfafe9b4a256b49886458b67e89ee2f6efe476d095024dadd734078a0c5ce2d0cd6
6
+ metadata.gz: 9dfb299c7d584425ec24beb5709ccb4674fb75d8c5ee924225e9e53076a4585b548e8bd268d5b636aaf860617127a1ad92d13bb8c416bba437049c79ec8f9399
7
+ data.tar.gz: 16da8b388e7319c53343617c8afa05852976373778cd2c3f23827011473b28fd07ced43205d105d8cccc2059729d6796ff35bbd33b8625a8232c99685e1280b0
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- bandwidth-sdk (17.3.2)
4
+ bandwidth-sdk (18.0.0)
5
5
  faraday (>= 1.0.1, < 3.0)
6
6
  faraday-multipart
7
7
  marcel
@@ -11,7 +11,7 @@ GEM
11
11
  remote: https://rubygems.org/
12
12
  specs:
13
13
  ast (2.4.3)
14
- bigdecimal (4.1.0)
14
+ bigdecimal (4.1.1)
15
15
  byebug (13.0.0)
16
16
  reline (>= 0.6.0)
17
17
  coderay (1.1.3)
@@ -37,7 +37,7 @@ GEM
37
37
  uri (>= 0.11.1)
38
38
  ox (2.14.23)
39
39
  bigdecimal (>= 3.0)
40
- parallel (1.27.0)
40
+ parallel (1.28.0)
41
41
  parser (3.3.11.1)
42
42
  ast (~> 2.4.1)
43
43
  racc
@@ -52,7 +52,7 @@ GEM
52
52
  racc (1.8.1)
53
53
  rainbow (3.1.1)
54
54
  rake (13.2.1)
55
- regexp_parser (2.11.3)
55
+ regexp_parser (2.12.0)
56
56
  reline (0.6.3)
57
57
  io-console (~> 0.5)
58
58
  rspec (3.13.2)
data/README.md CHANGED
@@ -180,7 +180,6 @@ Class | Method | HTTP request | Description
180
180
  - [Bandwidth::BridgeCompleteCallback](docs/BridgeCompleteCallback.md)
181
181
  - [Bandwidth::BridgeTargetCompleteCallback](docs/BridgeTargetCompleteCallback.md)
182
182
  - [Bandwidth::BusinessEntityTypeEnum](docs/BusinessEntityTypeEnum.md)
183
- - [Bandwidth::BusinessRegistrationIssuingCountryEnum](docs/BusinessRegistrationIssuingCountryEnum.md)
184
183
  - [Bandwidth::BusinessRegistrationTypeEnum](docs/BusinessRegistrationTypeEnum.md)
185
184
  - [Bandwidth::CallDirectionEnum](docs/CallDirectionEnum.md)
186
185
  - [Bandwidth::CallRecordingMetadata](docs/CallRecordingMetadata.md)
data/bandwidth.yml CHANGED
@@ -95,8 +95,8 @@ paths:
95
95
  under this account, the previous file will be overwritten.
96
96
 
97
97
 
98
- A list of supported media types can be found
99
- [here](https://support.bandwidth.com/hc/en-us/articles/360014128994-What-MMS-file-types-are-supported-).
98
+ A list of supported media types can be found at [Bandwidth
99
+ Support](https://www.bandwidth.com/support/en/articles/12823220-what-mms-file-types-are-supported).
100
100
  operationId: uploadMedia
101
101
  tags:
102
102
  - Media
@@ -2255,8 +2255,8 @@ components:
2255
2255
 
2256
2256
  For MMS, the API limits file size to 3.5MB. Specific carriers and
2257
2257
  channels may have a smaller limit that could cause a large file to
2258
- fail, see
2259
- [here](https://support.bandwidth.com/hc/en-us/articles/360014235473-What-are-the-MMS-file-size-limits)
2258
+ fail, see more at [Bandwidth
2259
+ Support](https://www.bandwidth.com/support/en/articles/12823216-what-are-the-mms-file-size-limits)
2260
2260
  for more details.
2261
2261
  example: https://dev.bandwidth.com/images/bandwidth-logo.png
2262
2262
  maxLength: 1000
@@ -5887,17 +5887,21 @@ components:
5887
5887
  Government-issued business identifying number.
5888
5888
 
5889
5889
 
5890
- **Note:** If this field is provided, it is strongly recommended to also
5891
- provide `businessRegistrationType` and
5892
- `businessRegistrationIssuingCountry`. Submissions missing these fields
5893
- have a high likelihood of rejection.
5890
+ **Note: As of October 19th, 2026 this field will be required when
5891
+ `businessEntityType` is _not_ `SOLE_PROPRIETOR`. If this field is
5892
+ provided, `businessRegistrationType` and
5893
+ `businessRegistrationIssuingCountry` are also required.**
5894
5894
  nullable: true
5895
5895
  maxLength: 500
5896
5896
  example: 12-3456789
5897
5897
  businessRegistrationTypeEnum:
5898
5898
  type: string
5899
- description: |
5899
+ description: >
5900
5900
  The type of business registration number.
5901
+
5902
+
5903
+ **Note: As of October 19th, 2026 this field will be required when
5904
+ `businessRegistrationNumber` is provided.**
5901
5905
  enum:
5902
5906
  - EIN
5903
5907
  - CBN
@@ -5919,20 +5923,16 @@ components:
5919
5923
  - OTHER
5920
5924
  example: EIN
5921
5925
  nullable: true
5922
- businessRegistrationIssuingCountryEnum:
5926
+ businessRegistrationIssuingCountry:
5923
5927
  type: string
5924
5928
  description: >-
5925
5929
  The country issuing the business registration in ISO-3166-1 alpha-3
5926
- format. Alpha-2 country codes are acceptable, but the application will
5927
- convert them to alpha-3 when received, so alpha-3 is encouraged.
5930
+ format. Alpha-2 format is accepted by the API, but alpha-3 is highly
5931
+ encouraged.
5928
5932
 
5929
5933
 
5930
- **Note:** If this field is omitted but `businessRegistrationType` is
5931
- provided, the application will attempt to infer the country based on the
5932
- registration type. However, if the application cannot confidently infer
5933
- the country, the submission may be rejected. To ensure the highest
5934
- likelihood of acceptance, it is recommended to provide both
5935
- `businessRegistrationType` and `businessRegistrationIssuingCountry`.
5934
+ **Note: As of October 19th, 2026 this field will be required when
5935
+ `businessRegistrationNumber` is provided.**
5936
5936
 
5937
5937
 
5938
5938
  | Registration Type | Supported Countries |
@@ -5974,30 +5974,22 @@ components:
5974
5974
  | UID | CHE |
5975
5975
 
5976
5976
  | OTHER | Must Provide Country Code |
5977
- enum:
5978
- - USA
5979
- - CAN
5980
- - HKG
5981
- - GBR
5982
- - IRL
5983
- - BRA
5984
- - NLD
5985
- - AUS
5986
- - FRA
5987
- - NZL
5988
- - DEU
5989
- - ESP
5990
- - CHE
5991
- - CYP
5992
- - IND
5993
- - CHN
5994
- - BGR
5995
5977
  example: USA
5996
- nullable: false
5978
+ nullable: true
5997
5979
  businessEntityTypeEnum:
5998
5980
  type: string
5999
- description: |
5981
+ description: >
6000
5982
  The type of registered business.
5983
+
5984
+
5985
+ **Note: As of October 19th, 2026 submissions using a value other than
5986
+ `SOLE_PROPRIETOR` must provide a value for `businessRegistrationNumber`,
5987
+ `businessRegistrationType`, and `businessRegistrationIssuingCountry`.
5988
+
5989
+ Submissions using `SOLE_PROPRIETOR` must _omit_
5990
+ `businessRegistrationNumber`, `businessRegistrationType`, and
5991
+ `businessRegistrationIssuingCountry`. Failure to adhere to these
5992
+ constraints will result in a 400 Bad Request rejection.**
6001
5993
  enum:
6002
5994
  - SOLE_PROPRIETOR
6003
5995
  - PRIVATE_PROFIT
@@ -6106,7 +6098,7 @@ components:
6106
6098
  businessRegistrationType:
6107
6099
  $ref: '#/components/schemas/businessRegistrationTypeEnum'
6108
6100
  businessRegistrationIssuingCountry:
6109
- $ref: '#/components/schemas/businessRegistrationIssuingCountryEnum'
6101
+ $ref: '#/components/schemas/businessRegistrationIssuingCountry'
6110
6102
  businessEntityType:
6111
6103
  $ref: '#/components/schemas/businessEntityTypeEnum'
6112
6104
  helpMessageResponse:
@@ -6161,7 +6153,7 @@ components:
6161
6153
  businessEntityType:
6162
6154
  $ref: '#/components/schemas/businessEntityTypeEnum'
6163
6155
  businessRegistrationIssuingCountry:
6164
- $ref: '#/components/schemas/businessRegistrationIssuingCountryEnum'
6156
+ $ref: '#/components/schemas/businessRegistrationIssuingCountry'
6165
6157
  helpMessageResponse:
6166
6158
  $ref: '#/components/schemas/helpMessageResponse'
6167
6159
  ageGatedContent:
@@ -6657,13 +6649,15 @@ components:
6657
6649
  description: Government-issued business identifying number.
6658
6650
  businessRegistrationType:
6659
6651
  $ref: '#/components/schemas/businessRegistrationTypeEnum'
6652
+ description: The type of business registration number.
6660
6653
  businessRegistrationIssuingCountry:
6661
- $ref: '#/components/schemas/businessRegistrationIssuingCountryEnum'
6654
+ $ref: '#/components/schemas/businessRegistrationIssuingCountry'
6662
6655
  description: >-
6663
6656
  The country issuing the business registration in ISO-3166-1 alpha-3
6664
6657
  format.
6665
6658
  businessEntityType:
6666
6659
  $ref: '#/components/schemas/businessEntityTypeEnum'
6660
+ description: The type of registered business.
6667
6661
  tfvStatusEnum:
6668
6662
  type: string
6669
6663
  enum:
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "result": {
3
- "line": 95.78
3
+ "line": 95.77
4
4
  }
5
5
  }
@@ -199,7 +199,6 @@
199
199
  1,
200
200
  1,
201
201
  1,
202
- 1,
203
202
  null,
204
203
  null,
205
204
  1,
@@ -802,7 +801,7 @@
802
801
  null,
803
802
  8,
804
803
  null,
805
- 271,
804
+ 272,
806
805
  null,
807
806
  21,
808
807
  null,
@@ -829,8 +828,8 @@
829
828
  null,
830
829
  null,
831
830
  null,
832
- 91,
833
- 91,
831
+ 90,
832
+ 90,
834
833
  null,
835
834
  null,
836
835
  null,
@@ -11659,6 +11658,6 @@
11659
11658
  ]
11660
11659
  }
11661
11660
  },
11662
- "timestamp": 1774988735
11661
+ "timestamp": 1775593319
11663
11662
  }
11664
11663
  }