bandwidth-sdk 17.1.1 → 17.2.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 +4 -4
- data/Gemfile +1 -1
- data/Gemfile.lock +17 -13
- data/bandwidth.yml +48 -5
- data/coverage/.resultset.json +9 -5
- data/coverage/index.html +242 -194
- data/custom_templates/Gemfile.mustache +1 -1
- data/custom_templates/partial_anyof_module.mustache +135 -0
- data/docs/LookupResult.md +2 -2
- data/docs/MessagesApi.md +1 -1
- data/docs/RbmActionBase.md +1 -1
- data/docs/RbmMessageMedia.md +1 -1
- data/docs/RbmSuggestionResponse.md +1 -1
- data/docs/TfvStatus.md +3 -1
- data/docs/VerificationRequest.md +3 -1
- data/docs/VerificationUpdateRequest.md +3 -1
- data/lib/bandwidth-sdk/api/messages_api.rb +2 -2
- data/lib/bandwidth-sdk/models/multi_channel_action.rb +23 -67
- data/lib/bandwidth-sdk/models/multi_channel_channel_list_request_object.rb +20 -67
- data/lib/bandwidth-sdk/models/multi_channel_channel_list_response_object.rb +20 -67
- data/lib/bandwidth-sdk/models/rbm_message_media.rb +4 -2
- data/lib/bandwidth-sdk/models/tfv_status.rb +39 -4
- data/lib/bandwidth-sdk/models/verification_request.rb +39 -4
- data/lib/bandwidth-sdk/models/verification_update_request.rb +39 -4
- data/lib/bandwidth-sdk/version.rb +1 -1
- data/spec/smoke/multi_channel_api_spec.rb +236 -7
- data/spec/unit/api/toll_free_verification_api_spec.rb +4 -0
- metadata +3 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5c5d14b2821c1ff9ebb48adfc098d47c38af240d0a9465c0633bddb8b54601dc
|
|
4
|
+
data.tar.gz: e52f699ba29e164cf3f34e8555efa1c4114b65463ecc198b1f1bf12a3bc426aa
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3de616049b04f80a2b473bbdcd24158ee9abbb65b4b457b156270b5a6729c3819c9b319a6da2e2e646c00e3f1825e48dc06c6f694e0e1f6225f83d03dce4999f
|
|
7
|
+
data.tar.gz: 8661311a1bedff724a5da1b99a1c46c85b6bdcd94866e5d1a44b7fe058df6bc50ff88ec9d949903720a10722c2d5db4defecab25dd599c5b81b59d4582113516
|
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
bandwidth-sdk (17.
|
|
4
|
+
bandwidth-sdk (17.2.0)
|
|
5
5
|
faraday (>= 1.0.1, < 3.0)
|
|
6
6
|
faraday-multipart
|
|
7
7
|
marcel
|
|
@@ -26,7 +26,9 @@ GEM
|
|
|
26
26
|
faraday-net_http (3.4.2)
|
|
27
27
|
net-http (~> 0.5)
|
|
28
28
|
io-console (0.8.2)
|
|
29
|
-
json (2.18.
|
|
29
|
+
json (2.18.1)
|
|
30
|
+
language_server-protocol (3.17.0.5)
|
|
31
|
+
lint_roller (1.1.0)
|
|
30
32
|
logger (1.7.0)
|
|
31
33
|
marcel (1.1.0)
|
|
32
34
|
method_source (1.1.0)
|
|
@@ -39,7 +41,7 @@ GEM
|
|
|
39
41
|
parser (3.3.10.1)
|
|
40
42
|
ast (~> 2.4.1)
|
|
41
43
|
racc
|
|
42
|
-
prism (1.
|
|
44
|
+
prism (1.9.0)
|
|
43
45
|
pry (0.16.0)
|
|
44
46
|
coderay (~> 1.1)
|
|
45
47
|
method_source (~> 1.0)
|
|
@@ -53,7 +55,6 @@ GEM
|
|
|
53
55
|
regexp_parser (2.11.3)
|
|
54
56
|
reline (0.6.3)
|
|
55
57
|
io-console (~> 0.5)
|
|
56
|
-
rexml (3.4.4)
|
|
57
58
|
rspec (3.13.2)
|
|
58
59
|
rspec-core (~> 3.13.0)
|
|
59
60
|
rspec-expectations (~> 3.13.0)
|
|
@@ -66,17 +67,18 @@ GEM
|
|
|
66
67
|
rspec-mocks (3.13.7)
|
|
67
68
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
68
69
|
rspec-support (~> 3.13.0)
|
|
69
|
-
rspec-support (3.13.
|
|
70
|
-
rubocop (1.
|
|
70
|
+
rspec-support (3.13.7)
|
|
71
|
+
rubocop (1.82.1)
|
|
71
72
|
json (~> 2.3)
|
|
73
|
+
language_server-protocol (~> 3.17.0.2)
|
|
74
|
+
lint_roller (~> 1.1.0)
|
|
72
75
|
parallel (~> 1.10)
|
|
73
|
-
parser (>= 3.
|
|
76
|
+
parser (>= 3.3.0.2)
|
|
74
77
|
rainbow (>= 2.2.2, < 4.0)
|
|
75
|
-
regexp_parser (>=
|
|
76
|
-
|
|
77
|
-
rubocop-ast (>= 1.28.0, < 2.0)
|
|
78
|
+
regexp_parser (>= 2.9.3, < 3.0)
|
|
79
|
+
rubocop-ast (>= 1.48.0, < 2.0)
|
|
78
80
|
ruby-progressbar (~> 1.7)
|
|
79
|
-
unicode-display_width (>= 2.4.0, <
|
|
81
|
+
unicode-display_width (>= 2.4.0, < 4.0)
|
|
80
82
|
rubocop-ast (1.49.0)
|
|
81
83
|
parser (>= 3.3.7.2)
|
|
82
84
|
prism (~> 1.7)
|
|
@@ -87,7 +89,9 @@ GEM
|
|
|
87
89
|
simplecov_json_formatter (~> 0.1)
|
|
88
90
|
simplecov-html (0.13.2)
|
|
89
91
|
simplecov_json_formatter (0.1.4)
|
|
90
|
-
unicode-display_width (2.
|
|
92
|
+
unicode-display_width (3.2.0)
|
|
93
|
+
unicode-emoji (~> 4.1)
|
|
94
|
+
unicode-emoji (4.2.0)
|
|
91
95
|
uri (1.1.1)
|
|
92
96
|
|
|
93
97
|
PLATFORMS
|
|
@@ -99,7 +103,7 @@ DEPENDENCIES
|
|
|
99
103
|
pry-byebug
|
|
100
104
|
rake (~> 13.2.1)
|
|
101
105
|
rspec (~> 3.6, >= 3.6.0)
|
|
102
|
-
rubocop (~> 1.
|
|
106
|
+
rubocop (~> 1.82.0)
|
|
103
107
|
simplecov (~> 0.21.2)
|
|
104
108
|
|
|
105
109
|
BUNDLED WITH
|
data/bandwidth.yml
CHANGED
|
@@ -163,7 +163,13 @@ paths:
|
|
|
163
163
|
/users/{accountId}/messages:
|
|
164
164
|
get:
|
|
165
165
|
summary: List Messages
|
|
166
|
-
description:
|
|
166
|
+
description: >
|
|
167
|
+
Returns a list of messages based on query parameters.
|
|
168
|
+
|
|
169
|
+
|
|
170
|
+
**Rate Limit:** This endpoint is rate limited to 3500 requests per 5
|
|
171
|
+
minutes per Source IP address. Exceeding the limit returns HTTP 429 with
|
|
172
|
+
a `Retry-After` header.
|
|
167
173
|
operationId: listMessages
|
|
168
174
|
tags:
|
|
169
175
|
- Messages
|
|
@@ -207,10 +213,12 @@ paths:
|
|
|
207
213
|
$ref: '#/components/responses/messagingForbiddenError'
|
|
208
214
|
'404':
|
|
209
215
|
$ref: '#/components/responses/messagingNotFoundError'
|
|
216
|
+
'405':
|
|
217
|
+
$ref: '#/components/responses/messagingMethodNotAllowedError'
|
|
210
218
|
'415':
|
|
211
219
|
$ref: '#/components/responses/messagingInvalidMediaTypeError'
|
|
212
220
|
'429':
|
|
213
|
-
$ref: '#/components/responses/
|
|
221
|
+
$ref: '#/components/responses/listMessagesTooManyRequestsError'
|
|
214
222
|
'500':
|
|
215
223
|
$ref: '#/components/responses/messagingInternalServerError'
|
|
216
224
|
post:
|
|
@@ -2257,7 +2265,9 @@ components:
|
|
|
2257
2265
|
type: object
|
|
2258
2266
|
properties:
|
|
2259
2267
|
media:
|
|
2260
|
-
|
|
2268
|
+
type: array
|
|
2269
|
+
items:
|
|
2270
|
+
$ref: '#/components/schemas/rbmMessageContentFile'
|
|
2261
2271
|
suggestions:
|
|
2262
2272
|
$ref: '#/components/schemas/multiChannelFullActions'
|
|
2263
2273
|
required:
|
|
@@ -5875,7 +5885,6 @@ components:
|
|
|
5875
5885
|
type: object
|
|
5876
5886
|
internalTicketNumber:
|
|
5877
5887
|
type: string
|
|
5878
|
-
format: uuid
|
|
5879
5888
|
description: >-
|
|
5880
5889
|
Unique identifier (UUID) generated by Bandwidth to assist in tracking
|
|
5881
5890
|
the verification status of a toll-free number - included in all webhook
|
|
@@ -5883,7 +5892,6 @@ components:
|
|
|
5883
5892
|
example: acde070d-8c4c-4f0d-9d8a-162843c10333
|
|
5884
5893
|
internalTicketNumberForWebhook:
|
|
5885
5894
|
type: string
|
|
5886
|
-
format: uuid
|
|
5887
5895
|
description: >-
|
|
5888
5896
|
Unique identifier (UUID) generated by Bandwidth to assist in tracking
|
|
5889
5897
|
the verification status of a toll-free number.
|
|
@@ -5956,6 +5964,8 @@ components:
|
|
|
5956
5964
|
$ref: '#/components/schemas/helpMessageResponse'
|
|
5957
5965
|
ageGatedContent:
|
|
5958
5966
|
$ref: '#/components/schemas/ageGatedContent'
|
|
5967
|
+
cvToken:
|
|
5968
|
+
$ref: '#/components/schemas/cvToken'
|
|
5959
5969
|
verificationUpdateRequest:
|
|
5960
5970
|
type: object
|
|
5961
5971
|
required:
|
|
@@ -6005,6 +6015,8 @@ components:
|
|
|
6005
6015
|
$ref: '#/components/schemas/helpMessageResponse'
|
|
6006
6016
|
ageGatedContent:
|
|
6007
6017
|
$ref: '#/components/schemas/ageGatedContent'
|
|
6018
|
+
cvToken:
|
|
6019
|
+
$ref: '#/components/schemas/cvToken'
|
|
6008
6020
|
tfvBasicAuthentication:
|
|
6009
6021
|
type: object
|
|
6010
6022
|
properties:
|
|
@@ -6456,6 +6468,8 @@ components:
|
|
|
6456
6468
|
$ref: '#/components/schemas/blocked'
|
|
6457
6469
|
blockedReason:
|
|
6458
6470
|
$ref: '#/components/schemas/blockedReason'
|
|
6471
|
+
cvToken:
|
|
6472
|
+
$ref: '#/components/schemas/cvToken'
|
|
6459
6473
|
tfvSubmissionInfo:
|
|
6460
6474
|
type: object
|
|
6461
6475
|
properties:
|
|
@@ -6520,6 +6534,18 @@ components:
|
|
|
6520
6534
|
nullable: true
|
|
6521
6535
|
pattern: ^[ -~]{16,64}$
|
|
6522
6536
|
type: string
|
|
6537
|
+
cvToken:
|
|
6538
|
+
type: string
|
|
6539
|
+
description: >-
|
|
6540
|
+
The token provided by Campaign Verify to validate your political use
|
|
6541
|
+
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.
|
|
6544
|
+
minLength: 0
|
|
6545
|
+
maxLength: 500
|
|
6546
|
+
nullable: true
|
|
6547
|
+
example: >-
|
|
6548
|
+
cv.user123|sess456|mno|tfree|read_write|X7yZ9aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789aBcDeFgHiJkLmNoPqRsTuVw
|
|
6523
6549
|
responses:
|
|
6524
6550
|
createMessageResponse:
|
|
6525
6551
|
description: Accepted
|
|
@@ -6734,6 +6760,23 @@ components:
|
|
|
6734
6760
|
- type: internal-server-error
|
|
6735
6761
|
description: Internal server error. No further information available
|
|
6736
6762
|
source: {}
|
|
6763
|
+
listMessagesTooManyRequestsError:
|
|
6764
|
+
description: Too Many Requests
|
|
6765
|
+
headers:
|
|
6766
|
+
Retry-After:
|
|
6767
|
+
description: The number of seconds to wait before retrying the request.
|
|
6768
|
+
schema:
|
|
6769
|
+
type: integer
|
|
6770
|
+
example: 300
|
|
6771
|
+
content:
|
|
6772
|
+
application/json:
|
|
6773
|
+
schema:
|
|
6774
|
+
$ref: '#/components/schemas/messagingRequestError'
|
|
6775
|
+
example:
|
|
6776
|
+
type: rate_limit_exceeded
|
|
6777
|
+
description: >-
|
|
6778
|
+
Rate limit exceeded. Wait for Retry-After time before sending
|
|
6779
|
+
another request.
|
|
6737
6780
|
createCallResponse:
|
|
6738
6781
|
description: Created
|
|
6739
6782
|
headers:
|
data/coverage/.resultset.json
CHANGED
|
@@ -795,13 +795,13 @@
|
|
|
795
795
|
null,
|
|
796
796
|
null,
|
|
797
797
|
1,
|
|
798
|
-
|
|
798
|
+
443,
|
|
799
799
|
null,
|
|
800
800
|
45,
|
|
801
801
|
null,
|
|
802
802
|
8,
|
|
803
803
|
null,
|
|
804
|
-
|
|
804
|
+
267,
|
|
805
805
|
null,
|
|
806
806
|
21,
|
|
807
807
|
null,
|
|
@@ -828,8 +828,8 @@
|
|
|
828
828
|
null,
|
|
829
829
|
null,
|
|
830
830
|
null,
|
|
831
|
-
|
|
832
|
-
|
|
831
|
+
84,
|
|
832
|
+
84,
|
|
833
833
|
null,
|
|
834
834
|
null,
|
|
835
835
|
null,
|
|
@@ -8692,6 +8692,10 @@
|
|
|
8692
8692
|
1,
|
|
8693
8693
|
1,
|
|
8694
8694
|
1,
|
|
8695
|
+
1,
|
|
8696
|
+
1,
|
|
8697
|
+
1,
|
|
8698
|
+
1,
|
|
8695
8699
|
null,
|
|
8696
8700
|
null,
|
|
8697
8701
|
1,
|
|
@@ -11658,6 +11662,6 @@
|
|
|
11658
11662
|
]
|
|
11659
11663
|
}
|
|
11660
11664
|
},
|
|
11661
|
-
"timestamp":
|
|
11665
|
+
"timestamp": 1770147454
|
|
11662
11666
|
}
|
|
11663
11667
|
}
|