late-sdk 0.0.588 → 0.0.590

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.
Files changed (35) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +8 -0
  3. data/docs/CreateStandaloneAdRequest.md +1 -1
  4. data/docs/PreflightSmsRegistration200Response.md +24 -0
  5. data/docs/PreflightSmsRegistration200ResponseAdvisoriesInner.md +24 -0
  6. data/docs/PreflightSmsRegistration200ResponseComposed.md +20 -0
  7. data/docs/PreflightSmsRegistrationRequest.md +26 -0
  8. data/docs/RespondToSmsRegistrationReview200Response.md +18 -0
  9. data/docs/RespondToSmsRegistrationReviewRequest.md +20 -0
  10. data/docs/SMSApi.md +142 -0
  11. data/docs/StartSmsRegistrationRequest.md +2 -0
  12. data/lib/zernio-sdk/api/sms_api.rb +142 -0
  13. data/lib/zernio-sdk/models/create_standalone_ad_request.rb +1 -1
  14. data/lib/zernio-sdk/models/create_standalone_ad_request_promoted_object.rb +1 -1
  15. data/lib/zernio-sdk/models/preflight_sms_registration200_response.rb +211 -0
  16. data/lib/zernio-sdk/models/preflight_sms_registration200_response_advisories_inner.rb +212 -0
  17. data/lib/zernio-sdk/models/preflight_sms_registration200_response_composed.rb +157 -0
  18. data/lib/zernio-sdk/models/preflight_sms_registration_request.rb +290 -0
  19. data/lib/zernio-sdk/models/respond_to_sms_registration_review200_response.rb +181 -0
  20. data/lib/zernio-sdk/models/respond_to_sms_registration_review_request.rb +198 -0
  21. data/lib/zernio-sdk/models/start_sms_registration_request.rb +39 -1
  22. data/lib/zernio-sdk/version.rb +1 -1
  23. data/lib/zernio-sdk.rb +6 -0
  24. data/openapi.yaml +106 -3
  25. data/spec/api/sms_api_spec.rb +25 -0
  26. data/spec/models/preflight_sms_registration200_response_advisories_inner_spec.rb +58 -0
  27. data/spec/models/preflight_sms_registration200_response_composed_spec.rb +42 -0
  28. data/spec/models/preflight_sms_registration200_response_spec.rb +58 -0
  29. data/spec/models/preflight_sms_registration_request_spec.rb +64 -0
  30. data/spec/models/respond_to_sms_registration_review200_response_spec.rb +40 -0
  31. data/spec/models/respond_to_sms_registration_review_request_spec.rb +42 -0
  32. data/spec/models/start_sms_registration_request_spec.rb +6 -0
  33. data/zernio-sdk-0.0.590.gem +0 -0
  34. metadata +26 -2
  35. data/zernio-sdk-0.0.588.gem +0 -0
@@ -24,6 +24,9 @@ module Zernio
24
24
 
25
25
  attr_accessor :campaign
26
26
 
27
+ # 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.
28
+ attr_accessor :messaging_brand_name
29
+
27
30
  # Raw dashboard-wizard answers, stored only to prefill edit-and-resubmit. API integrators can omit.
28
31
  attr_accessor :wizard_values
29
32
 
@@ -61,6 +64,7 @@ module Zernio
61
64
  :'phone_numbers' => :'phoneNumbers',
62
65
  :'brand' => :'brand',
63
66
  :'campaign' => :'campaign',
67
+ :'messaging_brand_name' => :'messagingBrandName',
64
68
  :'wizard_values' => :'wizardValues',
65
69
  :'resubmit_request_id' => :'resubmitRequestId',
66
70
  :'toll_free' => :'tollFree'
@@ -84,6 +88,7 @@ module Zernio
84
88
  :'phone_numbers' => :'Array<String>',
85
89
  :'brand' => :'StartSmsRegistrationRequestBrand',
86
90
  :'campaign' => :'StartSmsRegistrationRequestCampaign',
91
+ :'messaging_brand_name' => :'String',
87
92
  :'wizard_values' => :'Hash<String, String>',
88
93
  :'resubmit_request_id' => :'String',
89
94
  :'toll_free' => :'StartSmsRegistrationRequestTollFree'
@@ -134,6 +139,10 @@ module Zernio
134
139
  self.campaign = attributes[:'campaign']
135
140
  end
136
141
 
