zernio-sdk 0.0.70 → 0.0.72

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: 6fdb63feb621742679478b89bd0eedf5fda325c98694ff106c6f322ef794f72e
4
- data.tar.gz: df857c6553b5a30b8720e73c9a98f6f6def37c95e752e4bd5e7e2d157f81bfa8
3
+ metadata.gz: 93c7276a3c2de2c3a3974f478e19d1c58afab7ddc1db595a03befe24cf10f3dc
4
+ data.tar.gz: 126176ad8a3034cf2cb484d08cea89be12fbf59305bbd9b93c4bb5652be36c75
5
5
  SHA512:
6
- metadata.gz: 5ab30aa7aa629f1daac01205e267340ab1158b1795a1af86bc784c108a7548616cc2c6a635224db8f67d2368c7df4a636af6df481d0ff54646bc6f7055cd4491
7
- data.tar.gz: 7cba8f4ca6588b732070c894d33c77126eebac5f10a0e6abdffe8c1301d48379140fd1788f70ef3557d31288699fadd655c65c5bd7dfeb5c11aff3cd0518a338
6
+ metadata.gz: c2248716f875090317a80b9d1cbcf001404355dadcf21f85a211637ff92f5c4e50146a983d92672aa4088599391d65bc9d2d65192cd43da5d1ebabb683d5eff3
7
+ data.tar.gz: 2a1dc0e1dc2754d68575c1da4827db863f0c9cc1bddd5678191edeb26588efe502e022e7ad423297d7a36e3a4a0254e18c795afd51430c89620e76dcb78c7fd7
data/docs/AnalyticsApi.md CHANGED
@@ -43,6 +43,7 @@ opts = {
43
43
  post_id: 'post_id_example', # String | Returns analytics for a single post. Accepts both Zernio Post IDs and External Post IDs. Zernio IDs are auto-resolved to External Post analytics.
44
44
  platform: 'platform_example', # String | Filter by platform (default \"all\")
45
45
  profile_id: 'profile_id_example', # String | Filter by profile ID (default \"all\")
46
+ account_id: 'account_id_example', # String | Filter by social account ID
46
47
  source: 'all', # String | Filter by post source: late (posted via Zernio API), external (synced from platform), all (default)
47
48
  from_date: Date.parse('2013-10-20'), # Date | Inclusive lower bound (YYYY-MM-DD). Defaults to 90 days ago if omitted. Max range is 366 days.
48
49
  to_date: Date.parse('2013-10-20'), # Date | Inclusive upper bound (YYYY-MM-DD). Defaults to today if omitted.
@@ -86,6 +87,7 @@ end
86
87
  | **post_id** | **String** | Returns analytics for a single post. Accepts both Zernio Post IDs and External Post IDs. Zernio IDs are auto-resolved to External Post analytics. | [optional] |
87
88
  | **platform** | **String** | Filter by platform (default \"all\") | [optional] |
88
89
  | **profile_id** | **String** | Filter by profile ID (default \"all\") | [optional] |
90
+ | **account_id** | **String** | Filter by social account ID | [optional] |
89
91
  | **source** | **String** | Filter by post source: late (posted via Zernio API), external (synced from platform), all (default) | [optional][default to 'all'] |
90
92
  | **from_date** | **Date** | Inclusive lower bound (YYYY-MM-DD). Defaults to 90 days ago if omitted. Max range is 366 days. | [optional] |
91
93
  | **to_date** | **Date** | Inclusive upper bound (YYYY-MM-DD). Defaults to today if omitted. | [optional] |
@@ -281,6 +283,7 @@ api_instance = Late::AnalyticsApi.new
281
283
  opts = {
282
284
  platform: 'platform_example', # String | Filter by platform (e.g. \"instagram\", \"tiktok\"). Omit for all platforms.
283
285
  profile_id: 'profile_id_example', # String | Filter by profile ID. Omit for all profiles.
286
+ account_id: 'account_id_example', # String | Filter by social account ID
284
287
  from_date: Time.parse('2013-10-20T19:20:30+01:00'), # Time | Inclusive start date (ISO 8601). Defaults to 180 days ago.
285
288
  to_date: Time.parse('2013-10-20T19:20:30+01:00'), # Time | Inclusive end date (ISO 8601). Defaults to now.
286
289
  source: 'all' # String | Filter by post origin. \"late\" for posts published via Zernio, \"external\" for posts imported from platforms.
@@ -319,6 +322,7 @@ end
319
322
  | ---- | ---- | ----------- | ----- |
320
323
  | **platform** | **String** | Filter by platform (e.g. \"instagram\", \"tiktok\"). Omit for all platforms. | [optional] |
321
324
  | **profile_id** | **String** | Filter by profile ID. Omit for all profiles. | [optional] |
325
+ | **account_id** | **String** | Filter by social account ID | [optional] |
322
326
  | **from_date** | **Time** | Inclusive start date (ISO 8601). Defaults to 180 days ago. | [optional] |
323
327
  | **to_date** | **Time** | Inclusive end date (ISO 8601). Defaults to now. | [optional] |
324
328
  | **source** | **String** | Filter by post origin. \"late\" for posts published via Zernio, \"external\" for posts imported from platforms. | [optional][default to 'all'] |
@@ -7,7 +7,7 @@
7
7
  | **title** | **String** | | [optional] |
8
8
  | **content** | **String** | Post caption/text. Optional when media is attached or all platforms have customContent. Required for text-only posts. | [optional] |
9
9
  | **media_items** | [**Array<CreatePostRequestMediaItemsInner>**](CreatePostRequestMediaItemsInner.md) | | [optional] |
10
- | **platforms** | [**Array<CreatePostRequestPlatformsInner>**](CreatePostRequestPlatformsInner.md) | | [optional] |
10
+ | **platforms** | [**Array<CreatePostRequestPlatformsInner>**](CreatePostRequestPlatformsInner.md) | Target platforms and accounts for this post. Required for non-draft posts (returns 400 if empty). Drafts can omit platforms. | [optional] |
11
11
  | **scheduled_for** | **Time** | | [optional] |
12
12
  | **publish_now** | **Boolean** | | [optional][default to false] |
13
13
  | **is_draft** | **Boolean** | When true, saves the post as a draft. When none of scheduledFor, publishNow, or queuedFromProfile are provided, the post defaults to draft automatically. | [optional][default to false] |
@@ -25,6 +25,7 @@ module Late
25
25
  # @option opts [String] :post_id Returns analytics for a single post. Accepts both Zernio Post IDs and External Post IDs. Zernio IDs are auto-resolved to External Post analytics.
26
26
  # @option opts [String] :platform Filter by platform (default \"all\")
27
27
  # @option opts [String] :profile_id Filter by profile ID (default \"all\")
28
+ # @option opts [String] :account_id Filter by social account ID
28
29
  # @option opts [String] :source Filter by post source: late (posted via Zernio API), external (synced from platform), all (default) (default to 'all')
29
30
  # @option opts [Date] :from_date Inclusive lower bound (YYYY-MM-DD). Defaults to 90 days ago if omitted. Max range is 366 days.
30
31
  # @option opts [Date] :to_date Inclusive upper bound (YYYY-MM-DD). Defaults to today if omitted.
@@ -44,6 +45,7 @@ module Late
44
45
  # @option opts [String] :post_id Returns analytics for a single post. Accepts both Zernio Post IDs and External Post IDs. Zernio IDs are auto-resolved to External Post analytics.
45
46
  # @option opts [String] :platform Filter by platform (default \"all\")
46
47
  # @option opts [String] :profile_id Filter by profile ID (default \"all\")
48
+ # @option opts [String] :account_id Filter by social account ID
47
49
  # @option opts [String] :source Filter by post source: late (posted via Zernio API), external (synced from platform), all (default) (default to 'all')
48
50
  # @option opts [Date] :from_date Inclusive lower bound (YYYY-MM-DD). Defaults to 90 days ago if omitted. Max range is 366 days.
49
51
  # @option opts [Date] :to_date Inclusive upper bound (YYYY-MM-DD). Defaults to today if omitted.
@@ -88,6 +90,7 @@ module Late
88
90
  query_params[:'postId'] = opts[:'post_id'] if !opts[:'post_id'].nil?
89
91
  query_params[:'platform'] = opts[:'platform'] if !opts[:'platform'].nil?
90
92
  query_params[:'profileId'] = opts[:'profile_id'] if !opts[:'profile_id'].nil?
93
+ query_params[:'accountId'] = opts[:'account_id'] if !opts[:'account_id'].nil?
91
94
  query_params[:'source'] = opts[:'source'] if !opts[:'source'].nil?
92
95
  query_params[:'fromDate'] = opts[:'from_date'] if !opts[:'from_date'].nil?
93
96
  query_params[:'toDate'] = opts[:'to_date'] if !opts[:'to_date'].nil?
@@ -275,6 +278,7 @@ module Late
275
278
  # @param [Hash] opts the optional parameters
276
279
  # @option opts [String] :platform Filter by platform (e.g. \"instagram\", \"tiktok\"). Omit for all platforms.
277
280
  # @option opts [String] :profile_id Filter by profile ID. Omit for all profiles.
281
+ # @option opts [String] :account_id Filter by social account ID
278
282
  # @option opts [Time] :from_date Inclusive start date (ISO 8601). Defaults to 180 days ago.
279
283
  # @option opts [Time] :to_date Inclusive end date (ISO 8601). Defaults to now.
280
284
  # @option opts [String] :source Filter by post origin. \"late\" for posts published via Zernio, \"external\" for posts imported from platforms. (default to 'all')
@@ -289,6 +293,7 @@ module Late
289
293
  # @param [Hash] opts the optional parameters
290
294
  # @option opts [String] :platform Filter by platform (e.g. \"instagram\", \"tiktok\"). Omit for all platforms.
291
295
  # @option opts [String] :profile_id Filter by profile ID. Omit for all profiles.
296
+ # @option opts [String] :account_id Filter by social account ID
292
297
  # @option opts [Time] :from_date Inclusive start date (ISO 8601). Defaults to 180 days ago.
293
298
  # @option opts [Time] :to_date Inclusive end date (ISO 8601). Defaults to now.
294
299
  # @option opts [String] :source Filter by post origin. \"late\" for posts published via Zernio, \"external\" for posts imported from platforms. (default to 'all')
@@ -308,6 +313,7 @@ module Late
308
313
  query_params = opts[:query_params] || {}
309
314
  query_params[:'platform'] = opts[:'platform'] if !opts[:'platform'].nil?
310
315
  query_params[:'profileId'] = opts[:'profile_id'] if !opts[:'profile_id'].nil?
316
+ query_params[:'accountId'] = opts[:'account_id'] if !opts[:'account_id'].nil?
311
317
  query_params[:'fromDate'] = opts[:'from_date'] if !opts[:'from_date'].nil?
312
318
  query_params[:'toDate'] = opts[:'to_date'] if !opts[:'to_date'].nil?
313
319
  query_params[:'source'] = opts[:'source'] if !opts[:'source'].nil?
@@ -22,6 +22,7 @@ module Late
22
22
 
23
23
  attr_accessor :media_items
24
24
 
25
+ # Target platforms and accounts for this post. Required for non-draft posts (returns 400 if empty). Drafts can omit platforms.
25
26
  attr_accessor :platforms
26
27
 
27
28
  attr_accessor :scheduled_for
@@ -11,5 +11,5 @@ Generator version: 7.19.0
11
11
  =end
12
12
 
13
13
  module Late
14
- VERSION = '0.0.70'
14
+ VERSION = '0.0.72'
15
15
  end
data/openapi.yaml CHANGED
@@ -3081,6 +3081,10 @@ paths:
3081
3081
  in: query
3082
3082
  schema: { type: string }
3083
3083
  description: Filter by profile ID (default "all")
3084
+ - name: accountId
3085
+ in: query
3086
+ schema: { type: string }
3087
+ description: Filter by social account ID
3084
3088
  - name: source
3085
3089
  in: query
3086
3090
  schema: { type: string, enum: [all, late, external], default: all }
@@ -3693,6 +3697,10 @@ paths:
3693
3697
  in: query
3694
3698
  schema: { type: string }
3695
3699
  description: Filter by profile ID. Omit for all profiles.
3700
+ - name: accountId
3701
+ in: query
3702
+ schema: { type: string }
3703
+ description: Filter by social account ID
3696
3704
  - name: fromDate
3697
3705
  in: query
3698
3706
  schema: { type: string, format: date-time }
@@ -4685,6 +4693,7 @@ paths:
4685
4693
  url: { type: string, format: uri }
4686
4694
  platforms:
4687
4695
  type: array
4696
+ description: Target platforms and accounts for this post. Required for non-draft posts (returns 400 if empty). Drafts can omit platforms.
4688
4697
  items:
4689
4698
  type: object
4690
4699
  properties:
@@ -39,6 +39,7 @@ describe 'AnalyticsApi' do
39
39
  # @option opts [String] :post_id Returns analytics for a single post. Accepts both Zernio Post IDs and External Post IDs. Zernio IDs are auto-resolved to External Post analytics.
40
40
  # @option opts [String] :platform Filter by platform (default \"all\")
41
41
  # @option opts [String] :profile_id Filter by profile ID (default \"all\")
42
+ # @option opts [String] :account_id Filter by social account ID
42
43
  # @option opts [String] :source Filter by post source: late (posted via Zernio API), external (synced from platform), all (default)
43
44
  # @option opts [Date] :from_date Inclusive lower bound (YYYY-MM-DD). Defaults to 90 days ago if omitted. Max range is 366 days.
44
45
  # @option opts [Date] :to_date Inclusive upper bound (YYYY-MM-DD). Defaults to today if omitted.
@@ -87,6 +88,7 @@ describe 'AnalyticsApi' do
87
88
  # @param [Hash] opts the optional parameters
88
89
  # @option opts [String] :platform Filter by platform (e.g. \"instagram\", \"tiktok\"). Omit for all platforms.
89
90
  # @option opts [String] :profile_id Filter by profile ID. Omit for all profiles.
91
+ # @option opts [String] :account_id Filter by social account ID
90
92
  # @option opts [Time] :from_date Inclusive start date (ISO 8601). Defaults to 180 days ago.
91
93
  # @option opts [Time] :to_date Inclusive end date (ISO 8601). Defaults to now.
92
94
  # @option opts [String] :source Filter by post origin. \"late\" for posts published via Zernio, \"external\" for posts imported from platforms.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zernio-sdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.70
4
+ version: 0.0.72
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenAPI-Generator