late-sdk 0.0.618 → 0.0.619

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: 6624ec7970c293995619ddd47af89304c96bc3982ab6be621a0ad7a0127130a8
4
- data.tar.gz: 2bfe20c1c5b3b205625b8bfe79f7c8162bbaade94bda407b9c68e1c424bba0a4
3
+ metadata.gz: adec945f4270a54a62ef05557ea6e4b5767f91ce78e0a5d9c9c5e5cf126f3449
4
+ data.tar.gz: d6addc95b9ba568ab0a8a8d0dbb6004d94a913d380056ab43a266c514c073193
5
5
  SHA512:
6
- metadata.gz: dad9f24062bd9d986342759585ab2c755bb7c893835883f26aa747844d247162ee548425c6227e1ddcad79fc065512abe2c98a424bf34e26bdd57a896bca4532
7
- data.tar.gz: 4336fa0170e49c7167e72158fd35deff1b2a5ff5811082470c2698ef48d4c88b10b021a4a0009e192b93c9d4c2fb64b9b22b2605558fe3c7c722155437cf3340
6
+ metadata.gz: 7e2802c440e774a66ed49eeb69c321688c6d7390096af09346429ace57bc72ff03326502205cdc9621a1dc80015dcc1eebe0f0350bc005b4204e8eab1bf5e0fa
7
+ data.tar.gz: 931723d9206d64a3fd4b39eda8d9498eb2312c755207e09990f9f3cccce4079d7df898a22efb92dadc70acaa8227b752d66e41db1bac7e1693b9ea1af0dd604e
data/docs/PostsApi.md CHANGED
@@ -393,12 +393,12 @@ end
393
393
  api_instance = Zernio::PostsApi.new
