zernio-sdk 0.0.542 → 0.0.543
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/docs/ListSmsRegistrations200ResponseRegistrationsInner.md +2 -0
- data/lib/zernio-sdk/models/list_sms_registrations200_response_registrations_inner.rb +12 -1
- data/lib/zernio-sdk/version.rb +1 -1
- data/openapi.yaml +39 -4
- data/spec/models/list_sms_registrations200_response_registrations_inner_spec.rb +6 -0
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: db83653524e1f3180046a4649c52326ab55521aa3275b5f97d04aa14c4ab13be
|
|
4
|
+
data.tar.gz: b76311cb6761eb4901653e392a7f5b43c28dd5b2445636e0ab95a6a789f22b69
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a8c0b48339d776feadf83697e5ec77a60ea07fd327786e6366a035b96a27b63b5ae1e2c1f98b0c627b607abb033317858f3092dc84e9c4d3d76f4746bb0c6c96
|
|
7
|
+
data.tar.gz: 6ee2d3ddaf854b75a5cb63ae3f75576005b25a5f3c674830a116525d956f390bac21f2250c6018d5b6f7997a644862fc400eb55435cfe1b9c6759c8bc3348870
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
| **brand_id** | **String** | TCR brand id, useful when referencing the brand in carrier support threads. | [optional] |
|
|
14
14
|
| **campaign_id** | **String** | TCR campaign id. | [optional] |
|
|
15
15
|
| **decline_reason** | **String** | | [optional] |
|
|
16
|
+
| **tf_action_required_at** | **Time** | Toll-free only: when the carrier requested changes (\"Waiting For Customer\"). The request must be resubmitted within 7 days of this timestamp or it expires. | [optional] |
|
|
16
17
|
| **phone_numbers** | **Array<String>** | | [optional] |
|
|
17
18
|
| **awaiting_otp** | **Boolean** | Sole-prop 10DLC only; the OTP step is still pending. | [optional] |
|
|
18
19
|
| **trust_score** | **Float** | Carrier-assigned brand trust score; drives throughput. | [optional] |
|
|
@@ -33,6 +34,7 @@ instance = Zernio::ListSmsRegistrations200ResponseRegistrationsInner.new(
|
|
|
33
34
|
brand_id: null,
|
|
34
35
|
campaign_id: null,
|
|
35
36
|
decline_reason: null,
|
|
37
|
+
tf_action_required_at: null,
|
|
36
38
|
phone_numbers: null,
|
|
37
39
|
awaiting_otp: null,
|
|
38
40
|
trust_score: null,
|
|
@@ -37,6 +37,9 @@ module Zernio
|
|
|
37
37
|
|
|
38
38
|
attr_accessor :decline_reason
|
|
39
39
|
|
|
40
|
+
# Toll-free only: when the carrier requested changes (\"Waiting For Customer\"). The request must be resubmitted within 7 days of this timestamp or it expires.
|
|
41
|
+
attr_accessor :tf_action_required_at
|
|
42
|
+
|
|
40
43
|
attr_accessor :phone_numbers
|
|
41
44
|
|
|
42
45
|
# Sole-prop 10DLC only; the OTP step is still pending.
|
|
@@ -81,6 +84,7 @@ module Zernio
|
|
|
81
84
|
:'brand_id' => :'brandId',
|
|
82
85
|
:'campaign_id' => :'campaignId',
|
|
83
86
|
:'decline_reason' => :'declineReason',
|
|
87
|
+
:'tf_action_required_at' => :'tfActionRequiredAt',
|
|
84
88
|
:'phone_numbers' => :'phoneNumbers',
|
|
85
89
|
:'awaiting_otp' => :'awaitingOtp',
|
|
86
90
|
:'trust_score' => :'trustScore',
|
|
@@ -110,6 +114,7 @@ module Zernio
|
|
|
110
114
|
:'brand_id' => :'String',
|
|
111
115
|
:'campaign_id' => :'String',
|
|
112
116
|
:'decline_reason' => :'String',
|
|
117
|
+
:'tf_action_required_at' => :'Time',
|
|
113
118
|
:'phone_numbers' => :'Array<String>',
|
|
114
119
|
:'awaiting_otp' => :'Boolean',
|
|
115
120
|
:'trust_score' => :'Float',
|
|
@@ -124,6 +129,7 @@ module Zernio
|
|
|
124
129
|
:'brand_id',
|
|
125
130
|
:'campaign_id',
|
|
126
131
|
:'decline_reason',
|
|
132
|
+
:'tf_action_required_at',
|
|
127
133
|
:'trust_score',
|
|
128
134
|
])
|
|
129
135
|
end
|
|
@@ -180,6 +186,10 @@ module Zernio
|
|
|
180
186
|
self.decline_reason = attributes[:'decline_reason']
|
|
181
187
|
end
|
|
182
188
|
|
|
189
|
+
if attributes.key?(:'tf_action_required_at')
|
|
190
|
+
self.tf_action_required_at = attributes[:'tf_action_required_at']
|
|
191
|
+
end
|
|
192
|
+
|
|
183
193
|
if attributes.key?(:'phone_numbers')
|
|
184
194
|
if (value = attributes[:'phone_numbers']).is_a?(Array)
|
|
185
195
|
self.phone_numbers = value
|
|
@@ -252,6 +262,7 @@ module Zernio
|
|
|
252
262
|
brand_id == o.brand_id &&
|
|
253
263
|
campaign_id == o.campaign_id &&
|
|
254
264
|
decline_reason == o.decline_reason &&
|
|
265
|
+
tf_action_required_at == o.tf_action_required_at &&
|
|
255
266
|
phone_numbers == o.phone_numbers &&
|
|
256
267
|
awaiting_otp == o.awaiting_otp &&
|
|
257
268
|
trust_score == o.trust_score &&
|
|
@@ -267,7 +278,7 @@ module Zernio
|
|
|
267
278
|
# Calculates hash code according to all attributes.
|
|
268
279
|
# @return [Integer] Hash code
|
|
269
280
|
def hash
|
|
270
|
-
[id, registration_type, display_name, status, brand_status, campaign_status, brand_id, campaign_id, decline_reason, phone_numbers, awaiting_otp, trust_score, throughput].hash
|
|
281
|
+
[id, registration_type, display_name, status, brand_status, campaign_status, brand_id, campaign_id, decline_reason, tf_action_required_at, phone_numbers, awaiting_otp, trust_score, throughput].hash
|
|
271
282
|
end
|
|
272
283
|
|
|
273
284
|
# Builds the object from hash
|
data/lib/zernio-sdk/version.rb
CHANGED
data/openapi.yaml
CHANGED
|
@@ -492,6 +492,22 @@ components:
|
|
|
492
492
|
error:
|
|
493
493
|
type: string
|
|
494
494
|
example: Not found
|
|
495
|
+
RateLimited:
|
|
496
|
+
description: |
|
|
497
|
+
The connected account's upstream platform quota is exhausted.
|
|
498
|
+
|
|
499
|
+
Reddit rate-limits per connected Reddit user (1000 requests per
|
|
500
|
+
10-minute window), and that budget is shared by every operation using
|
|
501
|
+
that account. Retry after the window resets rather than retrying
|
|
502
|
+
immediately; repeated calls while exhausted do not succeed and keep the
|
|
503
|
+
budget spent.
|
|
504
|
+
headers:
|
|
505
|
+
Retry-After:
|
|
506
|
+
description: 'Seconds remaining until the upstream quota resets.'
|
|
507
|
+
schema: { type: integer }
|
|
508
|
+
content:
|
|
509
|
+
application/json:
|
|
510
|
+
schema: { $ref: '#/components/schemas/ErrorResponse' }
|
|
495
511
|
PaymentRequired:
|
|
496
512
|
description: |
|
|
497
513
|
Payment method or enterprise contract required. The authenticated
|
|
@@ -11276,9 +11292,18 @@ paths:
|
|
|
11276
11292
|
isGallery: false
|
|
11277
11293
|
after: "t3_1abc234"
|
|
11278
11294
|
before: null
|
|
11279
|
-
'400': {
|
|
11295
|
+
'400': { $ref: '#/components/responses/BadRequest' }
|
|
11280
11296
|
'401': { $ref: '#/components/responses/Unauthorized' }
|
|
11281
|
-
'404':
|
|
11297
|
+
'404':
|
|
11298
|
+
description: |
|
|
11299
|
+
No active Reddit account with this ID is available to the API key.
|
|
11300
|
+
It may have been disconnected or deleted, or it belongs to a profile
|
|
11301
|
+
the key cannot access. Re-connecting an account issues a NEW account
|
|
11302
|
+
ID, so an ID stored from before a reconnect will not resolve.
|
|
11303
|
+
content:
|
|
11304
|
+
application/json:
|
|
11305
|
+
schema: { $ref: '#/components/schemas/ErrorResponse' }
|
|
11306
|
+
'429': { $ref: '#/components/responses/RateLimited' }
|
|
11282
11307
|
/v1/reddit/feed:
|
|
11283
11308
|
get:
|
|
11284
11309
|
operationId: getRedditFeed
|
|
@@ -11354,9 +11379,18 @@ paths:
|
|
|
11354
11379
|
- "https://i.redd.it/def456.jpg"
|
|
11355
11380
|
after: "t3_1def456"
|
|
11356
11381
|
before: null
|
|
11357
|
-
'400': {
|
|
11382
|
+
'400': { $ref: '#/components/responses/BadRequest' }
|
|
11358
11383
|
'401': { $ref: '#/components/responses/Unauthorized' }
|
|
11359
|
-
'404':
|
|
11384
|
+
'404':
|
|
11385
|
+
description: |
|
|
11386
|
+
No active Reddit account with this ID is available to the API key.
|
|
11387
|
+
It may have been disconnected or deleted, or it belongs to a profile
|
|
11388
|
+
the key cannot access. Re-connecting an account issues a NEW account
|
|
11389
|
+
ID, so an ID stored from before a reconnect will not resolve.
|
|
11390
|
+
content:
|
|
11391
|
+
application/json:
|
|
11392
|
+
schema: { $ref: '#/components/schemas/ErrorResponse' }
|
|
11393
|
+
'429': { $ref: '#/components/responses/RateLimited' }
|
|
11360
11394
|
/v1/billing:
|
|
11361
11395
|
get:
|
|
11362
11396
|
operationId: getBilling
|
|
@@ -26101,6 +26135,7 @@ paths:
|
|
|
26101
26135
|
brandId: { type: [string, "null"], description: "TCR brand id, useful when referencing the brand in carrier support threads." }
|
|
26102
26136
|
campaignId: { type: [string, "null"], description: TCR campaign id. }
|
|
26103
26137
|
declineReason: { type: [string, "null"] }
|
|
26138
|
+
tfActionRequiredAt: { type: [string, "null"], format: date-time, description: 'Toll-free only: when the carrier requested changes ("Waiting For Customer"). The request must be resubmitted within 7 days of this timestamp or it expires.' }
|
|
26104
26139
|
phoneNumbers: { type: array, items: { type: string } }
|
|
26105
26140
|
awaitingOtp: { type: boolean, description: Sole-prop 10DLC only; the OTP step is still pending. }
|
|
26106
26141
|
trustScore: { type: [number, "null"], description: Carrier-assigned brand trust score; drives throughput. }
|
|
@@ -89,6 +89,12 @@ describe Zernio::ListSmsRegistrations200ResponseRegistrationsInner do
|
|
|
89
89
|
end
|
|
90
90
|
end
|
|
91
91
|
|
|
92
|
+
describe 'test attribute "tf_action_required_at"' do
|
|
93
|
+
it 'should work' do
|
|
94
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
95
|
+
end
|
|
96
|
+
end
|
|
97
|
+
|
|
92
98
|
describe 'test attribute "phone_numbers"' do
|
|
93
99
|
it 'should work' do
|
|
94
100
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|