bandwidth-sdk 11.0.0.pre.beta.3.0 → 11.0.0.pre.beta.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (115) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +3 -3
  3. data/README.md +3 -0
  4. data/bandwidth-sdk.gemspec +1 -1
  5. data/bandwidth.yml +26 -0
  6. data/coverage/.resultset.json +8 -6
  7. data/coverage/index.html +287 -265
  8. data/custom_templates/README.mustache +3 -0
  9. data/docs/CreateCall.md +2 -0
  10. data/lib/bandwidth-sdk/api/calls_api.rb +1 -1
  11. data/lib/bandwidth-sdk/api/conferences_api.rb +1 -1
  12. data/lib/bandwidth-sdk/api/media_api.rb +1 -1
  13. data/lib/bandwidth-sdk/api/messages_api.rb +1 -1
  14. data/lib/bandwidth-sdk/api/mfa_api.rb +1 -1
  15. data/lib/bandwidth-sdk/api/phone_number_lookup_api.rb +1 -1
  16. data/lib/bandwidth-sdk/api/recordings_api.rb +1 -1
  17. data/lib/bandwidth-sdk/api/statistics_api.rb +1 -1
  18. data/lib/bandwidth-sdk/api_client.rb +1 -1
  19. data/lib/bandwidth-sdk/api_error.rb +1 -1
  20. data/lib/bandwidth-sdk/configuration.rb +1 -1
  21. data/lib/bandwidth-sdk/models/account_statistics.rb +1 -1
  22. data/lib/bandwidth-sdk/models/answer_callback.rb +1 -1
  23. data/lib/bandwidth-sdk/models/bridge_complete_callback.rb +1 -1
  24. data/lib/bandwidth-sdk/models/bridge_target_complete_callback.rb +1 -1
  25. data/lib/bandwidth-sdk/models/call_direction_enum.rb +1 -1
  26. data/lib/bandwidth-sdk/models/call_recording_metadata.rb +1 -1
  27. data/lib/bandwidth-sdk/models/call_state.rb +1 -1
  28. data/lib/bandwidth-sdk/models/call_state_enum.rb +1 -1
  29. data/lib/bandwidth-sdk/models/callback_method_enum.rb +1 -1
  30. data/lib/bandwidth-sdk/models/code_request.rb +1 -1
  31. data/lib/bandwidth-sdk/models/conference.rb +1 -1
  32. data/lib/bandwidth-sdk/models/conference_completed_callback.rb +1 -1
  33. data/lib/bandwidth-sdk/models/conference_created_callback.rb +1 -1
  34. data/lib/bandwidth-sdk/models/conference_member.rb +1 -1
  35. data/lib/bandwidth-sdk/models/conference_member_exit_callback.rb +1 -1
  36. data/lib/bandwidth-sdk/models/conference_member_join_callback.rb +1 -1
  37. data/lib/bandwidth-sdk/models/conference_recording_available_callback.rb +1 -1
  38. data/lib/bandwidth-sdk/models/conference_recording_metadata.rb +1 -1
  39. data/lib/bandwidth-sdk/models/conference_redirect_callback.rb +1 -1
  40. data/lib/bandwidth-sdk/models/conference_state_enum.rb +1 -1
  41. data/lib/bandwidth-sdk/models/create_call.rb +28 -2
  42. data/lib/bandwidth-sdk/models/create_call_response.rb +1 -1
  43. data/lib/bandwidth-sdk/models/create_lookup_response.rb +1 -1
  44. data/lib/bandwidth-sdk/models/create_message_request_error.rb +1 -1
  45. data/lib/bandwidth-sdk/models/deferred_result.rb +1 -1
  46. data/lib/bandwidth-sdk/models/disconnect_callback.rb +1 -1
  47. data/lib/bandwidth-sdk/models/diversion.rb +1 -1
  48. data/lib/bandwidth-sdk/models/dtmf_callback.rb +1 -1
  49. data/lib/bandwidth-sdk/models/field_error.rb +1 -1
  50. data/lib/bandwidth-sdk/models/file_format_enum.rb +1 -1
  51. data/lib/bandwidth-sdk/models/gather_callback.rb +1 -1
  52. data/lib/bandwidth-sdk/models/inbound_message_callback.rb +1 -1
  53. data/lib/bandwidth-sdk/models/inbound_message_callback_message.rb +1 -1
  54. data/lib/bandwidth-sdk/models/initiate_callback.rb +1 -1
  55. data/lib/bandwidth-sdk/models/list_message_direction_enum.rb +1 -1
  56. data/lib/bandwidth-sdk/models/list_message_item.rb +1 -1
  57. data/lib/bandwidth-sdk/models/lookup_request.rb +1 -1
  58. data/lib/bandwidth-sdk/models/lookup_result.rb +1 -1
  59. data/lib/bandwidth-sdk/models/lookup_status.rb +1 -1
  60. data/lib/bandwidth-sdk/models/lookup_status_enum.rb +1 -1
  61. data/lib/bandwidth-sdk/models/machine_detection_complete_callback.rb +1 -1
  62. data/lib/bandwidth-sdk/models/machine_detection_configuration.rb +1 -1
  63. data/lib/bandwidth-sdk/models/machine_detection_mode_enum.rb +1 -1
  64. data/lib/bandwidth-sdk/models/machine_detection_result.rb +1 -1
  65. data/lib/bandwidth-sdk/models/media.rb +1 -1
  66. data/lib/bandwidth-sdk/models/message.rb +1 -1
  67. data/lib/bandwidth-sdk/models/message_delivered_callback.rb +1 -1
  68. data/lib/bandwidth-sdk/models/message_delivered_callback_message.rb +1 -1
  69. data/lib/bandwidth-sdk/models/message_direction_enum.rb +1 -1
  70. data/lib/bandwidth-sdk/models/message_failed_callback.rb +1 -1
  71. data/lib/bandwidth-sdk/models/message_failed_callback_message.rb +1 -1
  72. data/lib/bandwidth-sdk/models/message_request.rb +1 -1
  73. data/lib/bandwidth-sdk/models/message_sending_callback.rb +1 -1
  74. data/lib/bandwidth-sdk/models/message_sending_callback_message.rb +1 -1
  75. data/lib/bandwidth-sdk/models/message_status_enum.rb +1 -1
  76. data/lib/bandwidth-sdk/models/message_type_enum.rb +1 -1
  77. data/lib/bandwidth-sdk/models/messages_list.rb +1 -1
  78. data/lib/bandwidth-sdk/models/messaging_code_response.rb +1 -1
  79. data/lib/bandwidth-sdk/models/messaging_request_error.rb +1 -1
  80. data/lib/bandwidth-sdk/models/mfa_forbidden_request_error.rb +1 -1
  81. data/lib/bandwidth-sdk/models/mfa_request_error.rb +1 -1
  82. data/lib/bandwidth-sdk/models/mfa_unauthorized_request_error.rb +1 -1
  83. data/lib/bandwidth-sdk/models/page_info.rb +1 -1
  84. data/lib/bandwidth-sdk/models/priority_enum.rb +1 -1
  85. data/lib/bandwidth-sdk/models/recording_available_callback.rb +1 -1
  86. data/lib/bandwidth-sdk/models/recording_complete_callback.rb +1 -1
  87. data/lib/bandwidth-sdk/models/recording_state_enum.rb +1 -1
  88. data/lib/bandwidth-sdk/models/redirect_callback.rb +1 -1
  89. data/lib/bandwidth-sdk/models/redirect_method_enum.rb +1 -1
  90. data/lib/bandwidth-sdk/models/stir_shaken.rb +1 -1
  91. data/lib/bandwidth-sdk/models/tag.rb +1 -1
  92. data/lib/bandwidth-sdk/models/tn_lookup_request_error.rb +1 -1
  93. data/lib/bandwidth-sdk/models/transcribe_recording.rb +1 -1
  94. data/lib/bandwidth-sdk/models/transcription.rb +1 -1
  95. data/lib/bandwidth-sdk/models/transcription_available_callback.rb +1 -1
  96. data/lib/bandwidth-sdk/models/transcription_list.rb +1 -1
  97. data/lib/bandwidth-sdk/models/transcription_metadata.rb +1 -1
  98. data/lib/bandwidth-sdk/models/transfer_answer_callback.rb +1 -1
  99. data/lib/bandwidth-sdk/models/transfer_complete_callback.rb +1 -1
  100. data/lib/bandwidth-sdk/models/transfer_disconnect_callback.rb +1 -1
  101. data/lib/bandwidth-sdk/models/update_call.rb +1 -1
  102. data/lib/bandwidth-sdk/models/update_call_recording.rb +1 -1
  103. data/lib/bandwidth-sdk/models/update_conference.rb +1 -1
  104. data/lib/bandwidth-sdk/models/update_conference_member.rb +1 -1
  105. data/lib/bandwidth-sdk/models/verify_code_request.rb +1 -1
  106. data/lib/bandwidth-sdk/models/verify_code_response.rb +1 -1
  107. data/lib/bandwidth-sdk/models/voice_api_error.rb +1 -1
  108. data/lib/bandwidth-sdk/models/voice_code_response.rb +1 -1
  109. data/lib/bandwidth-sdk/version.rb +2 -2
  110. data/lib/bandwidth-sdk.rb +1 -1
  111. data/openapitools.json +1 -1
  112. data/spec/api/calls_api_spec.rb +2 -0
  113. data/spec/integration/calls_api_integration_spec.rb +3 -1
  114. metadata +36 -37
  115. data/custom_templates/version.mustache +0 -7
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 37844d8e08e87e3ffd6cd0770e40179d2357a3969007a827c7607d0b13a66f1a
4
- data.tar.gz: bfaa74e8881e861e8a49a2cef47a2e69a186bb39a9e1f06cc7cdb304d51031fa
3
+ metadata.gz: 652bb9b057c32ad4b41af859976ce44fcee6398f5726d96dca3abf62a45f4cce
4
+ data.tar.gz: acfb85df2e41a6f33be551f781b2b40785789ee52f6820f24fa41432692e9ac0
5
5
  SHA512:
