@keystrokehq/sendlane 0.1.0 → 0.1.3

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 (57) 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 +13 -13
  4. package/dist/actions/get-campaigns.cjs.map +1 -1
  5. package/dist/actions/get-campaigns.d.cts +35 -3
  6. package/dist/actions/get-campaigns.d.cts.map +1 -1
  7. package/dist/actions/get-campaigns.d.mts +35 -3
  8. package/dist/actions/get-campaigns.d.mts.map +1 -1
  9. package/dist/actions/get-campaigns.mjs +13 -13
  10. package/dist/actions/get-campaigns.mjs.map +1 -1
  11. package/dist/actions/get-custom-fields.cjs +8 -8
  12. package/dist/actions/get-custom-fields.cjs.map +1 -1
  13. package/dist/actions/get-custom-fields.d.cts +18 -3
  14. package/dist/actions/get-custom-fields.d.cts.map +1 -1
  15. package/dist/actions/get-custom-fields.d.mts +18 -3
  16. package/dist/actions/get-custom-fields.d.mts.map +1 -1
  17. package/dist/actions/get-custom-fields.mjs +8 -8
  18. package/dist/actions/get-custom-fields.mjs.map +1 -1
  19. package/dist/actions/get-lists.cjs +11 -11
  20. package/dist/actions/get-lists.cjs.map +1 -1
  21. package/dist/actions/get-lists.d.cts +32 -3
  22. package/dist/actions/get-lists.d.cts.map +1 -1
  23. package/dist/actions/get-lists.d.mts +32 -3
  24. package/dist/actions/get-lists.d.mts.map +1 -1
  25. package/dist/actions/get-lists.mjs +11 -11
  26. package/dist/actions/get-lists.mjs.map +1 -1
  27. package/dist/actions/list-delete.cjs +1 -1
  28. package/dist/actions/list-delete.cjs.map +1 -1
  29. package/dist/actions/list-delete.d.cts +9 -3
  30. package/dist/actions/list-delete.d.cts.map +1 -1
  31. package/dist/actions/list-delete.d.mts +9 -3
  32. package/dist/actions/list-delete.d.mts.map +1 -1
  33. package/dist/actions/list-delete.mjs +1 -1
  34. package/dist/actions/list-delete.mjs.map +1 -1
  35. package/dist/actions/post-list.cjs +5 -5
  36. package/dist/actions/post-list.cjs.map +1 -1
  37. package/dist/actions/post-list.d.cts +16 -3
  38. package/dist/actions/post-list.d.cts.map +1 -1
  39. package/dist/actions/post-list.d.mts +16 -3
  40. package/dist/actions/post-list.d.mts.map +1 -1
  41. package/dist/actions/post-list.mjs +5 -5
  42. package/dist/actions/post-list.mjs.map +1 -1
  43. package/dist/actions/tag-create.cjs +5 -5
  44. package/dist/actions/tag-create.cjs.map +1 -1
  45. package/dist/actions/tag-create.d.cts +14 -3
  46. package/dist/actions/tag-create.d.cts.map +1 -1
  47. package/dist/actions/tag-create.d.mts +14 -3
  48. package/dist/actions/tag-create.d.mts.map +1 -1
  49. package/dist/actions/tag-create.mjs +5 -5
  50. package/dist/actions/tag-create.mjs.map +1 -1
  51. package/dist/catalog.cjs +7 -1
  52. package/dist/catalog.cjs.map +1 -1
  53. package/dist/catalog.d.cts +8 -0
  54. package/dist/catalog.d.mts +8 -0
  55. package/dist/catalog.mjs +7 -1
  56. package/dist/catalog.mjs.map +1 -1
  57. package/package.json +2 -2
@@ -1,9 +1,38 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-lists.d.ts
4
- declare const SendlaneGetListsInput: z.ZodTypeAny;
5
- declare const SendlaneGetListsOutput: z.ZodTypeAny;
6
- declare const sendlaneGetLists: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SendlaneGetListsInput: z.ZodObject<{
5
+ page: z.ZodOptional<z.ZodNumber>;
6
+ per_page: z.ZodOptional<z.ZodNumber>;
7
+ }, z.core.$strip>;
8
+ declare const SendlaneGetListsOutput: z.ZodObject<{
9
+ data: z.ZodArray<z.ZodObject<{
10
+ id: z.ZodNullable<z.ZodNumber>;
11
+ name: z.ZodNullable<z.ZodString>;
12
+ status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
+ flagged: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
14
+ created_at: z.ZodNullable<z.ZodString>;
15
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
+ }, z.core.$loose>>;
17
+ meta: z.ZodNullable<z.ZodObject<{
18
+ to: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
19
+ from: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
20
+ total: z.ZodNullable<z.ZodNumber>;
21
+ per_page: z.ZodNullable<z.ZodNumber>;
22
+ last_page: z.ZodNullable<z.ZodNumber>;
23
+ current_page: z.ZodNullable<z.ZodNumber>;
24
+ }, z.core.$loose>>;
25
+ links: z.ZodNullable<z.ZodObject<{
26
+ last: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27
+ next: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28
+ prev: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29
+ first: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30
+ }, z.core.$loose>>;
31
+ }, 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]>, readonly [import("@keystrokehq/shared").Credential]>;
7
36
  //#endregion
