late-sdk 0.0.634 → 0.0.636
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/BulkCreateContactsRequestContactsInner.md +1 -1
- data/docs/ContactsApi.md +2 -2
- data/docs/ListAdAccounts200ResponseAccountsInner.md +7 -1
- data/lib/zernio-sdk/api/contacts_api.rb +2 -2
- data/lib/zernio-sdk/models/bulk_create_contacts_request_contacts_inner.rb +1 -17
- data/lib/zernio-sdk/models/list_ad_accounts200_response_accounts_inner.rb +32 -1
- data/lib/zernio-sdk/version.rb +1 -1
- data/openapi.yaml +30 -5
- data/spec/api/contacts_api_spec.rb +1 -1
- data/spec/models/list_ad_accounts200_response_accounts_inner_spec.rb +18 -0
- data/zernio-sdk-0.0.636.gem +0 -0
- metadata +3 -3
- data/zernio-sdk-0.0.634.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: 37ab9462eaaac32184f7c74548faad032dec32dd39092779c57d69389ed274b7
|
|
4
|
+
data.tar.gz: 3f73e882d9ffc8eed73d578c5d0bc0a16021444fed2f0238bbe2c3cb44814a05
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2c94dc1f96c86c025baf271c961b6a0abdcc8bdfa6eb05b7530b58718c8bcf3a20195e5d6d36e269d193cead2a7349205094aa343b5f67454e5a857a0c165578
|
|
7
|
+
data.tar.gz: 320c8913bb7393cd94fed2397ebacc91fa3fdb8332bfa7e73cb516ebdf8c07f45e263e6736c47d30700508b768506b1103f327e6b258b044023dd0e4e2b43067
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
7
|
| **name** | **String** | | |
|
|
8
|
-
| **platform_identifier** | **String** |
|
|
8
|
+
| **platform_identifier** | **String** | Required when the top-level accountId is set (channel mode). A row missing it in that mode is rejected individually and reported in errors[], not a 400 for the whole import. | [optional] |
|
|
9
9
|
| **display_identifier** | **String** | | [optional] |
|
|
10
10
|
| **email** | **String** | | [optional] |
|
|
11
11
|
| **company** | **String** | | [optional] |
|
data/docs/ContactsApi.md
CHANGED
|
@@ -19,7 +19,7 @@ All URIs are relative to *https://zernio.com/api*
|
|
|
19
19
|
|
|
20
20
|
Bulk create contacts
|
|
21
21
|
|
|
22
|
-
Import up to 1000 contacts at a time. Skips duplicates, merging any new tags onto the existing contact. accountId is required whenever contacts carry a platformIdentifier (or a row-level accountId); platform is always derived from the resolved account, never used to decide whether channels are created, and a mismatched platform 404s as account not found. On phone platforms (whatsapp, sms) the platformIdentifier is normalized to digits and a value that is not phone-shaped is rejected per contact and reported in errors[], not imported.
|
|
22
|
+
Import up to 1000 contacts at a time. Skips duplicates, merging any new tags onto the existing contact. accountId is required whenever contacts carry a platformIdentifier (or a row-level accountId); platform is always derived from the resolved account, never used to decide whether channels are created, and a mismatched platform 404s as account not found. When accountId is set, each contact must carry a platformIdentifier; a row missing it is rejected individually (reported in errors[], HTTP 200), not a 400 for the whole import. On phone platforms (whatsapp, sms) the platformIdentifier is normalized to digits and a value that is not phone-shaped is rejected per contact and reported in errors[], not imported.
|
|
23
23
|
|
|
24
24
|
### Examples
|
|
25
25
|
|
|
@@ -33,7 +33,7 @@ Zernio.configure do |config|
|
|
|
33
33
|
end
|
|
34
34
|
|
|
35
35
|
api_instance = Zernio::ContactsApi.new
|
|
36
|
-
bulk_create_contacts_request = Zernio::BulkCreateContactsRequest.new({profile_id: 'profile_id_example', contacts: [Zernio::BulkCreateContactsRequestContactsInner.new({name: 'name_example'
|
|
36
|
+
bulk_create_contacts_request = Zernio::BulkCreateContactsRequest.new({profile_id: 'profile_id_example', contacts: [Zernio::BulkCreateContactsRequestContactsInner.new({name: 'name_example'})]}) # BulkCreateContactsRequest |
|
|
37
37
|
|
|
38
38
|
begin
|
|
39
39
|
# Bulk create contacts
|
|
@@ -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** |
|
|
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,
|
|
@@ -20,7 +20,7 @@ module Zernio
|
|
|
20
20
|
@api_client = api_client
|
|
21
21
|
end
|
|
22
22
|
# Bulk create contacts
|
|
23
|
-
# Import up to 1000 contacts at a time. Skips duplicates, merging any new tags onto the existing contact. accountId is required whenever contacts carry a platformIdentifier (or a row-level accountId); platform is always derived from the resolved account, never used to decide whether channels are created, and a mismatched platform 404s as account not found. On phone platforms (whatsapp, sms) the platformIdentifier is normalized to digits and a value that is not phone-shaped is rejected per contact and reported in errors[], not imported.
|
|
23
|
+
# Import up to 1000 contacts at a time. Skips duplicates, merging any new tags onto the existing contact. accountId is required whenever contacts carry a platformIdentifier (or a row-level accountId); platform is always derived from the resolved account, never used to decide whether channels are created, and a mismatched platform 404s as account not found. When accountId is set, each contact must carry a platformIdentifier; a row missing it is rejected individually (reported in errors[], HTTP 200), not a 400 for the whole import. On phone platforms (whatsapp, sms) the platformIdentifier is normalized to digits and a value that is not phone-shaped is rejected per contact and reported in errors[], not imported.
|
|
24
24
|
# @param bulk_create_contacts_request [BulkCreateContactsRequest]
|
|
25
25
|
# @param [Hash] opts the optional parameters
|
|
26
26
|
# @return [BulkCreateContacts200Response]
|
|
@@ -30,7 +30,7 @@ module Zernio
|
|
|
30
30
|
end
|
|
31
31
|
|
|
32
32
|
# Bulk create contacts
|
|
33
|
-
# Import up to 1000 contacts at a time. Skips duplicates, merging any new tags onto the existing contact. accountId is required whenever contacts carry a platformIdentifier (or a row-level accountId); platform is always derived from the resolved account, never used to decide whether channels are created, and a mismatched platform 404s as account not found. On phone platforms (whatsapp, sms) the platformIdentifier is normalized to digits and a value that is not phone-shaped is rejected per contact and reported in errors[], not imported.
|
|
33
|
+
# Import up to 1000 contacts at a time. Skips duplicates, merging any new tags onto the existing contact. accountId is required whenever contacts carry a platformIdentifier (or a row-level accountId); platform is always derived from the resolved account, never used to decide whether channels are created, and a mismatched platform 404s as account not found. When accountId is set, each contact must carry a platformIdentifier; a row missing it is rejected individually (reported in errors[], HTTP 200), not a 400 for the whole import. On phone platforms (whatsapp, sms) the platformIdentifier is normalized to digits and a value that is not phone-shaped is rejected per contact and reported in errors[], not imported.
|
|
34
34
|
# @param bulk_create_contacts_request [BulkCreateContactsRequest]
|
|
35
35
|
# @param [Hash] opts the optional parameters
|
|
36
36
|
# @return [Array<(BulkCreateContacts200Response, Integer, Hash)>] BulkCreateContacts200Response data, response status code and response headers
|
|
@@ -17,6 +17,7 @@ module Zernio
|
|
|
17
17
|
class BulkCreateContactsRequestContactsInner < ApiModelBase
|
|
18
18
|
attr_accessor :name
|
|
19
19
|
|
|
20
|
+
# Required when the top-level accountId is set (channel mode). A row missing it in that mode is rejected individually and reported in errors[], not a 400 for the whole import.
|
|
20
21
|
attr_accessor :platform_identifier
|
|
21
22
|
|
|
22
23
|
attr_accessor :display_identifier
|
|
@@ -91,8 +92,6 @@ module Zernio
|
|
|
91
92
|
|
|
92
93
|
if attributes.key?(:'platform_identifier')
|
|
93
94
|
self.platform_identifier = attributes[:'platform_identifier']
|
|
94
|
-
else
|
|
95
|
-
self.platform_identifier = nil
|
|
96
95
|
end
|
|
97
96
|
|
|
98
97
|
if attributes.key?(:'display_identifier')
|
|
@@ -123,10 +122,6 @@ module Zernio
|
|
|
123
122
|
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
|
124
123
|
end
|
|
125
124
|
|
|
126
|
-
if @platform_identifier.nil?
|
|
127
|
-
invalid_properties.push('invalid value for "platform_identifier", platform_identifier cannot be nil.')
|
|
128
|
-
end
|
|
129
|
-
|
|
130
125
|
invalid_properties
|
|
131
126
|
end
|
|
132
127
|
|
|
@@ -135,7 +130,6 @@ module Zernio
|
|
|
135
130
|
def valid?
|
|
136
131
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
137
132
|
return false if @name.nil?
|
|
138
|
-
return false if @platform_identifier.nil?
|
|
139
133
|
true
|
|
140
134
|
end
|
|
141
135
|
|
|
@@ -149,16 +143,6 @@ module Zernio
|
|
|
149
143
|
@name = name
|
|
150
144
|
end
|
|
151
145
|
|
|
152
|
-
# Custom attribute writer method with validation
|
|
153
|
-
# @param [Object] platform_identifier Value to be assigned
|
|
154
|
-
def platform_identifier=(platform_identifier)
|
|
155
|
-
if platform_identifier.nil?
|
|
156
|
-
fail ArgumentError, 'platform_identifier cannot be nil'
|
|
157
|
-
end
|
|
158
|
-
|
|
159
|
-
@platform_identifier = platform_identifier
|
|
160
|
-
end
|
|
161
|
-
|
|
162
146
|
# Checks equality by comparing each attribute.
|
|
163
147
|
# @param [Object] Object to be compared
|
|
164
148
|
def ==(o)
|
|
@@ -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
|
data/lib/zernio-sdk/version.rb
CHANGED
data/openapi.yaml
CHANGED
|
@@ -32897,7 +32897,7 @@ paths:
|
|
|
32897
32897
|
post:
|
|
32898
32898
|
operationId: bulkCreateContacts
|
|
32899
32899
|
summary: Bulk create contacts
|
|
32900
|
-
description: 'Import up to 1000 contacts at a time. Skips duplicates, merging any new tags onto the existing contact. accountId is required whenever contacts carry a platformIdentifier (or a row-level accountId); platform is always derived from the resolved account, never used to decide whether channels are created, and a mismatched platform 404s as account not found. On phone platforms (whatsapp, sms) the platformIdentifier is normalized to digits and a value that is not phone-shaped is rejected per contact and reported in errors[], not imported.'
|
|
32900
|
+
description: 'Import up to 1000 contacts at a time. Skips duplicates, merging any new tags onto the existing contact. accountId is required whenever contacts carry a platformIdentifier (or a row-level accountId); platform is always derived from the resolved account, never used to decide whether channels are created, and a mismatched platform 404s as account not found. When accountId is set, each contact must carry a platformIdentifier; a row missing it is rejected individually (reported in errors[], HTTP 200), not a 400 for the whole import. On phone platforms (whatsapp, sms) the platformIdentifier is normalized to digits and a value that is not phone-shaped is rejected per contact and reported in errors[], not imported.'
|
|
32901
32901
|
tags: [Contacts]
|
|
32902
32902
|
requestBody:
|
|
32903
32903
|
required: true
|
|
@@ -32915,10 +32915,10 @@ paths:
|
|
|
32915
32915
|
maxItems: 1000
|
|
32916
32916
|
items:
|
|
32917
32917
|
type: object
|
|
32918
|
-
required: [name
|
|
32918
|
+
required: [name]
|
|
32919
32919
|
properties:
|
|
32920
32920
|
name: { type: string }
|
|
32921
|
-
platformIdentifier: { type: string }
|
|
32921
|
+
platformIdentifier: { type: string, description: 'Required when the top-level accountId is set (channel mode). A row missing it in that mode is rejected individually and reported in errors[], not a 400 for the whole import.' }
|
|
32922
32922
|
displayIdentifier: { type: string }
|
|
32923
32923
|
email: { type: string }
|
|
32924
32924
|
company: { type: string }
|
|
@@ -32936,7 +32936,7 @@ paths:
|
|
|
32936
32936
|
skipped: { type: integer }
|
|
32937
32937
|
errors: { type: array, items: { type: string }, description: 'Per-contact failures, e.g. an identifier that is not a valid phone number' }
|
|
32938
32938
|
total: { type: integer }
|
|
32939
|
-
'400': { description: '
|
|
32939
|
+
'400': { description: 'Contact missing required field name, or a row carries platformIdentifier/accountId with no top-level accountId to attach it to. A row missing platformIdentifier while accountId IS set is not a 400: it is reported in errors[] under a 200.' }
|
|
32940
32940
|
'401': { $ref: '#/components/responses/Unauthorized' }
|
|
32941
32941
|
|
|
32942
32942
|
/v1/contacts/{contactId}/fields/{slug}:
|
|
@@ -37303,7 +37303,32 @@ paths:
|
|
|
37303
37303
|
id: { type: string, description: "Platform ad account ID (e.g. act_123)" }
|
|
37304
37304
|
name: { type: string }
|
|
37305
37305
|
currency: { type: string }
|
|
37306
|
-
status: { type: string }
|
|
37306
|
+
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`." }
|
|
37307
|
+
accountStatus:
|
|
37308
|
+
description: |
|
|
37309
|
+
The platform's own account status, forwarded unchanged. No JSON type is
|
|
37310
|
+
declared because the type differs per platform: Meta sends an integer,
|
|
37311
|
+
Google, TikTok and Pinterest send a string. Absent on LinkedIn (reports
|
|
37312
|
+
`status`) and on X (reports `approvalStatus`).
|
|
37313
|
+
|
|
37314
|
+
If all you need is whether the account can run ads right now, read
|
|
37315
|
+
`selectable` and skip this field. Read this one when you need to tell
|
|
37316
|
+
the states apart, because they call for different responses:
|
|
37317
|
+
|
|
37318
|
+
- `1` ACTIVE. Running normally.
|
|
37319
|
+
- `2` DISABLED. Disabled by Meta. Read `disableReason` to tell a policy
|
|
37320
|
+
action apart from a billing one; they need very different follow-ups.
|
|
37321
|
+
- `3` UNSETTLED. There is an unpaid balance, but the account still runs
|
|
37322
|
+
ads. Not a ban.
|
|
37323
|
+
- `7` PENDING_RISK_REVIEW. Meta is reviewing the account. Wait for the
|
|
37324
|
+
outcome.
|
|
37325
|
+
- `8` PENDING_SETTLEMENT. Meta blocks new ads until an outstanding
|
|
37326
|
+
balance clears. Settle it and the account runs again.
|
|
37327
|
+
- `9` IN_GRACE_PERIOD. Still running, on a deadline.
|
|
37328
|
+
- `100` PENDING_CLOSURE. Scheduled to close.
|
|
37329
|
+
- `101` CLOSED. Terminal.
|
|
37330
|
+
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." }
|
|
37331
|
+
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
37332
|
timezoneName: { type: string, description: "IANA timezone of the ad account (Meta only). Drives daily-budget reset and Insights day boundaries." }
|
|
37308
37333
|
timezoneOffsetHoursUtc: { type: number, description: "Signed UTC offset in hours, reflecting current DST (Meta only)." }
|
|
37309
37334
|
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." }
|
|
@@ -34,7 +34,7 @@ describe 'ContactsApi' do
|
|
|
34
34
|
|
|
35
35
|
# unit tests for bulk_create_contacts
|
|
36
36
|
# Bulk create contacts
|
|
37
|
-
# Import up to 1000 contacts at a time. Skips duplicates, merging any new tags onto the existing contact. accountId is required whenever contacts carry a platformIdentifier (or a row-level accountId); platform is always derived from the resolved account, never used to decide whether channels are created, and a mismatched platform 404s as account not found. On phone platforms (whatsapp, sms) the platformIdentifier is normalized to digits and a value that is not phone-shaped is rejected per contact and reported in errors[], not imported.
|
|
37
|
+
# Import up to 1000 contacts at a time. Skips duplicates, merging any new tags onto the existing contact. accountId is required whenever contacts carry a platformIdentifier (or a row-level accountId); platform is always derived from the resolved account, never used to decide whether channels are created, and a mismatched platform 404s as account not found. When accountId is set, each contact must carry a platformIdentifier; a row missing it is rejected individually (reported in errors[], HTTP 200), not a 400 for the whole import. On phone platforms (whatsapp, sms) the platformIdentifier is normalized to digits and a value that is not phone-shaped is rejected per contact and reported in errors[], not imported.
|
|
38
38
|
# @param bulk_create_contacts_request
|
|
39
39
|
# @param [Hash] opts the optional parameters
|
|
40
40
|
# @return [BulkCreateContacts200Response]
|
|
@@ -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,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.636
|
|
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-
|
|
11
|
+
date: 2026-08-01 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: typhoeus
|
|
@@ -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.
|
|
4922
|
+
- zernio-sdk-0.0.636.gem
|
|
4923
4923
|
- zernio-sdk.gemspec
|
|
4924
4924
|
homepage: https://openapi-generator.tech
|
|
4925
4925
|
licenses:
|
data/zernio-sdk-0.0.634.gem
DELETED
|
Binary file
|