@zernio/node 0.2.1821 → 0.2.1823
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 +11 -7
- package/dist/index.d.ts +11 -7
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/generated/sdk.gen.ts +3 -1
- package/src/generated/types.gen.ts +12 -8
package/dist/index.d.mts
CHANGED
|
@@ -8265,9 +8265,11 @@ type AutomationTemplateInput = {
|
|
|
8265
8265
|
*/
|
|
8266
8266
|
key: string;
|
|
8267
8267
|
/**
|
|
8268
|
-
* What the value is. `ad_account`: `{ accountId, adAccountId }`. `profile`: a profile id. `
|
|
8268
|
+
* What the value is. `ad_account`: `{ accountId, adAccountId }`. `profile`: a profile id. `social_account`: one social account id of that profile (a comment to DM or a sequence).
|
|
8269
|
+
*
|
|
8270
|
+
* `social_accounts`: an array of social account ids. `notify_destination`: an array of `{ accountId, to?, channelId? }`. `number`, `money` (in the ad account's currency) and `percent`: a number within the bounds below. `choice`: one of `options[].value`.
|
|
8269
8271
|
*/
|
|
8270
|
-
type: 'ad_account' | 'profile' | 'social_accounts' | 'notify_destination' | 'number' | 'money' | 'percent' | 'choice';
|
|
8272
|
+
type: 'ad_account' | 'profile' | 'social_account' | 'social_accounts' | 'notify_destination' | 'number' | 'money' | 'percent' | 'choice';
|
|
8271
8273
|
label: string;
|
|
8272
8274
|
/**
|
|
8273
8275
|
* True when an install may leave it out. A field that points at a left-out input is dropped.
|
|
@@ -8296,9 +8298,11 @@ type AutomationTemplateInput = {
|
|
|
8296
8298
|
}>;
|
|
8297
8299
|
};
|
|
8298
8300
|
/**
|
|
8299
|
-
* What the value is. `ad_account`: `{ accountId, adAccountId }`. `profile`: a profile id. `
|
|
8301
|
+
* What the value is. `ad_account`: `{ accountId, adAccountId }`. `profile`: a profile id. `social_account`: one social account id of that profile (a comment to DM or a sequence).
|
|
8302
|
+
*
|
|
8303
|
+
* `social_accounts`: an array of social account ids. `notify_destination`: an array of `{ accountId, to?, channelId? }`. `number`, `money` (in the ad account's currency) and `percent`: a number within the bounds below. `choice`: one of `options[].value`.
|
|
8300
8304
|
*/
|
|
8301
|
-
type type9 = 'ad_account' | 'profile' | 'social_accounts' | 'notify_destination' | 'number' | 'money' | 'percent' | 'choice';
|
|
8305
|
+
type type9 = 'ad_account' | 'profile' | 'social_account' | 'social_accounts' | 'notify_destination' | 'number' | 'money' | 'percent' | 'choice';
|
|
8302
8306
|
type AutomationTemplateInstallation = {
|
|
8303
8307
|
templateId: string;
|
|
8304
8308
|
templateVersion: number;
|
|
@@ -44193,11 +44197,11 @@ type StartGoogleBusinessVerificationData = {
|
|
|
44193
44197
|
*/
|
|
44194
44198
|
emailAddress?: string;
|
|
44195
44199
|
/**
|
|
44196
|
-
* For ADDRESS (postcard) verification.
|
|
44200
|
+
* For ADDRESS (postcard) verification. The contact name Google prints on the postcard; an object is also accepted.
|
|
44197
44201
|
*/
|
|
44198
|
-
mailerContact?: {
|
|
44202
|
+
mailerContact?: (string | {
|
|
44199
44203
|
[key: string]: unknown;
|
|
44200
|
-
};
|
|
44204
|
+
});
|
|
44201
44205
|
/**
|
|
44202
44206
|
* ServiceBusinessContext (e.g. service address). Required for service-area businesses.
|
|
44203
44207
|
*/
|
package/dist/index.d.ts
CHANGED
|
@@ -8265,9 +8265,11 @@ type AutomationTemplateInput = {
|
|
|
8265
8265
|
*/
|
|
8266
8266
|
key: string;
|
|
8267
8267
|
/**
|
|
8268
|
-
* What the value is. `ad_account`: `{ accountId, adAccountId }`. `profile`: a profile id. `
|
|
8268
|
+
* What the value is. `ad_account`: `{ accountId, adAccountId }`. `profile`: a profile id. `social_account`: one social account id of that profile (a comment to DM or a sequence).
|
|
8269
|
+
*
|
|
8270
|
+
* `social_accounts`: an array of social account ids. `notify_destination`: an array of `{ accountId, to?, channelId? }`. `number`, `money` (in the ad account's currency) and `percent`: a number within the bounds below. `choice`: one of `options[].value`.
|
|
8269
8271
|
*/
|
|
8270
|
-
type: 'ad_account' | 'profile' | 'social_accounts' | 'notify_destination' | 'number' | 'money' | 'percent' | 'choice';
|
|
8272
|
+
type: 'ad_account' | 'profile' | 'social_account' | 'social_accounts' | 'notify_destination' | 'number' | 'money' | 'percent' | 'choice';
|
|
8271
8273
|
label: string;
|
|
8272
8274
|
/**
|
|
8273
8275
|
* True when an install may leave it out. A field that points at a left-out input is dropped.
|
|
@@ -8296,9 +8298,11 @@ type AutomationTemplateInput = {
|
|
|
8296
8298
|
}>;
|
|
8297
8299
|
};
|
|
8298
8300
|
/**
|
|
8299
|
-
* What the value is. `ad_account`: `{ accountId, adAccountId }`. `profile`: a profile id. `
|
|
8301
|
+
* What the value is. `ad_account`: `{ accountId, adAccountId }`. `profile`: a profile id. `social_account`: one social account id of that profile (a comment to DM or a sequence).
|
|
8302
|
+
*
|
|
8303
|
+
* `social_accounts`: an array of social account ids. `notify_destination`: an array of `{ accountId, to?, channelId? }`. `number`, `money` (in the ad account's currency) and `percent`: a number within the bounds below. `choice`: one of `options[].value`.
|
|
8300
8304
|
*/
|
|
8301
|
-
type type9 = 'ad_account' | 'profile' | 'social_accounts' | 'notify_destination' | 'number' | 'money' | 'percent' | 'choice';
|
|
8305
|
+
type type9 = 'ad_account' | 'profile' | 'social_account' | 'social_accounts' | 'notify_destination' | 'number' | 'money' | 'percent' | 'choice';
|
|
8302
8306
|
type AutomationTemplateInstallation = {
|
|
8303
8307
|
templateId: string;
|
|
8304
8308
|
templateVersion: number;
|
|
@@ -44193,11 +44197,11 @@ type StartGoogleBusinessVerificationData = {
|
|
|
44193
44197
|
*/
|
|
44194
44198
|
emailAddress?: string;
|
|
44195
44199
|
/**
|
|
44196
|
-
* For ADDRESS (postcard) verification.
|
|
44200
|
+
* For ADDRESS (postcard) verification. The contact name Google prints on the postcard; an object is also accepted.
|
|
44197
44201
|
*/
|
|
44198
|
-
mailerContact?: {
|
|
44202
|
+
mailerContact?: (string | {
|
|
44199
44203
|
[key: string]: unknown;
|
|
44200
|
-
};
|
|
44204
|
+
});
|
|
44201
44205
|
/**
|
|
44202
44206
|
* ServiceBusinessContext (e.g. service address). Required for service-area businesses.
|
|
44203
44207
|
*/
|
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.1823",
|
|
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.1823",
|
|
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
|
@@ -15228,7 +15228,9 @@ export const installSharedAutomationTemplate = <ThrowOnError extends boolean = f
|
|
|
15228
15228
|
|
|
15229
15229
|
/**
|
|
15230
15230
|
* Get a Zernio automation template
|
|
15231
|
-
* Returns one of Zernio's ready-made
|
|
15231
|
+
* Returns one of Zernio's ready-made templates in the same shape as your own: an ad rule (like `stop_losers`), a comment to DM (`comment-keyword-dm`, `comment-keyword-dm-follow-gate`) or a sequence (`sequence-welcome-series`, `sequence-nurture`).
|
|
15232
|
+
*
|
|
15233
|
+
* In an ad rule, each threshold and budget or bid amount is an input with the template's own value as its default, so an install can change it or leave it. A comment to DM or a sequence asks for a profile and one account of it.
|
|
15232
15234
|
*
|
|
15233
15235
|
*/
|
|
15234
15236
|
export const getZernioAutomationTemplate = <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<GetZernioAutomationTemplateData, ThrowOnError>) => {
|
|
@@ -5831,9 +5831,11 @@ export type AutomationTemplateInput = {
|
|
|
5831
5831
|
*/
|
|
5832
5832
|
key: string;
|
|
5833
5833
|
/**
|
|
5834
|
-
* What the value is. `ad_account`: `{ accountId, adAccountId }`. `profile`: a profile id. `
|
|
5834
|
+
* What the value is. `ad_account`: `{ accountId, adAccountId }`. `profile`: a profile id. `social_account`: one social account id of that profile (a comment to DM or a sequence).
|
|
5835
|
+
*
|
|
5836
|
+
* `social_accounts`: an array of social account ids. `notify_destination`: an array of `{ accountId, to?, channelId? }`. `number`, `money` (in the ad account's currency) and `percent`: a number within the bounds below. `choice`: one of `options[].value`.
|
|
5835
5837
|
*/
|
|
5836
|
-
type: 'ad_account' | 'profile' | 'social_accounts' | 'notify_destination' | 'number' | 'money' | 'percent' | 'choice';
|
|
5838
|
+
type: 'ad_account' | 'profile' | 'social_account' | 'social_accounts' | 'notify_destination' | 'number' | 'money' | 'percent' | 'choice';
|
|
5837
5839
|
label: string;
|
|
5838
5840
|
/**
|
|
5839
5841
|
* True when an install may leave it out. A field that points at a left-out input is dropped.
|
|
@@ -5863,9 +5865,11 @@ export type AutomationTemplateInput = {
|
|
|
5863
5865
|
};
|
|
5864
5866
|
|
|
5865
5867
|
/**
|
|
5866
|
-
* What the value is. `ad_account`: `{ accountId, adAccountId }`. `profile`: a profile id. `
|
|
5868
|
+
* What the value is. `ad_account`: `{ accountId, adAccountId }`. `profile`: a profile id. `social_account`: one social account id of that profile (a comment to DM or a sequence).
|
|
5869
|
+
*
|
|
5870
|
+
* `social_accounts`: an array of social account ids. `notify_destination`: an array of `{ accountId, to?, channelId? }`. `number`, `money` (in the ad account's currency) and `percent`: a number within the bounds below. `choice`: one of `options[].value`.
|
|
5867
5871
|
*/
|
|
5868
|
-
export type type9 = 'ad_account' | 'profile' | 'social_accounts' | 'notify_destination' | 'number' | 'money' | 'percent' | 'choice';
|
|
5872
|
+
export type type9 = 'ad_account' | 'profile' | 'social_account' | 'social_accounts' | 'notify_destination' | 'number' | 'money' | 'percent' | 'choice';
|
|
5869
5873
|
|
|
5870
5874
|
export type AutomationTemplateInstallation = {
|
|
5871
5875
|
templateId: string;
|
|
@@ -43537,11 +43541,11 @@ export type StartGoogleBusinessVerificationData = {
|
|
|
43537
43541
|
*/
|
|
43538
43542
|
emailAddress?: string;
|
|
43539
43543
|
/**
|
|
43540
|
-
* For ADDRESS (postcard) verification.
|
|
43544
|
+
* For ADDRESS (postcard) verification. The contact name Google prints on the postcard; an object is also accepted.
|
|
43541
43545
|
*/
|
|
43542
|
-
mailerContact?: {
|
|
43543
|
-
|
|
43544
|
-
|
|
43546
|
+
mailerContact?: (string | {
|
|
43547
|
+
[key: string]: unknown;
|
|
43548
|
+
});
|
|
43545
43549
|
/**
|
|
43546
43550
|
* ServiceBusinessContext (e.g. service address). Required for service-area businesses.
|
|
43547
43551
|
*/
|