@keystrokehq/spondyr 0.1.0

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 (202) hide show
  1. package/README.md +17 -0
  2. package/dist/action.cjs +21 -0
  3. package/dist/action.cjs.map +1 -0
  4. package/dist/action.mjs +21 -0
  5. package/dist/action.mjs.map +1 -0
  6. package/dist/actions/conditions-list.cjs +26 -0
  7. package/dist/actions/conditions-list.cjs.map +1 -0
  8. package/dist/actions/conditions-list.d.cts +9 -0
  9. package/dist/actions/conditions-list.d.cts.map +1 -0
  10. package/dist/actions/conditions-list.d.mts +9 -0
  11. package/dist/actions/conditions-list.d.mts.map +1 -0
  12. package/dist/actions/conditions-list.mjs +25 -0
  13. package/dist/actions/conditions-list.mjs.map +1 -0
  14. package/dist/actions/create-condition.cjs +25 -0
  15. package/dist/actions/create-condition.cjs.map +1 -0
  16. package/dist/actions/create-condition.d.cts +9 -0
  17. package/dist/actions/create-condition.d.cts.map +1 -0
  18. package/dist/actions/create-condition.d.mts +9 -0
  19. package/dist/actions/create-condition.d.mts.map +1 -0
  20. package/dist/actions/create-condition.mjs +22 -0
  21. package/dist/actions/create-condition.mjs.map +1 -0
  22. package/dist/actions/create-transaction-type.cjs +23 -0
  23. package/dist/actions/create-transaction-type.cjs.map +1 -0
  24. package/dist/actions/create-transaction-type.d.cts +9 -0
  25. package/dist/actions/create-transaction-type.d.cts.map +1 -0
  26. package/dist/actions/create-transaction-type.d.mts +9 -0
  27. package/dist/actions/create-transaction-type.d.mts.map +1 -0
  28. package/dist/actions/create-transaction-type.mjs +20 -0
  29. package/dist/actions/create-transaction-type.mjs.map +1 -0
  30. package/dist/actions/deliver-spondyr.cjs +44 -0
  31. package/dist/actions/deliver-spondyr.cjs.map +1 -0
  32. package/dist/actions/deliver-spondyr.d.cts +9 -0
  33. package/dist/actions/deliver-spondyr.d.cts.map +1 -0
  34. package/dist/actions/deliver-spondyr.d.mts +9 -0
  35. package/dist/actions/deliver-spondyr.d.mts.map +1 -0
  36. package/dist/actions/deliver-spondyr.mjs +41 -0
  37. package/dist/actions/deliver-spondyr.mjs.map +1 -0
  38. package/dist/actions/event-type-update.cjs +24 -0
  39. package/dist/actions/event-type-update.cjs.map +1 -0
  40. package/dist/actions/event-type-update.d.cts +9 -0
  41. package/dist/actions/event-type-update.d.cts.map +1 -0
  42. package/dist/actions/event-type-update.d.mts +9 -0
  43. package/dist/actions/event-type-update.d.mts.map +1 -0
  44. package/dist/actions/event-type-update.mjs +21 -0
  45. package/dist/actions/event-type-update.mjs.map +1 -0
  46. package/dist/actions/get-event-types.cjs +24 -0
  47. package/dist/actions/get-event-types.cjs.map +1 -0
  48. package/dist/actions/get-event-types.d.cts +9 -0
  49. package/dist/actions/get-event-types.d.cts.map +1 -0
  50. package/dist/actions/get-event-types.d.mts +9 -0
  51. package/dist/actions/get-event-types.d.mts.map +1 -0
  52. package/dist/actions/get-event-types.mjs +23 -0
  53. package/dist/actions/get-event-types.mjs.map +1 -0
  54. package/dist/actions/get-spondyr-status.cjs +66 -0
  55. package/dist/actions/get-spondyr-status.cjs.map +1 -0
  56. package/dist/actions/get-spondyr-status.d.cts +9 -0
  57. package/dist/actions/get-spondyr-status.d.cts.map +1 -0
  58. package/dist/actions/get-spondyr-status.d.mts +9 -0
  59. package/dist/actions/get-spondyr-status.d.mts.map +1 -0
  60. package/dist/actions/get-spondyr-status.mjs +65 -0
  61. package/dist/actions/get-spondyr-status.mjs.map +1 -0
  62. package/dist/actions/get-transaction-types.cjs +25 -0
  63. package/dist/actions/get-transaction-types.cjs.map +1 -0
  64. package/dist/actions/get-transaction-types.d.cts +9 -0
  65. package/dist/actions/get-transaction-types.d.cts.map +1 -0
  66. package/dist/actions/get-transaction-types.d.mts +9 -0
  67. package/dist/actions/get-transaction-types.d.mts.map +1 -0
  68. package/dist/actions/get-transaction-types.mjs +24 -0
  69. package/dist/actions/get-transaction-types.mjs.map +1 -0
  70. package/dist/actions/index.cjs +43 -0
  71. package/dist/actions/index.d.cts +22 -0
  72. package/dist/actions/index.d.mts +22 -0
  73. package/dist/actions/index.mjs +22 -0
  74. package/dist/actions/recipient-delete.cjs +22 -0
  75. package/dist/actions/recipient-delete.cjs.map +1 -0
  76. package/dist/actions/recipient-delete.d.cts +9 -0
  77. package/dist/actions/recipient-delete.d.cts.map +1 -0
  78. package/dist/actions/recipient-delete.d.mts +9 -0
  79. package/dist/actions/recipient-delete.d.mts.map +1 -0
  80. package/dist/actions/recipient-delete.mjs +19 -0
  81. package/dist/actions/recipient-delete.mjs.map +1 -0
  82. package/dist/actions/recipient-get.cjs +35 -0
  83. package/dist/actions/recipient-get.cjs.map +1 -0
  84. package/dist/actions/recipient-get.d.cts +9 -0
  85. package/dist/actions/recipient-get.d.cts.map +1 -0
  86. package/dist/actions/recipient-get.d.mts +9 -0
  87. package/dist/actions/recipient-get.d.mts.map +1 -0
  88. package/dist/actions/recipient-get.mjs +32 -0
  89. package/dist/actions/recipient-get.mjs.map +1 -0
  90. package/dist/actions/recipients-list.cjs +35 -0
  91. package/dist/actions/recipients-list.cjs.map +1 -0
  92. package/dist/actions/recipients-list.d.cts +9 -0
  93. package/dist/actions/recipients-list.d.cts.map +1 -0
  94. package/dist/actions/recipients-list.d.mts +9 -0
  95. package/dist/actions/recipients-list.d.mts.map +1 -0
  96. package/dist/actions/recipients-list.mjs +34 -0
  97. package/dist/actions/recipients-list.mjs.map +1 -0
  98. package/dist/actions/search-filter-create.cjs +24 -0
  99. package/dist/actions/search-filter-create.cjs.map +1 -0
  100. package/dist/actions/search-filter-create.d.cts +9 -0
  101. package/dist/actions/search-filter-create.d.cts.map +1 -0
  102. package/dist/actions/search-filter-create.d.mts +9 -0
  103. package/dist/actions/search-filter-create.d.mts.map +1 -0
  104. package/dist/actions/search-filter-create.mjs +21 -0
  105. package/dist/actions/search-filter-create.mjs.map +1 -0
  106. package/dist/actions/search-filter-delete.cjs +22 -0
  107. package/dist/actions/search-filter-delete.cjs.map +1 -0
  108. package/dist/actions/search-filter-delete.d.cts +9 -0
  109. package/dist/actions/search-filter-delete.d.cts.map +1 -0
  110. package/dist/actions/search-filter-delete.d.mts +9 -0
  111. package/dist/actions/search-filter-delete.d.mts.map +1 -0
  112. package/dist/actions/search-filter-delete.mjs +19 -0
  113. package/dist/actions/search-filter-delete.mjs.map +1 -0
  114. package/dist/actions/search-filter-get.cjs +25 -0
  115. package/dist/actions/search-filter-get.cjs.map +1 -0
  116. package/dist/actions/search-filter-get.d.cts +9 -0
  117. package/dist/actions/search-filter-get.d.cts.map +1 -0
  118. package/dist/actions/search-filter-get.d.mts +9 -0
  119. package/dist/actions/search-filter-get.d.mts.map +1 -0
  120. package/dist/actions/search-filter-get.mjs +22 -0
  121. package/dist/actions/search-filter-get.mjs.map +1 -0
  122. package/dist/actions/search-filters-list.cjs +25 -0
  123. package/dist/actions/search-filters-list.cjs.map +1 -0
  124. package/dist/actions/search-filters-list.d.cts +9 -0
  125. package/dist/actions/search-filters-list.d.cts.map +1 -0
  126. package/dist/actions/search-filters-list.d.mts +9 -0
  127. package/dist/actions/search-filters-list.d.mts.map +1 -0
  128. package/dist/actions/search-filters-list.mjs +24 -0
  129. package/dist/actions/search-filters-list.mjs.map +1 -0
  130. package/dist/actions/search-spondyrs.cjs +66 -0
  131. package/dist/actions/search-spondyrs.cjs.map +1 -0
  132. package/dist/actions/search-spondyrs.d.cts +9 -0
  133. package/dist/actions/search-spondyrs.d.cts.map +1 -0
  134. package/dist/actions/search-spondyrs.d.mts +9 -0
  135. package/dist/actions/search-spondyrs.d.mts.map +1 -0
  136. package/dist/actions/search-spondyrs.mjs +65 -0
  137. package/dist/actions/search-spondyrs.mjs.map +1 -0
  138. package/dist/actions/sso-stub.cjs +32 -0
  139. package/dist/actions/sso-stub.cjs.map +1 -0
  140. package/dist/actions/sso-stub.d.cts +9 -0
  141. package/dist/actions/sso-stub.d.cts.map +1 -0
  142. package/dist/actions/sso-stub.d.mts +9 -0
  143. package/dist/actions/sso-stub.d.mts.map +1 -0
  144. package/dist/actions/sso-stub.mjs +29 -0
  145. package/dist/actions/sso-stub.mjs.map +1 -0
  146. package/dist/actions/template-get.cjs +78 -0
  147. package/dist/actions/template-get.cjs.map +1 -0
  148. package/dist/actions/template-get.d.cts +9 -0
  149. package/dist/actions/template-get.d.cts.map +1 -0
  150. package/dist/actions/template-get.d.mts +9 -0
  151. package/dist/actions/template-get.d.mts.map +1 -0
  152. package/dist/actions/template-get.mjs +77 -0
  153. package/dist/actions/template-get.mjs.map +1 -0
  154. package/dist/actions/templates-list.cjs +52 -0
  155. package/dist/actions/templates-list.cjs.map +1 -0
  156. package/dist/actions/templates-list.d.cts +9 -0
  157. package/dist/actions/templates-list.d.cts.map +1 -0
  158. package/dist/actions/templates-list.d.mts +9 -0
  159. package/dist/actions/templates-list.d.mts.map +1 -0
  160. package/dist/actions/templates-list.mjs +51 -0
  161. package/dist/actions/templates-list.mjs.map +1 -0
  162. package/dist/actions/transaction-type-get.cjs +22 -0
  163. package/dist/actions/transaction-type-get.cjs.map +1 -0
  164. package/dist/actions/transaction-type-get.d.cts +9 -0
  165. package/dist/actions/transaction-type-get.d.cts.map +1 -0
  166. package/dist/actions/transaction-type-get.d.mts +9 -0
  167. package/dist/actions/transaction-type-get.d.mts.map +1 -0
  168. package/dist/actions/transaction-type-get.mjs +19 -0
  169. package/dist/actions/transaction-type-get.mjs.map +1 -0
  170. package/dist/actions/transaction-type-update.cjs +24 -0
  171. package/dist/actions/transaction-type-update.cjs.map +1 -0
  172. package/dist/actions/transaction-type-update.d.cts +9 -0
  173. package/dist/actions/transaction-type-update.d.cts.map +1 -0
  174. package/dist/actions/transaction-type-update.d.mts +9 -0
  175. package/dist/actions/transaction-type-update.d.mts.map +1 -0
  176. package/dist/actions/transaction-type-update.mjs +21 -0
  177. package/dist/actions/transaction-type-update.mjs.map +1 -0
  178. package/dist/app.cjs +9 -0
  179. package/dist/app.cjs.map +1 -0
  180. package/dist/app.d.cts +5 -0
  181. package/dist/app.d.cts.map +1 -0
  182. package/dist/app.d.mts +5 -0
  183. package/dist/app.d.mts.map +1 -0
  184. package/dist/app.mjs +10 -0
  185. package/dist/app.mjs.map +1 -0
  186. package/dist/catalog.cjs +15 -0
  187. package/dist/catalog.cjs.map +1 -0
  188. package/dist/catalog.d.cts +14 -0
  189. package/dist/catalog.d.cts.map +1 -0
  190. package/dist/catalog.d.mts +14 -0
  191. package/dist/catalog.d.mts.map +1 -0
  192. package/dist/catalog.mjs +15 -0
  193. package/dist/catalog.mjs.map +1 -0
  194. package/dist/execute.cjs +18 -0
  195. package/dist/execute.cjs.map +1 -0
  196. package/dist/execute.mjs +18 -0
  197. package/dist/execute.mjs.map +1 -0
  198. package/dist/index.cjs +48 -0
  199. package/dist/index.d.cts +24 -0
  200. package/dist/index.d.mts +24 -0
  201. package/dist/index.mjs +25 -0
  202. package/package.json +49 -0
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/recipient-delete.d.ts
4
+ declare const SpondyrRecipientDeleteInput: z.ZodTypeAny;
5
+ declare const SpondyrRecipientDeleteOutput: z.ZodTypeAny;
6
+ declare const spondyrRecipientDelete: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { spondyrRecipientDelete };
9
+ //# sourceMappingURL=recipient-delete.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"recipient-delete.d.mts","names":[],"sources":["../../src/actions/recipient-delete.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UAGyD;AAAA,cACxF,4BAAA,EAA8B,CAAA,CAAE,UAGiB;AAAA,cAEjD,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,19 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ const spondyrRecipientDelete = action("SPONDYR_RECIPIENT_DELETE", {
4
+ slug: "spondyr-recipient-delete",
5
+ name: "Delete Recipient",
6
+ description: "Deletes a recipient configuration from a transaction type in Spondyr. Recipients are configured delivery endpoints (email addresses, fax numbers, physical addresses) that determine where correspondence will be sent when a transaction is processed. This action permanently removes a recipient configuration from the specified transaction type. Before deletion, use the 'List Recipients' action to verify the recipient name and transaction type. After successful deletion, the recipient will no longer be available for correspondence delivery.",
7
+ input: z.object({
8
+ Recipient: z.string().describe("The name of the recipient to delete. This is the 'Name' field that was used when the recipient was created. Use the 'List Recipients' action with the transaction type to find all configured recipient names."),
9
+ TransactionType: z.string().describe("The name of the Transaction Type that the recipient belongs to. Must match an existing transaction type in your Spondyr account. Use the 'Get Transaction Types' action to list all available transaction types, or 'List Recipients' to see which transaction types have configured recipients.")
10
+ }).describe("Request model for deleting a specific recipient configuration from a transaction type."),
11
+ output: z.object({
12
+ APIStatus: z.enum(["OK", "ERROR"]).describe("OK if deletion succeeded; ERROR otherwise."),
13
+ ErrorMessage: z.string().describe("Error message if deletion failed.").nullable().optional()
14
+ }).describe("Response model for the delete recipient action.")
15
+ });
16
+ //#endregion
17
+ export { spondyrRecipientDelete };
18
+
19
+ //# sourceMappingURL=recipient-delete.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"recipient-delete.mjs","names":[],"sources":["../../src/actions/recipient-delete.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpondyrRecipientDeleteInput: z.ZodTypeAny = z.object({\n Recipient: z.string().describe(\"The name of the recipient to delete. This is the 'Name' field that was used when the recipient was created. Use the 'List Recipients' action with the transaction type to find all configured recipient names.\"),\n TransactionType: z.string().describe(\"The name of the Transaction Type that the recipient belongs to. Must match an existing transaction type in your Spondyr account. Use the 'Get Transaction Types' action to list all available transaction types, or 'List Recipients' to see which transaction types have configured recipients.\"),\n}).describe(\"Request model for deleting a specific recipient configuration from a transaction type.\");\nexport const SpondyrRecipientDeleteOutput: z.ZodTypeAny = z.object({\n APIStatus: z.enum([\"OK\", \"ERROR\"]).describe(\"OK if deletion succeeded; ERROR otherwise.\"),\n ErrorMessage: z.string().describe(\"Error message if deletion failed.\").nullable().optional(),\n}).describe(\"Response model for the delete recipient action.\");\n\nexport const spondyrRecipientDelete = action(\"SPONDYR_RECIPIENT_DELETE\", {\n slug: \"spondyr-recipient-delete\",\n name: \"Delete Recipient\",\n description: \"Deletes a recipient configuration from a transaction type in Spondyr. Recipients are configured delivery endpoints (email addresses, fax numbers, physical addresses) that determine where correspondence will be sent when a transaction is processed. This action permanently removes a recipient configuration from the specified transaction type. Before deletion, use the 'List Recipients' action to verify the recipient name and transaction type. After successful deletion, the recipient will no longer be available for correspondence delivery.\",\n input: SpondyrRecipientDeleteInput,\n output: SpondyrRecipientDeleteOutput,\n});\n"],"mappings":";;AAaA,MAAa,yBAAyB,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAbuD,EAAE,OAAO;EAChE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,gNAAgN;EAC/O,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,kSAAkS;CACzU,CAAC,CAAC,CAAC,SAAS,wFAUH;CACP,QAVwD,EAAE,OAAO;EACjE,WAAW,EAAE,KAAK,CAAC,MAAM,OAAO,CAAC,CAAC,CAAC,SAAS,4CAA4C;EACxF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,CAAC,CAAC,CAAC,SAAS,iDAOF;AACV,CAAC"}
@@ -0,0 +1,35 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/recipient-get.ts
4
+ const SpondyrRecipientGetInput = zod.z.object({
5
+ Recipient: zod.z.string().describe("The name of the Recipient to retrieve."),
6
+ TransactionType: zod.z.string().describe("The name of the Transaction Type this Recipient is for.")
7
+ }).describe("Request model for retrieving a specific recipient.");
8
+ const SpondyrRecipientGetOutput = zod.z.object({
9
+ Fax: zod.z.string().describe("The Recipient's fax number.").nullable().optional(),
10
+ Zip: zod.z.string().describe("The Recipient's zip code.").nullable().optional(),
11
+ City: zod.z.string().describe("The Recipient's city.").nullable().optional(),
12
+ Name: zod.z.string().describe("The name of the Recipient."),
13
+ Email: zod.z.string().describe("The Recipient's email address.").nullable().optional(),
14
+ State: zod.z.string().describe("The Recipient's state.").nullable().optional(),
15
+ Address1: zod.z.string().describe("The Recipient's address 1.").nullable().optional(),
16
+ Address2: zod.z.string().describe("The Recipient's address 2.").nullable().optional(),
17
+ LastName: zod.z.string().describe("The Recipient's last name.").nullable().optional(),
18
+ RemoteID: zod.z.string().describe("The Recipient's remote id.").nullable().optional(),
19
+ APIStatus: zod.z.enum(["OK", "ERROR"]).describe("OK if successful; ERROR otherwise."),
20
+ FirstName: zod.z.string().describe("The Recipient's first name.").nullable().optional(),
21
+ MobilePhone: zod.z.string().describe("The Recipient's mobile phone number.").nullable().optional(),
22
+ ErrorMessage: zod.z.string().describe("Error message if retrieval failed.").nullable().optional(),
23
+ TransactionType: zod.z.string().describe("The Transaction Type name this Recipient is for.")
24
+ });
25
+ const spondyrRecipientGet = require_action.action("SPONDYR_RECIPIENT_GET", {
26
+ slug: "spondyr-recipient-get",
27
+ name: "Get Recipient",
28
+ description: "Tool to retrieve details of a specific recipient. Use when you need to fetch recipient configuration for a given transaction type. Example: \"Retrieve recipient 'Customer' for transaction type 'OrderPlaced'.\"",
29
+ input: SpondyrRecipientGetInput,
30
+ output: SpondyrRecipientGetOutput
31
+ });
32
+ //#endregion
33
+ exports.spondyrRecipientGet = spondyrRecipientGet;
34
+
35
+ //# sourceMappingURL=recipient-get.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"recipient-get.cjs","names":["z","action"],"sources":["../../src/actions/recipient-get.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpondyrRecipientGetInput: z.ZodTypeAny = z.object({\n Recipient: z.string().describe(\"The name of the Recipient to retrieve.\"),\n TransactionType: z.string().describe(\"The name of the Transaction Type this Recipient is for.\"),\n}).describe(\"Request model for retrieving a specific recipient.\");\nexport const SpondyrRecipientGetOutput: z.ZodTypeAny = z.object({\n Fax: z.string().describe(\"The Recipient's fax number.\").nullable().optional(),\n Zip: z.string().describe(\"The Recipient's zip code.\").nullable().optional(),\n City: z.string().describe(\"The Recipient's city.\").nullable().optional(),\n Name: z.string().describe(\"The name of the Recipient.\"),\n Email: z.string().describe(\"The Recipient's email address.\").nullable().optional(),\n State: z.string().describe(\"The Recipient's state.\").nullable().optional(),\n Address1: z.string().describe(\"The Recipient's address 1.\").nullable().optional(),\n Address2: z.string().describe(\"The Recipient's address 2.\").nullable().optional(),\n LastName: z.string().describe(\"The Recipient's last name.\").nullable().optional(),\n RemoteID: z.string().describe(\"The Recipient's remote id.\").nullable().optional(),\n APIStatus: z.enum([\"OK\", \"ERROR\"]).describe(\"OK if successful; ERROR otherwise.\"),\n FirstName: z.string().describe(\"The Recipient's first name.\").nullable().optional(),\n MobilePhone: z.string().describe(\"The Recipient's mobile phone number.\").nullable().optional(),\n ErrorMessage: z.string().describe(\"Error message if retrieval failed.\").nullable().optional(),\n TransactionType: z.string().describe(\"The Transaction Type name this Recipient is for.\"),\n});\n\nexport const spondyrRecipientGet = action(\"SPONDYR_RECIPIENT_GET\", {\n slug: \"spondyr-recipient-get\",\n name: \"Get Recipient\",\n description: \"Tool to retrieve details of a specific recipient. Use when you need to fetch recipient configuration for a given transaction type. Example: \\\"Retrieve recipient 'Customer' for transaction type 'OrderPlaced'.\\\"\",\n input: SpondyrRecipientGetInput,\n output: SpondyrRecipientGetOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAAyCA,IAAAA,EAAE,OAAO;CAC7D,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC;CACvE,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD;AAChG,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,MAAa,4BAA0CA,IAAAA,EAAE,OAAO;CAC9D,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;CACtD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,WAAWA,IAAAA,EAAE,KAAK,CAAC,MAAM,OAAO,CAAC,CAAC,CAAC,SAAS,oCAAoC;CAChF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD;AACzF,CAAC;AAED,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/recipient-get.d.ts
4
+ declare const SpondyrRecipientGetInput: z.ZodTypeAny;
5
+ declare const SpondyrRecipientGetOutput: z.ZodTypeAny;
6
+ declare const spondyrRecipientGet: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { spondyrRecipientGet };
9
+ //# sourceMappingURL=recipient-get.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"recipient-get.d.cts","names":[],"sources":["../../src/actions/recipient-get.ts"],"mappings":";;;cAIa,wBAAA,EAA0B,CAAA,CAAE,UAGwB;AAAA,cACpD,yBAAA,EAA2B,CAAA,CAAE,UAgBxC;AAAA,cAEW,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/recipient-get.d.ts
4
+ declare const SpondyrRecipientGetInput: z.ZodTypeAny;
5
+ declare const SpondyrRecipientGetOutput: z.ZodTypeAny;
6
+ declare const spondyrRecipientGet: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { spondyrRecipientGet };
9
+ //# sourceMappingURL=recipient-get.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"recipient-get.d.mts","names":[],"sources":["../../src/actions/recipient-get.ts"],"mappings":";;;cAIa,wBAAA,EAA0B,CAAA,CAAE,UAGwB;AAAA,cACpD,yBAAA,EAA2B,CAAA,CAAE,UAgBxC;AAAA,cAEW,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,32 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ const spondyrRecipientGet = action("SPONDYR_RECIPIENT_GET", {
4
+ slug: "spondyr-recipient-get",
5
+ name: "Get Recipient",
6
+ description: "Tool to retrieve details of a specific recipient. Use when you need to fetch recipient configuration for a given transaction type. Example: \"Retrieve recipient 'Customer' for transaction type 'OrderPlaced'.\"",
7
+ input: z.object({
8
+ Recipient: z.string().describe("The name of the Recipient to retrieve."),
9
+ TransactionType: z.string().describe("The name of the Transaction Type this Recipient is for.")
10
+ }).describe("Request model for retrieving a specific recipient."),
11
+ output: z.object({
12
+ Fax: z.string().describe("The Recipient's fax number.").nullable().optional(),
13
+ Zip: z.string().describe("The Recipient's zip code.").nullable().optional(),
14
+ City: z.string().describe("The Recipient's city.").nullable().optional(),
15
+ Name: z.string().describe("The name of the Recipient."),
16
+ Email: z.string().describe("The Recipient's email address.").nullable().optional(),
17
+ State: z.string().describe("The Recipient's state.").nullable().optional(),
18
+ Address1: z.string().describe("The Recipient's address 1.").nullable().optional(),
19
+ Address2: z.string().describe("The Recipient's address 2.").nullable().optional(),
20
+ LastName: z.string().describe("The Recipient's last name.").nullable().optional(),
21
+ RemoteID: z.string().describe("The Recipient's remote id.").nullable().optional(),
22
+ APIStatus: z.enum(["OK", "ERROR"]).describe("OK if successful; ERROR otherwise."),
23
+ FirstName: z.string().describe("The Recipient's first name.").nullable().optional(),
24
+ MobilePhone: z.string().describe("The Recipient's mobile phone number.").nullable().optional(),
25
+ ErrorMessage: z.string().describe("Error message if retrieval failed.").nullable().optional(),
26
+ TransactionType: z.string().describe("The Transaction Type name this Recipient is for.")
27
+ })
28
+ });
29
+ //#endregion
30
+ export { spondyrRecipientGet };
31
+
32
+ //# sourceMappingURL=recipient-get.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"recipient-get.mjs","names":[],"sources":["../../src/actions/recipient-get.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpondyrRecipientGetInput: z.ZodTypeAny = z.object({\n Recipient: z.string().describe(\"The name of the Recipient to retrieve.\"),\n TransactionType: z.string().describe(\"The name of the Transaction Type this Recipient is for.\"),\n}).describe(\"Request model for retrieving a specific recipient.\");\nexport const SpondyrRecipientGetOutput: z.ZodTypeAny = z.object({\n Fax: z.string().describe(\"The Recipient's fax number.\").nullable().optional(),\n Zip: z.string().describe(\"The Recipient's zip code.\").nullable().optional(),\n City: z.string().describe(\"The Recipient's city.\").nullable().optional(),\n Name: z.string().describe(\"The name of the Recipient.\"),\n Email: z.string().describe(\"The Recipient's email address.\").nullable().optional(),\n State: z.string().describe(\"The Recipient's state.\").nullable().optional(),\n Address1: z.string().describe(\"The Recipient's address 1.\").nullable().optional(),\n Address2: z.string().describe(\"The Recipient's address 2.\").nullable().optional(),\n LastName: z.string().describe(\"The Recipient's last name.\").nullable().optional(),\n RemoteID: z.string().describe(\"The Recipient's remote id.\").nullable().optional(),\n APIStatus: z.enum([\"OK\", \"ERROR\"]).describe(\"OK if successful; ERROR otherwise.\"),\n FirstName: z.string().describe(\"The Recipient's first name.\").nullable().optional(),\n MobilePhone: z.string().describe(\"The Recipient's mobile phone number.\").nullable().optional(),\n ErrorMessage: z.string().describe(\"Error message if retrieval failed.\").nullable().optional(),\n TransactionType: z.string().describe(\"The Transaction Type name this Recipient is for.\"),\n});\n\nexport const spondyrRecipientGet = action(\"SPONDYR_RECIPIENT_GET\", {\n slug: \"spondyr-recipient-get\",\n name: \"Get Recipient\",\n description: \"Tool to retrieve details of a specific recipient. Use when you need to fetch recipient configuration for a given transaction type. Example: \\\"Retrieve recipient 'Customer' for transaction type 'OrderPlaced'.\\\"\",\n input: SpondyrRecipientGetInput,\n output: SpondyrRecipientGetOutput,\n});\n"],"mappings":";;AA0BA,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA1BoD,EAAE,OAAO;EAC7D,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC;EACvE,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD;CAChG,CAAC,CAAC,CAAC,SAAS,oDAuBH;CACP,QAvBqD,EAAE,OAAO;EAC9D,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5E,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;EACtD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChF,WAAW,EAAE,KAAK,CAAC,MAAM,OAAO,CAAC,CAAC,CAAC,SAAS,oCAAoC;EAChF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7F,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5F,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD;CACzF,CAOU;AACV,CAAC"}
@@ -0,0 +1,35 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/recipients-list.ts
4
+ const SpondyrRecipientsListInput = zod.z.object({ TransactionType: zod.z.string().describe("The name of the Transaction Type whose recipients are to be listed. Use the Get Transaction Types action to retrieve available transaction type names.") }).describe("Request model for listing recipients associated with a transaction type.");
5
+ const SpondyrRecipientsList_RecipientItemSchema = zod.z.object({
6
+ Fax: zod.z.string().describe("The Recipient's fax number").nullable().optional(),
7
+ Zip: zod.z.string().describe("The Recipient's postal code").nullable().optional(),
8
+ City: zod.z.string().describe("The Recipient's city").nullable().optional(),
9
+ Name: zod.z.string().describe("The name of the Recipient"),
10
+ Email: zod.z.string().describe("The Recipient's email address").nullable().optional(),
11
+ State: zod.z.string().describe("The Recipient's state or province").nullable().optional(),
12
+ Address1: zod.z.string().describe("Line 1 of the Recipient's address").nullable().optional(),
13
+ Address2: zod.z.string().describe("Line 2 of the Recipient's address").nullable().optional(),
14
+ LastName: zod.z.string().describe("The Recipient's last name").nullable().optional(),
15
+ RemoteID: zod.z.string().describe("The Recipient's remote id").nullable().optional(),
16
+ FirstName: zod.z.string().describe("The Recipient's first name").nullable().optional(),
17
+ MobilePhone: zod.z.string().describe("The Recipient's mobile phone number").nullable().optional(),
18
+ TransactionType: zod.z.string().describe("The Transaction Type this Recipient is for")
19
+ });
20
+ const SpondyrRecipientsListOutput = zod.z.object({
21
+ Data: zod.z.array(SpondyrRecipientsList_RecipientItemSchema).describe("List of recipients for the specified transaction type"),
22
+ APIStatus: zod.z.string().describe("OK if successful, ERROR if not"),
23
+ ErrorMessage: zod.z.string().describe("Error message if APIStatus is ERROR").nullable().optional()
24
+ });
25
+ const spondyrRecipientsList = require_action.action("SPONDYR_RECIPIENTS_LIST", {
26
+ slug: "spondyr-recipients-list",
27
+ name: "List Recipients",
28
+ description: "Tool to list all recipients for a transaction type. Use when you need to discover or verify all configured recipients before sending or managing correspondence.",
29
+ input: SpondyrRecipientsListInput,
30
+ output: SpondyrRecipientsListOutput
31
+ });
32
+ //#endregion
33
+ exports.spondyrRecipientsList = spondyrRecipientsList;
34
+
35
+ //# sourceMappingURL=recipients-list.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"recipients-list.cjs","names":["z","action"],"sources":["../../src/actions/recipients-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpondyrRecipientsListInput: z.ZodTypeAny = z.object({\n TransactionType: z.string().describe(\"The name of the Transaction Type whose recipients are to be listed. Use the Get Transaction Types action to retrieve available transaction type names.\"),\n}).describe(\"Request model for listing recipients associated with a transaction type.\");\nconst SpondyrRecipientsList_RecipientItemSchema: z.ZodTypeAny = z.object({\n Fax: z.string().describe(\"The Recipient's fax number\").nullable().optional(),\n Zip: z.string().describe(\"The Recipient's postal code\").nullable().optional(),\n City: z.string().describe(\"The Recipient's city\").nullable().optional(),\n Name: z.string().describe(\"The name of the Recipient\"),\n Email: z.string().describe(\"The Recipient's email address\").nullable().optional(),\n State: z.string().describe(\"The Recipient's state or province\").nullable().optional(),\n Address1: z.string().describe(\"Line 1 of the Recipient's address\").nullable().optional(),\n Address2: z.string().describe(\"Line 2 of the Recipient's address\").nullable().optional(),\n LastName: z.string().describe(\"The Recipient's last name\").nullable().optional(),\n RemoteID: z.string().describe(\"The Recipient's remote id\").nullable().optional(),\n FirstName: z.string().describe(\"The Recipient's first name\").nullable().optional(),\n MobilePhone: z.string().describe(\"The Recipient's mobile phone number\").nullable().optional(),\n TransactionType: z.string().describe(\"The Transaction Type this Recipient is for\"),\n});\nexport const SpondyrRecipientsListOutput: z.ZodTypeAny = z.object({\n Data: z.array(SpondyrRecipientsList_RecipientItemSchema).describe(\"List of recipients for the specified transaction type\"),\n APIStatus: z.string().describe(\"OK if successful, ERROR if not\"),\n ErrorMessage: z.string().describe(\"Error message if APIStatus is ERROR\").nullable().optional(),\n});\n\nexport const spondyrRecipientsList = action(\"SPONDYR_RECIPIENTS_LIST\", {\n slug: \"spondyr-recipients-list\",\n name: \"List Recipients\",\n description: \"Tool to list all recipients for a transaction type. Use when you need to discover or verify all configured recipients before sending or managing correspondence.\",\n input: SpondyrRecipientsListInput,\n output: SpondyrRecipientsListOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA2CA,IAAAA,EAAE,OAAO,EAC/D,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wJAAwJ,EAC/L,CAAC,CAAC,CAAC,SAAS,0EAA0E;AACtF,MAAM,4CAA0DA,IAAAA,EAAE,OAAO;CACvE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;CACrD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;AACnF,CAAC;AACD,MAAa,8BAA4CA,IAAAA,EAAE,OAAO;CAChE,MAAMA,IAAAA,EAAE,MAAM,yCAAyC,CAAC,CAAC,SAAS,uDAAuD;CACzH,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;CAC/D,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/F,CAAC;AAED,MAAa,wBAAwBC,eAAAA,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/recipients-list.d.ts
4
+ declare const SpondyrRecipientsListInput: z.ZodTypeAny;
5
+ declare const SpondyrRecipientsListOutput: z.ZodTypeAny;
6
+ declare const spondyrRecipientsList: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { spondyrRecipientsList };
9
+ //# sourceMappingURL=recipients-list.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"recipients-list.d.cts","names":[],"sources":["../../src/actions/recipients-list.ts"],"mappings":";;;cAIa,0BAAA,EAA4B,CAAA,CAAE,UAE4C;AAAA,cAgB1E,2BAAA,EAA6B,CAAA,CAAE,UAI1C;AAAA,cAEW,qBAAA,gCAAqB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/recipients-list.d.ts
4
+ declare const SpondyrRecipientsListInput: z.ZodTypeAny;
5
+ declare const SpondyrRecipientsListOutput: z.ZodTypeAny;
6
+ declare const spondyrRecipientsList: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { spondyrRecipientsList };
9
+ //# sourceMappingURL=recipients-list.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"recipients-list.d.mts","names":[],"sources":["../../src/actions/recipients-list.ts"],"mappings":";;;cAIa,0BAAA,EAA4B,CAAA,CAAE,UAE4C;AAAA,cAgB1E,2BAAA,EAA6B,CAAA,CAAE,UAI1C;AAAA,cAEW,qBAAA,gCAAqB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,34 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/recipients-list.ts
4
+ const SpondyrRecipientsListInput = z.object({ TransactionType: z.string().describe("The name of the Transaction Type whose recipients are to be listed. Use the Get Transaction Types action to retrieve available transaction type names.") }).describe("Request model for listing recipients associated with a transaction type.");
5
+ const SpondyrRecipientsList_RecipientItemSchema = z.object({
6
+ Fax: z.string().describe("The Recipient's fax number").nullable().optional(),
7
+ Zip: z.string().describe("The Recipient's postal code").nullable().optional(),
8
+ City: z.string().describe("The Recipient's city").nullable().optional(),
9
+ Name: z.string().describe("The name of the Recipient"),
10
+ Email: z.string().describe("The Recipient's email address").nullable().optional(),
11
+ State: z.string().describe("The Recipient's state or province").nullable().optional(),
12
+ Address1: z.string().describe("Line 1 of the Recipient's address").nullable().optional(),
13
+ Address2: z.string().describe("Line 2 of the Recipient's address").nullable().optional(),
14
+ LastName: z.string().describe("The Recipient's last name").nullable().optional(),
15
+ RemoteID: z.string().describe("The Recipient's remote id").nullable().optional(),
16
+ FirstName: z.string().describe("The Recipient's first name").nullable().optional(),
17
+ MobilePhone: z.string().describe("The Recipient's mobile phone number").nullable().optional(),
18
+ TransactionType: z.string().describe("The Transaction Type this Recipient is for")
19
+ });
20
+ const spondyrRecipientsList = action("SPONDYR_RECIPIENTS_LIST", {
21
+ slug: "spondyr-recipients-list",
22
+ name: "List Recipients",
23
+ description: "Tool to list all recipients for a transaction type. Use when you need to discover or verify all configured recipients before sending or managing correspondence.",
24
+ input: SpondyrRecipientsListInput,
25
+ output: z.object({
26
+ Data: z.array(SpondyrRecipientsList_RecipientItemSchema).describe("List of recipients for the specified transaction type"),
27
+ APIStatus: z.string().describe("OK if successful, ERROR if not"),
28
+ ErrorMessage: z.string().describe("Error message if APIStatus is ERROR").nullable().optional()
29
+ })
30
+ });
31
+ //#endregion
32
+ export { spondyrRecipientsList };
33
+
34
+ //# sourceMappingURL=recipients-list.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"recipients-list.mjs","names":[],"sources":["../../src/actions/recipients-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpondyrRecipientsListInput: z.ZodTypeAny = z.object({\n TransactionType: z.string().describe(\"The name of the Transaction Type whose recipients are to be listed. Use the Get Transaction Types action to retrieve available transaction type names.\"),\n}).describe(\"Request model for listing recipients associated with a transaction type.\");\nconst SpondyrRecipientsList_RecipientItemSchema: z.ZodTypeAny = z.object({\n Fax: z.string().describe(\"The Recipient's fax number\").nullable().optional(),\n Zip: z.string().describe(\"The Recipient's postal code\").nullable().optional(),\n City: z.string().describe(\"The Recipient's city\").nullable().optional(),\n Name: z.string().describe(\"The name of the Recipient\"),\n Email: z.string().describe(\"The Recipient's email address\").nullable().optional(),\n State: z.string().describe(\"The Recipient's state or province\").nullable().optional(),\n Address1: z.string().describe(\"Line 1 of the Recipient's address\").nullable().optional(),\n Address2: z.string().describe(\"Line 2 of the Recipient's address\").nullable().optional(),\n LastName: z.string().describe(\"The Recipient's last name\").nullable().optional(),\n RemoteID: z.string().describe(\"The Recipient's remote id\").nullable().optional(),\n FirstName: z.string().describe(\"The Recipient's first name\").nullable().optional(),\n MobilePhone: z.string().describe(\"The Recipient's mobile phone number\").nullable().optional(),\n TransactionType: z.string().describe(\"The Transaction Type this Recipient is for\"),\n});\nexport const SpondyrRecipientsListOutput: z.ZodTypeAny = z.object({\n Data: z.array(SpondyrRecipientsList_RecipientItemSchema).describe(\"List of recipients for the specified transaction type\"),\n APIStatus: z.string().describe(\"OK if successful, ERROR if not\"),\n ErrorMessage: z.string().describe(\"Error message if APIStatus is ERROR\").nullable().optional(),\n});\n\nexport const spondyrRecipientsList = action(\"SPONDYR_RECIPIENTS_LIST\", {\n slug: \"spondyr-recipients-list\",\n name: \"List Recipients\",\n description: \"Tool to list all recipients for a transaction type. Use when you need to discover or verify all configured recipients before sending or managing correspondence.\",\n input: SpondyrRecipientsListInput,\n output: SpondyrRecipientsListOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA2C,EAAE,OAAO,EAC/D,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,wJAAwJ,EAC/L,CAAC,CAAC,CAAC,SAAS,0EAA0E;AACtF,MAAM,4CAA0D,EAAE,OAAO;CACvE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;CACrD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;AACnF,CAAC;AAOD,MAAa,wBAAwB,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAXuD,EAAE,OAAO;EAChE,MAAM,EAAE,MAAM,yCAAyC,CAAC,CAAC,SAAS,uDAAuD;EACzH,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;EAC/D,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,CAOU;AACV,CAAC"}
@@ -0,0 +1,24 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/search-filter-create.ts
4
+ const SpondyrSearchFilterCreateInput = zod.z.object({
5
+ Tag: zod.z.string().describe("The tag template defining which field from the transaction data to filter by. Use curly braces to wrap field names (e.g., {FieldName}). For nested fields, use underscore notation (e.g., {Vendor_Name})."),
6
+ Name: zod.z.string().describe("The name/identifier for this search filter. This will be used to reference the filter and is returned as ReferenceID in the response."),
7
+ TransactionType: zod.z.string().describe("The name of the Transaction Type this search filter belongs to. Must be an existing transaction type name (use Get Transaction Types to retrieve available types).")
8
+ }).describe("Request model for creating a new search filter in Spondyr.");
9
+ const SpondyrSearchFilterCreateOutput = zod.z.object({
10
+ APIStatus: zod.z.enum(["OK", "ERROR"]).describe("Status of the API operation. 'OK' indicates successful creation, 'ERROR' indicates failure."),
11
+ ReferenceID: zod.z.string().describe("The identifier of the created search filter. Matches the 'Name' field provided in the request. Present when APIStatus is 'OK'.").nullable().optional(),
12
+ ErrorMessage: zod.z.string().describe("Detailed error message when APIStatus is 'ERROR'. Contains information about what went wrong (e.g., 'Transaction Type not found!').").nullable().optional()
13
+ }).describe("Response model for creating a new search filter in Spondyr.");
14
+ const spondyrSearchFilterCreate = require_action.action("SPONDYR_SEARCH_FILTER_CREATE", {
15
+ slug: "spondyr-search-filter-create",
16
+ name: "Create Search Filter",
17
+ description: "Create a new search filter for a transaction type in Spondyr. Search filters enable you to define searchable fields within your transaction data. Once created, these filters allow you to quickly search and retrieve specific transactions based on field values (e.g., search by OrderID, CustomerName, InvoiceNumber). Use this tool when you need to make a specific field searchable within a transaction type.",
18
+ input: SpondyrSearchFilterCreateInput,
19
+ output: SpondyrSearchFilterCreateOutput
20
+ });
21
+ //#endregion
22
+ exports.spondyrSearchFilterCreate = spondyrSearchFilterCreate;
23
+
24
+ //# sourceMappingURL=search-filter-create.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"search-filter-create.cjs","names":["z","action"],"sources":["../../src/actions/search-filter-create.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpondyrSearchFilterCreateInput: z.ZodTypeAny = z.object({\n Tag: z.string().describe(\"The tag template defining which field from the transaction data to filter by. Use curly braces to wrap field names (e.g., {FieldName}). For nested fields, use underscore notation (e.g., {Vendor_Name}).\"),\n Name: z.string().describe(\"The name/identifier for this search filter. This will be used to reference the filter and is returned as ReferenceID in the response.\"),\n TransactionType: z.string().describe(\"The name of the Transaction Type this search filter belongs to. Must be an existing transaction type name (use Get Transaction Types to retrieve available types).\"),\n}).describe(\"Request model for creating a new search filter in Spondyr.\");\nexport const SpondyrSearchFilterCreateOutput: z.ZodTypeAny = z.object({\n APIStatus: z.enum([\"OK\", \"ERROR\"]).describe(\"Status of the API operation. 'OK' indicates successful creation, 'ERROR' indicates failure.\"),\n ReferenceID: z.string().describe(\"The identifier of the created search filter. Matches the 'Name' field provided in the request. Present when APIStatus is 'OK'.\").nullable().optional(),\n ErrorMessage: z.string().describe(\"Detailed error message when APIStatus is 'ERROR'. Contains information about what went wrong (e.g., 'Transaction Type not found!').\").nullable().optional(),\n}).describe(\"Response model for creating a new search filter in Spondyr.\");\n\nexport const spondyrSearchFilterCreate = action(\"SPONDYR_SEARCH_FILTER_CREATE\", {\n slug: \"spondyr-search-filter-create\",\n name: \"Create Search Filter\",\n description: \"Create a new search filter for a transaction type in Spondyr. Search filters enable you to define searchable fields within your transaction data. Once created, these filters allow you to quickly search and retrieve specific transactions based on field values (e.g., search by OrderID, CustomerName, InvoiceNumber). Use this tool when you need to make a specific field searchable within a transaction type.\",\n input: SpondyrSearchFilterCreateInput,\n output: SpondyrSearchFilterCreateOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAA+CA,IAAAA,EAAE,OAAO;CACnE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2MAA2M;CACpO,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uIAAuI;CACjK,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oKAAoK;AAC3M,CAAC,CAAC,CAAC,SAAS,4DAA4D;AACxE,MAAa,kCAAgDA,IAAAA,EAAE,OAAO;CACpE,WAAWA,IAAAA,EAAE,KAAK,CAAC,MAAM,OAAO,CAAC,CAAC,CAAC,SAAS,6FAA6F;CACzI,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gIAAgI,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvL,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qIAAqI,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/L,CAAC,CAAC,CAAC,SAAS,6DAA6D;AAEzE,MAAa,4BAA4BC,eAAAA,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/search-filter-create.d.ts
4
+ declare const SpondyrSearchFilterCreateInput: z.ZodTypeAny;
5
+ declare const SpondyrSearchFilterCreateOutput: z.ZodTypeAny;
6
+ declare const spondyrSearchFilterCreate: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { spondyrSearchFilterCreate };
9
+ //# sourceMappingURL=search-filter-create.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"search-filter-create.d.cts","names":[],"sources":["../../src/actions/search-filter-create.ts"],"mappings":";;;cAIa,8BAAA,EAAgC,CAAA,CAAE,UAI0B;AAAA,cAC5D,+BAAA,EAAiC,CAAA,CAAE,UAI0B;AAAA,cAE7D,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/search-filter-create.d.ts
4
+ declare const SpondyrSearchFilterCreateInput: z.ZodTypeAny;
5
+ declare const SpondyrSearchFilterCreateOutput: z.ZodTypeAny;
6
+ declare const spondyrSearchFilterCreate: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { spondyrSearchFilterCreate };
9
+ //# sourceMappingURL=search-filter-create.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"search-filter-create.d.mts","names":[],"sources":["../../src/actions/search-filter-create.ts"],"mappings":";;;cAIa,8BAAA,EAAgC,CAAA,CAAE,UAI0B;AAAA,cAC5D,+BAAA,EAAiC,CAAA,CAAE,UAI0B;AAAA,cAE7D,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,21 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ const spondyrSearchFilterCreate = action("SPONDYR_SEARCH_FILTER_CREATE", {
4
+ slug: "spondyr-search-filter-create",
5
+ name: "Create Search Filter",
6
+ description: "Create a new search filter for a transaction type in Spondyr. Search filters enable you to define searchable fields within your transaction data. Once created, these filters allow you to quickly search and retrieve specific transactions based on field values (e.g., search by OrderID, CustomerName, InvoiceNumber). Use this tool when you need to make a specific field searchable within a transaction type.",
7
+ input: z.object({
8
+ Tag: z.string().describe("The tag template defining which field from the transaction data to filter by. Use curly braces to wrap field names (e.g., {FieldName}). For nested fields, use underscore notation (e.g., {Vendor_Name})."),
9
+ Name: z.string().describe("The name/identifier for this search filter. This will be used to reference the filter and is returned as ReferenceID in the response."),
10
+ TransactionType: z.string().describe("The name of the Transaction Type this search filter belongs to. Must be an existing transaction type name (use Get Transaction Types to retrieve available types).")
11
+ }).describe("Request model for creating a new search filter in Spondyr."),
12
+ output: z.object({
13
+ APIStatus: z.enum(["OK", "ERROR"]).describe("Status of the API operation. 'OK' indicates successful creation, 'ERROR' indicates failure."),
14
+ ReferenceID: z.string().describe("The identifier of the created search filter. Matches the 'Name' field provided in the request. Present when APIStatus is 'OK'.").nullable().optional(),
15
+ ErrorMessage: z.string().describe("Detailed error message when APIStatus is 'ERROR'. Contains information about what went wrong (e.g., 'Transaction Type not found!').").nullable().optional()
16
+ }).describe("Response model for creating a new search filter in Spondyr.")
17
+ });
18
+ //#endregion
19
+ export { spondyrSearchFilterCreate };
20
+
21
+ //# sourceMappingURL=search-filter-create.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"search-filter-create.mjs","names":[],"sources":["../../src/actions/search-filter-create.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpondyrSearchFilterCreateInput: z.ZodTypeAny = z.object({\n Tag: z.string().describe(\"The tag template defining which field from the transaction data to filter by. Use curly braces to wrap field names (e.g., {FieldName}). For nested fields, use underscore notation (e.g., {Vendor_Name}).\"),\n Name: z.string().describe(\"The name/identifier for this search filter. This will be used to reference the filter and is returned as ReferenceID in the response.\"),\n TransactionType: z.string().describe(\"The name of the Transaction Type this search filter belongs to. Must be an existing transaction type name (use Get Transaction Types to retrieve available types).\"),\n}).describe(\"Request model for creating a new search filter in Spondyr.\");\nexport const SpondyrSearchFilterCreateOutput: z.ZodTypeAny = z.object({\n APIStatus: z.enum([\"OK\", \"ERROR\"]).describe(\"Status of the API operation. 'OK' indicates successful creation, 'ERROR' indicates failure.\"),\n ReferenceID: z.string().describe(\"The identifier of the created search filter. Matches the 'Name' field provided in the request. Present when APIStatus is 'OK'.\").nullable().optional(),\n ErrorMessage: z.string().describe(\"Detailed error message when APIStatus is 'ERROR'. Contains information about what went wrong (e.g., 'Transaction Type not found!').\").nullable().optional(),\n}).describe(\"Response model for creating a new search filter in Spondyr.\");\n\nexport const spondyrSearchFilterCreate = action(\"SPONDYR_SEARCH_FILTER_CREATE\", {\n slug: \"spondyr-search-filter-create\",\n name: \"Create Search Filter\",\n description: \"Create a new search filter for a transaction type in Spondyr. Search filters enable you to define searchable fields within your transaction data. Once created, these filters allow you to quickly search and retrieve specific transactions based on field values (e.g., search by OrderID, CustomerName, InvoiceNumber). Use this tool when you need to make a specific field searchable within a transaction type.\",\n input: SpondyrSearchFilterCreateInput,\n output: SpondyrSearchFilterCreateOutput,\n});\n"],"mappings":";;AAeA,MAAa,4BAA4B,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAf0D,EAAE,OAAO;EACnE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,2MAA2M;EACpO,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uIAAuI;EACjK,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,oKAAoK;CAC3M,CAAC,CAAC,CAAC,SAAS,4DAWH;CACP,QAX2D,EAAE,OAAO;EACpE,WAAW,EAAE,KAAK,CAAC,MAAM,OAAO,CAAC,CAAC,CAAC,SAAS,6FAA6F;EACzI,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,gIAAgI,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvL,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,qIAAqI,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/L,CAAC,CAAC,CAAC,SAAS,6DAOF;AACV,CAAC"}
@@ -0,0 +1,22 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/search-filter-delete.ts
4
+ const SpondyrSearchFilterDeleteInput = zod.z.object({
5
+ Search: zod.z.string().describe("The name of the Search Filter to delete. Must exactly match the 'Name' field used when the filter was created."),
6
+ TransactionType: zod.z.string().describe("The Transaction Type that the Search Filter belongs to. Must exactly match the 'TransactionType' the filter was created with.")
7
+ }).describe("Request model for deleting or deactivating a specific Search Filter.");
8
+ const SpondyrSearchFilterDeleteOutput = zod.z.object({
9
+ APIStatus: zod.z.enum(["OK", "ERROR"]).describe("OK if successful; ERROR otherwise."),
10
+ ErrorMessage: zod.z.string().describe("Error message if deletion failed.").nullable().optional()
11
+ });
12
+ const spondyrSearchFilterDelete = require_action.action("SPONDYR_SEARCH_FILTER_DELETE", {
13
+ slug: "spondyr-search-filter-delete",
14
+ name: "Delete Search Filter",
15
+ description: "Deletes a specific search filter from the Spondyr system. Use this when you need to remove a search filter that is no longer needed. Both the filter name and transaction type must exactly match the values used when the filter was created. If the filter does not exist, the API will return an error.",
16
+ input: SpondyrSearchFilterDeleteInput,
17
+ output: SpondyrSearchFilterDeleteOutput
18
+ });
19
+ //#endregion
20
+ exports.spondyrSearchFilterDelete = spondyrSearchFilterDelete;
21
+
22
+ //# sourceMappingURL=search-filter-delete.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"search-filter-delete.cjs","names":["z","action"],"sources":["../../src/actions/search-filter-delete.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpondyrSearchFilterDeleteInput: z.ZodTypeAny = z.object({\n Search: z.string().describe(\"The name of the Search Filter to delete. Must exactly match the 'Name' field used when the filter was created.\"),\n TransactionType: z.string().describe(\"The Transaction Type that the Search Filter belongs to. Must exactly match the 'TransactionType' the filter was created with.\"),\n}).describe(\"Request model for deleting or deactivating a specific Search Filter.\");\nexport const SpondyrSearchFilterDeleteOutput: z.ZodTypeAny = z.object({\n APIStatus: z.enum([\"OK\", \"ERROR\"]).describe(\"OK if successful; ERROR otherwise.\"),\n ErrorMessage: z.string().describe(\"Error message if deletion failed.\").nullable().optional(),\n});\n\nexport const spondyrSearchFilterDelete = action(\"SPONDYR_SEARCH_FILTER_DELETE\", {\n slug: \"spondyr-search-filter-delete\",\n name: \"Delete Search Filter\",\n description: \"Deletes a specific search filter from the Spondyr system. Use this when you need to remove a search filter that is no longer needed. Both the filter name and transaction type must exactly match the values used when the filter was created. If the filter does not exist, the API will return an error.\",\n input: SpondyrSearchFilterDeleteInput,\n output: SpondyrSearchFilterDeleteOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAA+CA,IAAAA,EAAE,OAAO;CACnE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gHAAgH;CAC5I,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+HAA+H;AACtK,CAAC,CAAC,CAAC,SAAS,sEAAsE;AAClF,MAAa,kCAAgDA,IAAAA,EAAE,OAAO;CACpE,WAAWA,IAAAA,EAAE,KAAK,CAAC,MAAM,OAAO,CAAC,CAAC,CAAC,SAAS,oCAAoC;CAChF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7F,CAAC;AAED,MAAa,4BAA4BC,eAAAA,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/search-filter-delete.d.ts
4
+ declare const SpondyrSearchFilterDeleteInput: z.ZodTypeAny;
5
+ declare const SpondyrSearchFilterDeleteOutput: z.ZodTypeAny;
6
+ declare const spondyrSearchFilterDelete: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { spondyrSearchFilterDelete };
9
+ //# sourceMappingURL=search-filter-delete.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"search-filter-delete.d.cts","names":[],"sources":["../../src/actions/search-filter-delete.ts"],"mappings":";;;cAIa,8BAAA,EAAgC,CAAA,CAAE,UAGoC;AAAA,cACtE,+BAAA,EAAiC,CAAA,CAAE,UAG9C;AAAA,cAEW,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/search-filter-delete.d.ts
4
+ declare const SpondyrSearchFilterDeleteInput: z.ZodTypeAny;
5
+ declare const SpondyrSearchFilterDeleteOutput: z.ZodTypeAny;
6
+ declare const spondyrSearchFilterDelete: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { spondyrSearchFilterDelete };
9
+ //# sourceMappingURL=search-filter-delete.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"search-filter-delete.d.mts","names":[],"sources":["../../src/actions/search-filter-delete.ts"],"mappings":";;;cAIa,8BAAA,EAAgC,CAAA,CAAE,UAGoC;AAAA,cACtE,+BAAA,EAAiC,CAAA,CAAE,UAG9C;AAAA,cAEW,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,19 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ const spondyrSearchFilterDelete = action("SPONDYR_SEARCH_FILTER_DELETE", {
4
+ slug: "spondyr-search-filter-delete",
5
+ name: "Delete Search Filter",
6
+ description: "Deletes a specific search filter from the Spondyr system. Use this when you need to remove a search filter that is no longer needed. Both the filter name and transaction type must exactly match the values used when the filter was created. If the filter does not exist, the API will return an error.",
7
+ input: z.object({
8
+ Search: z.string().describe("The name of the Search Filter to delete. Must exactly match the 'Name' field used when the filter was created."),
9
+ TransactionType: z.string().describe("The Transaction Type that the Search Filter belongs to. Must exactly match the 'TransactionType' the filter was created with.")
10
+ }).describe("Request model for deleting or deactivating a specific Search Filter."),
11
+ output: z.object({
12
+ APIStatus: z.enum(["OK", "ERROR"]).describe("OK if successful; ERROR otherwise."),
13
+ ErrorMessage: z.string().describe("Error message if deletion failed.").nullable().optional()
14
+ })
15
+ });
16
+ //#endregion
17
+ export { spondyrSearchFilterDelete };
18
+
19
+ //# sourceMappingURL=search-filter-delete.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"search-filter-delete.mjs","names":[],"sources":["../../src/actions/search-filter-delete.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpondyrSearchFilterDeleteInput: z.ZodTypeAny = z.object({\n Search: z.string().describe(\"The name of the Search Filter to delete. Must exactly match the 'Name' field used when the filter was created.\"),\n TransactionType: z.string().describe(\"The Transaction Type that the Search Filter belongs to. Must exactly match the 'TransactionType' the filter was created with.\"),\n}).describe(\"Request model for deleting or deactivating a specific Search Filter.\");\nexport const SpondyrSearchFilterDeleteOutput: z.ZodTypeAny = z.object({\n APIStatus: z.enum([\"OK\", \"ERROR\"]).describe(\"OK if successful; ERROR otherwise.\"),\n ErrorMessage: z.string().describe(\"Error message if deletion failed.\").nullable().optional(),\n});\n\nexport const spondyrSearchFilterDelete = action(\"SPONDYR_SEARCH_FILTER_DELETE\", {\n slug: \"spondyr-search-filter-delete\",\n name: \"Delete Search Filter\",\n description: \"Deletes a specific search filter from the Spondyr system. Use this when you need to remove a search filter that is no longer needed. Both the filter name and transaction type must exactly match the values used when the filter was created. If the filter does not exist, the API will return an error.\",\n input: SpondyrSearchFilterDeleteInput,\n output: SpondyrSearchFilterDeleteOutput,\n});\n"],"mappings":";;AAaA,MAAa,4BAA4B,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAb0D,EAAE,OAAO;EACnE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gHAAgH;EAC5I,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,+HAA+H;CACtK,CAAC,CAAC,CAAC,SAAS,sEAUH;CACP,QAV2D,EAAE,OAAO;EACpE,WAAW,EAAE,KAAK,CAAC,MAAM,OAAO,CAAC,CAAC,CAAC,SAAS,oCAAoC;EAChF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,CAOU;AACV,CAAC"}
@@ -0,0 +1,25 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/search-filter-get.ts
4
+ const SpondyrSearchFilterGetInput = zod.z.object({
5
+ Search: zod.z.string().describe("The name of the Search Filter to retrieve (case-sensitive)."),
6
+ TransactionType: zod.z.string().describe("The name of the Transaction Type that the Search Filter belongs to.")
7
+ }).describe("Request model for retrieving a specific Search Filter.");
8
+ const SpondyrSearchFilterGetOutput = zod.z.object({
9
+ Tag: zod.z.string().describe("The tag value used to label and search correspondence (e.g., '{OrderID}', '{CustomerName}').").nullable().optional(),
10
+ Name: zod.z.string().describe("The name of the Search Filter.").nullable().optional(),
11
+ APIStatus: zod.z.enum(["OK", "ERROR"]).describe("Status of the API call: OK if successful; ERROR otherwise."),
12
+ ErrorMessage: zod.z.string().describe("Error message if APIStatus is ERROR; null if successful.").nullable().optional(),
13
+ TransactionType: zod.z.string().describe("The Transaction Type this Search Filter belongs to (e.g., 'CustomerOrder', 'EmployeeRecord').").nullable().optional()
14
+ });
15
+ const spondyrSearchFilterGet = require_action.action("SPONDYR_SEARCH_FILTER_GET", {
16
+ slug: "spondyr-search-filter-get",
17
+ name: "Get Search Filter",
18
+ description: "Retrieves details of a specific search filter in Spondyr by name and transaction type. Returns the filter's name, tag value, and associated transaction type. Use this when you need to look up an existing search filter's configuration, verify its tag format, or confirm which transaction type it belongs to before using it for correspondence searches.",
19
+ input: SpondyrSearchFilterGetInput,
20
+ output: SpondyrSearchFilterGetOutput
21
+ });
22
+ //#endregion
23
+ exports.spondyrSearchFilterGet = spondyrSearchFilterGet;
24
+
25
+ //# sourceMappingURL=search-filter-get.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"search-filter-get.cjs","names":["z","action"],"sources":["../../src/actions/search-filter-get.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpondyrSearchFilterGetInput: z.ZodTypeAny = z.object({\n Search: z.string().describe(\"The name of the Search Filter to retrieve (case-sensitive).\"),\n TransactionType: z.string().describe(\"The name of the Transaction Type that the Search Filter belongs to.\"),\n}).describe(\"Request model for retrieving a specific Search Filter.\");\nexport const SpondyrSearchFilterGetOutput: z.ZodTypeAny = z.object({\n Tag: z.string().describe(\"The tag value used to label and search correspondence (e.g., '{OrderID}', '{CustomerName}').\").nullable().optional(),\n Name: z.string().describe(\"The name of the Search Filter.\").nullable().optional(),\n APIStatus: z.enum([\"OK\", \"ERROR\"]).describe(\"Status of the API call: OK if successful; ERROR otherwise.\"),\n ErrorMessage: z.string().describe(\"Error message if APIStatus is ERROR; null if successful.\").nullable().optional(),\n TransactionType: z.string().describe(\"The Transaction Type this Search Filter belongs to (e.g., 'CustomerOrder', 'EmployeeRecord').\").nullable().optional(),\n});\n\nexport const spondyrSearchFilterGet = action(\"SPONDYR_SEARCH_FILTER_GET\", {\n slug: \"spondyr-search-filter-get\",\n name: \"Get Search Filter\",\n description: \"Retrieves details of a specific search filter in Spondyr by name and transaction type. Returns the filter's name, tag value, and associated transaction type. Use this when you need to look up an existing search filter's configuration, verify its tag format, or confirm which transaction type it belongs to before using it for correspondence searches.\",\n input: SpondyrSearchFilterGetInput,\n output: SpondyrSearchFilterGetOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA4CA,IAAAA,EAAE,OAAO;CAChE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D;CACzF,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE;AAC5G,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAa,+BAA6CA,IAAAA,EAAE,OAAO;CACjE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7I,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,WAAWA,IAAAA,EAAE,KAAK,CAAC,MAAM,OAAO,CAAC,CAAC,CAAC,SAAS,4DAA4D;CACxG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5J,CAAC;AAED,MAAa,yBAAyBC,eAAAA,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/search-filter-get.d.ts
4
+ declare const SpondyrSearchFilterGetInput: z.ZodTypeAny;
5
+ declare const SpondyrSearchFilterGetOutput: z.ZodTypeAny;
6
+ declare const spondyrSearchFilterGet: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { spondyrSearchFilterGet };
9
+ //# sourceMappingURL=search-filter-get.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"search-filter-get.d.cts","names":[],"sources":["../../src/actions/search-filter-get.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UAGyB;AAAA,cACxD,4BAAA,EAA8B,CAAA,CAAE,UAM3C;AAAA,cAEW,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/search-filter-get.d.ts
4
+ declare const SpondyrSearchFilterGetInput: z.ZodTypeAny;
5
+ declare const SpondyrSearchFilterGetOutput: z.ZodTypeAny;
6
+ declare const spondyrSearchFilterGet: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { spondyrSearchFilterGet };
9
+ //# sourceMappingURL=search-filter-get.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"search-filter-get.d.mts","names":[],"sources":["../../src/actions/search-filter-get.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UAGyB;AAAA,cACxD,4BAAA,EAA8B,CAAA,CAAE,UAM3C;AAAA,cAEW,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,22 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ const spondyrSearchFilterGet = action("SPONDYR_SEARCH_FILTER_GET", {
4
+ slug: "spondyr-search-filter-get",
5
+ name: "Get Search Filter",
6
+ description: "Retrieves details of a specific search filter in Spondyr by name and transaction type. Returns the filter's name, tag value, and associated transaction type. Use this when you need to look up an existing search filter's configuration, verify its tag format, or confirm which transaction type it belongs to before using it for correspondence searches.",
7
+ input: z.object({
8
+ Search: z.string().describe("The name of the Search Filter to retrieve (case-sensitive)."),
9
+ TransactionType: z.string().describe("The name of the Transaction Type that the Search Filter belongs to.")
10
+ }).describe("Request model for retrieving a specific Search Filter."),
11
+ output: z.object({
12
+ Tag: z.string().describe("The tag value used to label and search correspondence (e.g., '{OrderID}', '{CustomerName}').").nullable().optional(),
13
+ Name: z.string().describe("The name of the Search Filter.").nullable().optional(),
14
+ APIStatus: z.enum(["OK", "ERROR"]).describe("Status of the API call: OK if successful; ERROR otherwise."),
15
+ ErrorMessage: z.string().describe("Error message if APIStatus is ERROR; null if successful.").nullable().optional(),
16
+ TransactionType: z.string().describe("The Transaction Type this Search Filter belongs to (e.g., 'CustomerOrder', 'EmployeeRecord').").nullable().optional()
17
+ })
18
+ });
19
+ //#endregion
20
+ export { spondyrSearchFilterGet };
21
+
22
+ //# sourceMappingURL=search-filter-get.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"search-filter-get.mjs","names":[],"sources":["../../src/actions/search-filter-get.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpondyrSearchFilterGetInput: z.ZodTypeAny = z.object({\n Search: z.string().describe(\"The name of the Search Filter to retrieve (case-sensitive).\"),\n TransactionType: z.string().describe(\"The name of the Transaction Type that the Search Filter belongs to.\"),\n}).describe(\"Request model for retrieving a specific Search Filter.\");\nexport const SpondyrSearchFilterGetOutput: z.ZodTypeAny = z.object({\n Tag: z.string().describe(\"The tag value used to label and search correspondence (e.g., '{OrderID}', '{CustomerName}').\").nullable().optional(),\n Name: z.string().describe(\"The name of the Search Filter.\").nullable().optional(),\n APIStatus: z.enum([\"OK\", \"ERROR\"]).describe(\"Status of the API call: OK if successful; ERROR otherwise.\"),\n ErrorMessage: z.string().describe(\"Error message if APIStatus is ERROR; null if successful.\").nullable().optional(),\n TransactionType: z.string().describe(\"The Transaction Type this Search Filter belongs to (e.g., 'CustomerOrder', 'EmployeeRecord').\").nullable().optional(),\n});\n\nexport const spondyrSearchFilterGet = action(\"SPONDYR_SEARCH_FILTER_GET\", {\n slug: \"spondyr-search-filter-get\",\n name: \"Get Search Filter\",\n description: \"Retrieves details of a specific search filter in Spondyr by name and transaction type. Returns the filter's name, tag value, and associated transaction type. Use this when you need to look up an existing search filter's configuration, verify its tag format, or confirm which transaction type it belongs to before using it for correspondence searches.\",\n input: SpondyrSearchFilterGetInput,\n output: SpondyrSearchFilterGetOutput,\n});\n"],"mappings":";;AAgBA,MAAa,yBAAyB,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhBuD,EAAE,OAAO;EAChE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D;EACzF,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE;CAC5G,CAAC,CAAC,CAAC,SAAS,wDAaH;CACP,QAbwD,EAAE,OAAO;EACjE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7I,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChF,WAAW,EAAE,KAAK,CAAC,MAAM,OAAO,CAAC,CAAC,CAAC,SAAS,4DAA4D;EACxG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClH,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5J,CAOU;AACV,CAAC"}