@keystrokehq/sendspark 0.1.0 → 0.1.2

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 (79) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/add-multiple-prospects-to-dynamic-campaign.cjs +18 -18
  4. package/dist/actions/add-multiple-prospects-to-dynamic-campaign.cjs.map +1 -1
  5. package/dist/actions/add-multiple-prospects-to-dynamic-campaign.d.cts +81 -3
  6. package/dist/actions/add-multiple-prospects-to-dynamic-campaign.d.cts.map +1 -1
  7. package/dist/actions/add-multiple-prospects-to-dynamic-campaign.d.mts +81 -3
  8. package/dist/actions/add-multiple-prospects-to-dynamic-campaign.d.mts.map +1 -1
  9. package/dist/actions/add-multiple-prospects-to-dynamic-campaign.mjs +18 -18
  10. package/dist/actions/add-multiple-prospects-to-dynamic-campaign.mjs.map +1 -1
  11. package/dist/actions/add-prospect-to-dynamic-video-campaign.cjs +7 -7
  12. package/dist/actions/add-prospect-to-dynamic-video-campaign.cjs.map +1 -1
  13. package/dist/actions/add-prospect-to-dynamic-video-campaign.d.cts +56 -3
  14. package/dist/actions/add-prospect-to-dynamic-video-campaign.d.cts.map +1 -1
  15. package/dist/actions/add-prospect-to-dynamic-video-campaign.d.mts +56 -3
  16. package/dist/actions/add-prospect-to-dynamic-video-campaign.d.mts.map +1 -1
  17. package/dist/actions/add-prospect-to-dynamic-video-campaign.mjs +7 -7
  18. package/dist/actions/add-prospect-to-dynamic-video-campaign.mjs.map +1 -1
  19. package/dist/actions/api-health-status.cjs +1 -1
  20. package/dist/actions/api-health-status.cjs.map +1 -1
  21. package/dist/actions/api-health-status.d.cts +5 -3
  22. package/dist/actions/api-health-status.d.cts.map +1 -1
  23. package/dist/actions/api-health-status.d.mts +5 -3
  24. package/dist/actions/api-health-status.d.mts.map +1 -1
  25. package/dist/actions/api-health-status.mjs +1 -1
  26. package/dist/actions/api-health-status.mjs.map +1 -1
  27. package/dist/actions/create-dynamic-video-campaign2.cjs +6 -6
  28. package/dist/actions/create-dynamic-video-campaign2.cjs.map +1 -1
  29. package/dist/actions/create-dynamic-video-campaign2.d.cts +31 -3
  30. package/dist/actions/create-dynamic-video-campaign2.d.cts.map +1 -1
  31. package/dist/actions/create-dynamic-video-campaign2.d.mts +31 -3
  32. package/dist/actions/create-dynamic-video-campaign2.d.mts.map +1 -1
  33. package/dist/actions/create-dynamic-video-campaign2.mjs +6 -6
  34. package/dist/actions/create-dynamic-video-campaign2.mjs.map +1 -1
  35. package/dist/actions/delete-webhook.cjs +1 -1
  36. package/dist/actions/delete-webhook.cjs.map +1 -1
  37. package/dist/actions/delete-webhook.d.cts +12 -3
  38. package/dist/actions/delete-webhook.d.cts.map +1 -1
  39. package/dist/actions/delete-webhook.d.mts +12 -3
  40. package/dist/actions/delete-webhook.d.mts.map +1 -1
  41. package/dist/actions/delete-webhook.mjs +1 -1
  42. package/dist/actions/delete-webhook.mjs.map +1 -1
  43. package/dist/actions/get-dynamic-campaign-by-id.cjs +17 -17
  44. package/dist/actions/get-dynamic-campaign-by-id.cjs.map +1 -1
  45. package/dist/actions/get-dynamic-campaign-by-id.d.cts +47 -3
  46. package/dist/actions/get-dynamic-campaign-by-id.d.cts.map +1 -1
  47. package/dist/actions/get-dynamic-campaign-by-id.d.mts +47 -3
  48. package/dist/actions/get-dynamic-campaign-by-id.d.mts.map +1 -1
  49. package/dist/actions/get-dynamic-campaign-by-id.mjs +17 -17
  50. package/dist/actions/get-dynamic-campaign-by-id.mjs.map +1 -1
  51. package/dist/actions/get-workspace-prospect-data-by-email.cjs +9 -9
  52. package/dist/actions/get-workspace-prospect-data-by-email.cjs.map +1 -1
  53. package/dist/actions/get-workspace-prospect-data-by-email.d.cts +36 -3
  54. package/dist/actions/get-workspace-prospect-data-by-email.d.cts.map +1 -1
  55. package/dist/actions/get-workspace-prospect-data-by-email.d.mts +36 -3
  56. package/dist/actions/get-workspace-prospect-data-by-email.d.mts.map +1 -1
  57. package/dist/actions/get-workspace-prospect-data-by-email.mjs +9 -9
  58. package/dist/actions/get-workspace-prospect-data-by-email.mjs.map +1 -1
  59. package/dist/actions/list-dynamic-video-campaigns.cjs +49 -49
  60. package/dist/actions/list-dynamic-video-campaigns.cjs.map +1 -1
  61. package/dist/actions/list-dynamic-video-campaigns.d.cts +106 -3
  62. package/dist/actions/list-dynamic-video-campaigns.d.cts.map +1 -1
  63. package/dist/actions/list-dynamic-video-campaigns.d.mts +106 -3
  64. package/dist/actions/list-dynamic-video-campaigns.d.mts.map +1 -1
  65. package/dist/actions/list-dynamic-video-campaigns.mjs +49 -49
  66. package/dist/actions/list-dynamic-video-campaigns.mjs.map +1 -1
  67. package/dist/actions/list-webhooks.cjs.map +1 -1
  68. package/dist/actions/list-webhooks.d.cts +7 -3
  69. package/dist/actions/list-webhooks.d.cts.map +1 -1
  70. package/dist/actions/list-webhooks.d.mts +7 -3
  71. package/dist/actions/list-webhooks.d.mts.map +1 -1
  72. package/dist/actions/list-webhooks.mjs.map +1 -1
  73. package/dist/catalog.cjs +14 -1
  74. package/dist/catalog.cjs.map +1 -1
  75. package/dist/catalog.d.cts +13 -0
  76. package/dist/catalog.d.mts +13 -0
  77. package/dist/catalog.mjs +14 -1
  78. package/dist/catalog.mjs.map +1 -1
  79. package/package.json +2 -2
