@keystrokehq/pandadoc 0.1.0 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (121) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/create-document-attachment.cjs +6 -6
  4. package/dist/actions/create-document-attachment.cjs.map +1 -1
  5. package/dist/actions/create-document-attachment.d.cts +23 -3
  6. package/dist/actions/create-document-attachment.d.cts.map +1 -1
  7. package/dist/actions/create-document-attachment.d.mts +23 -3
  8. package/dist/actions/create-document-attachment.d.mts.map +1 -1
  9. package/dist/actions/create-document-attachment.mjs +6 -6
  10. package/dist/actions/create-document-attachment.mjs.map +1 -1
  11. package/dist/actions/create-document-from-file.cjs +6 -6
  12. package/dist/actions/create-document-from-file.cjs.map +1 -1
  13. package/dist/actions/create-document-from-file.d.cts +55 -3
  14. package/dist/actions/create-document-from-file.d.cts.map +1 -1
  15. package/dist/actions/create-document-from-file.d.mts +55 -3
  16. package/dist/actions/create-document-from-file.d.mts.map +1 -1
  17. package/dist/actions/create-document-from-file.mjs +6 -6
  18. package/dist/actions/create-document-from-file.mjs.map +1 -1
  19. package/dist/actions/create-folder.cjs +4 -4
  20. package/dist/actions/create-folder.cjs.map +1 -1
  21. package/dist/actions/create-folder.d.cts +13 -3
  22. package/dist/actions/create-folder.d.cts.map +1 -1
  23. package/dist/actions/create-folder.d.mts +13 -3
  24. package/dist/actions/create-folder.d.mts.map +1 -1
  25. package/dist/actions/create-folder.mjs +4 -4
  26. package/dist/actions/create-folder.mjs.map +1 -1
  27. package/dist/actions/create-or-update-contact.cjs +3 -3
  28. package/dist/actions/create-or-update-contact.cjs.map +1 -1
  29. package/dist/actions/create-or-update-contact.d.cts +40 -3
  30. package/dist/actions/create-or-update-contact.d.cts.map +1 -1
  31. package/dist/actions/create-or-update-contact.d.mts +40 -3
  32. package/dist/actions/create-or-update-contact.d.mts.map +1 -1
  33. package/dist/actions/create-or-update-contact.mjs +3 -3
  34. package/dist/actions/create-or-update-contact.mjs.map +1 -1
  35. package/dist/actions/create-template.cjs +7 -7
  36. package/dist/actions/create-template.cjs.map +1 -1
  37. package/dist/actions/create-template.d.cts +36 -3
  38. package/dist/actions/create-template.d.cts.map +1 -1
  39. package/dist/actions/create-template.d.mts +36 -3
  40. package/dist/actions/create-template.d.mts.map +1 -1
  41. package/dist/actions/create-template.mjs +7 -7
  42. package/dist/actions/create-template.mjs.map +1 -1
  43. package/dist/actions/create-webhook.cjs +6 -6
  44. package/dist/actions/create-webhook.cjs.map +1 -1
  45. package/dist/actions/create-webhook.d.cts +21 -3
  46. package/dist/actions/create-webhook.d.cts.map +1 -1
  47. package/dist/actions/create-webhook.d.mts +21 -3
  48. package/dist/actions/create-webhook.d.mts.map +1 -1
  49. package/dist/actions/create-webhook.mjs +6 -6
  50. package/dist/actions/create-webhook.mjs.map +1 -1
  51. package/dist/actions/delete-contact.cjs +1 -1
  52. package/dist/actions/delete-contact.cjs.map +1 -1
  53. package/dist/actions/delete-contact.d.cts +9 -3
  54. package/dist/actions/delete-contact.d.cts.map +1 -1
  55. package/dist/actions/delete-contact.d.mts +9 -3
  56. package/dist/actions/delete-contact.d.mts.map +1 -1
  57. package/dist/actions/delete-contact.mjs +1 -1
  58. package/dist/actions/delete-contact.mjs.map +1 -1
  59. package/dist/actions/delete-template.cjs +3 -3
  60. package/dist/actions/delete-template.cjs.map +1 -1
  61. package/dist/actions/delete-template.d.cts +10 -3
  62. package/dist/actions/delete-template.d.cts.map +1 -1
  63. package/dist/actions/delete-template.d.mts +10 -3
  64. package/dist/actions/delete-template.d.mts.map +1 -1
  65. package/dist/actions/delete-template.mjs +3 -3
  66. package/dist/actions/delete-template.mjs.map +1 -1
  67. package/dist/actions/get-document-details.cjs +8 -8
  68. package/dist/actions/get-document-details.cjs.map +1 -1
  69. package/dist/actions/get-document-details.d.cts +90 -3
  70. package/dist/actions/get-document-details.d.cts.map +1 -1
  71. package/dist/actions/get-document-details.d.mts +90 -3
  72. package/dist/actions/get-document-details.d.mts.map +1 -1
  73. package/dist/actions/get-document-details.mjs +8 -8
  74. package/dist/actions/get-document-details.mjs.map +1 -1
  75. package/dist/actions/get-template-details.cjs +35 -35
  76. package/dist/actions/get-template-details.cjs.map +1 -1
  77. package/dist/actions/get-template-details.d.cts +126 -3
  78. package/dist/actions/get-template-details.d.cts.map +1 -1
  79. package/dist/actions/get-template-details.d.mts +126 -3
  80. package/dist/actions/get-template-details.d.mts.map +1 -1
  81. package/dist/actions/get-template-details.mjs +35 -35
  82. package/dist/actions/get-template-details.mjs.map +1 -1
  83. package/dist/actions/list-contacts.cjs +4 -4
  84. package/dist/actions/list-contacts.cjs.map +1 -1
  85. package/dist/actions/list-contacts.d.cts +17 -3
  86. package/dist/actions/list-contacts.d.cts.map +1 -1
  87. package/dist/actions/list-contacts.d.mts +17 -3
  88. package/dist/actions/list-contacts.d.mts.map +1 -1
  89. package/dist/actions/list-contacts.mjs +4 -4
  90. package/dist/actions/list-contacts.mjs.map +1 -1
  91. package/dist/actions/list-document-folders.cjs +7 -7
  92. package/dist/actions/list-document-folders.cjs.map +1 -1
  93. package/dist/actions/list-document-folders.d.cts +22 -3
  94. package/dist/actions/list-document-folders.d.cts.map +1 -1
  95. package/dist/actions/list-document-folders.d.mts +22 -3
  96. package/dist/actions/list-document-folders.d.mts.map +1 -1
  97. package/dist/actions/list-document-folders.mjs +7 -7
  98. package/dist/actions/list-document-folders.mjs.map +1 -1
  99. package/dist/actions/list-templates.cjs +7 -7
  100. package/dist/actions/list-templates.cjs.map +1 -1
  101. package/dist/actions/list-templates.d.cts +32 -3
  102. package/dist/actions/list-templates.d.cts.map +1 -1
  103. package/dist/actions/list-templates.d.mts +32 -3
  104. package/dist/actions/list-templates.d.mts.map +1 -1
  105. package/dist/actions/list-templates.mjs +7 -7
  106. package/dist/actions/list-templates.mjs.map +1 -1
  107. package/dist/actions/move-document-to-folder.cjs +3 -3
  108. package/dist/actions/move-document-to-folder.cjs.map +1 -1
  109. package/dist/actions/move-document-to-folder.d.cts +12 -3
  110. package/dist/actions/move-document-to-folder.d.cts.map +1 -1
  111. package/dist/actions/move-document-to-folder.d.mts +12 -3
  112. package/dist/actions/move-document-to-folder.d.mts.map +1 -1
  113. package/dist/actions/move-document-to-folder.mjs +3 -3
  114. package/dist/actions/move-document-to-folder.mjs.map +1 -1
  115. package/dist/catalog.cjs +7 -1
  116. package/dist/catalog.cjs.map +1 -1
  117. package/dist/catalog.d.cts +8 -0
  118. package/dist/catalog.d.mts +8 -0
  119. package/dist/catalog.mjs +7 -1
  120. package/dist/catalog.mjs.map +1 -1
  121. package/package.json +2 -2
