late-sdk 0.0.567 → 0.0.569

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: f3ed1e05ad6ab97635f3c134c0a2bd2e571cae52d5a66703005265b0e7a60d79
4
- data.tar.gz: 30d21d6e59cfa7cc370c53c130f4335b3d6869ab5f74a9b09930aa73d88c5c50
3
+ metadata.gz: af548c7e84d5e28558c9bb866589f466987ba64c06476f8f472cf4d36e99eb7e
4
+ data.tar.gz: f66c0904d7cfafa0c38460b5b724e97d23643b09ba9f394f26cb2fc5f857bebb
5
5
  SHA512:
6
- metadata.gz: de18f5de9935b562068896da5bfd1ee573d886bc7860222f1192ec89ffb29a4e8e629ed3ac73755d0e30ea607009aaa1a6ee019c1db976957f324f08f8169c1b
7
- data.tar.gz: 87a8191b1077420d21c47bcf40cb14127a656d18e76fadd42ae4c7a7f6954a0ed22433e14430dbaac904c325a3407a2d33ff6d8785ead1c7b8eb6b209a458dfb
6
+ metadata.gz: d2ab78049256ae5e7536f0d074f754a7d297a4057bf3bdbb43d48714c60fe6d2b97712b6495764c173e92a1ca38d5ae23aeb34ceba57877d022c3c1bf1e485e8
7
+ data.tar.gz: 0ff504fcfef7f895fea9b98faf8417f33950f508aceeb1d77ae1859300201928584e916b578ac3b56e22268fa1053146051942db849978f9de3262c485803cfd
data/README.md CHANGED
@@ -604,6 +604,7 @@ Class | Method | HTTP request | Description
604
604
  - [Zernio::AdDailyMetrics](docs/AdDailyMetrics.md)
605
605
  - [Zernio::AdMetrics](docs/AdMetrics.md)
606
606
  - [Zernio::AdPromotedObject](docs/AdPromotedObject.md)
607
+ - [Zernio::AdReviewStatus](docs/AdReviewStatus.md)
607
608
  - [Zernio::AdSchedule](docs/AdSchedule.md)
608
609
  - [Zernio::AdStatus](docs/AdStatus.md)
609
610
  - [Zernio::AdTreeAdSet](docs/AdTreeAdSet.md)
data/docs/Ad.md CHANGED
@@ -7,7 +7,9 @@
7
7
  | **_id** | **String** | | [optional] |
8
8
  | **name** | **String** | | [optional] |
9
9
  | **platform** | **String** | | [optional] |
10
- | **status** | [**AdStatus**](AdStatus.md) | | [optional] |
10
+ | **status** | [**AdStatus**](AdStatus.md) | Delivery status. Derived from the platform `effective_status`, so it inherits ancestor pauses (an ACTIVE ad under a PAUSED campaign reads `paused`). For the ad's own on/off toggle use `configuredStatus`; for the review state use `reviewStatus`. | [optional] |
11
+ | **configured_status** | **String** | The ad's own on/off toggle as configured on the platform (Meta `configured_status`: ACTIVE / PAUSED), unaffected by ancestor (ad set / campaign) pauses. Distinct from `status`, which is the ancestor-cascaded delivery status. Only present for Meta ads synced after this field was added. | [optional] |
12
+ | **review_status** | [**AdReviewStatus**](AdReviewStatus.md) | Platform review state of this ad, independent of delivery `status` / `configuredStatus`. Absent when the platform reports no review signal. | [optional] |
11
13
  | **ad_type** | **String** | | [optional] |
12
14
  | **goal** | **String** | Available goals vary by platform. Meta (Facebook/Instagram) supports all 9 (incl. `lead_conversion` = website pixel lead optimization and `catalog_sales` = Advantage+ catalog ads). TikTok supports the 7 non-`lead_conversion` goals. LinkedIn supports all except app_promotion / lead_conversion. Twitter/X supports engagement, traffic, awareness, video_views, app_promotion. Pinterest and Google Ads support only engagement, traffic, awareness, video_views. | [optional] |
