@keystrokehq/spondyr 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (202) hide show
  1. package/README.md +17 -0
  2. package/dist/action.cjs +21 -0
  3. package/dist/action.cjs.map +1 -0
  4. package/dist/action.mjs +21 -0
  5. package/dist/action.mjs.map +1 -0
  6. package/dist/actions/conditions-list.cjs +26 -0
  7. package/dist/actions/conditions-list.cjs.map +1 -0
  8. package/dist/actions/conditions-list.d.cts +9 -0
  9. package/dist/actions/conditions-list.d.cts.map +1 -0
  10. package/dist/actions/conditions-list.d.mts +9 -0
  11. package/dist/actions/conditions-list.d.mts.map +1 -0
  12. package/dist/actions/conditions-list.mjs +25 -0
  13. package/dist/actions/conditions-list.mjs.map +1 -0
  14. package/dist/actions/create-condition.cjs +25 -0
  15. package/dist/actions/create-condition.cjs.map +1 -0
  16. package/dist/actions/create-condition.d.cts +9 -0
  17. package/dist/actions/create-condition.d.cts.map +1 -0
  18. package/dist/actions/create-condition.d.mts +9 -0
  19. package/dist/actions/create-condition.d.mts.map +1 -0
  20. package/dist/actions/create-condition.mjs +22 -0
  21. package/dist/actions/create-condition.mjs.map +1 -0
  22. package/dist/actions/create-transaction-type.cjs +23 -0
  23. package/dist/actions/create-transaction-type.cjs.map +1 -0
  24. package/dist/actions/create-transaction-type.d.cts +9 -0
  25. package/dist/actions/create-transaction-type.d.cts.map +1 -0
  26. package/dist/actions/create-transaction-type.d.mts +9 -0
  27. package/dist/actions/create-transaction-type.d.mts.map +1 -0
  28. package/dist/actions/create-transaction-type.mjs +20 -0
  29. package/dist/actions/create-transaction-type.mjs.map +1 -0
  30. package/dist/actions/deliver-spondyr.cjs +44 -0
  31. package/dist/actions/deliver-spondyr.cjs.map +1 -0
  32. package/dist/actions/deliver-spondyr.d.cts +9 -0
  33. package/dist/actions/deliver-spondyr.d.cts.map +1 -0
  34. package/dist/actions/deliver-spondyr.d.mts +9 -0
  35. package/dist/actions/deliver-spondyr.d.mts.map +1 -0
  36. package/dist/actions/deliver-spondyr.mjs +41 -0
  37. package/dist/actions/deliver-spondyr.mjs.map +1 -0
  38. package/dist/actions/event-type-update.cjs +24 -0
  39. package/dist/actions/event-type-update.cjs.map +1 -0
  40. package/dist/actions/event-type-update.d.cts +9 -0
  41. package/dist/actions/event-type-update.d.cts.map +1 -0
  42. package/dist/actions/event-type-update.d.mts +9 -0
  43. package/dist/actions/event-type-update.d.mts.map +1 -0
  44. package/dist/actions/event-type-update.mjs +21 -0
  45. package/dist/actions/event-type-update.mjs.map +1 -0
  46. package/dist/actions/get-event-types.cjs +24 -0
  47. package/dist/actions/get-event-types.cjs.map +1 -0
  48. package/dist/actions/get-event-types.d.cts +9 -0
  49. package/dist/actions/get-event-types.d.cts.map +1 -0
  50. package/dist/actions/get-event-types.d.mts +9 -0
  51. package/dist/actions/get-event-types.d.mts.map +1 -0
  52. package/dist/actions/get-event-types.mjs +23 -0
  53. package/dist/actions/get-event-types.mjs.map +1 -0
  54. package/dist/actions/get-spondyr-status.cjs +66 -0
  55. package/dist/actions/get-spondyr-status.cjs.map +1 -0
  56. package/dist/actions/get-spondyr-status.d.cts +9 -0
  57. package/dist/actions/get-spondyr-status.d.cts.map +1 -0
  58. package/dist/actions/get-spondyr-status.d.mts +9 -0
  59. package/dist/actions/get-spondyr-status.d.mts.map +1 -0
  60. package/dist/actions/get-spondyr-status.mjs +65 -0
  61. package/dist/actions/get-spondyr-status.mjs.map +1 -0
  62. package/dist/actions/get-transaction-types.cjs +25 -0
  63. package/dist/actions/get-transaction-types.cjs.map +1 -0
  64. package/dist/actions/get-transaction-types.d.cts +9 -0
  65. package/dist/actions/get-transaction-types.d.cts.map +1 -0
  66. package/dist/actions/get-transaction-types.d.mts +9 -0
  67. package/dist/actions/get-transaction-types.d.mts.map +1 -0
  68. package/dist/actions/get-transaction-types.mjs +24 -0
  69. package/dist/actions/get-transaction-types.mjs.map +1 -0
  70. package/dist/actions/index.cjs +43 -0
  71. package/dist/actions/index.d.cts +22 -0
  72. package/dist/actions/index.d.mts +22 -0
  73. package/dist/actions/index.mjs +22 -0
  74. package/dist/actions/recipient-delete.cjs +22 -0
  75. package/dist/actions/recipient-delete.cjs.map +1 -0
  76. package/dist/actions/recipient-delete.d.cts +9 -0
  77. package/dist/actions/recipient-delete.d.cts.map +1 -0
  78. package/dist/actions/recipient-delete.d.mts +9 -0
  79. package/dist/actions/recipient-delete.d.mts.map +1 -0
  80. package/dist/actions/recipient-delete.mjs +19 -0
  81. package/dist/actions/recipient-delete.mjs.map +1 -0
  82. package/dist/actions/recipient-get.cjs +35 -0
  83. package/dist/actions/recipient-get.cjs.map +1 -0
  84. package/dist/actions/recipient-get.d.cts +9 -0
  85. package/dist/actions/recipient-get.d.cts.map +1 -0
  86. package/dist/actions/recipient-get.d.mts +9 -0
  87. package/dist/actions/recipient-get.d.mts.map +1 -0
  88. package/dist/actions/recipient-get.mjs +32 -0
  89. package/dist/actions/recipient-get.mjs.map +1 -0
  90. package/dist/actions/recipients-list.cjs +35 -0
  91. package/dist/actions/recipients-list.cjs.map +1 -0
  92. package/dist/actions/recipients-list.d.cts +9 -0
  93. package/dist/actions/recipients-list.d.cts.map +1 -0
  94. package/dist/actions/recipients-list.d.mts +9 -0
  95. package/dist/actions/recipients-list.d.mts.map +1 -0
  96. package/dist/actions/recipients-list.mjs +34 -0
  97. package/dist/actions/recipients-list.mjs.map +1 -0
  98. package/dist/actions/search-filter-create.cjs +24 -0
  99. package/dist/actions/search-filter-create.cjs.map +1 -0
  100. package/dist/actions/search-filter-create.d.cts +9 -0
  101. package/dist/actions/search-filter-create.d.cts.map +1 -0
  102. package/dist/actions/search-filter-create.d.mts +9 -0
  103. package/dist/actions/search-filter-create.d.mts.map +1 -0
  104. package/dist/actions/search-filter-create.mjs +21 -0
  105. package/dist/actions/search-filter-create.mjs.map +1 -0
  106. package/dist/actions/search-filter-delete.cjs +22 -0
  107. package/dist/actions/search-filter-delete.cjs.map +1 -0
  108. package/dist/actions/search-filter-delete.d.cts +9 -0
  109. package/dist/actions/search-filter-delete.d.cts.map +1 -0
  110. package/dist/actions/search-filter-delete.d.mts +9 -0
  111. package/dist/actions/search-filter-delete.d.mts.map +1 -0
  112. package/dist/actions/search-filter-delete.mjs +19 -0
  113. package/dist/actions/search-filter-delete.mjs.map +1 -0
  114. package/dist/actions/search-filter-get.cjs +25 -0
  115. package/dist/actions/search-filter-get.cjs.map +1 -0
  116. package/dist/actions/search-filter-get.d.cts +9 -0
  117. package/dist/actions/search-filter-get.d.cts.map +1 -0
  118. package/dist/actions/search-filter-get.d.mts +9 -0
  119. package/dist/actions/search-filter-get.d.mts.map +1 -0
  120. package/dist/actions/search-filter-get.mjs +22 -0
  121. package/dist/actions/search-filter-get.mjs.map +1 -0
  122. package/dist/actions/search-filters-list.cjs +25 -0
  123. package/dist/actions/search-filters-list.cjs.map +1 -0
  124. package/dist/actions/search-filters-list.d.cts +9 -0
  125. package/dist/actions/search-filters-list.d.cts.map +1 -0
  126. package/dist/actions/search-filters-list.d.mts +9 -0
  127. package/dist/actions/search-filters-list.d.mts.map +1 -0
  128. package/dist/actions/search-filters-list.mjs +24 -0
  129. package/dist/actions/search-filters-list.mjs.map +1 -0
  130. package/dist/actions/search-spondyrs.cjs +66 -0
  131. package/dist/actions/search-spondyrs.cjs.map +1 -0
  132. package/dist/actions/search-spondyrs.d.cts +9 -0
  133. package/dist/actions/search-spondyrs.d.cts.map +1 -0
  134. package/dist/actions/search-spondyrs.d.mts +9 -0
  135. package/dist/actions/search-spondyrs.d.mts.map +1 -0
  136. package/dist/actions/search-spondyrs.mjs +65 -0
  137. package/dist/actions/search-spondyrs.mjs.map +1 -0
  138. package/dist/actions/sso-stub.cjs +32 -0
  139. package/dist/actions/sso-stub.cjs.map +1 -0
  140. package/dist/actions/sso-stub.d.cts +9 -0
  141. package/dist/actions/sso-stub.d.cts.map +1 -0
  142. package/dist/actions/sso-stub.d.mts +9 -0
  143. package/dist/actions/sso-stub.d.mts.map +1 -0
  144. package/dist/actions/sso-stub.mjs +29 -0
  145. package/dist/actions/sso-stub.mjs.map +1 -0
  146. package/dist/actions/template-get.cjs +78 -0
  147. package/dist/actions/template-get.cjs.map +1 -0
  148. package/dist/actions/template-get.d.cts +9 -0
  149. package/dist/actions/template-get.d.cts.map +1 -0
  150. package/dist/actions/template-get.d.mts +9 -0
  151. package/dist/actions/template-get.d.mts.map +1 -0
  152. package/dist/actions/template-get.mjs +77 -0
  153. package/dist/actions/template-get.mjs.map +1 -0
  154. package/dist/actions/templates-list.cjs +52 -0
  155. package/dist/actions/templates-list.cjs.map +1 -0
  156. package/dist/actions/templates-list.d.cts +9 -0
  157. package/dist/actions/templates-list.d.cts.map +1 -0
  158. package/dist/actions/templates-list.d.mts +9 -0
  159. package/dist/actions/templates-list.d.mts.map +1 -0
  160. package/dist/actions/templates-list.mjs +51 -0
  161. package/dist/actions/templates-list.mjs.map +1 -0
  162. package/dist/actions/transaction-type-get.cjs +22 -0
  163. package/dist/actions/transaction-type-get.cjs.map +1 -0
  164. package/dist/actions/transaction-type-get.d.cts +9 -0
  165. package/dist/actions/transaction-type-get.d.cts.map +1 -0
  166. package/dist/actions/transaction-type-get.d.mts +9 -0
  167. package/dist/actions/transaction-type-get.d.mts.map +1 -0
  168. package/dist/actions/transaction-type-get.mjs +19 -0
  169. package/dist/actions/transaction-type-get.mjs.map +1 -0
  170. package/dist/actions/transaction-type-update.cjs +24 -0
  171. package/dist/actions/transaction-type-update.cjs.map +1 -0
  172. package/dist/actions/transaction-type-update.d.cts +9 -0
  173. package/dist/actions/transaction-type-update.d.cts.map +1 -0
  174. package/dist/actions/transaction-type-update.d.mts +9 -0
  175. package/dist/actions/transaction-type-update.d.mts.map +1 -0
  176. package/dist/actions/transaction-type-update.mjs +21 -0
  177. package/dist/actions/transaction-type-update.mjs.map +1 -0
  178. package/dist/app.cjs +9 -0
  179. package/dist/app.cjs.map +1 -0
  180. package/dist/app.d.cts +5 -0
  181. package/dist/app.d.cts.map +1 -0
  182. package/dist/app.d.mts +5 -0
  183. package/dist/app.d.mts.map +1 -0
  184. package/dist/app.mjs +10 -0
  185. package/dist/app.mjs.map +1 -0
  186. package/dist/catalog.cjs +15 -0
  187. package/dist/catalog.cjs.map +1 -0
  188. package/dist/catalog.d.cts +14 -0
  189. package/dist/catalog.d.cts.map +1 -0
  190. package/dist/catalog.d.mts +14 -0
  191. package/dist/catalog.d.mts.map +1 -0
  192. package/dist/catalog.mjs +15 -0
  193. package/dist/catalog.mjs.map +1 -0
  194. package/dist/execute.cjs +18 -0
  195. package/dist/execute.cjs.map +1 -0
  196. package/dist/execute.mjs +18 -0
  197. package/dist/execute.mjs.map +1 -0
  198. package/dist/index.cjs +48 -0
  199. package/dist/index.d.cts +24 -0
  200. package/dist/index.d.mts +24 -0
  201. package/dist/index.mjs +25 -0
  202. package/package.json +49 -0
