@keystrokehq/sendspark 0.1.2 → 0.1.4
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/actions/add-multiple-prospects-to-dynamic-campaign.cjs +7 -7
- package/dist/actions/add-multiple-prospects-to-dynamic-campaign.cjs.map +1 -1
- package/dist/actions/add-multiple-prospects-to-dynamic-campaign.d.cts +8 -7
- package/dist/actions/add-multiple-prospects-to-dynamic-campaign.d.mts +8 -7
- package/dist/actions/add-multiple-prospects-to-dynamic-campaign.mjs +7 -7
- package/dist/actions/add-multiple-prospects-to-dynamic-campaign.mjs.map +1 -1
- package/dist/actions/add-prospect-to-dynamic-video-campaign.cjs +1 -1
- package/dist/actions/add-prospect-to-dynamic-video-campaign.cjs.map +1 -1
- package/dist/actions/add-prospect-to-dynamic-video-campaign.d.cts +1 -1
- package/dist/actions/add-prospect-to-dynamic-video-campaign.d.mts +1 -1
- package/dist/actions/add-prospect-to-dynamic-video-campaign.mjs +1 -1
- package/dist/actions/add-prospect-to-dynamic-video-campaign.mjs.map +1 -1
- package/dist/actions/api-health-status.cjs +1 -1
- package/dist/actions/api-health-status.cjs.map +1 -1
- package/dist/actions/api-health-status.d.cts +1 -1
- package/dist/actions/api-health-status.d.mts +1 -1
- package/dist/actions/api-health-status.mjs +1 -1
- package/dist/actions/api-health-status.mjs.map +1 -1
- package/dist/actions/delete-webhook.cjs +1 -1
- package/dist/actions/delete-webhook.cjs.map +1 -1
- package/dist/actions/delete-webhook.d.cts +1 -1
- package/dist/actions/delete-webhook.d.mts +1 -1
- package/dist/actions/delete-webhook.mjs +1 -1
- package/dist/actions/delete-webhook.mjs.map +1 -1
- package/dist/actions/get-dynamic-campaign-by-id.cjs +7 -7
- package/dist/actions/get-dynamic-campaign-by-id.cjs.map +1 -1
- package/dist/actions/get-dynamic-campaign-by-id.d.cts +7 -7
- package/dist/actions/get-dynamic-campaign-by-id.d.mts +7 -7
- package/dist/actions/get-dynamic-campaign-by-id.mjs +7 -7
- package/dist/actions/get-dynamic-campaign-by-id.mjs.map +1 -1
- package/dist/actions/get-workspace-prospect-data-by-email.cjs +2 -2
- package/dist/actions/get-workspace-prospect-data-by-email.cjs.map +1 -1
- package/dist/actions/get-workspace-prospect-data-by-email.d.cts +2 -2
- package/dist/actions/get-workspace-prospect-data-by-email.d.mts +2 -2
- package/dist/actions/get-workspace-prospect-data-by-email.mjs +2 -2
- package/dist/actions/get-workspace-prospect-data-by-email.mjs.map +1 -1
- package/dist/actions/list-dynamic-video-campaigns.cjs +16 -16
- package/dist/actions/list-dynamic-video-campaigns.cjs.map +1 -1
- package/dist/actions/list-dynamic-video-campaigns.d.cts +16 -16
- package/dist/actions/list-dynamic-video-campaigns.d.mts +16 -16
- package/dist/actions/list-dynamic-video-campaigns.mjs +16 -16
- package/dist/actions/list-dynamic-video-campaigns.mjs.map +1 -1
- package/dist/catalog.cjs +1 -1
- package/dist/catalog.cjs.map +1 -1
- package/dist/catalog.d.cts +1 -1
- package/dist/catalog.d.mts +1 -1
- package/dist/catalog.mjs +1 -1
- package/dist/catalog.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -10,14 +10,14 @@ const SendsparkAddMultipleProspectsToDynamicCampaignInput = zod.z.object({
|
|
|
10
10
|
contactName: zod.z.string().describe("Prospect's name"),
|
|
11
11
|
contactEmail: zod.z.string().describe("Prospect's email address"),
|
|
12
12
|
backgroundUrl: zod.z.string().describe("Background image URL for the dynamic video").optional()
|
|
13
|
-
})).describe("List of prospects to add"),
|
|
13
|
+
}).passthrough()).describe("List of prospects to add"),
|
|
14
14
|
prospectDepurationConfig: zod.z.object({
|
|
15
15
|
forceCreation: zod.z.boolean().describe("Create new prospect even if one exists").optional(),
|
|
16
16
|
payloadDepurationStrategy: zod.z.enum(["keep-first-valid", "keep-last-valid"]).describe("Depuration strategy").optional()
|
|
17
17
|
}).describe("Configuration for prospect deduplication").optional(),
|
|
18
18
|
processAndAuthorizeCharge: zod.z.boolean().describe("Must be true to confirm usage-based charges")
|
|
19
19
|
});
|
|
20
|
-
const SendsparkAddMultipleProspectsToDynamicCampaign_MetadataSchema = zod.z.object({ version: zod.z.number().int().describe("Metadata version").nullable() });
|
|
20
|
+
const SendsparkAddMultipleProspectsToDynamicCampaign_MetadataSchema = zod.z.object({ version: zod.z.number().int().describe("Metadata version").nullable() }).passthrough();
|
|
21
21
|
const SendsparkAddMultipleProspectsToDynamicCampaign_ProspectResponseItemSchema = zod.z.object({
|
|
22
22
|
_id: zod.z.string().nullable(),
|
|
23
23
|
valid: zod.z.boolean().describe("Whether the prospect is valid").nullable(),
|
|
@@ -36,18 +36,18 @@ const SendsparkAddMultipleProspectsToDynamicCampaign_ProspectResponseItemSchema
|
|
|
36
36
|
screenshotUrl: zod.z.string().describe("Screenshot image URL").nullable().optional(),
|
|
37
37
|
webhookEvents: zod.z.array(zod.z.string()).describe("Subscribed webhook events"),
|
|
38
38
|
validationDetails: zod.z.union([zod.z.string(), zod.z.array(zod.z.string())]).nullable().optional()
|
|
39
|
-
});
|
|
39
|
+
}).passthrough();
|
|
40
40
|
const SendsparkAddMultipleProspectsToDynamicCampaign_ButtonSchema = zod.z.object({
|
|
41
41
|
link: zod.z.string().describe("Button link URL").nullable().optional(),
|
|
42
42
|
label: zod.z.string().describe("Button label").nullable().optional(),
|
|
43
43
|
position: zod.z.number().int().describe("Button position").nullable().optional()
|
|
44
|
-
});
|
|
44
|
+
}).passthrough();
|
|
45
45
|
const SendsparkAddMultipleProspectsToDynamicCampaign_SharePageSchema = zod.z.object({
|
|
46
46
|
title: zod.z.string().describe("Share page title").nullable().optional(),
|
|
47
47
|
buttons: zod.z.array(SendsparkAddMultipleProspectsToDynamicCampaign_ButtonSchema).describe("List of share page buttons").nullable().optional(),
|
|
48
48
|
message: zod.z.string().describe("Share page message").nullable().optional()
|
|
49
|
-
});
|
|
50
|
-
const SendsparkAddMultipleProspectsToDynamicCampaign_VideoPropertiesSchema = zod.z.object({ sharePage: SendsparkAddMultipleProspectsToDynamicCampaign_SharePageSchema.nullable() });
|
|
49
|
+
}).passthrough();
|
|
50
|
+
const SendsparkAddMultipleProspectsToDynamicCampaign_VideoPropertiesSchema = zod.z.object({ sharePage: SendsparkAddMultipleProspectsToDynamicCampaign_SharePageSchema.nullable() }).passthrough();
|
|
51
51
|
const SendsparkAddMultipleProspectsToDynamicCampaignOutput = zod.z.object({
|
|
52
52
|
_id: zod.z.string().describe("Campaign ID").nullable(),
|
|
53
53
|
name: zod.z.string().describe("Name of the dynamic campaign").nullable(),
|
|
@@ -63,7 +63,7 @@ const SendsparkAddMultipleProspectsToDynamicCampaignOutput = zod.z.object({
|
|
|
63
63
|
combinedVideo: zod.z.boolean().describe("Whether videos are combined").nullable(),
|
|
64
64
|
videoProperties: SendsparkAddMultipleProspectsToDynamicCampaign_VideoPropertiesSchema.nullable(),
|
|
65
65
|
dynamicBackground: zod.z.boolean().describe("Whether dynamic background is used").nullable()
|
|
66
|
-
});
|
|
66
|
+
}).passthrough();
|
|
67
67
|
const sendsparkAddMultipleProspectsToDynamicCampaign = require_action.action("SENDSPARK_ADD_MULTIPLE_PROSPECTS_TO_DYNAMIC_CAMPAIGN", {
|
|
68
68
|
slug: "sendspark-add-multiple-prospects-to-dynamic-campaign",
|
|
69
69
|
name: "Add Multiple Prospects to Dynamic Campaign",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add-multiple-prospects-to-dynamic-campaign.cjs","names":["z","action"],"sources":["../../src/actions/add-multiple-prospects-to-dynamic-campaign.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendsparkAddMultipleProspectsToDynamicCampaignInput = z.object({\n dynamicsId: z.string().describe(\"Dynamic campaign identifier\"),\n workspaceId: z.string().describe(\"Workspace identifier\"),\n prospectList: z.array(z.object({\n company: z.string().describe(\"Prospect's company\").optional(),\n jobTitle: z.string().describe(\"Prospect's job title\").optional(),\n contactName: z.string().describe(\"Prospect's name\"),\n contactEmail: z.string().describe(\"Prospect's email address\"),\n backgroundUrl: z.string().describe(\"Background image URL for the dynamic video\").optional(),\n})).describe(\"List of prospects to add\"),\n prospectDepurationConfig: z.object({\n forceCreation: z.boolean().describe(\"Create new prospect even if one exists\").optional(),\n payloadDepurationStrategy: z.enum([\"keep-first-valid\", \"keep-last-valid\"]).describe(\"Depuration strategy\").optional(),\n}).describe(\"Configuration for prospect deduplication\").optional(),\n processAndAuthorizeCharge: z.boolean().describe(\"Must be true to confirm usage-based charges\"),\n});\nconst SendsparkAddMultipleProspectsToDynamicCampaign_MetadataSchema = z.object({\n version: z.number().int().describe(\"Metadata version\").nullable(),\n});\nconst SendsparkAddMultipleProspectsToDynamicCampaign_ProspectResponseItemSchema = z.object({\n _id: z.string().nullable(),\n valid: z.boolean().describe(\"Whether the prospect is valid\").nullable(),\n bulkId: z.string().describe(\"Bulk request ID\").nullable(),\n status: z.string().describe(\"Processing status\").nullable(),\n company: z.string().describe(\"Prospect's company\").nullable().optional(),\n campaign: z.string().describe(\"Campaign ID\").nullable().optional(),\n jobTitle: z.string().describe(\"Prospect's job title\").nullable().optional(),\n createdAt: z.string().describe(\"Creation timestamp\").nullable(),\n deletedAt: z.string().describe(\"Deletion timestamp\").nullable().optional(),\n updatedAt: z.string().describe(\"Last updated timestamp\").nullable(),\n webhookUrl: z.string().describe(\"Webhook URL for events\").nullable().optional(),\n contactName: z.string().nullable(),\n contactEmail: z.string().nullable(),\n backgroundUrl: z.string().describe(\"Background image URL\").nullable().optional(),\n screenshotUrl: z.string().describe(\"Screenshot image URL\").nullable().optional(),\n webhookEvents: z.array(z.string()).describe(\"Subscribed webhook events\"),\n validationDetails: z.union([z.string(), z.array(z.string())]).nullable().optional(),\n});\nconst SendsparkAddMultipleProspectsToDynamicCampaign_ButtonSchema = z.object({\n link: z.string().describe(\"Button link URL\").nullable().optional(),\n label: z.string().describe(\"Button label\").nullable().optional(),\n position: z.number().int().describe(\"Button position\").nullable().optional(),\n});\nconst SendsparkAddMultipleProspectsToDynamicCampaign_SharePageSchema = z.object({\n title: z.string().describe(\"Share page title\").nullable().optional(),\n buttons: z.array(SendsparkAddMultipleProspectsToDynamicCampaign_ButtonSchema).describe(\"List of share page buttons\").nullable().optional(),\n message: z.string().describe(\"Share page message\").nullable().optional(),\n});\nconst SendsparkAddMultipleProspectsToDynamicCampaign_VideoPropertiesSchema = z.object({\n sharePage: SendsparkAddMultipleProspectsToDynamicCampaign_SharePageSchema.nullable(),\n});\nexport const SendsparkAddMultipleProspectsToDynamicCampaignOutput = z.object({\n _id: z.string().describe(\"Campaign ID\").nullable(),\n name: z.string().describe(\"Name of the dynamic campaign\").nullable(),\n folder: z.string().describe(\"Folder ID\").nullable(),\n status: z.string().describe(\"Campaign status\").nullable(),\n creator: z.string().describe(\"Creator ID\").nullable(),\n metadata: SendsparkAddMultipleProspectsToDynamicCampaign_MetadataSchema.nullable(),\n createdAt: z.string().describe(\"Creation timestamp\").nullable(),\n deletedAt: z.string().describe(\"Deletion timestamp\").nullable().optional(),\n workspace: z.string().describe(\"Workspace ID\").nullable(),\n prospectList: z.array(SendsparkAddMultipleProspectsToDynamicCampaign_ProspectResponseItemSchema).describe(\"List of prospect responses\"),\n videosAssets: z.array(z.string()).describe(\"List of video asset URLs\"),\n combinedVideo: z.boolean().describe(\"Whether videos are combined\").nullable(),\n videoProperties: SendsparkAddMultipleProspectsToDynamicCampaign_VideoPropertiesSchema.nullable(),\n dynamicBackground: z.boolean().describe(\"Whether dynamic background is used\").nullable(),\n});\n\nexport const sendsparkAddMultipleProspectsToDynamicCampaign = action(\"SENDSPARK_ADD_MULTIPLE_PROSPECTS_TO_DYNAMIC_CAMPAIGN\", {\n slug: \"sendspark-add-multiple-prospects-to-dynamic-campaign\",\n name: \"Add Multiple Prospects to Dynamic Campaign\",\n description: \"Tool to add multiple prospects to a dynamic campaign in bulk. Use when you need to add many prospects to your dynamic video campaign at once after confirming associated charges.\",\n input: SendsparkAddMultipleProspectsToDynamicCampaignInput,\n output: SendsparkAddMultipleProspectsToDynamicCampaignOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sDAAsDA,IAAAA,EAAE,OAAO;CAC1E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;CAC7D,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB;CACvD,cAAcA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EAC/B,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;EAC5D,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;EAC/D,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB;EAClD,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B;EAC5D,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CAC5F,CAAC,CAAC,CAAC,CAAC,SAAS,0BAA0B;
|
|
1
|
+
{"version":3,"file":"add-multiple-prospects-to-dynamic-campaign.cjs","names":["z","action"],"sources":["../../src/actions/add-multiple-prospects-to-dynamic-campaign.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendsparkAddMultipleProspectsToDynamicCampaignInput = z.object({\n dynamicsId: z.string().describe(\"Dynamic campaign identifier\"),\n workspaceId: z.string().describe(\"Workspace identifier\"),\n prospectList: z.array(z.object({\n company: z.string().describe(\"Prospect's company\").optional(),\n jobTitle: z.string().describe(\"Prospect's job title\").optional(),\n contactName: z.string().describe(\"Prospect's name\"),\n contactEmail: z.string().describe(\"Prospect's email address\"),\n backgroundUrl: z.string().describe(\"Background image URL for the dynamic video\").optional(),\n}).passthrough()).describe(\"List of prospects to add\"),\n prospectDepurationConfig: z.object({\n forceCreation: z.boolean().describe(\"Create new prospect even if one exists\").optional(),\n payloadDepurationStrategy: z.enum([\"keep-first-valid\", \"keep-last-valid\"]).describe(\"Depuration strategy\").optional(),\n}).describe(\"Configuration for prospect deduplication\").optional(),\n processAndAuthorizeCharge: z.boolean().describe(\"Must be true to confirm usage-based charges\"),\n});\nconst SendsparkAddMultipleProspectsToDynamicCampaign_MetadataSchema = z.object({\n version: z.number().int().describe(\"Metadata version\").nullable(),\n}).passthrough();\nconst SendsparkAddMultipleProspectsToDynamicCampaign_ProspectResponseItemSchema = z.object({\n _id: z.string().nullable(),\n valid: z.boolean().describe(\"Whether the prospect is valid\").nullable(),\n bulkId: z.string().describe(\"Bulk request ID\").nullable(),\n status: z.string().describe(\"Processing status\").nullable(),\n company: z.string().describe(\"Prospect's company\").nullable().optional(),\n campaign: z.string().describe(\"Campaign ID\").nullable().optional(),\n jobTitle: z.string().describe(\"Prospect's job title\").nullable().optional(),\n createdAt: z.string().describe(\"Creation timestamp\").nullable(),\n deletedAt: z.string().describe(\"Deletion timestamp\").nullable().optional(),\n updatedAt: z.string().describe(\"Last updated timestamp\").nullable(),\n webhookUrl: z.string().describe(\"Webhook URL for events\").nullable().optional(),\n contactName: z.string().nullable(),\n contactEmail: z.string().nullable(),\n backgroundUrl: z.string().describe(\"Background image URL\").nullable().optional(),\n screenshotUrl: z.string().describe(\"Screenshot image URL\").nullable().optional(),\n webhookEvents: z.array(z.string()).describe(\"Subscribed webhook events\"),\n validationDetails: z.union([z.string(), z.array(z.string())]).nullable().optional(),\n}).passthrough();\nconst SendsparkAddMultipleProspectsToDynamicCampaign_ButtonSchema = z.object({\n link: z.string().describe(\"Button link URL\").nullable().optional(),\n label: z.string().describe(\"Button label\").nullable().optional(),\n position: z.number().int().describe(\"Button position\").nullable().optional(),\n}).passthrough();\nconst SendsparkAddMultipleProspectsToDynamicCampaign_SharePageSchema = z.object({\n title: z.string().describe(\"Share page title\").nullable().optional(),\n buttons: z.array(SendsparkAddMultipleProspectsToDynamicCampaign_ButtonSchema).describe(\"List of share page buttons\").nullable().optional(),\n message: z.string().describe(\"Share page message\").nullable().optional(),\n}).passthrough();\nconst SendsparkAddMultipleProspectsToDynamicCampaign_VideoPropertiesSchema = z.object({\n sharePage: SendsparkAddMultipleProspectsToDynamicCampaign_SharePageSchema.nullable(),\n}).passthrough();\nexport const SendsparkAddMultipleProspectsToDynamicCampaignOutput = z.object({\n _id: z.string().describe(\"Campaign ID\").nullable(),\n name: z.string().describe(\"Name of the dynamic campaign\").nullable(),\n folder: z.string().describe(\"Folder ID\").nullable(),\n status: z.string().describe(\"Campaign status\").nullable(),\n creator: z.string().describe(\"Creator ID\").nullable(),\n metadata: SendsparkAddMultipleProspectsToDynamicCampaign_MetadataSchema.nullable(),\n createdAt: z.string().describe(\"Creation timestamp\").nullable(),\n deletedAt: z.string().describe(\"Deletion timestamp\").nullable().optional(),\n workspace: z.string().describe(\"Workspace ID\").nullable(),\n prospectList: z.array(SendsparkAddMultipleProspectsToDynamicCampaign_ProspectResponseItemSchema).describe(\"List of prospect responses\"),\n videosAssets: z.array(z.string()).describe(\"List of video asset URLs\"),\n combinedVideo: z.boolean().describe(\"Whether videos are combined\").nullable(),\n videoProperties: SendsparkAddMultipleProspectsToDynamicCampaign_VideoPropertiesSchema.nullable(),\n dynamicBackground: z.boolean().describe(\"Whether dynamic background is used\").nullable(),\n}).passthrough();\n\nexport const sendsparkAddMultipleProspectsToDynamicCampaign = action(\"SENDSPARK_ADD_MULTIPLE_PROSPECTS_TO_DYNAMIC_CAMPAIGN\", {\n slug: \"sendspark-add-multiple-prospects-to-dynamic-campaign\",\n name: \"Add Multiple Prospects to Dynamic Campaign\",\n description: \"Tool to add multiple prospects to a dynamic campaign in bulk. Use when you need to add many prospects to your dynamic video campaign at once after confirming associated charges.\",\n input: SendsparkAddMultipleProspectsToDynamicCampaignInput,\n output: SendsparkAddMultipleProspectsToDynamicCampaignOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sDAAsDA,IAAAA,EAAE,OAAO;CAC1E,YAAYA,IAAAA,EAAE,OAAO,CAAC,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D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS;CACxD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,YAAY,CAAC,CAAC,SAAS;CACpD,UAAU,8DAA8D,SAAS;CACjF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;CAC9D,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS;CACxD,cAAcA,IAAAA,EAAE,MAAM,yEAAyE,CAAC,CAAC,SAAS,4BAA4B;CACtI,cAAcA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,0BAA0B;CACrE,eAAeA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CAC5E,iBAAiB,qEAAqE,SAAS;CAC/F,mBAAmBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;AACzF,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,iDAAiDC,eAAAA,OAAO,wDAAwD;CAC3H,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -10,7 +10,7 @@ declare const SendsparkAddMultipleProspectsToDynamicCampaignInput: z.ZodObject<{
|
|
|
10
10
|
contactName: z.ZodString;
|
|
11
11
|
contactEmail: z.ZodString;
|
|
12
12
|
backgroundUrl: z.ZodOptional<z.ZodString>;
|
|
13
|
-
}, z.core.$
|
|
13
|
+
}, z.core.$loose>>;
|
|
14
14
|
prospectDepurationConfig: z.ZodOptional<z.ZodObject<{
|
|
15
15
|
forceCreation: z.ZodOptional<z.ZodBoolean>;
|
|
16
16
|
payloadDepurationStrategy: z.ZodOptional<z.ZodEnum<{
|
|
@@ -28,7 +28,7 @@ declare const SendsparkAddMultipleProspectsToDynamicCampaignOutput: z.ZodObject<
|
|
|
28
28
|
creator: z.ZodNullable<z.ZodString>;
|
|
29
29
|
metadata: z.ZodNullable<z.ZodObject<{
|
|
30
30
|
version: z.ZodNullable<z.ZodNumber>;
|
|
31
|
-
}, z.core.$
|
|
31
|
+
}, z.core.$loose>>;
|
|
32
32
|
createdAt: z.ZodNullable<z.ZodString>;
|
|
33
33
|
deletedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
34
34
|
workspace: z.ZodNullable<z.ZodString>;
|
|
@@ -50,7 +50,7 @@ declare const SendsparkAddMultipleProspectsToDynamicCampaignOutput: z.ZodObject<
|
|
|
50
50
|
screenshotUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
51
51
|
webhookEvents: z.ZodArray<z.ZodString>;
|
|
52
52
|
validationDetails: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>>;
|
|
53
|
-
}, z.core.$
|
|
53
|
+
}, z.core.$loose>>;
|
|
54
54
|
videosAssets: z.ZodArray<z.ZodString>;
|
|
55
55
|
combinedVideo: z.ZodNullable<z.ZodBoolean>;
|
|
56
56
|
videoProperties: z.ZodNullable<z.ZodObject<{
|
|
@@ -60,16 +60,17 @@ declare const SendsparkAddMultipleProspectsToDynamicCampaignOutput: z.ZodObject<
|
|
|
60
60
|
link: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
61
61
|
label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
62
62
|
position: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
63
|
-
}, z.core.$
|
|
63
|
+
}, z.core.$loose>>>>;
|
|
64
64
|
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
65
|
-
}, z.core.$
|
|
66
|
-
}, z.core.$
|
|
65
|
+
}, z.core.$loose>>;
|
|
66
|
+
}, z.core.$loose>>;
|
|
67
67
|
dynamicBackground: z.ZodNullable<z.ZodBoolean>;
|
|
68
|
-
}, z.core.$
|
|
68
|
+
}, z.core.$loose>;
|
|
69
69
|
declare const sendsparkAddMultipleProspectsToDynamicCampaign: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
70
70
|
dynamicsId: string;
|
|
71
71
|
workspaceId: string;
|
|
72
72
|
prospectList: {
|
|
73
|
+
[x: string]: unknown;
|
|
73
74
|
contactName: string;
|
|
74
75
|
contactEmail: string;
|
|
75
76
|
company?: string | undefined;
|
|
@@ -10,7 +10,7 @@ declare const SendsparkAddMultipleProspectsToDynamicCampaignInput: z.ZodObject<{
|
|
|
10
10
|
contactName: z.ZodString;
|
|
11
11
|
contactEmail: z.ZodString;
|
|
12
12
|
backgroundUrl: z.ZodOptional<z.ZodString>;
|
|
13
|
-
}, z.core.$
|
|
13
|
+
}, z.core.$loose>>;
|
|
14
14
|
prospectDepurationConfig: z.ZodOptional<z.ZodObject<{
|
|
15
15
|
forceCreation: z.ZodOptional<z.ZodBoolean>;
|
|
16
16
|
payloadDepurationStrategy: z.ZodOptional<z.ZodEnum<{
|
|
@@ -28,7 +28,7 @@ declare const SendsparkAddMultipleProspectsToDynamicCampaignOutput: z.ZodObject<
|
|
|
28
28
|
creator: z.ZodNullable<z.ZodString>;
|
|
29
29
|
metadata: z.ZodNullable<z.ZodObject<{
|
|
30
30
|
version: z.ZodNullable<z.ZodNumber>;
|
|
31
|
-
}, z.core.$
|
|
31
|
+
}, z.core.$loose>>;
|
|
32
32
|
createdAt: z.ZodNullable<z.ZodString>;
|
|
33
33
|
deletedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
34
34
|
workspace: z.ZodNullable<z.ZodString>;
|
|
@@ -50,7 +50,7 @@ declare const SendsparkAddMultipleProspectsToDynamicCampaignOutput: z.ZodObject<
|
|
|
50
50
|
screenshotUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
51
51
|
webhookEvents: z.ZodArray<z.ZodString>;
|
|
52
52
|
validationDetails: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>>;
|
|
53
|
-
}, z.core.$
|
|
53
|
+
}, z.core.$loose>>;
|
|
54
54
|
videosAssets: z.ZodArray<z.ZodString>;
|
|
55
55
|
combinedVideo: z.ZodNullable<z.ZodBoolean>;
|
|
56
56
|
videoProperties: z.ZodNullable<z.ZodObject<{
|
|
@@ -60,16 +60,17 @@ declare const SendsparkAddMultipleProspectsToDynamicCampaignOutput: z.ZodObject<
|
|
|
60
60
|
link: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
61
61
|
label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
62
62
|
position: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
63
|
-
}, z.core.$
|
|
63
|
+
}, z.core.$loose>>>>;
|
|
64
64
|
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
65
|
-
}, z.core.$
|
|
66
|
-
}, z.core.$
|
|
65
|
+
}, z.core.$loose>>;
|
|
66
|
+
}, z.core.$loose>>;
|
|
67
67
|
dynamicBackground: z.ZodNullable<z.ZodBoolean>;
|
|
68
|
-
}, z.core.$
|
|
68
|
+
}, z.core.$loose>;
|
|
69
69
|
declare const sendsparkAddMultipleProspectsToDynamicCampaign: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
70
70
|
dynamicsId: string;
|
|
71
71
|
workspaceId: string;
|
|
72
72
|
prospectList: {
|
|
73
|
+
[x: string]: unknown;
|
|
73
74
|
contactName: string;
|
|
74
75
|
contactEmail: string;
|
|
75
76
|
company?: string | undefined;
|
|
@@ -10,14 +10,14 @@ const SendsparkAddMultipleProspectsToDynamicCampaignInput = z.object({
|
|
|
10
10
|
contactName: z.string().describe("Prospect's name"),
|
|
11
11
|
contactEmail: z.string().describe("Prospect's email address"),
|
|
12
12
|
backgroundUrl: z.string().describe("Background image URL for the dynamic video").optional()
|
|
13
|
-
})).describe("List of prospects to add"),
|
|
13
|
+
}).passthrough()).describe("List of prospects to add"),
|
|
14
14
|
prospectDepurationConfig: z.object({
|
|
15
15
|
forceCreation: z.boolean().describe("Create new prospect even if one exists").optional(),
|
|
16
16
|
payloadDepurationStrategy: z.enum(["keep-first-valid", "keep-last-valid"]).describe("Depuration strategy").optional()
|
|
17
17
|
}).describe("Configuration for prospect deduplication").optional(),
|
|
18
18
|
processAndAuthorizeCharge: z.boolean().describe("Must be true to confirm usage-based charges")
|
|
19
19
|
});
|
|
20
|
-
const SendsparkAddMultipleProspectsToDynamicCampaign_MetadataSchema = z.object({ version: z.number().int().describe("Metadata version").nullable() });
|
|
20
|
+
const SendsparkAddMultipleProspectsToDynamicCampaign_MetadataSchema = z.object({ version: z.number().int().describe("Metadata version").nullable() }).passthrough();
|
|
21
21
|
const SendsparkAddMultipleProspectsToDynamicCampaign_ProspectResponseItemSchema = z.object({
|
|
22
22
|
_id: z.string().nullable(),
|
|
23
23
|
valid: z.boolean().describe("Whether the prospect is valid").nullable(),
|
|
@@ -36,18 +36,18 @@ const SendsparkAddMultipleProspectsToDynamicCampaign_ProspectResponseItemSchema
|
|
|
36
36
|
screenshotUrl: z.string().describe("Screenshot image URL").nullable().optional(),
|
|
37
37
|
webhookEvents: z.array(z.string()).describe("Subscribed webhook events"),
|
|
38
38
|
validationDetails: z.union([z.string(), z.array(z.string())]).nullable().optional()
|
|
39
|
-
});
|
|
39
|
+
}).passthrough();
|
|
40
40
|
const SendsparkAddMultipleProspectsToDynamicCampaign_ButtonSchema = z.object({
|
|
41
41
|
link: z.string().describe("Button link URL").nullable().optional(),
|
|
42
42
|
label: z.string().describe("Button label").nullable().optional(),
|
|
43
43
|
position: z.number().int().describe("Button position").nullable().optional()
|
|
44
|
-
});
|
|
44
|
+
}).passthrough();
|
|
45
45
|
const SendsparkAddMultipleProspectsToDynamicCampaign_SharePageSchema = z.object({
|
|
46
46
|
title: z.string().describe("Share page title").nullable().optional(),
|
|
47
47
|
buttons: z.array(SendsparkAddMultipleProspectsToDynamicCampaign_ButtonSchema).describe("List of share page buttons").nullable().optional(),
|
|
48
48
|
message: z.string().describe("Share page message").nullable().optional()
|
|
49
|
-
});
|
|
50
|
-
const SendsparkAddMultipleProspectsToDynamicCampaign_VideoPropertiesSchema = z.object({ sharePage: SendsparkAddMultipleProspectsToDynamicCampaign_SharePageSchema.nullable() });
|
|
49
|
+
}).passthrough();
|
|
50
|
+
const SendsparkAddMultipleProspectsToDynamicCampaign_VideoPropertiesSchema = z.object({ sharePage: SendsparkAddMultipleProspectsToDynamicCampaign_SharePageSchema.nullable() }).passthrough();
|
|
51
51
|
const sendsparkAddMultipleProspectsToDynamicCampaign = action("SENDSPARK_ADD_MULTIPLE_PROSPECTS_TO_DYNAMIC_CAMPAIGN", {
|
|
52
52
|
slug: "sendspark-add-multiple-prospects-to-dynamic-campaign",
|
|
53
53
|
name: "Add Multiple Prospects to Dynamic Campaign",
|
|
@@ -68,7 +68,7 @@ const sendsparkAddMultipleProspectsToDynamicCampaign = action("SENDSPARK_ADD_MUL
|
|
|
68
68
|
combinedVideo: z.boolean().describe("Whether videos are combined").nullable(),
|
|
69
69
|
videoProperties: SendsparkAddMultipleProspectsToDynamicCampaign_VideoPropertiesSchema.nullable(),
|
|
70
70
|
dynamicBackground: z.boolean().describe("Whether dynamic background is used").nullable()
|
|
71
|
-
})
|
|
71
|
+
}).passthrough()
|
|
72
72
|
});
|
|
73
73
|
//#endregion
|
|
74
74
|
export { sendsparkAddMultipleProspectsToDynamicCampaign };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add-multiple-prospects-to-dynamic-campaign.mjs","names":[],"sources":["../../src/actions/add-multiple-prospects-to-dynamic-campaign.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendsparkAddMultipleProspectsToDynamicCampaignInput = z.object({\n dynamicsId: z.string().describe(\"Dynamic campaign identifier\"),\n workspaceId: z.string().describe(\"Workspace identifier\"),\n prospectList: z.array(z.object({\n company: z.string().describe(\"Prospect's company\").optional(),\n jobTitle: z.string().describe(\"Prospect's job title\").optional(),\n contactName: z.string().describe(\"Prospect's name\"),\n contactEmail: z.string().describe(\"Prospect's email address\"),\n backgroundUrl: z.string().describe(\"Background image URL for the dynamic video\").optional(),\n})).describe(\"List of prospects to add\"),\n prospectDepurationConfig: z.object({\n forceCreation: z.boolean().describe(\"Create new prospect even if one exists\").optional(),\n payloadDepurationStrategy: z.enum([\"keep-first-valid\", \"keep-last-valid\"]).describe(\"Depuration strategy\").optional(),\n}).describe(\"Configuration for prospect deduplication\").optional(),\n processAndAuthorizeCharge: z.boolean().describe(\"Must be true to confirm usage-based charges\"),\n});\nconst SendsparkAddMultipleProspectsToDynamicCampaign_MetadataSchema = z.object({\n version: z.number().int().describe(\"Metadata version\").nullable(),\n});\nconst SendsparkAddMultipleProspectsToDynamicCampaign_ProspectResponseItemSchema = z.object({\n _id: z.string().nullable(),\n valid: z.boolean().describe(\"Whether the prospect is valid\").nullable(),\n bulkId: z.string().describe(\"Bulk request ID\").nullable(),\n status: z.string().describe(\"Processing status\").nullable(),\n company: z.string().describe(\"Prospect's company\").nullable().optional(),\n campaign: z.string().describe(\"Campaign ID\").nullable().optional(),\n jobTitle: z.string().describe(\"Prospect's job title\").nullable().optional(),\n createdAt: z.string().describe(\"Creation timestamp\").nullable(),\n deletedAt: z.string().describe(\"Deletion timestamp\").nullable().optional(),\n updatedAt: z.string().describe(\"Last updated timestamp\").nullable(),\n webhookUrl: z.string().describe(\"Webhook URL for events\").nullable().optional(),\n contactName: z.string().nullable(),\n contactEmail: z.string().nullable(),\n backgroundUrl: z.string().describe(\"Background image URL\").nullable().optional(),\n screenshotUrl: z.string().describe(\"Screenshot image URL\").nullable().optional(),\n webhookEvents: z.array(z.string()).describe(\"Subscribed webhook events\"),\n validationDetails: z.union([z.string(), z.array(z.string())]).nullable().optional(),\n});\nconst SendsparkAddMultipleProspectsToDynamicCampaign_ButtonSchema = z.object({\n link: z.string().describe(\"Button link URL\").nullable().optional(),\n label: z.string().describe(\"Button label\").nullable().optional(),\n position: z.number().int().describe(\"Button position\").nullable().optional(),\n});\nconst SendsparkAddMultipleProspectsToDynamicCampaign_SharePageSchema = z.object({\n title: z.string().describe(\"Share page title\").nullable().optional(),\n buttons: z.array(SendsparkAddMultipleProspectsToDynamicCampaign_ButtonSchema).describe(\"List of share page buttons\").nullable().optional(),\n message: z.string().describe(\"Share page message\").nullable().optional(),\n});\nconst SendsparkAddMultipleProspectsToDynamicCampaign_VideoPropertiesSchema = z.object({\n sharePage: SendsparkAddMultipleProspectsToDynamicCampaign_SharePageSchema.nullable(),\n});\nexport const SendsparkAddMultipleProspectsToDynamicCampaignOutput = z.object({\n _id: z.string().describe(\"Campaign ID\").nullable(),\n name: z.string().describe(\"Name of the dynamic campaign\").nullable(),\n folder: z.string().describe(\"Folder ID\").nullable(),\n status: z.string().describe(\"Campaign status\").nullable(),\n creator: z.string().describe(\"Creator ID\").nullable(),\n metadata: SendsparkAddMultipleProspectsToDynamicCampaign_MetadataSchema.nullable(),\n createdAt: z.string().describe(\"Creation timestamp\").nullable(),\n deletedAt: z.string().describe(\"Deletion timestamp\").nullable().optional(),\n workspace: z.string().describe(\"Workspace ID\").nullable(),\n prospectList: z.array(SendsparkAddMultipleProspectsToDynamicCampaign_ProspectResponseItemSchema).describe(\"List of prospect responses\"),\n videosAssets: z.array(z.string()).describe(\"List of video asset URLs\"),\n combinedVideo: z.boolean().describe(\"Whether videos are combined\").nullable(),\n videoProperties: SendsparkAddMultipleProspectsToDynamicCampaign_VideoPropertiesSchema.nullable(),\n dynamicBackground: z.boolean().describe(\"Whether dynamic background is used\").nullable(),\n});\n\nexport const sendsparkAddMultipleProspectsToDynamicCampaign = action(\"SENDSPARK_ADD_MULTIPLE_PROSPECTS_TO_DYNAMIC_CAMPAIGN\", {\n slug: \"sendspark-add-multiple-prospects-to-dynamic-campaign\",\n name: \"Add Multiple Prospects to Dynamic Campaign\",\n description: \"Tool to add multiple prospects to a dynamic campaign in bulk. Use when you need to add many prospects to your dynamic video campaign at once after confirming associated charges.\",\n input: SendsparkAddMultipleProspectsToDynamicCampaignInput,\n output: SendsparkAddMultipleProspectsToDynamicCampaignOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sDAAsD,EAAE,OAAO;CAC1E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;CAC7D,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB;CACvD,cAAc,EAAE,MAAM,EAAE,OAAO;EAC/B,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;EAC5D,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;EAC/D,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB;EAClD,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B;EAC5D,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CAC5F,CAAC,CAAC,CAAC,CAAC,SAAS,0BAA0B;
|
|
1
|
+
{"version":3,"file":"add-multiple-prospects-to-dynamic-campaign.mjs","names":[],"sources":["../../src/actions/add-multiple-prospects-to-dynamic-campaign.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendsparkAddMultipleProspectsToDynamicCampaignInput = z.object({\n dynamicsId: z.string().describe(\"Dynamic campaign identifier\"),\n workspaceId: z.string().describe(\"Workspace identifier\"),\n prospectList: z.array(z.object({\n company: z.string().describe(\"Prospect's company\").optional(),\n jobTitle: z.string().describe(\"Prospect's job title\").optional(),\n contactName: z.string().describe(\"Prospect's name\"),\n contactEmail: z.string().describe(\"Prospect's email address\"),\n backgroundUrl: z.string().describe(\"Background image URL for the dynamic video\").optional(),\n}).passthrough()).describe(\"List of prospects to add\"),\n prospectDepurationConfig: z.object({\n forceCreation: z.boolean().describe(\"Create new prospect even if one exists\").optional(),\n payloadDepurationStrategy: z.enum([\"keep-first-valid\", \"keep-last-valid\"]).describe(\"Depuration strategy\").optional(),\n}).describe(\"Configuration for prospect deduplication\").optional(),\n processAndAuthorizeCharge: z.boolean().describe(\"Must be true to confirm usage-based charges\"),\n});\nconst SendsparkAddMultipleProspectsToDynamicCampaign_MetadataSchema = z.object({\n version: z.number().int().describe(\"Metadata version\").nullable(),\n}).passthrough();\nconst SendsparkAddMultipleProspectsToDynamicCampaign_ProspectResponseItemSchema = z.object({\n _id: z.string().nullable(),\n valid: z.boolean().describe(\"Whether the prospect is valid\").nullable(),\n bulkId: z.string().describe(\"Bulk request ID\").nullable(),\n status: z.string().describe(\"Processing status\").nullable(),\n company: z.string().describe(\"Prospect's company\").nullable().optional(),\n campaign: z.string().describe(\"Campaign ID\").nullable().optional(),\n jobTitle: z.string().describe(\"Prospect's job title\").nullable().optional(),\n createdAt: z.string().describe(\"Creation timestamp\").nullable(),\n deletedAt: z.string().describe(\"Deletion timestamp\").nullable().optional(),\n updatedAt: z.string().describe(\"Last updated timestamp\").nullable(),\n webhookUrl: z.string().describe(\"Webhook URL for events\").nullable().optional(),\n contactName: z.string().nullable(),\n contactEmail: z.string().nullable(),\n backgroundUrl: z.string().describe(\"Background image URL\").nullable().optional(),\n screenshotUrl: z.string().describe(\"Screenshot image URL\").nullable().optional(),\n webhookEvents: z.array(z.string()).describe(\"Subscribed webhook events\"),\n validationDetails: z.union([z.string(), z.array(z.string())]).nullable().optional(),\n}).passthrough();\nconst SendsparkAddMultipleProspectsToDynamicCampaign_ButtonSchema = z.object({\n link: z.string().describe(\"Button link URL\").nullable().optional(),\n label: z.string().describe(\"Button label\").nullable().optional(),\n position: z.number().int().describe(\"Button position\").nullable().optional(),\n}).passthrough();\nconst SendsparkAddMultipleProspectsToDynamicCampaign_SharePageSchema = z.object({\n title: z.string().describe(\"Share page title\").nullable().optional(),\n buttons: z.array(SendsparkAddMultipleProspectsToDynamicCampaign_ButtonSchema).describe(\"List of share page buttons\").nullable().optional(),\n message: z.string().describe(\"Share page message\").nullable().optional(),\n}).passthrough();\nconst SendsparkAddMultipleProspectsToDynamicCampaign_VideoPropertiesSchema = z.object({\n sharePage: SendsparkAddMultipleProspectsToDynamicCampaign_SharePageSchema.nullable(),\n}).passthrough();\nexport const SendsparkAddMultipleProspectsToDynamicCampaignOutput = z.object({\n _id: z.string().describe(\"Campaign ID\").nullable(),\n name: z.string().describe(\"Name of the dynamic campaign\").nullable(),\n folder: z.string().describe(\"Folder ID\").nullable(),\n status: z.string().describe(\"Campaign status\").nullable(),\n creator: z.string().describe(\"Creator ID\").nullable(),\n metadata: SendsparkAddMultipleProspectsToDynamicCampaign_MetadataSchema.nullable(),\n createdAt: z.string().describe(\"Creation timestamp\").nullable(),\n deletedAt: z.string().describe(\"Deletion timestamp\").nullable().optional(),\n workspace: z.string().describe(\"Workspace ID\").nullable(),\n prospectList: z.array(SendsparkAddMultipleProspectsToDynamicCampaign_ProspectResponseItemSchema).describe(\"List of prospect responses\"),\n videosAssets: z.array(z.string()).describe(\"List of video asset URLs\"),\n combinedVideo: z.boolean().describe(\"Whether videos are combined\").nullable(),\n videoProperties: SendsparkAddMultipleProspectsToDynamicCampaign_VideoPropertiesSchema.nullable(),\n dynamicBackground: z.boolean().describe(\"Whether dynamic background is used\").nullable(),\n}).passthrough();\n\nexport const sendsparkAddMultipleProspectsToDynamicCampaign = action(\"SENDSPARK_ADD_MULTIPLE_PROSPECTS_TO_DYNAMIC_CAMPAIGN\", {\n slug: \"sendspark-add-multiple-prospects-to-dynamic-campaign\",\n name: \"Add Multiple Prospects to Dynamic Campaign\",\n description: \"Tool to add multiple prospects to a dynamic campaign in bulk. Use when you need to add many prospects to your dynamic video campaign at once after confirming associated charges.\",\n input: SendsparkAddMultipleProspectsToDynamicCampaignInput,\n output: SendsparkAddMultipleProspectsToDynamicCampaignOutput,\n});\n"],"mappings":";;;AAI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AAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS;EACxD,cAAc,EAAE,MAAM,yEAAyE,CAAC,CAAC,SAAS,4BAA4B;EACtI,cAAc,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,0BAA0B;EACrE,eAAe,EAAE,QAAQ,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;EAC5E,iBAAiB,qEAAqE,SAAS;EAC/F,mBAAmB,EAAE,QAAQ,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACzF,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
|
|
@@ -35,7 +35,7 @@ const SendsparkAddProspectToDynamicVideoCampaign_ProspectListItemSchema = zod.z.
|
|
|
35
35
|
screenshotUrl: zod.z.string().describe("Screenshot URL for the video.").nullable().optional(),
|
|
36
36
|
webhookEvents: zod.z.array(zod.z.string()).describe("List of webhook event names subscribed.").nullable().optional(),
|
|
37
37
|
validationDetails: zod.z.array(zod.z.string()).describe("List of validation error details, if any.").nullable().optional()
|
|
38
|
-
}).describe("Represents a prospect entry in the response.");
|
|
38
|
+
}).passthrough().describe("Represents a prospect entry in the response.");
|
|
39
39
|
const SendsparkAddProspectToDynamicVideoCampaignOutput = zod.z.object({ prospectList: zod.z.array(SendsparkAddProspectToDynamicVideoCampaign_ProspectListItemSchema).describe("List of prospect items and their processing status.") }).passthrough().describe("Response model containing campaign details and the list of created/updated prospects.");
|
|
40
40
|
const sendsparkAddProspectToDynamicVideoCampaign = require_action.action("SENDSPARK_ADD_PROSPECT_TO_DYNAMIC_VIDEO_CAMPAIGN", {
|
|
41
41
|
slug: "sendspark-add-prospect-to-dynamic-video-campaign",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add-prospect-to-dynamic-video-campaign.cjs","names":["z","action"],"sources":["../../src/actions/add-prospect-to-dynamic-video-campaign.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendsparkAddProspectToDynamicVideoCampaignInput = z.object({\n prospect: z.object({\n company: z.string().describe(\"Company name of the prospect.\").optional(),\n jobTitle: z.string().describe(\"Job title of the prospect.\").optional(),\n contactName: z.string().describe(\"Full name of the prospect.\"),\n contactEmail: z.string().describe(\"Valid email address of the prospect.\"),\n backgroundUrl: z.string().describe(\"URL of the background image to use in the video.\").optional(),\n}).describe(\"The prospect data to add to the dynamic video campaign.\"),\n dynamicId: z.string().describe(\"Identifier of the dynamic video campaign.\"),\n workspaceId: z.string().describe(\"Workspace identifier under which the campaign resides.\"),\n prospectDepurationConfig: z.object({\n forceCreation: z.boolean().default(false).describe(\"If true, create the prospect even if one with the same email already exists.\").optional(),\n payloadDepurationStrategy: z.enum([\"keep-first-valid\", \"keep-last-valid\"]).describe(\"Strategy to resolve duplicates: 'keep-first-valid' or 'keep-last-valid'.\"),\n}).describe(\"Optional deduplication settings for prospect creation.\").optional(),\n processAndAuthorizeCharge: z.boolean().describe(\"Must be true to acknowledge and authorize any associated charges.\"),\n}).describe(\"Request model for adding a prospect to a dynamic video campaign.\");\nconst SendsparkAddProspectToDynamicVideoCampaign_ProspectListItemSchema = z.object({\n _id: z.string().describe(\"Unique prospect identifier.\").nullable(),\n valid: z.boolean().describe(\"Whether the prospect data was validated.\").nullable(),\n bulkId: z.string().describe(\"Bulk operation identifier.\").nullable().optional(),\n status: z.string().describe(\"Processing status of the prospect.\").nullable(),\n company: z.string().describe(\"Company of the prospect.\").nullable().optional(),\n campaign: z.string().describe(\"Campaign identifier.\").nullable().optional(),\n jobTitle: z.string().describe(\"Job title of the prospect.\").nullable().optional(),\n createdAt: z.string().describe(\"ISO timestamp when created.\").nullable(),\n deletedAt: z.string().describe(\"ISO timestamp when deleted, if applicable.\").nullable().optional(),\n updatedAt: z.string().describe(\"ISO timestamp when last updated.\").nullable(),\n webhookUrl: z.string().describe(\"Webhook callback URL.\").nullable().optional(),\n contactName: z.string().describe(\"Name of the prospect.\").nullable(),\n contactEmail: z.string().describe(\"Email of the prospect.\").nullable(),\n backgroundUrl: z.string().describe(\"Background image URL.\").nullable().optional(),\n screenshotUrl: z.string().describe(\"Screenshot URL for the video.\").nullable().optional(),\n webhookEvents: z.array(z.string()).describe(\"List of webhook event names subscribed.\").nullable().optional(),\n validationDetails: z.array(z.string()).describe(\"List of validation error details, if any.\").nullable().optional(),\n}).describe(\"Represents a prospect entry in the response.\");\nexport const SendsparkAddProspectToDynamicVideoCampaignOutput = z.object({\n prospectList: z.array(SendsparkAddProspectToDynamicVideoCampaign_ProspectListItemSchema).describe(\"List of prospect items and their processing status.\"),\n}).passthrough().describe(\"Response model containing campaign details and the list of created/updated prospects.\");\n\nexport const sendsparkAddProspectToDynamicVideoCampaign = action(\"SENDSPARK_ADD_PROSPECT_TO_DYNAMIC_VIDEO_CAMPAIGN\", {\n slug: \"sendspark-add-prospect-to-dynamic-video-campaign\",\n name: \"Add Prospect to Dynamic Video Campaign\",\n description: \"Tool to add a prospect to a dynamic video campaign. Use after confirming workspace and campaign IDs. Example: Add new prospect with name/contact details to dynamic \\\"dyn12345\\\" under a known workspace.\",\n input: SendsparkAddProspectToDynamicVideoCampaignInput,\n output: SendsparkAddProspectToDynamicVideoCampaignOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kDAAkDA,IAAAA,EAAE,OAAO;CACtE,UAAUA,IAAAA,EAAE,OAAO;EACnB,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;EACvE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;EACrE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;EAC7D,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;EACxE,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,S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AS;CAChF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACvE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC5E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CACnE,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CACrE,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,eAAeA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,mBAAmBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnH,CAAC,CAAC,CAAC,SAAS,8CAA8C;
|
|
1
|
+
{"version":3,"file":"add-prospect-to-dynamic-video-campaign.cjs","names":["z","action"],"sources":["../../src/actions/add-prospect-to-dynamic-video-campaign.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendsparkAddProspectToDynamicVideoCampaignInput = z.object({\n prospect: z.object({\n company: z.string().describe(\"Company name of the prospect.\").optional(),\n jobTitle: z.string().describe(\"Job title of the prospect.\").optional(),\n contactName: z.string().describe(\"Full name of the prospect.\"),\n contactEmail: z.string().describe(\"Valid email address of the prospect.\"),\n backgroundUrl: z.string().describe(\"URL of the background image to use in the video.\").optional(),\n}).describe(\"The prospect data to add to the dynamic video campaign.\"),\n dynamicId: z.string().describe(\"Identifier of the dynamic video campaign.\"),\n workspaceId: z.string().describe(\"Workspace identifier under which the campaign resides.\"),\n prospectDepurationConfig: z.object({\n forceCreation: z.boolean().default(false).describe(\"If true, create the prospect even if one with the same email already exists.\").optional(),\n payloadDepurationStrategy: z.enum([\"keep-first-valid\", \"keep-last-valid\"]).describe(\"Strategy to resolve duplicates: 'keep-first-valid' or 'keep-last-valid'.\"),\n}).describe(\"Optional deduplication settings for prospect creation.\").optional(),\n processAndAuthorizeCharge: z.boolean().describe(\"Must be true to acknowledge and authorize any associated charges.\"),\n}).describe(\"Request model for adding a prospect to a dynamic video campaign.\");\nconst SendsparkAddProspectToDynamicVideoCampaign_ProspectListItemSchema = z.object({\n _id: z.string().describe(\"Unique prospect identifier.\").nullable(),\n valid: z.boolean().describe(\"Whether the prospect data was validated.\").nullable(),\n bulkId: z.string().describe(\"Bulk operation identifier.\").nullable().optional(),\n status: z.string().describe(\"Processing status of the prospect.\").nullable(),\n company: z.string().describe(\"Company of the prospect.\").nullable().optional(),\n campaign: z.string().describe(\"Campaign identifier.\").nullable().optional(),\n jobTitle: z.string().describe(\"Job title of the prospect.\").nullable().optional(),\n createdAt: z.string().describe(\"ISO timestamp when created.\").nullable(),\n deletedAt: z.string().describe(\"ISO timestamp when deleted, if applicable.\").nullable().optional(),\n updatedAt: z.string().describe(\"ISO timestamp when last updated.\").nullable(),\n webhookUrl: z.string().describe(\"Webhook callback URL.\").nullable().optional(),\n contactName: z.string().describe(\"Name of the prospect.\").nullable(),\n contactEmail: z.string().describe(\"Email of the prospect.\").nullable(),\n backgroundUrl: z.string().describe(\"Background image URL.\").nullable().optional(),\n screenshotUrl: z.string().describe(\"Screenshot URL for the video.\").nullable().optional(),\n webhookEvents: z.array(z.string()).describe(\"List of webhook event names subscribed.\").nullable().optional(),\n validationDetails: z.array(z.string()).describe(\"List of validation error details, if any.\").nullable().optional(),\n}).passthrough().describe(\"Represents a prospect entry in the response.\");\nexport const SendsparkAddProspectToDynamicVideoCampaignOutput = z.object({\n prospectList: z.array(SendsparkAddProspectToDynamicVideoCampaign_ProspectListItemSchema).describe(\"List of prospect items and their processing status.\"),\n}).passthrough().describe(\"Response model containing campaign details and the list of created/updated prospects.\");\n\nexport const sendsparkAddProspectToDynamicVideoCampaign = action(\"SENDSPARK_ADD_PROSPECT_TO_DYNAMIC_VIDEO_CAMPAIGN\", {\n slug: \"sendspark-add-prospect-to-dynamic-video-campaign\",\n name: \"Add Prospect to Dynamic Video Campaign\",\n description: \"Tool to add a prospect to a dynamic video campaign. Use after confirming workspace and campaign IDs. Example: Add new prospect with name/contact details to dynamic \\\"dyn12345\\\" under a known workspace.\",\n input: SendsparkAddProspectToDynamicVideoCampaignInput,\n output: SendsparkAddProspectToDynamicVideoCampaignOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kDAAkDA,IAAAA,EAAE,OAAO;CACtE,UAAUA,IAAAA,EAAE,OAAO;EACnB,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;EACvE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;EACrE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;EAC7D,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;EACxE,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CAClG,CAAC,CAAC,CAAC,SAAS,yDAAyD;CACnE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;CAC1E,aAAaA,IAAAA,EAAE,OAA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able<z.ZodString>>;
|
|
40
40
|
webhookEvents: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
41
41
|
validationDetails: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
42
|
-
}, z.core.$
|
|
42
|
+
}, z.core.$loose>>;
|
|
43
43
|
}, z.core.$loose>;
|
|
44
44
|
declare const sendsparkAddProspectToDynamicVideoCampaign: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
45
45
|
prospect: {
|
|
@@ -39,7 +39,7 @@ declare const SendsparkAddProspectToDynamicVideoCampaignOutput: z.ZodObject<{
|
|
|
39
39
|
screenshotUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
40
40
|
webhookEvents: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
41
41
|
validationDetails: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
42
|
-
}, z.core.$
|
|
42
|
+
}, z.core.$loose>>;
|
|
43
43
|
}, z.core.$loose>;
|
|
44
44
|
declare const sendsparkAddProspectToDynamicVideoCampaign: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
45
45
|
prospect: {
|
|
@@ -35,7 +35,7 @@ const SendsparkAddProspectToDynamicVideoCampaign_ProspectListItemSchema = z.obje
|
|
|
35
35
|
screenshotUrl: z.string().describe("Screenshot URL for the video.").nullable().optional(),
|
|
36
36
|
webhookEvents: z.array(z.string()).describe("List of webhook event names subscribed.").nullable().optional(),
|
|
37
37
|
validationDetails: z.array(z.string()).describe("List of validation error details, if any.").nullable().optional()
|
|
38
|
-
}).describe("Represents a prospect entry in the response.");
|
|
38
|
+
}).passthrough().describe("Represents a prospect entry in the response.");
|
|
39
39
|
const sendsparkAddProspectToDynamicVideoCampaign = action("SENDSPARK_ADD_PROSPECT_TO_DYNAMIC_VIDEO_CAMPAIGN", {
|
|
40
40
|
slug: "sendspark-add-prospect-to-dynamic-video-campaign",
|
|
41
41
|
name: "Add Prospect to Dynamic Video Campaign",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add-prospect-to-dynamic-video-campaign.mjs","names":[],"sources":["../../src/actions/add-prospect-to-dynamic-video-campaign.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendsparkAddProspectToDynamicVideoCampaignInput = z.object({\n prospect: z.object({\n company: z.string().describe(\"Company name of the prospect.\").optional(),\n jobTitle: z.string().describe(\"Job title of the prospect.\").optional(),\n contactName: z.string().describe(\"Full name of the prospect.\"),\n contactEmail: z.string().describe(\"Valid email address of the prospect.\"),\n backgroundUrl: z.string().describe(\"URL of the background image to use in the video.\").optional(),\n}).describe(\"The prospect data to add to the dynamic video campaign.\"),\n dynamicId: z.string().describe(\"Identifier of the dynamic video campaign.\"),\n workspaceId: z.string().describe(\"Workspace identifier under which the campaign resides.\"),\n prospectDepurationConfig: z.object({\n forceCreation: z.boolean().default(false).describe(\"If true, create the prospect even if one with the same email already exists.\").optional(),\n payloadDepurationStrategy: z.enum([\"keep-first-valid\", \"keep-last-valid\"]).describe(\"Strategy to resolve duplicates: 'keep-first-valid' or 'keep-last-valid'.\"),\n}).describe(\"Optional deduplication settings for prospect creation.\").optional(),\n processAndAuthorizeCharge: z.boolean().describe(\"Must be true to acknowledge and authorize any associated charges.\"),\n}).describe(\"Request model for adding a prospect to a dynamic video campaign.\");\nconst SendsparkAddProspectToDynamicVideoCampaign_ProspectListItemSchema = z.object({\n _id: z.string().describe(\"Unique prospect identifier.\").nullable(),\n valid: z.boolean().describe(\"Whether the prospect data was validated.\").nullable(),\n bulkId: z.string().describe(\"Bulk operation identifier.\").nullable().optional(),\n status: z.string().describe(\"Processing status of the prospect.\").nullable(),\n company: z.string().describe(\"Company of the prospect.\").nullable().optional(),\n campaign: z.string().describe(\"Campaign identifier.\").nullable().optional(),\n jobTitle: z.string().describe(\"Job title of the prospect.\").nullable().optional(),\n createdAt: z.string().describe(\"ISO timestamp when created.\").nullable(),\n deletedAt: z.string().describe(\"ISO timestamp when deleted, if applicable.\").nullable().optional(),\n updatedAt: z.string().describe(\"ISO timestamp when last updated.\").nullable(),\n webhookUrl: z.string().describe(\"Webhook callback URL.\").nullable().optional(),\n contactName: z.string().describe(\"Name of the prospect.\").nullable(),\n contactEmail: z.string().describe(\"Email of the prospect.\").nullable(),\n backgroundUrl: z.string().describe(\"Background image URL.\").nullable().optional(),\n screenshotUrl: z.string().describe(\"Screenshot URL for the video.\").nullable().optional(),\n webhookEvents: z.array(z.string()).describe(\"List of webhook event names subscribed.\").nullable().optional(),\n validationDetails: z.array(z.string()).describe(\"List of validation error details, if any.\").nullable().optional(),\n}).describe(\"Represents a prospect entry in the response.\");\nexport const SendsparkAddProspectToDynamicVideoCampaignOutput = z.object({\n prospectList: z.array(SendsparkAddProspectToDynamicVideoCampaign_ProspectListItemSchema).describe(\"List of prospect items and their processing status.\"),\n}).passthrough().describe(\"Response model containing campaign details and the list of created/updated prospects.\");\n\nexport const sendsparkAddProspectToDynamicVideoCampaign = action(\"SENDSPARK_ADD_PROSPECT_TO_DYNAMIC_VIDEO_CAMPAIGN\", {\n slug: \"sendspark-add-prospect-to-dynamic-video-campaign\",\n name: \"Add Prospect to Dynamic Video Campaign\",\n description: \"Tool to add a prospect to a dynamic video campaign. Use after confirming workspace and campaign IDs. Example: Add new prospect with name/contact details to dynamic \\\"dyn12345\\\" under a known workspace.\",\n input: SendsparkAddProspectToDynamicVideoCampaignInput,\n output: SendsparkAddProspectToDynamicVideoCampaignOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kDAAkD,EAAE,OAAO;CACtE,UAAU,EAAE,OAAO;EACnB,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;EACvE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;EACrE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;EAC7D,cAAc,EAAE,OAAO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A6B,CAAC,CAAC,SAAS;CACvE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC5E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CACnE,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CACrE,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,eAAe,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,mBAAmB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnH,CAAC,CAAC,CAAC,SAAS,8CAA8C;
|
|
1
|
+
{"version":3,"file":"add-prospect-to-dynamic-video-campaign.mjs","names":[],"sources":["../../src/actions/add-prospect-to-dynamic-video-campaign.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendsparkAddProspectToDynamicVideoCampaignInput = z.object({\n prospect: z.object({\n company: z.string().describe(\"Company name of the prospect.\").optional(),\n jobTitle: z.string().describe(\"Job title of the prospect.\").optional(),\n contactName: z.string().describe(\"Full name of the prospect.\"),\n contactEmail: z.string().describe(\"Valid email address of the prospect.\"),\n backgroundUrl: z.string().describe(\"URL of the background image to use in the video.\").optional(),\n}).describe(\"The prospect data to add to the dynamic video campaign.\"),\n dynamicId: z.string().describe(\"Identifier of the dynamic video campaign.\"),\n workspaceId: z.string().describe(\"Workspace identifier under which the campaign resides.\"),\n prospectDepurationConfig: z.object({\n forceCreation: z.boolean().default(false).describe(\"If true, create the prospect even if one with the same email already exists.\").optional(),\n payloadDepurationStrategy: z.enum([\"keep-first-valid\", \"keep-last-valid\"]).describe(\"Strategy to resolve duplicates: 'keep-first-valid' or 'keep-last-valid'.\"),\n}).describe(\"Optional deduplication settings for prospect creation.\").optional(),\n processAndAuthorizeCharge: z.boolean().describe(\"Must be true to acknowledge and authorize any associated charges.\"),\n}).describe(\"Request model for adding a prospect to a dynamic video campaign.\");\nconst SendsparkAddProspectToDynamicVideoCampaign_ProspectListItemSchema = z.object({\n _id: z.string().describe(\"Unique prospect identifier.\").nullable(),\n valid: z.boolean().describe(\"Whether the prospect data was validated.\").nullable(),\n bulkId: z.string().describe(\"Bulk operation identifier.\").nullable().optional(),\n status: z.string().describe(\"Processing status of the prospect.\").nullable(),\n company: z.string().describe(\"Company of the prospect.\").nullable().optional(),\n campaign: z.string().describe(\"Campaign identifier.\").nullable().optional(),\n jobTitle: z.string().describe(\"Job title of the prospect.\").nullable().optional(),\n createdAt: z.string().describe(\"ISO timestamp when created.\").nullable(),\n deletedAt: z.string().describe(\"ISO timestamp when deleted, if applicable.\").nullable().optional(),\n updatedAt: z.string().describe(\"ISO timestamp when last updated.\").nullable(),\n webhookUrl: z.string().describe(\"Webhook callback URL.\").nullable().optional(),\n contactName: z.string().describe(\"Name of the prospect.\").nullable(),\n contactEmail: z.string().describe(\"Email of the prospect.\").nullable(),\n backgroundUrl: z.string().describe(\"Background image URL.\").nullable().optional(),\n screenshotUrl: z.string().describe(\"Screenshot URL for the video.\").nullable().optional(),\n webhookEvents: z.array(z.string()).describe(\"List of webhook event names subscribed.\").nullable().optional(),\n validationDetails: z.array(z.string()).describe(\"List of validation error details, if any.\").nullable().optional(),\n}).passthrough().describe(\"Represents a prospect entry in the response.\");\nexport const SendsparkAddProspectToDynamicVideoCampaignOutput = z.object({\n prospectList: z.array(SendsparkAddProspectToDynamicVideoCampaign_ProspectListItemSchema).describe(\"List of prospect items and their processing status.\"),\n}).passthrough().describe(\"Response model containing campaign details and the list of created/updated prospects.\");\n\nexport const sendsparkAddProspectToDynamicVideoCampaign = action(\"SENDSPARK_ADD_PROSPECT_TO_DYNAMIC_VIDEO_CAMPAIGN\", {\n slug: \"sendspark-add-prospect-to-dynamic-video-campaign\",\n name: \"Add Prospect to Dynamic Video Campaign\",\n description: \"Tool to add a prospect to a dynamic video campaign. Use after confirming workspace and campaign IDs. Example: Add new prospect with name/contact details to dynamic \\\"dyn12345\\\" under a known workspace.\",\n input: SendsparkAddProspectToDynamicVideoCampaignInput,\n output: SendsparkAddProspectToDynamicVideoCampaignOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kDAAkD,EAAE,OAAO;CACtE,UAAU,EAAE,OAAO;EACnB,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;EACvE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;EACrE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;EAC7D,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;EACxE,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CAClG,CAAC,CAAC,CAAC,SAAS,yDAAyD;CACnE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;CAC1E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD;CACzF,0BAA0B,EAAE,OAAO;EACnC,eAAe,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;EAC5I,2BAA2B,EAAE,KAAK,CAAC,oBAAoB,iBAAiB,CAAC,CAAC,CAAC,SAAS,0EAA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C,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,eAAe,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,mBAAmB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C;AAKxE,MAAa,6CAA6C,OAAO,oDAAoD;CACnH,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT8D,EAAE,OAAO,EACvE,cAAc,EAAE,MAAM,iEAAiE,CAAC,CAAC,SAAS,qDAAqD,EACzJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uFAOhB;AACV,CAAC"}
|
|
@@ -2,7 +2,7 @@ const require_action = require("../action.cjs");
|
|
|
2
2
|
let zod = require("zod");
|
|
3
3
|
//#region src/actions/api-health-status.ts
|
|
4
4
|
const SendsparkApiHealthStatusInput = zod.z.object({}).describe("Request model for checking Sendspark API health status. No parameters required.");
|
|
5
|
-
const SendsparkApiHealthStatusOutput = zod.z.object({ message: zod.z.string().describe("Health message returned by the API, e.g., \"everything is ok!\"").nullable() }).describe("Response model for health status check.");
|
|
5
|
+
const SendsparkApiHealthStatusOutput = zod.z.object({ message: zod.z.string().describe("Health message returned by the API, e.g., \"everything is ok!\"").nullable() }).passthrough().describe("Response model for health status check.");
|
|
6
6
|
const sendsparkApiHealthStatus = require_action.action("SENDSPARK_API_HEALTH_STATUS", {
|
|
7
7
|
slug: "sendspark-api-health-status",
|
|
8
8
|
name: "API Health Status",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"api-health-status.cjs","names":["z","action"],"sources":["../../src/actions/api-health-status.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendsparkApiHealthStatusInput = z.object({}).describe(\"Request model for checking Sendspark API health status. No parameters required.\");\nexport const SendsparkApiHealthStatusOutput = z.object({\n message: z.string().describe(\"Health message returned by the API, e.g., \\\"everything is ok!\\\"\").nullable(),\n}).describe(\"Response model for health status check.\");\n\nexport const sendsparkApiHealthStatus = action(\"SENDSPARK_API_HEALTH_STATUS\", {\n slug: \"sendspark-api-health-status\",\n name: \"API Health Status\",\n description: \"Tool to check the health status of the Sendspark API. Use before making other API calls to ensure the service is up.\",\n input: SendsparkApiHealthStatusInput,\n output: SendsparkApiHealthStatusOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,iFAAiF;AACpJ,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,EACrD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,EAC3G,CAAC,CAAC,CAAC,SAAS,yCAAyC;
|
|
1
|
+
{"version":3,"file":"api-health-status.cjs","names":["z","action"],"sources":["../../src/actions/api-health-status.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendsparkApiHealthStatusInput = z.object({}).describe(\"Request model for checking Sendspark API health status. No parameters required.\");\nexport const SendsparkApiHealthStatusOutput = z.object({\n message: z.string().describe(\"Health message returned by the API, e.g., \\\"everything is ok!\\\"\").nullable(),\n}).passthrough().describe(\"Response model for health status check.\");\n\nexport const sendsparkApiHealthStatus = action(\"SENDSPARK_API_HEALTH_STATUS\", {\n slug: \"sendspark-api-health-status\",\n name: \"API Health Status\",\n description: \"Tool to check the health status of the Sendspark API. Use before making other API calls to ensure the service is up.\",\n input: SendsparkApiHealthStatusInput,\n output: SendsparkApiHealthStatusOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,iFAAiF;AACpJ,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,EACrD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,EAC3G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAAyC;AAEnE,MAAa,2BAA2BC,eAAAA,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -4,7 +4,7 @@ import { z } from "zod";
|
|
|
4
4
|
declare const SendsparkApiHealthStatusInput: z.ZodObject<{}, z.core.$strip>;
|
|
5
5
|
declare const SendsparkApiHealthStatusOutput: z.ZodObject<{
|
|
6
6
|
message: z.ZodNullable<z.ZodString>;
|
|
7
|
-
}, z.core.$
|
|
7
|
+
}, z.core.$loose>;
|
|
8
8
|
declare const sendsparkApiHealthStatus: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { sendsparkApiHealthStatus };
|
|
@@ -4,7 +4,7 @@ import { z } from "zod";
|
|
|
4
4
|
declare const SendsparkApiHealthStatusInput: z.ZodObject<{}, z.core.$strip>;
|
|
5
5
|
declare const SendsparkApiHealthStatusOutput: z.ZodObject<{
|
|
6
6
|
message: z.ZodNullable<z.ZodString>;
|
|
7
|
-
}, z.core.$
|
|
7
|
+
}, z.core.$loose>;
|
|
8
8
|
declare const sendsparkApiHealthStatus: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { sendsparkApiHealthStatus };
|
|
@@ -5,7 +5,7 @@ const sendsparkApiHealthStatus = action("SENDSPARK_API_HEALTH_STATUS", {
|
|
|
5
5
|
name: "API Health Status",
|
|
6
6
|
description: "Tool to check the health status of the Sendspark API. Use before making other API calls to ensure the service is up.",
|
|
7
7
|
input: z.object({}).describe("Request model for checking Sendspark API health status. No parameters required."),
|
|
8
|
-
output: z.object({ message: z.string().describe("Health message returned by the API, e.g., \"everything is ok!\"").nullable() }).describe("Response model for health status check.")
|
|
8
|
+
output: z.object({ message: z.string().describe("Health message returned by the API, e.g., \"everything is ok!\"").nullable() }).passthrough().describe("Response model for health status check.")
|
|
9
9
|
});
|
|
10
10
|
//#endregion
|
|
11
11
|
export { sendsparkApiHealthStatus };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"api-health-status.mjs","names":[],"sources":["../../src/actions/api-health-status.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendsparkApiHealthStatusInput = z.object({}).describe(\"Request model for checking Sendspark API health status. No parameters required.\");\nexport const SendsparkApiHealthStatusOutput = z.object({\n message: z.string().describe(\"Health message returned by the API, e.g., \\\"everything is ok!\\\"\").nullable(),\n}).describe(\"Response model for health status check.\");\n\nexport const sendsparkApiHealthStatus = action(\"SENDSPARK_API_HEALTH_STATUS\", {\n slug: \"sendspark-api-health-status\",\n name: \"API Health Status\",\n description: \"Tool to check the health status of the Sendspark API. Use before making other API calls to ensure the service is up.\",\n input: SendsparkApiHealthStatusInput,\n output: SendsparkApiHealthStatusOutput,\n});\n"],"mappings":";;AASA,MAAa,2BAA2B,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAT2C,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,iFAS1D;CACP,QAT4C,EAAE,OAAO,EACrD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,EAC3G,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"api-health-status.mjs","names":[],"sources":["../../src/actions/api-health-status.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendsparkApiHealthStatusInput = z.object({}).describe(\"Request model for checking Sendspark API health status. No parameters required.\");\nexport const SendsparkApiHealthStatusOutput = z.object({\n message: z.string().describe(\"Health message returned by the API, e.g., \\\"everything is ok!\\\"\").nullable(),\n}).passthrough().describe(\"Response model for health status check.\");\n\nexport const sendsparkApiHealthStatus = action(\"SENDSPARK_API_HEALTH_STATUS\", {\n slug: \"sendspark-api-health-status\",\n name: \"API Health Status\",\n description: \"Tool to check the health status of the Sendspark API. Use before making other API calls to ensure the service is up.\",\n input: SendsparkApiHealthStatusInput,\n output: SendsparkApiHealthStatusOutput,\n});\n"],"mappings":";;AASA,MAAa,2BAA2B,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAT2C,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,iFAS1D;CACP,QAT4C,EAAE,OAAO,EACrD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,EAC3G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAOhB;AACV,CAAC"}
|
|
@@ -8,7 +8,7 @@ const SendsparkDeleteWebhookInput = zod.z.object({
|
|
|
8
8
|
const SendsparkDeleteWebhookOutput = zod.z.object({
|
|
9
9
|
message: zod.z.string().describe("Descriptive message from the API. Examples: 'Webhook not found or already deleted (idempotent)' for 404 with workspaceId, 'Invalid request params input' for 400 errors.").nullable().optional(),
|
|
10
10
|
statusCode: zod.z.number().int().describe("HTTP status code: 200/204 for successful deletion, 400 for invalid webhook ID, 404 for not found (idempotent when workspaceId provided).").nullable()
|
|
11
|
-
}).describe("Response model for webhook deletion.");
|
|
11
|
+
}).passthrough().describe("Response model for webhook deletion.");
|
|
12
12
|
const sendsparkDeleteWebhook = require_action.action("SENDSPARK_DELETE_WEBHOOK", {
|
|
13
13
|
slug: "sendspark-delete-webhook",
|
|
14
14
|
name: "Delete Webhook",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-webhook.cjs","names":["z","action"],"sources":["../../src/actions/delete-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendsparkDeleteWebhookInput = z.object({\n webhook_id: z.string().describe(\"Unique identifier of the webhook to delete.\"),\n workspaceId: z.string().describe(\"Workspace unique identifier. Required to use the workspace-scoped endpoint (/v1/workspaces/{workspaceId}/webhooks/{webhook_id}). Strongly recommended: The unscoped endpoint (/api/webhooks/{webhook_id}) may not be available.\").optional(),\n}).describe(\"Request model for deleting a webhook by ID.\");\nexport const SendsparkDeleteWebhookOutput = z.object({\n message: z.string().describe(\"Descriptive message from the API. Examples: 'Webhook not found or already deleted (idempotent)' for 404 with workspaceId, 'Invalid request params input' for 400 errors.\").nullable().optional(),\n statusCode: z.number().int().describe(\"HTTP status code: 200/204 for successful deletion, 400 for invalid webhook ID, 404 for not found (idempotent when workspaceId provided).\").nullable(),\n}).describe(\"Response model for webhook deletion.\");\n\nexport const sendsparkDeleteWebhook = action(\"SENDSPARK_DELETE_WEBHOOK\", {\n slug: \"sendspark-delete-webhook\",\n name: \"Delete Webhook\",\n description: \"Delete a webhook by its unique ID. Returns a structured response with status code and message. This action is idempotent: deleting a non-existent webhook (404) with workspaceId provided returns success. Invalid webhook IDs return 400 with error details. Best practice: Always provide workspaceId to use the reliable workspace-scoped endpoint.\",\n input: SendsparkDeleteWebhookInput,\n output: SendsparkDeleteWebhookOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C;CAC7E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iOAAiO,CAAC,CAAC,SAAS;AAC/Q,CAAC,CAAC,CAAC,SAAS,6CAA6C;AACzD,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0KAA0K,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7N,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0IAA0I,CAAC,CAAC,SAAS;AAC7L,CAAC,CAAC,CAAC,SAAS,sCAAsC;
|
|
1
|
+
{"version":3,"file":"delete-webhook.cjs","names":["z","action"],"sources":["../../src/actions/delete-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendsparkDeleteWebhookInput = z.object({\n webhook_id: z.string().describe(\"Unique identifier of the webhook to delete.\"),\n workspaceId: z.string().describe(\"Workspace unique identifier. Required to use the workspace-scoped endpoint (/v1/workspaces/{workspaceId}/webhooks/{webhook_id}). Strongly recommended: The unscoped endpoint (/api/webhooks/{webhook_id}) may not be available.\").optional(),\n}).describe(\"Request model for deleting a webhook by ID.\");\nexport const SendsparkDeleteWebhookOutput = z.object({\n message: z.string().describe(\"Descriptive message from the API. Examples: 'Webhook not found or already deleted (idempotent)' for 404 with workspaceId, 'Invalid request params input' for 400 errors.\").nullable().optional(),\n statusCode: z.number().int().describe(\"HTTP status code: 200/204 for successful deletion, 400 for invalid webhook ID, 404 for not found (idempotent when workspaceId provided).\").nullable(),\n}).passthrough().describe(\"Response model for webhook deletion.\");\n\nexport const sendsparkDeleteWebhook = action(\"SENDSPARK_DELETE_WEBHOOK\", {\n slug: \"sendspark-delete-webhook\",\n name: \"Delete Webhook\",\n description: \"Delete a webhook by its unique ID. Returns a structured response with status code and message. This action is idempotent: deleting a non-existent webhook (404) with workspaceId provided returns success. Invalid webhook IDs return 400 with error details. Best practice: Always provide workspaceId to use the reliable workspace-scoped endpoint.\",\n input: SendsparkDeleteWebhookInput,\n output: SendsparkDeleteWebhookOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C;CAC7E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iOAAiO,CAAC,CAAC,SAAS;AAC/Q,CAAC,CAAC,CAAC,SAAS,6CAA6C;AACzD,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0KAA0K,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7N,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0IAA0I,CAAC,CAAC,SAAS;AAC7L,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAAsC;AAEhE,MAAa,yBAAyBC,eAAAA,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -8,7 +8,7 @@ declare const SendsparkDeleteWebhookInput: z.ZodObject<{
|
|
|
8
8
|
declare const SendsparkDeleteWebhookOutput: z.ZodObject<{
|
|
9
9
|
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
10
|
statusCode: z.ZodNullable<z.ZodNumber>;
|
|
11
|
-
}, z.core.$
|
|
11
|
+
}, z.core.$loose>;
|
|
12
12
|
declare const sendsparkDeleteWebhook: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
13
13
|
webhook_id: string;
|
|
14
14
|
workspaceId?: string | undefined;
|
|
@@ -8,7 +8,7 @@ declare const SendsparkDeleteWebhookInput: z.ZodObject<{
|
|
|
8
8
|
declare const SendsparkDeleteWebhookOutput: z.ZodObject<{
|
|
9
9
|
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
10
|
statusCode: z.ZodNullable<z.ZodNumber>;
|
|
11
|
-
}, z.core.$
|
|
11
|
+
}, z.core.$loose>;
|
|
12
12
|
declare const sendsparkDeleteWebhook: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
13
13
|
webhook_id: string;
|
|
14
14
|
workspaceId?: string | undefined;
|
|
@@ -11,7 +11,7 @@ const sendsparkDeleteWebhook = action("SENDSPARK_DELETE_WEBHOOK", {
|
|
|
11
11
|
output: z.object({
|
|
12
12
|
message: z.string().describe("Descriptive message from the API. Examples: 'Webhook not found or already deleted (idempotent)' for 404 with workspaceId, 'Invalid request params input' for 400 errors.").nullable().optional(),
|
|
13
13
|
statusCode: z.number().int().describe("HTTP status code: 200/204 for successful deletion, 400 for invalid webhook ID, 404 for not found (idempotent when workspaceId provided).").nullable()
|
|
14
|
-
}).describe("Response model for webhook deletion.")
|
|
14
|
+
}).passthrough().describe("Response model for webhook deletion.")
|
|
15
15
|
});
|
|
16
16
|
//#endregion
|
|
17
17
|
export { sendsparkDeleteWebhook };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-webhook.mjs","names":[],"sources":["../../src/actions/delete-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendsparkDeleteWebhookInput = z.object({\n webhook_id: z.string().describe(\"Unique identifier of the webhook to delete.\"),\n workspaceId: z.string().describe(\"Workspace unique identifier. Required to use the workspace-scoped endpoint (/v1/workspaces/{workspaceId}/webhooks/{webhook_id}). Strongly recommended: The unscoped endpoint (/api/webhooks/{webhook_id}) may not be available.\").optional(),\n}).describe(\"Request model for deleting a webhook by ID.\");\nexport const SendsparkDeleteWebhookOutput = z.object({\n message: z.string().describe(\"Descriptive message from the API. Examples: 'Webhook not found or already deleted (idempotent)' for 404 with workspaceId, 'Invalid request params input' for 400 errors.\").nullable().optional(),\n statusCode: z.number().int().describe(\"HTTP status code: 200/204 for successful deletion, 400 for invalid webhook ID, 404 for not found (idempotent when workspaceId provided).\").nullable(),\n}).describe(\"Response model for webhook deletion.\");\n\nexport const sendsparkDeleteWebhook = action(\"SENDSPARK_DELETE_WEBHOOK\", {\n slug: \"sendspark-delete-webhook\",\n name: \"Delete Webhook\",\n description: \"Delete a webhook by its unique ID. Returns a structured response with status code and message. This action is idempotent: deleting a non-existent webhook (404) with workspaceId provided returns success. Invalid webhook IDs return 400 with error details. Best practice: Always provide workspaceId to use the reliable workspace-scoped endpoint.\",\n input: SendsparkDeleteWebhookInput,\n output: SendsparkDeleteWebhookOutput,\n});\n"],"mappings":";;AAaA,MAAa,yBAAyB,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAbyC,EAAE,OAAO;EAClD,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C;EAC7E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,iOAAiO,CAAC,CAAC,SAAS;CAC/Q,CAAC,CAAC,CAAC,SAAS,6CAUH;CACP,QAV0C,EAAE,OAAO;EACnD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,0KAA0K,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7N,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0IAA0I,CAAC,CAAC,SAAS;CAC7L,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"delete-webhook.mjs","names":[],"sources":["../../src/actions/delete-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendsparkDeleteWebhookInput = z.object({\n webhook_id: z.string().describe(\"Unique identifier of the webhook to delete.\"),\n workspaceId: z.string().describe(\"Workspace unique identifier. Required to use the workspace-scoped endpoint (/v1/workspaces/{workspaceId}/webhooks/{webhook_id}). Strongly recommended: The unscoped endpoint (/api/webhooks/{webhook_id}) may not be available.\").optional(),\n}).describe(\"Request model for deleting a webhook by ID.\");\nexport const SendsparkDeleteWebhookOutput = z.object({\n message: z.string().describe(\"Descriptive message from the API. Examples: 'Webhook not found or already deleted (idempotent)' for 404 with workspaceId, 'Invalid request params input' for 400 errors.\").nullable().optional(),\n statusCode: z.number().int().describe(\"HTTP status code: 200/204 for successful deletion, 400 for invalid webhook ID, 404 for not found (idempotent when workspaceId provided).\").nullable(),\n}).passthrough().describe(\"Response model for webhook deletion.\");\n\nexport const sendsparkDeleteWebhook = action(\"SENDSPARK_DELETE_WEBHOOK\", {\n slug: \"sendspark-delete-webhook\",\n name: \"Delete Webhook\",\n description: \"Delete a webhook by its unique ID. Returns a structured response with status code and message. This action is idempotent: deleting a non-existent webhook (404) with workspaceId provided returns success. Invalid webhook IDs return 400 with error details. Best practice: Always provide workspaceId to use the reliable workspace-scoped endpoint.\",\n input: SendsparkDeleteWebhookInput,\n output: SendsparkDeleteWebhookOutput,\n});\n"],"mappings":";;AAaA,MAAa,yBAAyB,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAbyC,EAAE,OAAO;EAClD,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C;EAC7E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,iOAAiO,CAAC,CAAC,SAAS;CAC/Q,CAAC,CAAC,CAAC,SAAS,6CAUH;CACP,QAV0C,EAAE,OAAO;EACnD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,0KAA0K,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7N,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0IAA0I,CAAC,CAAC,SAAS;CAC7L,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAOhB;AACV,CAAC"}
|
|
@@ -9,14 +9,14 @@ const SendsparkGetDynamicCampaignById_CreatorSchema = zod.z.object({
|
|
|
9
9
|
_id: zod.z.string().describe("Creator user ID").nullable(),
|
|
10
10
|
name: zod.z.string().describe("Full name of the creator").nullable(),
|
|
11
11
|
email: zod.z.string().describe("Creator email address").nullable().optional()
|
|
12
|
-
});
|
|
12
|
+
}).passthrough();
|
|
13
13
|
const SendsparkGetDynamicCampaignById_FeaturesSchema = zod.z.object({
|
|
14
14
|
screenshot: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Screenshot capture settings").nullable().optional(),
|
|
15
15
|
voiceCloning: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Voice cloning configuration and settings").nullable().optional(),
|
|
16
16
|
transcription: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Transcription settings and configuration").nullable().optional(),
|
|
17
17
|
videoSettings: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Custom video settings and animations").nullable().optional()
|
|
18
|
-
});
|
|
19
|
-
const SendsparkGetDynamicCampaignById_MetadataSchema = zod.z.object({ version: zod.z.string().describe("Internal version tag").nullable().optional() });
|
|
18
|
+
}).passthrough();
|
|
19
|
+
const SendsparkGetDynamicCampaignById_MetadataSchema = zod.z.object({ version: zod.z.string().describe("Internal version tag").nullable().optional() }).passthrough();
|
|
20
20
|
const SendsparkGetDynamicCampaignById_VideoAssetSchema = zod.z.object({
|
|
21
21
|
_id: zod.z.string().describe("Asset unique identifier").nullable(),
|
|
22
22
|
url: zod.z.string().describe("Publicly accessible asset URL").nullable(),
|
|
@@ -24,13 +24,13 @@ const SendsparkGetDynamicCampaignById_VideoAssetSchema = zod.z.object({
|
|
|
24
24
|
assetUrl: zod.z.string().describe("Alternate URL for the asset").nullable(),
|
|
25
25
|
duration: zod.z.number().describe("Asset duration in seconds").nullable(),
|
|
26
26
|
provider: zod.z.string().describe("Asset provider name").nullable()
|
|
27
|
-
});
|
|
27
|
+
}).passthrough();
|
|
28
28
|
const SendsparkGetDynamicCampaignById_SharePageSchema = zod.z.object({
|
|
29
29
|
title: zod.z.string().describe("Title shown on the share page").nullable(),
|
|
30
30
|
buttons: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("Configuration of any share buttons"),
|
|
31
31
|
calendar: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Calendar settings for the share page").nullable().optional()
|
|
32
|
-
});
|
|
33
|
-
const SendsparkGetDynamicCampaignById_VideoPropertiesSchema = zod.z.object({ sharePage: SendsparkGetDynamicCampaignById_SharePageSchema.nullable() });
|
|
32
|
+
}).passthrough();
|
|
33
|
+
const SendsparkGetDynamicCampaignById_VideoPropertiesSchema = zod.z.object({ sharePage: SendsparkGetDynamicCampaignById_SharePageSchema.nullable() }).passthrough();
|
|
34
34
|
const SendsparkGetDynamicCampaignByIdOutput = zod.z.object({
|
|
35
35
|
_id: zod.z.string().describe("Campaign unique ID").nullable(),
|
|
36
36
|
name: zod.z.string().describe("Human-readable campaign name").nullable(),
|
|
@@ -45,7 +45,7 @@ const SendsparkGetDynamicCampaignByIdOutput = zod.z.object({
|
|
|
45
45
|
combinedVideo: zod.z.boolean().describe("True if combined video is used").nullable(),
|
|
46
46
|
videoProperties: SendsparkGetDynamicCampaignById_VideoPropertiesSchema.nullable(),
|
|
47
47
|
dynamicBackground: zod.z.boolean().describe("True if background is dynamic").nullable()
|
|
48
|
-
}).describe("Response model for a dynamic campaign retrieval.");
|
|
48
|
+
}).passthrough().describe("Response model for a dynamic campaign retrieval.");
|
|
49
49
|
const sendsparkGetDynamicCampaignById = require_action.action("SENDSPARK_GET_DYNAMIC_CAMPAIGN_BY_ID", {
|
|
50
50
|
slug: "sendspark-get-dynamic-campaign-by-id",
|
|
51
51
|
name: "Get Dynamic Campaign by ID",
|