late-sdk 0.0.555 → 0.0.557

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 (25) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +6 -0
  3. data/docs/GetPhoneNumberKycForm200ResponseReusableOptionsInner.md +1 -1
  4. data/docs/GetPhoneNumberKycForm200ResponseReusableOptionsInnerDetailsInner.md +22 -0
  5. data/docs/PhoneNumbersApi.md +142 -0
  6. data/docs/ReplyToPhoneNumberReviewer200Response.md +20 -0
  7. data/docs/ReplyToPhoneNumberReviewerRequest.md +20 -0
  8. data/docs/ReplyToPhoneNumberReviewerRequestAttachmentsInner.md +20 -0
  9. data/lib/zernio-sdk/api/phone_numbers_api.rb +137 -0
  10. data/lib/zernio-sdk/models/get_phone_number_kyc_form200_response_reusable_options_inner.rb +1 -1
  11. data/lib/zernio-sdk/models/get_phone_number_kyc_form200_response_reusable_options_inner_details_inner.rb +166 -0
  12. data/lib/zernio-sdk/models/reply_to_phone_number_reviewer200_response.rb +157 -0
  13. data/lib/zernio-sdk/models/reply_to_phone_number_reviewer_request.rb +198 -0
  14. data/lib/zernio-sdk/models/reply_to_phone_number_reviewer_request_attachments_inner.rb +191 -0
  15. data/lib/zernio-sdk/version.rb +1 -1
  16. data/lib/zernio-sdk.rb +4 -0
  17. data/openapi.yaml +82 -0
  18. data/spec/api/phone_numbers_api_spec.rb +25 -0
  19. data/spec/models/get_phone_number_kyc_form200_response_reusable_options_inner_details_inner_spec.rb +48 -0
  20. data/spec/models/reply_to_phone_number_reviewer200_response_spec.rb +42 -0
  21. data/spec/models/reply_to_phone_number_reviewer_request_attachments_inner_spec.rb +42 -0
  22. data/spec/models/reply_to_phone_number_reviewer_request_spec.rb +42 -0
  23. data/zernio-sdk-0.0.557.gem +0 -0
  24. metadata +18 -2
  25. data/zernio-sdk-0.0.555.gem +0 -0
@@ -227,6 +227,19 @@ describe 'PhoneNumbersApi' do
227
227
  end
228
228
  end
229
229
 
230
+ # unit tests for reply_to_phone_number_reviewer
231
+ # Reply to the regulatory reviewer
232
+ # Post a free-text reply (with optional file attachments) to the reviewer on a number awaiting remediation — for asks the structured form can't express (e.g. \"is this personal or business?\"). Attachments are stored by us and their links are added to the reviewer's comment thread (the carrier's number order takes no loose files). A reply to a comment-style ask moves the number back to \"in review\"; a reply on a formal decline is supplementary and you must still resubmit the fix. Requires text or at least one attachment.
233
+ # @param id
234
+ # @param reply_to_phone_number_reviewer_request
235
+ # @param [Hash] opts the optional parameters
236
+ # @return [ReplyToPhoneNumberReviewer200Response]
237
+ describe 'reply_to_phone_number_reviewer test' do
238
+ it 'should work' do
239
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
240
+ end
241
+ end
242
+
230
243
  # unit tests for review_phone_number_kyc_packet
231
244
  # Pre-review a KYC packet
232
245
  # Advisory dry-run of a regulated-KYC packet before submitting: reviews the exact documents the regulator will see (referenced by the ids from POST /v1/phone-numbers/kyc/upload-document) against the declared values and address, and returns plain-language advisories for likely decline reasons (wrong document type, mismatched address, one-sided ID scans). Non-blocking: advisories are warnings, submitting anyway is always allowed, and any review failure degrades to an empty list.
@@ -307,4 +320,16 @@ describe 'PhoneNumbersApi' do
307
320
  end
308
321
  end
309
322
 
