@keystrokehq/reply 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 (181) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/create-list.cjs +1 -0
  4. package/dist/actions/create-list.cjs.map +1 -1
  5. package/dist/actions/create-list.d.cts +3 -15
  6. package/dist/actions/create-list.d.cts.map +1 -1
  7. package/dist/actions/create-list.d.mts +3 -15
  8. package/dist/actions/create-list.d.mts.map +1 -1
  9. package/dist/actions/create-list.mjs +1 -0
  10. package/dist/actions/create-list.mjs.map +1 -1
  11. package/dist/actions/delete-email-account.cjs +1 -0
  12. package/dist/actions/delete-email-account.cjs.map +1 -1
  13. package/dist/actions/delete-email-account.d.cts +3 -15
  14. package/dist/actions/delete-email-account.d.cts.map +1 -1
  15. package/dist/actions/delete-email-account.d.mts +3 -15
  16. package/dist/actions/delete-email-account.d.mts.map +1 -1
  17. package/dist/actions/delete-email-account.mjs +1 -0
  18. package/dist/actions/delete-email-account.mjs.map +1 -1
  19. package/dist/actions/delete-list-by-id.cjs +1 -0
  20. package/dist/actions/delete-list-by-id.cjs.map +1 -1
  21. package/dist/actions/delete-list-by-id.d.cts +3 -15
  22. package/dist/actions/delete-list-by-id.d.cts.map +1 -1
  23. package/dist/actions/delete-list-by-id.d.mts +3 -15
  24. package/dist/actions/delete-list-by-id.d.mts.map +1 -1
  25. package/dist/actions/delete-list-by-id.mjs +1 -0
  26. package/dist/actions/delete-list-by-id.mjs.map +1 -1
  27. package/dist/actions/delete-sequence.cjs +1 -0
  28. package/dist/actions/delete-sequence.cjs.map +1 -1
  29. package/dist/actions/delete-sequence.d.cts +3 -15
  30. package/dist/actions/delete-sequence.d.cts.map +1 -1
  31. package/dist/actions/delete-sequence.d.mts +3 -15
  32. package/dist/actions/delete-sequence.d.mts.map +1 -1
  33. package/dist/actions/delete-sequence.mjs +1 -0
  34. package/dist/actions/delete-sequence.mjs.map +1 -1
  35. package/dist/actions/delete-user.cjs +1 -0
  36. package/dist/actions/delete-user.cjs.map +1 -1
  37. package/dist/actions/delete-user.d.cts +3 -15
  38. package/dist/actions/delete-user.d.cts.map +1 -1
  39. package/dist/actions/delete-user.d.mts +3 -15
  40. package/dist/actions/delete-user.d.mts.map +1 -1
  41. package/dist/actions/delete-user.mjs +1 -0
  42. package/dist/actions/delete-user.mjs.map +1 -1
  43. package/dist/actions/generate-ulid.cjs +1 -0
  44. package/dist/actions/generate-ulid.cjs.map +1 -1
  45. package/dist/actions/generate-ulid.d.cts +3 -15
  46. package/dist/actions/generate-ulid.d.cts.map +1 -1
  47. package/dist/actions/generate-ulid.d.mts +3 -15
  48. package/dist/actions/generate-ulid.d.mts.map +1 -1
  49. package/dist/actions/generate-ulid.mjs +1 -0
  50. package/dist/actions/generate-ulid.mjs.map +1 -1
  51. package/dist/actions/get-all-lists.cjs +1 -0
  52. package/dist/actions/get-all-lists.cjs.map +1 -1
  53. package/dist/actions/get-all-lists.d.cts +3 -13
  54. package/dist/actions/get-all-lists.d.cts.map +1 -1
  55. package/dist/actions/get-all-lists.d.mts +3 -13
  56. package/dist/actions/get-all-lists.d.mts.map +1 -1
  57. package/dist/actions/get-all-lists.mjs +1 -0
  58. package/dist/actions/get-all-lists.mjs.map +1 -1
  59. package/dist/actions/get-blacklist-all.cjs +1 -0
  60. package/dist/actions/get-blacklist-all.cjs.map +1 -1
  61. package/dist/actions/get-blacklist-all.d.cts +3 -13
  62. package/dist/actions/get-blacklist-all.d.cts.map +1 -1
  63. package/dist/actions/get-blacklist-all.d.mts +3 -13
  64. package/dist/actions/get-blacklist-all.d.mts.map +1 -1
  65. package/dist/actions/get-blacklist-all.mjs +1 -0
  66. package/dist/actions/get-blacklist-all.mjs.map +1 -1
  67. package/dist/actions/get-campaign-schedules-all.cjs +1 -0
  68. package/dist/actions/get-campaign-schedules-all.cjs.map +1 -1
  69. package/dist/actions/get-campaign-schedules-all.d.cts +3 -16
  70. package/dist/actions/get-campaign-schedules-all.d.cts.map +1 -1
  71. package/dist/actions/get-campaign-schedules-all.d.mts +3 -16
  72. package/dist/actions/get-campaign-schedules-all.d.mts.map +1 -1
  73. package/dist/actions/get-campaign-schedules-all.mjs +1 -0
  74. package/dist/actions/get-campaign-schedules-all.mjs.map +1 -1
  75. package/dist/actions/get-campaigns-for-contact.cjs +1 -0
  76. package/dist/actions/get-campaigns-for-contact.cjs.map +1 -1
  77. package/dist/actions/get-campaigns-for-contact.d.cts +3 -17
  78. package/dist/actions/get-campaigns-for-contact.d.cts.map +1 -1
  79. package/dist/actions/get-campaigns-for-contact.d.mts +3 -17
  80. package/dist/actions/get-campaigns-for-contact.d.mts.map +1 -1
  81. package/dist/actions/get-campaigns-for-contact.mjs +1 -0
  82. package/dist/actions/get-campaigns-for-contact.mjs.map +1 -1
  83. package/dist/actions/get-contacts-in-list-by-id.cjs +1 -0
  84. package/dist/actions/get-contacts-in-list-by-id.cjs.map +1 -1
  85. package/dist/actions/get-contacts-in-list-by-id.d.cts +3 -17
  86. package/dist/actions/get-contacts-in-list-by-id.d.cts.map +1 -1
  87. package/dist/actions/get-contacts-in-list-by-id.d.mts +3 -17
  88. package/dist/actions/get-contacts-in-list-by-id.d.mts.map +1 -1
  89. package/dist/actions/get-contacts-in-list-by-id.mjs +1 -0
  90. package/dist/actions/get-contacts-in-list-by-id.mjs.map +1 -1
  91. package/dist/actions/get-list-by-id.cjs +1 -0
  92. package/dist/actions/get-list-by-id.cjs.map +1 -1
  93. package/dist/actions/get-list-by-id.d.cts +3 -15
  94. package/dist/actions/get-list-by-id.d.cts.map +1 -1
  95. package/dist/actions/get-list-by-id.d.mts +3 -15
  96. package/dist/actions/get-list-by-id.d.mts.map +1 -1
  97. package/dist/actions/get-list-by-id.mjs +1 -0
  98. package/dist/actions/get-list-by-id.mjs.map +1 -1
  99. package/dist/actions/get-templates-list.cjs +1 -0
  100. package/dist/actions/get-templates-list.cjs.map +1 -1
  101. package/dist/actions/get-templates-list.d.cts +3 -13
  102. package/dist/actions/get-templates-list.d.cts.map +1 -1
  103. package/dist/actions/get-templates-list.d.mts +3 -13
  104. package/dist/actions/get-templates-list.d.mts.map +1 -1
  105. package/dist/actions/get-templates-list.mjs +1 -0
  106. package/dist/actions/get-templates-list.mjs.map +1 -1
  107. package/dist/actions/list-campaigns.cjs +1 -0
  108. package/dist/actions/list-campaigns.cjs.map +1 -1
  109. package/dist/actions/list-campaigns.d.cts +3 -17
  110. package/dist/actions/list-campaigns.d.cts.map +1 -1
  111. package/dist/actions/list-campaigns.d.mts +3 -17
  112. package/dist/actions/list-campaigns.d.mts.map +1 -1
  113. package/dist/actions/list-campaigns.mjs +1 -0
  114. package/dist/actions/list-campaigns.mjs.map +1 -1
  115. package/dist/actions/list-contacts-basic.cjs +1 -0
  116. package/dist/actions/list-contacts-basic.cjs.map +1 -1
  117. package/dist/actions/list-contacts-basic.d.cts +3 -16
  118. package/dist/actions/list-contacts-basic.d.cts.map +1 -1
  119. package/dist/actions/list-contacts-basic.d.mts +3 -16
  120. package/dist/actions/list-contacts-basic.d.mts.map +1 -1
  121. package/dist/actions/list-contacts-basic.mjs +1 -0
  122. package/dist/actions/list-contacts-basic.mjs.map +1 -1
  123. package/dist/actions/list-email-accounts.cjs +1 -0
  124. package/dist/actions/list-email-accounts.cjs.map +1 -1
  125. package/dist/actions/list-email-accounts.d.cts +3 -17
  126. package/dist/actions/list-email-accounts.d.cts.map +1 -1
  127. package/dist/actions/list-email-accounts.d.mts +3 -17
  128. package/dist/actions/list-email-accounts.d.mts.map +1 -1
  129. package/dist/actions/list-email-accounts.mjs +1 -0
  130. package/dist/actions/list-email-accounts.mjs.map +1 -1
  131. package/dist/actions/mark-contact-as-finished.cjs +1 -0
  132. package/dist/actions/mark-contact-as-finished.cjs.map +1 -1
  133. package/dist/actions/mark-contact-as-finished.d.cts +3 -16
  134. package/dist/actions/mark-contact-as-finished.d.cts.map +1 -1
  135. package/dist/actions/mark-contact-as-finished.d.mts +3 -16
  136. package/dist/actions/mark-contact-as-finished.d.mts.map +1 -1
  137. package/dist/actions/mark-contact-as-finished.mjs +1 -0
  138. package/dist/actions/mark-contact-as-finished.mjs.map +1 -1
  139. package/dist/actions/mark-contact-as-replied.cjs +1 -0
  140. package/dist/actions/mark-contact-as-replied.cjs.map +1 -1
  141. package/dist/actions/mark-contact-as-replied.d.cts +3 -16
  142. package/dist/actions/mark-contact-as-replied.d.cts.map +1 -1
  143. package/dist/actions/mark-contact-as-replied.d.mts +3 -16
  144. package/dist/actions/mark-contact-as-replied.d.mts.map +1 -1
  145. package/dist/actions/mark-contact-as-replied.mjs +1 -0
  146. package/dist/actions/mark-contact-as-replied.mjs.map +1 -1
  147. package/dist/actions/move-contacts-to-lists.cjs +1 -0
  148. package/dist/actions/move-contacts-to-lists.cjs.map +1 -1
  149. package/dist/actions/move-contacts-to-lists.d.cts +3 -16
  150. package/dist/actions/move-contacts-to-lists.d.cts.map +1 -1
  151. package/dist/actions/move-contacts-to-lists.d.mts +3 -16
  152. package/dist/actions/move-contacts-to-lists.d.mts.map +1 -1
  153. package/dist/actions/move-contacts-to-lists.mjs +1 -0
  154. package/dist/actions/move-contacts-to-lists.mjs.map +1 -1
  155. package/dist/actions/remove-domain-from-blacklist.cjs +1 -0
  156. package/dist/actions/remove-domain-from-blacklist.cjs.map +1 -1
  157. package/dist/actions/remove-domain-from-blacklist.d.cts +3 -15
  158. package/dist/actions/remove-domain-from-blacklist.d.cts.map +1 -1
  159. package/dist/actions/remove-domain-from-blacklist.d.mts +3 -15
  160. package/dist/actions/remove-domain-from-blacklist.d.mts.map +1 -1
  161. package/dist/actions/remove-domain-from-blacklist.mjs +1 -0
  162. package/dist/actions/remove-domain-from-blacklist.mjs.map +1 -1
  163. package/dist/actions/search-contacts.cjs +1 -0
  164. package/dist/actions/search-contacts.cjs.map +1 -1
  165. package/dist/actions/search-contacts.d.cts +3 -15
  166. package/dist/actions/search-contacts.d.cts.map +1 -1
  167. package/dist/actions/search-contacts.d.mts +3 -15
  168. package/dist/actions/search-contacts.d.mts.map +1 -1
  169. package/dist/actions/search-contacts.mjs +1 -0
  170. package/dist/actions/search-contacts.mjs.map +1 -1
  171. package/dist/app.cjs +2 -2
  172. package/dist/app.cjs.map +1 -1
  173. package/dist/app.d.cts +4 -6
  174. package/dist/app.d.cts.map +1 -1
  175. package/dist/app.d.mts +4 -6
  176. package/dist/app.d.mts.map +1 -1
  177. package/dist/app.mjs +0 -1
  178. package/dist/app.mjs.map +1 -1
  179. package/dist/index.d.cts +1 -1
  180. package/dist/index.d.mts +1 -1
  181. package/package.json +2 -2
