@keystrokehq/sendfox 0.1.5 → 0.1.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (149) 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 -0
  4. package/dist/actions/delete-contact-from-list.cjs.map +1 -1
  5. package/dist/actions/delete-contact-from-list.d.cts +3 -16
  6. package/dist/actions/delete-contact-from-list.d.cts.map +1 -1
  7. package/dist/actions/delete-contact-from-list.d.mts +3 -16
  8. package/dist/actions/delete-contact-from-list.d.mts.map +1 -1
  9. package/dist/actions/delete-contact-from-list.mjs +1 -0
  10. package/dist/actions/delete-contact-from-list.mjs.map +1 -1
  11. package/dist/actions/get-automations.cjs +1 -0
  12. package/dist/actions/get-automations.cjs.map +1 -1
  13. package/dist/actions/get-automations.d.cts +3 -13
  14. package/dist/actions/get-automations.d.cts.map +1 -1
  15. package/dist/actions/get-automations.d.mts +3 -13
  16. package/dist/actions/get-automations.d.mts.map +1 -1
  17. package/dist/actions/get-automations.mjs +1 -0
  18. package/dist/actions/get-automations.mjs.map +1 -1
  19. package/dist/actions/get-campaign-by-id.cjs +1 -0
  20. package/dist/actions/get-campaign-by-id.cjs.map +1 -1
  21. package/dist/actions/get-campaign-by-id.d.cts +3 -15
  22. package/dist/actions/get-campaign-by-id.d.cts.map +1 -1
  23. package/dist/actions/get-campaign-by-id.d.mts +3 -15
  24. package/dist/actions/get-campaign-by-id.d.mts.map +1 -1
  25. package/dist/actions/get-campaign-by-id.mjs +1 -0
  26. package/dist/actions/get-campaign-by-id.mjs.map +1 -1
  27. package/dist/actions/get-campaigns.cjs +1 -0
  28. package/dist/actions/get-campaigns.cjs.map +1 -1
  29. package/dist/actions/get-campaigns.d.cts +3 -15
  30. package/dist/actions/get-campaigns.d.cts.map +1 -1
  31. package/dist/actions/get-campaigns.d.mts +3 -15
  32. package/dist/actions/get-campaigns.d.mts.map +1 -1
  33. package/dist/actions/get-campaigns.mjs +1 -0
  34. package/dist/actions/get-campaigns.mjs.map +1 -1
  35. package/dist/actions/get-contact-by-id.cjs +1 -0
  36. package/dist/actions/get-contact-by-id.cjs.map +1 -1
  37. package/dist/actions/get-contact-by-id.d.cts +3 -15
  38. package/dist/actions/get-contact-by-id.d.cts.map +1 -1
  39. package/dist/actions/get-contact-by-id.d.mts +3 -15
  40. package/dist/actions/get-contact-by-id.d.mts.map +1 -1
  41. package/dist/actions/get-contact-by-id.mjs +1 -0
  42. package/dist/actions/get-contact-by-id.mjs.map +1 -1
  43. package/dist/actions/get-contact-fields.cjs +1 -0
  44. package/dist/actions/get-contact-fields.cjs.map +1 -1
  45. package/dist/actions/get-contact-fields.d.cts +3 -13
  46. package/dist/actions/get-contact-fields.d.cts.map +1 -1
  47. package/dist/actions/get-contact-fields.d.mts +3 -13
  48. package/dist/actions/get-contact-fields.d.mts.map +1 -1
  49. package/dist/actions/get-contact-fields.mjs +1 -0
  50. package/dist/actions/get-contact-fields.mjs.map +1 -1
  51. package/dist/actions/get-contacts-in-list.cjs +1 -0
  52. package/dist/actions/get-contacts-in-list.cjs.map +1 -1
  53. package/dist/actions/get-contacts-in-list.d.cts +3 -16
  54. package/dist/actions/get-contacts-in-list.d.cts.map +1 -1
  55. package/dist/actions/get-contacts-in-list.d.mts +3 -16
  56. package/dist/actions/get-contacts-in-list.d.mts.map +1 -1
  57. package/dist/actions/get-contacts-in-list.mjs +1 -0
  58. package/dist/actions/get-contacts-in-list.mjs.map +1 -1
  59. package/dist/actions/get-contacts.cjs +1 -0
  60. package/dist/actions/get-contacts.cjs.map +1 -1
  61. package/dist/actions/get-contacts.d.cts +3 -16
  62. package/dist/actions/get-contacts.d.cts.map +1 -1
  63. package/dist/actions/get-contacts.d.mts +3 -16
  64. package/dist/actions/get-contacts.d.mts.map +1 -1
  65. package/dist/actions/get-contacts.mjs +1 -0
  66. package/dist/actions/get-contacts.mjs.map +1 -1
  67. package/dist/actions/get-current-user.cjs +1 -0
  68. package/dist/actions/get-current-user.cjs.map +1 -1
  69. package/dist/actions/get-current-user.d.cts +3 -13
  70. package/dist/actions/get-current-user.d.cts.map +1 -1
  71. package/dist/actions/get-current-user.d.mts +3 -13
  72. package/dist/actions/get-current-user.d.mts.map +1 -1
  73. package/dist/actions/get-current-user.mjs +1 -0
  74. package/dist/actions/get-current-user.mjs.map +1 -1
  75. package/dist/actions/get-forms.cjs +1 -0
  76. package/dist/actions/get-forms.cjs.map +1 -1
  77. package/dist/actions/get-forms.d.cts +3 -15
  78. package/dist/actions/get-forms.d.cts.map +1 -1
  79. package/dist/actions/get-forms.d.mts +3 -15
  80. package/dist/actions/get-forms.d.mts.map +1 -1
  81. package/dist/actions/get-forms.mjs +1 -0
  82. package/dist/actions/get-forms.mjs.map +1 -1
  83. package/dist/actions/get-list-by-id.cjs +1 -0
  84. package/dist/actions/get-list-by-id.cjs.map +1 -1
  85. package/dist/actions/get-list-by-id.d.cts +3 -15
  86. package/dist/actions/get-list-by-id.d.cts.map +1 -1
  87. package/dist/actions/get-list-by-id.d.mts +3 -15
  88. package/dist/actions/get-list-by-id.d.mts.map +1 -1
  89. package/dist/actions/get-list-by-id.mjs +1 -0
  90. package/dist/actions/get-list-by-id.mjs.map +1 -1
  91. package/dist/actions/get-lists.cjs +1 -0
  92. package/dist/actions/get-lists.cjs.map +1 -1
  93. package/dist/actions/get-lists.d.cts +3 -15
  94. package/dist/actions/get-lists.d.cts.map +1 -1
  95. package/dist/actions/get-lists.d.mts +3 -15
  96. package/dist/actions/get-lists.d.mts.map +1 -1
  97. package/dist/actions/get-lists.mjs +1 -0
  98. package/dist/actions/get-lists.mjs.map +1 -1
  99. package/dist/actions/list-contact-fields.cjs +1 -0
  100. package/dist/actions/list-contact-fields.cjs.map +1 -1
  101. package/dist/actions/list-contact-fields.d.cts +3 -13
  102. package/dist/actions/list-contact-fields.d.cts.map +1 -1
  103. package/dist/actions/list-contact-fields.d.mts +3 -13
  104. package/dist/actions/list-contact-fields.d.mts.map +1 -1
  105. package/dist/actions/list-contact-fields.mjs +1 -0
  106. package/dist/actions/list-contact-fields.mjs.map +1 -1
  107. package/dist/actions/list-unsubscribed-contacts.cjs +1 -0
  108. package/dist/actions/list-unsubscribed-contacts.cjs.map +1 -1
  109. package/dist/actions/list-unsubscribed-contacts.d.cts +3 -16
  110. package/dist/actions/list-unsubscribed-contacts.d.cts.map +1 -1
  111. package/dist/actions/list-unsubscribed-contacts.d.mts +3 -16
  112. package/dist/actions/list-unsubscribed-contacts.d.mts.map +1 -1
  113. package/dist/actions/list-unsubscribed-contacts.mjs +1 -0
  114. package/dist/actions/list-unsubscribed-contacts.mjs.map +1 -1
  115. package/dist/actions/patch-unsubscribe-contact.cjs +1 -0
  116. package/dist/actions/patch-unsubscribe-contact.cjs.map +1 -1
  117. package/dist/actions/patch-unsubscribe-contact.d.cts +3 -15
  118. package/dist/actions/patch-unsubscribe-contact.d.cts.map +1 -1
  119. package/dist/actions/patch-unsubscribe-contact.d.mts +3 -15
  120. package/dist/actions/patch-unsubscribe-contact.d.mts.map +1 -1
  121. package/dist/actions/patch-unsubscribe-contact.mjs +1 -0
  122. package/dist/actions/patch-unsubscribe-contact.mjs.map +1 -1
  123. package/dist/actions/post-create-contact.cjs +1 -0
  124. package/dist/actions/post-create-contact.cjs.map +1 -1
  125. package/dist/actions/post-create-contact.d.cts +3 -18
  126. package/dist/actions/post-create-contact.d.cts.map +1 -1
  127. package/dist/actions/post-create-contact.d.mts +3 -18
  128. package/dist/actions/post-create-contact.d.mts.map +1 -1
  129. package/dist/actions/post-create-contact.mjs +1 -0
  130. package/dist/actions/post-create-contact.mjs.map +1 -1
  131. package/dist/actions/post-create-list.cjs +1 -0
  132. package/dist/actions/post-create-list.cjs.map +1 -1
  133. package/dist/actions/post-create-list.d.cts +3 -15
  134. package/dist/actions/post-create-list.d.cts.map +1 -1
  135. package/dist/actions/post-create-list.d.mts +3 -15
  136. package/dist/actions/post-create-list.d.mts.map +1 -1
  137. package/dist/actions/post-create-list.mjs +1 -0
  138. package/dist/actions/post-create-list.mjs.map +1 -1
  139. package/dist/app.cjs +2 -2
  140. package/dist/app.cjs.map +1 -1
  141. package/dist/app.d.cts +4 -6
  142. package/dist/app.d.cts.map +1 -1
  143. package/dist/app.d.mts +4 -6
  144. package/dist/app.d.mts.map +1 -1
  145. package/dist/app.mjs +0 -1
  146. package/dist/app.mjs.map +1 -1
  147. package/dist/index.d.cts +1 -1
  148. package/dist/index.d.mts +1 -1
  149. package/package.json +2 -2