323
+ # unit tests for view_phone_number_kyc_document
324
+ # View a KYC document on file
325
+ # Stream a document backing a reusable verification (the `documentId` values from GET /v1/phone-numbers/kyc `reusable.options[].details[]`), so the account holder can see what's on file before reusing it. Returned inline as `application/pdf` (uploads are normalized to PDF). Auth-scoped: a document is viewable only when its id is referenced by one of the caller's own numbers — otherwise `404`.
326
+ # @param document_id The Telnyx document id (from `reusable.options[].details[].documentId`).
327
+ # @param [Hash] opts the optional parameters
328
+ # @return [File]
329
+ describe 'view_phone_number_kyc_document test' do
330
+ it 'should work' do
331
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
332
+ end
333
+ end
334
+
310
335
  end
@@ -0,0 +1,48 @@
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::GetPhoneNumberKycForm200ResponseReusableOptionsInnerDetailsInner
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe Zernio::GetPhoneNumberKycForm200ResponseReusableOptionsInnerDetailsInner do
21
+ #let(:instance) { Zernio::GetPhoneNumberKycForm200ResponseReusableOptionsInnerDetailsInner.new }
22
+
23
+ describe 'test an instance of GetPhoneNumberKycForm200ResponseReusableOptionsInnerDetailsInner' do
24
+ it 'should create an instance of GetPhoneNumberKycForm200ResponseReusableOptionsInnerDetailsInner' do
25
+ # uncomment below to test the instance creation
26
+ #expect(instance).to be_instance_of(Zernio::GetPhoneNumberKycForm200ResponseReusableOptionsInnerDetailsInner)
27
+ end
28
+ end
29
+
30
+ describe 'test attribute "label"' 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 "value"' 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 "document_id"' 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
+ 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::ReplyToPhoneNumberReviewer200Response
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe Zernio::ReplyToPhoneNumberReviewer200Response do
21
+ #let(:instance) { Zernio::ReplyToPhoneNumberReviewer200Response.new }
22
+
23
+ describe 'test an instance of ReplyToPhoneNumberReviewer200Response' do
24
+ it 'should create an instance of ReplyToPhoneNumberReviewer200Response' do
25
+ # uncomment below to test the instance creation
26
+ #expect(instance).to be_instance_of(Zernio::ReplyToPhoneNumberReviewer200Response)
27
+ end
28
+ end
29
+
30
+ describe 'test attribute "posted"' 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 "attachments"' 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,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::ReplyToPhoneNumberReviewerRequestAttachmentsInner
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe Zernio::ReplyToPhoneNumberReviewerRequestAttachmentsInner do
21
+ #let(:instance) { Zernio::ReplyToPhoneNumberReviewerRequestAttachmentsInner.new }
22
+
23
+ describe 'test an instance of ReplyToPhoneNumberReviewerRequestAttachmentsInner' do
24
+ it 'should create an instance of ReplyToPhoneNumberReviewerRequestAttachmentsInner' do
25
+ # uncomment below to test the instance creation
26
+ #expect(instance).to be_instance_of(Zernio::ReplyToPhoneNumberReviewerRequestAttachmentsInner)
27
+ end
28
+ end
29
+
30
+ describe 'test attribute "filename"' 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 "base64"' 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,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::ReplyToPhoneNumberReviewerRequest
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe Zernio::ReplyToPhoneNumberReviewerRequest do
21
+ #let(:instance) { Zernio::ReplyToPhoneNumberReviewerRequest.new }
22
+
23
+ describe 'test an instance of ReplyToPhoneNumberReviewerRequest' do
24
+ it 'should create an instance of ReplyToPhoneNumberReviewerRequest' do
25
+ # uncomment below to test the instance creation
26
+ #expect(instance).to be_instance_of(Zernio::ReplyToPhoneNumberReviewerRequest)
27
+ end
28
+ end
29
+
30
+ describe 'test attribute "text"' 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 "attachments"' 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
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.555
4
+ version: 0.0.557
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenAPI-Generator
@@ -685,6 +685,7 @@ files:
685
685
  - docs/GetPhoneNumberKycForm200ResponseReusable.md
