@keystrokehq/sendfox 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 (145) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/delete-contact-from-list.cjs +1 -1
  4. package/dist/actions/delete-contact-from-list.cjs.map +1 -1
  5. package/dist/actions/delete-contact-from-list.d.cts +20 -3
  6. package/dist/actions/delete-contact-from-list.d.cts.map +1 -1
  7. package/dist/actions/delete-contact-from-list.d.mts +20 -3
  8. package/dist/actions/delete-contact-from-list.d.mts.map +1 -1
  9. package/dist/actions/delete-contact-from-list.mjs +1 -1
  10. package/dist/actions/delete-contact-from-list.mjs.map +1 -1
  11. package/dist/actions/get-automations.cjs +4 -4
  12. package/dist/actions/get-automations.cjs.map +1 -1
  13. package/dist/actions/get-automations.d.cts +11 -3
  14. package/dist/actions/get-automations.d.cts.map +1 -1
  15. package/dist/actions/get-automations.d.mts +11 -3
  16. package/dist/actions/get-automations.d.mts.map +1 -1
  17. package/dist/actions/get-automations.mjs +4 -4
  18. package/dist/actions/get-automations.mjs.map +1 -1
  19. package/dist/actions/get-campaign-by-id.cjs +7 -7
  20. package/dist/actions/get-campaign-by-id.cjs.map +1 -1
  21. package/dist/actions/get-campaign-by-id.d.cts +18 -3
  22. package/dist/actions/get-campaign-by-id.d.cts.map +1 -1
  23. package/dist/actions/get-campaign-by-id.d.mts +18 -3
  24. package/dist/actions/get-campaign-by-id.d.mts.map +1 -1
  25. package/dist/actions/get-campaign-by-id.mjs +7 -7
  26. package/dist/actions/get-campaign-by-id.mjs.map +1 -1
  27. package/dist/actions/get-campaigns.cjs +3 -3
  28. package/dist/actions/get-campaigns.cjs.map +1 -1
  29. package/dist/actions/get-campaigns.d.cts +24 -3
  30. package/dist/actions/get-campaigns.d.cts.map +1 -1
  31. package/dist/actions/get-campaigns.d.mts +24 -3
  32. package/dist/actions/get-campaigns.d.mts.map +1 -1
  33. package/dist/actions/get-campaigns.mjs +3 -3
  34. package/dist/actions/get-campaigns.mjs.map +1 -1
  35. package/dist/actions/get-contact-by-id.cjs +3 -3
  36. package/dist/actions/get-contact-by-id.cjs.map +1 -1
  37. package/dist/actions/get-contact-by-id.d.cts +17 -3
  38. package/dist/actions/get-contact-by-id.d.cts.map +1 -1
  39. package/dist/actions/get-contact-by-id.d.mts +17 -3
  40. package/dist/actions/get-contact-by-id.d.mts.map +1 -1
  41. package/dist/actions/get-contact-by-id.mjs +3 -3
  42. package/dist/actions/get-contact-by-id.mjs.map +1 -1
  43. package/dist/actions/get-contact-fields.cjs +5 -5
  44. package/dist/actions/get-contact-fields.cjs.map +1 -1
  45. package/dist/actions/get-contact-fields.d.cts +9 -3
  46. package/dist/actions/get-contact-fields.d.cts.map +1 -1
  47. package/dist/actions/get-contact-fields.d.mts +9 -3
  48. package/dist/actions/get-contact-fields.d.mts.map +1 -1
  49. package/dist/actions/get-contact-fields.mjs +5 -5
  50. package/dist/actions/get-contact-fields.mjs.map +1 -1
  51. package/dist/actions/get-contacts-in-list.cjs +7 -7
  52. package/dist/actions/get-contacts-in-list.cjs.map +1 -1
  53. package/dist/actions/get-contacts-in-list.d.cts +23 -3
  54. package/dist/actions/get-contacts-in-list.d.cts.map +1 -1
  55. package/dist/actions/get-contacts-in-list.d.mts +23 -3
  56. package/dist/actions/get-contacts-in-list.d.mts.map +1 -1
  57. package/dist/actions/get-contacts-in-list.mjs +7 -7
  58. package/dist/actions/get-contacts-in-list.mjs.map +1 -1
  59. package/dist/actions/get-contacts.cjs +7 -7
  60. package/dist/actions/get-contacts.cjs.map +1 -1
  61. package/dist/actions/get-contacts.d.cts +23 -3
  62. package/dist/actions/get-contacts.d.cts.map +1 -1
  63. package/dist/actions/get-contacts.d.mts +23 -3
  64. package/dist/actions/get-contacts.d.mts.map +1 -1
  65. package/dist/actions/get-contacts.mjs +7 -7
  66. package/dist/actions/get-contacts.mjs.map +1 -1
  67. package/dist/actions/get-current-user.cjs +4 -4
  68. package/dist/actions/get-current-user.cjs.map +1 -1
  69. package/dist/actions/get-current-user.d.cts +16 -3
  70. package/dist/actions/get-current-user.d.cts.map +1 -1
  71. package/dist/actions/get-current-user.d.mts +16 -3
  72. package/dist/actions/get-current-user.d.mts.map +1 -1
  73. package/dist/actions/get-current-user.mjs +4 -4
  74. package/dist/actions/get-current-user.mjs.map +1 -1
  75. package/dist/actions/get-forms.cjs +4 -4
  76. package/dist/actions/get-forms.cjs.map +1 -1
  77. package/dist/actions/get-forms.d.cts +18 -3
  78. package/dist/actions/get-forms.d.cts.map +1 -1
  79. package/dist/actions/get-forms.d.mts +18 -3
  80. package/dist/actions/get-forms.d.mts.map +1 -1
  81. package/dist/actions/get-forms.mjs +4 -4
  82. package/dist/actions/get-forms.mjs.map +1 -1
  83. package/dist/actions/get-list-by-id.cjs +4 -4
  84. package/dist/actions/get-list-by-id.cjs.map +1 -1
  85. package/dist/actions/get-list-by-id.d.cts +13 -3
  86. package/dist/actions/get-list-by-id.d.cts.map +1 -1
  87. package/dist/actions/get-list-by-id.d.mts +13 -3
  88. package/dist/actions/get-list-by-id.d.mts.map +1 -1
  89. package/dist/actions/get-list-by-id.mjs +4 -4
  90. package/dist/actions/get-list-by-id.mjs.map +1 -1
  91. package/dist/actions/get-lists.cjs +9 -9
  92. package/dist/actions/get-lists.cjs.map +1 -1
  93. package/dist/actions/get-lists.d.cts +21 -3
  94. package/dist/actions/get-lists.d.cts.map +1 -1
  95. package/dist/actions/get-lists.d.mts +21 -3
  96. package/dist/actions/get-lists.d.mts.map +1 -1
  97. package/dist/actions/get-lists.mjs +9 -9
  98. package/dist/actions/get-lists.mjs.map +1 -1
  99. package/dist/actions/list-contact-fields.cjs +10 -10
  100. package/dist/actions/list-contact-fields.cjs.map +1 -1
  101. package/dist/actions/list-contact-fields.d.cts +15 -3
  102. package/dist/actions/list-contact-fields.d.cts.map +1 -1
  103. package/dist/actions/list-contact-fields.d.mts +15 -3
  104. package/dist/actions/list-contact-fields.d.mts.map +1 -1
  105. package/dist/actions/list-contact-fields.mjs +10 -10
  106. package/dist/actions/list-contact-fields.mjs.map +1 -1
  107. package/dist/actions/list-unsubscribed-contacts.cjs +7 -7
  108. package/dist/actions/list-unsubscribed-contacts.cjs.map +1 -1
  109. package/dist/actions/list-unsubscribed-contacts.d.cts +23 -3
  110. package/dist/actions/list-unsubscribed-contacts.d.cts.map +1 -1
  111. package/dist/actions/list-unsubscribed-contacts.d.mts +23 -3
  112. package/dist/actions/list-unsubscribed-contacts.d.mts.map +1 -1
  113. package/dist/actions/list-unsubscribed-contacts.mjs +7 -7
  114. package/dist/actions/list-unsubscribed-contacts.mjs.map +1 -1
  115. package/dist/actions/patch-unsubscribe-contact.cjs +2 -2
  116. package/dist/actions/patch-unsubscribe-contact.cjs.map +1 -1
  117. package/dist/actions/patch-unsubscribe-contact.d.cts +16 -3
  118. package/dist/actions/patch-unsubscribe-contact.d.cts.map +1 -1
  119. package/dist/actions/patch-unsubscribe-contact.d.mts +16 -3
  120. package/dist/actions/patch-unsubscribe-contact.d.mts.map +1 -1
  121. package/dist/actions/patch-unsubscribe-contact.mjs +2 -2
  122. package/dist/actions/patch-unsubscribe-contact.mjs.map +1 -1
  123. package/dist/actions/post-create-contact.cjs +3 -3
  124. package/dist/actions/post-create-contact.cjs.map +1 -1
  125. package/dist/actions/post-create-contact.d.cts +23 -3
  126. package/dist/actions/post-create-contact.d.cts.map +1 -1
  127. package/dist/actions/post-create-contact.d.mts +23 -3
  128. package/dist/actions/post-create-contact.d.mts.map +1 -1
  129. package/dist/actions/post-create-contact.mjs +3 -3
  130. package/dist/actions/post-create-contact.mjs.map +1 -1
  131. package/dist/actions/post-create-list.cjs +3 -3
  132. package/dist/actions/post-create-list.cjs.map +1 -1
  133. package/dist/actions/post-create-list.d.cts +12 -3
  134. package/dist/actions/post-create-list.d.cts.map +1 -1
  135. package/dist/actions/post-create-list.d.mts +12 -3
  136. package/dist/actions/post-create-list.d.mts.map +1 -1
  137. package/dist/actions/post-create-list.mjs +3 -3
  138. package/dist/actions/post-create-list.mjs.map +1 -1
  139. package/dist/catalog.cjs +7 -1
  140. package/dist/catalog.cjs.map +1 -1
  141. package/dist/catalog.d.cts +8 -0
  142. package/dist/catalog.d.mts +8 -0
  143. package/dist/catalog.mjs +7 -1
  144. package/dist/catalog.mjs.map +1 -1
  145. package/package.json +2 -2
