@keystrokehq/sendlane 0.1.5 → 0.1.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (61) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/get-campaigns.cjs +1 -0
  4. package/dist/actions/get-campaigns.cjs.map +1 -1
  5. package/dist/actions/get-campaigns.d.cts +3 -16
  6. package/dist/actions/get-campaigns.d.cts.map +1 -1
  7. package/dist/actions/get-campaigns.d.mts +3 -16
  8. package/dist/actions/get-campaigns.d.mts.map +1 -1
  9. package/dist/actions/get-campaigns.mjs +1 -0
  10. package/dist/actions/get-campaigns.mjs.map +1 -1
  11. package/dist/actions/get-custom-fields.cjs +1 -0
  12. package/dist/actions/get-custom-fields.cjs.map +1 -1
  13. package/dist/actions/get-custom-fields.d.cts +3 -16
  14. package/dist/actions/get-custom-fields.d.cts.map +1 -1
  15. package/dist/actions/get-custom-fields.d.mts +3 -16
  16. package/dist/actions/get-custom-fields.d.mts.map +1 -1
  17. package/dist/actions/get-custom-fields.mjs +1 -0
  18. package/dist/actions/get-custom-fields.mjs.map +1 -1
  19. package/dist/actions/get-lists.cjs +1 -0
  20. package/dist/actions/get-lists.cjs.map +1 -1
  21. package/dist/actions/get-lists.d.cts +3 -16
  22. package/dist/actions/get-lists.d.cts.map +1 -1
  23. package/dist/actions/get-lists.d.mts +3 -16
  24. package/dist/actions/get-lists.d.mts.map +1 -1
  25. package/dist/actions/get-lists.mjs +1 -0
  26. package/dist/actions/get-lists.mjs.map +1 -1
  27. package/dist/actions/list-delete.cjs +1 -0
  28. package/dist/actions/list-delete.cjs.map +1 -1
  29. package/dist/actions/list-delete.d.cts +3 -15
  30. package/dist/actions/list-delete.d.cts.map +1 -1
  31. package/dist/actions/list-delete.d.mts +3 -15
  32. package/dist/actions/list-delete.d.mts.map +1 -1
  33. package/dist/actions/list-delete.mjs +1 -0
  34. package/dist/actions/list-delete.mjs.map +1 -1
  35. package/dist/actions/post-list.cjs +1 -0
  36. package/dist/actions/post-list.cjs.map +1 -1
  37. package/dist/actions/post-list.d.cts +3 -15
  38. package/dist/actions/post-list.d.cts.map +1 -1
  39. package/dist/actions/post-list.d.mts +3 -15
  40. package/dist/actions/post-list.d.mts.map +1 -1
  41. package/dist/actions/post-list.mjs +1 -0
  42. package/dist/actions/post-list.mjs.map +1 -1
  43. package/dist/actions/tag-create.cjs +1 -0
  44. package/dist/actions/tag-create.cjs.map +1 -1
  45. package/dist/actions/tag-create.d.cts +3 -15
  46. package/dist/actions/tag-create.d.cts.map +1 -1
  47. package/dist/actions/tag-create.d.mts +3 -15
  48. package/dist/actions/tag-create.d.mts.map +1 -1
  49. package/dist/actions/tag-create.mjs +1 -0
  50. package/dist/actions/tag-create.mjs.map +1 -1
  51. package/dist/app.cjs +2 -2
  52. package/dist/app.cjs.map +1 -1
  53. package/dist/app.d.cts +4 -6
  54. package/dist/app.d.cts.map +1 -1
  55. package/dist/app.d.mts +4 -6
  56. package/dist/app.d.mts.map +1 -1
  57. package/dist/app.mjs +0 -1
  58. package/dist/app.mjs.map +1 -1
  59. package/dist/index.d.cts +1 -1
  60. package/dist/index.d.mts +1 -1
  61. package/package.json +2 -2
