bandwidth-sdk 17.2.0 → 17.3.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: 5c5d14b2821c1ff9ebb48adfc098d47c38af240d0a9465c0633bddb8b54601dc
4
- data.tar.gz: e52f699ba29e164cf3f34e8555efa1c4114b65463ecc198b1f1bf12a3bc426aa
3
+ metadata.gz: c104607d4f93290aee6b7f6ddfae1b763e704869b461f9782a177630581a7b8b
4
+ data.tar.gz: 6e171382371ce86dd1685689a4d7bcb360e3f4232778b364e95117b0958cbe09
5
5
  SHA512:
6
- metadata.gz: 3de616049b04f80a2b473bbdcd24158ee9abbb65b4b457b156270b5a6729c3819c9b319a6da2e2e646c00e3f1825e48dc06c6f694e0e1f6225f83d03dce4999f
7
- data.tar.gz: 8661311a1bedff724a5da1b99a1c46c85b6bdcd94866e5d1a44b7fe058df6bc50ff88ec9d949903720a10722c2d5db4defecab25dd599c5b81b59d4582113516
6
+ metadata.gz: 2492c79aa0113a31f75022987fa1e7a8be31c50960cfae79ff8efe35020bec55152b0b2d67137a1e732508bcf2f1dc455d9bfe14c41c4027995bf577db2c9097
7
+ data.tar.gz: 5f83bd244d36a7ced37bd7ff78d77286a1addae8a74f4f3640660953bb6d67e9d5d41b8b4460f6875187769aff19f166400599be33f0ef06585ad7fbba372fb2
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- bandwidth-sdk (17.2.0)
4
+ bandwidth-sdk (17.3.0)
5
5
  faraday (>= 1.0.1, < 3.0)
6
6
  faraday-multipart
7
7
  marcel
@@ -17,7 +17,7 @@ GEM
17
17
  coderay (1.1.3)
18
18
  diff-lcs (1.6.2)
19
19
  docile (1.4.1)
20
- faraday (2.14.0)
20
+ faraday (2.14.1)
21
21
  faraday-net_http (>= 2.0, < 3.5)
22
22
  json
23
23
  logger
@@ -38,7 +38,7 @@ GEM
38
38
  ox (2.14.23)
39
39
  bigdecimal (>= 3.0)
40
40
  parallel (1.27.0)
41
- parser (3.3.10.1)
41
+ parser (3.3.10.2)
42
42
  ast (~> 2.4.1)
43
43
  racc
44
44
  prism (1.9.0)
data/README.md CHANGED
@@ -180,6 +180,7 @@ 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)
183
184
  - [Bandwidth::BusinessRegistrationTypeEnum](docs/BusinessRegistrationTypeEnum.md)
184
185
  - [Bandwidth::CallDirectionEnum](docs/CallDirectionEnum.md)
185
186
  - [Bandwidth::CallRecordingMetadata](docs/CallRecordingMetadata.md)
data/bandwidth.yml CHANGED
@@ -1484,7 +1484,7 @@ paths:
1484
1484
  $ref: '#/components/requestBodies/updateTollFreeVerificationRequestRequest'
1485
1485
  responses:
1486
1486
  '202':
1487
- description: Accepted
1487
+ $ref: '#/components/responses/verifyPutResponse'
1488
1488
  '400':
1489
1489
  $ref: '#/components/responses/tfvPostBadRequestResponse'
1490
1490
  '401':
@@ -5828,38 +5828,106 @@ components:
5828
5828
  type: string
5829
5829
  businessRegistrationNumber:
5830
5830
  type: string
5831
- description: >-
5832
- US Federal Tax ID Number (EIN) or Canada Business Number (CBN). Optional
5833
- until early 2026. If a value is provided for this field, a value must be
5834
- provided for `businessRegistrationType` and `businessEntityType`.
5835
- Available starting October 1st, 2025.
5831
+ description: Government-issued business identifying number.
5836
5832
  nullable: true
5837
5833
  maxLength: 500
5838
5834
  example: 12-3456789
5839
5835
  businessRegistrationTypeEnum:
5840
5836
  type: string
5841
- description: >-
5842
- The type of business registration number. Optional until early 2026;
5843
- required if `businessRegistrationNumber` is provided. Available starting
5844
- October 1st, 2025.
5837
+ description: The type of business registration number.
5845
5838
  enum:
5846
5839
  - EIN
5847
5840
  - CBN
5841
+ - NEQ
5842
+ - PROVINCIAL_NUMBER
5843
+ - CRN
5844
+ - VAT
5845
+ - ACN
5846
+ - ABN
5847
+ - BRN
5848
+ - SIREN
5849
+ - SIRET
5850
+ - NZBN
5851
+ - UST_IDNR
5852
+ - CIF
5853
+ - NIF
5854
+ - CNPJ
5855
+ - UID
5856
+ - OTHER
5848
5857
  nullable: true