8
37
  export { sendlaneGetLists };
9
38
  //# 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,EAAuB,CAAA,CAAE,UAGsD;AAAA,cAuB/E,sBAAA,EAAwB,CAAA,CAAE,UAIwB;AAAA,cAElD,gBAAA,gCAAgB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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"}
@@ -6,27 +6,27 @@ const SendlaneGetListsInput = z.object({
6
6
  per_page: z.number().int().describe("Number of lists per page (default is 1000)").optional()
7
7
  }).describe("Request model for retrieving all mailing lists. Supports optional pagination.");
8
8
  const SendlaneGetLists_ListItemSchema = z.object({
9
- id: z.number().int().describe("Unique list identifier"),
10
- name: z.string().describe("Name of the contact list"),
9
+ id: z.number().int().describe("Unique list identifier").nullable(),
10
+ name: z.string().describe("Name of the contact list").nullable(),
11
11
  status: z.string().describe("List status (e.g., Active)").nullable().optional(),
12
12
  flagged: z.boolean().describe("Whether the list is flagged").nullable().optional(),
13
- created_at: z.string().describe("Timestamp when the list was created"),
13
+ created_at: z.string().describe("Timestamp when the list was created").nullable(),
14
14
  description: z.string().describe("List description").nullable().optional()
15
- }).describe("Represents a single mailing list in Sendlane.");
15
+ }).passthrough().describe("Represents a single mailing list in Sendlane.");
16
16
  const SendlaneGetLists_PaginationMetaSchema = z.object({
17
17
  to: z.number().int().describe("Index of last item on current page").nullable().optional(),
18
18
  from: z.number().int().describe("Index of first item on current page").nullable().optional(),
19
- total: z.number().int().describe("Total number of lists available"),
20
- per_page: z.number().int().describe("Number of items per page"),
21
- last_page: z.number().int().describe("Last page number"),
22
- current_page: z.number().int().describe("Current page number")
23
- }).describe("Pagination metadata for the current result set.");
19
+ total: z.number().int().describe("Total number of lists available").nullable(),
20
+ per_page: z.number().int().describe("Number of items per page").nullable(),
21
+ last_page: z.number().int().describe("Last page number").nullable(),
22
+ current_page: z.number().int().describe("Current page number").nullable()
23
+ }).passthrough().describe("Pagination metadata for the current result set.");
24
24
  const SendlaneGetLists_PaginationLinksSchema = z.object({
25
25
  last: z.string().describe("URL for the last page").nullable().optional(),
26
26
  next: z.string().describe("URL for the next page").nullable().optional(),
27
27
  prev: z.string().describe("URL for the previous page").nullable().optional(),
28
28
  first: z.string().describe("URL for the first page").nullable().optional()
29
- }).describe("Pagination links for navigating through results.");
29
+ }).passthrough().describe("Pagination links for navigating through results.");
30
30
  const sendlaneGetLists = action("SENDLANE_GET_LISTS", {
31
31
  slug: "sendlane-get-lists",
32
32
  name: "Get Lists",
@@ -36,7 +36,7 @@ const sendlaneGetLists = action("SENDLANE_GET_LISTS", {
36
36
  data: z.array(SendlaneGetLists_ListItemSchema).describe("Array of mailing list objects"),
37
37
  meta: SendlaneGetLists_PaginationMetaSchema.nullable(),
38
38
  links: SendlaneGetLists_PaginationLinksSchema.nullable()
39
- }).describe("Response model for retrieving all mailing lists.")
39
+ }).passthrough().describe("Response model for retrieving all mailing lists.")
40
40
  });
41
41
  //#endregion
42
42
  export { sendlaneGetLists };
