@koda-sl/baker-cli 0.120.0 → 0.121.0-dev.045b11c52
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/cli.js
CHANGED
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
generateCatalog,
|
|
14
14
|
resolveConcurrency,
|
|
15
15
|
validateCanvasDeep
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-MWFJ5NOP.js";
|
|
17
17
|
import {
|
|
18
18
|
csvOrJson,
|
|
19
19
|
daysAgoIso,
|
|
@@ -848,7 +848,6 @@ var LINKEDIN_LIMITS = {
|
|
|
848
848
|
choiceOptionsMax: 30,
|
|
849
849
|
choiceOptionTextMax: 100,
|
|
850
850
|
thankYouMessageMax: 300,
|
|
851
|
-
privacyPolicyTextMax: 2e3,
|
|
852
851
|
legalDisclaimerMax: 2e3,
|
|
853
852
|
consentsMax: 5,
|
|
854
853
|
// Campaign Manager caps disclosure checkboxes at 5
|
|
@@ -1443,7 +1442,6 @@ var leadFormFields = {
|
|
|
1443
1442
|
/** Form language, e.g. { country: "US", language: "en" }. Defaults to the account locale on LinkedIn. */
|
|
1444
1443
|
locale: z2.object({ country: z2.string().length(2), language: z2.string().length(2) }).optional(),
|
|
1445
1444
|
privacyPolicyUrl: httpsUrlSchema,
|
|
1446
|
-
privacyPolicyText: z2.string().max(LEAD.privacyPolicyTextMax).optional(),
|
|
1447
1445
|
questions: z2.array(leadFormQuestionSchema).min(1).max(LEAD.questionsMax),
|
|
1448
1446
|
consents: z2.array(leadFormConsentSchema).max(LEAD.consentsMax).optional(),
|
|
1449
1447
|
hiddenFields: z2.array(leadFormHiddenFieldSchema).max(LEAD.hiddenFieldsMax).optional(),
|
|
@@ -9383,7 +9381,7 @@ var leadFormsCreateCommand = defineCommand38({
|
|
|
9383
9381
|
Required: name, headline (\u226460), privacyPolicyUrl, questions[] (\u226412; playbook: \u22644 for completion).
|
|
9384
9382
|
Each question is a predefined profile field ({ name, predefinedField: "EMAIL" }) or a custom question ({ name, questionType: "MULTIPLE_CHOICE", options: [...] }; \u22643 custom).
|
|
9385
9383
|
Best-practice fields the preview will nudge for if missing: 1-3 qualifying questions, consents[] (disclosure checkboxes), thankYou.message + thankYou.landingUrl|appointmentUrl.
|
|
9386
|
-
Also supported: locale, formImageId|formImageUrn,
|
|
9384
|
+
Also supported: locale, formImageId|formImageUrn, hiddenFields[], legalDisclaimer, thankYou.cta. Example: baker ads linkedin lead-forms create --file form.json`
|
|
9387
9385
|
},
|
|
9388
9386
|
args: {
|
|
9389
9387
|
...accountArgs,
|