142
+ if attributes.key?(:'messaging_brand_name')
143
+ self.messaging_brand_name = attributes[:'messaging_brand_name']
144
+ end
145
+
137
146
  if attributes.key?(:'wizard_values')
138
147
  if (value = attributes[:'wizard_values']).is_a?(Hash)
139
148
  self.wizard_values = value
@@ -166,6 +175,14 @@ module Zernio
166
175
  invalid_properties.push('invalid value for "phone_numbers", number of items must be greater than or equal to 1.')
167
176
  end
168
177
 
178
+ if !@messaging_brand_name.nil? && @messaging_brand_name.to_s.length > 60
179
+ invalid_properties.push('invalid value for "messaging_brand_name", the character length must be smaller than or equal to 60.')
180
+ end
181
+
182
+ if !@messaging_brand_name.nil? && @messaging_brand_name.to_s.length < 2
183
+ invalid_properties.push('invalid value for "messaging_brand_name", the character length must be greater than or equal to 2.')
184
+ end
185
+
169
186
  invalid_properties
170
187
  end
171
188
 
@@ -178,6 +195,8 @@ module Zernio
178
195
  return false unless registration_type_validator.valid?(@registration_type)
179
196
  return false if @phone_numbers.nil?
180
197
  return false if @phone_numbers.length < 1
198
+ return false if !@messaging_brand_name.nil? && @messaging_brand_name.to_s.length > 60
199
+ return false if !@messaging_brand_name.nil? && @messaging_brand_name.to_s.length < 2
181
200
  true
182
201
  end
183
202
 
@@ -205,6 +224,24 @@ module Zernio
205
224
  @phone_numbers = phone_numbers
206
225
  end
207
226
 
227
+ # Custom attribute writer method with validation
228
+ # @param [Object] messaging_brand_name Value to be assigned
229
+ def messaging_brand_name=(messaging_brand_name)
230
+ if messaging_brand_name.nil?
231
+ fail ArgumentError, 'messaging_brand_name cannot be nil'
232
+ end
233
+
234
+ if messaging_brand_name.to_s.length > 60
235
+ fail ArgumentError, 'invalid value for "messaging_brand_name", the character length must be smaller than or equal to 60.'
236
+ end
237
+
238
+ if messaging_brand_name.to_s.length < 2
239
+ fail ArgumentError, 'invalid value for "messaging_brand_name", the character length must be greater than or equal to 2.'
240
+ end
241
+
242
+ @messaging_brand_name = messaging_brand_name
243
+ end
244
+
208
245
  # Checks equality by comparing each attribute.
209
246
  # @param [Object] Object to be compared
210
247
  def ==(o)
@@ -214,6 +251,7 @@ module Zernio
214
251
  phone_numbers == o.phone_numbers &&
215
252
  brand == o.brand &&
216
253
  campaign == o.campaign &&
254
+ messaging_brand_name == o.messaging_brand_name &&
217
255
  wizard_values == o.wizard_values &&
218
256
  resubmit_request_id == o.resubmit_request_id &&
219
257
  toll_free == o.toll_free
@@ -228,7 +266,7 @@ module Zernio
228
266
  # Calculates hash code according to all attributes.
229
267
  # @return [Integer] Hash code
230
268
  def hash
231
- [registration_type, phone_numbers, brand, campaign, wizard_values, resubmit_request_id, toll_free].hash
269
+ [registration_type, phone_numbers, brand, campaign, messaging_brand_name, wizard_values, resubmit_request_id, toll_free].hash
232
270
  end
233
271
 
234
272
  # Builds the object from hash
@@ -11,5 +11,5 @@ Generator version: 7.19.0
11
11
  =end
12
12
 
13
13
  module Zernio
14
- VERSION = '0.0.588'
14
+ VERSION = '0.0.590'
15
15
  end
data/lib/zernio-sdk.rb CHANGED
@@ -988,6 +988,10 @@ require 'zernio-sdk/models/post_retry_response'
988
988
  require 'zernio-sdk/models/post_update_response'
989
989
  require 'zernio-sdk/models/post_user_id'
990
990
  require 'zernio-sdk/models/posts_list_response'
991
+ require 'zernio-sdk/models/preflight_sms_registration200_response'
992
+ require 'zernio-sdk/models/preflight_sms_registration200_response_advisories_inner'
993
+ require 'zernio-sdk/models/preflight_sms_registration200_response_composed'
994
+ require 'zernio-sdk/models/preflight_sms_registration_request'
991
995
  require 'zernio-sdk/models/profile'