5858
+ businessRegistrationIssuingCountryEnum:
5859
+ type: string
5860
+ description: >-
5861
+ The country issuing the business registration in ISO-3166-1 alpha-3
5862
+ format.
5863
+
5864
+
5865
+ | Registration Type | Supported Countries |
5866
+
5867
+ |----------------------|------------------------------------|
5868
+
5869
+ | EIN | USA |
5870
+
5871
+ | CBN | CAN |
5872
+
5873
+ | NEQ | CAN |
5874
+
5875
+ | PROVINCIAL_NUMBER | CAN |
5876
+
5877
+ | CRN | GBR, HKG |
5878
+
5879
+ | VAT | GBR, IRL, BRA, NLD |
5880
+
5881
+ | ACN | AUS |
5882
+
5883
+ | ABN | AUS |
5884
+
5885
+ | BRN | HKG |
5886
+
5887
+ | SIREN | FRA |
5888
+
5889
+ | SIRET | FRA |
5890
+
5891
+ | NZBN | NZL |
5892
+
5893
+ | UST_IDNR | DEU |
5894
+
5895
+ | CIF | ESP |
5896
+
5897
+ | NIF | ESP |
5898
+
5899
+ | CNPJ | BRA |
5900
+
5901
+ | UID | CHE |
5902
+
5903
+ | OTHER | Must Provide Country Code |
5904
+ enum:
5905
+ - USA
5906
+ - CAN
5907
+ - HKG
5908
+ - GBR
5909
+ - IRL
5910
+ - BRA
5911
+ - NLD
5912
+ - AUS
5913
+ - FRA
5914
+ - NZL
5915
+ - DEU
5916
+ - ESP
5917
+ - CHE
5918
+ nullable: false
5849
5919
  businessEntityTypeEnum:
5850
5920
  type: string
5851
5921
  description: >-
5852
5922
  The type of registered business. If no option is applicable, please
5853
- provide "SOLE_PROPRIETOR" as a value. Optional until early 2026;
5854
- required if `businessRegistrationNumber` is provided. Available starting
5855
- October 1st, 2025.
5923
+ provide "SOLE_PROPRIETOR" as a value.
5856
5924
  enum:
5857
5925
  - SOLE_PROPRIETOR
5858
5926
  - PRIVATE_PROFIT
5859
5927
  - PUBLIC_PROFIT
5860
5928
  - NON_PROFIT
5861
5929
  - GOVERNMENT
5862
- nullable: true
5930
+ nullable: false
5863
5931
  helpMessageResponse:
5864
5932
  type: string
5865
5933
  description: A message that gets sent to users requesting help.
@@ -5914,6 +5982,7 @@ components:
5914
5982
  - useCaseSummary
5915
5983
  - productionMessageContent
5916
5984
  - optInWorkflow
5985
+ - businessEntityType
5917
5986
  properties:
5918
5987
  businessAddress:
5919
5988
  $ref: '#/components/schemas/address'
@@ -5958,6 +6027,8 @@ components:
5958
6027
  $ref: '#/components/schemas/businessRegistrationNumber'
5959
6028
  businessRegistrationType:
5960
6029
  $ref: '#/components/schemas/businessRegistrationTypeEnum'
6030
+ businessRegistrationIssuingCountry:
6031
+ $ref: '#/components/schemas/businessRegistrationIssuingCountryEnum'
5961
6032
  businessEntityType:
5962
6033
  $ref: '#/components/schemas/businessEntityTypeEnum'
5963
6034
  helpMessageResponse:
@@ -5965,7 +6036,7 @@ components:
5965
6036
  ageGatedContent:
5966
6037
  $ref: '#/components/schemas/ageGatedContent'
5967
6038
  cvToken:
5968
- $ref: '#/components/schemas/cvToken'
6039
+ $ref: '#/components/schemas/cvTokenNullable'
5969
6040
  verificationUpdateRequest:
5970
6041
  type: object
5971
6042
  required:
@@ -6011,12 +6082,14 @@ components:
6011
6082
  $ref: '#/components/schemas/businessRegistrationTypeEnum'
6012
6083
  businessEntityType:
6013
6084
  $ref: '#/components/schemas/businessEntityTypeEnum'
6085
+ businessRegistrationIssuingCountry:
6086
+ $ref: '#/components/schemas/businessRegistrationIssuingCountryEnum'
6014
6087
  helpMessageResponse:
6015
6088
  $ref: '#/components/schemas/helpMessageResponse'
