@keystrokehq/signwell 0.1.0 → 0.1.3

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 (105) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/create-document-from-template.cjs +32 -32
  4. package/dist/actions/create-document-from-template.cjs.map +1 -1
  5. package/dist/actions/create-document-from-template.d.cts +180 -3
  6. package/dist/actions/create-document-from-template.d.cts.map +1 -1
  7. package/dist/actions/create-document-from-template.d.mts +180 -3
  8. package/dist/actions/create-document-from-template.d.mts.map +1 -1
  9. package/dist/actions/create-document-from-template.mjs +32 -32
  10. package/dist/actions/create-document-from-template.mjs.map +1 -1
  11. package/dist/actions/create-document.cjs +19 -19
  12. package/dist/actions/create-document.cjs.map +1 -1
  13. package/dist/actions/create-document.d.cts +88 -3
  14. package/dist/actions/create-document.d.cts.map +1 -1
  15. package/dist/actions/create-document.d.mts +88 -3
  16. package/dist/actions/create-document.d.mts.map +1 -1
  17. package/dist/actions/create-document.mjs +19 -19
  18. package/dist/actions/create-document.mjs.map +1 -1
  19. package/dist/actions/create-webhook.cjs +3 -3
  20. package/dist/actions/create-webhook.cjs.map +1 -1
  21. package/dist/actions/create-webhook.d.cts +12 -3
  22. package/dist/actions/create-webhook.d.cts.map +1 -1
  23. package/dist/actions/create-webhook.d.mts +12 -3
  24. package/dist/actions/create-webhook.d.mts.map +1 -1
  25. package/dist/actions/create-webhook.mjs +3 -3
  26. package/dist/actions/create-webhook.mjs.map +1 -1
  27. package/dist/actions/delete-document.cjs +1 -1
  28. package/dist/actions/delete-document.cjs.map +1 -1
  29. package/dist/actions/delete-document.d.cts +10 -3
  30. package/dist/actions/delete-document.d.cts.map +1 -1
  31. package/dist/actions/delete-document.d.mts +10 -3
  32. package/dist/actions/delete-document.d.mts.map +1 -1
  33. package/dist/actions/delete-document.mjs +1 -1
  34. package/dist/actions/delete-document.mjs.map +1 -1
  35. package/dist/actions/delete-webhook.cjs +1 -1
  36. package/dist/actions/delete-webhook.cjs.map +1 -1
  37. package/dist/actions/delete-webhook.d.cts +7 -3
  38. package/dist/actions/delete-webhook.d.cts.map +1 -1
  39. package/dist/actions/delete-webhook.d.mts +7 -3
  40. package/dist/actions/delete-webhook.d.mts.map +1 -1
  41. package/dist/actions/delete-webhook.mjs +1 -1
  42. package/dist/actions/delete-webhook.mjs.map +1 -1
  43. package/dist/actions/get-credentials.cjs +19 -19
  44. package/dist/actions/get-credentials.cjs.map +1 -1
  45. package/dist/actions/get-credentials.d.cts +55 -3
  46. package/dist/actions/get-credentials.d.cts.map +1 -1
  47. package/dist/actions/get-credentials.d.mts +55 -3
  48. package/dist/actions/get-credentials.d.mts.map +1 -1
  49. package/dist/actions/get-credentials.mjs +19 -19
  50. package/dist/actions/get-credentials.mjs.map +1 -1
  51. package/dist/actions/get-document.cjs +20 -20
  52. package/dist/actions/get-document.cjs.map +1 -1
  53. package/dist/actions/get-document.d.cts +60 -3
  54. package/dist/actions/get-document.d.cts.map +1 -1
  55. package/dist/actions/get-document.d.mts +60 -3
  56. package/dist/actions/get-document.d.mts.map +1 -1
  57. package/dist/actions/get-document.mjs +20 -20
  58. package/dist/actions/get-document.mjs.map +1 -1
  59. package/dist/actions/list-bulk-sends.cjs +12 -12
  60. package/dist/actions/list-bulk-sends.cjs.map +1 -1
  61. package/dist/actions/list-bulk-sends.d.cts +28 -3
  62. package/dist/actions/list-bulk-sends.d.cts.map +1 -1
  63. package/dist/actions/list-bulk-sends.d.mts +28 -3
  64. package/dist/actions/list-bulk-sends.d.mts.map +1 -1
  65. package/dist/actions/list-bulk-sends.mjs +12 -12
  66. package/dist/actions/list-bulk-sends.mjs.map +1 -1
  67. package/dist/actions/list-webhooks.cjs +4 -4
  68. package/dist/actions/list-webhooks.cjs.map +1 -1
  69. package/dist/actions/list-webhooks.d.cts +10 -3
  70. package/dist/actions/list-webhooks.d.cts.map +1 -1
  71. package/dist/actions/list-webhooks.d.mts +10 -3
  72. package/dist/actions/list-webhooks.d.mts.map +1 -1
  73. package/dist/actions/list-webhooks.mjs +4 -4
  74. package/dist/actions/list-webhooks.mjs.map +1 -1
  75. package/dist/actions/send-reminder.cjs +25 -25
  76. package/dist/actions/send-reminder.cjs.map +1 -1
  77. package/dist/actions/send-reminder.d.cts +76 -3
  78. package/dist/actions/send-reminder.d.cts.map +1 -1
  79. package/dist/actions/send-reminder.d.mts +76 -3
  80. package/dist/actions/send-reminder.d.mts.map +1 -1
  81. package/dist/actions/send-reminder.mjs +25 -25
  82. package/dist/actions/send-reminder.mjs.map +1 -1
  83. package/dist/actions/update-and-send-document.cjs +25 -25
  84. package/dist/actions/update-and-send-document.cjs.map +1 -1
  85. package/dist/actions/update-and-send-document.d.cts +113 -3
  86. package/dist/actions/update-and-send-document.d.cts.map +1 -1
  87. package/dist/actions/update-and-send-document.d.mts +113 -3
  88. package/dist/actions/update-and-send-document.d.mts.map +1 -1
  89. package/dist/actions/update-and-send-document.mjs +25 -25
  90. package/dist/actions/update-and-send-document.mjs.map +1 -1
  91. package/dist/actions/update-template.cjs +25 -25
  92. package/dist/actions/update-template.cjs.map +1 -1
  93. package/dist/actions/update-template.d.cts +84 -3
  94. package/dist/actions/update-template.d.cts.map +1 -1
  95. package/dist/actions/update-template.d.mts +84 -3
  96. package/dist/actions/update-template.d.mts.map +1 -1
  97. package/dist/actions/update-template.mjs +25 -25
  98. package/dist/actions/update-template.mjs.map +1 -1
  99. package/dist/catalog.cjs +7 -1
  100. package/dist/catalog.cjs.map +1 -1
  101. package/dist/catalog.d.cts +8 -0
  102. package/dist/catalog.d.mts +8 -0
  103. package/dist/catalog.mjs +7 -1
  104. package/dist/catalog.mjs.map +1 -1
  105. package/package.json +2 -2
@@ -6,23 +6,23 @@ const SignwellSendReminderInput = zod.z.object({
6
6
  recipients: zod.z.array(zod.z.object({
7
7
  name: zod.z.string().describe("Full name of the recipient to remind."),
8
8
  email: zod.z.string().describe("Email address of the recipient to remind.")
9
- }).describe("A specific recipient to send a reminder to.")).describe("Optional list of specific recipients within the document to send a reminder email to. If none are specified, all recipients that have not signed yet will receive a reminder email.").optional()
9
+ }).passthrough().describe("A specific recipient to send a reminder to.")).describe("Optional list of specific recipients within the document to send a reminder email to. If none are specified, all recipients that have not signed yet will receive a reminder email.").optional()
10
10
  }).describe("Request model for sending reminder emails to document recipients.");