992
996
  require 'zernio-sdk/models/profile_create_response'
993
997
  require 'zernio-sdk/models/profile_delete_response'
@@ -1048,6 +1052,8 @@ require 'zernio-sdk/models/reserve_rf_prediction_request'
1048
1052
  require 'zernio-sdk/models/respond_to_phone_number_reviewer200_response'
1049
1053
  require 'zernio-sdk/models/respond_to_phone_number_reviewer_request'
1050
1054
  require 'zernio-sdk/models/respond_to_phone_number_reviewer_request_documents_inner'
1055
+ require 'zernio-sdk/models/respond_to_sms_registration_review200_response'
1056
+ require 'zernio-sdk/models/respond_to_sms_registration_review_request'
1051
1057
  require 'zernio-sdk/models/restore_workflow_version200_response'
1052
1058
  require 'zernio-sdk/models/restore_workflow_version200_response_workflow'
1053
1059
  require 'zernio-sdk/models/retweet_post200_response'
data/openapi.yaml CHANGED
@@ -26619,6 +26619,11 @@ paths:
26619
26619
  directLending: { type: boolean }
26620
26620
  privacyPolicyLink: { type: string, description: "Link to your privacy policy. Recommended: reviewers check that it says mobile information is not sold or shared with third parties for promotional purposes. A bare domain is normalized to https://." }
26621
26621
  termsAndConditionsLink: { type: string, description: "Link to your terms & conditions. A bare domain is normalized to https://." }
26622
+ messagingBrandName:
26623
+ type: string
26624
+ minLength: 2
26625
+ maxLength: 60
26626
+ description: '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.'
26622
26627
  wizardValues:
26623
26628
  type: object
26624
26629
  additionalProperties: { type: string }
@@ -26717,6 +26722,60 @@ paths:
26717
26722
  '400': { $ref: '#/components/responses/BadRequest' }
26718
26723
  '401': { $ref: '#/components/responses/Unauthorized' }
26719
26724
 
26725
+ /v1/sms/registrations/preflight:
26726
+ post:
26727
+ operationId: preflightSmsRegistration
26728
+ tags: [SMS]
26729
+ summary: Pre-check a carrier registration
26730
+ description: |
26731
+ Dry-run of `POST /v1/sms/registrations` for 10DLC: validates and
26732
+ composes the exact brand/campaign payloads a submission would store
26733
+ (branding, disclosures, auto-replies), runs deterministic compliance
26734
+ lints plus an AI reviewer over them, and returns the findings WITHOUT
26735
+ creating anything. Use it to fix issues before submitting; `block`
26736
+ severity findings indicate a near-certain carrier rejection.
26737
+ security:
26738
+ - bearerAuth: []
26739
+ requestBody:
26740
+ required: true
26741
+ content:
26742
+ application/json:
26743
+ schema:
26744
+ type: object
26745
+ required: [registrationType, brand, campaign]
26746
+ properties:
26747
+ registrationType: { type: string, enum: [standard_10dlc, sole_prop_10dlc] }
26748
+ phoneNumbers: { type: array, items: { type: string } }
26749
+ brand: { type: object, description: 'Same shape as the registration `brand`.' }
26750
+ campaign: { type: object, description: 'Same shape as the registration `campaign`.' }
26751
+ messagingBrandName: { type: string, minLength: 2, maxLength: 60 }
26752
+ responses:
26753
+ '200':
26754
+ description: Composed payloads + findings.
26755
+ content:
26756
+ application/json:
26757
+ schema:
26758
+ type: object
26759
+ properties:
26760
+ composed:
26761
+ type: object
26762
+ description: 'The exact payloads a submission would store (post-branding, disclosures appended, auto-replies generated).'
26763
+ properties:
26764
+ brand: { type: object }
26765
+ campaign: { type: object }
26766
+ advisories:
26767
+ type: array
26768
+ items:
26769
+ type: object
26770
+ properties:
26771
+ field: { type: [string, "null"], description: 'The payload field the finding is about, when attributable.' }
26772
+ code: { type: [string, "null"], description: 'Stable rule id for deterministic findings; absent on AI findings.' }
26773
+ concern: { type: string }
26774
+ severity: { type: string, enum: [block, warn] }
26775
+ verdict: { type: string, enum: [pass, warn, fail, unreviewed] }
26776
+ aiUnavailable: { type: boolean, description: 'True when the AI portion of the check could not run; advisories then contain only deterministic findings.' }
26777
+ '400': { $ref: '#/components/responses/BadRequest' }
26778
+ '401': { $ref: '#/components/responses/Unauthorized' }
26720
26779
  /v1/sms/registrations/{id}:
26721
26780
  delete:
26722
26781
  operationId: deactivateSmsRegistration
@@ -26894,6 +26953,50 @@ paths:
26894
26953
  '401': { $ref: '#/components/responses/Unauthorized' }
26895
26954
  '404': { description: Registration not found }
26896
26955
 
26956
+ /v1/sms/registrations/{id}/respond:
26957
+ post:
26958
+ operationId: respondToSmsRegistrationReview
26959
+ tags: [SMS]
26960
+ summary: Reply to a change request
26961
+ description: |
26962
+ Replies to a reviewer change request on a registration in
26963
+ `changes_requested` state: a note, hosted document URLs (from
26964
+ `POST /v1/sms/opt-in-proof`), or both, sent together. The registration
26965
+ returns to `requested` (back in review) — no need to resubmit the
26966
+ whole registration. To change the submitted brand/campaign fields
26967
+ themselves, resubmit via `POST /v1/sms/registrations` with
26968
+ `resubmitRequestId` instead.
26969
+ security:
26970
+ - bearerAuth: []
26971
+ parameters:
26972
+ - { name: id, in: path, required: true, schema: { type: string } }
26973
+ requestBody:
26974
+ required: true
26975
+ content:
26976
+ application/json:
26977
+ schema:
26978
+ type: object
26979
+ properties:
26980
+ note: { type: string, maxLength: 2000, description: 'Answer for the reviewer. Required when no files are sent.' }
26981
+ files:
26982
+ type: array
26983
+ maxItems: 5
26984
+ items: { type: string }
26985
+ description: 'Hosted document URLs returned by POST /v1/sms/opt-in-proof.'
26986
+ responses:
26987
+ '200':
26988
+ description: Reply recorded; the registration is back in review.
26989
+ content:
26990
+ application/json:
26991
+ schema:
26992
+ type: object
26993
+ properties:
26994
+ status: { type: string, enum: [requested] }
26995
+ '400': { $ref: '#/components/responses/BadRequest' }
26996
+ '401': { $ref: '#/components/responses/Unauthorized' }
26997
+ '404': { description: Registration not found }
26998
+ '409': { description: Registration is not waiting on changes }
26999
+
26897
27000
  /v1/sms/opt-in-proof:
26898
27001
  post:
26899
27002
  operationId: uploadSmsOptInProofFile
@@ -36567,8 +36670,8 @@ paths:
36567
36670
  Required on legacy and multi-creative shapes; the attach shape inherits it from the ad set. Available goals vary by platform.
36568
36671
 
36569
36672
  **Meta**
36570
- - `conversions`: OUTCOME_SALES. Requires `promotedObject.pixelId` and `promotedObject.customEventType` with a commerce event such as PURCHASE or START_TRIAL.
36571
- - `lead_conversion`: OUTCOME_LEADS optimizing website pixel leads. Same pixel and event fields, but with a leads-class event such as LEAD, SUBMIT_APPLICATION, SCHEDULE or CONTACT. Meta gates conversion events by objective, so leads-class events are rejected under `conversions`.
36673
+ - `conversions`: OUTCOME_SALES. Requires `promotedObject.pixelId` and `promotedObject.customEventType` with a commerce event such as PURCHASE or START_TRIAL, or `promotedObject.customConversionId` to optimise against a Custom Conversion instead.
36674
+ - `lead_conversion`: OUTCOME_LEADS optimizing website pixel leads. Same pixel and event fields, but with a leads-class event such as LEAD, SUBMIT_APPLICATION, SCHEDULE or CONTACT (or `promotedObject.customConversionId` to optimise against a Custom Conversion instead). Meta gates conversion events by objective, so leads-class events are rejected under `conversions`.
36572
36675
  - `lead_generation`: OUTCOME_LEADS with instant forms. Requires `leadGenFormId`. `promotedObject.pageId` is optional and auto-filled from the connected Page.
36573
36676
  - `app_promotion`: requires `promotedObject.applicationId` and `promotedObject.objectStoreUrl`.
