late-sdk 0.0.670 → 0.0.672

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: c22ca88ad4c56f331d982d6ae83c690e1bef9ce951906366e641400c14f702da
4
- data.tar.gz: 508db3219c41514ffbea3a3230ceee29ae37deb063496ce625b4072c93c0061e
3
+ metadata.gz: cacfd06d995df70d50a098100eb8a9de74a6427d1dfeb641509589da2e58f672
4
+ data.tar.gz: c1826f1d7ccd473a444bd3e6af12062d972d37287bb258870ec04ff147bba592
5
5
  SHA512:
6
- metadata.gz: 2e568e9bc015d40e94e806629c690e6fff682bc5931befe11991a480bfdad5a64b085d984e432716ce7933883414751028dd5298871278a4005890e4d0078cd0
7
- data.tar.gz: b7b6c40959cb2f3fbf12650939b7f40fc58ee763712f6d8184f2de2df123c72eb64e6b13f47ba6094b95a2bcda06eaa83e0bed95596810fa68d39cb5ce234a95
6
+ metadata.gz: 652a49fb39d3859a402edbc0791567c642cabe82a2e6bc62973a50132bf39d248584919e7770b0b1ff0689aca9a0a1361b1280a4c50a288a8ee52ad65caf23ae
7
+ data.tar.gz: 3a954dbdc1d19c66dbf2153f8b8e216840031b6e316cd300f07eda289b6c73e7915a78a46c45300f9fbf784e3d8d72e5ec25a428703fab23302a90c4efabbf14
@@ -6,6 +6,7 @@
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **message** | **String** | | [optional] |
8
8
  | **post** | [**Post**](Post.md) | | [optional] |
9
+ | **warnings** | **Array<String>** | | [optional] |
9
10
 
10
11
  ## Example
11
12
 
@@ -14,7 +15,8 @@ require 'zernio-sdk'
14
15
 
15
16
  instance = Zernio::PostUpdateResponse.new(
16
17
  message: null,
17
- post: null
18
+ post: null,
19
+ warnings: null
18
20
  )
