bandwidth-sdk 14.1.2 → 14.1.3

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: 714c842ffbab1d0780c40da15a7457a286d3a307c965e14c99a666d72dd960f8
4
- data.tar.gz: 34783738c281babce58ae1137e73aa0856a67fcd1543fc60e6a4cd25fd8406ea
3
+ metadata.gz: 13246645f25e6f9d55e178d79044af3c9bf33c4bc89a37e75baa29ce28eae843
4
+ data.tar.gz: 900e0c8f09a7ef475c74eaf77e10491a9ba1037c7c7de839120e11dc353bf490
5
5
  SHA512:
6
- metadata.gz: '0543891c8771608c65ba0e68518dc9b1ee571887d3267b31a007d23d8c39c0b7c4bdbd837f6357566356ec7cb4d7f3341f368cde8868c5f151e5e35960c3e4b3'
7
- data.tar.gz: 750f1e957f50790bb156ee54a90962fbb0e583debdeca96a609b33a8c15319e3ce5f6904178dc6e34d05873ebb769fcfbc47fb11dcd9f8fb82794a8030ee75b4
6
+ metadata.gz: 66a0b045983f653ed0070f090de08201f2fb784f8a66f99bb489ce0b34b75f7276ca92b7351f22b9c2bd4159141881afd165759cda28fa6b2081dd374b722801
7
+ data.tar.gz: 3746f70c1f8e1f69e8ea4a2263f65c4e1e4d66b7b4c9a677b5baf86230012d4a19202dedf77d116f4cf772eb3c7fde7d863180a8a353ce4a1ff26db8c904b12f
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- bandwidth-sdk (14.1.2)
4
+ bandwidth-sdk (14.1.3)
5
5
  faraday (>= 1.0.1, < 3.0)
6
6
  faraday-multipart
7
7
  marcel
@@ -12,11 +12,11 @@ GEM
12
12
  specs:
13
13
  ast (2.4.3)
14
14
  bigdecimal (3.1.9)
15
- byebug (11.1.3)
15
+ byebug (12.0.0)
16
16
  coderay (1.1.3)
17
17
  diff-lcs (1.6.1)
18
18
  docile (1.4.1)
19
- faraday (2.12.2)
19
+ faraday (2.12.3)
20
20
  faraday-net_http (>= 2.0, < 3.5)
21
21
  json
22
22
  logger
@@ -25,7 +25,7 @@ GEM
25
25
  faraday-net_http (3.4.0)
26
26
  net-http (>= 0.5.0)
27
27
  json (2.10.2)
28
- logger (1.6.6)
28
+ logger (1.7.0)
29
29
  marcel (1.0.4)
30
30
  method_source (1.1.0)
31
31
  multipart-post (2.4.1)
@@ -34,15 +34,16 @@ GEM
34
34
  ox (2.14.22)
35
35
  bigdecimal (>= 3.0)
36
36
  parallel (1.26.3)
37
- parser (3.3.7.2)
37
+ parser (3.3.7.4)
38
38
  ast (~> 2.4.1)
39
39
  racc
40
- pry (0.14.2)
40
+ prism (1.4.0)
41
+ pry (0.15.2)
41
42
  coderay (~> 1.1)
42
43
  method_source (~> 1.0)
43
- pry-byebug (3.10.1)
44
- byebug (~> 11.0)
45
- pry (>= 0.13, < 0.15)
44
+ pry-byebug (3.11.0)
45
+ byebug (~> 12.0)
46
+ pry (>= 0.13, < 0.16)
46
47
  racc (1.8.1)
47
48
  rainbow (3.1.1)
48
49
  rake (13.2.1)
@@ -71,8 +72,9 @@ GEM
71
72
  rubocop-ast (>= 1.28.0, < 2.0)
72
73
  ruby-progressbar (~> 1.7)
73
74
  unicode-display_width (>= 2.4.0, < 3.0)
74
- rubocop-ast (1.42.0)
75
+ rubocop-ast (1.44.0)
75
76
  parser (>= 3.3.7.2)
77
+ prism (~> 1.4)
76
78
  ruby-progressbar (1.13.0)
77
79
  simplecov (0.21.2)
78
80
  docile (~> 1.1)
data/bandwidth.yml CHANGED
@@ -1641,12 +1641,14 @@ components:
1641
1641
  enum:
1642
1642
  - INBOUND
1643
1643
  - OUTBOUND
1644
+ example: INBOUND
1644
1645
  messageDirectionEnum:
1645
1646
  type: string
1646
1647
  description: The direction of the message. One of in out.
1647
1648
  enum:
1648
1649
  - in
1649
1650
  - out
1651
+ example: in
1650
1652
  messageTypeEnum:
1651
1653
  type: string
1652
1654
  description: The type of message. Either SMS or MMS.
@@ -4797,17 +4799,9 @@ components:
4797
4799
  useCase:
4798
4800
  $ref: '#/components/schemas/useCase'
4799
4801
  useCaseSummary:
4800
- type: string
4801
- description: A general idea of the use case and customer.
4802
- minLength: 1
4803
- maxLength: 500
4804
- nullable: false
4802
+ $ref: '#/components/schemas/useCaseSummary'
4805
4803
  productionMessageContent:
4806
- type: string
4807
- description: Example of message content.
4808
- minLength: 1
4809
- maxLength: 500
4810
- nullable: false
4804
+ $ref: '#/components/schemas/productionMessageContent'
4811
4805
  optInWorkflow:
4812
4806
  $ref: '#/components/schemas/optInWorkflow'
4813
4807
  additionalInformation:
@@ -4816,6 +4810,7 @@ components:
4816
4810
  minLength: 0
4817
4811
  maxLength: 500
4818
4812
  nullable: true
4813
+ example: Any additional information
4819
4814
  isvReseller:
4820
4815
  $ref: '#/components/schemas/isvReseller'
4821
4816
  verificationUpdateRequest:
@@ -4842,25 +4837,13 @@ components:
4842
4837
  useCase:
4843
4838
  $ref: '#/components/schemas/useCase'
4844
4839
  useCaseSummary:
4845
- type: string
4846
- description: A general idea of the use case and customer.
4847
- minLength: 0
4848
- maxLength: 500
4849
- nullable: false
4840
+ $ref: '#/components/schemas/useCaseSummary'
4850
4841
  productionMessageContent:
4851
- type: string
4852
- description: Example of message content.
4853
- minLength: 0
4854
- maxLength: 500
4855
- nullable: false
4842
+ $ref: '#/components/schemas/productionMessageContent'
4856
4843
  optInWorkflow:
4857
4844
  $ref: '#/components/schemas/optInWorkflow'
4858
4845
  additionalInformation:
4859
- type: string
4860
- description: Any additional information.
4861
- minLength: 0
4862
- maxLength: 500
4863
- nullable: true
4846
+ $ref: '#/components/schemas/additionalInformation'
4864
4847
  isvReseller:
4865
4848
  $ref: '#/components/schemas/isvReseller'
4866
4849
  tfvBasicAuthentication:
@@ -4869,9 +4852,11 @@ components:
4869
4852
  username:
4870
4853
  type: string
4871
4854
  maxLength: 100
4855
+ example: username
4872
4856
  password:
4873
4857
  type: string
4874
4858
  maxLength: 200
4859
+ example: password
4875
4860
  required:
4876
4861
  - username
4877
4862
  - password
@@ -4986,6 +4971,7 @@ components:
4986
4971
  minLength: 0
4987
4972
  maxLength: 500
4988
4973
  nullable: true
4974
+ example: 2230 Bandmate Way
4989
4975
  city:
4990
4976
  type: string
4991
4977
  description: The city of the business using the toll-free number.
@@ -5014,6 +5000,12 @@ components:
5014
5000
  maxLength: 500
5015
5001
  nullable: false
5016
5002
  example: https://www.example.com/path/to/resource
5003
+ additionalInformation:
5004
+ type: string
5005
+ description: Any additional information.
5006
+ minLength: 0
5007
+ maxLength: 500
5008
+ nullable: true
5017
5009
  optInWorkflow:
5018
5010
  type: object
5019
5011
  nullable: false
@@ -5101,6 +5093,20 @@ components:
5101
5093
  minLength: 0
5102
5094
  maxLength: 500
5103
5095
  example: 2FA
5096
+ useCaseSummary:
5097
+ type: string
5098
+ description: A general idea of the use case and customer.
5099
+ minLength: 0
5100
+ maxLength: 500
5101
+ nullable: false
5102
+ example: Text summarizing the use case for the toll-free number
5103
+ productionMessageContent:
5104
+ type: string
5105
+ description: Example of message content.
5106
+ minLength: 0
5107
+ maxLength: 500
5108
+ nullable: false
5109
+ example: Production message content
5104
5110
  webhookSubscriptionsListBody:
