@keystrokehq/signwell 0.1.2 → 0.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (89) hide show
  1. package/dist/actions/create-document-from-template.cjs +16 -16
  2. package/dist/actions/create-document-from-template.cjs.map +1 -1
  3. package/dist/actions/create-document-from-template.d.cts +24 -18
  4. package/dist/actions/create-document-from-template.d.cts.map +1 -1
  5. package/dist/actions/create-document-from-template.d.mts +24 -18
  6. package/dist/actions/create-document-from-template.d.mts.map +1 -1
  7. package/dist/actions/create-document-from-template.mjs +16 -16
  8. package/dist/actions/create-document-from-template.mjs.map +1 -1
  9. package/dist/actions/create-document.cjs +6 -6
  10. package/dist/actions/create-document.cjs.map +1 -1
  11. package/dist/actions/create-document.d.cts +9 -7
  12. package/dist/actions/create-document.d.cts.map +1 -1
  13. package/dist/actions/create-document.d.mts +9 -7
  14. package/dist/actions/create-document.d.mts.map +1 -1
  15. package/dist/actions/create-document.mjs +6 -6
  16. package/dist/actions/create-document.mjs.map +1 -1
  17. package/dist/actions/create-webhook.cjs +1 -1
  18. package/dist/actions/create-webhook.cjs.map +1 -1
  19. package/dist/actions/create-webhook.d.cts +1 -1
  20. package/dist/actions/create-webhook.d.mts +1 -1
  21. package/dist/actions/create-webhook.mjs +1 -1
  22. package/dist/actions/create-webhook.mjs.map +1 -1
  23. package/dist/actions/delete-document.cjs +1 -1
  24. package/dist/actions/delete-document.cjs.map +1 -1
  25. package/dist/actions/delete-document.d.cts +1 -1
  26. package/dist/actions/delete-document.d.mts +1 -1
  27. package/dist/actions/delete-document.mjs +1 -1
  28. package/dist/actions/delete-document.mjs.map +1 -1
  29. package/dist/actions/delete-webhook.cjs +1 -1
  30. package/dist/actions/delete-webhook.cjs.map +1 -1
  31. package/dist/actions/delete-webhook.d.cts +1 -1
  32. package/dist/actions/delete-webhook.d.cts.map +1 -1
  33. package/dist/actions/delete-webhook.d.mts +1 -1
  34. package/dist/actions/delete-webhook.d.mts.map +1 -1
  35. package/dist/actions/delete-webhook.mjs +1 -1
  36. package/dist/actions/delete-webhook.mjs.map +1 -1
  37. package/dist/actions/get-credentials.cjs +5 -5
  38. package/dist/actions/get-credentials.cjs.map +1 -1
  39. package/dist/actions/get-credentials.d.cts +7 -7
  40. package/dist/actions/get-credentials.d.mts +7 -7
  41. package/dist/actions/get-credentials.mjs +5 -5
  42. package/dist/actions/get-credentials.mjs.map +1 -1
  43. package/dist/actions/get-document.cjs +4 -4
  44. package/dist/actions/get-document.cjs.map +1 -1
  45. package/dist/actions/get-document.d.cts +4 -4
  46. package/dist/actions/get-document.d.mts +4 -4
  47. package/dist/actions/get-document.mjs +4 -4
  48. package/dist/actions/get-document.mjs.map +1 -1
  49. package/dist/actions/list-bulk-sends.cjs +2 -2
  50. package/dist/actions/list-bulk-sends.cjs.map +1 -1
  51. package/dist/actions/list-bulk-sends.d.cts +2 -2
  52. package/dist/actions/list-bulk-sends.d.mts +2 -2
  53. package/dist/actions/list-bulk-sends.mjs +2 -2
  54. package/dist/actions/list-bulk-sends.mjs.map +1 -1
  55. package/dist/actions/list-webhooks.cjs +2 -2
  56. package/dist/actions/list-webhooks.cjs.map +1 -1
  57. package/dist/actions/list-webhooks.d.cts +2 -2
  58. package/dist/actions/list-webhooks.d.mts +2 -2
  59. package/dist/actions/list-webhooks.mjs +2 -2
  60. package/dist/actions/list-webhooks.mjs.map +1 -1
  61. package/dist/actions/send-reminder.cjs +7 -7
  62. package/dist/actions/send-reminder.cjs.map +1 -1
  63. package/dist/actions/send-reminder.d.cts +8 -7
  64. package/dist/actions/send-reminder.d.mts +8 -7
  65. package/dist/actions/send-reminder.mjs +7 -7
  66. package/dist/actions/send-reminder.mjs.map +1 -1
  67. package/dist/actions/update-and-send-document.cjs +8 -8
  68. package/dist/actions/update-and-send-document.cjs.map +1 -1
  69. package/dist/actions/update-and-send-document.d.cts +10 -9
  70. package/dist/actions/update-and-send-document.d.cts.map +1 -1
  71. package/dist/actions/update-and-send-document.d.mts +10 -9
  72. package/dist/actions/update-and-send-document.d.mts.map +1 -1
  73. package/dist/actions/update-and-send-document.mjs +8 -8
  74. package/dist/actions/update-and-send-document.mjs.map +1 -1
  75. package/dist/actions/update-template.cjs +9 -9
  76. package/dist/actions/update-template.cjs.map +1 -1
  77. package/dist/actions/update-template.d.cts +11 -10
  78. package/dist/actions/update-template.d.cts.map +1 -1
  79. package/dist/actions/update-template.d.mts +11 -10
  80. package/dist/actions/update-template.d.mts.map +1 -1
  81. package/dist/actions/update-template.mjs +9 -9
  82. package/dist/actions/update-template.mjs.map +1 -1
  83. package/dist/catalog.cjs +1 -1
  84. package/dist/catalog.cjs.map +1 -1
  85. package/dist/catalog.d.cts +1 -1
  86. package/dist/catalog.d.mts +1 -1
  87. package/dist/catalog.mjs +1 -1
  88. package/dist/catalog.mjs.map +1 -1
  89. package/package.json +1 -1
