@keystrokehq/pandadoc 0.1.5 → 0.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/create-document-attachment.cjs +1 -0
- package/dist/actions/create-document-attachment.cjs.map +1 -1
- package/dist/actions/create-document-attachment.d.cts +3 -20
- package/dist/actions/create-document-attachment.d.cts.map +1 -1
- package/dist/actions/create-document-attachment.d.mts +3 -20
- package/dist/actions/create-document-attachment.d.mts.map +1 -1
- package/dist/actions/create-document-attachment.mjs +1 -0
- package/dist/actions/create-document-attachment.mjs.map +1 -1
- package/dist/actions/create-document-from-file.cjs +1 -0
- package/dist/actions/create-document-from-file.cjs.map +1 -1
- package/dist/actions/create-document-from-file.d.cts +3 -35
- package/dist/actions/create-document-from-file.d.cts.map +1 -1
- package/dist/actions/create-document-from-file.d.mts +3 -35
- package/dist/actions/create-document-from-file.d.mts.map +1 -1
- package/dist/actions/create-document-from-file.mjs +1 -0
- package/dist/actions/create-document-from-file.mjs.map +1 -1
- package/dist/actions/create-folder.cjs +1 -0
- package/dist/actions/create-folder.cjs.map +1 -1
- package/dist/actions/create-folder.d.cts +3 -16
- package/dist/actions/create-folder.d.cts.map +1 -1
- package/dist/actions/create-folder.d.mts +3 -16
- package/dist/actions/create-folder.d.mts.map +1 -1
- package/dist/actions/create-folder.mjs +1 -0
- package/dist/actions/create-folder.mjs.map +1 -1
- package/dist/actions/create-or-update-contact.cjs +1 -0
- package/dist/actions/create-or-update-contact.cjs.map +1 -1
- package/dist/actions/create-or-update-contact.d.cts +3 -25
- package/dist/actions/create-or-update-contact.d.cts.map +1 -1
- package/dist/actions/create-or-update-contact.d.mts +3 -25
- package/dist/actions/create-or-update-contact.d.mts.map +1 -1
- package/dist/actions/create-or-update-contact.mjs +1 -0
- package/dist/actions/create-or-update-contact.mjs.map +1 -1
- package/dist/actions/create-template.cjs +1 -0
- package/dist/actions/create-template.cjs.map +1 -1
- package/dist/actions/create-template.d.cts +3 -26
- package/dist/actions/create-template.d.cts.map +1 -1
- package/dist/actions/create-template.d.mts +3 -26
- package/dist/actions/create-template.d.mts.map +1 -1
- package/dist/actions/create-template.mjs +1 -0
- package/dist/actions/create-template.mjs.map +1 -1
- package/dist/actions/create-webhook.cjs +1 -0
- package/dist/actions/create-webhook.cjs.map +1 -1
- package/dist/actions/create-webhook.d.cts +3 -19
- package/dist/actions/create-webhook.d.cts.map +1 -1
- package/dist/actions/create-webhook.d.mts +3 -19
- package/dist/actions/create-webhook.d.mts.map +1 -1
- package/dist/actions/create-webhook.mjs +1 -0
- package/dist/actions/create-webhook.mjs.map +1 -1
- package/dist/actions/delete-contact.cjs +1 -0
- package/dist/actions/delete-contact.cjs.map +1 -1
- package/dist/actions/delete-contact.d.cts +3 -15
- package/dist/actions/delete-contact.d.cts.map +1 -1
- package/dist/actions/delete-contact.d.mts +3 -15
- package/dist/actions/delete-contact.d.mts.map +1 -1
- package/dist/actions/delete-contact.mjs +1 -0
- package/dist/actions/delete-contact.mjs.map +1 -1
- package/dist/actions/delete-template.cjs +1 -0
- package/dist/actions/delete-template.cjs.map +1 -1
- package/dist/actions/delete-template.d.cts +3 -15
- package/dist/actions/delete-template.d.cts.map +1 -1
- package/dist/actions/delete-template.d.mts +3 -15
- package/dist/actions/delete-template.d.mts.map +1 -1
- package/dist/actions/delete-template.mjs +1 -0
- package/dist/actions/delete-template.mjs.map +1 -1
- package/dist/actions/get-document-details.cjs +1 -0
- package/dist/actions/get-document-details.cjs.map +1 -1
- package/dist/actions/get-document-details.d.cts +3 -15
- package/dist/actions/get-document-details.d.cts.map +1 -1
- package/dist/actions/get-document-details.d.mts +3 -15
- package/dist/actions/get-document-details.d.mts.map +1 -1
- package/dist/actions/get-document-details.mjs +1 -0
- package/dist/actions/get-document-details.mjs.map +1 -1
- package/dist/actions/get-template-details.cjs +1 -0
- package/dist/actions/get-template-details.cjs.map +1 -1
- package/dist/actions/get-template-details.d.cts +3 -15
- package/dist/actions/get-template-details.d.cts.map +1 -1
- package/dist/actions/get-template-details.d.mts +3 -15
- package/dist/actions/get-template-details.d.mts.map +1 -1
- package/dist/actions/get-template-details.mjs +1 -0
- package/dist/actions/get-template-details.mjs.map +1 -1
- package/dist/actions/list-contacts.cjs +1 -0
- package/dist/actions/list-contacts.cjs.map +1 -1
- package/dist/actions/list-contacts.d.cts +3 -15
- package/dist/actions/list-contacts.d.cts.map +1 -1
- package/dist/actions/list-contacts.d.mts +3 -15
- package/dist/actions/list-contacts.d.mts.map +1 -1
- package/dist/actions/list-contacts.mjs +1 -0
- package/dist/actions/list-contacts.mjs.map +1 -1
- package/dist/actions/list-document-folders.cjs +1 -0
- package/dist/actions/list-document-folders.cjs.map +1 -1
- package/dist/actions/list-document-folders.d.cts +3 -17
- package/dist/actions/list-document-folders.d.cts.map +1 -1
- package/dist/actions/list-document-folders.d.mts +3 -17
- package/dist/actions/list-document-folders.d.mts.map +1 -1
- package/dist/actions/list-document-folders.mjs +1 -0
- package/dist/actions/list-document-folders.mjs.map +1 -1
- package/dist/actions/list-templates.cjs +1 -0
- package/dist/actions/list-templates.cjs.map +1 -1
- package/dist/actions/list-templates.d.cts +3 -23
- package/dist/actions/list-templates.d.cts.map +1 -1
- package/dist/actions/list-templates.d.mts +3 -23
- package/dist/actions/list-templates.d.mts.map +1 -1
- package/dist/actions/list-templates.mjs +1 -0
- package/dist/actions/list-templates.mjs.map +1 -1
- package/dist/actions/move-document-to-folder.cjs +1 -0
- package/dist/actions/move-document-to-folder.cjs.map +1 -1
- package/dist/actions/move-document-to-folder.d.cts +3 -16
- package/dist/actions/move-document-to-folder.d.cts.map +1 -1
- package/dist/actions/move-document-to-folder.d.mts +3 -16
- package/dist/actions/move-document-to-folder.d.mts.map +1 -1
- package/dist/actions/move-document-to-folder.mjs +1 -0
- package/dist/actions/move-document-to-folder.mjs.map +1 -1
- package/dist/app.cjs +2 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +4 -6
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +4 -6
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +0 -1
- package/dist/app.mjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/package.json +2 -2
package/dist/action.cjs.map
CHANGED
|
@@ -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<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output:
|
|
1
|
+
{"version":3,"file":"action.cjs","names":["pandadoc","executePandadocTool"],"sources":["../src/action.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { 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, TOutput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: TOutput;\n },\n): AppAction<TInput, TOutput, typeof pandadoc.credential> {\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":";;;;;AAOA,SAAgB,OACd,MACA,KAOwD;CACxD,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"}
|
package/dist/action.mjs.map
CHANGED
|
@@ -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<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output:
|
|
1
|
+
{"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { 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, TOutput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: TOutput;\n },\n): AppAction<TInput, TOutput, typeof pandadoc.credential> {\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":";;;;;AAOA,SAAgB,OACd,MACA,KAOwD;CACxD,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 +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.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":"
|
|
1
|
+
{"version":3,"file":"create-document-attachment.cjs","names":["z","action"],"sources":["../../src/actions/create-document-attachment.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { pandadoc } from \"../app\";\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: AppAction<\n typeof PandadocCreateDocumentAttachmentInput,\n typeof PandadocCreateDocumentAttachmentOutput,\n typeof pandadoc.credential\n> = 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":";;;;AAMA,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,mCAITC,eAAAA,OAAO,uCAAuC;CAChD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { pandadoc } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/create-document-attachment.d.ts
|
|
@@ -16,26 +18,7 @@ declare const PandadocCreateDocumentAttachmentOutput: z.ZodObject<{
|
|
|
16
18
|
file_name: z.ZodNullable<z.ZodString>;
|
|
17
19
|
created_date: z.ZodNullable<z.ZodString>;
|
|
18
20
|
}, z.core.$loose>;
|
|
19
|
-
declare const pandadocCreateDocumentAttachment:
|
|
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<"pandadoc", z.ZodObject<{
|
|
27
|
-
connectionId: z.ZodString;
|
|
28
|
-
entityId: z.ZodString;
|
|
29
|
-
instanceId: z.ZodString;
|
|
30
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
31
|
-
generic_api_key: z.ZodString;
|
|
32
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"pandadoc", z.ZodObject<{
|
|
33
|
-
connectionId: z.ZodString;
|
|
34
|
-
entityId: z.ZodString;
|
|
35
|
-
instanceId: z.ZodString;
|
|
36
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
37
|
-
generic_api_key: z.ZodString;
|
|
38
|
-
}, z.core.$strip>>]>;
|
|
21
|
+
declare const pandadocCreateDocumentAttachment: AppAction<typeof PandadocCreateDocumentAttachmentInput, typeof PandadocCreateDocumentAttachmentOutput, typeof pandadoc.credential>;
|
|
39
22
|
//#endregion
|
|
40
23
|
export { pandadocCreateDocumentAttachment };
|
|
41
24
|
//# 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":"
|
|
1
|
+
{"version":3,"file":"create-document-attachment.d.cts","names":[],"sources":["../../src/actions/create-document-attachment.ts"],"mappings":";;;;;cAMa,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;;;cAQrC,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;;;cAQtC,gCAAA,EAAkC,SAAA,QACtC,qCAAA,SACA,sCAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { pandadoc } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/create-document-attachment.d.ts
|
|
@@ -16,26 +18,7 @@ declare const PandadocCreateDocumentAttachmentOutput: z.ZodObject<{
|
|
|
16
18
|
file_name: z.ZodNullable<z.ZodString>;
|
|
17
19
|
created_date: z.ZodNullable<z.ZodString>;
|
|
18
20
|
}, z.core.$loose>;
|
|
19
|
-
declare const pandadocCreateDocumentAttachment:
|
|
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<"pandadoc", z.ZodObject<{
|
|
27
|
-
connectionId: z.ZodString;
|
|
28
|
-
entityId: z.ZodString;
|
|
29
|
-
instanceId: z.ZodString;
|
|
30
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
31
|
-
generic_api_key: z.ZodString;
|
|
32
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"pandadoc", z.ZodObject<{
|
|
33
|
-
connectionId: z.ZodString;
|
|
34
|
-
entityId: z.ZodString;
|
|
35
|
-
instanceId: z.ZodString;
|
|
36
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
37
|
-
generic_api_key: z.ZodString;
|
|
38
|
-
}, z.core.$strip>>]>;
|
|
21
|
+
declare const pandadocCreateDocumentAttachment: AppAction<typeof PandadocCreateDocumentAttachmentInput, typeof PandadocCreateDocumentAttachmentOutput, typeof pandadoc.credential>;
|
|
39
22
|
//#endregion
|
|
40
23
|
export { pandadocCreateDocumentAttachment };
|
|
41
24
|
//# 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":"
|
|
1
|
+
{"version":3,"file":"create-document-attachment.d.mts","names":[],"sources":["../../src/actions/create-document-attachment.ts"],"mappings":";;;;;cAMa,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;;;cAQrC,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;;;cAQtC,gCAAA,EAAkC,SAAA,QACtC,qCAAA,SACA,sCAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -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.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":"
|
|
1
|
+
{"version":3,"file":"create-document-attachment.mjs","names":[],"sources":["../../src/actions/create-document-attachment.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { pandadoc } from \"../app\";\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: AppAction<\n typeof PandadocCreateDocumentAttachmentInput,\n typeof PandadocCreateDocumentAttachmentOutput,\n typeof pandadoc.credential\n> = 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":";;;AAsBA,MAAa,mCAIT,OAAO,uCAAuC;CAChD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAxBmD,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,mDAiBH;CACP,QAjBoD,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,kDAWhB;AACV,CAAC"}
|
|
@@ -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.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":"
|
|
1
|
+
{"version":3,"file":"create-document-from-file.cjs","names":["z","action"],"sources":["../../src/actions/create-document-from-file.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { pandadoc } from \"../app\";\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: AppAction<\n typeof PandadocCreateDocumentFromFileInput,\n typeof PandadocCreateDocumentFromFileOutput,\n typeof pandadoc.credential\n> = 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":";;;;AAMA,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,iCAITC,eAAAA,OAAO,sCAAsC;CAC/C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { pandadoc } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/create-document-from-file.d.ts
|
|
@@ -33,41 +35,7 @@ declare const PandadocCreateDocumentFromFileOutput: z.ZodObject<{
|
|
|
33
35
|
date_modified: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
34
36
|
expiration_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
35
37
|
}, z.core.$loose>;
|
|
36
|
-
declare const pandadocCreateDocumentFromFile:
|
|
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<"pandadoc", z.ZodObject<{
|
|
59
|
-
connectionId: z.ZodString;
|
|
60
|
-
entityId: z.ZodString;
|
|
61
|
-
instanceId: z.ZodString;
|
|
62
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
63
|
-
generic_api_key: z.ZodString;
|
|
64
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"pandadoc", z.ZodObject<{
|
|
65
|
-
connectionId: z.ZodString;
|
|
66
|
-
entityId: z.ZodString;
|
|
67
|
-
instanceId: z.ZodString;
|
|
68
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
69
|
-
generic_api_key: z.ZodString;
|
|
70
|
-
}, z.core.$strip>>]>;
|
|
38
|
+
declare const pandadocCreateDocumentFromFile: AppAction<typeof PandadocCreateDocumentFromFileInput, typeof PandadocCreateDocumentFromFileOutput, typeof pandadoc.credential>;
|
|
71
39
|
//#endregion
|
|
72
40
|
export { pandadocCreateDocumentFromFile };
|
|
73
41
|
//# 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":"
|
|
1
|
+
{"version":3,"file":"create-document-from-file.d.cts","names":[],"sources":["../../src/actions/create-document-from-file.ts"],"mappings":";;;;;cAMa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;cAsBnC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;;;;cAWpC,8BAAA,EAAgC,SAAA,QACpC,mCAAA,SACA,oCAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { pandadoc } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/create-document-from-file.d.ts
|
|
@@ -33,41 +35,7 @@ declare const PandadocCreateDocumentFromFileOutput: z.ZodObject<{
|
|
|
33
35
|
date_modified: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
34
36
|
expiration_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
35
37
|
}, z.core.$loose>;
|
|
36
|
-
declare const pandadocCreateDocumentFromFile:
|
|
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<"pandadoc", z.ZodObject<{
|
|
59
|
-
connectionId: z.ZodString;
|
|
60
|
-
entityId: z.ZodString;
|
|
61
|
-
instanceId: z.ZodString;
|
|
62
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
63
|
-
generic_api_key: z.ZodString;
|
|
64
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"pandadoc", z.ZodObject<{
|
|
65
|
-
connectionId: z.ZodString;
|
|
66
|
-
entityId: z.ZodString;
|
|
67
|
-
instanceId: z.ZodString;
|
|
68
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
69
|
-
generic_api_key: z.ZodString;
|
|
70
|
-
}, z.core.$strip>>]>;
|
|
38
|
+
declare const pandadocCreateDocumentFromFile: AppAction<typeof PandadocCreateDocumentFromFileInput, typeof PandadocCreateDocumentFromFileOutput, typeof pandadoc.credential>;
|
|
71
39
|
//#endregion
|
|
72
40
|
export { pandadocCreateDocumentFromFile };
|
|
73
41
|
//# 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":"
|
|
1
|
+
{"version":3,"file":"create-document-from-file.d.mts","names":[],"sources":["../../src/actions/create-document-from-file.ts"],"mappings":";;;;;cAMa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;cAsBnC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;;;;cAWpC,8BAAA,EAAgC,SAAA,QACpC,mCAAA,SACA,oCAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -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.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":"
|
|
1
|
+
{"version":3,"file":"create-document-from-file.mjs","names":[],"sources":["../../src/actions/create-document-from-file.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { pandadoc } from \"../app\";\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: AppAction<\n typeof PandadocCreateDocumentFromFileInput,\n typeof PandadocCreateDocumentFromFileOutput,\n typeof pandadoc.credential\n> = 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":";;;AAuCA,MAAa,iCAIT,OAAO,sCAAsC;CAC/C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAzCiD,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,kDAoBH;CACP,QApBkD,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,uCAWhB;AACV,CAAC"}
|
|
@@ -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.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":"
|
|
1
|
+
{"version":3,"file":"create-folder.cjs","names":["z","action"],"sources":["../../src/actions/create-folder.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { pandadoc } from \"../app\";\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: AppAction<\n typeof PandadocCreateFolderInput,\n typeof PandadocCreateFolderOutput,\n typeof pandadoc.credential\n> = 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":";;;;AAMA,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,uBAITC,eAAAA,OAAO,0BAA0B;CACnC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { pandadoc } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/create-folder.d.ts
|
|
@@ -10,22 +12,7 @@ declare const PandadocCreateFolderOutput: z.ZodObject<{
|
|
|
10
12
|
uuid: z.ZodNullable<z.ZodString>;
|
|
11
13
|
date_created: z.ZodNullable<z.ZodString>;
|
|
12
14
|
}, z.core.$loose>;
|
|
13
|
-
declare const pandadocCreateFolder:
|
|
14
|
-
name: string;
|
|
15
|
-
parent_uuid?: string | undefined;
|
|
16
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"pandadoc", z.ZodObject<{
|
|
17
|
-
connectionId: z.ZodString;
|
|
18
|
-
entityId: z.ZodString;
|
|
19
|
-
instanceId: z.ZodString;
|
|
20
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
21
|
-
generic_api_key: z.ZodString;
|
|
22
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"pandadoc", z.ZodObject<{
|
|
23
|
-
connectionId: z.ZodString;
|
|
24
|
-
entityId: z.ZodString;
|
|
25
|
-
instanceId: z.ZodString;
|
|
26
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
27
|
-
generic_api_key: z.ZodString;
|
|
28
|
-
}, z.core.$strip>>]>;
|
|
15
|
+
declare const pandadocCreateFolder: AppAction<typeof PandadocCreateFolderInput, typeof PandadocCreateFolderOutput, typeof pandadoc.credential>;
|
|
29
16
|
//#endregion
|
|
30
17
|
export { pandadocCreateFolder };
|
|
31
18
|
//# sourceMappingURL=create-folder.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-folder.d.cts","names":[],"sources":["../../src/actions/create-folder.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-folder.d.cts","names":[],"sources":["../../src/actions/create-folder.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;cAIzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;cAM1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { pandadoc } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/create-folder.d.ts
|
|
@@ -10,22 +12,7 @@ declare const PandadocCreateFolderOutput: z.ZodObject<{
|
|
|
10
12
|
uuid: z.ZodNullable<z.ZodString>;
|
|
11
13
|
date_created: z.ZodNullable<z.ZodString>;
|
|
12
14
|
}, z.core.$loose>;
|
|
13
|
-
declare const pandadocCreateFolder:
|
|
14
|
-
name: string;
|
|
15
|
-
parent_uuid?: string | undefined;
|
|
16
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"pandadoc", z.ZodObject<{
|
|
17
|
-
connectionId: z.ZodString;
|
|
18
|
-
entityId: z.ZodString;
|
|
19
|
-
instanceId: z.ZodString;
|
|
20
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
21
|
-
generic_api_key: z.ZodString;
|
|
22
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"pandadoc", z.ZodObject<{
|
|
23
|
-
connectionId: z.ZodString;
|
|
24
|
-
entityId: z.ZodString;
|
|
25
|
-
instanceId: z.ZodString;
|
|
26
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
27
|
-
generic_api_key: z.ZodString;
|
|
28
|
-
}, z.core.$strip>>]>;
|
|
15
|
+
declare const pandadocCreateFolder: AppAction<typeof PandadocCreateFolderInput, typeof PandadocCreateFolderOutput, typeof pandadoc.credential>;
|
|
29
16
|
//#endregion
|
|
30
17
|
export { pandadocCreateFolder };
|
|
31
18
|
//# sourceMappingURL=create-folder.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-folder.d.mts","names":[],"sources":["../../src/actions/create-folder.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-folder.d.mts","names":[],"sources":["../../src/actions/create-folder.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;cAIzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;cAM1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -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.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":"
|
|
1
|
+
{"version":3,"file":"create-folder.mjs","names":[],"sources":["../../src/actions/create-folder.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { pandadoc } from \"../app\";\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: AppAction<\n typeof PandadocCreateFolderInput,\n typeof PandadocCreateFolderOutput,\n typeof pandadoc.credential\n> = 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":";;;AAgBA,MAAa,uBAIT,OAAO,0BAA0B;CACnC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlBuC,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,sCAeH;CACP,QAfwC,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,qCAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-or-update-contact.cjs","names":["z","action"],"sources":["../../src/actions/create-or-update-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PandadocCreateOrUpdateContactInput = z.object({\n city: z.string().describe(\"City of the contact\").optional(),\n email: z.string().describe(\"Email address of the contact. Required for both create and update operations.\"),\n phone: z.string().describe(\"Phone number of the contact\").optional(),\n state: z.string().describe(\"State of the contact\").optional(),\n company: z.string().describe(\"Company name of the contact\").optional(),\n country: z.string().describe(\"Country of the contact\").optional(),\n job_title: z.string().describe(\"Job title of the contact\").optional(),\n last_name: z.string().describe(\"Last name of the contact\").optional(),\n first_name: z.string().describe(\"First name of the contact\").optional(),\n postal_code: z.string().describe(\"Postal code of the contact\").optional(),\n street_address: z.string().describe(\"Street address of the contact\").optional(),\n}).describe(\"Request model for creating or updating a contact.\");\nexport const PandadocCreateOrUpdateContactOutput = z.object({\n id: z.string().describe(\"Unique identifier of the contact\").nullable(),\n city: z.string().describe(\"City of the contact\").nullable().optional(),\n email: z.string().describe(\"Email address of the contact\").nullable(),\n phone: z.string().describe(\"Phone number of the contact\").nullable().optional(),\n state: z.string().describe(\"State of the contact\").nullable().optional(),\n company: z.string().describe(\"Company name of the contact\").nullable().optional(),\n country: z.string().describe(\"Country of the contact\").nullable().optional(),\n job_title: z.string().describe(\"Job title of the contact\").nullable().optional(),\n last_name: z.string().describe(\"Last name of the contact\").nullable().optional(),\n first_name: z.string().describe(\"First name of the contact\").nullable().optional(),\n postal_code: z.string().describe(\"Postal code of the contact\").nullable().optional(),\n street_address: z.string().describe(\"Street address of the contact\").nullable().optional(),\n}).passthrough().describe(\"Response model for contact operations.\");\n\nexport const pandadocCreateOrUpdateContact = action(\"PANDADOC_CREATE_OR_UPDATE_CONTACT\", {\n slug: \"pandadoc-create-or-update-contact\",\n name: \"Create or Update Contact\",\n description: \"This tool creates a new contact or updates an existing one in PandaDoc based on the email address. If a contact with the provided email exists, it will be updated; otherwise, a new contact will be created.\",\n input: PandadocCreateOrUpdateContactInput,\n output: PandadocCreateOrUpdateContactOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-or-update-contact.cjs","names":["z","action"],"sources":["../../src/actions/create-or-update-contact.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { pandadoc } from \"../app\";\n\nexport const PandadocCreateOrUpdateContactInput = z.object({\n city: z.string().describe(\"City of the contact\").optional(),\n email: z.string().describe(\"Email address of the contact. Required for both create and update operations.\"),\n phone: z.string().describe(\"Phone number of the contact\").optional(),\n state: z.string().describe(\"State of the contact\").optional(),\n company: z.string().describe(\"Company name of the contact\").optional(),\n country: z.string().describe(\"Country of the contact\").optional(),\n job_title: z.string().describe(\"Job title of the contact\").optional(),\n last_name: z.string().describe(\"Last name of the contact\").optional(),\n first_name: z.string().describe(\"First name of the contact\").optional(),\n postal_code: z.string().describe(\"Postal code of the contact\").optional(),\n street_address: z.string().describe(\"Street address of the contact\").optional(),\n}).describe(\"Request model for creating or updating a contact.\");\nexport const PandadocCreateOrUpdateContactOutput = z.object({\n id: z.string().describe(\"Unique identifier of the contact\").nullable(),\n city: z.string().describe(\"City of the contact\").nullable().optional(),\n email: z.string().describe(\"Email address of the contact\").nullable(),\n phone: z.string().describe(\"Phone number of the contact\").nullable().optional(),\n state: z.string().describe(\"State of the contact\").nullable().optional(),\n company: z.string().describe(\"Company name of the contact\").nullable().optional(),\n country: z.string().describe(\"Country of the contact\").nullable().optional(),\n job_title: z.string().describe(\"Job title of the contact\").nullable().optional(),\n last_name: z.string().describe(\"Last name of the contact\").nullable().optional(),\n first_name: z.string().describe(\"First name of the contact\").nullable().optional(),\n postal_code: z.string().describe(\"Postal code of the contact\").nullable().optional(),\n street_address: z.string().describe(\"Street address of the contact\").nullable().optional(),\n}).passthrough().describe(\"Response model for contact operations.\");\n\nexport const pandadocCreateOrUpdateContact: AppAction<\n typeof PandadocCreateOrUpdateContactInput,\n typeof PandadocCreateOrUpdateContactOutput,\n typeof pandadoc.credential\n> = action(\"PANDADOC_CREATE_OR_UPDATE_CONTACT\", {\n slug: \"pandadoc-create-or-update-contact\",\n name: \"Create or Update Contact\",\n description: \"This tool creates a new contact or updates an existing one in PandaDoc based on the email address. If a contact with the provided email exists, it will be updated; otherwise, a new contact will be created.\",\n input: PandadocCreateOrUpdateContactInput,\n output: PandadocCreateOrUpdateContactOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CAC1D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E;CAC1G,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACnE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAC5D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACrE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CAChE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CACpE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CACpE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CACtE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACxE,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;AAChF,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACrE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACpE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAElE,MAAa,gCAITC,eAAAA,OAAO,qCAAqC;CAC9C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { pandadoc } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/create-or-update-contact.d.ts
|
|
@@ -28,31 +30,7 @@ declare const PandadocCreateOrUpdateContactOutput: z.ZodObject<{
|
|
|
28
30
|
postal_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29
31
|
street_address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
30
32
|
}, z.core.$loose>;
|
|
31
|
-
declare const pandadocCreateOrUpdateContact:
|
|
32
|
-
email: string;
|
|
33
|
-
city?: string | undefined;
|
|
34
|
-
phone?: string | undefined;
|
|
35
|
-
state?: string | undefined;
|
|
36
|
-
company?: string | undefined;
|
|
37
|
-
country?: string | undefined;
|
|
38
|
-
job_title?: string | undefined;
|
|
39
|
-
last_name?: string | undefined;
|
|
40
|
-
first_name?: string | undefined;
|
|
41
|
-
postal_code?: string | undefined;
|
|
42
|
-
street_address?: string | undefined;
|
|
43
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"pandadoc", z.ZodObject<{
|
|
44
|
-
connectionId: z.ZodString;
|
|
45
|
-
entityId: z.ZodString;
|
|
46
|
-
instanceId: z.ZodString;
|
|
47
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
48
|
-
generic_api_key: z.ZodString;
|
|
49
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"pandadoc", z.ZodObject<{
|
|
50
|
-
connectionId: z.ZodString;
|
|
51
|
-
entityId: z.ZodString;
|
|
52
|
-
instanceId: z.ZodString;
|
|
53
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
54
|
-
generic_api_key: z.ZodString;
|
|
55
|
-
}, z.core.$strip>>]>;
|
|
33
|
+
declare const pandadocCreateOrUpdateContact: AppAction<typeof PandadocCreateOrUpdateContactInput, typeof PandadocCreateOrUpdateContactOutput, typeof pandadoc.credential>;
|
|
56
34
|
//#endregion
|
|
57
35
|
export { pandadocCreateOrUpdateContact };
|
|
58
36
|
//# sourceMappingURL=create-or-update-contact.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-or-update-contact.d.cts","names":[],"sources":["../../src/actions/create-or-update-contact.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-or-update-contact.d.cts","names":[],"sources":["../../src/actions/create-or-update-contact.ts"],"mappings":";;;;;cAMa,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAalC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAenC,6BAAA,EAA+B,SAAA,QACnC,kCAAA,SACA,mCAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { pandadoc } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/create-or-update-contact.d.ts
|
|
@@ -28,31 +30,7 @@ declare const PandadocCreateOrUpdateContactOutput: z.ZodObject<{
|
|
|
28
30
|
postal_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29
31
|
street_address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
30
32
|
}, z.core.$loose>;
|
|
31
|
-
declare const pandadocCreateOrUpdateContact:
|
|
32
|
-
email: string;
|
|
33
|
-
city?: string | undefined;
|
|
34
|
-
phone?: string | undefined;
|
|
35
|
-
state?: string | undefined;
|
|
36
|
-
company?: string | undefined;
|
|
37
|
-
country?: string | undefined;
|
|
38
|
-
job_title?: string | undefined;
|
|
39
|
-
last_name?: string | undefined;
|
|
40
|
-
first_name?: string | undefined;
|
|
41
|
-
postal_code?: string | undefined;
|
|
42
|
-
street_address?: string | undefined;
|
|
43
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"pandadoc", z.ZodObject<{
|
|
44
|
-
connectionId: z.ZodString;
|
|
45
|
-
entityId: z.ZodString;
|
|
46
|
-
instanceId: z.ZodString;
|
|
47
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
48
|
-
generic_api_key: z.ZodString;
|
|
49
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"pandadoc", z.ZodObject<{
|
|
50
|
-
connectionId: z.ZodString;
|
|
51
|
-
entityId: z.ZodString;
|
|
52
|
-
instanceId: z.ZodString;
|
|
53
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
54
|
-
generic_api_key: z.ZodString;
|
|
55
|
-
}, z.core.$strip>>]>;
|
|
33
|
+
declare const pandadocCreateOrUpdateContact: AppAction<typeof PandadocCreateOrUpdateContactInput, typeof PandadocCreateOrUpdateContactOutput, typeof pandadoc.credential>;
|
|
56
34
|
//#endregion
|
|
57
35
|
export { pandadocCreateOrUpdateContact };
|
|
58
36
|
//# sourceMappingURL=create-or-update-contact.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-or-update-contact.d.mts","names":[],"sources":["../../src/actions/create-or-update-contact.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-or-update-contact.d.mts","names":[],"sources":["../../src/actions/create-or-update-contact.ts"],"mappings":";;;;;cAMa,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAalC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAenC,6BAAA,EAA+B,SAAA,QACnC,kCAAA,SACA,mCAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-or-update-contact.mjs","names":[],"sources":["../../src/actions/create-or-update-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PandadocCreateOrUpdateContactInput = z.object({\n city: z.string().describe(\"City of the contact\").optional(),\n email: z.string().describe(\"Email address of the contact. Required for both create and update operations.\"),\n phone: z.string().describe(\"Phone number of the contact\").optional(),\n state: z.string().describe(\"State of the contact\").optional(),\n company: z.string().describe(\"Company name of the contact\").optional(),\n country: z.string().describe(\"Country of the contact\").optional(),\n job_title: z.string().describe(\"Job title of the contact\").optional(),\n last_name: z.string().describe(\"Last name of the contact\").optional(),\n first_name: z.string().describe(\"First name of the contact\").optional(),\n postal_code: z.string().describe(\"Postal code of the contact\").optional(),\n street_address: z.string().describe(\"Street address of the contact\").optional(),\n}).describe(\"Request model for creating or updating a contact.\");\nexport const PandadocCreateOrUpdateContactOutput = z.object({\n id: z.string().describe(\"Unique identifier of the contact\").nullable(),\n city: z.string().describe(\"City of the contact\").nullable().optional(),\n email: z.string().describe(\"Email address of the contact\").nullable(),\n phone: z.string().describe(\"Phone number of the contact\").nullable().optional(),\n state: z.string().describe(\"State of the contact\").nullable().optional(),\n company: z.string().describe(\"Company name of the contact\").nullable().optional(),\n country: z.string().describe(\"Country of the contact\").nullable().optional(),\n job_title: z.string().describe(\"Job title of the contact\").nullable().optional(),\n last_name: z.string().describe(\"Last name of the contact\").nullable().optional(),\n first_name: z.string().describe(\"First name of the contact\").nullable().optional(),\n postal_code: z.string().describe(\"Postal code of the contact\").nullable().optional(),\n street_address: z.string().describe(\"Street address of the contact\").nullable().optional(),\n}).passthrough().describe(\"Response model for contact operations.\");\n\nexport const pandadocCreateOrUpdateContact = action(\"PANDADOC_CREATE_OR_UPDATE_CONTACT\", {\n slug: \"pandadoc-create-or-update-contact\",\n name: \"Create or Update Contact\",\n description: \"This tool creates a new contact or updates an existing one in PandaDoc based on the email address. If a contact with the provided email exists, it will be updated; otherwise, a new contact will be created.\",\n input: PandadocCreateOrUpdateContactInput,\n output: PandadocCreateOrUpdateContactOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-or-update-contact.mjs","names":[],"sources":["../../src/actions/create-or-update-contact.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { pandadoc } from \"../app\";\n\nexport const PandadocCreateOrUpdateContactInput = z.object({\n city: z.string().describe(\"City of the contact\").optional(),\n email: z.string().describe(\"Email address of the contact. Required for both create and update operations.\"),\n phone: z.string().describe(\"Phone number of the contact\").optional(),\n state: z.string().describe(\"State of the contact\").optional(),\n company: z.string().describe(\"Company name of the contact\").optional(),\n country: z.string().describe(\"Country of the contact\").optional(),\n job_title: z.string().describe(\"Job title of the contact\").optional(),\n last_name: z.string().describe(\"Last name of the contact\").optional(),\n first_name: z.string().describe(\"First name of the contact\").optional(),\n postal_code: z.string().describe(\"Postal code of the contact\").optional(),\n street_address: z.string().describe(\"Street address of the contact\").optional(),\n}).describe(\"Request model for creating or updating a contact.\");\nexport const PandadocCreateOrUpdateContactOutput = z.object({\n id: z.string().describe(\"Unique identifier of the contact\").nullable(),\n city: z.string().describe(\"City of the contact\").nullable().optional(),\n email: z.string().describe(\"Email address of the contact\").nullable(),\n phone: z.string().describe(\"Phone number of the contact\").nullable().optional(),\n state: z.string().describe(\"State of the contact\").nullable().optional(),\n company: z.string().describe(\"Company name of the contact\").nullable().optional(),\n country: z.string().describe(\"Country of the contact\").nullable().optional(),\n job_title: z.string().describe(\"Job title of the contact\").nullable().optional(),\n last_name: z.string().describe(\"Last name of the contact\").nullable().optional(),\n first_name: z.string().describe(\"First name of the contact\").nullable().optional(),\n postal_code: z.string().describe(\"Postal code of the contact\").nullable().optional(),\n street_address: z.string().describe(\"Street address of the contact\").nullable().optional(),\n}).passthrough().describe(\"Response model for contact operations.\");\n\nexport const pandadocCreateOrUpdateContact: AppAction<\n typeof PandadocCreateOrUpdateContactInput,\n typeof PandadocCreateOrUpdateContactOutput,\n typeof pandadoc.credential\n> = action(\"PANDADOC_CREATE_OR_UPDATE_CONTACT\", {\n slug: \"pandadoc-create-or-update-contact\",\n name: \"Create or Update Contact\",\n description: \"This tool creates a new contact or updates an existing one in PandaDoc based on the email address. If a contact with the provided email exists, it will be updated; otherwise, a new contact will be created.\",\n input: PandadocCreateOrUpdateContactInput,\n output: PandadocCreateOrUpdateContactOutput,\n});\n"],"mappings":";;;AAkCA,MAAa,gCAIT,OAAO,qCAAqC;CAC9C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OApCgD,EAAE,OAAO;EACzD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;EAC1D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E;EAC1G,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;EACnE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;EAC5D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;EACrE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;EAChE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;EACpE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;EACpE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;EACtE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;EACxE,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CAChF,CAAC,CAAC,CAAC,SAAS,mDAwBH;CACP,QAxBiD,EAAE,OAAO;EAC1D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;EACrE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;EACpE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnF,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAWhB;AACV,CAAC"}
|