@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
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-template.cjs","names":["z","action"],"sources":["../../src/actions/create-template.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PandadocCreateTemplateInput = 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(\"PDF file to use for template creation\").optional(),\n name: z.string().describe(\"Name of the template\"),\n tags: z.array(z.string()).describe(\"Optional tags to categorize the template\").optional(),\n content: z.object({\n title: z.string().describe(\"Title of the template content\"),\n blocks: z.array(z.record(z.string(), z.unknown())).describe(\"List of content blocks for the template\"),\n}).describe(\"Content model for template creation from scratch.\").optional(),\n description: z.string().describe(\"Optional description of the template\").optional(),\n}).describe(\"Request model for creating a template.\");\nexport const PandadocCreateTemplateOutput = z.object({\n id: z.string().describe(\"ID of the created template\").nullable(),\n name: z.string().describe(\"Name of the template\").nullable(),\n status: z.string().describe(\"Status of the template\").nullable(),\n version: z.string().describe(\"Version of the template\").nullable(),\n date_created: z.string().describe(\"Creation date of the template\").nullable(),\n date_modified: z.string().describe(\"Last modification date of the template\").nullable(),\n}).passthrough().describe(\"Response model for template creation.\");\n\nexport const pandadocCreateTemplate = action(\"PANDADOC_CREATE_TEMPLATE\", {\n slug: \"pandadoc-create-template\",\n name: \"Create Template\",\n description: \"This tool allows users to create a new template in PandaDoc from a PDF file or from scratch. It handles file upload validation, parameter checks, proper error handling, and authentication with the PandaDoc API. The template can be created either by uploading a PDF file or by providing a structured content object that defines the template layout and elements.\",\n input: PandadocCreateTemplateInput,\n output: PandadocCreateTemplateOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-template.cjs","names":["z","action"],"sources":["../../src/actions/create-template.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 PandadocCreateTemplateInput = 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(\"PDF file to use for template creation\").optional(),\n name: z.string().describe(\"Name of the template\"),\n tags: z.array(z.string()).describe(\"Optional tags to categorize the template\").optional(),\n content: z.object({\n title: z.string().describe(\"Title of the template content\"),\n blocks: z.array(z.record(z.string(), z.unknown())).describe(\"List of content blocks for the template\"),\n}).describe(\"Content model for template creation from scratch.\").optional(),\n description: z.string().describe(\"Optional description of the template\").optional(),\n}).describe(\"Request model for creating a template.\");\nexport const PandadocCreateTemplateOutput = z.object({\n id: z.string().describe(\"ID of the created template\").nullable(),\n name: z.string().describe(\"Name of the template\").nullable(),\n status: z.string().describe(\"Status of the template\").nullable(),\n version: z.string().describe(\"Version of the template\").nullable(),\n date_created: z.string().describe(\"Creation date of the template\").nullable(),\n date_modified: z.string().describe(\"Last modification date of the template\").nullable(),\n}).passthrough().describe(\"Response model for template creation.\");\n\nexport const pandadocCreateTemplate: AppAction<\n typeof PandadocCreateTemplateInput,\n typeof PandadocCreateTemplateOutput,\n typeof pandadoc.credential\n> = action(\"PANDADOC_CREATE_TEMPLATE\", {\n slug: \"pandadoc-create-template\",\n name: \"Create Template\",\n description: \"This tool allows users to create a new template in PandaDoc from a PDF file or from scratch. It handles file upload validation, parameter checks, proper error handling, and authentication with the PandaDoc API. The template can be created either by uploading a PDF file or by providing a structured content object that defines the template layout and elements.\",\n input: PandadocCreateTemplateInput,\n output: PandadocCreateTemplateOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,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,uCAAuC,CAAC,CAAC,SAAS;CAC5D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB;CAChD,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACxF,SAASA,IAAAA,EAAE,OAAO;EAClB,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;EAC1D,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,yCAAyC;CACvG,CAAC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CACxE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;AACpF,CAAC,CAAC,CAAC,SAAS,wCAAwC;AACpD,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,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,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CAC/D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CACjE,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CAC5E,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;AACxF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAAuC;AAEjE,MAAa,yBAITC,eAAAA,OAAO,4BAA4B;CACrC,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-template.d.ts
|
|
@@ -23,32 +25,7 @@ declare const PandadocCreateTemplateOutput: z.ZodObject<{
|
|
|
23
25
|
date_created: z.ZodNullable<z.ZodString>;
|
|
24
26
|
date_modified: z.ZodNullable<z.ZodString>;
|
|
25
27
|
}, z.core.$loose>;
|
|
26
|
-
declare const pandadocCreateTemplate:
|
|
27
|
-
name: string;
|
|
28
|
-
file?: {
|
|
29
|
-
name: string;
|
|
30
|
-
s3key: string;
|
|
31
|
-
mimetype: string;
|
|
32
|
-
} | undefined;
|
|
33
|
-
tags?: string[] | undefined;
|
|
34
|
-
content?: {
|
|
35
|
-
title: string;
|
|
36
|
-
blocks: Record<string, unknown>[];
|
|
37
|
-
} | undefined;
|
|
38
|
-
description?: string | undefined;
|
|
39
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"pandadoc", z.ZodObject<{
|
|
40
|
-
connectionId: z.ZodString;
|
|
41
|
-
entityId: z.ZodString;
|
|
42
|
-
instanceId: z.ZodString;
|
|
43
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
44
|
-
generic_api_key: z.ZodString;
|
|
45
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"pandadoc", z.ZodObject<{
|
|
46
|
-
connectionId: z.ZodString;
|
|
47
|
-
entityId: z.ZodString;
|
|
48
|
-
instanceId: z.ZodString;
|
|
49
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
50
|
-
generic_api_key: z.ZodString;
|
|
51
|
-
}, z.core.$strip>>]>;
|
|
28
|
+
declare const pandadocCreateTemplate: AppAction<typeof PandadocCreateTemplateInput, typeof PandadocCreateTemplateOutput, typeof pandadoc.credential>;
|
|
52
29
|
//#endregion
|
|
53
30
|
export { pandadocCreateTemplate };
|
|
54
31
|
//# sourceMappingURL=create-template.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-template.d.cts","names":[],"sources":["../../src/actions/create-template.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-template.d.cts","names":[],"sources":["../../src/actions/create-template.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAc3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;cAS5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,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-template.d.ts
|
|
@@ -23,32 +25,7 @@ declare const PandadocCreateTemplateOutput: z.ZodObject<{
|
|
|
23
25
|
date_created: z.ZodNullable<z.ZodString>;
|
|
24
26
|
date_modified: z.ZodNullable<z.ZodString>;
|
|
25
27
|
}, z.core.$loose>;
|
|
26
|
-
declare const pandadocCreateTemplate:
|
|
27
|
-
name: string;
|
|
28
|
-
file?: {
|
|
29
|
-
name: string;
|
|
30
|
-
s3key: string;
|
|
31
|
-
mimetype: string;
|
|
32
|
-
} | undefined;
|
|
33
|
-
tags?: string[] | undefined;
|
|
34
|
-
content?: {
|
|
35
|
-
title: string;
|
|
36
|
-
blocks: Record<string, unknown>[];
|
|
37
|
-
} | undefined;
|
|
38
|
-
description?: string | undefined;
|
|
39
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"pandadoc", z.ZodObject<{
|
|
40
|
-
connectionId: z.ZodString;
|
|
41
|
-
entityId: z.ZodString;
|
|
42
|
-
instanceId: z.ZodString;
|
|
43
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
44
|
-
generic_api_key: z.ZodString;
|
|
45
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"pandadoc", z.ZodObject<{
|
|
46
|
-
connectionId: z.ZodString;
|
|
47
|
-
entityId: z.ZodString;
|
|
48
|
-
instanceId: z.ZodString;
|
|
49
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
50
|
-
generic_api_key: z.ZodString;
|
|
51
|
-
}, z.core.$strip>>]>;
|
|
28
|
+
declare const pandadocCreateTemplate: AppAction<typeof PandadocCreateTemplateInput, typeof PandadocCreateTemplateOutput, typeof pandadoc.credential>;
|
|
52
29
|
//#endregion
|
|
53
30
|
export { pandadocCreateTemplate };
|
|
54
31
|
//# sourceMappingURL=create-template.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-template.d.mts","names":[],"sources":["../../src/actions/create-template.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-template.d.mts","names":[],"sources":["../../src/actions/create-template.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAc3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;cAS5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-template.mjs","names":[],"sources":["../../src/actions/create-template.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PandadocCreateTemplateInput = 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(\"PDF file to use for template creation\").optional(),\n name: z.string().describe(\"Name of the template\"),\n tags: z.array(z.string()).describe(\"Optional tags to categorize the template\").optional(),\n content: z.object({\n title: z.string().describe(\"Title of the template content\"),\n blocks: z.array(z.record(z.string(), z.unknown())).describe(\"List of content blocks for the template\"),\n}).describe(\"Content model for template creation from scratch.\").optional(),\n description: z.string().describe(\"Optional description of the template\").optional(),\n}).describe(\"Request model for creating a template.\");\nexport const PandadocCreateTemplateOutput = z.object({\n id: z.string().describe(\"ID of the created template\").nullable(),\n name: z.string().describe(\"Name of the template\").nullable(),\n status: z.string().describe(\"Status of the template\").nullable(),\n version: z.string().describe(\"Version of the template\").nullable(),\n date_created: z.string().describe(\"Creation date of the template\").nullable(),\n date_modified: z.string().describe(\"Last modification date of the template\").nullable(),\n}).passthrough().describe(\"Response model for template creation.\");\n\nexport const pandadocCreateTemplate = action(\"PANDADOC_CREATE_TEMPLATE\", {\n slug: \"pandadoc-create-template\",\n name: \"Create Template\",\n description: \"This tool allows users to create a new template in PandaDoc from a PDF file or from scratch. It handles file upload validation, parameter checks, proper error handling, and authentication with the PandaDoc API. The template can be created either by uploading a PDF file or by providing a structured content object that defines the template layout and elements.\",\n input: PandadocCreateTemplateInput,\n output: PandadocCreateTemplateOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-template.mjs","names":[],"sources":["../../src/actions/create-template.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 PandadocCreateTemplateInput = 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(\"PDF file to use for template creation\").optional(),\n name: z.string().describe(\"Name of the template\"),\n tags: z.array(z.string()).describe(\"Optional tags to categorize the template\").optional(),\n content: z.object({\n title: z.string().describe(\"Title of the template content\"),\n blocks: z.array(z.record(z.string(), z.unknown())).describe(\"List of content blocks for the template\"),\n}).describe(\"Content model for template creation from scratch.\").optional(),\n description: z.string().describe(\"Optional description of the template\").optional(),\n}).describe(\"Request model for creating a template.\");\nexport const PandadocCreateTemplateOutput = z.object({\n id: z.string().describe(\"ID of the created template\").nullable(),\n name: z.string().describe(\"Name of the template\").nullable(),\n status: z.string().describe(\"Status of the template\").nullable(),\n version: z.string().describe(\"Version of the template\").nullable(),\n date_created: z.string().describe(\"Creation date of the template\").nullable(),\n date_modified: z.string().describe(\"Last modification date of the template\").nullable(),\n}).passthrough().describe(\"Response model for template creation.\");\n\nexport const pandadocCreateTemplate: AppAction<\n typeof PandadocCreateTemplateInput,\n typeof PandadocCreateTemplateOutput,\n typeof pandadoc.credential\n> = action(\"PANDADOC_CREATE_TEMPLATE\", {\n slug: \"pandadoc-create-template\",\n name: \"Create Template\",\n description: \"This tool allows users to create a new template in PandaDoc from a PDF file or from scratch. It handles file upload validation, parameter checks, proper error handling, and authentication with the PandaDoc API. The template can be created either by uploading a PDF file or by providing a structured content object that defines the template layout and elements.\",\n input: PandadocCreateTemplateInput,\n output: PandadocCreateTemplateOutput,\n});\n"],"mappings":";;;AA6BA,MAAa,yBAIT,OAAO,4BAA4B;CACrC,MAAM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,YAAY,CAAC,CAAC,SAAS,uCAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-webhook.cjs","names":["z","action"],"sources":["../../src/actions/create-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PandadocCreateWebhookInput = z.object({\n url: z.string().describe(\"The endpoint URL where webhook notifications will be sent\"),\n name: z.string().describe(\"A descriptive name for the webhook subscription\"),\n active: z.boolean().default(true).describe(\"Whether the webhook subscription should be active\").optional(),\n payload: z.array(z.string()).describe(\"Additional data to include in webhook payload\").optional(),\n triggers: z.array(z.string()).describe(\"List of events that will trigger the webhook\"),\n}).describe(\"Request model for creating a webhook subscription.\");\nexport const PandadocCreateWebhookOutput = z.object({\n url: z.string().describe(\"URL where webhook notifications will be sent\").nullable(),\n name: z.string().describe(\"Name of the webhook\").nullable(),\n uuid: z.string().describe(\"Unique identifier of the created webhook\").nullable(),\n status: z.string().describe(\"Status of the webhook\").nullable(),\n shared_key: z.string().describe(\"Shared key for webhook verification\").nullable(),\n}).passthrough().describe(\"Response model for webhook creation.\");\n\nexport const pandadocCreateWebhook = action(\"PANDADOC_CREATE_WEBHOOK\", {\n slug: \"pandadoc-create-webhook\",\n name: \"Create PandaDoc Webhook\",\n description: \"Creates a new webhook subscription in PandaDoc to receive notifications about specific events. This action allows you to set up webhook notifications for various document-related events such as status changes, recipient completions, and updates. The webhook will send HTTP notifications to your specified endpoint when the configured events occur.\",\n input: PandadocCreateWebhookInput,\n output: PandadocCreateWebhookOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-webhook.cjs","names":["z","action"],"sources":["../../src/actions/create-webhook.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 PandadocCreateWebhookInput = z.object({\n url: z.string().describe(\"The endpoint URL where webhook notifications will be sent\"),\n name: z.string().describe(\"A descriptive name for the webhook subscription\"),\n active: z.boolean().default(true).describe(\"Whether the webhook subscription should be active\").optional(),\n payload: z.array(z.string()).describe(\"Additional data to include in webhook payload\").optional(),\n triggers: z.array(z.string()).describe(\"List of events that will trigger the webhook\"),\n}).describe(\"Request model for creating a webhook subscription.\");\nexport const PandadocCreateWebhookOutput = z.object({\n url: z.string().describe(\"URL where webhook notifications will be sent\").nullable(),\n name: z.string().describe(\"Name of the webhook\").nullable(),\n uuid: z.string().describe(\"Unique identifier of the created webhook\").nullable(),\n status: z.string().describe(\"Status of the webhook\").nullable(),\n shared_key: z.string().describe(\"Shared key for webhook verification\").nullable(),\n}).passthrough().describe(\"Response model for webhook creation.\");\n\nexport const pandadocCreateWebhook: AppAction<\n typeof PandadocCreateWebhookInput,\n typeof PandadocCreateWebhookOutput,\n typeof pandadoc.credential\n> = action(\"PANDADOC_CREATE_WEBHOOK\", {\n slug: \"pandadoc-create-webhook\",\n name: \"Create PandaDoc Webhook\",\n description: \"Creates a new webhook subscription in PandaDoc to receive notifications about specific events. This action allows you to set up webhook notifications for various document-related events such as status changes, recipient completions, and updates. The webhook will send HTTP notifications to your specified endpoint when the configured events occur.\",\n input: PandadocCreateWebhookInput,\n output: PandadocCreateWebhookOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;CACpF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;CAC3E,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CACzG,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CAChG,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,8CAA8C;AACvF,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CAClF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CAC1D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CAC/E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CAC9D,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;AAClF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAAsC;AAEhE,MAAa,wBAITC,eAAAA,OAAO,2BAA2B;CACpC,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-webhook.d.ts
|
|
@@ -15,25 +17,7 @@ declare const PandadocCreateWebhookOutput: z.ZodObject<{
|
|
|
15
17
|
status: z.ZodNullable<z.ZodString>;
|
|
16
18
|
shared_key: z.ZodNullable<z.ZodString>;
|
|
17
19
|
}, z.core.$loose>;
|
|
18
|
-
declare const pandadocCreateWebhook:
|
|
19
|
-
url: string;
|
|
20
|
-
name: string;
|
|
21
|
-
triggers: string[];
|
|
22
|
-
active?: boolean | undefined;
|
|
23
|
-
payload?: string[] | undefined;
|
|
24
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"pandadoc", z.ZodObject<{
|
|
25
|
-
connectionId: z.ZodString;
|
|
26
|
-
entityId: z.ZodString;
|
|
27
|
-
instanceId: z.ZodString;
|
|
28
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
29
|
-
generic_api_key: z.ZodString;
|
|
30
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"pandadoc", z.ZodObject<{
|
|
31
|
-
connectionId: z.ZodString;
|
|
32
|
-
entityId: z.ZodString;
|
|
33
|
-
instanceId: z.ZodString;
|
|
34
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
35
|
-
generic_api_key: z.ZodString;
|
|
36
|
-
}, z.core.$strip>>]>;
|
|
20
|
+
declare const pandadocCreateWebhook: AppAction<typeof PandadocCreateWebhookInput, typeof PandadocCreateWebhookOutput, typeof pandadoc.credential>;
|
|
37
21
|
//#endregion
|
|
38
22
|
export { pandadocCreateWebhook };
|
|
39
23
|
//# sourceMappingURL=create-webhook.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-webhook.d.cts","names":[],"sources":["../../src/actions/create-webhook.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-webhook.d.cts","names":[],"sources":["../../src/actions/create-webhook.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;cAO1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;cAQ3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,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-webhook.d.ts
|
|
@@ -15,25 +17,7 @@ declare const PandadocCreateWebhookOutput: z.ZodObject<{
|
|
|
15
17
|
status: z.ZodNullable<z.ZodString>;
|
|
16
18
|
shared_key: z.ZodNullable<z.ZodString>;
|
|
17
19
|
}, z.core.$loose>;
|
|
18
|
-
declare const pandadocCreateWebhook:
|
|
19
|
-
url: string;
|
|
20
|
-
name: string;
|
|
21
|
-
triggers: string[];
|
|
22
|
-
active?: boolean | undefined;
|
|
23
|
-
payload?: string[] | undefined;
|
|
24
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"pandadoc", z.ZodObject<{
|
|
25
|
-
connectionId: z.ZodString;
|
|
26
|
-
entityId: z.ZodString;
|
|
27
|
-
instanceId: z.ZodString;
|
|
28
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
29
|
-
generic_api_key: z.ZodString;
|
|
30
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"pandadoc", z.ZodObject<{
|
|
31
|
-
connectionId: z.ZodString;
|
|
32
|
-
entityId: z.ZodString;
|
|
33
|
-
instanceId: z.ZodString;
|
|
34
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
35
|
-
generic_api_key: z.ZodString;
|
|
36
|
-
}, z.core.$strip>>]>;
|
|
20
|
+
declare const pandadocCreateWebhook: AppAction<typeof PandadocCreateWebhookInput, typeof PandadocCreateWebhookOutput, typeof pandadoc.credential>;
|
|
37
21
|
//#endregion
|
|
38
22
|
export { pandadocCreateWebhook };
|
|
39
23
|
//# sourceMappingURL=create-webhook.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-webhook.d.mts","names":[],"sources":["../../src/actions/create-webhook.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-webhook.d.mts","names":[],"sources":["../../src/actions/create-webhook.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;cAO1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;cAQ3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-webhook.mjs","names":[],"sources":["../../src/actions/create-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PandadocCreateWebhookInput = z.object({\n url: z.string().describe(\"The endpoint URL where webhook notifications will be sent\"),\n name: z.string().describe(\"A descriptive name for the webhook subscription\"),\n active: z.boolean().default(true).describe(\"Whether the webhook subscription should be active\").optional(),\n payload: z.array(z.string()).describe(\"Additional data to include in webhook payload\").optional(),\n triggers: z.array(z.string()).describe(\"List of events that will trigger the webhook\"),\n}).describe(\"Request model for creating a webhook subscription.\");\nexport const PandadocCreateWebhookOutput = z.object({\n url: z.string().describe(\"URL where webhook notifications will be sent\").nullable(),\n name: z.string().describe(\"Name of the webhook\").nullable(),\n uuid: z.string().describe(\"Unique identifier of the created webhook\").nullable(),\n status: z.string().describe(\"Status of the webhook\").nullable(),\n shared_key: z.string().describe(\"Shared key for webhook verification\").nullable(),\n}).passthrough().describe(\"Response model for webhook creation.\");\n\nexport const pandadocCreateWebhook = action(\"PANDADOC_CREATE_WEBHOOK\", {\n slug: \"pandadoc-create-webhook\",\n name: \"Create PandaDoc Webhook\",\n description: \"Creates a new webhook subscription in PandaDoc to receive notifications about specific events. This action allows you to set up webhook notifications for various document-related events such as status changes, recipient completions, and updates. The webhook will send HTTP notifications to your specified endpoint when the configured events occur.\",\n input: PandadocCreateWebhookInput,\n output: PandadocCreateWebhookOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-webhook.mjs","names":[],"sources":["../../src/actions/create-webhook.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 PandadocCreateWebhookInput = z.object({\n url: z.string().describe(\"The endpoint URL where webhook notifications will be sent\"),\n name: z.string().describe(\"A descriptive name for the webhook subscription\"),\n active: z.boolean().default(true).describe(\"Whether the webhook subscription should be active\").optional(),\n payload: z.array(z.string()).describe(\"Additional data to include in webhook payload\").optional(),\n triggers: z.array(z.string()).describe(\"List of events that will trigger the webhook\"),\n}).describe(\"Request model for creating a webhook subscription.\");\nexport const PandadocCreateWebhookOutput = z.object({\n url: z.string().describe(\"URL where webhook notifications will be sent\").nullable(),\n name: z.string().describe(\"Name of the webhook\").nullable(),\n uuid: z.string().describe(\"Unique identifier of the created webhook\").nullable(),\n status: z.string().describe(\"Status of the webhook\").nullable(),\n shared_key: z.string().describe(\"Shared key for webhook verification\").nullable(),\n}).passthrough().describe(\"Response model for webhook creation.\");\n\nexport const pandadocCreateWebhook: AppAction<\n typeof PandadocCreateWebhookInput,\n typeof PandadocCreateWebhookOutput,\n typeof pandadoc.credential\n> = action(\"PANDADOC_CREATE_WEBHOOK\", {\n slug: \"pandadoc-create-webhook\",\n name: \"Create PandaDoc Webhook\",\n description: \"Creates a new webhook subscription in PandaDoc to receive notifications about specific events. This action allows you to set up webhook notifications for various document-related events such as status changes, recipient completions, and updates. The webhook will send HTTP notifications to your specified endpoint when the configured events occur.\",\n input: PandadocCreateWebhookInput,\n output: PandadocCreateWebhookOutput,\n});\n"],"mappings":";;;AAqBA,MAAa,wBAIT,OAAO,2BAA2B;CACpC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAvBwC,EAAE,OAAO;EACjD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;EACpF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;EAC3E,QAAQ,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;EACzG,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;EAChG,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,8CAA8C;CACvF,CAAC,CAAC,CAAC,SAAS,oDAiBH;CACP,QAjByC,EAAE,OAAO;EAClD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;EAClF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;EAC1D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;EAC/E,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;EAC9D,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAClF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-contact.cjs","names":["z","action"],"sources":["../../src/actions/delete-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PandadocDeleteContactInput = z.object({\n contact_id: z.string().describe(\"The unique identifier of the contact to delete.\"),\n});\nexport const PandadocDeleteContactOutput = z.object({\n success: z.boolean().default(true).describe(\"Indicates if the contact was successfully deleted.\").nullable().optional(),\n}).passthrough();\n\nexport const pandadocDeleteContact = action(\"PANDADOC_DELETE_CONTACT\", {\n slug: \"pandadoc-delete-contact\",\n name: \"Delete Contact\",\n description: \"This tool allows you to delete a contact from your PandaDoc account. The action is permanent and cannot be undone.\",\n input: PandadocDeleteContactInput,\n output: PandadocDeleteContactOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"delete-contact.cjs","names":["z","action"],"sources":["../../src/actions/delete-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 PandadocDeleteContactInput = z.object({\n contact_id: z.string().describe(\"The unique identifier of the contact to delete.\"),\n});\nexport const PandadocDeleteContactOutput = z.object({\n success: z.boolean().default(true).describe(\"Indicates if the contact was successfully deleted.\").nullable().optional(),\n}).passthrough();\n\nexport const pandadocDeleteContact: AppAction<\n typeof PandadocDeleteContactInput,\n typeof PandadocDeleteContactOutput,\n typeof pandadoc.credential\n> = action(\"PANDADOC_DELETE_CONTACT\", {\n slug: \"pandadoc-delete-contact\",\n name: \"Delete Contact\",\n description: \"This tool allows you to delete a contact from your PandaDoc account. The action is permanent and cannot be undone.\",\n input: PandadocDeleteContactInput,\n output: PandadocDeleteContactOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,EACnF,CAAC;AACD,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,EAClD,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACxH,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,wBAITC,eAAAA,OAAO,2BAA2B;CACpC,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/delete-contact.d.ts
|
|
@@ -7,21 +9,7 @@ declare const PandadocDeleteContactInput: z.ZodObject<{
|
|
|
7
9
|
declare const PandadocDeleteContactOutput: z.ZodObject<{
|
|
8
10
|
success: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
|
|
9
11
|
}, z.core.$loose>;
|
|
10
|
-
declare const pandadocDeleteContact:
|
|
11
|
-
contact_id: string;
|
|
12
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"pandadoc", z.ZodObject<{
|
|
13
|
-
connectionId: z.ZodString;
|
|
14
|
-
entityId: z.ZodString;
|
|
15
|
-
instanceId: z.ZodString;
|
|
16
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
17
|
-
generic_api_key: z.ZodString;
|
|
18
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"pandadoc", z.ZodObject<{
|
|
19
|
-
connectionId: z.ZodString;
|
|
20
|
-
entityId: z.ZodString;
|
|
21
|
-
instanceId: z.ZodString;
|
|
22
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
23
|
-
generic_api_key: z.ZodString;
|
|
24
|
-
}, z.core.$strip>>]>;
|
|
12
|
+
declare const pandadocDeleteContact: AppAction<typeof PandadocDeleteContactInput, typeof PandadocDeleteContactOutput, typeof pandadoc.credential>;
|
|
25
13
|
//#endregion
|
|
26
14
|
export { pandadocDeleteContact };
|
|
27
15
|
//# sourceMappingURL=delete-contact.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-contact.d.cts","names":[],"sources":["../../src/actions/delete-contact.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"delete-contact.d.cts","names":[],"sources":["../../src/actions/delete-contact.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;cAG1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;cAI3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,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/delete-contact.d.ts
|
|
@@ -7,21 +9,7 @@ declare const PandadocDeleteContactInput: z.ZodObject<{
|
|
|
7
9
|
declare const PandadocDeleteContactOutput: z.ZodObject<{
|
|
8
10
|
success: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
|
|
9
11
|
}, z.core.$loose>;
|
|
10
|
-
declare const pandadocDeleteContact:
|
|
11
|
-
contact_id: string;
|
|
12
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"pandadoc", z.ZodObject<{
|
|
13
|
-
connectionId: z.ZodString;
|
|
14
|
-
entityId: z.ZodString;
|
|
15
|
-
instanceId: z.ZodString;
|
|
16
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
17
|
-
generic_api_key: z.ZodString;
|
|
18
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"pandadoc", z.ZodObject<{
|
|
19
|
-
connectionId: z.ZodString;
|
|
20
|
-
entityId: z.ZodString;
|
|
21
|
-
instanceId: z.ZodString;
|
|
22
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
23
|
-
generic_api_key: z.ZodString;
|
|
24
|
-
}, z.core.$strip>>]>;
|
|
12
|
+
declare const pandadocDeleteContact: AppAction<typeof PandadocDeleteContactInput, typeof PandadocDeleteContactOutput, typeof pandadoc.credential>;
|
|
25
13
|
//#endregion
|
|
26
14
|
export { pandadocDeleteContact };
|
|
27
15
|
//# sourceMappingURL=delete-contact.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-contact.d.mts","names":[],"sources":["../../src/actions/delete-contact.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"delete-contact.d.mts","names":[],"sources":["../../src/actions/delete-contact.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;cAG1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;cAI3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-contact.mjs","names":[],"sources":["../../src/actions/delete-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PandadocDeleteContactInput = z.object({\n contact_id: z.string().describe(\"The unique identifier of the contact to delete.\"),\n});\nexport const PandadocDeleteContactOutput = z.object({\n success: z.boolean().default(true).describe(\"Indicates if the contact was successfully deleted.\").nullable().optional(),\n}).passthrough();\n\nexport const pandadocDeleteContact = action(\"PANDADOC_DELETE_CONTACT\", {\n slug: \"pandadoc-delete-contact\",\n name: \"Delete Contact\",\n description: \"This tool allows you to delete a contact from your PandaDoc account. The action is permanent and cannot be undone.\",\n input: PandadocDeleteContactInput,\n output: PandadocDeleteContactOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"delete-contact.mjs","names":[],"sources":["../../src/actions/delete-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 PandadocDeleteContactInput = z.object({\n contact_id: z.string().describe(\"The unique identifier of the contact to delete.\"),\n});\nexport const PandadocDeleteContactOutput = z.object({\n success: z.boolean().default(true).describe(\"Indicates if the contact was successfully deleted.\").nullable().optional(),\n}).passthrough();\n\nexport const pandadocDeleteContact: AppAction<\n typeof PandadocDeleteContactInput,\n typeof PandadocDeleteContactOutput,\n typeof pandadoc.credential\n> = action(\"PANDADOC_DELETE_CONTACT\", {\n slug: \"pandadoc-delete-contact\",\n name: \"Delete Contact\",\n description: \"This tool allows you to delete a contact from your PandaDoc account. The action is permanent and cannot be undone.\",\n input: PandadocDeleteContactInput,\n output: PandadocDeleteContactOutput,\n});\n"],"mappings":";;;AAaA,MAAa,wBAIT,OAAO,2BAA2B;CACpC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAfwC,EAAE,OAAO,EACjD,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,EACnF,CAaS;CACP,QAbyC,EAAE,OAAO,EAClD,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACxH,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-template.cjs","names":["z","action"],"sources":["../../src/actions/delete-template.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PandadocDeleteTemplateInput = z.object({\n template_id: z.string().describe(\"The unique identifier of the template to delete\"),\n});\nexport const PandadocDeleteTemplateOutput = z.object({\n status: z.string().describe(\"The status of the delete operation\").nullable(),\n message: z.string().describe(\"A message indicating the result of the delete operation\").nullable(),\n}).passthrough();\n\nexport const pandadocDeleteTemplate = action(\"PANDADOC_DELETE_TEMPLATE\", {\n slug: \"pandadoc-delete-template\",\n name: \"Delete Template\",\n description: \"This tool deletes a specific template from PandaDoc. Once a template is deleted, it cannot be recovered. This action is permanent and should be used with caution.\",\n input: PandadocDeleteTemplateInput,\n output: PandadocDeleteTemplateOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"delete-template.cjs","names":["z","action"],"sources":["../../src/actions/delete-template.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 PandadocDeleteTemplateInput = z.object({\n template_id: z.string().describe(\"The unique identifier of the template to delete\"),\n});\nexport const PandadocDeleteTemplateOutput = z.object({\n status: z.string().describe(\"The status of the delete operation\").nullable(),\n message: z.string().describe(\"A message indicating the result of the delete operation\").nullable(),\n}).passthrough();\n\nexport const pandadocDeleteTemplate: AppAction<\n typeof PandadocDeleteTemplateInput,\n typeof PandadocDeleteTemplateOutput,\n typeof pandadoc.credential\n> = action(\"PANDADOC_DELETE_TEMPLATE\", {\n slug: \"pandadoc-delete-template\",\n name: \"Delete Template\",\n description: \"This tool deletes a specific template from PandaDoc. Once a template is deleted, it cannot be recovered. This action is permanent and should be used with caution.\",\n input: PandadocDeleteTemplateInput,\n output: PandadocDeleteTemplateOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,EAClD,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,EACpF,CAAC;AACD,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC3E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;AACnG,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,yBAITC,eAAAA,OAAO,4BAA4B;CACrC,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/delete-template.d.ts
|
|
@@ -8,21 +10,7 @@ declare const PandadocDeleteTemplateOutput: z.ZodObject<{
|
|
|
8
10
|
status: z.ZodNullable<z.ZodString>;
|
|
9
11
|
message: z.ZodNullable<z.ZodString>;
|
|
10
12
|
}, z.core.$loose>;
|
|
11
|
-
declare const pandadocDeleteTemplate:
|
|
12
|
-
template_id: string;
|
|
13
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"pandadoc", z.ZodObject<{
|
|
14
|
-
connectionId: z.ZodString;
|
|
15
|
-
entityId: z.ZodString;
|
|
16
|
-
instanceId: z.ZodString;
|
|
17
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
18
|
-
generic_api_key: z.ZodString;
|
|
19
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"pandadoc", z.ZodObject<{
|
|
20
|
-
connectionId: z.ZodString;
|
|
21
|
-
entityId: z.ZodString;
|
|
22
|
-
instanceId: z.ZodString;
|
|
23
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
24
|
-
generic_api_key: z.ZodString;
|
|
25
|
-
}, z.core.$strip>>]>;
|
|
13
|
+
declare const pandadocDeleteTemplate: AppAction<typeof PandadocDeleteTemplateInput, typeof PandadocDeleteTemplateOutput, typeof pandadoc.credential>;
|
|
26
14
|
//#endregion
|
|
27
15
|
export { pandadocDeleteTemplate };
|
|
28
16
|
//# sourceMappingURL=delete-template.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-template.d.cts","names":[],"sources":["../../src/actions/delete-template.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"delete-template.d.cts","names":[],"sources":["../../src/actions/delete-template.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;cAG3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;cAK5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,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/delete-template.d.ts
|
|
@@ -8,21 +10,7 @@ declare const PandadocDeleteTemplateOutput: z.ZodObject<{
|
|
|
8
10
|
status: z.ZodNullable<z.ZodString>;
|
|
9
11
|
message: z.ZodNullable<z.ZodString>;
|
|
10
12
|
}, z.core.$loose>;
|
|
11
|
-
declare const pandadocDeleteTemplate:
|
|
12
|
-
template_id: string;
|
|
13
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"pandadoc", z.ZodObject<{
|
|
14
|
-
connectionId: z.ZodString;
|
|
15
|
-
entityId: z.ZodString;
|
|
16
|
-
instanceId: z.ZodString;
|
|
17
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
18
|
-
generic_api_key: z.ZodString;
|
|
19
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"pandadoc", z.ZodObject<{
|
|
20
|
-
connectionId: z.ZodString;
|
|
21
|
-
entityId: z.ZodString;
|
|
22
|
-
instanceId: z.ZodString;
|
|
23
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
24
|
-
generic_api_key: z.ZodString;
|
|
25
|
-
}, z.core.$strip>>]>;
|
|
13
|
+
declare const pandadocDeleteTemplate: AppAction<typeof PandadocDeleteTemplateInput, typeof PandadocDeleteTemplateOutput, typeof pandadoc.credential>;
|
|
26
14
|
//#endregion
|
|
27
15
|
export { pandadocDeleteTemplate };
|
|
28
16
|
//# sourceMappingURL=delete-template.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-template.d.mts","names":[],"sources":["../../src/actions/delete-template.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"delete-template.d.mts","names":[],"sources":["../../src/actions/delete-template.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;cAG3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;cAK5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-template.mjs","names":[],"sources":["../../src/actions/delete-template.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PandadocDeleteTemplateInput = z.object({\n template_id: z.string().describe(\"The unique identifier of the template to delete\"),\n});\nexport const PandadocDeleteTemplateOutput = z.object({\n status: z.string().describe(\"The status of the delete operation\").nullable(),\n message: z.string().describe(\"A message indicating the result of the delete operation\").nullable(),\n}).passthrough();\n\nexport const pandadocDeleteTemplate = action(\"PANDADOC_DELETE_TEMPLATE\", {\n slug: \"pandadoc-delete-template\",\n name: \"Delete Template\",\n description: \"This tool deletes a specific template from PandaDoc. Once a template is deleted, it cannot be recovered. This action is permanent and should be used with caution.\",\n input: PandadocDeleteTemplateInput,\n output: PandadocDeleteTemplateOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"delete-template.mjs","names":[],"sources":["../../src/actions/delete-template.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 PandadocDeleteTemplateInput = z.object({\n template_id: z.string().describe(\"The unique identifier of the template to delete\"),\n});\nexport const PandadocDeleteTemplateOutput = z.object({\n status: z.string().describe(\"The status of the delete operation\").nullable(),\n message: z.string().describe(\"A message indicating the result of the delete operation\").nullable(),\n}).passthrough();\n\nexport const pandadocDeleteTemplate: AppAction<\n typeof PandadocDeleteTemplateInput,\n typeof PandadocDeleteTemplateOutput,\n typeof pandadoc.credential\n> = action(\"PANDADOC_DELETE_TEMPLATE\", {\n slug: \"pandadoc-delete-template\",\n name: \"Delete Template\",\n description: \"This tool deletes a specific template from PandaDoc. Once a template is deleted, it cannot be recovered. This action is permanent and should be used with caution.\",\n input: PandadocDeleteTemplateInput,\n output: PandadocDeleteTemplateOutput,\n});\n"],"mappings":";;;AAcA,MAAa,yBAIT,OAAO,4BAA4B;CACrC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhByC,EAAE,OAAO,EAClD,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,EACpF,CAcS;CACP,QAd0C,EAAE,OAAO;EACnD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;EAC3E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CACnG,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-document-details.cjs","names":["z","action"],"sources":["../../src/actions/get-document-details.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PandadocGetDocumentDetailsInput = z.object({\n id: z.string().describe(\"The unique identifier of the document to retrieve details for\"),\n}).describe(\"Request model for getting document details.\");\nconst PandadocGetDocumentDetails_ContentBlockReferenceSchema = z.object({\n name: z.string().describe(\"Block identifier/name\").nullable().optional(),\n}).passthrough().describe(\"Model for content block reference.\");\nconst PandadocGetDocumentDetails_DocumentFieldSchema = z.object({\n name: z.string().describe(\"Field name\").nullable().optional(),\n type: z.string().describe(\"Field type (e.g., signature, text, checkbox, collect_file)\").nullable().optional(),\n uuid: z.string().describe(\"Field unique identifier\").nullable().optional(),\n title: z.string().describe(\"Field title\").nullable().optional(),\n value: z.union([z.string(), z.boolean(), z.number().int(), z.number(), z.array(z.unknown()), z.record(z.string(), z.unknown())]).nullable().optional(),\n field_id: z.string().describe(\"Field identifier\").nullable().optional(),\n assigned_to: z.record(z.string(), z.unknown()).describe(\"Recipient this field is assigned to\").nullable().optional(),\n merge_field: z.string().describe(\"Merge field name\").nullable().optional(),\n placeholder: z.string().describe(\"Placeholder text\").nullable().optional(),\n}).passthrough().describe(\"Model for document field.\");\nconst PandadocGetDocumentDetails_UserInfoSchema = z.object({\n id: z.string().describe(\"User identifier\").nullable().optional(),\n email: z.string().describe(\"Email address\").nullable().optional(),\n avatar: z.string().describe(\"Avatar URL\").nullable().optional(),\n last_name: z.string().describe(\"Last name\").nullable().optional(),\n first_name: z.string().describe(\"First name\").nullable().optional(),\n membership_id: z.string().describe(\"Membership identifier\").nullable().optional(),\n}).passthrough().describe(\"Model for user information.\");\nconst PandadocGetDocumentDetails_TemplateReferenceSchema = z.object({\n id: z.string().describe(\"Template identifier\").nullable().optional(),\n name: z.string().describe(\"Template name\").nullable().optional(),\n}).passthrough().describe(\"Model for template reference.\");\nconst PandadocGetDocumentDetails_DeliveryMethodsSchema = z.object({\n sms: z.boolean().describe(\"SMS delivery enabled\").nullable().optional(),\n email: z.boolean().describe(\"Email delivery enabled\").nullable().optional(),\n}).passthrough().describe(\"Model for delivery methods.\");\nconst PandadocGetDocumentDetails_RecipientSchema = z.object({\n id: z.string().describe(\"Recipient identifier\").nullable().optional(),\n role: z.string().describe(\"Role name\").nullable().optional(),\n email: z.string().describe(\"Email address\").nullable().optional(),\n phone: z.string().describe(\"Phone number\").nullable().optional(),\n roles: z.array(z.string()).describe(\"List of roles assigned to recipient\").nullable().optional(),\n last_name: z.string().describe(\"Last name\").nullable().optional(),\n contact_id: z.string().describe(\"Contact identifier\").nullable().optional(),\n first_name: z.string().describe(\"First name\").nullable().optional(),\n shared_link: z.string().describe(\"Document access URL\").nullable().optional(),\n has_completed: z.boolean().describe(\"Whether recipient has completed their action\").nullable().optional(),\n signing_order: z.number().int().describe(\"Order in which recipient should sign\").nullable().optional(),\n recipient_type: z.string().describe(\"Type of recipient (e.g., signer, CC)\").nullable().optional(),\n signature_date: z.string().describe(\"Timestamp when recipient signed\").nullable().optional(),\n delivery_methods: PandadocGetDocumentDetails_DeliveryMethodsSchema.nullable().optional(),\n verification_settings: z.record(z.string(), z.unknown()).describe(\"Verification options configured\").nullable().optional(),\n}).passthrough().describe(\"Model for document recipient.\");\nconst PandadocGetDocumentDetails_CurrencyAmountSchema = z.object({\n amount: z.string().describe(\"Numeric amount\").nullable().optional(),\n currency: z.string().describe(\"ISO currency code\").nullable().optional(),\n}).passthrough().describe(\"Model for currency amount.\");\nexport const PandadocGetDocumentDetailsOutput = z.object({\n id: z.string().describe(\"Unique document identifier\").nullable().optional(),\n name: z.string().describe(\"Document title\").nullable().optional(),\n tags: z.array(z.string()).describe(\"String labels for categorization\").nullable().optional(),\n texts: z.array(PandadocGetDocumentDetails_ContentBlockReferenceSchema).describe(\"List of text block references with names\").nullable().optional(),\n fields: z.array(PandadocGetDocumentDetails_DocumentFieldSchema).describe(\"List of fields with their values and types\").nullable().optional(),\n images: z.array(PandadocGetDocumentDetails_ContentBlockReferenceSchema).describe(\"List of image block references with names\").nullable().optional(),\n status: z.string().describe(\"Current document state (e.g., document.draft, document.completed)\").nullable().optional(),\n tables: z.array(PandadocGetDocumentDetails_ContentBlockReferenceSchema).describe(\"List of table block references with names\").nullable().optional(),\n tokens: z.array(z.record(z.string(), z.unknown())).describe(\"List of tokens/variables with name-value pairs\").nullable().optional(),\n pricing: z.record(z.string(), z.unknown()).describe(\"Pricing information including tables and quotes\").nullable().optional(),\n sent_by: PandadocGetDocumentDetails_UserInfoSchema.nullable().optional(),\n version: z.string().describe(\"Document version number\").nullable().optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom key-value pairs for categorization\").nullable().optional(),\n template: PandadocGetDocumentDetails_TemplateReferenceSchema.nullable().optional(),\n date_sent: z.string().describe(\"When document was sent\").nullable().optional(),\n created_by: PandadocGetDocumentDetails_UserInfoSchema.nullable().optional(),\n recipients: z.array(PandadocGetDocumentDetails_RecipientSchema).describe(\"List of recipients with signing order and completion status\").nullable().optional(),\n ref_number: z.string().describe(\"Reference identifier\").nullable().optional(),\n grand_total: PandadocGetDocumentDetails_CurrencyAmountSchema.nullable().optional(),\n date_created: z.string().describe(\"Timestamp when document was created\").nullable().optional(),\n date_modified: z.string().describe(\"Timestamp of last modification to recipients/status\").nullable().optional(),\n date_completed: z.string().describe(\"Completion timestamp (null if incomplete)\").nullable().optional(),\n linked_objects: z.array(z.record(z.string(), z.unknown())).describe(\"Connected CRM entities or external objects\").nullable().optional(),\n expiration_date: z.string().describe(\"Document expiration deadline\").nullable().optional(),\n approval_execution: z.record(z.string(), z.unknown()).describe(\"Approval workflow details, if applicable\").nullable().optional(),\n content_date_modified: z.string().describe(\"Timestamp of last content change\").nullable().optional(),\n autonumbering_sequence_name_prefix: z.string().describe(\"Auto-numbering prefix\").nullable().optional(),\n}).passthrough().describe(\"Response model for document details.\");\n\nexport const pandadocGetDocumentDetails = action(\"PANDADOC_GET_DOCUMENT_DETAILS\", {\n slug: \"pandadoc-get-document-details\",\n name: \"Get Document Details\",\n description: \"Fetch detailed metadata for a specific PandaDoc document including recipients, fields/tokens values, pricing data, metadata, tags, and content-block names. Use this after discovering a document via list/search to inspect recipients/status/fields/metadata/content-block references for follow-up automation or reporting.\",\n input: PandadocGetDocumentDetailsInput,\n output: PandadocGetDocumentDetailsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,EACtD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,EACzF,CAAC,CAAC,CAAC,SAAS,6CAA6C;AACzD,MAAM,yDAAyDA,IAAAA,EAAE,OAAO,EACtE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACzE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oCAAoC;AAC9D,MAAM,iDAAiDA,IAAAA,EAAE,OAAO;CAC9D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,YAAY,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9D,OAAOA,IAAAA,EAAE,MAAM;EAACA,IAAAA,EAAE,OAAO;EAAGA,IAAAA,EAAE,QAAQ;EAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI;EAAGA,IAAAA,EAAE,OAAO;EAAGA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,QAAQ,CAAC;EAAGA,IAA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CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,oBAAoBA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/H,uBAAuBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,oCAAoCA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAAsC;AAEhE,MAAa,6BAA6BC,eAAAA,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
1
|
+
{"version":3,"file":"get-document-details.cjs","names":["z","action"],"sources":["../../src/actions/get-document-details.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 PandadocGetDocumentDetailsInput = z.object({\n id: z.string().describe(\"The unique identifier of the document to retrieve details for\"),\n}).describe(\"Request model for getting document details.\");\nconst PandadocGetDocumentDetails_ContentBlockReferenceSchema = z.object({\n name: z.string().describe(\"Block identifier/name\").nullable().optional(),\n}).passthrough().describe(\"Model for content block reference.\");\nconst PandadocGetDocumentDetails_DocumentFieldSchema = z.object({\n name: z.string().describe(\"Field name\").nullable().optional(),\n type: z.string().describe(\"Field type (e.g., signature, text, checkbox, collect_file)\").nullable().optional(),\n uuid: z.string().describe(\"Field unique identifier\").nullable().optional(),\n title: z.string().describe(\"Field title\").nullable().optional(),\n value: z.union([z.string(), z.boolean(), z.number().int(), z.number(), z.array(z.unknown()), z.record(z.string(), z.unknown())]).nullable().optional(),\n field_id: z.string().describe(\"Field identifier\").nullable().optional(),\n assigned_to: z.record(z.string(), z.unknown()).describe(\"Recipient this field is assigned to\").nullable().optional(),\n merge_field: z.string().describe(\"Merge field name\").nullable().optional(),\n placeholder: z.string().describe(\"Placeholder text\").nullable().optional(),\n}).passthrough().describe(\"Model for document field.\");\nconst PandadocGetDocumentDetails_UserInfoSchema = z.object({\n id: z.string().describe(\"User identifier\").nullable().optional(),\n email: z.string().describe(\"Email address\").nullable().optional(),\n avatar: z.string().describe(\"Avatar URL\").nullable().optional(),\n last_name: z.string().describe(\"Last name\").nullable().optional(),\n first_name: z.string().describe(\"First name\").nullable().optional(),\n membership_id: z.string().describe(\"Membership identifier\").nullable().optional(),\n}).passthrough().describe(\"Model for user information.\");\nconst PandadocGetDocumentDetails_TemplateReferenceSchema = z.object({\n id: z.string().describe(\"Template identifier\").nullable().optional(),\n name: z.string().describe(\"Template name\").nullable().optional(),\n}).passthrough().describe(\"Model for template reference.\");\nconst PandadocGetDocumentDetails_DeliveryMethodsSchema = z.object({\n sms: z.boolean().describe(\"SMS delivery enabled\").nullable().optional(),\n email: z.boolean().describe(\"Email delivery enabled\").nullable().optional(),\n}).passthrough().describe(\"Model for delivery methods.\");\nconst PandadocGetDocumentDetails_RecipientSchema = z.object({\n id: z.string().describe(\"Recipient identifier\").nullable().optional(),\n role: z.string().describe(\"Role name\").nullable().optional(),\n email: z.string().describe(\"Email address\").nullable().optional(),\n phone: z.string().describe(\"Phone number\").nullable().optional(),\n roles: z.array(z.string()).describe(\"List of roles assigned to recipient\").nullable().optional(),\n last_name: z.string().describe(\"Last name\").nullable().optional(),\n contact_id: z.string().describe(\"Contact identifier\").nullable().optional(),\n first_name: z.string().describe(\"First name\").nullable().optional(),\n shared_link: z.string().describe(\"Document access URL\").nullable().optional(),\n has_completed: z.boolean().describe(\"Whether recipient has completed their action\").nullable().optional(),\n signing_order: z.number().int().describe(\"Order in which recipient should sign\").nullable().optional(),\n recipient_type: z.string().describe(\"Type of recipient (e.g., signer, CC)\").nullable().optional(),\n signature_date: z.string().describe(\"Timestamp when recipient signed\").nullable().optional(),\n delivery_methods: PandadocGetDocumentDetails_DeliveryMethodsSchema.nullable().optional(),\n verification_settings: z.record(z.string(), z.unknown()).describe(\"Verification options configured\").nullable().optional(),\n}).passthrough().describe(\"Model for document recipient.\");\nconst PandadocGetDocumentDetails_CurrencyAmountSchema = z.object({\n amount: z.string().describe(\"Numeric amount\").nullable().optional(),\n currency: z.string().describe(\"ISO currency code\").nullable().optional(),\n}).passthrough().describe(\"Model for currency amount.\");\nexport const PandadocGetDocumentDetailsOutput = z.object({\n id: z.string().describe(\"Unique document identifier\").nullable().optional(),\n name: z.string().describe(\"Document title\").nullable().optional(),\n tags: z.array(z.string()).describe(\"String labels for categorization\").nullable().optional(),\n texts: z.array(PandadocGetDocumentDetails_ContentBlockReferenceSchema).describe(\"List of text block references with names\").nullable().optional(),\n fields: z.array(PandadocGetDocumentDetails_DocumentFieldSchema).describe(\"List of fields with their values and types\").nullable().optional(),\n images: z.array(PandadocGetDocumentDetails_ContentBlockReferenceSchema).describe(\"List of image block references with names\").nullable().optional(),\n status: z.string().describe(\"Current document state (e.g., document.draft, document.completed)\").nullable().optional(),\n tables: z.array(PandadocGetDocumentDetails_ContentBlockReferenceSchema).describe(\"List of table block references with names\").nullable().optional(),\n tokens: z.array(z.record(z.string(), z.unknown())).describe(\"List of tokens/variables with name-value pairs\").nullable().optional(),\n pricing: z.record(z.string(), z.unknown()).describe(\"Pricing information including tables and quotes\").nullable().optional(),\n sent_by: PandadocGetDocumentDetails_UserInfoSchema.nullable().optional(),\n version: z.string().describe(\"Document version number\").nullable().optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom key-value pairs for categorization\").nullable().optional(),\n template: PandadocGetDocumentDetails_TemplateReferenceSchema.nullable().optional(),\n date_sent: z.string().describe(\"When document was sent\").nullable().optional(),\n created_by: PandadocGetDocumentDetails_UserInfoSchema.nullable().optional(),\n recipients: z.array(PandadocGetDocumentDetails_RecipientSchema).describe(\"List of recipients with signing order and completion status\").nullable().optional(),\n ref_number: z.string().describe(\"Reference identifier\").nullable().optional(),\n grand_total: PandadocGetDocumentDetails_CurrencyAmountSchema.nullable().optional(),\n date_created: z.string().describe(\"Timestamp when document was created\").nullable().optional(),\n date_modified: z.string().describe(\"Timestamp of last modification to recipients/status\").nullable().optional(),\n date_completed: z.string().describe(\"Completion timestamp (null if incomplete)\").nullable().optional(),\n linked_objects: z.array(z.record(z.string(), z.unknown())).describe(\"Connected CRM entities or external objects\").nullable().optional(),\n expiration_date: z.string().describe(\"Document expiration deadline\").nullable().optional(),\n approval_execution: z.record(z.string(), z.unknown()).describe(\"Approval workflow details, if applicable\").nullable().optional(),\n content_date_modified: z.string().describe(\"Timestamp of last content change\").nullable().optional(),\n autonumbering_sequence_name_prefix: z.string().describe(\"Auto-numbering prefix\").nullable().optional(),\n}).passthrough().describe(\"Response model for document details.\");\n\nexport const pandadocGetDocumentDetails: AppAction<\n typeof PandadocGetDocumentDetailsInput,\n typeof PandadocGetDocumentDetailsOutput,\n typeof pandadoc.credential\n> = action(\"PANDADOC_GET_DOCUMENT_DETAILS\", {\n slug: \"pandadoc-get-document-details\",\n name: \"Get Document Details\",\n description: \"Fetch detailed metadata for a specific PandaDoc document including recipients, fields/tokens values, pricing data, metadata, tags, and content-block names. Use this after discovering a document via list/search to inspect recipients/status/fields/metadata/content-block references for follow-up automation or reporting.\",\n input: PandadocGetDocumentDetailsInput,\n output: PandadocGetDocumentDetailsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,EACtD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,EACzF,CAAC,CAAC,CAAC,SAAS,6CAA6C;AACzD,MAAM,yDAAyDA,IAAAA,EAAE,OAAO,EACtE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACzE,CAAC,CA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AAC"}
|
|
@@ -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/get-document-details.d.ts
|
|
@@ -88,21 +90,7 @@ declare const PandadocGetDocumentDetailsOutput: z.ZodObject<{
|
|
|
88
90
|
content_date_modified: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
89
91
|
autonumbering_sequence_name_prefix: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
90
92
|
}, z.core.$loose>;
|
|
91
|
-
declare const pandadocGetDocumentDetails:
|
|
92
|
-
id: string;
|
|
93
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"pandadoc", z.ZodObject<{
|
|
94
|
-
connectionId: z.ZodString;
|
|
95
|
-
entityId: z.ZodString;
|
|
96
|
-
instanceId: z.ZodString;
|
|
97
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
98
|
-
generic_api_key: z.ZodString;
|
|
99
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"pandadoc", z.ZodObject<{
|
|
100
|
-
connectionId: z.ZodString;
|
|
101
|
-
entityId: z.ZodString;
|
|
102
|
-
instanceId: z.ZodString;
|
|
103
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
104
|
-
generic_api_key: z.ZodString;
|
|
105
|
-
}, z.core.$strip>>]>;
|
|
93
|
+
declare const pandadocGetDocumentDetails: AppAction<typeof PandadocGetDocumentDetailsInput, typeof PandadocGetDocumentDetailsOutput, typeof pandadoc.credential>;
|
|
106
94
|
//#endregion
|
|
107
95
|
export { pandadocGetDocumentDetails };
|
|
108
96
|
//# sourceMappingURL=get-document-details.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-document-details.d.cts","names":[],"sources":["../../src/actions/get-document-details.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-document-details.d.cts","names":[],"sources":["../../src/actions/get-document-details.ts"],"mappings":";;;;;cAMa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;cAsD/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA8BhC,0BAAA,EAA4B,SAAA,QAChC,+BAAA,SACA,gCAAA,SACA,QAAA,CAAS,UAAA"}
|