@getlatedev/node 0.2.477 → 0.2.478
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.
- package/dist/index.d.mts +36 -0
- package/dist/index.d.ts +36 -0
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/generated/types.gen.ts +36 -0
package/dist/index.d.mts
CHANGED
|
@@ -26663,7 +26663,43 @@ type ListAdAccountsResponse = ({
|
|
|
26663
26663
|
id?: string;
|
|
26664
26664
|
name?: string;
|
|
26665
26665
|
currency?: string;
|
|
26666
|
+
/**
|
|
26667
|
+
* 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`.
|
|
26668
|
+
*/
|
|
26666
26669
|
status?: string;
|
|
26670
|
+
/**
|
|
26671
|
+
* The platform's own account status, forwarded unchanged. No JSON type is
|
|
26672
|
+
* declared because the type differs per platform: Meta sends an integer,
|
|
26673
|
+
* Google, TikTok and Pinterest send a string. Absent on LinkedIn (reports
|
|
26674
|
+
* `status`) and on X (reports `approvalStatus`).
|
|
26675
|
+
*
|
|
26676
|
+
* If all you need is whether the account can run ads right now, read
|
|
26677
|
+
* `selectable` and skip this field. Read this one when you need to tell
|
|
26678
|
+
* the states apart, because they call for different responses:
|
|
26679
|
+
*
|
|
26680
|
+
* - `1` ACTIVE. Running normally.
|
|
26681
|
+
* - `2` DISABLED. Disabled by Meta. Read `disableReason` to tell a policy
|
|
26682
|
+
* action apart from a billing one; they need very different follow-ups.
|
|
26683
|
+
* - `3` UNSETTLED. There is an unpaid balance, but the account still runs
|
|
26684
|
+
* ads. Not a ban.
|
|
26685
|
+
* - `7` PENDING_RISK_REVIEW. Meta is reviewing the account. Wait for the
|
|
26686
|
+
* outcome.
|
|
26687
|
+
* - `8` PENDING_SETTLEMENT. Meta blocks new ads until an outstanding
|
|
26688
|
+
* balance clears. Settle it and the account runs again.
|
|
26689
|
+
* - `9` IN_GRACE_PERIOD. Still running, on a deadline.
|
|
26690
|
+
* - `100` PENDING_CLOSURE. Scheduled to close.
|
|
26691
|
+
* - `101` CLOSED. Terminal.
|
|
26692
|
+
*
|
|
26693
|
+
*/
|
|
26694
|
+
accountStatus?: unknown;
|
|
26695
|
+
/**
|
|
26696
|
+
* 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.
|
|
26697
|
+
*/
|
|
26698
|
+
approvalStatus?: string;
|
|
26699
|
+
/**
|
|
26700
|
+
* 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.
|
|
26701
|
+
*/
|
|
26702
|
+
disableReason?: number;
|
|
26667
26703
|
/**
|
|
26668
26704
|
* IANA timezone of the ad account (Meta only). Drives daily-budget reset and Insights day boundaries.
|
|
26669
26705
|
*/
|
package/dist/index.d.ts
CHANGED
|
@@ -26663,7 +26663,43 @@ type ListAdAccountsResponse = ({
|
|
|
26663
26663
|
id?: string;
|
|
26664
26664
|
name?: string;
|
|
26665
26665
|
currency?: string;
|
|
26666
|
+
/**
|
|
26667
|
+
* 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`.
|
|
26668
|
+
*/
|
|
26666
26669
|
status?: string;
|
|
26670
|
+
/**
|
|
26671
|
+
* The platform's own account status, forwarded unchanged. No JSON type is
|
|
26672
|
+
* declared because the type differs per platform: Meta sends an integer,
|
|
26673
|
+
* Google, TikTok and Pinterest send a string. Absent on LinkedIn (reports
|
|
26674
|
+
* `status`) and on X (reports `approvalStatus`).
|
|
26675
|
+
*
|
|
26676
|
+
* If all you need is whether the account can run ads right now, read
|
|
26677
|
+
* `selectable` and skip this field. Read this one when you need to tell
|
|
26678
|
+
* the states apart, because they call for different responses:
|
|
26679
|
+
*
|
|
26680
|
+
* - `1` ACTIVE. Running normally.
|
|
26681
|
+
* - `2` DISABLED. Disabled by Meta. Read `disableReason` to tell a policy
|
|
26682
|
+
* action apart from a billing one; they need very different follow-ups.
|
|
26683
|
+
* - `3` UNSETTLED. There is an unpaid balance, but the account still runs
|
|
26684
|
+
* ads. Not a ban.
|
|
26685
|
+
* - `7` PENDING_RISK_REVIEW. Meta is reviewing the account. Wait for the
|
|
26686
|
+
* outcome.
|
|
26687
|
+
* - `8` PENDING_SETTLEMENT. Meta blocks new ads until an outstanding
|
|
26688
|
+
* balance clears. Settle it and the account runs again.
|
|
26689
|
+
* - `9` IN_GRACE_PERIOD. Still running, on a deadline.
|
|
26690
|
+
* - `100` PENDING_CLOSURE. Scheduled to close.
|
|
26691
|
+
* - `101` CLOSED. Terminal.
|
|
26692
|
+
*
|
|
26693
|
+
*/
|
|
26694
|
+
accountStatus?: unknown;
|
|
26695
|
+
/**
|
|
26696
|
+
* 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.
|
|
26697
|
+
*/
|
|
26698
|
+
approvalStatus?: string;
|
|
26699
|
+
/**
|
|
26700
|
+
* 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.
|
|
26701
|
+
*/
|
|
26702
|
+
disableReason?: number;
|
|
26667
26703
|
/**
|
|
26668
26704
|
* IANA timezone of the ad account (Meta only). Drives daily-budget reset and Insights day boundaries.
|
|
26669
26705
|
*/
|
package/dist/index.js
CHANGED
|
@@ -36,7 +36,7 @@ module.exports = __toCommonJS(index_exports);
|
|
|
36
36
|
// package.json
|
|
37
37
|
var package_default = {
|
|
38
38
|
name: "@getlatedev/node",
|
|
39
|
-
version: "0.2.
|
|
39
|
+
version: "0.2.478",
|
|
40
40
|
description: "The official Node.js library for the Zernio API",
|
|
41
41
|
main: "dist/index.js",
|
|
42
42
|
module: "dist/index.mjs",
|
package/dist/index.mjs
CHANGED
|
@@ -5,7 +5,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
5
5
|
// package.json
|
|
6
6
|
var package_default = {
|
|
7
7
|
name: "@getlatedev/node",
|
|
8
|
-
version: "0.2.
|
|
8
|
+
version: "0.2.478",
|
|
9
9
|
description: "The official Node.js library for the Zernio API",
|
|
10
10
|
main: "dist/index.js",
|
|
11
11
|
module: "dist/index.mjs",
|
package/package.json
CHANGED
|
@@ -27178,7 +27178,43 @@ export type ListAdAccountsResponse = ({
|
|
|
27178
27178
|
id?: string;
|
|
27179
27179
|
name?: string;
|
|
27180
27180
|
currency?: string;
|
|
27181
|
+
/**
|
|
27182
|
+
* 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`.
|
|
27183
|
+
*/
|
|
27181
27184
|
status?: string;
|
|
27185
|
+
/**
|
|
27186
|
+
* The platform's own account status, forwarded unchanged. No JSON type is
|
|
27187
|
+
* declared because the type differs per platform: Meta sends an integer,
|
|
27188
|
+
* Google, TikTok and Pinterest send a string. Absent on LinkedIn (reports
|
|
27189
|
+
* `status`) and on X (reports `approvalStatus`).
|
|
27190
|
+
*
|
|
27191
|
+
* If all you need is whether the account can run ads right now, read
|
|
27192
|
+
* `selectable` and skip this field. Read this one when you need to tell
|
|
27193
|
+
* the states apart, because they call for different responses:
|
|
27194
|
+
*
|
|
27195
|
+
* - `1` ACTIVE. Running normally.
|
|
27196
|
+
* - `2` DISABLED. Disabled by Meta. Read `disableReason` to tell a policy
|
|
27197
|
+
* action apart from a billing one; they need very different follow-ups.
|
|
27198
|
+
* - `3` UNSETTLED. There is an unpaid balance, but the account still runs
|
|
27199
|
+
* ads. Not a ban.
|
|
27200
|
+
* - `7` PENDING_RISK_REVIEW. Meta is reviewing the account. Wait for the
|
|
27201
|
+
* outcome.
|
|
27202
|
+
* - `8` PENDING_SETTLEMENT. Meta blocks new ads until an outstanding
|
|
27203
|
+
* balance clears. Settle it and the account runs again.
|
|
27204
|
+
* - `9` IN_GRACE_PERIOD. Still running, on a deadline.
|
|
27205
|
+
* - `100` PENDING_CLOSURE. Scheduled to close.
|
|
27206
|
+
* - `101` CLOSED. Terminal.
|
|
27207
|
+
*
|
|
27208
|
+
*/
|
|
27209
|
+
accountStatus?: unknown;
|
|
27210
|
+
/**
|
|
27211
|
+
* 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.
|
|
27212
|
+
*/
|
|
27213
|
+
approvalStatus?: string;
|
|
27214
|
+
/**
|
|
27215
|
+
* 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.
|
|
27216
|
+
*/
|
|
27217
|
+
disableReason?: number;
|
|
27182
27218
|
/**
|
|
27183
27219
|
* IANA timezone of the ad account (Meta only). Drives daily-budget reset and Insights day boundaries.
|
|
27184
27220
|
*/
|