11
11
  const SignwellSendReminder_DocumentFileSchema = zod.z.object({
12
- name: zod.z.string().describe("The name of the file."),
13
- pages_number: zod.z.number().int().describe("Number of pages in the file.")
14
- }).describe("Information about a file in the document.");
12
+ name: zod.z.string().describe("The name of the file.").nullable(),
13
+ pages_number: zod.z.number().int().describe("Number of pages in the file.").nullable()
14
+ }).passthrough().describe("Information about a file in the document.");
15
15
  const SignwellSendReminder_LabelSchema = zod.z.object({
16
- id: zod.z.string().describe("Unique identifier for the label."),
17
- name: zod.z.string().describe("Name of the label.")
18
- }).describe("Label information for document organization.");
16
+ id: zod.z.string().describe("Unique identifier for the label.").nullable(),
17
+ name: zod.z.string().describe("Name of the label.").nullable()
18
+ }).passthrough().describe("Label information for document organization.");
19
19
  const SignwellSendReminder_AttachmentRequestSchema = zod.z.object({
20
- url: zod.z.string().describe("URL to access the attachment."),
21
- name: zod.z.string().describe("Name of the attachment."),
22
- required: zod.z.boolean().describe("Whether the attachment is required.")
23
- }).describe("Information about an attachment request for a recipient.");
20
+ url: zod.z.string().describe("URL to access the attachment.").nullable(),
21
+ name: zod.z.string().describe("Name of the attachment.").nullable(),
22
+ required: zod.z.boolean().describe("Whether the attachment is required.").nullable()
23
+ }).passthrough().describe("Information about an attachment request for a recipient.");
24
24
  const SignwellSendReminder_RecipientSchema = zod.z.object({
25
- id: zod.z.string().describe("Unique identifier for this recipient."),
25
+ id: zod.z.string().describe("Unique identifier for this recipient.").nullable(),
26
26
  name: zod.z.string().describe("Full name of the recipient.").nullable().optional(),
27
27
  email: zod.z.string().describe("Email address of the recipient.").nullable().optional(),
28
28
  status: zod.z.string().describe("Current signing status (e.g., 'draft', 'sent', 'completed', 'declined').").nullable().optional(),
@@ -36,28 +36,28 @@ const SignwellSendReminder_RecipientSchema = zod.z.object({
36
36
  bounced_details: zod.z.string().describe("Details about why the email bounced.").nullable().optional(),
37
37
  send_email_delay: zod.z.number().int().describe("Delay in hours before sending email.").nullable().optional(),
38
38
  attachment_requests: zod.z.array(SignwellSendReminder_AttachmentRequestSchema).describe("List of attachment requests for this recipient.").nullable().optional()
39
- }).describe("Information about a document recipient/signer.");
39
+ }).passthrough().describe("Information about a document recipient/signer.");
40
40
  const SignwellSendReminder_ContactSchema = zod.z.object({
41
- name: zod.z.string().describe("Name of the contact."),
42
- email: zod.z.string().describe("Email address of the contact.")
43
- }).describe("Contact information for copied contacts.");
41
+ name: zod.z.string().describe("Name of the contact.").nullable(),
42
+ email: zod.z.string().describe("Email address of the contact.").nullable()
43
+ }).passthrough().describe("Contact information for copied contacts.");
44
44
  const SignwellSendReminderOutput = zod.z.object({
45
- id: zod.z.string().describe("Unique identifier of the document."),
46
- name: zod.z.string().describe("Name of the document."),
45
+ id: zod.z.string().describe("Unique identifier of the document.").nullable(),
46
+ name: zod.z.string().describe("Name of the document.").nullable(),
47
47
  files: zod.z.array(SignwellSendReminder_DocumentFileSchema).describe("List of files attached to this document.").nullable().optional(),
48
48
  fields: zod.z.array(zod.z.array(zod.z.unknown())).describe("Form fields defined in the document.").nullable().optional(),
49
49
  labels: zod.z.array(SignwellSendReminder_LabelSchema).describe("Labels/tags applied to the document.").nullable().optional(),
50
- status: zod.z.string().describe("Current document status: 'Draft', 'Created', 'Pending', 'Completed', 'Cancelled', 'Expired', 'Bounced', 'Sent', or 'Declined'."),
50
+ status: zod.z.string().describe("Current document status: 'Draft', 'Created', 'Pending', 'Completed', 'Cancelled', 'Expired', 'Bounced', 'Sent', or 'Declined'.").nullable(),
51
51
  message: zod.z.string().describe("Email message for signature requests.").nullable().optional(),
52
52
  subject: zod.z.string().describe("Email subject for signature requests.").nullable().optional(),
53
- archived: zod.z.boolean().describe("Whether the document has been archived."),
53
+ archived: zod.z.boolean().describe("Whether the document has been archived.").nullable(),
54
54
  metadata: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Custom key-value metadata associated with the document.").nullable().optional(),
55
55
  reminders: zod.z.boolean().describe("Whether reminders are enabled.").nullable().optional(),
56
- test_mode: zod.z.boolean().describe("Whether this is a test document (not legally binding)."),
57
- created_at: zod.z.string().describe("ISO 8601 timestamp when document was created."),
56
+ test_mode: zod.z.boolean().describe("Whether this is a test document (not legally binding).").nullable(),
57
+ created_at: zod.z.string().describe("ISO 8601 timestamp when document was created.").nullable(),
58
58
  expires_in: zod.z.number().int().describe("Number of days before the signing request expires.").nullable().optional(),
59
59
  recipients: zod.z.array(SignwellSendReminder_RecipientSchema).describe("List of recipients/signers for this document.").nullable().optional(),
60
- updated_at: zod.z.string().describe("ISO 8601 timestamp when document was last updated."),
60
+ updated_at: zod.z.string().describe("ISO 8601 timestamp when document was last updated.").nullable(),
61
61
  redirect_url: zod.z.string().describe("URL to redirect to after successful signing.").nullable().optional(),
62
62
  allow_decline: zod.z.boolean().describe("Whether recipients can decline to sign.").nullable().optional(),
63
63
  error_message: zod.z.string().describe("Error message if document has issues (e.g., bounced email).").nullable().optional(),
@@ -72,8 +72,8 @@ const SignwellSendReminderOutput = zod.z.object({
72
72
  embedded_preview_url: zod.z.string().describe("URL to preview the document.").nullable().optional(),
73
73
  custom_requester_name: zod.z.string().describe("Custom name used in email communications.").nullable().optional(),
74
74
  custom_requester_email: zod.z.string().describe("Custom email used in communications.").nullable().optional(),
75
- requester_email_address: zod.z.string().describe("Email address of the person who created the document.")
76
- }).describe("Response containing updated document information after sending reminder.");
75
+ requester_email_address: zod.z.string().describe("Email address of the person who created the document.").nullable()
76
+ }).passthrough().describe("Response containing updated document information after sending reminder.");
77
77
  const signwellSendReminder = require_action.action("SIGNWELL_SEND_REMINDER", {
78
78
  slug: "signwell-send-reminder",
79
79
  name: "Send Reminder",
@@ -1 +1 @@
1
- {"version":3,"file":"send-reminder.cjs","names":["z","action"],"sources":["../../src/actions/send-reminder.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SignwellSendReminderInput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier (UUID) of the document for which to send reminders. This ID is returned when creating a document via SIGNWELL_CREATE_DOCUMENT or can be retrieved using SIGNWELL_GET_DOCUMENT.\"),\n recipients: z.array(z.object({\n name: z.string().describe(\"Full name of the recipient to remind.\"),\n email: z.string().describe(\"Email address of the recipient to remind.\"),\n}).describe(\"A specific recipient to send a reminder to.\")).describe(\"Optional list of specific recipients within the document to send a reminder email to. If none are specified, all recipients that have not signed yet will receive a reminder email.\").optional(),\n}).describe(\"Request model for sending reminder emails to document recipients.\");\nconst SignwellSendReminder_DocumentFileSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"The name of the file.\"),\n pages_number: z.number().int().describe(\"Number of pages in the file.\"),\n}).describe(\"Information about a file in the document.\");\nconst SignwellSendReminder_LabelSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the label.\"),\n name: z.string().describe(\"Name of the label.\"),\n}).describe(\"Label information for document organization.\");\nconst SignwellSendReminder_AttachmentRequestSchema: z.ZodTypeAny = z.object({\n url: z.string().describe(\"URL to access the attachment.\"),\n name: z.string().describe(\"Name of the attachment.\"),\n required: z.boolean().describe(\"Whether the attachment is required.\"),\n}).describe(\"Information about an attachment request for a recipient.\");\nconst SignwellSendReminder_RecipientSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for this recipient.\"),\n name: z.string().describe(\"Full name of the recipient.\").nullable().optional(),\n email: z.string().describe(\"Email address of the recipient.\").nullable().optional(),\n status: z.string().describe(\"Current signing status (e.g., 'draft', 'sent', 'completed', 'declined').\").nullable().optional(),\n bounced: z.boolean().describe(\"Whether the email to this recipient bounced.\").nullable().optional(),\n message: z.string().describe(\"Custom message for this recipient.\").nullable().optional(),\n subject: z.string().describe(\"Custom subject for this recipient.\").nullable().optional(),\n passcode: z.string().describe(\"Passcode for signing access.\").nullable().optional(),\n send_email: z.boolean().describe(\"Whether to send signing request via email.\").nullable().optional(),\n signing_url: z.string().describe(\"URL where the recipient can sign the document.\").nullable().optional(),\n signing_order: z.number().int().describe(\"Order in which this recipient signs.\").nullable().optional(),\n bounced_details: z.string().describe(\"Details about why the email bounced.\").nullable().optional(),\n send_email_delay: z.number().int().describe(\"Delay in hours before sending email.\").nullable().optional(),\n attachment_requests: z.array(SignwellSendReminder_AttachmentRequestSchema).describe(\"List of attachment requests for this recipient.\").nullable().optional(),\n}).describe(\"Information about a document recipient/signer.\");\nconst SignwellSendReminder_ContactSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Name of the contact.\"),\n email: z.string().describe(\"Email address of the contact.\"),\n}).describe(\"Contact information for copied contacts.\");\nexport const SignwellSendReminderOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier of the document.\"),\n name: z.string().describe(\"Name of the document.\"),\n files: z.array(SignwellSendReminder_DocumentFileSchema).describe(\"List of files attached to this document.\").nullable().optional(),\n fields: z.array(z.array(z.unknown())).describe(\"Form fields defined in the document.\").nullable().optional(),\n labels: z.array(SignwellSendReminder_LabelSchema).describe(\"Labels/tags applied to the document.\").nullable().optional(),\n status: z.string().describe(\"Current document status: 'Draft', 'Created', 'Pending', 'Completed', 'Cancelled', 'Expired', 'Bounced', 'Sent', or 'Declined'.\"),\n message: z.string().describe(\"Email message for signature requests.\").nullable().optional(),\n subject: z.string().describe(\"Email subject for signature requests.\").nullable().optional(),\n archived: z.boolean().describe(\"Whether the document has been archived.\"),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom key-value metadata associated with the document.\").nullable().optional(),\n reminders: z.boolean().describe(\"Whether reminders are enabled.\").nullable().optional(),\n test_mode: z.boolean().describe(\"Whether this is a test document (not legally binding).\"),\n created_at: z.string().describe(\"ISO 8601 timestamp when document was created.\"),\n expires_in: z.number().int().describe(\"Number of days before the signing request expires.\").nullable().optional(),\n recipients: z.array(SignwellSendReminder_RecipientSchema).describe(\"List of recipients/signers for this document.\").nullable().optional(),\n updated_at: z.string().describe(\"ISO 8601 timestamp when document was last updated.\"),\n redirect_url: z.string().describe(\"URL to redirect to after successful signing.\").nullable().optional(),\n allow_decline: z.boolean().describe(\"Whether recipients can decline to sign.\").nullable().optional(),\n error_message: z.string().describe(\"Error message if document has issues (e.g., bounced email).\").nullable().optional(),\n allow_reassign: z.boolean().describe(\"Whether signers can reassign their responsibility.\").nullable().optional(),\n copied_contacts: z.array(SignwellSendReminder_ContactSchema).describe(\"Contacts who receive copies of completed documents.\").nullable().optional(),\n decline_message: z.string().describe(\"Message provided if the document was declined.\").nullable().optional(),\n embedded_signing: z.boolean().describe(\"Whether embedded signing (iframe) is enabled.\").nullable().optional(),\n embedded_edit_url: z.string().describe(\"URL to edit the document in SignWell's editor.\").nullable().optional(),\n api_application_id: z.string().describe(\"UUID of the API Application settings used.\").nullable().optional(),\n apply_signing_order: z.boolean().describe(\"Whether signing must follow a specific order.\").nullable().optional(),\n decline_redirect_url: z.string().describe(\"URL to redirect to if signing is declined.\").nullable().optional(),\n embedded_preview_url: z.string().describe(\"URL to preview the document.\").nullable().optional(),\n custom_requester_name: z.string().describe(\"Custom name used in email communications.\").nullable().optional(),\n custom_requester_email: z.string().describe(\"Custom email used in communications.\").nullable().optional(),\n requester_email_address: z.string().describe(\"Email address of the person who created the document.\"),\n}).describe(\"Response containing updated document information after sending reminder.\");\n\nexport const signwellSendReminder = action(\"SIGNWELL_SEND_REMINDER\", {\n slug: \"signwell-send-reminder\",\n name: \"Send Reminder\",\n description: \"Tool to send a reminder email to recipients that have not signed yet. Use when you need to prompt unsigned recipients to complete their signature.\",\n input: SignwellSendReminderInput,\n output: SignwellSendReminderOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA0CA,IAAAA,EAAE,OAAO;CAC9D,IAAIA,IAAAA,EAAE,OAAO,CA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AAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,qBAAqBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,uBAAuBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,wBAAwBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,yBAAyBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;AACtG,CAAC,CAAC,CAAC,SAAS,0EAA0E;AAEtF,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"send-reminder.cjs","names":["z","action"],"sources":["../../src/actions/send-reminder.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SignwellSendReminderInput = z.object({\n id: z.string().describe(\"The unique identifier (UUID) of the document for which to send reminders. This ID is returned when creating a document via SIGNWELL_CREATE_DOCUMENT or can be retrieved using SIGNWELL_GET_DOCUMENT.\"),\n recipients: z.array(z.object({\n name: z.string().describe(\"Full name of the recipient to remind.\"),\n email: z.string().describe(\"Email address of the recipient to remind.\"),\n}).passthrough().describe(\"A specific recipient to send a reminder to.\")).describe(\"Optional list of specific recipients within the document to send a reminder email to. If none are specified, all recipients that have not signed yet will receive a reminder email.\").optional(),\n}).describe(\"Request model for sending reminder emails to document recipients.\");\nconst SignwellSendReminder_DocumentFileSchema = z.object({\n name: z.string().describe(\"The name of the file.\").nullable(),\n pages_number: z.number().int().describe(\"Number of pages in the file.\").nullable(),\n}).passthrough().describe(\"Information about a file in the document.\");\nconst SignwellSendReminder_LabelSchema = z.object({\n id: z.string().describe(\"Unique identifier for the label.\").nullable(),\n name: z.string().describe(\"Name of the label.\").nullable(),\n}).passthrough().describe(\"Label information for document organization.\");\nconst SignwellSendReminder_AttachmentRequestSchema = z.object({\n url: z.string().describe(\"URL to access the attachment.\").nullable(),\n name: z.string().describe(\"Name of the attachment.\").nullable(),\n required: z.boolean().describe(\"Whether the attachment is required.\").nullable(),\n}).passthrough().describe(\"Information about an attachment request for a recipient.\");\nconst SignwellSendReminder_RecipientSchema = z.object({\n id: z.string().describe(\"Unique identifier for this recipient.\").nullable(),\n name: z.string().describe(\"Full name of the recipient.\").nullable().optional(),\n email: z.string().describe(\"Email address of the recipient.\").nullable().optional(),\n status: z.string().describe(\"Current signing status (e.g., 'draft', 'sent', 'completed', 'declined').\").nullable().optional(),\n bounced: z.boolean().describe(\"Whether the email to this recipient bounced.\").nullable().optional(),\n message: z.string().describe(\"Custom message for this recipient.\").nullable().optional(),\n subject: z.string().describe(\"Custom subject for this recipient.\").nullable().optional(),\n passcode: z.string().describe(\"Passcode for signing access.\").nullable().optional(),\n send_email: z.boolean().describe(\"Whether to send signing request via email.\").nullable().optional(),\n signing_url: z.string().describe(\"URL where the recipient can sign the document.\").nullable().optional(),\n signing_order: z.number().int().describe(\"Order in which this recipient signs.\").nullable().optional(),\n bounced_details: z.string().describe(\"Details about why the email bounced.\").nullable().optional(),\n send_email_delay: z.number().int().describe(\"Delay in hours before sending email.\").nullable().optional(),\n attachment_requests: z.array(SignwellSendReminder_AttachmentRequestSchema).describe(\"List of attachment requests for this recipient.\").nullable().optional(),\n}).passthrough().describe(\"Information about a document recipient/signer.\");\nconst SignwellSendReminder_ContactSchema = z.object({\n name: z.string().describe(\"Name of the contact.\").nullable(),\n email: z.string().describe(\"Email address of the contact.\").nullable(),\n}).passthrough().describe(\"Contact information for copied contacts.\");\nexport const SignwellSendReminderOutput = z.object({\n id: z.string().describe(\"Unique identifier of the document.\").nullable(),\n name: z.string().describe(\"Name of the document.\").nullable(),\n files: z.array(SignwellSendReminder_DocumentFileSchema).describe(\"List of files attached to this document.\").nullable().optional(),\n fields: z.array(z.array(z.unknown())).describe(\"Form fields defined in the document.\").nullable().optional(),\n labels: z.array(SignwellSendReminder_LabelSchema).describe(\"Labels/tags applied to the document.\").nullable().optional(),\n status: z.string().describe(\"Current document status: 'Draft', 'Created', 'Pending', 'Completed', 'Cancelled', 'Expired', 'Bounced', 'Sent', or 'Declined'.\").nullable(),\n message: z.string().describe(\"Email message for signature requests.\").nullable().optional(),\n subject: z.string().describe(\"Email subject for signature requests.\").nullable().optional(),\n archived: z.boolean().describe(\"Whether the document has been archived.\").nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom key-value metadata associated with the document.\").nullable().optional(),\n reminders: z.boolean().describe(\"Whether reminders are enabled.\").nullable().optional(),\n test_mode: z.boolean().describe(\"Whether this is a test document (not legally binding).\").nullable(),\n created_at: z.string().describe(\"ISO 8601 timestamp when document was created.\").nullable(),\n expires_in: z.number().int().describe(\"Number of days before the signing request expires.\").nullable().optional(),\n recipients: z.array(SignwellSendReminder_RecipientSchema).describe(\"List of recipients/signers for this document.\").nullable().optional(),\n updated_at: z.string().describe(\"ISO 8601 timestamp when document was last updated.\").nullable(),\n redirect_url: z.string().describe(\"URL to redirect to after successful signing.\").nullable().optional(),\n allow_decline: z.boolean().describe(\"Whether recipients can decline to sign.\").nullable().optional(),\n error_message: z.string().describe(\"Error message if document has issues (e.g., bounced email).\").nullable().optional(),\n allow_reassign: z.boolean().describe(\"Whether signers can reassign their responsibility.\").nullable().optional(),\n copied_contacts: z.array(SignwellSendReminder_ContactSchema).describe(\"Contacts who receive copies of completed documents.\").nullable().optional(),\n decline_message: z.string().describe(\"Message provided if the document was declined.\").nullable().optional(),\n embedded_signing: z.boolean().describe(\"Whether embedded signing (iframe) is enabled.\").nullable().optional(),\n embedded_edit_url: z.string().describe(\"URL to edit the document in SignWell's editor.\").nullable().optional(),\n api_application_id: z.string().describe(\"UUID of the API Application settings used.\").nullable().optional(),\n apply_signing_order: z.boolean().describe(\"Whether signing must follow a specific order.\").nullable().optional(),\n decline_redirect_url: z.string().describe(\"URL to redirect to if signing is declined.\").nullable().optional(),\n embedded_preview_url: z.string().describe(\"URL to preview the document.\").nullable().optional(),\n custom_requester_name: z.string().describe(\"Custom name used in email communications.\").nullable().optional(),\n custom_requester_email: z.string().describe(\"Custom email used in communications.\").nullable().optional(),\n requester_email_address: z.string().describe(\"Email address of the person who created the document.\").nullable(),\n}).passthrough().describe(\"Response containing updated document information after sending reminder.\");\n\nexport const signwellSendReminder = action(\"SIGNWELL_SEND_REMINDER\", {\n slug: \"signwell-send-reminder\",\n name: \"Send Reminder\",\n description: \"Tool to send a reminder email to recipients that have not signed yet. Use when you need to prompt unsigned recipients to complete their signature.\",\n input: SignwellSendReminderInput,\n output: SignwellSendReminderOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sMAAsM;CAC9N,YAAYA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EAC7B,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;EACjE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;CACxE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,CAAC,SAAS,qLAAqL,CAAC,CAAC,SAAS;AACnR,CAAC,CAAC,CAAC,SAAS,mEAAmE;AAC/E,MAAM,0CAA0CA,IAAAA,EAAE,OAAO;CACvD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS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4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,qBAAqBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,uBAAuBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,wBAAwBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,yBAAyBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;AACjH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0EAA0E;AAEpG,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,82 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/send-reminder.d.ts
4
- declare const SignwellSendReminderInput: z.ZodTypeAny;
5
- declare const SignwellSendReminderOutput: z.ZodTypeAny;
6
- declare const signwellSendReminder: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SignwellSendReminderInput: z.ZodObject<{
5
+ id: z.ZodString;
6
+ recipients: z.ZodOptional<z.ZodArray<z.ZodObject<{
7
+ name: z.ZodString;
8
+ email: z.ZodString;
9
+ }, z.core.$loose>>>;
10
+ }, z.core.$strip>;
11
+ declare const SignwellSendReminderOutput: z.ZodObject<{
12
+ id: z.ZodNullable<z.ZodString>;
13
+ name: z.ZodNullable<z.ZodString>;
14
+ files: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
15
+ name: z.ZodNullable<z.ZodString>;
16
+ pages_number: z.ZodNullable<z.ZodNumber>;
17
+ }, z.core.$loose>>>>;
18
+ fields: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodArray<z.ZodUnknown>>>>;
19
+ labels: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
20
+ id: z.ZodNullable<z.ZodString>;
21
+ name: z.ZodNullable<z.ZodString>;
22
+ }, z.core.$loose>>>>;
23
+ status: z.ZodNullable<z.ZodString>;
24
+ message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25
+ subject: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26
+ archived: z.ZodNullable<z.ZodBoolean>;
27
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
28
+ reminders: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
29
+ test_mode: z.ZodNullable<z.ZodBoolean>;
30
+ created_at: z.ZodNullable<z.ZodString>;
31
+ expires_in: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
32
+ recipients: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
33
+ id: z.ZodNullable<z.ZodString>;
34
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35
+ email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
36
+ status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
37
+ bounced: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
38
+ message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
39
+ subject: z.ZodOptional<z.ZodNullable<z.ZodString>>;
40
+ passcode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
41
+ send_email: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
42
+ signing_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
43
+ signing_order: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
44
+ bounced_details: z.ZodOptional<z.ZodNullable<z.ZodString>>;
45
+ send_email_delay: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
46
+ attachment_requests: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
47
+ url: z.ZodNullable<z.ZodString>;
48
+ name: z.ZodNullable<z.ZodString>;
49
+ required: z.ZodNullable<z.ZodBoolean>;
50
+ }, z.core.$loose>>>>;
51
+ }, z.core.$loose>>>>;
52
+ updated_at: z.ZodNullable<z.ZodString>;
53
+ redirect_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
54
+ allow_decline: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
55
+ error_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
56
+ allow_reassign: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
57
+ copied_contacts: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
58
+ name: z.ZodNullable<z.ZodString>;
59
+ email: z.ZodNullable<z.ZodString>;
60
+ }, z.core.$loose>>>>;
61
+ decline_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
62
+ embedded_signing: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
63
+ embedded_edit_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
64
+ api_application_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
65
+ apply_signing_order: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
66
+ decline_redirect_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
67
+ embedded_preview_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
68
+ custom_requester_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
69
+ custom_requester_email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
70
+ requester_email_address: z.ZodNullable<z.ZodString>;
71
+ }, z.core.$loose>;
72
+ declare const signwellSendReminder: import("@keystrokehq/action").WorkflowActionDefinition<{
73
+ id: string;
74
+ recipients?: {
75
+ [x: string]: unknown;
76
+ name: string;
77
+ email: string;
78
+ }[] | undefined;
79
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
80
  //#endregion
8
81
  export { signwellSendReminder };
9
82
  //# sourceMappingURL=send-reminder.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"send-reminder.d.cts","names":[],"sources":["../../src/actions/send-reminder.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UAMsC;AAAA,cAkCnE,0BAAA,EAA4B,CAAA,CAAE,UAgC4C;AAAA,cAE1E,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"send-reminder.d.cts","names":[],"sources":["../../src/actions/send-reminder.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;cAwCzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAkC1B,oBAAA,gCAAoB,wBAAA"}
@@ -1,9 +1,82 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/send-reminder.d.ts
4
- declare const SignwellSendReminderInput: z.ZodTypeAny;
5
- declare const SignwellSendReminderOutput: z.ZodTypeAny;
6
- declare const signwellSendReminder: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SignwellSendReminderInput: z.ZodObject<{
5
+ id: z.ZodString;
6
+ recipients: z.ZodOptional<z.ZodArray<z.ZodObject<{
7
+ name: z.ZodString;
8
+ email: z.ZodString;
9
+ }, z.core.$loose>>>;
10
+ }, z.core.$strip>;
11
+ declare const SignwellSendReminderOutput: z.ZodObject<{
12
+ id: z.ZodNullable<z.ZodString>;
13
+ name: z.ZodNullable<z.ZodString>;
14
+ files: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
15
+ name: z.ZodNullable<z.ZodString>;
16
+ pages_number: z.ZodNullable<z.ZodNumber>;
17
+ }, z.core.$loose>>>>;
18
+ fields: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodArray<z.ZodUnknown>>>>;
19
+ labels: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
20
+ id: z.ZodNullable<z.ZodString>;
21
+ name: z.ZodNullable<z.ZodString>;
22
+ }, z.core.$loose>>>>;
23
+ status: z.ZodNullable<z.ZodString>;
24
+ message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25
+ subject: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26
+ archived: z.ZodNullable<z.ZodBoolean>;
27
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
28
+ reminders: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
29
+ test_mode: z.ZodNullable<z.ZodBoolean>;
30
+ created_at: z.ZodNullable<z.ZodString>;
31
+ expires_in: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
32
+ recipients: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
33
+ id: z.ZodNullable<z.ZodString>;
34
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35
+ email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
36
+ status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
37
+ bounced: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
38
+ message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
39
+ subject: z.ZodOptional<z.ZodNullable<z.ZodString>>;
40
+ passcode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
41
+ send_email: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
42
+ signing_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
43
+ signing_order: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
44
+ bounced_details: z.ZodOptional<z.ZodNullable<z.ZodString>>;
45
+ send_email_delay: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
46
+ attachment_requests: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
47
+ url: z.ZodNullable<z.ZodString>;
48
+ name: z.ZodNullable<z.ZodString>;
49
+ required: z.ZodNullable<z.ZodBoolean>;
50
+ }, z.core.$loose>>>>;
51
+ }, z.core.$loose>>>>;
52
+ updated_at: z.ZodNullable<z.ZodString>;
53
+ redirect_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
54
+ allow_decline: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
55
+ error_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
56
+ allow_reassign: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
57
+ copied_contacts: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
58
+ name: z.ZodNullable<z.ZodString>;
59
+ email: z.ZodNullable<z.ZodString>;
60
+ }, z.core.$loose>>>>;
61
+ decline_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
62
+ embedded_signing: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
63
+ embedded_edit_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
64
+ api_application_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
65
+ apply_signing_order: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
66
+ decline_redirect_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
67
+ embedded_preview_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
68
+ custom_requester_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
69
+ custom_requester_email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
70
+ requester_email_address: z.ZodNullable<z.ZodString>;
71
+ }, z.core.$loose>;
72
+ declare const signwellSendReminder: import("@keystrokehq/action").WorkflowActionDefinition<{
73
+ id: string;
74
+ recipients?: {
75
+ [x: string]: unknown;
76
+ name: string;
77
+ email: string;
78
+ }[] | undefined;
79
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
80
  //#endregion
8
81
  export { signwellSendReminder };
9
82
  //# sourceMappingURL=send-reminder.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"send-reminder.d.mts","names":[],"sources":["../../src/actions/send-reminder.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UAMsC;AAAA,cAkCnE,0BAAA,EAA4B,CAAA,CAAE,UAgC4C;AAAA,cAE1E,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"send-reminder.d.mts","names":[],"sources":["../../src/actions/send-reminder.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;cAwCzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAkC1B,oBAAA,gCAAoB,wBAAA"}
@@ -6,23 +6,23 @@ const SignwellSendReminderInput = z.object({
6
6
  recipients: z.array(z.object({
7
7
  name: z.string().describe("Full name of the recipient to remind."),
8
8
  email: z.string().describe("Email address of the recipient to remind.")
9
- }).describe("A specific recipient to send a reminder to.")).describe("Optional list of specific recipients within the document to send a reminder email to. If none are specified, all recipients that have not signed yet will receive a reminder email.").optional()
9
+ }).passthrough().describe("A specific recipient to send a reminder to.")).describe("Optional list of specific recipients within the document to send a reminder email to. If none are specified, all recipients that have not signed yet will receive a reminder email.").optional()
10
10
  }).describe("Request model for sending reminder emails to document recipients.");
11
11
  const SignwellSendReminder_DocumentFileSchema = z.object({
12
- name: z.string().describe("The name of the file."),
13
- pages_number: z.number().int().describe("Number of pages in the file.")
14
- }).describe("Information about a file in the document.");
12
+ name: z.string().describe("The name of the file.").nullable(),
13
+ pages_number: z.number().int().describe("Number of pages in the file.").nullable()
14
+ }).passthrough().describe("Information about a file in the document.");
15
15
  const SignwellSendReminder_LabelSchema = z.object({
16
- id: z.string().describe("Unique identifier for the label."),
17
- name: z.string().describe("Name of the label.")
18
- }).describe("Label information for document organization.");
16
+ id: z.string().describe("Unique identifier for the label.").nullable(),
17
+ name: z.string().describe("Name of the label.").nullable()
18
+ }).passthrough().describe("Label information for document organization.");
19
19
  const SignwellSendReminder_AttachmentRequestSchema = z.object({
20
- url: z.string().describe("URL to access the attachment."),
21
- name: z.string().describe("Name of the attachment."),
22
- required: z.boolean().describe("Whether the attachment is required.")
23
- }).describe("Information about an attachment request for a recipient.");
20
+ url: z.string().describe("URL to access the attachment.").nullable(),
21
+ name: z.string().describe("Name of the attachment.").nullable(),
22
+ required: z.boolean().describe("Whether the attachment is required.").nullable()
23
+ }).passthrough().describe("Information about an attachment request for a recipient.");
24
24
  const SignwellSendReminder_RecipientSchema = z.object({
25
- id: z.string().describe("Unique identifier for this recipient."),
25
+ id: z.string().describe("Unique identifier for this recipient.").nullable(),
26
26
  name: z.string().describe("Full name of the recipient.").nullable().optional(),
27
27
  email: z.string().describe("Email address of the recipient.").nullable().optional(),
28
28
  status: z.string().describe("Current signing status (e.g., 'draft', 'sent', 'completed', 'declined').").nullable().optional(),
@@ -36,33 +36,33 @@ const SignwellSendReminder_RecipientSchema = z.object({
36
36
  bounced_details: z.string().describe("Details about why the email bounced.").nullable().optional(),
37
37
  send_email_delay: z.number().int().describe("Delay in hours before sending email.").nullable().optional(),
38
38
  attachment_requests: z.array(SignwellSendReminder_AttachmentRequestSchema).describe("List of attachment requests for this recipient.").nullable().optional()
39
- }).describe("Information about a document recipient/signer.");
39
+ }).passthrough().describe("Information about a document recipient/signer.");
40
40
  const SignwellSendReminder_ContactSchema = z.object({
41
- name: z.string().describe("Name of the contact."),
42
- email: z.string().describe("Email address of the contact.")
43
- }).describe("Contact information for copied contacts.");
41
+ name: z.string().describe("Name of the contact.").nullable(),
42
+ email: z.string().describe("Email address of the contact.").nullable()
43
+ }).passthrough().describe("Contact information for copied contacts.");
44
44
  const signwellSendReminder = action("SIGNWELL_SEND_REMINDER", {
45
45
  slug: "signwell-send-reminder",
46
46
  name: "Send Reminder",
47
47
  description: "Tool to send a reminder email to recipients that have not signed yet. Use when you need to prompt unsigned recipients to complete their signature.",
48
48
  input: SignwellSendReminderInput,
49
49
  output: z.object({
50
- id: z.string().describe("Unique identifier of the document."),
51
- name: z.string().describe("Name of the document."),
50
+ id: z.string().describe("Unique identifier of the document.").nullable(),
51
+ name: z.string().describe("Name of the document.").nullable(),
52
52
  files: z.array(SignwellSendReminder_DocumentFileSchema).describe("List of files attached to this document.").nullable().optional(),
53
53
  fields: z.array(z.array(z.unknown())).describe("Form fields defined in the document.").nullable().optional(),
54
54
  labels: z.array(SignwellSendReminder_LabelSchema).describe("Labels/tags applied to the document.").nullable().optional(),
55
- status: z.string().describe("Current document status: 'Draft', 'Created', 'Pending', 'Completed', 'Cancelled', 'Expired', 'Bounced', 'Sent', or 'Declined'."),
55
+ status: z.string().describe("Current document status: 'Draft', 'Created', 'Pending', 'Completed', 'Cancelled', 'Expired', 'Bounced', 'Sent', or 'Declined'.").nullable(),
56
56
  message: z.string().describe("Email message for signature requests.").nullable().optional(),
57
57
  subject: z.string().describe("Email subject for signature requests.").nullable().optional(),
58
- archived: z.boolean().describe("Whether the document has been archived."),
58
+ archived: z.boolean().describe("Whether the document has been archived.").nullable(),
59
59
  metadata: z.record(z.string(), z.unknown()).describe("Custom key-value metadata associated with the document.").nullable().optional(),
60
60
  reminders: z.boolean().describe("Whether reminders are enabled.").nullable().optional(),
61
- test_mode: z.boolean().describe("Whether this is a test document (not legally binding)."),
62
- created_at: z.string().describe("ISO 8601 timestamp when document was created."),
61
+ test_mode: z.boolean().describe("Whether this is a test document (not legally binding).").nullable(),
62
+ created_at: z.string().describe("ISO 8601 timestamp when document was created.").nullable(),
63
63
  expires_in: z.number().int().describe("Number of days before the signing request expires.").nullable().optional(),
64
64
  recipients: z.array(SignwellSendReminder_RecipientSchema).describe("List of recipients/signers for this document.").nullable().optional(),
65
- updated_at: z.string().describe("ISO 8601 timestamp when document was last updated."),
65
+ updated_at: z.string().describe("ISO 8601 timestamp when document was last updated.").nullable(),
66
66
  redirect_url: z.string().describe("URL to redirect to after successful signing.").nullable().optional(),
67
67
  allow_decline: z.boolean().describe("Whether recipients can decline to sign.").nullable().optional(),
68
68
  error_message: z.string().describe("Error message if document has issues (e.g., bounced email).").nullable().optional(),
@@ -77,8 +77,8 @@ const signwellSendReminder = action("SIGNWELL_SEND_REMINDER", {
77
77
  embedded_preview_url: z.string().describe("URL to preview the document.").nullable().optional(),
78
78
  custom_requester_name: z.string().describe("Custom name used in email communications.").nullable().optional(),
79
79
  custom_requester_email: z.string().describe("Custom email used in communications.").nullable().optional(),
80
- requester_email_address: z.string().describe("Email address of the person who created the document.")
81
- }).describe("Response containing updated document information after sending reminder.")
80
+ requester_email_address: z.string().describe("Email address of the person who created the document.").nullable()
81
+ }).passthrough().describe("Response containing updated document information after sending reminder.")
82
82
  });