@@ -1,3 +1,5 @@
1
+ import { reply } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/generate-ulid.d.ts
@@ -7,21 +9,7 @@ declare const ReplyGenerateUlidInput: z.ZodObject<{
7
9
  declare const ReplyGenerateUlidOutput: z.ZodObject<{
8
10
  id: z.ZodNullable<z.ZodString>;
9
11
  }, z.core.$loose>;
10
- declare const replyGenerateUlid: import("@keystrokehq/action").WorkflowActionDefinition<{
11
- seed?: string | undefined;
12
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"reply", z.ZodObject<{
13
- connectionId: z.ZodString;
14
- entityId: z.ZodString;
15
- instanceId: z.ZodString;
16
- }, z.core.$strip>, z.ZodObject<{
17
- generic_api_key: z.ZodString;
18
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"reply", z.ZodObject<{
19
- connectionId: z.ZodString;
20
- entityId: z.ZodString;
21
- instanceId: z.ZodString;
22
- }, z.core.$strip>, z.ZodObject<{
23
- generic_api_key: z.ZodString;
24
- }, z.core.$strip>>]>;
12
+ declare const replyGenerateUlid: AppAction<typeof ReplyGenerateUlidInput, typeof ReplyGenerateUlidOutput, typeof reply.credential>;
25
13
  //#endregion
26
14
  export { replyGenerateUlid };
27
15
  //# sourceMappingURL=generate-ulid.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"generate-ulid.d.mts","names":[],"sources":["../../src/actions/generate-ulid.ts"],"mappings":";;;cAIa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;cAGtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;cAIvB,iBAAA,gCAAiB,wBAAA"}
1
+ {"version":3,"file":"generate-ulid.d.mts","names":[],"sources":["../../src/actions/generate-ulid.ts"],"mappings":";;;;;cAMa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;cAGtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;cAIvB,iBAAA,EAAmB,SAAA,QACvB,sBAAA,SACA,uBAAA,SACA,KAAA,CAAM,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 replyGenerateUlid = action("REPLY_GENERATE_ULID", {
@@ -1 +1 @@
1
- {"version":3,"file":"generate-ulid.mjs","names":[],"sources":["../../src/actions/generate-ulid.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ReplyGenerateUlidInput = z.object({\n seed: z.string().describe(\"Optional seed to influence randomness\").optional(),\n});\nexport const ReplyGenerateUlidOutput = z.object({\n id: z.string().describe(\"Generated ULID-like identifier\").nullable(),\n}).passthrough();\n\nexport const replyGenerateUlid = action(\"REPLY_GENERATE_ULID\", {\n slug: \"reply-generate-ulid\",\n name: \"Generate ULID\",\n description: \"Generate ULID\",\n input: ReplyGenerateUlidInput,\n output: ReplyGenerateUlidOutput,\n});\n"],"mappings":";;AAWA,MAAa,oBAAoB,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAXoC,EAAE,OAAO,EAC7C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,EAC9E,CASS;CACP,QATqC,EAAE,OAAO,EAC9C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,EACrE,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
1
+ {"version":3,"file":"generate-ulid.mjs","names":[],"sources":["../../src/actions/generate-ulid.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { reply } from \"../app\";\n\nexport const ReplyGenerateUlidInput = z.object({\n seed: z.string().describe(\"Optional seed to influence randomness\").optional(),\n});\nexport const ReplyGenerateUlidOutput = z.object({\n id: z.string().describe(\"Generated ULID-like identifier\").nullable(),\n}).passthrough();\n\nexport const replyGenerateUlid: AppAction<\n typeof ReplyGenerateUlidInput,\n typeof ReplyGenerateUlidOutput,\n typeof reply.credential\n> = action(\"REPLY_GENERATE_ULID\", {\n slug: \"reply-generate-ulid\",\n name: \"Generate ULID\",\n description: \"Generate ULID\",\n input: ReplyGenerateUlidInput,\n output: ReplyGenerateUlidOutput,\n});\n"],"mappings":";;;AAaA,MAAa,oBAIT,OAAO,uBAAuB;CAChC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAfoC,EAAE,OAAO,EAC7C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,EAC9E,CAaS;CACP,QAbqC,EAAE,OAAO,EAC9C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,EACrE,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/get-all-lists.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-all-lists.cjs","names":["z","action"],"sources":["../../src/actions/get-all-lists.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ReplyGetAllListsInput = z.object({}).describe(\"No request parameters required for listing all people lists.\");\nconst ReplyGetAllLists_ListModelSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the list\").nullable(),\n name: z.string().describe(\"Name of the list\").nullable(),\n}).passthrough();\nexport const ReplyGetAllListsOutput = z.object({\n lists: z.array(ReplyGetAllLists_ListModelSchema).describe(\"List of available people lists\"),\n}).passthrough().describe(\"Response schema for retrieving all people lists.\");\n\nexport const replyGetAllLists = action(\"REPLY_GET_ALL_LISTS\", {\n slug: \"reply-get-all-lists\",\n name: \"Get All Lists\",\n description: \"Tool to retrieve all available people lists. Use when you need to list all lists in your Reply account.\",\n input: ReplyGetAllListsInput,\n output: ReplyGetAllListsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAwBA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,8DAA8D;AACzH,MAAM,mCAAmCA,IAAAA,EAAE,OAAO;CAChD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACxE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;AACzD,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,yBAAyBA,IAAAA,EAAE,OAAO,EAC7C,OAAOA,IAAAA,EAAE,MAAM,gCAAgC,CAAC,CAAC,SAAS,gCAAgC,EAC5F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAAkD;AAE5E,MAAa,mBAAmBC,eAAAA,OAAO,uBAAuB;CAC5D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-all-lists.cjs","names":["z","action"],"sources":["../../src/actions/get-all-lists.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { reply } from \"../app\";\n\nexport const ReplyGetAllListsInput = z.object({}).describe(\"No request parameters required for listing all people lists.\");\nconst ReplyGetAllLists_ListModelSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the list\").nullable(),\n name: z.string().describe(\"Name of the list\").nullable(),\n}).passthrough();\nexport const ReplyGetAllListsOutput = z.object({\n lists: z.array(ReplyGetAllLists_ListModelSchema).describe(\"List of available people lists\"),\n}).passthrough().describe(\"Response schema for retrieving all people lists.\");\n\nexport const replyGetAllLists: AppAction<\n typeof ReplyGetAllListsInput,\n typeof ReplyGetAllListsOutput,\n typeof reply.credential\n> = action(\"REPLY_GET_ALL_LISTS\", {\n slug: \"reply-get-all-lists\",\n name: \"Get All Lists\",\n description: \"Tool to retrieve all available people lists. Use when you need to list all lists in your Reply account.\",\n input: ReplyGetAllListsInput,\n output: ReplyGetAllListsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,wBAAwBA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,8DAA8D;AACzH,MAAM,mCAAmCA,IAAAA,EAAE,OAAO;CAChD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACxE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;AACzD,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,yBAAyBA,IAAAA,EAAE,OAAO,EAC7C,OAAOA,IAAAA,EAAE,MAAM,gCAAgC,CAAC,CAAC,SAAS,gCAAgC,EAC5F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAAkD;AAE5E,MAAa,mBAITC,eAAAA,OAAO,uBAAuB;CAChC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { reply } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-all-lists.d.ts
@@ -8,19 +10,7 @@ declare const ReplyGetAllListsOutput: z.ZodObject<{
8
10
  name: z.ZodNullable<z.ZodString>;
9
11
  }, z.core.$loose>>;
10
12
  }, z.core.$loose>;
11
- declare const replyGetAllLists: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"reply", z.ZodObject<{
12
- connectionId: z.ZodString;
13
- entityId: z.ZodString;
14
- instanceId: z.ZodString;
15
- }, z.core.$strip>, z.ZodObject<{
16
- generic_api_key: z.ZodString;
17
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"reply", z.ZodObject<{
18
- connectionId: z.ZodString;
19
- entityId: z.ZodString;
20
- instanceId: z.ZodString;
21
- }, z.core.$strip>, z.ZodObject<{
22
- generic_api_key: z.ZodString;
23
- }, z.core.$strip>>]>;
13
+ declare const replyGetAllLists: AppAction<typeof ReplyGetAllListsInput, typeof ReplyGetAllListsOutput, typeof reply.credential>;
24
14
  //#endregion
25
15
  export { replyGetAllLists };
26
16
  //# sourceMappingURL=get-all-lists.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-all-lists.d.cts","names":[],"sources":["../../src/actions/get-all-lists.ts"],"mappings":";;;cAIa,qBAAA,EAAqB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAKrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;cAItB,gBAAA,gCAAgB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,UAAA,CAAA,CAAA,SAAA"}
1
+ {"version":3,"file":"get-all-lists.d.cts","names":[],"sources":["../../src/actions/get-all-lists.ts"],"mappings":";;;;;cAMa,qBAAA,EAAqB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAKrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;cAItB,gBAAA,EAAkB,SAAA,QACtB,qBAAA,SACA,sBAAA,SACA,KAAA,CAAM,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { reply } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-all-lists.d.ts
@@ -8,19 +10,7 @@ declare const ReplyGetAllListsOutput: z.ZodObject<{
8
10
  name: z.ZodNullable<z.ZodString>;
9
11
  }, z.core.$loose>>;
10
12
  }, z.core.$loose>;
11
- declare const replyGetAllLists: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"reply", z.ZodObject<{
12
- connectionId: z.ZodString;
13
- entityId: z.ZodString;
14
- instanceId: z.ZodString;
15
- }, z.core.$strip>, z.ZodObject<{
16
- generic_api_key: z.ZodString;
17
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"reply", z.ZodObject<{
18
- connectionId: z.ZodString;
19
- entityId: z.ZodString;
20
- instanceId: z.ZodString;
21
- }, z.core.$strip>, z.ZodObject<{
22
- generic_api_key: z.ZodString;
23
- }, z.core.$strip>>]>;
13
+ declare const replyGetAllLists: AppAction<typeof ReplyGetAllListsInput, typeof ReplyGetAllListsOutput, typeof reply.credential>;
24
14
  //#endregion
25
15
  export { replyGetAllLists };
26
16
  //# sourceMappingURL=get-all-lists.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-all-lists.d.mts","names":[],"sources":["../../src/actions/get-all-lists.ts"],"mappings":";;;cAIa,qBAAA,EAAqB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAKrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;cAItB,gBAAA,gCAAgB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,UAAA,CAAA,CAAA,SAAA"}
1
+ {"version":3,"file":"get-all-lists.d.mts","names":[],"sources":["../../src/actions/get-all-lists.ts"],"mappings":";;;;;cAMa,qBAAA,EAAqB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAKrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;cAItB,gBAAA,EAAkB,SAAA,QACtB,qBAAA,SACA,sBAAA,SACA,KAAA,CAAM,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/get-all-lists.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-all-lists.mjs","names":[],"sources":["../../src/actions/get-all-lists.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ReplyGetAllListsInput = z.object({}).describe(\"No request parameters required for listing all people lists.\");\nconst ReplyGetAllLists_ListModelSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the list\").nullable(),\n name: z.string().describe(\"Name of the list\").nullable(),\n}).passthrough();\nexport const ReplyGetAllListsOutput = z.object({\n lists: z.array(ReplyGetAllLists_ListModelSchema).describe(\"List of available people lists\"),\n}).passthrough().describe(\"Response schema for retrieving all people lists.\");\n\nexport const replyGetAllLists = action(\"REPLY_GET_ALL_LISTS\", {\n slug: \"reply-get-all-lists\",\n name: \"Get All Lists\",\n description: \"Tool to retrieve all available people lists. Use when you need to list all lists in your Reply account.\",\n input: ReplyGetAllListsInput,\n output: ReplyGetAllListsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAwB,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,8DAA8D;AACzH,MAAM,mCAAmC,EAAE,OAAO;CAChD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACxE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;AACzD,CAAC,CAAC,CAAC,YAAY;AAKf,MAAa,mBAAmB,OAAO,uBAAuB;CAC5D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAToC,EAAE,OAAO,EAC7C,OAAO,EAAE,MAAM,gCAAgC,CAAC,CAAC,SAAS,gCAAgC,EAC5F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"get-all-lists.mjs","names":[],"sources":["../../src/actions/get-all-lists.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { reply } from \"../app\";\n\nexport const ReplyGetAllListsInput = z.object({}).describe(\"No request parameters required for listing all people lists.\");\nconst ReplyGetAllLists_ListModelSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the list\").nullable(),\n name: z.string().describe(\"Name of the list\").nullable(),\n}).passthrough();\nexport const ReplyGetAllListsOutput = z.object({\n lists: z.array(ReplyGetAllLists_ListModelSchema).describe(\"List of available people lists\"),\n}).passthrough().describe(\"Response schema for retrieving all people lists.\");\n\nexport const replyGetAllLists: AppAction<\n typeof ReplyGetAllListsInput,\n typeof ReplyGetAllListsOutput,\n typeof reply.credential\n> = action(\"REPLY_GET_ALL_LISTS\", {\n slug: \"reply-get-all-lists\",\n name: \"Get All Lists\",\n description: \"Tool to retrieve all available people lists. Use when you need to list all lists in your Reply account.\",\n input: ReplyGetAllListsInput,\n output: ReplyGetAllListsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,wBAAwB,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,8DAA8D;AACzH,MAAM,mCAAmC,EAAE,OAAO;CAChD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACxE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;AACzD,CAAC,CAAC,CAAC,YAAY;AAKf,MAAa,mBAIT,OAAO,uBAAuB;CAChC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAboC,EAAE,OAAO,EAC7C,OAAO,EAAE,MAAM,gCAAgC,CAAC,CAAC,SAAS,gCAAgC,EAC5F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/get-blacklist-all.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-blacklist-all.cjs","names":["z","action"],"sources":["../../src/actions/get-blacklist-all.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ReplyGetBlacklistAllInput = z.object({}).describe(\"Request model for retrieving all blacklisted domains and emails.\");\nexport const ReplyGetBlacklistAllOutput = z.object({\n domains: z.array(z.string()).describe(\"List of all blacklisted items. Despite the field name, this includes both domains (e.g., 'yahoo.com') and individual email addresses (e.g., 'user@example.com').\"),\n}).passthrough().describe(\"Response model for the full blacklist.\");\n\nexport const replyGetBlacklistAll = action(\"REPLY_GET_BLACKLIST_ALL\", {\n slug: \"reply-get-blacklist-all\",\n name: \"Get full blacklist of domains and emails\",\n description: \"Tool to retrieve the full list of blacklisted domains and emails. Use after confirming updates to the blacklist when you need a complete view.\",\n input: ReplyGetBlacklistAllInput,\n output: ReplyGetBlacklistAllOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,kEAAkE;AACjI,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,kKAAkK,EAC1M,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAElE,MAAa,uBAAuBC,eAAAA,OAAO,2BAA2B;CACpE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-blacklist-all.cjs","names":["z","action"],"sources":["../../src/actions/get-blacklist-all.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { reply } from \"../app\";\n\nexport const ReplyGetBlacklistAllInput = z.object({}).describe(\"Request model for retrieving all blacklisted domains and emails.\");\nexport const ReplyGetBlacklistAllOutput = z.object({\n domains: z.array(z.string()).describe(\"List of all blacklisted items. Despite the field name, this includes both domains (e.g., 'yahoo.com') and individual email addresses (e.g., 'user@example.com').\"),\n}).passthrough().describe(\"Response model for the full blacklist.\");\n\nexport const replyGetBlacklistAll: AppAction<\n typeof ReplyGetBlacklistAllInput,\n typeof ReplyGetBlacklistAllOutput,\n typeof reply.credential\n> = action(\"REPLY_GET_BLACKLIST_ALL\", {\n slug: \"reply-get-blacklist-all\",\n name: \"Get full blacklist of domains and emails\",\n description: \"Tool to retrieve the full list of blacklisted domains and emails. Use after confirming updates to the blacklist when you need a complete view.\",\n input: ReplyGetBlacklistAllInput,\n output: ReplyGetBlacklistAllOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,kEAAkE;AACjI,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,kKAAkK,EAC1M,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAElE,MAAa,uBAITC,eAAAA,OAAO,2BAA2B;CACpC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { reply } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-blacklist-all.d.ts
@@ -5,19 +7,7 @@ declare const ReplyGetBlacklistAllInput: z.ZodObject<{}, z.core.$strip>;
5
7
  declare const ReplyGetBlacklistAllOutput: z.ZodObject<{
6
8
  domains: z.ZodArray<z.ZodString>;
7
9
  }, z.core.$loose>;
8
- declare const replyGetBlacklistAll: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"reply", z.ZodObject<{
9
- connectionId: z.ZodString;
10
- entityId: z.ZodString;
11
- instanceId: z.ZodString;
12
- }, z.core.$strip>, z.ZodObject<{
13
- generic_api_key: z.ZodString;
14
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"reply", z.ZodObject<{
15
- connectionId: z.ZodString;
16
- entityId: z.ZodString;
17
- instanceId: z.ZodString;
18
- }, z.core.$strip>, z.ZodObject<{
19
- generic_api_key: z.ZodString;
20
- }, z.core.$strip>>]>;
10
+ declare const replyGetBlacklistAll: AppAction<typeof ReplyGetBlacklistAllInput, typeof ReplyGetBlacklistAllOutput, typeof reply.credential>;
21
11
  //#endregion
22
12
  export { replyGetBlacklistAll };
23
13
  //# sourceMappingURL=get-blacklist-all.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-blacklist-all.d.cts","names":[],"sources":["../../src/actions/get-blacklist-all.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cACzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;cAI1B,oBAAA,gCAAoB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,UAAA,CAAA,CAAA,SAAA"}
1
+ {"version":3,"file":"get-blacklist-all.d.cts","names":[],"sources":["../../src/actions/get-blacklist-all.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cACzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;cAI1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,KAAA,CAAM,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { reply } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-blacklist-all.d.ts
@@ -5,19 +7,7 @@ declare const ReplyGetBlacklistAllInput: z.ZodObject<{}, z.core.$strip>;
5
7
  declare const ReplyGetBlacklistAllOutput: z.ZodObject<{
6
8
  domains: z.ZodArray<z.ZodString>;
7
9
  }, z.core.$loose>;
8
- declare const replyGetBlacklistAll: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"reply", z.ZodObject<{
9
- connectionId: z.ZodString;
10
- entityId: z.ZodString;
11
- instanceId: z.ZodString;
12
- }, z.core.$strip>, z.ZodObject<{
13
- generic_api_key: z.ZodString;
14
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"reply", z.ZodObject<{
15
- connectionId: z.ZodString;
16
- entityId: z.ZodString;
17
- instanceId: z.ZodString;
18
- }, z.core.$strip>, z.ZodObject<{
19
- generic_api_key: z.ZodString;
20
- }, z.core.$strip>>]>;
10
+ declare const replyGetBlacklistAll: AppAction<typeof ReplyGetBlacklistAllInput, typeof ReplyGetBlacklistAllOutput, typeof reply.credential>;
21
11
  //#endregion
22
12
  export { replyGetBlacklistAll };
23
13
  //# sourceMappingURL=get-blacklist-all.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-blacklist-all.d.mts","names":[],"sources":["../../src/actions/get-blacklist-all.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cACzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;cAI1B,oBAAA,gCAAoB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,UAAA,CAAA,CAAA,SAAA"}
1
+ {"version":3,"file":"get-blacklist-all.d.mts","names":[],"sources":["../../src/actions/get-blacklist-all.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cACzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;cAI1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,KAAA,CAAM,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 replyGetBlacklistAll = action("REPLY_GET_BLACKLIST_ALL", {
@@ -1 +1 @@
1
- {"version":3,"file":"get-blacklist-all.mjs","names":[],"sources":["../../src/actions/get-blacklist-all.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ReplyGetBlacklistAllInput = z.object({}).describe(\"Request model for retrieving all blacklisted domains and emails.\");\nexport const ReplyGetBlacklistAllOutput = z.object({\n domains: z.array(z.string()).describe(\"List of all blacklisted items. Despite the field name, this includes both domains (e.g., 'yahoo.com') and individual email addresses (e.g., 'user@example.com').\"),\n}).passthrough().describe(\"Response model for the full blacklist.\");\n\nexport const replyGetBlacklistAll = action(\"REPLY_GET_BLACKLIST_ALL\", {\n slug: \"reply-get-blacklist-all\",\n name: \"Get full blacklist of domains and emails\",\n description: \"Tool to retrieve the full list of blacklisted domains and emails. Use after confirming updates to the blacklist when you need a complete view.\",\n input: ReplyGetBlacklistAllInput,\n output: ReplyGetBlacklistAllOutput,\n});\n"],"mappings":";;AASA,MAAa,uBAAuB,OAAO,2BAA2B;CACpE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OATuC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,kEAStD;CACP,QATwC,EAAE,OAAO,EACjD,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,kKAAkK,EAC1M,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"get-blacklist-all.mjs","names":[],"sources":["../../src/actions/get-blacklist-all.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { reply } from \"../app\";\n\nexport const ReplyGetBlacklistAllInput = z.object({}).describe(\"Request model for retrieving all blacklisted domains and emails.\");\nexport const ReplyGetBlacklistAllOutput = z.object({\n domains: z.array(z.string()).describe(\"List of all blacklisted items. Despite the field name, this includes both domains (e.g., 'yahoo.com') and individual email addresses (e.g., 'user@example.com').\"),\n}).passthrough().describe(\"Response model for the full blacklist.\");\n\nexport const replyGetBlacklistAll: AppAction<\n typeof ReplyGetBlacklistAllInput,\n typeof ReplyGetBlacklistAllOutput,\n typeof reply.credential\n> = action(\"REPLY_GET_BLACKLIST_ALL\", {\n slug: \"reply-get-blacklist-all\",\n name: \"Get full blacklist of domains and emails\",\n description: \"Tool to retrieve the full list of blacklisted domains and emails. Use after confirming updates to the blacklist when you need a complete view.\",\n input: ReplyGetBlacklistAllInput,\n output: ReplyGetBlacklistAllOutput,\n});\n"],"mappings":";;;AAWA,MAAa,uBAIT,OAAO,2BAA2B;CACpC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAbuC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,kEAatD;CACP,QAbwC,EAAE,OAAO,EACjD,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,kKAAkK,EAC1M,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/get-campaign-schedules-all.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-campaign-schedules-all.cjs","names":["z","action"],"sources":["../../src/actions/get-campaign-schedules-all.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ReplyGetCampaignSchedulesAllInput = z.object({\n page: z.number().int().default(1).describe(\"Page number to retrieve (1-based indexing).\").optional(),\n limit: z.number().int().default(50).describe(\"Maximum number of schedules to return per page.\").optional(),\n}).describe(\"Request model for listing all campaign schedules with optional pagination.\");\nconst ReplyGetCampaignSchedulesAll_TimeModelSchema = z.object({\n hour: z.number().int().describe(\"Hour of the time (0-24).\").nullable(),\n minute: z.number().int().describe(\"Minute of the time (0-59).\").nullable(),\n}).passthrough();\nconst ReplyGetCampaignSchedulesAll_TimeRangeModelSchema = z.object({\n toTime: ReplyGetCampaignSchedulesAll_TimeModelSchema.nullable(),\n fromTime: ReplyGetCampaignSchedulesAll_TimeModelSchema.nullable(),\n}).passthrough();\nconst ReplyGetCampaignSchedulesAll_DayTimingModelSchema = z.object({\n weekDay: z.string().describe(\"Name of the weekday, e.g., 'Monday'.\").nullable(),\n isActive: z.boolean().describe(\"Whether this day is active in the schedule.\").nullable(),\n timeRanges: z.array(ReplyGetCampaignSchedulesAll_TimeRangeModelSchema).describe(\"List of time ranges for this day.\"),\n}).passthrough();\nconst ReplyGetCampaignSchedulesAll_ScheduleModelSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the schedule.\").nullable(),\n name: z.string().describe(\"Name of the schedule.\").nullable(),\n isDefault: z.boolean().describe(\"Indicates if this is the default schedule.\").nullable(),\n timezoneId: z.string().describe(\"Timezone identifier for the schedule.\").nullable(),\n mainTimings: z.array(ReplyGetCampaignSchedulesAll_DayTimingModelSchema).describe(\"Primary schedule timings per day.\"),\n followUpTimings: z.array(ReplyGetCampaignSchedulesAll_DayTimingModelSchema).describe(\"Follow-up schedule timings per day.\"),\n}).passthrough();\nconst ReplyGetCampaignSchedulesAll_PaginationInfoSchema = z.object({\n page: z.number().int().describe(\"Current page number.\").nullable(),\n limit: z.number().int().describe(\"Number of items per page.\").nullable(),\n total: z.number().int().describe(\"Total number of schedules available.\").nullable(),\n has_more: z.boolean().describe(\"Whether there are more pages available.\").nullable(),\n}).passthrough().describe(\"Pagination metadata for the schedules list response.\");\nexport const ReplyGetCampaignSchedulesAllOutput = z.object({\n schedules: z.array(ReplyGetCampaignSchedulesAll_ScheduleModelSchema).describe(\"List of campaign schedules (default and user-created).\"),\n pagination: ReplyGetCampaignSchedulesAll_PaginationInfoSchema.nullable(),\n}).passthrough();\n\nexport const replyGetCampaignSchedulesAll = action(\"REPLY_GET_CAMPAIGN_SCHEDULES_ALL\", {\n slug: \"reply-get-campaign-schedules-all\",\n name: \"Get all campaign schedules\",\n description: \"Retrieves all campaign schedules from Reply.io, including the default schedule and any user-created schedules. Each schedule contains timezone settings, daily timing configurations (mainTimings), and follow-up timings. Use this to view available schedules before assigning one to a campaign or to audit existing schedule configurations.\",\n input: ReplyGetCampaignSchedulesAllInput,\n output: ReplyGetCampaignSchedulesAllOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACnG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;AAC3G,CAAC,CAAC,CAAC,SAAS,4EAA4E;AACxF,MAAM,+CAA+CA,IAAAA,EAAE,OAAO;CAC5D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CACrE,QAAQA,IAAAA,EAAE,OAA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AAI,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CACvE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAClF,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;AACrF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAChF,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,WAAWA,IAAAA,EAAE,MAAM,gDAAgD,CAAC,CAAC,SAAS,wDAAwD;CACtI,YAAY,kDAAkD,SAAS;AACzE,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,+BAA+BC,eAAAA,OAAO,oCAAoC;CACrF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-campaign-schedules-all.cjs","names":["z","action"],"sources":["../../src/actions/get-campaign-schedules-all.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { reply } from \"../app\";\n\nexport const ReplyGetCampaignSchedulesAllInput = z.object({\n page: z.number().int().default(1).describe(\"Page number to retrieve (1-based indexing).\").optional(),\n limit: z.number().int().default(50).describe(\"Maximum number of schedules to return per page.\").optional(),\n}).describe(\"Request model for listing all campaign schedules with optional pagination.\");\nconst ReplyGetCampaignSchedulesAll_TimeModelSchema = z.object({\n hour: z.number().int().describe(\"Hour of the time (0-24).\").nullable(),\n minute: z.number().int().describe(\"Minute of the time (0-59).\").nullable(),\n}).passthrough();\nconst ReplyGetCampaignSchedulesAll_TimeRangeModelSchema = z.object({\n toTime: ReplyGetCampaignSchedulesAll_TimeModelSchema.nullable(),\n fromTime: ReplyGetCampaignSchedulesAll_TimeModelSchema.nullable(),\n}).passthrough();\nconst ReplyGetCampaignSchedulesAll_DayTimingModelSchema = z.object({\n weekDay: z.string().describe(\"Name of the weekday, e.g., 'Monday'.\").nullable(),\n isActive: z.boolean().describe(\"Whether this day is active in the schedule.\").nullable(),\n timeRanges: z.array(ReplyGetCampaignSchedulesAll_TimeRangeModelSchema).describe(\"List of time ranges for this day.\"),\n}).passthrough();\nconst ReplyGetCampaignSchedulesAll_ScheduleModelSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the schedule.\").nullable(),\n name: z.string().describe(\"Name of the schedule.\").nullable(),\n isDefault: z.boolean().describe(\"Indicates if this is the default schedule.\").nullable(),\n timezoneId: z.string().describe(\"Timezone identifier for the schedule.\").nullable(),\n mainTimings: z.array(ReplyGetCampaignSchedulesAll_DayTimingModelSchema).describe(\"Primary schedule timings per day.\"),\n followUpTimings: z.array(ReplyGetCampaignSchedulesAll_DayTimingModelSchema).describe(\"Follow-up schedule timings per day.\"),\n}).passthrough();\nconst ReplyGetCampaignSchedulesAll_PaginationInfoSchema = z.object({\n page: z.number().int().describe(\"Current page number.\").nullable(),\n limit: z.number().int().describe(\"Number of items per page.\").nullable(),\n total: z.number().int().describe(\"Total number of schedules available.\").nullable(),\n has_more: z.boolean().describe(\"Whether there are more pages available.\").nullable(),\n}).passthrough().describe(\"Pagination metadata for the schedules list response.\");\nexport const ReplyGetCampaignSchedulesAllOutput = z.object({\n schedules: z.array(ReplyGetCampaignSchedulesAll_ScheduleModelSchema).describe(\"List of campaign schedules (default and user-created).\"),\n pagination: ReplyGetCampaignSchedulesAll_PaginationInfoSchema.nullable(),\n}).passthrough();\n\nexport const replyGetCampaignSchedulesAll: AppAction<\n typeof ReplyGetCampaignSchedulesAllInput,\n typeof ReplyGetCampaignSchedulesAllOutput,\n typeof reply.credential\n> = action(\"REPLY_GET_CAMPAIGN_SCHEDULES_ALL\", {\n slug: \"reply-get-campaign-schedules-all\",\n name: \"Get all campaign schedules\",\n description: \"Retrieves all campaign schedules from Reply.io, including the default schedule and any user-created schedules. Each schedule contains timezone settings, daily timing configurations (mainTimings), and follow-up timings. Use this to view available schedules before assigning one to a campaign or to audit existing schedule configurations.\",\n input: ReplyGetCampaignSchedulesAllInput,\n output: ReplyGetCampaignSchedulesAllOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACnG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;AAC3G,CAAC,CAAC,CAAC,SAAS,4EAA4E;AACxF,MAAM,+CAA+CA,IAAAA,EAAE,OAAO;CAC5D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CACrE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;AAC3E,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,oDAAoDA,IAAAA,EAAE,OAAO;CACjE,QAAQ,6CAA6C,SAAS;CAC9D,UAAU,6CAA6C,SAAS;AAClE,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,oDAAoDA,IAAAA,EAAE,OAAO;CACjE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAC9E,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACvF,YAAYA,IAAAA,EAAE,MAAM,iDAAiD,CAAC,CAAC,SAAS,mCAAmC;AACrH,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,mDAAmDA,IAAAA,EAAE,OAAO;CAChE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,S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rokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-campaign-schedules-all.d.ts
@@ -47,22 +49,7 @@ declare const ReplyGetCampaignSchedulesAllOutput: z.ZodObject<{
47
49
  has_more: z.ZodNullable<z.ZodBoolean>;
48
50
  }, z.core.$loose>>;
49
51
  }, z.core.$loose>;
50
- declare const replyGetCampaignSchedulesAll: import("@keystrokehq/action").WorkflowActionDefinition<{
51
- page?: number | undefined;
52
- limit?: number | undefined;
53
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"reply", z.ZodObject<{
54
- connectionId: z.ZodString;
55
- entityId: z.ZodString;
56
- instanceId: z.ZodString;
57
- }, z.core.$strip>, z.ZodObject<{
58
- generic_api_key: z.ZodString;
59
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"reply", z.ZodObject<{
60
- connectionId: z.ZodString;
61
- entityId: z.ZodString;
62
- instanceId: z.ZodString;
63
- }, z.core.$strip>, z.ZodObject<{
64
- generic_api_key: z.ZodString;
65
- }, z.core.$strip>>]>;
52
+ declare const replyGetCampaignSchedulesAll: AppAction<typeof ReplyGetCampaignSchedulesAllInput, typeof ReplyGetCampaignSchedulesAllOutput, typeof reply.credential>;
66
53
  //#endregion
67
54
  export { replyGetCampaignSchedulesAll };
68
55
  //# sourceMappingURL=get-campaign-schedules-all.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-campaign-schedules-all.d.cts","names":[],"sources":["../../src/actions/get-campaign-schedules-all.ts"],"mappings":";;;cAIa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;cA+BjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAKlC,4BAAA,gCAA4B,wBAAA"}
1
+ {"version":3,"file":"get-campaign-schedules-all.d.cts","names":[],"sources":["../../src/actions/get-campaign-schedules-all.ts"],"mappings":";;;;;cAMa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;cA+BjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAKlC,4BAAA,EAA8B,SAAA,QAClC,iCAAA,SACA,kCAAA,SACA,KAAA,CAAM,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { reply } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-campaign-schedules-all.d.ts
@@ -47,22 +49,7 @@ declare const ReplyGetCampaignSchedulesAllOutput: z.ZodObject<{
47
49
  has_more: z.ZodNullable<z.ZodBoolean>;
48
50
  }, z.core.$loose>>;
49
51
  }, z.core.$loose>;
50
- declare const replyGetCampaignSchedulesAll: import("@keystrokehq/action").WorkflowActionDefinition<{
51
- page?: number | undefined;
52
- limit?: number | undefined;
53
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"reply", z.ZodObject<{
54
- connectionId: z.ZodString;
55
- entityId: z.ZodString;
56
- instanceId: z.ZodString;
57
- }, z.core.$strip>, z.ZodObject<{
58
- generic_api_key: z.ZodString;
59
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"reply", z.ZodObject<{
60
- connectionId: z.ZodString;
61
- entityId: z.ZodString;
62
- instanceId: z.ZodString;
63
- }, z.core.$strip>, z.ZodObject<{
64
- generic_api_key: z.ZodString;
65
- }, z.core.$strip>>]>;
52
+ declare const replyGetCampaignSchedulesAll: AppAction<typeof ReplyGetCampaignSchedulesAllInput, typeof ReplyGetCampaignSchedulesAllOutput, typeof reply.credential>;
66
53
  //#endregion
67
54
  export { replyGetCampaignSchedulesAll };
68
55
  //# sourceMappingURL=get-campaign-schedules-all.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-campaign-schedules-all.d.mts","names":[],"sources":["../../src/actions/get-campaign-schedules-all.ts"],"mappings":";;;cAIa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;cA+BjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAKlC,4BAAA,gCAA4B,wBAAA"}
1
+ {"version":3,"file":"get-campaign-schedules-all.d.mts","names":[],"sources":["../../src/actions/get-campaign-schedules-all.ts"],"mappings":";;;;;cAMa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;cA+BjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAKlC,4BAAA,EAA8B,SAAA,QAClC,iCAAA,SACA,kCAAA,SACA,KAAA,CAAM,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/get-campaign-schedules-all.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-campaign-schedules-all.mjs","names":[],"sources":["../../src/actions/get-campaign-schedules-all.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ReplyGetCampaignSchedulesAllInput = z.object({\n page: z.number().int().default(1).describe(\"Page number to retrieve (1-based indexing).\").optional(),\n limit: z.number().int().default(50).describe(\"Maximum number of schedules to return per page.\").optional(),\n}).describe(\"Request model for listing all campaign schedules with optional pagination.\");\nconst ReplyGetCampaignSchedulesAll_TimeModelSchema = z.object({\n hour: z.number().int().describe(\"Hour of the time (0-24).\").nullable(),\n minute: z.number().int().describe(\"Minute of the time (0-59).\").nullable(),\n}).passthrough();\nconst ReplyGetCampaignSchedulesAll_TimeRangeModelSchema = z.object({\n toTime: ReplyGetCampaignSchedulesAll_TimeModelSchema.nullable(),\n fromTime: ReplyGetCampaignSchedulesAll_TimeModelSchema.nullable(),\n}).passthrough();\nconst ReplyGetCampaignSchedulesAll_DayTimingModelSchema = z.object({\n weekDay: z.string().describe(\"Name of the weekday, e.g., 'Monday'.\").nullable(),\n isActive: z.boolean().describe(\"Whether this day is active in the schedule.\").nullable(),\n timeRanges: z.array(ReplyGetCampaignSchedulesAll_TimeRangeModelSchema).describe(\"List of time ranges for this day.\"),\n}).passthrough();\nconst ReplyGetCampaignSchedulesAll_ScheduleModelSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the schedule.\").nullable(),\n name: z.string().describe(\"Name of the schedule.\").nullable(),\n isDefault: z.boolean().describe(\"Indicates if this is the default schedule.\").nullable(),\n timezoneId: z.string().describe(\"Timezone identifier for the schedule.\").nullable(),\n mainTimings: z.array(ReplyGetCampaignSchedulesAll_DayTimingModelSchema).describe(\"Primary schedule timings per day.\"),\n followUpTimings: z.array(ReplyGetCampaignSchedulesAll_DayTimingModelSchema).describe(\"Follow-up schedule timings per day.\"),\n}).passthrough();\nconst ReplyGetCampaignSchedulesAll_PaginationInfoSchema = z.object({\n page: z.number().int().describe(\"Current page number.\").nullable(),\n limit: z.number().int().describe(\"Number of items per page.\").nullable(),\n total: z.number().int().describe(\"Total number of schedules available.\").nullable(),\n has_more: z.boolean().describe(\"Whether there are more pages available.\").nullable(),\n}).passthrough().describe(\"Pagination metadata for the schedules list response.\");\nexport const ReplyGetCampaignSchedulesAllOutput = z.object({\n schedules: z.array(ReplyGetCampaignSchedulesAll_ScheduleModelSchema).describe(\"List of campaign schedules (default and user-created).\"),\n pagination: ReplyGetCampaignSchedulesAll_PaginationInfoSchema.nullable(),\n}).passthrough();\n\nexport const replyGetCampaignSchedulesAll = action(\"REPLY_GET_CAMPAIGN_SCHEDULES_ALL\", {\n slug: \"reply-get-campaign-schedules-all\",\n name: \"Get all campaign schedules\",\n description: \"Retrieves all campaign schedules from Reply.io, including the default schedule and any user-created schedules. Each schedule contains timezone settings, daily timing configurations (mainTimings), and follow-up timings. Use this to view available schedules before assigning one to a campaign or to audit existing schedule configurations.\",\n input: ReplyGetCampaignSchedulesAllInput,\n output: ReplyGetCampaignSchedulesAllOutput,\n});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uC,CAAC,CAAC,SAAS;CAClF,aAAa,EAAE,MAAM,iDAAiD,CAAC,CAAC,SAAS,mCAAmC;CACpH,iBAAiB,EAAE,MAAM,iDAAiD,CAAC,CAAC,SAAS,qCAAqC;AAC5H,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,oDAAoD,EAAE,OAAO;CACjE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CACjE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CACvE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAClF,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;AACrF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAMhF,MAAa,+BAA+B,OAAO,oCAAoC;CACrF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVgD,EAAE,OAAO;EACzD,WAAW,EAAE,MAAM,gDAAgD,CAAC,CAAC,SAAS,wDAAwD;EACtI,YAAY,kDAAkD,SAAS;CACzE,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
1
+ {"version":3,"file":"get-campaign-schedules-all.mjs","names":[],"sources":["../../src/actions/get-campaign-schedules-all.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { reply } from \"../app\";\n\nexport const ReplyGetCampaignSchedulesAllInput = z.object({\n page: z.number().int().default(1).describe(\"Page number to retrieve (1-based indexing).\").optional(),\n limit: z.number().int().default(50).describe(\"Maximum number of schedules to return per page.\").optional(),\n}).describe(\"Request model for listing all campaign schedules with optional pagination.\");\nconst ReplyGetCampaignSchedulesAll_TimeModelSchema = z.object({\n hour: z.number().int().describe(\"Hour of the time (0-24).\").nullable(),\n minute: z.number().int().describe(\"Minute of the time (0-59).\").nullable(),\n}).passthrough();\nconst ReplyGetCampaignSchedulesAll_TimeRangeModelSchema = z.object({\n toTime: ReplyGetCampaignSchedulesAll_TimeModelSchema.nullable(),\n fromTime: ReplyGetCampaignSchedulesAll_TimeModelSchema.nullable(),\n}).passthrough();\nconst ReplyGetCampaignSchedulesAll_DayTimingModelSchema = z.object({\n weekDay: z.string().describe(\"Name of the weekday, e.g., 'Monday'.\").nullable(),\n isActive: z.boolean().describe(\"Whether this day is active in the schedule.\").nullable(),\n timeRanges: z.array(ReplyGetCampaignSchedulesAll_TimeRangeModelSchema).describe(\"List of time ranges for this day.\"),\n}).passthrough();\nconst ReplyGetCampaignSchedulesAll_ScheduleModelSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the schedule.\").nullable(),\n name: z.string().describe(\"Name of the schedule.\").nullable(),\n isDefault: z.boolean().describe(\"Indicates if this is the default schedule.\").nullable(),\n timezoneId: z.string().describe(\"Timezone identifier for the schedule.\").nullable(),\n mainTimings: z.array(ReplyGetCampaignSchedulesAll_DayTimingModelSchema).describe(\"Primary schedule timings per day.\"),\n followUpTimings: z.array(ReplyGetCampaignSchedulesAll_DayTimingModelSchema).describe(\"Follow-up schedule timings per day.\"),\n}).passthrough();\nconst ReplyGetCampaignSchedulesAll_PaginationInfoSchema = z.object({\n page: z.number().int().describe(\"Current page number.\").nullable(),\n limit: z.number().int().describe(\"Number of items per page.\").nullable(),\n total: z.number().int().describe(\"Total number of schedules available.\").nullable(),\n has_more: z.boolean().describe(\"Whether there are more pages available.\").nullable(),\n}).passthrough().describe(\"Pagination metadata for the schedules list response.\");\nexport const ReplyGetCampaignSchedulesAllOutput = z.object({\n schedules: z.array(ReplyGetCampaignSchedulesAll_ScheduleModelSchema).describe(\"List of campaign schedules (default and user-created).\"),\n pagination: ReplyGetCampaignSchedulesAll_PaginationInfoSchema.nullable(),\n}).passthrough();\n\nexport const replyGetCampaignSchedulesAll: AppAction<\n typeof ReplyGetCampaignSchedulesAllInput,\n typeof ReplyGetCampaignSchedulesAllOutput,\n typeof reply.credential\n> = action(\"REPLY_GET_CAMPAIGN_SCHEDULES_ALL\", {\n slug: \"reply-get-campaign-schedules-all\",\n name: \"Get all campaign schedules\",\n description: \"Retrieves all campaign schedules from Reply.io, including the default schedule and any user-created schedules. Each schedule contains timezone settings, daily timing configurations (mainTimings), and follow-up timings. Use this to view available schedules before assigning one to a campaign or to audit existing schedule configurations.\",\n input: ReplyGetCampaignSchedulesAllInput,\n output: ReplyGetCampaignSchedulesAllOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,oCAAoC,EAAE,OAAO;CACxD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACnG,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;AAC3G,CAAC,CAAC,CAAC,SAAS,4EAA4E;AACxF,MAAM,+CAA+C,EAAE,OAAO;CAC5D,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CACrE,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;AAC3E,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,oDAAoD,EAAE,OAAO;CACjE,QAAQ,6CAA6C,SAAS;CAC9D,UAAU,6CAA6C,SAAS;AAClE,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,oDAAoD,EAAE,OAAO;CACjE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAC9E,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACvF,YAAY,EAAE,MA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");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/get-campaigns-for-contact.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-campaigns-for-contact.cjs","names":["z","action"],"sources":["../../src/actions/get-campaigns-for-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ReplyGetCampaignsForContactInput = z.object({\n page: z.number().int().default(1).describe(\"Page number to retrieve (1-based indexing).\").optional(),\n limit: z.number().int().default(50).describe(\"Maximum number of campaigns to return per page.\").optional(),\n contactId: z.number().int().describe(\"The unique numeric ID of the contact. You can obtain this from the contact list endpoints or from contact search results.\"),\n}).describe(\"Request model for retrieving campaigns (sequences) a contact belongs to by contact ID.\");\nconst ReplyGetCampaignsForContact_SequenceModelSchema = z.object({\n status: z.string().describe(\"Current status of the sequence. Possible values include 'Active', 'Paused', 'New', 'Archived'.\").nullable(),\n sequenceId: z.number().int().describe(\"The unique numeric identifier of the sequence (campaign).\").nullable(),\n sequenceName: z.string().describe(\"The human-readable name of the sequence (campaign).\").nullable(),\n isSequenceOwner: z.boolean().describe(\"True if the authenticated user is the owner of this sequence, False otherwise.\").nullable(),\n}).passthrough().describe(\"Model representing a sequence (campaign) that a contact belongs to.\");\nconst ReplyGetCampaignsForContact_PaginationInfoSchema = z.object({\n page: z.number().int().describe(\"Current page number.\").nullable(),\n limit: z.number().int().describe(\"Number of items per page.\").nullable(),\n total: z.number().int().describe(\"Total number of campaigns available.\").nullable(),\n has_more: z.boolean().describe(\"Whether there are more pages available.\").nullable(),\n}).passthrough().describe(\"Pagination metadata for the campaigns list response.\");\nexport const ReplyGetCampaignsForContactOutput = z.object({\n campaigns: z.array(ReplyGetCampaignsForContact_SequenceModelSchema).describe(\"List of sequences (campaigns) the contact is enrolled in. Returns an empty list if the contact is not enrolled in any campaigns or if the contact does not exist.\"),\n pagination: ReplyGetCampaignsForContact_PaginationInfoSchema.nullable(),\n}).passthrough().describe(\"Response model for GetCampaignsForContact containing all sequences a contact belongs to.\");\n\nexport const replyGetCampaignsForContact = action(\"REPLY_GET_CAMPAIGNS_FOR_CONTACT\", {\n slug: \"reply-get-campaigns-for-contact\",\n name: \"Get Campaigns For Contact\",\n description: \"Tool to retrieve campaigns a contact belongs to by contact ID. Use when you need to list all sequences (campaigns) associated with a specific contact.\",\n input: ReplyGetCampaignsForContactInput,\n output: ReplyGetCampaignsForContactOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACnG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CACzG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2HAA2H;AAClK,CAAC,CAAC,CAAC,SAAS,wFAAwF;AACpG,MAAM,kDAAkDA,IAAAA,EAAE,OAAO;CAC/D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS;CACvI,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CAC5G,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CAClG,iBAAiBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS;AACnI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qEAAqE;AAC/F,MAAM,mDAAmDA,IAAAA,EAAE,OAAO;CAChE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CACjE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CACvE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAClF,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;AACrF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAChF,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,WAAWA,IAAAA,EAAE,MAAM,+CAA+C,CAAC,CAAC,SAAS,mKAAmK;CAChP,YAAY,iDAAiD,SAAS;AACxE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0FAA0F;AAEpH,MAAa,8BAA8BC,eAAAA,OAAO,mCAAmC;CACnF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-campaigns-for-contact.cjs","names":["z","action"],"sources":["../../src/actions/get-campaigns-for-contact.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { reply } from \"../app\";\n\nexport const ReplyGetCampaignsForContactInput = z.object({\n page: z.number().int().default(1).describe(\"Page number to retrieve (1-based indexing).\").optional(),\n limit: z.number().int().default(50).describe(\"Maximum number of campaigns to return per page.\").optional(),\n contactId: z.number().int().describe(\"The unique numeric ID of the contact. You can obtain this from the contact list endpoints or from contact search results.\"),\n}).describe(\"Request model for retrieving campaigns (sequences) a contact belongs to by contact ID.\");\nconst ReplyGetCampaignsForContact_SequenceModelSchema = z.object({\n status: z.string().describe(\"Current status of the sequence. Possible values include 'Active', 'Paused', 'New', 'Archived'.\").nullable(),\n sequenceId: z.number().int().describe(\"The unique numeric identifier of the sequence (campaign).\").nullable(),\n sequenceName: z.string().describe(\"The human-readable name of the sequence (campaign).\").nullable(),\n isSequenceOwner: z.boolean().describe(\"True if the authenticated user is the owner of this sequence, False otherwise.\").nullable(),\n}).passthrough().describe(\"Model representing a sequence (campaign) that a contact belongs to.\");\nconst ReplyGetCampaignsForContact_PaginationInfoSchema = z.object({\n page: z.number().int().describe(\"Current page number.\").nullable(),\n limit: z.number().int().describe(\"Number of items per page.\").nullable(),\n total: z.number().int().describe(\"Total number of campaigns available.\").nullable(),\n has_more: z.boolean().describe(\"Whether there are more pages available.\").nullable(),\n}).passthrough().describe(\"Pagination metadata for the campaigns list response.\");\nexport const ReplyGetCampaignsForContactOutput = z.object({\n campaigns: z.array(ReplyGetCampaignsForContact_SequenceModelSchema).describe(\"List of sequences (campaigns) the contact is enrolled in. Returns an empty list if the contact is not enrolled in any campaigns or if the contact does not exist.\"),\n pagination: ReplyGetCampaignsForContact_PaginationInfoSchema.nullable(),\n}).passthrough().describe(\"Response model for GetCampaignsForContact containing all sequences a contact belongs to.\");\n\nexport const replyGetCampaignsForContact: AppAction<\n typeof ReplyGetCampaignsForContactInput,\n typeof ReplyGetCampaignsForContactOutput,\n typeof reply.credential\n> = action(\"REPLY_GET_CAMPAIGNS_FOR_CONTACT\", {\n slug: \"reply-get-campaigns-for-contact\",\n name: \"Get Campaigns For Contact\",\n description: \"Tool to retrieve campaigns a contact belongs to by contact ID. Use when you need to list all sequences (campaigns) associated with a specific contact.\",\n input: ReplyGetCampaignsForContactInput,\n output: ReplyGetCampaignsForContactOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACnG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,iDAAiD,CAAC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eAAAA,OAAO,mCAAmC;CAC5C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { reply } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-campaigns-for-contact.d.ts
@@ -20,23 +22,7 @@ declare const ReplyGetCampaignsForContactOutput: z.ZodObject<{
20
22
  has_more: z.ZodNullable<z.ZodBoolean>;
21
23
  }, z.core.$loose>>;
22
24
  }, z.core.$loose>;
23
- declare const replyGetCampaignsForContact: import("@keystrokehq/action").WorkflowActionDefinition<{
24
- contactId: number;
25
- page?: number | undefined;
26
- limit?: number | undefined;
27
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"reply", z.ZodObject<{
28
- connectionId: z.ZodString;
29
- entityId: z.ZodString;
30
- instanceId: z.ZodString;
31
- }, z.core.$strip>, z.ZodObject<{
32
- generic_api_key: z.ZodString;
33
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"reply", z.ZodObject<{
34
- connectionId: z.ZodString;
35
- entityId: z.ZodString;
36
- instanceId: z.ZodString;
37
- }, z.core.$strip>, z.ZodObject<{
38
- generic_api_key: z.ZodString;
39
- }, z.core.$strip>>]>;
25
+ declare const replyGetCampaignsForContact: AppAction<typeof ReplyGetCampaignsForContactInput, typeof ReplyGetCampaignsForContactOutput, typeof reply.credential>;
40
26
  //#endregion
41
27
  export { replyGetCampaignsForContact };
42
28
  //# sourceMappingURL=get-campaigns-for-contact.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-campaigns-for-contact.d.cts","names":[],"sources":["../../src/actions/get-campaigns-for-contact.ts"],"mappings":";;;cAIa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;cAiBhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAKjC,2BAAA,gCAA2B,wBAAA"}
1
+ {"version":3,"file":"get-campaigns-for-contact.d.cts","names":[],"sources":["../../src/actions/get-campaigns-for-contact.ts"],"mappings":";;;;;cAMa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;cAiBhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAKjC,2BAAA,EAA6B,SAAA,QACjC,gCAAA,SACA,iCAAA,SACA,KAAA,CAAM,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { reply } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-campaigns-for-contact.d.ts
@@ -20,23 +22,7 @@ declare const ReplyGetCampaignsForContactOutput: z.ZodObject<{
20
22
  has_more: z.ZodNullable<z.ZodBoolean>;
21
23
  }, z.core.$loose>>;
22
24
  }, z.core.$loose>;
23
- declare const replyGetCampaignsForContact: import("@keystrokehq/action").WorkflowActionDefinition<{
24
- contactId: number;
25
- page?: number | undefined;
26
- limit?: number | undefined;
27
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"reply", z.ZodObject<{
28
- connectionId: z.ZodString;
29
- entityId: z.ZodString;
30
- instanceId: z.ZodString;
31
- }, z.core.$strip>, z.ZodObject<{
32
- generic_api_key: z.ZodString;
33
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"reply", z.ZodObject<{
34
- connectionId: z.ZodString;
35
- entityId: z.ZodString;
36
- instanceId: z.ZodString;
37
- }, z.core.$strip>, z.ZodObject<{
38
- generic_api_key: z.ZodString;
39
- }, z.core.$strip>>]>;
25
+ declare const replyGetCampaignsForContact: AppAction<typeof ReplyGetCampaignsForContactInput, typeof ReplyGetCampaignsForContactOutput, typeof reply.credential>;
40
26
  //#endregion
41
27
  export { replyGetCampaignsForContact };
42
28
  //# sourceMappingURL=get-campaigns-for-contact.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-campaigns-for-contact.d.mts","names":[],"sources":["../../src/actions/get-campaigns-for-contact.ts"],"mappings":";;;cAIa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;cAiBhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAKjC,2BAAA,gCAA2B,wBAAA"}
1
+ {"version":3,"file":"get-campaigns-for-contact.d.mts","names":[],"sources":["../../src/actions/get-campaigns-for-contact.ts"],"mappings":";;;;;cAMa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;cAiBhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAKjC,2BAAA,EAA6B,SAAA,QACjC,gCAAA,SACA,iCAAA,SACA,KAAA,CAAM,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/get-campaigns-for-contact.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-campaigns-for-contact.mjs","names":[],"sources":["../../src/actions/get-campaigns-for-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ReplyGetCampaignsForContactInput = z.object({\n page: z.number().int().default(1).describe(\"Page number to retrieve (1-based indexing).\").optional(),\n limit: z.number().int().default(50).describe(\"Maximum number of campaigns to return per page.\").optional(),\n contactId: z.number().int().describe(\"The unique numeric ID of the contact. You can obtain this from the contact list endpoints or from contact search results.\"),\n}).describe(\"Request model for retrieving campaigns (sequences) a contact belongs to by contact ID.\");\nconst ReplyGetCampaignsForContact_SequenceModelSchema = z.object({\n status: z.string().describe(\"Current status of the sequence. Possible values include 'Active', 'Paused', 'New', 'Archived'.\").nullable(),\n sequenceId: z.number().int().describe(\"The unique numeric identifier of the sequence (campaign).\").nullable(),\n sequenceName: z.string().describe(\"The human-readable name of the sequence (campaign).\").nullable(),\n isSequenceOwner: z.boolean().describe(\"True if the authenticated user is the owner of this sequence, False otherwise.\").nullable(),\n}).passthrough().describe(\"Model representing a sequence (campaign) that a contact belongs to.\");\nconst ReplyGetCampaignsForContact_PaginationInfoSchema = z.object({\n page: z.number().int().describe(\"Current page number.\").nullable(),\n limit: z.number().int().describe(\"Number of items per page.\").nullable(),\n total: z.number().int().describe(\"Total number of campaigns available.\").nullable(),\n has_more: z.boolean().describe(\"Whether there are more pages available.\").nullable(),\n}).passthrough().describe(\"Pagination metadata for the campaigns list response.\");\nexport const ReplyGetCampaignsForContactOutput = z.object({\n campaigns: z.array(ReplyGetCampaignsForContact_SequenceModelSchema).describe(\"List of sequences (campaigns) the contact is enrolled in. Returns an empty list if the contact is not enrolled in any campaigns or if the contact does not exist.\"),\n pagination: ReplyGetCampaignsForContact_PaginationInfoSchema.nullable(),\n}).passthrough().describe(\"Response model for GetCampaignsForContact containing all sequences a contact belongs to.\");\n\nexport const replyGetCampaignsForContact = action(\"REPLY_GET_CAMPAIGNS_FOR_CONTACT\", {\n slug: \"reply-get-campaigns-for-contact\",\n name: \"Get Campaigns For Contact\",\n description: \"Tool to retrieve campaigns a contact belongs to by contact ID. Use when you need to list all sequences (campaigns) associated with a specific contact.\",\n input: ReplyGetCampaignsForContactInput,\n output: ReplyGetCampaignsForContactOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmC,EAAE,OAAO;CACvD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACnG,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CACzG,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2HAA2H;AAClK,CAAC,CAAC,CAAC,SAAS,wFAAwF;AACpG,MAAM,kDAAkD,EAAE,OAAO;CAC/D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS;CACvI,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CAC5G,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CAClG,iBAAiB,EAAE,QAAQ,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS;AACnI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qEAAqE;AAC/F,MAAM,mDAAmD,EAAE,OAAO;CAChE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CACjE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CACvE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAClF,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;AACrF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAMhF,MAAa,8BAA8B,OAAO,mCAAmC;CACnF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV+C,EAAE,OAAO;EACxD,WAAW,EAAE,MAAM,+CAA+C,CAAC,CAAC,SAAS,mKAAmK;EAChP,YAAY,iDAAiD,SAAS;CACxE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0FAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"get-campaigns-for-contact.mjs","names":[],"sources":["../../src/actions/get-campaigns-for-contact.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { reply } from \"../app\";\n\nexport const ReplyGetCampaignsForContactInput = z.object({\n page: z.number().int().default(1).describe(\"Page number to retrieve (1-based indexing).\").optional(),\n limit: z.number().int().default(50).describe(\"Maximum number of campaigns to return per page.\").optional(),\n contactId: z.number().int().describe(\"The unique numeric ID of the contact. You can obtain this from the contact list endpoints or from contact search results.\"),\n}).describe(\"Request model for retrieving campaigns (sequences) a contact belongs to by contact ID.\");\nconst ReplyGetCampaignsForContact_SequenceModelSchema = z.object({\n status: z.string().describe(\"Current status of the sequence. Possible values include 'Active', 'Paused', 'New', 'Archived'.\").nullable(),\n sequenceId: z.number().int().describe(\"The unique numeric identifier of the sequence (campaign).\").nullable(),\n sequenceName: z.string().describe(\"The human-readable name of the sequence (campaign).\").nullable(),\n isSequenceOwner: z.boolean().describe(\"True if the authenticated user is the owner of this sequence, False otherwise.\").nullable(),\n}).passthrough().describe(\"Model representing a sequence (campaign) that a contact belongs to.\");\nconst ReplyGetCampaignsForContact_PaginationInfoSchema = z.object({\n page: z.number().int().describe(\"Current page number.\").nullable(),\n limit: z.number().int().describe(\"Number of items per page.\").nullable(),\n total: z.number().int().describe(\"Total number of campaigns available.\").nullable(),\n has_more: z.boolean().describe(\"Whether there are more pages available.\").nullable(),\n}).passthrough().describe(\"Pagination metadata for the campaigns list response.\");\nexport const ReplyGetCampaignsForContactOutput = z.object({\n campaigns: z.array(ReplyGetCampaignsForContact_SequenceModelSchema).describe(\"List of sequences (campaigns) the contact is enrolled in. Returns an empty list if the contact is not enrolled in any campaigns or if the contact does not exist.\"),\n pagination: ReplyGetCampaignsForContact_PaginationInfoSchema.nullable(),\n}).passthrough().describe(\"Response model for GetCampaignsForContact containing all sequences a contact belongs to.\");\n\nexport const replyGetCampaignsForContact: AppAction<\n typeof ReplyGetCampaignsForContactInput,\n typeof ReplyGetCampaignsForContactOutput,\n typeof reply.credential\n> = action(\"REPLY_GET_CAMPAIGNS_FOR_CONTACT\", {\n slug: \"reply-get-campaigns-for-contact\",\n name: \"Get Campaigns For Contact\",\n description: \"Tool to retrieve campaigns a contact belongs to by contact ID. Use when you need to list all sequences (campaigns) associated with a specific contact.\",\n input: Repl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D;AAMhF,MAAa,8BAIT,OAAO,mCAAmC;CAC5C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAd+C,EAAE,OAAO;EACxD,WAAW,EAAE,MAAM,+CAA+C,CAAC,CAAC,SAAS,mKAAmK;EAChP,YAAY,iDAAiD,SAAS;CACxE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0FAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/get-contacts-in-list-by-id.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-contacts-in-list-by-id.cjs","names":["z","action"],"sources":["../../src/actions/get-contacts-in-list-by-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ReplyGetContactsInListByIdInput = z.object({\n page: z.number().int().default(1).describe(\"Page number for pagination (default is 1)\").optional(),\n limit: z.number().int().default(20).describe(\"Number of contacts per page (default is 20, max is 100)\").optional(),\n list_id: z.string().describe(\"Unique identifier of the list to retrieve contacts from\"),\n}).describe(\"Request model for retrieving contacts in a specific list by its ID.\");\nconst ReplyGetContactsInListById_CustomFieldSchema = z.object({\n key: z.string().describe(\"Custom field key\").nullable(),\n value: z.string().describe(\"Custom field value\").nullable(),\n}).passthrough();\nconst ReplyGetContactsInListById_ContactSchema = z.object({\n id: z.string().describe(\"Unique identifier of the contact\").nullable(),\n city: z.string().describe(\"Contact's city\").nullable().optional(),\n email: z.string().describe(\"Contact's email address\").nullable(),\n notes: z.string().describe(\"Notes associated with the contact\").nullable().optional(),\n phone: z.string().describe(\"Contact's phone number\").nullable().optional(),\n state: z.string().describe(\"Contact's state\").nullable().optional(),\n title: z.string().describe(\"Contact's job title\").nullable().optional(),\n domain: z.string().describe(\"Contact's company domain\").nullable().optional(),\n company: z.string().describe(\"Contact's company name\").nullable().optional(),\n country: z.string().describe(\"Contact's country\").nullable().optional(),\n fullName: z.string().describe(\"Contact's full name\").nullable().optional(),\n industry: z.string().describe(\"Industry of the contact's company\").nullable().optional(),\n lastName: z.string().describe(\"Contact's last name\").nullable().optional(),\n firstName: z.string().describe(\"Contact's first name\").nullable().optional(),\n addingDate: z.string().describe(\"Date when the contact was added\").nullable().optional(),\n timeZoneId: z.string().describe(\"Contact's time zone ID\").nullable().optional(),\n companySize: z.string().describe(\"Size of the contact's company\").nullable().optional(),\n phoneStatus: z.string().describe(\"Status of the phone number\").nullable().optional(),\n customFields: z.array(ReplyGetContactsInListById_CustomFieldSchema).describe(\"Custom fields associated with the contact\").nullable().optional(),\n linkedInProfile: z.string().describe(\"URL to the contact's LinkedIn profile\").nullable().optional(),\n linkedInRecruiter: z.string().describe(\"URL to the contact's LinkedIn Recruiter profile\").nullable().optional(),\n linkedInSalesNavigator: z.string().describe(\"URL to the contact's LinkedIn Sales Navigator profile\").nullable().optional(),\n}).passthrough();\nconst ReplyGetContactsInListById_PaginationSchema = z.object({\n limit: z.number().int().describe(\"Number of items per page\").nullable(),\n pages: z.number().int().describe(\"Total number of pages\").nullable(),\n total: z.number().int().describe(\"Total number of contacts\").nullable(),\n currentPage: z.number().int().describe(\"Current page number\").nullable(),\n}).passthrough();\nexport const ReplyGetContactsInListByIdOutput = z.object({\n data: z.array(ReplyGetContactsInListById_ContactSchema).describe(\"List of contacts in the specified list\"),\n pagination: ReplyGetContactsInListById_PaginationSchema.nullable(),\n}).passthrough();\n\nexport const replyGetContactsInListById = action(\"REPLY_GET_CONTACTS_IN_LIST_BY_ID\", {\n slug: \"reply-get-contacts-in-list-by-id\",\n name: \"Get Contacts in List by ID\",\n description: \"Tool to retrieve contacts in a specific personal list. Use after obtaining the list ID when you need a paginated set of contacts for that list.\",\n input: ReplyGetContactsInListByIdInput,\n output: ReplyGetContactsInListByIdOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAA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,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,wBAAwBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3H,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,8CAA8CA,IAAAA,EAAE,OAAO;CAC3D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CACtE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CACnE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CACtE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;AACzE,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,MAAMA,IAAAA,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,wCAAwC;CACzG,YAAY,4CAA4C,SAAS;AACnE,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,6BAA6BC,eAAAA,OAAO,oCAAoC;CACnF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-contacts-in-list-by-id.cjs","names":["z","action"],"sources":["../../src/actions/get-contacts-in-list-by-id.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { reply } from \"../app\";\n\nexport const ReplyGetContactsInListByIdInput = z.object({\n page: z.number().int().default(1).describe(\"Page number for pagination (default is 1)\").optional(),\n limit: z.number().int().default(20).describe(\"Number of contacts per page (default is 20, max is 100)\").optional(),\n list_id: z.string().describe(\"Unique identifier of the list to retrieve contacts from\"),\n}).describe(\"Request model for retrieving contacts in a specific list by its ID.\");\nconst ReplyGetContactsInListById_CustomFieldSchema = z.object({\n key: z.string().describe(\"Custom field key\").nullable(),\n value: z.string().describe(\"Custom field value\").nullable(),\n}).passthrough();\nconst ReplyGetContactsInListById_ContactSchema = z.object({\n id: z.string().describe(\"Unique identifier of the contact\").nullable(),\n city: z.string().describe(\"Contact's city\").nullable().optional(),\n email: z.string().describe(\"Contact's email address\").nullable(),\n notes: z.string().describe(\"Notes associated with the contact\").nullable().optional(),\n phone: z.string().describe(\"Contact's phone number\").nullable().optional(),\n state: z.string().describe(\"Contact's state\").nullable().optional(),\n title: z.string().describe(\"Contact's job title\").nullable().optional(),\n domain: z.string().describe(\"Contact's company domain\").nullable().optional(),\n company: z.string().describe(\"Contact's company name\").nullable().optional(),\n country: z.string().describe(\"Contact's country\").nullable().optional(),\n fullName: z.string().describe(\"Contact's full name\").nullable().optional(),\n industry: z.string().describe(\"Industry of the contact's company\").nullable().optional(),\n lastName: z.string().describe(\"Contact's last name\").nullable().optional(),\n firstName: z.string().describe(\"Contact's first name\").nullable().optional(),\n addingDate: z.string().describe(\"Date when the contact was added\").nullable().optional(),\n timeZoneId: z.string().describe(\"Contact's time zone ID\").nullable().optional(),\n companySize: z.string().describe(\"Size of the contact's company\").nullable().optional(),\n phoneStatus: z.string().describe(\"Status of the phone number\").nullable().optional(),\n customFields: z.array(ReplyGetContactsInListById_CustomFieldSchema).describe(\"Custom fields associated with the contact\").nullable().optional(),\n linkedInProfile: z.string().describe(\"URL to the contact's LinkedIn profile\").nullable().optional(),\n linkedInRecruiter: z.string().describe(\"URL to the contact's LinkedIn Recruiter profile\").nullable().optional(),\n linkedInSalesNavigator: z.string().describe(\"URL to the contact's LinkedIn Sales Navigator profile\").nullable().optional(),\n}).passthrough();\nconst ReplyGetContactsInListById_PaginationSchema = z.object({\n limit: z.number().int().describe(\"Number of items per page\").nullable(),\n pages: z.number().int().describe(\"Total number of pages\").nullable(),\n total: z.number().int().describe(\"Total number of contacts\").nullable(),\n currentPage: z.number().int().describe(\"Current page number\").nullable(),\n}).passthrough();\nexport const ReplyGetContactsInListByIdOutput = z.object({\n data: z.array(ReplyGetContactsInListById_ContactSchema).describe(\"List of contacts in the specified list\"),\n pagination: ReplyGetContactsInListById_PaginationSchema.nullable(),\n}).passthrough();\n\nexport const replyGetContactsInListById: AppAction<\n typeof ReplyGetContactsInListByIdInput,\n typeof ReplyGetContactsInListByIdOutput,\n typeof reply.credential\n> = action(\"REPLY_GET_CONTACTS_IN_LIST_BY_ID\", {\n slug: \"reply-get-contacts-in-list-by-id\",\n name: \"Get Contacts in List by ID\",\n description: \"Tool to retrieve contacts in a specific personal list. Use after obtaining the list ID when you need a paginated set of contacts for that list.\",\n input: ReplyGetContactsInListByIdInput,\n output: ReplyGetContactsInListByIdOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACjG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CACjH,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD;AACxF,CAAC,CAAC,CAAC,SAAS,qEAAqE;AACjF,MAAM,+CAA+CA,IAAAA,EAAE,OAAO;CAC5D,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CACtD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;AAC5D,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,2CAA2CA,IAAAA,EAAE,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