@keystrokehq/signwell 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +17 -0
- package/dist/action.cjs +21 -0
- package/dist/action.cjs.map +1 -0
- package/dist/action.mjs +21 -0
- package/dist/action.mjs.map +1 -0
- package/dist/actions/create-document-from-template.cjs +138 -0
- package/dist/actions/create-document-from-template.cjs.map +1 -0
- package/dist/actions/create-document-from-template.d.cts +9 -0
- package/dist/actions/create-document-from-template.d.cts.map +1 -0
- package/dist/actions/create-document-from-template.d.mts +9 -0
- package/dist/actions/create-document-from-template.d.mts.map +1 -0
- package/dist/actions/create-document-from-template.mjs +137 -0
- package/dist/actions/create-document-from-template.mjs.map +1 -0
- package/dist/actions/create-document.cjs +70 -0
- package/dist/actions/create-document.cjs.map +1 -0
- package/dist/actions/create-document.d.cts +9 -0
- package/dist/actions/create-document.d.cts.map +1 -0
- package/dist/actions/create-document.d.mts +9 -0
- package/dist/actions/create-document.d.mts.map +1 -0
- package/dist/actions/create-document.mjs +69 -0
- package/dist/actions/create-document.mjs.map +1 -0
- package/dist/actions/create-webhook.cjs +22 -0
- package/dist/actions/create-webhook.cjs.map +1 -0
- package/dist/actions/create-webhook.d.cts +9 -0
- package/dist/actions/create-webhook.d.cts.map +1 -0
- package/dist/actions/create-webhook.d.mts +9 -0
- package/dist/actions/create-webhook.d.mts.map +1 -0
- package/dist/actions/create-webhook.mjs +19 -0
- package/dist/actions/create-webhook.mjs.map +1 -0
- package/dist/actions/delete-document.cjs +19 -0
- package/dist/actions/delete-document.cjs.map +1 -0
- package/dist/actions/delete-document.d.cts +9 -0
- package/dist/actions/delete-document.d.cts.map +1 -0
- package/dist/actions/delete-document.d.mts +9 -0
- package/dist/actions/delete-document.d.mts.map +1 -0
- package/dist/actions/delete-document.mjs +16 -0
- package/dist/actions/delete-document.mjs.map +1 -0
- package/dist/actions/delete-webhook.cjs +16 -0
- package/dist/actions/delete-webhook.cjs.map +1 -0
- package/dist/actions/delete-webhook.d.cts +9 -0
- package/dist/actions/delete-webhook.d.cts.map +1 -0
- package/dist/actions/delete-webhook.d.mts +9 -0
- package/dist/actions/delete-webhook.d.mts.map +1 -0
- package/dist/actions/delete-webhook.mjs +13 -0
- package/dist/actions/delete-webhook.mjs.map +1 -0
- package/dist/actions/get-credentials.cjs +58 -0
- package/dist/actions/get-credentials.cjs.map +1 -0
- package/dist/actions/get-credentials.d.cts +9 -0
- package/dist/actions/get-credentials.d.cts.map +1 -0
- package/dist/actions/get-credentials.d.mts +9 -0
- package/dist/actions/get-credentials.d.mts.map +1 -0
- package/dist/actions/get-credentials.mjs +57 -0
- package/dist/actions/get-credentials.mjs.map +1 -0
- package/dist/actions/get-document.cjs +71 -0
- package/dist/actions/get-document.cjs.map +1 -0
- package/dist/actions/get-document.d.cts +9 -0
- package/dist/actions/get-document.d.cts.map +1 -0
- package/dist/actions/get-document.d.mts +9 -0
- package/dist/actions/get-document.d.mts.map +1 -0
- package/dist/actions/get-document.mjs +70 -0
- package/dist/actions/get-document.mjs.map +1 -0
- package/dist/actions/index.cjs +25 -0
- package/dist/actions/index.d.cts +13 -0
- package/dist/actions/index.d.mts +13 -0
- package/dist/actions/index.mjs +13 -0
- package/dist/actions/list-bulk-sends.cjs +37 -0
- package/dist/actions/list-bulk-sends.cjs.map +1 -0
- package/dist/actions/list-bulk-sends.d.cts +9 -0
- package/dist/actions/list-bulk-sends.d.cts.map +1 -0
- package/dist/actions/list-bulk-sends.d.mts +9 -0
- package/dist/actions/list-bulk-sends.d.mts.map +1 -0
- package/dist/actions/list-bulk-sends.mjs +36 -0
- package/dist/actions/list-bulk-sends.mjs.map +1 -0
- package/dist/actions/list-webhooks.cjs +22 -0
- package/dist/actions/list-webhooks.cjs.map +1 -0
- package/dist/actions/list-webhooks.d.cts +9 -0
- package/dist/actions/list-webhooks.d.cts.map +1 -0
- package/dist/actions/list-webhooks.d.mts +9 -0
- package/dist/actions/list-webhooks.d.mts.map +1 -0
- package/dist/actions/list-webhooks.mjs +21 -0
- package/dist/actions/list-webhooks.mjs.map +1 -0
- package/dist/actions/send-reminder.cjs +87 -0
- package/dist/actions/send-reminder.cjs.map +1 -0
- package/dist/actions/send-reminder.d.cts +9 -0
- package/dist/actions/send-reminder.d.cts.map +1 -0
- package/dist/actions/send-reminder.d.mts +9 -0
- package/dist/actions/send-reminder.d.mts.map +1 -0
- package/dist/actions/send-reminder.mjs +86 -0
- package/dist/actions/send-reminder.mjs.map +1 -0
- package/dist/actions/update-and-send-document.cjs +105 -0
- package/dist/actions/update-and-send-document.cjs.map +1 -0
- package/dist/actions/update-and-send-document.d.cts +9 -0
- package/dist/actions/update-and-send-document.d.cts.map +1 -0
- package/dist/actions/update-and-send-document.d.mts +9 -0
- package/dist/actions/update-and-send-document.d.mts.map +1 -0
- package/dist/actions/update-and-send-document.mjs +104 -0
- package/dist/actions/update-and-send-document.mjs.map +1 -0
- package/dist/actions/update-template.cjs +79 -0
- package/dist/actions/update-template.cjs.map +1 -0
- package/dist/actions/update-template.d.cts +9 -0
- package/dist/actions/update-template.d.cts.map +1 -0
- package/dist/actions/update-template.d.mts +9 -0
- package/dist/actions/update-template.d.mts.map +1 -0
- package/dist/actions/update-template.mjs +78 -0
- package/dist/actions/update-template.mjs.map +1 -0
- package/dist/app.cjs +9 -0
- package/dist/app.cjs.map +1 -0
- package/dist/app.d.cts +5 -0
- package/dist/app.d.cts.map +1 -0
- package/dist/app.d.mts +5 -0
- package/dist/app.d.mts.map +1 -0
- package/dist/app.mjs +10 -0
- package/dist/app.mjs.map +1 -0
- package/dist/catalog.cjs +15 -0
- package/dist/catalog.cjs.map +1 -0
- package/dist/catalog.d.cts +14 -0
- package/dist/catalog.d.cts.map +1 -0
- package/dist/catalog.d.mts +14 -0
- package/dist/catalog.d.mts.map +1 -0
- package/dist/catalog.mjs +15 -0
- package/dist/catalog.mjs.map +1 -0
- package/dist/execute.cjs +18 -0
- package/dist/execute.cjs.map +1 -0
- package/dist/execute.mjs +18 -0
- package/dist/execute.mjs.map +1 -0
- package/dist/index.cjs +30 -0
- package/dist/index.d.cts +15 -0
- package/dist/index.d.mts +15 -0
- package/dist/index.mjs +16 -0
- package/package.json +49 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-and-send-document.mjs","names":[],"sources":["../../src/actions/update-and-send-document.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SignwellUpdateAndSendDocumentInput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the document to update and send.\"),\n name: z.string().describe(\"The name of the document.\").optional(),\n labels: z.array(z.object({\n name: z.string().describe(\"Label name for organizing and searching documents.\"),\n}).describe(\"Label object for organizing documents.\")).describe(\"Labels to organize documents. Updating labels replaces any existing labels for this document.\").optional(),\n message: z.string().describe(\"Email message for the signature request that recipients will see. Defaults to system or template message.\").optional(),\n subject: z.string().describe(\"Email subject for the signature request that recipients will see. Defaults to system or template subject.\").optional(),\n metadata: z.object({}).describe(\"Optional key-value data associated with the document. Available every time document data is returned.\").optional(),\n reminders: z.boolean().describe(\"Whether to send signing reminders to recipients. Reminders are sent on day 3, 6, and 10 if enabled.\").optional(),\n test_mode: 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(),\n expires_in: z.number().int().describe(\"Number of days before the signature request expires. Defaults to the account or template expiration setting.\").optional(),\n redirect_url: z.string().describe(\"URL that recipients are redirected to after successfully signing the document.\").optional(),\n allow_decline: z.boolean().describe(\"Whether to allow recipients the option to decline signing. If multiple signers are involved, any recipient can cancel the entire process by declining.\").optional(),\n allow_reassign: z.boolean().describe(\"Allows signers to reassign their signing responsibilities to another person if they are not the right person to sign.\").optional(),\n embedded_signing: z.boolean().describe(\"When set to true, enables embedded signing in your website/web application via iFrame with email authentication disabled.\").optional(),\n api_application_id: z.string().describe(\"Unique identifier for API Application settings to use. Mainly used for isolating OAuth apps or for more control over embedded API settings.\").optional(),\n apply_signing_order: z.boolean().describe(\"When set to true, recipients will sign one at a time in the order specified.\").optional(),\n decline_redirect_url: z.string().describe(\"URL that recipients are redirected to if the document is declined.\").optional(),\n custom_requester_name: z.string().describe(\"Custom requester name used for all email communications, signing notifications, and in the audit file.\").optional(),\n custom_requester_email: z.string().describe(\"Custom requester email used for all email communications, signing notifications, and in the audit file.\").optional(),\n embedded_signing_notifications: 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(),\n}).describe(\"Request model for updating and sending a draft document.\");\nconst SignwellUpdateAndSendDocument_DocumentFileSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Name of the file.\"),\n pages_number: z.number().int().describe(\"Number of pages in the file.\"),\n}).describe(\"File included in the document.\");\nconst SignwellUpdateAndSendDocument_DocumentFieldSchema: z.ZodTypeAny = z.object({\n x: z.number().describe(\"X coordinate of the field.\").nullable().optional(),\n y: z.number().describe(\"Y coordinate of the field.\").nullable().optional(),\n page: z.number().int().describe(\"Page number where the field is located.\").nullable().optional(),\n type: z.string().describe(\"Type of the field (e.g., 'signature', 'text').\").nullable().optional(),\n value: z.string().describe(\"Current value of the field.\").nullable().optional(),\n width: z.string().describe(\"Width of the field.\").nullable().optional(),\n api_id: z.string().describe(\"API identifier for the field.\").nullable().optional(),\n height: z.string().describe(\"Height of the field.\").nullable().optional(),\n required: z.boolean().describe(\"Whether the field is required.\").nullable().optional(),\n recipient_id: z.string().describe(\"ID of the recipient assigned to this field.\").nullable().optional(),\n}).describe(\"Form field defined in the document.\");\nconst SignwellUpdateAndSendDocument_RecipientResponseSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the recipient.\"),\n name: z.string().describe(\"Full name of the recipient.\"),\n email: z.string().describe(\"Email address of the recipient.\"),\n status: z.string().describe(\"Current signing status (e.g., 'draft', 'sent', 'completed').\"),\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.\"),\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(z.unknown()).describe(\"List of attachment requests for this recipient.\").nullable().optional(),\n}).describe(\"Recipient information in the response.\");\nconst SignwellUpdateAndSendDocument_CopiedContactSchema: 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 that receives a copy of the completed document.\");\nexport const SignwellUpdateAndSendDocumentOutput: 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(SignwellUpdateAndSendDocument_DocumentFileSchema).describe(\"List of files attached to this document.\").nullable().optional(),\n fields: z.array(z.array(SignwellUpdateAndSendDocument_DocumentFieldSchema)).describe(\"Form fields defined in the document.\").nullable().optional(),\n labels: z.array(z.unknown()).describe(\"Labels/tags applied to the document.\").nullable().optional(),\n status: z.string().describe(\"Current document status (e.g., 'Draft', 'Pending', 'Completed').\"),\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.object({}).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 the document was created.\"),\n expires_in: z.number().int().describe(\"Number of days before the signing request expires.\").nullable().optional(),\n recipients: z.array(SignwellUpdateAndSendDocument_RecipientResponseSchema).describe(\"List of recipients/signers for this document.\").nullable().optional(),\n updated_at: z.string().describe(\"ISO 8601 timestamp when the 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.\").nullable().optional(),\n allow_reassign: z.boolean().describe(\"Whether signers can reassign their responsibility.\").nullable().optional(),\n copied_contacts: z.array(SignwellUpdateAndSendDocument_CopiedContactSchema).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 embedded_signing_notifications: z.boolean().describe(\"Whether embedded signing notifications are enabled.\").nullable().optional(),\n}).describe(\"Response model after updating and sending a document.\");\n\nexport const signwellUpdateAndSendDocument = action(\"SIGNWELL_UPDATE_AND_SEND_DOCUMENT\", {\n slug: \"signwell-update-and-send-document\",\n name: \"Update and Send Document\",\n description: \"Tool to update a draft document and send it to recipients for signing. Use when you need to modify document settings and initiate the signing process.\",\n input: SignwellUpdateAndSendDocumentInput,\n output: SignwellUpdateAndSendDocumentOutput,\n});\n"],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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;EACpG,gCAAgC,EAAE,QAAQ,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClI,CAAC,CAAC,CAAC,SAAS,uDAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/update-template.ts
|
|
4
|
+
const SignwellUpdateTemplateInput = zod.z.object({
|
|
5
|
+
id: zod.z.string().describe("Unique identifier for the template to update."),
|
|
6
|
+
name: zod.z.string().describe("The name of the template.").optional(),
|
|
7
|
+
draft: zod.z.boolean().describe("Whether the template can still be updated before it is ready for usage. If set to false the template is marked as Available and ready for use.").optional(),
|
|
8
|
+
labels: zod.z.array(zod.z.object({ name: zod.z.string().describe("Label name for organizing templates and documents.") }).describe("A label to organize and categorize templates.")).describe("Labels can be used to organize templates in a way that makes them easy to find using template search in SignWell. A template can have multiple labels. Updating labels on a template will replace any existing labels.").optional(),
|
|
9
|
+
message: zod.z.string().describe("Email message for the signature request that recipients will see. Defaults to the default system message or template message.").optional(),
|
|
10
|
+
subject: zod.z.string().describe("Email subject for the signature request that recipients will see. Defaults to the default system subject or template subject.").optional(),
|
|
11
|
+
metadata: zod.z.object({}).describe("Optional key-value data that can be associated with the template. If set, will be available every time the template data is returned.").optional(),
|
|
12
|
+
reminders: zod.z.boolean().describe("Whether to send signing reminders to recipients. Reminders are sent on day 3, day 6, and day 10 if set to true.").optional(),
|
|
13
|
+
expires_in: zod.z.number().int().describe("Number of days before the signature request expires. Defaults to the account expiration setting or template expiration.").optional(),
|
|
14
|
+
redirect_url: zod.z.string().describe("A URL that recipients are redirected to after successfully signing a document.").optional(),
|
|
15
|
+
allow_decline: zod.z.boolean().describe("Whether to allow recipients the option to decline signing a document. If multiple signers are involved, any single recipient can cancel the entire document signing process by declining to sign.").optional(),
|
|
16
|
+
allow_reassign: zod.z.boolean().describe("In some cases a signer is not the right person to sign and may need to reassign their signing responsibilities to another person. This feature allows them to reassign the document to someone else.").optional(),
|
|
17
|
+
api_application_id: zod.z.string().describe("Unique identifier for API Application settings to use. API Applications are optional and mainly used when isolating OAuth apps or for more control over embedded API settings.").optional(),
|
|
18
|
+
apply_signing_order: zod.z.boolean().describe("When set to true recipients will sign one at a time in the order of the recipients collection.").optional(),
|
|
19
|
+
decline_redirect_url: zod.z.string().describe("A URL that recipients are redirected to if the document is declined.").optional()
|
|
20
|
+
}).describe("Request model for updating an existing template in SignWell.");
|
|
21
|
+
const SignwellUpdateTemplate_TemplateFileSchema = zod.z.object({
|
|
22
|
+
name: zod.z.string().describe("Name of the file."),
|
|
23
|
+
pages_number: zod.z.number().int().describe("Number of pages in the file.")
|
|
24
|
+
}).describe("Information about a file in the template.");
|
|
25
|
+
const SignwellUpdateTemplate_PlaceholderSchema = zod.z.object({
|
|
26
|
+
id: zod.z.string().describe("Unique identifier for the placeholder."),
|
|
27
|
+
name: zod.z.string().describe("Name of the placeholder."),
|
|
28
|
+
message: zod.z.string().describe("Custom message for this placeholder.").nullable().optional(),
|
|
29
|
+
subject: zod.z.string().describe("Custom subject for this placeholder.").nullable().optional(),
|
|
30
|
+
signing_order: zod.z.number().int().describe("Order in which this placeholder signs.").nullable().optional(),
|
|
31
|
+
attachment_requests: zod.z.array(zod.z.object({})).describe("List of attachment requests for this placeholder.").nullable().optional(),
|
|
32
|
+
preassigned_recipient_name: zod.z.string().describe("Pre-assigned recipient name.").nullable().optional(),
|
|
33
|
+
preassigned_recipient_email: zod.z.string().describe("Pre-assigned recipient email address.").nullable().optional()
|
|
34
|
+
}).describe("Information about a placeholder (recipient) in the template.");
|
|
35
|
+
const SignwellUpdateTemplate_CopiedPlaceholderSchema = zod.z.object({
|
|
36
|
+
id: zod.z.string().describe("Unique identifier for the copied placeholder."),
|
|
37
|
+
name: zod.z.string().describe("Name of the copied placeholder."),
|
|
38
|
+
message: zod.z.string().describe("Custom message.").nullable().optional(),
|
|
39
|
+
subject: zod.z.string().describe("Custom subject.").nullable().optional(),
|
|
40
|
+
preassigned_recipient_name: zod.z.string().describe("Pre-assigned recipient name.").nullable().optional(),
|
|
41
|
+
preassigned_recipient_email: zod.z.string().describe("Pre-assigned recipient email.").nullable().optional()
|
|
42
|
+
}).describe("Information about a copied placeholder.");
|
|
43
|
+
const SignwellUpdateTemplateOutput = zod.z.object({
|
|
44
|
+
id: zod.z.string().describe("Unique identifier of the template."),
|
|
45
|
+
name: zod.z.string().describe("Name of the template."),
|
|
46
|
+
files: zod.z.array(SignwellUpdateTemplate_TemplateFileSchema).describe("List of files in the template.").nullable().optional(),
|
|
47
|
+
fields: zod.z.array(zod.z.array(zod.z.object({}))).describe("Form fields defined in the template.").nullable().optional(),
|
|
48
|
+
status: zod.z.string().describe("Current status of the template (e.g., 'Draft', 'Available')."),
|
|
49
|
+
message: zod.z.string().describe("Email message for signature requests.").nullable().optional(),
|
|
50
|
+
subject: zod.z.string().describe("Email subject for signature requests.").nullable().optional(),
|
|
51
|
+
archived: zod.z.boolean().describe("Whether the template has been archived."),
|
|
52
|
+
metadata: zod.z.object({}).describe("Custom key-value metadata associated with the template.").nullable().optional(),
|
|
53
|
+
reminders: zod.z.boolean().describe("Whether reminders are enabled."),
|
|
54
|
+
created_at: zod.z.string().describe("ISO 8601 timestamp when the template was created."),
|
|
55
|
+
expires_in: zod.z.number().int().describe("Number of days before the signing request expires.").nullable().optional(),
|
|
56
|
+
updated_at: zod.z.string().describe("ISO 8601 timestamp when the template was last updated."),
|
|
57
|
+
placeholders: zod.z.array(SignwellUpdateTemplate_PlaceholderSchema).describe("List of placeholders (recipients) in the template.").nullable().optional(),
|
|
58
|
+
redirect_url: zod.z.string().describe("URL to redirect to after successful signing.").nullable().optional(),
|
|
59
|
+
allow_decline: zod.z.boolean().describe("Whether recipients can decline to sign."),
|
|
60
|
+
template_link: zod.z.string().describe("Public link to use this template.").nullable().optional(),
|
|
61
|
+
allow_reassign: zod.z.boolean().describe("Whether signers can reassign their responsibility.").nullable().optional(),
|
|
62
|
+
embedded_edit_url: zod.z.string().describe("URL to edit the template in SignWell's editor.").nullable().optional(),
|
|
63
|
+
api_application_id: zod.z.string().describe("UUID of the API Application settings used.").nullable().optional(),
|
|
64
|
+
apply_signing_order: zod.z.boolean().describe("Whether signing must follow a specific order."),
|
|
65
|
+
copied_placeholders: zod.z.array(SignwellUpdateTemplate_CopiedPlaceholderSchema).describe("List of copied placeholders.").nullable().optional(),
|
|
66
|
+
decline_redirect_url: zod.z.string().describe("URL to redirect to if signing is declined.").nullable().optional(),
|
|
67
|
+
requester_email_address: zod.z.string().describe("Email address of the person who created the template.")
|
|
68
|
+
}).describe("Response model after updating a template.");
|
|
69
|
+
const signwellUpdateTemplate = require_action.action("SIGNWELL_UPDATE_TEMPLATE", {
|
|
70
|
+
slug: "signwell-update-template",
|
|
71
|
+
name: "Update Template",
|
|
72
|
+
description: "Tool to update an existing template in SignWell. Use when you need to modify template properties such as name, subject, message, reminders, expiration, or other settings.",
|
|
73
|
+
input: SignwellUpdateTemplateInput,
|
|
74
|
+
output: SignwellUpdateTemplateOutput
|
|
75
|
+
});
|
|
76
|
+
//#endregion
|
|
77
|
+
exports.signwellUpdateTemplate = signwellUpdateTemplate;
|
|
78
|
+
|
|
79
|
+
//# sourceMappingURL=update-template.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-template.cjs","names":["z","action"],"sources":["../../src/actions/update-template.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SignwellUpdateTemplateInput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the template to update.\"),\n name: z.string().describe(\"The name of the template.\").optional(),\n draft: z.boolean().describe(\"Whether the template can still be updated before it is ready for usage. If set to false the template is marked as Available and ready for use.\").optional(),\n labels: z.array(z.object({\n name: z.string().describe(\"Label name for organizing templates and documents.\"),\n}).describe(\"A label to organize and categorize templates.\")).describe(\"Labels can be used to organize templates in a way that makes them easy to find using template search in SignWell. A template can have multiple labels. Updating labels on a template will replace any existing labels.\").optional(),\n message: z.string().describe(\"Email message for the signature request that recipients will see. Defaults to the default system message or template message.\").optional(),\n subject: z.string().describe(\"Email subject for the signature request that recipients will see. Defaults to the default system subject or template subject.\").optional(),\n metadata: z.object({}).describe(\"Optional key-value data that can be associated with the template. If set, will be available every time the template data is returned.\").optional(),\n reminders: z.boolean().describe(\"Whether to send signing reminders to recipients. Reminders are sent on day 3, day 6, and day 10 if set to true.\").optional(),\n expires_in: z.number().int().describe(\"Number of days before the signature request expires. Defaults to the account expiration setting or template expiration.\").optional(),\n redirect_url: z.string().describe(\"A URL that recipients are redirected to after successfully signing a document.\").optional(),\n allow_decline: z.boolean().describe(\"Whether to allow recipients the option to decline signing a document. If multiple signers are involved, any single recipient can cancel the entire document signing process by declining to sign.\").optional(),\n allow_reassign: z.boolean().describe(\"In some cases a signer is not the right person to sign and may need to reassign their signing responsibilities to another person. This feature allows them to reassign the document to someone else.\").optional(),\n api_application_id: z.string().describe(\"Unique identifier for API Application settings to use. API Applications are optional and mainly used when isolating OAuth apps or for more control over embedded API settings.\").optional(),\n apply_signing_order: z.boolean().describe(\"When set to true recipients will sign one at a time in the order of the recipients collection.\").optional(),\n decline_redirect_url: z.string().describe(\"A URL that recipients are redirected to if the document is declined.\").optional(),\n}).describe(\"Request model for updating an existing template in SignWell.\");\nconst SignwellUpdateTemplate_TemplateFileSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"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 template.\");\nconst SignwellUpdateTemplate_PlaceholderSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the placeholder.\"),\n name: z.string().describe(\"Name of the placeholder.\"),\n message: z.string().describe(\"Custom message for this placeholder.\").nullable().optional(),\n subject: z.string().describe(\"Custom subject for this placeholder.\").nullable().optional(),\n signing_order: z.number().int().describe(\"Order in which this placeholder signs.\").nullable().optional(),\n attachment_requests: z.array(z.object({})).describe(\"List of attachment requests for this placeholder.\").nullable().optional(),\n preassigned_recipient_name: z.string().describe(\"Pre-assigned recipient name.\").nullable().optional(),\n preassigned_recipient_email: z.string().describe(\"Pre-assigned recipient email address.\").nullable().optional(),\n}).describe(\"Information about a placeholder (recipient) in the template.\");\nconst SignwellUpdateTemplate_CopiedPlaceholderSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the copied placeholder.\"),\n name: z.string().describe(\"Name of the copied placeholder.\"),\n message: z.string().describe(\"Custom message.\").nullable().optional(),\n subject: z.string().describe(\"Custom subject.\").nullable().optional(),\n preassigned_recipient_name: z.string().describe(\"Pre-assigned recipient name.\").nullable().optional(),\n preassigned_recipient_email: z.string().describe(\"Pre-assigned recipient email.\").nullable().optional(),\n}).describe(\"Information about a copied placeholder.\");\nexport const SignwellUpdateTemplateOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier of the template.\"),\n name: z.string().describe(\"Name of the template.\"),\n files: z.array(SignwellUpdateTemplate_TemplateFileSchema).describe(\"List of files in the template.\").nullable().optional(),\n fields: z.array(z.array(z.object({}))).describe(\"Form fields defined in the template.\").nullable().optional(),\n status: z.string().describe(\"Current status of the template (e.g., 'Draft', 'Available').\"),\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 template has been archived.\"),\n metadata: z.object({}).describe(\"Custom key-value metadata associated with the template.\").nullable().optional(),\n reminders: z.boolean().describe(\"Whether reminders are enabled.\"),\n created_at: z.string().describe(\"ISO 8601 timestamp when the template was created.\"),\n expires_in: z.number().int().describe(\"Number of days before the signing request expires.\").nullable().optional(),\n updated_at: z.string().describe(\"ISO 8601 timestamp when the template was last updated.\"),\n placeholders: z.array(SignwellUpdateTemplate_PlaceholderSchema).describe(\"List of placeholders (recipients) in the template.\").nullable().optional(),\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.\"),\n template_link: z.string().describe(\"Public link to use this template.\").nullable().optional(),\n allow_reassign: z.boolean().describe(\"Whether signers can reassign their responsibility.\").nullable().optional(),\n embedded_edit_url: z.string().describe(\"URL to edit the template 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.\"),\n copied_placeholders: z.array(SignwellUpdateTemplate_CopiedPlaceholderSchema).describe(\"List of copied placeholders.\").nullable().optional(),\n decline_redirect_url: z.string().describe(\"URL to redirect to if signing is declined.\").nullable().optional(),\n requester_email_address: z.string().describe(\"Email address of the person who created the template.\"),\n}).describe(\"Response model after updating a template.\");\n\nexport const signwellUpdateTemplate = action(\"SIGNWELL_UPDATE_TEMPLATE\", {\n slug: \"signwell-update-template\",\n name: \"Update Template\",\n description: \"Tool to update an existing template in SignWell. Use when you need to modify template properties such as name, subject, message, reminders, expiration, or other settings.\",\n input: SignwellUpdateTem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qBAAqBA,IAAAA,EAAE,MAAM,8CAA8C,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1I,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,yBAAyBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;AACtG,CAAC,CAAC,CAAC,SAAS,2CAA2C;AAEvD,MAAa,yBAAyBC,eAAAA,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/update-template.d.ts
|
|
4
|
+
declare const SignwellUpdateTemplateInput: z.ZodTypeAny;
|
|
5
|
+
declare const SignwellUpdateTemplateOutput: z.ZodTypeAny;
|
|
6
|
+
declare const signwellUpdateTemplate: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { signwellUpdateTemplate };
|
|
9
|
+
//# sourceMappingURL=update-template.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-template.d.cts","names":[],"sources":["../../src/actions/update-template.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UAkB+B;AAAA,cAuB9D,4BAAA,EAA8B,CAAA,CAAE,UAyBW;AAAA,cAE3C,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/update-template.d.ts
|
|
4
|
+
declare const SignwellUpdateTemplateInput: z.ZodTypeAny;
|
|
5
|
+
declare const SignwellUpdateTemplateOutput: z.ZodTypeAny;
|
|
6
|
+
declare const signwellUpdateTemplate: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { signwellUpdateTemplate };
|
|
9
|
+
//# sourceMappingURL=update-template.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-template.d.mts","names":[],"sources":["../../src/actions/update-template.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UAkB+B;AAAA,cAuB9D,4BAAA,EAA8B,CAAA,CAAE,UAyBW;AAAA,cAE3C,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/update-template.ts
|
|
4
|
+
const SignwellUpdateTemplateInput = z.object({
|
|
5
|
+
id: z.string().describe("Unique identifier for the template to update."),
|
|
6
|
+
name: z.string().describe("The name of the template.").optional(),
|
|
7
|
+
draft: z.boolean().describe("Whether the template can still be updated before it is ready for usage. If set to false the template is marked as Available and ready for use.").optional(),
|
|
8
|
+
labels: z.array(z.object({ name: z.string().describe("Label name for organizing templates and documents.") }).describe("A label to organize and categorize templates.")).describe("Labels can be used to organize templates in a way that makes them easy to find using template search in SignWell. A template can have multiple labels. Updating labels on a template will replace any existing labels.").optional(),
|
|
9
|
+
message: z.string().describe("Email message for the signature request that recipients will see. Defaults to the default system message or template message.").optional(),
|
|
10
|
+
subject: z.string().describe("Email subject for the signature request that recipients will see. Defaults to the default system subject or template subject.").optional(),
|
|
11
|
+
metadata: z.object({}).describe("Optional key-value data that can be associated with the template. If set, will be available every time the template data is returned.").optional(),
|
|
12
|
+
reminders: z.boolean().describe("Whether to send signing reminders to recipients. Reminders are sent on day 3, day 6, and day 10 if set to true.").optional(),
|
|
13
|
+
expires_in: z.number().int().describe("Number of days before the signature request expires. Defaults to the account expiration setting or template expiration.").optional(),
|
|
14
|
+
redirect_url: z.string().describe("A URL that recipients are redirected to after successfully signing a document.").optional(),
|
|
15
|
+
allow_decline: z.boolean().describe("Whether to allow recipients the option to decline signing a document. If multiple signers are involved, any single recipient can cancel the entire document signing process by declining to sign.").optional(),
|
|
16
|
+
allow_reassign: z.boolean().describe("In some cases a signer is not the right person to sign and may need to reassign their signing responsibilities to another person. This feature allows them to reassign the document to someone else.").optional(),
|
|
17
|
+
api_application_id: z.string().describe("Unique identifier for API Application settings to use. API Applications are optional and mainly used when isolating OAuth apps or for more control over embedded API settings.").optional(),
|
|
18
|
+
apply_signing_order: z.boolean().describe("When set to true recipients will sign one at a time in the order of the recipients collection.").optional(),
|
|
19
|
+
decline_redirect_url: z.string().describe("A URL that recipients are redirected to if the document is declined.").optional()
|
|
20
|
+
}).describe("Request model for updating an existing template in SignWell.");
|
|
21
|
+
const SignwellUpdateTemplate_TemplateFileSchema = z.object({
|
|
22
|
+
name: z.string().describe("Name of the file."),
|
|
23
|
+
pages_number: z.number().int().describe("Number of pages in the file.")
|
|
24
|
+
}).describe("Information about a file in the template.");
|
|
25
|
+
const SignwellUpdateTemplate_PlaceholderSchema = z.object({
|
|
26
|
+
id: z.string().describe("Unique identifier for the placeholder."),
|
|
27
|
+
name: z.string().describe("Name of the placeholder."),
|
|
28
|
+
message: z.string().describe("Custom message for this placeholder.").nullable().optional(),
|
|
29
|
+
subject: z.string().describe("Custom subject for this placeholder.").nullable().optional(),
|
|
30
|
+
signing_order: z.number().int().describe("Order in which this placeholder signs.").nullable().optional(),
|
|
31
|
+
attachment_requests: z.array(z.object({})).describe("List of attachment requests for this placeholder.").nullable().optional(),
|
|
32
|
+
preassigned_recipient_name: z.string().describe("Pre-assigned recipient name.").nullable().optional(),
|
|
33
|
+
preassigned_recipient_email: z.string().describe("Pre-assigned recipient email address.").nullable().optional()
|
|
34
|
+
}).describe("Information about a placeholder (recipient) in the template.");
|
|
35
|
+
const SignwellUpdateTemplate_CopiedPlaceholderSchema = z.object({
|
|
36
|
+
id: z.string().describe("Unique identifier for the copied placeholder."),
|
|
37
|
+
name: z.string().describe("Name of the copied placeholder."),
|
|
38
|
+
message: z.string().describe("Custom message.").nullable().optional(),
|
|
39
|
+
subject: z.string().describe("Custom subject.").nullable().optional(),
|
|
40
|
+
preassigned_recipient_name: z.string().describe("Pre-assigned recipient name.").nullable().optional(),
|
|
41
|
+
preassigned_recipient_email: z.string().describe("Pre-assigned recipient email.").nullable().optional()
|
|
42
|
+
}).describe("Information about a copied placeholder.");
|
|
43
|
+
const signwellUpdateTemplate = action("SIGNWELL_UPDATE_TEMPLATE", {
|
|
44
|
+
slug: "signwell-update-template",
|
|
45
|
+
name: "Update Template",
|
|
46
|
+
description: "Tool to update an existing template in SignWell. Use when you need to modify template properties such as name, subject, message, reminders, expiration, or other settings.",
|
|
47
|
+
input: SignwellUpdateTemplateInput,
|
|
48
|
+
output: z.object({
|
|
49
|
+
id: z.string().describe("Unique identifier of the template."),
|
|
50
|
+
name: z.string().describe("Name of the template."),
|
|
51
|
+
files: z.array(SignwellUpdateTemplate_TemplateFileSchema).describe("List of files in the template.").nullable().optional(),
|
|
52
|
+
fields: z.array(z.array(z.object({}))).describe("Form fields defined in the template.").nullable().optional(),
|
|
53
|
+
status: z.string().describe("Current status of the template (e.g., 'Draft', 'Available')."),
|
|
54
|
+
message: z.string().describe("Email message for signature requests.").nullable().optional(),
|
|
55
|
+
subject: z.string().describe("Email subject for signature requests.").nullable().optional(),
|
|
56
|
+
archived: z.boolean().describe("Whether the template has been archived."),
|
|
57
|
+
metadata: z.object({}).describe("Custom key-value metadata associated with the template.").nullable().optional(),
|
|
58
|
+
reminders: z.boolean().describe("Whether reminders are enabled."),
|
|
59
|
+
created_at: z.string().describe("ISO 8601 timestamp when the template was created."),
|
|
60
|
+
expires_in: z.number().int().describe("Number of days before the signing request expires.").nullable().optional(),
|
|
61
|
+
updated_at: z.string().describe("ISO 8601 timestamp when the template was last updated."),
|
|
62
|
+
placeholders: z.array(SignwellUpdateTemplate_PlaceholderSchema).describe("List of placeholders (recipients) in the template.").nullable().optional(),
|
|
63
|
+
redirect_url: z.string().describe("URL to redirect to after successful signing.").nullable().optional(),
|
|
64
|
+
allow_decline: z.boolean().describe("Whether recipients can decline to sign."),
|
|
65
|
+
template_link: z.string().describe("Public link to use this template.").nullable().optional(),
|
|
66
|
+
allow_reassign: z.boolean().describe("Whether signers can reassign their responsibility.").nullable().optional(),
|
|
67
|
+
embedded_edit_url: z.string().describe("URL to edit the template in SignWell's editor.").nullable().optional(),
|
|
68
|
+
api_application_id: z.string().describe("UUID of the API Application settings used.").nullable().optional(),
|
|
69
|
+
apply_signing_order: z.boolean().describe("Whether signing must follow a specific order."),
|
|
70
|
+
copied_placeholders: z.array(SignwellUpdateTemplate_CopiedPlaceholderSchema).describe("List of copied placeholders.").nullable().optional(),
|
|
71
|
+
decline_redirect_url: z.string().describe("URL to redirect to if signing is declined.").nullable().optional(),
|
|
72
|
+
requester_email_address: z.string().describe("Email address of the person who created the template.")
|
|
73
|
+
}).describe("Response model after updating a template.")
|
|
74
|
+
});
|
|
75
|
+
//#endregion
|
|
76
|
+
export { signwellUpdateTemplate };
|
|
77
|
+
|
|
78
|
+
//# sourceMappingURL=update-template.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-template.mjs","names":[],"sources":["../../src/actions/update-template.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SignwellUpdateTemplateInput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the template to update.\"),\n name: z.string().describe(\"The name of the template.\").optional(),\n draft: z.boolean().describe(\"Whether the template can still be updated before it is ready for usage. If set to false the template is marked as Available and ready for use.\").optional(),\n labels: z.array(z.object({\n name: z.string().describe(\"Label name for organizing templates and documents.\"),\n}).describe(\"A label to organize and categorize templates.\")).describe(\"Labels can be used to organize templates in a way that makes them easy to find using template search in SignWell. A template can have multiple labels. Updating labels on a template will replace any existing labels.\").optional(),\n message: z.string().describe(\"Email message for the signature request that recipients will see. Defaults to the default system message or template message.\").optional(),\n subject: z.string().describe(\"Email subject for the signature request that recipients will see. Defaults to the default system subject or template subject.\").optional(),\n metadata: z.object({}).describe(\"Optional key-value data that can be associated with the template. If set, will be available every time the template data is returned.\").optional(),\n reminders: z.boolean().describe(\"Whether to send signing reminders to recipients. Reminders are sent on day 3, day 6, and day 10 if set to true.\").optional(),\n expires_in: z.number().int().describe(\"Number of days before the signature request expires. Defaults to the account expiration setting or template expiration.\").optional(),\n redirect_url: z.string().describe(\"A URL that recipients are redirected to after successfully signing a document.\").optional(),\n allow_decline: z.boolean().describe(\"Whether to allow recipients the option to decline signing a document. If multiple signers are involved, any single recipient can cancel the entire document signing process by declining to sign.\").optional(),\n allow_reassign: z.boolean().describe(\"In some cases a signer is not the right person to sign and may need to reassign their signing responsibilities to another person. This feature allows them to reassign the document to someone else.\").optional(),\n api_application_id: z.string().describe(\"Unique identifier for API Application settings to use. API Applications are optional and mainly used when isolating OAuth apps or for more control over embedded API settings.\").optional(),\n apply_signing_order: z.boolean().describe(\"When set to true recipients will sign one at a time in the order of the recipients collection.\").optional(),\n decline_redirect_url: z.string().describe(\"A URL that recipients are redirected to if the document is declined.\").optional(),\n}).describe(\"Request model for updating an existing template in SignWell.\");\nconst SignwellUpdateTemplate_TemplateFileSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"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 template.\");\nconst SignwellUpdateTemplate_PlaceholderSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the placeholder.\"),\n name: z.string().describe(\"Name of the placeholder.\"),\n message: z.string().describe(\"Custom message for this placeholder.\").nullable().optional(),\n subject: z.string().describe(\"Custom subject for this placeholder.\").nullable().optional(),\n signing_order: z.number().int().describe(\"Order in which this placeholder signs.\").nullable().optional(),\n attachment_requests: z.array(z.object({})).describe(\"List of attachment requests for this placeholder.\").nullable().optional(),\n preassigned_recipient_name: z.string().describe(\"Pre-assigned recipient name.\").nullable().optional(),\n preassigned_recipient_email: z.string().describe(\"Pre-assigned recipient email address.\").nullable().optional(),\n}).describe(\"Information about a placeholder (recipient) in the template.\");\nconst SignwellUpdateTemplate_CopiedPlaceholderSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the copied placeholder.\"),\n name: z.string().describe(\"Name of the copied placeholder.\"),\n message: z.string().describe(\"Custom message.\").nullable().optional(),\n subject: z.string().describe(\"Custom subject.\").nullable().optional(),\n preassigned_recipient_name: z.string().describe(\"Pre-assigned recipient name.\").nullable().optional(),\n preassigned_recipient_email: z.string().describe(\"Pre-assigned recipient email.\").nullable().optional(),\n}).describe(\"Information about a copied placeholder.\");\nexport const SignwellUpdateTemplateOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier of the template.\"),\n name: z.string().describe(\"Name of the template.\"),\n files: z.array(SignwellUpdateTemplate_TemplateFileSchema).describe(\"List of files in the template.\").nullable().optional(),\n fields: z.array(z.array(z.object({}))).describe(\"Form fields defined in the template.\").nullable().optional(),\n status: z.string().describe(\"Current status of the template (e.g., 'Draft', 'Available').\"),\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 template has been archived.\"),\n metadata: z.object({}).describe(\"Custom key-value metadata associated with the template.\").nullable().optional(),\n reminders: z.boolean().describe(\"Whether reminders are enabled.\"),\n created_at: z.string().describe(\"ISO 8601 timestamp when the template was created.\"),\n expires_in: z.number().int().describe(\"Number of days before the signing request expires.\").nullable().optional(),\n updated_at: z.string().describe(\"ISO 8601 timestamp when the template was last updated.\"),\n placeholders: z.array(SignwellUpdateTemplate_PlaceholderSchema).describe(\"List of placeholders (recipients) in the template.\").nullable().optional(),\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.\"),\n template_link: z.string().describe(\"Public link to use this template.\").nullable().optional(),\n allow_reassign: z.boolean().describe(\"Whether signers can reassign their responsibility.\").nullable().optional(),\n embedded_edit_url: z.string().describe(\"URL to edit the template 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.\"),\n copied_placeholders: z.array(SignwellUpdateTemplate_CopiedPlaceholderSchema).describe(\"List of copied placeholders.\").nullable().optional(),\n decline_redirect_url: z.string().describe(\"URL to redirect to if signing is declined.\").nullable().optional(),\n requester_email_address: z.string().describe(\"Email address of the person who created the template.\"),\n}).describe(\"Response model after updating a template.\");\n\nexport const signwellUpdateTemplate = action(\"SIGNWELL_UPDATE_TEMPLATE\", {\n slug: \"signwell-update-template\",\n name: \"Update Template\",\n description: \"Tool to update an existing template in SignWell. Use when you need to modify template properties such as name, subject, message, reminders, expiration, or other settings.\",\n input: SignwellUpdateTemplateInput,\n output: SignwellUpdateTemplateOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA4C,EAAE,OAAO;CAChE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;CACvE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAChE,OAAO,EAAE,QAAQ,CAAC,CAAC,SAAS,gJAAgJ,CAAC,CAAC,SAAS;CACvL,QAAQ,EAAE,MAAM,EAAE,OAAO,EACzB,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,EAChF,CAAC,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,CAAC,SAAS,wNAAwN,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AAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5F,gBAAgB,EAAE,QAAQ,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/G,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;EACzF,qBAAqB,EAAE,MAAM,8CAA8C,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1I,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5G,yBAAyB,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;CACtG,CAAC,CAAC,CAAC,SAAS,2CAOF;AACV,CAAC"}
|
package/dist/app.cjs
ADDED
package/dist/app.cjs.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"app.cjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\n\nexport const signwell = defineApp({\n slug: \"signwell\",\n auth: \"keystroke\",\n});\n"],"mappings":";AAEA,MAAa,YAAA,uCAAA,CAAA,CAAA,UAAA,CAAqB;CAChC,MAAM;CACN,MAAM;AACR,CAAC"}
|
package/dist/app.d.cts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";cAEa,QAAA,6BAAQ,GAAA,+BAAA,UAAA"}
|
package/dist/app.d.mts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";cAEa,QAAA,6BAAQ,GAAA,+BAAA,UAAA"}
|
package/dist/app.mjs
ADDED
package/dist/app.mjs.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\n\nexport const signwell = defineApp({\n slug: \"signwell\",\n auth: \"keystroke\",\n});\n"],"mappings":";;AAEA,MAAa,WAAW,UAAU;CAChC,MAAM;CACN,MAAM;AACR,CAAC"}
|
package/dist/catalog.cjs
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
//#region src/catalog.ts
|
|
2
|
+
/** Generated — kept in sync with src/app.ts. */
|
|
3
|
+
const signwellCatalog = {
|
|
4
|
+
"slug": "signwell",
|
|
5
|
+
"name": "Signwell",
|
|
6
|
+
"description": "SignWell is an electronic signature tool for legally binding e-signatures and faster document signing.",
|
|
7
|
+
"category": "Signatures",
|
|
8
|
+
"logo": "https://logos.composio.dev/api/signwell",
|
|
9
|
+
"authKind": "keystroke",
|
|
10
|
+
"oauthScopes": []
|
|
11
|
+
};
|
|
12
|
+
//#endregion
|
|
13
|
+
exports.signwellCatalog = signwellCatalog;
|
|
14
|
+
|
|
15
|
+
//# sourceMappingURL=catalog.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const signwellCatalog = {\n \"slug\": \"signwell\",\n \"name\": \"Signwell\",\n \"description\": \"SignWell is an electronic signature tool for legally binding e-signatures and faster document signing.\",\n \"category\": \"Signatures\",\n \"logo\": \"https://logos.composio.dev/api/signwell\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": []\n} as const;\n"],"mappings":";;AACA,MAAa,kBAAkB;CAC7B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;AAClB"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
//#region src/catalog.d.ts
|
|
2
|
+
/** Generated — kept in sync with src/app.ts. */
|
|
3
|
+
declare const signwellCatalog: {
|
|
4
|
+
readonly slug: "signwell";
|
|
5
|
+
readonly name: "Signwell";
|
|
6
|
+
readonly description: "SignWell is an electronic signature tool for legally binding e-signatures and faster document signing.";
|
|
7
|
+
readonly category: "Signatures";
|
|
8
|
+
readonly logo: "https://logos.composio.dev/api/signwell";
|
|
9
|
+
readonly authKind: "keystroke";
|
|
10
|
+
readonly oauthScopes: readonly [];
|
|
11
|
+
};
|
|
12
|
+
//#endregion
|
|
13
|
+
export { signwellCatalog };
|
|
14
|
+
//# sourceMappingURL=catalog.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"catalog.d.cts","names":[],"sources":["../src/catalog.ts"],"mappings":";;cACa,eAAA;EAAA"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
//#region src/catalog.d.ts
|
|
2
|
+
/** Generated — kept in sync with src/app.ts. */
|
|
3
|
+
declare const signwellCatalog: {
|
|
4
|
+
readonly slug: "signwell";
|
|
5
|
+
readonly name: "Signwell";
|
|
6
|
+
readonly description: "SignWell is an electronic signature tool for legally binding e-signatures and faster document signing.";
|
|
7
|
+
readonly category: "Signatures";
|
|
8
|
+
readonly logo: "https://logos.composio.dev/api/signwell";
|
|
9
|
+
readonly authKind: "keystroke";
|
|
10
|
+
readonly oauthScopes: readonly [];
|
|
11
|
+
};
|
|
12
|
+
//#endregion
|
|
13
|
+
export { signwellCatalog };
|
|
14
|
+
//# sourceMappingURL=catalog.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"catalog.d.mts","names":[],"sources":["../src/catalog.ts"],"mappings":";;cACa,eAAA;EAAA"}
|
package/dist/catalog.mjs
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
//#region src/catalog.ts
|
|
2
|
+
/** Generated — kept in sync with src/app.ts. */
|
|
3
|
+
const signwellCatalog = {
|
|
4
|
+
"slug": "signwell",
|
|
5
|
+
"name": "Signwell",
|
|
6
|
+
"description": "SignWell is an electronic signature tool for legally binding e-signatures and faster document signing.",
|
|
7
|
+
"category": "Signatures",
|
|
8
|
+
"logo": "https://logos.composio.dev/api/signwell",
|
|
9
|
+
"authKind": "keystroke",
|
|
10
|
+
"oauthScopes": []
|
|
11
|
+
};
|
|
12
|
+
//#endregion
|
|
13
|
+
export { signwellCatalog };
|
|
14
|
+
|
|
15
|
+
//# sourceMappingURL=catalog.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"catalog.mjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const signwellCatalog = {\n \"slug\": \"signwell\",\n \"name\": \"Signwell\",\n \"description\": \"SignWell is an electronic signature tool for legally binding e-signatures and faster document signing.\",\n \"category\": \"Signatures\",\n \"logo\": \"https://logos.composio.dev/api/signwell\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": []\n} as const;\n"],"mappings":";;AACA,MAAa,kBAAkB;CAC7B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;AAClB"}
|
package/dist/execute.cjs
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
let _keystrokehq_keystroke_client = require("@keystrokehq/keystroke/client");
|
|
2
|
+
//#region src/execute.ts
|
|
3
|
+
const APP_SLUG = "signwell";
|
|
4
|
+
/** Pinned app version — updated on regeneration. */
|
|
5
|
+
const APP_VERSION = "20260615_00";
|
|
6
|
+
async function executeSignwellTool(tool, args) {
|
|
7
|
+
const { result } = await (0, _keystrokehq_keystroke_client.createKeystrokeClient)().tools.execute({
|
|
8
|
+
app: APP_SLUG,
|
|
9
|
+
tool,
|
|
10
|
+
arguments: args,
|
|
11
|
+
version: APP_VERSION
|
|
12
|
+
});
|
|
13
|
+
return result;
|
|
14
|
+
}
|
|
15
|
+
//#endregion
|
|
16
|
+
exports.executeSignwellTool = executeSignwellTool;
|
|
17
|
+
|
|
18
|
+
//# sourceMappingURL=execute.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"execute.cjs","names":[],"sources":["../src/execute.ts"],"sourcesContent":["import { createKeystrokeClient } from \"@keystrokehq/keystroke/client\";\n\nconst APP_SLUG = \"signwell\";\n/** Pinned app version — updated on regeneration. */\nconst APP_VERSION = \"20260615_00\";\n\nexport async function executeSignwellTool(\n tool: string,\n args: Record<string, unknown>,\n): Promise<unknown> {\n const { result } = await createKeystrokeClient().tools.execute({\n app: APP_SLUG,\n tool,\n arguments: args,\n version: APP_VERSION,\n });\n return result;\n}\n"],"mappings":";;AAEA,MAAM,WAAW;;AAEjB,MAAM,cAAc;AAEpB,eAAsB,oBACpB,MACA,MACkB;CAClB,MAAM,EAAE,WAAW,OAAA,GAAA,8BAAA,sBAAA,CAA4B,CAAC,CAAC,MAAM,QAAQ;EAC7D,KAAK;EACL;EACA,WAAW;EACX,SAAS;CACX,CAAC;CACD,OAAO;AACT"}
|
package/dist/execute.mjs
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { createKeystrokeClient } from "@keystrokehq/keystroke/client";
|
|
2
|
+
//#region src/execute.ts
|
|
3
|
+
const APP_SLUG = "signwell";
|
|
4
|
+
/** Pinned app version — updated on regeneration. */
|
|
5
|
+
const APP_VERSION = "20260615_00";
|
|
6
|
+
async function executeSignwellTool(tool, args) {
|
|
7
|
+
const { result } = await createKeystrokeClient().tools.execute({
|
|
8
|
+
app: APP_SLUG,
|
|
9
|
+
tool,
|
|
10
|
+
arguments: args,
|
|
11
|
+
version: APP_VERSION
|
|
12
|
+
});
|
|
13
|
+
return result;
|
|
14
|
+
}
|
|
15
|
+
//#endregion
|
|
16
|
+
export { executeSignwellTool };
|
|
17
|
+
|
|
18
|
+
//# sourceMappingURL=execute.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"execute.mjs","names":[],"sources":["../src/execute.ts"],"sourcesContent":["import { createKeystrokeClient } from \"@keystrokehq/keystroke/client\";\n\nconst APP_SLUG = \"signwell\";\n/** Pinned app version — updated on regeneration. */\nconst APP_VERSION = \"20260615_00\";\n\nexport async function executeSignwellTool(\n tool: string,\n args: Record<string, unknown>,\n): Promise<unknown> {\n const { result } = await createKeystrokeClient().tools.execute({\n app: APP_SLUG,\n tool,\n arguments: args,\n version: APP_VERSION,\n });\n return result;\n}\n"],"mappings":";;AAEA,MAAM,WAAW;;AAEjB,MAAM,cAAc;AAEpB,eAAsB,oBACpB,MACA,MACkB;CAClB,MAAM,EAAE,WAAW,MAAM,sBAAsB,CAAC,CAAC,MAAM,QAAQ;EAC7D,KAAK;EACL;EACA,WAAW;EACX,SAAS;CACX,CAAC;CACD,OAAO;AACT"}
|
package/dist/index.cjs
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
+
const require_app = require("./app.cjs");
|
|
3
|
+
const require_catalog = require("./catalog.cjs");
|
|
4
|
+
const require_create_document = require("./actions/create-document.cjs");
|
|
5
|
+
const require_create_document_from_template = require("./actions/create-document-from-template.cjs");
|
|
6
|
+
const require_create_webhook = require("./actions/create-webhook.cjs");
|
|
7
|
+
const require_delete_document = require("./actions/delete-document.cjs");
|
|
8
|
+
const require_delete_webhook = require("./actions/delete-webhook.cjs");
|
|
9
|
+
const require_get_credentials = require("./actions/get-credentials.cjs");
|
|
10
|
+
const require_get_document = require("./actions/get-document.cjs");
|
|
11
|
+
const require_list_bulk_sends = require("./actions/list-bulk-sends.cjs");
|
|
12
|
+
const require_list_webhooks = require("./actions/list-webhooks.cjs");
|
|
13
|
+
const require_send_reminder = require("./actions/send-reminder.cjs");
|
|
14
|
+
const require_update_and_send_document = require("./actions/update-and-send-document.cjs");
|
|
15
|
+
const require_update_template = require("./actions/update-template.cjs");
|
|
16
|
+
require("./actions/index.cjs");
|
|
17
|
+
exports.signwell = require_app.signwell;
|
|
18
|
+
exports.signwellCatalog = require_catalog.signwellCatalog;
|
|
19
|
+
exports.signwellCreateDocument = require_create_document.signwellCreateDocument;
|
|
20
|
+
exports.signwellCreateDocumentFromTemplate = require_create_document_from_template.signwellCreateDocumentFromTemplate;
|
|
21
|
+
exports.signwellCreateWebhook = require_create_webhook.signwellCreateWebhook;
|
|
22
|
+
exports.signwellDeleteDocument = require_delete_document.signwellDeleteDocument;
|
|
23
|
+
exports.signwellDeleteWebhook = require_delete_webhook.signwellDeleteWebhook;
|
|
24
|
+
exports.signwellGetCredentials = require_get_credentials.signwellGetCredentials;
|
|
25
|
+
exports.signwellGetDocument = require_get_document.signwellGetDocument;
|
|
26
|
+
exports.signwellListBulkSends = require_list_bulk_sends.signwellListBulkSends;
|
|
27
|
+
exports.signwellListWebhooks = require_list_webhooks.signwellListWebhooks;
|
|
28
|
+
exports.signwellSendReminder = require_send_reminder.signwellSendReminder;
|
|
29
|
+
exports.signwellUpdateAndSendDocument = require_update_and_send_document.signwellUpdateAndSendDocument;
|
|
30
|
+
exports.signwellUpdateTemplate = require_update_template.signwellUpdateTemplate;
|
package/dist/index.d.cts
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { signwellCreateDocument } from "./actions/create-document.cjs";
|
|
2
|
+
import { signwellCreateDocumentFromTemplate } from "./actions/create-document-from-template.cjs";
|
|
3
|
+
import { signwellCreateWebhook } from "./actions/create-webhook.cjs";
|
|
4
|
+
import { signwellDeleteDocument } from "./actions/delete-document.cjs";
|
|
5
|
+
import { signwellDeleteWebhook } from "./actions/delete-webhook.cjs";
|
|
6
|
+
import { signwellGetCredentials } from "./actions/get-credentials.cjs";
|
|
7
|
+
import { signwellGetDocument } from "./actions/get-document.cjs";
|
|
8
|
+
import { signwellListBulkSends } from "./actions/list-bulk-sends.cjs";
|
|
9
|
+
import { signwellListWebhooks } from "./actions/list-webhooks.cjs";
|
|
10
|
+
import { signwellSendReminder } from "./actions/send-reminder.cjs";
|
|
11
|
+
import { signwellUpdateAndSendDocument } from "./actions/update-and-send-document.cjs";
|
|
12
|
+
import { signwellUpdateTemplate } from "./actions/update-template.cjs";
|
|
13
|
+
import { signwell } from "./app.cjs";
|
|
14
|
+
import { signwellCatalog } from "./catalog.cjs";
|
|
15
|
+
export { signwell, signwellCatalog, signwellCreateDocument, signwellCreateDocumentFromTemplate, signwellCreateWebhook, signwellDeleteDocument, signwellDeleteWebhook, signwellGetCredentials, signwellGetDocument, signwellListBulkSends, signwellListWebhooks, signwellSendReminder, signwellUpdateAndSendDocument, signwellUpdateTemplate };
|
package/dist/index.d.mts
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { signwellCreateDocument } from "./actions/create-document.mjs";
|
|
2
|
+
import { signwellCreateDocumentFromTemplate } from "./actions/create-document-from-template.mjs";
|
|
3
|
+
import { signwellCreateWebhook } from "./actions/create-webhook.mjs";
|
|
4
|
+
import { signwellDeleteDocument } from "./actions/delete-document.mjs";
|
|
5
|
+
import { signwellDeleteWebhook } from "./actions/delete-webhook.mjs";
|
|
6
|
+
import { signwellGetCredentials } from "./actions/get-credentials.mjs";
|
|
7
|
+
import { signwellGetDocument } from "./actions/get-document.mjs";
|
|
8
|
+
import { signwellListBulkSends } from "./actions/list-bulk-sends.mjs";
|
|
9
|
+
import { signwellListWebhooks } from "./actions/list-webhooks.mjs";
|
|
10
|
+
import { signwellSendReminder } from "./actions/send-reminder.mjs";
|
|
11
|
+
import { signwellUpdateAndSendDocument } from "./actions/update-and-send-document.mjs";
|
|
12
|
+
import { signwellUpdateTemplate } from "./actions/update-template.mjs";
|
|
13
|
+
import { signwell } from "./app.mjs";
|
|
14
|
+
import { signwellCatalog } from "./catalog.mjs";
|
|
15
|
+
export { signwell, signwellCatalog, signwellCreateDocument, signwellCreateDocumentFromTemplate, signwellCreateWebhook, signwellDeleteDocument, signwellDeleteWebhook, signwellGetCredentials, signwellGetDocument, signwellListBulkSends, signwellListWebhooks, signwellSendReminder, signwellUpdateAndSendDocument, signwellUpdateTemplate };
|
package/dist/index.mjs
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { signwell } from "./app.mjs";
|
|
2
|
+
import { signwellCatalog } from "./catalog.mjs";
|
|
3
|
+
import { signwellCreateDocument } from "./actions/create-document.mjs";
|
|
4
|
+
import { signwellCreateDocumentFromTemplate } from "./actions/create-document-from-template.mjs";
|
|
5
|
+
import { signwellCreateWebhook } from "./actions/create-webhook.mjs";
|
|
6
|
+
import { signwellDeleteDocument } from "./actions/delete-document.mjs";
|
|
7
|
+
import { signwellDeleteWebhook } from "./actions/delete-webhook.mjs";
|
|
8
|
+
import { signwellGetCredentials } from "./actions/get-credentials.mjs";
|
|
9
|
+
import { signwellGetDocument } from "./actions/get-document.mjs";
|
|
10
|
+
import { signwellListBulkSends } from "./actions/list-bulk-sends.mjs";
|
|
11
|
+
import { signwellListWebhooks } from "./actions/list-webhooks.mjs";
|
|
12
|
+
import { signwellSendReminder } from "./actions/send-reminder.mjs";
|
|
13
|
+
import { signwellUpdateAndSendDocument } from "./actions/update-and-send-document.mjs";
|
|
14
|
+
import { signwellUpdateTemplate } from "./actions/update-template.mjs";
|
|
15
|
+
import "./actions/index.mjs";
|
|
16
|
+
export { signwell, signwellCatalog, signwellCreateDocument, signwellCreateDocumentFromTemplate, signwellCreateWebhook, signwellDeleteDocument, signwellDeleteWebhook, signwellGetCredentials, signwellGetDocument, signwellListBulkSends, signwellListWebhooks, signwellSendReminder, signwellUpdateAndSendDocument, signwellUpdateTemplate };
|