@keystrokehq/sendspark 0.1.0 → 0.1.3
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 +24 -24
- package/dist/actions/add-multiple-prospects-to-dynamic-campaign.cjs.map +1 -1
- package/dist/actions/add-multiple-prospects-to-dynamic-campaign.d.cts +82 -3
- 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 +82 -3
- package/dist/actions/add-multiple-prospects-to-dynamic-campaign.d.mts.map +1 -1
- package/dist/actions/add-multiple-prospects-to-dynamic-campaign.mjs +24 -24
- package/dist/actions/add-multiple-prospects-to-dynamic-campaign.mjs.map +1 -1
- package/dist/actions/add-prospect-to-dynamic-video-campaign.cjs +8 -8
- package/dist/actions/add-prospect-to-dynamic-video-campaign.cjs.map +1 -1
- package/dist/actions/add-prospect-to-dynamic-video-campaign.d.cts +56 -3
- 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 +56 -3
- package/dist/actions/add-prospect-to-dynamic-video-campaign.d.mts.map +1 -1
- package/dist/actions/add-prospect-to-dynamic-video-campaign.mjs +8 -8
- package/dist/actions/add-prospect-to-dynamic-video-campaign.mjs.map +1 -1
- package/dist/actions/api-health-status.cjs +1 -1
- package/dist/actions/api-health-status.cjs.map +1 -1
- package/dist/actions/api-health-status.d.cts +5 -3
- package/dist/actions/api-health-status.d.cts.map +1 -1
- package/dist/actions/api-health-status.d.mts +5 -3
- package/dist/actions/api-health-status.d.mts.map +1 -1
- package/dist/actions/api-health-status.mjs +1 -1
- package/dist/actions/api-health-status.mjs.map +1 -1
- package/dist/actions/create-dynamic-video-campaign2.cjs +6 -6
- package/dist/actions/create-dynamic-video-campaign2.cjs.map +1 -1
- package/dist/actions/create-dynamic-video-campaign2.d.cts +31 -3
- package/dist/actions/create-dynamic-video-campaign2.d.cts.map +1 -1
- package/dist/actions/create-dynamic-video-campaign2.d.mts +31 -3
- package/dist/actions/create-dynamic-video-campaign2.d.mts.map +1 -1
- package/dist/actions/create-dynamic-video-campaign2.mjs +6 -6
- package/dist/actions/create-dynamic-video-campaign2.mjs.map +1 -1
- package/dist/actions/delete-webhook.cjs +2 -2
- package/dist/actions/delete-webhook.cjs.map +1 -1
- package/dist/actions/delete-webhook.d.cts +12 -3
- package/dist/actions/delete-webhook.d.cts.map +1 -1
- package/dist/actions/delete-webhook.d.mts +12 -3
- package/dist/actions/delete-webhook.d.mts.map +1 -1
- package/dist/actions/delete-webhook.mjs +2 -2
- package/dist/actions/delete-webhook.mjs.map +1 -1
- package/dist/actions/get-dynamic-campaign-by-id.cjs +24 -24
- package/dist/actions/get-dynamic-campaign-by-id.cjs.map +1 -1
- package/dist/actions/get-dynamic-campaign-by-id.d.cts +47 -3
- package/dist/actions/get-dynamic-campaign-by-id.d.cts.map +1 -1
- package/dist/actions/get-dynamic-campaign-by-id.d.mts +47 -3
- package/dist/actions/get-dynamic-campaign-by-id.d.mts.map +1 -1
- package/dist/actions/get-dynamic-campaign-by-id.mjs +24 -24
- package/dist/actions/get-dynamic-campaign-by-id.mjs.map +1 -1
- package/dist/actions/get-workspace-prospect-data-by-email.cjs +11 -11
- package/dist/actions/get-workspace-prospect-data-by-email.cjs.map +1 -1
- package/dist/actions/get-workspace-prospect-data-by-email.d.cts +36 -3
- 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 +36 -3
- package/dist/actions/get-workspace-prospect-data-by-email.d.mts.map +1 -1
- package/dist/actions/get-workspace-prospect-data-by-email.mjs +11 -11
- package/dist/actions/get-workspace-prospect-data-by-email.mjs.map +1 -1
- package/dist/actions/list-dynamic-video-campaigns.cjs +63 -63
- package/dist/actions/list-dynamic-video-campaigns.cjs.map +1 -1
- package/dist/actions/list-dynamic-video-campaigns.d.cts +106 -3
- package/dist/actions/list-dynamic-video-campaigns.d.cts.map +1 -1
- package/dist/actions/list-dynamic-video-campaigns.d.mts +106 -3
- package/dist/actions/list-dynamic-video-campaigns.d.mts.map +1 -1
- package/dist/actions/list-dynamic-video-campaigns.mjs +63 -63
- package/dist/actions/list-dynamic-video-campaigns.mjs.map +1 -1
- package/dist/actions/list-webhooks.cjs.map +1 -1
- package/dist/actions/list-webhooks.d.cts +7 -3
- package/dist/actions/list-webhooks.d.cts.map +1 -1
- package/dist/actions/list-webhooks.d.mts +7 -3
- package/dist/actions/list-webhooks.d.mts.map +1 -1
- package/dist/actions/list-webhooks.mjs.map +1 -1
- package/dist/catalog.cjs +14 -1
- package/dist/catalog.cjs.map +1 -1
- package/dist/catalog.d.cts +13 -0
- package/dist/catalog.d.mts +13 -0
- package/dist/catalog.mjs +14 -1
- package/dist/catalog.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -1,9 +1,62 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/add-prospect-to-dynamic-video-campaign.d.ts
|
|
4
|
-
declare const SendsparkAddProspectToDynamicVideoCampaignInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const SendsparkAddProspectToDynamicVideoCampaignInput: z.ZodObject<{
|
|
5
|
+
prospect: z.ZodObject<{
|
|
6
|
+
company: z.ZodOptional<z.ZodString>;
|
|
7
|
+
jobTitle: z.ZodOptional<z.ZodString>;
|
|
8
|
+
contactName: z.ZodString;
|
|
9
|
+
contactEmail: z.ZodString;
|
|
10
|
+
backgroundUrl: z.ZodOptional<z.ZodString>;
|
|
11
|
+
}, z.core.$strip>;
|
|
12
|
+
dynamicId: z.ZodString;
|
|
13
|
+
workspaceId: z.ZodString;
|
|
14
|
+
prospectDepurationConfig: z.ZodOptional<z.ZodObject<{
|
|
15
|
+
forceCreation: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
16
|
+
payloadDepurationStrategy: z.ZodEnum<{
|
|
17
|
+
"keep-first-valid": "keep-first-valid";
|
|
18
|
+
"keep-last-valid": "keep-last-valid";
|
|
19
|
+
}>;
|
|
20
|
+
}, z.core.$strip>>;
|
|
21
|
+
processAndAuthorizeCharge: z.ZodBoolean;
|
|
22
|
+
}, z.core.$strip>;
|
|
23
|
+
declare const SendsparkAddProspectToDynamicVideoCampaignOutput: z.ZodObject<{
|
|
24
|
+
prospectList: z.ZodArray<z.ZodObject<{
|
|
25
|
+
_id: z.ZodNullable<z.ZodString>;
|
|
26
|
+
valid: z.ZodNullable<z.ZodBoolean>;
|
|
27
|
+
bulkId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28
|
+
status: z.ZodNullable<z.ZodString>;
|
|
29
|
+
company: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
30
|
+
campaign: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31
|
+
jobTitle: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
32
|
+
createdAt: z.ZodNullable<z.ZodString>;
|
|
33
|
+
deletedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
34
|
+
updatedAt: z.ZodNullable<z.ZodString>;
|
|
35
|
+
webhookUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
36
|
+
contactName: z.ZodNullable<z.ZodString>;
|
|
37
|
+
contactEmail: z.ZodNullable<z.ZodString>;
|
|
38
|
+
backgroundUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
39
|
+
screenshotUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
40
|
+
webhookEvents: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
41
|
+
validationDetails: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
42
|
+
}, z.core.$loose>>;
|
|
43
|
+
}, z.core.$loose>;
|
|
44
|
+
declare const sendsparkAddProspectToDynamicVideoCampaign: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
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]>;
|
|
7
60
|
//#endregion
|
|
8
61
|
export { sendsparkAddProspectToDynamicVideoCampaign };
|
|
9
62
|
//# 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":";;;cAIa,+CAAA,
|
|
1
|
+
{"version":3,"file":"add-prospect-to-dynamic-video-campaign.d.cts","names":[],"sources":["../../src/actions/add-prospect-to-dynamic-video-campaign.ts"],"mappings":";;;cAIa,+CAAA,EAA+C,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;cAmC/C,gDAAA,EAAgD,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;cAIhD,0CAAA,gCAA0C,wBAAA"}
|
|
@@ -1,9 +1,62 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/add-prospect-to-dynamic-video-campaign.d.ts
|
|
4
|
-
declare const SendsparkAddProspectToDynamicVideoCampaignInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const SendsparkAddProspectToDynamicVideoCampaignInput: z.ZodObject<{
|
|
5
|
+
prospect: z.ZodObject<{
|
|
6
|
+
company: z.ZodOptional<z.ZodString>;
|
|
7
|
+
jobTitle: z.ZodOptional<z.ZodString>;
|
|
8
|
+
contactName: z.ZodString;
|
|
9
|
+
contactEmail: z.ZodString;
|
|
10
|
+
backgroundUrl: z.ZodOptional<z.ZodString>;
|
|
11
|
+
}, z.core.$strip>;
|
|
12
|
+
dynamicId: z.ZodString;
|
|
13
|
+
workspaceId: z.ZodString;
|
|
14
|
+
prospectDepurationConfig: z.ZodOptional<z.ZodObject<{
|
|
15
|
+
forceCreation: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
16
|
+
payloadDepurationStrategy: z.ZodEnum<{
|
|
17
|
+
"keep-first-valid": "keep-first-valid";
|
|
18
|
+
"keep-last-valid": "keep-last-valid";
|
|
19
|
+
}>;
|
|
20
|
+
}, z.core.$strip>>;
|
|
21
|
+
processAndAuthorizeCharge: z.ZodBoolean;
|
|
22
|
+
}, z.core.$strip>;
|
|
23
|
+
declare const SendsparkAddProspectToDynamicVideoCampaignOutput: z.ZodObject<{
|
|
24
|
+
prospectList: z.ZodArray<z.ZodObject<{
|
|
25
|
+
_id: z.ZodNullable<z.ZodString>;
|
|
26
|
+
valid: z.ZodNullable<z.ZodBoolean>;
|
|
27
|
+
bulkId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28
|
+
status: z.ZodNullable<z.ZodString>;
|
|
29
|
+
company: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
30
|
+
campaign: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31
|
+
jobTitle: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
32
|
+
createdAt: z.ZodNullable<z.ZodString>;
|
|
33
|
+
deletedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
34
|
+
updatedAt: z.ZodNullable<z.ZodString>;
|
|
35
|
+
webhookUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
36
|
+
contactName: z.ZodNullable<z.ZodString>;
|
|
37
|
+
contactEmail: z.ZodNullable<z.ZodString>;
|
|
38
|
+
backgroundUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
39
|
+
screenshotUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
40
|
+
webhookEvents: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
41
|
+
validationDetails: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
42
|
+
}, z.core.$loose>>;
|
|
43
|
+
}, z.core.$loose>;
|
|
44
|
+
declare const sendsparkAddProspectToDynamicVideoCampaign: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
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]>;
|
|
7
60
|
//#endregion
|
|
8
61
|
export { sendsparkAddProspectToDynamicVideoCampaign };
|
|
9
62
|
//# 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":";;;cAIa,+CAAA,
|
|
1
|
+
{"version":3,"file":"add-prospect-to-dynamic-video-campaign.d.mts","names":[],"sources":["../../src/actions/add-prospect-to-dynamic-video-campaign.ts"],"mappings":";;;cAIa,+CAAA,EAA+C,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;cAmC/C,gDAAA,EAAgD,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;cAIhD,0CAAA,gCAA0C,wBAAA"}
|
|
@@ -18,24 +18,24 @@ const SendsparkAddProspectToDynamicVideoCampaignInput = z.object({
|
|
|
18
18
|
processAndAuthorizeCharge: z.boolean().describe("Must be true to acknowledge and authorize any associated charges.")
|
|
19
19
|
}).describe("Request model for adding a prospect to a dynamic video campaign.");
|
|
20
20
|
const SendsparkAddProspectToDynamicVideoCampaign_ProspectListItemSchema = z.object({
|
|
21
|
-
_id: z.string().describe("Unique prospect identifier."),
|
|
22
|
-
valid: z.boolean().describe("Whether the prospect data was validated."),
|
|
21
|
+
_id: z.string().describe("Unique prospect identifier.").nullable(),
|
|
22
|
+
valid: z.boolean().describe("Whether the prospect data was validated.").nullable(),
|
|
23
23
|
bulkId: z.string().describe("Bulk operation identifier.").nullable().optional(),
|
|
24
|
-
status: z.string().describe("Processing status of the prospect."),
|
|
24
|
+
status: z.string().describe("Processing status of the prospect.").nullable(),
|
|
25
25
|
company: z.string().describe("Company of the prospect.").nullable().optional(),
|
|
26
26
|
campaign: z.string().describe("Campaign identifier.").nullable().optional(),
|
|
27
27
|
jobTitle: z.string().describe("Job title of the prospect.").nullable().optional(),
|
|
28
|
-
createdAt: z.string().describe("ISO timestamp when created."),
|
|
28
|
+
createdAt: z.string().describe("ISO timestamp when created.").nullable(),
|
|
29
29
|
deletedAt: z.string().describe("ISO timestamp when deleted, if applicable.").nullable().optional(),
|
|
30
|
-
updatedAt: z.string().describe("ISO timestamp when last updated."),
|
|
30
|
+
updatedAt: z.string().describe("ISO timestamp when last updated.").nullable(),
|
|
31
31
|
webhookUrl: z.string().describe("Webhook callback URL.").nullable().optional(),
|
|
32
|
-
contactName: z.string().describe("Name of the prospect."),
|
|
33
|
-
contactEmail: z.string().describe("Email of the prospect."),
|
|
32
|
+
contactName: z.string().describe("Name of the prospect.").nullable(),
|
|
33
|
+
contactEmail: z.string().describe("Email of the prospect.").nullable(),
|
|
34
34
|
backgroundUrl: z.string().describe("Background image URL.").nullable().optional(),
|
|
35
35
|
screenshotUrl: z.string().describe("Screenshot URL for the video.").nullable().optional(),
|
|
36
36
|
webhookEvents: z.array(z.string()).describe("List of webhook event names subscribed.").nullable().optional(),
|
|
37
37
|
validationDetails: z.array(z.string()).describe("List of validation error details, if any.").nullable().optional()
|
|
38
|
-
}).describe("Represents a prospect entry in the response.");
|
|
38
|
+
}).passthrough().describe("Represents a prospect entry in the response.");
|
|
39
39
|
const sendsparkAddProspectToDynamicVideoCampaign = action("SENDSPARK_ADD_PROSPECT_TO_DYNAMIC_VIDEO_CAMPAIGN", {
|
|
40
40
|
slug: "sendspark-add-prospect-to-dynamic-video-campaign",
|
|
41
41
|
name: "Add Prospect to Dynamic Video Campaign",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add-prospect-to-dynamic-video-campaign.mjs","names":[],"sources":["../../src/actions/add-prospect-to-dynamic-video-campaign.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendsparkAddProspectToDynamicVideoCampaignInput
|
|
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":"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"}
|
|
@@ -2,7 +2,7 @@ const require_action = require("../action.cjs");
|
|
|
2
2
|
let zod = require("zod");
|
|
3
3
|
//#region src/actions/api-health-status.ts
|
|
4
4
|
const SendsparkApiHealthStatusInput = zod.z.object({}).describe("Request model for checking Sendspark API health status. No parameters required.");
|
|
5
|
-
const SendsparkApiHealthStatusOutput = zod.z.object({ message: zod.z.string().describe("Health message returned by the API, e.g., \"everything is ok!\"") }).describe("Response model for health status check.");
|
|
5
|
+
const SendsparkApiHealthStatusOutput = zod.z.object({ message: zod.z.string().describe("Health message returned by the API, e.g., \"everything is ok!\"").nullable() }).passthrough().describe("Response model for health status check.");
|
|
6
6
|
const sendsparkApiHealthStatus = require_action.action("SENDSPARK_API_HEALTH_STATUS", {
|
|
7
7
|
slug: "sendspark-api-health-status",
|
|
8
8
|
name: "API Health Status",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"api-health-status.cjs","names":["z","action"],"sources":["../../src/actions/api-health-status.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendsparkApiHealthStatusInput
|
|
1
|
+
{"version":3,"file":"api-health-status.cjs","names":["z","action"],"sources":["../../src/actions/api-health-status.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendsparkApiHealthStatusInput = z.object({}).describe(\"Request model for checking Sendspark API health status. No parameters required.\");\nexport const SendsparkApiHealthStatusOutput = z.object({\n message: z.string().describe(\"Health message returned by the API, e.g., \\\"everything is ok!\\\"\").nullable(),\n}).passthrough().describe(\"Response model for health status check.\");\n\nexport const sendsparkApiHealthStatus = action(\"SENDSPARK_API_HEALTH_STATUS\", {\n slug: \"sendspark-api-health-status\",\n name: \"API Health Status\",\n description: \"Tool to check the health status of the Sendspark API. Use before making other API calls to ensure the service is up.\",\n input: SendsparkApiHealthStatusInput,\n output: SendsparkApiHealthStatusOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,iFAAiF;AACpJ,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,EACrD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,EAC3G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAAyC;AAEnE,MAAa,2BAA2BC,eAAAA,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/api-health-status.d.ts
|
|
4
|
-
declare const SendsparkApiHealthStatusInput: z.
|
|
5
|
-
declare const SendsparkApiHealthStatusOutput: z.
|
|
6
|
-
|
|
4
|
+
declare const SendsparkApiHealthStatusInput: z.ZodObject<{}, z.core.$strip>;
|
|
5
|
+
declare const SendsparkApiHealthStatusOutput: z.ZodObject<{
|
|
6
|
+
message: z.ZodNullable<z.ZodString>;
|
|
7
|
+
}, z.core.$loose>;
|
|
8
|
+
declare const sendsparkApiHealthStatus: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
9
|
//#endregion
|
|
8
10
|
export { sendsparkApiHealthStatus };
|
|
9
11
|
//# 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":";;;cAIa,6BAAA,
|
|
1
|
+
{"version":3,"file":"api-health-status.d.cts","names":[],"sources":["../../src/actions/api-health-status.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAC7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;cAI9B,wBAAA,gCAAwB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/api-health-status.d.ts
|
|
4
|
-
declare const SendsparkApiHealthStatusInput: z.
|
|
5
|
-
declare const SendsparkApiHealthStatusOutput: z.
|
|
6
|
-
|
|
4
|
+
declare const SendsparkApiHealthStatusInput: z.ZodObject<{}, z.core.$strip>;
|
|
5
|
+
declare const SendsparkApiHealthStatusOutput: z.ZodObject<{
|
|
6
|
+
message: z.ZodNullable<z.ZodString>;
|
|
7
|
+
}, z.core.$loose>;
|
|
8
|
+
declare const sendsparkApiHealthStatus: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
9
|
//#endregion
|
|
8
10
|
export { sendsparkApiHealthStatus };
|
|
9
11
|
//# 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":";;;cAIa,6BAAA,
|
|
1
|
+
{"version":3,"file":"api-health-status.d.mts","names":[],"sources":["../../src/actions/api-health-status.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAC7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;cAI9B,wBAAA,gCAAwB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -5,7 +5,7 @@ const sendsparkApiHealthStatus = action("SENDSPARK_API_HEALTH_STATUS", {
|
|
|
5
5
|
name: "API Health Status",
|
|
6
6
|
description: "Tool to check the health status of the Sendspark API. Use before making other API calls to ensure the service is up.",
|
|
7
7
|
input: z.object({}).describe("Request model for checking Sendspark API health status. No parameters required."),
|
|
8
|
-
output: z.object({ message: z.string().describe("Health message returned by the API, e.g., \"everything is ok!\"") }).describe("Response model for health status check.")
|
|
8
|
+
output: z.object({ message: z.string().describe("Health message returned by the API, e.g., \"everything is ok!\"").nullable() }).passthrough().describe("Response model for health status check.")
|
|
9
9
|
});
|
|
10
10
|
//#endregion
|
|
11
11
|
export { sendsparkApiHealthStatus };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"api-health-status.mjs","names":[],"sources":["../../src/actions/api-health-status.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendsparkApiHealthStatusInput
|
|
1
|
+
{"version":3,"file":"api-health-status.mjs","names":[],"sources":["../../src/actions/api-health-status.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendsparkApiHealthStatusInput = z.object({}).describe(\"Request model for checking Sendspark API health status. No parameters required.\");\nexport const SendsparkApiHealthStatusOutput = z.object({\n message: z.string().describe(\"Health message returned by the API, e.g., \\\"everything is ok!\\\"\").nullable(),\n}).passthrough().describe(\"Response model for health status check.\");\n\nexport const sendsparkApiHealthStatus = action(\"SENDSPARK_API_HEALTH_STATUS\", {\n slug: \"sendspark-api-health-status\",\n name: \"API Health Status\",\n description: \"Tool to check the health status of the Sendspark API. Use before making other API calls to ensure the service is up.\",\n input: SendsparkApiHealthStatusInput,\n output: SendsparkApiHealthStatusOutput,\n});\n"],"mappings":";;AASA,MAAa,2BAA2B,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAT2C,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,iFAS1D;CACP,QAT4C,EAAE,OAAO,EACrD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,EAC3G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAOhB;AACV,CAAC"}
|
|
@@ -14,14 +14,14 @@ const SendsparkCreateDynamicVideoCampaign2_SharePageSchema = zod.z.object({
|
|
|
14
14
|
}).passthrough().describe("Share page properties.");
|
|
15
15
|
const SendsparkCreateDynamicVideoCampaign2_VideoPropertiesSchema = zod.z.object({ sharePage: SendsparkCreateDynamicVideoCampaign2_SharePageSchema.nullable().optional() }).passthrough().describe("Video properties and settings.");
|
|
16
16
|
const SendsparkCreateDynamicVideoCampaign2Output = zod.z.object({
|
|
17
|
-
_id: zod.z.string().describe("Unique campaign identifier"),
|
|
18
|
-
name: zod.z.string().describe("Campaign name"),
|
|
19
|
-
folder: zod.z.string().describe("Associated folder ID"),
|
|
17
|
+
_id: zod.z.string().describe("Unique campaign identifier").nullable(),
|
|
18
|
+
name: zod.z.string().describe("Campaign name").nullable(),
|
|
19
|
+
folder: zod.z.string().describe("Associated folder ID").nullable(),
|
|
20
20
|
status: zod.z.string().describe("Current status of the campaign (e.g., 'pending')").nullable().optional(),
|
|
21
|
-
creator: zod.z.string().describe("Creator user ID"),
|
|
21
|
+
creator: zod.z.string().describe("Creator user ID").nullable(),
|
|
22
22
|
metadata: SendsparkCreateDynamicVideoCampaign2_MetadataSchema.nullable().optional(),
|
|
23
|
-
createdAt: zod.z.string().describe("ISO timestamp when campaign was created"),
|
|
24
|
-
workspace: zod.z.string().describe("Associated workspace ID"),
|
|
23
|
+
createdAt: zod.z.string().describe("ISO timestamp when campaign was created").nullable(),
|
|
24
|
+
workspace: zod.z.string().describe("Associated workspace ID").nullable(),
|
|
25
25
|
videosAssets: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("List of video assets in the campaign").nullable().optional(),
|
|
26
26
|
combinedVideo: zod.z.union([zod.z.boolean(), zod.z.string()]).nullable().optional(),
|
|
27
27
|
videoProperties: SendsparkCreateDynamicVideoCampaign2_VideoPropertiesSchema.nullable().optional(),
|
|
@@ -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
|
|
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":"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"}
|
|
@@ -1,9 +1,37 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/create-dynamic-video-campaign2.d.ts
|
|
4
|
-
declare const SendsparkCreateDynamicVideoCampaign2Input: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const SendsparkCreateDynamicVideoCampaign2Input: z.ZodObject<{
|
|
5
|
+
name: z.ZodString;
|
|
6
|
+
workspaceId: z.ZodString;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
declare const SendsparkCreateDynamicVideoCampaign2Output: z.ZodObject<{
|
|
9
|
+
_id: z.ZodNullable<z.ZodString>;
|
|
10
|
+
name: z.ZodNullable<z.ZodString>;
|
|
11
|
+
folder: z.ZodNullable<z.ZodString>;
|
|
12
|
+
status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
creator: z.ZodNullable<z.ZodString>;
|
|
14
|
+
metadata: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
15
|
+
version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
+
}, z.core.$loose>>>;
|
|
17
|
+
createdAt: z.ZodNullable<z.ZodString>;
|
|
18
|
+
workspace: z.ZodNullable<z.ZodString>;
|
|
19
|
+
videosAssets: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
20
|
+
combinedVideo: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>>;
|
|
21
|
+
videoProperties: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
22
|
+
sharePage: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
23
|
+
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
|
+
layout: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
|
+
buttons: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnknown>>>;
|
|
26
|
+
calendar: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
27
|
+
}, z.core.$loose>>>;
|
|
28
|
+
}, z.core.$loose>>>;
|
|
29
|
+
dynamicBackground: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>>;
|
|
30
|
+
}, z.core.$loose>;
|
|
31
|
+
declare const sendsparkCreateDynamicVideoCampaign2: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
32
|
+
name: string;
|
|
33
|
+
workspaceId: string;
|
|
34
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
35
|
//#endregion
|
|
8
36
|
export { sendsparkCreateDynamicVideoCampaign2 };
|
|
9
37
|
//# 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":";;;cAIa,yCAAA,
|
|
1
|
+
{"version":3,"file":"create-dynamic-video-campaign2.d.cts","names":[],"sources":["../../src/actions/create-dynamic-video-campaign2.ts"],"mappings":";;;cAIa,yCAAA,EAAyC,CAAA,CAAA,SAAA;;;;cAgBzC,0CAAA,EAA0C,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;cAe1C,oCAAA,gCAAoC,wBAAA"}
|
|
@@ -1,9 +1,37 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/create-dynamic-video-campaign2.d.ts
|
|
4
|
-
declare const SendsparkCreateDynamicVideoCampaign2Input: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const SendsparkCreateDynamicVideoCampaign2Input: z.ZodObject<{
|
|
5
|
+
name: z.ZodString;
|
|
6
|
+
workspaceId: z.ZodString;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
declare const SendsparkCreateDynamicVideoCampaign2Output: z.ZodObject<{
|
|
9
|
+
_id: z.ZodNullable<z.ZodString>;
|
|
10
|
+
name: z.ZodNullable<z.ZodString>;
|
|
11
|
+
folder: z.ZodNullable<z.ZodString>;
|
|
12
|
+
status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
creator: z.ZodNullable<z.ZodString>;
|
|
14
|
+
metadata: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
15
|
+
version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
+
}, z.core.$loose>>>;
|
|
17
|
+
createdAt: z.ZodNullable<z.ZodString>;
|
|
18
|
+
workspace: z.ZodNullable<z.ZodString>;
|
|
19
|
+
videosAssets: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
20
|
+
combinedVideo: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>>;
|
|
21
|
+
videoProperties: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
22
|
+
sharePage: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
23
|
+
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
|
+
layout: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
|
+
buttons: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnknown>>>;
|
|
26
|
+
calendar: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
27
|
+
}, z.core.$loose>>>;
|
|
28
|
+
}, z.core.$loose>>>;
|
|
29
|
+
dynamicBackground: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>>;
|
|
30
|
+
}, z.core.$loose>;
|
|
31
|
+
declare const sendsparkCreateDynamicVideoCampaign2: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
32
|
+
name: string;
|
|
33
|
+
workspaceId: string;
|
|
34
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
35
|
//#endregion
|
|
8
36
|
export { sendsparkCreateDynamicVideoCampaign2 };
|
|
9
37
|
//# 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":";;;cAIa,yCAAA,
|
|
1
|
+
{"version":3,"file":"create-dynamic-video-campaign2.d.mts","names":[],"sources":["../../src/actions/create-dynamic-video-campaign2.ts"],"mappings":";;;cAIa,yCAAA,EAAyC,CAAA,CAAA,SAAA;;;;cAgBzC,0CAAA,EAA0C,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;cAe1C,oCAAA,gCAAoC,wBAAA"}
|
|
@@ -19,14 +19,14 @@ const sendsparkCreateDynamicVideoCampaign2 = action("SENDSPARK_CREATE_DYNAMIC_VI
|
|
|
19
19
|
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.",
|
|
20
20
|
input: SendsparkCreateDynamicVideoCampaign2Input,
|
|
21
21
|
output: z.object({
|
|
22
|
-
_id: z.string().describe("Unique campaign identifier"),
|
|
23
|
-
name: z.string().describe("Campaign name"),
|
|
24
|
-
folder: z.string().describe("Associated folder ID"),
|
|
22
|
+
_id: z.string().describe("Unique campaign identifier").nullable(),
|
|
23
|
+
name: z.string().describe("Campaign name").nullable(),
|
|
24
|
+
folder: z.string().describe("Associated folder ID").nullable(),
|
|
25
25
|
status: z.string().describe("Current status of the campaign (e.g., 'pending')").nullable().optional(),
|
|
26
|
-
creator: z.string().describe("Creator user ID"),
|
|
26
|
+
creator: z.string().describe("Creator user ID").nullable(),
|
|
27
27
|
metadata: SendsparkCreateDynamicVideoCampaign2_MetadataSchema.nullable().optional(),
|
|
28
|
-
createdAt: z.string().describe("ISO timestamp when campaign was created"),
|
|
29
|
-
workspace: z.string().describe("Associated workspace ID"),
|
|
28
|
+
createdAt: z.string().describe("ISO timestamp when campaign was created").nullable(),
|
|
29
|
+
workspace: z.string().describe("Associated workspace ID").nullable(),
|
|
30
30
|
videosAssets: z.array(z.record(z.string(), z.unknown())).describe("List of video assets in the campaign").nullable().optional(),
|
|
31
31
|
combinedVideo: z.union([z.boolean(), z.string()]).nullable().optional(),
|
|
32
32
|
videoProperties: SendsparkCreateDynamicVideoCampaign2_VideoPropertiesSchema.nullable().optional(),
|
|
@@ -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
|
|
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":";;;AAIA,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,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gCAAgC;AAgB1D,MAAa,uCAAuC,OAAO,4CAA4C;CACrG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QApBwD,EAAE,OAAO;EACjE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;EAChE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS;EACpD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;EAC7D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS;EACzD,UAAU,oDAAoD,SAAS,CAAC,CAAC,SAAS;EAClF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;EACnF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;EACnE,cAAc,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9H,eAAe,EAAE,MAAM,CAAC,EAAE,QAAQ,GAAG,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtE,iBAAiB,2DAA2D,SAAS,CAAC,CAAC,SAAS;EAChG,mBAAmB,EAAE,MAAM,CAAC,EAAE,QAAQ,GAAG,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0GAOhB;AACV,CAAC"}
|
|
@@ -7,8 +7,8 @@ const SendsparkDeleteWebhookInput = zod.z.object({
|
|
|
7
7
|
}).describe("Request model for deleting a webhook by ID.");
|
|
8
8
|
const SendsparkDeleteWebhookOutput = zod.z.object({
|
|
9
9
|
message: zod.z.string().describe("Descriptive message from the API. Examples: 'Webhook not found or already deleted (idempotent)' for 404 with workspaceId, 'Invalid request params input' for 400 errors.").nullable().optional(),
|
|
10
|
-
statusCode: zod.z.number().int().describe("HTTP status code: 200/204 for successful deletion, 400 for invalid webhook ID, 404 for not found (idempotent when workspaceId provided).")
|
|
11
|
-
}).describe("Response model for webhook deletion.");
|
|
10
|
+
statusCode: zod.z.number().int().describe("HTTP status code: 200/204 for successful deletion, 400 for invalid webhook ID, 404 for not found (idempotent when workspaceId provided).").nullable()
|
|
11
|
+
}).passthrough().describe("Response model for webhook deletion.");
|
|
12
12
|
const sendsparkDeleteWebhook = require_action.action("SENDSPARK_DELETE_WEBHOOK", {
|
|
13
13
|
slug: "sendspark-delete-webhook",
|
|
14
14
|
name: "Delete Webhook",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-webhook.cjs","names":["z","action"],"sources":["../../src/actions/delete-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendsparkDeleteWebhookInput
|
|
1
|
+
{"version":3,"file":"delete-webhook.cjs","names":["z","action"],"sources":["../../src/actions/delete-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendsparkDeleteWebhookInput = z.object({\n webhook_id: z.string().describe(\"Unique identifier of the webhook to delete.\"),\n workspaceId: z.string().describe(\"Workspace unique identifier. Required to use the workspace-scoped endpoint (/v1/workspaces/{workspaceId}/webhooks/{webhook_id}). Strongly recommended: The unscoped endpoint (/api/webhooks/{webhook_id}) may not be available.\").optional(),\n}).describe(\"Request model for deleting a webhook by ID.\");\nexport const SendsparkDeleteWebhookOutput = z.object({\n message: z.string().describe(\"Descriptive message from the API. Examples: 'Webhook not found or already deleted (idempotent)' for 404 with workspaceId, 'Invalid request params input' for 400 errors.\").nullable().optional(),\n statusCode: z.number().int().describe(\"HTTP status code: 200/204 for successful deletion, 400 for invalid webhook ID, 404 for not found (idempotent when workspaceId provided).\").nullable(),\n}).passthrough().describe(\"Response model for webhook deletion.\");\n\nexport const sendsparkDeleteWebhook = action(\"SENDSPARK_DELETE_WEBHOOK\", {\n slug: \"sendspark-delete-webhook\",\n name: \"Delete Webhook\",\n description: \"Delete a webhook by its unique ID. Returns a structured response with status code and message. This action is idempotent: deleting a non-existent webhook (404) with workspaceId provided returns success. Invalid webhook IDs return 400 with error details. Best practice: Always provide workspaceId to use the reliable workspace-scoped endpoint.\",\n input: SendsparkDeleteWebhookInput,\n output: SendsparkDeleteWebhookOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C;CAC7E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iOAAiO,CAAC,CAAC,SAAS;AAC/Q,CAAC,CAAC,CAAC,SAAS,6CAA6C;AACzD,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0KAA0K,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7N,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0IAA0I,CAAC,CAAC,SAAS;AAC7L,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAAsC;AAEhE,MAAa,yBAAyBC,eAAAA,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,18 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/delete-webhook.d.ts
|
|
4
|
-
declare const SendsparkDeleteWebhookInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const SendsparkDeleteWebhookInput: z.ZodObject<{
|
|
5
|
+
webhook_id: z.ZodString;
|
|
6
|
+
workspaceId: z.ZodOptional<z.ZodString>;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
declare const SendsparkDeleteWebhookOutput: z.ZodObject<{
|
|
9
|
+
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
|
+
statusCode: z.ZodNullable<z.ZodNumber>;
|
|
11
|
+
}, z.core.$loose>;
|
|
12
|
+
declare const sendsparkDeleteWebhook: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
13
|
+
webhook_id: string;
|
|
14
|
+
workspaceId?: string | undefined;
|
|
15
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
16
|
//#endregion
|
|
8
17
|
export { sendsparkDeleteWebhook };
|
|
9
18
|
//# sourceMappingURL=delete-webhook.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-webhook.d.cts","names":[],"sources":["../../src/actions/delete-webhook.ts"],"mappings":";;;cAIa,2BAAA,
|
|
1
|
+
{"version":3,"file":"delete-webhook.d.cts","names":[],"sources":["../../src/actions/delete-webhook.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;cAI3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;cAK5B,sBAAA,gCAAsB,wBAAA"}
|
|
@@ -1,9 +1,18 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/delete-webhook.d.ts
|
|
4
|
-
declare const SendsparkDeleteWebhookInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const SendsparkDeleteWebhookInput: z.ZodObject<{
|
|
5
|
+
webhook_id: z.ZodString;
|
|
6
|
+
workspaceId: z.ZodOptional<z.ZodString>;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
declare const SendsparkDeleteWebhookOutput: z.ZodObject<{
|
|
9
|
+
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
|
+
statusCode: z.ZodNullable<z.ZodNumber>;
|
|
11
|
+
}, z.core.$loose>;
|
|
12
|
+
declare const sendsparkDeleteWebhook: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
13
|
+
webhook_id: string;
|
|
14
|
+
workspaceId?: string | undefined;
|
|
15
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
16
|
//#endregion
|
|
8
17
|
export { sendsparkDeleteWebhook };
|
|
9
18
|
//# sourceMappingURL=delete-webhook.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-webhook.d.mts","names":[],"sources":["../../src/actions/delete-webhook.ts"],"mappings":";;;cAIa,2BAAA,
|
|
1
|
+
{"version":3,"file":"delete-webhook.d.mts","names":[],"sources":["../../src/actions/delete-webhook.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;cAI3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;cAK5B,sBAAA,gCAAsB,wBAAA"}
|
|
@@ -10,8 +10,8 @@ const sendsparkDeleteWebhook = action("SENDSPARK_DELETE_WEBHOOK", {
|
|
|
10
10
|
}).describe("Request model for deleting a webhook by ID."),
|
|
11
11
|
output: z.object({
|
|
12
12
|
message: z.string().describe("Descriptive message from the API. Examples: 'Webhook not found or already deleted (idempotent)' for 404 with workspaceId, 'Invalid request params input' for 400 errors.").nullable().optional(),
|
|
13
|
-
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).")
|
|
14
|
-
}).describe("Response model for webhook deletion.")
|
|
13
|
+
statusCode: z.number().int().describe("HTTP status code: 200/204 for successful deletion, 400 for invalid webhook ID, 404 for not found (idempotent when workspaceId provided).").nullable()
|
|
14
|
+
}).passthrough().describe("Response model for webhook deletion.")
|
|
15
15
|
});
|
|
16
16
|
//#endregion
|
|
17
17
|
export { sendsparkDeleteWebhook };
|