@@ -5,10 +5,10 @@ const SignwellUpdateTemplateInput = zod.z.object({
5
5
  id: zod.z.string().describe("Unique identifier for the template to update."),
6
6
  name: zod.z.string().describe("The name of the template.").optional(),
7
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(),
8
+ labels: zod.z.array(zod.z.object({ name: zod.z.string().describe("Label name for organizing templates and documents.") }).passthrough().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
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
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(),
11
+ metadata: zod.z.record(zod.z.string(), zod.z.unknown()).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
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
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
14
  redirect_url: zod.z.string().describe("A URL that recipients are redirected to after successfully signing a document.").optional(),
@@ -21,17 +21,17 @@ const SignwellUpdateTemplateInput = zod.z.object({
21
21
  const SignwellUpdateTemplate_TemplateFileSchema = zod.z.object({
22
22
  name: zod.z.string().describe("Name of the file.").nullable(),
23
23
  pages_number: zod.z.number().int().describe("Number of pages in the file.").nullable()
24
- }).describe("Information about a file in the template.");
24
+ }).passthrough().describe("Information about a file in the template.");
25
25
  const SignwellUpdateTemplate_PlaceholderSchema = zod.z.object({
26
26
  id: zod.z.string().describe("Unique identifier for the placeholder.").nullable(),
27
27
  name: zod.z.string().describe("Name of the placeholder.").nullable(),
28
28
  message: zod.z.string().describe("Custom message for this placeholder.").nullable().optional(),
29
29
  subject: zod.z.string().describe("Custom subject for this placeholder.").nullable().optional(),
30
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(),
31
+ attachment_requests: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("List of attachment requests for this placeholder.").nullable().optional(),
32
32
  preassigned_recipient_name: zod.z.string().describe("Pre-assigned recipient name.").nullable().optional(),
33
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.");
34
+ }).passthrough().describe("Information about a placeholder (recipient) in the template.");
35
35
  const SignwellUpdateTemplate_CopiedPlaceholderSchema = zod.z.object({
36
36
  id: zod.z.string().describe("Unique identifier for the copied placeholder.").nullable(),
37
37
  name: zod.z.string().describe("Name of the copied placeholder.").nullable(),
@@ -39,17 +39,17 @@ const SignwellUpdateTemplate_CopiedPlaceholderSchema = zod.z.object({
39
39
  subject: zod.z.string().describe("Custom subject.").nullable().optional(),
40
40
  preassigned_recipient_name: zod.z.string().describe("Pre-assigned recipient name.").nullable().optional(),
41
41
  preassigned_recipient_email: zod.z.string().describe("Pre-assigned recipient email.").nullable().optional()
42
- }).describe("Information about a copied placeholder.");
42
+ }).passthrough().describe("Information about a copied placeholder.");
43
43
  const SignwellUpdateTemplateOutput = zod.z.object({
44
44
  id: zod.z.string().describe("Unique identifier of the template.").nullable(),
45
45
  name: zod.z.string().describe("Name of the template.").nullable(),
46
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(),
47
+ fields: zod.z.array(zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown()))).describe("Form fields defined in the template.").nullable().optional(),
48
48
  status: zod.z.string().describe("Current status of the template (e.g., 'Draft', 'Available').").nullable(),
49
49
  message: zod.z.string().describe("Email message for signature requests.").nullable().optional(),
50
50
  subject: zod.z.string().describe("Email subject for signature requests.").nullable().optional(),
51
51
  archived: zod.z.boolean().describe("Whether the template has been archived.").nullable(),
52
- metadata: zod.z.object({}).describe("Custom key-value metadata associated with the template.").nullable().optional(),
52
+ metadata: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Custom key-value metadata associated with the template.").nullable().optional(),
53
53
  reminders: zod.z.boolean().describe("Whether reminders are enabled.").nullable(),
54
54
  created_at: zod.z.string().describe("ISO 8601 timestamp when the template was created.").nullable(),
55
55
  expires_in: zod.z.number().int().describe("Number of days before the signing request expires.").nullable().optional(),
@@ -65,7 +65,7 @@ const SignwellUpdateTemplateOutput = zod.z.object({
65
65
  copied_placeholders: zod.z.array(SignwellUpdateTemplate_CopiedPlaceholderSchema).describe("List of copied placeholders.").nullable().optional(),
66
66
  decline_redirect_url: zod.z.string().describe("URL to redirect to if signing is declined.").nullable().optional(),
67
67
  requester_email_address: zod.z.string().describe("Email address of the person who created the template.").nullable()
68
- }).describe("Response model after updating a template.");
68
+ }).passthrough().describe("Response model after updating a template.");
69
69
  const signwellUpdateTemplate = require_action.action("SIGNWELL_UPDATE_TEMPLATE", {
70
70
  slug: "signwell-update-template",
71
71
  name: "Update Template",
@@ -1 +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.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.object({\n name: z.string().describe(\"Name of the file.\").nullable(),\n pages_number: z.number().int().describe(\"Number of pages in the file.\").nullable(),\n}).describe(\"Information about a file in the template.\");\nconst SignwellUpdateTemplate_PlaceholderSchema = z.object({\n id: z.string().describe(\"Unique identifier for the placeholder.\").nullable(),\n name: z.string().describe(\"Name of the placeholder.\").nullable(),\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.object({\n id: z.string().describe(\"Unique identifier for the copied placeholder.\").nullable(),\n name: z.string().describe(\"Name of the copied placeholder.\").nullable(),\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.object({\n id: z.string().describe(\"Unique identifier of the template.\").nullable(),\n name: z.string().describe(\"Name of the template.\").nullable(),\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').\").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 template has been archived.\").nullable(),\n metadata: z.object({}).describe(\"Custom key-value metadata associated with the template.\").nullable().optional(),\n reminders: z.boolean().describe(\"Whether reminders are enabled.\").nullable(),\n created_at: z.string().describe(\"ISO 8601 timestamp when the template was created.\").nullable(),\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.\").nullable(),\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.\").nullable(),\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.\").nullable(),\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.\").nullable(),\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,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;CACvE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAChE,OAAOA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gJAAgJ,CAAC,CAAC,SAAS;CACvL,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,EACzB,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,EAChF,CAAC,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,CAAC,SAAS,wNAAwN,CAAC,CAAC,SAAS;CACxS,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+HAA+H,CAAC,CAAC,SAAS;CACvK,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+HAA+H,CAAC,CAAC,SAAS;CACvK,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,uIAAuI,CAAC,CAAC,SAAS;CAClL,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,iHAAiH,CAAC,CAAC,SAAS;CAC5J,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yHAAyH,CAAC,CAAC,SAAS;CAC1K,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS;CAC7H,eAAeA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,mMAAmM,CAAC,CAAC,S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mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,gBAAgBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,qBAAqBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CACpG,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,CAAC,CAAC,SAAS;AACjH,CAAC,CAAC,CAAC,SAAS,2CAA2C;AAEvD,MAAa,yBAAyBC,eAAAA,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
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.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}).passthrough().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.record(z.string(), z.unknown()).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.object({\n name: z.string().describe(\"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 template.\");\nconst SignwellUpdateTemplate_PlaceholderSchema = z.object({\n id: z.string().describe(\"Unique identifier for the placeholder.\").nullable(),\n name: z.string().describe(\"Name of the placeholder.\").nullable(),\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.record(z.string(), z.unknown())).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}).passthrough().describe(\"Information about a placeholder (recipient) in the template.\");\nconst SignwellUpdateTemplate_CopiedPlaceholderSchema = z.object({\n id: z.string().describe(\"Unique identifier for the copied placeholder.\").nullable(),\n name: z.string().describe(\"Name of the copied placeholder.\").nullable(),\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}).passthrough().describe(\"Information about a copied placeholder.\");\nexport const SignwellUpdateTemplateOutput = z.object({\n id: z.string().describe(\"Unique identifier of the template.\").nullable(),\n name: z.string().describe(\"Name of the template.\").nullable(),\n files: z.array(SignwellUpdateTemplate_TemplateFileSchema).describe(\"List of files in the template.\").nullable().optional(),\n fields: z.array(z.array(z.record(z.string(), z.unknown()))).describe(\"Form fields defined in the template.\").nullable().optional(),\n status: z.string().describe(\"Current status of the template (e.g., 'Draft', 'Available').\").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 template has been archived.\").nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom key-value metadata associated with the template.\").nullable().optional(),\n reminders: z.boolean().describe(\"Whether reminders are enabled.\").nullable(),\n created_at: z.string().describe(\"ISO 8601 timestamp when the template was created.\").nullable(),\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.\").nullable(),\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.\").nullable(),\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.\").nullable(),\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.\").nullable(),\n}).passthrough().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,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;CACvE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAChE,OAAOA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gJAAgJ,CAAC,CAAC,SAAS;CACvL,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,EACzB,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,EAChF,CAAC,CAAC,CAAC,YAA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EAAE,QAAQ,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CACpG,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,CAAC,CAAC,SAAS;AACjH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AAErE,MAAa,yBAAyBC,eAAAA,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -7,10 +7,10 @@ declare const SignwellUpdateTemplateInput: z.ZodObject<{
7
7
  draft: z.ZodOptional<z.ZodBoolean>;
8
8
  labels: z.ZodOptional<z.ZodArray<z.ZodObject<{
9
9
  name: z.ZodString;
10
- }, z.core.$strip>>>;
10
+ }, z.core.$loose>>>;
11
11
  message: z.ZodOptional<z.ZodString>;
12
12
  subject: z.ZodOptional<z.ZodString>;
13
- metadata: z.ZodOptional<z.ZodObject<{}, z.core.$strip>>;
13
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
14
14
  reminders: z.ZodOptional<z.ZodBoolean>;
15
15
  expires_in: z.ZodOptional<z.ZodNumber>;
16
16
  redirect_url: z.ZodOptional<z.ZodString>;
@@ -26,13 +26,13 @@ declare const SignwellUpdateTemplateOutput: z.ZodObject<{
26
26
  files: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
27
27
  name: z.ZodNullable<z.ZodString>;
28
28
  pages_number: z.ZodNullable<z.ZodNumber>;
29
- }, z.core.$strip>>>>;
30
- fields: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodArray<z.ZodObject<{}, z.core.$strip>>>>>;
29
+ }, z.core.$loose>>>>;
30
+ fields: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>>;
31
31
  status: z.ZodNullable<z.ZodString>;
32
32
  message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33
33
  subject: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34
34
  archived: z.ZodNullable<z.ZodBoolean>;
35
- metadata: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
35
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
36
36
  reminders: z.ZodNullable<z.ZodBoolean>;
37
37
  created_at: z.ZodNullable<z.ZodString>;
38
38
  expires_in: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
@@ -43,10 +43,10 @@ declare const SignwellUpdateTemplateOutput: z.ZodObject<{
43
43
  message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
44
44
  subject: z.ZodOptional<z.ZodNullable<z.ZodString>>;
45
45
  signing_order: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
46
- attachment_requests: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{}, z.core.$strip>>>>;
46
+ attachment_requests: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
47
47
  preassigned_recipient_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
48
48
  preassigned_recipient_email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
49
- }, z.core.$strip>>>>;
49
+ }, z.core.$loose>>>>;
50
50
  redirect_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
51
51
  allow_decline: z.ZodNullable<z.ZodBoolean>;
52
52
  template_link: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -61,20 +61,21 @@ declare const SignwellUpdateTemplateOutput: z.ZodObject<{
61
61
  subject: z.ZodOptional<z.ZodNullable<z.ZodString>>;
62
62
  preassigned_recipient_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
63
63
  preassigned_recipient_email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
64
- }, z.core.$strip>>>>;
64
+ }, z.core.$loose>>>>;
65
65
  decline_redirect_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
66
66
  requester_email_address: z.ZodNullable<z.ZodString>;
67
- }, z.core.$strip>;
67
+ }, z.core.$loose>;
68
68
  declare const signwellUpdateTemplate: import("@keystrokehq/action").WorkflowActionDefinition<{
69
69
  id: string;
70
70
  name?: string | undefined;
71
71
  draft?: boolean | undefined;
72
72
  labels?: {
73
+ [x: string]: unknown;
73
74
  name: string;
74
75
  }[] | undefined;
75
76
  message?: string | undefined;
76
77
  subject?: string | undefined;
77
- metadata?: Record<string, never> | undefined;
78
+ metadata?: Record<string, unknown> | undefined;
78
79
  reminders?: boolean | undefined;
79
80
  expires_in?: number | undefined;
80
81
  redirect_url?: string | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"update-template.d.cts","names":[],"sources":["../../src/actions/update-template.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;cAyC3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA2B5B,sBAAA,gCAAsB,wBAAA;;;;;;;;;aAMjC,MAAA"}
1
+ {"version":3,"file":"update-template.d.cts","names":[],"sources":["../../src/actions/update-template.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;cAyC3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA2B5B,sBAAA,gCAAsB,wBAAA;;;;;;;;;;aAMjC,MAAA"}
@@ -7,10 +7,10 @@ declare const SignwellUpdateTemplateInput: z.ZodObject<{
7
7
  draft: z.ZodOptional<z.ZodBoolean>;
8
8
  labels: z.ZodOptional<z.ZodArray<z.ZodObject<{
9
9
  name: z.ZodString;
10
- }, z.core.$strip>>>;
10
+ }, z.core.$loose>>>;
11
11
  message: z.ZodOptional<z.ZodString>;
12
12
  subject: z.ZodOptional<z.ZodString>;
13
- metadata: z.ZodOptional<z.ZodObject<{}, z.core.$strip>>;
13
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
14
14
  reminders: z.ZodOptional<z.ZodBoolean>;
15
15
  expires_in: z.ZodOptional<z.ZodNumber>;
16
16
  redirect_url: z.ZodOptional<z.ZodString>;
@@ -26,13 +26,13 @@ declare const SignwellUpdateTemplateOutput: z.ZodObject<{
26
26
  files: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
27
27
  name: z.ZodNullable<z.ZodString>;
28
28
  pages_number: z.ZodNullable<z.ZodNumber>;
29
- }, z.core.$strip>>>>;
30
- fields: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodArray<z.ZodObject<{}, z.core.$strip>>>>>;
29
+ }, z.core.$loose>>>>;
30
+ fields: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>>;
31
31
  status: z.ZodNullable<z.ZodString>;
32
32
  message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33
33
  subject: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34
34
  archived: z.ZodNullable<z.ZodBoolean>;
35
- metadata: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
35
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
36
36
  reminders: z.ZodNullable<z.ZodBoolean>;
37
37
  created_at: z.ZodNullable<z.ZodString>;
38
38
  expires_in: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
@@ -43,10 +43,10 @@ declare const SignwellUpdateTemplateOutput: z.ZodObject<{
43
43
  message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
44
44
  subject: z.ZodOptional<z.ZodNullable<z.ZodString>>;
45
45
  signing_order: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
46
- attachment_requests: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{}, z.core.$strip>>>>;
46
+ attachment_requests: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
47
47
  preassigned_recipient_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
48
48
  preassigned_recipient_email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
49
- }, z.core.$strip>>>>;
49
+ }, z.core.$loose>>>>;
50
50
  redirect_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
51
51
  allow_decline: z.ZodNullable<z.ZodBoolean>;
52
52
  template_link: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -61,20 +61,21 @@ declare const SignwellUpdateTemplateOutput: z.ZodObject<{
61
61
  subject: z.ZodOptional<z.ZodNullable<z.ZodString>>;
62
62
  preassigned_recipient_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
63
63
  preassigned_recipient_email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
64
- }, z.core.$strip>>>>;
64
+ }, z.core.$loose>>>>;
65
65
  decline_redirect_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
