@keystrokehq/sendspark 0.1.0

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.
Files changed (106) hide show
  1. package/README.md +17 -0
  2. package/dist/action.cjs +21 -0
  3. package/dist/action.cjs.map +1 -0
  4. package/dist/action.mjs +21 -0
  5. package/dist/action.mjs.map +1 -0
  6. package/dist/actions/add-multiple-prospects-to-dynamic-campaign.cjs +77 -0
  7. package/dist/actions/add-multiple-prospects-to-dynamic-campaign.cjs.map +1 -0
  8. package/dist/actions/add-multiple-prospects-to-dynamic-campaign.d.cts +9 -0
  9. package/dist/actions/add-multiple-prospects-to-dynamic-campaign.d.cts.map +1 -0
  10. package/dist/actions/add-multiple-prospects-to-dynamic-campaign.d.mts +9 -0
  11. package/dist/actions/add-multiple-prospects-to-dynamic-campaign.d.mts.map +1 -0
  12. package/dist/actions/add-multiple-prospects-to-dynamic-campaign.mjs +76 -0
  13. package/dist/actions/add-multiple-prospects-to-dynamic-campaign.mjs.map +1 -0
  14. package/dist/actions/add-prospect-to-dynamic-video-campaign.cjs +50 -0
  15. package/dist/actions/add-prospect-to-dynamic-video-campaign.cjs.map +1 -0
  16. package/dist/actions/add-prospect-to-dynamic-video-campaign.d.cts +9 -0
  17. package/dist/actions/add-prospect-to-dynamic-video-campaign.d.cts.map +1 -0
  18. package/dist/actions/add-prospect-to-dynamic-video-campaign.d.mts +9 -0
  19. package/dist/actions/add-prospect-to-dynamic-video-campaign.d.mts.map +1 -0
  20. package/dist/actions/add-prospect-to-dynamic-video-campaign.mjs +49 -0
  21. package/dist/actions/add-prospect-to-dynamic-video-campaign.mjs.map +1 -0
  22. package/dist/actions/api-health-status.cjs +16 -0
  23. package/dist/actions/api-health-status.cjs.map +1 -0
  24. package/dist/actions/api-health-status.d.cts +9 -0
  25. package/dist/actions/api-health-status.d.cts.map +1 -0
  26. package/dist/actions/api-health-status.d.mts +9 -0
  27. package/dist/actions/api-health-status.d.mts.map +1 -0
  28. package/dist/actions/api-health-status.mjs +13 -0
  29. package/dist/actions/api-health-status.mjs.map +1 -0
  30. package/dist/actions/create-dynamic-video-campaign2.cjs +40 -0
  31. package/dist/actions/create-dynamic-video-campaign2.cjs.map +1 -0
  32. package/dist/actions/create-dynamic-video-campaign2.d.cts +9 -0
  33. package/dist/actions/create-dynamic-video-campaign2.d.cts.map +1 -0
  34. package/dist/actions/create-dynamic-video-campaign2.d.mts +9 -0
  35. package/dist/actions/create-dynamic-video-campaign2.d.mts.map +1 -0
  36. package/dist/actions/create-dynamic-video-campaign2.mjs +39 -0
  37. package/dist/actions/create-dynamic-video-campaign2.mjs.map +1 -0
  38. package/dist/actions/delete-webhook.cjs +22 -0
  39. package/dist/actions/delete-webhook.cjs.map +1 -0
  40. package/dist/actions/delete-webhook.d.cts +9 -0
  41. package/dist/actions/delete-webhook.d.cts.map +1 -0
  42. package/dist/actions/delete-webhook.d.mts +9 -0
  43. package/dist/actions/delete-webhook.d.mts.map +1 -0
  44. package/dist/actions/delete-webhook.mjs +19 -0
  45. package/dist/actions/delete-webhook.mjs.map +1 -0
  46. package/dist/actions/get-dynamic-campaign-by-id.cjs +59 -0
  47. package/dist/actions/get-dynamic-campaign-by-id.cjs.map +1 -0
  48. package/dist/actions/get-dynamic-campaign-by-id.d.cts +9 -0
  49. package/dist/actions/get-dynamic-campaign-by-id.d.cts.map +1 -0
  50. package/dist/actions/get-dynamic-campaign-by-id.d.mts +9 -0
  51. package/dist/actions/get-dynamic-campaign-by-id.d.mts.map +1 -0
  52. package/dist/actions/get-dynamic-campaign-by-id.mjs +58 -0
  53. package/dist/actions/get-dynamic-campaign-by-id.mjs.map +1 -0
  54. package/dist/actions/get-workspace-prospect-data-by-email.cjs +46 -0
  55. package/dist/actions/get-workspace-prospect-data-by-email.cjs.map +1 -0
  56. package/dist/actions/get-workspace-prospect-data-by-email.d.cts +9 -0
  57. package/dist/actions/get-workspace-prospect-data-by-email.d.cts.map +1 -0
  58. package/dist/actions/get-workspace-prospect-data-by-email.d.mts +9 -0
  59. package/dist/actions/get-workspace-prospect-data-by-email.d.mts.map +1 -0
  60. package/dist/actions/get-workspace-prospect-data-by-email.mjs +45 -0
  61. package/dist/actions/get-workspace-prospect-data-by-email.mjs.map +1 -0
  62. package/dist/actions/index.cjs +19 -0
  63. package/dist/actions/index.d.cts +10 -0
  64. package/dist/actions/index.d.mts +10 -0
  65. package/dist/actions/index.mjs +10 -0
  66. package/dist/actions/list-dynamic-video-campaigns.cjs +120 -0
  67. package/dist/actions/list-dynamic-video-campaigns.cjs.map +1 -0
  68. package/dist/actions/list-dynamic-video-campaigns.d.cts +9 -0
  69. package/dist/actions/list-dynamic-video-campaigns.d.cts.map +1 -0
  70. package/dist/actions/list-dynamic-video-campaigns.d.mts +9 -0
  71. package/dist/actions/list-dynamic-video-campaigns.d.mts.map +1 -0
  72. package/dist/actions/list-dynamic-video-campaigns.mjs +119 -0
  73. package/dist/actions/list-dynamic-video-campaigns.mjs.map +1 -0
  74. package/dist/actions/list-webhooks.cjs +16 -0
  75. package/dist/actions/list-webhooks.cjs.map +1 -0
  76. package/dist/actions/list-webhooks.d.cts +9 -0
  77. package/dist/actions/list-webhooks.d.cts.map +1 -0
  78. package/dist/actions/list-webhooks.d.mts +9 -0
  79. package/dist/actions/list-webhooks.d.mts.map +1 -0
  80. package/dist/actions/list-webhooks.mjs +13 -0
  81. package/dist/actions/list-webhooks.mjs.map +1 -0
  82. package/dist/app.cjs +9 -0
  83. package/dist/app.cjs.map +1 -0
  84. package/dist/app.d.cts +5 -0
  85. package/dist/app.d.cts.map +1 -0
  86. package/dist/app.d.mts +5 -0
  87. package/dist/app.d.mts.map +1 -0
  88. package/dist/app.mjs +10 -0
  89. package/dist/app.mjs.map +1 -0
  90. package/dist/catalog.cjs +15 -0
  91. package/dist/catalog.cjs.map +1 -0
  92. package/dist/catalog.d.cts +14 -0
  93. package/dist/catalog.d.cts.map +1 -0
  94. package/dist/catalog.d.mts +14 -0
  95. package/dist/catalog.d.mts.map +1 -0
  96. package/dist/catalog.mjs +15 -0
  97. package/dist/catalog.mjs.map +1 -0
  98. package/dist/execute.cjs +18 -0
  99. package/dist/execute.cjs.map +1 -0
  100. package/dist/execute.mjs +18 -0
  101. package/dist/execute.mjs.map +1 -0
  102. package/dist/index.cjs +24 -0
  103. package/dist/index.d.cts +12 -0
  104. package/dist/index.d.mts +12 -0
  105. package/dist/index.mjs +13 -0
  106. package/package.json +49 -0