6
- metadata.gz: 5d50ea406d873c710831be49f33c08f2726668e98ddf7c0da3851eb33ce0199fb34c1fffed8fda0034a39c8aab5a8b4d8005c00c618c8c835de0004ecaf50d42
7
- data.tar.gz: 8a613c54107513437ecaf4953e92438d65bce6bc2a2851b3c78bc1d9cd5451afb05a1218afa326b09bee2e079799e07536562f9de9b42e21d05c7326ea9e38d8
6
+ metadata.gz: a82866f202ca35619b34587d05f3aa486370c3cac8b25718b06899f2560a4e62a86ab18df3d7204cfcfcbd307428d8c2f1ebc583a6bbfffcd3bc9a4ea66b8c69
7
+ data.tar.gz: 0b035b9b15c10989168b79343ed89a74b8902272ddcd96509ad39aa04628598f25ff3525bd664527eaf6d6f21334219b3a82120ab482f78cf1a272e8f28e1d21
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- bandwidth-sdk (11.0.0.pre.beta.3.0)
4
+ bandwidth-sdk (11.0.0.pre.beta.4.0)
5
5
  faraday (>= 1.0.1, < 3.0)
6
6
  faraday-multipart
7
7
  ox (~> 2.4)
@@ -9,7 +9,7 @@ PATH
9
9
  GEM
