@keystrokehq/sendspark 0.1.5 → 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 -31
- 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 -31
- 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 -30
- 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 -30
- 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 -15
- package/dist/actions/api-health-status.d.cts.map +1 -1
- package/dist/actions/api-health-status.d.mts +3 -15
- 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 -18
- package/dist/actions/create-dynamic-video-campaign2.d.cts.map +1 -1
- package/dist/actions/create-dynamic-video-campaign2.d.mts +3 -18
- 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 -18
- package/dist/actions/delete-webhook.d.cts.map +1 -1
- package/dist/actions/delete-webhook.d.mts +3 -18
- 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 -18
- package/dist/actions/get-dynamic-campaign-by-id.d.cts.map +1 -1
- package/dist/actions/get-dynamic-campaign-by-id.d.mts +3 -18
- 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 -19
- 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 -19
- 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 -21
- package/dist/actions/list-dynamic-video-campaigns.d.cts.map +1 -1
- package/dist/actions/list-dynamic-video-campaigns.d.mts +3 -21
- 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 -17
- package/dist/actions/list-webhooks.d.cts.map +1 -1
- package/dist/actions/list-webhooks.d.mts +3 -17
- 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 +5 -4
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +4 -6
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +4 -6
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +0 -1
- 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
|
@@ -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/list-dynamic-video-campaigns.d.ts
|
|
@@ -100,27 +102,7 @@ declare const SendsparkListDynamicVideoCampaignsOutput: z.ZodObject<{
|
|
|
100
102
|
}, z.core.$loose>>;
|
|
101
103
|
statusCode: z.ZodNullable<z.ZodNumber>;
|
|
102
104
|
}, z.core.$loose>;
|
|
103
|
-
declare const sendsparkListDynamicVideoCampaigns:
|
|
104
|
-
workspaceId: string;
|
|
105
|
-
limit?: number | undefined;
|
|
106
|
-
offset?: number | undefined;
|
|
107
|
-
search?: string | undefined;
|
|
108
|
-
filters?: string | undefined;
|
|
109
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"sendspark", z.ZodObject<{
|
|
110
|
-
connectionId: z.ZodString;
|
|
111
|
-
entityId: z.ZodString;
|
|
112
|
-
instanceId: z.ZodString;
|
|
113
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
114
|
-
generic_api_key: z.ZodString;
|
|
115
|
-
generic_secret: z.ZodString;
|
|
116
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"sendspark", z.ZodObject<{
|
|
117
|
-
connectionId: z.ZodString;
|
|
118
|
-
entityId: z.ZodString;
|
|
119
|
-
instanceId: z.ZodString;
|
|
120
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
121
|
-
generic_api_key: z.ZodString;
|
|
122
|
-
generic_secret: z.ZodString;
|
|
123
|
-
}, z.core.$strip>>]>;
|
|
105
|
+
declare const sendsparkListDynamicVideoCampaigns: AppAction<typeof SendsparkListDynamicVideoCampaignsInput, typeof SendsparkListDynamicVideoCampaignsOutput, typeof sendspark.credential>;
|
|
124
106
|
//#endregion
|
|
125
107
|
export { sendsparkListDynamicVideoCampaigns };
|
|
126
108
|
//# sourceMappingURL=list-dynamic-video-campaigns.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-dynamic-video-campaigns.d.cts","names":[],"sources":["../../src/actions/list-dynamic-video-campaigns.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-dynamic-video-campaigns.d.cts","names":[],"sources":["../../src/actions/list-dynamic-video-campaigns.ts"],"mappings":";;;;;cAMa,uCAAA,EAAuC,CAAA,CAAA,SAAA;;;;;;;cA8GvC,wCAAA,EAAwC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAKxC,kCAAA,EAAoC,SAAA,QACxC,uCAAA,SACA,wCAAA,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/list-dynamic-video-campaigns.d.ts
|
|
@@ -100,27 +102,7 @@ declare const SendsparkListDynamicVideoCampaignsOutput: z.ZodObject<{
|
|
|
100
102
|
}, z.core.$loose>>;
|
|
101
103
|
statusCode: z.ZodNullable<z.ZodNumber>;
|
|
102
104
|
}, z.core.$loose>;
|
|
103
|
-
declare const sendsparkListDynamicVideoCampaigns:
|
|
104
|
-
workspaceId: string;
|
|
105
|
-
limit?: number | undefined;
|
|
106
|
-
offset?: number | undefined;
|
|
107
|
-
search?: string | undefined;
|
|
108
|
-
filters?: string | undefined;
|
|
109
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"sendspark", z.ZodObject<{
|
|
110
|
-
connectionId: z.ZodString;
|
|
111
|
-
entityId: z.ZodString;
|
|
112
|
-
instanceId: z.ZodString;
|
|
113
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
114
|
-
generic_api_key: z.ZodString;
|
|
115
|
-
generic_secret: z.ZodString;
|
|
116
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"sendspark", z.ZodObject<{
|
|
117
|
-
connectionId: z.ZodString;
|
|
118
|
-
entityId: z.ZodString;
|
|
119
|
-
instanceId: z.ZodString;
|
|
120
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
121
|
-
generic_api_key: z.ZodString;
|
|
122
|
-
generic_secret: z.ZodString;
|
|
123
|
-
}, z.core.$strip>>]>;
|
|
105
|
+
declare const sendsparkListDynamicVideoCampaigns: AppAction<typeof SendsparkListDynamicVideoCampaignsInput, typeof SendsparkListDynamicVideoCampaignsOutput, typeof sendspark.credential>;
|
|
124
106
|
//#endregion
|
|
125
107
|
export { sendsparkListDynamicVideoCampaigns };
|
|
126
108
|
//# sourceMappingURL=list-dynamic-video-campaigns.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-dynamic-video-campaigns.d.mts","names":[],"sources":["../../src/actions/list-dynamic-video-campaigns.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-dynamic-video-campaigns.d.mts","names":[],"sources":["../../src/actions/list-dynamic-video-campaigns.ts"],"mappings":";;;;;cAMa,uCAAA,EAAuC,CAAA,CAAA,SAAA;;;;;;;cA8GvC,wCAAA,EAAwC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAKxC,kCAAA,EAAoC,SAAA,QACxC,uCAAA,SACA,wCAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-dynamic-video-campaigns.mjs","names":[],"sources":["../../src/actions/list-dynamic-video-campaigns.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendsparkListDynamicVideoCampaignsInput = z.object({\n limit: z.number().int().default(10).describe(\"Number of campaigns per page (max 20)\").optional(),\n offset: z.number().int().default(1).describe(\"Pagination start index (1-based)\").optional(),\n search: z.string().describe(\"Search by campaign name\").optional(),\n filters: z.string().describe(\"Filter by creator ID\").optional(),\n workspaceId: z.string().describe(\"Workspace identifier where to list dynamic video campaigns\"),\n}).describe(\"Request model for listing dynamic video campaigns in a workspace.\");\nconst SendsparkListDynamicVideoCampaigns_ListDynamicVideoCampaignsResponseCreatorSchema = z.object({\n id: z.string().describe(\"Creator ID\").nullable(),\n _id: z.string().describe(\"MongoDB internal unique identifier\").nullable(),\n name: z.string().describe(\"Creator first name\").nullable(),\n email: z.string().describe(\"Creator email\").nullable(),\n lastName: z.string().describe(\"Creator last name\").nullable(),\n}).passthrough();\nconst SendsparkListDynamicVideoCampaigns_ListDynamicVideoCampaignsResponseSummarySchema = z.object({\n deleted: z.number().int().describe(\"Number deleted\").nullable(),\n errored: z.number().int().describe(\"Number errored\").nullable(),\n completed: z.number().int().describe(\"Number completed\").nullable(),\n processed: z.number().int().describe(\"Number processed\").nullable(),\n}).passthrough();\nconst SendsparkListDynamicVideoCampaigns_ListDynamicVideoCampaignsResponseVoiceCloningSchema = z.object({\n version: z.number().int().describe(\"Voice cloning version\").nullable(),\n}).passthrough();\nconst SendsparkListDynamicVideoCampaigns_ListDynamicVideoCampaignsResponseFeaturesSchema = z.object({\n screenshot: z.boolean().describe(\"Screenshot enabled\").nullable().optional(),\n voiceCloning: z.union([z.boolean(), SendsparkListDynamicVideoCampaigns_ListDynamicVideoCampaignsResponseVoiceCloningSchema]).nullable().optional(),\n transcription: z.boolean().describe(\"Transcription enabled\").nullable().optional(),\n videoSettings: z.boolean().describe(\"Video settings enabled\").nullable().optional(),\n}).passthrough();\nconst SendsparkListDynamicVideoCampaigns_ListDynamicVideoCampaignsResponseMetadataSchema = z.object({\n version: z.string().describe(\"Metadata version\").nullable(),\n}).passthrough();\nconst SendsparkListDynamicVideoCampaigns_ListDynamicVideoCampaignsResponseProspectListItemSchema = z.object({\n _id: z.string().describe(\"Prospect unique identifier\").nullable(),\n valid: z.boolean().describe(\"Validity flag\").nullable(),\n bulkId: z.string().describe(\"Bulk operation ID\").nullable(),\n status: z.string().describe(\"Prospect status\").nullable(),\n company: z.string().describe(\"Prospect's company name\").nullable(),\n audioUrl: z.string().describe(\"Audio URL\").nullable(),\n campaign: z.string().describe(\"Associated campaign ID\").nullable(),\n jobTitle: z.string().describe(\"Prospect's job title\").nullable(),\n createdAt: z.string().describe(\"Creation timestamp\").nullable(),\n deletedAt: z.string().describe(\"Deletion timestamp if deleted\").nullable().optional(),\n updatedAt: z.string().describe(\"Last update timestamp\").nullable(),\n isNotified: z.boolean().describe(\"Notification sent flag\").nullable(),\n contactName: z.string().describe(\"Prospect contact name\").nullable(),\n contactEmail: z.string().describe(\"Prospect contact email\").nullable(),\n backgroundUrl: z.string().describe(\"Background image URL\").nullable(),\n screenshotUrl: z.string().describe(\"Screenshot URL\").nullable(),\n resourcesStatus: z.string().describe(\"Resource status\").nullable(),\n validationDetails: z.record(z.string(), z.unknown()).describe(\"Validation details\").nullable().optional(),\n}).passthrough();\nconst SendsparkListDynamicVideoCampaigns_ListDynamicVideoCampaignsResponseVideoAssetSchema = z.object({\n _id: z.string().describe(\"Video asset unique identifier\").nullable(),\n url: z.string().describe(\"Video URL\").nullable(),\n assetId: z.string().describe(\"Asset ID\").nullable(),\n assetUrl: z.string().describe(\"Asset URL\").nullable(),\n duration: z.number().describe(\"Video duration in seconds\").nullable(),\n provider: z.string().describe(\"Video provider\").nullable(),\n}).passthrough();\nconst SendsparkListDynamicVideoCampaigns_ListDynamicVideoCampaignsResponseVideoPropertiesSharePageSchema = z.object({\n title: z.string().describe(\"Share page title\").nullable(),\n buttons: z.array(z.string()).describe(\"Share page buttons\"),\n}).passthrough();\nconst SendsparkListDynamicVideoCampaigns_ListDynamicVideoCampaignsResponseVideoPropertiesSchema = z.object({\n sharePage: SendsparkListDynamicVideoCampaigns_ListDynamicVideoCampaignsResponseVideoPropertiesSharePageSchema.nullable(),\n}).passthrough();\nconst SendsparkListDynamicVideoCampaigns_ListDynamicVideoCampaignsResponseAnalyticsSummarySchema = z.object({\n plays: z.number().int().describe(\"Number of plays\").nullable(),\n lastUpdated: z.string().describe(\"Last updated\").nullable(),\n totalActiveVideos: z.number().int().describe(\"Total active videos\").nullable(),\n}).passthrough();\nconst SendsparkListDynamicVideoCampaigns_ListDynamicVideoCampaignsResponseDynamicCampaignSchema = z.object({\n _id: z.string().describe(\"Campaign unique identifier\").nullable(),\n name: z.string().describe(\"Campaign name\").nullable(),\n folder: z.string().describe(\"Folder name\").nullable().optional(),\n status: z.string().describe(\"Campaign status\").nullable(),\n creator: SendsparkListDynamicVideoCampaigns_ListDynamicVideoCampaignsResponseCreatorSchema.nullable(),\n summary: SendsparkListDynamicVideoCampaigns_ListDynamicVideoCampaignsResponseSummarySchema.nullable().optional(),\n features: SendsparkListDynamicVideoCampaigns_ListDynamicVideoCampaignsResponseFeaturesSchema.nullable().optional(),\n metadata: SendsparkListDynamicVideoCampaigns_ListDynamicVideoCampaignsResponseMetadataSchema.nullable().optional(),\n createdAt: z.string().describe(\"Creation timestamp\").nullable(),\n workspace: z.string().describe(\"Workspace ID\").nullable(),\n campaign_id: z.string().describe(\"Campaign ID\").nullable().optional(),\n prospectList: z.array(SendsparkListDynamicVideoCampaigns_ListDynamicVideoCampaignsResponseProspectListItemSchema).describe(\"Prospect list\").nullable().optional(),\n videosAssets: z.array(SendsparkListDynamicVideoCampaigns_ListDynamicVideoCampaignsResponseVideoAssetSchema).default([]).describe(\"Video assets list\").nullable().optional(),\n combinedVideo: z.union([z.boolean(), z.string()]).nullable().optional(),\n useFallbackData: z.boolean().describe(\"Use fallback data flag\").nullable().optional(),\n videoProperties: SendsparkListDynamicVideoCampaigns_ListDynamicVideoCampaignsResponseVideoPropertiesSchema.nullable().optional(),\n analyticsSummary: SendsparkListDynamicVideoCampaigns_ListDynamicVideoCampaignsResponseAnalyticsSummarySchema.nullable().optional(),\n dynamicBackground: z.union([z.boolean(), z.string()]).nullable().optional(),\n}).passthrough();\nconst SendsparkListDynamicVideoCampaigns_ListDynamicVideoCampaignsResponseLinksNextSchema = z.object({\n url: z.string().describe(\"URL for next page\").nullable(),\n limit: z.number().int().describe(\"Next page limit\").nullable(),\n offset: z.number().int().describe(\"Next page offset\").nullable(),\n}).passthrough();\nconst SendsparkListDynamicVideoCampaigns_ListDynamicVideoCampaignsResponseLinksSchema = z.object({\n next: SendsparkListDynamicVideoCampaigns_ListDynamicVideoCampaignsResponseLinksNextSchema.nullable(),\n}).passthrough();\nconst SendsparkListDynamicVideoCampaigns_ListDynamicVideoCampaignsResponsePaginationSchema = z.object({\n limit: z.number().int().describe(\"Current page limit\").nullable(),\n total: z.number().int().describe(\"Total number of campaigns\").nullable(),\n offset: z.number().int().describe(\"Current offset\").nullable(),\n}).passthrough();\nconst SendsparkListDynamicVideoCampaigns_ListDynamicVideoCampaignsResponseContentSchema = z.object({\n data: z.array(SendsparkListDynamicVideoCampaigns_ListDynamicVideoCampaignsResponseDynamicCampaignSchema).describe(\"Array of dynamic campaigns\"),\n links: SendsparkListDynamicVideoCampaigns_ListDynamicVideoCampaignsResponseLinksSchema.nullable(),\n pagination: SendsparkListDynamicVideoCampaigns_ListDynamicVideoCampaignsResponsePaginationSchema.nullable(),\n}).passthrough();\nexport const SendsparkListDynamicVideoCampaignsOutput = z.object({\n response: SendsparkListDynamicVideoCampaigns_ListDynamicVideoCampaignsResponseContentSchema.nullable(),\n statusCode: z.number().int().describe(\"HTTP status code\").nullable(),\n}).passthrough();\n\nexport const sendsparkListDynamicVideoCampaigns = action(\"SENDSPARK_LIST_DYNAMIC_VIDEO_CAMPAIGNS\", {\n slug: \"sendspark-list-dynamic-video-campaigns\",\n name: \"List Dynamic Video Campaigns\",\n description: \"Tool to list all dynamic video campaigns in a workspace. Use when retrieving campaigns with optional pagination, filtering, or search.\",\n input: SendsparkListDynamicVideoCampaignsInput,\n output: SendsparkListDynamicVideoCampaignsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0CAA0C,EAAE,OAAO;CAC9D,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC/F,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC1F,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CAChE,SAAS,EAAE,OAAO,CAAC,CAAC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AAC,YAAY;AACf,MAAM,oFAAoF,EAAE,OAAO;CACjG,MAAM,EAAE,MAAM,yFAAyF,CAAC,CAAC,SAAS,4BAA4B;CAC9I,OAAO,gFAAgF,SAAS;CAChG,YAAY,qFAAqF,SAAS;AAC5G,CAAC,CAAC,CAAC,YAAY;AAMf,MAAa,qCAAqC,OAAO,0CAA0C;CACjG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVsD,EAAE,OAAO;EAC/D,UAAU,kFAAkF,SAAS;EACrG,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CACrE,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
|
|
1
|
+
{"version":3,"file":"list-dynamic-video-campaigns.mjs","names":[],"sources":["../../src/actions/list-dynamic-video-campaigns.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 SendsparkListDynamicVideoCampaignsInput = z.object({\n limit: z.number().int().default(10).describe(\"Number of campaigns per page (max 20)\").optional(),\n offset: z.number().int().default(1).describe(\"Pagination start index (1-based)\").optional(),\n search: z.string().describe(\"Search by campaign name\").optional(),\n filters: z.string().describe(\"Filter by creator ID\").optional(),\n workspaceId: z.string().describe(\"Workspace identifier where to list dynamic video campaigns\"),\n}).describe(\"Request model for listing dynamic video campaigns in a workspace.\");\nconst SendsparkListDynamicVideoCampaigns_ListDynamicVideoCampaignsResponseCreatorSchema = z.object({\n id: z.string().describe(\"Creator ID\").nullable(),\n _id: z.string().describe(\"MongoDB internal unique identifier\").nullable(),\n name: z.string().describe(\"Creator first name\").nullable(),\n email: z.string().describe(\"Creator email\").nullable(),\n lastName: z.string().describe(\"Creator last name\").nullable(),\n}).passthrough();\nconst SendsparkListDynamicVideoCampaigns_ListDynamicVideoCampaignsResponseSummarySchema = z.object({\n deleted: z.number().int().describe(\"Number deleted\").nullable(),\n errored: z.number().int().describe(\"Number errored\").nullable(),\n completed: z.number().int().describe(\"Number completed\").nullable(),\n processed: z.number().int().describe(\"Number processed\").nullable(),\n}).passthrough();\nconst SendsparkListDynamicVideoCampaigns_ListDynamicVideoCampaignsResponseVoiceCloningSchema = z.object({\n version: z.number().int().describe(\"Voice cloning version\").nullable(),\n}).passthrough();\nconst SendsparkListDynamicVideoCampaigns_ListDynamicVideoCampaignsResponseFeaturesSchema = z.object({\n screenshot: z.boolean().describe(\"Screenshot enabled\").nullable().optional(),\n voiceCloning: z.union([z.boolean(), SendsparkListDynamicVideoCampaigns_ListDynamicVideoCampaignsResponseVoiceCloningSchema]).nullable().optional(),\n transcription: z.boolean().describe(\"Transcription enabled\").nullable().optional(),\n videoSettings: z.boolean().describe(\"Video settings enabled\").nullable().optional(),\n}).passthrough();\nconst SendsparkListDynamicVideoCampaigns_ListDynamicVideoCampaignsResponseMetadataSchema = z.object({\n version: z.string().describe(\"Metadata version\").nullable(),\n}).passthrough();\nconst SendsparkListDynamicVideoCampaigns_ListDynamicVideoCampaignsResponseProspectListItemSchema = z.object({\n _id: z.string().describe(\"Prospect unique identifier\").nullable(),\n valid: z.boolean().describe(\"Validity flag\").nullable(),\n bulkId: z.string().describe(\"Bulk operation ID\").nullable(),\n status: z.string().describe(\"Prospect status\").nullable(),\n company: z.string().describe(\"Prospect's company name\").nullable(),\n audioUrl: z.string().describe(\"Audio URL\").nullable(),\n campaign: z.string().describe(\"Associated campaign ID\").nullable(),\n jobTitle: z.string().describe(\"Prospect's job title\").nullable(),\n createdAt: z.string().describe(\"Creation timestamp\").nullable(),\n deletedAt: z.string().describe(\"Deletion timestamp if deleted\").nullable().optional(),\n updatedAt: z.string().describe(\"Last update timestamp\").nullable(),\n isNotified: z.boolean().describe(\"Notification sent flag\").nullable(),\n contactName: z.string().describe(\"Prospect contact name\").nullable(),\n contactEmail: z.string().describe(\"Prospect contact email\").nullable(),\n backgroundUrl: z.string().describe(\"Background image URL\").nullable(),\n screenshotUrl: z.string().describe(\"Screenshot URL\").nullable(),\n resourcesStatus: z.string().describe(\"Resource status\").nullable(),\n validationDetails: z.record(z.string(), z.unknown()).describe(\"Validation details\").nullable().optional(),\n}).passthrough();\nconst SendsparkListDynamicVideoCampaigns_ListDynamicVideoCampaignsResponseVideoAssetSchema = z.object({\n _id: z.string().describe(\"Video asset unique identifier\").nullable(),\n url: z.string().describe(\"Video URL\").nullable(),\n assetId: z.string().describe(\"Asset ID\").nullable(),\n assetUrl: z.string().describe(\"Asset URL\").nullable(),\n duration: z.number().describe(\"Video duration in seconds\").nullable(),\n provider: z.string().describe(\"Video provider\").nullable(),\n}).passthrough();\nconst SendsparkListDynamicVideoCampaigns_ListDynamicVideoCampaignsResponseVideoPropertiesSharePageSchema = z.object({\n title: z.string().describe(\"Share page title\").nullable(),\n buttons: z.array(z.string()).describe(\"Share page buttons\"),\n}).passthrough();\nconst SendsparkListDynamicVideoCampaigns_ListDynamicVideoCampaignsResponseVideoPropertiesSchema = z.object({\n sharePage: SendsparkListDynamicVideoCampaigns_ListDynamicVideoCampaignsResponseVideoPropertiesSharePageSchema.nullable(),\n}).passthrough();\nconst SendsparkListDynamicVideoCampaigns_ListDynamicVideoCampaignsResponseAnalyticsSummarySchema = z.object({\n plays: z.number().int().describe(\"Number of plays\").nullable(),\n lastUpdated: z.string().describe(\"Last updated\").nullable(),\n totalActiveVideos: z.number().int().describe(\"Total active videos\").nullable(),\n}).passthrough();\nconst SendsparkListDynamicVideoCampaigns_ListDynamicVideoCampaignsResponseDynamicCampaignSchema = z.object({\n _id: z.string().describe(\"Campaign unique identifier\").nullable(),\n name: z.string().describe(\"Campaign name\").nullable(),\n folder: z.string().describe(\"Folder name\").nullable().optional(),\n status: z.string().describe(\"Campaign status\").nullable(),\n creator: SendsparkListDynamicVideoCampaigns_ListDynamicVideoCampaignsResponseCreatorSchema.nullable(),\n summary: SendsparkListDynamicVideoCampaigns_ListDynamicVideoCampaignsResponseSummarySchema.nullable().optional(),\n features: SendsparkListDynamicVideoCampaigns_ListDynamicVideoCampaignsResponseFeaturesSchema.nullable().optional(),\n metadata: SendsparkListDynamicVideoCampaigns_ListDynamicVideoCampaignsResponseMetadataSchema.nullable().optional(),\n createdAt: z.string().describe(\"Creation timestamp\").nullable(),\n workspace: z.string().describe(\"Workspace ID\").nullable(),\n campaign_id: z.string().describe(\"Campaign ID\").nullable().optional(),\n prospectList: z.array(SendsparkListDynamicVideoCampaigns_ListDynamicVideoCampaignsResponseProspectListItemSchema).describe(\"Prospect list\").nullable().optional(),\n videosAssets: z.array(SendsparkListDynamicVideoCampaigns_ListDynamicVideoCampaignsResponseVideoAssetSchema).default([]).describe(\"Video assets list\").nullable().optional(),\n combinedVideo: z.union([z.boolean(), z.string()]).nullable().optional(),\n useFallbackData: z.boolean().describe(\"Use fallback data flag\").nullable().optional(),\n videoProperties: SendsparkListDynamicVideoCampaigns_ListDynamicVideoCampaignsResponseVideoPropertiesSchema.nullable().optional(),\n analyticsSummary: SendsparkListDynamicVideoCampaigns_ListDynamicVideoCampaignsResponseAnalyticsSummarySchema.nullable().optional(),\n dynamicBackground: z.union([z.boolean(), z.string()]).nullable().optional(),\n}).passthrough();\nconst SendsparkListDynamicVideoCampaigns_ListDynamicVideoCampaignsResponseLinksNextSchema = z.object({\n url: z.string().describe(\"URL for next page\").nullable(),\n limit: z.number().int().describe(\"Next page limit\").nullable(),\n offset: z.number().int().describe(\"Next page offset\").nullable(),\n}).passthrough();\nconst SendsparkListDynamicVideoCampaigns_ListDynamicVideoCampaignsResponseLinksSchema = z.object({\n next: SendsparkListDynamicVideoCampaigns_ListDynamicVideoCampaignsResponseLinksNextSchema.nullable(),\n}).passthrough();\nconst SendsparkListDynamicVideoCampaigns_ListDynamicVideoCampaignsResponsePaginationSchema = z.object({\n limit: z.number().int().describe(\"Current page limit\").nullable(),\n total: z.number().int().describe(\"Total number of campaigns\").nullable(),\n offset: z.number().int().describe(\"Current offset\").nullable(),\n}).passthrough();\nconst SendsparkListDynamicVideoCampaigns_ListDynamicVideoCampaignsResponseContentSchema = z.object({\n data: z.array(SendsparkListDynamicVideoCampaigns_ListDynamicVideoCampaignsResponseDynamicCampaignSchema).describe(\"Array of dynamic campaigns\"),\n links: SendsparkListDynamicVideoCampaigns_ListDynamicVideoCampaignsResponseLinksSchema.nullable(),\n pagination: SendsparkListDynamicVideoCampaigns_ListDynamicVideoCampaignsResponsePaginationSchema.nullable(),\n}).passthrough();\nexport const SendsparkListDynamicVideoCampaignsOutput = z.object({\n response: SendsparkListDynamicVideoCampaigns_ListDynamicVideoCampaignsResponseContentSchema.nullable(),\n statusCode: z.number().int().describe(\"HTTP status code\").nullable(),\n}).passthrough();\n\nexport const sendsparkListDynamicVideoCampaigns: AppAction<\n typeof SendsparkListDynamicVideoCampaignsInput,\n typeof SendsparkListDynamicVideoCampaignsOutput,\n typeof sendspark.credential\n> = action(\"SENDSPARK_LIST_DYNAMIC_VIDEO_CAMPAIGNS\", {\n slug: \"sendspark-list-dynamic-video-campaigns\",\n name: \"List Dynamic Video Campaigns\",\n description: \"Tool to list all dynamic video campaigns in a workspace. Use when retrieving campaigns with optional pagination, filtering, or search.\",\n input: SendsparkListDynamicVideoCampaignsInput,\n output: SendsparkListDynamicVideoCampaignsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,0CAA0C,EAAE,OAAO;CAC9D,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC/F,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC1F,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CAChE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAC9D,aAAa,EAAE,OA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AAE,MAAM,yFAAyF,CAAC,CAAC,SAAS,4BAA4B;CAC9I,OAAO,gFAAgF,SAAS;CAChG,YAAY,qFAAqF,SAAS;AAC5G,CAAC,CAAC,CAAC,YAAY;AAMf,MAAa,qCAIT,OAAO,0CAA0C;CACnD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAdsD,EAAE,OAAO;EAC/D,UAAU,kFAAkF,SAAS;EACrG,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CACrE,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-webhooks.cjs","names":["z","action"],"sources":["../../src/actions/list-webhooks.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendsparkListWebhooksInput = z.object({\n workspaceId: z.string().describe(\"Unique identifier for the Sendspark workspace. This alphanumeric ID can be obtained from the workspace settings or by listing dynamic video campaigns.\"),\n}).describe(\"Request model for listing all configured webhooks in a workspace.\");\nexport const SendsparkListWebhooksOutput = z.unknown();\n\nexport const sendsparkListWebhooks = action(\"SENDSPARK_LIST_WEBHOOKS\", {\n slug: \"sendspark-list-webhooks\",\n name: \"List Webhooks\",\n description: \"Retrieves all configured webhooks for a Sendspark workspace. Webhooks are automated notifications sent when specific events occur in dynamic video campaigns (e.g., video created, video played, CTA clicked, video opened). Use this action to audit active webhook configurations, verify webhook URLs, or check which events are being monitored. Returns an empty list if no webhooks are configured.\",\n input: SendsparkListWebhooksInput,\n output: SendsparkListWebhooksOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-webhooks.cjs","names":["z","action"],"sources":["../../src/actions/list-webhooks.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 SendsparkListWebhooksInput = z.object({\n workspaceId: z.string().describe(\"Unique identifier for the Sendspark workspace. This alphanumeric ID can be obtained from the workspace settings or by listing dynamic video campaigns.\"),\n}).describe(\"Request model for listing all configured webhooks in a workspace.\");\nexport const SendsparkListWebhooksOutput = z.unknown();\n\nexport const sendsparkListWebhooks: AppAction<\n typeof SendsparkListWebhooksInput,\n typeof SendsparkListWebhooksOutput,\n typeof sendspark.credential\n> = action(\"SENDSPARK_LIST_WEBHOOKS\", {\n slug: \"sendspark-list-webhooks\",\n name: \"List Webhooks\",\n description: \"Retrieves all configured webhooks for a Sendspark workspace. Webhooks are automated notifications sent when specific events occur in dynamic video campaigns (e.g., video created, video played, CTA clicked, video opened). Use this action to audit active webhook configurations, verify webhook URLs, or check which events are being monitored. Returns an empty list if no webhooks are configured.\",\n input: SendsparkListWebhooksInput,\n output: SendsparkListWebhooksOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wJAAwJ,EAC3L,CAAC,CAAC,CAAC,SAAS,mEAAmE;AAC/E,MAAa,8BAA8BA,IAAAA,EAAE,QAAQ;AAErD,MAAa,wBAITC,eAAAA,OAAO,2BAA2B;CACpC,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/list-webhooks.d.ts
|
|
@@ -5,23 +7,7 @@ declare const SendsparkListWebhooksInput: z.ZodObject<{
|
|
|
5
7
|
workspaceId: z.ZodString;
|
|
6
8
|
}, z.core.$strip>;
|
|
7
9
|
declare const SendsparkListWebhooksOutput: z.ZodUnknown;
|
|
8
|
-
declare const sendsparkListWebhooks:
|
|
9
|
-
workspaceId: string;
|
|
10
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"sendspark", z.ZodObject<{
|
|
11
|
-
connectionId: z.ZodString;
|
|
12
|
-
entityId: z.ZodString;
|
|
13
|
-
instanceId: z.ZodString;
|
|
14
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
15
|
-
generic_api_key: z.ZodString;
|
|
16
|
-
generic_secret: z.ZodString;
|
|
17
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"sendspark", z.ZodObject<{
|
|
18
|
-
connectionId: z.ZodString;
|
|
19
|
-
entityId: z.ZodString;
|
|
20
|
-
instanceId: z.ZodString;
|
|
21
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
22
|
-
generic_api_key: z.ZodString;
|
|
23
|
-
generic_secret: z.ZodString;
|
|
24
|
-
}, z.core.$strip>>]>;
|
|
10
|
+
declare const sendsparkListWebhooks: AppAction<typeof SendsparkListWebhooksInput, typeof SendsparkListWebhooksOutput, typeof sendspark.credential>;
|
|
25
11
|
//#endregion
|
|
26
12
|
export { sendsparkListWebhooks };
|
|
27
13
|
//# sourceMappingURL=list-webhooks.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-webhooks.d.cts","names":[],"sources":["../../src/actions/list-webhooks.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-webhooks.d.cts","names":[],"sources":["../../src/actions/list-webhooks.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;cAG1B,2BAAA,EAA2B,CAAA,CAAA,UAAc;AAAA,cAEzC,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,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/list-webhooks.d.ts
|
|
@@ -5,23 +7,7 @@ declare const SendsparkListWebhooksInput: z.ZodObject<{
|
|
|
5
7
|
workspaceId: z.ZodString;
|
|
6
8
|
}, z.core.$strip>;
|
|
7
9
|
declare const SendsparkListWebhooksOutput: z.ZodUnknown;
|
|
8
|
-
declare const sendsparkListWebhooks:
|
|
9
|
-
workspaceId: string;
|
|
10
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"sendspark", z.ZodObject<{
|
|
11
|
-
connectionId: z.ZodString;
|
|
12
|
-
entityId: z.ZodString;
|
|
13
|
-
instanceId: z.ZodString;
|
|
14
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
15
|
-
generic_api_key: z.ZodString;
|
|
16
|
-
generic_secret: z.ZodString;
|
|
17
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"sendspark", z.ZodObject<{
|
|
18
|
-
connectionId: z.ZodString;
|
|
19
|
-
entityId: z.ZodString;
|
|
20
|
-
instanceId: z.ZodString;
|
|
21
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
22
|
-
generic_api_key: z.ZodString;
|
|
23
|
-
generic_secret: z.ZodString;
|
|
24
|
-
}, z.core.$strip>>]>;
|
|
10
|
+
declare const sendsparkListWebhooks: AppAction<typeof SendsparkListWebhooksInput, typeof SendsparkListWebhooksOutput, typeof sendspark.credential>;
|
|
25
11
|
//#endregion
|
|
26
12
|
export { sendsparkListWebhooks };
|
|
27
13
|
//# sourceMappingURL=list-webhooks.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-webhooks.d.mts","names":[],"sources":["../../src/actions/list-webhooks.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-webhooks.d.mts","names":[],"sources":["../../src/actions/list-webhooks.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;cAG1B,2BAAA,EAA2B,CAAA,CAAA,UAAc;AAAA,cAEzC,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-webhooks.mjs","names":[],"sources":["../../src/actions/list-webhooks.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendsparkListWebhooksInput = z.object({\n workspaceId: z.string().describe(\"Unique identifier for the Sendspark workspace. This alphanumeric ID can be obtained from the workspace settings or by listing dynamic video campaigns.\"),\n}).describe(\"Request model for listing all configured webhooks in a workspace.\");\nexport const SendsparkListWebhooksOutput = z.unknown();\n\nexport const sendsparkListWebhooks = action(\"SENDSPARK_LIST_WEBHOOKS\", {\n slug: \"sendspark-list-webhooks\",\n name: \"List Webhooks\",\n description: \"Retrieves all configured webhooks for a Sendspark workspace. Webhooks are automated notifications sent when specific events occur in dynamic video campaigns (e.g., video created, video played, CTA clicked, video opened). Use this action to audit active webhook configurations, verify webhook URLs, or check which events are being monitored. Returns an empty list if no webhooks are configured.\",\n input: SendsparkListWebhooksInput,\n output: SendsparkListWebhooksOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-webhooks.mjs","names":[],"sources":["../../src/actions/list-webhooks.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 SendsparkListWebhooksInput = z.object({\n workspaceId: z.string().describe(\"Unique identifier for the Sendspark workspace. This alphanumeric ID can be obtained from the workspace settings or by listing dynamic video campaigns.\"),\n}).describe(\"Request model for listing all configured webhooks in a workspace.\");\nexport const SendsparkListWebhooksOutput = z.unknown();\n\nexport const sendsparkListWebhooks: AppAction<\n typeof SendsparkListWebhooksInput,\n typeof SendsparkListWebhooksOutput,\n typeof sendspark.credential\n> = action(\"SENDSPARK_LIST_WEBHOOKS\", {\n slug: \"sendspark-list-webhooks\",\n name: \"List Webhooks\",\n description: \"Retrieves all configured webhooks for a Sendspark workspace. Webhooks are automated notifications sent when specific events occur in dynamic video campaigns (e.g., video created, video played, CTA clicked, video opened). Use this action to audit active webhook configurations, verify webhook URLs, or check which events are being monitored. Returns an empty list if no webhooks are configured.\",\n input: SendsparkListWebhooksInput,\n output: SendsparkListWebhooksOutput,\n});\n"],"mappings":";;;AAWA,MAAa,wBAIT,OAAO,2BAA2B;CACpC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAbwC,EAAE,OAAO,EACjD,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,wJAAwJ,EAC3L,CAAC,CAAC,CAAC,SAAS,mEAWH;CACP,QAXyC,EAAE,QAWnC;AACV,CAAC"}
|
package/dist/app.cjs
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
let _keystrokehq_keystroke_app = require("@keystrokehq/keystroke/app");
|
|
2
2
|
let zod = require("zod");
|
|
3
3
|
//#region src/app.ts
|
|
4
|
+
const credential = {
|
|
5
|
+
generic_api_key: zod.z.string(),
|
|
6
|
+
generic_secret: zod.z.string()
|
|
7
|
+
};
|
|
4
8
|
const sendspark = (0, _keystrokehq_keystroke_app.defineApp)({
|
|
5
9
|
slug: "sendspark",
|
|
6
10
|
auth: "keystroke",
|
|
7
|
-
credential
|
|
8
|
-
generic_api_key: zod.z.string(),
|
|
9
|
-
generic_secret: zod.z.string()
|
|
10
|
-
}
|
|
11
|
+
credential
|
|
11
12
|
});
|
|
12
13
|
//#endregion
|
|
13
14
|
exports.sendspark = sendspark;
|
package/dist/app.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.cjs","names":["z"],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nexport const sendspark = defineApp({\n slug: \"sendspark\",\n auth: \"keystroke\",\n credential
|
|
1
|
+
{"version":3,"file":"app.cjs","names":["z"],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp, type KeystrokeApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nconst credential = {\n generic_api_key: z.string(),\n generic_secret: z.string(),\n};\n\nexport const sendspark: KeystrokeApp<\"sendspark\", typeof credential> = defineApp({\n slug: \"sendspark\",\n auth: \"keystroke\",\n credential,\n});\n"],"mappings":";;;AAGA,MAAM,aAAa;CACjB,iBAAiBA,IAAAA,EAAE,OAAO;CAC1B,gBAAgBA,IAAAA,EAAE,OAAO;AAC3B;AAEA,MAAa,aAAA,GAAA,2BAAA,UAAA,CAAoE;CAC/E,MAAM;CACN,MAAM;CACN;AACF,CAAC"}
|
package/dist/app.d.cts
CHANGED
|
@@ -1,14 +1,12 @@
|
|
|
1
|
+
import { KeystrokeApp } from "@keystrokehq/keystroke/app";
|
|
1
2
|
import { z } from "zod";
|
|
2
3
|
|
|
3
4
|
//#region src/app.d.ts
|
|
4
|
-
declare const
|
|
5
|
-
connectionId: z.ZodString;
|
|
6
|
-
entityId: z.ZodString;
|
|
7
|
-
instanceId: z.ZodString;
|
|
8
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
5
|
+
declare const credential: {
|
|
9
6
|
generic_api_key: z.ZodString;
|
|
10
7
|
generic_secret: z.ZodString;
|
|
11
|
-
}
|
|
8
|
+
};
|
|
9
|
+
declare const sendspark: KeystrokeApp<"sendspark", typeof credential>;
|
|
12
10
|
//#endregion
|
|
13
11
|
export { sendspark };
|
|
14
12
|
//# sourceMappingURL=app.d.cts.map
|
package/dist/app.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";;;;cAGM,UAAA;mBAGL,CAAA,CAAA,SAAA;kBAAA,CAAA,CAAA,SAAA;AAAA;AAAA,cAEY,SAAA,EAAW,YAAY,qBAAqB,UAAA"}
|
package/dist/app.d.mts
CHANGED
|
@@ -1,14 +1,12 @@
|
|
|
1
|
+
import { KeystrokeApp } from "@keystrokehq/keystroke/app";
|
|
1
2
|
import { z } from "zod";
|
|
2
3
|
|
|
3
4
|
//#region src/app.d.ts
|
|
4
|
-
declare const
|
|
5
|
-
connectionId: z.ZodString;
|
|
6
|
-
entityId: z.ZodString;
|
|
7
|
-
instanceId: z.ZodString;
|
|
8
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
5
|
+
declare const credential: {
|
|
9
6
|
generic_api_key: z.ZodString;
|
|
10
7
|
generic_secret: z.ZodString;
|
|
11
|
-
}
|
|
8
|
+
};
|
|
9
|
+
declare const sendspark: KeystrokeApp<"sendspark", typeof credential>;
|
|
12
10
|
//#endregion
|
|
13
11
|
export { sendspark };
|
|
14
12
|
//# sourceMappingURL=app.d.mts.map
|
package/dist/app.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";;;;cAGM,UAAA;mBAGL,CAAA,CAAA,SAAA;kBAAA,CAAA,CAAA,SAAA;AAAA;AAAA,cAEY,SAAA,EAAW,YAAY,qBAAqB,UAAA"}
|
package/dist/app.mjs
CHANGED
package/dist/app.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nexport const sendspark = defineApp({\n slug: \"sendspark\",\n auth: \"keystroke\",\n credential
|
|
1
|
+
{"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp, type KeystrokeApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nconst credential = {\n generic_api_key: z.string(),\n generic_secret: z.string(),\n};\n\nexport const sendspark: KeystrokeApp<\"sendspark\", typeof credential> = defineApp({\n slug: \"sendspark\",\n auth: \"keystroke\",\n credential,\n});\n"],"mappings":";;AAQA,MAAa,YAA0D,UAAU;CAC/E,MAAM;CACN,MAAM;CACN;EAPA,iBAAiB,EAAE,OAAO;EAC1B,gBAAgB,EAAE,OAAO;CAMzB;AACF,CAAC"}
|
package/dist/index.d.cts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { sendspark } from "./app.cjs";
|
|
1
2
|
import { sendsparkAddMultipleProspectsToDynamicCampaign } from "./actions/add-multiple-prospects-to-dynamic-campaign.cjs";
|
|
2
3
|
import { sendsparkAddProspectToDynamicVideoCampaign } from "./actions/add-prospect-to-dynamic-video-campaign.cjs";
|
|
3
4
|
import { sendsparkApiHealthStatus } from "./actions/api-health-status.cjs";
|
|
@@ -7,6 +8,5 @@ import { sendsparkGetDynamicCampaignById } from "./actions/get-dynamic-campaign-
|
|
|
7
8
|
import { sendsparkGetWorkspaceProspectDataByEmail } from "./actions/get-workspace-prospect-data-by-email.cjs";
|
|
8
9
|
import { sendsparkListDynamicVideoCampaigns } from "./actions/list-dynamic-video-campaigns.cjs";
|
|
9
10
|
import { sendsparkListWebhooks } from "./actions/list-webhooks.cjs";
|
|
10
|
-
import { sendspark } from "./app.cjs";
|
|
11
11
|
import { sendsparkCatalog } from "./catalog.cjs";
|
|
12
12
|
export { sendspark, sendsparkAddMultipleProspectsToDynamicCampaign, sendsparkAddProspectToDynamicVideoCampaign, sendsparkApiHealthStatus, sendsparkCatalog, sendsparkCreateDynamicVideoCampaign2, sendsparkDeleteWebhook, sendsparkGetDynamicCampaignById, sendsparkGetWorkspaceProspectDataByEmail, sendsparkListDynamicVideoCampaigns, sendsparkListWebhooks };
|
package/dist/index.d.mts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { sendspark } from "./app.mjs";
|
|
1
2
|
import { sendsparkAddMultipleProspectsToDynamicCampaign } from "./actions/add-multiple-prospects-to-dynamic-campaign.mjs";
|
|
2
3
|
import { sendsparkAddProspectToDynamicVideoCampaign } from "./actions/add-prospect-to-dynamic-video-campaign.mjs";
|
|
3
4
|
import { sendsparkApiHealthStatus } from "./actions/api-health-status.mjs";
|
|
@@ -7,6 +8,5 @@ import { sendsparkGetDynamicCampaignById } from "./actions/get-dynamic-campaign-
|
|
|
7
8
|
import { sendsparkGetWorkspaceProspectDataByEmail } from "./actions/get-workspace-prospect-data-by-email.mjs";
|
|
8
9
|
import { sendsparkListDynamicVideoCampaigns } from "./actions/list-dynamic-video-campaigns.mjs";
|
|
9
10
|
import { sendsparkListWebhooks } from "./actions/list-webhooks.mjs";
|
|
10
|
-
import { sendspark } from "./app.mjs";
|
|
11
11
|
import { sendsparkCatalog } from "./catalog.mjs";
|
|
12
12
|
export { sendspark, sendsparkAddMultipleProspectsToDynamicCampaign, sendsparkAddProspectToDynamicVideoCampaign, sendsparkApiHealthStatus, sendsparkCatalog, sendsparkCreateDynamicVideoCampaign2, sendsparkDeleteWebhook, sendsparkGetDynamicCampaignById, sendsparkGetWorkspaceProspectDataByEmail, sendsparkListDynamicVideoCampaigns, sendsparkListWebhooks };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@keystrokehq/sendspark",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.6",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public",
|
|
6
6
|
"registry": "https://registry.npmjs.org"
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
}
|
|
32
32
|
},
|
|
33
33
|
"peerDependencies": {
|
|
34
|
-
"@keystrokehq/keystroke": ">=0.1.
|
|
34
|
+
"@keystrokehq/keystroke": ">=0.1.104",
|
|
35
35
|
"zod": "^4.4.3"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|