@zernio/node 0.2.422 → 0.2.423
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 +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/generated/sdk.gen.ts +3 -0
- package/src/generated/types.gen.ts +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -25781,7 +25781,7 @@ type ListAdAccountsResponse = ({
|
|
|
25781
25781
|
});
|
|
25782
25782
|
type ListAdAccountsError = ({
|
|
25783
25783
|
error?: string;
|
|
25784
|
-
} | unknown);
|
|
25784
|
+
} | unknown | ErrorResponse);
|
|
25785
25785
|
type UpdateAdAccountData = {
|
|
25786
25786
|
body: {
|
|
25787
25787
|
/**
|
package/dist/index.d.ts
CHANGED
|
@@ -25781,7 +25781,7 @@ type ListAdAccountsResponse = ({
|
|
|
25781
25781
|
});
|
|
25782
25782
|
type ListAdAccountsError = ({
|
|
25783
25783
|
error?: string;
|
|
25784
|
-
} | unknown);
|
|
25784
|
+
} | unknown | ErrorResponse);
|
|
25785
25785
|
type UpdateAdAccountData = {
|
|
25786
25786
|
body: {
|
|
25787
25787
|
/**
|
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: "@zernio/node",
|
|
39
|
-
version: "0.2.
|
|
39
|
+
version: "0.2.423",
|
|
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: "@zernio/node",
|
|
8
|
-
version: "0.2.
|
|
8
|
+
version: "0.2.423",
|
|
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
package/src/generated/sdk.gen.ts
CHANGED
|
@@ -7199,6 +7199,9 @@ export const getAdAccountFinance = <ThrowOnError extends boolean = false>(option
|
|
|
7199
7199
|
* without a BC fall back to the OAuth-time `advertiser_ids` list. Cached for 1h on the
|
|
7200
7200
|
* SocialAccount; lazy-refreshed on first call after expiry.
|
|
7201
7201
|
*
|
|
7202
|
+
* For Google Ads: responds `429` when Google's API quota is temporarily exhausted
|
|
7203
|
+
* (instead of an empty list). Retry after a delay.
|
|
7204
|
+
*
|
|
7202
7205
|
*/
|
|
7203
7206
|
export const listAdAccounts = <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<ListAdAccountsData, ThrowOnError>) => {
|
|
7204
7207
|
return (options?.client ?? client).get<ListAdAccountsResponse, ListAdAccountsError, ThrowOnError>({
|
|
@@ -26276,7 +26276,7 @@ export type ListAdAccountsResponse = ({
|
|
|
26276
26276
|
|
|
26277
26277
|
export type ListAdAccountsError = ({
|
|
26278
26278
|
error?: string;
|
|
26279
|
-
} | unknown);
|
|
26279
|
+
} | unknown | ErrorResponse);
|
|
26280
26280
|
|
|
26281
26281
|
export type UpdateAdAccountData = {
|
|
26282
26282
|
body: {
|