late-sdk 0.0.578 → 0.0.580
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/AccountsApi.md +7 -7
- data/docs/SubmitPhoneNumberKycRequest.md +1 -1
- data/docs/SubmitWhatsAppNumberKycRequest.md +1 -1
- data/lib/zernio-sdk/api/accounts_api.rb +8 -8
- data/lib/zernio-sdk/models/submit_phone_number_kyc_request.rb +1 -1
- data/lib/zernio-sdk/models/submit_whats_app_number_kyc_request.rb +1 -1
- data/lib/zernio-sdk/version.rb +1 -1
- data/openapi.yaml +9 -5
- data/spec/api/accounts_api_spec.rb +4 -4
- data/zernio-sdk-0.0.580.gem +0 -0
- metadata +2 -2
- data/zernio-sdk-0.0.578.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: '02887aafc19b543f774636c2cd0e42809b79c04b00e6797d5b493e67d2bbefea'
|
|
4
|
+
data.tar.gz: 4e3c4c1adbb399ad6e8da73272f2ed1531f193a558a6b81aa521b62ac4cd65da
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f2c85d5d8424177aef6e7b9184829a087813b4367ea92c76ecb0793de880a25070c6120f8f2c1fb39d98f2a3507f9ed681acc0a2dd7b55e28593ba55c39140fd
|
|
7
|
+
data.tar.gz: fa1f38f521493aeba5da15f094dd5db22aedb660e672694901e64105f8168649edce70f33f1f3c3885a1eba721ce588ab3ffc3cc859827d92262fd399d804b3b
|
data/docs/AccountsApi.md
CHANGED
|
@@ -385,7 +385,7 @@ end
|
|
|
385
385
|
|
|
386
386
|
List accounts
|
|
387
387
|
|
|
388
|
-
Returns connected social accounts. Only includes accounts within the plan limit by default. Follower data requires analytics add-on. Supports optional server-side pagination via page/limit params. When omitted, returns all accounts (backward-compatible).
|
|
388
|
+
Returns connected social accounts. Only includes accounts within the plan limit by default. Follower data requires analytics add-on. Supports optional server-side pagination via page/limit params. When omitted, returns all accounts (backward-compatible). page and limit must be supplied together; out-of-range page/limit values are rejected with 400 rather than silently clamped.
|
|
389
389
|
|
|
390
390
|
### Examples
|
|
391
391
|
|
|
@@ -400,12 +400,12 @@ end
|
|
|
400
400
|
|
|
401
401
|
api_instance = Zernio::AccountsApi.new
|
|
402
402
|
opts = {
|
|
403
|
-
profile_id: 'profile_id_example', # String | Filter accounts by profile ID
|
|
403
|
+
profile_id: 'profile_id_example', # String | Filter accounts by profile ID. Must be a valid ObjectId.
|
|
404
404
|
platform: 'platform_example', # String | Filter accounts by platform (e.g. \"instagram\", \"twitter\").
|
|
405
405
|
status: 'connected', # String | Filter accounts by connection status. `connected` returns healthy accounts; `disconnected` returns accounts that need reconnection (per the same reconnection check surfaced in the dashboard). Omit to return accounts in any status. When combined with page/limit, pagination totals reflect the filtered result set.
|
|
406
406
|
include_over_limit: true, # Boolean | When true, includes accounts from over-limit profiles.
|
|
407
|
-
page: 56, # Integer | Page number (1-based).
|
|
408
|
-
limit: 56 # Integer | Page size.
|
|
407
|
+
page: 56, # Integer | Page number (1-based). Must be provided together with limit to enable server-side pagination; sending only one of the two returns 400. Omit both for all accounts.
|
|
408
|
+
limit: 56 # Integer | Page size. Must be provided together with page; sending only one of the two returns 400.
|
|
409
409
|
}
|
|
410
410
|
|
|
411
411
|
begin
|
|
@@ -439,12 +439,12 @@ end
|
|
|
439
439
|
|
|
440
440
|
| Name | Type | Description | Notes |
|
|
441
441
|
| ---- | ---- | ----------- | ----- |
|
|
442
|
-
| **profile_id** | **String** | Filter accounts by profile ID | [optional] |
|
|
442
|
+
| **profile_id** | **String** | Filter accounts by profile ID. Must be a valid ObjectId. | [optional] |
|
|
443
443
|
| **platform** | **String** | Filter accounts by platform (e.g. \"instagram\", \"twitter\"). | [optional] |
|
|
444
444
|
| **status** | **String** | Filter accounts by connection status. `connected` returns healthy accounts; `disconnected` returns accounts that need reconnection (per the same reconnection check surfaced in the dashboard). Omit to return accounts in any status. When combined with page/limit, pagination totals reflect the filtered result set. | [optional] |
|
|
445
445
|
| **include_over_limit** | **Boolean** | When true, includes accounts from over-limit profiles. | [optional][default to false] |
|
|
446
|
-
| **page** | **Integer** | Page number (1-based).
|
|
447
|
-
| **limit** | **Integer** | Page size.
|
|
446
|
+
| **page** | **Integer** | Page number (1-based). Must be provided together with limit to enable server-side pagination; sending only one of the two returns 400. Omit both for all accounts. | [optional] |
|
|
447
|
+
| **limit** | **Integer** | Page size. Must be provided together with page; sending only one of the two returns 400. | [optional] |
|
|
448
448
|
|
|
449
449
|
### Return type
|
|
450
450
|
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
| **profile_id** | **String** | | |
|
|
8
8
|
| **country** | **String** | | |
|
|
9
9
|
| **submission_id** | **String** | Idempotency token for this submission attempt. A retry/double-submit with the same token returns the same number; omit and each call creates a new number. | [optional] |
|
|
10
|
-
| **quantity** | **Integer** | Provision several same-country numbers from one submission (1-5). The single verification covers all of them; each number is billed only when it activates. Numbers that fail to order are skipped (best-effort). | [optional][default to 1] |
|
|
10
|
+
| **quantity** | **Integer** | Provision several same-country numbers from one submission (1-5). The single verification covers all of them; each number is billed only when it activates. Numbers that fail to order are skipped (best-effort). With `areaCode`, a quantity above that area's live stock is rejected with a 400. | [optional][default to 1] |
|
|
11
11
|
| **reuse** | **Boolean** | Reuse a prior approved verification for this country (skips document/field collection; places the order immediately). | [optional] |
|
|
12
12
|
| **reuse_option_id** | **String** | Which reusable verification to use (GET reusable.options[].id). The unambiguous selection key. Omitted = the approved default. No match = 409. | [optional] |
|
|
13
13
|
| **reuse_from** | **String** | Legacy fallback for `reuseOptionId`: the source phone number (GET reusable.options[].fromPhoneNumber). Ambiguous when a number labels two verifications — prefer `reuseOptionId`. Omitted = the approved default. No match = 409. | [optional] |
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
| **profile_id** | **String** | | |
|
|
8
8
|
| **country** | **String** | | |
|
|
9
9
|
| **submission_id** | **String** | Idempotency token for this submission attempt. A retry/double-submit with the same token returns the same number; omit and each call creates a new number. | [optional] |
|
|
10
|
-
| **quantity** | **Integer** | Provision several same-country numbers from one submission (1-5). The single verification covers all of them; each number is billed only when it activates. Numbers that fail to order are skipped (best-effort). | [optional][default to 1] |
|
|
10
|
+
| **quantity** | **Integer** | Provision several same-country numbers from one submission (1-5). The single verification covers all of them; each number is billed only when it activates. Numbers that fail to order are skipped (best-effort). With `areaCode`, a quantity above that area's live stock is rejected with a 400. | [optional][default to 1] |
|
|
11
11
|
| **reuse** | **Boolean** | Reuse a prior approved verification for this country (skips document/field collection; places the order immediately). | [optional] |
|
|
12
12
|
| **reuse_option_id** | **String** | Which reusable verification to use (GET reusable.options[].id). The unambiguous selection key. Omitted = the approved default. No match = 409. | [optional] |
|
|
13
13
|
| **reuse_from** | **String** | Legacy fallback for `reuseOptionId`: the source phone number (GET reusable.options[].fromPhoneNumber). Ambiguous when a number labels two verifications — prefer `reuseOptionId`. Omitted = the approved default. No match = 409. | [optional] |
|
|
@@ -366,14 +366,14 @@ module Zernio
|
|
|
366
366
|
end
|
|
367
367
|
|
|
368
368
|
# List accounts
|
|
369
|
-
# Returns connected social accounts. Only includes accounts within the plan limit by default. Follower data requires analytics add-on. Supports optional server-side pagination via page/limit params. When omitted, returns all accounts (backward-compatible).
|
|
369
|
+
# Returns connected social accounts. Only includes accounts within the plan limit by default. Follower data requires analytics add-on. Supports optional server-side pagination via page/limit params. When omitted, returns all accounts (backward-compatible). page and limit must be supplied together; out-of-range page/limit values are rejected with 400 rather than silently clamped.
|
|
370
370
|
# @param [Hash] opts the optional parameters
|
|
371
|
-
# @option opts [String] :profile_id Filter accounts by profile ID
|
|
371
|
+
# @option opts [String] :profile_id Filter accounts by profile ID. Must be a valid ObjectId.
|
|
372
372
|
# @option opts [String] :platform Filter accounts by platform (e.g. \"instagram\", \"twitter\").
|
|
373
373
|
# @option opts [String] :status Filter accounts by connection status. `connected` returns healthy accounts; `disconnected` returns accounts that need reconnection (per the same reconnection check surfaced in the dashboard). Omit to return accounts in any status. When combined with page/limit, pagination totals reflect the filtered result set.
|
|
374
374
|
# @option opts [Boolean] :include_over_limit When true, includes accounts from over-limit profiles. (default to false)
|
|
375
|
-
# @option opts [Integer] :page Page number (1-based).
|
|
376
|
-
# @option opts [Integer] :limit Page size.
|
|
375
|
+
# @option opts [Integer] :page Page number (1-based). Must be provided together with limit to enable server-side pagination; sending only one of the two returns 400. Omit both for all accounts.
|
|
376
|
+
# @option opts [Integer] :limit Page size. Must be provided together with page; sending only one of the two returns 400.
|
|
377
377
|
# @return [AccountsListResponse]
|
|
378
378
|
def list_accounts(opts = {})
|
|
379
379
|
data, _status_code, _headers = list_accounts_with_http_info(opts)
|
|
@@ -381,14 +381,14 @@ module Zernio
|
|
|
381
381
|
end
|
|
382
382
|
|
|
383
383
|
# List accounts
|
|
384
|
-
# Returns connected social accounts. Only includes accounts within the plan limit by default. Follower data requires analytics add-on. Supports optional server-side pagination via page/limit params. When omitted, returns all accounts (backward-compatible).
|
|
384
|
+
# Returns connected social accounts. Only includes accounts within the plan limit by default. Follower data requires analytics add-on. Supports optional server-side pagination via page/limit params. When omitted, returns all accounts (backward-compatible). page and limit must be supplied together; out-of-range page/limit values are rejected with 400 rather than silently clamped.
|
|
385
385
|
# @param [Hash] opts the optional parameters
|
|
386
|
-
# @option opts [String] :profile_id Filter accounts by profile ID
|
|
386
|
+
# @option opts [String] :profile_id Filter accounts by profile ID. Must be a valid ObjectId.
|
|
387
387
|
# @option opts [String] :platform Filter accounts by platform (e.g. \"instagram\", \"twitter\").
|
|
388
388
|
# @option opts [String] :status Filter accounts by connection status. `connected` returns healthy accounts; `disconnected` returns accounts that need reconnection (per the same reconnection check surfaced in the dashboard). Omit to return accounts in any status. When combined with page/limit, pagination totals reflect the filtered result set.
|
|
389
389
|
# @option opts [Boolean] :include_over_limit When true, includes accounts from over-limit profiles. (default to false)
|
|
390
|
-
# @option opts [Integer] :page Page number (1-based).
|
|
391
|
-
# @option opts [Integer] :limit Page size.
|
|
390
|
+
# @option opts [Integer] :page Page number (1-based). Must be provided together with limit to enable server-side pagination; sending only one of the two returns 400. Omit both for all accounts.
|
|
391
|
+
# @option opts [Integer] :limit Page size. Must be provided together with page; sending only one of the two returns 400.
|
|
392
392
|
# @return [Array<(AccountsListResponse, Integer, Hash)>] AccountsListResponse data, response status code and response headers
|
|
393
393
|
def list_accounts_with_http_info(opts = {})
|
|
394
394
|
if @api_client.config.debugging
|
|
@@ -22,7 +22,7 @@ module Zernio
|
|
|
22
22
|
# Idempotency token for this submission attempt. A retry/double-submit with the same token returns the same number; omit and each call creates a new number.
|
|
23
23
|
attr_accessor :submission_id
|
|
24
24
|
|
|
25
|
-
# Provision several same-country numbers from one submission (1-5). The single verification covers all of them; each number is billed only when it activates. Numbers that fail to order are skipped (best-effort).
|
|
25
|
+
# Provision several same-country numbers from one submission (1-5). The single verification covers all of them; each number is billed only when it activates. Numbers that fail to order are skipped (best-effort). With `areaCode`, a quantity above that area's live stock is rejected with a 400.
|
|
26
26
|
attr_accessor :quantity
|
|
27
27
|
|
|
28
28
|
# Reuse a prior approved verification for this country (skips document/field collection; places the order immediately).
|
|
@@ -22,7 +22,7 @@ module Zernio
|
|
|
22
22
|
# Idempotency token for this submission attempt. A retry/double-submit with the same token returns the same number; omit and each call creates a new number.
|
|
23
23
|
attr_accessor :submission_id
|
|
24
24
|
|
|
25
|
-
# Provision several same-country numbers from one submission (1-5). The single verification covers all of them; each number is billed only when it activates. Numbers that fail to order are skipped (best-effort).
|
|
25
|
+
# Provision several same-country numbers from one submission (1-5). The single verification covers all of them; each number is billed only when it activates. Numbers that fail to order are skipped (best-effort). With `areaCode`, a quantity above that area's live stock is rejected with a 400.
|
|
26
26
|
attr_accessor :quantity
|
|
27
27
|
|
|
28
28
|
# Reuse a prior approved verification for this country (skips document/field collection; places the order immediately).
|
data/lib/zernio-sdk/version.rb
CHANGED
data/openapi.yaml
CHANGED
|
@@ -13528,11 +13528,12 @@ paths:
|
|
|
13528
13528
|
description: |
|
|
13529
13529
|
Returns connected social accounts. Only includes accounts within the plan limit by default. Follower data requires analytics add-on.
|
|
13530
13530
|
Supports optional server-side pagination via page/limit params. When omitted, returns all accounts (backward-compatible).
|
|
13531
|
+
page and limit must be supplied together; out-of-range page/limit values are rejected with 400 rather than silently clamped.
|
|
13531
13532
|
parameters:
|
|
13532
13533
|
- name: profileId
|
|
13533
13534
|
in: query
|
|
13534
13535
|
schema: { type: string }
|
|
13535
|
-
description: Filter accounts by profile ID
|
|
13536
|
+
description: Filter accounts by profile ID. Must be a valid ObjectId.
|
|
13536
13537
|
- name: platform
|
|
13537
13538
|
in: query
|
|
13538
13539
|
schema: { type: string }
|
|
@@ -13554,11 +13555,13 @@ paths:
|
|
|
13554
13555
|
- name: page
|
|
13555
13556
|
in: query
|
|
13556
13557
|
schema: { type: integer, minimum: 1 }
|
|
13557
|
-
description:
|
|
13558
|
+
description: |
|
|
13559
|
+
Page number (1-based). Must be provided together with limit to enable server-side pagination; sending only one of the two returns 400. Omit both for all accounts.
|
|
13558
13560
|
- name: limit
|
|
13559
13561
|
in: query
|
|
13560
13562
|
schema: { type: integer, minimum: 1, maximum: 100 }
|
|
13561
|
-
description:
|
|
13563
|
+
description: |
|
|
13564
|
+
Page size. Must be provided together with page; sending only one of the two returns 400.
|
|
13562
13565
|
responses:
|
|
13563
13566
|
'200':
|
|
13564
13567
|
description: Accounts (with optional pagination)
|
|
@@ -13581,6 +13584,7 @@ paths:
|
|
|
13581
13584
|
profileUrl: "https://x.com/acme"
|
|
13582
13585
|
isActive: true
|
|
13583
13586
|
hasAnalyticsAccess: false
|
|
13587
|
+
'400': { $ref: '#/components/responses/BadRequest' }
|
|
13584
13588
|
'401': { $ref: '#/components/responses/Unauthorized' }
|
|
13585
13589
|
/v1/accounts/follower-stats:
|
|
13586
13590
|
get:
|
|
@@ -28667,7 +28671,7 @@ paths:
|
|
|
28667
28671
|
profileId: { type: string }
|
|
28668
28672
|
country: { type: string }
|
|
28669
28673
|
submissionId: { type: string, description: Idempotency token for this submission attempt. A retry/double-submit with the same token returns the same number; omit and each call creates a new number. }
|
|
28670
|
-
quantity: { type: integer, minimum: 1, maximum: 5, default: 1, description: 'Provision several same-country numbers from one submission (1-5). The single verification covers all of them; each number is billed only when it activates. Numbers that fail to order are skipped (best-effort).' }
|
|
28674
|
+
quantity: { type: integer, minimum: 1, maximum: 5, default: 1, description: 'Provision several same-country numbers from one submission (1-5). The single verification covers all of them; each number is billed only when it activates. Numbers that fail to order are skipped (best-effort). With `areaCode`, a quantity above that area''s live stock is rejected with a 400.' }
|
|
28671
28675
|
reuse: { type: boolean, description: Reuse a prior approved verification for this country (skips document/field collection; places the order immediately). }
|
|
28672
28676
|
reuseOptionId: { type: string, description: 'Which reusable verification to use (GET reusable.options[].id). The unambiguous selection key. Omitted = the approved default. No match = 409.' }
|
|
28673
28677
|
reuseFrom: { type: string, description: 'Legacy fallback for `reuseOptionId`: the source phone number (GET reusable.options[].fromPhoneNumber). Ambiguous when a number labels two verifications — prefer `reuseOptionId`. Omitted = the approved default. No match = 409.' }
|
|
@@ -29639,7 +29643,7 @@ paths:
|
|
|
29639
29643
|
profileId: { type: string }
|
|
29640
29644
|
country: { type: string }
|
|
29641
29645
|
submissionId: { type: string, description: Idempotency token for this submission attempt. A retry/double-submit with the same token returns the same number; omit and each call creates a new number. }
|
|
29642
|
-
quantity: { type: integer, minimum: 1, maximum: 5, default: 1, description: 'Provision several same-country numbers from one submission (1-5). The single verification covers all of them; each number is billed only when it activates. Numbers that fail to order are skipped (best-effort).' }
|
|
29646
|
+
quantity: { type: integer, minimum: 1, maximum: 5, default: 1, description: 'Provision several same-country numbers from one submission (1-5). The single verification covers all of them; each number is billed only when it activates. Numbers that fail to order are skipped (best-effort). With `areaCode`, a quantity above that area''s live stock is rejected with a 400.' }
|
|
29643
29647
|
reuse: { type: boolean, description: Reuse a prior approved verification for this country (skips document/field collection; places the order immediately). }
|
|
29644
29648
|
reuseOptionId: { type: string, description: 'Which reusable verification to use (GET reusable.options[].id). The unambiguous selection key. Omitted = the approved default. No match = 409.' }
|
|
29645
29649
|
reuseFrom: { type: string, description: 'Legacy fallback for `reuseOptionId`: the source phone number (GET reusable.options[].fromPhoneNumber). Ambiguous when a number labels two verifications — prefer `reuseOptionId`. Omitted = the approved default. No match = 409.' }
|
|
@@ -101,14 +101,14 @@ describe 'AccountsApi' do
|
|
|
101
101
|
|
|
102
102
|
# unit tests for list_accounts
|
|
103
103
|
# List accounts
|
|
104
|
-
# Returns connected social accounts. Only includes accounts within the plan limit by default. Follower data requires analytics add-on. Supports optional server-side pagination via page/limit params. When omitted, returns all accounts (backward-compatible).
|
|
104
|
+
# Returns connected social accounts. Only includes accounts within the plan limit by default. Follower data requires analytics add-on. Supports optional server-side pagination via page/limit params. When omitted, returns all accounts (backward-compatible). page and limit must be supplied together; out-of-range page/limit values are rejected with 400 rather than silently clamped.
|
|
105
105
|
# @param [Hash] opts the optional parameters
|
|
106
|
-
# @option opts [String] :profile_id Filter accounts by profile ID
|
|
106
|
+
# @option opts [String] :profile_id Filter accounts by profile ID. Must be a valid ObjectId.
|
|
107
107
|
# @option opts [String] :platform Filter accounts by platform (e.g. \"instagram\", \"twitter\").
|
|
108
108
|
# @option opts [String] :status Filter accounts by connection status. `connected` returns healthy accounts; `disconnected` returns accounts that need reconnection (per the same reconnection check surfaced in the dashboard). Omit to return accounts in any status. When combined with page/limit, pagination totals reflect the filtered result set.
|
|
109
109
|
# @option opts [Boolean] :include_over_limit When true, includes accounts from over-limit profiles.
|
|
110
|
-
# @option opts [Integer] :page Page number (1-based).
|
|
111
|
-
# @option opts [Integer] :limit Page size.
|
|
110
|
+
# @option opts [Integer] :page Page number (1-based). Must be provided together with limit to enable server-side pagination; sending only one of the two returns 400. Omit both for all accounts.
|
|
111
|
+
# @option opts [Integer] :limit Page size. Must be provided together with page; sending only one of the two returns 400.
|
|
112
112
|
# @return [AccountsListResponse]
|
|
113
113
|
describe 'list_accounts test' do
|
|
114
114
|
it 'should work' do
|
|
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.580
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- OpenAPI-Generator
|
|
@@ -4793,7 +4793,7 @@ files:
|
|
|
4793
4793
|
- spec/models/you_tube_video_retention_response_retention_curve_inner_spec.rb
|
|
4794
4794
|
- spec/models/you_tube_video_retention_response_spec.rb
|
|
4795
4795
|
- spec/spec_helper.rb
|
|
4796
|
-
- zernio-sdk-0.0.
|
|
4796
|
+
- zernio-sdk-0.0.580.gem
|
|
4797
4797
|
- zernio-sdk.gemspec
|
|
4798
4798
|
homepage: https://openapi-generator.tech
|
|
4799
4799
|
licenses:
|
data/zernio-sdk-0.0.578.gem
DELETED
|
Binary file
|