394
394
  opts = {
395
395
  page: 56, # Integer | Page number (1-based)
396
- limit: 56, # Integer | Page size
396
+ limit: 56, # Integer | Page size. Values above the maximum return 400 rather than being clamped.
397
397
  source: 'zernio', # String | Which collection to read. `zernio` (default) returns posts authored through Zernio. `external` returns posts synced from the platform (existing/historical posts that were published outside Zernio). Combine with `accountId` and paginate via `page`/`limit` to walk the full synced history (we keep up to the last ~12 months per account).
398
398
  status: 'draft', # String |
399
399
  platform: 'twitter', # String |
400
400
  profile_id: 'profile_id_example', # String |
401
- created_by: 'created_by_example', # String |
401
+ created_by: 'created_by_example', # String | Filter posts to those created by a specific team user (24-char hex ObjectId).
402
402
  date_from: Date.parse('2013-10-20'), # Date |
403
403
  date_to: Date.parse('2013-10-20'), # Date |
404
404
  include_hidden: true, # Boolean |
@@ -439,12 +439,12 @@ end
439
439
  | Name | Type | Description | Notes |
440
440
  | ---- | ---- | ----------- | ----- |
441
441
  | **page** | **Integer** | Page number (1-based) | [optional][default to 1] |
442
- | **limit** | **Integer** | Page size | [optional][default to 10] |
442
+ | **limit** | **Integer** | Page size. Values above the maximum return 400 rather than being clamped. | [optional][default to 10] |
443
443
  | **source** | **String** | Which collection to read. `zernio` (default) returns posts authored through Zernio. `external` returns posts synced from the platform (existing/historical posts that were published outside Zernio). Combine with `accountId` and paginate via `page`/`limit` to walk the full synced history (we keep up to the last ~12 months per account). | [optional][default to 'zernio'] |
444
444
  | **status** | **String** | | [optional] |
445
445
  | **platform** | **String** | | [optional] |
446
446
  | **profile_id** | **String** | | [optional] |
447
- | **created_by** | **String** | | [optional] |
447
+ | **created_by** | **String** | Filter posts to those created by a specific team user (24-char hex ObjectId). | [optional] |
448
448
  | **date_from** | **Date** | | [optional] |
449
449
  | **date_to** | **Date** | | [optional] |
450
450
  | **include_hidden** | **Boolean** | | [optional][default to false] |
@@ -362,12 +362,12 @@ module Zernio
362
362
  # Returns a paginated list of posts. Published posts include platformPostUrl with the public URL on each platform.
363
363
  # @param [Hash] opts the optional parameters
364
364
  # @option opts [Integer] :page Page number (1-based) (default to 1)
365
- # @option opts [Integer] :limit Page size (default to 10)
365
+ # @option opts [Integer] :limit Page size. Values above the maximum return 400 rather than being clamped. (default to 10)
366
366
  # @option opts [String] :source Which collection to read. `zernio` (default) returns posts authored through Zernio. `external` returns posts synced from the platform (existing/historical posts that were published outside Zernio). Combine with `accountId` and paginate via `page`/`limit` to walk the full synced history (we keep up to the last ~12 months per account). (default to 'zernio')
367
367
  # @option opts [String] :status
368
368
  # @option opts [String] :platform
369
369
  # @option opts [String] :profile_id
370
- # @option opts [String] :created_by
370
+ # @option opts [String] :created_by Filter posts to those created by a specific team user (24-char hex ObjectId).
371
371
  # @option opts [Date] :date_from
372
372
  # @option opts [Date] :date_to
373
373
  # @option opts [Boolean] :include_hidden (default to false)
@@ -384,12 +384,12 @@ module Zernio
384
384
  # Returns a paginated list of posts. Published posts include platformPostUrl with the public URL on each platform.
385
385
  # @param [Hash] opts the optional parameters
386
386
  # @option opts [Integer] :page Page number (1-based) (default to 1)
387
- # @option opts [Integer] :limit Page size (default to 10)
387
+ # @option opts [Integer] :limit Page size. Values above the maximum return 400 rather than being clamped. (default to 10)
388
388
  # @option opts [String] :source Which collection to read. `zernio` (default) returns posts authored through Zernio. `external` returns posts synced from the platform (existing/historical posts that were published outside Zernio). Combine with `accountId` and paginate via `page`/`limit` to walk the full synced history (we keep up to the last ~12 months per account). (default to 'zernio')
389
389
  # @option opts [String] :status
390
390
  # @option opts [String] :platform
391
391
  # @option opts [String] :profile_id
392
- # @option opts [String] :created_by
392
+ # @option opts [String] :created_by Filter posts to those created by a specific team user (24-char hex ObjectId).
393
393
  # @option opts [Date] :date_from
394
394
  # @option opts [Date] :date_to
395
395
  # @option opts [Boolean] :include_hidden (default to false)
@@ -405,8 +405,8 @@ module Zernio
405
405
  fail ArgumentError, 'invalid value for "opts[:"page"]" when calling PostsApi.list_posts, must be greater than or equal to 1.'
406
406
  end
407
407
 
408
- if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] > 100
409
- fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling PostsApi.list_posts, must be smaller than or equal to 100.'
408
+ if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] > 500
409
+ fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling PostsApi.list_posts, must be smaller than or equal to 500.'
410
410
  end
411
411
 
412
412
  if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] < 1
@@ -11,5 +11,5 @@ Generator version: 7.19.0
11
11
  =end
12
12
 
13
13
  module Zernio
14
- VERSION = '0.0.618'
14
+ VERSION = '0.0.619'
15
15
  end
data/openapi.yaml CHANGED
@@ -500,11 +500,6 @@ components:
500
500
  in: query
501
501
  description: Page number (1-based)
502
502
  schema: { type: integer, minimum: 1, default: 1 }
503
- LimitParam:
504
- name: limit
505
- in: query
506
- description: Page size
507
- schema: { type: integer, minimum: 1, maximum: 100, default: 10 }
508
503
  responses:
509
504
  BadRequest:
510
505
  description: Invalid request
@@ -12347,7 +12342,10 @@ paths:
12347
12342
  description: Returns a paginated list of posts. Published posts include platformPostUrl with the public URL on each platform.
12348
12343
  parameters:
12349
12344
  - $ref: '#/components/parameters/PageParam'
12350
- - $ref: '#/components/parameters/LimitParam'
12345
+ - name: limit
12346
+ in: query
12347
+ schema: { type: integer, minimum: 1, maximum: 500, default: 10 }
12348
+ description: 'Page size. Values above the maximum return 400 rather than being clamped.'
12351
12349
  - name: source
12352
12350
  in: query
12353
12351
  schema: { type: string, enum: [zernio, external], default: zernio }
@@ -12369,6 +12367,7 @@ paths:
12369
12367
  - name: createdBy
12370
12368
  in: query
12371
12369
  schema: { type: string }
