@keystrokehq/spondyr 0.1.5 → 0.1.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (181) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/conditions-list.cjs +1 -0
  4. package/dist/actions/conditions-list.cjs.map +1 -1
  5. package/dist/actions/conditions-list.d.cts +3 -17
  6. package/dist/actions/conditions-list.d.cts.map +1 -1
  7. package/dist/actions/conditions-list.d.mts +3 -17
  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 -20
  14. package/dist/actions/create-condition.d.cts.map +1 -1
  15. package/dist/actions/create-condition.d.mts +3 -20
  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 -18
  22. package/dist/actions/create-transaction-type.d.cts.map +1 -1
  23. package/dist/actions/create-transaction-type.d.mts +3 -18
  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 -35
  30. package/dist/actions/deliver-spondyr.d.cts.map +1 -1
  31. package/dist/actions/deliver-spondyr.d.mts +3 -35
  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 -19
  38. package/dist/actions/event-type-update.d.cts.map +1 -1
  39. package/dist/actions/event-type-update.d.mts +3 -19
  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 -17
  46. package/dist/actions/get-event-types.d.cts.map +1 -1
  47. package/dist/actions/get-event-types.d.mts +3 -17
  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 -21
  54. package/dist/actions/get-spondyr-status.d.cts.map +1 -1
  55. package/dist/actions/get-spondyr-status.d.mts +3 -21
  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 -15
  62. package/dist/actions/get-transaction-types.d.cts.map +1 -1
  63. package/dist/actions/get-transaction-types.d.mts +3 -15
  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 -18
  70. package/dist/actions/recipient-delete.d.cts.map +1 -1
  71. package/dist/actions/recipient-delete.d.mts +3 -18
  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 -18
  78. package/dist/actions/recipient-get.d.cts.map +1 -1
  79. package/dist/actions/recipient-get.d.mts +3 -18
  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 -17
  86. package/dist/actions/recipients-list.d.cts.map +1 -1
  87. package/dist/actions/recipients-list.d.mts +3 -17
  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 -19
  94. package/dist/actions/search-filter-create.d.cts.map +1 -1
  95. package/dist/actions/search-filter-create.d.mts +3 -19
  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 -18
  102. package/dist/actions/search-filter-delete.d.cts.map +1 -1
  103. package/dist/actions/search-filter-delete.d.mts +3 -18
  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 -18
  110. package/dist/actions/search-filter-get.d.cts.map +1 -1
  111. package/dist/actions/search-filter-get.d.mts +3 -18
  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 -17
  118. package/dist/actions/search-filters-list.d.cts.map +1 -1
  119. package/dist/actions/search-filters-list.d.mts +3 -17
  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 -24
  126. package/dist/actions/search-spondyrs.d.cts.map +1 -1
  127. package/dist/actions/search-spondyrs.d.mts +3 -24
  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 -22
  134. package/dist/actions/sso-stub.d.cts.map +1 -1
  135. package/dist/actions/sso-stub.d.mts +3 -22
  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 -18
  142. package/dist/actions/template-get.d.cts.map +1 -1
  143. package/dist/actions/template-get.d.mts +3 -18
  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 -17
  150. package/dist/actions/templates-list.d.cts.map +1 -1
  151. package/dist/actions/templates-list.d.mts +3 -17
  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 -17
  158. package/dist/actions/transaction-type-get.d.cts.map +1 -1
  159. package/dist/actions/transaction-type-get.d.mts +3 -17
  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 -19
  166. package/dist/actions/transaction-type-update.d.cts.map +1 -1
  167. package/dist/actions/transaction-type-update.d.mts +3 -19
  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 +5 -4
  172. package/dist/app.cjs.map +1 -1
  173. package/dist/app.d.cts +4 -6
  174. package/dist/app.d.cts.map +1 -1
  175. package/dist/app.d.mts +4 -6
  176. package/dist/app.d.mts.map +1 -1
  177. package/dist/app.mjs +0 -1
  178. package/dist/app.mjs.map +1 -1
  179. package/dist/index.d.cts +1 -1
  180. package/dist/index.d.mts +1 -1
  181. package/package.json +2 -2
@@ -1,3 +1,5 @@
1
+ import { spondyr } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/template-get.d.ts
@@ -68,24 +70,7 @@ declare const SpondyrTemplateGetOutput: z.ZodObject<{
68
70
  TransactionType: z.ZodNullable<z.ZodString>;
69
71
  TemplateContentReferenceID: z.ZodNullable<z.ZodString>;
70
72
  }, z.core.$loose>;
71
- declare const spondyrTemplateGet: import("@keystrokehq/action").WorkflowActionDefinition<{
72
- Template: string;
73
- TransactionType: string;
74
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"spondyr", z.ZodObject<{
75
- connectionId: z.ZodString;
76
- entityId: z.ZodString;
77
- instanceId: z.ZodString;
78
- }, z.core.$strip>, z.ZodObject<{
79
- generic_api_key: z.ZodString;
80
- generic_token: z.ZodString;
81
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"spondyr", z.ZodObject<{
82
- connectionId: z.ZodString;
83
- entityId: z.ZodString;
84
- instanceId: z.ZodString;
85
- }, z.core.$strip>, z.ZodObject<{
86
- generic_api_key: z.ZodString;
87
- generic_token: z.ZodString;
88
- }, z.core.$strip>>]>;
73
+ declare const spondyrTemplateGet: AppAction<typeof SpondyrTemplateGetInput, typeof SpondyrTemplateGetOutput, typeof spondyr.credential>;
89
74
  //#endregion
90
75
  export { spondyrTemplateGet };
91
76
  //# sourceMappingURL=template-get.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"template-get.d.mts","names":[],"sources":["../../src/actions/template-get.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;cA+BvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAcxB,kBAAA,gCAAkB,wBAAA"}
1
+ {"version":3,"file":"template-get.d.mts","names":[],"sources":["../../src/actions/template-get.ts"],"mappings":";;;;;cAMa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;cA+BvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAcxB,kBAAA,EAAoB,SAAA,QACxB,uBAAA,SACA,wBAAA,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/template-get.ts
@@ -1 +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.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.object({\n Name: z.string().describe(\"The name of the condition.\").nullable(),\n CompareValue: z.string().describe(\"The value(s) for the condition, newline delimited if multiple.\").nullable(),\n CompareOperator: z.enum([\"=\", \">\", \"<\", \">=\", \"<=\", \"<>\"]).describe(\"Comparison operator for the condition.\").nullable(),\n LogicalOperator: z.enum([\"AND\", \"OR\"]).describe(\"Logical operator for the condition.\").nullable(),\n}).passthrough();\nconst SpondyrTemplateGet_TemplateGetResponseSignerSchema = z.object({\n Name: z.string().describe(\"The name of the signer.\").nullable(),\n Role: z.enum([\"Signer\", \"Agent\", \"CC\", \"Certified Delivery\", \"Editor\", \"In Person Signer\", \"Intermediary\"]).describe(\"The role of the signer.\").nullable(),\n Email: z.string().describe(\"The email address of the signer.\").nullable(),\n}).passthrough();\nconst SpondyrTemplateGet_TemplateGetResponseRecipientSchema = z.object({\n Name: z.string().describe(\"The recipient's name.\").nullable(),\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.\").nullable(),\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}).passthrough();\nexport const SpondyrTemplateGetOutput = z.object({\n Name: z.string().describe(\"The name of the Template.\").nullable(),\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.\").nullable(),\n EventType: z.string().describe(\"The event type that triggers this template (e.g., 'OnCreate', 'OnUpdate', 'OnDelete').\").nullable(),\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).\").nullable(),\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).\").nullable(),\n TransactionType: z.string().describe(\"The Transaction Type name this Template is for.\").nullable(),\n TemplateContentReferenceID: z.string().describe(\"Unique reference ID for the uploaded template content file. Use this ID when generating correspondence.\").nullable(),\n}).passthrough();\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":";;;AAIA,MAAa,0BAA0B,EAAE,OAAO;CAC9C,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,4IAA4I;CAC1K,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,4IAA4I;AACnL,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAM,wDAAwD,EAAE,OAAO;CACrE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACjE,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;CAC7G,iBAAiB,EAAE,KAAK;EAAC;EAAK;EAAK;EAAK;EAAM;EAAM;CAAI,CAAC,CAAC,CAAC,SAAS,wCAAwC,CAA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B,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;EACrH,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;EACjG,4BAA4B,EAAE,OAAO,CAAC,CAAC,SAAS,yGAAyG,CAAC,CAAC,SAAS;CACtK,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
1
+ {"version":3,"file":"template-get.mjs","names":[],"sources":["../../src/actions/template-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 SpondyrTemplateGetInput = 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.object({\n Name: z.string().describe(\"The name of the condition.\").nullable(),\n CompareValue: z.string().describe(\"The value(s) for the condition, newline delimited if multiple.\").nullable(),\n CompareOperator: z.enum([\"=\", \">\", \"<\", \">=\", \"<=\", \"<>\"]).describe(\"Comparison operator for the condition.\").nullable(),\n LogicalOperator: z.enum([\"AND\", \"OR\"]).describe(\"Logical operator for the condition.\").nullable(),\n}).passthrough();\nconst SpondyrTemplateGet_TemplateGetResponseSignerSchema = z.object({\n Name: z.string().describe(\"The name of the signer.\").nullable(),\n Role: z.enum([\"Signer\", \"Agent\", \"CC\", \"Certified Delivery\", \"Editor\", \"In Person Signer\", \"Intermediary\"]).describe(\"The role of the signer.\").nullable(),\n Email: z.string().describe(\"The email address of the signer.\").nullable(),\n}).passthrough();\nconst SpondyrTemplateGet_TemplateGetResponseRecipientSchema = z.object({\n Name: z.string().describe(\"The recipient's name.\").nullable(),\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.\").nullable(),\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}).passthrough();\nexport const SpondyrTemplateGetOutput = z.object({\n Name: z.string().describe(\"The name of the Template.\").nullable(),\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.\").nullable(),\n EventType: z.string().describe(\"The event type that triggers this template (e.g., 'OnCreate', 'OnUpdate', 'OnDelete').\").nullable(),\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).\").nullable(),\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).\").nullable(),\n TransactionType: z.string().describe(\"The Transaction Type name this Template is for.\").nullable(),\n TemplateContentReferenceID: z.string().describe(\"Unique reference ID for the uploaded template content file. Use this ID when generating correspondence.\").nullable(),\n}).passthrough();\n\nexport const spondyrTemplateGet: AppAction<\n typeof SpondyrTemplateGetInput,\n typeof SpondyrTemplateGetOutput,\n typeof spondyr.credential\n> = 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":";;;;AAMA,MAAa,0BAA0B,EAAE,OAAO;CAC9C,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,4IAA4I;CAC1K,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,4IAA4I;AACnL,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAM,wDAAwD,EAAE,OAAO;CACrE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACjE,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;CAC7G,iBAAiB,EAAE,KAAK;EAAC;EAAK;EAAK;EAAK;EAAM;EAAM;CAAI,CAAC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CACvH,iBAAiB,EA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EAAqE,CAAC,CAAC,SAAS;EACrH,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;EACjG,4BAA4B,EAAE,OAAO,CAAC,CAAC,SAAS,yGAAyG,CAAC,CAAC,SAAS;CACtK,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/templates-list.ts
@@ -1 +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.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.object({\n Name: z.string().describe(\"The data field name used in the condition.\").nullable(),\n CompareValue: z.string().describe(\"The value(s) to compare against, newline-delimited if multiple.\").nullable(),\n CompareOperator: z.enum([\"=\", \">\", \"<\", \">=\", \"<=\", \"<>\"]).describe(\"Comparison operator for the condition.\").nullable(),\n LogicalOperator: z.enum([\"AND\", \"OR\"]).describe(\"Logical operator connecting this condition to others.\").nullable(),\n}).passthrough().describe(\"Summary of a condition defined for template selection.\");\nconst SpondyrTemplatesList_RecipientSummarySchema = z.object({\n Name: z.string().describe(\"The recipient's name or identifier.\").nullable(),\n DeliveryMethod: z.string().describe(\"The delivery method for this recipient (e.g., Email, Mail, Text, DocuSign, Fax, Destination).\").nullable(),\n}).passthrough().describe(\"Summary of a recipient configured for a template.\");\nconst SpondyrTemplatesList_TemplateItemSchema = z.object({\n Name: z.string().describe(\"The unique name of the template.\").nullable(),\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).\").nullable(),\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.\").nullable(),\n TransactionType: z.string().describe(\"The Transaction Type this template belongs to.\").nullable(),\n TemplateContentReferenceID: z.string().describe(\"Reference ID of the uploaded template content (use TemplateContent API to upload).\").nullable(),\n}).passthrough().describe(\"A template configured for a transaction type.\");\nexport const SpondyrTemplatesListOutput = 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.\").nullable(),\n ErrorMessage: z.string().describe(\"Error message when APIStatus is ERROR.\").nullable().optional(),\n}).passthrough().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,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wJAAwJ,EAC/L,CAAC,CAAC,CAAC,SAAS,yEAAyE;AACrF,MAAM,8CAA8CA,IAAAA,EAAE,OAAO;CAC3D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACjF,cAAcA,IAAAA,EAAE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SAAS;CAChH,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CAChG,4BAA4BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS;AACjJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAA+C;AACzE,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,MAAMA,IAAAA,EAAE,MAAM,uCAAuC,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxJ,WAAWA,IAAAA,EAAE,KAAK,CAAC,MAAM,OAAO,CAAC,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CAChH,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2DAA2D;AAErF,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"templates-list.cjs","names":["z","action"],"sources":["../../src/actions/templates-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 SpondyrTemplatesListInput = 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.object({\n Name: z.string().describe(\"The data field name used in the condition.\").nullable(),\n CompareValue: z.string().describe(\"The value(s) to compare against, newline-delimited if multiple.\").nullable(),\n CompareOperator: z.enum([\"=\", \">\", \"<\", \">=\", \"<=\", \"<>\"]).describe(\"Comparison operator for the condition.\").nullable(),\n LogicalOperator: z.enum([\"AND\", \"OR\"]).describe(\"Logical operator connecting this condition to others.\").nullable(),\n}).passthrough().describe(\"Summary of a condition defined for template selection.\");\nconst SpondyrTemplatesList_RecipientSummarySchema = z.object({\n Name: z.string().describe(\"The recipient's name or identifier.\").nullable(),\n DeliveryMethod: z.string().describe(\"The delivery method for this recipient (e.g., Email, Mail, Text, DocuSign, Fax, Destination).\").nullable(),\n}).passthrough().describe(\"Summary of a recipient configured for a template.\");\nconst SpondyrTemplatesList_TemplateItemSchema = z.object({\n Name: z.string().describe(\"The unique name of the template.\").nullable(),\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).\").nullable(),\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.\").nullable(),\n TransactionType: z.string().describe(\"The Transaction Type this template belongs to.\").nullable(),\n TemplateContentReferenceID: z.string().describe(\"Reference ID of the uploaded template content (use TemplateContent API to upload).\").nullable(),\n}).passthrough().describe(\"A template configured for a transaction type.\");\nexport const SpondyrTemplatesListOutput = 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.\").nullable(),\n ErrorMessage: z.string().describe(\"Error message when APIStatus is ERROR.\").nullable().optional(),\n}).passthrough().describe(\"Response containing all templates for a transaction type.\");\n\nexport const spondyrTemplatesList: AppAction<\n typeof SpondyrTemplatesListInput,\n typeof SpondyrTemplatesListOutput,\n typeof spondyr.credential\n> = 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":";;;;AAMA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wJAAwJ,EAC/L,CAAC,CAAC,CAAC,SAAS,yEAAyE;AACrF,MAAM,8CAA8CA,IAAAA,EAAE,OAAO;CAC3D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACjF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;CAC9G,iBAAiBA,IAAAA,EAAE,KAAK;EAAC;EAAK;EAAK;EAAK;EAAM;EAAM;CAAI,CAAC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CACvH,iBAAiBA,IAAAA,EAAE,KAAK,CAAC,OAAO,IAAI,CAAC,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;AACpH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAAwD;AAClF,MAAM,8CAA8CA,IAAAA,EAAE,OAAO;CAC3D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC1E,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,SAAS;AAChJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAAmD;AAC7E,MAAM,0CAA0CA,IAAAA,EAAE,OAAO;CACvD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAA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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/templates-list.d.ts
@@ -44,23 +46,7 @@ declare const SpondyrTemplatesListOutput: z.ZodObject<{
44
46
  }>>;
45
47
  ErrorMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
46
48
  }, z.core.$loose>;
47
- declare const spondyrTemplatesList: import("@keystrokehq/action").WorkflowActionDefinition<{
48
- TransactionType: string;
49
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"spondyr", z.ZodObject<{
50
- connectionId: z.ZodString;
51
- entityId: z.ZodString;
52
- instanceId: z.ZodString;
53
- }, z.core.$strip>, z.ZodObject<{
54
- generic_api_key: z.ZodString;
55
- generic_token: z.ZodString;
56
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"spondyr", z.ZodObject<{
57
- connectionId: z.ZodString;
58
- entityId: z.ZodString;
59
- instanceId: z.ZodString;
60
- }, z.core.$strip>, z.ZodObject<{
61
- generic_api_key: z.ZodString;
62
- generic_token: z.ZodString;
63
- }, z.core.$strip>>]>;
49
+ declare const spondyrTemplatesList: AppAction<typeof SpondyrTemplatesListInput, typeof SpondyrTemplatesListOutput, typeof spondyr.credential>;
64
50
  //#endregion
65
51
  export { spondyrTemplatesList };
66
52
  //# sourceMappingURL=templates-list.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"templates-list.d.cts","names":[],"sources":["../../src/actions/templates-list.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;cAuBzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAM1B,oBAAA,gCAAoB,wBAAA"}
1
+ {"version":3,"file":"templates-list.d.cts","names":[],"sources":["../../src/actions/templates-list.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;cAuBzB,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/templates-list.d.ts
@@ -44,23 +46,7 @@ declare const SpondyrTemplatesListOutput: z.ZodObject<{
44
46
  }>>;
45
47
  ErrorMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
46
48
  }, z.core.$loose>;
47
- declare const spondyrTemplatesList: import("@keystrokehq/action").WorkflowActionDefinition<{
48
- TransactionType: string;
49
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"spondyr", z.ZodObject<{
50
- connectionId: z.ZodString;
51
- entityId: z.ZodString;
52
- instanceId: z.ZodString;
53
- }, z.core.$strip>, z.ZodObject<{
54
- generic_api_key: z.ZodString;
55
- generic_token: z.ZodString;
56
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"spondyr", z.ZodObject<{
57
- connectionId: z.ZodString;
58
- entityId: z.ZodString;
59
- instanceId: z.ZodString;
60
- }, z.core.$strip>, z.ZodObject<{
61
- generic_api_key: z.ZodString;
62
- generic_token: z.ZodString;
63
- }, z.core.$strip>>]>;
49
+ declare const spondyrTemplatesList: AppAction<typeof SpondyrTemplatesListInput, typeof SpondyrTemplatesListOutput, typeof spondyr.credential>;
64
50
  //#endregion
65
51
  export { spondyrTemplatesList };
66
52
  //# sourceMappingURL=templates-list.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"templates-list.d.mts","names":[],"sources":["../../src/actions/templates-list.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;cAuBzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAM1B,oBAAA,gCAAoB,wBAAA"}
1
+ {"version":3,"file":"templates-list.d.mts","names":[],"sources":["../../src/actions/templates-list.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;cAuBzB,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/templates-list.ts
@@ -1 +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.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.object({\n Name: z.string().describe(\"The data field name used in the condition.\").nullable(),\n CompareValue: z.string().describe(\"The value(s) to compare against, newline-delimited if multiple.\").nullable(),\n CompareOperator: z.enum([\"=\", \">\", \"<\", \">=\", \"<=\", \"<>\"]).describe(\"Comparison operator for the condition.\").nullable(),\n LogicalOperator: z.enum([\"AND\", \"OR\"]).describe(\"Logical operator connecting this condition to others.\").nullable(),\n}).passthrough().describe(\"Summary of a condition defined for template selection.\");\nconst SpondyrTemplatesList_RecipientSummarySchema = z.object({\n Name: z.string().describe(\"The recipient's name or identifier.\").nullable(),\n DeliveryMethod: z.string().describe(\"The delivery method for this recipient (e.g., Email, Mail, Text, DocuSign, Fax, Destination).\").nullable(),\n}).passthrough().describe(\"Summary of a recipient configured for a template.\");\nconst SpondyrTemplatesList_TemplateItemSchema = z.object({\n Name: z.string().describe(\"The unique name of the template.\").nullable(),\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).\").nullable(),\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.\").nullable(),\n TransactionType: z.string().describe(\"The Transaction Type this template belongs to.\").nullable(),\n TemplateContentReferenceID: z.string().describe(\"Reference ID of the uploaded template content (use TemplateContent API to upload).\").nullable(),\n}).passthrough().describe(\"A template configured for a transaction type.\");\nexport const SpondyrTemplatesListOutput = 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.\").nullable(),\n ErrorMessage: z.string().describe(\"Error message when APIStatus is ERROR.\").nullable().optional(),\n}).passthrough().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,4BAA4B,EAAE,OAAO,EAChD,iBAAiB,EAAE,OAAO,CAAC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C;EAAO;EAAO;EAAQ;CAAM,CAAC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAChH,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CAChG,4BAA4B,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS;AACjJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAA+C;AAOzE,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAXwC,EAAE,OAAO;EACjD,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,CAAC,CAAC,SAAS;EAChH,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2DAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"templates-list.mjs","names":[],"sources":["../../src/actions/templates-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 SpondyrTemplatesListInput = 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.object({\n Name: z.string().describe(\"The data field name used in the condition.\").nullable(),\n CompareValue: z.string().describe(\"The value(s) to compare against, newline-delimited if multiple.\").nullable(),\n CompareOperator: z.enum([\"=\", \">\", \"<\", \">=\", \"<=\", \"<>\"]).describe(\"Comparison operator for the condition.\").nullable(),\n LogicalOperator: z.enum([\"AND\", \"OR\"]).describe(\"Logical operator connecting this condition to others.\").nullable(),\n}).passthrough().describe(\"Summary of a condition defined for template selection.\");\nconst SpondyrTemplatesList_RecipientSummarySchema = z.object({\n Name: z.string().describe(\"The recipient's name or identifier.\").nullable(),\n DeliveryMethod: z.string().describe(\"The delivery method for this recipient (e.g., Email, Mail, Text, DocuSign, Fax, Destination).\").nullable(),\n}).passthrough().describe(\"Summary of a recipient configured for a template.\");\nconst SpondyrTemplatesList_TemplateItemSchema = z.object({\n Name: z.string().describe(\"The unique name of the template.\").nullable(),\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).\").nullable(),\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.\").nullable(),\n TransactionType: z.string().describe(\"The Transaction Type this template belongs to.\").nullable(),\n TemplateContentReferenceID: z.string().describe(\"Reference ID of the uploaded template content (use TemplateContent API to upload).\").nullable(),\n}).passthrough().describe(\"A template configured for a transaction type.\");\nexport const SpondyrTemplatesListOutput = 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.\").nullable(),\n ErrorMessage: z.string().describe(\"Error message when APIStatus is ERROR.\").nullable().optional(),\n}).passthrough().describe(\"Response containing all templates for a transaction type.\");\n\nexport const spondyrTemplatesList: AppAction<\n typeof SpondyrTemplatesListInput,\n typeof SpondyrTemplatesListOutput,\n typeof spondyr.credential\n> = 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":";;;;AAMA,MAAa,4BAA4B,EAAE,OAAO,EAChD,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,wJAAwJ,EAC/L,CAAC,CAAC,CAAC,SAAS,yEAAyE;AACrF,MAAM,8CAA8C,EAAE,OAAO;CAC3D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACjF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;CAC9G,iBAAiB,EAAE,KAAK;EAAC;EAAK;EAAK;EAAK;EAAM;EAAM;CAAI,CAAC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CACvH,iBAAiB,EAAE,KAAK,CAAC,OAAO,IAAI,CAAC,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;AACpH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAAwD;AAClF,MAAM,8CAA8C,EAAE,OAAO;CAC3D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC1E,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,SAAS;AAChJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAAmD;AAC7E,MAAM,0CAA0C,EAAE,OAAO;CACvD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACvE,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxI,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;CACtH,YAAY,EAAE,MAAM,2CAA2C,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzL,YAAY,EAAE,MAAM,2CAA2C,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClJ,aAAa,EAAE,KAAK;EAAC;EAAO;EAAO;EAAQ;CAAM,CAAC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAChH,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CAChG,4BAA4B,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS;AACjJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAA+C;AAOzE,MAAa,uBAIT,OAAO,0BAA0B;CACnC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAfwC,EAAE,OAAO;EACjD,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,CAAC,CAAC,SAAS;EAChH,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2DAWhB;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/transaction-type-get.ts
@@ -1 +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.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.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.\").nullable(),\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}).passthrough();\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,iCAAiCA,IAAAA,EAAE,OAAO,EACrD,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,EAC/G,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,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,CAAC,CAAC,SAAS;CAC3F,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,CAAC,CAAC,YAAY;AAEf,MAAa,4BAA4BC,eAAAA,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"transaction-type-get.cjs","names":["z","action"],"sources":["../../src/actions/transaction-type-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 SpondyrTransactionTypeGetInput = 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.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.\").nullable(),\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}).passthrough();\n\nexport const spondyrTransactionTypeGet: AppAction<\n typeof SpondyrTransactionTypeGetInput,\n typeof SpondyrTransactionTypeGetOutput,\n typeof spondyr.credential\n> = 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":";;;;AAMA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,EACrD,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,EAC/G,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,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,CAAC,CAAC,SAAS;CAC3F,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,CAAC,CAAC,YAAY;AAEf,MAAa,4BAITC,eAAAA,OAAO,gCAAgC;CACzC,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/transaction-type-get.d.ts
@@ -14,23 +16,7 @@ declare const SpondyrTransactionTypeGetOutput: z.ZodObject<{
14
16
  ErrorMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
17
  TemplateJSON: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
18
  }, z.core.$loose>;
17
- declare const spondyrTransactionTypeGet: import("@keystrokehq/action").WorkflowActionDefinition<{
18
- TransactionType: string;
19
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"spondyr", z.ZodObject<{
20
- connectionId: z.ZodString;
21
- entityId: z.ZodString;
22
- instanceId: z.ZodString;
23
- }, z.core.$strip>, z.ZodObject<{
24
- generic_api_key: z.ZodString;
25
- generic_token: z.ZodString;
26
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"spondyr", z.ZodObject<{
27
- connectionId: z.ZodString;
28
- entityId: z.ZodString;
29
- instanceId: z.ZodString;
30
- }, z.core.$strip>, z.ZodObject<{
31
- generic_api_key: z.ZodString;
32
- generic_token: z.ZodString;
33
- }, z.core.$strip>>]>;
19
+ declare const spondyrTransactionTypeGet: AppAction<typeof SpondyrTransactionTypeGetInput, typeof SpondyrTransactionTypeGetOutput, typeof spondyr.credential>;
34
20
  //#endregion
35
21
  export { spondyrTransactionTypeGet };
36
22
  //# sourceMappingURL=transaction-type-get.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"transaction-type-get.d.cts","names":[],"sources":["../../src/actions/transaction-type-get.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;cAG9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;cAQ/B,yBAAA,gCAAyB,wBAAA"}
1
+ {"version":3,"file":"transaction-type-get.d.cts","names":[],"sources":["../../src/actions/transaction-type-get.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;cAG9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;cAQ/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,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/transaction-type-get.d.ts
@@ -14,23 +16,7 @@ declare const SpondyrTransactionTypeGetOutput: z.ZodObject<{
14
16
  ErrorMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
17
  TemplateJSON: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
18
  }, z.core.$loose>;
17
- declare const spondyrTransactionTypeGet: import("@keystrokehq/action").WorkflowActionDefinition<{
18
- TransactionType: string;
19
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"spondyr", z.ZodObject<{
20
- connectionId: z.ZodString;
21
- entityId: z.ZodString;
22
- instanceId: z.ZodString;
23
- }, z.core.$strip>, z.ZodObject<{
24
- generic_api_key: z.ZodString;
25
- generic_token: z.ZodString;
26
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"spondyr", z.ZodObject<{
27
- connectionId: z.ZodString;
28
- entityId: z.ZodString;
29
- instanceId: z.ZodString;
30
- }, z.core.$strip>, z.ZodObject<{
31
- generic_api_key: z.ZodString;
32
- generic_token: z.ZodString;
33
- }, z.core.$strip>>]>;
19
+ declare const spondyrTransactionTypeGet: AppAction<typeof SpondyrTransactionTypeGetInput, typeof SpondyrTransactionTypeGetOutput, typeof spondyr.credential>;
34
20
  //#endregion
35
21
  export { spondyrTransactionTypeGet };
36
22
  //# sourceMappingURL=transaction-type-get.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"transaction-type-get.d.mts","names":[],"sources":["../../src/actions/transaction-type-get.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;cAG9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;cAQ/B,yBAAA,gCAAyB,wBAAA"}
1
+ {"version":3,"file":"transaction-type-get.d.mts","names":[],"sources":["../../src/actions/transaction-type-get.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;cAG9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;cAQ/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,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 spondyrTransactionTypeGet = action("SPONDYR_TRANSACTION_TYPE_GET", {
@@ -1 +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.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.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.\").nullable(),\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}).passthrough();\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,OAf4C,EAAE,OAAO,EACrD,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,EAC/G,CAAC,CAAC,CAAC,SAAS,2DAaH;CACP,QAb6C,EAAE,OAAO;EACtD,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,CAAC,CAAC,SAAS;EAC3F,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,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
1
+ {"version":3,"file":"transaction-type-get.mjs","names":[],"sources":["../../src/actions/transaction-type-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 SpondyrTransactionTypeGetInput = 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.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.\").nullable(),\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}).passthrough();\n\nexport const spondyrTransactionTypeGet: AppAction<\n typeof SpondyrTransactionTypeGetInput,\n typeof SpondyrTransactionTypeGetOutput,\n typeof spondyr.credential\n> = 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":";;;AAiBA,MAAa,4BAIT,OAAO,gCAAgC;CACzC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAnB4C,EAAE,OAAO,EACrD,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,EAC/G,CAAC,CAAC,CAAC,SAAS,2DAiBH;CACP,QAjB6C,EAAE,OAAO;EACtD,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,CAAC,CAAC,SAAS;EAC3F,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,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/transaction-type-update.ts
@@ -1 +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.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.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.\").nullable(),\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.\").nullable(),\n ErrorMessage: z.string().describe(\"Detailed error message explaining why the update failed. Only present when APIStatus is 'ERROR'.\").nullable().optional(),\n}).passthrough();\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,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,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,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,WAAWA,IAAAA,EAAE,KAAK,CAAC,MAAM,OAAO,CAAC,CAAC,CAAC,SAAS,uHAAuH,CAAC,CAAC,SAAS;CAC9K,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qJAAqJ,CAAC,CAAC,SAAS;CACjM,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kGAAkG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5J,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,+BAA+BC,eAAAA,OAAO,mCAAmC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"transaction-type-update.cjs","names":["z","action"],"sources":["../../src/actions/transaction-type-update.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 SpondyrTransactionTypeUpdateInput = 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.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.\").nullable(),\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.\").nullable(),\n ErrorMessage: z.string().describe(\"Detailed error message explaining why the update failed. Only present when APIStatus is 'ERROR'.\").nullable().optional(),\n}).passthrough();\n\nexport const spondyrTransactionTypeUpdate: AppAction<\n typeof SpondyrTransactionTypeUpdateInput,\n typeof SpondyrTransactionTypeUpdateOutput,\n typeof spondyr.credential\n> = 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":";;;;AAMA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,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,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,WAAWA,IAAAA,EAAE,KAAK,CAAC,MAAM,OAAO,CAAC,CAAC,CAAC,SAAS,uHAAuH,CAAC,CAAC,SAAS;CAC9K,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qJAAqJ,CAAC,CAAC,SAAS;CACjM,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kGAAkG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5J,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,+BAITC,eAAAA,OAAO,mCAAmC;CAC5C,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/transaction-type-update.d.ts
@@ -14,25 +16,7 @@ declare const SpondyrTransactionTypeUpdateOutput: z.ZodObject<{
14
16
  ReferenceID: z.ZodNullable<z.ZodString>;
15
17
  ErrorMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
18
  }, z.core.$loose>;
17
- declare const spondyrTransactionTypeUpdate: import("@keystrokehq/action").WorkflowActionDefinition<{
18
- Name: string;
19
- TemplateJSON: string;
20
- TransactionType: string;
21
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"spondyr", z.ZodObject<{
22
- connectionId: z.ZodString;
23
- entityId: z.ZodString;
24
- instanceId: z.ZodString;
25
- }, z.core.$strip>, z.ZodObject<{
26
- generic_api_key: z.ZodString;
27
- generic_token: z.ZodString;
28
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"spondyr", z.ZodObject<{
29
- connectionId: z.ZodString;
30
- entityId: z.ZodString;
31
- instanceId: z.ZodString;
32
- }, z.core.$strip>, z.ZodObject<{
33
- generic_api_key: z.ZodString;
34
- generic_token: z.ZodString;
35
- }, z.core.$strip>>]>;
19
+ declare const spondyrTransactionTypeUpdate: AppAction<typeof SpondyrTransactionTypeUpdateInput, typeof SpondyrTransactionTypeUpdateOutput, typeof spondyr.credential>;
36
20
  //#endregion
37
21
  export { spondyrTransactionTypeUpdate };
38
22
  //# sourceMappingURL=transaction-type-update.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"transaction-type-update.d.cts","names":[],"sources":["../../src/actions/transaction-type-update.ts"],"mappings":";;;cAIa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;cAKjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;;cAMlC,4BAAA,gCAA4B,wBAAA"}
1
+ {"version":3,"file":"transaction-type-update.d.cts","names":[],"sources":["../../src/actions/transaction-type-update.ts"],"mappings":";;;;;cAMa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;cAKjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;;cAMlC,4BAAA,EAA8B,SAAA,QAClC,iCAAA,SACA,kCAAA,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/transaction-type-update.d.ts
@@ -14,25 +16,7 @@ declare const SpondyrTransactionTypeUpdateOutput: z.ZodObject<{
14
16
  ReferenceID: z.ZodNullable<z.ZodString>;
15
17
  ErrorMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
18
  }, z.core.$loose>;
17
- declare const spondyrTransactionTypeUpdate: import("@keystrokehq/action").WorkflowActionDefinition<{
18
- Name: string;
19
- TemplateJSON: string;
20
- TransactionType: string;
21
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"spondyr", z.ZodObject<{
22
- connectionId: z.ZodString;
23
- entityId: z.ZodString;
24
- instanceId: z.ZodString;
25
- }, z.core.$strip>, z.ZodObject<{
26
- generic_api_key: z.ZodString;
27
- generic_token: z.ZodString;
28
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"spondyr", z.ZodObject<{
29
- connectionId: z.ZodString;
30
- entityId: z.ZodString;
31
- instanceId: z.ZodString;
32
- }, z.core.$strip>, z.ZodObject<{
33
- generic_api_key: z.ZodString;
34
- generic_token: z.ZodString;
35
- }, z.core.$strip>>]>;
19
+ declare const spondyrTransactionTypeUpdate: AppAction<typeof SpondyrTransactionTypeUpdateInput, typeof SpondyrTransactionTypeUpdateOutput, typeof spondyr.credential>;
36
20
  //#endregion
37
21
  export { spondyrTransactionTypeUpdate };
38
22
  //# sourceMappingURL=transaction-type-update.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"transaction-type-update.d.mts","names":[],"sources":["../../src/actions/transaction-type-update.ts"],"mappings":";;;cAIa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;cAKjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;;cAMlC,4BAAA,gCAA4B,wBAAA"}
1
+ {"version":3,"file":"transaction-type-update.d.mts","names":[],"sources":["../../src/actions/transaction-type-update.ts"],"mappings":";;;;;cAMa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;cAKjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;;cAMlC,4BAAA,EAA8B,SAAA,QAClC,iCAAA,SACA,kCAAA,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 spondyrTransactionTypeUpdate = action("SPONDYR_TRANSACTION_TYPE_UPDATE", {
@@ -1 +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.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.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.\").nullable(),\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.\").nullable(),\n ErrorMessage: z.string().describe(\"Detailed error message explaining why the update failed. Only present when APIStatus is 'ERROR'.\").nullable().optional(),\n}).passthrough();\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,OAf+C,EAAE,OAAO;EACxD,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,QAXgD,EAAE,OAAO;EACzD,WAAW,EAAE,KAAK,CAAC,MAAM,OAAO,CAAC,CAAC,CAAC,SAAS,uHAAuH,CAAC,CAAC,SAAS;EAC9K,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,qJAAqJ,CAAC,CAAC,SAAS;EACjM,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,kGAAkG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5J,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
1
+ {"version":3,"file":"transaction-type-update.mjs","names":[],"sources":["../../src/actions/transaction-type-update.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 SpondyrTransactionTypeUpdateInput = 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.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.\").nullable(),\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.\").nullable(),\n ErrorMessage: z.string().describe(\"Detailed error message explaining why the update failed. Only present when APIStatus is 'ERROR'.\").nullable().optional(),\n}).passthrough();\n\nexport const spondyrTransactionTypeUpdate: AppAction<\n typeof SpondyrTransactionTypeUpdateInput,\n typeof SpondyrTransactionTypeUpdateOutput,\n typeof spondyr.credential\n> = 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":";;;AAiBA,MAAa,+BAIT,OAAO,mCAAmC;CAC5C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAnB+C,EAAE,OAAO;EACxD,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,CAeS;CACP,QAfgD,EAAE,OAAO;EACzD,WAAW,EAAE,KAAK,CAAC,MAAM,OAAO,CAAC,CAAC,CAAC,SAAS,uHAAuH,CAAC,CAAC,SAAS;EAC9K,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,qJAAqJ,CAAC,CAAC,SAAS;EACjM,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,kGAAkG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5J,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
package/dist/app.cjs CHANGED
@@ -1,13 +1,14 @@
1
1
  let _keystrokehq_keystroke_app = require("@keystrokehq/keystroke/app");
2
2
  let zod = require("zod");
3
3
  //#region src/app.ts
4
+ const credential = {
5
+ generic_api_key: zod.z.string(),
6
+ generic_token: zod.z.string()
7
+ };
4
8
  const spondyr = (0, _keystrokehq_keystroke_app.defineApp)({
5
9
  slug: "spondyr",
6
10
  auth: "keystroke",
7
- credential: {
8
- generic_api_key: zod.z.string(),
9
- generic_token: zod.z.string()
10
- }
11
+ credential
11
12
  });
12
13
  //#endregion
13
14
  exports.spondyr = spondyr;
package/dist/app.cjs.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"app.cjs","names":["z"],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nexport const spondyr = defineApp({\n slug: \"spondyr\",\n auth: \"keystroke\",\n credential: {\n generic_api_key: z.string(),\n generic_token: z.string(),\n },\n});\n"],"mappings":";;;AAGA,MAAa,WAAA,GAAA,2BAAA,UAAA,CAAoB;CAC/B,MAAM;CACN,MAAM;CACN,YAAY;EACV,iBAAiBA,IAAAA,EAAE,OAAO;EAC1B,eAAeA,IAAAA,EAAE,OAAO;CAC1B;AACF,CAAC"}
1
+ {"version":3,"file":"app.cjs","names":["z"],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp, type KeystrokeApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nconst credential = {\n generic_api_key: z.string(),\n generic_token: z.string(),\n};\n\nexport const spondyr: KeystrokeApp<\"spondyr\", typeof credential> = defineApp({\n slug: \"spondyr\",\n auth: \"keystroke\",\n credential,\n});\n"],"mappings":";;;AAGA,MAAM,aAAa;CACjB,iBAAiBA,IAAAA,EAAE,OAAO;CAC1B,eAAeA,IAAAA,EAAE,OAAO;AAC1B;AAEA,MAAa,WAAA,GAAA,2BAAA,UAAA,CAAgE;CAC3E,MAAM;CACN,MAAM;CACN;AACF,CAAC"}
package/dist/app.d.cts CHANGED
@@ -1,14 +1,12 @@
1
+ import { KeystrokeApp } from "@keystrokehq/keystroke/app";
1
2
  import { z } from "zod";
2
3
 
3
4
  //#region src/app.d.ts
4
- declare const spondyr: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential<"spondyr", z.ZodObject<{
5
- connectionId: z.ZodString;
6
- entityId: z.ZodString;
7
- instanceId: z.ZodString;
8
- }, z.core.$strip>, z.ZodObject<{
5
+ declare const credential: {
9
6
  generic_api_key: z.ZodString;
10
7
  generic_token: z.ZodString;
11
- }, z.core.$strip>>>;
8
+ };
9
+ declare const spondyr: KeystrokeApp<"spondyr", typeof credential>;
12
10
  //#endregion
13
11
  export { spondyr };
14
12
  //# sourceMappingURL=app.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";;;cAGa,OAAA,6BAAO,GAAA,+BAAA,UAAA,YAAA,CAAA,CAAA,SAAA"}
1
+ {"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";;;;cAGM,UAAA;mBAGL,CAAA,CAAA,SAAA;iBAAA,CAAA,CAAA,SAAA;AAAA;AAAA,cAEY,OAAA,EAAS,YAAY,mBAAmB,UAAA"}
package/dist/app.d.mts CHANGED
@@ -1,14 +1,12 @@
1
+ import { KeystrokeApp } from "@keystrokehq/keystroke/app";
1
2
  import { z } from "zod";
2
3
 
3
4
  //#region src/app.d.ts
4
- declare const spondyr: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential<"spondyr", z.ZodObject<{
5
- connectionId: z.ZodString;
6
- entityId: z.ZodString;
7
- instanceId: z.ZodString;
8
- }, z.core.$strip>, z.ZodObject<{
5
+ declare const credential: {
9
6
  generic_api_key: z.ZodString;
10
7
  generic_token: z.ZodString;
11
- }, z.core.$strip>>>;
8
+ };
9
+ declare const spondyr: KeystrokeApp<"spondyr", typeof credential>;
12
10
  //#endregion
13
11
  export { spondyr };
14
12
  //# sourceMappingURL=app.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";;;cAGa,OAAA,6BAAO,GAAA,+BAAA,UAAA,YAAA,CAAA,CAAA,SAAA"}
1
+ {"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";;;;cAGM,UAAA;mBAGL,CAAA,CAAA,SAAA;iBAAA,CAAA,CAAA,SAAA;AAAA;AAAA,cAEY,OAAA,EAAS,YAAY,mBAAmB,UAAA"}
package/dist/app.mjs CHANGED
@@ -1,6 +1,5 @@
1
1
  import { defineApp } from "@keystrokehq/keystroke/app";
2
2
  import { z } from "zod";
3
- //#region src/app.ts
4
3
  const spondyr = defineApp({
5
4
  slug: "spondyr",
6
5
  auth: "keystroke",
package/dist/app.mjs.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nexport const spondyr = defineApp({\n slug: \"spondyr\",\n auth: \"keystroke\",\n credential: {\n generic_api_key: z.string(),\n generic_token: z.string(),\n },\n});\n"],"mappings":";;;AAGA,MAAa,UAAU,UAAU;CAC/B,MAAM;CACN,MAAM;CACN,YAAY;EACV,iBAAiB,EAAE,OAAO;EAC1B,eAAe,EAAE,OAAO;CAC1B;AACF,CAAC"}
1
+ {"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp, type KeystrokeApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nconst credential = {\n generic_api_key: z.string(),\n generic_token: z.string(),\n};\n\nexport const spondyr: KeystrokeApp<\"spondyr\", typeof credential> = defineApp({\n slug: \"spondyr\",\n auth: \"keystroke\",\n credential,\n});\n"],"mappings":";;AAQA,MAAa,UAAsD,UAAU;CAC3E,MAAM;CACN,MAAM;CACN;EAPA,iBAAiB,EAAE,OAAO;EAC1B,eAAe,EAAE,OAAO;CAMxB;AACF,CAAC"}
package/dist/index.d.cts CHANGED
@@ -1,3 +1,4 @@
1
+ import { spondyr } from "./app.cjs";
1
2
  import { spondyrConditionsList } from "./actions/conditions-list.cjs";
2
3
  import { spondyrCreateCondition } from "./actions/create-condition.cjs";
3
4
  import { spondyrCreateTransactionType } from "./actions/create-transaction-type.cjs";
@@ -19,6 +20,5 @@ import { spondyrTemplateGet } from "./actions/template-get.cjs";
19
20
  import { spondyrTemplatesList } from "./actions/templates-list.cjs";
20
21
  import { spondyrTransactionTypeGet } from "./actions/transaction-type-get.cjs";
21
22
  import { spondyrTransactionTypeUpdate } from "./actions/transaction-type-update.cjs";
22
- import { spondyr } from "./app.cjs";
23
23
  import { spondyrCatalog } from "./catalog.cjs";
24
24
  export { spondyr, spondyrCatalog, spondyrConditionsList, spondyrCreateCondition, spondyrCreateTransactionType, spondyrDeliverSpondyr, spondyrEventTypeUpdate, spondyrGetEventTypes, spondyrGetSpondyrStatus, spondyrGetTransactionTypes, spondyrRecipientDelete, spondyrRecipientGet, spondyrRecipientsList, spondyrSearchFilterCreate, spondyrSearchFilterDelete, spondyrSearchFilterGet, spondyrSearchFiltersList, spondyrSearchSpondyrs, spondyrSsoStub, spondyrTemplateGet, spondyrTemplatesList, spondyrTransactionTypeGet, spondyrTransactionTypeUpdate };
package/dist/index.d.mts CHANGED
@@ -1,3 +1,4 @@
1
+ import { spondyr } from "./app.mjs";
1
2
  import { spondyrConditionsList } from "./actions/conditions-list.mjs";
2
3
  import { spondyrCreateCondition } from "./actions/create-condition.mjs";
3
4
  import { spondyrCreateTransactionType } from "./actions/create-transaction-type.mjs";
@@ -19,6 +20,5 @@ import { spondyrTemplateGet } from "./actions/template-get.mjs";
19
20
  import { spondyrTemplatesList } from "./actions/templates-list.mjs";
20
21
  import { spondyrTransactionTypeGet } from "./actions/transaction-type-get.mjs";
21
22
  import { spondyrTransactionTypeUpdate } from "./actions/transaction-type-update.mjs";
22
- import { spondyr } from "./app.mjs";
23
23
  import { spondyrCatalog } from "./catalog.mjs";
24
24
  export { spondyr, spondyrCatalog, spondyrConditionsList, spondyrCreateCondition, spondyrCreateTransactionType, spondyrDeliverSpondyr, spondyrEventTypeUpdate, spondyrGetEventTypes, spondyrGetSpondyrStatus, spondyrGetTransactionTypes, spondyrRecipientDelete, spondyrRecipientGet, spondyrRecipientsList, spondyrSearchFilterCreate, spondyrSearchFilterDelete, spondyrSearchFilterGet, spondyrSearchFiltersList, spondyrSearchSpondyrs, spondyrSsoStub, spondyrTemplateGet, spondyrTemplatesList, spondyrTransactionTypeGet, spondyrTransactionTypeUpdate };