@keystrokehq/spondyr 0.1.4 → 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/conditions-list.cjs +1 -0
  4. package/dist/actions/conditions-list.cjs.map +1 -1
  5. package/dist/actions/conditions-list.d.cts +3 -3
  6. package/dist/actions/conditions-list.d.cts.map +1 -1
  7. package/dist/actions/conditions-list.d.mts +3 -3
  8. package/dist/actions/conditions-list.d.mts.map +1 -1
  9. package/dist/actions/conditions-list.mjs +1 -0
  10. package/dist/actions/conditions-list.mjs.map +1 -1
  11. package/dist/actions/create-condition.cjs +1 -0
  12. package/dist/actions/create-condition.cjs.map +1 -1
  13. package/dist/actions/create-condition.d.cts +3 -6
  14. package/dist/actions/create-condition.d.cts.map +1 -1
  15. package/dist/actions/create-condition.d.mts +3 -6
  16. package/dist/actions/create-condition.d.mts.map +1 -1
  17. package/dist/actions/create-condition.mjs +1 -0
  18. package/dist/actions/create-condition.mjs.map +1 -1
  19. package/dist/actions/create-transaction-type.cjs +1 -0
  20. package/dist/actions/create-transaction-type.cjs.map +1 -1
  21. package/dist/actions/create-transaction-type.d.cts +3 -4
  22. package/dist/actions/create-transaction-type.d.cts.map +1 -1
  23. package/dist/actions/create-transaction-type.d.mts +3 -4
  24. package/dist/actions/create-transaction-type.d.mts.map +1 -1
  25. package/dist/actions/create-transaction-type.mjs +1 -0
  26. package/dist/actions/create-transaction-type.mjs.map +1 -1
  27. package/dist/actions/deliver-spondyr.cjs +1 -0
  28. package/dist/actions/deliver-spondyr.cjs.map +1 -1
  29. package/dist/actions/deliver-spondyr.d.cts +3 -21
  30. package/dist/actions/deliver-spondyr.d.cts.map +1 -1
  31. package/dist/actions/deliver-spondyr.d.mts +3 -21
  32. package/dist/actions/deliver-spondyr.d.mts.map +1 -1
  33. package/dist/actions/deliver-spondyr.mjs +1 -0
  34. package/dist/actions/deliver-spondyr.mjs.map +1 -1
  35. package/dist/actions/event-type-update.cjs +1 -0
  36. package/dist/actions/event-type-update.cjs.map +1 -1
  37. package/dist/actions/event-type-update.d.cts +3 -5
  38. package/dist/actions/event-type-update.d.cts.map +1 -1
  39. package/dist/actions/event-type-update.d.mts +3 -5
  40. package/dist/actions/event-type-update.d.mts.map +1 -1
  41. package/dist/actions/event-type-update.mjs +1 -0
  42. package/dist/actions/event-type-update.mjs.map +1 -1
  43. package/dist/actions/get-event-types.cjs +1 -0
  44. package/dist/actions/get-event-types.cjs.map +1 -1
  45. package/dist/actions/get-event-types.d.cts +3 -3
  46. package/dist/actions/get-event-types.d.cts.map +1 -1
  47. package/dist/actions/get-event-types.d.mts +3 -3
  48. package/dist/actions/get-event-types.d.mts.map +1 -1
  49. package/dist/actions/get-event-types.mjs +1 -0
  50. package/dist/actions/get-event-types.mjs.map +1 -1
  51. package/dist/actions/get-spondyr-status.cjs +1 -0
  52. package/dist/actions/get-spondyr-status.cjs.map +1 -1
  53. package/dist/actions/get-spondyr-status.d.cts +3 -7
  54. package/dist/actions/get-spondyr-status.d.cts.map +1 -1
  55. package/dist/actions/get-spondyr-status.d.mts +3 -7
  56. package/dist/actions/get-spondyr-status.d.mts.map +1 -1
  57. package/dist/actions/get-spondyr-status.mjs +1 -0
  58. package/dist/actions/get-spondyr-status.mjs.map +1 -1
  59. package/dist/actions/get-transaction-types.cjs +1 -0
  60. package/dist/actions/get-transaction-types.cjs.map +1 -1
  61. package/dist/actions/get-transaction-types.d.cts +3 -1
  62. package/dist/actions/get-transaction-types.d.cts.map +1 -1
  63. package/dist/actions/get-transaction-types.d.mts +3 -1
  64. package/dist/actions/get-transaction-types.d.mts.map +1 -1
  65. package/dist/actions/get-transaction-types.mjs +1 -0
  66. package/dist/actions/get-transaction-types.mjs.map +1 -1
  67. package/dist/actions/recipient-delete.cjs +1 -0
  68. package/dist/actions/recipient-delete.cjs.map +1 -1
  69. package/dist/actions/recipient-delete.d.cts +3 -4
  70. package/dist/actions/recipient-delete.d.cts.map +1 -1
  71. package/dist/actions/recipient-delete.d.mts +3 -4
  72. package/dist/actions/recipient-delete.d.mts.map +1 -1
  73. package/dist/actions/recipient-delete.mjs +1 -0
  74. package/dist/actions/recipient-delete.mjs.map +1 -1
  75. package/dist/actions/recipient-get.cjs +1 -0
  76. package/dist/actions/recipient-get.cjs.map +1 -1
  77. package/dist/actions/recipient-get.d.cts +3 -4
  78. package/dist/actions/recipient-get.d.cts.map +1 -1
  79. package/dist/actions/recipient-get.d.mts +3 -4
  80. package/dist/actions/recipient-get.d.mts.map +1 -1
  81. package/dist/actions/recipient-get.mjs +1 -0
  82. package/dist/actions/recipient-get.mjs.map +1 -1
  83. package/dist/actions/recipients-list.cjs +1 -0
  84. package/dist/actions/recipients-list.cjs.map +1 -1
  85. package/dist/actions/recipients-list.d.cts +3 -3
  86. package/dist/actions/recipients-list.d.cts.map +1 -1
  87. package/dist/actions/recipients-list.d.mts +3 -3
  88. package/dist/actions/recipients-list.d.mts.map +1 -1
  89. package/dist/actions/recipients-list.mjs +1 -0
  90. package/dist/actions/recipients-list.mjs.map +1 -1
  91. package/dist/actions/search-filter-create.cjs +1 -0
  92. package/dist/actions/search-filter-create.cjs.map +1 -1
  93. package/dist/actions/search-filter-create.d.cts +3 -5
  94. package/dist/actions/search-filter-create.d.cts.map +1 -1
  95. package/dist/actions/search-filter-create.d.mts +3 -5
  96. package/dist/actions/search-filter-create.d.mts.map +1 -1
  97. package/dist/actions/search-filter-create.mjs +1 -0
  98. package/dist/actions/search-filter-create.mjs.map +1 -1
  99. package/dist/actions/search-filter-delete.cjs +1 -0
  100. package/dist/actions/search-filter-delete.cjs.map +1 -1
  101. package/dist/actions/search-filter-delete.d.cts +3 -4
  102. package/dist/actions/search-filter-delete.d.cts.map +1 -1
  103. package/dist/actions/search-filter-delete.d.mts +3 -4
  104. package/dist/actions/search-filter-delete.d.mts.map +1 -1
  105. package/dist/actions/search-filter-delete.mjs +1 -0
  106. package/dist/actions/search-filter-delete.mjs.map +1 -1
  107. package/dist/actions/search-filter-get.cjs +1 -0
  108. package/dist/actions/search-filter-get.cjs.map +1 -1
  109. package/dist/actions/search-filter-get.d.cts +3 -4
  110. package/dist/actions/search-filter-get.d.cts.map +1 -1
  111. package/dist/actions/search-filter-get.d.mts +3 -4
  112. package/dist/actions/search-filter-get.d.mts.map +1 -1
  113. package/dist/actions/search-filter-get.mjs +1 -0
  114. package/dist/actions/search-filter-get.mjs.map +1 -1
  115. package/dist/actions/search-filters-list.cjs +1 -0
  116. package/dist/actions/search-filters-list.cjs.map +1 -1
  117. package/dist/actions/search-filters-list.d.cts +3 -3
  118. package/dist/actions/search-filters-list.d.cts.map +1 -1
  119. package/dist/actions/search-filters-list.d.mts +3 -3
  120. package/dist/actions/search-filters-list.d.mts.map +1 -1
  121. package/dist/actions/search-filters-list.mjs +1 -0
  122. package/dist/actions/search-filters-list.mjs.map +1 -1
  123. package/dist/actions/search-spondyrs.cjs +1 -0
  124. package/dist/actions/search-spondyrs.cjs.map +1 -1
  125. package/dist/actions/search-spondyrs.d.cts +3 -10
  126. package/dist/actions/search-spondyrs.d.cts.map +1 -1
  127. package/dist/actions/search-spondyrs.d.mts +3 -10
  128. package/dist/actions/search-spondyrs.d.mts.map +1 -1
  129. package/dist/actions/search-spondyrs.mjs +1 -0
  130. package/dist/actions/search-spondyrs.mjs.map +1 -1
  131. package/dist/actions/sso-stub.cjs +1 -0
  132. package/dist/actions/sso-stub.cjs.map +1 -1
  133. package/dist/actions/sso-stub.d.cts +3 -8
  134. package/dist/actions/sso-stub.d.cts.map +1 -1
  135. package/dist/actions/sso-stub.d.mts +3 -8
  136. package/dist/actions/sso-stub.d.mts.map +1 -1
  137. package/dist/actions/sso-stub.mjs +1 -0
  138. package/dist/actions/sso-stub.mjs.map +1 -1
  139. package/dist/actions/template-get.cjs +1 -0
  140. package/dist/actions/template-get.cjs.map +1 -1
  141. package/dist/actions/template-get.d.cts +3 -4
  142. package/dist/actions/template-get.d.cts.map +1 -1
  143. package/dist/actions/template-get.d.mts +3 -4
  144. package/dist/actions/template-get.d.mts.map +1 -1
  145. package/dist/actions/template-get.mjs +1 -0
  146. package/dist/actions/template-get.mjs.map +1 -1
  147. package/dist/actions/templates-list.cjs +1 -0
  148. package/dist/actions/templates-list.cjs.map +1 -1
  149. package/dist/actions/templates-list.d.cts +3 -3
  150. package/dist/actions/templates-list.d.cts.map +1 -1
  151. package/dist/actions/templates-list.d.mts +3 -3
  152. package/dist/actions/templates-list.d.mts.map +1 -1
  153. package/dist/actions/templates-list.mjs +1 -0
  154. package/dist/actions/templates-list.mjs.map +1 -1
  155. package/dist/actions/transaction-type-get.cjs +1 -0
  156. package/dist/actions/transaction-type-get.cjs.map +1 -1
  157. package/dist/actions/transaction-type-get.d.cts +3 -3
  158. package/dist/actions/transaction-type-get.d.cts.map +1 -1
  159. package/dist/actions/transaction-type-get.d.mts +3 -3
  160. package/dist/actions/transaction-type-get.d.mts.map +1 -1
  161. package/dist/actions/transaction-type-get.mjs +1 -0
  162. package/dist/actions/transaction-type-get.mjs.map +1 -1
  163. package/dist/actions/transaction-type-update.cjs +1 -0
  164. package/dist/actions/transaction-type-update.cjs.map +1 -1
  165. package/dist/actions/transaction-type-update.d.cts +3 -5
  166. package/dist/actions/transaction-type-update.d.cts.map +1 -1
  167. package/dist/actions/transaction-type-update.d.mts +3 -5
  168. package/dist/actions/transaction-type-update.d.mts.map +1 -1
  169. package/dist/actions/transaction-type-update.mjs +1 -0
  170. package/dist/actions/transaction-type-update.mjs.map +1 -1
  171. package/dist/app.cjs +9 -2
  172. package/dist/app.cjs.map +1 -1
  173. package/dist/app.d.cts +8 -1
  174. package/dist/app.d.cts.map +1 -1
  175. package/dist/app.d.mts +8 -1
  176. package/dist/app.d.mts.map +1 -1
  177. package/dist/app.mjs +6 -2
  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 { spondyr } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-event-types.d.ts