83
83
  //#endregion
84
84
  export { signwellSendReminder };
@@ -1 +1 @@
1
- {"version":3,"file":"send-reminder.mjs","names":[],"sources":["../../src/actions/send-reminder.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SignwellSendReminderInput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier (UUID) of the document for which to send reminders. This ID is returned when creating a document via SIGNWELL_CREATE_DOCUMENT or can be retrieved using SIGNWELL_GET_DOCUMENT.\"),\n recipients: z.array(z.object({\n name: z.string().describe(\"Full name of the recipient to remind.\"),\n email: z.string().describe(\"Email address of the recipient to remind.\"),\n}).describe(\"A specific recipient to send a reminder to.\")).describe(\"Optional list of specific recipients within the document to send a reminder email to. If none are specified, all recipients that have not signed yet will receive a reminder email.\").optional(),\n}).describe(\"Request model for sending reminder emails to document recipients.\");\nconst SignwellSendReminder_DocumentFileSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"The name of the file.\"),\n pages_number: z.number().int().describe(\"Number of pages in the file.\"),\n}).describe(\"Information about a file in the document.\");\nconst SignwellSendReminder_LabelSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the label.\"),\n name: z.string().describe(\"Name of the label.\"),\n}).describe(\"Label information for document organization.\");\nconst SignwellSendReminder_AttachmentRequestSchema: z.ZodTypeAny = z.object({\n url: z.string().describe(\"URL to access the attachment.\"),\n name: z.string().describe(\"Name of the attachment.\"),\n required: z.boolean().describe(\"Whether the attachment is required.\"),\n}).describe(\"Information about an attachment request for a recipient.\");\nconst SignwellSendReminder_RecipientSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for this recipient.\"),\n name: z.string().describe(\"Full name of the recipient.\").nullable().optional(),\n email: z.string().describe(\"Email address of the recipient.\").nullable().optional(),\n status: z.string().describe(\"Current signing status (e.g., 'draft', 'sent', 'completed', 'declined').\").nullable().optional(),\n bounced: z.boolean().describe(\"Whether the email to this recipient bounced.\").nullable().optional(),\n message: z.string().describe(\"Custom message for this recipient.\").nullable().optional(),\n subject: z.string().describe(\"Custom subject for this recipient.\").nullable().optional(),\n passcode: z.string().describe(\"Passcode for signing access.\").nullable().optional(),\n send_email: z.boolean().describe(\"Whether to send signing request via email.\").nullable().optional(),\n signing_url: z.string().describe(\"URL where the recipient can sign the document.\").nullable().optional(),\n signing_order: z.number().int().describe(\"Order in which this recipient signs.\").nullable().optional(),\n bounced_details: z.string().describe(\"Details about why the email bounced.\").nullable().optional(),\n send_email_delay: z.number().int().describe(\"Delay in hours before sending email.\").nullable().optional(),\n attachment_requests: z.array(SignwellSendReminder_AttachmentRequestSchema).describe(\"List of attachment requests for this recipient.\").nullable().optional(),\n}).describe(\"Information about a document recipient/signer.\");\nconst SignwellSendReminder_ContactSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Name of the contact.\"),\n email: z.string().describe(\"Email address of the contact.\"),\n}).describe(\"Contact information for copied contacts.\");\nexport const SignwellSendReminderOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier of the document.\"),\n name: z.string().describe(\"Name of the document.\"),\n files: z.array(SignwellSendReminder_DocumentFileSchema).describe(\"List of files attached to this document.\").nullable().optional(),\n fields: z.array(z.array(z.unknown())).describe(\"Form fields defined in the document.\").nullable().optional(),\n labels: z.array(SignwellSendReminder_LabelSchema).describe(\"Labels/tags applied to the document.\").nullable().optional(),\n status: z.string().describe(\"Current document status: 'Draft', 'Created', 'Pending', 'Completed', 'Cancelled', 'Expired', 'Bounced', 'Sent', or 'Declined'.\"),\n message: z.string().describe(\"Email message for signature requests.\").nullable().optional(),\n subject: z.string().describe(\"Email subject for signature requests.\").nullable().optional(),\n archived: z.boolean().describe(\"Whether the document has been archived.\"),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom key-value metadata associated with the document.\").nullable().optional(),\n reminders: z.boolean().describe(\"Whether reminders are enabled.\").nullable().optional(),\n test_mode: z.boolean().describe(\"Whether this is a test document (not legally binding).\"),\n created_at: z.string().describe(\"ISO 8601 timestamp when document was created.\"),\n expires_in: z.number().int().describe(\"Number of days before the signing request expires.\").nullable().optional(),\n recipients: z.array(SignwellSendReminder_RecipientSchema).describe(\"List of recipients/signers for this document.\").nullable().optional(),\n updated_at: z.string().describe(\"ISO 8601 timestamp when document was last updated.\"),\n redirect_url: z.string().describe(\"URL to redirect to after successful signing.\").nullable().optional(),\n allow_decline: z.boolean().describe(\"Whether recipients can decline to sign.\").nullable().optional(),\n error_message: z.string().describe(\"Error message if document has issues (e.g., bounced email).\").nullable().optional(),\n allow_reassign: z.boolean().describe(\"Whether signers can reassign their responsibility.\").nullable().optional(),\n copied_contacts: z.array(SignwellSendReminder_ContactSchema).describe(\"Contacts who receive copies of completed documents.\").nullable().optional(),\n decline_message: z.string().describe(\"Message provided if the document was declined.\").nullable().optional(),\n embedded_signing: z.boolean().describe(\"Whether embedded signing (iframe) is enabled.\").nullable().optional(),\n embedded_edit_url: z.string().describe(\"URL to edit the document in SignWell's editor.\").nullable().optional(),\n api_application_id: z.string().describe(\"UUID of the API Application settings used.\").nullable().optional(),\n apply_signing_order: z.boolean().describe(\"Whether signing must follow a specific order.\").nullable().optional(),\n decline_redirect_url: z.string().describe(\"URL to redirect to if signing is declined.\").nullable().optional(),\n embedded_preview_url: z.string().describe(\"URL to preview the document.\").nullable().optional(),\n custom_requester_name: z.string().describe(\"Custom name used in email communications.\").nullable().optional(),\n custom_requester_email: z.string().describe(\"Custom email used in communications.\").nullable().optional(),\n requester_email_address: z.string().describe(\"Email address of the person who created the document.\"),\n}).describe(\"Response containing updated document information after sending reminder.\");\n\nexport const signwellSendReminder = action(\"SIGNWELL_SEND_REMINDER\", {\n slug: \"signwell-send-reminder\",\n name: \"Send Reminder\",\n description: \"Tool to send a reminder email to recipients that have not signed yet. Use when you need to prompt unsigned recipients to complete their signature.\",\n input: SignwellSendReminderInput,\n output: SignwellSendReminderOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA0C,EAAE,OAAO;CAC9D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,sMAAsM;CAC9N,YAAY,EAAE,MAAM,EAAE,OAAO;EAC7B,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;EACjE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;CACxE,CAAC,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,CAAC,SAAS,qLAAqL,CAAC,CAAC,SAAS;AACrQ,CAAC,CAAC,CAAC,SAAS,mEAAmE;AAC/E,MAAM,0CAAwD,EAAE,OAAO;CACrE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB;CACjD,cAAc,EAAE,OAAO,CA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iBAAiB,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjJ,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3G,kBAAkB,EAAE,QAAQ,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5G,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7G,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1G,qBAAqB,EAAE,QAAQ,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/G,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5G,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9F,uBAAuB,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5G,wBAAwB,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxG,yBAAyB,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;CACtG,CAAC,CAAC,CAAC,SAAS,0EAOF;AACV,CAAC"}
1
+ {"version":3,"file":"send-reminder.mjs","names":[],"sources":["../../src/actions/send-reminder.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SignwellSendReminderInput = z.object({\n id: z.string().describe(\"The unique identifier (UUID) of the document for which to send reminders. This ID is returned when creating a document via SIGNWELL_CREATE_DOCUMENT or can be retrieved using SIGNWELL_GET_DOCUMENT.\"),\n recipients: z.array(z.object({\n name: z.string().describe(\"Full name of the recipient to remind.\"),\n email: z.string().describe(\"Email address of the recipient to remind.\"),\n}).passthrough().describe(\"A specific recipient to send a reminder to.\")).describe(\"Optional list of specific recipients within the document to send a reminder email to. If none are specified, all recipients that have not signed yet will receive a reminder email.\").optional(),\n}).describe(\"Request model for sending reminder emails to document recipients.\");\nconst SignwellSendReminder_DocumentFileSchema = z.object({\n name: z.string().describe(\"The name of the file.\").nullable(),\n pages_number: z.number().int().describe(\"Number of pages in the file.\").nullable(),\n}).passthrough().describe(\"Information about a file in the document.\");\nconst SignwellSendReminder_LabelSchema = z.object({\n id: z.string().describe(\"Unique identifier for the label.\").nullable(),\n name: z.string().describe(\"Name of the label.\").nullable(),\n}).passthrough().describe(\"Label information for document organization.\");\nconst SignwellSendReminder_AttachmentRequestSchema = z.object({\n url: z.string().describe(\"URL to access the attachment.\").nullable(),\n name: z.string().describe(\"Name of the attachment.\").nullable(),\n required: z.boolean().describe(\"Whether the attachment is required.\").nullable(),\n}).passthrough().describe(\"Information about an attachment request for a recipient.\");\nconst SignwellSendReminder_RecipientSchema = z.object({\n id: z.string().describe(\"Unique identifier for this recipient.\").nullable(),\n name: z.string().describe(\"Full name of the recipient.\").nullable().optional(),\n email: z.string().describe(\"Email address of the recipient.\").nullable().optional(),\n status: z.string().describe(\"Current signing status (e.g., 'draft', 'sent', 'completed', 'declined').\").nullable().optional(),\n bounced: z.boolean().describe(\"Whether the email to this recipient bounced.\").nullable().optional(),\n message: z.string().describe(\"Custom message for this recipient.\").nullable().optional(),\n subject: z.string().describe(\"Custom subject for this recipient.\").nullable().optional(),\n passcode: z.string().describe(\"Passcode for signing access.\").nullable().optional(),\n send_email: z.boolean().describe(\"Whether to send signing request via email.\").nullable().optional(),\n signing_url: z.string().describe(\"URL where the recipient can sign the document.\").nullable().optional(),\n signing_order: z.number().int().describe(\"Order in which this recipient signs.\").nullable().optional(),\n bounced_details: z.string().describe(\"Details about why the email bounced.\").nullable().optional(),\n send_email_delay: z.number().int().describe(\"Delay in hours before sending email.\").nullable().optional(),\n attachment_requests: z.array(SignwellSendReminder_AttachmentRequestSchema).describe(\"List of attachment requests for this recipient.\").nullable().optional(),\n}).passthrough().describe(\"Information about a document recipient/signer.\");\nconst SignwellSendReminder_ContactSchema = z.object({\n name: z.string().describe(\"Name of the contact.\").nullable(),\n email: z.string().describe(\"Email address of the contact.\").nullable(),\n}).passthrough().describe(\"Contact information for copied contacts.\");\nexport const SignwellSendReminderOutput = z.object({\n id: z.string().describe(\"Unique identifier of the document.\").nullable(),\n name: z.string().describe(\"Name of the document.\").nullable(),\n files: z.array(SignwellSendReminder_DocumentFileSchema).describe(\"List of files attached to this document.\").nullable().optional(),\n fields: z.array(z.array(z.unknown())).describe(\"Form fields defined in the document.\").nullable().optional(),\n labels: z.array(SignwellSendReminder_LabelSchema).describe(\"Labels/tags applied to the document.\").nullable().optional(),\n status: z.string().describe(\"Current document status: 'Draft', 'Created', 'Pending', 'Completed', 'Cancelled', 'Expired', 'Bounced', 'Sent', or 'Declined'.\").nullable(),\n message: z.string().describe(\"Email message for signature requests.\").nullable().optional(),\n subject: z.string().describe(\"Email subject for signature requests.\").nullable().optional(),\n archived: z.boolean().describe(\"Whether the document has been archived.\").nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom key-value metadata associated with the document.\").nullable().optional(),\n reminders: z.boolean().describe(\"Whether reminders are enabled.\").nullable().optional(),\n test_mode: z.boolean().describe(\"Whether this is a test document (not legally binding).\").nullable(),\n created_at: z.string().describe(\"ISO 8601 timestamp when document was created.\").nullable(),\n expires_in: z.number().int().describe(\"Number of days before the signing request expires.\").nullable().optional(),\n recipients: z.array(SignwellSendReminder_RecipientSchema).describe(\"List of recipients/signers for this document.\").nullable().optional(),\n updated_at: z.string().describe(\"ISO 8601 timestamp when document was last updated.\").nullable(),\n redirect_url: z.string().describe(\"URL to redirect to after successful signing.\").nullable().optional(),\n allow_decline: z.boolean().describe(\"Whether recipients can decline to sign.\").nullable().optional(),\n error_message: z.string().describe(\"Error message if document has issues (e.g., bounced email).\").nullable().optional(),\n allow_reassign: z.boolean().describe(\"Whether signers can reassign their responsibility.\").nullable().optional(),\n copied_contacts: z.array(SignwellSendReminder_ContactSchema).describe(\"Contacts who receive copies of completed documents.\").nullable().optional(),\n decline_message: z.string().describe(\"Message provided if the document was declined.\").nullable().optional(),\n embedded_signing: z.boolean().describe(\"Whether embedded signing (iframe) is enabled.\").nullable().optional(),\n embedded_edit_url: z.string().describe(\"URL to edit the document in SignWell's editor.\").nullable().optional(),\n api_application_id: z.string().describe(\"UUID of the API Application settings used.\").nullable().optional(),\n apply_signing_order: z.boolean().describe(\"Whether signing must follow a specific order.\").nullable().optional(),\n decline_redirect_url: z.string().describe(\"URL to redirect to if signing is declined.\").nullable().optional(),\n embedded_preview_url: z.string().describe(\"URL to preview the document.\").nullable().optional(),\n custom_requester_name: z.string().describe(\"Custom name used in email communications.\").nullable().optional(),\n custom_requester_email: z.string().describe(\"Custom email used in communications.\").nullable().optional(),\n requester_email_address: z.string().describe(\"Email address of the person who created the document.\").nullable(),\n}).passthrough().describe(\"Response containing updated document information after sending reminder.\");\n\nexport const signwellSendReminder = action(\"SIGNWELL_SEND_REMINDER\", {\n slug: \"signwell-send-reminder\",\n name: \"Send Reminder\",\n description: \"Tool to send a reminder email to recipients that have not signed yet. Use when you need to prompt unsigned recipients to complete their signature.\",\n input: SignwellSendReminderInput,\n output: SignwellSendReminderOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4B,EAAE,OAAO;CAChD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,sMAAsM;CAC9N,YAAY,EAAE,MAAM,EAAE,OAAO;EAC7B,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;EACjE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;CACxE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA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S;EAC5G,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9F,uBAAuB,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5G,wBAAwB,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxG,yBAAyB,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CACjH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0EAOhB;AACV,CAAC"}
@@ -4,10 +4,10 @@ let zod = require("zod");
4
4
  const SignwellUpdateAndSendDocumentInput = zod.z.object({
5
5
  id: zod.z.string().describe("Unique identifier for the document to update and send."),
6
6
  name: zod.z.string().describe("The name of the document.").optional(),
7
- labels: zod.z.array(zod.z.object({ name: zod.z.string().describe("Label name for organizing and searching documents.") }).describe("Label object for organizing documents.")).describe("Labels to organize documents. Updating labels replaces any existing labels for this document.").optional(),
7
+ labels: zod.z.array(zod.z.object({ name: zod.z.string().describe("Label name for organizing and searching documents.") }).passthrough().describe("Label object for organizing documents.")).describe("Labels to organize documents. Updating labels replaces any existing labels for this document.").optional(),
8
8
  message: zod.z.string().describe("Email message for the signature request that recipients will see. Defaults to system or template message.").optional(),
9
9
  subject: zod.z.string().describe("Email subject for the signature request that recipients will see. Defaults to system or template subject.").optional(),
10
- metadata: zod.z.object({}).describe("Optional key-value data associated with the document. Available every time document data is returned.").optional(),
10
+ metadata: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Optional key-value data associated with the document. Available every time document data is returned.").optional(),
11
11
  reminders: zod.z.boolean().describe("Whether to send signing reminders to recipients. Reminders are sent on day 3, 6, and 10 if enabled.").optional(),
12
12
  test_mode: zod.z.boolean().describe("Set to true to enable Test Mode. Test Mode documents do not count towards API billing and are not legally binding.").optional(),
13
13
  expires_in: zod.z.number().int().describe("Number of days before the signature request expires. Defaults to the account or template expiration setting.").optional(),
@@ -23,9 +23,9 @@ const SignwellUpdateAndSendDocumentInput = zod.z.object({
23
23
  embedded_signing_notifications: zod.z.boolean().describe("For embedded signing, setting this to true will send out final completion notification emails to document owners and CC'd contacts.").optional()
24
24
  }).describe("Request model for updating and sending a draft document.");
25
25
  const SignwellUpdateAndSendDocument_DocumentFileSchema = zod.z.object({
26
- name: zod.z.string().describe("Name of the file."),
27
- pages_number: zod.z.number().int().describe("Number of pages in the file.")
28
- }).describe("File included in the document.");
26
+ name: zod.z.string().describe("Name of the file.").nullable(),
27
+ pages_number: zod.z.number().int().describe("Number of pages in the file.").nullable()
28
+ }).passthrough().describe("File included in the document.");
29
29
  const SignwellUpdateAndSendDocument_DocumentFieldSchema = zod.z.object({
30
30
  x: zod.z.number().describe("X coordinate of the field.").nullable().optional(),
31
31
  y: zod.z.number().describe("Y coordinate of the field.").nullable().optional(),
@@ -37,44 +37,44 @@ const SignwellUpdateAndSendDocument_DocumentFieldSchema = zod.z.object({
37
37
  height: zod.z.string().describe("Height of the field.").nullable().optional(),
38
38
  required: zod.z.boolean().describe("Whether the field is required.").nullable().optional(),
39
39
  recipient_id: zod.z.string().describe("ID of the recipient assigned to this field.").nullable().optional()
40
- }).describe("Form field defined in the document.");
40
+ }).passthrough().describe("Form field defined in the document.");
41
41
  const SignwellUpdateAndSendDocument_RecipientResponseSchema = zod.z.object({
42
- id: zod.z.string().describe("Unique identifier for the recipient."),
43
- name: zod.z.string().describe("Full name of the recipient."),
44
- email: zod.z.string().describe("Email address of the recipient."),
45
- status: zod.z.string().describe("Current signing status (e.g., 'draft', 'sent', 'completed')."),
42
+ id: zod.z.string().describe("Unique identifier for the recipient.").nullable(),
43
+ name: zod.z.string().describe("Full name of the recipient.").nullable(),
44
+ email: zod.z.string().describe("Email address of the recipient.").nullable(),
45
+ status: zod.z.string().describe("Current signing status (e.g., 'draft', 'sent', 'completed').").nullable(),
46
46
  bounced: zod.z.boolean().describe("Whether the email to this recipient bounced.").nullable().optional(),
47
47
  message: zod.z.string().describe("Custom message for this recipient.").nullable().optional(),
48
48
  subject: zod.z.string().describe("Custom subject for this recipient.").nullable().optional(),
49
49
  passcode: zod.z.string().describe("Passcode for signing access.").nullable().optional(),
50
50
  send_email: zod.z.boolean().describe("Whether to send signing request via email.").nullable().optional(),
51
51
  signing_url: zod.z.string().describe("URL where the recipient can sign the document.").nullable().optional(),
52
- signing_order: zod.z.number().int().describe("Order in which this recipient signs."),
52
+ signing_order: zod.z.number().int().describe("Order in which this recipient signs.").nullable(),
53
53
  bounced_details: zod.z.string().describe("Details about why the email bounced.").nullable().optional(),
54
54
  send_email_delay: zod.z.number().int().describe("Delay in hours before sending email.").nullable().optional(),
55
55
  attachment_requests: zod.z.array(zod.z.unknown()).describe("List of attachment requests for this recipient.").nullable().optional()
56
- }).describe("Recipient information in the response.");
56
+ }).passthrough().describe("Recipient information in the response.");
57
57
  const SignwellUpdateAndSendDocument_CopiedContactSchema = zod.z.object({
58
- name: zod.z.string().describe("Name of the contact."),
59
- email: zod.z.string().describe("Email address of the contact.")
60
- }).describe("Contact that receives a copy of the completed document.");
58
+ name: zod.z.string().describe("Name of the contact.").nullable(),
59
+ email: zod.z.string().describe("Email address of the contact.").nullable()
60
+ }).passthrough().describe("Contact that receives a copy of the completed document.");
61
61
  const SignwellUpdateAndSendDocumentOutput = zod.z.object({
62
- id: zod.z.string().describe("Unique identifier of the document."),
63
- name: zod.z.string().describe("Name of the document."),
62
+ id: zod.z.string().describe("Unique identifier of the document.").nullable(),
63
+ name: zod.z.string().describe("Name of the document.").nullable(),
64
64
  files: zod.z.array(SignwellUpdateAndSendDocument_DocumentFileSchema).describe("List of files attached to this document.").nullable().optional(),
65
65
  fields: zod.z.array(zod.z.array(SignwellUpdateAndSendDocument_DocumentFieldSchema)).describe("Form fields defined in the document.").nullable().optional(),
66
66
  labels: zod.z.array(zod.z.unknown()).describe("Labels/tags applied to the document.").nullable().optional(),
67
- status: zod.z.string().describe("Current document status (e.g., 'Draft', 'Pending', 'Completed')."),
67
+ status: zod.z.string().describe("Current document status (e.g., 'Draft', 'Pending', 'Completed').").nullable(),
68
68
  message: zod.z.string().describe("Email message for signature requests.").nullable().optional(),
69
69
  subject: zod.z.string().describe("Email subject for signature requests.").nullable().optional(),
70
- archived: zod.z.boolean().describe("Whether the document has been archived."),
71
- metadata: zod.z.object({}).describe("Custom key-value metadata associated with the document.").nullable().optional(),
70
+ archived: zod.z.boolean().describe("Whether the document has been archived.").nullable(),
71
+ metadata: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Custom key-value metadata associated with the document.").nullable().optional(),
72
72
  reminders: zod.z.boolean().describe("Whether reminders are enabled.").nullable().optional(),
73
- test_mode: zod.z.boolean().describe("Whether this is a test document (not legally binding)."),
74
- created_at: zod.z.string().describe("ISO 8601 timestamp when the document was created."),
73
+ test_mode: zod.z.boolean().describe("Whether this is a test document (not legally binding).").nullable(),
74
+ created_at: zod.z.string().describe("ISO 8601 timestamp when the document was created.").nullable(),
75
75
  expires_in: zod.z.number().int().describe("Number of days before the signing request expires.").nullable().optional(),
76
76
  recipients: zod.z.array(SignwellUpdateAndSendDocument_RecipientResponseSchema).describe("List of recipients/signers for this document.").nullable().optional(),
77
- updated_at: zod.z.string().describe("ISO 8601 timestamp when the document was last updated."),
77
+ updated_at: zod.z.string().describe("ISO 8601 timestamp when the document was last updated.").nullable(),
78
78
  redirect_url: zod.z.string().describe("URL to redirect to after successful signing.").nullable().optional(),
79
79
  allow_decline: zod.z.boolean().describe("Whether recipients can decline to sign.").nullable().optional(),
80
80
  error_message: zod.z.string().describe("Error message if document has issues.").nullable().optional(),
@@ -89,9 +89,9 @@ const SignwellUpdateAndSendDocumentOutput = zod.z.object({
89
89
  embedded_preview_url: zod.z.string().describe("URL to preview the document.").nullable().optional(),
90
90
  custom_requester_name: zod.z.string().describe("Custom name used in email communications.").nullable().optional(),
91
91
  custom_requester_email: zod.z.string().describe("Custom email used in communications.").nullable().optional(),
92
- requester_email_address: zod.z.string().describe("Email address of the person who created the document."),
92
+ requester_email_address: zod.z.string().describe("Email address of the person who created the document.").nullable(),
93
93
  embedded_signing_notifications: zod.z.boolean().describe("Whether embedded signing notifications are enabled.").nullable().optional()
94
- }).describe("Response model after updating and sending a document.");
94
+ }).passthrough().describe("Response model after updating and sending a document.");
95
95
  const signwellUpdateAndSendDocument = require_action.action("SIGNWELL_UPDATE_AND_SEND_DOCUMENT", {
96
96
  slug: "signwell-update-and-send-document",
97
97
  name: "Update and Send Document",