686
686
  - docs/GetPhoneNumberKycForm200ResponseReusableDetailsInner.md
687
687
  - docs/GetPhoneNumberKycForm200ResponseReusableOptionsInner.md
688
+ - docs/GetPhoneNumberKycForm200ResponseReusableOptionsInnerDetailsInner.md
688
689
  - docs/GetPhoneNumberPortInOrderRequirements200Response.md
689
690
  - docs/GetPhoneNumberPortInOrderRequirements200ResponseRequirementsInner.md
690
691
  - docs/GetPhoneNumberPortInRequirements200Response.md
@@ -1111,6 +1112,9 @@ files:
1111
1112
  - docs/ReplyToInboxReviewRequest.md
1112
1113
  - docs/ReplyToMention200Response.md
1113
1114
  - docs/ReplyToMentionRequest.md
1115
+ - docs/ReplyToPhoneNumberReviewer200Response.md
1116
+ - docs/ReplyToPhoneNumberReviewerRequest.md
1117
+ - docs/ReplyToPhoneNumberReviewerRequestAttachmentsInner.md
1114
1118
  - docs/RequestSmsSenderIdLimitIncrease200Response.md
1115
1119
  - docs/RequestSmsSenderIdLimitIncreaseRequest.md
1116
1120
  - docs/ResendSmsRegistrationOtp200Response.md
@@ -2280,6 +2284,7 @@ files:
2280
2284
  - lib/zernio-sdk/models/get_phone_number_kyc_form200_response_reusable.rb
2281
2285
  - lib/zernio-sdk/models/get_phone_number_kyc_form200_response_reusable_details_inner.rb
2282
2286
  - lib/zernio-sdk/models/get_phone_number_kyc_form200_response_reusable_options_inner.rb
2287
+ - lib/zernio-sdk/models/get_phone_number_kyc_form200_response_reusable_options_inner_details_inner.rb
2283
2288
  - lib/zernio-sdk/models/get_phone_number_port_in_order_requirements200_response.rb
2284
2289
  - lib/zernio-sdk/models/get_phone_number_port_in_order_requirements200_response_requirements_inner.rb
2285
2290
  - lib/zernio-sdk/models/get_phone_number_port_in_requirements200_response.rb
@@ -2690,6 +2695,9 @@ files:
2690
2695
  - lib/zernio-sdk/models/reply_to_inbox_review_request.rb
2691
2696
  - lib/zernio-sdk/models/reply_to_mention200_response.rb
2692
2697
  - lib/zernio-sdk/models/reply_to_mention_request.rb
2698
+ - lib/zernio-sdk/models/reply_to_phone_number_reviewer200_response.rb
2699
+ - lib/zernio-sdk/models/reply_to_phone_number_reviewer_request.rb
2700
+ - lib/zernio-sdk/models/reply_to_phone_number_reviewer_request_attachments_inner.rb
2693
2701
  - lib/zernio-sdk/models/request_sms_sender_id_limit_increase200_response.rb
2694
2702
  - lib/zernio-sdk/models/request_sms_sender_id_limit_increase_request.rb
2695
2703
  - lib/zernio-sdk/models/resend_sms_registration_otp200_response.rb
@@ -3831,6 +3839,7 @@ files:
3831
3839
  - spec/models/get_phone_number200_response_spec.rb
3832
3840
  - spec/models/get_phone_number_kyc_form200_response_fields_inner_spec.rb
3833
3841
  - spec/models/get_phone_number_kyc_form200_response_reusable_details_inner_spec.rb
3842
+ - spec/models/get_phone_number_kyc_form200_response_reusable_options_inner_details_inner_spec.rb
3834
3843
  - spec/models/get_phone_number_kyc_form200_response_reusable_options_inner_spec.rb
3835
3844
  - spec/models/get_phone_number_kyc_form200_response_reusable_spec.rb
3836
3845
  - spec/models/get_phone_number_kyc_form200_response_spec.rb
@@ -4244,6 +4253,9 @@ files:
4244
4253
  - spec/models/reply_to_inbox_review_request_spec.rb