10
10
  remote: https://rubygems.org/
11
11
  specs:
12
- addressable (2.8.4)
12
+ addressable (2.8.5)
13
13
  public_suffix (>= 2.0.2, < 6.0)
14
14
  ast (2.4.2)
15
15
  byebug (11.1.3)
@@ -44,7 +44,7 @@ GEM
44
44
  rainbow (3.1.1)
45
45
  rake (13.0.6)
46
46
  regexp_parser (2.8.1)
47
- rexml (3.2.5)
47
+ rexml (3.2.6)
48
48
  rspec (3.12.0)
49
49
  rspec-core (~> 3.12.0)
50
50
  rspec-expectations (~> 3.12.0)
data/README.md CHANGED
@@ -14,6 +14,9 @@
14
14
 
15
15
  Bandwidth - the Ruby gem for the Bandwidth
16
16
 
17
+ # Generated with the command:
18
+ `openapi-generator generate -g ruby -i bandwidth.yml -c openapi-config.yml -o ./`
19
+
17
20
  Bandwidth's Communication APIs
18
21
 
19
22
  This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
@@ -8,7 +8,7 @@
8
8
  The version of the OpenAPI document: 1.0.0
9
9
  Contact: letstalk@bandwidth.com
10
10
  Generated by: https://openapi-generator.tech
11
- OpenAPI Generator version: 7.0.0-SNAPSHOT
11
+ OpenAPI Generator version: 7.0.0
12
12
 
13
13
  =end
14
14
 
data/bandwidth.yml CHANGED
@@ -40,6 +40,8 @@ paths:
40
40
  $ref: '#/components/responses/messagingForbiddenError'
41
41
  '404':
42
42
  $ref: '#/components/responses/messagingNotFoundError'
