late-sdk 0.0.577 → 0.0.579

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 462a27b73e8e060ac6a64765eaacbd9b8b6946928c0dc0d6531ab49e2036e526
4
- data.tar.gz: 3ac5708d4c88e29b700b9cc24c2d481a29ab0ef92f95a5c042527a2c851bcb26
3
+ metadata.gz: 37db91e6482c4404ada6ca564c58c9a2775ae65ee5534b48cfa8f21da6634ad1
4
+ data.tar.gz: 9199421369503f2dbc82e9cb6f561846c4ddf5837bc1d5a1953bfd565d13379e
5
5
  SHA512:
6
- metadata.gz: '01096368746b39d6bedf0893e7a123f2de8b6eb9f7cec32254692db60cff372d6cffe2256ac1fa24a074fab2ba0340afae517263c8497ee81e1aaac6f71f5c34'
7
- data.tar.gz: 914010f7246adab1e6d2465fa6de6ae43186a98322eade9dd18c5646dc110d26f1ca9d68452588b6c7a29b12c845b611524b207bc6ad60cdcd546d8ecf213a6d
6
+ metadata.gz: 0abe7ff29434a32bd6b142c9e33b523962c16471ff203aeb8bd9389911561b24aba9726a603d31bc1b3c78e75980402b795a1ff34abc1b27a4cb811350296613
7
+ data.tar.gz: e0d9ef5edff5fb96dadfb6befbd4b4c1df7a853ca448df8762cb2c7e721ff27e73cf01e91a003bca66130a53d759cf93c47ad1431ff6af1565f9c20458faa2d9
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). When provided with limit, enables server-side pagination. Omit for all accounts.
408
- limit: 56 # Integer | Page size. Required alongside page for pagination.
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). When provided with limit, enables server-side pagination. Omit for all accounts. | [optional] |
447
- | **limit** | **Integer** | Page size. Required alongside page for pagination. | [optional] |
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
 
@@ -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). When provided with limit, enables server-side pagination. Omit for all accounts.
376
- # @option opts [Integer] :limit Page size. Required alongside page for pagination.
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). When provided with limit, enables server-side pagination. Omit for all accounts.
391
- # @option opts [Integer] :limit Page size. Required alongside page for pagination.
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
@@ -11,5 +11,5 @@ Generator version: 7.19.0
11
11
  =end
12
12
 
13
13
  module Zernio
14
- VERSION = '0.0.577'
14
+ VERSION = '0.0.579'
15
15
  end
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: Page number (1-based). When provided with limit, enables server-side pagination. Omit for all accounts.
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: Page size. Required alongside page for pagination.
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:
@@ -26557,6 +26561,7 @@ paths:
26557
26561
  registrationId: { type: string }
26558
26562
  status: { type: string, enum: [pending] }
26559
26563
  awaitingOtp: { type: boolean, description: "True for sole-prop 10DLC: an OTP was texted to the brand's mobile; submit it via /verify-otp." }
26564
+ '400': { $ref: '#/components/responses/BadRequest' }
26560
26565
  '401': { $ref: '#/components/responses/Unauthorized' }
26561
26566
  '422': { description: Carrier registry rejected a field; `param` names it when known. }
26562
26567
  get:
@@ -26604,6 +26609,7 @@ paths:
26604
26609
  label: { type: string }
26605
26610
  smsPerMinute: { type: number }
26606
26611
  smsPerDay: { type: number }
26612
+ '400': { $ref: '#/components/responses/BadRequest' }
26607
26613
  '401': { $ref: '#/components/responses/Unauthorized' }
26608
26614
 
26609
26615
  /v1/sms/registrations/{id}:
@@ -26632,6 +26638,7 @@ paths:
26632
26638
  type: object
26633
26639
  properties:
26634
26640
  status: { type: string, enum: [deactivated] }
26641
+ '400': { $ref: '#/components/responses/BadRequest' }
26635
26642
  '401': { $ref: '#/components/responses/Unauthorized' }
26636
26643
  '404': { description: Registration not found }
26637
26644
  get:
@@ -26669,6 +26676,7 @@ paths:
26669
26676
  messageFlow: { type: string }
26670
26677
  sample1: { type: string }
26671
26678
  sample2: { type: string }
26679
+ '400': { $ref: '#/components/responses/BadRequest' }
26672
26680
  '401': { $ref: '#/components/responses/Unauthorized' }
26673
26681
  '404': { description: Registration not found }
26674
26682
 
@@ -26703,6 +26711,7 @@ paths:
26703
26711
  type: object
26704
26712
  properties:
26705
26713
  verified: { type: boolean }
26714
+ '400': { $ref: '#/components/responses/BadRequest' }
26706
26715
  '401': { $ref: '#/components/responses/Unauthorized' }
26707
26716
  '404': { description: Registration not found }
26708
26717
 
@@ -26729,7 +26738,7 @@ paths:
26729
26738
  type: object
26730
26739
  properties:
26731
26740
  sent: { type: boolean }
26732
- '400': { description: The registration is not awaiting a verification code }
26741
+ '400': { description: 'Malformed `id`, or the registration is not awaiting a verification code.' }
26733
26742
  '401': { $ref: '#/components/responses/Unauthorized' }
26734
26743
  '404': { description: Registration not found }
26735
26744
  '429': { description: A code was just sent — wait a minute before requesting another }
@@ -26776,7 +26785,7 @@ paths:
26776
26785
  type: object
26777
26786
  properties:
26778
26787
  status: { type: string, enum: [pending] }
26779
- '400': { description: Registration has no campaign to appeal; fix the brand and re-verify instead }
26788
+ '400': { description: 'Malformed `id`, or the registration has no campaign to appeal (fix the brand and re-verify instead).' }
26780
26789
  '401': { $ref: '#/components/responses/Unauthorized' }
26781
26790
  '404': { description: Registration not found }
26782
26791
 
@@ -26884,6 +26893,7 @@ paths:
26884
26893
  properties:
26885
26894
  url: { type: string }
26886
26895
  expiresAt: { type: string, format: date-time }
26896
+ '400': { $ref: '#/components/responses/BadRequest' }
26887
26897
  '401': { $ref: '#/components/responses/Unauthorized' }
26888
26898
  '404': { description: Number not found }
26889
26899
 
@@ -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. \&quot;instagram\&quot;, \&quot;twitter\&quot;).
108
108
  # @option opts [String] :status Filter accounts by connection status. &#x60;connected&#x60; returns healthy accounts; &#x60;disconnected&#x60; 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). When provided with limit, enables server-side pagination. Omit for all accounts.
111
- # @option opts [Integer] :limit Page size. Required alongside page for pagination.
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.577
4
+ version: 0.0.579
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.577.gem
4796
+ - zernio-sdk-0.0.579.gem
4797
4797
  - zernio-sdk.gemspec
4798
4798
  homepage: https://openapi-generator.tech
4799
4799
  licenses:
Binary file