4245
4254
  - spec/models/reply_to_mention200_response_spec.rb
4246
4255
  - spec/models/reply_to_mention_request_spec.rb
4256
+ - spec/models/reply_to_phone_number_reviewer200_response_spec.rb
4257
+ - spec/models/reply_to_phone_number_reviewer_request_attachments_inner_spec.rb
4258
+ - spec/models/reply_to_phone_number_reviewer_request_spec.rb
4247
4259
  - spec/models/request_sms_sender_id_limit_increase200_response_spec.rb
4248
4260
  - spec/models/request_sms_sender_id_limit_increase_request_spec.rb
4249
4261
  - spec/models/resend_sms_registration_otp200_response_spec.rb
@@ -4730,7 +4742,7 @@ files:
4730
4742
  - spec/models/you_tube_video_retention_response_retention_curve_inner_spec.rb
4731
4743
  - spec/models/you_tube_video_retention_response_spec.rb
4732
4744
  - spec/spec_helper.rb
4733
- - zernio-sdk-0.0.555.gem
4745
+ - zernio-sdk-0.0.557.gem
4734
4746
  - zernio-sdk.gemspec
4735
4747
  homepage: https://openapi-generator.tech
4736
4748
  licenses:
@@ -5834,6 +5846,7 @@ test_files:
5834
5846
  - spec/models/create_contact_request_spec.rb
5835
5847
  - spec/models/usage_metering_days_inner_spec.rb
5836
5848
  - spec/models/edit_inbox_comment200_response_spec.rb
5849
+ - spec/models/get_phone_number_kyc_form200_response_reusable_options_inner_details_inner_spec.rb
5837
5850
  - spec/models/send_inbox_message_request_contacts_inner_phones_inner_spec.rb
5838
5851
  - spec/models/update_ad_set_request_platform_specific_data_spec.rb
5839
5852
  - spec/models/list_whats_app_flow_versions200_response_spec.rb
@@ -5946,6 +5959,7 @@ test_files:
5946
5959
  - spec/models/you_tube_daily_views_response_date_range_spec.rb
5947
5960
  - spec/models/create_queue_slot_request_spec.rb
5948
5961
  - spec/models/get_call200_response_spec.rb
5962
+ - spec/models/reply_to_phone_number_reviewer_request_attachments_inner_spec.rb
5949
5963
  - spec/models/create_standalone_ad_request_placement_assets_rules_inner_spec.rb
5950
5964
  - spec/models/linked_in_ads_platform_data_carousel_cards_inner_spec.rb
5951
5965
  - spec/models/deactivate_sms_registration200_response_spec.rb
@@ -6185,6 +6199,7 @@ test_files:
6185
6199
  - spec/models/send_private_reply_to_comment_request_buttons_inner_spec.rb
6186
6200
  - spec/models/list_inbox_conversations200_response_data_inner_spec.rb
6187
6201
  - spec/models/follower_stats_response_date_range_spec.rb
6202
+ - spec/models/reply_to_phone_number_reviewer200_response_spec.rb
6188
6203
  - spec/models/update_broadcast_request_template_spec.rb
6189
6204
  - spec/models/update_ad_account200_response_dsa_defaults_spec.rb
6190
6205
  - spec/models/create_phone_number_port_in201_response_orders_inner_spec.rb
@@ -6242,6 +6257,7 @@ test_files:
6242
6257
  - spec/models/select_pinterest_board_request_spec.rb
6243
6258
  - spec/models/linked_in_ads_platform_data_jobs_spec.rb
6244
6259
  - spec/models/send_inbox_message_request_interactive_action_one_of8_spec.rb
6260
+ - spec/models/reply_to_phone_number_reviewer_request_spec.rb
6245
6261
  - spec/models/get_workflow_version200_response_version_spec.rb
6246
6262
  - spec/models/webhook_payload_comment_post_spec.rb
6247
6263
  - spec/models/block_whats_app_users200_response_spec.rb
Binary file