6016
6089
  ageGatedContent:
6017
6090
  $ref: '#/components/schemas/ageGatedContent'
6018
6091
  cvToken:
6019
- $ref: '#/components/schemas/cvToken'
6092
+ $ref: '#/components/schemas/cvTokenNullable'
6020
6093
  tfvBasicAuthentication:
6021
6094
  type: object
6022
6095
  properties:
@@ -6469,7 +6542,7 @@ components:
6469
6542
  blockedReason:
6470
6543
  $ref: '#/components/schemas/blockedReason'
6471
6544
  cvToken:
6472
- $ref: '#/components/schemas/cvToken'
6545
+ $ref: '#/components/schemas/cvTokenNullable'
6473
6546
  tfvSubmissionInfo:
6474
6547
  type: object
6475
6548
  properties:
@@ -6503,20 +6576,12 @@ components:
6503
6576
  $ref: '#/components/schemas/businessDba'
6504
6577
  businessRegistrationNumber:
6505
6578
  $ref: '#/components/schemas/businessRegistrationNumber'
6506
- description: >-
6507
- US Federal Tax ID Number (EIN) or Canada Business Number (CBN).
6508
- Available starting October 1st, 2025.
6509
6579
  businessRegistrationType:
6510
6580
  $ref: '#/components/schemas/businessRegistrationTypeEnum'
6511
- description: >-
6512
- The type of business registration number. Available starting October
6513
- 1st, 2025.
6581
+ businessRegistrationIssuingCountry:
6582
+ $ref: '#/components/schemas/businessRegistrationIssuingCountryEnum'
6514
6583
  businessEntityType:
6515
6584
  $ref: '#/components/schemas/businessEntityTypeEnum'
6516
- description: >-
6517
- The type of registered business. If no option is applicable, please
6518
- provide "SOLE_PROPRIETOR" as a value. Available starting October
6519
- 1st, 2025.
6520
6585
  tfvStatusEnum:
6521
6586
  type: string
6522
6587
  enum:
@@ -6534,13 +6599,13 @@ components:
6534
6599
  nullable: true
6535
6600
  pattern: ^[ -~]{16,64}$
6536
6601
  type: string
6537
- cvToken:
6602
+ cvTokenNullable:
6538
6603
  type: string
6539
6604
  description: >-
6540
6605
  The token provided by Campaign Verify to validate your political use
6541
6606
  case. Only required for 527 political organizations. If you are not a
6542
- 527 political organization, this field should be omitted. If you pass an
6543
- empty string, it will be passed along and potentially rejected.
6607
+ 527 political organization, this field should be omitted. Supplying an
6608
+ empty string will likely result in rejection.
6544
6609
  minLength: 0
6545
6610
  maxLength: 500
6546
6611
  nullable: true
@@ -7214,6 +7279,8 @@ components:
7214
7279
  example:
7215
7280
  description: Service Unavailable Error.
7216
7281
  type: Service Unavailable
7282
+ verifyPutResponse:
7283
+ description: Accepted
7217
7284
  parameters:
7218
7285
  accountId:
7219
7286
  in: path
@@ -199,6 +199,7 @@
199
199
  1,
200
200
  1,
201
201
  1,
202
+ 1,
202
203
  null,
203
204
  null,
204
205
  1,
@@ -795,7 +796,7 @@
795
796
  null,
796
797
  null,
797
798
  1,
798
- 443,
799
+ 444,
799
800
  null,
800
801
  45,
801
802
  null,
@@ -828,8 +829,8 @@
828
829
  null,
829
830
  null,
830
831
  null,
831
- 84,
832
- 84,
832
+ 85,
833
+ 85,
833
834
  null,
834
835
  null,
835
836
  null,
@@ -850,16 +851,16 @@
850
851
  null,
851
852
  null,
852
853
  1,
853
- 203,
854
+ 211,
854
855
  20,
855
- 194,
856
+ 202,
856
857
  5,
857
858
  14,
858
859
  null,
859
- 189,
860
+ 197,
860
861
  10,
861
862
  null,
862
- 179,
863
+ 187,
863
864
  null,
864
865
  null,
865
866
  null,
@@ -8606,6 +8607,10 @@
8606
8607
  null,
8607
8608
  null,
8608
8609
  null,
8610
+ null,
8611
+ null,
8612
+ null,
8613
+ null,
8609
8614
  6,
8610
8615
  8,
8611
8616
  null,
@@ -11662,6 +11667,6 @@
11662
11667
  ]
11663
11668
  }
11664
11669
  },
11665
- "timestamp": 1770147454
11670
+ "timestamp": 1771970067
11666
11671
  }
11667
11672
  }