@@ -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.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,SAA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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"}
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});\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});\nconst SendsparkListDynamicVideoCampaigns_ListDynamicVideoCampaignsResponseVoiceCloningSchema = z.object({\n version: z.number().int().describe(\"Voice cloning version\").nullable(),\n});\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});\nconst SendsparkListDynamicVideoCampaigns_ListDynamicVideoCampaignsResponseMetadataSchema = z.object({\n version: z.string().describe(\"Metadata version\").nullable(),\n});\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});\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});\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});\nconst SendsparkListDynamicVideoCampaigns_ListDynamicVideoCampaignsResponseVideoPropertiesSchema = z.object({\n sharePage: SendsparkListDynamicVideoCampaigns_ListDynamicVideoCampaignsResponseVideoPropertiesSharePageSchema.nullable(),\n});\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});\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});\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});\nconst SendsparkListDynamicVideoCampaigns_ListDynamicVideoCampaignsResponseLinksSchema = z.object({\n next: SendsparkListDynamicVideoCampaigns_ListDynamicVideoCampaignsResponseLinksNextSchema.nullable(),\n});\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});\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});\nexport const SendsparkListDynamicVideoCampaignsOutput = z.object({\n response: SendsparkListDynamicVideoCampaigns_ListDynamicVideoCampaignsResponseContentSchema.nullable(),\n statusCode: z.number().int().describe(\"HTTP status code\").nullable(),\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,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,OAAO,CAAC,CAAC,SAAS,4DAA4D;AAC/F,CAAC,CAAC,CAAC,SAAS,mEAAmE;AAC/E,MAAM,oFAAoF,EAAE,OAAO;CACjG,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,YA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":["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"}
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":";;;AAIA,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,wBAAwBC,eAAAA,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,13 @@
1
1
  import { z } from "zod";
2
2
 
3
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]>;
4
+ declare const SendsparkListWebhooksInput: z.ZodObject<{
5
+ workspaceId: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const SendsparkListWebhooksOutput: z.ZodUnknown;
8
+ declare const sendsparkListWebhooks: import("@keystrokehq/action").WorkflowActionDefinition<{
9
+ workspaceId: string;
10
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
11
  //#endregion
8
12
  export { sendsparkListWebhooks };
9
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":";;;cAIa,0BAAA,EAA4B,CAAA,CAAE,UAEqC;AAAA,cACnE,2BAAA,EAA6B,CAAA,CAAE,UAAwB;AAAA,cAEvD,qBAAA,gCAAqB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-webhooks.d.cts","names":[],"sources":["../../src/actions/list-webhooks.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;cAG1B,2BAAA,EAA2B,CAAA,CAAA,UAAc;AAAA,cAEzC,qBAAA,gCAAqB,wBAAA"}
@@ -1,9 +1,13 @@
1
1
  import { z } from "zod";
2
2
 
3
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]>;
4
+ declare const SendsparkListWebhooksInput: z.ZodObject<{
5
+ workspaceId: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const SendsparkListWebhooksOutput: z.ZodUnknown;
8
+ declare const sendsparkListWebhooks: import("@keystrokehq/action").WorkflowActionDefinition<{
9
+ workspaceId: string;
10
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
11
  //#endregion
8
12
  export { sendsparkListWebhooks };
9
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":";;;cAIa,0BAAA,EAA4B,CAAA,CAAE,UAEqC;AAAA,cACnE,2BAAA,EAA6B,CAAA,CAAE,UAAwB;AAAA,cAEvD,qBAAA,gCAAqB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-webhooks.d.mts","names":[],"sources":["../../src/actions/list-webhooks.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;cAG1B,2BAAA,EAA2B,CAAA,CAAA,UAAc;AAAA,cAEzC,qBAAA,gCAAqB,wBAAA"}
@@ -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.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"}
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":";;AASA,MAAa,wBAAwB,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OATwC,EAAE,OAAO,EACjD,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,wJAAwJ,EAC3L,CAAC,CAAC,CAAC,SAAS,mEAOH;CACP,QAPyC,EAAE,QAOnC;AACV,CAAC"}
package/dist/catalog.cjs CHANGED
@@ -7,7 +7,20 @@ const sendsparkCatalog = {
7
7
  "category": "Video & Audio",
8
8
  "logo": "https://logos.composio.dev/api/sendspark",
9
9
  "authKind": "keystroke",
10
- "oauthScopes": []
10
+ "oauthScopes": [],
11
+ "credentialFields": {
12
+ "api_key": {
13
+ "label": "Sendspark API Key",
14
+ "secret": true,
15
+ "description": "The API Key specific to your Sendspark workspace."
16
+ },
17
+ "generic_secret": {
18
+ "label": "Sendspark API Secret",
19
+ "secret": true,
20
+ "description": "The API Secret specific to your Sendspark user profile."
21
+ }
22
+ },
23
+ "credentialScheme": "API_KEY"
11
24
  };
12
25
  //#endregion
13
26
  exports.sendsparkCatalog = sendsparkCatalog;
@@ -1 +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"}
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 \"credentialFields\": {\n \"api_key\": {\n \"label\": \"Sendspark API Key\",\n \"secret\": true,\n \"description\": \"The API Key specific to your Sendspark workspace.\"\n },\n \"generic_secret\": {\n \"label\": \"Sendspark API Secret\",\n \"secret\": true,\n \"description\": \"The API Secret specific to your Sendspark user profile.\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,mBAAmB;CAC9B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB;EAClB,WAAW;GACT,SAAS;GACT,UAAU;GACV,eAAe;EACjB;EACA,kBAAkB;GAChB,SAAS;GACT,UAAU;GACV,eAAe;EACjB;CACF;CACA,oBAAoB;AACtB"}
@@ -8,6 +8,19 @@ declare const sendsparkCatalog: {
8
8
  readonly logo: "https://logos.composio.dev/api/sendspark";
9
9
  readonly authKind: "keystroke";
10
10
  readonly oauthScopes: readonly [];
11
+ readonly credentialFields: {
12
+ readonly api_key: {
13
+ readonly label: "Sendspark API Key";
14
+ readonly secret: true;
15
+ readonly description: "The API Key specific to your Sendspark workspace.";
16
+ };
17
+ readonly generic_secret: {
18
+ readonly label: "Sendspark API Secret";
19
+ readonly secret: true;
20
+ readonly description: "The API Secret specific to your Sendspark user profile.";
21
+ };
22
+ };
23
+ readonly credentialScheme: "API_KEY";
11
24
  };
12
25
  //#endregion
13
26
  export { sendsparkCatalog };
@@ -8,6 +8,19 @@ declare const sendsparkCatalog: {
8
8
  readonly logo: "https://logos.composio.dev/api/sendspark";
9
9
  readonly authKind: "keystroke";
10
10
  readonly oauthScopes: readonly [];
11
+ readonly credentialFields: {
12
+ readonly api_key: {
13
+ readonly label: "Sendspark API Key";
14
+ readonly secret: true;
15
+ readonly description: "The API Key specific to your Sendspark workspace.";
16
+ };
17
+ readonly generic_secret: {
18
+ readonly label: "Sendspark API Secret";
19
+ readonly secret: true;
20
+ readonly description: "The API Secret specific to your Sendspark user profile.";
21
+ };
22
+ };
23
+ readonly credentialScheme: "API_KEY";
11
24
  };
12
25
  //#endregion
13
26
  export { sendsparkCatalog };
package/dist/catalog.mjs CHANGED
@@ -7,7 +7,20 @@ const sendsparkCatalog = {
7
7
  "category": "Video & Audio",
8
8
  "logo": "https://logos.composio.dev/api/sendspark",
9
9
  "authKind": "keystroke",
10
- "oauthScopes": []
10
+ "oauthScopes": [],
11
+ "credentialFields": {
12
+ "api_key": {
13
+ "label": "Sendspark API Key",
14
+ "secret": true,
15
+ "description": "The API Key specific to your Sendspark workspace."
16
+ },
17
+ "generic_secret": {
18
+ "label": "Sendspark API Secret",
19
+ "secret": true,
20
+ "description": "The API Secret specific to your Sendspark user profile."
21
+ }
22
+ },
23
+ "credentialScheme": "API_KEY"
11
24
  };
12
25
  //#endregion
13
26
  export { sendsparkCatalog };
@@ -1 +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"}
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 \"credentialFields\": {\n \"api_key\": {\n \"label\": \"Sendspark API Key\",\n \"secret\": true,\n \"description\": \"The API Key specific to your Sendspark workspace.\"\n },\n \"generic_secret\": {\n \"label\": \"Sendspark API Secret\",\n \"secret\": true,\n \"description\": \"The API Secret specific to your Sendspark user profile.\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,mBAAmB;CAC9B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB;EAClB,WAAW;GACT,SAAS;GACT,UAAU;GACV,eAAe;EACjB;EACA,kBAAkB;GAChB,SAAS;GACT,UAAU;GACV,eAAe;EACjB;CACF;CACA,oBAAoB;AACtB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@keystrokehq/sendspark",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
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.4",
34
+ "@keystrokehq/keystroke": ">=0.1.4",
35
35
  "zod": "^4.4.3"
36
36
  },
37
37
  "devDependencies": {