36574
36677
  - `catalog_sales`: Advantage+ catalog ads, for example vehicle inventory. Requires `promotedObject.productSetId`, `promotedObject.pixelId` and `promotedObject.customEventType`. Builds a catalog TEMPLATE creative from the copy fields, which may carry template tags like {{product.name}} or {{vehicle.make}}. No imageUrl or video is sent; Meta renders the visuals per catalog item. Discover catalogs via GET /v1/ads/catalogs and product sets via GET /v1/ads/catalogs/{catalogId}/product-sets. Single shape only, no creatives[], adSetId, dynamicCreative or placementAssets.
@@ -37169,7 +37272,7 @@ paths:
37169
37272
  Required for goals whose ad-set optimization_goal points at a specific
37170
37273
  event/page/app (without it Meta rejects the ad-set create with
37171
37274
  `error_subcode: 1815430` "Please select a promoted object for your ad set"):
37172
- - `goal: conversions` (OFFSITE_CONVERSIONS): requires `pixelId` + `customEventType`
37275
+ - `goal: conversions` / `lead_conversion` (OFFSITE_CONVERSIONS): requires `pixelId` + `customEventType`, or `customConversionId` when optimising against a Custom Conversion (the conversion carries its own event definition)
37173
37276
  - `goal: app_promotion` (APP_INSTALLS): requires `applicationId` + `objectStoreUrl`
37174
37277
  - `goal: lead_generation` (LEAD_GENERATION): `pageId` is auto-filled from the connected Page when omitted
37175
37278
 
@@ -163,6 +163,18 @@ describe 'SMSApi' do
163
163
  end
164
164
  end
165
165
 
166
+ # unit tests for preflight_sms_registration
167
+ # Pre-check a carrier registration
168
+ # Dry-run of &#x60;POST /v1/sms/registrations&#x60; for 10DLC: validates and composes the exact brand/campaign payloads a submission would store (branding, disclosures, auto-replies), runs deterministic compliance lints plus an AI reviewer over them, and returns the findings WITHOUT creating anything. Use it to fix issues before submitting; &#x60;block&#x60; severity findings indicate a near-certain carrier rejection.
169
+ # @param preflight_sms_registration_request
170
+ # @param [Hash] opts the optional parameters
171
+ # @return [PreflightSmsRegistration200Response]
172
+ describe 'preflight_sms_registration test' do
173
+ it 'should work' do
174
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
175
+ end
176
+ end
177
+
166
178
  # unit tests for request_sms_sender_id_limit_increase
167
179
  # Request a higher sender ID daily limit
168
180
  # Asks support to raise the workspace&#39;s daily sender-ID message cap. There is no self-serve raise: the request (desired cap + use case) is reviewed manually, usually within a business day.
@@ -187,6 +199,19 @@ describe 'SMSApi' do
187
199
  end
188
200
  end
189
201
 
202
+ # unit tests for respond_to_sms_registration_review
203
+ # Reply to a change request
204
+ # Replies to a reviewer change request on a registration in &#x60;changes_requested&#x60; state: a note, hosted document URLs (from &#x60;POST /v1/sms/opt-in-proof&#x60;), or both, sent together. The registration returns to &#x60;requested&#x60; (back in review) — no need to resubmit the whole registration. To change the submitted brand/campaign fields themselves, resubmit via &#x60;POST /v1/sms/registrations&#x60; with &#x60;resubmitRequestId&#x60; instead.
205
+ # @param id
206
+ # @param respond_to_sms_registration_review_request
207
+ # @param [Hash] opts the optional parameters
208
+ # @return [RespondToSmsRegistrationReview200Response]
209
+ describe 'respond_to_sms_registration_review test' do
210
+ it 'should work' do
211
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
212
+ end
213
+ end
214
+
190
215
  # unit tests for reuse_sms_registration_for_number
191
216
  # Add number to SMS registration
192
217
  # Attaches this number to your existing approved 10DLC campaign instead of running a fresh registration: the number inherits the campaign&#39;s approval (no new brand or campaign, no extra carrier fee). Enable SMS on the number first (&#x60;POST /v1/phone-numbers/{id}/sms&#x60;; its response tells you whether a reusable registration exists).
