zernio-sdk 0.0.526 → 0.0.527

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: 77f6144ef44a98297cee25ab4bb0e064a7df7d5365369f5ec8c2ccb26d1c9ac1
4
- data.tar.gz: 0b2805651f93fc9039d4811ef3a350f851589d8b73f873225b21c07dea8003a9
3
+ metadata.gz: 993a8b5e915ce68f01e62c2a5164906d7b7b461066671612dace526f2c5f7322
4
+ data.tar.gz: db65e798dbc41cdfeb336abffc6883e4c464b3045e00f287e574f070aec82bf8
5
5
  SHA512:
6
- metadata.gz: 7ca42a1a9a7a56eca84f15e6e615eca720b2e4ece853541e9488b1ccb9eace0bb2a4f8794d0415eddfb721d0d48385bb4994ac958818378f157a17376bc275ee
7
- data.tar.gz: 2eda0cb5d7d4057d8851963b351b01fb7b72e8c62ef1f57eda1ca97cb3259dc2d8fe3217a0e2c3dbdc5a39a316e3840fe6a6bbca57312f0a9afdffa5a104d92f
6
+ metadata.gz: 985689b6d5b2c191463e66e6692f3aba988e0f5e5f7e01255a1f785ce3aaf3c563dea81cf0c9b40b819f30ffc08b7e4fdbc8f0470e7cbae64c1cc79a99da208d
7
+ data.tar.gz: 17bfcbd5e6ffd3e677c6dc2c5a5cd0731ad7b5a7fa3518cc9d7c1f5e16f3285e9593ea934e23c57cff247d7a8765a1e386e4c30efc7c2521c0f3c266f09f5dcd
@@ -6,6 +6,7 @@
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **account_id** | **String** | | |
8
8
  | **message** | **String** | | |
9
+ | **attachment_url** | **String** | (Facebook only) URL of an image to attach, publishing a photo comment alongside the text. The URL must be publicly accessible so Meta can fetch it. Returns 400 for other platforms. | [optional] |
9
10
  | **comment_id** | **String** | Reply to specific comment (optional) | [optional] |
10
11
  | **parent_cid** | **String** | (Bluesky only) Parent content identifier | [optional] |
11
12
  | **root_uri** | **String** | (Bluesky only) Root post URI | [optional] |
@@ -19,6 +20,7 @@ require 'zernio-sdk'
19
20
  instance = Zernio::ReplyToInboxPostRequest.new(
20
21
  account_id: null,
21
22
  message: null,
23
+ attachment_url: null,
22
24
  comment_id: null,
23
25
  parent_cid: null,
24
26
  root_uri: null,
@@ -19,6 +19,9 @@ module Zernio
19
19
 
20
20
  attr_accessor :message
21
21
 
22
+ # (Facebook only) URL of an image to attach, publishing a photo comment alongside the text. The URL must be publicly accessible so Meta can fetch it. Returns 400 for other platforms.
23
+ attr_accessor :attachment_url
24
+
22
25
  # Reply to specific comment (optional)
23
26
  attr_accessor :comment_id
24
27
 
@@ -36,6 +39,7 @@ module Zernio
36
39
  {
37
40
  :'account_id' => :'accountId',
38
41
  :'message' => :'message',
42
+ :'attachment_url' => :'attachmentUrl',
39
43
  :'comment_id' => :'commentId',
40
44
  :'parent_cid' => :'parentCid',
41
45
  :'root_uri' => :'rootUri',
@@ -58,6 +62,7 @@ module Zernio
58
62
  {
59
63
  :'account_id' => :'String',
60
64
  :'message' => :'String',
65
+ :'attachment_url' => :'String',
61
66
  :'comment_id' => :'String',
62
67
  :'parent_cid' => :'String',
63
68
  :'root_uri' => :'String',
@@ -99,6 +104,10 @@ module Zernio
99
104
  self.message = nil
100
105
  end
101
106
 
107
+ if attributes.key?(:'attachment_url')
108
+ self.attachment_url = attributes[:'attachment_url']
109
+ end
110
+
102
111
  if attributes.key?(:'comment_id')
103
112
  self.comment_id = attributes[:'comment_id']
104
113
  end
@@ -168,6 +177,7 @@ module Zernio
168
177
  self.class == o.class &&
169
178
  account_id == o.account_id &&
170
179
  message == o.message &&
180
+ attachment_url == o.attachment_url &&
171
181
  comment_id == o.comment_id &&
172
182
  parent_cid == o.parent_cid &&
173
183
  root_uri == o.root_uri &&
@@ -183,7 +193,7 @@ module Zernio
183
193
  # Calculates hash code according to all attributes.
184
194
  # @return [Integer] Hash code
185
195
  def hash
186
- [account_id, message, comment_id, parent_cid, root_uri, root_cid].hash
196
+ [account_id, message, attachment_url, comment_id, parent_cid, root_uri, root_cid].hash
187
197
  end
188
198
 
189
199
  # 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.526'
14
+ VERSION = '0.0.527'
15
15
  end
data/openapi.yaml CHANGED
@@ -22978,6 +22978,10 @@ paths:
22978
22978
  properties:
22979
22979
  accountId: { type: string }
22980
22980
  message: { type: string }
22981
+ attachmentUrl:
22982
+ type: string
22983
+ format: uri
22984
+ description: '(Facebook only) URL of an image to attach, publishing a photo comment alongside the text. The URL must be publicly accessible so Meta can fetch it. Returns 400 for other platforms.'
22981
22985
  commentId: { type: string, description: Reply to specific comment (optional) }
22982
22986
  parentCid: { type: string, description: (Bluesky only) Parent content identifier }
22983
22987
  rootUri: { type: string, description: (Bluesky only) Root post URI }
@@ -22997,6 +23001,8 @@ paths:
22997
23001
  commentId: { type: string }
22998
23002
  isReply: { type: boolean }
22999
23003
  cid: { type: [string, "null"], description: Bluesky CID }
23004
+ '400':
23005
+ description: 'Invalid request (e.g. attachmentUrl on a platform other than Facebook, code PLATFORM_NOT_SUPPORTED)'
23000
23006
  '401': { $ref: '#/components/responses/Unauthorized' }
23001
23007
  '403':
23002
23008
  description: Inbox addon required
@@ -39,6 +39,12 @@ describe Zernio::ReplyToInboxPostRequest do
39
39
  end
40
40
  end
41
41
 
42
+ describe 'test attribute "attachment_url"' 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
  describe 'test attribute "comment_id"' do
43
49
  it 'should work' do
44
50
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zernio-sdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.526
4
+ version: 0.0.527
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-07-19 00:00:00.000000000 Z
11
+ date: 2026-07-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus