@keystrokehq/sendspark 0.1.4 → 0.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/add-multiple-prospects-to-dynamic-campaign.cjs +1 -0
- package/dist/actions/add-multiple-prospects-to-dynamic-campaign.cjs.map +1 -1
- package/dist/actions/add-multiple-prospects-to-dynamic-campaign.d.cts +3 -17
- package/dist/actions/add-multiple-prospects-to-dynamic-campaign.d.cts.map +1 -1
- package/dist/actions/add-multiple-prospects-to-dynamic-campaign.d.mts +3 -17
- package/dist/actions/add-multiple-prospects-to-dynamic-campaign.d.mts.map +1 -1
- package/dist/actions/add-multiple-prospects-to-dynamic-campaign.mjs +1 -0
- package/dist/actions/add-multiple-prospects-to-dynamic-campaign.mjs.map +1 -1
- package/dist/actions/add-prospect-to-dynamic-video-campaign.cjs +1 -0
- package/dist/actions/add-prospect-to-dynamic-video-campaign.cjs.map +1 -1
- package/dist/actions/add-prospect-to-dynamic-video-campaign.d.cts +3 -16
- package/dist/actions/add-prospect-to-dynamic-video-campaign.d.cts.map +1 -1
- package/dist/actions/add-prospect-to-dynamic-video-campaign.d.mts +3 -16
- package/dist/actions/add-prospect-to-dynamic-video-campaign.d.mts.map +1 -1
- package/dist/actions/add-prospect-to-dynamic-video-campaign.mjs +1 -0
- package/dist/actions/add-prospect-to-dynamic-video-campaign.mjs.map +1 -1
- package/dist/actions/api-health-status.cjs +1 -0
- package/dist/actions/api-health-status.cjs.map +1 -1
- package/dist/actions/api-health-status.d.cts +3 -1
- package/dist/actions/api-health-status.d.cts.map +1 -1
- package/dist/actions/api-health-status.d.mts +3 -1
- package/dist/actions/api-health-status.d.mts.map +1 -1
- package/dist/actions/api-health-status.mjs +1 -0
- package/dist/actions/api-health-status.mjs.map +1 -1
- package/dist/actions/create-dynamic-video-campaign2.cjs +1 -0
- package/dist/actions/create-dynamic-video-campaign2.cjs.map +1 -1
- package/dist/actions/create-dynamic-video-campaign2.d.cts +3 -4
- package/dist/actions/create-dynamic-video-campaign2.d.cts.map +1 -1
- package/dist/actions/create-dynamic-video-campaign2.d.mts +3 -4
- package/dist/actions/create-dynamic-video-campaign2.d.mts.map +1 -1
- package/dist/actions/create-dynamic-video-campaign2.mjs +1 -0
- package/dist/actions/create-dynamic-video-campaign2.mjs.map +1 -1
- package/dist/actions/delete-webhook.cjs +1 -0
- package/dist/actions/delete-webhook.cjs.map +1 -1
- package/dist/actions/delete-webhook.d.cts +3 -4
- package/dist/actions/delete-webhook.d.cts.map +1 -1
- package/dist/actions/delete-webhook.d.mts +3 -4
- package/dist/actions/delete-webhook.d.mts.map +1 -1
- package/dist/actions/delete-webhook.mjs +1 -0
- package/dist/actions/delete-webhook.mjs.map +1 -1
- package/dist/actions/get-dynamic-campaign-by-id.cjs +1 -0
- package/dist/actions/get-dynamic-campaign-by-id.cjs.map +1 -1
- package/dist/actions/get-dynamic-campaign-by-id.d.cts +3 -4
- package/dist/actions/get-dynamic-campaign-by-id.d.cts.map +1 -1
- package/dist/actions/get-dynamic-campaign-by-id.d.mts +3 -4
- package/dist/actions/get-dynamic-campaign-by-id.d.mts.map +1 -1
- package/dist/actions/get-dynamic-campaign-by-id.mjs +1 -0
- package/dist/actions/get-dynamic-campaign-by-id.mjs.map +1 -1
- package/dist/actions/get-workspace-prospect-data-by-email.cjs +1 -0
- package/dist/actions/get-workspace-prospect-data-by-email.cjs.map +1 -1
- package/dist/actions/get-workspace-prospect-data-by-email.d.cts +3 -5
- package/dist/actions/get-workspace-prospect-data-by-email.d.cts.map +1 -1
- package/dist/actions/get-workspace-prospect-data-by-email.d.mts +3 -5
- package/dist/actions/get-workspace-prospect-data-by-email.d.mts.map +1 -1
- package/dist/actions/get-workspace-prospect-data-by-email.mjs +1 -0
- package/dist/actions/get-workspace-prospect-data-by-email.mjs.map +1 -1
- package/dist/actions/list-dynamic-video-campaigns.cjs +1 -0
- package/dist/actions/list-dynamic-video-campaigns.cjs.map +1 -1
- package/dist/actions/list-dynamic-video-campaigns.d.cts +3 -7
- package/dist/actions/list-dynamic-video-campaigns.d.cts.map +1 -1
- package/dist/actions/list-dynamic-video-campaigns.d.mts +3 -7
- package/dist/actions/list-dynamic-video-campaigns.d.mts.map +1 -1
- package/dist/actions/list-dynamic-video-campaigns.mjs +1 -0
- package/dist/actions/list-dynamic-video-campaigns.mjs.map +1 -1
- package/dist/actions/list-webhooks.cjs +1 -0
- package/dist/actions/list-webhooks.cjs.map +1 -1
- package/dist/actions/list-webhooks.d.cts +3 -3
- package/dist/actions/list-webhooks.d.cts.map +1 -1
- package/dist/actions/list-webhooks.d.mts +3 -3
- package/dist/actions/list-webhooks.d.mts.map +1 -1
- package/dist/actions/list-webhooks.mjs +1 -0
- package/dist/actions/list-webhooks.mjs.map +1 -1
- package/dist/app.cjs +9 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +8 -1
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +8 -1
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +6 -2
- package/dist/app.mjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/package.json +2 -2
|
@@ -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,9 +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]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
10
|
+
declare const sendsparkListWebhooks: AppAction<typeof SendsparkListWebhooksInput, typeof SendsparkListWebhooksOutput, typeof sendspark.credential>;
|
|
11
11
|
//#endregion
|
|
12
12
|
export { sendsparkListWebhooks };
|
|
13
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,7 +1,14 @@
|
|
|
1
|
+
let _keystrokehq_keystroke_app = require("@keystrokehq/keystroke/app");
|
|
2
|
+
let zod = require("zod");
|
|
1
3
|
//#region src/app.ts
|
|
2
|
-
const
|
|
4
|
+
const credential = {
|
|
5
|
+
generic_api_key: zod.z.string(),
|
|
6
|
+
generic_secret: zod.z.string()
|
|
7
|
+
};
|
|
8
|
+
const sendspark = (0, _keystrokehq_keystroke_app.defineApp)({
|
|
3
9
|
slug: "sendspark",
|
|
4
|
-
auth: "keystroke"
|
|
10
|
+
auth: "keystroke",
|
|
11
|
+
credential
|
|
5
12
|
});
|
|
6
13
|
//#endregion
|
|
7
14
|
exports.sendspark = sendspark;
|
package/dist/app.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.cjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\n\nexport const sendspark = defineApp({\n slug: \"sendspark\",\n auth: \"keystroke\",\n});\n"],"mappings":";AAEA,MAAa,aAAA,
|
|
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,5 +1,12 @@
|
|
|
1
|
+
import { KeystrokeApp } from "@keystrokehq/keystroke/app";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
|
|
1
4
|
//#region src/app.d.ts
|
|
2
|
-
declare const
|
|
5
|
+
declare const credential: {
|
|
6
|
+
generic_api_key: z.ZodString;
|
|
7
|
+
generic_secret: z.ZodString;
|
|
8
|
+
};
|
|
9
|
+
declare const sendspark: KeystrokeApp<"sendspark", typeof credential>;
|
|
3
10
|
//#endregion
|
|
4
11
|
export { sendspark };
|
|
5
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,5 +1,12 @@
|
|
|
1
|
+
import { KeystrokeApp } from "@keystrokehq/keystroke/app";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
|
|
1
4
|
//#region src/app.d.ts
|
|
2
|
-
declare const
|
|
5
|
+
declare const credential: {
|
|
6
|
+
generic_api_key: z.ZodString;
|
|
7
|
+
generic_secret: z.ZodString;
|
|
8
|
+
};
|
|
9
|
+
declare const sendspark: KeystrokeApp<"sendspark", typeof credential>;
|
|
3
10
|
//#endregion
|
|
4
11
|
export { sendspark };
|
|
5
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
|
@@ -1,8 +1,12 @@
|
|
|
1
1
|
import { defineApp } from "@keystrokehq/keystroke/app";
|
|
2
|
-
|
|
2
|
+
import { z } from "zod";
|
|
3
3
|
const sendspark = defineApp({
|
|
4
4
|
slug: "sendspark",
|
|
5
|
-
auth: "keystroke"
|
|
5
|
+
auth: "keystroke",
|
|
6
|
+
credential: {
|
|
7
|
+
generic_api_key: z.string(),
|
|
8
|
+
generic_secret: z.string()
|
|
9
|
+
}
|
|
6
10
|
});
|
|
7
11
|
//#endregion
|
|
8
12
|
export { sendspark };
|
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\";\n\nexport const sendspark = defineApp({\n slug: \"sendspark\",\n auth: \"keystroke\",\n});\n"],"mappings":";;
|
|
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": {
|