@@ -1 +1 @@
1
- {"version":3,"file":"action.cjs","names":["sendlane","executeSendlaneTool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { sendlane } from \"./app\";\nimport { executeSendlaneTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: z.ZodType;\n },\n) {\n return sendlane.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output as z.ZodTypeAny,\n async run(input) {\n return def.output.parse(await executeSendlaneTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAOA,YAAAA,SAAS,OAAO;EACrB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAMC,gBAAAA,oBAAoB,MAAM,KAAgC,CAAC;EAC3F;CACF,CAAC;AACH"}
1
+ {"version":3,"file":"action.cjs","names":["sendlane","executeSendlaneTool"],"sources":["../src/action.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { sendlane } from \"./app\";\nimport { executeSendlaneTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType, TOutput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: TOutput;\n },\n): AppAction<TInput, TOutput, typeof sendlane.credential> {\n return sendlane.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executeSendlaneTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAOA,SAAgB,OACd,MACA,KAOwD;CACxD,OAAOA,YAAAA,SAAS,OAAO;EACrB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAMC,gBAAAA,oBAAoB,MAAM,KAAgC,CAAC;EAC3F;CACF,CAAC;AACH"}
@@ -1 +1 @@
1
- {"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { sendlane } from \"./app\";\nimport { executeSendlaneTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: z.ZodType;\n },\n) {\n return sendlane.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output as z.ZodTypeAny,\n async run(input) {\n return def.output.parse(await executeSendlaneTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAO,SAAS,OAAO;EACrB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,oBAAoB,MAAM,KAAgC,CAAC;EAC3F;CACF,CAAC;AACH"}
1
+ {"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { sendlane } from \"./app\";\nimport { executeSendlaneTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType, TOutput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: TOutput;\n },\n): AppAction<TInput, TOutput, typeof sendlane.credential> {\n return sendlane.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executeSendlaneTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAOA,SAAgB,OACd,MACA,KAOwD;CACxD,OAAO,SAAS,OAAO;EACrB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,oBAAoB,MAAM,KAAgC,CAAC;EAC3F;CACF,CAAC;AACH"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/get-campaigns.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-campaigns.cjs","names":["z","action"],"sources":["../../src/actions/get-campaigns.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendlaneGetCampaignsInput = z.object({\n page: z.number().int().describe(\"Page number for paginated results (default is 1)\").optional(),\n per_page: z.number().int().describe(\"Number of campaigns per page (default is 100)\").optional(),\n}).describe(\"Request model for retrieving email campaigns with optional pagination.\");\nconst SendlaneGetCampaigns_CampaignSchema = z.object({\n id: z.number().int().describe(\"Unique campaign identifier\").nullable(),\n name: z.string().describe(\"Name of the campaign\").nullable(),\n status: z.string().describe(\"Status of the campaign (e.g., 'Draft', 'Sent')\").nullable().optional(),\n sent_at: z.string().describe(\"Actual send time\").nullable().optional(),\n automation: z.string().describe(\"Associated automation\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the campaign was created\").nullable(),\n updated_at: z.string().describe(\"Timestamp when the campaign was last updated\").nullable(),\n scheduled_at: z.string().describe(\"Scheduled send time\").nullable().optional(),\n}).passthrough().describe(\"Represents an email campaign in Sendlane.\");\nconst SendlaneGetCampaigns_PaginationMetaSchema = z.object({\n to: z.number().int().describe(\"Ending index of results on this page\").nullable().optional(),\n from: z.number().int().describe(\"Starting index of results on this page\").nullable().optional(),\n path: z.string().describe(\"Base path for pagination URLs\").nullable(),\n total: z.number().int().describe(\"Total number of campaigns available\").nullable(),\n per_page: z.number().int().describe(\"Number of items per page\").nullable(),\n last_page: z.number().int().describe(\"Total number of pages available\").nullable(),\n current_page: z.number().int().describe(\"Current page number\").nullable(),\n}).passthrough().describe(\"Metadata about pagination state and totals.\");\nconst SendlaneGetCampaigns_PaginationLinksSchema = z.object({\n last: z.string().describe(\"URL to the last page\").nullable().optional(),\n next: z.string().describe(\"URL to the next page\").nullable().optional(),\n prev: z.string().describe(\"URL to the previous page\").nullable().optional(),\n first: z.string().describe(\"URL to the first page\").nullable().optional(),\n}).passthrough().describe(\"Pagination links for navigating through campaign pages.\");\nexport const SendlaneGetCampaignsOutput = z.object({\n data: z.array(SendlaneGetCampaigns_CampaignSchema).describe(\"Array of campaign objects\"),\n meta: SendlaneGetCampaigns_PaginationMetaSchema.nullable(),\n links: SendlaneGetCampaigns_PaginationLinksSchema.nullable(),\n}).passthrough().describe(\"Response model for retrieving campaigns list with pagination metadata.\");\n\nexport const sendlaneGetCampaigns = action(\"SENDLANE_GET_CAMPAIGNS\", {\n slug: \"sendlane-get-campaigns\",\n name: \"Get Campaigns\",\n description: \"Tool to retrieve a list of email campaigns. Use when you need to fetch all campaigns with optional pagination.\",\n input: SendlaneGetCampaignsInput,\n output: SendlaneGetCampaignsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CAC7F,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;AAChG,CAAC,CAAC,CAAC,SAAS,wEAAwE;AACpF,MAAM,sCAAsCA,IAAAA,EAAE,OAAO;CACnD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACrE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAC3D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrE,YAAYA,IAAAA,EAAE,OAAO,CAAC,C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C,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAAyD;AACnF,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,MAAMA,IAAAA,EAAE,MAAM,mCAAmC,CAAC,CAAC,SAAS,2BAA2B;CACvF,MAAM,0CAA0C,SAAS;CACzD,OAAO,2CAA2C,SAAS;AAC7D,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wEAAwE;AAElG,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-campaigns.cjs","names":["z","action"],"sources":["../../src/actions/get-campaigns.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { sendlane } from \"../app\";\n\nexport const SendlaneGetCampaignsInput = z.object({\n page: z.number().int().describe(\"Page number for paginated results (default is 1)\").optional(),\n per_page: z.number().int().describe(\"Number of campaigns per page (default is 100)\").optional(),\n}).describe(\"Request model for retrieving email campaigns with optional pagination.\");\nconst SendlaneGetCampaigns_CampaignSchema = z.object({\n id: z.number().int().describe(\"Unique campaign identifier\").nullable(),\n name: z.string().describe(\"Name of the campaign\").nullable(),\n status: z.string().describe(\"Status of the campaign (e.g., 'Draft', 'Sent')\").nullable().optional(),\n sent_at: z.string().describe(\"Actual send time\").nullable().optional(),\n automation: z.string().describe(\"Associated automation\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the campaign was created\").nullable(),\n updated_at: z.string().describe(\"Timestamp when the campaign was last updated\").nullable(),\n scheduled_at: z.string().describe(\"Scheduled send time\").nullable().optional(),\n}).passthrough().describe(\"Represents an email campaign in Sendlane.\");\nconst SendlaneGetCampaigns_PaginationMetaSchema = z.object({\n to: z.number().int().describe(\"Ending index of results on this page\").nullable().optional(),\n from: z.number().int().describe(\"Starting index of results on this page\").nullable().optional(),\n path: z.string().describe(\"Base path for pagination URLs\").nullable(),\n total: z.number().int().describe(\"Total number of campaigns available\").nullable(),\n per_page: z.number().int().describe(\"Number of items per page\").nullable(),\n last_page: z.number().int().describe(\"Total number of pages available\").nullable(),\n current_page: z.number().int().describe(\"Current page number\").nullable(),\n}).passthrough().describe(\"Metadata about pagination state and totals.\");\nconst SendlaneGetCampaigns_PaginationLinksSchema = z.object({\n last: z.string().describe(\"URL to the last page\").nullable().optional(),\n next: z.string().describe(\"URL to the next page\").nullable().optional(),\n prev: z.string().describe(\"URL to the previous page\").nullable().optional(),\n first: z.string().describe(\"URL to the first page\").nullable().optional(),\n}).passthrough().describe(\"Pagination links for navigating through campaign pages.\");\nexport const SendlaneGetCampaignsOutput = z.object({\n data: z.array(SendlaneGetCampaigns_CampaignSchema).describe(\"Array of campaign objects\"),\n meta: SendlaneGetCampaigns_PaginationMetaSchema.nullable(),\n links: SendlaneGetCampaigns_PaginationLinksSchema.nullable(),\n}).passthrough().describe(\"Response model for retrieving campaigns list with pagination metadata.\");\n\nexport const sendlaneGetCampaigns: AppAction<\n typeof SendlaneGetCampaignsInput,\n typeof SendlaneGetCampaignsOutput,\n typeof sendlane.credential\n> = action(\"SENDLANE_GET_CAMPAIGNS\", {\n slug: \"sendlane-get-campaigns\",\n name: \"Get Campaigns\",\n description: \"Tool to retrieve a list of email campaigns. Use when you need to fetch all campaigns with optional pagination.\",\n input: SendlaneGetCampaignsInput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AmC,CAAC,CAAC,SAAS,2BAA2B;CACvF,MAAM,0CAA0C,SAAS;CACzD,OAAO,2CAA2C,SAAS;AAC7D,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wEAAwE;AAElG,MAAa,uBAITC,eAAAA,OAAO,0BAA0B;CACnC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { sendlane } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-campaigns.d.ts
@@ -32,22 +34,7 @@ declare const SendlaneGetCampaignsOutput: z.ZodObject<{
32
34
  first: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33
35
  }, z.core.$loose>>;
34
36
  }, z.core.$loose>;
35
- declare const sendlaneGetCampaigns: import("@keystrokehq/action").WorkflowActionDefinition<{
36
- page?: number | undefined;
37
- per_page?: number | undefined;
38
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"sendlane", z.ZodObject<{
39
- connectionId: z.ZodString;
40
- entityId: z.ZodString;
41
- instanceId: z.ZodString;
42
- }, z.core.$strip>, z.ZodObject<{
43
- generic_api_key: z.ZodString;
44
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"sendlane", z.ZodObject<{
45
- connectionId: z.ZodString;
46
- entityId: z.ZodString;
47
- instanceId: z.ZodString;
48
- }, z.core.$strip>, z.ZodObject<{
49
- generic_api_key: z.ZodString;
50
- }, z.core.$strip>>]>;
37
+ declare const sendlaneGetCampaigns: AppAction<typeof SendlaneGetCampaignsInput, typeof SendlaneGetCampaignsOutput, typeof sendlane.credential>;
51
38
  //#endregion
52
39
  export { sendlaneGetCampaigns };
53
40
  //# sourceMappingURL=get-campaigns.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-campaigns.d.cts","names":[],"sources":["../../src/actions/get-campaigns.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;cA6BzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;cAM1B,oBAAA,gCAAoB,wBAAA"}
1
+ {"version":3,"file":"get-campaigns.d.cts","names":[],"sources":["../../src/actions/get-campaigns.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;cA6BzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;cAM1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { sendlane } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-campaigns.d.ts
@@ -32,22 +34,7 @@ declare const SendlaneGetCampaignsOutput: z.ZodObject<{
32
34
  first: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33
35
  }, z.core.$loose>>;
34
36
  }, z.core.$loose>;
35
- declare const sendlaneGetCampaigns: import("@keystrokehq/action").WorkflowActionDefinition<{
36
- page?: number | undefined;
37
- per_page?: number | undefined;
38
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"sendlane", z.ZodObject<{
39
- connectionId: z.ZodString;
40
- entityId: z.ZodString;
41
- instanceId: z.ZodString;
42
- }, z.core.$strip>, z.ZodObject<{
43
- generic_api_key: z.ZodString;
44
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"sendlane", z.ZodObject<{
45
- connectionId: z.ZodString;
46
- entityId: z.ZodString;
47
- instanceId: z.ZodString;
48
- }, z.core.$strip>, z.ZodObject<{
49
- generic_api_key: z.ZodString;
50
- }, z.core.$strip>>]>;
37
+ declare const sendlaneGetCampaigns: AppAction<typeof SendlaneGetCampaignsInput, typeof SendlaneGetCampaignsOutput, typeof sendlane.credential>;
51
38
  //#endregion
52
39
  export { sendlaneGetCampaigns };
53
40
  //# sourceMappingURL=get-campaigns.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-campaigns.d.mts","names":[],"sources":["../../src/actions/get-campaigns.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;cA6BzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;cAM1B,oBAAA,gCAAoB,wBAAA"}
1
+ {"version":3,"file":"get-campaigns.d.mts","names":[],"sources":["../../src/actions/get-campaigns.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;cA6BzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;cAM1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/get-campaigns.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-campaigns.mjs","names":[],"sources":["../../src/actions/get-campaigns.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendlaneGetCampaignsInput = z.object({\n page: z.number().int().describe(\"Page number for paginated results (default is 1)\").optional(),\n per_page: z.number().int().describe(\"Number of campaigns per page (default is 100)\").optional(),\n}).describe(\"Request model for retrieving email campaigns with optional pagination.\");\nconst SendlaneGetCampaigns_CampaignSchema = z.object({\n id: z.number().int().describe(\"Unique campaign identifier\").nullable(),\n name: z.string().describe(\"Name of the campaign\").nullable(),\n status: z.string().describe(\"Status of the campaign (e.g., 'Draft', 'Sent')\").nullable().optional(),\n sent_at: z.string().describe(\"Actual send time\").nullable().optional(),\n automation: z.string().describe(\"Associated automation\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the campaign was created\").nullable(),\n updated_at: z.string().describe(\"Timestamp when the campaign was last updated\").nullable(),\n scheduled_at: z.string().describe(\"Scheduled send time\").nullable().optional(),\n}).passthrough().describe(\"Represents an email campaign in Sendlane.\");\nconst SendlaneGetCampaigns_PaginationMetaSchema = z.object({\n to: z.number().int().describe(\"Ending index of results on this page\").nullable().optional(),\n from: z.number().int().describe(\"Starting index of results on this page\").nullable().optional(),\n path: z.string().describe(\"Base path for pagination URLs\").nullable(),\n total: z.number().int().describe(\"Total number of campaigns available\").nullable(),\n per_page: z.number().int().describe(\"Number of items per page\").nullable(),\n last_page: z.number().int().describe(\"Total number of pages available\").nullable(),\n current_page: z.number().int().describe(\"Current page number\").nullable(),\n}).passthrough().describe(\"Metadata about pagination state and totals.\");\nconst SendlaneGetCampaigns_PaginationLinksSchema = z.object({\n last: z.string().describe(\"URL to the last page\").nullable().optional(),\n next: z.string().describe(\"URL to the next page\").nullable().optional(),\n prev: z.string().describe(\"URL to the previous page\").nullable().optional(),\n first: z.string().describe(\"URL to the first page\").nullable().optional(),\n}).passthrough().describe(\"Pagination links for navigating through campaign pages.\");\nexport const SendlaneGetCampaignsOutput = z.object({\n data: z.array(SendlaneGetCampaigns_CampaignSchema).describe(\"Array of campaign objects\"),\n meta: SendlaneGetCampaigns_PaginationMetaSchema.nullable(),\n links: SendlaneGetCampaigns_PaginationLinksSchema.nullable(),\n}).passthrough().describe(\"Response model for retrieving campaigns list with pagination metadata.\");\n\nexport const sendlaneGetCampaigns = action(\"SENDLANE_GET_CAMPAIGNS\", {\n slug: \"sendlane-get-campaigns\",\n name: \"Get Campaigns\",\n description: \"Tool to retrieve a list of email campaigns. Use when you need to fetch all campaigns with optional pagination.\",\n input: SendlaneGetCampaignsInput,\n output: SendlaneGetCampaignsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4B,EAAE,OAAO;CAChD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAA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AAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CACjF,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CACzE,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACjF,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;AAC1E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AACvE,MAAM,6CAA6C,EAAE,OAAO;CAC1D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAAyD;AAOnF,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAXwC,EAAE,OAAO;EACjD,MAAM,EAAE,MAAM,mCAAmC,CAAC,CAAC,SAAS,2BAA2B;EACvF,MAAM,0CAA0C,SAAS;EACzD,OAAO,2CAA2C,SAAS;CAC7D,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wEAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"get-campaigns.mjs","names":[],"sources":["../../src/actions/get-campaigns.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { sendlane } from \"../app\";\n\nexport const SendlaneGetCampaignsInput = z.object({\n page: z.number().int().describe(\"Page number for paginated results (default is 1)\").optional(),\n per_page: z.number().int().describe(\"Number of campaigns per page (default is 100)\").optional(),\n}).describe(\"Request model for retrieving email campaigns with optional pagination.\");\nconst SendlaneGetCampaigns_CampaignSchema = z.object({\n id: z.number().int().describe(\"Unique campaign identifier\").nullable(),\n name: z.string().describe(\"Name of the campaign\").nullable(),\n status: z.string().describe(\"Status of the campaign (e.g., 'Draft', 'Sent')\").nullable().optional(),\n sent_at: z.string().describe(\"Actual send time\").nullable().optional(),\n automation: z.string().describe(\"Associated automation\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the campaign was created\").nullable(),\n updated_at: z.string().describe(\"Timestamp when the campaign was last updated\").nullable(),\n scheduled_at: z.string().describe(\"Scheduled send time\").nullable().optional(),\n}).passthrough().describe(\"Represents an email campaign in Sendlane.\");\nconst SendlaneGetCampaigns_PaginationMetaSchema = z.object({\n to: z.number().int().describe(\"Ending index of results on this page\").nullable().optional(),\n from: z.number().int().describe(\"Starting index of results on this page\").nullable().optional(),\n path: z.string().describe(\"Base path for pagination URLs\").nullable(),\n total: z.number().int().describe(\"Total number of campaigns available\").nullable(),\n per_page: z.number().int().describe(\"Number of items per page\").nullable(),\n last_page: z.number().int().describe(\"Total number of pages available\").nullable(),\n current_page: z.number().int().describe(\"Current page number\").nullable(),\n}).passthrough().describe(\"Metadata about pagination state and totals.\");\nconst SendlaneGetCampaigns_PaginationLinksSchema = z.object({\n last: z.string().describe(\"URL to the last page\").nullable().optional(),\n next: z.string().describe(\"URL to the next page\").nullable().optional(),\n prev: z.string().describe(\"URL to the previous page\").nullable().optional(),\n first: z.string().describe(\"URL to the first page\").nullable().optional(),\n}).passthrough().describe(\"Pagination links for navigating through campaign pages.\");\nexport const SendlaneGetCampaignsOutput = z.object({\n data: z.array(SendlaneGetCampaigns_CampaignSchema).describe(\"Array of campaign objects\"),\n meta: SendlaneGetCampaigns_PaginationMetaSchema.nullable(),\n links: SendlaneGetCampaigns_PaginationLinksSchema.nullable(),\n}).passthrough().describe(\"Response model for retrieving campaigns list with pagination metadata.\");\n\nexport const sendlaneGetCampaigns: AppAction<\n typeof SendlaneGetCampaignsInput,\n typeof SendlaneGetCampaignsOutput,\n typeof sendlane.credential\n> = action(\"SENDLANE_GET_CAMPAIGNS\", {\n slug: \"sendlane-get-campaigns\",\n name: \"Get Campaigns\",\n description: \"Tool to retrieve a list of email campaigns. Use when you need to fetch all campaigns with optional pagination.\",\n input: SendlaneGetCampaignsInput,\n output: SendlaneGetCampaignsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,4BAA4B,EAAE,OAAO;CAChD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CAC7F,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;AAChG,CAAC,CAAC,CAAC,SAAS,wEAAwE;AACpF,MAAM,sCAAsC,EAAE,OAAO;CACnD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACrE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAC3D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACpF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,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AAS,CAAC,CAAC,SAAS;AAC1E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAAyD;AAOnF,MAAa,uBAIT,OAAO,0BAA0B;CACnC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAfwC,EAAE,OAAO;EACjD,MAAM,EAAE,MAAM,mCAAmC,CAAC,CAAC,SAAS,2BAA2B;EACvF,MAAM,0CAA0C,SAAS;EACzD,OAAO,2CAA2C,SAAS;CAC7D,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wEAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/get-custom-fields.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-custom-fields.cjs","names":["z","action"],"sources":["../../src/actions/get-custom-fields.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendlaneGetCustomFieldsInput = z.object({\n page: z.number().int().describe(\"Page number for pagination. If not specified, defaults to page 1\").optional(),\n per_page: z.number().int().describe(\"Number of results per page. If not specified, the API uses its default limit\").optional(),\n}).describe(\"Request model for retrieving custom fields.\");\nconst SendlaneGetCustomFields_CustomFieldSchema = z.object({\n id: z.number().int().describe(\"Custom field ID\").nullable(),\n tag: z.string().describe(\"Tag used for the custom field\").nullable(),\n name: z.string().describe(\"Name of the custom field\").nullable(),\n created_at: z.string().describe(\"Creation datetime\").nullable(),\n field_type: z.string().describe(\"Type of the custom field\").nullable(),\n updated_at: z.string().describe(\"Last update datetime\").nullable(),\n}).passthrough().describe(\"Represents a custom field in Sendlane.\");\nexport const SendlaneGetCustomFieldsOutput = z.object({\n data: z.array(SendlaneGetCustomFields_CustomFieldSchema).describe(\"List of custom field objects\"),\n}).passthrough().describe(\"Response model for retrieving custom fields.\");\n\nexport const sendlaneGetCustomFields = action(\"SENDLANE_GET_CUSTOM_FIELDS\", {\n slug: \"sendlane-get-custom-fields\",\n name: \"Get Custom Fields\",\n description: \"Retrieve a list of all custom fields in your Sendlane account. Custom fields allow you to store additional contact information beyond the standard fields. Use this tool to discover available custom fields, their IDs, names, tags, and types before creating or updating contacts with custom field data. Supports optional pagination via page and per_page parameters.\",\n input: SendlaneGetCustomFieldsInput,\n output: SendlaneGetCustomFieldsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CAC7G,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;AAC/H,CAAC,CAAC,CAAC,SAAS,6CAA6C;AACzD,MAAM,4CAA4CA,IAAAA,EAAE,OAAO;CACzD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS;CAC1D,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACnE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAC/D,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;CAC9D,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CACrE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;AACnE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAClE,MAAa,gCAAgCA,IAAAA,EAAE,OAAO,EACpD,MAAMA,IAAAA,EAAE,MAAM,yCAAyC,CAAC,CAAC,SAAS,8BAA8B,EAClG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C;AAExE,MAAa,0BAA0BC,eAAAA,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-custom-fields.cjs","names":["z","action"],"sources":["../../src/actions/get-custom-fields.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { sendlane } from \"../app\";\n\nexport const SendlaneGetCustomFieldsInput = z.object({\n page: z.number().int().describe(\"Page number for pagination. If not specified, defaults to page 1\").optional(),\n per_page: z.number().int().describe(\"Number of results per page. If not specified, the API uses its default limit\").optional(),\n}).describe(\"Request model for retrieving custom fields.\");\nconst SendlaneGetCustomFields_CustomFieldSchema = z.object({\n id: z.number().int().describe(\"Custom field ID\").nullable(),\n tag: z.string().describe(\"Tag used for the custom field\").nullable(),\n name: z.string().describe(\"Name of the custom field\").nullable(),\n created_at: z.string().describe(\"Creation datetime\").nullable(),\n field_type: z.string().describe(\"Type of the custom field\").nullable(),\n updated_at: z.string().describe(\"Last update datetime\").nullable(),\n}).passthrough().describe(\"Represents a custom field in Sendlane.\");\nexport const SendlaneGetCustomFieldsOutput = z.object({\n data: z.array(SendlaneGetCustomFields_CustomFieldSchema).describe(\"List of custom field objects\"),\n}).passthrough().describe(\"Response model for retrieving custom fields.\");\n\nexport const sendlaneGetCustomFields: AppAction<\n typeof SendlaneGetCustomFieldsInput,\n typeof SendlaneGetCustomFieldsOutput,\n typeof sendlane.credential\n> = action(\"SENDLANE_GET_CUSTOM_FIELDS\", {\n slug: \"sendlane-get-custom-fields\",\n name: \"Get Custom Fields\",\n description: \"Retrieve a list of all custom fields in your Sendlane account. Custom fields allow you to store additional contact information beyond the standard fields. Use this tool to discover available custom fields, their IDs, names, tags, and types before creating or updating contacts with custom field data. Supports optional pagination via page and per_page parameters.\",\n input: SendlaneGetCustomFieldsInput,\n output: Sendla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q/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-custom-fields.d.ts
@@ -15,22 +17,7 @@ declare const SendlaneGetCustomFieldsOutput: z.ZodObject<{
15
17
  updated_at: z.ZodNullable<z.ZodString>;
16
18
  }, z.core.$loose>>;
17
19
  }, z.core.$loose>;
18
- declare const sendlaneGetCustomFields: import("@keystrokehq/action").WorkflowActionDefinition<{
19
- page?: number | undefined;
20
- per_page?: number | undefined;
21
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"sendlane", z.ZodObject<{
22
- connectionId: z.ZodString;
23
- entityId: z.ZodString;
24
- instanceId: z.ZodString;
25
- }, z.core.$strip>, z.ZodObject<{
26
- generic_api_key: z.ZodString;
27
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"sendlane", z.ZodObject<{
28
- connectionId: z.ZodString;
29
- entityId: z.ZodString;
30
- instanceId: z.ZodString;
31
- }, z.core.$strip>, z.ZodObject<{
32
- generic_api_key: z.ZodString;
33
- }, z.core.$strip>>]>;
20
+ declare const sendlaneGetCustomFields: AppAction<typeof SendlaneGetCustomFieldsInput, typeof SendlaneGetCustomFieldsOutput, typeof sendlane.credential>;
34
21
  //#endregion
35
22
  export { sendlaneGetCustomFields };
36
23
  //# sourceMappingURL=get-custom-fields.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-custom-fields.d.cts","names":[],"sources":["../../src/actions/get-custom-fields.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;cAY5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;cAI7B,uBAAA,gCAAuB,wBAAA"}
1
+ {"version":3,"file":"get-custom-fields.d.cts","names":[],"sources":["../../src/actions/get-custom-fields.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;cAY5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;cAI7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { sendlane } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-custom-fields.d.ts
@@ -15,22 +17,7 @@ declare const SendlaneGetCustomFieldsOutput: z.ZodObject<{
15
17
  updated_at: z.ZodNullable<z.ZodString>;
16
18
  }, z.core.$loose>>;
17
19
  }, z.core.$loose>;
18
- declare const sendlaneGetCustomFields: import("@keystrokehq/action").WorkflowActionDefinition<{
19
- page?: number | undefined;
20
- per_page?: number | undefined;
21
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"sendlane", z.ZodObject<{
22
- connectionId: z.ZodString;
23
- entityId: z.ZodString;
24
- instanceId: z.ZodString;
25
- }, z.core.$strip>, z.ZodObject<{
26
- generic_api_key: z.ZodString;
27
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"sendlane", z.ZodObject<{
28
- connectionId: z.ZodString;
29
- entityId: z.ZodString;
30
- instanceId: z.ZodString;
31
- }, z.core.$strip>, z.ZodObject<{
32
- generic_api_key: z.ZodString;
33
- }, z.core.$strip>>]>;
20
+ declare const sendlaneGetCustomFields: AppAction<typeof SendlaneGetCustomFieldsInput, typeof SendlaneGetCustomFieldsOutput, typeof sendlane.credential>;
34
21
  //#endregion
35
22
  export { sendlaneGetCustomFields };
36
23
  //# sourceMappingURL=get-custom-fields.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-custom-fields.d.mts","names":[],"sources":["../../src/actions/get-custom-fields.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;cAY5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;cAI7B,uBAAA,gCAAuB,wBAAA"}
1
+ {"version":3,"file":"get-custom-fields.d.mts","names":[],"sources":["../../src/actions/get-custom-fields.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;cAY5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;cAI7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/get-custom-fields.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-custom-fields.mjs","names":[],"sources":["../../src/actions/get-custom-fields.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendlaneGetCustomFieldsInput = z.object({\n page: z.number().int().describe(\"Page number for pagination. If not specified, defaults to page 1\").optional(),\n per_page: z.number().int().describe(\"Number of results per page. If not specified, the API uses its default limit\").optional(),\n}).describe(\"Request model for retrieving custom fields.\");\nconst SendlaneGetCustomFields_CustomFieldSchema = z.object({\n id: z.number().int().describe(\"Custom field ID\").nullable(),\n tag: z.string().describe(\"Tag used for the custom field\").nullable(),\n name: z.string().describe(\"Name of the custom field\").nullable(),\n created_at: z.string().describe(\"Creation datetime\").nullable(),\n field_type: z.string().describe(\"Type of the custom field\").nullable(),\n updated_at: z.string().describe(\"Last update datetime\").nullable(),\n}).passthrough().describe(\"Represents a custom field in Sendlane.\");\nexport const SendlaneGetCustomFieldsOutput = z.object({\n data: z.array(SendlaneGetCustomFields_CustomFieldSchema).describe(\"List of custom field objects\"),\n}).passthrough().describe(\"Response model for retrieving custom fields.\");\n\nexport const sendlaneGetCustomFields = action(\"SENDLANE_GET_CUSTOM_FIELDS\", {\n slug: \"sendlane-get-custom-fields\",\n name: \"Get Custom Fields\",\n description: \"Retrieve a list of all custom fields in your Sendlane account. Custom fields allow you to store additional contact information beyond the standard fields. Use this tool to discover available custom fields, their IDs, names, tags, and types before creating or updating contacts with custom field data. Supports optional pagination via page and per_page parameters.\",\n input: SendlaneGetCustomFieldsInput,\n output: SendlaneGetCustomFieldsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+B,EAAE,OAAO;CACnD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CAC7G,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;AAC/H,CAAC,CAAC,CAAC,SAAS,6CAA6C;AACzD,MAAM,4CAA4C,EAAE,OAAO;CACzD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS;CAC1D,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACnE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAC/D,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;CAC9D,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CACrE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;AACnE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAKlE,MAAa,0BAA0B,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT2C,EAAE,OAAO,EACpD,MAAM,EAAE,MAAM,yCAAyC,CAAC,CAAC,SAAS,8BAA8B,EAClG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"get-custom-fields.mjs","names":[],"sources":["../../src/actions/get-custom-fields.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { sendlane } from \"../app\";\n\nexport const SendlaneGetCustomFieldsInput = z.object({\n page: z.number().int().describe(\"Page number for pagination. If not specified, defaults to page 1\").optional(),\n per_page: z.number().int().describe(\"Number of results per page. If not specified, the API uses its default limit\").optional(),\n}).describe(\"Request model for retrieving custom fields.\");\nconst SendlaneGetCustomFields_CustomFieldSchema = z.object({\n id: z.number().int().describe(\"Custom field ID\").nullable(),\n tag: z.string().describe(\"Tag used for the custom field\").nullable(),\n name: z.string().describe(\"Name of the custom field\").nullable(),\n created_at: z.string().describe(\"Creation datetime\").nullable(),\n field_type: z.string().describe(\"Type of the custom field\").nullable(),\n updated_at: z.string().describe(\"Last update datetime\").nullable(),\n}).passthrough().describe(\"Represents a custom field in Sendlane.\");\nexport const SendlaneGetCustomFieldsOutput = z.object({\n data: z.array(SendlaneGetCustomFields_CustomFieldSchema).describe(\"List of custom field objects\"),\n}).passthrough().describe(\"Response model for retrieving custom fields.\");\n\nexport const sendlaneGetCustomFields: AppAction<\n typeof SendlaneGetCustomFieldsInput,\n typeof SendlaneGetCustomFieldsOutput,\n typeof sendlane.credential\n> = action(\"SENDLANE_GET_CUSTOM_FIELDS\", {\n slug: \"sendlane-get-custom-fields\",\n name: \"Get Custom Fields\",\n description: \"Retrieve a list of all custom fields in your Sendlane account. Custom fields allow you to store additional contact information beyond the standard fields. Use this tool to discover available custom fields, their IDs, names, tags, and types before creating or updating contacts with custom field data. Supports optional pagination via page and per_page parameters.\",\n input: SendlaneGetCustomFieldsInput,\n output: SendlaneGetCustomFieldsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,+BAA+B,EAAE,OAAO;CACnD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CAC7G,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;AAC/H,CAAC,CAAC,CAAC,SAAS,6CAA6C;AACzD,MAAM,4CAA4C,EAAE,OAAO;CACzD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS;CAC1D,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACnE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAC/D,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;CAC9D,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CACrE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;AACnE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAKlE,MAAa,0BAIT,OAAO,8BAA8B;CACvC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAb2C,EAAE,OAAO,EACpD,MAAM,EAAE,MAAM,yCAAyC,CAAC,CAAC,SAAS,8BAA8B,EAClG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/get-lists.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-lists.cjs","names":["z","action"],"sources":["../../src/actions/get-lists.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendlaneGetListsInput = z.object({\n page: z.number().int().describe(\"Page number for paginated results (default is 1)\").optional(),\n per_page: z.number().int().describe(\"Number of lists per page (default is 1000)\").optional(),\n}).describe(\"Request model for retrieving all mailing lists. Supports optional pagination.\");\nconst SendlaneGetLists_ListItemSchema = z.object({\n id: z.number().int().describe(\"Unique list identifier\").nullable(),\n name: z.string().describe(\"Name of the contact list\").nullable(),\n status: z.string().describe(\"List status (e.g., Active)\").nullable().optional(),\n flagged: z.boolean().describe(\"Whether the list is flagged\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the list was created\").nullable(),\n description: z.string().describe(\"List description\").nullable().optional(),\n}).passthrough().describe(\"Represents a single mailing list in Sendlane.\");\nconst SendlaneGetLists_PaginationMetaSchema = z.object({\n to: z.number().int().describe(\"Index of last item on current page\").nullable().optional(),\n from: z.number().int().describe(\"Index of first item on current page\").nullable().optional(),\n total: z.number().int().describe(\"Total number of lists available\").nullable(),\n per_page: z.number().int().describe(\"Number of items per page\").nullable(),\n last_page: z.number().int().describe(\"Last page number\").nullable(),\n current_page: z.number().int().describe(\"Current page number\").nullable(),\n}).passthrough().describe(\"Pagination metadata for the current result set.\");\nconst SendlaneGetLists_PaginationLinksSchema = z.object({\n last: z.string().describe(\"URL for the last page\").nullable().optional(),\n next: z.string().describe(\"URL for the next page\").nullable().optional(),\n prev: z.string().describe(\"URL for the previous page\").nullable().optional(),\n first: z.string().describe(\"URL for the first page\").nullable().optional(),\n}).passthrough().describe(\"Pagination links for navigating through results.\");\nexport const SendlaneGetListsOutput = z.object({\n data: z.array(SendlaneGetLists_ListItemSchema).describe(\"Array of mailing list objects\"),\n meta: SendlaneGetLists_PaginationMetaSchema.nullable(),\n links: SendlaneGetLists_PaginationLinksSchema.nullable(),\n}).passthrough().describe(\"Response model for retrieving all mailing lists.\");\n\nexport const sendlaneGetLists = action(\"SENDLANE_GET_LISTS\", {\n slug: \"sendlane-get-lists\",\n name: \"Get Lists\",\n description: \"Tool to retrieve all mailing lists. Use when you need to fetch or display all available contact lists with optional pagination.\",\n input: SendlaneGetListsInput,\n output: SendlaneGetListsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAwBA,IAAAA,EAAE,OAAO;CAC5C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CAC7F,UAAUA,IAAAA,EAA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E,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CAClE,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;AAC1E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAAiD;AAC3E,MAAM,yCAAyCA,IAAAA,EAAE,OAAO;CACtD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAAkD;AAC5E,MAAa,yBAAyBA,IAAAA,EAAE,OAAO;CAC7C,MAAMA,IAAAA,EAAE,MAAM,+BAA+B,CAAC,CAAC,SAAS,+BAA+B;CACvF,MAAM,sCAAsC,SAAS;CACrD,OAAO,uCAAuC,SAAS;AACzD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAAkD;AAE5E,MAAa,mBAAmBC,eAAAA,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-lists.cjs","names":["z","action"],"sources":["../../src/actions/get-lists.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { sendlane } from \"../app\";\n\nexport const SendlaneGetListsInput = z.object({\n page: z.number().int().describe(\"Page number for paginated results (default is 1)\").optional(),\n per_page: z.number().int().describe(\"Number of lists per page (default is 1000)\").optional(),\n}).describe(\"Request model for retrieving all mailing lists. Supports optional pagination.\");\nconst SendlaneGetLists_ListItemSchema = z.object({\n id: z.number().int().describe(\"Unique list identifier\").nullable(),\n name: z.string().describe(\"Name of the contact list\").nullable(),\n status: z.string().describe(\"List status (e.g., Active)\").nullable().optional(),\n flagged: z.boolean().describe(\"Whether the list is flagged\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the list was created\").nullable(),\n description: z.string().describe(\"List description\").nullable().optional(),\n}).passthrough().describe(\"Represents a single mailing list in Sendlane.\");\nconst SendlaneGetLists_PaginationMetaSchema = z.object({\n to: z.number().int().describe(\"Index of last item on current page\").nullable().optional(),\n from: z.number().int().describe(\"Index of first item on current page\").nullable().optional(),\n total: z.number().int().describe(\"Total number of lists available\").nullable(),\n per_page: z.number().int().describe(\"Number of items per page\").nullable(),\n last_page: z.number().int().describe(\"Last page number\").nullable(),\n current_page: z.number().int().describe(\"Current page number\").nullable(),\n}).passthrough().describe(\"Pagination metadata for the current result set.\");\nconst SendlaneGetLists_PaginationLinksSchema = z.object({\n last: z.string().describe(\"URL for the last page\").nullable().optional(),\n next: z.string().describe(\"URL for the next page\").nullable().optional(),\n prev: z.string().describe(\"URL for the previous page\").nullable().optional(),\n first: z.string().describe(\"URL for the first page\").nullable().optional(),\n}).passthrough().describe(\"Pagination links for navigating through results.\");\nexport const SendlaneGetListsOutput = z.object({\n data: z.array(SendlaneGetLists_ListItemSchema).describe(\"Array of mailing list objects\"),\n meta: SendlaneGetLists_PaginationMetaSchema.nullable(),\n links: SendlaneGetLists_PaginationLinksSchema.nullable(),\n}).passthrough().describe(\"Response model for retrieving all mailing lists.\");\n\nexport const sendlaneGetLists: AppAction<\n typeof SendlaneGetListsInput,\n typeof SendlaneGetListsOutput,\n typeof sendlane.credential\n> = action(\"SENDLANE_GET_LISTS\", {\n slug: \"sendlane-get-lists\",\n name: \"Get Lists\",\n description: \"Tool to retrieve all mailing lists. Use when you need to fetch or display all available contact lists with optional pagination.\",\n input: SendlaneGetListsInput,\n output: SendlaneGetListsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,wBAAwBA,IAAAA,EAAE,OAAO;CAC5C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CAC7F,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;AAC7F,CAAC,CAAC,CAAC,SAAS,+EAA+E;AAC3F,MAAM,kCAAkCA,IAAAA,EAAE,OAAO;CAC/C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CACjE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAC/D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAChF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAA+C;AACzE,MAAM,wCAAwCA,IAAAA,EAAE,OAAO;CACrD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,MAAMA,IAAAA,EAAE,OAA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MAAa,mBAITC,eAAAA,OAAO,sBAAsB;CAC/B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { sendlane } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-lists.d.ts
@@ -29,22 +31,7 @@ declare const SendlaneGetListsOutput: z.ZodObject<{
29
31
  first: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30
32
  }, z.core.$loose>>;
31
33
  }, z.core.$loose>;
32
- declare const sendlaneGetLists: import("@keystrokehq/action").WorkflowActionDefinition<{
33
- page?: number | undefined;
34
- per_page?: number | undefined;
35
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"sendlane", z.ZodObject<{
36
- connectionId: z.ZodString;
37
- entityId: z.ZodString;
38
- instanceId: z.ZodString;
39
- }, z.core.$strip>, z.ZodObject<{
40
- generic_api_key: z.ZodString;
41
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"sendlane", z.ZodObject<{
42
- connectionId: z.ZodString;
43
- entityId: z.ZodString;
44
- instanceId: z.ZodString;
45
- }, z.core.$strip>, z.ZodObject<{
46
- generic_api_key: z.ZodString;
47
- }, z.core.$strip>>]>;
34
+ declare const sendlaneGetLists: AppAction<typeof SendlaneGetListsInput, typeof SendlaneGetListsOutput, typeof sendlane.credential>;
48
35
  //#endregion
49
36
  export { sendlaneGetLists };
50
37
  //# sourceMappingURL=get-lists.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-lists.d.cts","names":[],"sources":["../../src/actions/get-lists.ts"],"mappings":";;;cAIa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;cA0BrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;cAMtB,gBAAA,gCAAgB,wBAAA"}
1
+ {"version":3,"file":"get-lists.d.cts","names":[],"sources":["../../src/actions/get-lists.ts"],"mappings":";;;;;cAMa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;cA0BrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;cAMtB,gBAAA,EAAkB,SAAA,QACtB,qBAAA,SACA,sBAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { sendlane } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-lists.d.ts
@@ -29,22 +31,7 @@ declare const SendlaneGetListsOutput: z.ZodObject<{
29
31
  first: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30
32
  }, z.core.$loose>>;
31
33
  }, z.core.$loose>;
32
- declare const sendlaneGetLists: import("@keystrokehq/action").WorkflowActionDefinition<{
33
- page?: number | undefined;
34
- per_page?: number | undefined;
35
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"sendlane", z.ZodObject<{
36
- connectionId: z.ZodString;
37
- entityId: z.ZodString;
38
- instanceId: z.ZodString;
39
- }, z.core.$strip>, z.ZodObject<{
40
- generic_api_key: z.ZodString;
41
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"sendlane", z.ZodObject<{
42
- connectionId: z.ZodString;
43
- entityId: z.ZodString;
44
- instanceId: z.ZodString;
45
- }, z.core.$strip>, z.ZodObject<{
46
- generic_api_key: z.ZodString;
47
- }, z.core.$strip>>]>;
34
+ declare const sendlaneGetLists: AppAction<typeof SendlaneGetListsInput, typeof SendlaneGetListsOutput, typeof sendlane.credential>;
48
35
  //#endregion
49
36
  export { sendlaneGetLists };
50
37
  //# sourceMappingURL=get-lists.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-lists.d.mts","names":[],"sources":["../../src/actions/get-lists.ts"],"mappings":";;;cAIa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;cA0BrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;cAMtB,gBAAA,gCAAgB,wBAAA"}
1
+ {"version":3,"file":"get-lists.d.mts","names":[],"sources":["../../src/actions/get-lists.ts"],"mappings":";;;;;cAMa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;cA0BrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;cAMtB,gBAAA,EAAkB,SAAA,QACtB,qBAAA,SACA,sBAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/get-lists.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-lists.mjs","names":[],"sources":["../../src/actions/get-lists.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendlaneGetListsInput = z.object({\n page: z.number().int().describe(\"Page number for paginated results (default is 1)\").optional(),\n per_page: z.number().int().describe(\"Number of lists per page (default is 1000)\").optional(),\n}).describe(\"Request model for retrieving all mailing lists. Supports optional pagination.\");\nconst SendlaneGetLists_ListItemSchema = z.object({\n id: z.number().int().describe(\"Unique list identifier\").nullable(),\n name: z.string().describe(\"Name of the contact list\").nullable(),\n status: z.string().describe(\"List status (e.g., Active)\").nullable().optional(),\n flagged: z.boolean().describe(\"Whether the list is flagged\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the list was created\").nullable(),\n description: z.string().describe(\"List description\").nullable().optional(),\n}).passthrough().describe(\"Represents a single mailing list in Sendlane.\");\nconst SendlaneGetLists_PaginationMetaSchema = z.object({\n to: z.number().int().describe(\"Index of last item on current page\").nullable().optional(),\n from: z.number().int().describe(\"Index of first item on current page\").nullable().optional(),\n total: z.number().int().describe(\"Total number of lists available\").nullable(),\n per_page: z.number().int().describe(\"Number of items per page\").nullable(),\n last_page: z.number().int().describe(\"Last page number\").nullable(),\n current_page: z.number().int().describe(\"Current page number\").nullable(),\n}).passthrough().describe(\"Pagination metadata for the current result set.\");\nconst SendlaneGetLists_PaginationLinksSchema = z.object({\n last: z.string().describe(\"URL for the last page\").nullable().optional(),\n next: z.string().describe(\"URL for the next page\").nullable().optional(),\n prev: z.string().describe(\"URL for the previous page\").nullable().optional(),\n first: z.string().describe(\"URL for the first page\").nullable().optional(),\n}).passthrough().describe(\"Pagination links for navigating through results.\");\nexport const SendlaneGetListsOutput = z.object({\n data: z.array(SendlaneGetLists_ListItemSchema).describe(\"Array of mailing list objects\"),\n meta: SendlaneGetLists_PaginationMetaSchema.nullable(),\n links: SendlaneGetLists_PaginationLinksSchema.nullable(),\n}).passthrough().describe(\"Response model for retrieving all mailing lists.\");\n\nexport const sendlaneGetLists = action(\"SENDLANE_GET_LISTS\", {\n slug: \"sendlane-get-lists\",\n name: \"Get Lists\",\n description: \"Tool to retrieve all mailing lists. Use when you need to fetch or display all available contact lists with optional pagination.\",\n input: SendlaneGetListsInput,\n output: SendlaneGetListsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAwB,EAAE,OAAO;CAC5C,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CAC7F,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;AAC7F,CAAC,CAAC,CAAC,SAAS,+EAA+E;AAC3F,MAAM,kCAAkC,EAAE,OAAO;CAC/C,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CACjE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAC/D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,SAAS,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AC3E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAAkD;AAO5E,MAAa,mBAAmB,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAXoC,EAAE,OAAO;EAC7C,MAAM,EAAE,MAAM,+BAA+B,CAAC,CAAC,SAAS,+BAA+B;EACvF,MAAM,sCAAsC,SAAS;EACrD,OAAO,uCAAuC,SAAS;CACzD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"get-lists.mjs","names":[],"sources":["../../src/actions/get-lists.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { sendlane } from \"../app\";\n\nexport const SendlaneGetListsInput = z.object({\n page: z.number().int().describe(\"Page number for paginated results (default is 1)\").optional(),\n per_page: z.number().int().describe(\"Number of lists per page (default is 1000)\").optional(),\n}).describe(\"Request model for retrieving all mailing lists. Supports optional pagination.\");\nconst SendlaneGetLists_ListItemSchema = z.object({\n id: z.number().int().describe(\"Unique list identifier\").nullable(),\n name: z.string().describe(\"Name of the contact list\").nullable(),\n status: z.string().describe(\"List status (e.g., Active)\").nullable().optional(),\n flagged: z.boolean().describe(\"Whether the list is flagged\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the list was created\").nullable(),\n description: z.string().describe(\"List description\").nullable().optional(),\n}).passthrough().describe(\"Represents a single mailing list in Sendlane.\");\nconst SendlaneGetLists_PaginationMetaSchema = z.object({\n to: z.number().int().describe(\"Index of last item on current page\").nullable().optional(),\n from: z.number().int().describe(\"Index of first item on current page\").nullable().optional(),\n total: z.number().int().describe(\"Total number of lists available\").nullable(),\n per_page: z.number().int().describe(\"Number of items per page\").nullable(),\n last_page: z.number().int().describe(\"Last page number\").nullable(),\n current_page: z.number().int().describe(\"Current page number\").nullable(),\n}).passthrough().describe(\"Pagination metadata for the current result set.\");\nconst SendlaneGetLists_PaginationLinksSchema = z.object({\n last: z.string().describe(\"URL for the last page\").nullable().optional(),\n next: z.string().describe(\"URL for the next page\").nullable().optional(),\n prev: z.string().describe(\"URL for the previous page\").nullable().optional(),\n first: z.string().describe(\"URL for the first page\").nullable().optional(),\n}).passthrough().describe(\"Pagination links for navigating through results.\");\nexport const SendlaneGetListsOutput = z.object({\n data: z.array(SendlaneGetLists_ListItemSchema).describe(\"Array of mailing list objects\"),\n meta: SendlaneGetLists_PaginationMetaSchema.nullable(),\n links: SendlaneGetLists_PaginationLinksSchema.nullable(),\n}).passthrough().describe(\"Response model for retrieving all mailing lists.\");\n\nexport const sendlaneGetLists: AppAction<\n typeof SendlaneGetListsInput,\n typeof SendlaneGetListsOutput,\n typeof sendlane.credential\n> = action(\"SENDLANE_GET_LISTS\", {\n slug: \"sendlane-get-lists\",\n name: \"Get Lists\",\n description: \"Tool to retrieve all mailing lists. Use when you need to fetch or display all available contact lists with optional pagination.\",\n input: SendlaneGetListsInput,\n output: SendlaneGetListsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,wBAAwB,EAAE,OAAO;CAC5C,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CAC7F,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;AAC7F,CAAC,CAAC,CAAC,SAAS,+EAA+E;AAC3F,MAAM,kCAAkC,EAAE,OAAO;CAC/C,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CACjE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAC/D,QAAQ,EAAE,OAAO,CAAC,CAAC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,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAAkD;AAO5E,MAAa,mBAIT,OAAO,sBAAsB;CAC/B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAfoC,EAAE,OAAO;EAC7C,MAAM,EAAE,MAAM,+BAA+B,CAAC,CAAC,SAAS,+BAA+B;EACvF,MAAM,sCAAsC,SAAS;EACrD,OAAO,uCAAuC,SAAS;CACzD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/list-delete.ts
@@ -1 +1 @@
1
- {"version":3,"file":"list-delete.cjs","names":["z","action"],"sources":["../../src/actions/list-delete.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendlaneListDeleteInput = z.object({\n list_id: z.number().int().describe(\"ID of the mailing list to delete.\"),\n}).describe(\"Request schema for deleting a list.\");\nexport const SendlaneListDeleteOutput = z.object({\n success: z.boolean().default(true).describe(\"Indicates the delete operation was successful.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for delete list operation.\");\n\nexport const sendlaneListDelete = action(\"SENDLANE_LIST_DELETE\", {\n slug: \"sendlane-list-delete\",\n name: \"Delete List\",\n description: \"Tool to delete a mailing list. Use when you need to remove an unwanted list after confirming its list_id.\",\n input: SendlaneListDeleteInput,\n output: SendlaneListDeleteOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,EAC9C,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,EACxE,CAAC,CAAC,CAAC,SAAS,qCAAqC;AACjD,MAAa,2BAA2BA,IAAAA,EAAE,OAAO,EAC/C,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACpH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AAEtE,MAAa,qBAAqBC,eAAAA,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-delete.cjs","names":["z","action"],"sources":["../../src/actions/list-delete.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { sendlane } from \"../app\";\n\nexport const SendlaneListDeleteInput = z.object({\n list_id: z.number().int().describe(\"ID of the mailing list to delete.\"),\n}).describe(\"Request schema for deleting a list.\");\nexport const SendlaneListDeleteOutput = z.object({\n success: z.boolean().default(true).describe(\"Indicates the delete operation was successful.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for delete list operation.\");\n\nexport const sendlaneListDelete: AppAction<\n typeof SendlaneListDeleteInput,\n typeof SendlaneListDeleteOutput,\n typeof sendlane.credential\n> = action(\"SENDLANE_LIST_DELETE\", {\n slug: \"sendlane-list-delete\",\n name: \"Delete List\",\n description: \"Tool to delete a mailing list. Use when you need to remove an unwanted list after confirming its list_id.\",\n input: SendlaneListDeleteInput,\n output: SendlaneListDeleteOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,EAC9C,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,EACxE,CAAC,CAAC,CAAC,SAAS,qCAAqC;AACjD,MAAa,2BAA2BA,IAAAA,EAAE,OAAO,EAC/C,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACpH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AAEtE,MAAa,qBAITC,eAAAA,OAAO,wBAAwB;CACjC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { sendlane } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/list-delete.d.ts
@@ -7,21 +9,7 @@ declare const SendlaneListDeleteInput: z.ZodObject<{
7
9
  declare const SendlaneListDeleteOutput: z.ZodObject<{
8
10
  success: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
9
11
  }, z.core.$loose>;
10
- declare const sendlaneListDelete: import("@keystrokehq/action").WorkflowActionDefinition<{
11
- list_id: number;
12
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"sendlane", z.ZodObject<{
13
- connectionId: z.ZodString;
14
- entityId: z.ZodString;
15
- instanceId: z.ZodString;
16
- }, z.core.$strip>, z.ZodObject<{
17
- generic_api_key: z.ZodString;
18
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"sendlane", z.ZodObject<{
19
- connectionId: z.ZodString;
20
- entityId: z.ZodString;
21
- instanceId: z.ZodString;
22
- }, z.core.$strip>, z.ZodObject<{
23
- generic_api_key: z.ZodString;
24
- }, z.core.$strip>>]>;
12
+ declare const sendlaneListDelete: AppAction<typeof SendlaneListDeleteInput, typeof SendlaneListDeleteOutput, typeof sendlane.credential>;
25
13
  //#endregion
26
14
  export { sendlaneListDelete };
27
15
  //# sourceMappingURL=list-delete.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-delete.d.cts","names":[],"sources":["../../src/actions/list-delete.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;cAGvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;cAIxB,kBAAA,gCAAkB,wBAAA"}
1
+ {"version":3,"file":"list-delete.d.cts","names":[],"sources":["../../src/actions/list-delete.ts"],"mappings":";;;;;cAMa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;cAGvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;cAIxB,kBAAA,EAAoB,SAAA,QACxB,uBAAA,SACA,wBAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { sendlane } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/list-delete.d.ts
@@ -7,21 +9,7 @@ declare const SendlaneListDeleteInput: z.ZodObject<{
7
9
  declare const SendlaneListDeleteOutput: z.ZodObject<{
8
10
  success: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
9
11
  }, z.core.$loose>;
10
- declare const sendlaneListDelete: import("@keystrokehq/action").WorkflowActionDefinition<{
11
- list_id: number;
12
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"sendlane", z.ZodObject<{
13
- connectionId: z.ZodString;
14
- entityId: z.ZodString;
15
- instanceId: z.ZodString;
16
- }, z.core.$strip>, z.ZodObject<{
17
- generic_api_key: z.ZodString;
18
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"sendlane", z.ZodObject<{
19
- connectionId: z.ZodString;
20
- entityId: z.ZodString;
21
- instanceId: z.ZodString;
22
- }, z.core.$strip>, z.ZodObject<{
23
- generic_api_key: z.ZodString;
24
- }, z.core.$strip>>]>;
12
+ declare const sendlaneListDelete: AppAction<typeof SendlaneListDeleteInput, typeof SendlaneListDeleteOutput, typeof sendlane.credential>;
25
13
  //#endregion
26
14
  export { sendlaneListDelete };
27
15
  //# sourceMappingURL=list-delete.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-delete.d.mts","names":[],"sources":["../../src/actions/list-delete.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;cAGvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;cAIxB,kBAAA,gCAAkB,wBAAA"}
1
+ {"version":3,"file":"list-delete.d.mts","names":[],"sources":["../../src/actions/list-delete.ts"],"mappings":";;;;;cAMa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;cAGvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;cAIxB,kBAAA,EAAoB,SAAA,QACxB,uBAAA,SACA,wBAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const sendlaneListDelete = action("SENDLANE_LIST_DELETE", {
@@ -1 +1 @@
1
- {"version":3,"file":"list-delete.mjs","names":[],"sources":["../../src/actions/list-delete.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendlaneListDeleteInput = z.object({\n list_id: z.number().int().describe(\"ID of the mailing list to delete.\"),\n}).describe(\"Request schema for deleting a list.\");\nexport const SendlaneListDeleteOutput = z.object({\n success: z.boolean().default(true).describe(\"Indicates the delete operation was successful.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for delete list operation.\");\n\nexport const sendlaneListDelete = action(\"SENDLANE_LIST_DELETE\", {\n slug: \"sendlane-list-delete\",\n name: \"Delete List\",\n description: \"Tool to delete a mailing list. Use when you need to remove an unwanted list after confirming its list_id.\",\n input: SendlaneListDeleteInput,\n output: SendlaneListDeleteOutput,\n});\n"],"mappings":";;AAWA,MAAa,qBAAqB,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAXqC,EAAE,OAAO,EAC9C,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,EACxE,CAAC,CAAC,CAAC,SAAS,qCASH;CACP,QATsC,EAAE,OAAO,EAC/C,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACpH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"list-delete.mjs","names":[],"sources":["../../src/actions/list-delete.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { sendlane } from \"../app\";\n\nexport const SendlaneListDeleteInput = z.object({\n list_id: z.number().int().describe(\"ID of the mailing list to delete.\"),\n}).describe(\"Request schema for deleting a list.\");\nexport const SendlaneListDeleteOutput = z.object({\n success: z.boolean().default(true).describe(\"Indicates the delete operation was successful.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for delete list operation.\");\n\nexport const sendlaneListDelete: AppAction<\n typeof SendlaneListDeleteInput,\n typeof SendlaneListDeleteOutput,\n typeof sendlane.credential\n> = action(\"SENDLANE_LIST_DELETE\", {\n slug: \"sendlane-list-delete\",\n name: \"Delete List\",\n description: \"Tool to delete a mailing list. Use when you need to remove an unwanted list after confirming its list_id.\",\n input: SendlaneListDeleteInput,\n output: SendlaneListDeleteOutput,\n});\n"],"mappings":";;;AAaA,MAAa,qBAIT,OAAO,wBAAwB;CACjC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAfqC,EAAE,OAAO,EAC9C,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,EACxE,CAAC,CAAC,CAAC,SAAS,qCAaH;CACP,QAbsC,EAAE,OAAO,EAC/C,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACpH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/post-list.ts
@@ -1 +1 @@
1
- {"version":3,"file":"post-list.cjs","names":["z","action"],"sources":["../../src/actions/post-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendlanePostListInput = z.object({\n name: z.string().describe(\"The name of the list. This should be a descriptive, unique identifier for the mailing list (e.g., 'VIP Customers', 'Weekly Newsletter', 'Product Launch 2026').\"),\n}).describe(\"Request schema for creating a new list.\");\nconst SendlanePostList_PostListResponseDataSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the new list.\").nullable(),\n name: z.string().describe(\"Name of the list.\").nullable(),\n status: z.string().describe(\"List status (e.g., Active).\").nullable().optional(),\n flagged: z.boolean().describe(\"Whether the list is flagged.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp of creation.\").nullable(),\n description: z.string().describe(\"List description.\").nullable().optional(),\n}).passthrough().describe(\"Details of the created list.\");\nexport const SendlanePostListOutput = z.object({\n data: SendlanePostList_PostListResponseDataSchema.nullable(),\n}).passthrough().describe(\"Response schema for creating a list.\");\n\nexport const sendlanePostList = action(\"SENDLANE_POST_LIST\", {\n slug: \"sendlane-post-list\",\n name: \"Create List\",\n description: \"Tool to create a new list. Use when you need to add a brand-new mailing list before sending campaigns.\",\n input: SendlanePostListInput,\n output: SendlanePostListOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAwBA,IAAAA,EAAE,OAAO,EAC5C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iKAAiK,EAC7L,CAAC,CAAC,CAAC,SAAS,yCAAyC;AACrD,MAAM,8CAA8CA,IAAAA,EAAE,OAAO;CAC3D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC7E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;CACxD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CACnE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8BAA8B;AACxD,MAAa,yBAAyBA,IAAAA,EAAE,OAAO,EAC7C,MAAM,4CAA4C,SAAS,EAC7D,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAAsC;AAEhE,MAAa,mBAAmBC,eAAAA,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"post-list.cjs","names":["z","action"],"sources":["../../src/actions/post-list.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { sendlane } from \"../app\";\n\nexport const SendlanePostListInput = z.object({\n name: z.string().describe(\"The name of the list. This should be a descriptive, unique identifier for the mailing list (e.g., 'VIP Customers', 'Weekly Newsletter', 'Product Launch 2026').\"),\n}).describe(\"Request schema for creating a new list.\");\nconst SendlanePostList_PostListResponseDataSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the new list.\").nullable(),\n name: z.string().describe(\"Name of the list.\").nullable(),\n status: z.string().describe(\"List status (e.g., Active).\").nullable().optional(),\n flagged: z.boolean().describe(\"Whether the list is flagged.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp of creation.\").nullable(),\n description: z.string().describe(\"List description.\").nullable().optional(),\n}).passthrough().describe(\"Details of the created list.\");\nexport const SendlanePostListOutput = z.object({\n data: SendlanePostList_PostListResponseDataSchema.nullable(),\n}).passthrough().describe(\"Response schema for creating a list.\");\n\nexport const sendlanePostList: AppAction<\n typeof SendlanePostListInput,\n typeof SendlanePostListOutput,\n typeof sendlane.credential\n> = action(\"SENDLANE_POST_LIST\", {\n slug: \"sendlane-post-list\",\n name: \"Create List\",\n description: \"Tool to create a new list. Use when you need to add a brand-new mailing list before sending campaigns.\",\n input: SendlanePostListInput,\n output: SendlanePostListOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,wBAAwBA,IAAAA,EAAE,OAAO,EAC5C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iKAAiK,EAC7L,CAAC,CAAC,CAAC,SAAS,yCAAyC;AACrD,MAAM,8CAA8CA,IAAAA,EAAE,OAAO;CAC3D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC7E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;CACxD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CACnE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8BAA8B;AACxD,MAAa,yBAAyBA,IAAAA,EAAE,OAAO,EAC7C,MAAM,4CAA4C,SAAS,EAC7D,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAAsC;AAEhE,MAAa,mBAITC,eAAAA,OAAO,sBAAsB;CAC/B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { sendlane } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/post-list.d.ts
@@ -14,21 +16,7 @@ declare const SendlanePostListOutput: z.ZodObject<{
14
16
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
17
  }, z.core.$loose>>;
16
18
  }, z.core.$loose>;
17
- declare const sendlanePostList: import("@keystrokehq/action").WorkflowActionDefinition<{
18
- name: string;
19
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"sendlane", z.ZodObject<{
20
- connectionId: z.ZodString;
21
- entityId: z.ZodString;
22
- instanceId: z.ZodString;
23
- }, z.core.$strip>, z.ZodObject<{
24
- generic_api_key: z.ZodString;
25
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"sendlane", z.ZodObject<{
26
- connectionId: z.ZodString;
27
- entityId: z.ZodString;
28
- instanceId: z.ZodString;
29
- }, z.core.$strip>, z.ZodObject<{
30
- generic_api_key: z.ZodString;
31
- }, z.core.$strip>>]>;
19
+ declare const sendlanePostList: AppAction<typeof SendlanePostListInput, typeof SendlanePostListOutput, typeof sendlane.credential>;
32
20
  //#endregion
33
21
  export { sendlanePostList };
34
22
  //# sourceMappingURL=post-list.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"post-list.d.cts","names":[],"sources":["../../src/actions/post-list.ts"],"mappings":";;;cAIa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;cAWrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;cAItB,gBAAA,gCAAgB,wBAAA"}
1
+ {"version":3,"file":"post-list.d.cts","names":[],"sources":["../../src/actions/post-list.ts"],"mappings":";;;;;cAMa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;cAWrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;cAItB,gBAAA,EAAkB,SAAA,QACtB,qBAAA,SACA,sBAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { sendlane } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/post-list.d.ts
@@ -14,21 +16,7 @@ declare const SendlanePostListOutput: z.ZodObject<{
14
16
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
17
  }, z.core.$loose>>;
16
18
  }, z.core.$loose>;
17
- declare const sendlanePostList: import("@keystrokehq/action").WorkflowActionDefinition<{
18
- name: string;
19
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"sendlane", z.ZodObject<{
20
- connectionId: z.ZodString;
21
- entityId: z.ZodString;
22
- instanceId: z.ZodString;
23
- }, z.core.$strip>, z.ZodObject<{
24
- generic_api_key: z.ZodString;
25
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"sendlane", z.ZodObject<{
26
- connectionId: z.ZodString;
27
- entityId: z.ZodString;
28
- instanceId: z.ZodString;
29
- }, z.core.$strip>, z.ZodObject<{
30
- generic_api_key: z.ZodString;
31
- }, z.core.$strip>>]>;
19
+ declare const sendlanePostList: AppAction<typeof SendlanePostListInput, typeof SendlanePostListOutput, typeof sendlane.credential>;
32
20
  //#endregion
33
21
  export { sendlanePostList };
34
22
  //# sourceMappingURL=post-list.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"post-list.d.mts","names":[],"sources":["../../src/actions/post-list.ts"],"mappings":";;;cAIa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;cAWrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;cAItB,gBAAA,gCAAgB,wBAAA"}
1
+ {"version":3,"file":"post-list.d.mts","names":[],"sources":["../../src/actions/post-list.ts"],"mappings":";;;;;cAMa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;cAWrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;cAItB,gBAAA,EAAkB,SAAA,QACtB,qBAAA,SACA,sBAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/post-list.ts
@@ -1 +1 @@
1
- {"version":3,"file":"post-list.mjs","names":[],"sources":["../../src/actions/post-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendlanePostListInput = z.object({\n name: z.string().describe(\"The name of the list. This should be a descriptive, unique identifier for the mailing list (e.g., 'VIP Customers', 'Weekly Newsletter', 'Product Launch 2026').\"),\n}).describe(\"Request schema for creating a new list.\");\nconst SendlanePostList_PostListResponseDataSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the new list.\").nullable(),\n name: z.string().describe(\"Name of the list.\").nullable(),\n status: z.string().describe(\"List status (e.g., Active).\").nullable().optional(),\n flagged: z.boolean().describe(\"Whether the list is flagged.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp of creation.\").nullable(),\n description: z.string().describe(\"List description.\").nullable().optional(),\n}).passthrough().describe(\"Details of the created list.\");\nexport const SendlanePostListOutput = z.object({\n data: SendlanePostList_PostListResponseDataSchema.nullable(),\n}).passthrough().describe(\"Response schema for creating a list.\");\n\nexport const sendlanePostList = action(\"SENDLANE_POST_LIST\", {\n slug: \"sendlane-post-list\",\n name: \"Create List\",\n description: \"Tool to create a new list. Use when you need to add a brand-new mailing list before sending campaigns.\",\n input: SendlanePostListInput,\n output: SendlanePostListOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAwB,EAAE,OAAO,EAC5C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iKAAiK,EAC7L,CAAC,CAAC,CAAC,SAAS,yCAAyC;AACrD,MAAM,8CAA8C,EAAE,OAAO;CAC3D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC7E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;CACxD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CACnE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8BAA8B;AAKxD,MAAa,mBAAmB,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAToC,EAAE,OAAO,EAC7C,MAAM,4CAA4C,SAAS,EAC7D,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"post-list.mjs","names":[],"sources":["../../src/actions/post-list.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { sendlane } from \"../app\";\n\nexport const SendlanePostListInput = z.object({\n name: z.string().describe(\"The name of the list. This should be a descriptive, unique identifier for the mailing list (e.g., 'VIP Customers', 'Weekly Newsletter', 'Product Launch 2026').\"),\n}).describe(\"Request schema for creating a new list.\");\nconst SendlanePostList_PostListResponseDataSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the new list.\").nullable(),\n name: z.string().describe(\"Name of the list.\").nullable(),\n status: z.string().describe(\"List status (e.g., Active).\").nullable().optional(),\n flagged: z.boolean().describe(\"Whether the list is flagged.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp of creation.\").nullable(),\n description: z.string().describe(\"List description.\").nullable().optional(),\n}).passthrough().describe(\"Details of the created list.\");\nexport const SendlanePostListOutput = z.object({\n data: SendlanePostList_PostListResponseDataSchema.nullable(),\n}).passthrough().describe(\"Response schema for creating a list.\");\n\nexport const sendlanePostList: AppAction<\n typeof SendlanePostListInput,\n typeof SendlanePostListOutput,\n typeof sendlane.credential\n> = action(\"SENDLANE_POST_LIST\", {\n slug: \"sendlane-post-list\",\n name: \"Create List\",\n description: \"Tool to create a new list. Use when you need to add a brand-new mailing list before sending campaigns.\",\n input: SendlanePostListInput,\n output: SendlanePostListOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,wBAAwB,EAAE,OAAO,EAC5C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iKAAiK,EAC7L,CAAC,CAAC,CAAC,SAAS,yCAAyC;AACrD,MAAM,8CAA8C,EAAE,OAAO;CAC3D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC7E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;CACxD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CACnE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8BAA8B;AAKxD,MAAa,mBAIT,OAAO,sBAAsB;CAC/B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAboC,EAAE,OAAO,EAC7C,MAAM,4CAA4C,SAAS,EAC7D,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/tag-create.ts
@@ -1 +1 @@
1
- {"version":3,"file":"tag-create.cjs","names":["z","action"],"sources":["../../src/actions/tag-create.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendlaneTagCreateInput = z.object({\n name: z.string().describe(\"Name for the new tag.\"),\n}).describe(\"Request schema for creating a tag.\");\nconst SendlaneTagCreate_TagDataSchema = z.object({\n id: z.number().int().describe(\"Unique tag identifier.\").nullable(),\n name: z.string().describe(\"Name of the tag.\").nullable(),\n created_at: z.string().describe(\"Timestamp when the tag was created.\").nullable(),\n audience_count: z.number().int().default(0).describe(\"Number of contacts with this tag.\").nullable().optional(),\n}).passthrough().describe(\"Tag object returned after creation.\");\nexport const SendlaneTagCreateOutput = z.object({\n data: SendlaneTagCreate_TagDataSchema.nullable(),\n}).passthrough().describe(\"Response schema for tag creation.\");\n\nexport const sendlaneTagCreate = action(\"SENDLANE_TAG_CREATE\", {\n slug: \"sendlane-tag-create\",\n name: \"Create Tag\",\n description: \"Tool to create a new tag. Use when you need to segment subscribers using labels.\",\n input: SendlaneTagCreateInput,\n output: SendlaneTagCreateOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyBA,IAAAA,EAAE,OAAO,EAC7C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,EACnD,CAAC,CAAC,CAAC,SAAS,oCAAoC;AAChD,MAAM,kCAAkCA,IAAAA,EAAE,OAAO;CAC/C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CACjE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CACvD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAChF,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qCAAqC;AAC/D,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,EAC9C,MAAM,gCAAgC,SAAS,EACjD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mCAAmC;AAE7D,MAAa,oBAAoBC,eAAAA,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"tag-create.cjs","names":["z","action"],"sources":["../../src/actions/tag-create.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { sendlane } from \"../app\";\n\nexport const SendlaneTagCreateInput = z.object({\n name: z.string().describe(\"Name for the new tag.\"),\n}).describe(\"Request schema for creating a tag.\");\nconst SendlaneTagCreate_TagDataSchema = z.object({\n id: z.number().int().describe(\"Unique tag identifier.\").nullable(),\n name: z.string().describe(\"Name of the tag.\").nullable(),\n created_at: z.string().describe(\"Timestamp when the tag was created.\").nullable(),\n audience_count: z.number().int().default(0).describe(\"Number of contacts with this tag.\").nullable().optional(),\n}).passthrough().describe(\"Tag object returned after creation.\");\nexport const SendlaneTagCreateOutput = z.object({\n data: SendlaneTagCreate_TagDataSchema.nullable(),\n}).passthrough().describe(\"Response schema for tag creation.\");\n\nexport const sendlaneTagCreate: AppAction<\n typeof SendlaneTagCreateInput,\n typeof SendlaneTagCreateOutput,\n typeof sendlane.credential\n> = action(\"SENDLANE_TAG_CREATE\", {\n slug: \"sendlane-tag-create\",\n name: \"Create Tag\",\n description: \"Tool to create a new tag. Use when you need to segment subscribers using labels.\",\n input: SendlaneTagCreateInput,\n output: SendlaneTagCreateOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,yBAAyBA,IAAAA,EAAE,OAAO,EAC7C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,EACnD,CAAC,CAAC,CAAC,SAAS,oCAAoC;AAChD,MAAM,kCAAkCA,IAAAA,EAAE,OAAO;CAC/C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CACjE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CACvD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAChF,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qCAAqC;AAC/D,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,EAC9C,MAAM,gCAAgC,SAAS,EACjD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mCAAmC;AAE7D,MAAa,oBAITC,eAAAA,OAAO,uBAAuB;CAChC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { sendlane } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/tag-create.d.ts
@@ -12,21 +14,7 @@ declare const SendlaneTagCreateOutput: z.ZodObject<{
12
14
  audience_count: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
13
15
  }, z.core.$loose>>;
14
16
  }, z.core.$loose>;
15
- declare const sendlaneTagCreate: import("@keystrokehq/action").WorkflowActionDefinition<{
16
- name: string;
17
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"sendlane", z.ZodObject<{
18
- connectionId: z.ZodString;
19
- entityId: z.ZodString;
20
- instanceId: z.ZodString;
21
- }, z.core.$strip>, z.ZodObject<{
22
- generic_api_key: z.ZodString;
23
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"sendlane", z.ZodObject<{
24
- connectionId: z.ZodString;
25
- entityId: z.ZodString;
26
- instanceId: z.ZodString;
27
- }, z.core.$strip>, z.ZodObject<{
28
- generic_api_key: z.ZodString;
29
- }, z.core.$strip>>]>;
17
+ declare const sendlaneTagCreate: AppAction<typeof SendlaneTagCreateInput, typeof SendlaneTagCreateOutput, typeof sendlane.credential>;
30
18
  //#endregion
31
19
  export { sendlaneTagCreate };
32
20
  //# sourceMappingURL=tag-create.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"tag-create.d.cts","names":[],"sources":["../../src/actions/tag-create.ts"],"mappings":";;;cAIa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;cAStB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;cAIvB,iBAAA,gCAAiB,wBAAA"}
1
+ {"version":3,"file":"tag-create.d.cts","names":[],"sources":["../../src/actions/tag-create.ts"],"mappings":";;;;;cAMa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;cAStB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;cAIvB,iBAAA,EAAmB,SAAA,QACvB,sBAAA,SACA,uBAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { sendlane } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/tag-create.d.ts
@@ -12,21 +14,7 @@ declare const SendlaneTagCreateOutput: z.ZodObject<{
12
14
  audience_count: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
13
15
  }, z.core.$loose>>;
14
16
  }, z.core.$loose>;
15
- declare const sendlaneTagCreate: import("@keystrokehq/action").WorkflowActionDefinition<{
16
- name: string;
17
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"sendlane", z.ZodObject<{
18
- connectionId: z.ZodString;
19
- entityId: z.ZodString;
20
- instanceId: z.ZodString;
21
- }, z.core.$strip>, z.ZodObject<{
22
- generic_api_key: z.ZodString;
23
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"sendlane", z.ZodObject<{
24
- connectionId: z.ZodString;
25
- entityId: z.ZodString;
26
- instanceId: z.ZodString;
27
- }, z.core.$strip>, z.ZodObject<{
28
- generic_api_key: z.ZodString;
29
- }, z.core.$strip>>]>;
17
+ declare const sendlaneTagCreate: AppAction<typeof SendlaneTagCreateInput, typeof SendlaneTagCreateOutput, typeof sendlane.credential>;
30
18
  //#endregion
31
19
  export { sendlaneTagCreate };
32
20
  //# sourceMappingURL=tag-create.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"tag-create.d.mts","names":[],"sources":["../../src/actions/tag-create.ts"],"mappings":";;;cAIa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;cAStB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;cAIvB,iBAAA,gCAAiB,wBAAA"}
1
+ {"version":3,"file":"tag-create.d.mts","names":[],"sources":["../../src/actions/tag-create.ts"],"mappings":";;;;;cAMa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;cAStB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;cAIvB,iBAAA,EAAmB,SAAA,QACvB,sBAAA,SACA,uBAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/tag-create.ts
@@ -1 +1 @@
1
- {"version":3,"file":"tag-create.mjs","names":[],"sources":["../../src/actions/tag-create.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendlaneTagCreateInput = z.object({\n name: z.string().describe(\"Name for the new tag.\"),\n}).describe(\"Request schema for creating a tag.\");\nconst SendlaneTagCreate_TagDataSchema = z.object({\n id: z.number().int().describe(\"Unique tag identifier.\").nullable(),\n name: z.string().describe(\"Name of the tag.\").nullable(),\n created_at: z.string().describe(\"Timestamp when the tag was created.\").nullable(),\n audience_count: z.number().int().default(0).describe(\"Number of contacts with this tag.\").nullable().optional(),\n}).passthrough().describe(\"Tag object returned after creation.\");\nexport const SendlaneTagCreateOutput = z.object({\n data: SendlaneTagCreate_TagDataSchema.nullable(),\n}).passthrough().describe(\"Response schema for tag creation.\");\n\nexport const sendlaneTagCreate = action(\"SENDLANE_TAG_CREATE\", {\n slug: \"sendlane-tag-create\",\n name: \"Create Tag\",\n description: \"Tool to create a new tag. Use when you need to segment subscribers using labels.\",\n input: SendlaneTagCreateInput,\n output: SendlaneTagCreateOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyB,EAAE,OAAO,EAC7C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,EACnD,CAAC,CAAC,CAAC,SAAS,oCAAoC;AAChD,MAAM,kCAAkC,EAAE,OAAO;CAC/C,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CACjE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CACvD,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAChF,gBAAgB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qCAAqC;AAK/D,MAAa,oBAAoB,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATqC,EAAE,OAAO,EAC9C,MAAM,gCAAgC,SAAS,EACjD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mCAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"tag-create.mjs","names":[],"sources":["../../src/actions/tag-create.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { sendlane } from \"../app\";\n\nexport const SendlaneTagCreateInput = z.object({\n name: z.string().describe(\"Name for the new tag.\"),\n}).describe(\"Request schema for creating a tag.\");\nconst SendlaneTagCreate_TagDataSchema = z.object({\n id: z.number().int().describe(\"Unique tag identifier.\").nullable(),\n name: z.string().describe(\"Name of the tag.\").nullable(),\n created_at: z.string().describe(\"Timestamp when the tag was created.\").nullable(),\n audience_count: z.number().int().default(0).describe(\"Number of contacts with this tag.\").nullable().optional(),\n}).passthrough().describe(\"Tag object returned after creation.\");\nexport const SendlaneTagCreateOutput = z.object({\n data: SendlaneTagCreate_TagDataSchema.nullable(),\n}).passthrough().describe(\"Response schema for tag creation.\");\n\nexport const sendlaneTagCreate: AppAction<\n typeof SendlaneTagCreateInput,\n typeof SendlaneTagCreateOutput,\n typeof sendlane.credential\n> = action(\"SENDLANE_TAG_CREATE\", {\n slug: \"sendlane-tag-create\",\n name: \"Create Tag\",\n description: \"Tool to create a new tag. Use when you need to segment subscribers using labels.\",\n input: SendlaneTagCreateInput,\n output: SendlaneTagCreateOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,yBAAyB,EAAE,OAAO,EAC7C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,EACnD,CAAC,CAAC,CAAC,SAAS,oCAAoC;AAChD,MAAM,kCAAkC,EAAE,OAAO;CAC/C,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CACjE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CACvD,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAChF,gBAAgB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qCAAqC;AAK/D,MAAa,oBAIT,OAAO,uBAAuB;CAChC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAbqC,EAAE,OAAO,EAC9C,MAAM,gCAAgC,SAAS,EACjD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mCAWhB;AACV,CAAC"}
package/dist/app.cjs CHANGED
@@ -1,10 +1,10 @@
1
1
  let _keystrokehq_keystroke_app = require("@keystrokehq/keystroke/app");
2
- let zod = require("zod");
3
2
  //#region src/app.ts
3
+ const credential = { generic_api_key: require("zod").z.string() };
4
4
  const sendlane = (0, _keystrokehq_keystroke_app.defineApp)({
5
5
  slug: "sendlane",
6
6
  auth: "keystroke",
7
- credential: { generic_api_key: zod.z.string() }
7
+ credential
8
8
  });
9
9
  //#endregion
10
10
  exports.sendlane = sendlane;
package/dist/app.cjs.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"app.cjs","names":["z"],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nexport const sendlane = defineApp({\n slug: \"sendlane\",\n auth: \"keystroke\",\n credential: {\n generic_api_key: z.string(),\n },\n});\n"],"mappings":";;;AAGA,MAAa,YAAA,GAAA,2BAAA,UAAA,CAAqB;CAChC,MAAM;CACN,MAAM;CACN,YAAY,EACV,iBAAiBA,IAAAA,EAAE,OAAO,EAC5B;AACF,CAAC"}
1
+ {"version":3,"file":"app.cjs","names":["z"],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp, type KeystrokeApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nconst credential = {\n generic_api_key: z.string(),\n};\n\nexport const sendlane: KeystrokeApp<\"sendlane\", typeof credential> = defineApp({\n slug: \"sendlane\",\n auth: \"keystroke\",\n credential,\n});\n"],"mappings":";;AAGA,MAAM,aAAa,EACjB,8BAAiBA,CAAAA,CAAAA,EAAE,OAAO,EAC5B;AAEA,MAAa,YAAA,GAAA,2BAAA,UAAA,CAAkE;CAC7E,MAAM;CACN,MAAM;CACN;AACF,CAAC"}
package/dist/app.d.cts CHANGED
@@ -1,13 +1,11 @@
1
+ import { KeystrokeApp } from "@keystrokehq/keystroke/app";
1
2
  import { z } from "zod";
2
3
 
3
4
  //#region src/app.d.ts
4
- declare const sendlane: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential<"sendlane", z.ZodObject<{
5
- connectionId: z.ZodString;
6
- entityId: z.ZodString;
7
- instanceId: z.ZodString;
8
- }, z.core.$strip>, z.ZodObject<{
5
+ declare const credential: {
9
6
  generic_api_key: z.ZodString;
10
- }, z.core.$strip>>>;
7
+ };
8
+ declare const sendlane: KeystrokeApp<"sendlane", typeof credential>;
11
9
  //#endregion
12
10
  export { sendlane };
13
11
  //# sourceMappingURL=app.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";;;cAGa,QAAA,6BAAQ,GAAA,+BAAA,UAAA,aAAA,CAAA,CAAA,SAAA"}
1
+ {"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";;;;cAGM,UAAA;mBAEL,CAAA,CAAA,SAAA;AAAA;AAAA,cAEY,QAAA,EAAU,YAAY,oBAAoB,UAAA"}
package/dist/app.d.mts CHANGED
@@ -1,13 +1,11 @@
1
+ import { KeystrokeApp } from "@keystrokehq/keystroke/app";
1
2
  import { z } from "zod";
2
3
 
3
4
  //#region src/app.d.ts
4
- declare const sendlane: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential<"sendlane", z.ZodObject<{
5
- connectionId: z.ZodString;
6
- entityId: z.ZodString;
7
- instanceId: z.ZodString;
8
- }, z.core.$strip>, z.ZodObject<{
5
+ declare const credential: {
9
6
  generic_api_key: z.ZodString;
10
- }, z.core.$strip>>>;
7
+ };
8
+ declare const sendlane: KeystrokeApp<"sendlane", typeof credential>;
11
9
  //#endregion
12
10
  export { sendlane };
13
11
  //# sourceMappingURL=app.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";;;cAGa,QAAA,6BAAQ,GAAA,+BAAA,UAAA,aAAA,CAAA,CAAA,SAAA"}
1
+ {"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";;;;cAGM,UAAA;mBAEL,CAAA,CAAA,SAAA;AAAA;AAAA,cAEY,QAAA,EAAU,YAAY,oBAAoB,UAAA"}
package/dist/app.mjs CHANGED
@@ -1,6 +1,5 @@
1
1
  import { defineApp } from "@keystrokehq/keystroke/app";
2
2
  import { z } from "zod";
3
- //#region src/app.ts
4
3
  const sendlane = defineApp({
5
4
  slug: "sendlane",
6
5
  auth: "keystroke",
package/dist/app.mjs.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nexport const sendlane = defineApp({\n slug: \"sendlane\",\n auth: \"keystroke\",\n credential: {\n generic_api_key: z.string(),\n },\n});\n"],"mappings":";;;AAGA,MAAa,WAAW,UAAU;CAChC,MAAM;CACN,MAAM;CACN,YAAY,EACV,iBAAiB,EAAE,OAAO,EAC5B;AACF,CAAC"}
1
+ {"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp, type KeystrokeApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nconst credential = {\n generic_api_key: z.string(),\n};\n\nexport const sendlane: KeystrokeApp<\"sendlane\", typeof credential> = defineApp({\n slug: \"sendlane\",\n auth: \"keystroke\",\n credential,\n});\n"],"mappings":";;AAOA,MAAa,WAAwD,UAAU;CAC7E,MAAM;CACN,MAAM;CACN,cANA,iBAAiB,EAAE,OAAO,EAM1B;AACF,CAAC"}
package/dist/index.d.cts CHANGED
@@ -1,9 +1,9 @@
1
+ import { sendlane } from "./app.cjs";
1
2
  import { sendlaneGetCampaigns } from "./actions/get-campaigns.cjs";
2
3
  import { sendlaneGetCustomFields } from "./actions/get-custom-fields.cjs";
3
4
  import { sendlaneGetLists } from "./actions/get-lists.cjs";
4
5
  import { sendlaneListDelete } from "./actions/list-delete.cjs";
5
6
  import { sendlanePostList } from "./actions/post-list.cjs";
6
7
  import { sendlaneTagCreate } from "./actions/tag-create.cjs";
7
- import { sendlane } from "./app.cjs";
8
8
  import { sendlaneCatalog } from "./catalog.cjs";
9
9
  export { sendlane, sendlaneCatalog, sendlaneGetCampaigns, sendlaneGetCustomFields, sendlaneGetLists, sendlaneListDelete, sendlanePostList, sendlaneTagCreate };
package/dist/index.d.mts CHANGED
@@ -1,9 +1,9 @@
1
+ import { sendlane } from "./app.mjs";
1
2
  import { sendlaneGetCampaigns } from "./actions/get-campaigns.mjs";
2
3
  import { sendlaneGetCustomFields } from "./actions/get-custom-fields.mjs";
3
4
  import { sendlaneGetLists } from "./actions/get-lists.mjs";
4
5
  import { sendlaneListDelete } from "./actions/list-delete.mjs";
5
6
  import { sendlanePostList } from "./actions/post-list.mjs";
6
7
  import { sendlaneTagCreate } from "./actions/tag-create.mjs";
7
- import { sendlane } from "./app.mjs";
8
8
  import { sendlaneCatalog } from "./catalog.mjs";
9
9
  export { sendlane, sendlaneCatalog, sendlaneGetCampaigns, sendlaneGetCustomFields, sendlaneGetLists, sendlaneListDelete, sendlanePostList, sendlaneTagCreate };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@keystrokehq/sendlane",
3
- "version": "0.1.5",
3
+ "version": "0.1.6",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "registry": "https://registry.npmjs.org"
@@ -31,7 +31,7 @@
31
31
  }
32
32
  },
33
33
  "peerDependencies": {
34
- "@keystrokehq/keystroke": ">=0.1.4",
34
+ "@keystrokehq/keystroke": ">=0.1.104",
35
35
  "zod": "^4.4.3"
36
36
  },
37
37
  "devDependencies": {