@@ -1 +1 @@
1
- {"version":3,"file":"action.cjs","names":["sendfox","executeSendfoxTool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { sendfox } from \"./app\";\nimport { executeSendfoxTool } 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(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: z.ZodTypeAny;\n output: z.ZodTypeAny;\n },\n) {\n return sendfox.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 executeSendfoxTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAOA,YAAAA,QAAQ,OAAO;EACpB,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,mBAAmB,MAAM,KAAgC,CAAC;EAC1F;CACF,CAAC;AACH"}
1
+ {"version":3,"file":"action.cjs","names":["sendfox","executeSendfoxTool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { sendfox } from \"./app\";\nimport { executeSendfoxTool } 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 sendfox.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 executeSendfoxTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAOA,YAAAA,QAAQ,OAAO;EACpB,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,mBAAmB,MAAM,KAAgC,CAAC;EAC1F;CACF,CAAC;AACH"}
@@ -1 +1 @@
1
- {"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { sendfox } from \"./app\";\nimport { executeSendfoxTool } 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(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: z.ZodTypeAny;\n output: z.ZodTypeAny;\n },\n) {\n return sendfox.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 executeSendfoxTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAO,QAAQ,OAAO;EACpB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,mBAAmB,MAAM,KAAgC,CAAC;EAC1F;CACF,CAAC;AACH"}
1
+ {"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { sendfox } from \"./app\";\nimport { executeSendfoxTool } 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 sendfox.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 executeSendfoxTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAO,QAAQ,OAAO;EACpB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,mBAAmB,MAAM,KAAgC,CAAC;EAC1F;CACF,CAAC;AACH"}
@@ -16,7 +16,7 @@ const SendfoxDeleteContactFromListOutput = zod.z.object({
16
16
  ip_address: zod.z.string().describe("IP address associated with the contact.").nullable().optional(),
17
17
  updated_at: zod.z.string().describe("ISO 8601 timestamp when the contact was last updated.").nullable().optional(),
18
18
  unsubscribed_at: zod.z.string().describe("ISO 8601 timestamp when the contact unsubscribed, if applicable.").nullable().optional()
19
- }).describe("Response schema after removing a contact from a SendFox list.\nReturns the contact details after removal from the specified list.");
19
+ }).passthrough().describe("Response schema after removing a contact from a SendFox list.\nReturns the contact details after removal from the specified list.");
20
20
  const sendfoxDeleteContactFromList = require_action.action("SENDFOX_DELETE_CONTACT_FROM_LIST", {
21
21
  slug: "sendfox-delete-contact-from-list",
22
22
  name: "Delete Contact from List",
@@ -1 +1 @@
1
- {"version":3,"file":"delete-contact-from-list.cjs","names":["z","action"],"sources":["../../src/actions/delete-contact-from-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendfoxDeleteContactFromListInput: z.ZodTypeAny = z.object({\n list_id: z.number().int().describe(\"Unique identifier of the list to remove the contact from.\"),\n contact_id: z.number().int().describe(\"Unique identifier of the contact to remove from the list.\"),\n}).describe(\"Request parameters for removing a contact from a specific SendFox list.\");\nexport const SendfoxDeleteContactFromListOutput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier of the contact.\").nullable().optional(),\n email: z.string().describe(\"Email address of the contact.\").nullable().optional(),\n lists: z.array(z.number().int()).describe(\"List IDs the contact remains a member of after removal.\").nullable().optional(),\n status: z.string().describe(\"Subscription status of the contact (e.g., 'active', 'unsubscribed').\").nullable().optional(),\n last_name: z.string().describe(\"Last name of the contact.\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp when the contact was created.\").nullable().optional(),\n first_name: z.string().describe(\"First name of the contact.\").nullable().optional(),\n ip_address: z.string().describe(\"IP address associated with the contact.\").nullable().optional(),\n updated_at: z.string().describe(\"ISO 8601 timestamp when the contact was last updated.\").nullable().optional(),\n unsubscribed_at: z.string().describe(\"ISO 8601 timestamp when the contact unsubscribed, if applicable.\").nullable().optional(),\n}).describe(\"Response schema after removing a contact from a SendFox list.\\nReturns the contact details after removal from the specified list.\");\n\nexport const sendfoxDeleteContactFromList = action(\"SENDFOX_DELETE_CONTACT_FROM_LIST\", {\n slug: \"sendfox-delete-contact-from-list\",\n name: \"Delete Contact from List\",\n description: \"Tool to remove a contact from a specific list in SendFox. Use when you need to disassociate a contact from a list without deleting the contact entirely. The contact will remain in your account but will no longer be a member of the specified list.\",\n input: SendfoxDeleteContactFromListInput,\n output: SendfoxDeleteContactFromListOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAkDA,IAAAA,EAAE,OAAO;CACtE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D;CAC9F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D;AACnG,CAAC,CAAC,CAAC,SAAS,yEAAyE;AACrF,MAAa,qCAAmDA,IAAAA,EAAE,OAAO;CACvE,IAAIA,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],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendfoxDeleteContactFromListInput = z.object({\n list_id: z.number().int().describe(\"Unique identifier of the list to remove the contact from.\"),\n contact_id: z.number().int().describe(\"Unique identifier of the contact to remove from the list.\"),\n}).describe(\"Request parameters for removing a contact from a specific SendFox list.\");\nexport const SendfoxDeleteContactFromListOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the contact.\").nullable().optional(),\n email: z.string().describe(\"Email address of the contact.\").nullable().optional(),\n lists: z.array(z.number().int()).describe(\"List IDs the contact remains a member of after removal.\").nullable().optional(),\n status: z.string().describe(\"Subscription status of the contact (e.g., 'active', 'unsubscribed').\").nullable().optional(),\n last_name: z.string().describe(\"Last name of the contact.\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp when the contact was created.\").nullable().optional(),\n first_name: z.string().describe(\"First name of the contact.\").nullable().optional(),\n ip_address: z.string().describe(\"IP address associated with the contact.\").nullable().optional(),\n updated_at: z.string().describe(\"ISO 8601 timestamp when the contact was last updated.\").nullable().optional(),\n unsubscribed_at: z.string().describe(\"ISO 8601 timestamp when the contact unsubscribed, if applicable.\").nullable().optional(),\n}).passthrough().describe(\"Response schema after removing a contact from a SendFox list.\\nReturns the contact details after removal from the specified list.\");\n\nexport const sendfoxDeleteContactFromList = action(\"SENDFOX_DELETE_CONTACT_FROM_LIST\", {\n slug: \"sendfox-delete-contact-from-list\",\n name: \"Delete Contact from List\",\n description: \"Tool to remove a contact from a specific list in SendFox. Use when you need to disassociate a contact from a list without deleting the contact entirely. The contact will remain in your account but will no longer be a member of the specified list.\",\n input: SendfoxDeleteContactFromListInput,\n output: SendfoxDeleteContactFromListOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D;CAC9F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CA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oC;CACrF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,26 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/delete-contact-from-list.d.ts
4
- declare const SendfoxDeleteContactFromListInput: z.ZodTypeAny;
5
- declare const SendfoxDeleteContactFromListOutput: z.ZodTypeAny;
6
- declare const sendfoxDeleteContactFromList: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SendfoxDeleteContactFromListInput: z.ZodObject<{
5
+ list_id: z.ZodNumber;
6
+ contact_id: z.ZodNumber;
7
+ }, z.core.$strip>;
8
+ declare const SendfoxDeleteContactFromListOutput: z.ZodObject<{
9
+ id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
10
+ email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
+ lists: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
12
+ status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
+ last_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ first_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
+ ip_address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
+ unsubscribed_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
+ }, z.core.$loose>;
20
+ declare const sendfoxDeleteContactFromList: import("@keystrokehq/action").WorkflowActionDefinition<{
21
+ list_id: number;
22
+ contact_id: number;
23
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
24
  //#endregion
8
25
  export { sendfoxDeleteContactFromList };
9
26
  //# sourceMappingURL=delete-contact-from-list.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-contact-from-list.d.cts","names":[],"sources":["../../src/actions/delete-contact-from-list.ts"],"mappings":";;;cAIa,iCAAA,EAAmC,CAAA,CAAE,UAGoC;AAAA,cACzE,kCAAA,EAAoC,CAAA,CAAE,UAW6F;AAAA,cAEnI,4BAAA,gCAA4B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"delete-contact-from-list.d.cts","names":[],"sources":["../../src/actions/delete-contact-from-list.ts"],"mappings":";;;cAIa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;cAIjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;;;;;;cAalC,4BAAA,gCAA4B,wBAAA"}
@@ -1,9 +1,26 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/delete-contact-from-list.d.ts
4
- declare const SendfoxDeleteContactFromListInput: z.ZodTypeAny;
5
- declare const SendfoxDeleteContactFromListOutput: z.ZodTypeAny;
6
- declare const sendfoxDeleteContactFromList: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SendfoxDeleteContactFromListInput: z.ZodObject<{
5
+ list_id: z.ZodNumber;
6
+ contact_id: z.ZodNumber;
7
+ }, z.core.$strip>;
8
+ declare const SendfoxDeleteContactFromListOutput: z.ZodObject<{
9
+ id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
10
+ email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
+ lists: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
12
+ status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
+ last_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ first_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
+ ip_address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
+ unsubscribed_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
+ }, z.core.$loose>;
20
+ declare const sendfoxDeleteContactFromList: import("@keystrokehq/action").WorkflowActionDefinition<{
21
+ list_id: number;
22
+ contact_id: number;
23
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
24
  //#endregion
8
25
  export { sendfoxDeleteContactFromList };
9
26
  //# sourceMappingURL=delete-contact-from-list.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-contact-from-list.d.mts","names":[],"sources":["../../src/actions/delete-contact-from-list.ts"],"mappings":";;;cAIa,iCAAA,EAAmC,CAAA,CAAE,UAGoC;AAAA,cACzE,kCAAA,EAAoC,CAAA,CAAE,UAW6F;AAAA,cAEnI,4BAAA,gCAA4B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"delete-contact-from-list.d.mts","names":[],"sources":["../../src/actions/delete-contact-from-list.ts"],"mappings":";;;cAIa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;cAIjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;;;;;;cAalC,4BAAA,gCAA4B,wBAAA"}
@@ -19,7 +19,7 @@ const sendfoxDeleteContactFromList = action("SENDFOX_DELETE_CONTACT_FROM_LIST",
19
19
  ip_address: z.string().describe("IP address associated with the contact.").nullable().optional(),
20
20
  updated_at: z.string().describe("ISO 8601 timestamp when the contact was last updated.").nullable().optional(),
21
21
  unsubscribed_at: z.string().describe("ISO 8601 timestamp when the contact unsubscribed, if applicable.").nullable().optional()
22
- }).describe("Response schema after removing a contact from a SendFox list.\nReturns the contact details after removal from the specified list.")
22
+ }).passthrough().describe("Response schema after removing a contact from a SendFox list.\nReturns the contact details after removal from the specified list.")
23
23
  });
24
24
  //#endregion
25
25
  export { sendfoxDeleteContactFromList };
@@ -1 +1 @@
1
- {"version":3,"file":"delete-contact-from-list.mjs","names":[],"sources":["../../src/actions/delete-contact-from-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendfoxDeleteContactFromListInput: z.ZodTypeAny = z.object({\n list_id: z.number().int().describe(\"Unique identifier of the list to remove the contact from.\"),\n contact_id: z.number().int().describe(\"Unique identifier of the contact to remove from the list.\"),\n}).describe(\"Request parameters for removing a contact from a specific SendFox list.\");\nexport const SendfoxDeleteContactFromListOutput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier of the contact.\").nullable().optional(),\n email: z.string().describe(\"Email address of the contact.\").nullable().optional(),\n lists: z.array(z.number().int()).describe(\"List IDs the contact remains a member of after removal.\").nullable().optional(),\n status: z.string().describe(\"Subscription status of the contact (e.g., 'active', 'unsubscribed').\").nullable().optional(),\n last_name: z.string().describe(\"Last name of the contact.\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp when the contact was created.\").nullable().optional(),\n first_name: z.string().describe(\"First name of the contact.\").nullable().optional(),\n ip_address: z.string().describe(\"IP address associated with the contact.\").nullable().optional(),\n updated_at: z.string().describe(\"ISO 8601 timestamp when the contact was last updated.\").nullable().optional(),\n unsubscribed_at: z.string().describe(\"ISO 8601 timestamp when the contact unsubscribed, if applicable.\").nullable().optional(),\n}).describe(\"Response schema after removing a contact from a SendFox list.\\nReturns the contact details after removal from the specified list.\");\n\nexport const sendfoxDeleteContactFromList = action(\"SENDFOX_DELETE_CONTACT_FROM_LIST\", {\n slug: \"sendfox-delete-contact-from-list\",\n name: \"Delete Contact from List\",\n description: \"Tool to remove a contact from a specific list in SendFox. Use when you need to disassociate a contact from a list without deleting the contact entirely. The contact will remain in your account but will no longer be a member of the specified list.\",\n input: SendfoxDeleteContactFromListInput,\n output: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AAC,SAAS,CAAC,CAAC,SAAS;CAC/H,CAAC,CAAC,CAAC,SAAS,mIAOF;AACV,CAAC"}
1
+ {"version":3,"file":"delete-contact-from-list.mjs","names":[],"sources":["../../src/actions/delete-contact-from-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendfoxDeleteContactFromListInput = z.object({\n list_id: z.number().int().describe(\"Unique identifier of the list to remove the contact from.\"),\n contact_id: z.number().int().describe(\"Unique identifier of the contact to remove from the list.\"),\n}).describe(\"Request parameters for removing a contact from a specific SendFox list.\");\nexport const SendfoxDeleteContactFromListOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the contact.\").nullable().optional(),\n email: z.string().describe(\"Email address of the contact.\").nullable().optional(),\n lists: z.array(z.number().int()).describe(\"List IDs the contact remains a member of after removal.\").nullable().optional(),\n status: z.string().describe(\"Subscription status of the contact (e.g., 'active', 'unsubscribed').\").nullable().optional(),\n last_name: z.string().describe(\"Last name of the contact.\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp when the contact was created.\").nullable().optional(),\n first_name: z.string().describe(\"First name of the contact.\").nullable().optional(),\n ip_address: z.string().describe(\"IP address associated with the contact.\").nullable().optional(),\n updated_at: z.string().describe(\"ISO 8601 timestamp when the contact was last updated.\").nullable().optional(),\n unsubscribed_at: z.string().describe(\"ISO 8601 timestamp when the contact unsubscribed, if applicable.\").nullable().optional(),\n}).passthrough().describe(\"Response schema after removing a contact from a SendFox list.\\nReturns the contact details after removal from the specified list.\");\n\nexport const sendfoxDeleteContactFromList = action(\"SENDFOX_DELETE_CONTACT_FROM_LIST\", {\n slug: \"sendfox-delete-contact-from-list\",\n name: \"Delete Contact from List\",\n description: \"Tool to remove a contact from a specific list in SendFox. Use when you need to disassociate a contact from a list without deleting the contact entirely. The contact will remain in your account but will no longer be a member of the specified list.\",\n input: SendfoxDeleteContactFromListInput,\n output: SendfoxDeleteContactFromListOutput,\n});\n"],"mappings":";;AAqBA,MAA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AAC,YAAY,CAAC,CAAC,SAAS,mIAOhB;AACV,CAAC"}
@@ -3,13 +3,13 @@ let zod = require("zod");
3
3
  //#region src/actions/get-automations.ts
4
4
  const SendfoxGetAutomationsInput = zod.z.object({}).describe("Request schema for retrieving automations. No parameters required.");
5
5
  const SendfoxGetAutomations_AutomationSchema = zod.z.object({
6
- id: zod.z.number().int().describe("Unique ID of the automation"),
7
- title: zod.z.string().describe("Title/name of the automation"),
6
+ id: zod.z.number().int().describe("Unique ID of the automation").nullable(),
7
+ title: zod.z.string().describe("Title/name of the automation").nullable(),
8
8
  user_id: zod.z.number().int().describe("ID of the user who owns this automation").nullable().optional(),
9
9
  created_at: zod.z.string().describe("ISO 8601 timestamp when the automation was created").nullable().optional(),
10
10
  updated_at: zod.z.string().describe("ISO 8601 timestamp when the automation was last updated").nullable().optional()
11
- }).describe("Represents a SendFox automation.");
12
- const SendfoxGetAutomationsOutput = zod.z.object({ automations: zod.z.array(SendfoxGetAutomations_AutomationSchema).describe("List of automations") }).describe("Response schema for list of automations.");
11
+ }).passthrough().describe("Represents a SendFox automation.");
12
+ const SendfoxGetAutomationsOutput = zod.z.object({ automations: zod.z.array(SendfoxGetAutomations_AutomationSchema).describe("List of automations") }).passthrough().describe("Response schema for list of automations.");
13
13
  const sendfoxGetAutomations = require_action.action("SENDFOX_GET_AUTOMATIONS", {
14
14
  slug: "sendfox-get-automations",
15
15
  name: "Get Automations",
@@ -1 +1 @@
1
- {"version":3,"file":"get-automations.cjs","names":["z","action"],"sources":["../../src/actions/get-automations.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendfoxGetAutomationsInput: z.ZodTypeAny = z.object({}).describe(\"Request schema for retrieving automations. No parameters required.\");\nconst SendfoxGetAutomations_AutomationSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique ID of the automation\"),\n title: z.string().describe(\"Title/name of the automation\"),\n user_id: z.number().int().describe(\"ID of the user who owns this automation\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp when the automation was created\").nullable().optional(),\n updated_at: z.string().describe(\"ISO 8601 timestamp when the automation was last updated\").nullable().optional(),\n}).describe(\"Represents a SendFox automation.\");\nexport const SendfoxGetAutomationsOutput: z.ZodTypeAny = z.object({\n automations: z.array(SendfoxGetAutomations_AutomationSchema).describe(\"List of automations\"),\n}).describe(\"Response schema for list of automations.\");\n\nexport const sendfoxGetAutomations = action(\"SENDFOX_GET_AUTOMATIONS\", {\n slug: \"sendfox-get-automations\",\n name: \"Get Automations\",\n description: \"Tool to retrieve a list of automations. Use when you need to list all automations for your SendFox account.\",\n input: SendfoxGetAutomationsInput,\n output: SendfoxGetAutomationsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA2CA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,oEAAoE;AAClJ,MAAM,yCAAuDA,IAAAA,EAAE,OAAO;CACpE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B;CAC3D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;CACzD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjH,CAAC,CAAC,CAAC,SAAS,kCAAkC;AAC9C,MAAa,8BAA4CA,IAAAA,EAAE,OAAO,EAChE,aAAaA,IAAAA,EAAE,MAAM,sCAAsC,CAAC,CAAC,SAAS,qBAAqB,EAC7F,CAAC,CAAC,CAAC,SAAS,0CAA0C;AAEtD,MAAa,wBAAwBC,eAAAA,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-automations.cjs","names":["z","action"],"sources":["../../src/actions/get-automations.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendfoxGetAutomationsInput = z.object({}).describe(\"Request schema for retrieving automations. No parameters required.\");\nconst SendfoxGetAutomations_AutomationSchema = z.object({\n id: z.number().int().describe(\"Unique ID of the automation\").nullable(),\n title: z.string().describe(\"Title/name of the automation\").nullable(),\n user_id: z.number().int().describe(\"ID of the user who owns this automation\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp when the automation was created\").nullable().optional(),\n updated_at: z.string().describe(\"ISO 8601 timestamp when the automation was last updated\").nullable().optional(),\n}).passthrough().describe(\"Represents a SendFox automation.\");\nexport const SendfoxGetAutomationsOutput = z.object({\n automations: z.array(SendfoxGetAutomations_AutomationSchema).describe(\"List of automations\"),\n}).passthrough().describe(\"Response schema for list of automations.\");\n\nexport const sendfoxGetAutomations = action(\"SENDFOX_GET_AUTOMATIONS\", {\n slug: \"sendfox-get-automations\",\n name: \"Get Automations\",\n description: \"Tool to retrieve a list of automations. Use when you need to list all automations for your SendFox account.\",\n input: SendfoxGetAutomationsInput,\n output: SendfoxGetAutomationsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,oEAAoE;AACpI,MAAM,yCAAyCA,IAAAA,EAAE,OAAO;CACtD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACtE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACpE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kCAAkC;AAC5D,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,EAClD,aAAaA,IAAAA,EAAE,MAAM,sCAAsC,CAAC,CAAC,SAAS,qBAAqB,EAC7F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AAEpE,MAAa,wBAAwBC,eAAAA,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,17 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-automations.d.ts
4
- declare const SendfoxGetAutomationsInput: z.ZodTypeAny;
5
- declare const SendfoxGetAutomationsOutput: z.ZodTypeAny;
6
- declare const sendfoxGetAutomations: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SendfoxGetAutomationsInput: z.ZodObject<{}, z.core.$strip>;
5
+ declare const SendfoxGetAutomationsOutput: z.ZodObject<{
6
+ automations: z.ZodArray<z.ZodObject<{
7
+ id: z.ZodNullable<z.ZodNumber>;
8
+ title: z.ZodNullable<z.ZodString>;
9
+ user_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
10
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
+ }, z.core.$loose>>;
13
+ }, z.core.$loose>;
14
+ declare const sendfoxGetAutomations: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
15
  //#endregion
8
16
  export { sendfoxGetAutomations };
9
17
  //# sourceMappingURL=get-automations.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-automations.d.cts","names":[],"sources":["../../src/actions/get-automations.ts"],"mappings":";;;cAIa,0BAAA,EAA4B,CAAA,CAAE,UAAwG;AAAA,cAQtI,2BAAA,EAA6B,CAAA,CAAE,UAEW;AAAA,cAE1C,qBAAA,gCAAqB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-automations.d.cts","names":[],"sources":["../../src/actions/get-automations.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAQ1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;cAI3B,qBAAA,gCAAqB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -1,9 +1,17 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-automations.d.ts
4
- declare const SendfoxGetAutomationsInput: z.ZodTypeAny;
5
- declare const SendfoxGetAutomationsOutput: z.ZodTypeAny;
6
- declare const sendfoxGetAutomations: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SendfoxGetAutomationsInput: z.ZodObject<{}, z.core.$strip>;
5
+ declare const SendfoxGetAutomationsOutput: z.ZodObject<{
6
+ automations: z.ZodArray<z.ZodObject<{
7
+ id: z.ZodNullable<z.ZodNumber>;
8
+ title: z.ZodNullable<z.ZodString>;
9
+ user_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
10
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
+ }, z.core.$loose>>;
13
+ }, z.core.$loose>;
14
+ declare const sendfoxGetAutomations: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
15
  //#endregion
8
16
  export { sendfoxGetAutomations };
9
17
  //# sourceMappingURL=get-automations.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-automations.d.mts","names":[],"sources":["../../src/actions/get-automations.ts"],"mappings":";;;cAIa,0BAAA,EAA4B,CAAA,CAAE,UAAwG;AAAA,cAQtI,2BAAA,EAA6B,CAAA,CAAE,UAEW;AAAA,cAE1C,qBAAA,gCAAqB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-automations.d.mts","names":[],"sources":["../../src/actions/get-automations.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAQ1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;cAI3B,qBAAA,gCAAqB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -3,18 +3,18 @@ import { z } from "zod";
3
3
  //#region src/actions/get-automations.ts
4
4
  const SendfoxGetAutomationsInput = z.object({}).describe("Request schema for retrieving automations. No parameters required.");
5
5
  const SendfoxGetAutomations_AutomationSchema = z.object({
6
- id: z.number().int().describe("Unique ID of the automation"),
7
- title: z.string().describe("Title/name of the automation"),
6
+ id: z.number().int().describe("Unique ID of the automation").nullable(),
7
+ title: z.string().describe("Title/name of the automation").nullable(),
8
8
  user_id: z.number().int().describe("ID of the user who owns this automation").nullable().optional(),
9
9
  created_at: z.string().describe("ISO 8601 timestamp when the automation was created").nullable().optional(),
10
10
  updated_at: z.string().describe("ISO 8601 timestamp when the automation was last updated").nullable().optional()
11
- }).describe("Represents a SendFox automation.");
11
+ }).passthrough().describe("Represents a SendFox automation.");
12
12
  const sendfoxGetAutomations = action("SENDFOX_GET_AUTOMATIONS", {
13
13
  slug: "sendfox-get-automations",
14
14
  name: "Get Automations",
15
15
  description: "Tool to retrieve a list of automations. Use when you need to list all automations for your SendFox account.",
16
16
  input: SendfoxGetAutomationsInput,
17
- output: z.object({ automations: z.array(SendfoxGetAutomations_AutomationSchema).describe("List of automations") }).describe("Response schema for list of automations.")
17
+ output: z.object({ automations: z.array(SendfoxGetAutomations_AutomationSchema).describe("List of automations") }).passthrough().describe("Response schema for list of automations.")
18
18
  });
19
19
  //#endregion
20
20
  export { sendfoxGetAutomations };
@@ -1 +1 @@
1
- {"version":3,"file":"get-automations.mjs","names":[],"sources":["../../src/actions/get-automations.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendfoxGetAutomationsInput: z.ZodTypeAny = z.object({}).describe(\"Request schema for retrieving automations. No parameters required.\");\nconst SendfoxGetAutomations_AutomationSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique ID of the automation\"),\n title: z.string().describe(\"Title/name of the automation\"),\n user_id: z.number().int().describe(\"ID of the user who owns this automation\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp when the automation was created\").nullable().optional(),\n updated_at: z.string().describe(\"ISO 8601 timestamp when the automation was last updated\").nullable().optional(),\n}).describe(\"Represents a SendFox automation.\");\nexport const SendfoxGetAutomationsOutput: z.ZodTypeAny = z.object({\n automations: z.array(SendfoxGetAutomations_AutomationSchema).describe(\"List of automations\"),\n}).describe(\"Response schema for list of automations.\");\n\nexport const sendfoxGetAutomations = action(\"SENDFOX_GET_AUTOMATIONS\", {\n slug: \"sendfox-get-automations\",\n name: \"Get Automations\",\n description: \"Tool to retrieve a list of automations. Use when you need to list all automations for your SendFox account.\",\n input: SendfoxGetAutomationsInput,\n output: SendfoxGetAutomationsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA2C,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,oEAAoE;AAClJ,MAAM,yCAAuD,EAAE,OAAO;CACpE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B;CAC3D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;CACzD,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjH,CAAC,CAAC,CAAC,SAAS,kCAAkC;AAK9C,MAAa,wBAAwB,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATuD,EAAE,OAAO,EAChE,aAAa,EAAE,MAAM,sCAAsC,CAAC,CAAC,SAAS,qBAAqB,EAC7F,CAAC,CAAC,CAAC,SAAS,0CAOF;AACV,CAAC"}
1
+ {"version":3,"file":"get-automations.mjs","names":[],"sources":["../../src/actions/get-automations.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendfoxGetAutomationsInput = z.object({}).describe(\"Request schema for retrieving automations. No parameters required.\");\nconst SendfoxGetAutomations_AutomationSchema = z.object({\n id: z.number().int().describe(\"Unique ID of the automation\").nullable(),\n title: z.string().describe(\"Title/name of the automation\").nullable(),\n user_id: z.number().int().describe(\"ID of the user who owns this automation\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp when the automation was created\").nullable().optional(),\n updated_at: z.string().describe(\"ISO 8601 timestamp when the automation was last updated\").nullable().optional(),\n}).passthrough().describe(\"Represents a SendFox automation.\");\nexport const SendfoxGetAutomationsOutput = z.object({\n automations: z.array(SendfoxGetAutomations_AutomationSchema).describe(\"List of automations\"),\n}).passthrough().describe(\"Response schema for list of automations.\");\n\nexport const sendfoxGetAutomations = action(\"SENDFOX_GET_AUTOMATIONS\", {\n slug: \"sendfox-get-automations\",\n name: \"Get Automations\",\n description: \"Tool to retrieve a list of automations. Use when you need to list all automations for your SendFox account.\",\n input: SendfoxGetAutomationsInput,\n output: SendfoxGetAutomationsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,oEAAoE;AACpI,MAAM,yCAAyC,EAAE,OAAO;CACtD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACtE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACpE,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kCAAkC;AAK5D,MAAa,wBAAwB,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATyC,EAAE,OAAO,EAClD,aAAa,EAAE,MAAM,sCAAsC,CAAC,CAAC,SAAS,qBAAqB,EAC7F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAOhB;AACV,CAAC"}
@@ -3,17 +3,17 @@ let zod = require("zod");
3
3
  //#region src/actions/get-campaign-by-id.ts
4
4
  const SendfoxGetCampaignByIdInput = zod.z.object({ id: zod.z.number().int().describe("Unique identifier of the campaign to retrieve.") }).describe("Request model for retrieving a campaign by its ID.");
5
5
  const SendfoxGetCampaignByIdOutput = zod.z.object({
6
- id: zod.z.number().int().describe("Unique identifier of the campaign."),
7
- html: zod.z.string().describe("HTML content of the campaign email body."),
8
- title: zod.z.string().describe("Title of the campaign."),
9
- subject: zod.z.string().describe("Subject line of the campaign email."),
6
+ id: zod.z.number().int().describe("Unique identifier of the campaign.").nullable(),
7
+ html: zod.z.string().describe("HTML content of the campaign email body.").nullable(),
8
+ title: zod.z.string().describe("Title of the campaign.").nullable(),
9
+ subject: zod.z.string().describe("Subject line of the campaign email.").nullable(),
10
10
  timezone: zod.z.string().describe("Timezone for scheduling the campaign.").nullable().optional(),
11
- from_name: zod.z.string().describe("Sender name displayed in the email."),
11
+ from_name: zod.z.string().describe("Sender name displayed in the email.").nullable(),
12
12
  created_at: zod.z.string().describe("Timestamp when the campaign was created (ISO 8601 format).").nullable().optional(),
13
- from_email: zod.z.string().describe("Sender email address used for the campaign."),
13
+ from_email: zod.z.string().describe("Sender email address used for the campaign.").nullable(),
14
14
  updated_at: zod.z.string().describe("Timestamp when the campaign was last updated (ISO 8601 format).").nullable().optional(),
15
15
  scheduled_at: zod.z.string().describe("Timestamp when the campaign is scheduled to be sent (ISO 8601 format). Null if not scheduled.").nullable().optional()
16
- }).describe("Response model for a campaign retrieved by ID.");
16
+ }).passthrough().describe("Response model for a campaign retrieved by ID.");
17
17
  const sendfoxGetCampaignById = require_action.action("SENDFOX_GET_CAMPAIGN_BY_ID", {
18
18
  slug: "sendfox-get-campaign-by-id",
19
19
  name: "Get Campaign by ID",
@@ -1 +1 @@
1
- {"version":3,"file":"get-campaign-by-id.cjs","names":["z","action"],"sources":["../../src/actions/get-campaign-by-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendfoxGetCampaignByIdInput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier of the campaign to retrieve.\"),\n}).describe(\"Request model for retrieving a campaign by its ID.\");\nexport const SendfoxGetCampaignByIdOutput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier of the campaign.\"),\n html: z.string().describe(\"HTML content of the campaign email body.\"),\n title: z.string().describe(\"Title of the campaign.\"),\n subject: z.string().describe(\"Subject line of the campaign email.\"),\n timezone: z.string().describe(\"Timezone for scheduling the campaign.\").nullable().optional(),\n from_name: z.string().describe(\"Sender name displayed in the email.\"),\n created_at: z.string().describe(\"Timestamp when the campaign was created (ISO 8601 format).\").nullable().optional(),\n from_email: z.string().describe(\"Sender email address used for the campaign.\"),\n updated_at: z.string().describe(\"Timestamp when the campaign was last updated (ISO 8601 format).\").nullable().optional(),\n scheduled_at: z.string().describe(\"Timestamp when the campaign is scheduled to be sent (ISO 8601 format). Null if not scheduled.\").nullable().optional(),\n}).describe(\"Response model for a campaign retrieved by ID.\");\n\nexport const sendfoxGetCampaignById = action(\"SENDFOX_GET_CAMPAIGN_BY_ID\", {\n slug: \"sendfox-get-campaign-by-id\",\n name: \"Get Campaign by ID\",\n description: \"Retrieve details for a specific campaign by its ID from SendFox. Use this when you need to fetch information about a particular campaign. Returns campaign details including title, subject, HTML content, sender info, and scheduling details.\",\n input: SendfoxGetCampaignByIdInput,\n output: SendfoxGetCampaignByIdOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA4CA,IAAAA,EAAE,OAAO,EAChE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,EAChF,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,MAAa,+BAA6CA,IAAAA,EAAE,OAAO;CACjE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC;CAClE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;CACpE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;CACnD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;CAClE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;CACpE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C;CAC7E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvH,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzJ,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAE5D,MAAa,yBAAyBC,eAAAA,OAAO,8BAA8B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-campaign-by-id.cjs","names":["z","action"],"sources":["../../src/actions/get-campaign-by-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendfoxGetCampaignByIdInput = z.object({\n id: z.number().int().describe(\"Unique identifier of the campaign to retrieve.\"),\n}).describe(\"Request model for retrieving a campaign by its ID.\");\nexport const SendfoxGetCampaignByIdOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the campaign.\").nullable(),\n html: z.string().describe(\"HTML content of the campaign email body.\").nullable(),\n title: z.string().describe(\"Title of the campaign.\").nullable(),\n subject: z.string().describe(\"Subject line of the campaign email.\").nullable(),\n timezone: z.string().describe(\"Timezone for scheduling the campaign.\").nullable().optional(),\n from_name: z.string().describe(\"Sender name displayed in the email.\").nullable(),\n created_at: z.string().describe(\"Timestamp when the campaign was created (ISO 8601 format).\").nullable().optional(),\n from_email: z.string().describe(\"Sender email address used for the campaign.\").nullable(),\n updated_at: z.string().describe(\"Timestamp when the campaign was last updated (ISO 8601 format).\").nullable().optional(),\n scheduled_at: z.string().describe(\"Timestamp when the campaign is scheduled to be sent (ISO 8601 format). Null if not scheduled.\").nullable().optional(),\n}).passthrough().describe(\"Response model for a campaign retrieved by ID.\");\n\nexport const sendfoxGetCampaignById = action(\"SENDFOX_GET_CAMPAIGN_BY_ID\", {\n slug: \"sendfox-get-campaign-by-id\",\n name: \"Get Campaign by ID\",\n description: \"Retrieve details for a specific campaign by its ID from SendFox. Use this when you need to fetch information about a particular campaign. Returns campaign details including title, subject, HTML content, sender info, and scheduling details.\",\n input: SendfoxGetCampaignByIdInput,\n output: SendfoxGetCampaignByIdOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,EAClD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,EAChF,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC7E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CAC/E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CAC9D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC7E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC/E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACxF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvH,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAE1E,MAAa,yBAAyBC,eAAAA,OAAO,8BAA8B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,24 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-campaign-by-id.d.ts
4
- declare const SendfoxGetCampaignByIdInput: z.ZodTypeAny;
5
- declare const SendfoxGetCampaignByIdOutput: z.ZodTypeAny;
6
- declare const sendfoxGetCampaignById: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SendfoxGetCampaignByIdInput: z.ZodObject<{
5
+ id: z.ZodNumber;
6
+ }, z.core.$strip>;
7
+ declare const SendfoxGetCampaignByIdOutput: z.ZodObject<{
8
+ id: z.ZodNullable<z.ZodNumber>;
9
+ html: z.ZodNullable<z.ZodString>;
10
+ title: z.ZodNullable<z.ZodString>;
11
+ subject: z.ZodNullable<z.ZodString>;
12
+ timezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
+ from_name: z.ZodNullable<z.ZodString>;
14
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ from_email: z.ZodNullable<z.ZodString>;
16
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
+ scheduled_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
+ }, z.core.$loose>;
19
+ declare const sendfoxGetCampaignById: import("@keystrokehq/action").WorkflowActionDefinition<{
20
+ id: number;
21
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
22
  //#endregion
8
23
  export { sendfoxGetCampaignById };
9
24
  //# sourceMappingURL=get-campaign-by-id.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-campaign-by-id.d.cts","names":[],"sources":["../../src/actions/get-campaign-by-id.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UAEqB;AAAA,cACpD,4BAAA,EAA8B,CAAA,CAAE,UAWgB;AAAA,cAEhD,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-campaign-by-id.d.cts","names":[],"sources":["../../src/actions/get-campaign-by-id.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;cAG3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;cAa5B,sBAAA,gCAAsB,wBAAA"}
@@ -1,9 +1,24 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-campaign-by-id.d.ts
4
- declare const SendfoxGetCampaignByIdInput: z.ZodTypeAny;
5
- declare const SendfoxGetCampaignByIdOutput: z.ZodTypeAny;
6
- declare const sendfoxGetCampaignById: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SendfoxGetCampaignByIdInput: z.ZodObject<{
5
+ id: z.ZodNumber;
6
+ }, z.core.$strip>;
7
+ declare const SendfoxGetCampaignByIdOutput: z.ZodObject<{
8
+ id: z.ZodNullable<z.ZodNumber>;
9
+ html: z.ZodNullable<z.ZodString>;
10
+ title: z.ZodNullable<z.ZodString>;
11
+ subject: z.ZodNullable<z.ZodString>;
12
+ timezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
+ from_name: z.ZodNullable<z.ZodString>;
14
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ from_email: z.ZodNullable<z.ZodString>;
16
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
+ scheduled_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
+ }, z.core.$loose>;
19
+ declare const sendfoxGetCampaignById: import("@keystrokehq/action").WorkflowActionDefinition<{
20
+ id: number;
21
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
22
  //#endregion
8
23
  export { sendfoxGetCampaignById };
9
24
  //# sourceMappingURL=get-campaign-by-id.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-campaign-by-id.d.mts","names":[],"sources":["../../src/actions/get-campaign-by-id.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UAEqB;AAAA,cACpD,4BAAA,EAA8B,CAAA,CAAE,UAWgB;AAAA,cAEhD,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-campaign-by-id.d.mts","names":[],"sources":["../../src/actions/get-campaign-by-id.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;cAG3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;cAa5B,sBAAA,gCAAsB,wBAAA"}
@@ -6,17 +6,17 @@ const sendfoxGetCampaignById = action("SENDFOX_GET_CAMPAIGN_BY_ID", {
6
6
  description: "Retrieve details for a specific campaign by its ID from SendFox. Use this when you need to fetch information about a particular campaign. Returns campaign details including title, subject, HTML content, sender info, and scheduling details.",
7
7
  input: z.object({ id: z.number().int().describe("Unique identifier of the campaign to retrieve.") }).describe("Request model for retrieving a campaign by its ID."),
8
8
  output: z.object({
9
- id: z.number().int().describe("Unique identifier of the campaign."),
10
- html: z.string().describe("HTML content of the campaign email body."),
11
- title: z.string().describe("Title of the campaign."),
12
- subject: z.string().describe("Subject line of the campaign email."),
9
+ id: z.number().int().describe("Unique identifier of the campaign.").nullable(),
10
+ html: z.string().describe("HTML content of the campaign email body.").nullable(),
11
+ title: z.string().describe("Title of the campaign.").nullable(),
12
+ subject: z.string().describe("Subject line of the campaign email.").nullable(),
13
13
  timezone: z.string().describe("Timezone for scheduling the campaign.").nullable().optional(),
14
- from_name: z.string().describe("Sender name displayed in the email."),
14
+ from_name: z.string().describe("Sender name displayed in the email.").nullable(),
15
15
  created_at: z.string().describe("Timestamp when the campaign was created (ISO 8601 format).").nullable().optional(),
16
- from_email: z.string().describe("Sender email address used for the campaign."),
16
+ from_email: z.string().describe("Sender email address used for the campaign.").nullable(),
17
17
  updated_at: z.string().describe("Timestamp when the campaign was last updated (ISO 8601 format).").nullable().optional(),
18
18
  scheduled_at: z.string().describe("Timestamp when the campaign is scheduled to be sent (ISO 8601 format). Null if not scheduled.").nullable().optional()
19
- }).describe("Response model for a campaign retrieved by ID.")
19
+ }).passthrough().describe("Response model for a campaign retrieved by ID.")
20
20
  });
21
21
  //#endregion
22
22
  export { sendfoxGetCampaignById };
@@ -1 +1 @@
1
- {"version":3,"file":"get-campaign-by-id.mjs","names":[],"sources":["../../src/actions/get-campaign-by-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendfoxGetCampaignByIdInput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier of the campaign to retrieve.\"),\n}).describe(\"Request model for retrieving a campaign by its ID.\");\nexport const SendfoxGetCampaignByIdOutput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier of the campaign.\"),\n html: z.string().describe(\"HTML content of the campaign email body.\"),\n title: z.string().describe(\"Title of the campaign.\"),\n subject: z.string().describe(\"Subject line of the campaign email.\"),\n timezone: z.string().describe(\"Timezone for scheduling the campaign.\").nullable().optional(),\n from_name: z.string().describe(\"Sender name displayed in the email.\"),\n created_at: z.string().describe(\"Timestamp when the campaign was created (ISO 8601 format).\").nullable().optional(),\n from_email: z.string().describe(\"Sender email address used for the campaign.\"),\n updated_at: z.string().describe(\"Timestamp when the campaign was last updated (ISO 8601 format).\").nullable().optional(),\n scheduled_at: z.string().describe(\"Timestamp when the campaign is scheduled to be sent (ISO 8601 format). Null if not scheduled.\").nullable().optional(),\n}).describe(\"Response model for a campaign retrieved by ID.\");\n\nexport const sendfoxGetCampaignById = action(\"SENDFOX_GET_CAMPAIGN_BY_ID\", {\n slug: \"sendfox-get-campaign-by-id\",\n name: \"Get Campaign by ID\",\n description: \"Retrieve details for a specific campaign by its ID from SendFox. Use this when you need to fetch information about a particular campaign. Returns campaign details including title, subject, HTML content, sender info, and scheduling details.\",\n input: SendfoxGetCampaignByIdInput,\n output: SendfoxGetCampaignByIdOutput,\n});\n"],"mappings":";;AAoBA,MAAa,yBAAyB,OAAO,8BAA8B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OApBuD,EAAE,OAAO,EAChE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,EAChF,CAAC,CAAC,CAAC,SAAS,oDAkBH;CACP,QAlBwD,EAAE,OAAO;EACjE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC;EAClE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;EACpE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;EACnD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;EAClE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;EACpE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C;EAC7E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvH,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzJ,CAAC,CAAC,CAAC,SAAS,gDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"get-campaign-by-id.mjs","names":[],"sources":["../../src/actions/get-campaign-by-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendfoxGetCampaignByIdInput = z.object({\n id: z.number().int().describe(\"Unique identifier of the campaign to retrieve.\"),\n}).describe(\"Request model for retrieving a campaign by its ID.\");\nexport const SendfoxGetCampaignByIdOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the campaign.\").nullable(),\n html: z.string().describe(\"HTML content of the campaign email body.\").nullable(),\n title: z.string().describe(\"Title of the campaign.\").nullable(),\n subject: z.string().describe(\"Subject line of the campaign email.\").nullable(),\n timezone: z.string().describe(\"Timezone for scheduling the campaign.\").nullable().optional(),\n from_name: z.string().describe(\"Sender name displayed in the email.\").nullable(),\n created_at: z.string().describe(\"Timestamp when the campaign was created (ISO 8601 format).\").nullable().optional(),\n from_email: z.string().describe(\"Sender email address used for the campaign.\").nullable(),\n updated_at: z.string().describe(\"Timestamp when the campaign was last updated (ISO 8601 format).\").nullable().optional(),\n scheduled_at: z.string().describe(\"Timestamp when the campaign is scheduled to be sent (ISO 8601 format). Null if not scheduled.\").nullable().optional(),\n}).passthrough().describe(\"Response model for a campaign retrieved by ID.\");\n\nexport const sendfoxGetCampaignById = action(\"SENDFOX_GET_CAMPAIGN_BY_ID\", {\n slug: \"sendfox-get-campaign-by-id\",\n name: \"Get Campaign by ID\",\n description: \"Retrieve details for a specific campaign by its ID from SendFox. Use this when you need to fetch information about a particular campaign. Returns campaign details including title, subject, HTML content, sender info, and scheduling details.\",\n input: SendfoxGetCampaignByIdInput,\n output: SendfoxGetCampaignByIdOutput,\n});\n"],"mappings":";;AAoBA,MAAa,yBAAyB,OAAO,8BAA8B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OApByC,EAAE,OAAO,EAClD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,EAChF,CAAC,CAAC,CAAC,SAAS,oDAkBH;CACP,QAlB0C,EAAE,OAAO;EACnD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;EAC7E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;EAC/E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;EAC9D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;EAC7E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;EAC/E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;EACxF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvH,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAOhB;AACV,CAAC"}
@@ -3,7 +3,7 @@ let zod = require("zod");
3
3
  //#region src/actions/get-campaigns.ts
4
4
  const SendfoxGetCampaignsInput = zod.z.object({ page: zod.z.number().int().describe("Page number of the results to fetch (starts at 1). Defaults to 1 if not provided.").optional() }).describe("Request parameters for retrieving paginated campaigns.");
5
5
  const SendfoxGetCampaigns_CampaignSchema = zod.z.object({
6
- id: zod.z.number().int().describe("Unique campaign ID."),
6
+ id: zod.z.number().int().describe("Unique campaign ID.").nullable(),
7
7
  lists: zod.z.array(zod.z.unknown()).describe("Lists attached to this campaign (array of list objects with id and name).").nullable().optional(),
8
8
  status: zod.z.string().describe("Current status of the campaign (e.g., 'draft', 'sent', 'scheduled').").nullable().optional(),
9
9
  sent_at: zod.z.string().describe("Timestamp when the campaign was sent, if applicable.").nullable().optional(),
@@ -13,14 +13,14 @@ const SendfoxGetCampaigns_CampaignSchema = zod.z.object({
13
13
  html_content: zod.z.string().describe("HTML content of the campaign email body.").nullable().optional(),
14
14
  scheduled_at: zod.z.string().describe("Timestamp when the campaign is scheduled to be sent, if applicable.").nullable().optional(),
15
15
  plain_content: zod.z.string().describe("Plain-text content of the campaign email body.").nullable().optional()
16
- }).describe("Schema for an individual campaign item.");
16
+ }).passthrough().describe("Schema for an individual campaign item.");
17
17
  const SendfoxGetCampaignsOutput = zod.z.object({
18
18
  data: zod.z.array(SendfoxGetCampaigns_CampaignSchema).describe("List of campaigns returned by the API."),
19
19
  total: zod.z.number().int().describe("Total number of campaigns across all pages.").nullable().optional(),
20
20
  per_page: zod.z.number().int().describe("Number of campaigns per page.").nullable().optional(),
21
21
  last_page: zod.z.number().int().describe("Last page number in the paginated results.").nullable().optional(),
22
22
  current_page: zod.z.number().int().describe("Current page number in the paginated results.").nullable().optional()
23
- }).describe("Response schema for a paginated list of campaigns.");
23
+ }).passthrough().describe("Response schema for a paginated list of campaigns.");
24
24
  const sendfoxGetCampaigns = require_action.action("SENDFOX_GET_CAMPAIGNS", {
25
25
  slug: "sendfox-get-campaigns",
26
26
  name: "Get Campaigns",
@@ -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 SendfoxGetCampaignsInput: z.ZodTypeAny = z.object({\n page: z.number().int().describe(\"Page number of the results to fetch (starts at 1). Defaults to 1 if not provided.\").optional(),\n}).describe(\"Request parameters for retrieving paginated campaigns.\");\nconst SendfoxGetCampaigns_CampaignSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique campaign ID.\"),\n lists: z.array(z.unknown()).describe(\"Lists attached to this campaign (array of list objects with id and name).\").nullable().optional(),\n status: z.string().describe(\"Current status of the campaign (e.g., 'draft', 'sent', 'scheduled').\").nullable().optional(),\n sent_at: z.string().describe(\"Timestamp when the campaign was sent, if applicable.\").nullable().optional(),\n subject: z.string().describe(\"Subject line of the campaign email.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the campaign was created.\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the campaign was last updated.\").nullable().optional(),\n html_content: z.string().describe(\"HTML content of the campaign email body.\").nullable().optional(),\n scheduled_at: z.string().describe(\"Timestamp when the campaign is scheduled to be sent, if applicable.\").nullable().optional(),\n plain_content: z.string().describe(\"Plain-text content of the campaign email body.\").nullable().optional(),\n}).describe(\"Schema for an individual campaign item.\");\nexport const SendfoxGetCampaignsOutput: z.ZodTypeAny = z.object({\n data: z.array(SendfoxGetCampaigns_CampaignSchema).describe(\"List of campaigns returned by the API.\"),\n total: z.number().int().describe(\"Total number of campaigns across all pages.\").nullable().optional(),\n per_page: z.number().int().describe(\"Number of campaigns per page.\").nullable().optional(),\n last_page: z.number().int().describe(\"Last page number in the paginated results.\").nullable().optional(),\n current_page: z.number().int().describe(\"Current page number in the paginated results.\").nullable().optional(),\n}).describe(\"Response schema for a paginated list of campaigns.\");\n\nexport const sendfoxGetCampaigns = action(\"SENDFOX_GET_CAMPAIGNS\", {\n slug: \"sendfox-get-campaigns\",\n name: \"Get Campaigns\",\n description: \"Retrieve a paginated list of email campaigns from SendFox. Use this to fetch all campaigns or navigate through pages of results. Returns campaign details including status, subject, content, and timestamps.\",\n input: SendfoxGetCampaignsInput,\n output: SendfoxGetCampaignsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAAyCA,IAAAA,EAAE,OAAO,EAC7D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS,EAChI,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAM,qCAAmDA,IAAAA,EAAE,OAAO;CAChE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qBAAqB;CACnD,OAAOA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtI,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3G,CAAC,CAAC,CAAC,SAAS,yCAAyC;AACrD,MAAa,4BAA0CA,IAAAA,EAAE,OAAO;CAC9D,MAAMA,IAAAA,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,wCAAwC;CACnG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/G,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAEhE,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,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 { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendfoxGetCampaignsInput = z.object({\n page: z.number().int().describe(\"Page number of the results to fetch (starts at 1). Defaults to 1 if not provided.\").optional(),\n}).describe(\"Request parameters for retrieving paginated campaigns.\");\nconst SendfoxGetCampaigns_CampaignSchema = z.object({\n id: z.number().int().describe(\"Unique campaign ID.\").nullable(),\n lists: z.array(z.unknown()).describe(\"Lists attached to this campaign (array of list objects with id and name).\").nullable().optional(),\n status: z.string().describe(\"Current status of the campaign (e.g., 'draft', 'sent', 'scheduled').\").nullable().optional(),\n sent_at: z.string().describe(\"Timestamp when the campaign was sent, if applicable.\").nullable().optional(),\n subject: z.string().describe(\"Subject line of the campaign email.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the campaign was created.\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the campaign was last updated.\").nullable().optional(),\n html_content: z.string().describe(\"HTML content of the campaign email body.\").nullable().optional(),\n scheduled_at: z.string().describe(\"Timestamp when the campaign is scheduled to be sent, if applicable.\").nullable().optional(),\n plain_content: z.string().describe(\"Plain-text content of the campaign email body.\").nullable().optional(),\n}).passthrough().describe(\"Schema for an individual campaign item.\");\nexport const SendfoxGetCampaignsOutput = z.object({\n data: z.array(SendfoxGetCampaigns_CampaignSchema).describe(\"List of campaigns returned by the API.\"),\n total: z.number().int().describe(\"Total number of campaigns across all pages.\").nullable().optional(),\n per_page: z.number().int().describe(\"Number of campaigns per page.\").nullable().optional(),\n last_page: z.number().int().describe(\"Last page number in the paginated results.\").nullable().optional(),\n current_page: z.number().int().describe(\"Current page number in the paginated results.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for a paginated list of campaigns.\");\n\nexport const sendfoxGetCampaigns = action(\"SENDFOX_GET_CAMPAIGNS\", {\n slug: \"sendfox-get-campaigns\",\n name: \"Get Campaigns\",\n description: \"Retrieve a paginated list of email campaigns from SendFox. Use this to fetch all campaigns or navigate through pages of results. Returns campaign details including status, subject, content, and timestamps.\",\n input: SendfoxGetCampaignsInput,\n output: SendfoxGetCampaignsOutput,\n});\n"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AAY,CAAC,CAAC,SAAS,yCAAyC;AACnE,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,MAAMA,IAAAA,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,wCAAwC;CACnG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAAoD;AAE9E,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,30 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-campaigns.d.ts
4
- declare const SendfoxGetCampaignsInput: z.ZodTypeAny;
5
- declare const SendfoxGetCampaignsOutput: z.ZodTypeAny;
6
- declare const sendfoxGetCampaigns: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SendfoxGetCampaignsInput: z.ZodObject<{
5
+ page: z.ZodOptional<z.ZodNumber>;
6
+ }, z.core.$strip>;
7
+ declare const SendfoxGetCampaignsOutput: z.ZodObject<{
8
+ data: z.ZodArray<z.ZodObject<{
9
+ id: z.ZodNullable<z.ZodNumber>;
10
+ lists: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnknown>>>;
11
+ status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
+ sent_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
+ subject: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
+ html_content: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
+ scheduled_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
+ plain_content: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
+ }, z.core.$loose>>;
20
+ total: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
21
+ per_page: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
22
+ last_page: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
23
+ current_page: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
24
+ }, z.core.$loose>;
25
+ declare const sendfoxGetCampaigns: import("@keystrokehq/action").WorkflowActionDefinition<{
26
+ page?: number | undefined;
27
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
28
  //#endregion
8
29
  export { sendfoxGetCampaigns };
9
30
  //# 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,wBAAA,EAA0B,CAAA,CAAE,UAE4B;AAAA,cAaxD,yBAAA,EAA2B,CAAA,CAAE,UAMuB;AAAA,cAEpD,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-campaigns.d.cts","names":[],"sources":["../../src/actions/get-campaigns.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;cAexB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAQzB,mBAAA,gCAAmB,wBAAA"}
@@ -1,9 +1,30 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-campaigns.d.ts
4
- declare const SendfoxGetCampaignsInput: z.ZodTypeAny;
5
- declare const SendfoxGetCampaignsOutput: z.ZodTypeAny;
6
- declare const sendfoxGetCampaigns: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SendfoxGetCampaignsInput: z.ZodObject<{
5
+ page: z.ZodOptional<z.ZodNumber>;
6
+ }, z.core.$strip>;
7
+ declare const SendfoxGetCampaignsOutput: z.ZodObject<{
8
+ data: z.ZodArray<z.ZodObject<{
9
+ id: z.ZodNullable<z.ZodNumber>;
10
+ lists: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnknown>>>;
11
+ status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
+ sent_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
+ subject: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
+ html_content: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
+ scheduled_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
+ plain_content: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
+ }, z.core.$loose>>;
20
+ total: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
21
+ per_page: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
22
+ last_page: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
23
+ current_page: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
24
+ }, z.core.$loose>;
25
+ declare const sendfoxGetCampaigns: import("@keystrokehq/action").WorkflowActionDefinition<{
26
+ page?: number | undefined;
27
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
28
  //#endregion
8
29
  export { sendfoxGetCampaigns };
9
30
  //# 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,wBAAA,EAA0B,CAAA,CAAE,UAE4B;AAAA,cAaxD,yBAAA,EAA2B,CAAA,CAAE,UAMuB;AAAA,cAEpD,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-campaigns.d.mts","names":[],"sources":["../../src/actions/get-campaigns.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;cAexB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAQzB,mBAAA,gCAAmB,wBAAA"}