@@ -1 +1 @@
1
- {"version":3,"file":"action.cjs","names":["pandadoc","executePandadocTool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { pandadoc } from \"./app\";\nimport { executePandadocTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: z.ZodTypeAny;\n output: z.ZodTypeAny;\n },\n) {\n return pandadoc.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executePandadocTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAOA,YAAAA,SAAS,OAAO;EACrB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAMC,gBAAAA,oBAAoB,MAAM,KAAgC,CAAC;EAC3F;CACF,CAAC;AACH"}
1
+ {"version":3,"file":"action.cjs","names":["pandadoc","executePandadocTool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { pandadoc } from \"./app\";\nimport { executePandadocTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: z.ZodType;\n },\n) {\n return pandadoc.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output as z.ZodTypeAny,\n async run(input) {\n return def.output.parse(await executePandadocTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAOA,YAAAA,SAAS,OAAO;EACrB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAMC,gBAAAA,oBAAoB,MAAM,KAAgC,CAAC;EAC3F;CACF,CAAC;AACH"}
@@ -1 +1 @@
1
- {"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { pandadoc } from \"./app\";\nimport { executePandadocTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: z.ZodTypeAny;\n output: z.ZodTypeAny;\n },\n) {\n return pandadoc.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executePandadocTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAO,SAAS,OAAO;EACrB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,oBAAoB,MAAM,KAAgC,CAAC;EAC3F;CACF,CAAC;AACH"}
1
+ {"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { pandadoc } from \"./app\";\nimport { executePandadocTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: z.ZodType;\n },\n) {\n return pandadoc.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output as z.ZodTypeAny,\n async run(input) {\n return def.output.parse(await executePandadocTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAO,SAAS,OAAO;EACrB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,oBAAoB,MAAM,KAAgC,CAAC;EAC3F;CACF,CAAC;AACH"}
@@ -10,12 +10,12 @@ const PandadocCreateDocumentAttachmentInput = zod.z.object({
10
10
  document_id: zod.z.string().describe("UUID of the document to attach the file to")
11
11
  }).describe("Request model for creating a document attachment.");
12
12
  const PandadocCreateDocumentAttachmentOutput = zod.z.object({
13
- name: zod.z.string().describe("Name of the attachment"),
14
- size: zod.z.number().int().describe("Size of the file in bytes"),
15
- uuid: zod.z.string().describe("Unique identifier for the attachment"),
16
- file_name: zod.z.string().describe("Original filename"),
17
- created_date: zod.z.string().describe("Timestamp of when the attachment was created")
18
- }).describe("Response model for document attachment creation.");
13
+ name: zod.z.string().describe("Name of the attachment").nullable(),
14
+ size: zod.z.number().int().describe("Size of the file in bytes").nullable(),
15
+ uuid: zod.z.string().describe("Unique identifier for the attachment").nullable(),
16
+ file_name: zod.z.string().describe("Original filename").nullable(),
17
+ created_date: zod.z.string().describe("Timestamp of when the attachment was created").nullable()
18
+ }).passthrough().describe("Response model for document attachment creation.");
19
19
  const pandadocCreateDocumentAttachment = require_action.action("PANDADOC_CREATE_DOCUMENT_ATTACHMENT", {
20
20
  slug: "pandadoc-create-document-attachment",
21
21
  name: "Create Document Attachment",
@@ -1 +1 @@
1
- {"version":3,"file":"create-document-attachment.cjs","names":["z","action"],"sources":["../../src/actions/create-document-attachment.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PandadocCreateDocumentAttachmentInput: z.ZodTypeAny = z.object({\n file: z.object({\n name: z.string().describe(\"The filename that will be used when uploading the file to the destination service\"),\n s3key: z.string().describe(\"The S3 key of a publicly accessible file, typically returned from a previous download action that stored the file in S3. This key references an existing file that can be uploaded to another service.\"),\n mimetype: z.string().describe(\"The MIME type of the file\"),\n}).describe(\"File to upload as an attachment.\"),\n document_id: z.string().describe(\"UUID of the document to attach the file to\"),\n}).describe(\"Request model for creating a document attachment.\");\nexport const PandadocCreateDocumentAttachmentOutput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Name of the attachment\"),\n size: z.number().int().describe(\"Size of the file in bytes\"),\n uuid: z.string().describe(\"Unique identifier for the attachment\"),\n file_name: z.string().describe(\"Original filename\"),\n created_date: z.string().describe(\"Timestamp of when the attachment was created\"),\n}).describe(\"Response model for document attachment creation.\");\n\nexport const pandadocCreateDocumentAttachment = action(\"PANDADOC_CREATE_DOCUMENT_ATTACHMENT\", {\n slug: \"pandadoc-create-document-attachment\",\n name: \"Create Document Attachment\",\n description: \"Creates and adds an attachment to a PandaDoc document. This tool allows you to attach downloadable files such as supplemental materials, Excel spreadsheets, or other content without embedding them directly into the document. Attachments can be added only to documents in 'document.draft' status, with a maximum of 10 files per document and a size limit of 50MB per file.\",\n input: PandadocCreateDocumentAttachmentInput,\n output: PandadocCreateDocumentAttachmentOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAsDA,IAAAA,EAAE,OAAO;CAC1E,MAAMA,IAAAA,EAAE,OAAO;EACf,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF;EAC7G,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wMAAwM;EACnO,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;CAC3D,CAAC,CAAC,CAAC,SAAS,kCAAkC;CAC5C,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;AAC/E,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAa,yCAAuDA,IAAAA,EAAE,OAAO;CAC3E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;CAClD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B;CAC3D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;CAChE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB;CAClD,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;AAClF,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAE9D,MAAa,mCAAmCC,eAAAA,OAAO,uCAAuC;CAC5F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"create-document-attachment.cjs","names":["z","action"],"sources":["../../src/actions/create-document-attachment.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PandadocCreateDocumentAttachmentInput = z.object({\n file: z.object({\n name: z.string().describe(\"The filename that will be used when uploading the file to the destination service\"),\n s3key: z.string().describe(\"The S3 key of a publicly accessible file, typically returned from a previous download action that stored the file in S3. This key references an existing file that can be uploaded to another service.\"),\n mimetype: z.string().describe(\"The MIME type of the file\"),\n}).describe(\"File to upload as an attachment.\"),\n document_id: z.string().describe(\"UUID of the document to attach the file to\"),\n}).describe(\"Request model for creating a document attachment.\");\nexport const PandadocCreateDocumentAttachmentOutput = z.object({\n name: z.string().describe(\"Name of the attachment\").nullable(),\n size: z.number().int().describe(\"Size of the file in bytes\").nullable(),\n uuid: z.string().describe(\"Unique identifier for the attachment\").nullable(),\n file_name: z.string().describe(\"Original filename\").nullable(),\n created_date: z.string().describe(\"Timestamp of when the attachment was created\").nullable(),\n}).passthrough().describe(\"Response model for document attachment creation.\");\n\nexport const pandadocCreateDocumentAttachment = action(\"PANDADOC_CREATE_DOCUMENT_ATTACHMENT\", {\n slug: \"pandadoc-create-document-attachment\",\n name: \"Create Document Attachment\",\n description: \"Creates and adds an attachment to a PandaDoc document. This tool allows you to attach downloadable files such as supplemental materials, Excel spreadsheets, or other content without embedding them directly into the document. Attachments can be added only to documents in 'document.draft' status, with a maximum of 10 files per document and a size limit of 50MB per file.\",\n input: PandadocCreateDocumentAttachmentInput,\n output: PandadocCreateDocumentAttachmentOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAwCA,IAAAA,EAAE,OAAO;CAC5D,MAAMA,IAAAA,EAAE,OAAO;EACf,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF;EAC7G,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wMAAwM;EACnO,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;CAC3D,CAAC,CAAC,CAAC,SAAS,kCAAkC;CAC5C,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;AAC/E,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAa,yCAAyCA,IAAAA,EAAE,OAAO;CAC7D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CAC7D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CACtE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAC3E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;CAC7D,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;AAC7F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAAkD;AAE5E,MAAa,mCAAmCC,eAAAA,OAAO,uCAAuC;CAC5F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,29 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/create-document-attachment.d.ts
4
- declare const PandadocCreateDocumentAttachmentInput: z.ZodTypeAny;
5
- declare const PandadocCreateDocumentAttachmentOutput: z.ZodTypeAny;
6
- declare const pandadocCreateDocumentAttachment: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PandadocCreateDocumentAttachmentInput: z.ZodObject<{
5
+ file: z.ZodObject<{
6
+ name: z.ZodString;
7
+ s3key: z.ZodString;
8
+ mimetype: z.ZodString;
9
+ }, z.core.$strip>;
10
+ document_id: z.ZodString;
11
+ }, z.core.$strip>;
12
+ declare const PandadocCreateDocumentAttachmentOutput: z.ZodObject<{
13
+ name: z.ZodNullable<z.ZodString>;
14
+ size: z.ZodNullable<z.ZodNumber>;
15
+ uuid: z.ZodNullable<z.ZodString>;
16
+ file_name: z.ZodNullable<z.ZodString>;
17
+ created_date: z.ZodNullable<z.ZodString>;
18
+ }, z.core.$loose>;
19
+ declare const pandadocCreateDocumentAttachment: import("@keystrokehq/action").WorkflowActionDefinition<{
20
+ file: {
21
+ name: string;
22
+ s3key: string;
23
+ mimetype: string;
24
+ };
25
+ document_id: string;
26
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
27
  //#endregion
8
28
  export { pandadocCreateDocumentAttachment };
9
29
  //# sourceMappingURL=create-document-attachment.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-document-attachment.d.cts","names":[],"sources":["../../src/actions/create-document-attachment.ts"],"mappings":";;;cAIa,qCAAA,EAAuC,CAAA,CAAE,UAOU;AAAA,cACnD,sCAAA,EAAwC,CAAA,CAAE,UAMQ;AAAA,cAElD,gCAAA,gCAAgC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"create-document-attachment.d.cts","names":[],"sources":["../../src/actions/create-document-attachment.ts"],"mappings":";;;cAIa,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;;;cAQrC,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;;;cAQtC,gCAAA,gCAAgC,wBAAA"}
@@ -1,9 +1,29 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/create-document-attachment.d.ts
4
- declare const PandadocCreateDocumentAttachmentInput: z.ZodTypeAny;
5
- declare const PandadocCreateDocumentAttachmentOutput: z.ZodTypeAny;
6
- declare const pandadocCreateDocumentAttachment: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PandadocCreateDocumentAttachmentInput: z.ZodObject<{
5
+ file: z.ZodObject<{
6
+ name: z.ZodString;
7
+ s3key: z.ZodString;
8
+ mimetype: z.ZodString;
9
+ }, z.core.$strip>;
10
+ document_id: z.ZodString;
11
+ }, z.core.$strip>;
12
+ declare const PandadocCreateDocumentAttachmentOutput: z.ZodObject<{
13
+ name: z.ZodNullable<z.ZodString>;
14
+ size: z.ZodNullable<z.ZodNumber>;
15
+ uuid: z.ZodNullable<z.ZodString>;
16
+ file_name: z.ZodNullable<z.ZodString>;
17
+ created_date: z.ZodNullable<z.ZodString>;
18
+ }, z.core.$loose>;
19
+ declare const pandadocCreateDocumentAttachment: import("@keystrokehq/action").WorkflowActionDefinition<{
20
+ file: {
21
+ name: string;
22
+ s3key: string;
23
+ mimetype: string;
24
+ };
25
+ document_id: string;
26
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
27
  //#endregion
8
28
  export { pandadocCreateDocumentAttachment };
9
29
  //# sourceMappingURL=create-document-attachment.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-document-attachment.d.mts","names":[],"sources":["../../src/actions/create-document-attachment.ts"],"mappings":";;;cAIa,qCAAA,EAAuC,CAAA,CAAE,UAOU;AAAA,cACnD,sCAAA,EAAwC,CAAA,CAAE,UAMQ;AAAA,cAElD,gCAAA,gCAAgC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"create-document-attachment.d.mts","names":[],"sources":["../../src/actions/create-document-attachment.ts"],"mappings":";;;cAIa,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;;;cAQrC,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;;;cAQtC,gCAAA,gCAAgC,wBAAA"}
@@ -13,12 +13,12 @@ const pandadocCreateDocumentAttachment = action("PANDADOC_CREATE_DOCUMENT_ATTACH
13
13
  document_id: z.string().describe("UUID of the document to attach the file to")
14
14
  }).describe("Request model for creating a document attachment."),
15
15
  output: z.object({
16
- name: z.string().describe("Name of the attachment"),
17
- size: z.number().int().describe("Size of the file in bytes"),
18
- uuid: z.string().describe("Unique identifier for the attachment"),
19
- file_name: z.string().describe("Original filename"),
20
- created_date: z.string().describe("Timestamp of when the attachment was created")
21
- }).describe("Response model for document attachment creation.")
16
+ name: z.string().describe("Name of the attachment").nullable(),
17
+ size: z.number().int().describe("Size of the file in bytes").nullable(),
18
+ uuid: z.string().describe("Unique identifier for the attachment").nullable(),
19
+ file_name: z.string().describe("Original filename").nullable(),
20
+ created_date: z.string().describe("Timestamp of when the attachment was created").nullable()
21
+ }).passthrough().describe("Response model for document attachment creation.")
22
22
  });
23
23
  //#endregion
24
24
  export { pandadocCreateDocumentAttachment };
@@ -1 +1 @@
1
- {"version":3,"file":"create-document-attachment.mjs","names":[],"sources":["../../src/actions/create-document-attachment.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PandadocCreateDocumentAttachmentInput: z.ZodTypeAny = z.object({\n file: z.object({\n name: z.string().describe(\"The filename that will be used when uploading the file to the destination service\"),\n s3key: z.string().describe(\"The S3 key of a publicly accessible file, typically returned from a previous download action that stored the file in S3. This key references an existing file that can be uploaded to another service.\"),\n mimetype: z.string().describe(\"The MIME type of the file\"),\n}).describe(\"File to upload as an attachment.\"),\n document_id: z.string().describe(\"UUID of the document to attach the file to\"),\n}).describe(\"Request model for creating a document attachment.\");\nexport const PandadocCreateDocumentAttachmentOutput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Name of the attachment\"),\n size: z.number().int().describe(\"Size of the file in bytes\"),\n uuid: z.string().describe(\"Unique identifier for the attachment\"),\n file_name: z.string().describe(\"Original filename\"),\n created_date: z.string().describe(\"Timestamp of when the attachment was created\"),\n}).describe(\"Response model for document attachment creation.\");\n\nexport const pandadocCreateDocumentAttachment = action(\"PANDADOC_CREATE_DOCUMENT_ATTACHMENT\", {\n slug: \"pandadoc-create-document-attachment\",\n name: \"Create Document Attachment\",\n description: \"Creates and adds an attachment to a PandaDoc document. This tool allows you to attach downloadable files such as supplemental materials, Excel spreadsheets, or other content without embedding them directly into the document. Attachments can be added only to documents in 'document.draft' status, with a maximum of 10 files per document and a size limit of 50MB per file.\",\n input: PandadocCreateDocumentAttachmentInput,\n output: PandadocCreateDocumentAttachmentOutput,\n});\n"],"mappings":";;AAoBA,MAAa,mCAAmC,OAAO,uCAAuC;CAC5F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OApBiE,EAAE,OAAO;EAC1E,MAAM,EAAE,OAAO;GACf,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF;GAC7G,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wMAAwM;GACnO,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;EAC3D,CAAC,CAAC,CAAC,SAAS,kCAAkC;EAC5C,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;CAC/E,CAAC,CAAC,CAAC,SAAS,mDAaH;CACP,QAbkE,EAAE,OAAO;EAC3E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;EAClD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B;EAC3D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;EAChE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB;EAClD,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;CAClF,CAAC,CAAC,CAAC,SAAS,kDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"create-document-attachment.mjs","names":[],"sources":["../../src/actions/create-document-attachment.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PandadocCreateDocumentAttachmentInput = z.object({\n file: z.object({\n name: z.string().describe(\"The filename that will be used when uploading the file to the destination service\"),\n s3key: z.string().describe(\"The S3 key of a publicly accessible file, typically returned from a previous download action that stored the file in S3. This key references an existing file that can be uploaded to another service.\"),\n mimetype: z.string().describe(\"The MIME type of the file\"),\n}).describe(\"File to upload as an attachment.\"),\n document_id: z.string().describe(\"UUID of the document to attach the file to\"),\n}).describe(\"Request model for creating a document attachment.\");\nexport const PandadocCreateDocumentAttachmentOutput = z.object({\n name: z.string().describe(\"Name of the attachment\").nullable(),\n size: z.number().int().describe(\"Size of the file in bytes\").nullable(),\n uuid: z.string().describe(\"Unique identifier for the attachment\").nullable(),\n file_name: z.string().describe(\"Original filename\").nullable(),\n created_date: z.string().describe(\"Timestamp of when the attachment was created\").nullable(),\n}).passthrough().describe(\"Response model for document attachment creation.\");\n\nexport const pandadocCreateDocumentAttachment = action(\"PANDADOC_CREATE_DOCUMENT_ATTACHMENT\", {\n slug: \"pandadoc-create-document-attachment\",\n name: \"Create Document Attachment\",\n description: \"Creates and adds an attachment to a PandaDoc document. This tool allows you to attach downloadable files such as supplemental materials, Excel spreadsheets, or other content without embedding them directly into the document. Attachments can be added only to documents in 'document.draft' status, with a maximum of 10 files per document and a size limit of 50MB per file.\",\n input: PandadocCreateDocumentAttachmentInput,\n output: PandadocCreateDocumentAttachmentOutput,\n});\n"],"mappings":";;AAoBA,MAAa,mCAAmC,OAAO,uCAAuC;CAC5F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OApBmD,EAAE,OAAO;EAC5D,MAAM,EAAE,OAAO;GACf,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF;GAC7G,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wMAAwM;GACnO,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;EAC3D,CAAC,CAAC,CAAC,SAAS,kCAAkC;EAC5C,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;CAC/E,CAAC,CAAC,CAAC,SAAS,mDAaH;CACP,QAboD,EAAE,OAAO;EAC7D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;EAC7D,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;EACtE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;EAC3E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;EAC7D,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CAC7F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAOhB;AACV,CAAC"}
@@ -20,19 +20,19 @@ const PandadocCreateDocumentFromFileInput = zod.z.object({
20
20
  last_name: zod.z.string().describe("Last name of the recipient").optional(),
21
21
  first_name: zod.z.string().describe("First name of the recipient").optional(),
22
22
  signing_order: zod.z.number().int().describe("Order in which this recipient should sign. If specified for any recipient, it must be specified for ALL recipients in the document.").optional()
23
- }).describe("Model for document recipient.")).describe("List of recipients for the document Each recipient object must include a valid `email` field; missing or malformed emails will prevent sending or signing."),
23
+ }).passthrough().describe("Model for document recipient.")).describe("List of recipients for the document Each recipient object must include a valid `email` field; missing or malformed emails will prevent sending or signing."),
24
24
  parse_form_fields: zod.z.boolean().default(false).describe("Whether to parse form fields in the document (for PDFs)").optional()
25
25
  }).describe("Request model for creating a document from file.");
26
26
  const PandadocCreateDocumentFromFileOutput = zod.z.object({
27
- id: zod.z.string().describe("ID of the created document"),
28
- name: zod.z.string().describe("Name of the document"),
27
+ id: zod.z.string().describe("ID of the created document").nullable(),
28
+ name: zod.z.string().describe("Name of the document").nullable(),
29
29
  uuid: zod.z.string().describe("UUID of the document").nullable().optional(),
30
- status: zod.z.string().describe("Current status of the document (typically 'document.uploaded' initially, then changes to 'document.draft' after processing)"),
30
+ status: zod.z.string().describe("Current status of the document (typically 'document.uploaded' initially, then changes to 'document.draft' after processing)").nullable(),
31
31
  version: zod.z.string().describe("Version of the document").nullable().optional(),
32
- date_created: zod.z.string().describe("Date when the document was created"),
32
+ date_created: zod.z.string().describe("Date when the document was created").nullable(),
33
33
  date_modified: zod.z.string().describe("Date when the document was last modified").nullable().optional(),
34
34
  expiration_date: zod.z.string().describe("Expiration date of the document").nullable().optional()
35
- }).describe("Response model for document creation.");
35
+ }).passthrough().describe("Response model for document creation.");
36
36
  const pandadocCreateDocumentFromFile = require_action.action("PANDADOC_CREATE_DOCUMENT_FROM_FILE", {
37
37
  slug: "pandadoc-create-document-from-file",
38
38
  name: "Create Document from File Upload",
@@ -1 +1 @@
1
- {"version":3,"file":"create-document-from-file.cjs","names":["z","action"],"sources":["../../src/actions/create-document-from-file.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PandadocCreateDocumentFromFileInput: z.ZodTypeAny = z.object({\n url: z.string().describe(\"Public HTTPS URL of the file to use (PDF, DOCX, or RTF format). Either 'file' or 'url' must be provided.\").optional(),\n file: z.object({\n name: z.string().describe(\"The filename that will be used when uploading the file to the destination service\"),\n s3key: z.string().describe(\"The S3 key of a publicly accessible file, typically returned from a previous download action that stored the file in S3. This key references an existing file that can be uploaded to another service.\"),\n mimetype: z.string().describe(\"The MIME type of the file\"),\n}).describe(\"File to upload (PDF, DOCX, or RTF format). Either 'file' or 'url' must be provided.\").optional(),\n name: z.string().describe(\"Name of the document\"),\n tags: z.array(z.string()).describe(\"Tags to categorize the document\").optional(),\n owner: z.object({\n email: z.string().describe(\"Email of the document owner. Must be a valid email of an existing member in your PandaDoc workspace.\").optional(),\n membership_id: z.string().describe(\"Membership ID of the document owner. Must be a valid membership ID from your PandaDoc workspace.\").optional(),\n}).describe(\"Model for document owner.\").optional(),\n recipients: z.array(z.object({\n role: z.string().default(\"signer\").describe(\"Role of the recipient in the document. Common values: 'signer', 'approver', 'cc'. Note: PandaDoc API does not allow duplicate roles - each recipient must have a unique role.\").optional(),\n email: z.string().describe(\"Email address of the recipient\"),\n last_name: z.string().describe(\"Last name of the recipient\").optional(),\n first_name: z.string().describe(\"First name of the recipient\").optional(),\n signing_order: z.number().int().describe(\"Order in which this recipient should sign. If specified for any recipient, it must be specified for ALL recipients in the document.\").optional(),\n}).describe(\"Model for document recipient.\")).describe(\"List of recipients for the document Each recipient object must include a valid `email` field; missing or malformed emails will prevent sending or signing.\"),\n parse_form_fields: z.boolean().default(false).describe(\"Whether to parse form fields in the document (for PDFs)\").optional(),\n}).describe(\"Request model for creating a document from file.\");\nexport const PandadocCreateDocumentFromFileOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"ID of the created document\"),\n name: z.string().describe(\"Name of the document\"),\n uuid: z.string().describe(\"UUID of the document\").nullable().optional(),\n status: z.string().describe(\"Current status of the document (typically 'document.uploaded' initially, then changes to 'document.draft' after processing)\"),\n version: z.string().describe(\"Version of the document\").nullable().optional(),\n date_created: z.string().describe(\"Date when the document was created\"),\n date_modified: z.string().describe(\"Date when the document was last modified\").nullable().optional(),\n expiration_date: z.string().describe(\"Expiration date of the document\").nullable().optional(),\n}).describe(\"Response model for document creation.\");\n\nexport const pandadocCreateDocumentFromFile = action(\"PANDADOC_CREATE_DOCUMENT_FROM_FILE\", {\n slug: \"pandadoc-create-document-from-file\",\n name: \"Create Document from File Upload\",\n description: \"Creates a new document in PandaDoc by uploading a file (PDF, DOCX, or RTF). Converts existing documents into PandaDoc documents for processing, signing, and tracking. Either `file` or `url` must be provided; omitting both will fail. Large files may time out during upload and conversion.\",\n input: PandadocCreateDocumentFromFileInput,\n output: PandadocCreateDocumentFromFileOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAoDA,IAAAA,EAAE,OAAO;CACxE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0GAA0G,CAAC,CAAC,SAAS;CAC9I,MAAMA,IAAAA,EAAE,OAAO;EACf,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF;EAC7G,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wMAAwM;EACnO,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;CAC3D,CAAC,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS;CAC1G,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB;CAChD,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CAC/E,OAAOA,IAAAA,EAAE,OAAO;EAChB,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sGAAsG,CAAC,CAAC,SAAS;EAC5I,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kGAAkG,CAAC,CAAC,SAAS;CAClJ,CAAC,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAChD,YAAYA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EAC7B,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,QAAQ,CAAC,CAAC,SAAS,+KAA+K,CAAC,CAAC,SAAS;EACtO,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;EAC3D,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;EACtE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;EACxE,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qIAAqI,CAAC,CAAC,SAAS;CAC3L,CAAC,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,CAAC,SAAS,4JAA4J;CACjN,mBAAmBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;AAC7H,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAC9D,MAAa,uCAAqDA,IAAAA,EAAE,OAAO;CACzE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;CACpD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB;CAChD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6HAA6H;CACzJ,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CACtE,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9F,CAAC,CAAC,CAAC,SAAS,uCAAuC;AAEnD,MAAa,iCAAiCC,eAAAA,OAAO,sCAAsC;CACzF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"create-document-from-file.cjs","names":["z","action"],"sources":["../../src/actions/create-document-from-file.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PandadocCreateDocumentFromFileInput = z.object({\n url: z.string().describe(\"Public HTTPS URL of the file to use (PDF, DOCX, or RTF format). Either 'file' or 'url' must be provided.\").optional(),\n file: z.object({\n name: z.string().describe(\"The filename that will be used when uploading the file to the destination service\"),\n s3key: z.string().describe(\"The S3 key of a publicly accessible file, typically returned from a previous download action that stored the file in S3. This key references an existing file that can be uploaded to another service.\"),\n mimetype: z.string().describe(\"The MIME type of the file\"),\n}).describe(\"File to upload (PDF, DOCX, or RTF format). Either 'file' or 'url' must be provided.\").optional(),\n name: z.string().describe(\"Name of the document\"),\n tags: z.array(z.string()).describe(\"Tags to categorize the document\").optional(),\n owner: z.object({\n email: z.string().describe(\"Email of the document owner. Must be a valid email of an existing member in your PandaDoc workspace.\").optional(),\n membership_id: z.string().describe(\"Membership ID of the document owner. Must be a valid membership ID from your PandaDoc workspace.\").optional(),\n}).describe(\"Model for document owner.\").optional(),\n recipients: z.array(z.object({\n role: z.string().default(\"signer\").describe(\"Role of the recipient in the document. Common values: 'signer', 'approver', 'cc'. Note: PandaDoc API does not allow duplicate roles - each recipient must have a unique role.\").optional(),\n email: z.string().describe(\"Email address of the recipient\"),\n last_name: z.string().describe(\"Last name of the recipient\").optional(),\n first_name: z.string().describe(\"First name of the recipient\").optional(),\n signing_order: z.number().int().describe(\"Order in which this recipient should sign. If specified for any recipient, it must be specified for ALL recipients in the document.\").optional(),\n}).passthrough().describe(\"Model for document recipient.\")).describe(\"List of recipients for the document Each recipient object must include a valid `email` field; missing or malformed emails will prevent sending or signing.\"),\n parse_form_fields: z.boolean().default(false).describe(\"Whether to parse form fields in the document (for PDFs)\").optional(),\n}).describe(\"Request model for creating a document from file.\");\nexport const PandadocCreateDocumentFromFileOutput = z.object({\n id: z.string().describe(\"ID of the created document\").nullable(),\n name: z.string().describe(\"Name of the document\").nullable(),\n uuid: z.string().describe(\"UUID of the document\").nullable().optional(),\n status: z.string().describe(\"Current status of the document (typically 'document.uploaded' initially, then changes to 'document.draft' after processing)\").nullable(),\n version: z.string().describe(\"Version of the document\").nullable().optional(),\n date_created: z.string().describe(\"Date when the document was created\").nullable(),\n date_modified: z.string().describe(\"Date when the document was last modified\").nullable().optional(),\n expiration_date: z.string().describe(\"Expiration date of the document\").nullable().optional(),\n}).passthrough().describe(\"Response model for document creation.\");\n\nexport const pandadocCreateDocumentFromFile = action(\"PANDADOC_CREATE_DOCUMENT_FROM_FILE\", {\n slug: \"pandadoc-create-document-from-file\",\n name: \"Create Document from File Upload\",\n description: \"Creates a new document in PandaDoc by uploading a file (PDF, DOCX, or RTF). Converts existing documents into PandaDoc documents for processing, signing, and tracking. Either `file` or `url` must be provided; omitting both will fail. Large files may time out during upload and conversion.\",\n input: PandadocCreateDocumentFromFileInput,\n output: PandadocCreateDocumentFromFileOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0GAA0G,CAAC,CAAC,SAAS;CAC9I,MAAMA,IAAAA,EAAE,OAAO;EACf,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF;EAC7G,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wMAAwM;EACnO,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;CAC3D,CAAC,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS;CAC1G,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB;CAChD,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CAC/E,OAAOA,IAAAA,EAAE,OAAO;EAChB,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sGAAsG,CAAC,CAAC,SAAS;EAC5I,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kGAAkG,CAAC,CAAC,SAAS;CAClJ,CAAC,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAChD,YAAYA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EAC7B,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,QAAQ,CAAC,CAAC,SAAS,+KAA+K,CAAC,CAAC,SAAS;EACtO,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;EAC3D,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;EACtE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;EACxE,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qIAAqI,CAAC,CAAC,SAAS;CAC3L,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,CAAC,SAAS,4JAA4J;CAC/N,mBAAmBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;AAC7H,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAC9D,MAAa,uCAAuCA,IAAAA,EAAE,OAAO;CAC3D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CAC/D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAC3D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6HAA6H,CAAC,CAAC,SAAS;CACpK,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACjF,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAAuC;AAEjE,MAAa,iCAAiCC,eAAAA,OAAO,sCAAsC;CACzF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,61 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/create-document-from-file.d.ts
4
- declare const PandadocCreateDocumentFromFileInput: z.ZodTypeAny;
5
- declare const PandadocCreateDocumentFromFileOutput: z.ZodTypeAny;
6
- declare const pandadocCreateDocumentFromFile: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PandadocCreateDocumentFromFileInput: z.ZodObject<{
5
+ url: z.ZodOptional<z.ZodString>;
6
+ file: z.ZodOptional<z.ZodObject<{
7
+ name: z.ZodString;
8
+ s3key: z.ZodString;
9
+ mimetype: z.ZodString;
10
+ }, z.core.$strip>>;
11
+ name: z.ZodString;
12
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
13
+ owner: z.ZodOptional<z.ZodObject<{
14
+ email: z.ZodOptional<z.ZodString>;
15
+ membership_id: z.ZodOptional<z.ZodString>;
16
+ }, z.core.$strip>>;
17
+ recipients: z.ZodArray<z.ZodObject<{
18
+ role: z.ZodOptional<z.ZodDefault<z.ZodString>>;
19
+ email: z.ZodString;
20
+ last_name: z.ZodOptional<z.ZodString>;
21
+ first_name: z.ZodOptional<z.ZodString>;
22
+ signing_order: z.ZodOptional<z.ZodNumber>;
23
+ }, z.core.$loose>>;
24
+ parse_form_fields: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
25
+ }, z.core.$strip>;
26
+ declare const PandadocCreateDocumentFromFileOutput: z.ZodObject<{
27
+ id: z.ZodNullable<z.ZodString>;
28
+ name: z.ZodNullable<z.ZodString>;
29
+ uuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30
+ status: z.ZodNullable<z.ZodString>;
31
+ version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32
+ date_created: z.ZodNullable<z.ZodString>;
33
+ date_modified: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34
+ expiration_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35
+ }, z.core.$loose>;
36
+ declare const pandadocCreateDocumentFromFile: import("@keystrokehq/action").WorkflowActionDefinition<{
37
+ name: string;
38
+ recipients: {
39
+ [x: string]: unknown;
40
+ email: string;
41
+ role?: string | undefined;
42
+ last_name?: string | undefined;
43
+ first_name?: string | undefined;
44
+ signing_order?: number | undefined;
45
+ }[];
46
+ url?: string | undefined;
47
+ file?: {
48
+ name: string;
49
+ s3key: string;
50
+ mimetype: string;
51
+ } | undefined;
52
+ tags?: string[] | undefined;
53
+ owner?: {
54
+ email?: string | undefined;
55
+ membership_id?: string | undefined;
56
+ } | undefined;
57
+ parse_form_fields?: boolean | undefined;
58
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
59
  //#endregion
8
60
  export { pandadocCreateDocumentFromFile };
9
61
  //# sourceMappingURL=create-document-from-file.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-document-from-file.d.cts","names":[],"sources":["../../src/actions/create-document-from-file.ts"],"mappings":";;;cAIa,mCAAA,EAAqC,CAAA,CAAE,UAqBW;AAAA,cAClD,oCAAA,EAAsC,CAAA,CAAE,UASD;AAAA,cAEvC,8BAAA,gCAA8B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"create-document-from-file.d.cts","names":[],"sources":["../../src/actions/create-document-from-file.ts"],"mappings":";;;cAIa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;cAsBnC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;;;;cAWpC,8BAAA,gCAA8B,wBAAA"}
@@ -1,9 +1,61 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/create-document-from-file.d.ts
4
- declare const PandadocCreateDocumentFromFileInput: z.ZodTypeAny;
5
- declare const PandadocCreateDocumentFromFileOutput: z.ZodTypeAny;
6
- declare const pandadocCreateDocumentFromFile: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PandadocCreateDocumentFromFileInput: z.ZodObject<{
5
+ url: z.ZodOptional<z.ZodString>;
6
+ file: z.ZodOptional<z.ZodObject<{
7
+ name: z.ZodString;
8
+ s3key: z.ZodString;
9
+ mimetype: z.ZodString;
10
+ }, z.core.$strip>>;
11
+ name: z.ZodString;
12
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
13
+ owner: z.ZodOptional<z.ZodObject<{
14
+ email: z.ZodOptional<z.ZodString>;
15
+ membership_id: z.ZodOptional<z.ZodString>;
16
+ }, z.core.$strip>>;
17
+ recipients: z.ZodArray<z.ZodObject<{
18
+ role: z.ZodOptional<z.ZodDefault<z.ZodString>>;
19
+ email: z.ZodString;
20
+ last_name: z.ZodOptional<z.ZodString>;
21
+ first_name: z.ZodOptional<z.ZodString>;
22
+ signing_order: z.ZodOptional<z.ZodNumber>;
23
+ }, z.core.$loose>>;
24
+ parse_form_fields: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
25
+ }, z.core.$strip>;
26
+ declare const PandadocCreateDocumentFromFileOutput: z.ZodObject<{
27
+ id: z.ZodNullable<z.ZodString>;
28
+ name: z.ZodNullable<z.ZodString>;
29
+ uuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30
+ status: z.ZodNullable<z.ZodString>;
31
+ version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32
+ date_created: z.ZodNullable<z.ZodString>;
33
+ date_modified: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34
+ expiration_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35
+ }, z.core.$loose>;
36
+ declare const pandadocCreateDocumentFromFile: import("@keystrokehq/action").WorkflowActionDefinition<{
37
+ name: string;
38
+ recipients: {
39
+ [x: string]: unknown;
40
+ email: string;
41
+ role?: string | undefined;
42
+ last_name?: string | undefined;
43
+ first_name?: string | undefined;
44
+ signing_order?: number | undefined;
45
+ }[];
46
+ url?: string | undefined;
47
+ file?: {
48
+ name: string;
49
+ s3key: string;
50
+ mimetype: string;
51
+ } | undefined;
52
+ tags?: string[] | undefined;
53
+ owner?: {
54
+ email?: string | undefined;
55
+ membership_id?: string | undefined;
56
+ } | undefined;
57
+ parse_form_fields?: boolean | undefined;
58
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
59
  //#endregion
8
60
  export { pandadocCreateDocumentFromFile };
9
61
  //# sourceMappingURL=create-document-from-file.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-document-from-file.d.mts","names":[],"sources":["../../src/actions/create-document-from-file.ts"],"mappings":";;;cAIa,mCAAA,EAAqC,CAAA,CAAE,UAqBW;AAAA,cAClD,oCAAA,EAAsC,CAAA,CAAE,UASD;AAAA,cAEvC,8BAAA,gCAA8B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"create-document-from-file.d.mts","names":[],"sources":["../../src/actions/create-document-from-file.ts"],"mappings":";;;cAIa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;cAsBnC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;;;;cAWpC,8BAAA,gCAA8B,wBAAA"}
@@ -23,19 +23,19 @@ const pandadocCreateDocumentFromFile = action("PANDADOC_CREATE_DOCUMENT_FROM_FIL
23
23
  last_name: z.string().describe("Last name of the recipient").optional(),
24
24
  first_name: z.string().describe("First name of the recipient").optional(),
25
25
  signing_order: z.number().int().describe("Order in which this recipient should sign. If specified for any recipient, it must be specified for ALL recipients in the document.").optional()
26
- }).describe("Model for document recipient.")).describe("List of recipients for the document Each recipient object must include a valid `email` field; missing or malformed emails will prevent sending or signing."),
26
+ }).passthrough().describe("Model for document recipient.")).describe("List of recipients for the document Each recipient object must include a valid `email` field; missing or malformed emails will prevent sending or signing."),
27
27
  parse_form_fields: z.boolean().default(false).describe("Whether to parse form fields in the document (for PDFs)").optional()
28
28
  }).describe("Request model for creating a document from file."),
29
29
  output: z.object({
30
- id: z.string().describe("ID of the created document"),
31
- name: z.string().describe("Name of the document"),
30
+ id: z.string().describe("ID of the created document").nullable(),
31
+ name: z.string().describe("Name of the document").nullable(),
32
32
  uuid: z.string().describe("UUID of the document").nullable().optional(),
33
- status: z.string().describe("Current status of the document (typically 'document.uploaded' initially, then changes to 'document.draft' after processing)"),
33
+ status: z.string().describe("Current status of the document (typically 'document.uploaded' initially, then changes to 'document.draft' after processing)").nullable(),
34
34
  version: z.string().describe("Version of the document").nullable().optional(),
35
- date_created: z.string().describe("Date when the document was created"),
35
+ date_created: z.string().describe("Date when the document was created").nullable(),
36
36
  date_modified: z.string().describe("Date when the document was last modified").nullable().optional(),
37
37
  expiration_date: z.string().describe("Expiration date of the document").nullable().optional()
38
- }).describe("Response model for document creation.")
38
+ }).passthrough().describe("Response model for document creation.")
39
39
  });
40
40
  //#endregion
41
41
  export { pandadocCreateDocumentFromFile };
@@ -1 +1 @@
1
- {"version":3,"file":"create-document-from-file.mjs","names":[],"sources":["../../src/actions/create-document-from-file.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PandadocCreateDocumentFromFileInput: z.ZodTypeAny = z.object({\n url: z.string().describe(\"Public HTTPS URL of the file to use (PDF, DOCX, or RTF format). Either 'file' or 'url' must be provided.\").optional(),\n file: z.object({\n name: z.string().describe(\"The filename that will be used when uploading the file to the destination service\"),\n s3key: z.string().describe(\"The S3 key of a publicly accessible file, typically returned from a previous download action that stored the file in S3. This key references an existing file that can be uploaded to another service.\"),\n mimetype: z.string().describe(\"The MIME type of the file\"),\n}).describe(\"File to upload (PDF, DOCX, or RTF format). Either 'file' or 'url' must be provided.\").optional(),\n name: z.string().describe(\"Name of the document\"),\n tags: z.array(z.string()).describe(\"Tags to categorize the document\").optional(),\n owner: z.object({\n email: z.string().describe(\"Email of the document owner. Must be a valid email of an existing member in your PandaDoc workspace.\").optional(),\n membership_id: z.string().describe(\"Membership ID of the document owner. Must be a valid membership ID from your PandaDoc workspace.\").optional(),\n}).describe(\"Model for document owner.\").optional(),\n recipients: z.array(z.object({\n role: z.string().default(\"signer\").describe(\"Role of the recipient in the document. Common values: 'signer', 'approver', 'cc'. Note: PandaDoc API does not allow duplicate roles - each recipient must have a unique role.\").optional(),\n email: z.string().describe(\"Email address of the recipient\"),\n last_name: z.string().describe(\"Last name of the recipient\").optional(),\n first_name: z.string().describe(\"First name of the recipient\").optional(),\n signing_order: z.number().int().describe(\"Order in which this recipient should sign. If specified for any recipient, it must be specified for ALL recipients in the document.\").optional(),\n}).describe(\"Model for document recipient.\")).describe(\"List of recipients for the document Each recipient object must include a valid `email` field; missing or malformed emails will prevent sending or signing.\"),\n parse_form_fields: z.boolean().default(false).describe(\"Whether to parse form fields in the document (for PDFs)\").optional(),\n}).describe(\"Request model for creating a document from file.\");\nexport const PandadocCreateDocumentFromFileOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"ID of the created document\"),\n name: z.string().describe(\"Name of the document\"),\n uuid: z.string().describe(\"UUID of the document\").nullable().optional(),\n status: z.string().describe(\"Current status of the document (typically 'document.uploaded' initially, then changes to 'document.draft' after processing)\"),\n version: z.string().describe(\"Version of the document\").nullable().optional(),\n date_created: z.string().describe(\"Date when the document was created\"),\n date_modified: z.string().describe(\"Date when the document was last modified\").nullable().optional(),\n expiration_date: z.string().describe(\"Expiration date of the document\").nullable().optional(),\n}).describe(\"Response model for document creation.\");\n\nexport const pandadocCreateDocumentFromFile = action(\"PANDADOC_CREATE_DOCUMENT_FROM_FILE\", {\n slug: \"pandadoc-create-document-from-file\",\n name: \"Create Document from File Upload\",\n description: \"Creates a new document in PandaDoc by uploading a file (PDF, DOCX, or RTF). Converts existing documents into PandaDoc documents for processing, signing, and tracking. Either `file` or `url` must be provided; omitting both will fail. Large files may time out during upload and conversion.\",\n input: PandadocCreateDocumentFromFileInput,\n output: PandadocCreateDocumentFromFileOutput,\n});\n"],"mappings":";;AAqCA,MAAa,iCAAiC,OAAO,sCAAsC;CACzF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OArC+D,EAAE,OAAO;EACxE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,0GAA0G,CAAC,CAAC,SAAS;EAC9I,MAAM,EAAE,OAAO;GACf,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF;GAC7G,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wMAAwM;GACnO,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;EAC3D,CAAC,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS;EAC1G,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB;EAChD,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;EAC/E,OAAO,EAAE,OAAO;GAChB,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sGAAsG,CAAC,CAAC,SAAS;GAC5I,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,kGAAkG,CAAC,CAAC,SAAS;EAClJ,CAAC,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;EAChD,YAAY,EAAE,MAAM,EAAE,OAAO;GAC7B,MAAM,EAAE,OAAO,CAAC,CAAC,QAAQ,QAAQ,CAAC,CAAC,SAAS,+KAA+K,CAAC,CAAC,SAAS;GACtO,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;GAC3D,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;GACtE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;GACxE,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qIAAqI,CAAC,CAAC,SAAS;EAC3L,CAAC,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,CAAC,SAAS,4JAA4J;EACjN,mBAAmB,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CAC7H,CAAC,CAAC,CAAC,SAAS,kDAgBH;CACP,QAhBgE,EAAE,OAAO;EACzE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;EACpD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB;EAChD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,6HAA6H;EACzJ,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5E,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;EACtE,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnG,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,CAAC,CAAC,CAAC,SAAS,uCAOF;AACV,CAAC"}
1
+ {"version":3,"file":"create-document-from-file.mjs","names":[],"sources":["../../src/actions/create-document-from-file.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PandadocCreateDocumentFromFileInput = z.object({\n url: z.string().describe(\"Public HTTPS URL of the file to use (PDF, DOCX, or RTF format). Either 'file' or 'url' must be provided.\").optional(),\n file: z.object({\n name: z.string().describe(\"The filename that will be used when uploading the file to the destination service\"),\n s3key: z.string().describe(\"The S3 key of a publicly accessible file, typically returned from a previous download action that stored the file in S3. This key references an existing file that can be uploaded to another service.\"),\n mimetype: z.string().describe(\"The MIME type of the file\"),\n}).describe(\"File to upload (PDF, DOCX, or RTF format). Either 'file' or 'url' must be provided.\").optional(),\n name: z.string().describe(\"Name of the document\"),\n tags: z.array(z.string()).describe(\"Tags to categorize the document\").optional(),\n owner: z.object({\n email: z.string().describe(\"Email of the document owner. Must be a valid email of an existing member in your PandaDoc workspace.\").optional(),\n membership_id: z.string().describe(\"Membership ID of the document owner. Must be a valid membership ID from your PandaDoc workspace.\").optional(),\n}).describe(\"Model for document owner.\").optional(),\n recipients: z.array(z.object({\n role: z.string().default(\"signer\").describe(\"Role of the recipient in the document. Common values: 'signer', 'approver', 'cc'. Note: PandaDoc API does not allow duplicate roles - each recipient must have a unique role.\").optional(),\n email: z.string().describe(\"Email address of the recipient\"),\n last_name: z.string().describe(\"Last name of the recipient\").optional(),\n first_name: z.string().describe(\"First name of the recipient\").optional(),\n signing_order: z.number().int().describe(\"Order in which this recipient should sign. If specified for any recipient, it must be specified for ALL recipients in the document.\").optional(),\n}).passthrough().describe(\"Model for document recipient.\")).describe(\"List of recipients for the document Each recipient object must include a valid `email` field; missing or malformed emails will prevent sending or signing.\"),\n parse_form_fields: z.boolean().default(false).describe(\"Whether to parse form fields in the document (for PDFs)\").optional(),\n}).describe(\"Request model for creating a document from file.\");\nexport const PandadocCreateDocumentFromFileOutput = z.object({\n id: z.string().describe(\"ID of the created document\").nullable(),\n name: z.string().describe(\"Name of the document\").nullable(),\n uuid: z.string().describe(\"UUID of the document\").nullable().optional(),\n status: z.string().describe(\"Current status of the document (typically 'document.uploaded' initially, then changes to 'document.draft' after processing)\").nullable(),\n version: z.string().describe(\"Version of the document\").nullable().optional(),\n date_created: z.string().describe(\"Date when the document was created\").nullable(),\n date_modified: z.string().describe(\"Date when the document was last modified\").nullable().optional(),\n expiration_date: z.string().describe(\"Expiration date of the document\").nullable().optional(),\n}).passthrough().describe(\"Response model for document creation.\");\n\nexport const pandadocCreateDocumentFromFile = action(\"PANDADOC_CREATE_DOCUMENT_FROM_FILE\", {\n slug: \"pandadoc-create-document-from-file\",\n name: \"Create Document from File Upload\",\n description: \"Creates a new document in PandaDoc by uploading a file (PDF, DOCX, or RTF). Converts existing documents into PandaDoc documents for processing, signing, and tracking. Either `file` or `url` must be provided; omitting both will fail. Large files may time out during upload and conversion.\",\n input: PandadocCreateDocumentFromFileInput,\n output: PandadocCreateDocumentFromFileOutput,\n});\n"],"mappings":";;AAqCA,MAAa,iCAAiC,OAAO,sCAAsC;CACzF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OArCiD,EAAE,OAAO;EAC1D,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,0GAA0G,CAAC,CAAC,SAAS;EAC9I,MAAM,EAAE,OAAO;GACf,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF;GAC7G,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wMAAwM;GACnO,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;EAC3D,CAAC,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS;EAC1G,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB;EAChD,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;EAC/E,OAAO,EAAE,OAAO;GAChB,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sGAAsG,CAAC,CAAC,SAAS;GAC5I,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,kGAAkG,CAAC,CAAC,SAAS;EAClJ,CAAC,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;EAChD,YAAY,EAAE,MAAM,EAAE,OAAO;GAC7B,MAAM,EAAE,OAAO,CAAC,CAAC,QAAQ,QAAQ,CAAC,CAAC,SAAS,+KAA+K,CAAC,CAAC,SAAS;GACtO,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;GAC3D,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;GACtE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;GACxE,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qIAAqI,CAAC,CAAC,SAAS;EAC3L,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,CAAC,SAAS,4JAA4J;EAC/N,mBAAmB,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CAC7H,CAAC,CAAC,CAAC,SAAS,kDAgBH;CACP,QAhBkD,EAAE,OAAO;EAC3D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;EAC/D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;EAC3D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,6HAA6H,CAAC,CAAC,SAAS;EACpK,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5E,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;EACjF,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnG,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAOhB;AACV,CAAC"}
@@ -6,10 +6,10 @@ const PandadocCreateFolderInput = zod.z.object({
6
6
  parent_uuid: zod.z.string().describe("UUID of the parent folder if creating a nested folder structure").optional()
7
7
  }).describe("Request model for creating a folder.");
8
8
  const PandadocCreateFolderOutput = zod.z.object({
9
- name: zod.z.string().describe("Name of the created folder"),
10
- uuid: zod.z.string().describe("Unique identifier of the created folder"),
11
- date_created: zod.z.string().describe("Timestamp when the folder was created")
12
- }).describe("Response model for folder creation.");
9
+ name: zod.z.string().describe("Name of the created folder").nullable(),
10
+ uuid: zod.z.string().describe("Unique identifier of the created folder").nullable(),
11
+ date_created: zod.z.string().describe("Timestamp when the folder was created").nullable()
12
+ }).passthrough().describe("Response model for folder creation.");
13
13
  const pandadocCreateFolder = require_action.action("PANDADOC_CREATE_FOLDER", {
14
14
  slug: "pandadoc-create-folder",
15
15
  name: "Create Document Folder",
@@ -1 +1 @@
1
- {"version":3,"file":"create-folder.cjs","names":["z","action"],"sources":["../../src/actions/create-folder.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PandadocCreateFolderInput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Name of the folder to be created\"),\n parent_uuid: z.string().describe(\"UUID of the parent folder if creating a nested folder structure\").optional(),\n}).describe(\"Request model for creating a folder.\");\nexport const PandadocCreateFolderOutput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Name of the created folder\"),\n uuid: z.string().describe(\"Unique identifier of the created folder\"),\n date_created: z.string().describe(\"Timestamp when the folder was created\"),\n}).describe(\"Response model for folder creation.\");\n\nexport const pandadocCreateFolder = action(\"PANDADOC_CREATE_FOLDER\", {\n slug: \"pandadoc-create-folder\",\n name: \"Create Document Folder\",\n description: \"Creates a new folder in PandaDoc to organize documents. This action allows users to create a new folder with a specified name and optionally set a parent folder to create a nested folder structure.\",\n input: PandadocCreateFolderInput,\n output: PandadocCreateFolderOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA0CA,IAAAA,EAAE,OAAO;CAC9D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;CAC5D,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;AAC/G,CAAC,CAAC,CAAC,SAAS,sCAAsC;AAClD,MAAa,6BAA2CA,IAAAA,EAAE,OAAO;CAC/D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;CACtD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;CACnE,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;AAC3E,CAAC,CAAC,CAAC,SAAS,qCAAqC;AAEjD,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"create-folder.cjs","names":["z","action"],"sources":["../../src/actions/create-folder.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PandadocCreateFolderInput = z.object({\n name: z.string().describe(\"Name of the folder to be created\"),\n parent_uuid: z.string().describe(\"UUID of the parent folder if creating a nested folder structure\").optional(),\n}).describe(\"Request model for creating a folder.\");\nexport const PandadocCreateFolderOutput = z.object({\n name: z.string().describe(\"Name of the created folder\").nullable(),\n uuid: z.string().describe(\"Unique identifier of the created folder\").nullable(),\n date_created: z.string().describe(\"Timestamp when the folder was created\").nullable(),\n}).passthrough().describe(\"Response model for folder creation.\");\n\nexport const pandadocCreateFolder = action(\"PANDADOC_CREATE_FOLDER\", {\n slug: \"pandadoc-create-folder\",\n name: \"Create Document Folder\",\n description: \"Creates a new folder in PandaDoc to organize documents. This action allows users to create a new folder with a specified name and optionally set a parent folder to create a nested folder structure.\",\n input: PandadocCreateFolderInput,\n output: PandadocCreateFolderOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;CAC5D,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;AAC/G,CAAC,CAAC,CAAC,SAAS,sCAAsC;AAClD,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACjE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAC9E,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;AACtF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qCAAqC;AAE/D,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,19 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/create-folder.d.ts
4
- declare const PandadocCreateFolderInput: z.ZodTypeAny;
5
- declare const PandadocCreateFolderOutput: z.ZodTypeAny;
6
- declare const pandadocCreateFolder: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PandadocCreateFolderInput: z.ZodObject<{
5
+ name: z.ZodString;
6
+ parent_uuid: z.ZodOptional<z.ZodString>;
7
+ }, z.core.$strip>;
8
+ declare const PandadocCreateFolderOutput: z.ZodObject<{
9
+ name: z.ZodNullable<z.ZodString>;
10
+ uuid: z.ZodNullable<z.ZodString>;
11
+ date_created: z.ZodNullable<z.ZodString>;
12
+ }, z.core.$loose>;
13
+ declare const pandadocCreateFolder: import("@keystrokehq/action").WorkflowActionDefinition<{
14
+ name: string;
15
+ parent_uuid?: string | undefined;
16
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
17
  //#endregion
8
18
  export { pandadocCreateFolder };
9
19
  //# sourceMappingURL=create-folder.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-folder.d.cts","names":[],"sources":["../../src/actions/create-folder.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UAGS;AAAA,cACtC,0BAAA,EAA4B,CAAA,CAAE,UAIO;AAAA,cAErC,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"create-folder.d.cts","names":[],"sources":["../../src/actions/create-folder.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;cAIzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;cAM1B,oBAAA,gCAAoB,wBAAA"}
@@ -1,9 +1,19 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/create-folder.d.ts
4
- declare const PandadocCreateFolderInput: z.ZodTypeAny;
5
- declare const PandadocCreateFolderOutput: z.ZodTypeAny;
6
- declare const pandadocCreateFolder: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PandadocCreateFolderInput: z.ZodObject<{
5
+ name: z.ZodString;
6
+ parent_uuid: z.ZodOptional<z.ZodString>;
7
+ }, z.core.$strip>;
8
+ declare const PandadocCreateFolderOutput: z.ZodObject<{
9
+ name: z.ZodNullable<z.ZodString>;
10
+ uuid: z.ZodNullable<z.ZodString>;
11
+ date_created: z.ZodNullable<z.ZodString>;
12
+ }, z.core.$loose>;
13
+ declare const pandadocCreateFolder: import("@keystrokehq/action").WorkflowActionDefinition<{
14
+ name: string;
15
+ parent_uuid?: string | undefined;
16
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
17
  //#endregion
8
18
  export { pandadocCreateFolder };
9
19
  //# sourceMappingURL=create-folder.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-folder.d.mts","names":[],"sources":["../../src/actions/create-folder.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UAGS;AAAA,cACtC,0BAAA,EAA4B,CAAA,CAAE,UAIO;AAAA,cAErC,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"create-folder.d.mts","names":[],"sources":["../../src/actions/create-folder.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;cAIzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;cAM1B,oBAAA,gCAAoB,wBAAA"}
@@ -9,10 +9,10 @@ const pandadocCreateFolder = action("PANDADOC_CREATE_FOLDER", {
9
9
  parent_uuid: z.string().describe("UUID of the parent folder if creating a nested folder structure").optional()
10
10
  }).describe("Request model for creating a folder."),
11
11
  output: z.object({
12
- name: z.string().describe("Name of the created folder"),
13
- uuid: z.string().describe("Unique identifier of the created folder"),
14
- date_created: z.string().describe("Timestamp when the folder was created")
15
- }).describe("Response model for folder creation.")
12
+ name: z.string().describe("Name of the created folder").nullable(),
13
+ uuid: z.string().describe("Unique identifier of the created folder").nullable(),
14
+ date_created: z.string().describe("Timestamp when the folder was created").nullable()
15
+ }).passthrough().describe("Response model for folder creation.")
16
16
  });
17
17
  //#endregion
18
18
  export { pandadocCreateFolder };
@@ -1 +1 @@
1
- {"version":3,"file":"create-folder.mjs","names":[],"sources":["../../src/actions/create-folder.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PandadocCreateFolderInput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Name of the folder to be created\"),\n parent_uuid: z.string().describe(\"UUID of the parent folder if creating a nested folder structure\").optional(),\n}).describe(\"Request model for creating a folder.\");\nexport const PandadocCreateFolderOutput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Name of the created folder\"),\n uuid: z.string().describe(\"Unique identifier of the created folder\"),\n date_created: z.string().describe(\"Timestamp when the folder was created\"),\n}).describe(\"Response model for folder creation.\");\n\nexport const pandadocCreateFolder = action(\"PANDADOC_CREATE_FOLDER\", {\n slug: \"pandadoc-create-folder\",\n name: \"Create Document Folder\",\n description: \"Creates a new folder in PandaDoc to organize documents. This action allows users to create a new folder with a specified name and optionally set a parent folder to create a nested folder structure.\",\n input: PandadocCreateFolderInput,\n output: PandadocCreateFolderOutput,\n});\n"],"mappings":";;AAcA,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAdqD,EAAE,OAAO;EAC9D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;EAC5D,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;CAC/G,CAAC,CAAC,CAAC,SAAS,sCAWH;CACP,QAXsD,EAAE,OAAO;EAC/D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;EACtD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;EACnE,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;CAC3E,CAAC,CAAC,CAAC,SAAS,qCAOF;AACV,CAAC"}
1
+ {"version":3,"file":"create-folder.mjs","names":[],"sources":["../../src/actions/create-folder.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PandadocCreateFolderInput = z.object({\n name: z.string().describe(\"Name of the folder to be created\"),\n parent_uuid: z.string().describe(\"UUID of the parent folder if creating a nested folder structure\").optional(),\n}).describe(\"Request model for creating a folder.\");\nexport const PandadocCreateFolderOutput = z.object({\n name: z.string().describe(\"Name of the created folder\").nullable(),\n uuid: z.string().describe(\"Unique identifier of the created folder\").nullable(),\n date_created: z.string().describe(\"Timestamp when the folder was created\").nullable(),\n}).passthrough().describe(\"Response model for folder creation.\");\n\nexport const pandadocCreateFolder = action(\"PANDADOC_CREATE_FOLDER\", {\n slug: \"pandadoc-create-folder\",\n name: \"Create Document Folder\",\n description: \"Creates a new folder in PandaDoc to organize documents. This action allows users to create a new folder with a specified name and optionally set a parent folder to create a nested folder structure.\",\n input: PandadocCreateFolderInput,\n output: PandadocCreateFolderOutput,\n});\n"],"mappings":";;AAcA,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAduC,EAAE,OAAO;EAChD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;EAC5D,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;CAC/G,CAAC,CAAC,CAAC,SAAS,sCAWH;CACP,QAXwC,EAAE,OAAO;EACjD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;EACjE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;EAC9E,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CACtF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qCAOhB;AACV,CAAC"}
@@ -15,9 +15,9 @@ const PandadocCreateOrUpdateContactInput = zod.z.object({
15
15
  street_address: zod.z.string().describe("Street address of the contact").optional()
16
16
  }).describe("Request model for creating or updating a contact.");
17
17
  const PandadocCreateOrUpdateContactOutput = zod.z.object({
18
- id: zod.z.string().describe("Unique identifier of the contact"),
18
+ id: zod.z.string().describe("Unique identifier of the contact").nullable(),
19
19
  city: zod.z.string().describe("City of the contact").nullable().optional(),
20
- email: zod.z.string().describe("Email address of the contact"),
20
+ email: zod.z.string().describe("Email address of the contact").nullable(),
21
21
  phone: zod.z.string().describe("Phone number of the contact").nullable().optional(),
22
22
  state: zod.z.string().describe("State of the contact").nullable().optional(),
23
23
  company: zod.z.string().describe("Company name of the contact").nullable().optional(),
@@ -27,7 +27,7 @@ const PandadocCreateOrUpdateContactOutput = zod.z.object({
27
27
  first_name: zod.z.string().describe("First name of the contact").nullable().optional(),
28
28
  postal_code: zod.z.string().describe("Postal code of the contact").nullable().optional(),
29
29
  street_address: zod.z.string().describe("Street address of the contact").nullable().optional()
30
- }).describe("Response model for contact operations.");
30
+ }).passthrough().describe("Response model for contact operations.");
31
31
  const pandadocCreateOrUpdateContact = require_action.action("PANDADOC_CREATE_OR_UPDATE_CONTACT", {
32
32
  slug: "pandadoc-create-or-update-contact",
33
33
  name: "Create or Update Contact",