@@ -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.ZodTypeAny = 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.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique list identifier\"),\n name: z.string().describe(\"Name of the contact list\"),\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\"),\n description: z.string().describe(\"List description\").nullable().optional(),\n}).describe(\"Represents a single mailing list in Sendlane.\");\nconst SendlaneGetLists_PaginationMetaSchema: z.ZodTypeAny = 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\"),\n per_page: z.number().int().describe(\"Number of items per page\"),\n last_page: z.number().int().describe(\"Last page number\"),\n current_page: z.number().int().describe(\"Current page number\"),\n}).describe(\"Pagination metadata for the current result set.\");\nconst SendlaneGetLists_PaginationLinksSchema: z.ZodTypeAny = 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}).describe(\"Pagination links for navigating through results.\");\nexport const SendlaneGetListsOutput: z.ZodTypeAny = 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}).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,wBAAsC,EAAE,OAAO;CAC1D,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,kCAAgD,EAAE,OAAO;CAC7D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wBAAwB;CACtD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B;CACpD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;CACrE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3E,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAC3D,MAAM,wCAAsD,EAAE,OAAO;CACnE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC;CAClE,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B;CAC9D,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kBAAkB;CACvD,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qBAAqB;AAC/D,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAM,yCAAuD,EAAE,OAAO;CACpE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvE,MAAM,EAAE,OAAO,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,SAAS,kDAAkD;AAO9D,MAAa,mBAAmB,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAXkD,EAAE,OAAO;EAC3D,MAAM,EAAE,MAAM,+BAA+B,CAAC,CAAC,SAAS,+BAA+B;EACvF,MAAM,sCAAsC,SAAS;EACrD,OAAO,uCAAuC,SAAS;CACzD,CAAC,CAAC,CAAC,SAAS,kDAOF;AACV,CAAC"}
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,EAAE,QAAQ,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAChF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAA+C;AACzE,MAAM,wCAAwC,EAAE,OAAO;CACrD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CAC7E,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CACzE,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CAClE,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;AAC1E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAAiD;AAC3E,MAAM,yCAAyC,EAAE,OAAO;CACtD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvE,MAAM,EAAE,OAAO,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,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"}
@@ -2,7 +2,7 @@ const require_action = require("../action.cjs");
2
2
  let zod = require("zod");
3
3
  //#region src/actions/list-delete.ts
4
4
  const SendlaneListDeleteInput = zod.z.object({ list_id: zod.z.number().int().describe("ID of the mailing list to delete.") }).describe("Request schema for deleting a list.");
