bandwidth-sdk 11.0.0.pre.beta.2.0 → 11.0.0.pre.beta.3.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (119) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +3 -3
  3. data/bandwidth-sdk.gemspec +1 -1
  4. data/bandwidth.yml +26 -0
  5. data/coverage/.last_run.json +1 -1
  6. data/coverage/.resultset.json +264 -295
  7. data/coverage/index.html +2839 -3180
  8. data/docs/CreateCall.md +2 -0
  9. data/lib/bandwidth-sdk/api/calls_api.rb +1 -1
  10. data/lib/bandwidth-sdk/api/conferences_api.rb +1 -1
  11. data/lib/bandwidth-sdk/api/media_api.rb +1 -1
  12. data/lib/bandwidth-sdk/api/messages_api.rb +1 -1
  13. data/lib/bandwidth-sdk/api/mfa_api.rb +1 -1
  14. data/lib/bandwidth-sdk/api/phone_number_lookup_api.rb +1 -1
  15. data/lib/bandwidth-sdk/api/recordings_api.rb +1 -1
  16. data/lib/bandwidth-sdk/api/statistics_api.rb +1 -1
  17. data/lib/bandwidth-sdk/api_client.rb +1 -1
  18. data/lib/bandwidth-sdk/api_error.rb +1 -1
  19. data/lib/bandwidth-sdk/configuration.rb +10 -8
  20. data/lib/bandwidth-sdk/models/account_statistics.rb +13 -18
  21. data/lib/bandwidth-sdk/models/answer_callback.rb +13 -18
  22. data/lib/bandwidth-sdk/models/bridge_complete_callback.rb +13 -18
  23. data/lib/bandwidth-sdk/models/bridge_target_complete_callback.rb +13 -18
  24. data/lib/bandwidth-sdk/models/call_direction_enum.rb +1 -1
  25. data/lib/bandwidth-sdk/models/call_recording_metadata.rb +13 -18
  26. data/lib/bandwidth-sdk/models/call_state.rb +13 -18
  27. data/lib/bandwidth-sdk/models/call_state_enum.rb +1 -1
  28. data/lib/bandwidth-sdk/models/callback_method_enum.rb +1 -1
  29. data/lib/bandwidth-sdk/models/code_request.rb +28 -19
  30. data/lib/bandwidth-sdk/models/conference.rb +13 -18
  31. data/lib/bandwidth-sdk/models/conference_completed_callback.rb +13 -18
  32. data/lib/bandwidth-sdk/models/conference_created_callback.rb +13 -18
  33. data/lib/bandwidth-sdk/models/conference_member.rb +13 -18
  34. data/lib/bandwidth-sdk/models/conference_member_exit_callback.rb +13 -18
  35. data/lib/bandwidth-sdk/models/conference_member_join_callback.rb +13 -18
  36. data/lib/bandwidth-sdk/models/conference_recording_available_callback.rb +13 -18
  37. data/lib/bandwidth-sdk/models/conference_recording_metadata.rb +13 -18
  38. data/lib/bandwidth-sdk/models/conference_redirect_callback.rb +13 -18
  39. data/lib/bandwidth-sdk/models/conference_state_enum.rb +1 -1
  40. data/lib/bandwidth-sdk/models/create_call.rb +48 -19
  41. data/lib/bandwidth-sdk/models/create_call_response.rb +27 -18
  42. data/lib/bandwidth-sdk/models/create_lookup_response.rb +13 -18
  43. data/lib/bandwidth-sdk/models/create_message_request_error.rb +17 -18
  44. data/lib/bandwidth-sdk/models/deferred_result.rb +13 -18
  45. data/lib/bandwidth-sdk/models/disconnect_callback.rb +13 -18
  46. data/lib/bandwidth-sdk/models/diversion.rb +13 -18
  47. data/lib/bandwidth-sdk/models/dtmf_callback.rb +13 -18
  48. data/lib/bandwidth-sdk/models/field_error.rb +13 -18
  49. data/lib/bandwidth-sdk/models/file_format_enum.rb +1 -1
  50. data/lib/bandwidth-sdk/models/gather_callback.rb +13 -18
  51. data/lib/bandwidth-sdk/models/inbound_message_callback.rb +23 -18
  52. data/lib/bandwidth-sdk/models/inbound_message_callback_message.rb +31 -18
  53. data/lib/bandwidth-sdk/models/initiate_callback.rb +13 -18
  54. data/lib/bandwidth-sdk/models/list_message_direction_enum.rb +1 -1
  55. data/lib/bandwidth-sdk/models/list_message_item.rb +13 -18
  56. data/lib/bandwidth-sdk/models/lookup_request.rb +15 -18
  57. data/lib/bandwidth-sdk/models/lookup_result.rb +13 -18
  58. data/lib/bandwidth-sdk/models/lookup_status.rb +13 -18
  59. data/lib/bandwidth-sdk/models/lookup_status_enum.rb +1 -1
  60. data/lib/bandwidth-sdk/models/machine_detection_complete_callback.rb +13 -18
  61. data/lib/bandwidth-sdk/models/machine_detection_configuration.rb +13 -18
  62. data/lib/bandwidth-sdk/models/machine_detection_mode_enum.rb +1 -1
  63. data/lib/bandwidth-sdk/models/machine_detection_result.rb +13 -18
  64. data/lib/bandwidth-sdk/models/media.rb +13 -18
  65. data/lib/bandwidth-sdk/models/message.rb +21 -18
  66. data/lib/bandwidth-sdk/models/message_delivered_callback.rb +23 -18
  67. data/lib/bandwidth-sdk/models/message_delivered_callback_message.rb +33 -18
  68. data/lib/bandwidth-sdk/models/message_direction_enum.rb +1 -1
  69. data/lib/bandwidth-sdk/models/message_failed_callback.rb +25 -18
  70. data/lib/bandwidth-sdk/models/message_failed_callback_message.rb +35 -18
  71. data/lib/bandwidth-sdk/models/message_request.rb +24 -19
  72. data/lib/bandwidth-sdk/models/message_sending_callback.rb +23 -18
  73. data/lib/bandwidth-sdk/models/message_sending_callback_message.rb +35 -18
  74. data/lib/bandwidth-sdk/models/message_status_enum.rb +1 -1
  75. data/lib/bandwidth-sdk/models/message_type_enum.rb +1 -1
  76. data/lib/bandwidth-sdk/models/messages_list.rb +13 -18
  77. data/lib/bandwidth-sdk/models/messaging_code_response.rb +13 -18
  78. data/lib/bandwidth-sdk/models/messaging_request_error.rb +17 -18
  79. data/lib/bandwidth-sdk/models/mfa_forbidden_request_error.rb +13 -18
  80. data/lib/bandwidth-sdk/models/mfa_request_error.rb +13 -18
  81. data/lib/bandwidth-sdk/models/mfa_unauthorized_request_error.rb +13 -18
  82. data/lib/bandwidth-sdk/models/page_info.rb +13 -18
  83. data/lib/bandwidth-sdk/models/priority_enum.rb +1 -1
  84. data/lib/bandwidth-sdk/models/recording_available_callback.rb +13 -18
  85. data/lib/bandwidth-sdk/models/recording_complete_callback.rb +13 -18
  86. data/lib/bandwidth-sdk/models/recording_state_enum.rb +1 -1
  87. data/lib/bandwidth-sdk/models/redirect_callback.rb +13 -18
  88. data/lib/bandwidth-sdk/models/redirect_method_enum.rb +1 -1
  89. data/lib/bandwidth-sdk/models/stir_shaken.rb +13 -18
  90. data/lib/bandwidth-sdk/models/tag.rb +13 -18
  91. data/lib/bandwidth-sdk/models/tn_lookup_request_error.rb +13 -18
  92. data/lib/bandwidth-sdk/models/transcribe_recording.rb +13 -18
  93. data/lib/bandwidth-sdk/models/transcription.rb +13 -18
  94. data/lib/bandwidth-sdk/models/transcription_available_callback.rb +13 -18
  95. data/lib/bandwidth-sdk/models/transcription_list.rb +13 -18
  96. data/lib/bandwidth-sdk/models/transcription_metadata.rb +13 -18
  97. data/lib/bandwidth-sdk/models/transfer_answer_callback.rb +13 -18
  98. data/lib/bandwidth-sdk/models/transfer_complete_callback.rb +13 -18
  99. data/lib/bandwidth-sdk/models/transfer_disconnect_callback.rb +13 -18
  100. data/lib/bandwidth-sdk/models/update_call.rb +13 -18
  101. data/lib/bandwidth-sdk/models/update_call_recording.rb +15 -18
  102. data/lib/bandwidth-sdk/models/update_conference.rb +13 -18
  103. data/lib/bandwidth-sdk/models/update_conference_member.rb +13 -18
  104. data/lib/bandwidth-sdk/models/verify_code_request.rb +19 -18
  105. data/lib/bandwidth-sdk/models/verify_code_response.rb +13 -18
  106. data/lib/bandwidth-sdk/models/voice_api_error.rb +13 -18
  107. data/lib/bandwidth-sdk/models/voice_code_response.rb +13 -18
  108. data/lib/bandwidth-sdk/version.rb +1 -1
  109. data/lib/bandwidth-sdk.rb +1 -1
  110. data/openapitools.json +1 -1
  111. data/spec/api/calls_api_spec.rb +2 -0
  112. data/spec/api_client_spec.rb +1 -1
  113. data/spec/configuration_spec.rb +19 -7
  114. data/spec/integration/calls_api_integration_spec.rb +2 -0
  115. data/spec/models/call_state_spec.rb +0 -13
  116. data/spec/models/deferred_result_spec.rb +1 -14
  117. data/spec/models/message_spec.rb +10 -17
  118. data/spec/models/verify_code_request_spec.rb +7 -15
  119. metadata +36 -36
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4755b02928f3f78f643d9524018f4e95384122ccb4fc5ebd46c282544ef6fea8
4
- data.tar.gz: f0d389fe00fffa8751656a654128eab83cc2d2fec4153753743697c1fc220b2d
3
+ metadata.gz: 8693d77d4bfee8e8282c115a91e8a1bf3e50100497a00250003f8f43f345a80d
4
+ data.tar.gz: bc1a9da75a90bd85908f4af3fbffd2cd743ec90d78298c159eb9a303d33c510e
5
5
  SHA512:
6
- metadata.gz: 36d56cbaf9d630cf719a807e665382a99844d73fe5f945547357ca972c113e23e655ba8808c830f01158999fcb2f72c307aad2b4439d234145b7d96270639ea7
7
- data.tar.gz: b0d808511f119b47179838b33f4fceb32a40fd7d09bf26f593994d120118bf37c0431a2b5858a32105655b4d592222839222919a8fde1a61c9b893eae7345b6d
6
+ metadata.gz: 303261aff338a80019bbc9f2025e223c0fe1f3d483dc9130fc553cd34137cca66afdcb863ec107280dfbd00077a2164aadca69dc64fab00858b348d2b4cd1e70
7
+ data.tar.gz: f1049381061fb44ef464da2f7e0a5c8871300e4363e733b0cc3c79e19a0e193a0a0f67921422719ee9fa5daa2c0a585f68b2c498274c65e0cecf50dcf4d66cb2
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.2.0)
4
+ bandwidth-sdk (11.0.0.pre.beta.3.1)
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)
@@ -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: 6.5.0
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:
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "result": {
3
- "line": 97.22
3
+ "line": 96.15
4
4
  }
5
5
  }