late-sdk 0.0.593 → 0.0.594
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/SMSApi.md +1 -1
- data/docs/StartSmsRegistrationRequest.md +1 -1
- data/lib/zernio-sdk/models/start_sms_registration_request.rb +1 -27
- data/lib/zernio-sdk/version.rb +1 -1
- data/openapi.yaml +2 -3
- data/zernio-sdk-0.0.594.gem +0 -0
- metadata +2 -2
- data/zernio-sdk-0.0.593.gem +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9b6d29cb6481376fe466055959480dee37b57af740afc92f4fac7f6ef3c7a734
|
|
4
|
+
data.tar.gz: 014db9a25ad80a0a12ebda7b6226a95c2299a640c5ce8e449657d68ed2fb4b32
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7cf5f8449ae0177f092037f17ca22cf7f8a7308e934170dc4209b289dd74039d97d4f7c29d43f470d35f7205964fffa71496b980095f2538ed2bb5345a1684fb
|
|
7
|
+
data.tar.gz: c322127f472cd6e6f113e3777be008ae427eecb88d7460a45d3bfe43e994168584dafe64b69e358621578fa05eedce3860af9dd2d854d6f86c44df121fd7ed71
|
data/docs/SMSApi.md
CHANGED
|
@@ -1297,7 +1297,7 @@ Zernio.configure do |config|
|
|
|
1297
1297
|
end
|
|
1298
1298
|
|
|
1299
1299
|
api_instance = Zernio::SMSApi.new
|
|
1300
|
-
start_sms_registration_request = Zernio::StartSmsRegistrationRequest.new({registration_type: 'standard_10dlc'
|
|
1300
|
+
start_sms_registration_request = Zernio::StartSmsRegistrationRequest.new({registration_type: 'standard_10dlc'}) # StartSmsRegistrationRequest |
|
|
1301
1301
|
|
|
1302
1302
|
begin
|
|
1303
1303
|
# Start a carrier registration
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
7
|
| **registration_type** | **String** | | |
|
|
8
|
-
| **phone_numbers** | **Array<String>** | Your numbers this registration covers. |
|
|
8
|
+
| **phone_numbers** | **Array<String>** | Your numbers this registration covers. When omitted or empty on a 10DLC registration, defaults to your active SMS-enabled US local numbers not already covered by another registration. | [optional] |
|
|
9
9
|
| **brand** | [**StartSmsRegistrationRequestBrand**](StartSmsRegistrationRequestBrand.md) | | [optional] |
|
|
10
10
|
| **campaign** | [**StartSmsRegistrationRequestCampaign**](StartSmsRegistrationRequestCampaign.md) | | [optional] |
|
|
11
11
|
| **messaging_brand_name** | **String** | DBA / trade name used to brand message content (samples and auto-replies) when it differs from the legal name, e.g. a sole proprietor texting under a business name. The legal `brand.displayName` is still what the carrier vets. | [optional] |
|
|
@@ -17,7 +17,7 @@ module Zernio
|
|
|
17
17
|
class StartSmsRegistrationRequest < ApiModelBase
|
|
18
18
|
attr_accessor :registration_type
|
|
19
19
|
|
|
20
|
-
# Your numbers this registration covers.
|
|
20
|
+
# Your numbers this registration covers. When omitted or empty on a 10DLC registration, defaults to your active SMS-enabled US local numbers not already covered by another registration.
|
|
21
21
|
attr_accessor :phone_numbers
|
|
22
22
|
|
|
23
23
|
attr_accessor :brand
|
|
@@ -127,8 +127,6 @@ module Zernio
|
|
|
127
127
|
if (value = attributes[:'phone_numbers']).is_a?(Array)
|
|
128
128
|
self.phone_numbers = value
|
|
129
129
|
end
|
|
130
|
-
else
|
|
131
|
-
self.phone_numbers = nil
|
|
132
130
|
end
|
|
133
131
|
|
|
134
132
|
if attributes.key?(:'brand')
|
|
@@ -167,14 +165,6 @@ module Zernio
|
|
|
167
165
|
invalid_properties.push('invalid value for "registration_type", registration_type cannot be nil.')
|
|
168
166
|
end
|
|
169
167
|
|
|
170
|
-
if @phone_numbers.nil?
|
|
171
|
-
invalid_properties.push('invalid value for "phone_numbers", phone_numbers cannot be nil.')
|
|
172
|
-
end
|
|
173
|
-
|
|
174
|
-
if @phone_numbers.length < 1
|
|
175
|
-
invalid_properties.push('invalid value for "phone_numbers", number of items must be greater than or equal to 1.')
|
|
176
|
-
end
|
|
177
|
-
|
|
178
168
|
if !@messaging_brand_name.nil? && @messaging_brand_name.to_s.length > 60
|
|
179
169
|
invalid_properties.push('invalid value for "messaging_brand_name", the character length must be smaller than or equal to 60.')
|
|
180
170
|
end
|
|
@@ -193,8 +183,6 @@ module Zernio
|
|
|
193
183
|
return false if @registration_type.nil?
|
|
194
184
|
registration_type_validator = EnumAttributeValidator.new('String', ["standard_10dlc", "sole_prop_10dlc", "toll_free"])
|
|
195
185
|
return false unless registration_type_validator.valid?(@registration_type)
|
|
196
|
-
return false if @phone_numbers.nil?
|
|
197
|
-
return false if @phone_numbers.length < 1
|
|
198
186
|
return false if !@messaging_brand_name.nil? && @messaging_brand_name.to_s.length > 60
|
|
199
187
|
return false if !@messaging_brand_name.nil? && @messaging_brand_name.to_s.length < 2
|
|
200
188
|
true
|
|
@@ -210,20 +198,6 @@ module Zernio
|
|
|
210
198
|
@registration_type = registration_type
|
|
211
199
|
end
|
|
212
200
|
|
|
213
|
-
# Custom attribute writer method with validation
|
|
214
|
-
# @param [Object] phone_numbers Value to be assigned
|
|
215
|
-
def phone_numbers=(phone_numbers)
|
|
216
|
-
if phone_numbers.nil?
|
|
217
|
-
fail ArgumentError, 'phone_numbers cannot be nil'
|
|
218
|
-
end
|
|
219
|
-
|
|
220
|
-
if phone_numbers.length < 1
|
|
221
|
-
fail ArgumentError, 'invalid value for "phone_numbers", number of items must be greater than or equal to 1.'
|
|
222
|
-
end
|
|
223
|
-
|
|
224
|
-
@phone_numbers = phone_numbers
|
|
225
|
-
end
|
|
226
|
-
|
|
227
201
|
# Custom attribute writer method with validation
|
|
228
202
|
# @param [Object] messaging_brand_name Value to be assigned
|
|
229
203
|
def messaging_brand_name=(messaging_brand_name)
|
data/lib/zernio-sdk/version.rb
CHANGED
data/openapi.yaml
CHANGED
|
@@ -26585,14 +26585,13 @@ paths:
|
|
|
26585
26585
|
application/json:
|
|
26586
26586
|
schema:
|
|
26587
26587
|
type: object
|
|
26588
|
-
required: [registrationType
|
|
26588
|
+
required: [registrationType]
|
|
26589
26589
|
properties:
|
|
26590
26590
|
registrationType: { type: string, enum: [standard_10dlc, sole_prop_10dlc, toll_free] }
|
|
26591
26591
|
phoneNumbers:
|
|
26592
26592
|
type: array
|
|
26593
|
-
minItems: 1
|
|
26594
26593
|
items: { type: string }
|
|
26595
|
-
description: Your numbers this registration covers.
|
|
26594
|
+
description: 'Your numbers this registration covers. When omitted or empty on a 10DLC registration, defaults to your active SMS-enabled US local numbers not already covered by another registration.'
|
|
26596
26595
|
brand:
|
|
26597
26596
|
type: object
|
|
26598
26597
|
description: Required for 10DLC. The legal entity behind the traffic (TCR brand).
|
|
Binary file
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: late-sdk
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.594
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- OpenAPI-Generator
|
|
@@ -4823,7 +4823,7 @@ files:
|
|
|
4823
4823
|
- spec/models/you_tube_video_retention_response_retention_curve_inner_spec.rb
|
|
4824
4824
|
- spec/models/you_tube_video_retention_response_spec.rb
|
|
4825
4825
|
- spec/spec_helper.rb
|
|
4826
|
-
- zernio-sdk-0.0.
|
|
4826
|
+
- zernio-sdk-0.0.594.gem
|
|
4827
4827
|
- zernio-sdk.gemspec
|
|
4828
4828
|
homepage: https://openapi-generator.tech
|
|
4829
4829
|
licenses:
|
data/zernio-sdk-0.0.593.gem
DELETED
|
Binary file
|