late-sdk 0.0.720 → 0.0.721
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 +4 -4
- data/docs/AnalyticsListResponsePostsInner.md +9 -1
- data/docs/AnalyticsSinglePostResponse.md +9 -1
- data/docs/ExternalPostSummary.md +8 -0
- data/docs/ExternalPostWebhookPost.md +8 -0
- data/docs/ListWhatsAppAccountEvents200ResponseEventsInner.md +2 -0
- data/lib/zernio-sdk/models/analytics_list_response_posts_inner.rb +44 -4
- data/lib/zernio-sdk/models/analytics_single_post_response.rb +44 -4
- data/lib/zernio-sdk/models/external_post_summary.rb +41 -1
- data/lib/zernio-sdk/models/external_post_webhook_post.rb +41 -1
- data/lib/zernio-sdk/models/list_whats_app_account_events200_response_events_inner.rb +11 -1
- data/lib/zernio-sdk/version.rb +1 -1
- data/openapi.yaml +49 -0
- data/spec/models/analytics_list_response_posts_inner_spec.rb +24 -0
- data/spec/models/analytics_single_post_response_spec.rb +24 -0
- data/spec/models/external_post_summary_spec.rb +24 -0
- data/spec/models/external_post_webhook_post_spec.rb +24 -0
- data/spec/models/list_whats_app_account_events200_response_events_inner_spec.rb +6 -0
- data/zernio-sdk-0.0.721.gem +0 -0
- metadata +3 -3
- data/zernio-sdk-0.0.720.gem +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 3053ca3e6e819d143d60ad132678ed15479bf94b699bf87ea90cf8b8216cdb1c
|
|
4
|
+
data.tar.gz: d4d2be57f6c10a2c2748e35e276eb6781d249e6398397dc0ca8ad51178acba38
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 10f9815c9550fdeeb9d98ce69b5b8e950dc0fb967a0270b43f39a79971ae910db66dbd152fe01aeae7c913ecd47800db497fa369255e289de1d44153b0f19104
|
|
7
|
+
data.tar.gz: 94ce370cc6dd84bb80da20f68e4ecd4be1d34e41ab4490b4d2231c4ea6f58ba0fac66d79dc42053abe251b41601d3848920a22ca419b0d7122e9363892af7b7c
|
|
@@ -19,6 +19,10 @@
|
|
|
19
19
|
| **thumbnail_url** | **String** | | [optional] |
|
|
20
20
|
| **media_type** | **String** | | [optional] |
|
|
21
21
|
| **media_items** | [**Array<AnalyticsListResponsePostsInnerMediaItemsInner>**](AnalyticsListResponsePostsInnerMediaItemsInner.md) | All media items for this post. Carousel posts contain one entry per slide. | [optional] |
|
|
22
|
+
| **media_product_type** | **String** | Instagram only: the platform media product type (e.g. FEED, REELS, STORY, AD). Absent when the platform did not report it. | [optional] |
|
|
23
|
+
| **is_ai_generated** | **Boolean** | Instagram only: whether Instagram labeled the media as AI-generated. Absent when the platform did not report it. | [optional] |
|
|
24
|
+
| **is_shared_to_feed** | **Boolean** | Instagram reels only: whether the reel is also shared to the main feed. Absent when the platform did not report it. | [optional] |
|
|
25
|
+
| **media_audio_type** | **String** | Instagram only: audio type of the media (MUSIC or ORIGINAL_SOUND). Absent when the platform did not report it. | [optional] |
|
|
22
26
|
|
|
23
27
|
## Example
|
|
24
28
|
|
|
@@ -40,7 +44,11 @@ instance = Zernio::AnalyticsListResponsePostsInner.new(
|
|
|
40
44
|
profile_id: null,
|
|
41
45
|
thumbnail_url: null,
|
|
42
46
|
media_type: null,
|
|
43
|
-
media_items: null
|
|
47
|
+
media_items: null,
|
|
48
|
+
media_product_type: null,
|
|
49
|
+
is_ai_generated: null,
|
|
50
|
+
is_shared_to_feed: null,
|
|
51
|
+
media_audio_type: null
|
|
44
52
|
)
|
|
45
53
|
```
|
|
46
54
|
|
|
@@ -20,6 +20,10 @@
|
|
|
20
20
|
| **thumbnail_url** | **String** | | [optional] |
|
|
21
21
|
| **media_type** | **String** | | [optional] |
|
|
22
22
|
| **media_items** | [**Array<AnalyticsSinglePostResponseMediaItemsInner>**](AnalyticsSinglePostResponseMediaItemsInner.md) | All media items for this post. Carousel posts contain one entry per slide. | [optional] |
|
|
23
|
+
| **media_product_type** | **String** | Instagram only: the platform media product type (e.g. FEED, REELS, STORY, AD). Absent when the platform did not report it. | [optional] |
|
|
24
|
+
| **is_ai_generated** | **Boolean** | Instagram only: whether Instagram labeled the media as AI-generated. Absent when the platform did not report it. | [optional] |
|
|
25
|
+
| **is_shared_to_feed** | **Boolean** | Instagram reels only: whether the reel is also shared to the main feed. Absent when the platform did not report it. | [optional] |
|
|
26
|
+
| **media_audio_type** | **String** | Instagram only: audio type of the media (MUSIC or ORIGINAL_SOUND). Absent when the platform did not report it. | [optional] |
|
|
23
27
|
|
|
24
28
|
## Example
|
|
25
29
|
|
|
@@ -42,7 +46,11 @@ instance = Zernio::AnalyticsSinglePostResponse.new(
|
|
|
42
46
|
message: null,
|
|
43
47
|
thumbnail_url: null,
|
|
44
48
|
media_type: null,
|
|
45
|
-
media_items: null
|
|
49
|
+
media_items: null,
|
|
50
|
+
media_product_type: null,
|
|
51
|
+
is_ai_generated: null,
|
|
52
|
+
is_shared_to_feed: null,
|
|
53
|
+
media_audio_type: null
|
|
46
54
|
)
|
|
47
55
|
```
|
|
48
56
|
|
data/docs/ExternalPostSummary.md
CHANGED
|
@@ -12,6 +12,10 @@
|
|
|
12
12
|
| **media_type** | **String** | Media type (e.g. image, video, carousel) | [optional] |
|
|
13
13
|
| **thumbnail_url** | **String** | Thumbnail URL | [optional] |
|
|
14
14
|
| **media_items** | **Array<Object>** | Per-item media (for carousels / multi-media posts) | [optional] |
|
|
15
|
+
| **media_product_type** | **String** | Instagram only: the platform media product type (e.g. FEED, REELS, STORY, AD). Absent when the platform did not report it. | [optional] |
|
|
16
|
+
| **is_ai_generated** | **Boolean** | Instagram only: whether Instagram labeled the media as AI-generated. Absent when the platform did not report it. | [optional] |
|
|
17
|
+
| **is_shared_to_feed** | **Boolean** | Instagram reels only: whether the reel is also shared to the main feed. Absent when the platform did not report it. | [optional] |
|
|
18
|
+
| **media_audio_type** | **String** | Instagram only: audio type of the media (MUSIC or ORIGINAL_SOUND). Absent when the platform did not report it. | [optional] |
|
|
15
19
|
| **analytics** | [**ExternalPostSummaryAnalytics**](ExternalPostSummaryAnalytics.md) | | [optional] |
|
|
16
20
|
|
|
17
21
|
## Example
|
|
@@ -28,6 +32,10 @@ instance = Zernio::ExternalPostSummary.new(
|
|
|
28
32
|
media_type: null,
|
|
29
33
|
thumbnail_url: null,
|
|
30
34
|
media_items: null,
|
|
35
|
+
media_product_type: null,
|
|
36
|
+
is_ai_generated: null,
|
|
37
|
+
is_shared_to_feed: null,
|
|
38
|
+
media_audio_type: null,
|
|
31
39
|
analytics: null
|
|
32
40
|
)
|
|
33
41
|
```
|
|
@@ -13,6 +13,10 @@
|
|
|
13
13
|
| **media_items** | [**Array<ExternalPostMediaItem>**](ExternalPostMediaItem.md) | | |
|
|
14
14
|
| **thumbnail_url** | **String** | | |
|
|
15
15
|
| **published_at** | **Time** | | |
|
|
16
|
+
| **media_product_type** | **String** | Instagram only: the platform media product type (e.g. FEED, REELS, STORY, AD). Absent when the platform did not report it. | [optional] |
|
|
17
|
+
| **is_ai_generated** | **Boolean** | Instagram only: whether Instagram labeled the media as AI-generated. Absent when the platform did not report it. | [optional] |
|
|
18
|
+
| **is_shared_to_feed** | **Boolean** | Instagram reels only: whether the reel is also shared to the main feed. Absent when the platform did not report it. | [optional] |
|
|
19
|
+
| **media_audio_type** | **String** | Instagram only: audio type of the media (MUSIC or ORIGINAL_SOUND). Absent when the platform did not report it. | [optional] |
|
|
16
20
|
| **source** | **String** | Always \"external\" — distinguishes these from Zernio-originated post.* events. | |
|
|
17
21
|
| **deleted_at** | **Time** | Detection time of deletion. Present on post.external.deleted; null/absent otherwise. | [optional] |
|
|
18
22
|
|
|
@@ -31,6 +35,10 @@ instance = Zernio::ExternalPostWebhookPost.new(
|
|
|
31
35
|
media_items: null,
|
|
32
36
|
thumbnail_url: null,
|
|
33
37
|
published_at: null,
|
|
38
|
+
media_product_type: null,
|
|
39
|
+
is_ai_generated: null,
|
|
40
|
+
is_shared_to_feed: null,
|
|
41
|
+
media_audio_type: null,
|
|
34
42
|
source: null,
|
|
35
43
|
deleted_at: null
|
|
36
44
|
)
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
7
|
| **id** | **String** | | [optional] |
|
|
8
|
+
| **account_id** | **String** | WhatsApp social account the event belongs to | [optional] |
|
|
8
9
|
| **type** | **String** | Event kind, e.g. template_approved, template_rejected, account_restricted, account_disconnected | [optional] |
|
|
9
10
|
| **severity** | **String** | | [optional] |
|
|
10
11
|
| **title** | **String** | | [optional] |
|
|
@@ -18,6 +19,7 @@ require 'zernio-sdk'
|
|
|
18
19
|
|
|
19
20
|
instance = Zernio::ListWhatsAppAccountEvents200ResponseEventsInner.new(
|
|
20
21
|
id: null,
|
|
22
|
+
account_id: null,
|
|
21
23
|
type: null,
|
|
22
24
|
severity: null,
|
|
23
25
|
title: null,
|
|
@@ -47,6 +47,18 @@ module Zernio
|
|
|
47
47
|
# All media items for this post. Carousel posts contain one entry per slide.
|
|
48
48
|
attr_accessor :media_items
|
|
49
49
|
|
|
50
|
+
# Instagram only: the platform media product type (e.g. FEED, REELS, STORY, AD). Absent when the platform did not report it.
|
|
51
|
+
attr_accessor :media_product_type
|
|
52
|
+
|
|
53
|
+
# Instagram only: whether Instagram labeled the media as AI-generated. Absent when the platform did not report it.
|
|
54
|
+
attr_accessor :is_ai_generated
|
|
55
|
+
|
|
56
|
+
# Instagram reels only: whether the reel is also shared to the main feed. Absent when the platform did not report it.
|
|
57
|
+
attr_accessor :is_shared_to_feed
|
|
58
|
+
|
|
59
|
+
# Instagram only: audio type of the media (MUSIC or ORIGINAL_SOUND). Absent when the platform did not report it.
|
|
60
|
+
attr_accessor :media_audio_type
|
|
61
|
+
|
|
50
62
|
class EnumAttributeValidator
|
|
51
63
|
attr_reader :datatype
|
|
52
64
|
attr_reader :allowable_values
|
|
@@ -86,7 +98,11 @@ module Zernio
|
|
|
86
98
|
:'profile_id' => :'profileId',
|
|
87
99
|
:'thumbnail_url' => :'thumbnailUrl',
|
|
88
100
|
:'media_type' => :'mediaType',
|
|
89
|
-
:'media_items' => :'mediaItems'
|
|
101
|
+
:'media_items' => :'mediaItems',
|
|
102
|
+
:'media_product_type' => :'mediaProductType',
|
|
103
|
+
:'is_ai_generated' => :'isAiGenerated',
|
|
104
|
+
:'is_shared_to_feed' => :'isSharedToFeed',
|
|
105
|
+
:'media_audio_type' => :'mediaAudioType'
|
|
90
106
|
}
|
|
91
107
|
end
|
|
92
108
|
|
|
@@ -117,7 +133,11 @@ module Zernio
|
|
|
117
133
|
:'profile_id' => :'String',
|
|
118
134
|
:'thumbnail_url' => :'String',
|
|
119
135
|
:'media_type' => :'String',
|
|
120
|
-
:'media_items' => :'Array<AnalyticsListResponsePostsInnerMediaItemsInner>'
|
|
136
|
+
:'media_items' => :'Array<AnalyticsListResponsePostsInnerMediaItemsInner>',
|
|
137
|
+
:'media_product_type' => :'String',
|
|
138
|
+
:'is_ai_generated' => :'Boolean',
|
|
139
|
+
:'is_shared_to_feed' => :'Boolean',
|
|
140
|
+
:'media_audio_type' => :'String'
|
|
121
141
|
}
|
|
122
142
|
end
|
|
123
143
|
|
|
@@ -208,6 +228,22 @@ module Zernio
|
|
|
208
228
|
self.media_items = value
|
|
209
229
|
end
|
|
210
230
|
end
|
|
231
|
+
|
|
232
|
+
if attributes.key?(:'media_product_type')
|
|
233
|
+
self.media_product_type = attributes[:'media_product_type']
|
|
234
|
+
end
|
|
235
|
+
|
|
236
|
+
if attributes.key?(:'is_ai_generated')
|
|
237
|
+
self.is_ai_generated = attributes[:'is_ai_generated']
|
|
238
|
+
end
|
|
239
|
+
|
|
240
|
+
if attributes.key?(:'is_shared_to_feed')
|
|
241
|
+
self.is_shared_to_feed = attributes[:'is_shared_to_feed']
|
|
242
|
+
end
|
|
243
|
+
|
|
244
|
+
if attributes.key?(:'media_audio_type')
|
|
245
|
+
self.media_audio_type = attributes[:'media_audio_type']
|
|
246
|
+
end
|
|
211
247
|
end
|
|
212
248
|
|
|
213
249
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -256,7 +292,11 @@ module Zernio
|
|
|
256
292
|
profile_id == o.profile_id &&
|
|
257
293
|
thumbnail_url == o.thumbnail_url &&
|
|
258
294
|
media_type == o.media_type &&
|
|
259
|
-
media_items == o.media_items
|
|
295
|
+
media_items == o.media_items &&
|
|
296
|
+
media_product_type == o.media_product_type &&
|
|
297
|
+
is_ai_generated == o.is_ai_generated &&
|
|
298
|
+
is_shared_to_feed == o.is_shared_to_feed &&
|
|
299
|
+
media_audio_type == o.media_audio_type
|
|
260
300
|
end
|
|
261
301
|
|
|
262
302
|
# @see the `==` method
|
|
@@ -268,7 +308,7 @@ module Zernio
|
|
|
268
308
|
# Calculates hash code according to all attributes.
|
|
269
309
|
# @return [Integer] Hash code
|
|
270
310
|
def hash
|
|
271
|
-
[_id, late_post_id, content, scheduled_for, published_at, status, analytics, platforms, platform, platform_post_url, is_external, profile_id, thumbnail_url, media_type, media_items].hash
|
|
311
|
+
[_id, late_post_id, content, scheduled_for, published_at, status, analytics, platforms, platform, platform_post_url, is_external, profile_id, thumbnail_url, media_type, media_items, media_product_type, is_ai_generated, is_shared_to_feed, media_audio_type].hash
|
|
272
312
|
end
|
|
273
313
|
|
|
274
314
|
# Builds the object from hash
|
|
@@ -52,6 +52,18 @@ module Zernio
|
|
|
52
52
|
# All media items for this post. Carousel posts contain one entry per slide.
|
|
53
53
|
attr_accessor :media_items
|
|
54
54
|
|
|
55
|
+
# Instagram only: the platform media product type (e.g. FEED, REELS, STORY, AD). Absent when the platform did not report it.
|
|
56
|
+
attr_accessor :media_product_type
|
|
57
|
+
|
|
58
|
+
# Instagram only: whether Instagram labeled the media as AI-generated. Absent when the platform did not report it.
|
|
59
|
+
attr_accessor :is_ai_generated
|
|
60
|
+
|
|
61
|
+
# Instagram reels only: whether the reel is also shared to the main feed. Absent when the platform did not report it.
|
|
62
|
+
attr_accessor :is_shared_to_feed
|
|
63
|
+
|
|
64
|
+
# Instagram only: audio type of the media (MUSIC or ORIGINAL_SOUND). Absent when the platform did not report it.
|
|
65
|
+
attr_accessor :media_audio_type
|
|
66
|
+
|
|
55
67
|
class EnumAttributeValidator
|
|
56
68
|
attr_reader :datatype
|
|
57
69
|
attr_reader :allowable_values
|
|
@@ -92,7 +104,11 @@ module Zernio
|
|
|
92
104
|
:'message' => :'message',
|
|
93
105
|
:'thumbnail_url' => :'thumbnailUrl',
|
|
94
106
|
:'media_type' => :'mediaType',
|
|
95
|
-
:'media_items' => :'mediaItems'
|
|
107
|
+
:'media_items' => :'mediaItems',
|
|
108
|
+
:'media_product_type' => :'mediaProductType',
|
|
109
|
+
:'is_ai_generated' => :'isAiGenerated',
|
|
110
|
+
:'is_shared_to_feed' => :'isSharedToFeed',
|
|
111
|
+
:'media_audio_type' => :'mediaAudioType'
|
|
96
112
|
}
|
|
97
113
|
end
|
|
98
114
|
|
|
@@ -124,7 +140,11 @@ module Zernio
|
|
|
124
140
|
:'message' => :'String',
|
|
125
141
|
:'thumbnail_url' => :'String',
|
|
126
142
|
:'media_type' => :'String',
|
|
127
|
-
:'media_items' => :'Array<AnalyticsSinglePostResponseMediaItemsInner>'
|
|
143
|
+
:'media_items' => :'Array<AnalyticsSinglePostResponseMediaItemsInner>',
|
|
144
|
+
:'media_product_type' => :'String',
|
|
145
|
+
:'is_ai_generated' => :'Boolean',
|
|
146
|
+
:'is_shared_to_feed' => :'Boolean',
|
|
147
|
+
:'media_audio_type' => :'String'
|
|
128
148
|
}
|
|
129
149
|
end
|
|
130
150
|
|
|
@@ -223,6 +243,22 @@ module Zernio
|
|
|
223
243
|
self.media_items = value
|
|
224
244
|
end
|
|
225
245
|
end
|
|
246
|
+
|
|
247
|
+
if attributes.key?(:'media_product_type')
|
|
248
|
+
self.media_product_type = attributes[:'media_product_type']
|
|
249
|
+
end
|
|
250
|
+
|
|
251
|
+
if attributes.key?(:'is_ai_generated')
|
|
252
|
+
self.is_ai_generated = attributes[:'is_ai_generated']
|
|
253
|
+
end
|
|
254
|
+
|
|
255
|
+
if attributes.key?(:'is_shared_to_feed')
|
|
256
|
+
self.is_shared_to_feed = attributes[:'is_shared_to_feed']
|
|
257
|
+
end
|
|
258
|
+
|
|
259
|
+
if attributes.key?(:'media_audio_type')
|
|
260
|
+
self.media_audio_type = attributes[:'media_audio_type']
|
|
261
|
+
end
|
|
226
262
|
end
|
|
227
263
|
|
|
228
264
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -296,7 +332,11 @@ module Zernio
|
|
|
296
332
|
message == o.message &&
|
|
297
333
|
thumbnail_url == o.thumbnail_url &&
|
|
298
334
|
media_type == o.media_type &&
|
|
299
|
-
media_items == o.media_items
|
|
335
|
+
media_items == o.media_items &&
|
|
336
|
+
media_product_type == o.media_product_type &&
|
|
337
|
+
is_ai_generated == o.is_ai_generated &&
|
|
338
|
+
is_shared_to_feed == o.is_shared_to_feed &&
|
|
339
|
+
media_audio_type == o.media_audio_type
|
|
300
340
|
end
|
|
301
341
|
|
|
302
342
|
# @see the `==` method
|
|
@@ -308,7 +348,7 @@ module Zernio
|
|
|
308
348
|
# Calculates hash code according to all attributes.
|
|
309
349
|
# @return [Integer] Hash code
|
|
310
350
|
def hash
|
|
311
|
-
[post_id, late_post_id, status, content, scheduled_for, published_at, analytics, platform_analytics, platform, platform_post_url, is_external, sync_status, message, thumbnail_url, media_type, media_items].hash
|
|
351
|
+
[post_id, late_post_id, status, content, scheduled_for, published_at, analytics, platform_analytics, platform, platform_post_url, is_external, sync_status, message, thumbnail_url, media_type, media_items, media_product_type, is_ai_generated, is_shared_to_feed, media_audio_type].hash
|
|
312
352
|
end
|
|
313
353
|
|
|
314
354
|
# Builds the object from hash
|
|
@@ -40,6 +40,18 @@ module Zernio
|
|
|
40
40
|
# Per-item media (for carousels / multi-media posts)
|
|
41
41
|
attr_accessor :media_items
|
|
42
42
|
|
|
43
|
+
# Instagram only: the platform media product type (e.g. FEED, REELS, STORY, AD). Absent when the platform did not report it.
|
|
44
|
+
attr_accessor :media_product_type
|
|
45
|
+
|
|
46
|
+
# Instagram only: whether Instagram labeled the media as AI-generated. Absent when the platform did not report it.
|
|
47
|
+
attr_accessor :is_ai_generated
|
|
48
|
+
|
|
49
|
+
# Instagram reels only: whether the reel is also shared to the main feed. Absent when the platform did not report it.
|
|
50
|
+
attr_accessor :is_shared_to_feed
|
|
51
|
+
|
|
52
|
+
# Instagram only: audio type of the media (MUSIC or ORIGINAL_SOUND). Absent when the platform did not report it.
|
|
53
|
+
attr_accessor :media_audio_type
|
|
54
|
+
|
|
43
55
|
attr_accessor :analytics
|
|
44
56
|
|
|
45
57
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
@@ -53,6 +65,10 @@ module Zernio
|
|
|
53
65
|
:'media_type' => :'mediaType',
|
|
54
66
|
:'thumbnail_url' => :'thumbnailUrl',
|
|
55
67
|
:'media_items' => :'mediaItems',
|
|
68
|
+
:'media_product_type' => :'mediaProductType',
|
|
69
|
+
:'is_ai_generated' => :'isAiGenerated',
|
|
70
|
+
:'is_shared_to_feed' => :'isSharedToFeed',
|
|
71
|
+
:'media_audio_type' => :'mediaAudioType',
|
|
56
72
|
:'analytics' => :'analytics'
|
|
57
73
|
}
|
|
58
74
|
end
|
|
@@ -78,6 +94,10 @@ module Zernio
|
|
|
78
94
|
:'media_type' => :'String',
|
|
79
95
|
:'thumbnail_url' => :'String',
|
|
80
96
|
:'media_items' => :'Array<Object>',
|
|
97
|
+
:'media_product_type' => :'String',
|
|
98
|
+
:'is_ai_generated' => :'Boolean',
|
|
99
|
+
:'is_shared_to_feed' => :'Boolean',
|
|
100
|
+
:'media_audio_type' => :'String',
|
|
81
101
|
:'analytics' => :'ExternalPostSummaryAnalytics'
|
|
82
102
|
}
|
|
83
103
|
end
|
|
@@ -138,6 +158,22 @@ module Zernio
|
|
|
138
158
|
end
|
|
139
159
|
end
|
|
140
160
|
|
|
161
|
+
if attributes.key?(:'media_product_type')
|
|
162
|
+
self.media_product_type = attributes[:'media_product_type']
|
|
163
|
+
end
|
|
164
|
+
|
|
165
|
+
if attributes.key?(:'is_ai_generated')
|
|
166
|
+
self.is_ai_generated = attributes[:'is_ai_generated']
|
|
167
|
+
end
|
|
168
|
+
|
|
169
|
+
if attributes.key?(:'is_shared_to_feed')
|
|
170
|
+
self.is_shared_to_feed = attributes[:'is_shared_to_feed']
|
|
171
|
+
end
|
|
172
|
+
|
|
173
|
+
if attributes.key?(:'media_audio_type')
|
|
174
|
+
self.media_audio_type = attributes[:'media_audio_type']
|
|
175
|
+
end
|
|
176
|
+
|
|
141
177
|
if attributes.key?(:'analytics')
|
|
142
178
|
self.analytics = attributes[:'analytics']
|
|
143
179
|
end
|
|
@@ -171,6 +207,10 @@ module Zernio
|
|
|
171
207
|
media_type == o.media_type &&
|
|
172
208
|
thumbnail_url == o.thumbnail_url &&
|
|
173
209
|
media_items == o.media_items &&
|
|
210
|
+
media_product_type == o.media_product_type &&
|
|
211
|
+
is_ai_generated == o.is_ai_generated &&
|
|
212
|
+
is_shared_to_feed == o.is_shared_to_feed &&
|
|
213
|
+
media_audio_type == o.media_audio_type &&
|
|
174
214
|
analytics == o.analytics
|
|
175
215
|
end
|
|
176
216
|
|
|
@@ -183,7 +223,7 @@ module Zernio
|
|
|
183
223
|
# Calculates hash code according to all attributes.
|
|
184
224
|
# @return [Integer] Hash code
|
|
185
225
|
def hash
|
|
186
|
-
[platform, platform_post_id, platform_post_url, content, published_at, media_type, thumbnail_url, media_items, analytics].hash
|
|
226
|
+
[platform, platform_post_id, platform_post_url, content, published_at, media_type, thumbnail_url, media_items, media_product_type, is_ai_generated, is_shared_to_feed, media_audio_type, analytics].hash
|
|
187
227
|
end
|
|
188
228
|
|
|
189
229
|
# Builds the object from hash
|
|
@@ -40,6 +40,18 @@ module Zernio
|
|
|
40
40
|
|
|
41
41
|
attr_accessor :published_at
|
|
42
42
|
|
|
43
|
+
# Instagram only: the platform media product type (e.g. FEED, REELS, STORY, AD). Absent when the platform did not report it.
|
|
44
|
+
attr_accessor :media_product_type
|
|
45
|
+
|
|
46
|
+
# Instagram only: whether Instagram labeled the media as AI-generated. Absent when the platform did not report it.
|
|
47
|
+
attr_accessor :is_ai_generated
|
|
48
|
+
|
|
49
|
+
# Instagram reels only: whether the reel is also shared to the main feed. Absent when the platform did not report it.
|
|
50
|
+
attr_accessor :is_shared_to_feed
|
|
51
|
+
|
|
52
|
+
# Instagram only: audio type of the media (MUSIC or ORIGINAL_SOUND). Absent when the platform did not report it.
|
|
53
|
+
attr_accessor :media_audio_type
|
|
54
|
+
|
|
43
55
|
# Always \"external\" — distinguishes these from Zernio-originated post.* events.
|
|
44
56
|
attr_accessor :source
|
|
45
57
|
|
|
@@ -80,6 +92,10 @@ module Zernio
|
|
|
80
92
|
:'media_items' => :'mediaItems',
|
|
81
93
|
:'thumbnail_url' => :'thumbnailUrl',
|
|
82
94
|
:'published_at' => :'publishedAt',
|
|
95
|
+
:'media_product_type' => :'mediaProductType',
|
|
96
|
+
:'is_ai_generated' => :'isAiGenerated',
|
|
97
|
+
:'is_shared_to_feed' => :'isSharedToFeed',
|
|
98
|
+
:'media_audio_type' => :'mediaAudioType',
|
|
83
99
|
:'source' => :'source',
|
|
84
100
|
:'deleted_at' => :'deletedAt'
|
|
85
101
|
}
|
|
@@ -107,6 +123,10 @@ module Zernio
|
|
|
107
123
|
:'media_items' => :'Array<ExternalPostMediaItem>',
|
|
108
124
|
:'thumbnail_url' => :'String',
|
|
109
125
|
:'published_at' => :'Time',
|
|
126
|
+
:'media_product_type' => :'String',
|
|
127
|
+
:'is_ai_generated' => :'Boolean',
|
|
128
|
+
:'is_shared_to_feed' => :'Boolean',
|
|
129
|
+
:'media_audio_type' => :'String',
|
|
110
130
|
:'source' => :'String',
|
|
111
131
|
:'deleted_at' => :'Time'
|
|
112
132
|
}
|
|
@@ -193,6 +213,22 @@ module Zernio
|
|
|
193
213
|
self.published_at = nil
|
|
194
214
|
end
|
|
195
215
|
|
|
216
|
+
if attributes.key?(:'media_product_type')
|
|
217
|
+
self.media_product_type = attributes[:'media_product_type']
|
|
218
|
+
end
|
|
219
|
+
|
|
220
|
+
if attributes.key?(:'is_ai_generated')
|
|
221
|
+
self.is_ai_generated = attributes[:'is_ai_generated']
|
|
222
|
+
end
|
|
223
|
+
|
|
224
|
+
if attributes.key?(:'is_shared_to_feed')
|
|
225
|
+
self.is_shared_to_feed = attributes[:'is_shared_to_feed']
|
|
226
|
+
end
|
|
227
|
+
|
|
228
|
+
if attributes.key?(:'media_audio_type')
|
|
229
|
+
self.media_audio_type = attributes[:'media_audio_type']
|
|
230
|
+
end
|
|
231
|
+
|
|
196
232
|
if attributes.key?(:'source')
|
|
197
233
|
self.source = attributes[:'source']
|
|
198
234
|
else
|
|
@@ -355,6 +391,10 @@ module Zernio
|
|
|
355
391
|
media_items == o.media_items &&
|
|
356
392
|
thumbnail_url == o.thumbnail_url &&
|
|
357
393
|
published_at == o.published_at &&
|
|
394
|
+
media_product_type == o.media_product_type &&
|
|
395
|
+
is_ai_generated == o.is_ai_generated &&
|
|
396
|
+
is_shared_to_feed == o.is_shared_to_feed &&
|
|
397
|
+
media_audio_type == o.media_audio_type &&
|
|
358
398
|
source == o.source &&
|
|
359
399
|
deleted_at == o.deleted_at
|
|
360
400
|
end
|
|
@@ -368,7 +408,7 @@ module Zernio
|
|
|
368
408
|
# Calculates hash code according to all attributes.
|
|
369
409
|
# @return [Integer] Hash code
|
|
370
410
|
def hash
|
|
371
|
-
[id, platform, account_id, url, content, media_type, media_items, thumbnail_url, published_at, source, deleted_at].hash
|
|
411
|
+
[id, platform, account_id, url, content, media_type, media_items, thumbnail_url, published_at, media_product_type, is_ai_generated, is_shared_to_feed, media_audio_type, source, deleted_at].hash
|
|
372
412
|
end
|
|
373
413
|
|
|
374
414
|
# Builds the object from hash
|
|
@@ -17,6 +17,9 @@ module Zernio
|
|
|
17
17
|
class ListWhatsAppAccountEvents200ResponseEventsInner < ApiModelBase
|
|
18
18
|
attr_accessor :id
|
|
19
19
|
|
|
20
|
+
# WhatsApp social account the event belongs to
|
|
21
|
+
attr_accessor :account_id
|
|
22
|
+
|
|
20
23
|
# Event kind, e.g. template_approved, template_rejected, account_restricted, account_disconnected
|
|
21
24
|
attr_accessor :type
|
|
22
25
|
|
|
@@ -54,6 +57,7 @@ module Zernio
|
|
|
54
57
|
def self.attribute_map
|
|
55
58
|
{
|
|
56
59
|
:'id' => :'id',
|
|
60
|
+
:'account_id' => :'accountId',
|
|
57
61
|
:'type' => :'type',
|
|
58
62
|
:'severity' => :'severity',
|
|
59
63
|
:'title' => :'title',
|
|
@@ -76,6 +80,7 @@ module Zernio
|
|
|
76
80
|
def self.openapi_types
|
|
77
81
|
{
|
|
78
82
|
:'id' => :'String',
|
|
83
|
+
:'account_id' => :'String',
|
|
79
84
|
:'type' => :'String',
|
|
80
85
|
:'severity' => :'String',
|
|
81
86
|
:'title' => :'String',
|
|
@@ -111,6 +116,10 @@ module Zernio
|
|
|
111
116
|
self.id = attributes[:'id']
|
|
112
117
|
end
|
|
113
118
|
|
|
119
|
+
if attributes.key?(:'account_id')
|
|
120
|
+
self.account_id = attributes[:'account_id']
|
|
121
|
+
end
|
|
122
|
+
|
|
114
123
|
if attributes.key?(:'type')
|
|
115
124
|
self.type = attributes[:'type']
|
|
116
125
|
end
|
|
@@ -165,6 +174,7 @@ module Zernio
|
|
|
165
174
|
return true if self.equal?(o)
|
|
166
175
|
self.class == o.class &&
|
|
167
176
|
id == o.id &&
|
|
177
|
+
account_id == o.account_id &&
|
|
168
178
|
type == o.type &&
|
|
169
179
|
severity == o.severity &&
|
|
170
180
|
title == o.title &&
|
|
@@ -181,7 +191,7 @@ module Zernio
|
|
|
181
191
|
# Calculates hash code according to all attributes.
|
|
182
192
|
# @return [Integer] Hash code
|
|
183
193
|
def hash
|
|
184
|
-
[id, type, severity, title, detail, created_at].hash
|
|
194
|
+
[id, account_id, type, severity, title, detail, created_at].hash
|
|
185
195
|
end
|
|
186
196
|
|
|
187
197
|
# Builds the object from hash
|
data/lib/zernio-sdk/version.rb
CHANGED
data/openapi.yaml
CHANGED
|
@@ -1376,6 +1376,18 @@ components:
|
|
|
1376
1376
|
description: Per-item media (for carousels / multi-media posts)
|
|
1377
1377
|
items:
|
|
1378
1378
|
type: object
|
|
1379
|
+
mediaProductType:
|
|
1380
|
+
type: string
|
|
1381
|
+
description: 'Instagram only: the platform media product type (e.g. FEED, REELS, STORY, AD). Absent when the platform did not report it.'
|
|
1382
|
+
isAiGenerated:
|
|
1383
|
+
type: boolean
|
|
1384
|
+
description: 'Instagram only: whether Instagram labeled the media as AI-generated. Absent when the platform did not report it.'
|
|
1385
|
+
isSharedToFeed:
|
|
1386
|
+
type: boolean
|
|
1387
|
+
description: 'Instagram reels only: whether the reel is also shared to the main feed. Absent when the platform did not report it.'
|
|
1388
|
+
mediaAudioType:
|
|
1389
|
+
type: string
|
|
1390
|
+
description: 'Instagram only: audio type of the media (MUSIC or ORIGINAL_SOUND). Absent when the platform did not report it.'
|
|
1379
1391
|
analytics:
|
|
1380
1392
|
type: object
|
|
1381
1393
|
description: |
|
|
@@ -3097,6 +3109,18 @@ components:
|
|
|
3097
3109
|
publishedAt:
|
|
3098
3110
|
type: string
|
|
3099
3111
|
format: date-time
|
|
3112
|
+
mediaProductType:
|
|
3113
|
+
type: string
|
|
3114
|
+
description: 'Instagram only: the platform media product type (e.g. FEED, REELS, STORY, AD). Absent when the platform did not report it.'
|
|
3115
|
+
isAiGenerated:
|
|
3116
|
+
type: boolean
|
|
3117
|
+
description: 'Instagram only: whether Instagram labeled the media as AI-generated. Absent when the platform did not report it.'
|
|
3118
|
+
isSharedToFeed:
|
|
3119
|
+
type: boolean
|
|
3120
|
+
description: 'Instagram reels only: whether the reel is also shared to the main feed. Absent when the platform did not report it.'
|
|
3121
|
+
mediaAudioType:
|
|
3122
|
+
type: string
|
|
3123
|
+
description: 'Instagram only: audio type of the media (MUSIC or ORIGINAL_SOUND). Absent when the platform did not report it.'
|
|
3100
3124
|
source:
|
|
3101
3125
|
type: string
|
|
3102
3126
|
enum: [external]
|
|
@@ -7034,6 +7058,18 @@ components:
|
|
|
7034
7058
|
type: string
|
|
7035
7059
|
enum: [platform_withheld]
|
|
7036
7060
|
description: 'Why the file is missing. platform_withheld means the platform declined to return it and retrying will not help.'
|
|
7061
|
+
mediaProductType:
|
|
7062
|
+
type: string
|
|
7063
|
+
description: 'Instagram only: the platform media product type (e.g. FEED, REELS, STORY, AD). Absent when the platform did not report it.'
|
|
7064
|
+
isAiGenerated:
|
|
7065
|
+
type: boolean
|
|
7066
|
+
description: 'Instagram only: whether Instagram labeled the media as AI-generated. Absent when the platform did not report it.'
|
|
7067
|
+
isSharedToFeed:
|
|
7068
|
+
type: boolean
|
|
7069
|
+
description: 'Instagram reels only: whether the reel is also shared to the main feed. Absent when the platform did not report it.'
|
|
7070
|
+
mediaAudioType:
|
|
7071
|
+
type: string
|
|
7072
|
+
description: 'Instagram only: audio type of the media (MUSIC or ORIGINAL_SOUND). Absent when the platform did not report it.'
|
|
7037
7073
|
AnalyticsListResponse:
|
|
7038
7074
|
type: object
|
|
7039
7075
|
properties:
|
|
@@ -7074,6 +7110,18 @@ components:
|
|
|
7074
7110
|
altText:
|
|
7075
7111
|
type: string
|
|
7076
7112
|
description: Accessibility alt text set on the media, when present.
|
|
7113
|
+
mediaProductType:
|
|
7114
|
+
type: string
|
|
7115
|
+
description: 'Instagram only: the platform media product type (e.g. FEED, REELS, STORY, AD). Absent when the platform did not report it.'
|
|
7116
|
+
isAiGenerated:
|
|
7117
|
+
type: boolean
|
|
7118
|
+
description: 'Instagram only: whether Instagram labeled the media as AI-generated. Absent when the platform did not report it.'
|
|
7119
|
+
isSharedToFeed:
|
|
7120
|
+
type: boolean
|
|
7121
|
+
description: 'Instagram reels only: whether the reel is also shared to the main feed. Absent when the platform did not report it.'
|
|
7122
|
+
mediaAudioType:
|
|
7123
|
+
type: string
|
|
7124
|
+
description: 'Instagram only: audio type of the media (MUSIC or ORIGINAL_SOUND). Absent when the platform did not report it.'
|
|
7077
7125
|
pagination:
|
|
7078
7126
|
$ref: '#/components/schemas/Pagination'
|
|
7079
7127
|
accounts:
|
|
@@ -31645,6 +31693,7 @@ paths:
|
|
|
31645
31693
|
type: object
|
|
31646
31694
|
properties:
|
|
31647
31695
|
id: { type: string }
|
|
31696
|
+
accountId: { type: string, description: WhatsApp social account the event belongs to }
|
|
31648
31697
|
type: { type: string, description: 'Event kind, e.g. template_approved, template_rejected, account_restricted, account_disconnected' }
|
|
31649
31698
|
severity: { type: string, enum: [info, success, warning, critical] }
|
|
31650
31699
|
title: { type: string }
|
|
@@ -121,4 +121,28 @@ describe Zernio::AnalyticsListResponsePostsInner do
|
|
|
121
121
|
end
|
|
122
122
|
end
|
|
123
123
|
|
|
124
|
+
describe 'test attribute "media_product_type"' do
|
|
125
|
+
it 'should work' do
|
|
126
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
127
|
+
end
|
|
128
|
+
end
|
|
129
|
+
|
|
130
|
+
describe 'test attribute "is_ai_generated"' do
|
|
131
|
+
it 'should work' do
|
|
132
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
133
|
+
end
|
|
134
|
+
end
|
|
135
|
+
|
|
136
|
+
describe 'test attribute "is_shared_to_feed"' do
|
|
137
|
+
it 'should work' do
|
|
138
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
139
|
+
end
|
|
140
|
+
end
|
|
141
|
+
|
|
142
|
+
describe 'test attribute "media_audio_type"' do
|
|
143
|
+
it 'should work' do
|
|
144
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
145
|
+
end
|
|
146
|
+
end
|
|
147
|
+
|
|
124
148
|
end
|
|
@@ -135,4 +135,28 @@ describe Zernio::AnalyticsSinglePostResponse do
|
|
|
135
135
|
end
|
|
136
136
|
end
|
|
137
137
|
|
|
138
|
+
describe 'test attribute "media_product_type"' do
|
|
139
|
+
it 'should work' do
|
|
140
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
141
|
+
end
|
|
142
|
+
end
|
|
143
|
+
|
|
144
|
+
describe 'test attribute "is_ai_generated"' do
|
|
145
|
+
it 'should work' do
|
|
146
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
147
|
+
end
|
|
148
|
+
end
|
|
149
|
+
|
|
150
|
+
describe 'test attribute "is_shared_to_feed"' do
|
|
151
|
+
it 'should work' do
|
|
152
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
153
|
+
end
|
|
154
|
+
end
|
|
155
|
+
|
|
156
|
+
describe 'test attribute "media_audio_type"' do
|
|
157
|
+
it 'should work' do
|
|
158
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
159
|
+
end
|
|
160
|
+
end
|
|
161
|
+
|
|
138
162
|
end
|
|
@@ -75,6 +75,30 @@ describe Zernio::ExternalPostSummary do
|
|
|
75
75
|
end
|
|
76
76
|
end
|
|
77
77
|
|
|
78
|
+
describe 'test attribute "media_product_type"' do
|
|
79
|
+
it 'should work' do
|
|
80
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
81
|
+
end
|
|
82
|
+
end
|
|
83
|
+
|
|
84
|
+
describe 'test attribute "is_ai_generated"' do
|
|
85
|
+
it 'should work' do
|
|
86
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
87
|
+
end
|
|
88
|
+
end
|
|
89
|
+
|
|
90
|
+
describe 'test attribute "is_shared_to_feed"' do
|
|
91
|
+
it 'should work' do
|
|
92
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
93
|
+
end
|
|
94
|
+
end
|
|
95
|
+
|
|
96
|
+
describe 'test attribute "media_audio_type"' do
|
|
97
|
+
it 'should work' do
|
|
98
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
99
|
+
end
|
|
100
|
+
end
|
|
101
|
+
|
|
78
102
|
describe 'test attribute "analytics"' do
|
|
79
103
|
it 'should work' do
|
|
80
104
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
@@ -81,6 +81,30 @@ describe Zernio::ExternalPostWebhookPost do
|
|
|
81
81
|
end
|
|
82
82
|
end
|
|
83
83
|
|
|
84
|
+
describe 'test attribute "media_product_type"' do
|
|
85
|
+
it 'should work' do
|
|
86
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
87
|
+
end
|
|
88
|
+
end
|
|
89
|
+
|
|
90
|
+
describe 'test attribute "is_ai_generated"' do
|
|
91
|
+
it 'should work' do
|
|
92
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
93
|
+
end
|
|
94
|
+
end
|
|
95
|
+
|
|
96
|
+
describe 'test attribute "is_shared_to_feed"' do
|
|
97
|
+
it 'should work' do
|
|
98
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
99
|
+
end
|
|
100
|
+
end
|
|
101
|
+
|
|
102
|
+
describe 'test attribute "media_audio_type"' do
|
|
103
|
+
it 'should work' do
|
|
104
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
105
|
+
end
|
|
106
|
+
end
|
|
107
|
+
|
|
84
108
|
describe 'test attribute "source"' do
|
|
85
109
|
it 'should work' do
|
|
86
110
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
@@ -33,6 +33,12 @@ describe Zernio::ListWhatsAppAccountEvents200ResponseEventsInner do
|
|
|
33
33
|
end
|
|
34
34
|
end
|
|
35
35
|
|
|
36
|
+
describe 'test attribute "account_id"' do
|
|
37
|
+
it 'should work' do
|
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
|
|
36
42
|
describe 'test attribute "type"' do
|
|
37
43
|
it 'should work' do
|
|
38
44
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
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.
|
|
4
|
+
version: 0.0.721
|
|
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-
|
|
11
|
+
date: 2026-08-22 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: typhoeus
|
|
@@ -5318,7 +5318,7 @@ files:
|
|
|
5318
5318
|
- spec/models/you_tube_video_retention_response_retention_curve_inner_spec.rb
|
|
5319
5319
|
- spec/models/you_tube_video_retention_response_spec.rb
|
|
5320
5320
|
- spec/spec_helper.rb
|
|
5321
|
-
- zernio-sdk-0.0.
|
|
5321
|
+
- zernio-sdk-0.0.721.gem
|
|
5322
5322
|
- zernio-sdk.gemspec
|
|
5323
5323
|
homepage: https://openapi-generator.tech
|
|
5324
5324
|
licenses:
|
data/zernio-sdk-0.0.720.gem
DELETED
|
Binary file
|