@keystrokehq/spondyr 0.1.2 → 0.1.4

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 (133) hide show
  1. package/dist/actions/conditions-list.cjs +2 -2
  2. package/dist/actions/conditions-list.cjs.map +1 -1
  3. package/dist/actions/conditions-list.d.cts +2 -2
  4. package/dist/actions/conditions-list.d.mts +2 -2
  5. package/dist/actions/conditions-list.mjs +2 -2
  6. package/dist/actions/conditions-list.mjs.map +1 -1
  7. package/dist/actions/create-condition.cjs +1 -1
  8. package/dist/actions/create-condition.cjs.map +1 -1
  9. package/dist/actions/create-condition.d.cts +1 -1
  10. package/dist/actions/create-condition.d.mts +1 -1
  11. package/dist/actions/create-condition.mjs +1 -1
  12. package/dist/actions/create-condition.mjs.map +1 -1
  13. package/dist/actions/create-transaction-type.cjs +1 -1
  14. package/dist/actions/create-transaction-type.cjs.map +1 -1
  15. package/dist/actions/create-transaction-type.d.cts +1 -1
  16. package/dist/actions/create-transaction-type.d.mts +1 -1
  17. package/dist/actions/create-transaction-type.mjs +1 -1
  18. package/dist/actions/create-transaction-type.mjs.map +1 -1
  19. package/dist/actions/deliver-spondyr.cjs +2 -2
  20. package/dist/actions/deliver-spondyr.cjs.map +1 -1
  21. package/dist/actions/deliver-spondyr.d.cts +3 -2
  22. package/dist/actions/deliver-spondyr.d.mts +3 -2
  23. package/dist/actions/deliver-spondyr.mjs +2 -2
  24. package/dist/actions/deliver-spondyr.mjs.map +1 -1
  25. package/dist/actions/event-type-update.cjs +1 -1
  26. package/dist/actions/event-type-update.cjs.map +1 -1
  27. package/dist/actions/event-type-update.d.cts +1 -1
  28. package/dist/actions/event-type-update.d.mts +1 -1
  29. package/dist/actions/event-type-update.mjs +1 -1
  30. package/dist/actions/event-type-update.mjs.map +1 -1
  31. package/dist/actions/get-event-types.cjs +2 -2
  32. package/dist/actions/get-event-types.cjs.map +1 -1
  33. package/dist/actions/get-event-types.d.cts +2 -2
  34. package/dist/actions/get-event-types.d.mts +2 -2
  35. package/dist/actions/get-event-types.mjs +2 -2
  36. package/dist/actions/get-event-types.mjs.map +1 -1
  37. package/dist/actions/get-spondyr-status.cjs +4 -4
  38. package/dist/actions/get-spondyr-status.cjs.map +1 -1
  39. package/dist/actions/get-spondyr-status.d.cts +4 -4
  40. package/dist/actions/get-spondyr-status.d.mts +4 -4
  41. package/dist/actions/get-spondyr-status.mjs +4 -4
  42. package/dist/actions/get-spondyr-status.mjs.map +1 -1
  43. package/dist/actions/get-transaction-types.cjs +2 -2
  44. package/dist/actions/get-transaction-types.cjs.map +1 -1
  45. package/dist/actions/get-transaction-types.d.cts +2 -2
  46. package/dist/actions/get-transaction-types.d.mts +2 -2
  47. package/dist/actions/get-transaction-types.mjs +2 -2
  48. package/dist/actions/get-transaction-types.mjs.map +1 -1
  49. package/dist/actions/recipient-delete.cjs +1 -1
  50. package/dist/actions/recipient-delete.cjs.map +1 -1
  51. package/dist/actions/recipient-delete.d.cts +1 -1
  52. package/dist/actions/recipient-delete.d.mts +1 -1
  53. package/dist/actions/recipient-delete.mjs +1 -1
  54. package/dist/actions/recipient-delete.mjs.map +1 -1
  55. package/dist/actions/recipient-get.cjs +1 -1
  56. package/dist/actions/recipient-get.cjs.map +1 -1
  57. package/dist/actions/recipient-get.d.cts +1 -1
  58. package/dist/actions/recipient-get.d.mts +1 -1
  59. package/dist/actions/recipient-get.mjs +1 -1
  60. package/dist/actions/recipient-get.mjs.map +1 -1
  61. package/dist/actions/recipients-list.cjs +2 -2
  62. package/dist/actions/recipients-list.cjs.map +1 -1
  63. package/dist/actions/recipients-list.d.cts +2 -2
  64. package/dist/actions/recipients-list.d.mts +2 -2
  65. package/dist/actions/recipients-list.mjs +2 -2
  66. package/dist/actions/recipients-list.mjs.map +1 -1
  67. package/dist/actions/search-filter-create.cjs +1 -1
  68. package/dist/actions/search-filter-create.cjs.map +1 -1
  69. package/dist/actions/search-filter-create.d.cts +1 -1
  70. package/dist/actions/search-filter-create.d.mts +1 -1
  71. package/dist/actions/search-filter-create.mjs +1 -1
  72. package/dist/actions/search-filter-create.mjs.map +1 -1
  73. package/dist/actions/search-filter-delete.cjs +1 -1
  74. package/dist/actions/search-filter-delete.cjs.map +1 -1
  75. package/dist/actions/search-filter-delete.d.cts +1 -1
  76. package/dist/actions/search-filter-delete.d.mts +1 -1
  77. package/dist/actions/search-filter-delete.mjs +1 -1
  78. package/dist/actions/search-filter-delete.mjs.map +1 -1
  79. package/dist/actions/search-filter-get.cjs +1 -1
  80. package/dist/actions/search-filter-get.cjs.map +1 -1
  81. package/dist/actions/search-filter-get.d.cts +1 -1
  82. package/dist/actions/search-filter-get.d.mts +1 -1
  83. package/dist/actions/search-filter-get.mjs +1 -1
  84. package/dist/actions/search-filter-get.mjs.map +1 -1
  85. package/dist/actions/search-filters-list.cjs +2 -2
  86. package/dist/actions/search-filters-list.cjs.map +1 -1
  87. package/dist/actions/search-filters-list.d.cts +2 -2
  88. package/dist/actions/search-filters-list.d.mts +2 -2
  89. package/dist/actions/search-filters-list.mjs +2 -2
  90. package/dist/actions/search-filters-list.mjs.map +1 -1
  91. package/dist/actions/search-spondyrs.cjs +5 -5
  92. package/dist/actions/search-spondyrs.cjs.map +1 -1
  93. package/dist/actions/search-spondyrs.d.cts +5 -5
  94. package/dist/actions/search-spondyrs.d.mts +5 -5
  95. package/dist/actions/search-spondyrs.mjs +5 -5
  96. package/dist/actions/search-spondyrs.mjs.map +1 -1
  97. package/dist/actions/sso-stub.cjs +1 -1
  98. package/dist/actions/sso-stub.cjs.map +1 -1
  99. package/dist/actions/sso-stub.d.cts +3 -3
  100. package/dist/actions/sso-stub.d.mts +3 -3
  101. package/dist/actions/sso-stub.mjs +1 -1
  102. package/dist/actions/sso-stub.mjs.map +1 -1
  103. package/dist/actions/template-get.cjs +4 -4
  104. package/dist/actions/template-get.cjs.map +1 -1
  105. package/dist/actions/template-get.d.cts +5 -5
  106. package/dist/actions/template-get.d.mts +5 -5
  107. package/dist/actions/template-get.mjs +4 -4
  108. package/dist/actions/template-get.mjs.map +1 -1
  109. package/dist/actions/templates-list.cjs +4 -4
  110. package/dist/actions/templates-list.cjs.map +1 -1
  111. package/dist/actions/templates-list.d.cts +4 -4
  112. package/dist/actions/templates-list.d.mts +4 -4
  113. package/dist/actions/templates-list.mjs +4 -4
  114. package/dist/actions/templates-list.mjs.map +1 -1
  115. package/dist/actions/transaction-type-get.cjs +1 -1
  116. package/dist/actions/transaction-type-get.cjs.map +1 -1
  117. package/dist/actions/transaction-type-get.d.cts +1 -1
  118. package/dist/actions/transaction-type-get.d.mts +1 -1
  119. package/dist/actions/transaction-type-get.mjs +1 -1
  120. package/dist/actions/transaction-type-get.mjs.map +1 -1
  121. package/dist/actions/transaction-type-update.cjs +1 -1
  122. package/dist/actions/transaction-type-update.cjs.map +1 -1
  123. package/dist/actions/transaction-type-update.d.cts +1 -1
  124. package/dist/actions/transaction-type-update.d.mts +1 -1
  125. package/dist/actions/transaction-type-update.mjs +1 -1
  126. package/dist/actions/transaction-type-update.mjs.map +1 -1
  127. package/dist/catalog.cjs +2 -2
  128. package/dist/catalog.cjs.map +1 -1
  129. package/dist/catalog.d.cts +2 -2
  130. package/dist/catalog.d.mts +2 -2
  131. package/dist/catalog.mjs +2 -2
  132. package/dist/catalog.mjs.map +1 -1
  133. package/package.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"sso-stub.mjs","names":[],"sources":["../../src/actions/sso-stub.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpondyrSsoStubInput = z.object({\n Role: z.enum([\"Owner\", \"Integrator\", \"Editor\", \"Tenant User\"]).describe(\"Stub user's permissions. One of: Owner, Integrator, Editor, Tenant User.\"),\n LastName: z.string().describe(\"SSO user's last name (URL-encoded).\"),\n TimeZone: z.string().describe(\"Display timezone (IANA/Windows name). Defaults to UTC if omitted or invalid.\").optional(),\n FirstName: z.string().describe(\"SSO user's first name (URL-encoded).\"),\n TenantToken: z.string().describe(\"Tenant token for multi-tenant applications.\").optional(),\n ApplicationUserID: z.string().describe(\"Your system's user identifier for the SSO user (URL-encoded).\"),\n}).describe(\"Request parameters for creating a one-time SSO user stub in Spondyr.\");\nexport const SpondyrSsoStubOutput = z.object({\n APIStatus: z.enum([\"OK\", \"ERROR\"]).describe(\"OK if successful; ERROR otherwise.\").nullable(),\n UserToken: z.string().describe(\"One-time token for redirecting or embedding the user into Spondyr.\").nullable(),\n ErrorMessage: z.string().describe(\"Error detail if APIStatus is ERROR.\").nullable().optional(),\n}).describe(\"Response schema for creating a one-time SSO user stub.\");\n\nexport const spondyrSsoStub = action(\"SPONDYR_SSO_STUB\", {\n slug: \"spondyr-sso-stub\",\n name: \"Create Spondyr SSO stub\",\n description: \"Tool to create a one-time SSO user stub in Spondyr. Use after application authentication to generate a temporary SSO token for embedding or redirecting users.\",\n input: SpondyrSsoStubInput,\n output: SpondyrSsoStubOutput,\n});\n"],"mappings":";;AAkBA,MAAa,iBAAiB,OAAO,oBAAoB;CACvD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlBiC,EAAE,OAAO;EAC1C,MAAM,EAAE,KAAK;GAAC;GAAS;GAAc;GAAU;EAAa,CAAC,CAAC,CAAC,SAAS,0EAA0E;EAClJ,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;EACnE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;EACvH,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;EACrE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;EACzF,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D;CACxG,CAAC,CAAC,CAAC,SAAS,sEAWH;CACP,QAXkC,EAAE,OAAO;EAC3C,WAAW,EAAE,KAAK,CAAC,MAAM,OAAO,CAAC,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;EAC3F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;EAC9G,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,CAAC,CAAC,CAAC,SAAS,wDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"sso-stub.mjs","names":[],"sources":["../../src/actions/sso-stub.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpondyrSsoStubInput = z.object({\n Role: z.enum([\"Owner\", \"Integrator\", \"Editor\", \"Tenant User\"]).describe(\"Stub user's permissions. One of: Owner, Integrator, Editor, Tenant User.\"),\n LastName: z.string().describe(\"SSO user's last name (URL-encoded).\"),\n TimeZone: z.string().describe(\"Display timezone (IANA/Windows name). Defaults to UTC if omitted or invalid.\").optional(),\n FirstName: z.string().describe(\"SSO user's first name (URL-encoded).\"),\n TenantToken: z.string().describe(\"Tenant token for multi-tenant applications.\").optional(),\n ApplicationUserID: z.string().describe(\"Your system's user identifier for the SSO user (URL-encoded).\"),\n}).describe(\"Request parameters for creating a one-time SSO user stub in Spondyr.\");\nexport const SpondyrSsoStubOutput = z.object({\n APIStatus: z.enum([\"OK\", \"ERROR\"]).describe(\"OK if successful; ERROR otherwise.\").nullable(),\n UserToken: z.string().describe(\"One-time token for redirecting or embedding the user into Spondyr.\").nullable(),\n ErrorMessage: z.string().describe(\"Error detail if APIStatus is ERROR.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for creating a one-time SSO user stub.\");\n\nexport const spondyrSsoStub = action(\"SPONDYR_SSO_STUB\", {\n slug: \"spondyr-sso-stub\",\n name: \"Create Spondyr SSO stub\",\n description: \"Tool to create a one-time SSO user stub in Spondyr. Use after application authentication to generate a temporary SSO token for embedding or redirecting users.\",\n input: SpondyrSsoStubInput,\n output: SpondyrSsoStubOutput,\n});\n"],"mappings":";;AAkBA,MAAa,iBAAiB,OAAO,oBAAoB;CACvD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlBiC,EAAE,OAAO;EAC1C,MAAM,EAAE,KAAK;GAAC;GAAS;GAAc;GAAU;EAAa,CAAC,CAAC,CAAC,SAAS,0EAA0E;EAClJ,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;EACnE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;EACvH,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;EACrE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;EACzF,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D;CACxG,CAAC,CAAC,CAAC,SAAS,sEAWH;CACP,QAXkC,EAAE,OAAO;EAC3C,WAAW,EAAE,KAAK,CAAC,MAAM,OAAO,CAAC,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;EAC3F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;EAC9G,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAOhB;AACV,CAAC"}
@@ -17,7 +17,7 @@ const SpondyrTemplateGet_TemplateGetResponseConditionSchema = zod.z.object({
17
17
  "<>"
18
18
  ]).describe("Comparison operator for the condition.").nullable(),
19
19
  LogicalOperator: zod.z.enum(["AND", "OR"]).describe("Logical operator for the condition.").nullable()
20
- });
20
+ }).passthrough();
21
21
  const SpondyrTemplateGet_TemplateGetResponseSignerSchema = zod.z.object({
22
22
  Name: zod.z.string().describe("The name of the signer.").nullable(),
23
23
  Role: zod.z.enum([
@@ -30,7 +30,7 @@ const SpondyrTemplateGet_TemplateGetResponseSignerSchema = zod.z.object({
30
30
  "Intermediary"
31
31
  ]).describe("The role of the signer.").nullable(),
32
32
  Email: zod.z.string().describe("The email address of the signer.").nullable()
33
- });
33
+ }).passthrough();
34
34
  const SpondyrTemplateGet_TemplateGetResponseRecipientSchema = zod.z.object({
35
35
  Name: zod.z.string().describe("The recipient's name.").nullable(),
36
36
  Signers: zod.z.array(SpondyrTemplateGet_TemplateGetResponseSignerSchema).describe("Optional list of signers when delivery method is DocuSign.").nullable().optional(),
@@ -46,7 +46,7 @@ const SpondyrTemplateGet_TemplateGetResponseRecipientSchema = zod.z.object({
46
46
  MailFromAddress1: zod.z.string().describe("Optional mail from address1 when delivery method is Mail.").nullable().optional(),
47
47
  MailFromAddress2: zod.z.string().describe("Optional mail from address2 when delivery method is Mail.").nullable().optional(),
48
48
  DestinationFolder: zod.z.string().describe("Optional destination folder for destination recipients.").nullable().optional()
49
- });
49
+ }).passthrough();
50
50
  const SpondyrTemplateGetOutput = zod.z.object({
51
51
  Name: zod.z.string().describe("The name of the Template.").nullable(),
52
52
  Searches: zod.z.array(zod.z.string()).describe("Names of search filters associated with this template for document retrieval and organization."),
@@ -64,7 +64,7 @@ const SpondyrTemplateGetOutput = zod.z.object({
64
64
  TemplateContent: zod.z.string().describe("Base64-encoded template content (the actual document/file content).").nullable(),
65
65
  TransactionType: zod.z.string().describe("The Transaction Type name this Template is for.").nullable(),
66
66
  TemplateContentReferenceID: zod.z.string().describe("Unique reference ID for the uploaded template content file. Use this ID when generating correspondence.").nullable()
67
- });
67
+ }).passthrough();
68
68
  const spondyrTemplateGet = require_action.action("SPONDYR_TEMPLATE_GET", {
69
69
  slug: "spondyr-template-get",
70
70
  name: "Get Template",
@@ -1 +1 @@
1
- {"version":3,"file":"template-get.cjs","names":["z","action"],"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});\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});\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});\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});\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,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4IAA4I;CAC1K,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4IAA4I;AACnL,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAM,wDAAwDA,IAAAA,EAAE,OAAO;CACrE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACjE,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;CAC7G,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,qCAAqC,CAAC,CAAC,SAAS;AAClG,CAAC;AACD,MAAM,qDAAqDA,IAAAA,EAAE,OAAO;CAClE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CAC9D,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAU;EAAS;EAAM;EAAsB;EAAU;EAAoB;CAAc,CAAC,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CACzJ,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;AAC1E,CAAC;AACD,MAAM,wDAAwDA,IAAAA,EAAE,OAAO;CACrE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CAC5D,SAASA,IAAAA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AAC;AACD,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAChE,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gGAAgG;CACvI,WAAWA,IAAAA,EAAE,KAAK,CAAC,MAAM,OAAO,CAAC,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC3F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS;CAClI,YAAYA,IAAAA,EAAE,MAAM,qDAAqD,CAAC,CAAC,SAAS,uIAAuI;CAC3N,YAAYA,IAAAA,EAAE,MAAM,qDAAqD,CAAC,CAAC,SAAS,iIAAiI;CACrN,aAAaA,IAAAA,EAAE,KAAK;EAAC;EAAO;EAAO;EAAQ;CAAM,CAAC,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;CAChJ,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;CACrH,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CACjG,4BAA4BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yGAAyG,CAAC,CAAC,SAAS;AACtK,CAAC;AAED,MAAa,qBAAqBC,eAAAA,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"template-get.cjs","names":["z","action"],"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,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4IAA4I;CAC1K,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4IAA4I;AACnL,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAM,wDAAwDA,IAAAA,EAAE,OAAO;CACrE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACjE,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;CAC7G,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,qCAAqC,CAAC,CAAC,SAAS;AAClG,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,qDAAqDA,IAAAA,EAAE,OAAO;CAClE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CAC9D,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAU;EAAS;EAAM;EAAsB;EAAU;EAAoB;CAAc,CAAC,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CACzJ,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAA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B;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -28,22 +28,22 @@ declare const SpondyrTemplateGetOutput: z.ZodObject<{
28
28
  AND: "AND";
29
29
  OR: "OR";
30
30
  }>>;
31
- }, z.core.$strip>>;
31
+ }, z.core.$loose>>;
32
32
  Recipients: z.ZodArray<z.ZodObject<{
33
33
  Name: z.ZodNullable<z.ZodString>;
34
34
  Signers: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
35
35
  Name: z.ZodNullable<z.ZodString>;
36
36
  Role: z.ZodNullable<z.ZodEnum<{
37
+ Editor: "Editor";
37
38
  Signer: "Signer";
38
39
  Agent: "Agent";
39
40
  CC: "CC";
40
41
  "Certified Delivery": "Certified Delivery";
41
- Editor: "Editor";
42
42
  "In Person Signer": "In Person Signer";
43
43
  Intermediary: "Intermediary";
44
44
  }>>;
45
45
  Email: z.ZodNullable<z.ZodString>;
46
- }, z.core.$strip>>>>;
46
+ }, z.core.$loose>>>>;
47
47
  TextBody: z.ZodOptional<z.ZodNullable<z.ZodString>>;
48
48
  EmailBody: z.ZodOptional<z.ZodNullable<z.ZodString>>;
49
49
  MailFromZip: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -56,7 +56,7 @@ declare const SpondyrTemplateGetOutput: z.ZodObject<{
56
56
  MailFromAddress1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
57
57
  MailFromAddress2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
58
58
  DestinationFolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
59
- }, z.core.$strip>>;
59
+ }, z.core.$loose>>;
60
60
  ContentType: z.ZodNullable<z.ZodEnum<{
61
61
  PDF: "PDF";
62
62
  DOC: "DOC";
@@ -67,7 +67,7 @@ declare const SpondyrTemplateGetOutput: z.ZodObject<{
67
67
  TemplateContent: z.ZodNullable<z.ZodString>;
68
68
  TransactionType: z.ZodNullable<z.ZodString>;
69
69
  TemplateContentReferenceID: z.ZodNullable<z.ZodString>;
70
- }, z.core.$strip>;
70
+ }, z.core.$loose>;
71
71
  declare const spondyrTemplateGet: import("@keystrokehq/action").WorkflowActionDefinition<{
72
72
  Template: string;
73
73
  TransactionType: string;
@@ -28,22 +28,22 @@ declare const SpondyrTemplateGetOutput: z.ZodObject<{
28
28
  AND: "AND";
29
29
  OR: "OR";
30
30
  }>>;
31
- }, z.core.$strip>>;
31
+ }, z.core.$loose>>;
32
32
  Recipients: z.ZodArray<z.ZodObject<{
33
33
  Name: z.ZodNullable<z.ZodString>;
34
34
  Signers: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
35
35
  Name: z.ZodNullable<z.ZodString>;
36
36
  Role: z.ZodNullable<z.ZodEnum<{
37
+ Editor: "Editor";
37
38
  Signer: "Signer";
38
39
  Agent: "Agent";
39
40
  CC: "CC";
40
41
  "Certified Delivery": "Certified Delivery";
41
- Editor: "Editor";
42
42
  "In Person Signer": "In Person Signer";
43
43
  Intermediary: "Intermediary";
44
44
  }>>;
45
45
  Email: z.ZodNullable<z.ZodString>;
46
- }, z.core.$strip>>>>;
46
+ }, z.core.$loose>>>>;
47
47
  TextBody: z.ZodOptional<z.ZodNullable<z.ZodString>>;
48
48
  EmailBody: z.ZodOptional<z.ZodNullable<z.ZodString>>;
49
49
  MailFromZip: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -56,7 +56,7 @@ declare const SpondyrTemplateGetOutput: z.ZodObject<{
56
56
  MailFromAddress1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
57
57
  MailFromAddress2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
58
58
  DestinationFolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
59
- }, z.core.$strip>>;
59
+ }, z.core.$loose>>;
60
60
  ContentType: z.ZodNullable<z.ZodEnum<{
61
61
  PDF: "PDF";
62
62
  DOC: "DOC";
@@ -67,7 +67,7 @@ declare const SpondyrTemplateGetOutput: z.ZodObject<{
67
67
  TemplateContent: z.ZodNullable<z.ZodString>;
68
68
  TransactionType: z.ZodNullable<z.ZodString>;
69
69
  TemplateContentReferenceID: z.ZodNullable<z.ZodString>;
70
- }, z.core.$strip>;
70
+ }, z.core.$loose>;
71
71
  declare const spondyrTemplateGet: import("@keystrokehq/action").WorkflowActionDefinition<{
72
72
  Template: string;
73
73
  TransactionType: string;
@@ -17,7 +17,7 @@ const SpondyrTemplateGet_TemplateGetResponseConditionSchema = z.object({
17
17
  "<>"
18
18
  ]).describe("Comparison operator for the condition.").nullable(),
19
19
  LogicalOperator: z.enum(["AND", "OR"]).describe("Logical operator for the condition.").nullable()
20
- });
20
+ }).passthrough();
21
21
  const SpondyrTemplateGet_TemplateGetResponseSignerSchema = z.object({
22
22
  Name: z.string().describe("The name of the signer.").nullable(),
23
23
  Role: z.enum([
@@ -30,7 +30,7 @@ const SpondyrTemplateGet_TemplateGetResponseSignerSchema = z.object({
30
30
  "Intermediary"
31
31
  ]).describe("The role of the signer.").nullable(),
32
32
  Email: z.string().describe("The email address of the signer.").nullable()
33
- });
33
+ }).passthrough();
34
34
  const SpondyrTemplateGet_TemplateGetResponseRecipientSchema = z.object({
35
35
  Name: z.string().describe("The recipient's name.").nullable(),
36
36
  Signers: z.array(SpondyrTemplateGet_TemplateGetResponseSignerSchema).describe("Optional list of signers when delivery method is DocuSign.").nullable().optional(),
@@ -46,7 +46,7 @@ const SpondyrTemplateGet_TemplateGetResponseRecipientSchema = z.object({
46
46
  MailFromAddress1: z.string().describe("Optional mail from address1 when delivery method is Mail.").nullable().optional(),
47
47
  MailFromAddress2: z.string().describe("Optional mail from address2 when delivery method is Mail.").nullable().optional(),
48
48
  DestinationFolder: z.string().describe("Optional destination folder for destination recipients.").nullable().optional()
49
- });
49
+ }).passthrough();
50
50
  const spondyrTemplateGet = action("SPONDYR_TEMPLATE_GET", {
51
51
  slug: "spondyr-template-get",
52
52
  name: "Get Template",
@@ -69,7 +69,7 @@ const spondyrTemplateGet = action("SPONDYR_TEMPLATE_GET", {
69
69
  TemplateContent: z.string().describe("Base64-encoded template content (the actual document/file content).").nullable(),
70
70
  TransactionType: z.string().describe("The Transaction Type name this Template is for.").nullable(),
71
71
  TemplateContentReferenceID: z.string().describe("Unique reference ID for the uploaded template content file. Use this ID when generating correspondence.").nullable()
72
- })
72
+ }).passthrough()
73
73
  });
74
74
  //#endregion
75
75
  export { spondyrTemplateGet };
@@ -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});\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});\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});\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});\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,CAAC,CAAC,SAAS;CACvH,iBAAiB,EAAE,KAAK,CAAC,OAAO,IAAI,CAAC,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;AAClG,CAAC;AACD,MAAM,qDAAqD,EAAE,OAAO;CAClE,MAAM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,CAAC"}
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,CAAC,CAAC,SAAS;CACvH,iBAAiB,EAAE,KAAK,CAAC,OAAO,IAAI,CAAC,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;AAClG,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,qDAAqD,EAAE,OAAO;CAClE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CAC9D,MAAM,EAAE,KAAK;EAAC;EAAU;EAAS;EAAM;EAAsB;EAAU;EAAoB;CAAc,CAAC,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CACzJ,OAAO,EAAE,OAAO,CAAC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EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxH,CAAC,CAAC,CAAC,YAAY;AAef,MAAa,qBAAqB,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAnBsC,EAAE,OAAO;EAC/C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;EAChE,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gGAAgG;EACvI,WAAW,EAAE,KAAK,CAAC,MAAM,OAAO,CAAC,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;EAC3F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS;EAClI,YAAY,EAAE,MAAM,qDAAqD,CAAC,CAAC,SAAS,uIAAuI;EAC3N,YAAY,EAAE,MAAM,qDAAqD,CAAC,CAAC,SAAS,iIAAiI;EACrN,aAAa,EAAE,KAAK;GAAC;GAAO;GAAO;GAAQ;EAAM,CAAC,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;EAChJ,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5F,iBAAiB,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"}
@@ -14,11 +14,11 @@ const SpondyrTemplatesList_ConditionSummarySchema = zod.z.object({
14
14
  "<>"
15
15
  ]).describe("Comparison operator for the condition.").nullable(),
16
16
  LogicalOperator: zod.z.enum(["AND", "OR"]).describe("Logical operator connecting this condition to others.").nullable()
17
- }).describe("Summary of a condition defined for template selection.");
17
+ }).passthrough().describe("Summary of a condition defined for template selection.");
18
18
  const SpondyrTemplatesList_RecipientSummarySchema = zod.z.object({
19
19
  Name: zod.z.string().describe("The recipient's name or identifier.").nullable(),
20
20
  DeliveryMethod: zod.z.string().describe("The delivery method for this recipient (e.g., Email, Mail, Text, DocuSign, Fax, Destination).").nullable()
21
- }).describe("Summary of a recipient configured for a template.");
21
+ }).passthrough().describe("Summary of a recipient configured for a template.");
22
22
  const SpondyrTemplatesList_TemplateItemSchema = zod.z.object({
23
23
  Name: zod.z.string().describe("The unique name of the template.").nullable(),
24
24
  Searches: zod.z.array(zod.z.string()).describe("Search filter names associated with this template for document retrieval.").nullable().optional(),
@@ -33,12 +33,12 @@ const SpondyrTemplatesList_TemplateItemSchema = zod.z.object({
33
33
  ]).describe("Content type of the template document.").nullable(),
34
34
  TransactionType: zod.z.string().describe("The Transaction Type this template belongs to.").nullable(),
35
35
  TemplateContentReferenceID: zod.z.string().describe("Reference ID of the uploaded template content (use TemplateContent API to upload).").nullable()
36
- }).describe("A template configured for a transaction type.");
36
+ }).passthrough().describe("A template configured for a transaction type.");
37
37
  const SpondyrTemplatesListOutput = zod.z.object({
38
38
  Data: zod.z.array(SpondyrTemplatesList_TemplateItemSchema).describe("List of templates configured for the specified transaction type.").nullable().optional(),
39
39
  APIStatus: zod.z.enum(["OK", "ERROR"]).describe("API response status: OK if successful, ERROR otherwise.").nullable(),
40
40
  ErrorMessage: zod.z.string().describe("Error message when APIStatus is ERROR.").nullable().optional()
41
- }).describe("Response containing all templates for a transaction type.");
41
+ }).passthrough().describe("Response containing all templates for a transaction type.");
42
42
  const spondyrTemplatesList = require_action.action("SPONDYR_TEMPLATES_LIST", {
43
43
  slug: "spondyr-templates-list",
44
44
  name: "List Templates",
@@ -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}).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}).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}).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}).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,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,SAAS,wDAAwD;AACpE,MAAM,8CAA8CA,IAAAA,EAAE,OAAO;CAC3D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,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,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClG,CAAC,CAAC,CAAC,SAAS,2DAA2D;AAEvE,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 { 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,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;CAC9G,iBAAiBA,IAAAA,EAAE,KAAK;EAAC;EAAK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A,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"}
@@ -24,11 +24,11 @@ declare const SpondyrTemplatesListOutput: z.ZodObject<{
24
24
  AND: "AND";
25
25
  OR: "OR";
26
26
  }>>;
27
- }, z.core.$strip>>>>;
27
+ }, z.core.$loose>>>>;
28
28
  Recipients: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
29
29
  Name: z.ZodNullable<z.ZodString>;
30
30
  DeliveryMethod: z.ZodNullable<z.ZodString>;
31
- }, z.core.$strip>>>>;
31
+ }, z.core.$loose>>>>;
32
32
  ContentType: z.ZodNullable<z.ZodEnum<{
33
33
  PDF: "PDF";
34
34
  DOC: "DOC";
@@ -37,13 +37,13 @@ declare const SpondyrTemplatesListOutput: z.ZodObject<{
37
37
  }>>;
38
38
  TransactionType: z.ZodNullable<z.ZodString>;
39
39
  TemplateContentReferenceID: z.ZodNullable<z.ZodString>;
40
- }, z.core.$strip>>>>;
40
+ }, z.core.$loose>>>>;
41
41
  APIStatus: z.ZodNullable<z.ZodEnum<{
42
42
  OK: "OK";
43
43
  ERROR: "ERROR";
44
44
  }>>;
45
45
  ErrorMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
46
- }, z.core.$strip>;
46
+ }, z.core.$loose>;
47
47
  declare const spondyrTemplatesList: import("@keystrokehq/action").WorkflowActionDefinition<{
48
48
  TransactionType: string;
49
49
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
@@ -24,11 +24,11 @@ declare const SpondyrTemplatesListOutput: z.ZodObject<{
24
24
  AND: "AND";
25
25
  OR: "OR";
26
26
  }>>;
27
- }, z.core.$strip>>>>;
27
+ }, z.core.$loose>>>>;
28
28
  Recipients: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
29
29
  Name: z.ZodNullable<z.ZodString>;
30
30
  DeliveryMethod: z.ZodNullable<z.ZodString>;
31
- }, z.core.$strip>>>>;
31
+ }, z.core.$loose>>>>;
32
32
  ContentType: z.ZodNullable<z.ZodEnum<{
33
33
  PDF: "PDF";
34
34
  DOC: "DOC";
@@ -37,13 +37,13 @@ declare const SpondyrTemplatesListOutput: z.ZodObject<{
37
37
  }>>;
38
38
  TransactionType: z.ZodNullable<z.ZodString>;
39
39
  TemplateContentReferenceID: z.ZodNullable<z.ZodString>;
40
- }, z.core.$strip>>>>;
40
+ }, z.core.$loose>>>>;
41
41
  APIStatus: z.ZodNullable<z.ZodEnum<{
42
42
  OK: "OK";
43
43
  ERROR: "ERROR";
44
44
  }>>;
45
45
  ErrorMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
46
- }, z.core.$strip>;
46
+ }, z.core.$loose>;
47
47
  declare const spondyrTemplatesList: import("@keystrokehq/action").WorkflowActionDefinition<{
48
48
  TransactionType: string;
49
49
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
@@ -14,11 +14,11 @@ const SpondyrTemplatesList_ConditionSummarySchema = z.object({
14
14
  "<>"
15
15
  ]).describe("Comparison operator for the condition.").nullable(),
16
16
  LogicalOperator: z.enum(["AND", "OR"]).describe("Logical operator connecting this condition to others.").nullable()
17
- }).describe("Summary of a condition defined for template selection.");
17
+ }).passthrough().describe("Summary of a condition defined for template selection.");
18
18
  const SpondyrTemplatesList_RecipientSummarySchema = z.object({
19
19
  Name: z.string().describe("The recipient's name or identifier.").nullable(),
20
20
  DeliveryMethod: z.string().describe("The delivery method for this recipient (e.g., Email, Mail, Text, DocuSign, Fax, Destination).").nullable()
21
- }).describe("Summary of a recipient configured for a template.");
21
+ }).passthrough().describe("Summary of a recipient configured for a template.");
22
22
  const SpondyrTemplatesList_TemplateItemSchema = z.object({
23
23
  Name: z.string().describe("The unique name of the template.").nullable(),
24
24
  Searches: z.array(z.string()).describe("Search filter names associated with this template for document retrieval.").nullable().optional(),
@@ -33,7 +33,7 @@ const SpondyrTemplatesList_TemplateItemSchema = z.object({
33
33
  ]).describe("Content type of the template document.").nullable(),
34
34
  TransactionType: z.string().describe("The Transaction Type this template belongs to.").nullable(),
35
35
  TemplateContentReferenceID: z.string().describe("Reference ID of the uploaded template content (use TemplateContent API to upload).").nullable()
36
- }).describe("A template configured for a transaction type.");
36
+ }).passthrough().describe("A template configured for a transaction type.");
37
37
  const spondyrTemplatesList = action("SPONDYR_TEMPLATES_LIST", {
38
38
  slug: "spondyr-templates-list",
39
39
  name: "List Templates",
@@ -43,7 +43,7 @@ const spondyrTemplatesList = action("SPONDYR_TEMPLATES_LIST", {
43
43
  Data: z.array(SpondyrTemplatesList_TemplateItemSchema).describe("List of templates configured for the specified transaction type.").nullable().optional(),
44
44
  APIStatus: z.enum(["OK", "ERROR"]).describe("API response status: OK if successful, ERROR otherwise.").nullable(),
45
45
  ErrorMessage: z.string().describe("Error message when APIStatus is ERROR.").nullable().optional()
46
- }).describe("Response containing all templates for a transaction type.")
46
+ }).passthrough().describe("Response containing all templates for a transaction type.")
47
47
  });
48
48
  //#endregion
49
49
  export { spondyrTemplatesList };
@@ -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}).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}).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}).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}).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,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,SAAS,wDAAwD;AACpE,MAAM,8CAA8C,EA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,SAAS;EAChH,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,CAAC,CAAC,CAAC,SAAS,2DAOF;AACV,CAAC"}
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,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,C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uC,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"}
@@ -8,7 +8,7 @@ const SpondyrTransactionTypeGetOutput = zod.z.object({
8
8
  TemplateCSV: zod.z.string().describe("Comma delimited list of flattened JSON fields for CSV import. Present when APIStatus is OK.").nullable().optional(),
9
9
  ErrorMessage: zod.z.string().describe("Error message if retrieval failed.").nullable().optional(),
10
10
  TemplateJSON: zod.z.string().describe("JSON formatted string containing all available properties with sample data. Present when APIStatus is OK.").nullable().optional()
11
- });
11
+ }).passthrough();
12
12
  const spondyrTransactionTypeGet = require_action.action("SPONDYR_TRANSACTION_TYPE_GET", {
13
13
  slug: "spondyr-transaction-type-get",
14
14
  name: "Get Transaction Type",
@@ -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});\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;AAED,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 { 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"}
@@ -13,7 +13,7 @@ declare const SpondyrTransactionTypeGetOutput: z.ZodObject<{
13
13
  TemplateCSV: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
14
  ErrorMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
15
  TemplateJSON: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
- }, z.core.$strip>;
16
+ }, z.core.$loose>;
17
17
  declare const spondyrTransactionTypeGet: import("@keystrokehq/action").WorkflowActionDefinition<{
18
18
  TransactionType: string;
19
19
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
@@ -13,7 +13,7 @@ declare const SpondyrTransactionTypeGetOutput: z.ZodObject<{
13
13
  TemplateCSV: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
14
  ErrorMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
15
  TemplateJSON: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
- }, z.core.$strip>;
16
+ }, z.core.$loose>;
17
17
  declare const spondyrTransactionTypeGet: import("@keystrokehq/action").WorkflowActionDefinition<{
18
18
  TransactionType: string;
19
19
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
@@ -11,7 +11,7 @@ const spondyrTransactionTypeGet = action("SPONDYR_TRANSACTION_TYPE_GET", {
11
11
  TemplateCSV: z.string().describe("Comma delimited list of flattened JSON fields for CSV import. Present when APIStatus is OK.").nullable().optional(),
12
12
  ErrorMessage: z.string().describe("Error message if retrieval failed.").nullable().optional(),
13
13
  TemplateJSON: z.string().describe("JSON formatted string containing all available properties with sample data. Present when APIStatus is OK.").nullable().optional()
14
- })
14
+ }).passthrough()
15
15
  });
16
16
  //#endregion
17
17
  export { spondyrTransactionTypeGet };
@@ -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});\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,CAOU;AACV,CAAC"}
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"}
@@ -10,7 +10,7 @@ const SpondyrTransactionTypeUpdateOutput = zod.z.object({
10
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.").nullable(),
11
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.").nullable(),
12
12
  ErrorMessage: zod.z.string().describe("Detailed error message explaining why the update failed. Only present when APIStatus is 'ERROR'.").nullable().optional()
13
- });
13
+ }).passthrough();
14
14
  const spondyrTransactionTypeUpdate = require_action.action("SPONDYR_TRANSACTION_TYPE_UPDATE", {
15
15
  slug: "spondyr-transaction-type-update",
16
16
  name: "Update Transaction Type",
@@ -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});\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;AAED,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 { 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"}
@@ -13,7 +13,7 @@ declare const SpondyrTransactionTypeUpdateOutput: z.ZodObject<{
13
13
  }>>;
14
14
  ReferenceID: z.ZodNullable<z.ZodString>;
15
15
  ErrorMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
- }, z.core.$strip>;
16
+ }, z.core.$loose>;
17
17
  declare const spondyrTransactionTypeUpdate: import("@keystrokehq/action").WorkflowActionDefinition<{
18
18
  Name: string;
19
19
  TemplateJSON: string;
@@ -13,7 +13,7 @@ declare const SpondyrTransactionTypeUpdateOutput: z.ZodObject<{
13
13
  }>>;
14
14
  ReferenceID: z.ZodNullable<z.ZodString>;
15
15
  ErrorMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
- }, z.core.$strip>;
16
+ }, z.core.$loose>;
17
17
  declare const spondyrTransactionTypeUpdate: import("@keystrokehq/action").WorkflowActionDefinition<{
18
18
  Name: string;
19
19
  TemplateJSON: string;
@@ -13,7 +13,7 @@ const spondyrTransactionTypeUpdate = action("SPONDYR_TRANSACTION_TYPE_UPDATE", {
13
13
  APIStatus: z.enum(["OK", "ERROR"]).describe("Status of the API request. 'OK' indicates the transaction type was successfully updated, 'ERROR' indicates a failure.").nullable(),
14
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.").nullable(),
15
15
  ErrorMessage: z.string().describe("Detailed error message explaining why the update failed. Only present when APIStatus is 'ERROR'.").nullable().optional()
16
- })
16
+ }).passthrough()
17
17
  });
18
18
  //#endregion
19
19
  export { spondyrTransactionTypeUpdate };