@@ -12,9 +14,7 @@ declare const SpondyrGetEventTypesOutput: z.ZodObject<{
12
14
  APIStatus: z.ZodNullable<z.ZodString>;
13
15
  ErrorMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
16
  }, z.core.$loose>;
15
- declare const spondyrGetEventTypes: import("@keystrokehq/action").WorkflowActionDefinition<{
16
- TransactionType: string;
17
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
17
+ declare const spondyrGetEventTypes: AppAction<typeof SpondyrGetEventTypesInput, typeof SpondyrGetEventTypesOutput, typeof spondyr.credential>;
18
18
  //#endregion
19
19
  export { spondyrGetEventTypes };
20
20
  //# sourceMappingURL=get-event-types.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-event-types.d.cts","names":[],"sources":["../../src/actions/get-event-types.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;cAOzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;cAM1B,oBAAA,gCAAoB,wBAAA"}
1
+ {"version":3,"file":"get-event-types.d.cts","names":[],"sources":["../../src/actions/get-event-types.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;cAOzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;cAM1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,OAAA,CAAQ,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { spondyr } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-event-types.d.ts
@@ -12,9 +14,7 @@ declare const SpondyrGetEventTypesOutput: z.ZodObject<{
12
14
  APIStatus: z.ZodNullable<z.ZodString>;
13
15
  ErrorMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
16
  }, z.core.$loose>;
15
- declare const spondyrGetEventTypes: import("@keystrokehq/action").WorkflowActionDefinition<{
16
- TransactionType: string;
17
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
17
+ declare const spondyrGetEventTypes: AppAction<typeof SpondyrGetEventTypesInput, typeof SpondyrGetEventTypesOutput, typeof spondyr.credential>;
18
18
  //#endregion
19
19
  export { spondyrGetEventTypes };
20
20
  //# sourceMappingURL=get-event-types.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-event-types.d.mts","names":[],"sources":["../../src/actions/get-event-types.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;cAOzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;cAM1B,oBAAA,gCAAoB,wBAAA"}
1
+ {"version":3,"file":"get-event-types.d.mts","names":[],"sources":["../../src/actions/get-event-types.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;cAOzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;cAM1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,OAAA,CAAQ,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/get-event-types.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-event-types.mjs","names":[],"sources":["../../src/actions/get-event-types.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpondyrGetEventTypesInput = z.object({\n TransactionType: z.string().describe(\"The exact name of the Transaction Type whose event types are to be listed. Must match an existing transaction type name (case-sensitive).\"),\n}).describe(\"Request model for listing event types associated with a transaction type.\");\nconst SpondyrGetEventTypes_EventTypeItemSchema = z.object({\n Name: z.string().describe(\"The name of the Event Type\").nullable(),\n TransactionType: z.string().describe(\"The Transaction Type name this Event Type is for\").nullable(),\n}).passthrough();\nexport const SpondyrGetEventTypesOutput = z.object({\n Data: z.array(SpondyrGetEventTypes_EventTypeItemSchema).describe(\"List of event types for the specified transaction type. Empty list if no event types are configured.\").nullable().optional(),\n APIStatus: z.string().describe(\"API status: 'OK' if successful, 'ERROR' if failed\").nullable(),\n ErrorMessage: z.string().describe(\"Error message if APIStatus is 'ERROR', null otherwise\").nullable().optional(),\n}).passthrough();\n\nexport const spondyrGetEventTypes = action(\"SPONDYR_GET_EVENT_TYPES\", {\n slug: \"spondyr-get-event-types\",\n name: \"List Event Types for Transaction Type\",\n description: \"Retrieves all event types associated with a specific transaction type in Spondyr. Event types define the kinds of events that can occur for a transaction type (e.g., \\\"Created\\\", \\\"Updated\\\", \\\"Cancelled\\\" events for an \\\"Order\\\" transaction type). Use this action after retrieving transaction types to discover what event types are available for a given transaction type. This is essential for understanding the event-driven workflows and setting up event-based automation in Spondyr. Returns an empty list if the transaction type exists but has no event types configured.\",\n input: SpondyrGetEventTypesInput,\n output: SpondyrGetEventTypesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4B,EAAE,OAAO,EAChD,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,2IAA2I,EAClL,CAAC,CAAC,CAAC,SAAS,2EAA2E;AACvF,MAAM,2CAA2C,EAAE,OAAO;CACxD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACjE,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;AACpG,CAAC,CAAC,CAAC,YAAY;AAOf,MAAa,uBAAuB,OAAO,2BAA2B;CACpE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAXwC,EAAE,OAAO;EACjD,MAAM,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,sGAAsG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7L,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;EAC7F,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
1
+ {"version":3,"file":"get-event-types.mjs","names":[],"sources":["../../src/actions/get-event-types.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { spondyr } from \"../app\";\n\nexport const SpondyrGetEventTypesInput = z.object({\n TransactionType: z.string().describe(\"The exact name of the Transaction Type whose event types are to be listed. Must match an existing transaction type name (case-sensitive).\"),\n}).describe(\"Request model for listing event types associated with a transaction type.\");\nconst SpondyrGetEventTypes_EventTypeItemSchema = z.object({\n Name: z.string().describe(\"The name of the Event Type\").nullable(),\n TransactionType: z.string().describe(\"The Transaction Type name this Event Type is for\").nullable(),\n}).passthrough();\nexport const SpondyrGetEventTypesOutput = z.object({\n Data: z.array(SpondyrGetEventTypes_EventTypeItemSchema).describe(\"List of event types for the specified transaction type. Empty list if no event types are configured.\").nullable().optional(),\n APIStatus: z.string().describe(\"API status: 'OK' if successful, 'ERROR' if failed\").nullable(),\n ErrorMessage: z.string().describe(\"Error message if APIStatus is 'ERROR', null otherwise\").nullable().optional(),\n}).passthrough();\n\nexport const spondyrGetEventTypes: AppAction<\n typeof SpondyrGetEventTypesInput,\n typeof SpondyrGetEventTypesOutput,\n typeof spondyr.credential\n> = action(\"SPONDYR_GET_EVENT_TYPES\", {\n slug: \"spondyr-get-event-types\",\n name: \"List Event Types for Transaction Type\",\n description: \"Retrieves all event types associated with a specific transaction type in Spondyr. Event types define the kinds of events that can occur for a transaction type (e.g., \\\"Created\\\", \\\"Updated\\\", \\\"Cancelled\\\" events for an \\\"Order\\\" transaction type). Use this action after retrieving transaction types to discover what event types are available for a given transaction type. This is essential for understanding the event-driven workflows and setting up event-based automation in Spondyr. Returns an empty list if the transaction type exists but has no event types configured.\",\n input: SpondyrGetEventTypesInput,\n output: SpondyrGetEventTypesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,4BAA4B,EAAE,OAAO,EAChD,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,2IAA2I,EAClL,CAAC,CAAC,CAAC,SAAS,2EAA2E;AACvF,MAAM,2CAA2C,EAAE,OAAO;CACxD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACjE,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;AACpG,CAAC,CAAC,CAAC,YAAY;AAOf,MAAa,uBAIT,OAAO,2BAA2B;CACpC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAfwC,EAAE,OAAO;EACjD,MAAM,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,sGAAsG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7L,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;EAC7F,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,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-spondyr-status.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-spondyr-status.cjs","names":["z","action"],"sources":["../../src/actions/get-spondyr-status.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpondyrGetSpondyrStatusInput = z.object({\n LastName: z.string().describe(\"Optional viewer last name for logging\").optional(),\n FirstName: z.string().describe(\"Optional viewer first name for logging\").optional(),\n IncludeData: z.boolean().default(false).describe(\"Include original data payload in the response if true\").optional(),\n ReferenceID: z.string().describe(\"Reference ID returned from the Send/Generate request\"),\n ApplicationUserID: z.string().describe(\"Optional user identifier for viewer context logging\").optional(),\n}).describe(\"Retrieve the status of a previously generated correspondence.\");\nconst SpondyrGetSpondyrStatus_RecipientStatusSchema = z.object({\n Name: z.string().describe(\"Recipient's name\").nullable(),\n Details: z.string().describe(\"Any delivery messages or errors\").nullable().optional(),\n DeliveryTo: z.string().describe(\"Email, fax, or postal address of recipient\").nullable(),\n CoverPageURI: z.string().describe(\"URI to the cover page, valid for 20 minutes\").nullable().optional(),\n DeliveryDate: z.string().describe(\"Date of delivery or null if not delivered yet\").nullable().optional(),\n IsSuccessful: z.boolean().describe(\"True if delivery succeeded\").nullable(),\n DeliveryStatusCode: z.string().describe(\"SUCCESS, UNDELIVERABLE, or ERROR\").nullable(),\n DeliveryStatusName: z.string().describe(\"Success, Undeliverable, or Error\").nullable(),\n}).passthrough();\nconst SpondyrGetSpondyrStatus_SearchFilterStatusSchema = z.object({\n Name: z.string().describe(\"Search tag name\").nullable(),\n Value: z.string().describe(\"Value logged for this search tag\").nullable(),\n}).passthrough();\nconst SpondyrGetSpondyrStatus_CorrespondenceStatusSchema = z.object({\n URI: z.string().describe(\"URI to generated correspondence, valid for 20 minutes\").nullable(),\n Template: z.string().describe(\"Name of the template used\").nullable(),\n Recipients: z.array(SpondyrGetSpondyrStatus_RecipientStatusSchema).describe(\"Delivery status for each recipient\"),\n StatusCode: z.string().describe(\"GENERATED, ERROR, QUEUEDLIM, QUEUEDSYS, or CANCELED\").nullable(),\n StatusName: z.string().describe(\"Human-readable status of the correspondence item\").nullable(),\n ContentType: z.string().describe(\"PDF, DOC, HTML, or TEXT\").nullable(),\n CreatedDate: z.string().describe(\"Date when correspondence was queued for generation\").nullable(),\n SearchFilters: z.array(SpondyrGetSpondyrStatus_SearchFilterStatusSchema).describe(\"Search tags associated with this correspondence\"),\n}).passthrough();\nexport const SpondyrGetSpondyrStatusOutput = z.object({\n Data: z.record(z.string(), z.unknown()).describe(\"Original data payload, included only if IncludeData=true\").nullable().optional(),\n APIStatus: z.enum([\"OK\", \"ERROR\"]).describe(\"OK if successful, ERROR otherwise\").nullable(),\n EventType: z.string().describe(\"Event Type from the original send/generate request. Null if there was an error.\").nullable().optional(),\n StatusCode: z.enum([\"SUBMITTED\", \"MATCH\", \"FINISH\", \"FINISHPART\", \"NOMATCH\", \"QUEUEDLIM\", \"QUEUEDSYS\", \"CANCELED\", \"ERROR\"]).describe(\"Processing status code of the correspondence. Null if there was an error.\").nullable().optional(),\n StatusName: z.string().describe(\"Human-readable status description. Null if there was an error.\").nullable().optional(),\n CreatedDate: z.string().describe(\"Date when the original request was made. Null if there was an error.\").nullable().optional(),\n ReferenceID: z.string().describe(\"Reference ID of the original send/generate request. Null if there was an error.\").nullable().optional(),\n ErrorMessage: z.string().describe(\"Error message if APIStatus is ERROR\").nullable().optional(),\n Correspondence: z.array(SpondyrGetSpondyrStatus_CorrespondenceStatusSchema).describe(\"Generated correspondence items. Empty list if there was an error.\").nullable().optional(),\n}).passthrough();\n\nexport const spondyrGetSpondyrStatus = action(\"SPONDYR_GET_SPONDYR_STATUS\", {\n slug: \"spondyr-get-spondyr-status\",\n name: \"Get Spondyr Status\",\n description: \"Tool to retrieve the status of a previously generated correspondence. Use after generating correspondence to check its processing and delivery status.\",\n input: SpondyrGetSpondyrStatusInput,\n output: SpondyrGetSpondyrStatusOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAChF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAClF,aAAaA,IAAAA,EAAE,QAAQ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E,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxI,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,gBAAgBA,IAAAA,EAAE,MAAM,kDAAkD,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChL,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,0BAA0BC,eAAAA,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-spondyr-status.cjs","names":["z","action"],"sources":["../../src/actions/get-spondyr-status.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { spondyr } from \"../app\";\n\nexport const SpondyrGetSpondyrStatusInput = z.object({\n LastName: z.string().describe(\"Optional viewer last name for logging\").optional(),\n FirstName: z.string().describe(\"Optional viewer first name for logging\").optional(),\n IncludeData: z.boolean().default(false).describe(\"Include original data payload in the response if true\").optional(),\n ReferenceID: z.string().describe(\"Reference ID returned from the Send/Generate request\"),\n ApplicationUserID: z.string().describe(\"Optional user identifier for viewer context logging\").optional(),\n}).describe(\"Retrieve the status of a previously generated correspondence.\");\nconst SpondyrGetSpondyrStatus_RecipientStatusSchema = z.object({\n Name: z.string().describe(\"Recipient's name\").nullable(),\n Details: z.string().describe(\"Any delivery messages or errors\").nullable().optional(),\n DeliveryTo: z.string().describe(\"Email, fax, or postal address of recipient\").nullable(),\n CoverPageURI: z.string().describe(\"URI to the cover page, valid for 20 minutes\").nullable().optional(),\n DeliveryDate: z.string().describe(\"Date of delivery or null if not delivered yet\").nullable().optional(),\n IsSuccessful: z.boolean().describe(\"True if delivery succeeded\").nullable(),\n DeliveryStatusCode: z.string().describe(\"SUCCESS, UNDELIVERABLE, or ERROR\").nullable(),\n DeliveryStatusName: z.string().describe(\"Success, Undeliverable, or Error\").nullable(),\n}).passthrough();\nconst SpondyrGetSpondyrStatus_SearchFilterStatusSchema = z.object({\n Name: z.string().describe(\"Search tag name\").nullable(),\n Value: z.string().describe(\"Value logged for this search tag\").nullable(),\n}).passthrough();\nconst SpondyrGetSpondyrStatus_CorrespondenceStatusSchema = z.object({\n URI: z.string().describe(\"URI to generated correspondence, valid for 20 minutes\").nullable(),\n Template: z.string().describe(\"Name of the template used\").nullable(),\n Recipients: z.array(SpondyrGetSpondyrStatus_RecipientStatusSchema).describe(\"Delivery status for each recipient\"),\n StatusCode: z.string().describe(\"GENERATED, ERROR, QUEUEDLIM, QUEUEDSYS, or CANCELED\").nullable(),\n StatusName: z.string().describe(\"Human-readable status of the correspondence item\").nullable(),\n ContentType: z.string().describe(\"PDF, DOC, HTML, or TEXT\").nullable(),\n CreatedDate: z.string().describe(\"Date when correspondence was queued for generation\").nullable(),\n SearchFilters: z.array(SpondyrGetSpondyrStatus_SearchFilterStatusSchema).describe(\"Search tags associated with this correspondence\"),\n}).passthrough();\nexport const SpondyrGetSpondyrStatusOutput = z.object({\n Data: z.record(z.string(), z.unknown()).describe(\"Original data payload, included only if IncludeData=true\").nullable().optional(),\n APIStatus: z.enum([\"OK\", \"ERROR\"]).describe(\"OK if successful, ERROR otherwise\").nullable(),\n EventType: z.string().describe(\"Event Type from the original send/generate request. Null if there was an error.\").nullable().optional(),\n StatusCode: z.enum([\"SUBMITTED\", \"MATCH\", \"FINISH\", \"FINISHPART\", \"NOMATCH\", \"QUEUEDLIM\", \"QUEUEDSYS\", \"CANCELED\", \"ERROR\"]).describe(\"Processing status code of the correspondence. Null if there was an error.\").nullable().optional(),\n StatusName: z.string().describe(\"Human-readable status description. Null if there was an error.\").nullable().optional(),\n CreatedDate: z.string().describe(\"Date when the original request was made. Null if there was an error.\").nullable().optional(),\n ReferenceID: z.string().describe(\"Reference ID of the original send/generate request. Null if there was an error.\").nullable().optional(),\n ErrorMessage: z.string().describe(\"Error message if APIStatus is ERROR\").nullable().optional(),\n Correspondence: z.array(SpondyrGetSpondyrStatus_CorrespondenceStatusSchema).describe(\"Generated correspondence items. Empty list if there was an error.\").nullable().optional(),\n}).passthrough();\n\nexport const spondyrGetSpondyrStatus: AppAction<\n typeof SpondyrGetSpondyrStatusInput,\n typeof SpondyrGetSpondyrStatusOutput,\n typeof spondyr.credential\n> = action(\"SPONDYR_GET_SPONDYR_STATUS\", {\n slug: \"spondyr-get-spondyr-status\",\n name: \"Get Spondyr Status\",\n description: \"Tool to retrieve the status of a previously generated correspondence. Use after generating correspondence to check its processing and delivery status.\",\n input: SpondyrGetSpondyrStatusInput,\n output: SpondyrGetSpondyrStatusOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAChF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAClF,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CACnH,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;CACvF,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;AACzG,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAM,gDAAgDA,IAAAA,EAAE,OAAO;CAC7D,MAAMA,IAAAA,EAAE,OAA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AAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,gBAAgBA,IAAAA,EAAE,MAAM,kDAAkD,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChL,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,0BAITC,eAAAA,OAAO,8BAA8B;CACvC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { spondyr } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-spondyr-status.d.ts
@@ -53,13 +55,7 @@ declare const SpondyrGetSpondyrStatusOutput: z.ZodObject<{
53
55
  }, z.core.$loose>>;
54
56
  }, z.core.$loose>>>>;
55
57
  }, z.core.$loose>;
56
- declare const spondyrGetSpondyrStatus: import("@keystrokehq/action").WorkflowActionDefinition<{
57
- ReferenceID: string;
58
- LastName?: string | undefined;
59
- FirstName?: string | undefined;
60
- IncludeData?: boolean | undefined;
61
- ApplicationUserID?: string | undefined;
62
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
58
+ declare const spondyrGetSpondyrStatus: AppAction<typeof SpondyrGetSpondyrStatusInput, typeof SpondyrGetSpondyrStatusOutput, typeof spondyr.credential>;
63
59
  //#endregion
64
60
  export { spondyrGetSpondyrStatus };
65
61
  //# sourceMappingURL=get-spondyr-status.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-spondyr-status.d.cts","names":[],"sources":["../../src/actions/get-spondyr-status.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;cA+B5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAY7B,uBAAA,gCAAuB,wBAAA"}
1
+ {"version":3,"file":"get-spondyr-status.d.cts","names":[],"sources":["../../src/actions/get-spondyr-status.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;cA+B5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAY7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,SACA,OAAA,CAAQ,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { spondyr } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-spondyr-status.d.ts
@@ -53,13 +55,7 @@ declare const SpondyrGetSpondyrStatusOutput: z.ZodObject<{
53
55
  }, z.core.$loose>>;
54
56
  }, z.core.$loose>>>>;
55
57
  }, z.core.$loose>;
56
- declare const spondyrGetSpondyrStatus: import("@keystrokehq/action").WorkflowActionDefinition<{
57
- ReferenceID: string;
58
- LastName?: string | undefined;
59
- FirstName?: string | undefined;
60
- IncludeData?: boolean | undefined;
61
- ApplicationUserID?: string | undefined;
62
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
58
+ declare const spondyrGetSpondyrStatus: AppAction<typeof SpondyrGetSpondyrStatusInput, typeof SpondyrGetSpondyrStatusOutput, typeof spondyr.credential>;
63
59
  //#endregion
64
60
  export { spondyrGetSpondyrStatus };
65
61
  //# sourceMappingURL=get-spondyr-status.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-spondyr-status.d.mts","names":[],"sources":["../../src/actions/get-spondyr-status.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;cA+B5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAY7B,uBAAA,gCAAuB,wBAAA"}
1
+ {"version":3,"file":"get-spondyr-status.d.mts","names":[],"sources":["../../src/actions/get-spondyr-status.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;cA+B5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAY7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,SACA,OAAA,CAAQ,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/get-spondyr-status.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-spondyr-status.mjs","names":[],"sources":["../../src/actions/get-spondyr-status.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpondyrGetSpondyrStatusInput = z.object({\n LastName: z.string().describe(\"Optional viewer last name for logging\").optional(),\n FirstName: z.string().describe(\"Optional viewer first name for logging\").optional(),\n IncludeData: z.boolean().default(false).describe(\"Include original data payload in the response if true\").optional(),\n ReferenceID: z.string().describe(\"Reference ID returned from the Send/Generate request\"),\n ApplicationUserID: z.string().describe(\"Optional user identifier for viewer context logging\").optional(),\n}).describe(\"Retrieve the status of a previously generated correspondence.\");\nconst SpondyrGetSpondyrStatus_RecipientStatusSchema = z.object({\n Name: z.string().describe(\"Recipient's name\").nullable(),\n Details: z.string().describe(\"Any delivery messages or errors\").nullable().optional(),\n DeliveryTo: z.string().describe(\"Email, fax, or postal address of recipient\").nullable(),\n CoverPageURI: z.string().describe(\"URI to the cover page, valid for 20 minutes\").nullable().optional(),\n DeliveryDate: z.string().describe(\"Date of delivery or null if not delivered yet\").nullable().optional(),\n IsSuccessful: z.boolean().describe(\"True if delivery succeeded\").nullable(),\n DeliveryStatusCode: z.string().describe(\"SUCCESS, UNDELIVERABLE, or ERROR\").nullable(),\n DeliveryStatusName: z.string().describe(\"Success, Undeliverable, or Error\").nullable(),\n}).passthrough();\nconst SpondyrGetSpondyrStatus_SearchFilterStatusSchema = z.object({\n Name: z.string().describe(\"Search tag name\").nullable(),\n Value: z.string().describe(\"Value logged for this search tag\").nullable(),\n}).passthrough();\nconst SpondyrGetSpondyrStatus_CorrespondenceStatusSchema = z.object({\n URI: z.string().describe(\"URI to generated correspondence, valid for 20 minutes\").nullable(),\n Template: z.string().describe(\"Name of the template used\").nullable(),\n Recipients: z.array(SpondyrGetSpondyrStatus_RecipientStatusSchema).describe(\"Delivery status for each recipient\"),\n StatusCode: z.string().describe(\"GENERATED, ERROR, QUEUEDLIM, QUEUEDSYS, or CANCELED\").nullable(),\n StatusName: z.string().describe(\"Human-readable status of the correspondence item\").nullable(),\n ContentType: z.string().describe(\"PDF, DOC, HTML, or TEXT\").nullable(),\n CreatedDate: z.string().describe(\"Date when correspondence was queued for generation\").nullable(),\n SearchFilters: z.array(SpondyrGetSpondyrStatus_SearchFilterStatusSchema).describe(\"Search tags associated with this correspondence\"),\n}).passthrough();\nexport const SpondyrGetSpondyrStatusOutput = z.object({\n Data: z.record(z.string(), z.unknown()).describe(\"Original data payload, included only if IncludeData=true\").nullable().optional(),\n APIStatus: z.enum([\"OK\", \"ERROR\"]).describe(\"OK if successful, ERROR otherwise\").nullable(),\n EventType: z.string().describe(\"Event Type from the original send/generate request. Null if there was an error.\").nullable().optional(),\n StatusCode: z.enum([\"SUBMITTED\", \"MATCH\", \"FINISH\", \"FINISHPART\", \"NOMATCH\", \"QUEUEDLIM\", \"QUEUEDSYS\", \"CANCELED\", \"ERROR\"]).describe(\"Processing status code of the correspondence. Null if there was an error.\").nullable().optional(),\n StatusName: z.string().describe(\"Human-readable status description. Null if there was an error.\").nullable().optional(),\n CreatedDate: z.string().describe(\"Date when the original request was made. Null if there was an error.\").nullable().optional(),\n ReferenceID: z.string().describe(\"Reference ID of the original send/generate request. Null if there was an error.\").nullable().optional(),\n ErrorMessage: z.string().describe(\"Error message if APIStatus is ERROR\").nullable().optional(),\n Correspondence: z.array(SpondyrGetSpondyrStatus_CorrespondenceStatusSchema).describe(\"Generated correspondence items. Empty list if there was an error.\").nullable().optional(),\n}).passthrough();\n\nexport const spondyrGetSpondyrStatus = action(\"SPONDYR_GET_SPONDYR_STATUS\", {\n slug: \"spondyr-get-spondyr-status\",\n name: \"Get Spondyr Status\",\n description: \"Tool to retrieve the status of a previously generated correspondence. Use after generating correspondence to check its processing and delivery status.\",\n input: SpondyrGetSpondyrStatusInput,\n output: SpondyrGetSpondyrStatusOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+B,EAAE,OAAO;CACnD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAChF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAClF,aAAa,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CACnH,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;CACvF,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;AACzG,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAM,gDAAgD,EAAE,OAAO;CAC7D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CACvD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACvF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,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0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjI,WAAW,EAAE,KAAK,CAAC,MAAM,OAAO,CAAC,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EAC1F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtI,YAAY,EAAE,KAAK;GAAC;GAAa;GAAS;GAAU;GAAc;GAAW;GAAa;GAAa;GAAY;EAAO,CAAC,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvO,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtH,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7H,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxI,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7F,gBAAgB,EAAE,MAAM,kDAAkD,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChL,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
1
+ {"version":3,"file":"get-spondyr-status.mjs","names":[],"sources":["../../src/actions/get-spondyr-status.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { spondyr } from \"../app\";\n\nexport const SpondyrGetSpondyrStatusInput = z.object({\n LastName: z.string().describe(\"Optional viewer last name for logging\").optional(),\n FirstName: z.string().describe(\"Optional viewer first name for logging\").optional(),\n IncludeData: z.boolean().default(false).describe(\"Include original data payload in the response if true\").optional(),\n ReferenceID: z.string().describe(\"Reference ID returned from the Send/Generate request\"),\n ApplicationUserID: z.string().describe(\"Optional user identifier for viewer context logging\").optional(),\n}).describe(\"Retrieve the status of a previously generated correspondence.\");\nconst SpondyrGetSpondyrStatus_RecipientStatusSchema = z.object({\n Name: z.string().describe(\"Recipient's name\").nullable(),\n Details: z.string().describe(\"Any delivery messages or errors\").nullable().optional(),\n DeliveryTo: z.string().describe(\"Email, fax, or postal address of recipient\").nullable(),\n CoverPageURI: z.string().describe(\"URI to the cover page, valid for 20 minutes\").nullable().optional(),\n DeliveryDate: z.string().describe(\"Date of delivery or null if not delivered yet\").nullable().optional(),\n IsSuccessful: z.boolean().describe(\"True if delivery succeeded\").nullable(),\n DeliveryStatusCode: z.string().describe(\"SUCCESS, UNDELIVERABLE, or ERROR\").nullable(),\n DeliveryStatusName: z.string().describe(\"Success, Undeliverable, or Error\").nullable(),\n}).passthrough();\nconst SpondyrGetSpondyrStatus_SearchFilterStatusSchema = z.object({\n Name: z.string().describe(\"Search tag name\").nullable(),\n Value: z.string().describe(\"Value logged for this search tag\").nullable(),\n}).passthrough();\nconst SpondyrGetSpondyrStatus_CorrespondenceStatusSchema = z.object({\n URI: z.string().describe(\"URI to generated correspondence, valid for 20 minutes\").nullable(),\n Template: z.string().describe(\"Name of the template used\").nullable(),\n Recipients: z.array(SpondyrGetSpondyrStatus_RecipientStatusSchema).describe(\"Delivery status for each recipient\"),\n StatusCode: z.string().describe(\"GENERATED, ERROR, QUEUEDLIM, QUEUEDSYS, or CANCELED\").nullable(),\n StatusName: z.string().describe(\"Human-readable status of the correspondence item\").nullable(),\n ContentType: z.string().describe(\"PDF, DOC, HTML, or TEXT\").nullable(),\n CreatedDate: z.string().describe(\"Date when correspondence was queued for generation\").nullable(),\n SearchFilters: z.array(SpondyrGetSpondyrStatus_SearchFilterStatusSchema).describe(\"Search tags associated with this correspondence\"),\n}).passthrough();\nexport const SpondyrGetSpondyrStatusOutput = z.object({\n Data: z.record(z.string(), z.unknown()).describe(\"Original data payload, included only if IncludeData=true\").nullable().optional(),\n APIStatus: z.enum([\"OK\", \"ERROR\"]).describe(\"OK if successful, ERROR otherwise\").nullable(),\n EventType: z.string().describe(\"Event Type from the original send/generate request. Null if there was an error.\").nullable().optional(),\n StatusCode: z.enum([\"SUBMITTED\", \"MATCH\", \"FINISH\", \"FINISHPART\", \"NOMATCH\", \"QUEUEDLIM\", \"QUEUEDSYS\", \"CANCELED\", \"ERROR\"]).describe(\"Processing status code of the correspondence. Null if there was an error.\").nullable().optional(),\n StatusName: z.string().describe(\"Human-readable status description. Null if there was an error.\").nullable().optional(),\n CreatedDate: z.string().describe(\"Date when the original request was made. Null if there was an error.\").nullable().optional(),\n ReferenceID: z.string().describe(\"Reference ID of the original send/generate request. Null if there was an error.\").nullable().optional(),\n ErrorMessage: z.string().describe(\"Error message if APIStatus is ERROR\").nullable().optional(),\n Correspondence: z.array(SpondyrGetSpondyrStatus_CorrespondenceStatusSchema).describe(\"Generated correspondence items. Empty list if there was an error.\").nullable().optional(),\n}).passthrough();\n\nexport const spondyrGetSpondyrStatus: AppAction<\n typeof SpondyrGetSpondyrStatusInput,\n typeof SpondyrGetSpondyrStatusOutput,\n typeof spondyr.credential\n> = action(\"SPONDYR_GET_SPONDYR_STATUS\", {\n slug: \"spondyr-get-spondyr-status\",\n name: \"Get Spondyr Status\",\n description: \"Tool to retrieve the status of a previously generated correspondence. Use after generating correspondence to check its processing and delivery status.\",\n input: SpondyrGetSpondyrStatusInput,\n output: SpondyrGetSpondyrStatusOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,+BAA+B,EAAE,OAAO;CACnD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAChF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAClF,aAAa,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CACnH,aAAa,EAAE,OAAO,CAAC,CAAC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CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7F,gBAAgB,EAAE,MAAM,kDAAkD,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChL,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-transaction-types.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-transaction-types.cjs","names":["z","action"],"sources":["../../src/actions/get-transaction-types.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpondyrGetTransactionTypesInput = z.object({}).describe(\"Empty request for retrieving transaction types.\");\nconst SpondyrGetTransactionTypes_TransactionTypeSchema = z.object({\n Name: z.string().describe(\"The name of the Transaction Type\").nullable(),\n TemplateCSV: z.string().describe(\"Comma-delimited list of flattened JSON fields\").nullable(),\n TemplateJSON: z.string().describe(\"JSON-formatted string containing all available properties with sample data\").nullable(),\n}).passthrough();\nexport const SpondyrGetTransactionTypesOutput = z.object({\n Data: z.array(SpondyrGetTransactionTypes_TransactionTypeSchema).describe(\"List of available transaction types\"),\n APIStatus: z.string().describe(\"APIStatus: OK if successful, ERROR if not\").nullable(),\n ErrorMessage: z.string().describe(\"Error message if APIStatus is ERROR\").nullable().optional(),\n}).passthrough();\n\nexport const spondyrGetTransactionTypes = action(\"SPONDYR_GET_TRANSACTION_TYPES\", {\n slug: \"spondyr-get-transaction-types\",\n name: \"Get Transaction Types\",\n description: \"Tool to retrieve a list of available transaction types. Use after authentication to discover data schemas.\",\n input: SpondyrGetTransactionTypesInput,\n output: SpondyrGetTransactionTypesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,iDAAiD;AACtH,MAAM,mDAAmDA,IAAAA,EAAE,OAAO;CAChE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACvE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CAC3F,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;AAC3H,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,MAAMA,IAAAA,EAAE,MAAM,gDAAgD,CAAC,CAAC,SAAS,qCAAqC;CAC9G,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACrF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,6BAA6BC,eAAAA,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-transaction-types.cjs","names":["z","action"],"sources":["../../src/actions/get-transaction-types.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { spondyr } from \"../app\";\n\nexport const SpondyrGetTransactionTypesInput = z.object({}).describe(\"Empty request for retrieving transaction types.\");\nconst SpondyrGetTransactionTypes_TransactionTypeSchema = z.object({\n Name: z.string().describe(\"The name of the Transaction Type\").nullable(),\n TemplateCSV: z.string().describe(\"Comma-delimited list of flattened JSON fields\").nullable(),\n TemplateJSON: z.string().describe(\"JSON-formatted string containing all available properties with sample data\").nullable(),\n}).passthrough();\nexport const SpondyrGetTransactionTypesOutput = z.object({\n Data: z.array(SpondyrGetTransactionTypes_TransactionTypeSchema).describe(\"List of available transaction types\"),\n APIStatus: z.string().describe(\"APIStatus: OK if successful, ERROR if not\").nullable(),\n ErrorMessage: z.string().describe(\"Error message if APIStatus is ERROR\").nullable().optional(),\n}).passthrough();\n\nexport const spondyrGetTransactionTypes: AppAction<\n typeof SpondyrGetTransactionTypesInput,\n typeof SpondyrGetTransactionTypesOutput,\n typeof spondyr.credential\n> = action(\"SPONDYR_GET_TRANSACTION_TYPES\", {\n slug: \"spondyr-get-transaction-types\",\n name: \"Get Transaction Types\",\n description: \"Tool to retrieve a list of available transaction types. Use after authentication to discover data schemas.\",\n input: SpondyrGetTransactionTypesInput,\n output: SpondyrGetTransactionTypesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,iDAAiD;AACtH,MAAM,mDAAmDA,IAAAA,EAAE,OAAO;CAChE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACvE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CAC3F,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;AAC3H,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,MAAMA,IAAAA,EAAE,MAAM,gDAAgD,CAAC,CAAC,SAAS,qCAAqC;CAC9G,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACrF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,6BAITC,eAAAA,OAAO,iCAAiC;CAC1C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { spondyr } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-transaction-types.d.ts
@@ -11,7 +13,7 @@ declare const SpondyrGetTransactionTypesOutput: z.ZodObject<{
11
13
  APIStatus: z.ZodNullable<z.ZodString>;
12
14
  ErrorMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
15
  }, z.core.$loose>;
14
- declare const spondyrGetTransactionTypes: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
16
+ declare const spondyrGetTransactionTypes: AppAction<typeof SpondyrGetTransactionTypesInput, typeof SpondyrGetTransactionTypesOutput, typeof spondyr.credential>;
15
17
  //#endregion
16
18
  export { spondyrGetTransactionTypes };
17
19
  //# sourceMappingURL=get-transaction-types.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-transaction-types.d.cts","names":[],"sources":["../../src/actions/get-transaction-types.ts"],"mappings":";;;cAIa,+BAAA,EAA+B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAM/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;cAMhC,0BAAA,gCAA0B,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-transaction-types.d.cts","names":[],"sources":["../../src/actions/get-transaction-types.ts"],"mappings":";;;;;cAMa,+BAAA,EAA+B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAM/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;cAMhC,0BAAA,EAA4B,SAAA,QAChC,+BAAA,SACA,gCAAA,SACA,OAAA,CAAQ,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { spondyr } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-transaction-types.d.ts
@@ -11,7 +13,7 @@ declare const SpondyrGetTransactionTypesOutput: z.ZodObject<{
11
13
  APIStatus: z.ZodNullable<z.ZodString>;
12
14
  ErrorMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
15
  }, z.core.$loose>;
14
- declare const spondyrGetTransactionTypes: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
16
+ declare const spondyrGetTransactionTypes: AppAction<typeof SpondyrGetTransactionTypesInput, typeof SpondyrGetTransactionTypesOutput, typeof spondyr.credential>;
15
17
  //#endregion
16
18
  export { spondyrGetTransactionTypes };
17
19
  //# sourceMappingURL=get-transaction-types.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-transaction-types.d.mts","names":[],"sources":["../../src/actions/get-transaction-types.ts"],"mappings":";;;cAIa,+BAAA,EAA+B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAM/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;cAMhC,0BAAA,gCAA0B,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-transaction-types.d.mts","names":[],"sources":["../../src/actions/get-transaction-types.ts"],"mappings":";;;;;cAMa,+BAAA,EAA+B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAM/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;cAMhC,0BAAA,EAA4B,SAAA,QAChC,+BAAA,SACA,gCAAA,SACA,OAAA,CAAQ,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/get-transaction-types.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-transaction-types.mjs","names":[],"sources":["../../src/actions/get-transaction-types.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpondyrGetTransactionTypesInput = z.object({}).describe(\"Empty request for retrieving transaction types.\");\nconst SpondyrGetTransactionTypes_TransactionTypeSchema = z.object({\n Name: z.string().describe(\"The name of the Transaction Type\").nullable(),\n TemplateCSV: z.string().describe(\"Comma-delimited list of flattened JSON fields\").nullable(),\n TemplateJSON: z.string().describe(\"JSON-formatted string containing all available properties with sample data\").nullable(),\n}).passthrough();\nexport const SpondyrGetTransactionTypesOutput = z.object({\n Data: z.array(SpondyrGetTransactionTypes_TransactionTypeSchema).describe(\"List of available transaction types\"),\n APIStatus: z.string().describe(\"APIStatus: OK if successful, ERROR if not\").nullable(),\n ErrorMessage: z.string().describe(\"Error message if APIStatus is ERROR\").nullable().optional(),\n}).passthrough();\n\nexport const spondyrGetTransactionTypes = action(\"SPONDYR_GET_TRANSACTION_TYPES\", {\n slug: \"spondyr-get-transaction-types\",\n name: \"Get Transaction Types\",\n description: \"Tool to retrieve a list of available transaction types. Use after authentication to discover data schemas.\",\n input: SpondyrGetTransactionTypesInput,\n output: SpondyrGetTransactionTypesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,iDAAiD;AACtH,MAAM,mDAAmD,EAAE,OAAO;CAChE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACvE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CAC3F,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;AAC3H,CAAC,CAAC,CAAC,YAAY;AAOf,MAAa,6BAA6B,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAX8C,EAAE,OAAO;EACvD,MAAM,EAAE,MAAM,gDAAgD,CAAC,CAAC,SAAS,qCAAqC;EAC9G,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;EACrF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
1
+ {"version":3,"file":"get-transaction-types.mjs","names":[],"sources":["../../src/actions/get-transaction-types.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { spondyr } from \"../app\";\n\nexport const SpondyrGetTransactionTypesInput = z.object({}).describe(\"Empty request for retrieving transaction types.\");\nconst SpondyrGetTransactionTypes_TransactionTypeSchema = z.object({\n Name: z.string().describe(\"The name of the Transaction Type\").nullable(),\n TemplateCSV: z.string().describe(\"Comma-delimited list of flattened JSON fields\").nullable(),\n TemplateJSON: z.string().describe(\"JSON-formatted string containing all available properties with sample data\").nullable(),\n}).passthrough();\nexport const SpondyrGetTransactionTypesOutput = z.object({\n Data: z.array(SpondyrGetTransactionTypes_TransactionTypeSchema).describe(\"List of available transaction types\"),\n APIStatus: z.string().describe(\"APIStatus: OK if successful, ERROR if not\").nullable(),\n ErrorMessage: z.string().describe(\"Error message if APIStatus is ERROR\").nullable().optional(),\n}).passthrough();\n\nexport const spondyrGetTransactionTypes: AppAction<\n typeof SpondyrGetTransactionTypesInput,\n typeof SpondyrGetTransactionTypesOutput,\n typeof spondyr.credential\n> = action(\"SPONDYR_GET_TRANSACTION_TYPES\", {\n slug: \"spondyr-get-transaction-types\",\n name: \"Get Transaction Types\",\n description: \"Tool to retrieve a list of available transaction types. Use after authentication to discover data schemas.\",\n input: SpondyrGetTransactionTypesInput,\n output: SpondyrGetTransactionTypesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,kCAAkC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,iDAAiD;AACtH,MAAM,mDAAmD,EAAE,OAAO;CAChE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACvE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CAC3F,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;AAC3H,CAAC,CAAC,CAAC,YAAY;AAOf,MAAa,6BAIT,OAAO,iCAAiC;CAC1C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAf8C,EAAE,OAAO;EACvD,MAAM,EAAE,MAAM,gDAAgD,CAAC,CAAC,SAAS,qCAAqC;EAC9G,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;EACrF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,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/recipient-delete.ts
@@ -1 +1 @@
1
- {"version":3,"file":"recipient-delete.cjs","names":["z","action"],"sources":["../../src/actions/recipient-delete.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpondyrRecipientDeleteInput = 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.object({\n APIStatus: z.enum([\"OK\", \"ERROR\"]).describe(\"OK if deletion succeeded; ERROR otherwise.\").nullable(),\n ErrorMessage: z.string().describe(\"Error message if deletion failed.\").nullable().optional(),\n}).passthrough().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":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gNAAgN;CAC/O,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kSAAkS;AACzU,CAAC,CAAC,CAAC,SAAS,wFAAwF;AACpG,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,WAAWA,IAAAA,EAAE,KAAK,CAAC,MAAM,OAAO,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACnG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAAiD;AAE3E,MAAa,yBAAyBC,eAAAA,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"recipient-delete.cjs","names":["z","action"],"sources":["../../src/actions/recipient-delete.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { spondyr } from \"../app\";\n\nexport const SpondyrRecipientDeleteInput = 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.object({\n APIStatus: z.enum([\"OK\", \"ERROR\"]).describe(\"OK if deletion succeeded; ERROR otherwise.\").nullable(),\n ErrorMessage: z.string().describe(\"Error message if deletion failed.\").nullable().optional(),\n}).passthrough().describe(\"Response model for the delete recipient action.\");\n\nexport const spondyrRecipientDelete: AppAction<\n typeof SpondyrRecipientDeleteInput,\n typeof SpondyrRecipientDeleteOutput,\n typeof spondyr.credential\n> = 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":";;;;AAMA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gNAAgN;CAC/O,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kSAAkS;AACzU,CAAC,CAAC,CAAC,SAAS,wFAAwF;AACpG,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,WAAWA,IAAAA,EAAE,KAAK,CAAC,MAAM,OAAO,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACnG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAAiD;AAE3E,MAAa,yBAITC,eAAAA,OAAO,4BAA4B;CACrC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { spondyr } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/recipient-delete.d.ts
@@ -12,10 +14,7 @@ declare const SpondyrRecipientDeleteOutput: z.ZodObject<{
12
14
  }>>;
13
15
  ErrorMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
16
  }, z.core.$loose>;
15
- declare const spondyrRecipientDelete: import("@keystrokehq/action").WorkflowActionDefinition<{
16
- Recipient: string;
17
- TransactionType: string;
18
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
17
+ declare const spondyrRecipientDelete: AppAction<typeof SpondyrRecipientDeleteInput, typeof SpondyrRecipientDeleteOutput, typeof spondyr.credential>;
19
18
  //#endregion
20
19
  export { spondyrRecipientDelete };
21
20
  //# sourceMappingURL=recipient-delete.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"recipient-delete.d.cts","names":[],"sources":["../../src/actions/recipient-delete.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;cAI3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;cAK5B,sBAAA,gCAAsB,wBAAA"}
1
+ {"version":3,"file":"recipient-delete.d.cts","names":[],"sources":["../../src/actions/recipient-delete.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;cAI3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;cAK5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,OAAA,CAAQ,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { spondyr } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/recipient-delete.d.ts
@@ -12,10 +14,7 @@ declare const SpondyrRecipientDeleteOutput: z.ZodObject<{
12
14
  }>>;
13
15
  ErrorMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
16
  }, z.core.$loose>;
15
- declare const spondyrRecipientDelete: import("@keystrokehq/action").WorkflowActionDefinition<{
16
- Recipient: string;
17
- TransactionType: string;
18
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
17
+ declare const spondyrRecipientDelete: AppAction<typeof SpondyrRecipientDeleteInput, typeof SpondyrRecipientDeleteOutput, typeof spondyr.credential>;
19
18
  //#endregion
20
19
  export { spondyrRecipientDelete };
21
20
  //# sourceMappingURL=recipient-delete.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"recipient-delete.d.mts","names":[],"sources":["../../src/actions/recipient-delete.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;cAI3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;cAK5B,sBAAA,gCAAsB,wBAAA"}
1
+ {"version":3,"file":"recipient-delete.d.mts","names":[],"sources":["../../src/actions/recipient-delete.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;cAI3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;cAK5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,OAAA,CAAQ,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const spondyrRecipientDelete = action("SPONDYR_RECIPIENT_DELETE", {
@@ -1 +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.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.object({\n APIStatus: z.enum([\"OK\", \"ERROR\"]).describe(\"OK if deletion succeeded; ERROR otherwise.\").nullable(),\n ErrorMessage: z.string().describe(\"Error message if deletion failed.\").nullable().optional(),\n}).passthrough().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,OAbyC,EAAE,OAAO;EAClD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,gNAAgN;EAC/O,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,kSAAkS;CACzU,CAAC,CAAC,CAAC,SAAS,wFAUH;CACP,QAV0C,EAAE,OAAO;EACnD,WAAW,EAAE,KAAK,CAAC,MAAM,OAAO,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;EACnG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"recipient-delete.mjs","names":[],"sources":["../../src/actions/recipient-delete.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { spondyr } from \"../app\";\n\nexport const SpondyrRecipientDeleteInput = 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.object({\n APIStatus: z.enum([\"OK\", \"ERROR\"]).describe(\"OK if deletion succeeded; ERROR otherwise.\").nullable(),\n ErrorMessage: z.string().describe(\"Error message if deletion failed.\").nullable().optional(),\n}).passthrough().describe(\"Response model for the delete recipient action.\");\n\nexport const spondyrRecipientDelete: AppAction<\n typeof SpondyrRecipientDeleteInput,\n typeof SpondyrRecipientDeleteOutput,\n typeof spondyr.credential\n> = 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":";;;AAeA,MAAa,yBAIT,OAAO,4BAA4B;CACrC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjByC,EAAE,OAAO;EAClD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,gNAAgN;EAC/O,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,kSAAkS;CACzU,CAAC,CAAC,CAAC,SAAS,wFAcH;CACP,QAd0C,EAAE,OAAO;EACnD,WAAW,EAAE,KAAK,CAAC,MAAM,OAAO,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;EACnG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAWhB;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/recipient-get.ts
@@ -1 +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.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.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.\").nullable(),\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.\").nullable(),\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.\").nullable(),\n}).passthrough();\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,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,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,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,KAAKA,IAAAA,EAAE,OAA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,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;AACpG,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"recipient-get.cjs","names":["z","action"],"sources":["../../src/actions/recipient-get.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { spondyr } from \"../app\";\n\nexport const SpondyrRecipientGetInput = 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.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.\").nullable(),\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.\").nullable(),\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.\").nullable(),\n}).passthrough();\n\nexport const spondyrRecipientGet: AppAction<\n typeof SpondyrRecipientGetInput,\n typeof SpondyrRecipientGetOutput,\n typeof spondyr.credential\n> = 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":";;;;AAMA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,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,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,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,CAAC,CAAC,SAAS;CACjE,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,CAAC,CAAC,SAAS;CAC3F,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,CAAC,CAAC,SAAS;AACpG,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,sBAITC,eAAAA,OAAO,yBAAyB;CAClC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { spondyr } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/recipient-get.d.ts
@@ -25,10 +27,7 @@ declare const SpondyrRecipientGetOutput: z.ZodObject<{
25
27
  ErrorMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26
28
  TransactionType: z.ZodNullable<z.ZodString>;
27
29
  }, z.core.$loose>;
28
- declare const spondyrRecipientGet: import("@keystrokehq/action").WorkflowActionDefinition<{
29
- Recipient: string;
30
- TransactionType: string;
31
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
30
+ declare const spondyrRecipientGet: AppAction<typeof SpondyrRecipientGetInput, typeof SpondyrRecipientGetOutput, typeof spondyr.credential>;
32
31
  //#endregion
33
32
  export { spondyrRecipientGet };
34
33
  //# sourceMappingURL=recipient-get.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"recipient-get.d.cts","names":[],"sources":["../../src/actions/recipient-get.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;cAIxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;cAkBzB,mBAAA,gCAAmB,wBAAA"}
1
+ {"version":3,"file":"recipient-get.d.cts","names":[],"sources":["../../src/actions/recipient-get.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;cAIxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;cAkBzB,mBAAA,EAAqB,SAAA,QACzB,wBAAA,SACA,yBAAA,SACA,OAAA,CAAQ,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { spondyr } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/recipient-get.d.ts
@@ -25,10 +27,7 @@ declare const SpondyrRecipientGetOutput: z.ZodObject<{
25
27
  ErrorMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26
28
  TransactionType: z.ZodNullable<z.ZodString>;
27
29
  }, z.core.$loose>;
28
- declare const spondyrRecipientGet: import("@keystrokehq/action").WorkflowActionDefinition<{
29
- Recipient: string;
30
- TransactionType: string;
31
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
30
+ declare const spondyrRecipientGet: AppAction<typeof SpondyrRecipientGetInput, typeof SpondyrRecipientGetOutput, typeof spondyr.credential>;
32
31
  //#endregion
33
32
  export { spondyrRecipientGet };
34
33
  //# sourceMappingURL=recipient-get.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"recipient-get.d.mts","names":[],"sources":["../../src/actions/recipient-get.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;cAIxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;cAkBzB,mBAAA,gCAAmB,wBAAA"}
1
+ {"version":3,"file":"recipient-get.d.mts","names":[],"sources":["../../src/actions/recipient-get.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;cAIxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;cAkBzB,mBAAA,EAAqB,SAAA,QACzB,wBAAA,SACA,yBAAA,SACA,OAAA,CAAQ,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const spondyrRecipientGet = action("SPONDYR_RECIPIENT_GET", {
@@ -1 +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.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.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.\").nullable(),\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.\").nullable(),\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.\").nullable(),\n}).passthrough();\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,OA1BsC,EAAE,OAAO;EAC/C,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC;EACvE,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD;CAChG,CAAC,CAAC,CAAC,SAAS,oDAuBH;CACP,QAvBuC,EAAE,OAAO;EAChD,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,CAAC,CAAC,SAAS;EACjE,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,CAAC,CAAC,SAAS;EAC3F,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,CAAC,CAAC,SAAS;CACpG,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
1
+ {"version":3,"file":"recipient-get.mjs","names":[],"sources":["../../src/actions/recipient-get.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { spondyr } from \"../app\";\n\nexport const SpondyrRecipientGetInput = 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.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.\").nullable(),\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.\").nullable(),\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.\").nullable(),\n}).passthrough();\n\nexport const spondyrRecipientGet: AppAction<\n typeof SpondyrRecipientGetInput,\n typeof SpondyrRecipientGetOutput,\n typeof spondyr.credential\n> = 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":";;;AA4BA,MAAa,sBAIT,OAAO,yBAAyB;CAClC,MAAM;CACN,MAAM;CACN,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AClF,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,CAAC,CAAC,SAAS;CACpG,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/recipients-list.ts
@@ -1 +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.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.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\").nullable(),\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\").nullable(),\n}).passthrough();\nexport const SpondyrRecipientsListOutput = 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\").nullable(),\n ErrorMessage: z.string().describe(\"Error message if APIStatus is ERROR\").nullable().optional(),\n}).passthrough();\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,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wJAAwJ,EAC/L,CAAC,CAAC,CAAC,SAAS,0EAA0E;AACtF,MAAM,4CAA4CA,IAAAA,EAAE,OAAO;CACzD,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,CAAC,CAAC,SAAS;CAChE,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,CAAC,CAAC,SAAS;AAC9F,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,MAAMA,IAAAA,EAAE,MAAM,yCAAyC,CAAC,CAAC,SAAS,uDAAuD;CACzH,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CAC1E,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,wBAAwBC,eAAAA,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"recipients-list.cjs","names":["z","action"],"sources":["../../src/actions/recipients-list.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { spondyr } from \"../app\";\n\nexport const SpondyrRecipientsListInput = 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.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\").nullable(),\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\").nullable(),\n}).passthrough();\nexport const SpondyrRecipientsListOutput = 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\").nullable(),\n ErrorMessage: z.string().describe(\"Error message if APIStatus is ERROR\").nullable().optional(),\n}).passthrough();\n\nexport const spondyrRecipientsList: AppAction<\n typeof SpondyrRecipientsListInput,\n typeof SpondyrRecipientsListOutput,\n typeof spondyr.credential\n> = 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":";;;;AAMA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,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C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;AAC9F,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,MAAMA,IAAAA,EAAE,MAAM,yCAAyC,CAAC,CAAC,SAAS,uDAAuD;CACzH,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CAC1E,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,wBAITC,eAAAA,OAAO,2BAA2B;CACpC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { spondyr } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/recipients-list.d.ts
@@ -23,9 +25,7 @@ declare const SpondyrRecipientsListOutput: z.ZodObject<{
23
25
  APIStatus: z.ZodNullable<z.ZodString>;
24
26
  ErrorMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25
27
  }, z.core.$loose>;
26
- declare const spondyrRecipientsList: import("@keystrokehq/action").WorkflowActionDefinition<{
27
- TransactionType: string;
28
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
28
+ declare const spondyrRecipientsList: AppAction<typeof SpondyrRecipientsListInput, typeof SpondyrRecipientsListOutput, typeof spondyr.credential>;
29
29
  //#endregion
30
30
  export { spondyrRecipientsList };
31
31
  //# sourceMappingURL=recipients-list.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"recipients-list.d.cts","names":[],"sources":["../../src/actions/recipients-list.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;cAkB1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;cAM3B,qBAAA,gCAAqB,wBAAA"}
1
+ {"version":3,"file":"recipients-list.d.cts","names":[],"sources":["../../src/actions/recipients-list.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;cAkB1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;cAM3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,SACA,OAAA,CAAQ,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { spondyr } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/recipients-list.d.ts
@@ -23,9 +25,7 @@ declare const SpondyrRecipientsListOutput: z.ZodObject<{
23
25
  APIStatus: z.ZodNullable<z.ZodString>;
24
26
  ErrorMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25
27
  }, z.core.$loose>;
26
- declare const spondyrRecipientsList: import("@keystrokehq/action").WorkflowActionDefinition<{
27
- TransactionType: string;
28
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
28
+ declare const spondyrRecipientsList: AppAction<typeof SpondyrRecipientsListInput, typeof SpondyrRecipientsListOutput, typeof spondyr.credential>;
29
29
  //#endregion
30
30
  export { spondyrRecipientsList };
31
31
  //# sourceMappingURL=recipients-list.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"recipients-list.d.mts","names":[],"sources":["../../src/actions/recipients-list.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;cAkB1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;cAM3B,qBAAA,gCAAqB,wBAAA"}
1
+ {"version":3,"file":"recipients-list.d.mts","names":[],"sources":["../../src/actions/recipients-list.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;cAkB1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;cAM3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,SACA,OAAA,CAAQ,UAAA"}