late-sdk 0.0.635 → 0.0.637

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: 51f78f2d39bbe9f14ec50a3447242d7ec4b4cc920b80d91535d7732a02aaeb80
4
- data.tar.gz: b2fcda4651ef50b5d32df9e8fc78a26acc8b2968c69564d379000f5b3d528bf1
3
+ metadata.gz: 5ebe1bb31790fb37d31bde9137c5b05e86f723cd3c08c4c9f027aef7bcaaa7cb
4
+ data.tar.gz: db336ffe0bdee07a42159925a5285a2813ba8fe7f707ca60fbf5ff3b7d485a14
5
5
  SHA512:
6
- metadata.gz: e53970e0d7067f46da208f0234d2f1606eb2e68544fa821e5dedc949c8eece5b34d368b084cdf8ab65e338a9c260a4bbd8ba0f0cb355c0bb8938e0dfb3957384
7
- data.tar.gz: b03d3cb37d5d3e56b36be0a82e1ae6ca5f7531822c6af456de1081c6f6b448ee5a0069c3e7c7f145fbcef2f75d1ca7c06a96cd58d50638b60425f3a55a2ce071
6
+ metadata.gz: 9309a47c51d5eeb83953a2c718919e047a3d035d39323a7183ae15d93fcd72a13b6e17a0c3d8580fb536b0d10584b174a4012073b858acaabc5ae337e4e9b3a1
7
+ data.tar.gz: 292b6e3da3e3cad95bf85a84ba74021525a16b1bbdd824705b43884e8004d9ab1f2a642800e203743322bcfb3ec089570f25889a0ed761b760a6e88a929899b9
data/docs/ContactsApi.md CHANGED
@@ -381,6 +381,7 @@ opts = {
381
381
  profile_id: 'profile_id_example', # String | Filter by profile. Omit to list across all profiles
382
382
  search: 'search_example', # String |
383
383
  tag: 'tag_example', # String |
384
+ tags: 'tags_example', # String | Comma-separated tags, matches contacts carrying any of them
384
385
  platform: 'instagram', # String |
385
386
  is_subscribed: 'true', # String |
386
387
  limit: 56, # Integer |
@@ -421,6 +422,7 @@ end
421
422
  | **profile_id** | **String** | Filter by profile. Omit to list across all profiles | [optional] |
422
423
  | **search** | **String** | | [optional] |
423
424
  | **tag** | **String** | | [optional] |
425
+ | **tags** | **String** | Comma-separated tags, matches contacts carrying any of them | [optional] |
424
426
  | **platform** | **String** | | [optional] |
425
427
  | **is_subscribed** | **String** | | [optional] |
426
428
  | **limit** | **Integer** | | [optional][default to 50] |
@@ -7,7 +7,10 @@
7
7
  | **id** | **String** | Platform ad account ID (e.g. act_123) | [optional] |
8
8
  | **name** | **String** | | [optional] |
9
9
  | **currency** | **String** | | [optional] |
10
- | **status** | **String** | | [optional] |
10
+ | **status** | **String** | LinkedIn only. LinkedIn's own ad account status. In practice always `ACTIVE`, because the LinkedIn query filters to active accounts. Meta, Google, TikTok and Pinterest report `accountStatus` instead; X reports `approvalStatus`. | [optional] |
11
+ | **account_status** | **Object** | | [optional] |
12
+ | **approval_status** | **String** | X only. X's own ad account approval status. Observed values are `ACCEPTED`, `PENDING` and `REJECTED`, but X does not publish the full vocabulary, so treat an unrecognised value as not usable. Other platforms report `accountStatus` or `status` instead. | [optional] |
13
+ | **disable_reason** | **Integer** | Meta only. Meta's `disable_reason` code, forwarded unchanged. Present when `accountStatus` is `2` (DISABLED) and Meta gives a reason, which is what separates a policy action from a payment problem. Meta does not publish a stable list of values for this field, so none are enumerated here: resolve the code against Meta's own ad account reference. Absent when Meta reports no reason, or when the connected token cannot read the field. | [optional] |
11
14
  | **timezone_name** | **String** | IANA timezone of the ad account (Meta only). Drives daily-budget reset and Insights day boundaries. | [optional] |
12
15
  | **timezone_offset_hours_utc** | **Float** | Signed UTC offset in hours, reflecting current DST (Meta only). | [optional] |
13
16
  | **minimum_daily_budget** | **Float** | Meta only. Minimum daily budget for the account, in the account currency's major units. This is the impressions-billed minimum; other billing events have higher minimums. Absent when the connected token cannot read it. | [optional] |
@@ -24,6 +27,9 @@ instance = Zernio::ListAdAccounts200ResponseAccountsInner.new(
24
27
  name: null,
25
28
  currency: null,
26
29
  status: null,
30
+ account_status: null,
31
+ approval_status: null,
32
+ disable_reason: null,
27
33
  timezone_name: null,
28
34
  timezone_offset_hours_utc: null,
29
35
  minimum_daily_budget: null,
@@ -350,6 +350,7 @@ module Zernio
350
350
  # @option opts [String] :profile_id Filter by profile. Omit to list across all profiles
351
351
  # @option opts [String] :search
352
352
  # @option opts [String] :tag
353
+ # @option opts [String] :tags Comma-separated tags, matches contacts carrying any of them
353
354
  # @option opts [String] :platform
354
355
  # @option opts [String] :is_subscribed
355
356
  # @option opts [Integer] :limit (default to 50)
@@ -366,6 +367,7 @@ module Zernio
366
367
  # @option opts [String] :profile_id Filter by profile. Omit to list across all profiles
367
368
  # @option opts [String] :search
368
369
  # @option opts [String] :tag
370
+ # @option opts [String] :tags Comma-separated tags, matches contacts carrying any of them
369
371
  # @option opts [String] :platform
370
372
  # @option opts [String] :is_subscribed
371
373
  # @option opts [Integer] :limit (default to 50)
@@ -395,6 +397,7 @@ module Zernio
395
397
  query_params[:'profileId'] = opts[:'profile_id'] if !opts[:'profile_id'].nil?
396
398
  query_params[:'search'] = opts[:'search'] if !opts[:'search'].nil?
397
399
  query_params[:'tag'] = opts[:'tag'] if !opts[:'tag'].nil?
400
+ query_params[:'tags'] = opts[:'tags'] if !opts[:'tags'].nil?
398
401
  query_params[:'platform'] = opts[:'platform'] if !opts[:'platform'].nil?
399
402
  query_params[:'isSubscribed'] = opts[:'is_subscribed'] if !opts[:'is_subscribed'].nil?
400
403
  query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
@@ -22,8 +22,17 @@ module Zernio
22
22
 
23
23
  attr_accessor :currency
24
24
 
25
+ # LinkedIn only. LinkedIn's own ad account status. In practice always `ACTIVE`, because the LinkedIn query filters to active accounts. Meta, Google, TikTok and Pinterest report `accountStatus` instead; X reports `approvalStatus`.
25
26
  attr_accessor :status
26
27
 
28
+ attr_accessor :account_status
29
+
30
+ # X only. X's own ad account approval status. Observed values are `ACCEPTED`, `PENDING` and `REJECTED`, but X does not publish the full vocabulary, so treat an unrecognised value as not usable. Other platforms report `accountStatus` or `status` instead.
31
+ attr_accessor :approval_status
32
+
33
+ # Meta only. Meta's `disable_reason` code, forwarded unchanged. Present when `accountStatus` is `2` (DISABLED) and Meta gives a reason, which is what separates a policy action from a payment problem. Meta does not publish a stable list of values for this field, so none are enumerated here: resolve the code against Meta's own ad account reference. Absent when Meta reports no reason, or when the connected token cannot read the field.
34
+ attr_accessor :disable_reason
35
+
27
36
  # IANA timezone of the ad account (Meta only). Drives daily-budget reset and Insights day boundaries.
28
37
  attr_accessor :timezone_name
29
38
 
@@ -46,6 +55,9 @@ module Zernio
46
55
  :'name' => :'name',
47
56
  :'currency' => :'currency',
48
57
  :'status' => :'status',
58
+ :'account_status' => :'accountStatus',
59
+ :'approval_status' => :'approvalStatus',
60
+ :'disable_reason' => :'disableReason',
49
61
  :'timezone_name' => :'timezoneName',
50
62
  :'timezone_offset_hours_utc' => :'timezoneOffsetHoursUtc',
51
63
  :'minimum_daily_budget' => :'minimumDailyBudget',
@@ -71,6 +83,9 @@ module Zernio
71
83
  :'name' => :'String',
72
84
  :'currency' => :'String',
73
85
  :'status' => :'String',
86
+ :'account_status' => :'Object',
87
+ :'approval_status' => :'String',
88
+ :'disable_reason' => :'Integer',
74
89
  :'timezone_name' => :'String',
75
90
  :'timezone_offset_hours_utc' => :'Float',
76
91
  :'minimum_daily_budget' => :'Float',
@@ -82,6 +97,7 @@ module Zernio
82
97
  # List of attributes with nullable: true
83
98
  def self.openapi_nullable
84
99
  Set.new([
100
+ :'account_status',
85
101
  :'unusable_reason'
86
102
  ])
87
103
  end
@@ -118,6 +134,18 @@ module Zernio
118
134
  self.status = attributes[:'status']
119
135
  end
120
136
 
137
+ if attributes.key?(:'account_status')
138
+ self.account_status = attributes[:'account_status']
139
+ end
140
+
141
+ if attributes.key?(:'approval_status')
142
+ self.approval_status = attributes[:'approval_status']
143
+ end
144
+
145
+ if attributes.key?(:'disable_reason')
146
+ self.disable_reason = attributes[:'disable_reason']
147
+ end
148
+
121
149
  if attributes.key?(:'timezone_name')
122
150
  self.timezone_name = attributes[:'timezone_name']
123
151
  end
@@ -163,6 +191,9 @@ module Zernio
163
191
  name == o.name &&
164
192
  currency == o.currency &&
165
193
  status == o.status &&
194
+ account_status == o.account_status &&
195
+ approval_status == o.approval_status &&
196
+ disable_reason == o.disable_reason &&
166
197
  timezone_name == o.timezone_name &&
167
198
  timezone_offset_hours_utc == o.timezone_offset_hours_utc &&
168
199
  minimum_daily_budget == o.minimum_daily_budget &&
@@ -179,7 +210,7 @@ module Zernio
179
210
  # Calculates hash code according to all attributes.
180
211
  # @return [Integer] Hash code
181
212
  def hash
182
- [id, name, currency, status, timezone_name, timezone_offset_hours_utc, minimum_daily_budget, selectable, unusable_reason].hash
213
+ [id, name, currency, status, account_status, approval_status, disable_reason, timezone_name, timezone_offset_hours_utc, minimum_daily_budget, selectable, unusable_reason].hash
183
214
  end
184
215
 
185
216
  # 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.635'
14
+ VERSION = '0.0.637'
15
15
  end
data/openapi.yaml CHANGED
@@ -32637,6 +32637,7 @@ paths:
32637
32637
  - { name: profileId, in: query, schema: { type: string }, description: Filter by profile. Omit to list across all profiles }
32638
32638
  - { name: search, in: query, schema: { type: string } }
32639
32639
  - { name: tag, in: query, schema: { type: string } }
32640
+ - { name: tags, in: query, schema: { type: string }, description: 'Comma-separated tags, matches contacts carrying any of them' }
32640
32641
  - { name: platform, in: query, schema: { type: string, enum: [instagram, facebook, telegram, twitter, bluesky, reddit, whatsapp] } }
32641
32642
  - { name: isSubscribed, in: query, schema: { type: string, enum: ['true', 'false'] } }
32642
32643
  - { name: limit, in: query, schema: { type: integer, default: 50, maximum: 200 } }
@@ -37303,7 +37304,32 @@ paths:
37303
37304
  id: { type: string, description: "Platform ad account ID (e.g. act_123)" }
37304
37305
  name: { type: string }
37305
37306
  currency: { type: string }
37306
- status: { type: string }
37307
+ status: { type: string, description: "LinkedIn only. LinkedIn's own ad account status. In practice always `ACTIVE`, because the LinkedIn query filters to active accounts. Meta, Google, TikTok and Pinterest report `accountStatus` instead; X reports `approvalStatus`." }
37308
+ accountStatus:
37309
+ description: |
37310
+ The platform's own account status, forwarded unchanged. No JSON type is
37311
+ declared because the type differs per platform: Meta sends an integer,
37312
+ Google, TikTok and Pinterest send a string. Absent on LinkedIn (reports
37313
+ `status`) and on X (reports `approvalStatus`).
37314
+
37315
+ If all you need is whether the account can run ads right now, read
37316
+ `selectable` and skip this field. Read this one when you need to tell
37317
+ the states apart, because they call for different responses:
37318
+
37319
+ - `1` ACTIVE. Running normally.
37320
+ - `2` DISABLED. Disabled by Meta. Read `disableReason` to tell a policy
37321
+ action apart from a billing one; they need very different follow-ups.
37322
+ - `3` UNSETTLED. There is an unpaid balance, but the account still runs
37323
+ ads. Not a ban.
37324
+ - `7` PENDING_RISK_REVIEW. Meta is reviewing the account. Wait for the
37325
+ outcome.
37326
+ - `8` PENDING_SETTLEMENT. Meta blocks new ads until an outstanding
37327
+ balance clears. Settle it and the account runs again.
37328
+ - `9` IN_GRACE_PERIOD. Still running, on a deadline.
37329
+ - `100` PENDING_CLOSURE. Scheduled to close.
37330
+ - `101` CLOSED. Terminal.
37331
+ approvalStatus: { type: string, description: "X only. X's own ad account approval status. Observed values are `ACCEPTED`, `PENDING` and `REJECTED`, but X does not publish the full vocabulary, so treat an unrecognised value as not usable. Other platforms report `accountStatus` or `status` instead." }
37332
+ disableReason: { type: integer, description: "Meta only. Meta's `disable_reason` code, forwarded unchanged. Present when `accountStatus` is `2` (DISABLED) and Meta gives a reason, which is what separates a policy action from a payment problem. Meta does not publish a stable list of values for this field, so none are enumerated here: resolve the code against Meta's own ad account reference. Absent when Meta reports no reason, or when the connected token cannot read the field." }
37307
37333
  timezoneName: { type: string, description: "IANA timezone of the ad account (Meta only). Drives daily-budget reset and Insights day boundaries." }
37308
37334
  timezoneOffsetHoursUtc: { type: number, description: "Signed UTC offset in hours, reflecting current DST (Meta only)." }
37309
37335
  minimumDailyBudget: { type: number, description: "Meta only. Minimum daily budget for the account, in the account currency's major units. This is the impressions-billed minimum; other billing events have higher minimums. Absent when the connected token cannot read it." }
@@ -99,6 +99,7 @@ describe 'ContactsApi' do
99
99
  # @option opts [String] :profile_id Filter by profile. Omit to list across all profiles
100
100
  # @option opts [String] :search
101
101
  # @option opts [String] :tag
102
+ # @option opts [String] :tags Comma-separated tags, matches contacts carrying any of them
102
103
  # @option opts [String] :platform
103
104
  # @option opts [String] :is_subscribed
104
105
  # @option opts [Integer] :limit
@@ -51,6 +51,24 @@ describe Zernio::ListAdAccounts200ResponseAccountsInner do
51
51
  end
52
52
  end
53
53
 
54
+ describe 'test attribute "account_status"' do
55
+ it 'should work' do
56
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
57
+ end
58
+ end
59
+
60
+ describe 'test attribute "approval_status"' do
61
+ it 'should work' do
62
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
63
+ end
64
+ end
65
+
66
+ describe 'test attribute "disable_reason"' do
67
+ it 'should work' do
68
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
69
+ end
70
+ end
71
+
54
72
  describe 'test attribute "timezone_name"' do
55
73
  it 'should work' do
56
74
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
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.635
4
+ version: 0.0.637
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenAPI-Generator
@@ -4919,7 +4919,7 @@ files:
4919
4919
  - spec/models/you_tube_video_retention_response_retention_curve_inner_spec.rb
4920
4920
  - spec/models/you_tube_video_retention_response_spec.rb
4921
4921
  - spec/spec_helper.rb
4922
- - zernio-sdk-0.0.635.gem
4922
+ - zernio-sdk-0.0.637.gem
4923
4923
  - zernio-sdk.gemspec
4924
4924
  homepage: https://openapi-generator.tech
4925
4925
  licenses:
Binary file