5
- const SendlaneListDeleteOutput = zod.z.object({ success: zod.z.boolean().default(true).describe("Indicates the delete operation was successful.").nullable().optional() }).describe("Response schema for delete list operation.");
5
+ const SendlaneListDeleteOutput = zod.z.object({ success: zod.z.boolean().default(true).describe("Indicates the delete operation was successful.").nullable().optional() }).passthrough().describe("Response schema for delete list operation.");
6
6
  const sendlaneListDelete = require_action.action("SENDLANE_LIST_DELETE", {
7
7
  slug: "sendlane-list-delete",
8
8
  name: "Delete List",
@@ -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.ZodTypeAny = 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.ZodTypeAny = z.object({\n success: z.boolean().default(true).describe(\"Indicates the delete operation was successful.\").nullable().optional(),\n}).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,0BAAwCA,IAAAA,EAAE,OAAO,EAC5D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,EACxE,CAAC,CAAC,CAAC,SAAS,qCAAqC;AACjD,MAAa,2BAAyCA,IAAAA,EAAE,OAAO,EAC7D,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACpH,CAAC,CAAC,CAAC,SAAS,4CAA4C;AAExD,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 { 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,9 +1,15 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/list-delete.d.ts
4
- declare const SendlaneListDeleteInput: z.ZodTypeAny;
5
- declare const SendlaneListDeleteOutput: z.ZodTypeAny;
6
- declare const sendlaneListDelete: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SendlaneListDeleteInput: z.ZodObject<{
5
+ list_id: z.ZodNumber;
6
+ }, z.core.$strip>;
7
+ declare const SendlaneListDeleteOutput: z.ZodObject<{
8
+ success: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
9
+ }, 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]>, readonly [import("@keystrokehq/shared").Credential]>;
7
13
  //#endregion
8
14
  export { sendlaneListDelete };
9
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,EAAyB,CAAA,CAAE,UAEU;AAAA,cACrC,wBAAA,EAA0B,CAAA,CAAE,UAEgB;AAAA,cAE5C,kBAAA,gCAAkB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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,9 +1,15 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/list-delete.d.ts
4
- declare const SendlaneListDeleteInput: z.ZodTypeAny;
5
- declare const SendlaneListDeleteOutput: z.ZodTypeAny;
6
- declare const sendlaneListDelete: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SendlaneListDeleteInput: z.ZodObject<{
5
+ list_id: z.ZodNumber;
6
+ }, z.core.$strip>;
7
+ declare const SendlaneListDeleteOutput: z.ZodObject<{
8
+ success: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
9
+ }, 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]>, readonly [import("@keystrokehq/shared").Credential]>;
7
13
  //#endregion
8
14
  export { sendlaneListDelete };
9
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,EAAyB,CAAA,CAAE,UAEU;AAAA,cACrC,wBAAA,EAA0B,CAAA,CAAE,UAEgB;AAAA,cAE5C,kBAAA,gCAAkB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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"}
@@ -5,7 +5,7 @@ const sendlaneListDelete = action("SENDLANE_LIST_DELETE", {
5
5
  name: "Delete List",
6
6
  description: "Tool to delete a mailing list. Use when you need to remove an unwanted list after confirming its list_id.",
7
7
  input: z.object({ list_id: z.number().int().describe("ID of the mailing list to delete.") }).describe("Request schema for deleting a list."),
8
- output: z.object({ success: z.boolean().default(true).describe("Indicates the delete operation was successful.").nullable().optional() }).describe("Response schema for delete list operation.")
8
+ output: z.object({ success: z.boolean().default(true).describe("Indicates the delete operation was successful.").nullable().optional() }).passthrough().describe("Response schema for delete list operation.")
9
9
  });
10
10
  //#endregion
11
11
  export { sendlaneListDelete };
@@ -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.ZodTypeAny = 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.ZodTypeAny = z.object({\n success: z.boolean().default(true).describe(\"Indicates the delete operation was successful.\").nullable().optional(),\n}).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,OAXmD,EAAE,OAAO,EAC5D,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,EACxE,CAAC,CAAC,CAAC,SAAS,qCASH;CACP,QAToD,EAAE,OAAO,EAC7D,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACpH,CAAC,CAAC,CAAC,SAAS,4CAOF;AACV,CAAC"}
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"}
@@ -3,14 +3,14 @@ let zod = require("zod");
3
3
  //#region src/actions/post-list.ts
4
4
  const SendlanePostListInput = zod.z.object({ name: zod.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').") }).describe("Request schema for creating a new list.");
5
5
  const SendlanePostList_PostListResponseDataSchema = zod.z.object({
6
- id: zod.z.number().int().describe("Unique identifier of the new list."),
7
- name: zod.z.string().describe("Name of the list."),
6
+ id: zod.z.number().int().describe("Unique identifier of the new list.").nullable(),
7
+ name: zod.z.string().describe("Name of the list.").nullable(),
8
8
  status: zod.z.string().describe("List status (e.g., Active).").nullable().optional(),
9
9
  flagged: zod.z.boolean().describe("Whether the list is flagged.").nullable().optional(),
10
- created_at: zod.z.string().describe("Timestamp of creation."),
10
+ created_at: zod.z.string().describe("Timestamp of creation.").nullable(),
11
11
  description: zod.z.string().describe("List description.").nullable().optional()
12
- }).describe("Details of the created list.");
13
- const SendlanePostListOutput = zod.z.object({ data: SendlanePostList_PostListResponseDataSchema.nullable() }).describe("Response schema for creating a list.");
12
+ }).passthrough().describe("Details of the created list.");
13
+ const SendlanePostListOutput = zod.z.object({ data: SendlanePostList_PostListResponseDataSchema.nullable() }).passthrough().describe("Response schema for creating a list.");
14
14
  const sendlanePostList = require_action.action("SENDLANE_POST_LIST", {
15
15
  slug: "sendlane-post-list",
16
16
  name: "Create List",
@@ -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.ZodTypeAny = 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.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier of the new list.\"),\n name: z.string().describe(\"Name of the list.\"),\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.\"),\n description: z.string().describe(\"List description.\").nullable().optional(),\n}).describe(\"Details of the created list.\");\nexport const SendlanePostListOutput: z.ZodTypeAny = z.object({\n data: SendlanePostList_PostListResponseDataSchema.nullable(),\n}).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,wBAAsCA,IAAAA,EAAE,OAAO,EAC1D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iKAAiK,EAC7L,CAAC,CAAC,CAAC,SAAS,yCAAyC;AACrD,MAAM,8CAA4DA,IAAAA,EAAE,OAAO;CACzE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC;CAClE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB;CAC7C,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;CACxD,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5E,CAAC,CAAC,CAAC,SAAS,8BAA8B;AAC1C,MAAa,yBAAuCA,IAAAA,EAAE,OAAO,EAC3D,MAAM,4CAA4C,SAAS,EAC7D,CAAC,CAAC,CAAC,SAAS,sCAAsC;AAElD,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 { 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,9 +1,22 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/post-list.d.ts
4
- declare const SendlanePostListInput: z.ZodTypeAny;
5
- declare const SendlanePostListOutput: z.ZodTypeAny;
6
- declare const sendlanePostList: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SendlanePostListInput: z.ZodObject<{
5
+ name: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const SendlanePostListOutput: z.ZodObject<{
8
+ data: z.ZodNullable<z.ZodObject<{
9
+ id: z.ZodNullable<z.ZodNumber>;
10
+ name: z.ZodNullable<z.ZodString>;
11
+ status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
+ flagged: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
13
+ created_at: z.ZodNullable<z.ZodString>;
14
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ }, z.core.$loose>>;
16
+ }, 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]>, readonly [import("@keystrokehq/shared").Credential]>;
7
20
  //#endregion
8
21
  export { sendlanePostList };
9
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,EAAuB,CAAA,CAAE,UAEgB;AAAA,cASzC,sBAAA,EAAwB,CAAA,CAAE,UAEY;AAAA,cAEtC,gBAAA,gCAAgB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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,9 +1,22 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/post-list.d.ts
4
- declare const SendlanePostListInput: z.ZodTypeAny;
5
- declare const SendlanePostListOutput: z.ZodTypeAny;
6
- declare const sendlanePostList: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SendlanePostListInput: z.ZodObject<{
5
+ name: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const SendlanePostListOutput: z.ZodObject<{
8
+ data: z.ZodNullable<z.ZodObject<{
9
+ id: z.ZodNullable<z.ZodNumber>;
10
+ name: z.ZodNullable<z.ZodString>;
11
+ status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
+ flagged: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
13
+ created_at: z.ZodNullable<z.ZodString>;
14
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ }, z.core.$loose>>;
16
+ }, 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]>, readonly [import("@keystrokehq/shared").Credential]>;
7
20
  //#endregion
8
21
  export { sendlanePostList };
9
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,EAAuB,CAAA,CAAE,UAEgB;AAAA,cASzC,sBAAA,EAAwB,CAAA,CAAE,UAEY;AAAA,cAEtC,gBAAA,gCAAgB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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"}
@@ -3,19 +3,19 @@ import { z } from "zod";
3
3
  //#region src/actions/post-list.ts
4
4
  const SendlanePostListInput = z.object({ 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').") }).describe("Request schema for creating a new list.");
5
5
  const SendlanePostList_PostListResponseDataSchema = z.object({
6
- id: z.number().int().describe("Unique identifier of the new list."),
7
- name: z.string().describe("Name of the list."),
6
+ id: z.number().int().describe("Unique identifier of the new list.").nullable(),
7
+ name: z.string().describe("Name of the list.").nullable(),
8
8
  status: z.string().describe("List status (e.g., Active).").nullable().optional(),
9
9
  flagged: z.boolean().describe("Whether the list is flagged.").nullable().optional(),
10
- created_at: z.string().describe("Timestamp of creation."),
10
+ created_at: z.string().describe("Timestamp of creation.").nullable(),
11
11
  description: z.string().describe("List description.").nullable().optional()
12
- }).describe("Details of the created list.");
12
+ }).passthrough().describe("Details of the created list.");
13
13
  const sendlanePostList = action("SENDLANE_POST_LIST", {
14
14
  slug: "sendlane-post-list",
15
15
  name: "Create List",
16
16
  description: "Tool to create a new list. Use when you need to add a brand-new mailing list before sending campaigns.",
17
17
  input: SendlanePostListInput,
18
- output: z.object({ data: SendlanePostList_PostListResponseDataSchema.nullable() }).describe("Response schema for creating a list.")
18
+ output: z.object({ data: SendlanePostList_PostListResponseDataSchema.nullable() }).passthrough().describe("Response schema for creating a list.")
19
19
  });
20
20
  //#endregion
21
21
  export { sendlanePostList };
@@ -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.ZodTypeAny = 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.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier of the new list.\"),\n name: z.string().describe(\"Name of the list.\"),\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.\"),\n description: z.string().describe(\"List description.\").nullable().optional(),\n}).describe(\"Details of the created list.\");\nexport const SendlanePostListOutput: z.ZodTypeAny = z.object({\n data: SendlanePostList_PostListResponseDataSchema.nullable(),\n}).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,wBAAsC,EAAE,OAAO,EAC1D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iKAAiK,EAC7L,CAAC,CAAC,CAAC,SAAS,yCAAyC;AACrD,MAAM,8CAA4D,EAAE,OAAO;CACzE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC;CAClE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB;CAC7C,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;CACxD,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5E,CAAC,CAAC,CAAC,SAAS,8BAA8B;AAK1C,MAAa,mBAAmB,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATkD,EAAE,OAAO,EAC3D,MAAM,4CAA4C,SAAS,EAC7D,CAAC,CAAC,CAAC,SAAS,sCAOF;AACV,CAAC"}
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"}
@@ -3,12 +3,12 @@ let zod = require("zod");
3
3
  //#region src/actions/tag-create.ts
4
4
  const SendlaneTagCreateInput = zod.z.object({ name: zod.z.string().describe("Name for the new tag.") }).describe("Request schema for creating a tag.");
5
5
  const SendlaneTagCreate_TagDataSchema = zod.z.object({
6
- id: zod.z.number().int().describe("Unique tag identifier."),
7
- name: zod.z.string().describe("Name of the tag."),
8
- created_at: zod.z.string().describe("Timestamp when the tag was created."),
6
+ id: zod.z.number().int().describe("Unique tag identifier.").nullable(),
7
+ name: zod.z.string().describe("Name of the tag.").nullable(),
8
+ created_at: zod.z.string().describe("Timestamp when the tag was created.").nullable(),
9
9
  audience_count: zod.z.number().int().default(0).describe("Number of contacts with this tag.").nullable().optional()
10
- }).describe("Tag object returned after creation.");
11
- const SendlaneTagCreateOutput = zod.z.object({ data: SendlaneTagCreate_TagDataSchema.nullable() }).describe("Response schema for tag creation.");
10
+ }).passthrough().describe("Tag object returned after creation.");
11
+ const SendlaneTagCreateOutput = zod.z.object({ data: SendlaneTagCreate_TagDataSchema.nullable() }).passthrough().describe("Response schema for tag creation.");
12
12
  const sendlaneTagCreate = require_action.action("SENDLANE_TAG_CREATE", {
13
13
  slug: "sendlane-tag-create",
14
14
  name: "Create Tag",
@@ -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.ZodTypeAny = z.object({\n name: z.string().describe(\"Name for the new tag.\"),\n}).describe(\"Request schema for creating a tag.\");\nconst SendlaneTagCreate_TagDataSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique tag identifier.\"),\n name: z.string().describe(\"Name of the tag.\"),\n created_at: z.string().describe(\"Timestamp when the tag was created.\"),\n audience_count: z.number().int().default(0).describe(\"Number of contacts with this tag.\").nullable().optional(),\n}).describe(\"Tag object returned after creation.\");\nexport const SendlaneTagCreateOutput: z.ZodTypeAny = z.object({\n data: SendlaneTagCreate_TagDataSchema.nullable(),\n}).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,yBAAuCA,IAAAA,EAAE,OAAO,EAC3D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,EACnD,CAAC,CAAC,CAAC,SAAS,oCAAoC;AAChD,MAAM,kCAAgDA,IAAAA,EAAE,OAAO;CAC7D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wBAAwB;CACtD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB;CAC5C,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;CACrE,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,SAAS,qCAAqC;AACjD,MAAa,0BAAwCA,IAAAA,EAAE,OAAO,EAC5D,MAAM,gCAAgC,SAAS,EACjD,CAAC,CAAC,CAAC,SAAS,mCAAmC;AAE/C,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 { 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,9 +1,20 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/tag-create.d.ts
4
- declare const SendlaneTagCreateInput: z.ZodTypeAny;
5
- declare const SendlaneTagCreateOutput: z.ZodTypeAny;
6
- declare const sendlaneTagCreate: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SendlaneTagCreateInput: z.ZodObject<{
5
+ name: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const SendlaneTagCreateOutput: z.ZodObject<{
8
+ data: z.ZodNullable<z.ZodObject<{
9
+ id: z.ZodNullable<z.ZodNumber>;
10
+ name: z.ZodNullable<z.ZodString>;
11
+ created_at: z.ZodNullable<z.ZodString>;
12
+ audience_count: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
13
+ }, z.core.$loose>>;
14
+ }, 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]>, readonly [import("@keystrokehq/shared").Credential]>;
7
18
  //#endregion
8
19
  export { sendlaneTagCreate };
9
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,EAAwB,CAAA,CAAE,UAEU;AAAA,cAOpC,uBAAA,EAAyB,CAAA,CAAE,UAEQ;AAAA,cAEnC,iBAAA,gCAAiB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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,9 +1,20 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/tag-create.d.ts
4
- declare const SendlaneTagCreateInput: z.ZodTypeAny;
5
- declare const SendlaneTagCreateOutput: z.ZodTypeAny;
6
- declare const sendlaneTagCreate: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SendlaneTagCreateInput: z.ZodObject<{
5
+ name: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const SendlaneTagCreateOutput: z.ZodObject<{
8
+ data: z.ZodNullable<z.ZodObject<{
9
+ id: z.ZodNullable<z.ZodNumber>;
10
+ name: z.ZodNullable<z.ZodString>;
11
+ created_at: z.ZodNullable<z.ZodString>;
12
+ audience_count: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
13
+ }, z.core.$loose>>;
14
+ }, 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]>, readonly [import("@keystrokehq/shared").Credential]>;
7
18
  //#endregion
8
19
  export { sendlaneTagCreate };
9
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,EAAwB,CAAA,CAAE,UAEU;AAAA,cAOpC,uBAAA,EAAyB,CAAA,CAAE,UAEQ;AAAA,cAEnC,iBAAA,gCAAiB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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"}
@@ -3,17 +3,17 @@ import { z } from "zod";
3
3
  //#region src/actions/tag-create.ts
4
4
  const SendlaneTagCreateInput = z.object({ name: z.string().describe("Name for the new tag.") }).describe("Request schema for creating a tag.");
5
5
  const SendlaneTagCreate_TagDataSchema = z.object({
6
- id: z.number().int().describe("Unique tag identifier."),
7
- name: z.string().describe("Name of the tag."),
8
- created_at: z.string().describe("Timestamp when the tag was created."),
6
+ id: z.number().int().describe("Unique tag identifier.").nullable(),
7
+ name: z.string().describe("Name of the tag.").nullable(),
8
+ created_at: z.string().describe("Timestamp when the tag was created.").nullable(),
9
9
  audience_count: z.number().int().default(0).describe("Number of contacts with this tag.").nullable().optional()
10
- }).describe("Tag object returned after creation.");
10
+ }).passthrough().describe("Tag object returned after creation.");
11
11
  const sendlaneTagCreate = action("SENDLANE_TAG_CREATE", {
12
12
  slug: "sendlane-tag-create",
13
13
  name: "Create Tag",
14
14
  description: "Tool to create a new tag. Use when you need to segment subscribers using labels.",
15
15
  input: SendlaneTagCreateInput,
16
- output: z.object({ data: SendlaneTagCreate_TagDataSchema.nullable() }).describe("Response schema for tag creation.")
16
+ output: z.object({ data: SendlaneTagCreate_TagDataSchema.nullable() }).passthrough().describe("Response schema for tag creation.")
17
17
  });
18
18
  //#endregion
19
19
  export { sendlaneTagCreate };
@@ -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.ZodTypeAny = z.object({\n name: z.string().describe(\"Name for the new tag.\"),\n}).describe(\"Request schema for creating a tag.\");\nconst SendlaneTagCreate_TagDataSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique tag identifier.\"),\n name: z.string().describe(\"Name of the tag.\"),\n created_at: z.string().describe(\"Timestamp when the tag was created.\"),\n audience_count: z.number().int().default(0).describe(\"Number of contacts with this tag.\").nullable().optional(),\n}).describe(\"Tag object returned after creation.\");\nexport const SendlaneTagCreateOutput: z.ZodTypeAny = z.object({\n data: SendlaneTagCreate_TagDataSchema.nullable(),\n}).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,yBAAuC,EAAE,OAAO,EAC3D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,EACnD,CAAC,CAAC,CAAC,SAAS,oCAAoC;AAChD,MAAM,kCAAgD,EAAE,OAAO;CAC7D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wBAAwB;CACtD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB;CAC5C,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;CACrE,gBAAgB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChH,CAAC,CAAC,CAAC,SAAS,qCAAqC;AAKjD,MAAa,oBAAoB,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATmD,EAAE,OAAO,EAC5D,MAAM,gCAAgC,SAAS,EACjD,CAAC,CAAC,CAAC,SAAS,mCAOF;AACV,CAAC"}
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"}
package/dist/catalog.cjs CHANGED
@@ -7,7 +7,13 @@ const sendlaneCatalog = {
7
7
  "category": "Marketing Automation",
8
8
  "logo": "https://logos.composio.dev/api/sendlane",
9
9
  "authKind": "keystroke",
10
- "oauthScopes": []
10
+ "oauthScopes": [],
11
+ "credentialFields": { "api_key": {
12
+ "label": "Sendlane API Token",
13
+ "secret": true,
14
+ "description": "The API access token from your Sendlane dashboard."
15
+ } },
16
+ "credentialScheme": "API_KEY"
11
17
  };
12
18
  //#endregion
13
19
  exports.sendlaneCatalog = sendlaneCatalog;
@@ -1 +1 @@
1
- {"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const sendlaneCatalog = {\n \"slug\": \"sendlane\",\n \"name\": \"Sendlane\",\n \"description\": \"Sendlane is a cloud-based marketing automation platform that helps eCommerce businesses engage customers through personalized email and SMS campaigns.\",\n \"category\": \"Marketing Automation\",\n \"logo\": \"https://logos.composio.dev/api/sendlane\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": []\n} as const;\n"],"mappings":";;AACA,MAAa,kBAAkB;CAC7B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;AAClB"}
1
+ {"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const sendlaneCatalog = {\n \"slug\": \"sendlane\",\n \"name\": \"Sendlane\",\n \"description\": \"Sendlane is a cloud-based marketing automation platform that helps eCommerce businesses engage customers through personalized email and SMS campaigns.\",\n \"category\": \"Marketing Automation\",\n \"logo\": \"https://logos.composio.dev/api/sendlane\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"api_key\": {\n \"label\": \"Sendlane API Token\",\n \"secret\": true,\n \"description\": \"The API access token from your Sendlane dashboard.\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,kBAAkB;CAC7B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB,EAClB,WAAW;EACT,SAAS;EACT,UAAU;EACV,eAAe;CACjB,EACF;CACA,oBAAoB;AACtB"}
@@ -8,6 +8,14 @@ declare const sendlaneCatalog: {
8
8
  readonly logo: "https://logos.composio.dev/api/sendlane";
9
9
  readonly authKind: "keystroke";
10
10
  readonly oauthScopes: readonly [];
11
+ readonly credentialFields: {
12
+ readonly api_key: {
13
+ readonly label: "Sendlane API Token";
14
+ readonly secret: true;
15
+ readonly description: "The API access token from your Sendlane dashboard.";
16
+ };
17
+ };
18
+ readonly credentialScheme: "API_KEY";
11
19
  };
12
20
  //#endregion
13
21
  export { sendlaneCatalog };
@@ -8,6 +8,14 @@ declare const sendlaneCatalog: {
8
8
  readonly logo: "https://logos.composio.dev/api/sendlane";
9
9
  readonly authKind: "keystroke";
10
10
  readonly oauthScopes: readonly [];
11
+ readonly credentialFields: {
12
+ readonly api_key: {
13
+ readonly label: "Sendlane API Token";
14
+ readonly secret: true;
15
+ readonly description: "The API access token from your Sendlane dashboard.";
16
+ };
17
+ };
18
+ readonly credentialScheme: "API_KEY";
11
19
  };
12
20
  //#endregion
13
21
  export { sendlaneCatalog };
package/dist/catalog.mjs CHANGED
@@ -7,7 +7,13 @@ const sendlaneCatalog = {
7
7
  "category": "Marketing Automation",
8
8
  "logo": "https://logos.composio.dev/api/sendlane",
9
9
  "authKind": "keystroke",
10
- "oauthScopes": []
10
+ "oauthScopes": [],
11
+ "credentialFields": { "api_key": {
12
+ "label": "Sendlane API Token",
13
+ "secret": true,
14
+ "description": "The API access token from your Sendlane dashboard."
15
+ } },
16
+ "credentialScheme": "API_KEY"
11
17
  };
12
18
  //#endregion
13
19
  export { sendlaneCatalog };
@@ -1 +1 @@
1
- {"version":3,"file":"catalog.mjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const sendlaneCatalog = {\n \"slug\": \"sendlane\",\n \"name\": \"Sendlane\",\n \"description\": \"Sendlane is a cloud-based marketing automation platform that helps eCommerce businesses engage customers through personalized email and SMS campaigns.\",\n \"category\": \"Marketing Automation\",\n \"logo\": \"https://logos.composio.dev/api/sendlane\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": []\n} as const;\n"],"mappings":";;AACA,MAAa,kBAAkB;CAC7B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;AAClB"}
1
+ {"version":3,"file":"catalog.mjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const sendlaneCatalog = {\n \"slug\": \"sendlane\",\n \"name\": \"Sendlane\",\n \"description\": \"Sendlane is a cloud-based marketing automation platform that helps eCommerce businesses engage customers through personalized email and SMS campaigns.\",\n \"category\": \"Marketing Automation\",\n \"logo\": \"https://logos.composio.dev/api/sendlane\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"api_key\": {\n \"label\": \"Sendlane API Token\",\n \"secret\": true,\n \"description\": \"The API access token from your Sendlane dashboard.\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,kBAAkB;CAC7B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB,EAClB,WAAW;EACT,SAAS;EACT,UAAU;EACV,eAAe;CACjB,EACF;CACA,oBAAoB;AACtB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@keystrokehq/sendlane",
3
- "version": "0.1.0",
3
+ "version": "0.1.3",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "registry": "https://registry.npmjs.org"
@@ -31,7 +31,7 @@
31
31
  }
32
32
  },
33
33
  "peerDependencies": {
34
- "@keystrokehq/keystroke": "^0.1.4",
34
+ "@keystrokehq/keystroke": ">=0.1.4",
35
35
  "zod": "^4.4.3"
36
36
  },
37
37
  "devDependencies": {