@keystrokehq/sendspark 0.1.4 → 0.1.6
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/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/add-multiple-prospects-to-dynamic-campaign.cjs +1 -0
- package/dist/actions/add-multiple-prospects-to-dynamic-campaign.cjs.map +1 -1
- package/dist/actions/add-multiple-prospects-to-dynamic-campaign.d.cts +3 -17
- package/dist/actions/add-multiple-prospects-to-dynamic-campaign.d.cts.map +1 -1
- package/dist/actions/add-multiple-prospects-to-dynamic-campaign.d.mts +3 -17
- package/dist/actions/add-multiple-prospects-to-dynamic-campaign.d.mts.map +1 -1
- package/dist/actions/add-multiple-prospects-to-dynamic-campaign.mjs +1 -0
- package/dist/actions/add-multiple-prospects-to-dynamic-campaign.mjs.map +1 -1
- package/dist/actions/add-prospect-to-dynamic-video-campaign.cjs +1 -0
- package/dist/actions/add-prospect-to-dynamic-video-campaign.cjs.map +1 -1
- package/dist/actions/add-prospect-to-dynamic-video-campaign.d.cts +3 -16
- package/dist/actions/add-prospect-to-dynamic-video-campaign.d.cts.map +1 -1
- package/dist/actions/add-prospect-to-dynamic-video-campaign.d.mts +3 -16
- package/dist/actions/add-prospect-to-dynamic-video-campaign.d.mts.map +1 -1
- package/dist/actions/add-prospect-to-dynamic-video-campaign.mjs +1 -0
- package/dist/actions/add-prospect-to-dynamic-video-campaign.mjs.map +1 -1
- package/dist/actions/api-health-status.cjs +1 -0
- package/dist/actions/api-health-status.cjs.map +1 -1
- package/dist/actions/api-health-status.d.cts +3 -1
- package/dist/actions/api-health-status.d.cts.map +1 -1
- package/dist/actions/api-health-status.d.mts +3 -1
- package/dist/actions/api-health-status.d.mts.map +1 -1
- package/dist/actions/api-health-status.mjs +1 -0
- package/dist/actions/api-health-status.mjs.map +1 -1
- package/dist/actions/create-dynamic-video-campaign2.cjs +1 -0
- package/dist/actions/create-dynamic-video-campaign2.cjs.map +1 -1
- package/dist/actions/create-dynamic-video-campaign2.d.cts +3 -4
- package/dist/actions/create-dynamic-video-campaign2.d.cts.map +1 -1
- package/dist/actions/create-dynamic-video-campaign2.d.mts +3 -4
- package/dist/actions/create-dynamic-video-campaign2.d.mts.map +1 -1
- package/dist/actions/create-dynamic-video-campaign2.mjs +1 -0
- package/dist/actions/create-dynamic-video-campaign2.mjs.map +1 -1
- package/dist/actions/delete-webhook.cjs +1 -0
- package/dist/actions/delete-webhook.cjs.map +1 -1
- package/dist/actions/delete-webhook.d.cts +3 -4
- package/dist/actions/delete-webhook.d.cts.map +1 -1
- package/dist/actions/delete-webhook.d.mts +3 -4
- package/dist/actions/delete-webhook.d.mts.map +1 -1
- package/dist/actions/delete-webhook.mjs +1 -0
- package/dist/actions/delete-webhook.mjs.map +1 -1
- package/dist/actions/get-dynamic-campaign-by-id.cjs +1 -0
- package/dist/actions/get-dynamic-campaign-by-id.cjs.map +1 -1
- package/dist/actions/get-dynamic-campaign-by-id.d.cts +3 -4
- package/dist/actions/get-dynamic-campaign-by-id.d.cts.map +1 -1
- package/dist/actions/get-dynamic-campaign-by-id.d.mts +3 -4
- package/dist/actions/get-dynamic-campaign-by-id.d.mts.map +1 -1
- package/dist/actions/get-dynamic-campaign-by-id.mjs +1 -0
- package/dist/actions/get-dynamic-campaign-by-id.mjs.map +1 -1
- package/dist/actions/get-workspace-prospect-data-by-email.cjs +1 -0
- package/dist/actions/get-workspace-prospect-data-by-email.cjs.map +1 -1
- package/dist/actions/get-workspace-prospect-data-by-email.d.cts +3 -5
- package/dist/actions/get-workspace-prospect-data-by-email.d.cts.map +1 -1
- package/dist/actions/get-workspace-prospect-data-by-email.d.mts +3 -5
- package/dist/actions/get-workspace-prospect-data-by-email.d.mts.map +1 -1
- package/dist/actions/get-workspace-prospect-data-by-email.mjs +1 -0
- package/dist/actions/get-workspace-prospect-data-by-email.mjs.map +1 -1
- package/dist/actions/list-dynamic-video-campaigns.cjs +1 -0
- package/dist/actions/list-dynamic-video-campaigns.cjs.map +1 -1
- package/dist/actions/list-dynamic-video-campaigns.d.cts +3 -7
- package/dist/actions/list-dynamic-video-campaigns.d.cts.map +1 -1
- package/dist/actions/list-dynamic-video-campaigns.d.mts +3 -7
- package/dist/actions/list-dynamic-video-campaigns.d.mts.map +1 -1
- package/dist/actions/list-dynamic-video-campaigns.mjs +1 -0
- package/dist/actions/list-dynamic-video-campaigns.mjs.map +1 -1
- package/dist/actions/list-webhooks.cjs +1 -0
- package/dist/actions/list-webhooks.cjs.map +1 -1
- package/dist/actions/list-webhooks.d.cts +3 -3
- package/dist/actions/list-webhooks.d.cts.map +1 -1
- package/dist/actions/list-webhooks.d.mts +3 -3
- package/dist/actions/list-webhooks.d.mts.map +1 -1
- package/dist/actions/list-webhooks.mjs +1 -0
- package/dist/actions/list-webhooks.mjs.map +1 -1
- package/dist/app.cjs +9 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +8 -1
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +8 -1
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +6 -2
- package/dist/app.mjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/package.json +2 -2
package/dist/action.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"action.cjs","names":["sendspark","executeSendsparkTool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { sendspark } from \"./app\";\nimport { executeSendsparkTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output:
|
|
1
|
+
{"version":3,"file":"action.cjs","names":["sendspark","executeSendsparkTool"],"sources":["../src/action.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { sendspark } from \"./app\";\nimport { executeSendsparkTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType, TOutput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: TOutput;\n },\n): AppAction<TInput, TOutput, typeof sendspark.credential> {\n return sendspark.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executeSendsparkTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAOA,SAAgB,OACd,MACA,KAOyD;CACzD,OAAOA,YAAAA,UAAU,OAAO;EACtB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAMC,gBAAAA,qBAAqB,MAAM,KAAgC,CAAC;EAC5F;CACF,CAAC;AACH"}
|
package/dist/action.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { sendspark } from \"./app\";\nimport { executeSendsparkTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output:
|
|
1
|
+
{"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { sendspark } from \"./app\";\nimport { executeSendsparkTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType, TOutput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: TOutput;\n },\n): AppAction<TInput, TOutput, typeof sendspark.credential> {\n return sendspark.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executeSendsparkTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAOA,SAAgB,OACd,MACA,KAOyD;CACzD,OAAO,UAAU,OAAO;EACtB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,qBAAqB,MAAM,KAAgC,CAAC;EAC5F;CACF,CAAC;AACH"}
|
|
@@ -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}).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":"
|
|
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 type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { sendspark } from \"../app\";\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: AppAction<\n typeof SendsparkAddMultipleProspectsToDynamicCampaignInput,\n typeof SendsparkAddMultipleProspectsToDynamicCampaignOutput,\n typeof sendspark.credential\n> = 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":";;;;AAMA,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,YAAY,CAAC,CAAC,CAAC,SAAS,0BAA0B;CACnD,0BAA0BA,IAAAA,EAAE,OAAO;EACnC,eAAeA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;EACvF,2BAA2BA,IAAAA,EAAE,KAAK,CAAC,oBAAoB,iBAAiB,CAAC,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CACtH,CAAC,CAAC,CAA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;AAEf,MAAa,iDAITC,eAAAA,OAAO,wDAAwD;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { sendspark } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/add-multiple-prospects-to-dynamic-campaign.d.ts
|
|
@@ -66,23 +68,7 @@ declare const SendsparkAddMultipleProspectsToDynamicCampaignOutput: z.ZodObject<
|
|
|
66
68
|
}, z.core.$loose>>;
|
|
67
69
|
dynamicBackground: z.ZodNullable<z.ZodBoolean>;
|
|
68
70
|
}, z.core.$loose>;
|
|
69
|
-
declare const sendsparkAddMultipleProspectsToDynamicCampaign:
|
|
70
|
-
dynamicsId: string;
|
|
71
|
-
workspaceId: string;
|
|
72
|
-
prospectList: {
|
|
73
|
-
[x: string]: unknown;
|
|
74
|
-
contactName: string;
|
|
75
|
-
contactEmail: string;
|
|
76
|
-
company?: string | undefined;
|
|
77
|
-
jobTitle?: string | undefined;
|
|
78
|
-
backgroundUrl?: string | undefined;
|
|
79
|
-
}[];
|
|
80
|
-
processAndAuthorizeCharge: boolean;
|
|
81
|
-
prospectDepurationConfig?: {
|
|
82
|
-
forceCreation?: boolean | undefined;
|
|
83
|
-
payloadDepurationStrategy?: "keep-first-valid" | "keep-last-valid" | undefined;
|
|
84
|
-
} | undefined;
|
|
85
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
71
|
+
declare const sendsparkAddMultipleProspectsToDynamicCampaign: AppAction<typeof SendsparkAddMultipleProspectsToDynamicCampaignInput, typeof SendsparkAddMultipleProspectsToDynamicCampaignOutput, typeof sendspark.credential>;
|
|
86
72
|
//#endregion
|
|
87
73
|
export { sendsparkAddMultipleProspectsToDynamicCampaign };
|
|
88
74
|
//# sourceMappingURL=add-multiple-prospects-to-dynamic-campaign.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add-multiple-prospects-to-dynamic-campaign.d.cts","names":[],"sources":["../../src/actions/add-multiple-prospects-to-dynamic-campaign.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"add-multiple-prospects-to-dynamic-campaign.d.cts","names":[],"sources":["../../src/actions/add-multiple-prospects-to-dynamic-campaign.ts"],"mappings":";;;;;cAMa,mDAAA,EAAmD,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;cAmDnD,oDAAA,EAAoD,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAiBpD,8CAAA,EAAgD,SAAA,QACpD,mDAAA,SACA,oDAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { sendspark } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/add-multiple-prospects-to-dynamic-campaign.d.ts
|
|
@@ -66,23 +68,7 @@ declare const SendsparkAddMultipleProspectsToDynamicCampaignOutput: z.ZodObject<
|
|
|
66
68
|
}, z.core.$loose>>;
|
|
67
69
|
dynamicBackground: z.ZodNullable<z.ZodBoolean>;
|
|
68
70
|
}, z.core.$loose>;
|
|
69
|
-
declare const sendsparkAddMultipleProspectsToDynamicCampaign:
|
|
70
|
-
dynamicsId: string;
|
|
71
|
-
workspaceId: string;
|
|
72
|
-
prospectList: {
|
|
73
|
-
[x: string]: unknown;
|
|
74
|
-
contactName: string;
|
|
75
|
-
contactEmail: string;
|
|
76
|
-
company?: string | undefined;
|
|
77
|
-
jobTitle?: string | undefined;
|
|
78
|
-
backgroundUrl?: string | undefined;
|
|
79
|
-
}[];
|
|
80
|
-
processAndAuthorizeCharge: boolean;
|
|
81
|
-
prospectDepurationConfig?: {
|
|
82
|
-
forceCreation?: boolean | undefined;
|
|
83
|
-
payloadDepurationStrategy?: "keep-first-valid" | "keep-last-valid" | undefined;
|
|
84
|
-
} | undefined;
|
|
85
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
71
|
+
declare const sendsparkAddMultipleProspectsToDynamicCampaign: AppAction<typeof SendsparkAddMultipleProspectsToDynamicCampaignInput, typeof SendsparkAddMultipleProspectsToDynamicCampaignOutput, typeof sendspark.credential>;
|
|
86
72
|
//#endregion
|
|
87
73
|
export { sendsparkAddMultipleProspectsToDynamicCampaign };
|
|
88
74
|
//# sourceMappingURL=add-multiple-prospects-to-dynamic-campaign.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add-multiple-prospects-to-dynamic-campaign.d.mts","names":[],"sources":["../../src/actions/add-multiple-prospects-to-dynamic-campaign.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"add-multiple-prospects-to-dynamic-campaign.d.mts","names":[],"sources":["../../src/actions/add-multiple-prospects-to-dynamic-campaign.ts"],"mappings":";;;;;cAMa,mDAAA,EAAmD,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;cAmDnD,oDAAA,EAAoD,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAiBpD,8CAAA,EAAgD,SAAA,QACpD,mDAAA,SACA,oDAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -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}).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":"
|
|
1
|
+
{"version":3,"file":"add-multiple-prospects-to-dynamic-campaign.mjs","names":[],"sources":["../../src/actions/add-multiple-prospects-to-dynamic-campaign.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { sendspark } from \"../app\";\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: AppAction<\n typeof SendsparkAddMultipleProspectsToDynamicCampaignInput,\n typeof SendsparkAddMultipleProspectsToDynamicCampaignOutput,\n typeof sendspark.credential\n> = 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":";;;;AAMA,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;E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;EAC5E,iBAAiB,qEAAqE,SAAS;EAC/F,mBAAmB,EAAE,QAAQ,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACzF,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
|
|
@@ -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}).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":"
|
|
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 type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { sendspark } from \"../app\";\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: AppAction<\n typeof SendsparkAddProspectToDynamicVideoCampaignInput,\n typeof SendsparkAddProspectToDynamicVideoCampaignOutput,\n typeof sendspark.credential\n> = 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":";;;;AAMA,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,SAA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AC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uFAAuF;AAEjH,MAAa,6CAITC,eAAAA,OAAO,oDAAoD;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { sendspark } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/add-prospect-to-dynamic-video-campaign.d.ts
|
|
@@ -41,22 +43,7 @@ declare const SendsparkAddProspectToDynamicVideoCampaignOutput: z.ZodObject<{
|
|
|
41
43
|
validationDetails: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
42
44
|
}, z.core.$loose>>;
|
|
43
45
|
}, z.core.$loose>;
|
|
44
|
-
declare const sendsparkAddProspectToDynamicVideoCampaign:
|
|
45
|
-
prospect: {
|
|
46
|
-
contactName: string;
|
|
47
|
-
contactEmail: string;
|
|
48
|
-
company?: string | undefined;
|
|
49
|
-
jobTitle?: string | undefined;
|
|
50
|
-
backgroundUrl?: string | undefined;
|
|
51
|
-
};
|
|
52
|
-
dynamicId: string;
|
|
53
|
-
workspaceId: string;
|
|
54
|
-
processAndAuthorizeCharge: boolean;
|
|
55
|
-
prospectDepurationConfig?: {
|
|
56
|
-
payloadDepurationStrategy: "keep-first-valid" | "keep-last-valid";
|
|
57
|
-
forceCreation?: boolean | undefined;
|
|
58
|
-
} | undefined;
|
|
59
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
46
|
+
declare const sendsparkAddProspectToDynamicVideoCampaign: AppAction<typeof SendsparkAddProspectToDynamicVideoCampaignInput, typeof SendsparkAddProspectToDynamicVideoCampaignOutput, typeof sendspark.credential>;
|
|
60
47
|
//#endregion
|
|
61
48
|
export { sendsparkAddProspectToDynamicVideoCampaign };
|
|
62
49
|
//# sourceMappingURL=add-prospect-to-dynamic-video-campaign.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add-prospect-to-dynamic-video-campaign.d.cts","names":[],"sources":["../../src/actions/add-prospect-to-dynamic-video-campaign.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"add-prospect-to-dynamic-video-campaign.d.cts","names":[],"sources":["../../src/actions/add-prospect-to-dynamic-video-campaign.ts"],"mappings":";;;;;cAMa,+CAAA,EAA+C,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;cAmC/C,gDAAA,EAAgD,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;cAIhD,0CAAA,EAA4C,SAAA,QAChD,+CAAA,SACA,gDAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { sendspark } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/add-prospect-to-dynamic-video-campaign.d.ts
|
|
@@ -41,22 +43,7 @@ declare const SendsparkAddProspectToDynamicVideoCampaignOutput: z.ZodObject<{
|
|
|
41
43
|
validationDetails: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
42
44
|
}, z.core.$loose>>;
|
|
43
45
|
}, z.core.$loose>;
|
|
44
|
-
declare const sendsparkAddProspectToDynamicVideoCampaign:
|
|
45
|
-
prospect: {
|
|
46
|
-
contactName: string;
|
|
47
|
-
contactEmail: string;
|
|
48
|
-
company?: string | undefined;
|
|
49
|
-
jobTitle?: string | undefined;
|
|
50
|
-
backgroundUrl?: string | undefined;
|
|
51
|
-
};
|
|
52
|
-
dynamicId: string;
|
|
53
|
-
workspaceId: string;
|
|
54
|
-
processAndAuthorizeCharge: boolean;
|
|
55
|
-
prospectDepurationConfig?: {
|
|
56
|
-
payloadDepurationStrategy: "keep-first-valid" | "keep-last-valid";
|
|
57
|
-
forceCreation?: boolean | undefined;
|
|
58
|
-
} | undefined;
|
|
59
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
46
|
+
declare const sendsparkAddProspectToDynamicVideoCampaign: AppAction<typeof SendsparkAddProspectToDynamicVideoCampaignInput, typeof SendsparkAddProspectToDynamicVideoCampaignOutput, typeof sendspark.credential>;
|
|
60
47
|
//#endregion
|
|
61
48
|
export { sendsparkAddProspectToDynamicVideoCampaign };
|
|
62
49
|
//# sourceMappingURL=add-prospect-to-dynamic-video-campaign.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add-prospect-to-dynamic-video-campaign.d.mts","names":[],"sources":["../../src/actions/add-prospect-to-dynamic-video-campaign.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"add-prospect-to-dynamic-video-campaign.d.mts","names":[],"sources":["../../src/actions/add-prospect-to-dynamic-video-campaign.ts"],"mappings":";;;;;cAMa,+CAAA,EAA+C,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;cAmC/C,gDAAA,EAAgD,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;cAIhD,0CAAA,EAA4C,SAAA,QAChD,+CAAA,SACA,gDAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -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}).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":"
|
|
1
|
+
{"version":3,"file":"add-prospect-to-dynamic-video-campaign.mjs","names":[],"sources":["../../src/actions/add-prospect-to-dynamic-video-campaign.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { sendspark } from \"../app\";\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: AppAction<\n typeof SendsparkAddProspectToDynamicVideoCampaignInput,\n typeof SendsparkAddProspectToDynamicVideoCampaignOutput,\n typeof sendspark.credential\n> = 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":";;;;AAMA,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,0EAA0E;CAChK,CAAC,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CAC7E,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AE,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,6CAIT,OAAO,oDAAoD;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAb8D,EAAE,OAAO,EACvE,cAAc,EAAE,MAAM,iEAAiE,CAAC,CAAC,SAAS,qDAAqD,EACzJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uFAWhB;AACV,CAAC"}
|
|
@@ -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}).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":"
|
|
1
|
+
{"version":3,"file":"api-health-status.cjs","names":["z","action"],"sources":["../../src/actions/api-health-status.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { sendspark } from \"../app\";\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: AppAction<\n typeof SendsparkApiHealthStatusInput,\n typeof SendsparkApiHealthStatusOutput,\n typeof sendspark.credential\n> = 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":";;;;AAMA,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,2BAITC,eAAAA,OAAO,+BAA+B;CACxC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { sendspark } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/api-health-status.d.ts
|
|
@@ -5,7 +7,7 @@ declare const SendsparkApiHealthStatusInput: z.ZodObject<{}, z.core.$strip>;
|
|
|
5
7
|
declare const SendsparkApiHealthStatusOutput: z.ZodObject<{
|
|
6
8
|
message: z.ZodNullable<z.ZodString>;
|
|
7
9
|
}, z.core.$loose>;
|
|
8
|
-
declare const sendsparkApiHealthStatus:
|
|
10
|
+
declare const sendsparkApiHealthStatus: AppAction<typeof SendsparkApiHealthStatusInput, typeof SendsparkApiHealthStatusOutput, typeof sendspark.credential>;
|
|
9
11
|
//#endregion
|
|
10
12
|
export { sendsparkApiHealthStatus };
|
|
11
13
|
//# sourceMappingURL=api-health-status.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"api-health-status.d.cts","names":[],"sources":["../../src/actions/api-health-status.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"api-health-status.d.cts","names":[],"sources":["../../src/actions/api-health-status.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAC7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;cAI9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { sendspark } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/api-health-status.d.ts
|
|
@@ -5,7 +7,7 @@ declare const SendsparkApiHealthStatusInput: z.ZodObject<{}, z.core.$strip>;
|
|
|
5
7
|
declare const SendsparkApiHealthStatusOutput: z.ZodObject<{
|
|
6
8
|
message: z.ZodNullable<z.ZodString>;
|
|
7
9
|
}, z.core.$loose>;
|
|
8
|
-
declare const sendsparkApiHealthStatus:
|
|
10
|
+
declare const sendsparkApiHealthStatus: AppAction<typeof SendsparkApiHealthStatusInput, typeof SendsparkApiHealthStatusOutput, typeof sendspark.credential>;
|
|
9
11
|
//#endregion
|
|
10
12
|
export { sendsparkApiHealthStatus };
|
|
11
13
|
//# sourceMappingURL=api-health-status.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"api-health-status.d.mts","names":[],"sources":["../../src/actions/api-health-status.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"api-health-status.d.mts","names":[],"sources":["../../src/actions/api-health-status.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAC7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;cAI9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -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}).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":"
|
|
1
|
+
{"version":3,"file":"api-health-status.mjs","names":[],"sources":["../../src/actions/api-health-status.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { sendspark } from \"../app\";\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: AppAction<\n typeof SendsparkApiHealthStatusInput,\n typeof SendsparkApiHealthStatusOutput,\n typeof sendspark.credential\n> = 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":";;;AAWA,MAAa,2BAIT,OAAO,+BAA+B;CACxC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAb2C,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,iFAa1D;CACP,QAb4C,EAAE,OAAO,EACrD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,EAC3G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-dynamic-video-campaign2.cjs","names":["z","action"],"sources":["../../src/actions/create-dynamic-video-campaign2.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendsparkCreateDynamicVideoCampaign2Input = z.object({\n name: z.string().describe(\"Name of the dynamic campaign. Must be unique within the workspace\"),\n workspaceId: z.string().describe(\"The ID of the Sendspark workspace where the campaign will be created\"),\n}).describe(\"Request parameters for creating a dynamic video campaign.\");\nconst SendsparkCreateDynamicVideoCampaign2_MetadataSchema = z.object({\n version: z.string().describe(\"Metadata version\").nullable().optional(),\n}).passthrough().describe(\"Campaign metadata.\");\nconst SendsparkCreateDynamicVideoCampaign2_SharePageSchema = z.object({\n title: z.string().describe(\"Share page title\").nullable().optional(),\n layout: z.string().describe(\"Layout configuration (e.g., 'layout-default')\").nullable().optional(),\n buttons: z.array(z.unknown()).describe(\"Share page buttons\").nullable().optional(),\n calendar: z.record(z.string(), z.unknown()).describe(\"Calendar configuration\").nullable().optional(),\n}).passthrough().describe(\"Share page properties.\");\nconst SendsparkCreateDynamicVideoCampaign2_VideoPropertiesSchema = z.object({\n sharePage: SendsparkCreateDynamicVideoCampaign2_SharePageSchema.nullable().optional(),\n}).passthrough().describe(\"Video properties and settings.\");\nexport const SendsparkCreateDynamicVideoCampaign2Output = z.object({\n _id: z.string().describe(\"Unique campaign identifier\").nullable(),\n name: z.string().describe(\"Campaign name\").nullable(),\n folder: z.string().describe(\"Associated folder ID\").nullable(),\n status: z.string().describe(\"Current status of the campaign (e.g., 'pending')\").nullable().optional(),\n creator: z.string().describe(\"Creator user ID\").nullable(),\n metadata: SendsparkCreateDynamicVideoCampaign2_MetadataSchema.nullable().optional(),\n createdAt: z.string().describe(\"ISO timestamp when campaign was created\").nullable(),\n workspace: z.string().describe(\"Associated workspace ID\").nullable(),\n videosAssets: z.array(z.record(z.string(), z.unknown())).describe(\"List of video assets in the campaign\").nullable().optional(),\n combinedVideo: z.union([z.boolean(), z.string()]).nullable().optional(),\n videoProperties: SendsparkCreateDynamicVideoCampaign2_VideoPropertiesSchema.nullable().optional(),\n dynamicBackground: z.union([z.boolean(), z.string()]).nullable().optional(),\n}).passthrough().describe(\"Response containing the created dynamic campaign details.\\nThe API returns the campaign object directly.\");\n\nexport const sendsparkCreateDynamicVideoCampaign2 = action(\"SENDSPARK_CREATE_DYNAMIC_VIDEO_CAMPAIGN2\", {\n slug: \"sendspark-create-dynamic-video-campaign2\",\n name: \"Create Dynamic Video Campaign V2\",\n description: \"Tool to create a dynamic video campaign in a workspace. Use when you need to create a container for AI-personalized dynamic videos that can be sent to prospects.\",\n input: SendsparkCreateDynamicVideoCampaign2Input,\n output: SendsparkCreateDynamicVideoCampaign2Output,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-dynamic-video-campaign2.cjs","names":["z","action"],"sources":["../../src/actions/create-dynamic-video-campaign2.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { sendspark } from \"../app\";\n\nexport const SendsparkCreateDynamicVideoCampaign2Input = z.object({\n name: z.string().describe(\"Name of the dynamic campaign. Must be unique within the workspace\"),\n workspaceId: z.string().describe(\"The ID of the Sendspark workspace where the campaign will be created\"),\n}).describe(\"Request parameters for creating a dynamic video campaign.\");\nconst SendsparkCreateDynamicVideoCampaign2_MetadataSchema = z.object({\n version: z.string().describe(\"Metadata version\").nullable().optional(),\n}).passthrough().describe(\"Campaign metadata.\");\nconst SendsparkCreateDynamicVideoCampaign2_SharePageSchema = z.object({\n title: z.string().describe(\"Share page title\").nullable().optional(),\n layout: z.string().describe(\"Layout configuration (e.g., 'layout-default')\").nullable().optional(),\n buttons: z.array(z.unknown()).describe(\"Share page buttons\").nullable().optional(),\n calendar: z.record(z.string(), z.unknown()).describe(\"Calendar configuration\").nullable().optional(),\n}).passthrough().describe(\"Share page properties.\");\nconst SendsparkCreateDynamicVideoCampaign2_VideoPropertiesSchema = z.object({\n sharePage: SendsparkCreateDynamicVideoCampaign2_SharePageSchema.nullable().optional(),\n}).passthrough().describe(\"Video properties and settings.\");\nexport const SendsparkCreateDynamicVideoCampaign2Output = z.object({\n _id: z.string().describe(\"Unique campaign identifier\").nullable(),\n name: z.string().describe(\"Campaign name\").nullable(),\n folder: z.string().describe(\"Associated folder ID\").nullable(),\n status: z.string().describe(\"Current status of the campaign (e.g., 'pending')\").nullable().optional(),\n creator: z.string().describe(\"Creator user ID\").nullable(),\n metadata: SendsparkCreateDynamicVideoCampaign2_MetadataSchema.nullable().optional(),\n createdAt: z.string().describe(\"ISO timestamp when campaign was created\").nullable(),\n workspace: z.string().describe(\"Associated workspace ID\").nullable(),\n videosAssets: z.array(z.record(z.string(), z.unknown())).describe(\"List of video assets in the campaign\").nullable().optional(),\n combinedVideo: z.union([z.boolean(), z.string()]).nullable().optional(),\n videoProperties: SendsparkCreateDynamicVideoCampaign2_VideoPropertiesSchema.nullable().optional(),\n dynamicBackground: z.union([z.boolean(), z.string()]).nullable().optional(),\n}).passthrough().describe(\"Response containing the created dynamic campaign details.\\nThe API returns the campaign object directly.\");\n\nexport const sendsparkCreateDynamicVideoCampaign2: AppAction<\n typeof SendsparkCreateDynamicVideoCampaign2Input,\n typeof SendsparkCreateDynamicVideoCampaign2Output,\n typeof sendspark.credential\n> = action(\"SENDSPARK_CREATE_DYNAMIC_VIDEO_CAMPAIGN2\", {\n slug: \"sendspark-create-dynamic-video-campaign2\",\n name: \"Create Dynamic Video Campaign V2\",\n description: \"Tool to create a dynamic video campaign in a workspace. Use when you need to create a container for AI-personalized dynamic videos that can be sent to prospects.\",\n input: SendsparkCreateDynamicVideoCampaign2Input,\n output: SendsparkCreateDynamicVideoCampaign2Output,\n});\n"],"mappings":";;;;AAMA,MAAa,4CAA4CA,IAAAA,EAAE,OAAO;CAChE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE;CAC7F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE;AACzG,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAM,sDAAsDA,IAAAA,EAAE,OAAO,EACnE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACvE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oBAAoB;AAC9C,MAAM,uDAAuDA,IAAAA,EAAE,OAAO;CACpE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CA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Q,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,iBAAiB,2DAA2D,SAAS,CAAC,CAAC,SAAS;CAChG,mBAAmBA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,QAAQ,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0GAA0G;AAEpI,MAAa,uCAITC,eAAAA,OAAO,4CAA4C;CACrD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { sendspark } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/create-dynamic-video-campaign2.d.ts
|
|
@@ -28,10 +30,7 @@ declare const SendsparkCreateDynamicVideoCampaign2Output: z.ZodObject<{
|
|
|
28
30
|
}, z.core.$loose>>>;
|
|
29
31
|
dynamicBackground: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>>;
|
|
30
32
|
}, z.core.$loose>;
|
|
31
|
-
declare const sendsparkCreateDynamicVideoCampaign2:
|
|
32
|
-
name: string;
|
|
33
|
-
workspaceId: string;
|
|
34
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
33
|
+
declare const sendsparkCreateDynamicVideoCampaign2: AppAction<typeof SendsparkCreateDynamicVideoCampaign2Input, typeof SendsparkCreateDynamicVideoCampaign2Output, typeof sendspark.credential>;
|
|
35
34
|
//#endregion
|
|
36
35
|
export { sendsparkCreateDynamicVideoCampaign2 };
|
|
37
36
|
//# sourceMappingURL=create-dynamic-video-campaign2.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-dynamic-video-campaign2.d.cts","names":[],"sources":["../../src/actions/create-dynamic-video-campaign2.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-dynamic-video-campaign2.d.cts","names":[],"sources":["../../src/actions/create-dynamic-video-campaign2.ts"],"mappings":";;;;;cAMa,yCAAA,EAAyC,CAAA,CAAA,SAAA;;;;cAgBzC,0CAAA,EAA0C,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;cAe1C,oCAAA,EAAsC,SAAA,QAC1C,yCAAA,SACA,0CAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { sendspark } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/create-dynamic-video-campaign2.d.ts
|
|
@@ -28,10 +30,7 @@ declare const SendsparkCreateDynamicVideoCampaign2Output: z.ZodObject<{
|
|
|
28
30
|
}, z.core.$loose>>>;
|
|
29
31
|
dynamicBackground: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>>;
|
|
30
32
|
}, z.core.$loose>;
|
|
31
|
-
declare const sendsparkCreateDynamicVideoCampaign2:
|
|
32
|
-
name: string;
|
|
33
|
-
workspaceId: string;
|
|
34
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
33
|
+
declare const sendsparkCreateDynamicVideoCampaign2: AppAction<typeof SendsparkCreateDynamicVideoCampaign2Input, typeof SendsparkCreateDynamicVideoCampaign2Output, typeof sendspark.credential>;
|
|
35
34
|
//#endregion
|
|
36
35
|
export { sendsparkCreateDynamicVideoCampaign2 };
|
|
37
36
|
//# sourceMappingURL=create-dynamic-video-campaign2.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-dynamic-video-campaign2.d.mts","names":[],"sources":["../../src/actions/create-dynamic-video-campaign2.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-dynamic-video-campaign2.d.mts","names":[],"sources":["../../src/actions/create-dynamic-video-campaign2.ts"],"mappings":";;;;;cAMa,yCAAA,EAAyC,CAAA,CAAA,SAAA;;;;cAgBzC,0CAAA,EAA0C,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;cAe1C,oCAAA,EAAsC,SAAA,QAC1C,yCAAA,SACA,0CAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-dynamic-video-campaign2.mjs","names":[],"sources":["../../src/actions/create-dynamic-video-campaign2.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendsparkCreateDynamicVideoCampaign2Input = z.object({\n name: z.string().describe(\"Name of the dynamic campaign. Must be unique within the workspace\"),\n workspaceId: z.string().describe(\"The ID of the Sendspark workspace where the campaign will be created\"),\n}).describe(\"Request parameters for creating a dynamic video campaign.\");\nconst SendsparkCreateDynamicVideoCampaign2_MetadataSchema = z.object({\n version: z.string().describe(\"Metadata version\").nullable().optional(),\n}).passthrough().describe(\"Campaign metadata.\");\nconst SendsparkCreateDynamicVideoCampaign2_SharePageSchema = z.object({\n title: z.string().describe(\"Share page title\").nullable().optional(),\n layout: z.string().describe(\"Layout configuration (e.g., 'layout-default')\").nullable().optional(),\n buttons: z.array(z.unknown()).describe(\"Share page buttons\").nullable().optional(),\n calendar: z.record(z.string(), z.unknown()).describe(\"Calendar configuration\").nullable().optional(),\n}).passthrough().describe(\"Share page properties.\");\nconst SendsparkCreateDynamicVideoCampaign2_VideoPropertiesSchema = z.object({\n sharePage: SendsparkCreateDynamicVideoCampaign2_SharePageSchema.nullable().optional(),\n}).passthrough().describe(\"Video properties and settings.\");\nexport const SendsparkCreateDynamicVideoCampaign2Output = z.object({\n _id: z.string().describe(\"Unique campaign identifier\").nullable(),\n name: z.string().describe(\"Campaign name\").nullable(),\n folder: z.string().describe(\"Associated folder ID\").nullable(),\n status: z.string().describe(\"Current status of the campaign (e.g., 'pending')\").nullable().optional(),\n creator: z.string().describe(\"Creator user ID\").nullable(),\n metadata: SendsparkCreateDynamicVideoCampaign2_MetadataSchema.nullable().optional(),\n createdAt: z.string().describe(\"ISO timestamp when campaign was created\").nullable(),\n workspace: z.string().describe(\"Associated workspace ID\").nullable(),\n videosAssets: z.array(z.record(z.string(), z.unknown())).describe(\"List of video assets in the campaign\").nullable().optional(),\n combinedVideo: z.union([z.boolean(), z.string()]).nullable().optional(),\n videoProperties: SendsparkCreateDynamicVideoCampaign2_VideoPropertiesSchema.nullable().optional(),\n dynamicBackground: z.union([z.boolean(), z.string()]).nullable().optional(),\n}).passthrough().describe(\"Response containing the created dynamic campaign details.\\nThe API returns the campaign object directly.\");\n\nexport const sendsparkCreateDynamicVideoCampaign2 = action(\"SENDSPARK_CREATE_DYNAMIC_VIDEO_CAMPAIGN2\", {\n slug: \"sendspark-create-dynamic-video-campaign2\",\n name: \"Create Dynamic Video Campaign V2\",\n description: \"Tool to create a dynamic video campaign in a workspace. Use when you need to create a container for AI-personalized dynamic videos that can be sent to prospects.\",\n input: SendsparkCreateDynamicVideoCampaign2Input,\n output: SendsparkCreateDynamicVideoCampaign2Output,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-dynamic-video-campaign2.mjs","names":[],"sources":["../../src/actions/create-dynamic-video-campaign2.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { sendspark } from \"../app\";\n\nexport const SendsparkCreateDynamicVideoCampaign2Input = z.object({\n name: z.string().describe(\"Name of the dynamic campaign. Must be unique within the workspace\"),\n workspaceId: z.string().describe(\"The ID of the Sendspark workspace where the campaign will be created\"),\n}).describe(\"Request parameters for creating a dynamic video campaign.\");\nconst SendsparkCreateDynamicVideoCampaign2_MetadataSchema = z.object({\n version: z.string().describe(\"Metadata version\").nullable().optional(),\n}).passthrough().describe(\"Campaign metadata.\");\nconst SendsparkCreateDynamicVideoCampaign2_SharePageSchema = z.object({\n title: z.string().describe(\"Share page title\").nullable().optional(),\n layout: z.string().describe(\"Layout configuration (e.g., 'layout-default')\").nullable().optional(),\n buttons: z.array(z.unknown()).describe(\"Share page buttons\").nullable().optional(),\n calendar: z.record(z.string(), z.unknown()).describe(\"Calendar configuration\").nullable().optional(),\n}).passthrough().describe(\"Share page properties.\");\nconst SendsparkCreateDynamicVideoCampaign2_VideoPropertiesSchema = z.object({\n sharePage: SendsparkCreateDynamicVideoCampaign2_SharePageSchema.nullable().optional(),\n}).passthrough().describe(\"Video properties and settings.\");\nexport const SendsparkCreateDynamicVideoCampaign2Output = z.object({\n _id: z.string().describe(\"Unique campaign identifier\").nullable(),\n name: z.string().describe(\"Campaign name\").nullable(),\n folder: z.string().describe(\"Associated folder ID\").nullable(),\n status: z.string().describe(\"Current status of the campaign (e.g., 'pending')\").nullable().optional(),\n creator: z.string().describe(\"Creator user ID\").nullable(),\n metadata: SendsparkCreateDynamicVideoCampaign2_MetadataSchema.nullable().optional(),\n createdAt: z.string().describe(\"ISO timestamp when campaign was created\").nullable(),\n workspace: z.string().describe(\"Associated workspace ID\").nullable(),\n videosAssets: z.array(z.record(z.string(), z.unknown())).describe(\"List of video assets in the campaign\").nullable().optional(),\n combinedVideo: z.union([z.boolean(), z.string()]).nullable().optional(),\n videoProperties: SendsparkCreateDynamicVideoCampaign2_VideoPropertiesSchema.nullable().optional(),\n dynamicBackground: z.union([z.boolean(), z.string()]).nullable().optional(),\n}).passthrough().describe(\"Response containing the created dynamic campaign details.\\nThe API returns the campaign object directly.\");\n\nexport const sendsparkCreateDynamicVideoCampaign2: AppAction<\n typeof SendsparkCreateDynamicVideoCampaign2Input,\n typeof SendsparkCreateDynamicVideoCampaign2Output,\n typeof sendspark.credential\n> = action(\"SENDSPARK_CREATE_DYNAMIC_VIDEO_CAMPAIGN2\", {\n slug: \"sendspark-create-dynamic-video-campaign2\",\n name: \"Create Dynamic Video Campaign V2\",\n description: \"Tool to create a dynamic video campaign in a workspace. Use when you need to create a container for AI-personalized dynamic videos that can be sent to prospects.\",\n input: SendsparkCreateDynamicVideoCampaign2Input,\n output: SendsparkCreateDynamicVideoCampaign2Output,\n});\n"],"mappings":";;;;AAMA,MAAa,4CAA4C,EAAE,OAAO;CAChE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE;CAC7F,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE;AACzG,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAM,sDAAsD,EAAE,OAAO,EACnE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACvE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oBAAoB;AAC9C,MAAM,uDAAuD,EAAE,OAAO;CACpE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,SAAS,EAAE,MAAM,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wBAAwB;AAClD,MAAM,6DAA6D,EAAE,OAAO,EAC1E,WAAW,qDAAqD,SAAS,CAAC,CAAC,SAAS,EACtF,CAAC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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":"
|
|
1
|
+
{"version":3,"file":"delete-webhook.cjs","names":["z","action"],"sources":["../../src/actions/delete-webhook.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { sendspark } from \"../app\";\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: AppAction<\n typeof SendsparkDeleteWebhookInput,\n typeof SendsparkDeleteWebhookOutput,\n typeof sendspark.credential\n> = 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":";;;;AAMA,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,yBAITC,eAAAA,OAAO,4BAA4B;CACrC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|