@@ -0,0 +1,58 @@
1
+ =begin
2
+ #Zernio API
3
+
4
+ #API reference for Zernio. Authenticate with a Bearer API key. Base URL: https://zernio.com/api
5
+
6
+ The version of the OpenAPI document: 1.0.4
7
+ Contact: support@zernio.com
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.19.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for Zernio::PreflightSmsRegistration200ResponseAdvisoriesInner
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe Zernio::PreflightSmsRegistration200ResponseAdvisoriesInner do
21
+ #let(:instance) { Zernio::PreflightSmsRegistration200ResponseAdvisoriesInner.new }
22
+
23
+ describe 'test an instance of PreflightSmsRegistration200ResponseAdvisoriesInner' do
24
+ it 'should create an instance of PreflightSmsRegistration200ResponseAdvisoriesInner' do
25
+ # uncomment below to test the instance creation
26
+ #expect(instance).to be_instance_of(Zernio::PreflightSmsRegistration200ResponseAdvisoriesInner)
27
+ end
28
+ end
29
+
30
+ describe 'test attribute "field"' do
31
+ it 'should work' do
32
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
33
+ end
34
+ end
35
+
36
+ describe 'test attribute "code"' do
37
+ it 'should work' do
38
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
39
+ end
40
+ end
41
+
42
+ describe 'test attribute "concern"' do
43
+ it 'should work' do
44
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
45
+ end
46
+ end
47
+
48
+ describe 'test attribute "severity"' do
49
+ it 'should work' do
50
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
51
+ # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["block", "warn"])
52
+ # validator.allowable_values.each do |value|
53
+ # expect { instance.severity = value }.not_to raise_error
54
+ # end
55
+ end
56
+ end
57
+
58
+ end
@@ -0,0 +1,42 @@
1
+ =begin
2
+ #Zernio API
3
+
4
+ #API reference for Zernio. Authenticate with a Bearer API key. Base URL: https://zernio.com/api
5
+
6
+ The version of the OpenAPI document: 1.0.4
7
+ Contact: support@zernio.com
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.19.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for Zernio::PreflightSmsRegistration200ResponseComposed
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe Zernio::PreflightSmsRegistration200ResponseComposed do
21
+ #let(:instance) { Zernio::PreflightSmsRegistration200ResponseComposed.new }
22
+
23
+ describe 'test an instance of PreflightSmsRegistration200ResponseComposed' do
24
+ it 'should create an instance of PreflightSmsRegistration200ResponseComposed' do
25
+ # uncomment below to test the instance creation
26
+ #expect(instance).to be_instance_of(Zernio::PreflightSmsRegistration200ResponseComposed)
27
+ end
28
+ end
29
+
30
+ describe 'test attribute "brand"' do
31
+ it 'should work' do
32
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
33
+ end
34
+ end
35
+
36
+ describe 'test attribute "campaign"' do
37
+ it 'should work' do
38
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
39
+ end
40
+ end
41
+
42
+ end
@@ -0,0 +1,58 @@
1
+ =begin
2
+ #Zernio API
3
+
4
+ #API reference for Zernio. Authenticate with a Bearer API key. Base URL: https://zernio.com/api
5
+
6
+ The version of the OpenAPI document: 1.0.4
7
+ Contact: support@zernio.com
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.19.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for Zernio::PreflightSmsRegistration200Response
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe Zernio::PreflightSmsRegistration200Response do
21
+ #let(:instance) { Zernio::PreflightSmsRegistration200Response.new }
22
+
23
+ describe 'test an instance of PreflightSmsRegistration200Response' do
24
+ it 'should create an instance of PreflightSmsRegistration200Response' do
25
+ # uncomment below to test the instance creation
26
+ #expect(instance).to be_instance_of(Zernio::PreflightSmsRegistration200Response)
27
+ end
28
+ end
29
+
30
+ describe 'test attribute "composed"' do
31
+ it 'should work' do
32
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
33
+ end
34
+ end
35
+
36
+ describe 'test attribute "advisories"' do
37
+ it 'should work' do
38
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
39
+ end
40
+ end
41
+
42
+ describe 'test attribute "verdict"' do
43
+ it 'should work' do
44
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
45
+ # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["pass", "warn", "fail", "unreviewed"])
46
+ # validator.allowable_values.each do |value|
47
+ # expect { instance.verdict = value }.not_to raise_error
48
+ # end
49
+ end
50
+ end
51
+
52
+ describe 'test attribute "ai_unavailable"' do
53
+ it 'should work' do
54
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
55
+ end
56
+ end
57
+
58
+ end
@@ -0,0 +1,64 @@
1
+ =begin
2
+ #Zernio API
3
+
4
+ #API reference for Zernio. Authenticate with a Bearer API key. Base URL: https://zernio.com/api
5
+
6
+ The version of the OpenAPI document: 1.0.4
7
+ Contact: support@zernio.com
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.19.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for Zernio::PreflightSmsRegistrationRequest
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe Zernio::PreflightSmsRegistrationRequest do
21
+ #let(:instance) { Zernio::PreflightSmsRegistrationRequest.new }
22
+
23
+ describe 'test an instance of PreflightSmsRegistrationRequest' do
24
+ it 'should create an instance of PreflightSmsRegistrationRequest' do
25
+ # uncomment below to test the instance creation
26
+ #expect(instance).to be_instance_of(Zernio::PreflightSmsRegistrationRequest)
27
+ end
28
+ end
29
+
30
+ describe 'test attribute "registration_type"' do
31
+ it 'should work' do
32
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
33
+ # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["standard_10dlc", "sole_prop_10dlc"])
34
+ # validator.allowable_values.each do |value|
35
+ # expect { instance.registration_type = value }.not_to raise_error
36
+ # end
37
+ end
38
+ end
39
+
40
+ describe 'test attribute "phone_numbers"' do
41
+ it 'should work' do
42
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
43
+ end
44
+ end
45
+
46
+ describe 'test attribute "brand"' do
47
+ it 'should work' do
48
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
49
+ end
50
+ end
51
+
52
+ describe 'test attribute "campaign"' do
53
+ it 'should work' do
54
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
55
+ end
56
+ end
57
+
58
+ describe 'test attribute "messaging_brand_name"' do
59
+ it 'should work' do
60
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
61
+ end
62
+ end
63
+
64
+ end
@@ -0,0 +1,40 @@
1
+ =begin
2
+ #Zernio API
3
+
4
+ #API reference for Zernio. Authenticate with a Bearer API key. Base URL: https://zernio.com/api
5
+
6
+ The version of the OpenAPI document: 1.0.4
7
+ Contact: support@zernio.com
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.19.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for Zernio::RespondToSmsRegistrationReview200Response
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe Zernio::RespondToSmsRegistrationReview200Response do
21
+ #let(:instance) { Zernio::RespondToSmsRegistrationReview200Response.new }
22
+
23
+ describe 'test an instance of RespondToSmsRegistrationReview200Response' do
24
+ it 'should create an instance of RespondToSmsRegistrationReview200Response' do
25
+ # uncomment below to test the instance creation
26
+ #expect(instance).to be_instance_of(Zernio::RespondToSmsRegistrationReview200Response)
27
+ end
28
+ end
29
+
30
+ describe 'test attribute "status"' do
31
+ it 'should work' do
32
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
33
+ # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["requested"])
34
+ # validator.allowable_values.each do |value|
35
+ # expect { instance.status = value }.not_to raise_error
36
+ # end
37
+ end
38
+ end
39
+
40
+ end
@@ -0,0 +1,42 @@
1
+ =begin
2
+ #Zernio API
3
+
4
+ #API reference for Zernio. Authenticate with a Bearer API key. Base URL: https://zernio.com/api
5
+
6
+ The version of the OpenAPI document: 1.0.4
7
+ Contact: support@zernio.com
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.19.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for Zernio::RespondToSmsRegistrationReviewRequest
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe Zernio::RespondToSmsRegistrationReviewRequest do
21
+ #let(:instance) { Zernio::RespondToSmsRegistrationReviewRequest.new }
22
+
23
+ describe 'test an instance of RespondToSmsRegistrationReviewRequest' do
24
+ it 'should create an instance of RespondToSmsRegistrationReviewRequest' do
25
+ # uncomment below to test the instance creation
26
+ #expect(instance).to be_instance_of(Zernio::RespondToSmsRegistrationReviewRequest)
27
+ end
28
+ end
29
+
30
+ describe 'test attribute "note"' do
31
+ it 'should work' do
32
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
33
+ end
34
+ end
35
+
36
+ describe 'test attribute "files"' do
37
+ it 'should work' do
38
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
39
+ end
40
+ end
41
+
42
+ end
@@ -55,6 +55,12 @@ describe Zernio::StartSmsRegistrationRequest do
55
55
  end
56
56
  end
57
57
 
58
+ describe 'test attribute "messaging_brand_name"' do
59
+ it 'should work' do
60
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
61
+ end
62
+ end
63
+
58
64
  describe 'test attribute "wizard_values"' do
59
65
  it 'should work' do
60
66
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
Binary file