12370
+ description: 'Filter posts to those created by a specific team user (24-char hex ObjectId).'
12372
12371
  - name: dateFrom
12373
12372
  in: query
12374
12373
  schema: { type: string, format: date }
@@ -12471,6 +12470,7 @@ paths:
12471
12470
  limit: 10
12472
12471
  total: 1
12473
12472
  pages: 1
12473
+ '400': { $ref: '#/components/responses/BadRequest' }
12474
12474
  '401': { $ref: '#/components/responses/Unauthorized' }
12475
12475
  post:
12476
12476
  operationId: createPost
@@ -13092,9 +13092,13 @@ paths:
13092
13092
  errorMessage: "Post text exceeds the 500 character limit for Threads."
13093
13093
  errorCategory: "user_content"
13094
13094
  errorSource: "user"
13095
+ '400': { $ref: '#/components/responses/BadRequest' }
13095
13096
  '401': { $ref: '#/components/responses/Unauthorized' }
13096
13097
  '403':
13097
13098
  description: Forbidden
13099
+ content:
13100
+ application/json:
13101
+ schema: { $ref: '#/components/schemas/ErrorResponse' }
13098
13102
  '404': { $ref: '#/components/responses/NotFound' }
13099
13103
  put:
13100
13104
  operationId: updatePost
@@ -13200,9 +13204,15 @@ paths:
13200
13204
  description: Partial publish success
13201
13205
  '400':
13202
13206
  description: Invalid request
13207
+ content:
13208
+ application/json:
13209
+ schema: { $ref: '#/components/schemas/ErrorResponse' }
13203
13210
  '401': { $ref: '#/components/responses/Unauthorized' }
13204
13211
  '403':
13205
13212
  description: Forbidden
13213
+ content:
13214
+ application/json:
13215
+ schema: { $ref: '#/components/schemas/ErrorResponse' }
13206
13216
  '404': { $ref: '#/components/responses/NotFound' }
13207
13217
  delete:
13208
13218
  operationId: deletePost
@@ -13225,9 +13235,15 @@ paths:
13225
13235
  message: "Post deleted successfully"
13226
13236
  '400':
13227
13237
  description: Cannot delete published posts
13238
+ content:
13239
+ application/json:
13240
+ schema: { $ref: '#/components/schemas/ErrorResponse' }
13228
13241
  '401': { $ref: '#/components/responses/Unauthorized' }
13229
13242
  '403':
13230
13243
  description: Forbidden
13244
+ content:
13245
+ application/json:
13246
+ schema: { $ref: '#/components/schemas/ErrorResponse' }
13231
13247
  '404': { $ref: '#/components/responses/NotFound' }
13232
13248
  /v1/posts/bulk-upload:
13233
13249
  post:
@@ -13289,7 +13305,23 @@ paths:
13289
13305
  warnings: []
13290
13306
  '400':
13291
13307
  description: Invalid CSV or validation errors
13308
+ content:
13309
+ application/json:
13310
+ schema: { $ref: '#/components/schemas/ErrorResponse' }
13292
13311
  '401': { $ref: '#/components/responses/Unauthorized' }
13312
+ '402':
13313
+ description: 'Payment required: the account owner has a failed payment. Not returned on dry-run.'
13314
+ content:
13315
+ application/json:
13316
+ schema:
13317
+ type: object
13318
+ properties:
13319
+ error: { type: string }
13320
+ '404':
13321
+ description: Authenticated user not found
13322
+ content:
13323
+ application/json:
13324
+ schema: { $ref: '#/components/schemas/ErrorResponse' }
13293
13325
  '429':
13294
13326
  description: |
13295
13327
  Rate limit exceeded. Possible causes: API rate limit (requests per minute) or account cooldown (one or more accounts for platforms specified in the CSV are temporarily rate-limited).
@@ -13341,12 +13373,29 @@ paths:
13341
13373
  description: Partial success
13342
13374
  '400':
13343
13375
  description: Invalid state
13376
+ content:
13377
+ application/json:
13378
+ schema: { $ref: '#/components/schemas/ErrorResponse' }
13344
13379
  '401': { $ref: '#/components/responses/Unauthorized' }
13380
+ '402':
13381
+ description: 'Payment required: the account owner has a failed payment.'
13382
+ content:
13383
+ application/json:
13384
+ schema:
13385
+ type: object
13386
+ properties:
13387
+ error: { type: string }
13345
13388
  '403':