19
21
  ```
20
22
 
data/docs/PostsApi.md CHANGED
@@ -612,7 +612,7 @@ end
612
612
 
613
613
  Update post
614
614
 
615
- Update an existing post. Draft, scheduled, failed, partial, and cancelled posts can be edited. Published posts can only have their recycling config updated. To promote a draft to scheduled, send `isDraft: false` together with `scheduledFor` (or `publishNow: true`, or `queuedFromProfile`). If `isDraft` is omitted the post keeps its current draft status, so sending only `scheduledFor` to a draft returns 200 but the post remains a draft.
615
+ Update an existing post. Draft, scheduled, failed, partial, and cancelled posts can be edited. Published posts can only have their recycling config updated. To promote a draft to scheduled, send `isDraft: false` together with `scheduledFor` (or `publishNow: true`, or `queuedFromProfile`). If `isDraft` is omitted the post keeps its current draft status, so sending only `scheduledFor` to a draft returns 200 but the post remains a draft. Non-draft updates run the same per-platform validation as post creation (media requirements, platform-specific field rules, etc.) against the resulting platforms, returning 400 on failure.
616
616
 
617
617
  ### Examples
618
618
 
@@ -616,7 +616,7 @@ module Zernio
616
616
  end
617
617
 
618
618
  # Update post
619
- # Update an existing post. Draft, scheduled, failed, partial, and cancelled posts can be edited. Published posts can only have their recycling config updated. To promote a draft to scheduled, send `isDraft: false` together with `scheduledFor` (or `publishNow: true`, or `queuedFromProfile`). If `isDraft` is omitted the post keeps its current draft status, so sending only `scheduledFor` to a draft returns 200 but the post remains a draft.
619
+ # Update an existing post. Draft, scheduled, failed, partial, and cancelled posts can be edited. Published posts can only have their recycling config updated. To promote a draft to scheduled, send `isDraft: false` together with `scheduledFor` (or `publishNow: true`, or `queuedFromProfile`). If `isDraft` is omitted the post keeps its current draft status, so sending only `scheduledFor` to a draft returns 200 but the post remains a draft. Non-draft updates run the same per-platform validation as post creation (media requirements, platform-specific field rules, etc.) against the resulting platforms, returning 400 on failure.
620
620
  # @param post_id [String]
621
621
  # @param update_post_request [UpdatePostRequest]
622
622
  # @param [Hash] opts the optional parameters
@@ -627,7 +627,7 @@ module Zernio
627
627
  end
628
628
 
629
629
  # Update post
630
- # Update an existing post. Draft, scheduled, failed, partial, and cancelled posts can be edited. Published posts can only have their recycling config updated. To promote a draft to scheduled, send `isDraft: false` together with `scheduledFor` (or `publishNow: true`, or `queuedFromProfile`). If `isDraft` is omitted the post keeps its current draft status, so sending only `scheduledFor` to a draft returns 200 but the post remains a draft.
630
+ # Update an existing post. Draft, scheduled, failed, partial, and cancelled posts can be edited. Published posts can only have their recycling config updated. To promote a draft to scheduled, send `isDraft: false` together with `scheduledFor` (or `publishNow: true`, or `queuedFromProfile`). If `isDraft` is omitted the post keeps its current draft status, so sending only `scheduledFor` to a draft returns 200 but the post remains a draft. Non-draft updates run the same per-platform validation as post creation (media requirements, platform-specific field rules, etc.) against the resulting platforms, returning 400 on failure.
631
631
  # @param post_id [String]
632
632
  # @param update_post_request [UpdatePostRequest]
633
633
  # @param [Hash] opts the optional parameters
@@ -19,11 +19,14 @@ module Zernio
19
19
 
20
20
  attr_accessor :post
21
21
 
22
+ attr_accessor :warnings
23
+
22
24
  # Attribute mapping from ruby-style variable name to JSON key.
23
25
  def self.attribute_map
24
26
  {
25
27
  :'message' => :'message',
26
- :'post' => :'post'
28
+ :'post' => :'post',
29
+ :'warnings' => :'warnings'
27
30
  }
28
31
  end
29
32
 
@@ -41,7 +44,8 @@ module Zernio
41
44
  def self.openapi_types
42
45
  {
43
46
  :'message' => :'String',
44
- :'post' => :'Post'
47
+ :'post' => :'Post',
48
+ :'warnings' => :'Array<String>'
45
49
  }
46
50
  end
47
51
 
@@ -74,6 +78,12 @@ module Zernio
74
78
  if attributes.key?(:'post')
75
79
  self.post = attributes[:'post']
76
80
  end
81
+
82
+ if attributes.key?(:'warnings')
83
+ if (value = attributes[:'warnings']).is_a?(Array)
84
+ self.warnings = value
85
+ end
86
+ end
77
87
  end
78
88
 
79
89
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -97,7 +107,8 @@ module Zernio
97
107
  return true if self.equal?(o)
98
108
  self.class == o.class &&
99
109
  message == o.message &&
100
- post == o.post
110
+ post == o.post &&
111
+ warnings == o.warnings
101
112
  end
102
113
 
103
114
  # @see the `==` method
@@ -109,7 +120,7 @@ module Zernio
109
120
  # Calculates hash code according to all attributes.
110
121
  # @return [Integer] Hash code
111
122
  def hash
112
- [message, post].hash
123
+ [message, post, warnings].hash
113
124
  end
114
125
 
115
126
  # 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.670'
14
+ VERSION = '0.0.672'
15
15
  end
data/openapi.yaml CHANGED
@@ -6397,6 +6397,10 @@ components:
6397
6397
  type: string
6398
6398
  post:
6399
6399
  $ref: '#/components/schemas/Post'
6400
+ warnings:
6401
+ type: array
6402
+ items:
6403
+ type: string
6400
6404
  PostDeleteResponse:
6401
6405
  type: object
6402
6406
  properties:
@@ -13393,6 +13397,9 @@ paths:
13393
13397
  To promote a draft to scheduled, send `isDraft: false` together with `scheduledFor` (or `publishNow: true`,
13394
13398
  or `queuedFromProfile`). If `isDraft` is omitted the post keeps its current draft status, so sending only
13395
13399
  `scheduledFor` to a draft returns 200 but the post remains a draft.
13400
+
13401
+ Non-draft updates run the same per-platform validation as post creation (media requirements, platform-specific
13402
+ field rules, etc.) against the resulting platforms, returning 400 on failure.
13396
13403
  parameters:
13397
13404
  - name: postId
13398
13405
  in: path
@@ -25659,6 +25666,7 @@ paths:
25659
25666
  platform: { type: string, example: twitter }
25660
25667
  '400': { description: Bad request or platform limitation }
25661
25668
  '401': { $ref: '#/components/responses/Unauthorized' }
25669
+ '403': { description: 'X rejected the request (e.g. suspended account, missing OAuth scope)' }
25662
25670
  '404': { description: Account not found }
25663
25671
  delete:
25664
25672
  operationId: undoRetweet
@@ -25691,6 +25699,7 @@ paths:
25691
25699
  platform: { type: string, example: twitter }
25692
25700
  '400': { description: Bad request }
25693
25701
  '401': { $ref: '#/components/responses/Unauthorized' }
25702
+ '403': { description: 'X rejected the request (e.g. suspended account, missing OAuth scope)' }
25694
25703
  '404': { description: Account not found }
25695
25704
 
25696
25705
  /v1/twitter/bookmark:
@@ -25727,6 +25736,7 @@ paths:
25727
25736
  platform: { type: string, example: twitter }
25728
25737
  '400': { description: Bad request or platform limitation }
25729
25738
  '401': { $ref: '#/components/responses/Unauthorized' }
25739
+ '403': { description: 'X rejected the request (e.g. suspended account, missing OAuth scope)' }
25730
25740
  '404': { description: Account not found }
25731
25741
  delete:
25732
25742
  operationId: removeBookmark
@@ -25759,6 +25769,7 @@ paths:
25759
25769
  platform: { type: string, example: twitter }
25760
25770
  '400': { description: Bad request }
25761
25771
  '401': { $ref: '#/components/responses/Unauthorized' }
25772
+ '403': { description: 'X rejected the request (e.g. suspended account, missing OAuth scope)' }
25762
25773
  '404': { description: Account not found }
25763
25774
 
25764
25775
  /v1/twitter/follow:
@@ -25796,6 +25807,7 @@ paths:
25796
25807
  platform: { type: string, example: twitter }
25797
25808
  '400': { description: Bad request or platform limitation }
25798
25809
  '401': { $ref: '#/components/responses/Unauthorized' }
25810
+ '403': { description: 'X rejected the request (e.g. suspended account, missing OAuth scope)' }
25799
25811
  '404': { description: Account not found }
25800
25812
  delete:
25801
25813
  operationId: unfollowUser
@@ -25828,6 +25840,7 @@ paths:
25828
25840
  platform: { type: string, example: twitter }
25829
25841
  '400': { description: Bad request }
25830
25842
  '401': { $ref: '#/components/responses/Unauthorized' }
25843
+ '403': { description: 'X rejected the request (e.g. suspended account, missing OAuth scope)' }
25831
25844
  '404': { description: Account not found }
25832
25845
 
25833
25846
  /v1/twitter/search:
@@ -146,7 +146,7 @@ describe 'PostsApi' do
146
146
 
147
147
  # unit tests for update_post
148
148
  # Update post
149
- # Update an existing post. Draft, scheduled, failed, partial, and cancelled posts can be edited. Published posts can only have their recycling config updated. To promote a draft to scheduled, send &#x60;isDraft: false&#x60; together with &#x60;scheduledFor&#x60; (or &#x60;publishNow: true&#x60;, or &#x60;queuedFromProfile&#x60;). If &#x60;isDraft&#x60; is omitted the post keeps its current draft status, so sending only &#x60;scheduledFor&#x60; to a draft returns 200 but the post remains a draft.
149
+ # Update an existing post. Draft, scheduled, failed, partial, and cancelled posts can be edited. Published posts can only have their recycling config updated. To promote a draft to scheduled, send &#x60;isDraft: false&#x60; together with &#x60;scheduledFor&#x60; (or &#x60;publishNow: true&#x60;, or &#x60;queuedFromProfile&#x60;). If &#x60;isDraft&#x60; is omitted the post keeps its current draft status, so sending only &#x60;scheduledFor&#x60; to a draft returns 200 but the post remains a draft. Non-draft updates run the same per-platform validation as post creation (media requirements, platform-specific field rules, etc.) against the resulting platforms, returning 400 on failure.
150
150
  # @param post_id
151
151
  # @param update_post_request
152
152
  # @param [Hash] opts the optional parameters
@@ -39,4 +39,10 @@ describe Zernio::PostUpdateResponse do
39
39
  end
40
40
  end
41
41
 
42
+ describe 'test attribute "warnings"' 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
+
42
48
  end
Binary file
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: late-sdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.670
4
+ version: 0.0.672
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenAPI-Generator
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-08-05 00:00:00.000000000 Z
11
+ date: 2026-08-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus
@@ -4982,7 +4982,7 @@ files:
4982
4982
  - spec/models/you_tube_video_retention_response_retention_curve_inner_spec.rb
4983
4983
  - spec/models/you_tube_video_retention_response_spec.rb
4984
4984
  - spec/spec_helper.rb
4985
- - zernio-sdk-0.0.670.gem
4985
+ - zernio-sdk-0.0.672.gem
4986
4986
  - zernio-sdk.gemspec
4987
4987
  homepage: https://openapi-generator.tech
4988
4988
  licenses:
Binary file