@@ -0,0 +1,120 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/list-dynamic-video-campaigns.ts
4
+ const SendsparkListDynamicVideoCampaignsInput = zod.z.object({
5
+ limit: zod.z.number().int().default(10).describe("Number of campaigns per page (max 20)").optional(),
6
+ offset: zod.z.number().int().default(1).describe("Pagination start index (1-based)").optional(),
7
+ search: zod.z.string().describe("Search by campaign name").optional(),
8
+ filters: zod.z.string().describe("Filter by creator ID").optional(),
9
+ workspaceId: zod.z.string().describe("Workspace identifier where to list dynamic video campaigns")
10
+ }).describe("Request model for listing dynamic video campaigns in a workspace.");
11
+ const SendsparkListDynamicVideoCampaigns_ListDynamicVideoCampaignsResponseCreatorSchema = zod.z.object({
12
+ id: zod.z.string().describe("Creator ID"),
13
+ _id: zod.z.string().describe("MongoDB internal unique identifier"),
14
+ name: zod.z.string().describe("Creator first name"),
15
+ email: zod.z.string().describe("Creator email"),
16
+ lastName: zod.z.string().describe("Creator last name")
17
+ });
18
+ const SendsparkListDynamicVideoCampaigns_ListDynamicVideoCampaignsResponseSummarySchema = zod.z.object({
19
+ deleted: zod.z.number().int().describe("Number deleted"),
20
+ errored: zod.z.number().int().describe("Number errored"),
21
+ completed: zod.z.number().int().describe("Number completed"),
22
+ processed: zod.z.number().int().describe("Number processed")
23
+ });
24
+ const SendsparkListDynamicVideoCampaigns_ListDynamicVideoCampaignsResponseVoiceCloningSchema = zod.z.object({ version: zod.z.number().int().describe("Voice cloning version") });
25
+ const SendsparkListDynamicVideoCampaigns_ListDynamicVideoCampaignsResponseFeaturesSchema = zod.z.object({
26
+ screenshot: zod.z.boolean().describe("Screenshot enabled").nullable().optional(),
27
+ voiceCloning: zod.z.union([zod.z.boolean(), SendsparkListDynamicVideoCampaigns_ListDynamicVideoCampaignsResponseVoiceCloningSchema]).nullable().optional(),
28
+ transcription: zod.z.boolean().describe("Transcription enabled").nullable().optional(),
29
+ videoSettings: zod.z.boolean().describe("Video settings enabled").nullable().optional()
30
+ });
31
+ const SendsparkListDynamicVideoCampaigns_ListDynamicVideoCampaignsResponseMetadataSchema = zod.z.object({ version: zod.z.string().describe("Metadata version") });
32
+ const SendsparkListDynamicVideoCampaigns_ListDynamicVideoCampaignsResponseProspectListItemSchema = zod.z.object({
33
+ _id: zod.z.string().describe("Prospect unique identifier"),
34
+ valid: zod.z.boolean().describe("Validity flag"),
35
+ bulkId: zod.z.string().describe("Bulk operation ID"),
36
+ status: zod.z.string().describe("Prospect status"),
37
+ company: zod.z.string().describe("Prospect's company name"),
38
+ audioUrl: zod.z.string().describe("Audio URL"),
39
+ campaign: zod.z.string().describe("Associated campaign ID"),
40
+ jobTitle: zod.z.string().describe("Prospect's job title"),
41
+ createdAt: zod.z.string().describe("Creation timestamp"),
42
+ deletedAt: zod.z.string().describe("Deletion timestamp if deleted").nullable().optional(),
43
+ updatedAt: zod.z.string().describe("Last update timestamp"),
44
+ isNotified: zod.z.boolean().describe("Notification sent flag"),
45
+ contactName: zod.z.string().describe("Prospect contact name"),
46
+ contactEmail: zod.z.string().describe("Prospect contact email"),
47
+ backgroundUrl: zod.z.string().describe("Background image URL"),
48
+ screenshotUrl: zod.z.string().describe("Screenshot URL"),
49
+ resourcesStatus: zod.z.string().describe("Resource status"),
50
+ validationDetails: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Validation details").nullable().optional()
51
+ });
52
+ const SendsparkListDynamicVideoCampaigns_ListDynamicVideoCampaignsResponseVideoAssetSchema = zod.z.object({
53
+ _id: zod.z.string().describe("Video asset unique identifier"),
54
+ url: zod.z.string().describe("Video URL"),
55
+ assetId: zod.z.string().describe("Asset ID"),
56
+ assetUrl: zod.z.string().describe("Asset URL"),
57
+ duration: zod.z.number().describe("Video duration in seconds"),
58
+ provider: zod.z.string().describe("Video provider")
59
+ });
60
+ const SendsparkListDynamicVideoCampaigns_ListDynamicVideoCampaignsResponseVideoPropertiesSharePageSchema = zod.z.object({
61
+ title: zod.z.string().describe("Share page title"),
62
+ buttons: zod.z.array(zod.z.string()).describe("Share page buttons")
63
+ });
64
+ const SendsparkListDynamicVideoCampaigns_ListDynamicVideoCampaignsResponseVideoPropertiesSchema = zod.z.object({ sharePage: SendsparkListDynamicVideoCampaigns_ListDynamicVideoCampaignsResponseVideoPropertiesSharePageSchema.nullable() });
65
+ const SendsparkListDynamicVideoCampaigns_ListDynamicVideoCampaignsResponseAnalyticsSummarySchema = zod.z.object({
66
+ plays: zod.z.number().int().describe("Number of plays"),
67
+ lastUpdated: zod.z.string().describe("Last updated"),
68
+ totalActiveVideos: zod.z.number().int().describe("Total active videos")
69
+ });
70
+ const SendsparkListDynamicVideoCampaigns_ListDynamicVideoCampaignsResponseDynamicCampaignSchema = zod.z.object({
71
+ _id: zod.z.string().describe("Campaign unique identifier"),
72
+ name: zod.z.string().describe("Campaign name"),
73
+ folder: zod.z.string().describe("Folder name").nullable().optional(),
74
+ status: zod.z.string().describe("Campaign status"),
75
+ creator: SendsparkListDynamicVideoCampaigns_ListDynamicVideoCampaignsResponseCreatorSchema.nullable(),
76
+ summary: SendsparkListDynamicVideoCampaigns_ListDynamicVideoCampaignsResponseSummarySchema.nullable().optional(),
77
+ features: SendsparkListDynamicVideoCampaigns_ListDynamicVideoCampaignsResponseFeaturesSchema.nullable().optional(),
78
+ metadata: SendsparkListDynamicVideoCampaigns_ListDynamicVideoCampaignsResponseMetadataSchema.nullable().optional(),
79
+ createdAt: zod.z.string().describe("Creation timestamp"),
80
+ workspace: zod.z.string().describe("Workspace ID"),
81
+ campaign_id: zod.z.string().describe("Campaign ID").nullable().optional(),
82
+ prospectList: zod.z.array(SendsparkListDynamicVideoCampaigns_ListDynamicVideoCampaignsResponseProspectListItemSchema).describe("Prospect list").nullable().optional(),
83
+ videosAssets: zod.z.array(SendsparkListDynamicVideoCampaigns_ListDynamicVideoCampaignsResponseVideoAssetSchema).default([]).describe("Video assets list").nullable().optional(),
84
+ combinedVideo: zod.z.union([zod.z.boolean(), zod.z.string()]).nullable().optional(),
85
+ useFallbackData: zod.z.boolean().describe("Use fallback data flag").nullable().optional(),
86
+ videoProperties: SendsparkListDynamicVideoCampaigns_ListDynamicVideoCampaignsResponseVideoPropertiesSchema.nullable().optional(),
87
+ analyticsSummary: SendsparkListDynamicVideoCampaigns_ListDynamicVideoCampaignsResponseAnalyticsSummarySchema.nullable().optional(),
88
+ dynamicBackground: zod.z.union([zod.z.boolean(), zod.z.string()]).nullable().optional()
89
+ });
90
+ const SendsparkListDynamicVideoCampaigns_ListDynamicVideoCampaignsResponseLinksNextSchema = zod.z.object({
91
+ url: zod.z.string().describe("URL for next page"),
92
+ limit: zod.z.number().int().describe("Next page limit"),
93
+ offset: zod.z.number().int().describe("Next page offset")
94
+ });
95
+ const SendsparkListDynamicVideoCampaigns_ListDynamicVideoCampaignsResponseLinksSchema = zod.z.object({ next: SendsparkListDynamicVideoCampaigns_ListDynamicVideoCampaignsResponseLinksNextSchema.nullable() });
96
+ const SendsparkListDynamicVideoCampaigns_ListDynamicVideoCampaignsResponsePaginationSchema = zod.z.object({
97
+ limit: zod.z.number().int().describe("Current page limit"),
98
+ total: zod.z.number().int().describe("Total number of campaigns"),
99
+ offset: zod.z.number().int().describe("Current offset")
100
+ });
101
+ const SendsparkListDynamicVideoCampaigns_ListDynamicVideoCampaignsResponseContentSchema = zod.z.object({
102
+ data: zod.z.array(SendsparkListDynamicVideoCampaigns_ListDynamicVideoCampaignsResponseDynamicCampaignSchema).describe("Array of dynamic campaigns"),
103
+ links: SendsparkListDynamicVideoCampaigns_ListDynamicVideoCampaignsResponseLinksSchema.nullable(),
104
+ pagination: SendsparkListDynamicVideoCampaigns_ListDynamicVideoCampaignsResponsePaginationSchema.nullable()
105
+ });
106
+ const SendsparkListDynamicVideoCampaignsOutput = zod.z.object({
107
+ response: SendsparkListDynamicVideoCampaigns_ListDynamicVideoCampaignsResponseContentSchema.nullable(),
108
+ statusCode: zod.z.number().int().describe("HTTP status code")
109
+ });
110
+ const sendsparkListDynamicVideoCampaigns = require_action.action("SENDSPARK_LIST_DYNAMIC_VIDEO_CAMPAIGNS", {
111
+ slug: "sendspark-list-dynamic-video-campaigns",
112
+ name: "List Dynamic Video Campaigns",
113
+ description: "Tool to list all dynamic video campaigns in a workspace. Use when retrieving campaigns with optional pagination, filtering, or search.",
114
+ input: SendsparkListDynamicVideoCampaignsInput,
115
+ output: SendsparkListDynamicVideoCampaignsOutput
116
+ });
117
+ //#endregion
118
+ exports.sendsparkListDynamicVideoCampaigns = sendsparkListDynamicVideoCampaigns;
119
+
120
+ //# sourceMappingURL=list-dynamic-video-campaigns.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-dynamic-video-campaigns.cjs","names":["z","action"],"sources":["../../src/actions/list-dynamic-video-campaigns.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendsparkListDynamicVideoCampaignsInput: z.ZodTypeAny = 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.ZodTypeAny = z.object({\n id: z.string().describe(\"Creator ID\"),\n _id: z.string().describe(\"MongoDB internal unique identifier\"),\n name: z.string().describe(\"Creator first name\"),\n email: z.string().describe(\"Creator email\"),\n lastName: z.string().describe(\"Creator last name\"),\n});\nconst SendsparkListDynamicVideoCampaigns_ListDynamicVideoCampaignsResponseSummarySchema: z.ZodTypeAny = z.object({\n deleted: z.number().int().describe(\"Number deleted\"),\n errored: z.number().int().describe(\"Number errored\"),\n completed: z.number().int().describe(\"Number completed\"),\n processed: z.number().int().describe(\"Number processed\"),\n});\nconst SendsparkListDynamicVideoCampaigns_ListDynamicVideoCampaignsResponseVoiceCloningSchema: z.ZodTypeAny = z.object({\n version: z.number().int().describe(\"Voice cloning version\"),\n});\nconst SendsparkListDynamicVideoCampaigns_ListDynamicVideoCampaignsResponseFeaturesSchema: z.ZodTypeAny = 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});\nconst SendsparkListDynamicVideoCampaigns_ListDynamicVideoCampaignsResponseMetadataSchema: z.ZodTypeAny = z.object({\n version: z.string().describe(\"Metadata version\"),\n});\nconst SendsparkListDynamicVideoCampaigns_ListDynamicVideoCampaignsResponseProspectListItemSchema: z.ZodTypeAny = z.object({\n _id: z.string().describe(\"Prospect unique identifier\"),\n valid: z.boolean().describe(\"Validity flag\"),\n bulkId: z.string().describe(\"Bulk operation ID\"),\n status: z.string().describe(\"Prospect status\"),\n company: z.string().describe(\"Prospect's company name\"),\n audioUrl: z.string().describe(\"Audio URL\"),\n campaign: z.string().describe(\"Associated campaign ID\"),\n jobTitle: z.string().describe(\"Prospect's job title\"),\n createdAt: z.string().describe(\"Creation timestamp\"),\n deletedAt: z.string().describe(\"Deletion timestamp if deleted\").nullable().optional(),\n updatedAt: z.string().describe(\"Last update timestamp\"),\n isNotified: z.boolean().describe(\"Notification sent flag\"),\n contactName: z.string().describe(\"Prospect contact name\"),\n contactEmail: z.string().describe(\"Prospect contact email\"),\n backgroundUrl: z.string().describe(\"Background image URL\"),\n screenshotUrl: z.string().describe(\"Screenshot URL\"),\n resourcesStatus: z.string().describe(\"Resource status\"),\n validationDetails: z.record(z.string(), z.unknown()).describe(\"Validation details\").nullable().optional(),\n});\nconst SendsparkListDynamicVideoCampaigns_ListDynamicVideoCampaignsResponseVideoAssetSchema: z.ZodTypeAny = z.object({\n _id: z.string().describe(\"Video asset unique identifier\"),\n url: z.string().describe(\"Video URL\"),\n assetId: z.string().describe(\"Asset ID\"),\n assetUrl: z.string().describe(\"Asset URL\"),\n duration: z.number().describe(\"Video duration in seconds\"),\n provider: z.string().describe(\"Video provider\"),\n});\nconst SendsparkListDynamicVideoCampaigns_ListDynamicVideoCampaignsResponseVideoPropertiesSharePageSchema: z.ZodTypeAny = z.object({\n title: z.string().describe(\"Share page title\"),\n buttons: z.array(z.string()).describe(\"Share page buttons\"),\n});\nconst SendsparkListDynamicVideoCampaigns_ListDynamicVideoCampaignsResponseVideoPropertiesSchema: z.ZodTypeAny = z.object({\n sharePage: SendsparkListDynamicVideoCampaigns_ListDynamicVideoCampaignsResponseVideoPropertiesSharePageSchema.nullable(),\n});\nconst SendsparkListDynamicVideoCampaigns_ListDynamicVideoCampaignsResponseAnalyticsSummarySchema: z.ZodTypeAny = z.object({\n plays: z.number().int().describe(\"Number of plays\"),\n lastUpdated: z.string().describe(\"Last updated\"),\n totalActiveVideos: z.number().int().describe(\"Total active videos\"),\n});\nconst SendsparkListDynamicVideoCampaigns_ListDynamicVideoCampaignsResponseDynamicCampaignSchema: z.ZodTypeAny = z.object({\n _id: z.string().describe(\"Campaign unique identifier\"),\n name: z.string().describe(\"Campaign name\"),\n folder: z.string().describe(\"Folder name\").nullable().optional(),\n status: z.string().describe(\"Campaign status\"),\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\"),\n workspace: z.string().describe(\"Workspace ID\"),\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});\nconst SendsparkListDynamicVideoCampaigns_ListDynamicVideoCampaignsResponseLinksNextSchema: z.ZodTypeAny = z.object({\n url: z.string().describe(\"URL for next page\"),\n limit: z.number().int().describe(\"Next page limit\"),\n offset: z.number().int().describe(\"Next page offset\"),\n});\nconst SendsparkListDynamicVideoCampaigns_ListDynamicVideoCampaignsResponseLinksSchema: z.ZodTypeAny = z.object({\n next: SendsparkListDynamicVideoCampaigns_ListDynamicVideoCampaignsResponseLinksNextSchema.nullable(),\n});\nconst SendsparkListDynamicVideoCampaigns_ListDynamicVideoCampaignsResponsePaginationSchema: z.ZodTypeAny = z.object({\n limit: z.number().int().describe(\"Current page limit\"),\n total: z.number().int().describe(\"Total number of campaigns\"),\n offset: z.number().int().describe(\"Current offset\"),\n});\nconst SendsparkListDynamicVideoCampaigns_ListDynamicVideoCampaignsResponseContentSchema: z.ZodTypeAny = z.object({\n data: z.array(SendsparkListDynamicVideoCampaigns_ListDynamicVideoCampaignsResponseDynamicCampaignSchema).describe(\"Array of dynamic campaigns\"),\n links: SendsparkListDynamicVideoCampaigns_ListDynamicVideoCampaignsResponseLinksSchema.nullable(),\n pagination: SendsparkListDynamicVideoCampaigns_ListDynamicVideoCampaignsResponsePaginationSchema.nullable(),\n});\nexport const SendsparkListDynamicVideoCampaignsOutput: z.ZodTypeAny = z.object({\n response: SendsparkListDynamicVideoCampaigns_ListDynamicVideoCampaignsResponseContentSchema.nullable(),\n statusCode: z.number().int().describe(\"HTTP status code\"),\n});\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,0CAAwDA,IAAAA,EAAE,OAAO;CAC5E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC/F,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC1F,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CAChE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAC9D,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAA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ions/list-dynamic-video-campaigns.d.ts
4
+ declare const SendsparkListDynamicVideoCampaignsInput: z.ZodTypeAny;
5
+ declare const SendsparkListDynamicVideoCampaignsOutput: z.ZodTypeAny;
6
+ declare const sendsparkListDynamicVideoCampaigns: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { sendsparkListDynamicVideoCampaigns };
9
+ //# sourceMappingURL=list-dynamic-video-campaigns.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-dynamic-video-campaigns.d.cts","names":[],"sources":["../../src/actions/list-dynamic-video-campaigns.ts"],"mappings":";;;cAIa,uCAAA,EAAyC,CAAA,CAAE,UAMwB;AAAA,cAwGnE,wCAAA,EAA0C,CAAA,CAAE,UAGvD;AAAA,cAEW,kCAAA,gCAAkC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/list-dynamic-video-campaigns.d.ts
4
+ declare const SendsparkListDynamicVideoCampaignsInput: z.ZodTypeAny;
5
+ declare const SendsparkListDynamicVideoCampaignsOutput: z.ZodTypeAny;
6
+ declare const sendsparkListDynamicVideoCampaigns: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { sendsparkListDynamicVideoCampaigns };
9
+ //# sourceMappingURL=list-dynamic-video-campaigns.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-dynamic-video-campaigns.d.mts","names":[],"sources":["../../src/actions/list-dynamic-video-campaigns.ts"],"mappings":";;;cAIa,uCAAA,EAAyC,CAAA,CAAE,UAMwB;AAAA,cAwGnE,wCAAA,EAA0C,CAAA,CAAE,UAGvD;AAAA,cAEW,kCAAA,gCAAkC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,119 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/list-dynamic-video-campaigns.ts
4
+ const SendsparkListDynamicVideoCampaignsInput = z.object({
5
+ limit: z.number().int().default(10).describe("Number of campaigns per page (max 20)").optional(),
6
+ offset: z.number().int().default(1).describe("Pagination start index (1-based)").optional(),
7
+ search: z.string().describe("Search by campaign name").optional(),
8
+ filters: z.string().describe("Filter by creator ID").optional(),
9
+ workspaceId: z.string().describe("Workspace identifier where to list dynamic video campaigns")
10
+ }).describe("Request model for listing dynamic video campaigns in a workspace.");
11
+ const SendsparkListDynamicVideoCampaigns_ListDynamicVideoCampaignsResponseCreatorSchema = z.object({
12
+ id: z.string().describe("Creator ID"),
13
+ _id: z.string().describe("MongoDB internal unique identifier"),
14
+ name: z.string().describe("Creator first name"),
15
+ email: z.string().describe("Creator email"),
16
+ lastName: z.string().describe("Creator last name")
17
+ });
18
+ const SendsparkListDynamicVideoCampaigns_ListDynamicVideoCampaignsResponseSummarySchema = z.object({
19
+ deleted: z.number().int().describe("Number deleted"),
20
+ errored: z.number().int().describe("Number errored"),
21
+ completed: z.number().int().describe("Number completed"),
22
+ processed: z.number().int().describe("Number processed")
23
+ });
24
+ const SendsparkListDynamicVideoCampaigns_ListDynamicVideoCampaignsResponseVoiceCloningSchema = z.object({ version: z.number().int().describe("Voice cloning version") });
25
+ const SendsparkListDynamicVideoCampaigns_ListDynamicVideoCampaignsResponseFeaturesSchema = z.object({
26
+ screenshot: z.boolean().describe("Screenshot enabled").nullable().optional(),
27
+ voiceCloning: z.union([z.boolean(), SendsparkListDynamicVideoCampaigns_ListDynamicVideoCampaignsResponseVoiceCloningSchema]).nullable().optional(),
28
+ transcription: z.boolean().describe("Transcription enabled").nullable().optional(),
29
+ videoSettings: z.boolean().describe("Video settings enabled").nullable().optional()
30
+ });
31
+ const SendsparkListDynamicVideoCampaigns_ListDynamicVideoCampaignsResponseMetadataSchema = z.object({ version: z.string().describe("Metadata version") });
32
+ const SendsparkListDynamicVideoCampaigns_ListDynamicVideoCampaignsResponseProspectListItemSchema = z.object({
33
+ _id: z.string().describe("Prospect unique identifier"),
34
+ valid: z.boolean().describe("Validity flag"),
35
+ bulkId: z.string().describe("Bulk operation ID"),
36
+ status: z.string().describe("Prospect status"),
37
+ company: z.string().describe("Prospect's company name"),
38
+ audioUrl: z.string().describe("Audio URL"),
39
+ campaign: z.string().describe("Associated campaign ID"),
40
+ jobTitle: z.string().describe("Prospect's job title"),
41
+ createdAt: z.string().describe("Creation timestamp"),
42
+ deletedAt: z.string().describe("Deletion timestamp if deleted").nullable().optional(),
43
+ updatedAt: z.string().describe("Last update timestamp"),
44
+ isNotified: z.boolean().describe("Notification sent flag"),
45
+ contactName: z.string().describe("Prospect contact name"),
46
+ contactEmail: z.string().describe("Prospect contact email"),
47
+ backgroundUrl: z.string().describe("Background image URL"),
48
+ screenshotUrl: z.string().describe("Screenshot URL"),
49
+ resourcesStatus: z.string().describe("Resource status"),
50
+ validationDetails: z.record(z.string(), z.unknown()).describe("Validation details").nullable().optional()
51
+ });
52
+ const SendsparkListDynamicVideoCampaigns_ListDynamicVideoCampaignsResponseVideoAssetSchema = z.object({
53
+ _id: z.string().describe("Video asset unique identifier"),
54
+ url: z.string().describe("Video URL"),
55
+ assetId: z.string().describe("Asset ID"),
56
+ assetUrl: z.string().describe("Asset URL"),
57
+ duration: z.number().describe("Video duration in seconds"),
58
+ provider: z.string().describe("Video provider")
59
+ });
60
+ const SendsparkListDynamicVideoCampaigns_ListDynamicVideoCampaignsResponseVideoPropertiesSharePageSchema = z.object({
61
+ title: z.string().describe("Share page title"),
62
+ buttons: z.array(z.string()).describe("Share page buttons")
63
+ });
64
+ const SendsparkListDynamicVideoCampaigns_ListDynamicVideoCampaignsResponseVideoPropertiesSchema = z.object({ sharePage: SendsparkListDynamicVideoCampaigns_ListDynamicVideoCampaignsResponseVideoPropertiesSharePageSchema.nullable() });
65
+ const SendsparkListDynamicVideoCampaigns_ListDynamicVideoCampaignsResponseAnalyticsSummarySchema = z.object({
66
+ plays: z.number().int().describe("Number of plays"),
67
+ lastUpdated: z.string().describe("Last updated"),
68
+ totalActiveVideos: z.number().int().describe("Total active videos")
69
+ });
70
+ const SendsparkListDynamicVideoCampaigns_ListDynamicVideoCampaignsResponseDynamicCampaignSchema = z.object({
71
+ _id: z.string().describe("Campaign unique identifier"),
72
+ name: z.string().describe("Campaign name"),
73
+ folder: z.string().describe("Folder name").nullable().optional(),
74
+ status: z.string().describe("Campaign status"),
75
+ creator: SendsparkListDynamicVideoCampaigns_ListDynamicVideoCampaignsResponseCreatorSchema.nullable(),
76
+ summary: SendsparkListDynamicVideoCampaigns_ListDynamicVideoCampaignsResponseSummarySchema.nullable().optional(),
77
+ features: SendsparkListDynamicVideoCampaigns_ListDynamicVideoCampaignsResponseFeaturesSchema.nullable().optional(),
78
+ metadata: SendsparkListDynamicVideoCampaigns_ListDynamicVideoCampaignsResponseMetadataSchema.nullable().optional(),
79
+ createdAt: z.string().describe("Creation timestamp"),
80
+ workspace: z.string().describe("Workspace ID"),
81
+ campaign_id: z.string().describe("Campaign ID").nullable().optional(),
82
+ prospectList: z.array(SendsparkListDynamicVideoCampaigns_ListDynamicVideoCampaignsResponseProspectListItemSchema).describe("Prospect list").nullable().optional(),
83
+ videosAssets: z.array(SendsparkListDynamicVideoCampaigns_ListDynamicVideoCampaignsResponseVideoAssetSchema).default([]).describe("Video assets list").nullable().optional(),
84
+ combinedVideo: z.union([z.boolean(), z.string()]).nullable().optional(),
85
+ useFallbackData: z.boolean().describe("Use fallback data flag").nullable().optional(),
86
+ videoProperties: SendsparkListDynamicVideoCampaigns_ListDynamicVideoCampaignsResponseVideoPropertiesSchema.nullable().optional(),
87
+ analyticsSummary: SendsparkListDynamicVideoCampaigns_ListDynamicVideoCampaignsResponseAnalyticsSummarySchema.nullable().optional(),
88
+ dynamicBackground: z.union([z.boolean(), z.string()]).nullable().optional()
89
+ });
90
+ const SendsparkListDynamicVideoCampaigns_ListDynamicVideoCampaignsResponseLinksNextSchema = z.object({
91
+ url: z.string().describe("URL for next page"),
92
+ limit: z.number().int().describe("Next page limit"),
93
+ offset: z.number().int().describe("Next page offset")
94
+ });
95
+ const SendsparkListDynamicVideoCampaigns_ListDynamicVideoCampaignsResponseLinksSchema = z.object({ next: SendsparkListDynamicVideoCampaigns_ListDynamicVideoCampaignsResponseLinksNextSchema.nullable() });
96
+ const SendsparkListDynamicVideoCampaigns_ListDynamicVideoCampaignsResponsePaginationSchema = z.object({
97
+ limit: z.number().int().describe("Current page limit"),
98
+ total: z.number().int().describe("Total number of campaigns"),
99
+ offset: z.number().int().describe("Current offset")
100
+ });
101
+ const SendsparkListDynamicVideoCampaigns_ListDynamicVideoCampaignsResponseContentSchema = z.object({
102
+ data: z.array(SendsparkListDynamicVideoCampaigns_ListDynamicVideoCampaignsResponseDynamicCampaignSchema).describe("Array of dynamic campaigns"),
103
+ links: SendsparkListDynamicVideoCampaigns_ListDynamicVideoCampaignsResponseLinksSchema.nullable(),
104
+ pagination: SendsparkListDynamicVideoCampaigns_ListDynamicVideoCampaignsResponsePaginationSchema.nullable()
105
+ });
106
+ const sendsparkListDynamicVideoCampaigns = action("SENDSPARK_LIST_DYNAMIC_VIDEO_CAMPAIGNS", {
107
+ slug: "sendspark-list-dynamic-video-campaigns",
108
+ name: "List Dynamic Video Campaigns",
109
+ description: "Tool to list all dynamic video campaigns in a workspace. Use when retrieving campaigns with optional pagination, filtering, or search.",
110
+ input: SendsparkListDynamicVideoCampaignsInput,
111
+ output: z.object({
112
+ response: SendsparkListDynamicVideoCampaigns_ListDynamicVideoCampaignsResponseContentSchema.nullable(),
113
+ statusCode: z.number().int().describe("HTTP status code")
114
+ })
115
+ });
116
+ //#endregion
117
+ export { sendsparkListDynamicVideoCampaigns };
118
+
119
+ //# sourceMappingURL=list-dynamic-video-campaigns.mjs.map
@@ -0,0 +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.ZodTypeAny = 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.ZodTypeAny = z.object({\n id: z.string().describe(\"Creator ID\"),\n _id: z.string().describe(\"MongoDB internal unique identifier\"),\n name: z.string().describe(\"Creator first name\"),\n email: z.string().describe(\"Creator email\"),\n lastName: z.string().describe(\"Creator last name\"),\n});\nconst SendsparkListDynamicVideoCampaigns_ListDynamicVideoCampaignsResponseSummarySchema: z.ZodTypeAny = z.object({\n deleted: z.number().int().describe(\"Number deleted\"),\n errored: z.number().int().describe(\"Number errored\"),\n completed: z.number().int().describe(\"Number completed\"),\n processed: z.number().int().describe(\"Number processed\"),\n});\nconst SendsparkListDynamicVideoCampaigns_ListDynamicVideoCampaignsResponseVoiceCloningSchema: z.ZodTypeAny = z.object({\n version: z.number().int().describe(\"Voice cloning version\"),\n});\nconst SendsparkListDynamicVideoCampaigns_ListDynamicVideoCampaignsResponseFeaturesSchema: z.ZodTypeAny = 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});\nconst SendsparkListDynamicVideoCampaigns_ListDynamicVideoCampaignsResponseMetadataSchema: z.ZodTypeAny = z.object({\n version: z.string().describe(\"Metadata version\"),\n});\nconst SendsparkListDynamicVideoCampaigns_ListDynamicVideoCampaignsResponseProspectListItemSchema: z.ZodTypeAny = z.object({\n _id: z.string().describe(\"Prospect unique identifier\"),\n valid: z.boolean().describe(\"Validity flag\"),\n bulkId: z.string().describe(\"Bulk operation ID\"),\n status: z.string().describe(\"Prospect status\"),\n company: z.string().describe(\"Prospect's company name\"),\n audioUrl: z.string().describe(\"Audio URL\"),\n campaign: z.string().describe(\"Associated campaign ID\"),\n jobTitle: z.string().describe(\"Prospect's job title\"),\n createdAt: z.string().describe(\"Creation timestamp\"),\n deletedAt: z.string().describe(\"Deletion timestamp if deleted\").nullable().optional(),\n updatedAt: z.string().describe(\"Last update timestamp\"),\n isNotified: z.boolean().describe(\"Notification sent flag\"),\n contactName: z.string().describe(\"Prospect contact name\"),\n contactEmail: z.string().describe(\"Prospect contact email\"),\n backgroundUrl: z.string().describe(\"Background image URL\"),\n screenshotUrl: z.string().describe(\"Screenshot URL\"),\n resourcesStatus: z.string().describe(\"Resource status\"),\n validationDetails: z.record(z.string(), z.unknown()).describe(\"Validation details\").nullable().optional(),\n});\nconst SendsparkListDynamicVideoCampaigns_ListDynamicVideoCampaignsResponseVideoAssetSchema: z.ZodTypeAny = z.object({\n _id: z.string().describe(\"Video asset unique identifier\"),\n url: z.string().describe(\"Video URL\"),\n assetId: z.string().describe(\"Asset ID\"),\n assetUrl: z.string().describe(\"Asset URL\"),\n duration: z.number().describe(\"Video duration in seconds\"),\n provider: z.string().describe(\"Video provider\"),\n});\nconst SendsparkListDynamicVideoCampaigns_ListDynamicVideoCampaignsResponseVideoPropertiesSharePageSchema: z.ZodTypeAny = z.object({\n title: z.string().describe(\"Share page title\"),\n buttons: z.array(z.string()).describe(\"Share page buttons\"),\n});\nconst SendsparkListDynamicVideoCampaigns_ListDynamicVideoCampaignsResponseVideoPropertiesSchema: z.ZodTypeAny = z.object({\n sharePage: SendsparkListDynamicVideoCampaigns_ListDynamicVideoCampaignsResponseVideoPropertiesSharePageSchema.nullable(),\n});\nconst SendsparkListDynamicVideoCampaigns_ListDynamicVideoCampaignsResponseAnalyticsSummarySchema: z.ZodTypeAny = z.object({\n plays: z.number().int().describe(\"Number of plays\"),\n lastUpdated: z.string().describe(\"Last updated\"),\n totalActiveVideos: z.number().int().describe(\"Total active videos\"),\n});\nconst SendsparkListDynamicVideoCampaigns_ListDynamicVideoCampaignsResponseDynamicCampaignSchema: z.ZodTypeAny = z.object({\n _id: z.string().describe(\"Campaign unique identifier\"),\n name: z.string().describe(\"Campaign name\"),\n folder: z.string().describe(\"Folder name\").nullable().optional(),\n status: z.string().describe(\"Campaign status\"),\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\"),\n workspace: z.string().describe(\"Workspace ID\"),\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});\nconst SendsparkListDynamicVideoCampaigns_ListDynamicVideoCampaignsResponseLinksNextSchema: z.ZodTypeAny = z.object({\n url: z.string().describe(\"URL for next page\"),\n limit: z.number().int().describe(\"Next page limit\"),\n offset: z.number().int().describe(\"Next page offset\"),\n});\nconst SendsparkListDynamicVideoCampaigns_ListDynamicVideoCampaignsResponseLinksSchema: z.ZodTypeAny = z.object({\n next: SendsparkListDynamicVideoCampaigns_ListDynamicVideoCampaignsResponseLinksNextSchema.nullable(),\n});\nconst SendsparkListDynamicVideoCampaigns_ListDynamicVideoCampaignsResponsePaginationSchema: z.ZodTypeAny = z.object({\n limit: z.number().int().describe(\"Current page limit\"),\n total: z.number().int().describe(\"Total number of campaigns\"),\n offset: z.number().int().describe(\"Current offset\"),\n});\nconst SendsparkListDynamicVideoCampaigns_ListDynamicVideoCampaignsResponseContentSchema: z.ZodTypeAny = z.object({\n data: z.array(SendsparkListDynamicVideoCampaigns_ListDynamicVideoCampaignsResponseDynamicCampaignSchema).describe(\"Array of dynamic campaigns\"),\n links: SendsparkListDynamicVideoCampaigns_ListDynamicVideoCampaignsResponseLinksSchema.nullable(),\n pagination: SendsparkListDynamicVideoCampaigns_ListDynamicVideoCampaignsResponsePaginationSchema.nullable(),\n});\nexport const SendsparkListDynamicVideoCampaignsOutput: z.ZodTypeAny = z.object({\n response: SendsparkListDynamicVideoCampaigns_ListDynamicVideoCampaignsResponseContentSchema.nullable(),\n statusCode: z.number().int().describe(\"HTTP status code\"),\n});\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,0CAAwD,EAAE,OAAO;CAC5E,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,OAAO,CAAC,CAAC,SAAS,4DAA4D;AAC/F,CAAC,CAAC,CAAC,SAAS,mEAAmE;AAC/E,MAAM,oFAAkG,EAAE,OAAO;CAC/G,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,YAAY;CACpC,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CAC7D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB;CAC9C,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe;CAC1C,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB;AACnD,CAAC;AACD,MAAM,oFAAkG,EAAE,OAAO;CAC/G,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gBAAgB;CACnD,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gBAAgB;CACnD,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kBAAkB;CACvD,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kBAAkB;AACzD,CA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C,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5E,CAAC;AACD,MAAM,sFAAoG,EAAE,OAAO;CACjH,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB;CAC5C,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iBAAiB;CAClD,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kBAAkB;AACtD,CAAC;AACD,MAAM,kFAAgG,EAAE,OAAO,EAC7G,MAAM,oFAAoF,SAAS,EACrG,CAAC;AACD,MAAM,uFAAqG,EAAE,OAAO;CAClH,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oBAAoB;CACrD,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B;CAC5D,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gBAAgB;AACpD,CAAC;AACD,MAAM,oFAAkG,EAAE,OAAO;CAC/G,MAAM,EAAE,MAAM,yFAAyF,CAAC,CAAC,SAAS,4BAA4B;CAC9I,OAAO,gFAAgF,SAAS;CAChG,YAAY,qFAAqF,SAAS;AAC5G,CAAC;AAMD,MAAa,qCAAqC,OAAO,0CAA0C;CACjG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVoE,EAAE,OAAO;EAC7E,UAAU,kFAAkF,SAAS;EACrG,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kBAAkB;CAC1D,CAOU;AACV,CAAC"}
@@ -0,0 +1,16 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/list-webhooks.ts
4
+ const SendsparkListWebhooksInput = zod.z.object({ workspaceId: zod.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.") }).describe("Request model for listing all configured webhooks in a workspace.");
5
+ const SendsparkListWebhooksOutput = zod.z.unknown();
6
+ const sendsparkListWebhooks = require_action.action("SENDSPARK_LIST_WEBHOOKS", {
7
+ slug: "sendspark-list-webhooks",
8
+ name: "List Webhooks",
9
+ 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.",
10
+ input: SendsparkListWebhooksInput,
11
+ output: SendsparkListWebhooksOutput
12
+ });
13
+ //#endregion
14
+ exports.sendsparkListWebhooks = sendsparkListWebhooks;
15
+
16
+ //# sourceMappingURL=list-webhooks.cjs.map
@@ -0,0 +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.ZodTypeAny = 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.ZodTypeAny = 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":";;;AAIA,MAAa,6BAA2CA,IAAAA,EAAE,OAAO,EAC/D,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wJAAwJ,EAC3L,CAAC,CAAC,CAAC,SAAS,mEAAmE;AAC/E,MAAa,8BAA4CA,IAAAA,EAAE,QAAQ;AAEnE,MAAa,wBAAwBC,eAAAA,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/list-webhooks.d.ts
4
+ declare const SendsparkListWebhooksInput: z.ZodTypeAny;
5
+ declare const SendsparkListWebhooksOutput: z.ZodTypeAny;
6
+ declare const sendsparkListWebhooks: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { sendsparkListWebhooks };
9
+ //# sourceMappingURL=list-webhooks.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-webhooks.d.cts","names":[],"sources":["../../src/actions/list-webhooks.ts"],"mappings":";;;cAIa,0BAAA,EAA4B,CAAA,CAAE,UAEqC;AAAA,cACnE,2BAAA,EAA6B,CAAA,CAAE,UAAwB;AAAA,cAEvD,qBAAA,gCAAqB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/list-webhooks.d.ts
4
+ declare const SendsparkListWebhooksInput: z.ZodTypeAny;
5
+ declare const SendsparkListWebhooksOutput: z.ZodTypeAny;
6
+ declare const sendsparkListWebhooks: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { sendsparkListWebhooks };
9
+ //# sourceMappingURL=list-webhooks.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-webhooks.d.mts","names":[],"sources":["../../src/actions/list-webhooks.ts"],"mappings":";;;cAIa,0BAAA,EAA4B,CAAA,CAAE,UAEqC;AAAA,cACnE,2BAAA,EAA6B,CAAA,CAAE,UAAwB;AAAA,cAEvD,qBAAA,gCAAqB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,13 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ const sendsparkListWebhooks = action("SENDSPARK_LIST_WEBHOOKS", {
4
+ slug: "sendspark-list-webhooks",
5
+ name: "List Webhooks",
6
+ 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.",
7
+ input: z.object({ 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.") }).describe("Request model for listing all configured webhooks in a workspace."),
8
+ output: z.unknown()
9
+ });
10
+ //#endregion
11
+ export { sendsparkListWebhooks };
12
+
13
+ //# sourceMappingURL=list-webhooks.mjs.map
@@ -0,0 +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.ZodTypeAny = 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.ZodTypeAny = 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":";;AASA,MAAa,wBAAwB,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OATsD,EAAE,OAAO,EAC/D,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,wJAAwJ,EAC3L,CAAC,CAAC,CAAC,SAAS,mEAOH;CACP,QAPuD,EAAE,QAOjD;AACV,CAAC"}
package/dist/app.cjs ADDED
@@ -0,0 +1,9 @@
1
+ //#region src/app.ts
2
+ const sendspark = (0, require("@keystrokehq/keystroke/app").defineApp)({
3
+ slug: "sendspark",
4
+ auth: "keystroke"
5
+ });
6
+ //#endregion
7
+ exports.sendspark = sendspark;
8
+
9
+ //# sourceMappingURL=app.cjs.map
@@ -0,0 +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,uCAAA,CAAA,CAAA,UAAA,CAAsB;CACjC,MAAM;CACN,MAAM;AACR,CAAC"}
package/dist/app.d.cts ADDED
@@ -0,0 +1,5 @@
1
+ //#region src/app.d.ts
2
+ declare const sendspark: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential>;
3
+ //#endregion
4
+ export { sendspark };
5
+ //# sourceMappingURL=app.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";cAEa,SAAA,6BAAS,GAAA,+BAAA,UAAA"}
package/dist/app.d.mts ADDED
@@ -0,0 +1,5 @@
1
+ //#region src/app.d.ts
2
+ declare const sendspark: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential>;
3
+ //#endregion
4
+ export { sendspark };
5
+ //# sourceMappingURL=app.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";cAEa,SAAA,6BAAS,GAAA,+BAAA,UAAA"}
package/dist/app.mjs ADDED
@@ -0,0 +1,10 @@
1
+ import { defineApp } from "@keystrokehq/keystroke/app";
2
+ //#region src/app.ts
3
+ const sendspark = defineApp({
4
+ slug: "sendspark",
5
+ auth: "keystroke"
6
+ });
7
+ //#endregion
8
+ export { sendspark };
9
+
10
+ //# sourceMappingURL=app.mjs.map
@@ -0,0 +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":";;AAEA,MAAa,YAAY,UAAU;CACjC,MAAM;CACN,MAAM;AACR,CAAC"}
@@ -0,0 +1,15 @@
1
+ //#region src/catalog.ts
2
+ /** Generated — kept in sync with src/app.ts. */
3
+ const sendsparkCatalog = {
4
+ "slug": "sendspark",
5
+ "name": "Sendspark",
6
+ "description": "Sendspark is a video messaging platform that empowers businesses to create, send, and track personalized video content, simplifying communication by allowing users to quickly record or upload videos and share them via email, social media, or other digital channels.",
7
+ "category": "Video & Audio",
8
+ "logo": "https://logos.composio.dev/api/sendspark",
9
+ "authKind": "keystroke",
10
+ "oauthScopes": []
11
+ };
12
+ //#endregion
13
+ exports.sendsparkCatalog = sendsparkCatalog;
14
+
15
+ //# sourceMappingURL=catalog.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const sendsparkCatalog = {\n \"slug\": \"sendspark\",\n \"name\": \"Sendspark\",\n \"description\": \"Sendspark is a video messaging platform that empowers businesses to create, send, and track personalized video content, simplifying communication by allowing users to quickly record or upload videos and share them via email, social media, or other digital channels.\",\n \"category\": \"Video & Audio\",\n \"logo\": \"https://logos.composio.dev/api/sendspark\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": []\n} as const;\n"],"mappings":";;AACA,MAAa,mBAAmB;CAC9B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;AAClB"}
@@ -0,0 +1,14 @@
1
+ //#region src/catalog.d.ts
2
+ /** Generated — kept in sync with src/app.ts. */
3
+ declare const sendsparkCatalog: {
4
+ readonly slug: "sendspark";
5
+ readonly name: "Sendspark";
6
+ readonly description: "Sendspark is a video messaging platform that empowers businesses to create, send, and track personalized video content, simplifying communication by allowing users to quickly record or upload videos and share them via email, social media, or other digital channels.";
7
+ readonly category: "Video & Audio";
8
+ readonly logo: "https://logos.composio.dev/api/sendspark";
9
+ readonly authKind: "keystroke";
10
+ readonly oauthScopes: readonly [];
11
+ };
12
+ //#endregion
13
+ export { sendsparkCatalog };
14
+ //# sourceMappingURL=catalog.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"catalog.d.cts","names":[],"sources":["../src/catalog.ts"],"mappings":";;cACa,gBAAA;EAAA"}
@@ -0,0 +1,14 @@
1
+ //#region src/catalog.d.ts
2
+ /** Generated — kept in sync with src/app.ts. */
3
+ declare const sendsparkCatalog: {
4
+ readonly slug: "sendspark";
5
+ readonly name: "Sendspark";
6
+ readonly description: "Sendspark is a video messaging platform that empowers businesses to create, send, and track personalized video content, simplifying communication by allowing users to quickly record or upload videos and share them via email, social media, or other digital channels.";
7
+ readonly category: "Video & Audio";
8
+ readonly logo: "https://logos.composio.dev/api/sendspark";
9
+ readonly authKind: "keystroke";
10
+ readonly oauthScopes: readonly [];
11
+ };
12
+ //#endregion
13
+ export { sendsparkCatalog };
14
+ //# sourceMappingURL=catalog.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"catalog.d.mts","names":[],"sources":["../src/catalog.ts"],"mappings":";;cACa,gBAAA;EAAA"}
@@ -0,0 +1,15 @@
1
+ //#region src/catalog.ts
2
+ /** Generated — kept in sync with src/app.ts. */
3
+ const sendsparkCatalog = {
4
+ "slug": "sendspark",
5
+ "name": "Sendspark",
6
+ "description": "Sendspark is a video messaging platform that empowers businesses to create, send, and track personalized video content, simplifying communication by allowing users to quickly record or upload videos and share them via email, social media, or other digital channels.",
7
+ "category": "Video & Audio",
8
+ "logo": "https://logos.composio.dev/api/sendspark",
9
+ "authKind": "keystroke",
10
+ "oauthScopes": []
11
+ };
12
+ //#endregion
13
+ export { sendsparkCatalog };
14
+
15
+ //# sourceMappingURL=catalog.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"catalog.mjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const sendsparkCatalog = {\n \"slug\": \"sendspark\",\n \"name\": \"Sendspark\",\n \"description\": \"Sendspark is a video messaging platform that empowers businesses to create, send, and track personalized video content, simplifying communication by allowing users to quickly record or upload videos and share them via email, social media, or other digital channels.\",\n \"category\": \"Video & Audio\",\n \"logo\": \"https://logos.composio.dev/api/sendspark\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": []\n} as const;\n"],"mappings":";;AACA,MAAa,mBAAmB;CAC9B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;AAClB"}
@@ -0,0 +1,18 @@
1
+ let _keystrokehq_keystroke_client = require("@keystrokehq/keystroke/client");
2
+ //#region src/execute.ts
3
+ const APP_SLUG = "sendspark";
4
+ /** Pinned app version — updated on regeneration. */
5
+ const APP_VERSION = "20260615_00";
6
+ async function executeSendsparkTool(tool, args) {
7
+ const { result } = await (0, _keystrokehq_keystroke_client.createKeystrokeClient)().tools.execute({
8
+ app: APP_SLUG,
9
+ tool,
10
+ arguments: args,
11
+ version: APP_VERSION
12
+ });
13
+ return result;
14
+ }
15
+ //#endregion
16
+ exports.executeSendsparkTool = executeSendsparkTool;
17
+
18
+ //# sourceMappingURL=execute.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"execute.cjs","names":[],"sources":["../src/execute.ts"],"sourcesContent":["import { createKeystrokeClient } from \"@keystrokehq/keystroke/client\";\n\nconst APP_SLUG = \"sendspark\";\n/** Pinned app version — updated on regeneration. */\nconst APP_VERSION = \"20260615_00\";\n\nexport async function executeSendsparkTool(\n tool: string,\n args: Record<string, unknown>,\n): Promise<unknown> {\n const { result } = await createKeystrokeClient().tools.execute({\n app: APP_SLUG,\n tool,\n arguments: args,\n version: APP_VERSION,\n });\n return result;\n}\n"],"mappings":";;AAEA,MAAM,WAAW;;AAEjB,MAAM,cAAc;AAEpB,eAAsB,qBACpB,MACA,MACkB;CAClB,MAAM,EAAE,WAAW,OAAA,GAAA,8BAAA,sBAAA,CAA4B,CAAC,CAAC,MAAM,QAAQ;EAC7D,KAAK;EACL;EACA,WAAW;EACX,SAAS;CACX,CAAC;CACD,OAAO;AACT"}
@@ -0,0 +1,18 @@
1
+ import { createKeystrokeClient } from "@keystrokehq/keystroke/client";
2
+ //#region src/execute.ts
3
+ const APP_SLUG = "sendspark";
4
+ /** Pinned app version — updated on regeneration. */
5
+ const APP_VERSION = "20260615_00";
6
+ async function executeSendsparkTool(tool, args) {
7
+ const { result } = await createKeystrokeClient().tools.execute({
8
+ app: APP_SLUG,
9
+ tool,
10
+ arguments: args,
11
+ version: APP_VERSION
12
+ });
13
+ return result;
14
+ }
15
+ //#endregion
16
+ export { executeSendsparkTool };
17
+
18
+ //# sourceMappingURL=execute.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"execute.mjs","names":[],"sources":["../src/execute.ts"],"sourcesContent":["import { createKeystrokeClient } from \"@keystrokehq/keystroke/client\";\n\nconst APP_SLUG = \"sendspark\";\n/** Pinned app version — updated on regeneration. */\nconst APP_VERSION = \"20260615_00\";\n\nexport async function executeSendsparkTool(\n tool: string,\n args: Record<string, unknown>,\n): Promise<unknown> {\n const { result } = await createKeystrokeClient().tools.execute({\n app: APP_SLUG,\n tool,\n arguments: args,\n version: APP_VERSION,\n });\n return result;\n}\n"],"mappings":";;AAEA,MAAM,WAAW;;AAEjB,MAAM,cAAc;AAEpB,eAAsB,qBACpB,MACA,MACkB;CAClB,MAAM,EAAE,WAAW,MAAM,sBAAsB,CAAC,CAAC,MAAM,QAAQ;EAC7D,KAAK;EACL;EACA,WAAW;EACX,SAAS;CACX,CAAC;CACD,OAAO;AACT"}