13346
13389
  description: Forbidden
13390
+ content:
13391
+ application/json:
13392
+ schema: { $ref: '#/components/schemas/ErrorResponse' }
13347
13393
  '404': { $ref: '#/components/responses/NotFound' }
13348
13394
  '409':
13349
13395
  description: Post is currently publishing
13396
+ content:
13397
+ application/json:
13398
+ schema: { $ref: '#/components/schemas/ErrorResponse' }
13350
13399
  '429':
13351
13400
  description: |
13352
13401
  Rate limit exceeded. Possible causes: API rate limit (requests per minute), velocity limit (25 posts/hour per account), or account cooldown (temporarily rate-limited due to repeated errors).
@@ -13410,9 +13459,15 @@ paths:
13410
13459
  message: "Post deleted from threads successfully"
13411
13460
  '400':
13412
13461
  description: "Invalid request: platform not supported for deletion, post not on that platform, not published, no platform post ID, or no access token."
13462
+ content:
13463
+ application/json:
13464
+ schema: { $ref: '#/components/schemas/ErrorResponse' }
13413
13465
  '401': { $ref: '#/components/responses/Unauthorized' }
13414
13466
  '403':
13415
13467
  description: Forbidden
13468
+ content:
13469
+ application/json:
13470
+ schema: { $ref: '#/components/schemas/ErrorResponse' }
13416
13471
  '404': { $ref: '#/components/responses/NotFound' }
13417
13472
  '500':
13418
13473
  description: Platform API deletion failed
@@ -13622,9 +13677,15 @@ paths:
13622
13677
  updatedFields: ["title", "description", "tags"]
13623
13678
  '400':
13624
13679
  description: "Invalid request: unsupported platform, post not published, missing fields, or validation error."
13680
+ content:
13681
+ application/json:
13682
+ schema: { $ref: '#/components/schemas/ErrorResponse' }
13625
13683
  '401': { $ref: '#/components/responses/Unauthorized' }
13626
13684
  '403':
13627
13685
  description: Forbidden
13686
+ content:
13687
+ application/json:
13688
+ schema: { $ref: '#/components/schemas/ErrorResponse' }
13628
13689
  '404': { $ref: '#/components/responses/NotFound' }
13629
13690
  '500':
13630
13691
  description: Platform API update failed
@@ -100,12 +100,12 @@ describe 'PostsApi' do
100
100
  # Returns a paginated list of posts. Published posts include platformPostUrl with the public URL on each platform.
101
101
  # @param [Hash] opts the optional parameters
102
102
  # @option opts [Integer] :page Page number (1-based)
103
- # @option opts [Integer] :limit Page size
103
+ # @option opts [Integer] :limit Page size. Values above the maximum return 400 rather than being clamped.
104
104
  # @option opts [String] :source Which collection to read. &#x60;zernio&#x60; (default) returns posts authored through Zernio. &#x60;external&#x60; returns posts synced from the platform (existing/historical posts that were published outside Zernio). Combine with &#x60;accountId&#x60; and paginate via &#x60;page&#x60;/&#x60;limit&#x60; to walk the full synced history (we keep up to the last ~12 months per account).
105
105
  # @option opts [String] :status
106
106
  # @option opts [String] :platform
107
107
  # @option opts [String] :profile_id
108
- # @option opts [String] :created_by
108
+ # @option opts [String] :created_by Filter posts to those created by a specific team user (24-char hex ObjectId).
109
109
  # @option opts [Date] :date_from
110
110
  # @option opts [Date] :date_to
111
111
  # @option opts [Boolean] :include_hidden
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.618
4
+ version: 0.0.619
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenAPI-Generator
@@ -4886,7 +4886,7 @@ files:
4886
4886
  - spec/models/you_tube_video_retention_response_retention_curve_inner_spec.rb
4887
4887
  - spec/models/you_tube_video_retention_response_spec.rb
4888
4888
  - spec/spec_helper.rb
4889
- - zernio-sdk-0.0.618.gem
4889
+ - zernio-sdk-0.0.619.gem
4890
4890
  - zernio-sdk.gemspec
4891
4891
  homepage: https://openapi-generator.tech
4892
4892
  licenses:
Binary file