43
+ '406':
44
+ $ref: '#/components/responses/messagingNotAcceptableError'
43
45
  '415':
44
46
  $ref: '#/components/responses/messagingInvalidMediaTypeError'
45
47
  '429':
@@ -70,6 +72,8 @@ paths:
70
72
  $ref: '#/components/responses/messagingForbiddenError'
71
73
  '404':
72
74
  $ref: '#/components/responses/messagingNotFoundError'
75
+ '406':
76
+ $ref: '#/components/responses/messagingNotAcceptableError'
73
77
  '415':
74
78
  $ref: '#/components/responses/messagingInvalidMediaTypeError'
75
79
  '429':
@@ -110,6 +114,8 @@ paths:
110
114
  $ref: '#/components/responses/messagingForbiddenError'
111
115
  '404':
112
116
  $ref: '#/components/responses/messagingNotFoundError'
117
+ '406':
118
+ $ref: '#/components/responses/messagingNotAcceptableError'
113
119
  '415':
114
120
  $ref: '#/components/responses/messagingInvalidMediaTypeError'
115
121
  '429':
@@ -141,6 +147,8 @@ paths:
141
147
  $ref: '#/components/responses/messagingForbiddenError'
142
148
  '404':
143
149
  $ref: '#/components/responses/messagingNotFoundError'
150
+ '406':
151
+ $ref: '#/components/responses/messagingNotAcceptableError'
144
152
  '415':
145
153
  $ref: '#/components/responses/messagingInvalidMediaTypeError'
146
154
  '429':
@@ -212,6 +220,8 @@ paths:
212
220
  $ref: '#/components/responses/messagingForbiddenError'
213
221
  '404':
214
222
  $ref: '#/components/responses/messagingNotFoundError'
223
+ '406':
224
+ $ref: '#/components/responses/messagingNotAcceptableError'
215
225
  '415':
216
226
  $ref: '#/components/responses/messagingInvalidMediaTypeError'
217
227
  '429':
@@ -1994,6 +2004,16 @@ components:
1994
2004
 
1995
2005
  strings: `Restricted`, `Anonymous`, `Private`, or `Unavailable`).
1996
2006
  example: '+19195554321'
2007
+ displayName:
2008
+ nullable: true
2009
+ type: string
2010
+ description: >-
2011
+ The caller display name to use when the call is created.
2012
+
2013
+ May not exceed 256 characters nor contain control characters such as
2014
+ new lines.
2015
+ maxLength: 256
2016
+ example: John Doe
1997
2017
  uui:
1998
2018
  nullable: true
1999
2019
  type: string
@@ -4403,6 +4423,12 @@ components:
4403
4423
  application/json:
4404
4424
  schema:
4405
4425
  $ref: '#/components/schemas/messagingRequestError'
4426
+ messagingNotAcceptableError:
4427
+ description: Not Acceptable
4428
+ content:
4429
+ application/json:
4430
+ schema:
4431
+ $ref: '#/components/schemas/messagingRequestError'
4406
4432
  createMessageBadRequestError:
4407
4433
  description: Bad Request
4408
4434
  content:
@@ -462,8 +462,8 @@
462
462
  null,
463
463
  null,
464
464
  1,
465
- 1426,
466
- 1426,
465
+ 1695,
466
+ 1695,
467
467
  null,
468
468
  2,
469
469
  null,
@@ -484,7 +484,7 @@
484
484
  null,
485
485
  null,
486
486
  13,
487
- 1379,
487
+ 1648,
488
488
  null,
489
489
  null,
490
490
  2,
@@ -493,8 +493,8 @@
493
493
  null,
494
494
  null,
495
495
  null,
496
- 1398,
497
- 1398,
496
+ 1667,
497
+ 1667,
498
498
  null,
499
499
  null,
500
500
  null,
@@ -5591,6 +5591,7 @@
5591
5591
  2,
5592
5592
  2,
5593
5593
  2,
5594
+ 2,
5594
5595
  null,
5595
5596
  null,
5596
5597
  2,
@@ -5648,6 +5649,7 @@
5648
5649
  null,
5649
5650
  null,
5650
5651
  null,
5652
+ null,
5651
5653
  1,
5652
5654
  null,
5653
5655
  1,
@@ -9754,6 +9756,6 @@
9754
9756
  ]
9755
9757
  }
9756
9758
  },
9757
- "timestamp": 1690383567
9759
+ "timestamp": 1693423043
9758
9760
  }
9759
9761
  }