@@ -1 +1 @@
1
- {"version":3,"file":"patch-unsubscribe-contact.cjs","names":["z","action"],"sources":["../../src/actions/patch-unsubscribe-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendfoxPatchUnsubscribeContactInput = z.object({\n email: z.string().describe(\"Email address of the contact to unsubscribe. The contact must exist in your SendFox account.\"),\n}).describe(\"Request parameters for unsubscribing a SendFox contact.\");\nexport const SendfoxPatchUnsubscribeContactOutput = z.object({\n id: z.number().int().describe(\"The unique identifier of the contact.\").nullable().optional(),\n email: z.string().describe(\"The email address of the unsubscribed contact.\").nullable(),\n last_name: z.string().describe(\"The last name of the contact.\").nullable().optional(),\n created_at: z.string().describe(\"The timestamp when the contact was created.\").nullable().optional(),\n first_name: z.string().describe(\"The first name of the contact.\").nullable().optional(),\n ip_address: z.string().describe(\"The IP address of the contact.\").nullable().optional(),\n updated_at: z.string().describe(\"The timestamp when the contact was last updated.\").nullable().optional(),\n unsubscribed_at: z.string().describe(\"The timestamp when the contact was unsubscribed. Set after this action completes.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for unsubscribing a contact. Returns the contact details with updated unsubscribed_at timestamp.\");\n\nexport const sendfoxPatchUnsubscribeContact = action(\"SENDFOX_PATCH_UNSUBSCRIBE_CONTACT\", {\n slug: \"sendfox-patch-unsubscribe-contact\",\n name: \"Unsubscribe Contact\",\n description: \"Unsubscribe a contact from all email communications in your SendFox account. Use this tool when you need to: - Globally unsubscribe a contact from all future emails - Honor unsubscribe requests from subscribers - Mark a contact as opted-out The contact will be marked as unsubscribed but remains in your contacts database. This is a permanent action - the contact will not receive any future campaigns.\",\n input: SendfoxPatchUnsubscribeContactInput,\n output: SendfoxPatchUnsubscribeContactOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAsCA,IAAAA,EAAE,OAAO,EAC1D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8FAA8F,EAC3H,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAa,uCAAuCA,IAAAA,EAAE,OAAO;CAC3D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACtF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kHAAkH;AAE5I,MAAa,iCAAiCC,eAAAA,OAAO,qCAAqC;CACxF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"patch-unsubscribe-contact.cjs","names":["z","action"],"sources":["../../src/actions/patch-unsubscribe-contact.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { sendfox } from \"../app\";\n\nexport const SendfoxPatchUnsubscribeContactInput = z.object({\n email: z.string().describe(\"Email address of the contact to unsubscribe. The contact must exist in your SendFox account.\"),\n}).describe(\"Request parameters for unsubscribing a SendFox contact.\");\nexport const SendfoxPatchUnsubscribeContactOutput = z.object({\n id: z.number().int().describe(\"The unique identifier of the contact.\").nullable().optional(),\n email: z.string().describe(\"The email address of the unsubscribed contact.\").nullable(),\n last_name: z.string().describe(\"The last name of the contact.\").nullable().optional(),\n created_at: z.string().describe(\"The timestamp when the contact was created.\").nullable().optional(),\n first_name: z.string().describe(\"The first name of the contact.\").nullable().optional(),\n ip_address: z.string().describe(\"The IP address of the contact.\").nullable().optional(),\n updated_at: z.string().describe(\"The timestamp when the contact was last updated.\").nullable().optional(),\n unsubscribed_at: z.string().describe(\"The timestamp when the contact was unsubscribed. Set after this action completes.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for unsubscribing a contact. Returns the contact details with updated unsubscribed_at timestamp.\");\n\nexport const sendfoxPatchUnsubscribeContact: AppAction<\n typeof SendfoxPatchUnsubscribeContactInput,\n typeof SendfoxPatchUnsubscribeContactOutput,\n typeof sendfox.credential\n> = action(\"SENDFOX_PATCH_UNSUBSCRIBE_CONTACT\", {\n slug: \"sendfox-patch-unsubscribe-contact\",\n name: \"Unsubscribe Contact\",\n description: \"Unsubscribe a contact from all email communications in your SendFox account. Use this tool when you need to: - Globally unsubscribe a contact from all future emails - Honor unsubscribe requests from subscribers - Mark a contact as opted-out The contact will be marked as unsubscribed but remains in your contacts database. This is a permanent action - the contact will not receive any future campaigns.\",\n input: SendfoxPatchUnsubscribeContactInput,\n output: SendfoxPatchUnsubscribeContactOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,sCAAsCA,IAAAA,EAAE,OAAO,EAC1D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8FAA8F,EAC3H,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAa,uCAAuCA,IAAAA,EAAE,OAAO;CAC3D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACtF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kHAAkH;AAE5I,MAAa,iCAITC,eAAAA,OAAO,qCAAqC;CAC9C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { sendfox } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/patch-unsubscribe-contact.d.ts
@@ -14,21 +16,7 @@ declare const SendfoxPatchUnsubscribeContactOutput: z.ZodObject<{
14
16
  updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
17
  unsubscribed_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
18
  }, z.core.$loose>;
17
- declare const sendfoxPatchUnsubscribeContact: import("@keystrokehq/action").WorkflowActionDefinition<{
18
- email: string;
19
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"sendfox", z.ZodObject<{
20
- connectionId: z.ZodString;
21
- entityId: z.ZodString;
22
- instanceId: z.ZodString;
23
- }, z.core.$strip>, z.ZodObject<{
24
- generic_api_key: z.ZodString;
25
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"sendfox", z.ZodObject<{
26
- connectionId: z.ZodString;
27
- entityId: z.ZodString;
28
- instanceId: z.ZodString;
29
- }, z.core.$strip>, z.ZodObject<{
30
- generic_api_key: z.ZodString;
31
- }, z.core.$strip>>]>;
19
+ declare const sendfoxPatchUnsubscribeContact: AppAction<typeof SendfoxPatchUnsubscribeContactInput, typeof SendfoxPatchUnsubscribeContactOutput, typeof sendfox.credential>;
32
20
  //#endregion
33
21
  export { sendfoxPatchUnsubscribeContact };
34
22
  //# sourceMappingURL=patch-unsubscribe-contact.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"patch-unsubscribe-contact.d.cts","names":[],"sources":["../../src/actions/patch-unsubscribe-contact.ts"],"mappings":";;;cAIa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;cAGnC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;;;;cAWpC,8BAAA,gCAA8B,wBAAA"}
1
+ {"version":3,"file":"patch-unsubscribe-contact.d.cts","names":[],"sources":["../../src/actions/patch-unsubscribe-contact.ts"],"mappings":";;;;;cAMa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;cAGnC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;;;;cAWpC,8BAAA,EAAgC,SAAA,QACpC,mCAAA,SACA,oCAAA,SACA,OAAA,CAAQ,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { sendfox } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/patch-unsubscribe-contact.d.ts
@@ -14,21 +16,7 @@ declare const SendfoxPatchUnsubscribeContactOutput: z.ZodObject<{
14
16
  updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
17
  unsubscribed_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
18
  }, z.core.$loose>;
17
- declare const sendfoxPatchUnsubscribeContact: import("@keystrokehq/action").WorkflowActionDefinition<{
18
- email: string;
19
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"sendfox", z.ZodObject<{
20
- connectionId: z.ZodString;
21
- entityId: z.ZodString;
22
- instanceId: z.ZodString;
23
- }, z.core.$strip>, z.ZodObject<{
24
- generic_api_key: z.ZodString;
25
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"sendfox", z.ZodObject<{
26
- connectionId: z.ZodString;
27
- entityId: z.ZodString;
28
- instanceId: z.ZodString;
29
- }, z.core.$strip>, z.ZodObject<{
30
- generic_api_key: z.ZodString;
31
- }, z.core.$strip>>]>;
19
+ declare const sendfoxPatchUnsubscribeContact: AppAction<typeof SendfoxPatchUnsubscribeContactInput, typeof SendfoxPatchUnsubscribeContactOutput, typeof sendfox.credential>;
32
20
  //#endregion
33
21
  export { sendfoxPatchUnsubscribeContact };
34
22
  //# sourceMappingURL=patch-unsubscribe-contact.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"patch-unsubscribe-contact.d.mts","names":[],"sources":["../../src/actions/patch-unsubscribe-contact.ts"],"mappings":";;;cAIa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;cAGnC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;;;;cAWpC,8BAAA,gCAA8B,wBAAA"}
1
+ {"version":3,"file":"patch-unsubscribe-contact.d.mts","names":[],"sources":["../../src/actions/patch-unsubscribe-contact.ts"],"mappings":";;;;;cAMa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;cAGnC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;;;;cAWpC,8BAAA,EAAgC,SAAA,QACpC,mCAAA,SACA,oCAAA,SACA,OAAA,CAAQ,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const sendfoxPatchUnsubscribeContact = action("SENDFOX_PATCH_UNSUBSCRIBE_CONTACT", {
@@ -1 +1 @@
1
- {"version":3,"file":"patch-unsubscribe-contact.mjs","names":[],"sources":["../../src/actions/patch-unsubscribe-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendfoxPatchUnsubscribeContactInput = z.object({\n email: z.string().describe(\"Email address of the contact to unsubscribe. The contact must exist in your SendFox account.\"),\n}).describe(\"Request parameters for unsubscribing a SendFox contact.\");\nexport const SendfoxPatchUnsubscribeContactOutput = z.object({\n id: z.number().int().describe(\"The unique identifier of the contact.\").nullable().optional(),\n email: z.string().describe(\"The email address of the unsubscribed contact.\").nullable(),\n last_name: z.string().describe(\"The last name of the contact.\").nullable().optional(),\n created_at: z.string().describe(\"The timestamp when the contact was created.\").nullable().optional(),\n first_name: z.string().describe(\"The first name of the contact.\").nullable().optional(),\n ip_address: z.string().describe(\"The IP address of the contact.\").nullable().optional(),\n updated_at: z.string().describe(\"The timestamp when the contact was last updated.\").nullable().optional(),\n unsubscribed_at: z.string().describe(\"The timestamp when the contact was unsubscribed. Set after this action completes.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for unsubscribing a contact. Returns the contact details with updated unsubscribed_at timestamp.\");\n\nexport const sendfoxPatchUnsubscribeContact = action(\"SENDFOX_PATCH_UNSUBSCRIBE_CONTACT\", {\n slug: \"sendfox-patch-unsubscribe-contact\",\n name: \"Unsubscribe Contact\",\n description: \"Unsubscribe a contact from all email communications in your SendFox account. Use this tool when you need to: - Globally unsubscribe a contact from all future emails - Honor unsubscribe requests from subscribers - Mark a contact as opted-out The contact will be marked as unsubscribed but remains in your contacts database. This is a permanent action - the contact will not receive any future campaigns.\",\n input: SendfoxPatchUnsubscribeContactInput,\n output: SendfoxPatchUnsubscribeContactOutput,\n});\n"],"mappings":";;AAkBA,MAAa,iCAAiC,OAAO,qCAAqC;CACxF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlBiD,EAAE,OAAO,EAC1D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,8FAA8F,EAC3H,CAAC,CAAC,CAAC,SAAS,yDAgBH;CACP,QAhBkD,EAAE,OAAO;EAC3D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3F,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;EACtF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxG,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kHAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"patch-unsubscribe-contact.mjs","names":[],"sources":["../../src/actions/patch-unsubscribe-contact.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { sendfox } from \"../app\";\n\nexport const SendfoxPatchUnsubscribeContactInput = z.object({\n email: z.string().describe(\"Email address of the contact to unsubscribe. The contact must exist in your SendFox account.\"),\n}).describe(\"Request parameters for unsubscribing a SendFox contact.\");\nexport const SendfoxPatchUnsubscribeContactOutput = z.object({\n id: z.number().int().describe(\"The unique identifier of the contact.\").nullable().optional(),\n email: z.string().describe(\"The email address of the unsubscribed contact.\").nullable(),\n last_name: z.string().describe(\"The last name of the contact.\").nullable().optional(),\n created_at: z.string().describe(\"The timestamp when the contact was created.\").nullable().optional(),\n first_name: z.string().describe(\"The first name of the contact.\").nullable().optional(),\n ip_address: z.string().describe(\"The IP address of the contact.\").nullable().optional(),\n updated_at: z.string().describe(\"The timestamp when the contact was last updated.\").nullable().optional(),\n unsubscribed_at: z.string().describe(\"The timestamp when the contact was unsubscribed. Set after this action completes.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for unsubscribing a contact. Returns the contact details with updated unsubscribed_at timestamp.\");\n\nexport const sendfoxPatchUnsubscribeContact: AppAction<\n typeof SendfoxPatchUnsubscribeContactInput,\n typeof SendfoxPatchUnsubscribeContactOutput,\n typeof sendfox.credential\n> = action(\"SENDFOX_PATCH_UNSUBSCRIBE_CONTACT\", {\n slug: \"sendfox-patch-unsubscribe-contact\",\n name: \"Unsubscribe Contact\",\n description: \"Unsubscribe a contact from all email communications in your SendFox account. Use this tool when you need to: - Globally unsubscribe a contact from all future emails - Honor unsubscribe requests from subscribers - Mark a contact as opted-out The contact will be marked as unsubscribed but remains in your contacts database. This is a permanent action - the contact will not receive any future campaigns.\",\n input: SendfoxPatchUnsubscribeContactInput,\n output: SendfoxPatchUnsubscribeContactOutput,\n});\n"],"mappings":";;;AAoBA,MAAa,iCAIT,OAAO,qCAAqC;CAC9C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAtBiD,EAAE,OAAO,EAC1D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,8FAA8F,EAC3H,CAAC,CAAC,CAAC,SAAS,yDAoBH;CACP,QApBkD,EAAE,OAAO;EAC3D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3F,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;EACtF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxG,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kHAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/post-create-contact.ts
@@ -1 +1 @@
1
- {"version":3,"file":"post-create-contact.cjs","names":["z","action"],"sources":["../../src/actions/post-create-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendfoxPostCreateContactInput = z.object({\n email: z.string().describe(\"Email address of the contact to create. Must be a valid email format.\"),\n lists: z.array(z.number().int()).describe(\"Array of list IDs to add the contact to. Use the Get Lists action to retrieve available list IDs.\").optional(),\n last_name: z.string().describe(\"Last name of the contact. Optional.\").optional(),\n first_name: z.string().describe(\"First name of the contact. Optional but recommended for personalization.\").optional(),\n}).describe(\"Request model for creating a new contact in SendFox.\");\nexport const SendfoxPostCreateContactOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the contact in SendFox.\").nullable(),\n email: z.string().describe(\"Email address of the contact.\").nullable(),\n lists: z.array(z.number().int()).describe(\"List IDs the contact belongs to.\").nullable().optional(),\n status: z.string().describe(\"Subscription status of the contact (e.g., 'subscribed', 'unsubscribed').\").nullable().optional(),\n last_name: z.string().describe(\"Last name of the contact, if provided.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the contact was created (ISO 8601 format).\").nullable().optional(),\n first_name: z.string().describe(\"First name of the contact, if provided.\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the contact was last updated (ISO 8601 format).\").nullable().optional(),\n unsubscribed_at: z.string().describe(\"Timestamp when the contact unsubscribed, if applicable.\").nullable().optional(),\n}).passthrough().describe(\"Response model for a created or updated SendFox contact.\");\n\nexport const sendfoxPostCreateContact = action(\"SENDFOX_POST_CREATE_CONTACT\", {\n slug: \"sendfox-post-create-contact\",\n name: \"Create Contact\",\n description: \"Create a new contact (subscriber) in your SendFox account. Use this tool when you need to: - Add a new subscriber to your email list - Create a contact with optional first/last name - Add a contact to one or more specific lists If the contact already exists, their information will be updated with the provided data.\",\n input: SendfoxPostCreateContactInput,\n output: SendfoxPostCreateContactOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE;CAClG,OAAOA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS;CACxJ,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC/E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;AACvH,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACvF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACrE,OAAOA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5H,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0DAA0D;AAEpF,MAAa,2BAA2BC,eAAAA,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"post-create-contact.cjs","names":["z","action"],"sources":["../../src/actions/post-create-contact.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { sendfox } from \"../app\";\n\nexport const SendfoxPostCreateContactInput = z.object({\n email: z.string().describe(\"Email address of the contact to create. Must be a valid email format.\"),\n lists: z.array(z.number().int()).describe(\"Array of list IDs to add the contact to. Use the Get Lists action to retrieve available list IDs.\").optional(),\n last_name: z.string().describe(\"Last name of the contact. Optional.\").optional(),\n first_name: z.string().describe(\"First name of the contact. Optional but recommended for personalization.\").optional(),\n}).describe(\"Request model for creating a new contact in SendFox.\");\nexport const SendfoxPostCreateContactOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the contact in SendFox.\").nullable(),\n email: z.string().describe(\"Email address of the contact.\").nullable(),\n lists: z.array(z.number().int()).describe(\"List IDs the contact belongs to.\").nullable().optional(),\n status: z.string().describe(\"Subscription status of the contact (e.g., 'subscribed', 'unsubscribed').\").nullable().optional(),\n last_name: z.string().describe(\"Last name of the contact, if provided.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the contact was created (ISO 8601 format).\").nullable().optional(),\n first_name: z.string().describe(\"First name of the contact, if provided.\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the contact was last updated (ISO 8601 format).\").nullable().optional(),\n unsubscribed_at: z.string().describe(\"Timestamp when the contact unsubscribed, if applicable.\").nullable().optional(),\n}).passthrough().describe(\"Response model for a created or updated SendFox contact.\");\n\nexport const sendfoxPostCreateContact: AppAction<\n typeof SendfoxPostCreateContactInput,\n typeof SendfoxPostCreateContactOutput,\n typeof sendfox.credential\n> = action(\"SENDFOX_POST_CREATE_CONTACT\", {\n slug: \"sendfox-post-create-contact\",\n name: \"Create Contact\",\n description: \"Create a new contact (subscriber) in your SendFox account. Use this tool when you need to: - Add a new subscriber to your email list - Create a contact with optional first/last name - Add a contact to one or more specific lists If the contact already exists, their information will be updated with the provided data.\",\n input: SendfoxPostCreateContactInput,\n output: SendfoxPostCreateContactOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE;CAClG,OAAOA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS;CACxJ,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC/E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;AACvH,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACvF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACrE,OAAOA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5H,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0DAA0D;AAEpF,MAAa,2BAITC,eAAAA,OAAO,+BAA+B;CACxC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { sendfox } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/post-create-contact.d.ts
@@ -18,24 +20,7 @@ declare const SendfoxPostCreateContactOutput: z.ZodObject<{
18
20
  updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
21
  unsubscribed_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
22
  }, z.core.$loose>;
21
- declare const sendfoxPostCreateContact: import("@keystrokehq/action").WorkflowActionDefinition<{
22
- email: string;
23
- lists?: number[] | undefined;
24
- last_name?: string | undefined;
25
- first_name?: string | undefined;
26
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"sendfox", z.ZodObject<{
27
- connectionId: z.ZodString;
28
- entityId: z.ZodString;
29
- instanceId: z.ZodString;
30
- }, z.core.$strip>, z.ZodObject<{
31
- generic_api_key: z.ZodString;
32
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"sendfox", z.ZodObject<{
33
- connectionId: z.ZodString;
34
- entityId: z.ZodString;
35
- instanceId: z.ZodString;
36
- }, z.core.$strip>, z.ZodObject<{
37
- generic_api_key: z.ZodString;
38
- }, z.core.$strip>>]>;
23
+ declare const sendfoxPostCreateContact: AppAction<typeof SendfoxPostCreateContactInput, typeof SendfoxPostCreateContactOutput, typeof sendfox.credential>;
39
24
  //#endregion
40
25
  export { sendfoxPostCreateContact };
41
26
  //# sourceMappingURL=post-create-contact.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"post-create-contact.d.cts","names":[],"sources":["../../src/actions/post-create-contact.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;cAM7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;cAY9B,wBAAA,gCAAwB,wBAAA"}
1
+ {"version":3,"file":"post-create-contact.d.cts","names":[],"sources":["../../src/actions/post-create-contact.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;cAM7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;cAY9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,SACA,OAAA,CAAQ,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { sendfox } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/post-create-contact.d.ts
@@ -18,24 +20,7 @@ declare const SendfoxPostCreateContactOutput: z.ZodObject<{
18
20
  updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
21
  unsubscribed_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
22
  }, z.core.$loose>;
21
- declare const sendfoxPostCreateContact: import("@keystrokehq/action").WorkflowActionDefinition<{
22
- email: string;
23
- lists?: number[] | undefined;
24
- last_name?: string | undefined;
25
- first_name?: string | undefined;
26
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"sendfox", z.ZodObject<{
27
- connectionId: z.ZodString;
28
- entityId: z.ZodString;
29
- instanceId: z.ZodString;
30
- }, z.core.$strip>, z.ZodObject<{
31
- generic_api_key: z.ZodString;
32
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"sendfox", z.ZodObject<{
33
- connectionId: z.ZodString;
34
- entityId: z.ZodString;
35
- instanceId: z.ZodString;
36
- }, z.core.$strip>, z.ZodObject<{
37
- generic_api_key: z.ZodString;
38
- }, z.core.$strip>>]>;
23
+ declare const sendfoxPostCreateContact: AppAction<typeof SendfoxPostCreateContactInput, typeof SendfoxPostCreateContactOutput, typeof sendfox.credential>;
39
24
  //#endregion
40
25
  export { sendfoxPostCreateContact };
41
26
  //# sourceMappingURL=post-create-contact.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"post-create-contact.d.mts","names":[],"sources":["../../src/actions/post-create-contact.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;cAM7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;cAY9B,wBAAA,gCAAwB,wBAAA"}
1
+ {"version":3,"file":"post-create-contact.d.mts","names":[],"sources":["../../src/actions/post-create-contact.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;cAM7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;cAY9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,SACA,OAAA,CAAQ,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const sendfoxPostCreateContact = action("SENDFOX_POST_CREATE_CONTACT", {
@@ -1 +1 @@
1
- {"version":3,"file":"post-create-contact.mjs","names":[],"sources":["../../src/actions/post-create-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendfoxPostCreateContactInput = z.object({\n email: z.string().describe(\"Email address of the contact to create. Must be a valid email format.\"),\n lists: z.array(z.number().int()).describe(\"Array of list IDs to add the contact to. Use the Get Lists action to retrieve available list IDs.\").optional(),\n last_name: z.string().describe(\"Last name of the contact. Optional.\").optional(),\n first_name: z.string().describe(\"First name of the contact. Optional but recommended for personalization.\").optional(),\n}).describe(\"Request model for creating a new contact in SendFox.\");\nexport const SendfoxPostCreateContactOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the contact in SendFox.\").nullable(),\n email: z.string().describe(\"Email address of the contact.\").nullable(),\n lists: z.array(z.number().int()).describe(\"List IDs the contact belongs to.\").nullable().optional(),\n status: z.string().describe(\"Subscription status of the contact (e.g., 'subscribed', 'unsubscribed').\").nullable().optional(),\n last_name: z.string().describe(\"Last name of the contact, if provided.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the contact was created (ISO 8601 format).\").nullable().optional(),\n first_name: z.string().describe(\"First name of the contact, if provided.\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the contact was last updated (ISO 8601 format).\").nullable().optional(),\n unsubscribed_at: z.string().describe(\"Timestamp when the contact unsubscribed, if applicable.\").nullable().optional(),\n}).passthrough().describe(\"Response model for a created or updated SendFox contact.\");\n\nexport const sendfoxPostCreateContact = action(\"SENDFOX_POST_CREATE_CONTACT\", {\n slug: \"sendfox-post-create-contact\",\n name: \"Create Contact\",\n description: \"Create a new contact (subscriber) in your SendFox account. Use this tool when you need to: - Add a new subscriber to your email list - Create a contact with optional first/last name - Add a contact to one or more specific lists If the contact already exists, their information will be updated with the provided data.\",\n input: SendfoxPostCreateContactInput,\n output: SendfoxPostCreateContactOutput,\n});\n"],"mappings":";;AAsBA,MAAa,2BAA2B,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAtB2C,EAAE,OAAO;EACpD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE;EAClG,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS;EACxJ,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;EAC/E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;CACvH,CAAC,CAAC,CAAC,SAAS,sDAiBH;CACP,QAjB4C,EAAE,OAAO;EACrD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;EACvF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;EACrE,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5H,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtH,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0DAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"post-create-contact.mjs","names":[],"sources":["../../src/actions/post-create-contact.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { sendfox } from \"../app\";\n\nexport const SendfoxPostCreateContactInput = z.object({\n email: z.string().describe(\"Email address of the contact to create. Must be a valid email format.\"),\n lists: z.array(z.number().int()).describe(\"Array of list IDs to add the contact to. Use the Get Lists action to retrieve available list IDs.\").optional(),\n last_name: z.string().describe(\"Last name of the contact. Optional.\").optional(),\n first_name: z.string().describe(\"First name of the contact. Optional but recommended for personalization.\").optional(),\n}).describe(\"Request model for creating a new contact in SendFox.\");\nexport const SendfoxPostCreateContactOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the contact in SendFox.\").nullable(),\n email: z.string().describe(\"Email address of the contact.\").nullable(),\n lists: z.array(z.number().int()).describe(\"List IDs the contact belongs to.\").nullable().optional(),\n status: z.string().describe(\"Subscription status of the contact (e.g., 'subscribed', 'unsubscribed').\").nullable().optional(),\n last_name: z.string().describe(\"Last name of the contact, if provided.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the contact was created (ISO 8601 format).\").nullable().optional(),\n first_name: z.string().describe(\"First name of the contact, if provided.\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the contact was last updated (ISO 8601 format).\").nullable().optional(),\n unsubscribed_at: z.string().describe(\"Timestamp when the contact unsubscribed, if applicable.\").nullable().optional(),\n}).passthrough().describe(\"Response model for a created or updated SendFox contact.\");\n\nexport const sendfoxPostCreateContact: AppAction<\n typeof SendfoxPostCreateContactInput,\n typeof SendfoxPostCreateContactOutput,\n typeof sendfox.credential\n> = action(\"SENDFOX_POST_CREATE_CONTACT\", {\n slug: \"sendfox-post-create-contact\",\n name: \"Create Contact\",\n description: \"Create a new contact (subscriber) in your SendFox account. Use this tool when you need to: - Add a new subscriber to your email list - Create a contact with optional first/last name - Add a contact to one or more specific lists If the contact already exists, their information will be updated with the provided data.\",\n input: SendfoxPostCreateContactInput,\n output: SendfoxPostCreateContactOutput,\n});\n"],"mappings":";;;AAwBA,MAAa,2BAIT,OAAO,+BAA+B;CACxC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA1B2C,EAAE,OAAO;EACpD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE;EAClG,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS;EACxJ,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;EAC/E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;CACvH,CAAC,CAAC,CAAC,SAAS,sDAqBH;CACP,QArB4C,EAAE,OAAO;EACrD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;EACvF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;EACrE,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5H,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtH,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0DAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/post-create-list.ts
@@ -1 +1 @@
1
- {"version":3,"file":"post-create-list.cjs","names":["z","action"],"sources":["../../src/actions/post-create-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendfoxPostCreateListInput = z.object({\n name: z.string().describe(\"Name of the contact list to create\"),\n}).describe(\"Request schema for creating a new contact list.\");\nexport const SendfoxPostCreateListOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the newly created list.\").nullable(),\n name: z.string().describe(\"Name of the created list.\").nullable(),\n created_at: z.string().describe(\"Date/time the list was created in ISO 8601 format.\").nullable().optional(),\n contact_count: z.number().int().describe(\"Number of contacts in the list (typically 0 for new lists).\").nullable().optional(),\n}).passthrough().describe(\"Response schema for the newly created contact list.\");\n\nexport const sendfoxPostCreateList = action(\"SENDFOX_POST_CREATE_LIST\", {\n slug: \"sendfox-post-create-list\",\n name: \"Create List\",\n description: \"Create a new contact list in your SendFox account. Use this tool when you need to: - Create a new mailing list for organizing contacts - Set up a list before adding subscribers to it - Segment your audience by creating topic-specific lists The list will be created with 0 contacts initially. After creation, use other SendFox actions to add contacts to this list. Returns the created list's ID, name, and metadata.\",\n input: SendfoxPostCreateListInput,\n output: SendfoxPostCreateListOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,EAChE,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACvF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAChE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAAqD;AAE/E,MAAa,wBAAwBC,eAAAA,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"post-create-list.cjs","names":["z","action"],"sources":["../../src/actions/post-create-list.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { sendfox } from \"../app\";\n\nexport const SendfoxPostCreateListInput = z.object({\n name: z.string().describe(\"Name of the contact list to create\"),\n}).describe(\"Request schema for creating a new contact list.\");\nexport const SendfoxPostCreateListOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the newly created list.\").nullable(),\n name: z.string().describe(\"Name of the created list.\").nullable(),\n created_at: z.string().describe(\"Date/time the list was created in ISO 8601 format.\").nullable().optional(),\n contact_count: z.number().int().describe(\"Number of contacts in the list (typically 0 for new lists).\").nullable().optional(),\n}).passthrough().describe(\"Response schema for the newly created contact list.\");\n\nexport const sendfoxPostCreateList: AppAction<\n typeof SendfoxPostCreateListInput,\n typeof SendfoxPostCreateListOutput,\n typeof sendfox.credential\n> = action(\"SENDFOX_POST_CREATE_LIST\", {\n slug: \"sendfox-post-create-list\",\n name: \"Create List\",\n description: \"Create a new contact list in your SendFox account. Use this tool when you need to: - Create a new mailing list for organizing contacts - Set up a list before adding subscribers to it - Segment your audience by creating topic-specific lists The list will be created with 0 contacts initially. After creation, use other SendFox actions to add contacts to this list. Returns the created list's ID, name, and metadata.\",\n input: SendfoxPostCreateListInput,\n output: SendfoxPostCreateListOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,EAChE,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACvF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAChE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAAqD;AAE/E,MAAa,wBAITC,eAAAA,OAAO,4BAA4B;CACrC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { sendfox } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/post-create-list.d.ts
@@ -10,21 +12,7 @@ declare const SendfoxPostCreateListOutput: z.ZodObject<{
10
12
  created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
13
  contact_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
12
14
  }, z.core.$loose>;
13
- declare const sendfoxPostCreateList: import("@keystrokehq/action").WorkflowActionDefinition<{
14
- name: string;
15
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"sendfox", z.ZodObject<{
16
- connectionId: z.ZodString;
17
- entityId: z.ZodString;
18
- instanceId: z.ZodString;
19
- }, z.core.$strip>, z.ZodObject<{
20
- generic_api_key: z.ZodString;
21
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"sendfox", z.ZodObject<{
22
- connectionId: z.ZodString;
23
- entityId: z.ZodString;
24
- instanceId: z.ZodString;
25
- }, z.core.$strip>, z.ZodObject<{
26
- generic_api_key: z.ZodString;
27
- }, z.core.$strip>>]>;
15
+ declare const sendfoxPostCreateList: AppAction<typeof SendfoxPostCreateListInput, typeof SendfoxPostCreateListOutput, typeof sendfox.credential>;
28
16
  //#endregion
29
17
  export { sendfoxPostCreateList };
30
18
  //# sourceMappingURL=post-create-list.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"post-create-list.d.cts","names":[],"sources":["../../src/actions/post-create-list.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;cAG1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;cAO3B,qBAAA,gCAAqB,wBAAA"}
1
+ {"version":3,"file":"post-create-list.d.cts","names":[],"sources":["../../src/actions/post-create-list.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;cAG1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;cAO3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,SACA,OAAA,CAAQ,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { sendfox } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/post-create-list.d.ts
@@ -10,21 +12,7 @@ declare const SendfoxPostCreateListOutput: z.ZodObject<{
10
12
  created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
13
  contact_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
12
14
  }, z.core.$loose>;
13
- declare const sendfoxPostCreateList: import("@keystrokehq/action").WorkflowActionDefinition<{
14
- name: string;
15
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"sendfox", z.ZodObject<{
16
- connectionId: z.ZodString;
17
- entityId: z.ZodString;
18
- instanceId: z.ZodString;
19
- }, z.core.$strip>, z.ZodObject<{
20
- generic_api_key: z.ZodString;
21
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"sendfox", z.ZodObject<{
22
- connectionId: z.ZodString;
23
- entityId: z.ZodString;
24
- instanceId: z.ZodString;
25
- }, z.core.$strip>, z.ZodObject<{
26
- generic_api_key: z.ZodString;
27
- }, z.core.$strip>>]>;
15
+ declare const sendfoxPostCreateList: AppAction<typeof SendfoxPostCreateListInput, typeof SendfoxPostCreateListOutput, typeof sendfox.credential>;
28
16
  //#endregion
29
17
  export { sendfoxPostCreateList };
30
18
  //# sourceMappingURL=post-create-list.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"post-create-list.d.mts","names":[],"sources":["../../src/actions/post-create-list.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;cAG1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;cAO3B,qBAAA,gCAAqB,wBAAA"}
1
+ {"version":3,"file":"post-create-list.d.mts","names":[],"sources":["../../src/actions/post-create-list.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;cAG1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;cAO3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,SACA,OAAA,CAAQ,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const sendfoxPostCreateList = action("SENDFOX_POST_CREATE_LIST", {
@@ -1 +1 @@
1
- {"version":3,"file":"post-create-list.mjs","names":[],"sources":["../../src/actions/post-create-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SendfoxPostCreateListInput = z.object({\n name: z.string().describe(\"Name of the contact list to create\"),\n}).describe(\"Request schema for creating a new contact list.\");\nexport const SendfoxPostCreateListOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the newly created list.\").nullable(),\n name: z.string().describe(\"Name of the created list.\").nullable(),\n created_at: z.string().describe(\"Date/time the list was created in ISO 8601 format.\").nullable().optional(),\n contact_count: z.number().int().describe(\"Number of contacts in the list (typically 0 for new lists).\").nullable().optional(),\n}).passthrough().describe(\"Response schema for the newly created contact list.\");\n\nexport const sendfoxPostCreateList = action(\"SENDFOX_POST_CREATE_LIST\", {\n slug: \"sendfox-post-create-list\",\n name: \"Create List\",\n description: \"Create a new contact list in your SendFox account. Use this tool when you need to: - Create a new mailing list for organizing contacts - Set up a list before adding subscribers to it - Segment your audience by creating topic-specific lists The list will be created with 0 contacts initially. After creation, use other SendFox actions to add contacts to this list. Returns the created list's ID, name, and metadata.\",\n input: SendfoxPostCreateListInput,\n output: SendfoxPostCreateListOutput,\n});\n"],"mappings":";;AAcA,MAAa,wBAAwB,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAdwC,EAAE,OAAO,EACjD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,EAChE,CAAC,CAAC,CAAC,SAAS,iDAYH;CACP,QAZyC,EAAE,OAAO;EAClD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;EACvF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;EAChE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1G,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"post-create-list.mjs","names":[],"sources":["../../src/actions/post-create-list.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { sendfox } from \"../app\";\n\nexport const SendfoxPostCreateListInput = z.object({\n name: z.string().describe(\"Name of the contact list to create\"),\n}).describe(\"Request schema for creating a new contact list.\");\nexport const SendfoxPostCreateListOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the newly created list.\").nullable(),\n name: z.string().describe(\"Name of the created list.\").nullable(),\n created_at: z.string().describe(\"Date/time the list was created in ISO 8601 format.\").nullable().optional(),\n contact_count: z.number().int().describe(\"Number of contacts in the list (typically 0 for new lists).\").nullable().optional(),\n}).passthrough().describe(\"Response schema for the newly created contact list.\");\n\nexport const sendfoxPostCreateList: AppAction<\n typeof SendfoxPostCreateListInput,\n typeof SendfoxPostCreateListOutput,\n typeof sendfox.credential\n> = action(\"SENDFOX_POST_CREATE_LIST\", {\n slug: \"sendfox-post-create-list\",\n name: \"Create List\",\n description: \"Create a new contact list in your SendFox account. Use this tool when you need to: - Create a new mailing list for organizing contacts - Set up a list before adding subscribers to it - Segment your audience by creating topic-specific lists The list will be created with 0 contacts initially. After creation, use other SendFox actions to add contacts to this list. Returns the created list's ID, name, and metadata.\",\n input: SendfoxPostCreateListInput,\n output: SendfoxPostCreateListOutput,\n});\n"],"mappings":";;;AAgBA,MAAa,wBAIT,OAAO,4BAA4B;CACrC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlBwC,EAAE,OAAO,EACjD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,EAChE,CAAC,CAAC,CAAC,SAAS,iDAgBH;CACP,QAhByC,EAAE,OAAO;EAClD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;EACvF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;EAChE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1G,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAWhB;AACV,CAAC"}
package/dist/app.cjs CHANGED
@@ -1,10 +1,10 @@
1
1
  let _keystrokehq_keystroke_app = require("@keystrokehq/keystroke/app");
2
- let zod = require("zod");
3
2
  //#region src/app.ts
3
+ const credential = { generic_api_key: require("zod").z.string() };
4
4
  const sendfox = (0, _keystrokehq_keystroke_app.defineApp)({
5
5
  slug: "sendfox",
6
6
  auth: "keystroke",
7
- credential: { generic_api_key: zod.z.string() }
7
+ credential
8
8
  });
9
9
  //#endregion
10
10
  exports.sendfox = sendfox;
package/dist/app.cjs.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"app.cjs","names":["z"],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nexport const sendfox = defineApp({\n slug: \"sendfox\",\n auth: \"keystroke\",\n credential: {\n generic_api_key: z.string(),\n },\n});\n"],"mappings":";;;AAGA,MAAa,WAAA,GAAA,2BAAA,UAAA,CAAoB;CAC/B,MAAM;CACN,MAAM;CACN,YAAY,EACV,iBAAiBA,IAAAA,EAAE,OAAO,EAC5B;AACF,CAAC"}
1
+ {"version":3,"file":"app.cjs","names":["z"],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp, type KeystrokeApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nconst credential = {\n generic_api_key: z.string(),\n};\n\nexport const sendfox: KeystrokeApp<\"sendfox\", typeof credential> = defineApp({\n slug: \"sendfox\",\n auth: \"keystroke\",\n credential,\n});\n"],"mappings":";;AAGA,MAAM,aAAa,EACjB,8BAAiBA,CAAAA,CAAAA,EAAE,OAAO,EAC5B;AAEA,MAAa,WAAA,GAAA,2BAAA,UAAA,CAAgE;CAC3E,MAAM;CACN,MAAM;CACN;AACF,CAAC"}
package/dist/app.d.cts CHANGED
@@ -1,13 +1,11 @@
1
+ import { KeystrokeApp } from "@keystrokehq/keystroke/app";
1
2
  import { z } from "zod";
2
3
 
3
4
  //#region src/app.d.ts
4
- declare const sendfox: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential<"sendfox", z.ZodObject<{
5
- connectionId: z.ZodString;
6
- entityId: z.ZodString;
7
- instanceId: z.ZodString;
8
- }, z.core.$strip>, z.ZodObject<{
5
+ declare const credential: {
9
6
  generic_api_key: z.ZodString;
10
- }, z.core.$strip>>>;
7
+ };
8
+ declare const sendfox: KeystrokeApp<"sendfox", typeof credential>;
11
9
  //#endregion
12
10
  export { sendfox };
13
11
  //# sourceMappingURL=app.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";;;cAGa,OAAA,6BAAO,GAAA,+BAAA,UAAA,YAAA,CAAA,CAAA,SAAA"}
1
+ {"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";;;;cAGM,UAAA;mBAEL,CAAA,CAAA,SAAA;AAAA;AAAA,cAEY,OAAA,EAAS,YAAY,mBAAmB,UAAA"}
package/dist/app.d.mts CHANGED
@@ -1,13 +1,11 @@
1
+ import { KeystrokeApp } from "@keystrokehq/keystroke/app";
1
2
  import { z } from "zod";
2
3
 
3
4
  //#region src/app.d.ts
4
- declare const sendfox: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential<"sendfox", z.ZodObject<{
5
- connectionId: z.ZodString;
6
- entityId: z.ZodString;
7
- instanceId: z.ZodString;
8
- }, z.core.$strip>, z.ZodObject<{
5
+ declare const credential: {
9
6
  generic_api_key: z.ZodString;
10
- }, z.core.$strip>>>;
7
+ };
8
+ declare const sendfox: KeystrokeApp<"sendfox", typeof credential>;
11
9
  //#endregion
12
10
  export { sendfox };
13
11
  //# sourceMappingURL=app.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";;;cAGa,OAAA,6BAAO,GAAA,+BAAA,UAAA,YAAA,CAAA,CAAA,SAAA"}
1
+ {"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";;;;cAGM,UAAA;mBAEL,CAAA,CAAA,SAAA;AAAA;AAAA,cAEY,OAAA,EAAS,YAAY,mBAAmB,UAAA"}
package/dist/app.mjs CHANGED
@@ -1,6 +1,5 @@
1
1
  import { defineApp } from "@keystrokehq/keystroke/app";
2
2
  import { z } from "zod";
3
- //#region src/app.ts
4
3
  const sendfox = defineApp({
5
4
  slug: "sendfox",
6
5
  auth: "keystroke",
package/dist/app.mjs.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nexport const sendfox = defineApp({\n slug: \"sendfox\",\n auth: \"keystroke\",\n credential: {\n generic_api_key: z.string(),\n },\n});\n"],"mappings":";;;AAGA,MAAa,UAAU,UAAU;CAC/B,MAAM;CACN,MAAM;CACN,YAAY,EACV,iBAAiB,EAAE,OAAO,EAC5B;AACF,CAAC"}
1
+ {"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp, type KeystrokeApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nconst credential = {\n generic_api_key: z.string(),\n};\n\nexport const sendfox: KeystrokeApp<\"sendfox\", typeof credential> = defineApp({\n slug: \"sendfox\",\n auth: \"keystroke\",\n credential,\n});\n"],"mappings":";;AAOA,MAAa,UAAsD,UAAU;CAC3E,MAAM;CACN,MAAM;CACN,cANA,iBAAiB,EAAE,OAAO,EAM1B;AACF,CAAC"}
package/dist/index.d.cts CHANGED
@@ -1,3 +1,4 @@
1
+ import { sendfox } from "./app.cjs";
1
2
  import { sendfoxDeleteContactFromList } from "./actions/delete-contact-from-list.cjs";
2
3
  import { sendfoxGetAutomations } from "./actions/get-automations.cjs";
3
4
  import { sendfoxGetCampaignById } from "./actions/get-campaign-by-id.cjs";
@@ -15,6 +16,5 @@ import { sendfoxListUnsubscribedContacts } from "./actions/list-unsubscribed-con
15
16
  import { sendfoxPatchUnsubscribeContact } from "./actions/patch-unsubscribe-contact.cjs";
16
17
  import { sendfoxPostCreateContact } from "./actions/post-create-contact.cjs";
17
18
  import { sendfoxPostCreateList } from "./actions/post-create-list.cjs";
18
- import { sendfox } from "./app.cjs";
19
19
  import { sendfoxCatalog } from "./catalog.cjs";
20
20
  export { sendfox, sendfoxCatalog, sendfoxDeleteContactFromList, sendfoxGetAutomations, sendfoxGetCampaignById, sendfoxGetCampaigns, sendfoxGetContactById, sendfoxGetContactFields, sendfoxGetContacts, sendfoxGetContactsInList, sendfoxGetCurrentUser, sendfoxGetForms, sendfoxGetListById, sendfoxGetLists, sendfoxListContactFields, sendfoxListUnsubscribedContacts, sendfoxPatchUnsubscribeContact, sendfoxPostCreateContact, sendfoxPostCreateList };
package/dist/index.d.mts CHANGED
@@ -1,3 +1,4 @@
1
+ import { sendfox } from "./app.mjs";
1
2
  import { sendfoxDeleteContactFromList } from "./actions/delete-contact-from-list.mjs";
2
3
  import { sendfoxGetAutomations } from "./actions/get-automations.mjs";
3
4
  import { sendfoxGetCampaignById } from "./actions/get-campaign-by-id.mjs";
@@ -15,6 +16,5 @@ import { sendfoxListUnsubscribedContacts } from "./actions/list-unsubscribed-con
15
16
  import { sendfoxPatchUnsubscribeContact } from "./actions/patch-unsubscribe-contact.mjs";
16
17
  import { sendfoxPostCreateContact } from "./actions/post-create-contact.mjs";
17
18
  import { sendfoxPostCreateList } from "./actions/post-create-list.mjs";
18
- import { sendfox } from "./app.mjs";
19
19
  import { sendfoxCatalog } from "./catalog.mjs";
20
20
  export { sendfox, sendfoxCatalog, sendfoxDeleteContactFromList, sendfoxGetAutomations, sendfoxGetCampaignById, sendfoxGetCampaigns, sendfoxGetContactById, sendfoxGetContactFields, sendfoxGetContacts, sendfoxGetContactsInList, sendfoxGetCurrentUser, sendfoxGetForms, sendfoxGetListById, sendfoxGetLists, sendfoxListContactFields, sendfoxListUnsubscribedContacts, sendfoxPatchUnsubscribeContact, sendfoxPostCreateContact, sendfoxPostCreateList };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@keystrokehq/sendfox",
3
- "version": "0.1.5",
3
+ "version": "0.1.6",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "registry": "https://registry.npmjs.org"
@@ -31,7 +31,7 @@
31
31
  }
32
32
  },
33
33
  "peerDependencies": {
34
- "@keystrokehq/keystroke": ">=0.1.4",
34
+ "@keystrokehq/keystroke": ">=0.1.104",
35
35
  "zod": "^4.4.3"
36
36
  },
37
37
  "devDependencies": {