66
66
  requester_email_address: z.ZodNullable<z.ZodString>;
67
- }, z.core.$strip>;
67
+ }, z.core.$loose>;
68
68
  declare const signwellUpdateTemplate: import("@keystrokehq/action").WorkflowActionDefinition<{
69
69
  id: string;
70
70
  name?: string | undefined;
71
71
  draft?: boolean | undefined;
72
72
  labels?: {
73
+ [x: string]: unknown;
73
74
  name: string;
74
75
  }[] | undefined;
75
76
  message?: string | undefined;
76
77
  subject?: string | undefined;
77
- metadata?: Record<string, never> | undefined;
78
+ metadata?: Record<string, unknown> | undefined;
78
79
  reminders?: boolean | undefined;
79
80
  expires_in?: number | undefined;
80
81
  redirect_url?: string | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"update-template.d.mts","names":[],"sources":["../../src/actions/update-template.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;cAyC3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA2B5B,sBAAA,gCAAsB,wBAAA;;;;;;;;;aAMjC,MAAA"}
1
+ {"version":3,"file":"update-template.d.mts","names":[],"sources":["../../src/actions/update-template.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;cAyC3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA2B5B,sBAAA,gCAAsB,wBAAA;;;;;;;;;;aAMjC,MAAA"}
@@ -5,10 +5,10 @@ const SignwellUpdateTemplateInput = z.object({
5
5
  id: z.string().describe("Unique identifier for the template to update."),
6
6
  name: z.string().describe("The name of the template.").optional(),
7
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(),
8
+ labels: z.array(z.object({ name: z.string().describe("Label name for organizing templates and documents.") }).passthrough().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
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
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(),
11
+ metadata: z.record(z.string(), z.unknown()).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
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
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
14
  redirect_url: z.string().describe("A URL that recipients are redirected to after successfully signing a document.").optional(),
@@ -21,17 +21,17 @@ const SignwellUpdateTemplateInput = z.object({
21
21
  const SignwellUpdateTemplate_TemplateFileSchema = z.object({
22
22
  name: z.string().describe("Name of the file.").nullable(),
23
23
  pages_number: z.number().int().describe("Number of pages in the file.").nullable()
24
- }).describe("Information about a file in the template.");
24
+ }).passthrough().describe("Information about a file in the template.");
25
25
  const SignwellUpdateTemplate_PlaceholderSchema = z.object({
26
26
  id: z.string().describe("Unique identifier for the placeholder.").nullable(),
27
27
  name: z.string().describe("Name of the placeholder.").nullable(),
28
28
  message: z.string().describe("Custom message for this placeholder.").nullable().optional(),
29
29
  subject: z.string().describe("Custom subject for this placeholder.").nullable().optional(),
30
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(),
31
+ attachment_requests: z.array(z.record(z.string(), z.unknown())).describe("List of attachment requests for this placeholder.").nullable().optional(),
32
32
  preassigned_recipient_name: z.string().describe("Pre-assigned recipient name.").nullable().optional(),
33
33
  preassigned_recipient_email: z.string().describe("Pre-assigned recipient email address.").nullable().optional()
34
- }).describe("Information about a placeholder (recipient) in the template.");
34
+ }).passthrough().describe("Information about a placeholder (recipient) in the template.");
35
35
  const SignwellUpdateTemplate_CopiedPlaceholderSchema = z.object({
36
36
  id: z.string().describe("Unique identifier for the copied placeholder.").nullable(),
37
37
  name: z.string().describe("Name of the copied placeholder.").nullable(),
@@ -39,7 +39,7 @@ const SignwellUpdateTemplate_CopiedPlaceholderSchema = z.object({
39
39
  subject: z.string().describe("Custom subject.").nullable().optional(),
40
40
  preassigned_recipient_name: z.string().describe("Pre-assigned recipient name.").nullable().optional(),
41
41
  preassigned_recipient_email: z.string().describe("Pre-assigned recipient email.").nullable().optional()
42
- }).describe("Information about a copied placeholder.");
42
+ }).passthrough().describe("Information about a copied placeholder.");
43
43
  const signwellUpdateTemplate = action("SIGNWELL_UPDATE_TEMPLATE", {
44
44
  slug: "signwell-update-template",
45
45
  name: "Update Template",
@@ -49,12 +49,12 @@ const signwellUpdateTemplate = action("SIGNWELL_UPDATE_TEMPLATE", {
49
49
  id: z.string().describe("Unique identifier of the template.").nullable(),
50
50
  name: z.string().describe("Name of the template.").nullable(),
51
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(),
52
+ fields: z.array(z.array(z.record(z.string(), z.unknown()))).describe("Form fields defined in the template.").nullable().optional(),
53
53
  status: z.string().describe("Current status of the template (e.g., 'Draft', 'Available').").nullable(),
54
54
  message: z.string().describe("Email message for signature requests.").nullable().optional(),
55
55
  subject: z.string().describe("Email subject for signature requests.").nullable().optional(),
56
56
  archived: z.boolean().describe("Whether the template has been archived.").nullable(),
57
- metadata: z.object({}).describe("Custom key-value metadata associated with the template.").nullable().optional(),
57
+ metadata: z.record(z.string(), z.unknown()).describe("Custom key-value metadata associated with the template.").nullable().optional(),
58
58
  reminders: z.boolean().describe("Whether reminders are enabled.").nullable(),
59
59
  created_at: z.string().describe("ISO 8601 timestamp when the template was created.").nullable(),
60
60
  expires_in: z.number().int().describe("Number of days before the signing request expires.").nullable().optional(),
@@ -70,7 +70,7 @@ const signwellUpdateTemplate = action("SIGNWELL_UPDATE_TEMPLATE", {
70
70
  copied_placeholders: z.array(SignwellUpdateTemplate_CopiedPlaceholderSchema).describe("List of copied placeholders.").nullable().optional(),
71
71
  decline_redirect_url: z.string().describe("URL to redirect to if signing is declined.").nullable().optional(),
72
72
  requester_email_address: z.string().describe("Email address of the person who created the template.").nullable()
73
- }).describe("Response model after updating a template.")
73
+ }).passthrough().describe("Response model after updating a template.")
74
74
  });
75
75
  //#endregion
76
76
  export { signwellUpdateTemplate };
@@ -1 +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.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.object({\n name: z.string().describe(\"Name of the file.\").nullable(),\n pages_number: z.number().int().describe(\"Number of pages in the file.\").nullable(),\n}).describe(\"Information about a file in the template.\");\nconst SignwellUpdateTemplate_PlaceholderSchema = z.object({\n id: z.string().describe(\"Unique identifier for the placeholder.\").nullable(),\n name: z.string().describe(\"Name of the placeholder.\").nullable(),\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.object({\n id: z.string().describe(\"Unique identifier for the copied placeholder.\").nullable(),\n name: z.string().describe(\"Name of the copied placeholder.\").nullable(),\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.object({\n id: z.string().describe(\"Unique identifier of the template.\").nullable(),\n name: z.string().describe(\"Name of the template.\").nullable(),\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').\").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 template has been archived.\").nullable(),\n metadata: z.object({}).describe(\"Custom key-value metadata associated with the template.\").nullable().optional(),\n reminders: z.boolean().describe(\"Whether reminders are enabled.\").nullable(),\n created_at: z.string().describe(\"ISO 8601 timestamp when the template was created.\").nullable(),\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.\").nullable(),\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.\").nullable(),\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.\").nullable(),\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.\").nullable(),\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,8BAA8B,EAAE,OAAO;CAClD,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,CAAC,CAAC,SAAS;CACxS,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,+HAA+H,CAAC,CAAC,SAAS;CACvK,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,+HAA+H,CAAC,CAAC,SAAS;CACvK,UAAU,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,uIAAuI,CAAC,CAAC,SAAS;CAClL,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,iHAAiH,CAAC,CAAC,SAAS;CAC5J,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yHAAyH,CAAC,CAAC,SAAS;CAC1K,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS;CAC7H,eAAe,EAAE,QAAQ,CAAC,CAAC,SAAS,mMAAmM,CAAC,CAAC,SAAS;CAClP,gBAAgB,EAAE,QAAQ,CAAC,CAAC,SAAS,sMAAsM,CAAC,CAAC,SAAS;CACtP,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,gLAAgL,CAAC,CAAC,SAAS;CACnO,qBAAqB,EAAE,QAAQ,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS;CACrJ,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,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5G,yBAAyB,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CACjH,CAAC,CAAC,CAAC,SAAS,2CAOF;AACV,CAAC"}
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.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}).passthrough().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.record(z.string(), z.unknown()).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.object({\n name: z.string().describe(\"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 template.\");\nconst SignwellUpdateTemplate_PlaceholderSchema = z.object({\n id: z.string().describe(\"Unique identifier for the placeholder.\").nullable(),\n name: z.string().describe(\"Name of the placeholder.\").nullable(),\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.record(z.string(), z.unknown())).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}).passthrough().describe(\"Information about a placeholder (recipient) in the template.\");\nconst SignwellUpdateTemplate_CopiedPlaceholderSchema = z.object({\n id: z.string().describe(\"Unique identifier for the copied placeholder.\").nullable(),\n name: z.string().describe(\"Name of the copied placeholder.\").nullable(),\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}).passthrough().describe(\"Information about a copied placeholder.\");\nexport const SignwellUpdateTemplateOutput = z.object({\n id: z.string().describe(\"Unique identifier of the template.\").nullable(),\n name: z.string().describe(\"Name of the template.\").nullable(),\n files: z.array(SignwellUpdateTemplate_TemplateFileSchema).describe(\"List of files in the template.\").nullable().optional(),\n fields: z.array(z.array(z.record(z.string(), z.unknown()))).describe(\"Form fields defined in the template.\").nullable().optional(),\n status: z.string().describe(\"Current status of the template (e.g., 'Draft', 'Available').\").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 template has been archived.\").nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom key-value metadata associated with the template.\").nullable().optional(),\n reminders: z.boolean().describe(\"Whether reminders are enabled.\").nullable(),\n created_at: z.string().describe(\"ISO 8601 timestamp when the template was created.\").nullable(),\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.\").nullable(),\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.\").nullable(),\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.\").nullable(),\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.\").nullable(),\n}).passthrough().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,8BAA8B,EAAE,OAAO;CAClD,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,YAAY,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,CAAC,SAAS,wNAAwN,CAAC,CAAC,SAAS;CACtT,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,+HAA+H,CAAC,CAAC,SAAS;CACvK,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,+HAA+H,CAAC,CAAC,SAAS;CACvK,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,uIAAuI,CAAC,CAAC,SAAS;CACvM,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,iHAAiH,CAAC,CAAC,SAAS;CAC5J,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yHAAyH,CAAC,CAAC,SAAS;CAC1K,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS;CAC7H,eAAe,EAAE,QAAQ,CAAC,CAAC,SAAS,mMAAmM,CAAC,CAAC,SAAS;CAClP,gBAAgB,EAAE,QAAQ,CAAC,CAAC,SAAS,sMAAsM,CAAC,CAAC,SAAS;CACtP,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,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AAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1G,qBAAqB,EAAE,QAAQ,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;EACpG,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,CAAC,CAAC,SAAS;CACjH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAOhB;AACV,CAAC"}
package/dist/catalog.cjs CHANGED
@@ -8,7 +8,7 @@ const signwellCatalog = {
8
8
  "logo": "https://logos.composio.dev/api/signwell",
9
9
  "authKind": "keystroke",
10
10
  "oauthScopes": [],
11
- "credentialFields": { "api_key": {
11
+ "credentialFields": { "generic_api_key": {
12
12
  "label": "SignWell API Key",
13
13
  "secret": true,
14
14
  "description": "The API key used for authenticating requests to the SignWell API."
@@ -1 +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 \"credentialFields\": {\n \"api_key\": {\n \"label\": \"SignWell API Key\",\n \"secret\": true,\n \"description\": \"The API key used for authenticating requests to the SignWell API.\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,kBAAkB;CAC7B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB,EAClB,WAAW;EACT,SAAS;EACT,UAAU;EACV,eAAe;CACjB,EACF;CACA,oBAAoB;AACtB"}
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 \"credentialFields\": {\n \"generic_api_key\": {\n \"label\": \"SignWell API Key\",\n \"secret\": true,\n \"description\": \"The API key used for authenticating requests to the SignWell API.\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,kBAAkB;CAC7B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB,EAClB,mBAAmB;EACjB,SAAS;EACT,UAAU;EACV,eAAe;CACjB,EACF;CACA,oBAAoB;AACtB"}
@@ -9,7 +9,7 @@ declare const signwellCatalog: {
9
9
  readonly authKind: "keystroke";
10
10
  readonly oauthScopes: readonly [];
11
11
  readonly credentialFields: {
12
- readonly api_key: {
12
+ readonly generic_api_key: {
13
13
  readonly label: "SignWell API Key";
14
14
  readonly secret: true;
15
15
  readonly description: "The API key used for authenticating requests to the SignWell API.";
@@ -9,7 +9,7 @@ declare const signwellCatalog: {
9
9
  readonly authKind: "keystroke";
10
10
  readonly oauthScopes: readonly [];
11
11
  readonly credentialFields: {
12
- readonly api_key: {
12
+ readonly generic_api_key: {
13
13
  readonly label: "SignWell API Key";
14
14
  readonly secret: true;
15
15
  readonly description: "The API key used for authenticating requests to the SignWell API.";
package/dist/catalog.mjs CHANGED
@@ -8,7 +8,7 @@ const signwellCatalog = {
8
8
  "logo": "https://logos.composio.dev/api/signwell",
9
9
  "authKind": "keystroke",
10
10
  "oauthScopes": [],
11
- "credentialFields": { "api_key": {
11
+ "credentialFields": { "generic_api_key": {
12
12
  "label": "SignWell API Key",
13
13
  "secret": true,
14
14
  "description": "The API key used for authenticating requests to the SignWell API."
@@ -1 +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 \"credentialFields\": {\n \"api_key\": {\n \"label\": \"SignWell API Key\",\n \"secret\": true,\n \"description\": \"The API key used for authenticating requests to the SignWell API.\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,kBAAkB;CAC7B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB,EAClB,WAAW;EACT,SAAS;EACT,UAAU;EACV,eAAe;CACjB,EACF;CACA,oBAAoB;AACtB"}
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 \"credentialFields\": {\n \"generic_api_key\": {\n \"label\": \"SignWell API Key\",\n \"secret\": true,\n \"description\": \"The API key used for authenticating requests to the SignWell API.\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,kBAAkB;CAC7B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB,EAClB,mBAAmB;EACjB,SAAS;EACT,UAAU;EACV,eAAe;CACjB,EACF;CACA,oBAAoB;AACtB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@keystrokehq/signwell",
3
- "version": "0.1.2",
3
+ "version": "0.1.4",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "registry": "https://registry.npmjs.org"