@@ -0,0 +1,77 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/template-get.ts
4
+ const SpondyrTemplateGetInput = z.object({
5
+ Template: z.string().describe("The name of the template to retrieve. Use the 'List Templates' action first to discover available template names for the transaction type."),
6
+ TransactionType: z.string().describe("The name of the Transaction Type this template belongs to. Use the 'Get Transaction Types' action to discover available transaction types.")
7
+ }).describe("Request model for retrieving a specific template.");
8
+ const SpondyrTemplateGet_TemplateGetResponseConditionSchema = z.object({
9
+ Name: z.string().describe("The name of the condition."),
10
+ CompareValue: z.string().describe("The value(s) for the condition, newline delimited if multiple."),
11
+ CompareOperator: z.enum([
12
+ "=",
13
+ ">",
14
+ "<",
15
+ ">=",
16
+ "<=",
17
+ "<>"
18
+ ]).describe("Comparison operator for the condition."),
19
+ LogicalOperator: z.enum(["AND", "OR"]).describe("Logical operator for the condition.")
20
+ });
21
+ const SpondyrTemplateGet_TemplateGetResponseSignerSchema = z.object({
22
+ Name: z.string().describe("The name of the signer."),
23
+ Role: z.enum([
24
+ "Signer",
25
+ "Agent",
26
+ "CC",
27
+ "Certified Delivery",
28
+ "Editor",
29
+ "In Person Signer",
30
+ "Intermediary"
31
+ ]).describe("The role of the signer."),
32
+ Email: z.string().describe("The email address of the signer.")
33
+ });
34
+ const SpondyrTemplateGet_TemplateGetResponseRecipientSchema = z.object({
35
+ Name: z.string().describe("The recipient's name."),
36
+ Signers: z.array(SpondyrTemplateGet_TemplateGetResponseSignerSchema).describe("Optional list of signers when delivery method is DocuSign.").nullable().optional(),
37
+ TextBody: z.string().describe("Optional text message body when delivery method is Text.").nullable().optional(),
38
+ EmailBody: z.string().describe("Optional email body when delivery method is Email.").nullable().optional(),
39
+ MailFromZip: z.string().describe("Optional mail from zip when delivery method is Mail.").nullable().optional(),
40
+ EmailSubject: z.string().describe("Optional email subject when delivery method is Email or DocuSign.").nullable().optional(),
41
+ MailFromCity: z.string().describe("Optional mail from city when delivery method is Mail.").nullable().optional(),
42
+ MailFromName: z.string().describe("Optional mail from name when delivery method is Mail.").nullable().optional(),
43
+ MailFromState: z.string().describe("Optional mail from state when delivery method is Mail.").nullable().optional(),
44
+ DeliveryMethod: z.string().describe("The delivery method for the recipient."),
45
+ EmailFromAddress: z.string().describe("Optional from email address when delivery method is Email.").nullable().optional(),
46
+ MailFromAddress1: z.string().describe("Optional mail from address1 when delivery method is Mail.").nullable().optional(),
47
+ MailFromAddress2: z.string().describe("Optional mail from address2 when delivery method is Mail.").nullable().optional(),
48
+ DestinationFolder: z.string().describe("Optional destination folder for destination recipients.").nullable().optional()
49
+ });
50
+ const spondyrTemplateGet = action("SPONDYR_TEMPLATE_GET", {
51
+ slug: "spondyr-template-get",
52
+ name: "Get Template",
53
+ description: "Retrieve detailed configuration for a specific correspondence template. Returns template content reference ID, event type, recipients, delivery methods, conditions, and search filters. Use this action when you need to: - Inspect template settings and configuration - View recipient delivery methods (Email, Mail, Text, DocuSign, Fax, Destination) - Review template selection conditions and search filters - Get the template content reference ID for correspondence generation Prerequisites: Use 'Get Transaction Types' to discover transaction types, then 'List Templates' to find available template names. Example: Retrieve template 'OrderConfirmationEmail' for transaction type 'CustomerOrder'.",
54
+ input: SpondyrTemplateGetInput,
55
+ output: z.object({
56
+ Name: z.string().describe("The name of the Template."),
57
+ Searches: z.array(z.string()).describe("Names of search filters associated with this template for document retrieval and organization."),
58
+ APIStatus: z.enum(["OK", "ERROR"]).describe("OK if successful; ERROR otherwise."),
59
+ EventType: z.string().describe("The event type that triggers this template (e.g., 'OnCreate', 'OnUpdate', 'OnDelete')."),
60
+ Conditions: z.array(SpondyrTemplateGet_TemplateGetResponseConditionSchema).describe("Conditional logic rules that determine when this template should be selected for correspondence generation based on transaction data."),
61
+ Recipients: z.array(SpondyrTemplateGet_TemplateGetResponseRecipientSchema).describe("List of recipients configured for this template, including delivery methods (Email, Mail, Text, DocuSign, Fax, or Destination)."),
62
+ ContentType: z.enum([
63
+ "PDF",
64
+ "DOC",
65
+ "HTML",
66
+ "TEXT"
67
+ ]).describe("The document format of the template content (PDF, DOC, HTML, or TEXT)."),
68
+ ErrorMessage: z.string().describe("Error message if retrieval failed.").nullable().optional(),
69
+ TemplateContent: z.string().describe("Base64-encoded template content (the actual document/file content)."),
70
+ TransactionType: z.string().describe("The Transaction Type name this Template is for."),
71
+ TemplateContentReferenceID: z.string().describe("Unique reference ID for the uploaded template content file. Use this ID when generating correspondence.")
72
+ })
73
+ });
74
+ //#endregion
75
+ export { spondyrTemplateGet };
76
+
77
+ //# sourceMappingURL=template-get.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"template-get.mjs","names":[],"sources":["../../src/actions/template-get.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpondyrTemplateGetInput: z.ZodTypeAny = z.object({\n Template: z.string().describe(\"The name of the template to retrieve. Use the 'List Templates' action first to discover available template names for the transaction type.\"),\n TransactionType: z.string().describe(\"The name of the Transaction Type this template belongs to. Use the 'Get Transaction Types' action to discover available transaction types.\"),\n}).describe(\"Request model for retrieving a specific template.\");\nconst SpondyrTemplateGet_TemplateGetResponseConditionSchema: z.ZodTypeAny = z.object({\n Name: z.string().describe(\"The name of the condition.\"),\n CompareValue: z.string().describe(\"The value(s) for the condition, newline delimited if multiple.\"),\n CompareOperator: z.enum([\"=\", \">\", \"<\", \">=\", \"<=\", \"<>\"]).describe(\"Comparison operator for the condition.\"),\n LogicalOperator: z.enum([\"AND\", \"OR\"]).describe(\"Logical operator for the condition.\"),\n});\nconst SpondyrTemplateGet_TemplateGetResponseSignerSchema: z.ZodTypeAny = z.object({\n Name: z.string().describe(\"The name of the signer.\"),\n Role: z.enum([\"Signer\", \"Agent\", \"CC\", \"Certified Delivery\", \"Editor\", \"In Person Signer\", \"Intermediary\"]).describe(\"The role of the signer.\"),\n Email: z.string().describe(\"The email address of the signer.\"),\n});\nconst SpondyrTemplateGet_TemplateGetResponseRecipientSchema: z.ZodTypeAny = z.object({\n Name: z.string().describe(\"The recipient's name.\"),\n Signers: z.array(SpondyrTemplateGet_TemplateGetResponseSignerSchema).describe(\"Optional list of signers when delivery method is DocuSign.\").nullable().optional(),\n TextBody: z.string().describe(\"Optional text message body when delivery method is Text.\").nullable().optional(),\n EmailBody: z.string().describe(\"Optional email body when delivery method is Email.\").nullable().optional(),\n MailFromZip: z.string().describe(\"Optional mail from zip when delivery method is Mail.\").nullable().optional(),\n EmailSubject: z.string().describe(\"Optional email subject when delivery method is Email or DocuSign.\").nullable().optional(),\n MailFromCity: z.string().describe(\"Optional mail from city when delivery method is Mail.\").nullable().optional(),\n MailFromName: z.string().describe(\"Optional mail from name when delivery method is Mail.\").nullable().optional(),\n MailFromState: z.string().describe(\"Optional mail from state when delivery method is Mail.\").nullable().optional(),\n DeliveryMethod: z.string().describe(\"The delivery method for the recipient.\"),\n EmailFromAddress: z.string().describe(\"Optional from email address when delivery method is Email.\").nullable().optional(),\n MailFromAddress1: z.string().describe(\"Optional mail from address1 when delivery method is Mail.\").nullable().optional(),\n MailFromAddress2: z.string().describe(\"Optional mail from address2 when delivery method is Mail.\").nullable().optional(),\n DestinationFolder: z.string().describe(\"Optional destination folder for destination recipients.\").nullable().optional(),\n});\nexport const SpondyrTemplateGetOutput: z.ZodTypeAny = z.object({\n Name: z.string().describe(\"The name of the Template.\"),\n Searches: z.array(z.string()).describe(\"Names of search filters associated with this template for document retrieval and organization.\"),\n APIStatus: z.enum([\"OK\", \"ERROR\"]).describe(\"OK if successful; ERROR otherwise.\"),\n EventType: z.string().describe(\"The event type that triggers this template (e.g., 'OnCreate', 'OnUpdate', 'OnDelete').\"),\n Conditions: z.array(SpondyrTemplateGet_TemplateGetResponseConditionSchema).describe(\"Conditional logic rules that determine when this template should be selected for correspondence generation based on transaction data.\"),\n Recipients: z.array(SpondyrTemplateGet_TemplateGetResponseRecipientSchema).describe(\"List of recipients configured for this template, including delivery methods (Email, Mail, Text, DocuSign, Fax, or Destination).\"),\n ContentType: z.enum([\"PDF\", \"DOC\", \"HTML\", \"TEXT\"]).describe(\"The document format of the template content (PDF, DOC, HTML, or TEXT).\"),\n ErrorMessage: z.string().describe(\"Error message if retrieval failed.\").nullable().optional(),\n TemplateContent: z.string().describe(\"Base64-encoded template content (the actual document/file content).\"),\n TransactionType: z.string().describe(\"The Transaction Type name this Template is for.\"),\n TemplateContentReferenceID: z.string().describe(\"Unique reference ID for the uploaded template content file. Use this ID when generating correspondence.\"),\n});\n\nexport const spondyrTemplateGet = action(\"SPONDYR_TEMPLATE_GET\", {\n slug: \"spondyr-template-get\",\n name: \"Get Template\",\n description: \"Retrieve detailed configuration for a specific correspondence template. Returns template content reference ID, event type, recipients, delivery methods, conditions, and search filters. Use this action when you need to: - Inspect template settings and configuration - View recipient delivery methods (Email, Mail, Text, DocuSign, Fax, Destination) - Review template selection conditions and search filters - Get the template content reference ID for correspondence generation Prerequisites: Use 'Get Transaction Types' to discover transaction types, then 'List Templates' to find available template names. Example: Retrieve template 'OrderConfirmationEmail' for transaction type 'CustomerOrder'.\",\n input: SpondyrTemplateGetInput,\n output: SpondyrTemplateGetOutput,\n});\n"],"mappings":";;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GAAC;GAAO;GAAO;GAAQ;EAAM,CAAC,CAAC,CAAC,SAAS,wEAAwE;EACrI,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5F,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE;EAC1G,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;EACtF,4BAA4B,EAAE,OAAO,CAAC,CAAC,SAAS,yGAAyG;CAC3J,CAOU;AACV,CAAC"}
@@ -0,0 +1,52 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/templates-list.ts
4
+ const SpondyrTemplatesListInput = zod.z.object({ TransactionType: zod.z.string().describe("The name of the Transaction Type whose templates are to be listed. Use the Get Transaction Types action first to discover available transaction types.") }).describe("Request model for listing templates associated with a transaction type.");
5
+ const SpondyrTemplatesList_ConditionSummarySchema = zod.z.object({
6
+ Name: zod.z.string().describe("The data field name used in the condition."),
7
+ CompareValue: zod.z.string().describe("The value(s) to compare against, newline-delimited if multiple."),
8
+ CompareOperator: zod.z.enum([
9
+ "=",
10
+ ">",
11
+ "<",
12
+ ">=",
13
+ "<=",
14
+ "<>"
15
+ ]).describe("Comparison operator for the condition."),
16
+ LogicalOperator: zod.z.enum(["AND", "OR"]).describe("Logical operator connecting this condition to others.")
17
+ }).describe("Summary of a condition defined for template selection.");
18
+ const SpondyrTemplatesList_RecipientSummarySchema = zod.z.object({
19
+ Name: zod.z.string().describe("The recipient's name or identifier."),
20
+ DeliveryMethod: zod.z.string().describe("The delivery method for this recipient (e.g., Email, Mail, Text, DocuSign, Fax, Destination).")
21
+ }).describe("Summary of a recipient configured for a template.");
22
+ const SpondyrTemplatesList_TemplateItemSchema = zod.z.object({
23
+ Name: zod.z.string().describe("The unique name of the template."),
24
+ Searches: zod.z.array(zod.z.string()).describe("Search filter names associated with this template for document retrieval.").nullable().optional(),
25
+ EventType: zod.z.string().describe("The Event Type this template is configured for (e.g., OnCreate, OnUpdate)."),
26
+ Conditions: zod.z.array(SpondyrTemplatesList_ConditionSummarySchema).describe("Conditions that determine when this template is selected for correspondence generation.").nullable().optional(),
27
+ Recipients: zod.z.array(SpondyrTemplatesList_RecipientSummarySchema).describe("List of configured recipients for this template.").nullable().optional(),
28
+ ContentType: zod.z.enum([
29
+ "PDF",
30
+ "DOC",
31
+ "HTML",
32
+ "TEXT"
33
+ ]).describe("Content type of the template document."),
34
+ TransactionType: zod.z.string().describe("The Transaction Type this template belongs to."),
35
+ TemplateContentReferenceID: zod.z.string().describe("Reference ID of the uploaded template content (use TemplateContent API to upload).")
36
+ }).describe("A template configured for a transaction type.");
37
+ const SpondyrTemplatesListOutput = zod.z.object({
38
+ Data: zod.z.array(SpondyrTemplatesList_TemplateItemSchema).describe("List of templates configured for the specified transaction type.").nullable().optional(),
39
+ APIStatus: zod.z.enum(["OK", "ERROR"]).describe("API response status: OK if successful, ERROR otherwise."),
40
+ ErrorMessage: zod.z.string().describe("Error message when APIStatus is ERROR.").nullable().optional()
41
+ }).describe("Response containing all templates for a transaction type.");
42
+ const spondyrTemplatesList = require_action.action("SPONDYR_TEMPLATES_LIST", {
43
+ slug: "spondyr-templates-list",
44
+ name: "List Templates",
45
+ description: "List all templates configured for a transaction type. Use this to discover available templates before generating correspondence or to audit template configurations. Returns template metadata including name, event type, content type, recipients, conditions, and search filters. Use Get Template action to retrieve full template content and detailed configuration.",
46
+ input: SpondyrTemplatesListInput,
47
+ output: SpondyrTemplatesListOutput
48
+ });
49
+ //#endregion
50
+ exports.spondyrTemplatesList = spondyrTemplatesList;
51
+
52
+ //# sourceMappingURL=templates-list.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"templates-list.cjs","names":["z","action"],"sources":["../../src/actions/templates-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpondyrTemplatesListInput: z.ZodTypeAny = z.object({\n TransactionType: z.string().describe(\"The name of the Transaction Type whose templates are to be listed. Use the Get Transaction Types action first to discover available transaction types.\"),\n}).describe(\"Request model for listing templates associated with a transaction type.\");\nconst SpondyrTemplatesList_ConditionSummarySchema: z.ZodTypeAny = z.object({\n Name: z.string().describe(\"The data field name used in the condition.\"),\n CompareValue: z.string().describe(\"The value(s) to compare against, newline-delimited if multiple.\"),\n CompareOperator: z.enum([\"=\", \">\", \"<\", \">=\", \"<=\", \"<>\"]).describe(\"Comparison operator for the condition.\"),\n LogicalOperator: z.enum([\"AND\", \"OR\"]).describe(\"Logical operator connecting this condition to others.\"),\n}).describe(\"Summary of a condition defined for template selection.\");\nconst SpondyrTemplatesList_RecipientSummarySchema: z.ZodTypeAny = z.object({\n Name: z.string().describe(\"The recipient's name or identifier.\"),\n DeliveryMethod: z.string().describe(\"The delivery method for this recipient (e.g., Email, Mail, Text, DocuSign, Fax, Destination).\"),\n}).describe(\"Summary of a recipient configured for a template.\");\nconst SpondyrTemplatesList_TemplateItemSchema: z.ZodTypeAny = z.object({\n Name: z.string().describe(\"The unique name of the template.\"),\n Searches: z.array(z.string()).describe(\"Search filter names associated with this template for document retrieval.\").nullable().optional(),\n EventType: z.string().describe(\"The Event Type this template is configured for (e.g., OnCreate, OnUpdate).\"),\n Conditions: z.array(SpondyrTemplatesList_ConditionSummarySchema).describe(\"Conditions that determine when this template is selected for correspondence generation.\").nullable().optional(),\n Recipients: z.array(SpondyrTemplatesList_RecipientSummarySchema).describe(\"List of configured recipients for this template.\").nullable().optional(),\n ContentType: z.enum([\"PDF\", \"DOC\", \"HTML\", \"TEXT\"]).describe(\"Content type of the template document.\"),\n TransactionType: z.string().describe(\"The Transaction Type this template belongs to.\"),\n TemplateContentReferenceID: z.string().describe(\"Reference ID of the uploaded template content (use TemplateContent API to upload).\"),\n}).describe(\"A template configured for a transaction type.\");\nexport const SpondyrTemplatesListOutput: z.ZodTypeAny = z.object({\n Data: z.array(SpondyrTemplatesList_TemplateItemSchema).describe(\"List of templates configured for the specified transaction type.\").nullable().optional(),\n APIStatus: z.enum([\"OK\", \"ERROR\"]).describe(\"API response status: OK if successful, ERROR otherwise.\"),\n ErrorMessage: z.string().describe(\"Error message when APIStatus is ERROR.\").nullable().optional(),\n}).describe(\"Response containing all templates for a transaction type.\");\n\nexport const spondyrTemplatesList = action(\"SPONDYR_TEMPLATES_LIST\", {\n slug: \"spondyr-templates-list\",\n name: \"List Templates\",\n description: \"List all templates configured for a transaction type. Use this to discover available templates before generating correspondence or to audit template configurations. Returns template metadata including name, event type, content type, recipients, conditions, and search filters. Use Get Template action to retrieve full template content and detailed configuration.\",\n input: SpondyrTemplatesListInput,\n output: SpondyrTemplatesListOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA0CA,IAAAA,EAAE,OAAO,EAC9D,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wJAAwJ,EAC/L,CAAC,CAAC,CAAC,SAAS,yEAAyE;AACrF,MAAM,8CAA4DA,IAAAA,EAAE,OAAO;CACzE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;CACtE,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE;CACnG,iBAAiBA,IAAAA,EAAE,KAAK;EAAC;EAAK;EAAK;EAAK;EAAM;EAAM;CAAI,CAAC,CAAC,CAAC,SAAS,wCAAwC;CAC5G,iBAAiBA,IAAAA,EAAE,KAAK,CAAC,OAAO,IAAI,CAAC,CAAC,CAAC,SAAS,uDAAuD;AACzG,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAM,8CAA4DA,IAAAA,EAAE,OAAO;CACzE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;CAC/D,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+FAA+F;AACrI,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAM,0CAAwDA,IAAAA,EAAE,OAAO;CACrE,MAAMA,IAAAA,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
4
+ declare const SpondyrTemplatesListInput: z.ZodTypeAny;
5
+ declare const SpondyrTemplatesListOutput: z.ZodTypeAny;
6
+ declare const spondyrTemplatesList: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { spondyrTemplatesList };
9
+ //# sourceMappingURL=templates-list.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"templates-list.d.cts","names":[],"sources":["../../src/actions/templates-list.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UAE4C;AAAA,cAqBzE,0BAAA,EAA4B,CAAA,CAAE,UAI6B;AAAA,cAE3D,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/templates-list.d.ts
4
+ declare const SpondyrTemplatesListInput: z.ZodTypeAny;
5
+ declare const SpondyrTemplatesListOutput: z.ZodTypeAny;
6
+ declare const spondyrTemplatesList: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { spondyrTemplatesList };
9
+ //# sourceMappingURL=templates-list.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"templates-list.d.mts","names":[],"sources":["../../src/actions/templates-list.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UAE4C;AAAA,cAqBzE,0BAAA,EAA4B,CAAA,CAAE,UAI6B;AAAA,cAE3D,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,51 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/templates-list.ts
4
+ const SpondyrTemplatesListInput = z.object({ TransactionType: z.string().describe("The name of the Transaction Type whose templates are to be listed. Use the Get Transaction Types action first to discover available transaction types.") }).describe("Request model for listing templates associated with a transaction type.");
5
+ const SpondyrTemplatesList_ConditionSummarySchema = z.object({
6
+ Name: z.string().describe("The data field name used in the condition."),
7
+ CompareValue: z.string().describe("The value(s) to compare against, newline-delimited if multiple."),
8
+ CompareOperator: z.enum([
9
+ "=",
10
+ ">",
11
+ "<",
12
+ ">=",
13
+ "<=",
14
+ "<>"
15
+ ]).describe("Comparison operator for the condition."),
16
+ LogicalOperator: z.enum(["AND", "OR"]).describe("Logical operator connecting this condition to others.")
17
+ }).describe("Summary of a condition defined for template selection.");
18
+ const SpondyrTemplatesList_RecipientSummarySchema = z.object({
19
+ Name: z.string().describe("The recipient's name or identifier."),
20
+ DeliveryMethod: z.string().describe("The delivery method for this recipient (e.g., Email, Mail, Text, DocuSign, Fax, Destination).")
21
+ }).describe("Summary of a recipient configured for a template.");
22
+ const SpondyrTemplatesList_TemplateItemSchema = z.object({
23
+ Name: z.string().describe("The unique name of the template."),
24
+ Searches: z.array(z.string()).describe("Search filter names associated with this template for document retrieval.").nullable().optional(),
25
+ EventType: z.string().describe("The Event Type this template is configured for (e.g., OnCreate, OnUpdate)."),
26
+ Conditions: z.array(SpondyrTemplatesList_ConditionSummarySchema).describe("Conditions that determine when this template is selected for correspondence generation.").nullable().optional(),
27
+ Recipients: z.array(SpondyrTemplatesList_RecipientSummarySchema).describe("List of configured recipients for this template.").nullable().optional(),
28
+ ContentType: z.enum([
29
+ "PDF",
30
+ "DOC",
31
+ "HTML",
32
+ "TEXT"
33
+ ]).describe("Content type of the template document."),
34
+ TransactionType: z.string().describe("The Transaction Type this template belongs to."),
35
+ TemplateContentReferenceID: z.string().describe("Reference ID of the uploaded template content (use TemplateContent API to upload).")
36
+ }).describe("A template configured for a transaction type.");
37
+ const spondyrTemplatesList = action("SPONDYR_TEMPLATES_LIST", {
38
+ slug: "spondyr-templates-list",
39
+ name: "List Templates",
40
+ description: "List all templates configured for a transaction type. Use this to discover available templates before generating correspondence or to audit template configurations. Returns template metadata including name, event type, content type, recipients, conditions, and search filters. Use Get Template action to retrieve full template content and detailed configuration.",
41
+ input: SpondyrTemplatesListInput,
42
+ output: z.object({
43
+ Data: z.array(SpondyrTemplatesList_TemplateItemSchema).describe("List of templates configured for the specified transaction type.").nullable().optional(),
44
+ APIStatus: z.enum(["OK", "ERROR"]).describe("API response status: OK if successful, ERROR otherwise."),
45
+ ErrorMessage: z.string().describe("Error message when APIStatus is ERROR.").nullable().optional()
46
+ }).describe("Response containing all templates for a transaction type.")
47
+ });
48
+ //#endregion
49
+ export { spondyrTemplatesList };
50
+
51
+ //# sourceMappingURL=templates-list.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"templates-list.mjs","names":[],"sources":["../../src/actions/templates-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpondyrTemplatesListInput: z.ZodTypeAny = z.object({\n TransactionType: z.string().describe(\"The name of the Transaction Type whose templates are to be listed. Use the Get Transaction Types action first to discover available transaction types.\"),\n}).describe(\"Request model for listing templates associated with a transaction type.\");\nconst SpondyrTemplatesList_ConditionSummarySchema: z.ZodTypeAny = z.object({\n Name: z.string().describe(\"The data field name used in the condition.\"),\n CompareValue: z.string().describe(\"The value(s) to compare against, newline-delimited if multiple.\"),\n CompareOperator: z.enum([\"=\", \">\", \"<\", \">=\", \"<=\", \"<>\"]).describe(\"Comparison operator for the condition.\"),\n LogicalOperator: z.enum([\"AND\", \"OR\"]).describe(\"Logical operator connecting this condition to others.\"),\n}).describe(\"Summary of a condition defined for template selection.\");\nconst SpondyrTemplatesList_RecipientSummarySchema: z.ZodTypeAny = z.object({\n Name: z.string().describe(\"The recipient's name or identifier.\"),\n DeliveryMethod: z.string().describe(\"The delivery method for this recipient (e.g., Email, Mail, Text, DocuSign, Fax, Destination).\"),\n}).describe(\"Summary of a recipient configured for a template.\");\nconst SpondyrTemplatesList_TemplateItemSchema: z.ZodTypeAny = z.object({\n Name: z.string().describe(\"The unique name of the template.\"),\n Searches: z.array(z.string()).describe(\"Search filter names associated with this template for document retrieval.\").nullable().optional(),\n EventType: z.string().describe(\"The Event Type this template is configured for (e.g., OnCreate, OnUpdate).\"),\n Conditions: z.array(SpondyrTemplatesList_ConditionSummarySchema).describe(\"Conditions that determine when this template is selected for correspondence generation.\").nullable().optional(),\n Recipients: z.array(SpondyrTemplatesList_RecipientSummarySchema).describe(\"List of configured recipients for this template.\").nullable().optional(),\n ContentType: z.enum([\"PDF\", \"DOC\", \"HTML\", \"TEXT\"]).describe(\"Content type of the template document.\"),\n TransactionType: z.string().describe(\"The Transaction Type this template belongs to.\"),\n TemplateContentReferenceID: z.string().describe(\"Reference ID of the uploaded template content (use TemplateContent API to upload).\"),\n}).describe(\"A template configured for a transaction type.\");\nexport const SpondyrTemplatesListOutput: z.ZodTypeAny = z.object({\n Data: z.array(SpondyrTemplatesList_TemplateItemSchema).describe(\"List of templates configured for the specified transaction type.\").nullable().optional(),\n APIStatus: z.enum([\"OK\", \"ERROR\"]).describe(\"API response status: OK if successful, ERROR otherwise.\"),\n ErrorMessage: z.string().describe(\"Error message when APIStatus is ERROR.\").nullable().optional(),\n}).describe(\"Response containing all templates for a transaction type.\");\n\nexport const spondyrTemplatesList = action(\"SPONDYR_TEMPLATES_LIST\", {\n slug: \"spondyr-templates-list\",\n name: \"List Templates\",\n description: \"List all templates configured for a transaction type. Use this to discover available templates before generating correspondence or to audit template configurations. Returns template metadata including name, event type, content type, recipients, conditions, and search filters. Use Get Template action to retrieve full template content and detailed configuration.\",\n input: SpondyrTemplatesListInput,\n output: SpondyrTemplatesListOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA0C,EAAE,OAAO,EAC9D,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,wJAAwJ,EAC/L,CAAC,CAAC,CAAC,SAAS,yEAAyE;AACrF,MAA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ACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAXsD,EAAE,OAAO;EAC/D,MAAM,EAAE,MAAM,uCAAuC,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxJ,WAAW,EAAE,KAAK,CAAC,MAAM,OAAO,CAAC,CAAC,CAAC,SAAS,yDAAyD;EACrG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,CAAC,CAAC,CAAC,SAAS,2DAOF;AACV,CAAC"}
@@ -0,0 +1,22 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/transaction-type-get.ts
4
+ const SpondyrTransactionTypeGetInput = zod.z.object({ TransactionType: zod.z.string().describe("The name of the Transaction Type to retrieve. API is case-insensitive.") }).describe("Request model for retrieving a specific transaction type.");
5
+ const SpondyrTransactionTypeGetOutput = zod.z.object({
6
+ Name: zod.z.string().describe("The name of the Transaction Type. Present when APIStatus is OK.").nullable().optional(),
7
+ APIStatus: zod.z.enum(["OK", "ERROR"]).describe("OK if successful; ERROR otherwise."),
8
+ TemplateCSV: zod.z.string().describe("Comma delimited list of flattened JSON fields for CSV import. Present when APIStatus is OK.").nullable().optional(),
9
+ ErrorMessage: zod.z.string().describe("Error message if retrieval failed.").nullable().optional(),
10
+ TemplateJSON: zod.z.string().describe("JSON formatted string containing all available properties with sample data. Present when APIStatus is OK.").nullable().optional()
11
+ });
12
+ const spondyrTransactionTypeGet = require_action.action("SPONDYR_TRANSACTION_TYPE_GET", {
13
+ slug: "spondyr-transaction-type-get",
14
+ name: "Get Transaction Type",
15
+ description: "Tool to retrieve details of a specific transaction type. Use when inspecting a transaction type schema. Returns the schema definition including JSON structure and CSV field mappings. Example: \"Get transaction type 'CustomerOrder' to view its JSON schema and available fields.\"",
16
+ input: SpondyrTransactionTypeGetInput,
17
+ output: SpondyrTransactionTypeGetOutput
18
+ });
19
+ //#endregion
20
+ exports.spondyrTransactionTypeGet = spondyrTransactionTypeGet;
21
+
22
+ //# sourceMappingURL=transaction-type-get.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"transaction-type-get.cjs","names":["z","action"],"sources":["../../src/actions/transaction-type-get.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpondyrTransactionTypeGetInput: z.ZodTypeAny = z.object({\n TransactionType: z.string().describe(\"The name of the Transaction Type to retrieve. API is case-insensitive.\"),\n}).describe(\"Request model for retrieving a specific transaction type.\");\nexport const SpondyrTransactionTypeGetOutput: z.ZodTypeAny = z.object({\n Name: z.string().describe(\"The name of the Transaction Type. Present when APIStatus is OK.\").nullable().optional(),\n APIStatus: z.enum([\"OK\", \"ERROR\"]).describe(\"OK if successful; ERROR otherwise.\"),\n TemplateCSV: z.string().describe(\"Comma delimited list of flattened JSON fields for CSV import. Present when APIStatus is OK.\").nullable().optional(),\n ErrorMessage: z.string().describe(\"Error message if retrieval failed.\").nullable().optional(),\n TemplateJSON: z.string().describe(\"JSON formatted string containing all available properties with sample data. Present when APIStatus is OK.\").nullable().optional(),\n});\n\nexport const spondyrTransactionTypeGet = action(\"SPONDYR_TRANSACTION_TYPE_GET\", {\n slug: \"spondyr-transaction-type-get\",\n name: \"Get Transaction Type\",\n description: \"Tool to retrieve details of a specific transaction type. Use when inspecting a transaction type schema. Returns the schema definition including JSON structure and CSV field mappings. Example: \\\"Get transaction type 'CustomerOrder' to view its JSON schema and available fields.\\\"\",\n input: SpondyrTransactionTypeGetInput,\n output: SpondyrTransactionTypeGetOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAA+CA,IAAAA,EAAE,OAAO,EACnE,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,EAC/G,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAa,kCAAgDA,IAAAA,EAAE,OAAO;CACpE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,WAAWA,IAAAA,EAAE,KAAK,CAAC,MAAM,OAAO,CAAC,CAAC,CAAC,SAAS,oCAAoC;CAChF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6FAA6F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpJ,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2GAA2G,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrK,CAAC;AAED,MAAa,4BAA4BC,eAAAA,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/transaction-type-get.d.ts
4
+ declare const SpondyrTransactionTypeGetInput: z.ZodTypeAny;
5
+ declare const SpondyrTransactionTypeGetOutput: z.ZodTypeAny;
6
+ declare const spondyrTransactionTypeGet: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { spondyrTransactionTypeGet };
9
+ //# sourceMappingURL=transaction-type-get.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"transaction-type-get.d.cts","names":[],"sources":["../../src/actions/transaction-type-get.ts"],"mappings":";;;cAIa,8BAAA,EAAgC,CAAA,CAAE,UAEyB;AAAA,cAC3D,+BAAA,EAAiC,CAAA,CAAE,UAM9C;AAAA,cAEW,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/transaction-type-get.d.ts
4
+ declare const SpondyrTransactionTypeGetInput: z.ZodTypeAny;
5
+ declare const SpondyrTransactionTypeGetOutput: z.ZodTypeAny;
6
+ declare const spondyrTransactionTypeGet: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { spondyrTransactionTypeGet };
9
+ //# sourceMappingURL=transaction-type-get.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"transaction-type-get.d.mts","names":[],"sources":["../../src/actions/transaction-type-get.ts"],"mappings":";;;cAIa,8BAAA,EAAgC,CAAA,CAAE,UAEyB;AAAA,cAC3D,+BAAA,EAAiC,CAAA,CAAE,UAM9C;AAAA,cAEW,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,19 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ const spondyrTransactionTypeGet = action("SPONDYR_TRANSACTION_TYPE_GET", {
4
+ slug: "spondyr-transaction-type-get",
5
+ name: "Get Transaction Type",
6
+ description: "Tool to retrieve details of a specific transaction type. Use when inspecting a transaction type schema. Returns the schema definition including JSON structure and CSV field mappings. Example: \"Get transaction type 'CustomerOrder' to view its JSON schema and available fields.\"",
7
+ input: z.object({ TransactionType: z.string().describe("The name of the Transaction Type to retrieve. API is case-insensitive.") }).describe("Request model for retrieving a specific transaction type."),
8
+ output: z.object({
9
+ Name: z.string().describe("The name of the Transaction Type. Present when APIStatus is OK.").nullable().optional(),
10
+ APIStatus: z.enum(["OK", "ERROR"]).describe("OK if successful; ERROR otherwise."),
11
+ TemplateCSV: z.string().describe("Comma delimited list of flattened JSON fields for CSV import. Present when APIStatus is OK.").nullable().optional(),
12
+ ErrorMessage: z.string().describe("Error message if retrieval failed.").nullable().optional(),
13
+ TemplateJSON: z.string().describe("JSON formatted string containing all available properties with sample data. Present when APIStatus is OK.").nullable().optional()
14
+ })
15
+ });
16
+ //#endregion
17
+ export { spondyrTransactionTypeGet };
18
+
19
+ //# sourceMappingURL=transaction-type-get.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"transaction-type-get.mjs","names":[],"sources":["../../src/actions/transaction-type-get.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpondyrTransactionTypeGetInput: z.ZodTypeAny = z.object({\n TransactionType: z.string().describe(\"The name of the Transaction Type to retrieve. API is case-insensitive.\"),\n}).describe(\"Request model for retrieving a specific transaction type.\");\nexport const SpondyrTransactionTypeGetOutput: z.ZodTypeAny = z.object({\n Name: z.string().describe(\"The name of the Transaction Type. Present when APIStatus is OK.\").nullable().optional(),\n APIStatus: z.enum([\"OK\", \"ERROR\"]).describe(\"OK if successful; ERROR otherwise.\"),\n TemplateCSV: z.string().describe(\"Comma delimited list of flattened JSON fields for CSV import. Present when APIStatus is OK.\").nullable().optional(),\n ErrorMessage: z.string().describe(\"Error message if retrieval failed.\").nullable().optional(),\n TemplateJSON: z.string().describe(\"JSON formatted string containing all available properties with sample data. Present when APIStatus is OK.\").nullable().optional(),\n});\n\nexport const spondyrTransactionTypeGet = action(\"SPONDYR_TRANSACTION_TYPE_GET\", {\n slug: \"spondyr-transaction-type-get\",\n name: \"Get Transaction Type\",\n description: \"Tool to retrieve details of a specific transaction type. Use when inspecting a transaction type schema. Returns the schema definition including JSON structure and CSV field mappings. Example: \\\"Get transaction type 'CustomerOrder' to view its JSON schema and available fields.\\\"\",\n input: SpondyrTransactionTypeGetInput,\n output: SpondyrTransactionTypeGetOutput,\n});\n"],"mappings":";;AAeA,MAAa,4BAA4B,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAf0D,EAAE,OAAO,EACnE,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,EAC/G,CAAC,CAAC,CAAC,SAAS,2DAaH;CACP,QAb2D,EAAE,OAAO;EACpE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjH,WAAW,EAAE,KAAK,CAAC,MAAM,OAAO,CAAC,CAAC,CAAC,SAAS,oCAAoC;EAChF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,6FAA6F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpJ,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5F,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,2GAA2G,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrK,CAOU;AACV,CAAC"}
@@ -0,0 +1,24 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/transaction-type-update.ts
4
+ const SpondyrTransactionTypeUpdateInput = zod.z.object({
5
+ Name: zod.z.string().describe("The new or updated name for the transaction type. Use the same value as TransactionType to keep the name unchanged, or provide a different value to rename it."),
6
+ TemplateJSON: zod.z.string().describe("A valid JSON-formatted string defining the transaction schema with all available properties and sample data. This defines what data fields are available for correspondence templates."),
7
+ TransactionType: zod.z.string().describe("The name of the existing transaction type to update. This identifies which transaction type to modify.")
8
+ });
9
+ const SpondyrTransactionTypeUpdateOutput = zod.z.object({
10
+ APIStatus: zod.z.enum(["OK", "ERROR"]).describe("Status of the API request. 'OK' indicates the transaction type was successfully updated, 'ERROR' indicates a failure."),
11
+ ReferenceID: zod.z.string().describe("Unique identifier for the updated transaction type. Use this ID for subsequent operations like retrieving or further updating the transaction type."),
12
+ ErrorMessage: zod.z.string().describe("Detailed error message explaining why the update failed. Only present when APIStatus is 'ERROR'.").nullable().optional()
13
+ });
14
+ const spondyrTransactionTypeUpdate = require_action.action("SPONDYR_TRANSACTION_TYPE_UPDATE", {
15
+ slug: "spondyr-transaction-type-update",
16
+ name: "Update Transaction Type",
17
+ description: "Updates an existing transaction type's name and/or JSON schema in Spondyr. Use this tool to: - Modify the JSON schema/template of a transaction type to add, remove, or change data fields - Rename an existing transaction type - Update sample data values in the template Prerequisites: The transaction type must already exist. Use 'Get Transaction Types' to list available types or 'Get Transaction Type' to retrieve the current schema before updating. Example: Update the 'OrderPlaced' transaction type with a new JSON schema that includes customer address fields.",
18
+ input: SpondyrTransactionTypeUpdateInput,
19
+ output: SpondyrTransactionTypeUpdateOutput
20
+ });
21
+ //#endregion
22
+ exports.spondyrTransactionTypeUpdate = spondyrTransactionTypeUpdate;
23
+
24
+ //# sourceMappingURL=transaction-type-update.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"transaction-type-update.cjs","names":["z","action"],"sources":["../../src/actions/transaction-type-update.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpondyrTransactionTypeUpdateInput: z.ZodTypeAny = z.object({\n Name: z.string().describe(\"The new or updated name for the transaction type. Use the same value as TransactionType to keep the name unchanged, or provide a different value to rename it.\"),\n TemplateJSON: z.string().describe(\"A valid JSON-formatted string defining the transaction schema with all available properties and sample data. This defines what data fields are available for correspondence templates.\"),\n TransactionType: z.string().describe(\"The name of the existing transaction type to update. This identifies which transaction type to modify.\"),\n});\nexport const SpondyrTransactionTypeUpdateOutput: z.ZodTypeAny = z.object({\n APIStatus: z.enum([\"OK\", \"ERROR\"]).describe(\"Status of the API request. 'OK' indicates the transaction type was successfully updated, 'ERROR' indicates a failure.\"),\n ReferenceID: z.string().describe(\"Unique identifier for the updated transaction type. Use this ID for subsequent operations like retrieving or further updating the transaction type.\"),\n ErrorMessage: z.string().describe(\"Detailed error message explaining why the update failed. Only present when APIStatus is 'ERROR'.\").nullable().optional(),\n});\n\nexport const spondyrTransactionTypeUpdate = action(\"SPONDYR_TRANSACTION_TYPE_UPDATE\", {\n slug: \"spondyr-transaction-type-update\",\n name: \"Update Transaction Type\",\n description: \"Updates an existing transaction type's name and/or JSON schema in Spondyr. Use this tool to: - Modify the JSON schema/template of a transaction type to add, remove, or change data fields - Rename an existing transaction type - Update sample data values in the template Prerequisites: The transaction type must already exist. Use 'Get Transaction Types' to list available types or 'Get Transaction Type' to retrieve the current schema before updating. Example: Update the 'OrderPlaced' transaction type with a new JSON schema that includes customer address fields.\",\n input: SpondyrTransactionTypeUpdateInput,\n output: SpondyrTransactionTypeUpdateOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAkDA,IAAAA,EAAE,OAAO;CACtE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gKAAgK;CAC1L,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wLAAwL;CAC1N,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wGAAwG;AAC/I,CAAC;AACD,MAAa,qCAAmDA,IAAAA,EAAE,OAAO;CACvE,WAAWA,IAAAA,EAAE,KAAK,CAAC,MAAM,OAAO,CAAC,CAAC,CAAC,SAAS,uHAAuH;CACnK,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qJAAqJ;CACtL,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kGAAkG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5J,CAAC;AAED,MAAa,+BAA+BC,eAAAA,OAAO,mCAAmC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/transaction-type-update.d.ts
4
+ declare const SpondyrTransactionTypeUpdateInput: z.ZodTypeAny;
5
+ declare const SpondyrTransactionTypeUpdateOutput: z.ZodTypeAny;
6
+ declare const spondyrTransactionTypeUpdate: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { spondyrTransactionTypeUpdate };
9
+ //# sourceMappingURL=transaction-type-update.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"transaction-type-update.d.cts","names":[],"sources":["../../src/actions/transaction-type-update.ts"],"mappings":";;;cAIa,iCAAA,EAAmC,CAAA,CAAE,UAIhD;AAAA,cACW,kCAAA,EAAoC,CAAA,CAAE,UAIjD;AAAA,cAEW,4BAAA,gCAA4B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/transaction-type-update.d.ts
4
+ declare const SpondyrTransactionTypeUpdateInput: z.ZodTypeAny;
5
+ declare const SpondyrTransactionTypeUpdateOutput: z.ZodTypeAny;
6
+ declare const spondyrTransactionTypeUpdate: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { spondyrTransactionTypeUpdate };
9
+ //# sourceMappingURL=transaction-type-update.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"transaction-type-update.d.mts","names":[],"sources":["../../src/actions/transaction-type-update.ts"],"mappings":";;;cAIa,iCAAA,EAAmC,CAAA,CAAE,UAIhD;AAAA,cACW,kCAAA,EAAoC,CAAA,CAAE,UAIjD;AAAA,cAEW,4BAAA,gCAA4B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,21 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ const spondyrTransactionTypeUpdate = action("SPONDYR_TRANSACTION_TYPE_UPDATE", {
4
+ slug: "spondyr-transaction-type-update",
5
+ name: "Update Transaction Type",
6
+ description: "Updates an existing transaction type's name and/or JSON schema in Spondyr. Use this tool to: - Modify the JSON schema/template of a transaction type to add, remove, or change data fields - Rename an existing transaction type - Update sample data values in the template Prerequisites: The transaction type must already exist. Use 'Get Transaction Types' to list available types or 'Get Transaction Type' to retrieve the current schema before updating. Example: Update the 'OrderPlaced' transaction type with a new JSON schema that includes customer address fields.",
7
+ input: z.object({
8
+ Name: z.string().describe("The new or updated name for the transaction type. Use the same value as TransactionType to keep the name unchanged, or provide a different value to rename it."),
9
+ TemplateJSON: z.string().describe("A valid JSON-formatted string defining the transaction schema with all available properties and sample data. This defines what data fields are available for correspondence templates."),
10
+ TransactionType: z.string().describe("The name of the existing transaction type to update. This identifies which transaction type to modify.")
11
+ }),
12
+ output: z.object({
13
+ APIStatus: z.enum(["OK", "ERROR"]).describe("Status of the API request. 'OK' indicates the transaction type was successfully updated, 'ERROR' indicates a failure."),
14
+ ReferenceID: z.string().describe("Unique identifier for the updated transaction type. Use this ID for subsequent operations like retrieving or further updating the transaction type."),
15
+ ErrorMessage: z.string().describe("Detailed error message explaining why the update failed. Only present when APIStatus is 'ERROR'.").nullable().optional()
16
+ })
17
+ });
18
+ //#endregion
19
+ export { spondyrTransactionTypeUpdate };
20
+
21
+ //# sourceMappingURL=transaction-type-update.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"transaction-type-update.mjs","names":[],"sources":["../../src/actions/transaction-type-update.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpondyrTransactionTypeUpdateInput: z.ZodTypeAny = z.object({\n Name: z.string().describe(\"The new or updated name for the transaction type. Use the same value as TransactionType to keep the name unchanged, or provide a different value to rename it.\"),\n TemplateJSON: z.string().describe(\"A valid JSON-formatted string defining the transaction schema with all available properties and sample data. This defines what data fields are available for correspondence templates.\"),\n TransactionType: z.string().describe(\"The name of the existing transaction type to update. This identifies which transaction type to modify.\"),\n});\nexport const SpondyrTransactionTypeUpdateOutput: z.ZodTypeAny = z.object({\n APIStatus: z.enum([\"OK\", \"ERROR\"]).describe(\"Status of the API request. 'OK' indicates the transaction type was successfully updated, 'ERROR' indicates a failure.\"),\n ReferenceID: z.string().describe(\"Unique identifier for the updated transaction type. Use this ID for subsequent operations like retrieving or further updating the transaction type.\"),\n ErrorMessage: z.string().describe(\"Detailed error message explaining why the update failed. Only present when APIStatus is 'ERROR'.\").nullable().optional(),\n});\n\nexport const spondyrTransactionTypeUpdate = action(\"SPONDYR_TRANSACTION_TYPE_UPDATE\", {\n slug: \"spondyr-transaction-type-update\",\n name: \"Update Transaction Type\",\n description: \"Updates an existing transaction type's name and/or JSON schema in Spondyr. Use this tool to: - Modify the JSON schema/template of a transaction type to add, remove, or change data fields - Rename an existing transaction type - Update sample data values in the template Prerequisites: The transaction type must already exist. Use 'Get Transaction Types' to list available types or 'Get Transaction Type' to retrieve the current schema before updating. Example: Update the 'OrderPlaced' transaction type with a new JSON schema that includes customer address fields.\",\n input: SpondyrTransactionTypeUpdateInput,\n output: SpondyrTransactionTypeUpdateOutput,\n});\n"],"mappings":";;AAeA,MAAa,+BAA+B,OAAO,mCAAmC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAf6D,EAAE,OAAO;EACtE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gKAAgK;EAC1L,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,wLAAwL;EAC1N,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,wGAAwG;CAC/I,CAWS;CACP,QAX8D,EAAE,OAAO;EACvE,WAAW,EAAE,KAAK,CAAC,MAAM,OAAO,CAAC,CAAC,CAAC,SAAS,uHAAuH;EACnK,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,qJAAqJ;EACtL,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,kGAAkG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5J,CAOU;AACV,CAAC"}
package/dist/app.cjs ADDED
@@ -0,0 +1,9 @@
1
+ //#region src/app.ts
2
+ const spondyr = (0, require("@keystrokehq/keystroke/app").defineApp)({
3
+ slug: "spondyr",
4
+ auth: "keystroke"
5
+ });
6
+ //#endregion
7
+ exports.spondyr = spondyr;
8
+
9
+ //# sourceMappingURL=app.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"app.cjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\n\nexport const spondyr = defineApp({\n slug: \"spondyr\",\n auth: \"keystroke\",\n});\n"],"mappings":";AAEA,MAAa,WAAA,uCAAA,CAAA,CAAA,UAAA,CAAoB;CAC/B,MAAM;CACN,MAAM;AACR,CAAC"}
package/dist/app.d.cts ADDED
@@ -0,0 +1,5 @@
1
+ //#region src/app.d.ts
2
+ declare const spondyr: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential>;
3
+ //#endregion
4
+ export { spondyr };
5
+ //# sourceMappingURL=app.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";cAEa,OAAA,6BAAO,GAAA,+BAAA,UAAA"}
package/dist/app.d.mts ADDED
@@ -0,0 +1,5 @@
1
+ //#region src/app.d.ts
2
+ declare const spondyr: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential>;
3
+ //#endregion
4
+ export { spondyr };
5
+ //# sourceMappingURL=app.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";cAEa,OAAA,6BAAO,GAAA,+BAAA,UAAA"}
package/dist/app.mjs ADDED
@@ -0,0 +1,10 @@
1
+ import { defineApp } from "@keystrokehq/keystroke/app";
2
+ //#region src/app.ts
3
+ const spondyr = defineApp({
4
+ slug: "spondyr",
5
+ auth: "keystroke"
6
+ });
7
+ //#endregion
8
+ export { spondyr };
9
+
10
+ //# sourceMappingURL=app.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\n\nexport const spondyr = defineApp({\n slug: \"spondyr\",\n auth: \"keystroke\",\n});\n"],"mappings":";;AAEA,MAAa,UAAU,UAAU;CAC/B,MAAM;CACN,MAAM;AACR,CAAC"}
@@ -0,0 +1,15 @@
1
+ //#region src/catalog.ts
2
+ /** Generated — kept in sync with src/app.ts. */
3
+ const spondyrCatalog = {
4
+ "slug": "spondyr",
5
+ "name": "Spondyr",
6
+ "description": "Spondyr is a correspondence template management and distribution platform that enables developers to quickly integrate template-driven content delivery via API, supporting email, SMS, fax, and postal mail.",
7
+ "category": "Documents",
8
+ "logo": "https://logos.composio.dev/api/spondyr",
9
+ "authKind": "keystroke",
10
+ "oauthScopes": []
11
+ };
12
+ //#endregion
13
+ exports.spondyrCatalog = spondyrCatalog;
14
+
15
+ //# sourceMappingURL=catalog.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const spondyrCatalog = {\n \"slug\": \"spondyr\",\n \"name\": \"Spondyr\",\n \"description\": \"Spondyr is a correspondence template management and distribution platform that enables developers to quickly integrate template-driven content delivery via API, supporting email, SMS, fax, and postal mail.\",\n \"category\": \"Documents\",\n \"logo\": \"https://logos.composio.dev/api/spondyr\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": []\n} as const;\n"],"mappings":";;AACA,MAAa,iBAAiB;CAC5B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;AAClB"}
@@ -0,0 +1,14 @@
1
+ //#region src/catalog.d.ts
2
+ /** Generated — kept in sync with src/app.ts. */
3
+ declare const spondyrCatalog: {
4
+ readonly slug: "spondyr";
5
+ readonly name: "Spondyr";
6
+ readonly description: "Spondyr is a correspondence template management and distribution platform that enables developers to quickly integrate template-driven content delivery via API, supporting email, SMS, fax, and postal mail.";
7
+ readonly category: "Documents";
8
+ readonly logo: "https://logos.composio.dev/api/spondyr";
9
+ readonly authKind: "keystroke";
10
+ readonly oauthScopes: readonly [];
11
+ };
12
+ //#endregion
13
+ export { spondyrCatalog };
14
+ //# sourceMappingURL=catalog.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"catalog.d.cts","names":[],"sources":["../src/catalog.ts"],"mappings":";;cACa,cAAA;EAAA"}
@@ -0,0 +1,14 @@
1
+ //#region src/catalog.d.ts
2
+ /** Generated — kept in sync with src/app.ts. */
3
+ declare const spondyrCatalog: {
4
+ readonly slug: "spondyr";
5
+ readonly name: "Spondyr";
6
+ readonly description: "Spondyr is a correspondence template management and distribution platform that enables developers to quickly integrate template-driven content delivery via API, supporting email, SMS, fax, and postal mail.";
7
+ readonly category: "Documents";
8
+ readonly logo: "https://logos.composio.dev/api/spondyr";
9
+ readonly authKind: "keystroke";
10
+ readonly oauthScopes: readonly [];
11
+ };
12
+ //#endregion
13
+ export { spondyrCatalog };
14
+ //# sourceMappingURL=catalog.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"catalog.d.mts","names":[],"sources":["../src/catalog.ts"],"mappings":";;cACa,cAAA;EAAA"}
@@ -0,0 +1,15 @@
1
+ //#region src/catalog.ts
2
+ /** Generated — kept in sync with src/app.ts. */
3
+ const spondyrCatalog = {
4
+ "slug": "spondyr",
5
+ "name": "Spondyr",
6
+ "description": "Spondyr is a correspondence template management and distribution platform that enables developers to quickly integrate template-driven content delivery via API, supporting email, SMS, fax, and postal mail.",
7
+ "category": "Documents",
8
+ "logo": "https://logos.composio.dev/api/spondyr",
9
+ "authKind": "keystroke",
10
+ "oauthScopes": []
11
+ };
12
+ //#endregion
13
+ export { spondyrCatalog };
14
+
15
+ //# sourceMappingURL=catalog.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"catalog.mjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const spondyrCatalog = {\n \"slug\": \"spondyr\",\n \"name\": \"Spondyr\",\n \"description\": \"Spondyr is a correspondence template management and distribution platform that enables developers to quickly integrate template-driven content delivery via API, supporting email, SMS, fax, and postal mail.\",\n \"category\": \"Documents\",\n \"logo\": \"https://logos.composio.dev/api/spondyr\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": []\n} as const;\n"],"mappings":";;AACA,MAAa,iBAAiB;CAC5B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;AAClB"}