13
15
  | **is_external** | **Boolean** | True for ads synced from platform ad managers | [optional] |
@@ -44,6 +46,8 @@ instance = Zernio::Ad.new(
44
46
  name: null,
45
47
  platform: null,
46
48
  status: null,
49
+ configured_status: ACTIVE,
50
+ review_status: null,
47
51
  ad_type: null,
48
52
  goal: null,
49
53
  is_external: null,
data/docs/AdCampaign.md CHANGED
@@ -8,7 +8,7 @@
8
8
  | **platform** | **String** | | [optional] |
9
9
  | **campaign_name** | **String** | | [optional] |
10
10
  | **status** | [**AdStatus**](AdStatus.md) | Delivery status derived from child ad statuses. Distinct from `reviewStatus`. | [optional] |
11
- | **review_status** | **String** | Platform-side review state of the campaign. See AdTreeCampaign.reviewStatus for the full description. | [optional] |
11
+ | **review_status** | [**AdReviewStatus**](AdReviewStatus.md) | | [optional] |
12
12
  | **platform_campaign_status** | **String** | Raw platform-level campaign status (Meta `effective_status`). | [optional] |
13
13
  | **campaign_issues_info** | **Array<Object>** | Platform-reported campaign issues (Meta `issues_info[]`). | [optional] |
14
14
  | **ad_count** | **Integer** | | [optional] |
@@ -0,0 +1,15 @@
1
+ # Zernio::AdReviewStatus
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+
8
+ ## Example
9
+
10
+ ```ruby
11
+ require 'zernio-sdk'
12
+
13
+ instance = Zernio::AdReviewStatus.new()
14
+ ```
15
+
@@ -8,7 +8,7 @@
8
8
  | **platform** | **String** | | [optional] |
9
9
  | **campaign_name** | **String** | | [optional] |
10
10
  | **status** | [**AdStatus**](AdStatus.md) | Delivery status derived from child ad statuses. Distinct from `reviewStatus`, which reflects the platform-side review state. | [optional] |
11
- | **review_status** | **String** | Platform-side review state of the campaign. Independent of the children-derived delivery `status`: a campaign can have ads already active (status=active) while the campaign itself is still being reviewed by the platform (reviewStatus=in_review). For Meta, derived from `effective_status` + `issues_info` on the Campaign, plus ad-level PENDING_REVIEW rollup. | [optional] |
11
+ | **review_status** | [**AdReviewStatus**](AdReviewStatus.md) | | [optional] |
12
12
  | **platform_campaign_status** | **String** | Raw platform-level campaign status (Meta `effective_status`: ACTIVE, PAUSED, DELETED, ARCHIVED, IN_PROCESS, WITH_ISSUES). Distinct from per-ad `platformStatus`. | [optional] |
13
13
  | **campaign_issues_info** | **Array<Object>** | Platform-reported campaign issues (Meta `issues_info[]`). Populated only when the platform has delivery issues to report; contains the specific error codes and messages. | [optional] |
14
14
  | **ad_count** | **Integer** | Total ads across all ad sets | [optional] |
@@ -21,8 +21,15 @@ module Zernio
21
21
 
22
22
  attr_accessor :platform
23
23
 
24
+ # Delivery status. Derived from the platform `effective_status`, so it inherits ancestor pauses (an ACTIVE ad under a PAUSED campaign reads `paused`). For the ad's own on/off toggle use `configuredStatus`; for the review state use `reviewStatus`.
24
25
  attr_accessor :status
25
26
 
27
+ # The ad's own on/off toggle as configured on the platform (Meta `configured_status`: ACTIVE / PAUSED), unaffected by ancestor (ad set / campaign) pauses. Distinct from `status`, which is the ancestor-cascaded delivery status. Only present for Meta ads synced after this field was added.
28
+ attr_accessor :configured_status
29
+
30
+ # Platform review state of this ad, independent of delivery `status` / `configuredStatus`. Absent when the platform reports no review signal.
31
+ attr_accessor :review_status
32
+
26
33
  attr_accessor :ad_type
27
34
 
28
35
  # Available goals vary by platform. Meta (Facebook/Instagram) supports all 9 (incl. `lead_conversion` = website pixel lead optimization and `catalog_sales` = Advantage+ catalog ads). TikTok supports the 7 non-`lead_conversion` goals. LinkedIn supports all except app_promotion / lead_conversion. Twitter/X supports engagement, traffic, awareness, video_views, app_promotion. Pinterest and Google Ads support only engagement, traffic, awareness, video_views.
@@ -111,6 +118,8 @@ module Zernio
111
118
  :'name' => :'name',
112
119
  :'platform' => :'platform',
113
120
  :'status' => :'status',
121
+ :'configured_status' => :'configuredStatus',
122
+ :'review_status' => :'reviewStatus',
114
123
  :'ad_type' => :'adType',
115
124
  :'goal' => :'goal',
116
125
  :'is_external' => :'isExternal',
@@ -156,6 +165,8 @@ module Zernio
156
165
  :'name' => :'String',
157
166
  :'platform' => :'String',
158
167
  :'status' => :'AdStatus',
168
+ :'configured_status' => :'String',
169
+ :'review_status' => :'AdReviewStatus',
159
170
  :'ad_type' => :'String',
160
171
  :'goal' => :'String',
161
172
  :'is_external' => :'Boolean',
@@ -187,6 +198,7 @@ module Zernio
187
198
  # List of attributes with nullable: true
188
199
  def self.openapi_nullable
189
200
  Set.new([
201
+ :'configured_status',
190
202
  :'metrics',
191
203
  :'platform_objective',
192
204
  :'optimization_goal',
@@ -230,6 +242,14 @@ module Zernio
230
242
  self.status = attributes[:'status']
231
243
  end
232
244
 
245
+ if attributes.key?(:'configured_status')
246
+ self.configured_status = attributes[:'configured_status']
247
+ end
248
+
249
+ if attributes.key?(:'review_status')
250
+ self.review_status = attributes[:'review_status']
251
+ end
252
+
233
253
  if attributes.key?(:'ad_type')
234
254
  self.ad_type = attributes[:'ad_type']
235
255
  end
@@ -391,6 +411,8 @@ module Zernio
391
411
  name == o.name &&
392
412
  platform == o.platform &&
393
413
  status == o.status &&
414
+ configured_status == o.configured_status &&
415
+ review_status == o.review_status &&
394
416
  ad_type == o.ad_type &&
395
417
  goal == o.goal &&
396
418
  is_external == o.is_external &&
@@ -427,7 +449,7 @@ module Zernio
427
449
  # Calculates hash code according to all attributes.
428
450
  # @return [Integer] Hash code
429
451
  def hash
430
- [_id, name, platform, status, ad_type, goal, is_external, budget, metrics, platform_ad_id, platform_ad_account_id, platform_campaign_id, platform_ad_set_id, campaign_name, ad_set_name, platform_objective, optimization_goal, platform_ad_account_name, platform_created_at, bid_strategy, bid_amount, roas_average_floor, promoted_object, creative, targeting, schedule, rejection_reason, created_at, updated_at].hash
452
+ [_id, name, platform, status, configured_status, review_status, ad_type, goal, is_external, budget, metrics, platform_ad_id, platform_ad_account_id, platform_campaign_id, platform_ad_set_id, campaign_name, ad_set_name, platform_objective, optimization_goal, platform_ad_account_name, platform_created_at, bid_strategy, bid_amount, roas_average_floor, promoted_object, creative, targeting, schedule, rejection_reason, created_at, updated_at].hash
431
453
  end
432
454
 
433
455
  # Builds the object from hash
@@ -24,7 +24,6 @@ module Zernio
24
24
  # Delivery status derived from child ad statuses. Distinct from `reviewStatus`.
25
25
  attr_accessor :status
26
26
 
27
- # Platform-side review state of the campaign. See AdTreeCampaign.reviewStatus for the full description.
28
27
  attr_accessor :review_status
29
28
 
30
29
  # Raw platform-level campaign status (Meta `effective_status`).
@@ -154,7 +153,7 @@ module Zernio
154
153
  :'platform' => :'String',
155
154
  :'campaign_name' => :'String',
156
155
  :'status' => :'AdStatus',
157
- :'review_status' => :'String',
156
+ :'review_status' => :'AdReviewStatus',
158
157
  :'platform_campaign_status' => :'String',
159
158
  :'campaign_issues_info' => :'Array<Object>',
160
159
  :'ad_count' => :'Integer',
@@ -341,8 +340,6 @@ module Zernio
341
340
  warn '[DEPRECATED] the `valid?` method is obsolete'
342
341
  platform_validator = EnumAttributeValidator.new('String', ["facebook", "instagram", "tiktok", "linkedin", "pinterest", "google", "twitter", "openai"])
343
342
  return false unless platform_validator.valid?(@platform)
344
- review_status_validator = EnumAttributeValidator.new('String', ["in_review", "approved", "rejected", "with_issues"])
345
- return false unless review_status_validator.valid?(@review_status)
346
343
  budget_level_validator = EnumAttributeValidator.new('String', ["campaign", "adset"])
347
344
  return false unless budget_level_validator.valid?(@budget_level)
348
345
  true
@@ -358,16 +355,6 @@ module Zernio
358
355
  @platform = platform
359
356
  end
360
357
 
361
- # Custom attribute writer method checking allowed values (enum).
362
- # @param [Object] review_status Object to be assigned
363
- def review_status=(review_status)
364
- validator = EnumAttributeValidator.new('String', ["in_review", "approved", "rejected", "with_issues"])
365
- unless validator.valid?(review_status)
366
- fail ArgumentError, "invalid value for \"review_status\", must be one of #{validator.allowable_values}."
367
- end
368
- @review_status = review_status
369
- end
370
-
371
358
  # Custom attribute writer method checking allowed values (enum).
372
359
  # @param [Object] budget_level Object to be assigned
373
360
  def budget_level=(budget_level)
@@ -0,0 +1,42 @@
1
+ =begin
2
+ #Zernio API
3
+
4
+ #API reference for Zernio. Authenticate with a Bearer API key. Base URL: https://zernio.com/api
5
+
6
+ The version of the OpenAPI document: 1.0.4
7
+ Contact: support@zernio.com
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.19.0
10
+
11
+ =end
12
+
13
+ require 'date'
14
+ require 'time'
15
+
16
+ module Zernio
17
+ class AdReviewStatus
18
+ IN_REVIEW = "in_review".freeze
19
+ APPROVED = "approved".freeze
20
+ REJECTED = "rejected".freeze
21
+ WITH_ISSUES = "with_issues".freeze
22
+
23
+ def self.all_vars
24
+ @all_vars ||= [IN_REVIEW, APPROVED, REJECTED, WITH_ISSUES].freeze
25
+ end
26
+
27
+ # Builds the enum from string
28
+ # @param [String] The enum value in the form of the string
29
+ # @return [String] The enum value
30
+ def self.build_from_hash(value)
31
+ new.build_from_hash(value)
32
+ end
33
+
34
+ # Builds the enum from string
35
+ # @param [String] The enum value in the form of the string
36
+ # @return [String] The enum value
37
+ def build_from_hash(value)
38
+ return value if AdReviewStatus.all_vars.include?(value)
39
+ raise "Invalid ENUM value #{value} for class #AdReviewStatus"
40
+ end
41
+ end
42
+ end
@@ -25,7 +25,6 @@ module Zernio
25
25
  # Delivery status derived from child ad statuses. Distinct from `reviewStatus`, which reflects the platform-side review state.
26
26
  attr_accessor :status
27
27
 
28
- # Platform-side review state of the campaign. Independent of the children-derived delivery `status`: a campaign can have ads already active (status=active) while the campaign itself is still being reviewed by the platform (reviewStatus=in_review). For Meta, derived from `effective_status` + `issues_info` on the Campaign, plus ad-level PENDING_REVIEW rollup.
29
28
  attr_accessor :review_status
30
29
 
31
30
  # Raw platform-level campaign status (Meta `effective_status`: ACTIVE, PAUSED, DELETED, ARCHIVED, IN_PROCESS, WITH_ISSUES). Distinct from per-ad `platformStatus`.
@@ -160,7 +159,7 @@ module Zernio
160
159
  :'platform' => :'String',
161
160
  :'campaign_name' => :'String',
162
161
  :'status' => :'AdStatus',
163
- :'review_status' => :'String',
162
+ :'review_status' => :'AdReviewStatus',
164
163
  :'platform_campaign_status' => :'String',
165
164
  :'campaign_issues_info' => :'Array<Object>',
166
165
  :'ad_count' => :'Integer',
@@ -356,8 +355,6 @@ module Zernio
356
355
  warn '[DEPRECATED] the `valid?` method is obsolete'
357
356
  platform_validator = EnumAttributeValidator.new('String', ["facebook", "instagram", "tiktok", "linkedin", "pinterest", "google", "twitter", "openai"])
358
357
  return false unless platform_validator.valid?(@platform)
359
- review_status_validator = EnumAttributeValidator.new('String', ["in_review", "approved", "rejected", "with_issues"])
360
- return false unless review_status_validator.valid?(@review_status)
361
358
  budget_level_validator = EnumAttributeValidator.new('String', ["campaign", "adset"])
362
359
  return false unless budget_level_validator.valid?(@budget_level)
363
360
  true
@@ -373,16 +370,6 @@ module Zernio
373
370
  @platform = platform
374
371
  end
375
372
 
376
- # Custom attribute writer method checking allowed values (enum).
377
- # @param [Object] review_status Object to be assigned
378
- def review_status=(review_status)
379
- validator = EnumAttributeValidator.new('String', ["in_review", "approved", "rejected", "with_issues"])
380
- unless validator.valid?(review_status)
381
- fail ArgumentError, "invalid value for \"review_status\", must be one of #{validator.allowable_values}."
382
- end
383
- @review_status = review_status
384
- end
385
-
386
373
  # Custom attribute writer method checking allowed values (enum).
387
374
  # @param [Object] budget_level Object to be assigned
388
375
  def budget_level=(budget_level)
@@ -11,5 +11,5 @@ Generator version: 7.19.0
11
11
  =end
12
12
 
13
13
  module Zernio
14
- VERSION = '0.0.567'
14
+ VERSION = '0.0.569'
15
15
  end
data/lib/zernio-sdk.rb CHANGED
@@ -33,6 +33,7 @@ require 'zernio-sdk/models/ad_creative'
33
33
  require 'zernio-sdk/models/ad_daily_metrics'
34
34
  require 'zernio-sdk/models/ad_metrics'
35
35
  require 'zernio-sdk/models/ad_promoted_object'
36
+ require 'zernio-sdk/models/ad_review_status'
36
37
  require 'zernio-sdk/models/ad_schedule'
37
38
  require 'zernio-sdk/models/ad_status'
38
39
  require 'zernio-sdk/models/ad_tree_ad_set'
data/openapi.yaml CHANGED
@@ -6368,6 +6368,10 @@ components:
6368
6368
  AdStatus:
6369
6369
  type: string
6370
6370
  enum: [active, paused, pending_review, rejected, completed, cancelled, error]
6371
+ AdReviewStatus:
6372
+ type: string
6373
+ enum: [in_review, approved, rejected, with_issues]
6374
+ description: "Platform-side review state, independent of the delivery `status` and the `configuredStatus` on/off toggle. `in_review` means the platform is still reviewing. Absent when the platform reports no review signal (e.g. a paused ad whose review state is masked behind the pause)."
6371
6375
  BusinessCenter:
6372
6376
  type: object
6373
6377
  description: |
@@ -6581,7 +6585,14 @@ components:
6581
6585
  _id: { type: string }
6582
6586
  name: { type: string }
6583
6587
  platform: { type: string, enum: [facebook, instagram, tiktok, linkedin, pinterest, google, twitter, openai] }
6584
- status: { $ref: '#/components/schemas/AdStatus' }
6588
+ status: { allOf: [{ $ref: '#/components/schemas/AdStatus' }], description: "Delivery status. Derived from the platform `effective_status`, so it inherits ancestor pauses (an ACTIVE ad under a PAUSED campaign reads `paused`). For the ad's own on/off toggle use `configuredStatus`; for the review state use `reviewStatus`." }
6589
+ configuredStatus:
6590
+ type: [string, "null"]
6591
+ description: "The ad's own on/off toggle as configured on the platform (Meta `configured_status`: ACTIVE / PAUSED), unaffected by ancestor (ad set / campaign) pauses. Distinct from `status`, which is the ancestor-cascaded delivery status. Only present for Meta ads synced after this field was added."
6592
+ example: ACTIVE
6593
+ reviewStatus:
6594
+ allOf: [{ $ref: '#/components/schemas/AdReviewStatus' }]
6595
+ description: "Platform review state of this ad, independent of delivery `status` / `configuredStatus`. Absent when the platform reports no review signal."
6585
6596
  adType: { type: string, enum: [boost, standalone] }
6586
6597
  goal: { type: string, enum: [engagement, traffic, awareness, video_views, lead_generation, lead_conversion, conversions, app_promotion, catalog_sales, job_applicants], description: "Available goals vary by platform. Meta (Facebook/Instagram) supports all 9 (incl. `lead_conversion` = website pixel lead optimization and `catalog_sales` = Advantage+ catalog ads). TikTok supports the 7 non-`lead_conversion` goals. LinkedIn supports all except app_promotion / lead_conversion. Twitter/X supports engagement, traffic, awareness, video_views, app_promotion. Pinterest and Google Ads support only engagement, traffic, awareness, video_views." }
6587
6598
  isExternal: { type: boolean, description: True for ads synced from platform ad managers }
@@ -6765,8 +6776,9 @@ components:
6765
6776
  campaignName: { type: string }
6766
6777
  status: { allOf: [{ $ref: '#/components/schemas/AdStatus' }], description: "Delivery status derived from child ad statuses. Distinct from `reviewStatus`, which reflects the platform-side review state." }
6767
6778
  reviewStatus:
6768
- type: [string, "null"]
6769
- enum: [in_review, approved, rejected, with_issues]
6779
+ anyOf:
6780
+ - $ref: '#/components/schemas/AdReviewStatus'
6781
+ - type: "null"
6770
6782
  description: |
6771
6783
  Platform-side review state of the campaign. Independent of the
6772
6784
  children-derived delivery `status`: a campaign can have ads
@@ -6848,8 +6860,9 @@ components:
6848
6860
  campaignName: { type: string }
6849
6861
  status: { allOf: [{ $ref: '#/components/schemas/AdStatus' }], description: "Delivery status derived from child ad statuses. Distinct from `reviewStatus`." }
6850
6862
  reviewStatus:
6851
- type: [string, "null"]
6852
- enum: [in_review, approved, rejected, with_issues]
6863
+ anyOf:
6864
+ - $ref: '#/components/schemas/AdReviewStatus'
6865
+ - type: "null"
6853
6866
  description: "Platform-side review state of the campaign. See AdTreeCampaign.reviewStatus for the full description."
6854
6867
  platformCampaignStatus:
6855
6868
  type: [string, "null"]
@@ -25129,6 +25142,7 @@ paths:
25129
25142
  '400': { description: accountId is required }
25130
25143
  '401': { $ref: '#/components/responses/Unauthorized' }
25131
25144
  '404': { $ref: '#/components/responses/NotFound' }
25145
+ '502': { description: Meta rejected the request or was unreachable. Meta 4xx statuses are forwarded as-is. }
25132
25146
  patch:
25133
25147
  operationId: updateWhatsAppTemplate
25134
25148
  tags: [WhatsApp]
@@ -25193,6 +25207,7 @@ paths:
25193
25207
  '400': { description: Validation error (missing fields) }
25194
25208
  '401': { $ref: '#/components/responses/Unauthorized' }
25195
25209
  '404': { $ref: '#/components/responses/NotFound' }
25210
+ '502': { description: Meta rejected the update or was unreachable. Meta 4xx statuses are forwarded as-is. }
25196
25211
  delete:
25197
25212
  operationId: deleteWhatsAppTemplate
25198
25213
  tags: [WhatsApp]
@@ -25230,6 +25245,7 @@ paths:
25230
25245
  '400': { description: accountId or template name is required }
25231
25246
  '401': { $ref: '#/components/responses/Unauthorized' }
25232
25247
  '404': { $ref: '#/components/responses/NotFound' }
25248
+ '502': { description: Meta rejected the delete or was unreachable. Meta 4xx statuses are forwarded as-is. }
25233
25249
 
25234
25250
  # ──────────────────────────────────────────────────────────────────────────
25235
25251
  # WHATSAPP BUSINESS CALLING
@@ -32552,6 +32568,7 @@ paths:
32552
32568
  properties:
32553
32569
  id: { type: string }
32554
32570
  status: { type: string }
32571
+ '400': { $ref: '#/components/responses/BadRequest' }
32555
32572
  '401': { $ref: '#/components/responses/Unauthorized' }
32556
32573
  '404': { $ref: '#/components/responses/NotFound' }
32557
32574
 
@@ -32682,6 +32699,7 @@ paths:
32682
32699
  type: array
32683
32700
  description: Events in chronological order (oldest first).
32684
32701
  items: { $ref: '#/components/schemas/WorkflowExecutionEvent' }
32702
+ '400': { $ref: '#/components/responses/BadRequest' }
32685
32703
  '401': { $ref: '#/components/responses/Unauthorized' }
32686
32704
  '404': { $ref: '#/components/responses/NotFound' }
32687
32705
 
@@ -32719,6 +32737,7 @@ paths:
32719
32737
  entryNodeId: { type: [string, "null"] }
32720
32738
  nodeCount: { type: integer }
32721
32739
  createdAt: { type: string, format: date-time }
32740
+ '400': { $ref: '#/components/responses/BadRequest' }
32722
32741
  '401': { $ref: '#/components/responses/Unauthorized' }
32723
32742
  '404': { $ref: '#/components/responses/NotFound' }
32724
32743
 
@@ -32755,6 +32774,7 @@ paths:
32755
32774
  createdByEmail: { type: [string, "null"], description: Denormalized email so the history UI can render without a join }
32756
32775
  restoredFromVersion: { type: [integer, "null"], description: "When non-null, this snapshot was created by restoring that version" }
32757
32776
  createdAt: { type: string, format: date-time }
32777
+ '400': { $ref: '#/components/responses/BadRequest' }
32758
32778
  '401': { $ref: '#/components/responses/Unauthorized' }
32759
32779
  '404': { $ref: '#/components/responses/NotFound' }
32760
32780
 
@@ -32792,6 +32812,7 @@ paths:
32792
32812
  createdByEmail: { type: [string, "null"] }
32793
32813
  restoredFromVersion: { type: [integer, "null"] }
32794
32814
  createdAt: { type: string, format: date-time }
32815
+ '400': { $ref: '#/components/responses/BadRequest' }
32795
32816
  '401': { $ref: '#/components/responses/Unauthorized' }
32796
32817
  '404': { $ref: '#/components/responses/NotFound' }
32797
32818
 
@@ -58,10 +58,6 @@ describe Zernio::AdCampaign do
58
58
  describe 'test attribute "review_status"' do
59
59
  it 'should work' do
60
60
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
61
- # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["in_review", "approved", "rejected", "with_issues"])
62
- # validator.allowable_values.each do |value|
63
- # expect { instance.review_status = value }.not_to raise_error
64
- # end
65
61
  end
66
62
  end
67
63
 
@@ -0,0 +1,30 @@
1
+ =begin
2
+ #Zernio API
3
+
4
+ #API reference for Zernio. Authenticate with a Bearer API key. Base URL: https://zernio.com/api
5
+
6
+ The version of the OpenAPI document: 1.0.4
7
+ Contact: support@zernio.com
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.19.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for Zernio::AdReviewStatus
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe Zernio::AdReviewStatus do
21
+ #let(:instance) { Zernio::AdReviewStatus.new }
22
+
23
+ describe 'test an instance of AdReviewStatus' do
24
+ it 'should create an instance of AdReviewStatus' do
25
+ # uncomment below to test the instance creation
26
+ #expect(instance).to be_instance_of(Zernio::AdReviewStatus)
27
+ end
28
+ end
29
+
30
+ end
@@ -55,6 +55,18 @@ describe Zernio::Ad do
55
55
  end
56
56
  end
57
57
 
58
+ describe 'test attribute "configured_status"' do
59
+ it 'should work' do
60
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
61
+ end
62
+ end
63
+
64
+ describe 'test attribute "review_status"' do
65
+ it 'should work' do
66
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
67
+ end
68
+ end
69
+
58
70
  describe 'test attribute "ad_type"' do
59
71
  it 'should work' do
60
72
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
@@ -58,10 +58,6 @@ describe Zernio::AdTreeCampaign do
58
58
  describe 'test attribute "review_status"' do
59
59
  it 'should work' do
60
60
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
61
- # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["in_review", "approved", "rejected", "with_issues"])
62
- # validator.allowable_values.each do |value|
63
- # expect { instance.review_status = value }.not_to raise_error
64
- # end
65
61
  end
66
62
  end
67
63
 
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.567
4
+ version: 0.0.569
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenAPI-Generator
@@ -87,6 +87,7 @@ files:
87
87
  - docs/AdInsightsApi.md
88
88
  - docs/AdMetrics.md
89
89
  - docs/AdPromotedObject.md
90
+ - docs/AdReviewStatus.md
90
91
  - docs/AdSchedule.md
91
92
  - docs/AdStatus.md
92
93
  - docs/AdTargetingApi.md
@@ -1708,6 +1709,7 @@ files:
1708
1709
  - lib/zernio-sdk/models/ad_daily_metrics.rb
1709
1710
  - lib/zernio-sdk/models/ad_metrics.rb
1710
1711
  - lib/zernio-sdk/models/ad_promoted_object.rb
1712
+ - lib/zernio-sdk/models/ad_review_status.rb
1711
1713
  - lib/zernio-sdk/models/ad_schedule.rb
1712
1714
  - lib/zernio-sdk/models/ad_status.rb
1713
1715
  - lib/zernio-sdk/models/ad_tree_ad_set.rb
@@ -3268,6 +3270,7 @@ files:
3268
3270
  - spec/models/ad_daily_metrics_spec.rb
3269
3271
  - spec/models/ad_metrics_spec.rb
3270
3272
  - spec/models/ad_promoted_object_spec.rb
3273
+ - spec/models/ad_review_status_spec.rb
3271
3274
  - spec/models/ad_schedule_spec.rb
3272
3275
  - spec/models/ad_spec.rb
3273
3276
  - spec/models/ad_status_spec.rb
@@ -4751,7 +4754,7 @@ files:
4751
4754
  - spec/models/you_tube_video_retention_response_retention_curve_inner_spec.rb
4752
4755
  - spec/models/you_tube_video_retention_response_spec.rb
4753
4756
  - spec/spec_helper.rb
4754
- - zernio-sdk-0.0.567.gem
4757
+ - zernio-sdk-0.0.569.gem
4755
4758
  - zernio-sdk.gemspec
4756
4759
  homepage: https://openapi-generator.tech
4757
4760
  licenses:
@@ -5989,6 +5992,7 @@ test_files:
5989
5992
  - spec/models/delete_ad_creative200_response_spec.rb
5990
5993
  - spec/models/get_google_business_attributes200_response_attributes_inner_spec.rb
5991
5994
  - spec/models/webhook_payload_message_metadata_referral_spec.rb
5995
+ - spec/models/ad_review_status_spec.rb
5992
5996
  - spec/models/connect_open_ai_ads_credentials_request_spec.rb
5993
5997
  - spec/models/update_sequence_request_steps_inner_spec.rb
5994
5998
  - spec/models/webhook_payload_call_failed_spec.rb
Binary file