5105
5111
  description: >-
5106
5112
  A list of all webhook subscriptions registered for this account ID for
@@ -5277,28 +5283,13 @@ components:
5277
5283
  useCase:
5278
5284
  $ref: '#/components/schemas/useCase'
5279
5285
  useCaseSummary:
5280
- type: string
5281
- description: A general idea of the use case and customer.
5282
- minLength: 0
5283
- maxLength: 500
5284
- nullable: false
5285
- example: Text summarizing the use case for the toll-free number
5286
+ $ref: '#/components/schemas/useCaseSummary'
5286
5287
  productionMessageContent:
5287
- type: string
5288
- description: Example of message content.
5289
- minLength: 0
5290
- maxLength: 500
5291
- nullable: false
5292
- example: Production message content
5288
+ $ref: '#/components/schemas/productionMessageContent'
5293
5289
  optInWorkflow:
5294
5290
  $ref: '#/components/schemas/optInWorkflow'
5295
5291
  additionalInformation:
5296
- type: string
5297
- description: Any additional information.
5298
- minLength: 0
5299
- maxLength: 500
5300
- nullable: true
5301
- example: Any additional information
5292
+ $ref: '#/components/schemas/additionalInformation'
5302
5293
  isvReseller:
5303
5294
  $ref: '#/components/schemas/isvReseller'
5304
5295
  tfvStatusEnum:
@@ -6235,6 +6226,7 @@ components:
6235
6226
  Not intended for explicit use. To use pagination, follow the links in
6236
6227
  the `Link` header of the response, as indicated in the endpoint
6237
6228
  description.
6229
+ example: eyJwYWdlVG9rZW4iOiJ0b2tlbiJ9
6238
6230
  disconnectCause:
6239
6231
  name: disconnectCause
6240
6232
  in: query
@@ -11055,6 +11055,6 @@
11055
11055
  ]
11056
11056
  }
11057
11057
  },
11058
- "timestamp": 1742913441
11058
+ "timestamp": 1744123551
11059
11059
  }
11060
11060
  }
data/coverage/index.html CHANGED
@@ -13,7 +13,7 @@
13
13
  <img src="./assets/0.13.1/loading.gif" alt="loading"/>
14
14
  </div>
15
15
  <div id="wrapper" class="hide">
16
- <div class="timestamp">Generated <abbr class="timeago" title="2025-03-25T14:37:21+00:00">2025-03-25T14:37:21+00:00</abbr></div>
16
+ <div class="timestamp">Generated <abbr class="timeago" title="2025-04-08T14:45:51+00:00">2025-04-08T14:45:51+00:00</abbr></div>
17
17
  <ul class="group_tabs"></ul>
18
18
 
19
19
  <div id="content">
@@ -72249,7 +72249,7 @@
72249
72249
 
72250
72250
 
72251
72251
 
72252
- <code class="ruby"> VERSION = &#39;14.1.2&#39;</code>
72252
+ <code class="ruby"> VERSION = &#39;14.1.3&#39;</code>
72253
72253
  </li>
72254
72254
  </div>
72255
72255
 
data/docs/Address.md CHANGED
@@ -20,7 +20,7 @@ require 'bandwidth-sdk'
20
20
  instance = Bandwidth::Address.new(
21
21
  name: Bandwidth Inc.,
22
22
  addr1: 2230 Bandmate Way,
23
- addr2: null,
23
+ addr2: 2230 Bandmate Way,
24
24
  city: Raleigh,
25
25
  state: NC,
26
26
  zip: 27606,
data/docs/CallsApi.md CHANGED
@@ -184,7 +184,7 @@ opts = {
184
184
  max_start_time: '2022-06-21T19:13:21Z', # String | Filter results to calls which have a `startTime` before or including `maxStartTime` (in ISO8601 format).
185
185
  disconnect_cause: 'hangup', # String | Filter results to calls with specified call Disconnect Cause.
186
186
  page_size: 500, # Integer | Specifies the max number of calls that will be returned.
187
- page_token: 'page_token_example' # String | Not intended for explicit use. To use pagination, follow the links in the `Link` header of the response, as indicated in the endpoint description.
187
+ page_token: 'eyJwYWdlVG9rZW4iOiJ0b2tlbiJ9' # String | Not intended for explicit use. To use pagination, follow the links in the `Link` header of the response, as indicated in the endpoint description.
188
188
  }
189
189
 
190
190
  begin
@@ -408,7 +408,7 @@ opts = {
408
408
  min_created_time: '2022-06-21T19:13:21Z', # String | Filter results to conferences which have a `createdTime` after or at `minCreatedTime` (in ISO8601 format).
409
409
  max_created_time: '2022-06-21T19:13:21Z', # String | Filter results to conferences which have a `createdTime` before or at `maxCreatedTime` (in ISO8601 format).
410
410
  page_size: 500, # Integer | Specifies the max number of conferences that will be returned.
411
- page_token: 'page_token_example' # String | Not intended for explicit use. To use pagination, follow the links in the `Link` header of the response, as indicated in the endpoint description.
411
+ page_token: 'eyJwYWdlVG9rZW4iOiJ0b2tlbiJ9' # String | Not intended for explicit use. To use pagination, follow the links in the `Link` header of the response, as indicated in the endpoint description.
412
412
  }
413
413
 
414
414
  begin
@@ -13,8 +13,8 @@
13
13
  require 'bandwidth-sdk'
14
14
 
15
15
  instance = Bandwidth::TfvBasicAuthentication.new(
16
- username: null,
17
- password: null
16
+ username: username,
17
+ password: password
18
18
  )
19
19
  ```
20
20
 
@@ -27,7 +27,7 @@ instance = Bandwidth::TfvSubmissionInfo.new(
27
27
  use_case_summary: Text summarizing the use case for the toll-free number,
28
28
  production_message_content: Production message content,
29
29
  opt_in_workflow: null,
30
- additional_information: Any additional information,
30
+ additional_information: null,
31
31
  isv_reseller: Test ISV
32
32
  )
33
33
  ```
@@ -388,7 +388,7 @@ end
388
388
 
389
389
  api_instance = Bandwidth::TollFreeVerificationApi.new
390
390
  account_id = '9900000' # String | Your Bandwidth Account ID.
391
- verification_request = Bandwidth::VerificationRequest.new({business_address: Bandwidth::Address.new({name: 'Bandwidth Inc.', addr1: '2230 Bandmate Way', city: 'Raleigh', state: 'NC', zip: '27606', url: 'https://www.example.com/path/to/resource'}), business_contact: Bandwidth::Contact.new({first_name: 'John', last_name: 'Doe', email: 'foo@bar.com', phone_number: '+19192654500'}), message_volume: 10000, phone_numbers: ['+18005555555'], use_case: '2FA', use_case_summary: 'use_case_summary_example', production_message_content: 'production_message_content_example', opt_in_workflow: Bandwidth::OptInWorkflow.new({description: 'Opt In Flow', image_urls: ['https://www.example.com/path/to/resource']})}) # VerificationRequest | Request for verification of a toll-free phone number.
391
+ verification_request = Bandwidth::VerificationRequest.new({business_address: Bandwidth::Address.new({name: 'Bandwidth Inc.', addr1: '2230 Bandmate Way', city: 'Raleigh', state: 'NC', zip: '27606', url: 'https://www.example.com/path/to/resource'}), business_contact: Bandwidth::Contact.new({first_name: 'John', last_name: 'Doe', email: 'foo@bar.com', phone_number: '+19192654500'}), message_volume: 10000, phone_numbers: ['+18005555555'], use_case: '2FA', use_case_summary: 'Text summarizing the use case for the toll-free number', production_message_content: 'Production message content', opt_in_workflow: Bandwidth::OptInWorkflow.new({description: 'Opt In Flow', image_urls: ['https://www.example.com/path/to/resource']})}) # VerificationRequest | Request for verification of a toll-free phone number.
392
392
 
393
393
  begin
394
394
  # Request Toll-Free Verification
@@ -26,10 +26,10 @@ instance = Bandwidth::VerificationRequest.new(
26
26
  message_volume: 10000,
27
27
  phone_numbers: null,
28
28
  use_case: 2FA,
29
- use_case_summary: null,
30
- production_message_content: null,
29
+ use_case_summary: Text summarizing the use case for the toll-free number,
30
+ production_message_content: Production message content,
31
31
  opt_in_workflow: null,
32
- additional_information: null,
32
+ additional_information: Any additional information,
33
33
  isv_reseller: Test ISV
34
34
  )
35
35
  ```
@@ -24,8 +24,8 @@ instance = Bandwidth::VerificationUpdateRequest.new(
24
24
  business_contact: null,
25
25
  message_volume: 10000,
26
26
  use_case: 2FA,
27
- use_case_summary: null,
28
- production_message_content: null,
27
+ use_case_summary: Text summarizing the use case for the toll-free number,
28
+ production_message_content: Production message content,
29
29
  opt_in_workflow: null,
30
30
  additional_information: null,
31
31
  isv_reseller: Test ISV
@@ -217,8 +217,8 @@ module Bandwidth
217
217
  invalid_properties.push('invalid value for "use_case_summary", the character length must be smaller than or equal to 500.')
218
218
  end
219
219
 
220
- if @use_case_summary.to_s.length < 1
221
- invalid_properties.push('invalid value for "use_case_summary", the character length must be great than or equal to 1.')
220
+ if @use_case_summary.to_s.length < 0
221
+ invalid_properties.push('invalid value for "use_case_summary", the character length must be great than or equal to 0.')
222
222
  end
223
223
 
224
224
  if @production_message_content.nil?
@@ -229,8 +229,8 @@ module Bandwidth
229
229
  invalid_properties.push('invalid value for "production_message_content", the character length must be smaller than or equal to 500.')
230
230
  end
231
231
 
232
- if @production_message_content.to_s.length < 1
233
- invalid_properties.push('invalid value for "production_message_content", the character length must be great than or equal to 1.')
232
+ if @production_message_content.to_s.length < 0
233
+ invalid_properties.push('invalid value for "production_message_content", the character length must be great than or equal to 0.')
234
234
  end
235
235
 
236
236
  if @opt_in_workflow.nil?
@@ -273,10 +273,10 @@ module Bandwidth
273
273
  return false if @use_case.to_s.length < 0
274
274
  return false if @use_case_summary.nil?
275
275
  return false if @use_case_summary.to_s.length > 500
276
- return false if @use_case_summary.to_s.length < 1
276
+ return false if @use_case_summary.to_s.length < 0
277
277
  return false if @production_message_content.nil?
278
278
  return false if @production_message_content.to_s.length > 500
279
- return false if @production_message_content.to_s.length < 1
279
+ return false if @production_message_content.to_s.length < 0
280
280
  return false if @opt_in_workflow.nil?
281
281
  return false if !@additional_information.nil? && @additional_information.to_s.length > 500
282
282
  return false if !@additional_information.nil? && @additional_information.to_s.length < 0
@@ -350,8 +350,8 @@ module Bandwidth
350
350
  fail ArgumentError, 'invalid value for "use_case_summary", the character length must be smaller than or equal to 500.'
351
351
  end
352
352
 
353
- if use_case_summary.to_s.length < 1
354
- fail ArgumentError, 'invalid value for "use_case_summary", the character length must be great than or equal to 1.'
353
+ if use_case_summary.to_s.length < 0
354
+ fail ArgumentError, 'invalid value for "use_case_summary", the character length must be great than or equal to 0.'
355
355
  end
356
356
 
357
357
  @use_case_summary = use_case_summary
@@ -368,8 +368,8 @@ module Bandwidth
368
368
  fail ArgumentError, 'invalid value for "production_message_content", the character length must be smaller than or equal to 500.'
369
369
  end
370
370
 
371
- if production_message_content.to_s.length < 1
372
- fail ArgumentError, 'invalid value for "production_message_content", the character length must be great than or equal to 1.'
371
+ if production_message_content.to_s.length < 0
372
+ fail ArgumentError, 'invalid value for "production_message_content", the character length must be great than or equal to 0.'
373
373
  end
374
374
 
375
375
  @production_message_content = production_message_content
@@ -11,5 +11,5 @@ Generator version: 7.8.0
11
11
  =end
12
12
 
13
13
  module Bandwidth
14
- VERSION = '14.1.2'
14
+ VERSION = '14.1.3'
15
15
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bandwidth-sdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 14.1.2
4
+ version: 14.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bandwidth
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-03-25 00:00:00.000000000 Z
11
+ date: 2025-04-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday