@keystrokehq/pandadoc 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +17 -0
- package/dist/action.cjs +21 -0
- package/dist/action.cjs.map +1 -0
- package/dist/action.mjs +21 -0
- package/dist/action.mjs.map +1 -0
- package/dist/actions/create-document-attachment.cjs +29 -0
- package/dist/actions/create-document-attachment.cjs.map +1 -0
- package/dist/actions/create-document-attachment.d.cts +9 -0
- package/dist/actions/create-document-attachment.d.cts.map +1 -0
- package/dist/actions/create-document-attachment.d.mts +9 -0
- package/dist/actions/create-document-attachment.d.mts.map +1 -0
- package/dist/actions/create-document-attachment.mjs +26 -0
- package/dist/actions/create-document-attachment.mjs.map +1 -0
- package/dist/actions/create-document-from-file.cjs +46 -0
- package/dist/actions/create-document-from-file.cjs.map +1 -0
- package/dist/actions/create-document-from-file.d.cts +9 -0
- package/dist/actions/create-document-from-file.d.cts.map +1 -0
- package/dist/actions/create-document-from-file.d.mts +9 -0
- package/dist/actions/create-document-from-file.d.mts.map +1 -0
- package/dist/actions/create-document-from-file.mjs +43 -0
- package/dist/actions/create-document-from-file.mjs.map +1 -0
- package/dist/actions/create-folder.cjs +23 -0
- package/dist/actions/create-folder.cjs.map +1 -0
- package/dist/actions/create-folder.d.cts +9 -0
- package/dist/actions/create-folder.d.cts.map +1 -0
- package/dist/actions/create-folder.d.mts +9 -0
- package/dist/actions/create-folder.d.mts.map +1 -0
- package/dist/actions/create-folder.mjs +20 -0
- package/dist/actions/create-folder.mjs.map +1 -0
- package/dist/actions/create-or-update-contact.cjs +41 -0
- package/dist/actions/create-or-update-contact.cjs.map +1 -0
- package/dist/actions/create-or-update-contact.d.cts +9 -0
- package/dist/actions/create-or-update-contact.d.cts.map +1 -0
- package/dist/actions/create-or-update-contact.d.mts +9 -0
- package/dist/actions/create-or-update-contact.d.mts.map +1 -0
- package/dist/actions/create-or-update-contact.mjs +38 -0
- package/dist/actions/create-or-update-contact.mjs.map +1 -0
- package/dist/actions/create-template.cjs +36 -0
- package/dist/actions/create-template.cjs.map +1 -0
- package/dist/actions/create-template.d.cts +9 -0
- package/dist/actions/create-template.d.cts.map +1 -0
- package/dist/actions/create-template.d.mts +9 -0
- package/dist/actions/create-template.d.mts.map +1 -0
- package/dist/actions/create-template.mjs +33 -0
- package/dist/actions/create-template.mjs.map +1 -0
- package/dist/actions/create-webhook.cjs +28 -0
- package/dist/actions/create-webhook.cjs.map +1 -0
- package/dist/actions/create-webhook.d.cts +9 -0
- package/dist/actions/create-webhook.d.cts.map +1 -0
- package/dist/actions/create-webhook.d.mts +9 -0
- package/dist/actions/create-webhook.d.mts.map +1 -0
- package/dist/actions/create-webhook.mjs +25 -0
- package/dist/actions/create-webhook.mjs.map +1 -0
- package/dist/actions/delete-contact.cjs +16 -0
- package/dist/actions/delete-contact.cjs.map +1 -0
- package/dist/actions/delete-contact.d.cts +9 -0
- package/dist/actions/delete-contact.d.cts.map +1 -0
- package/dist/actions/delete-contact.d.mts +9 -0
- package/dist/actions/delete-contact.d.mts.map +1 -0
- package/dist/actions/delete-contact.mjs +13 -0
- package/dist/actions/delete-contact.mjs.map +1 -0
- package/dist/actions/delete-template.cjs +19 -0
- package/dist/actions/delete-template.cjs.map +1 -0
- package/dist/actions/delete-template.d.cts +9 -0
- package/dist/actions/delete-template.d.cts.map +1 -0
- package/dist/actions/delete-template.d.mts +9 -0
- package/dist/actions/delete-template.d.mts.map +1 -0
- package/dist/actions/delete-template.mjs +16 -0
- package/dist/actions/delete-template.mjs.map +1 -0
- package/dist/actions/get-document-details.cjs +100 -0
- package/dist/actions/get-document-details.cjs.map +1 -0
- package/dist/actions/get-document-details.d.cts +9 -0
- package/dist/actions/get-document-details.d.cts.map +1 -0
- package/dist/actions/get-document-details.d.mts +9 -0
- package/dist/actions/get-document-details.d.mts.map +1 -0
- package/dist/actions/get-document-details.mjs +99 -0
- package/dist/actions/get-document-details.mjs.map +1 -0
- package/dist/actions/get-template-details.cjs +127 -0
- package/dist/actions/get-template-details.cjs.map +1 -0
- package/dist/actions/get-template-details.d.cts +9 -0
- package/dist/actions/get-template-details.d.cts.map +1 -0
- package/dist/actions/get-template-details.d.mts +9 -0
- package/dist/actions/get-template-details.d.mts.map +1 -0
- package/dist/actions/get-template-details.mjs +126 -0
- package/dist/actions/get-template-details.mjs.map +1 -0
- package/dist/actions/index.cjs +29 -0
- package/dist/actions/index.d.cts +15 -0
- package/dist/actions/index.d.mts +15 -0
- package/dist/actions/index.mjs +15 -0
- package/dist/actions/list-contacts.cjs +25 -0
- package/dist/actions/list-contacts.cjs.map +1 -0
- package/dist/actions/list-contacts.d.cts +9 -0
- package/dist/actions/list-contacts.d.cts.map +1 -0
- package/dist/actions/list-contacts.d.mts +9 -0
- package/dist/actions/list-contacts.d.mts.map +1 -0
- package/dist/actions/list-contacts.mjs +24 -0
- package/dist/actions/list-contacts.mjs.map +1 -0
- package/dist/actions/list-document-folders.cjs +30 -0
- package/dist/actions/list-document-folders.cjs.map +1 -0
- package/dist/actions/list-document-folders.d.cts +9 -0
- package/dist/actions/list-document-folders.d.cts.map +1 -0
- package/dist/actions/list-document-folders.d.mts +9 -0
- package/dist/actions/list-document-folders.d.mts.map +1 -0
- package/dist/actions/list-document-folders.mjs +29 -0
- package/dist/actions/list-document-folders.mjs.map +1 -0
- package/dist/actions/list-templates.cjs +34 -0
- package/dist/actions/list-templates.cjs.map +1 -0
- package/dist/actions/list-templates.d.cts +9 -0
- package/dist/actions/list-templates.d.cts.map +1 -0
- package/dist/actions/list-templates.d.mts +9 -0
- package/dist/actions/list-templates.d.mts.map +1 -0
- package/dist/actions/list-templates.mjs +33 -0
- package/dist/actions/list-templates.mjs.map +1 -0
- package/dist/actions/move-document-to-folder.cjs +22 -0
- package/dist/actions/move-document-to-folder.cjs.map +1 -0
- package/dist/actions/move-document-to-folder.d.cts +9 -0
- package/dist/actions/move-document-to-folder.d.cts.map +1 -0
- package/dist/actions/move-document-to-folder.d.mts +9 -0
- package/dist/actions/move-document-to-folder.d.mts.map +1 -0
- package/dist/actions/move-document-to-folder.mjs +19 -0
- package/dist/actions/move-document-to-folder.mjs.map +1 -0
- package/dist/app.cjs +9 -0
- package/dist/app.cjs.map +1 -0
- package/dist/app.d.cts +5 -0
- package/dist/app.d.cts.map +1 -0
- package/dist/app.d.mts +5 -0
- package/dist/app.d.mts.map +1 -0
- package/dist/app.mjs +10 -0
- package/dist/app.mjs.map +1 -0
- package/dist/catalog.cjs +15 -0
- package/dist/catalog.cjs.map +1 -0
- package/dist/catalog.d.cts +14 -0
- package/dist/catalog.d.cts.map +1 -0
- package/dist/catalog.d.mts +14 -0
- package/dist/catalog.d.mts.map +1 -0
- package/dist/catalog.mjs +15 -0
- package/dist/catalog.mjs.map +1 -0
- package/dist/execute.cjs +18 -0
- package/dist/execute.cjs.map +1 -0
- package/dist/execute.mjs +18 -0
- package/dist/execute.mjs.map +1 -0
- package/dist/index.cjs +34 -0
- package/dist/index.d.cts +17 -0
- package/dist/index.d.mts +17 -0
- package/dist/index.mjs +18 -0
- package/package.json +49 -0
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/list-contacts.ts
|
|
4
|
+
const PandadocListContactsInput = zod.z.object({ email: zod.z.string().describe("Filter contacts by exact email match. Returns only contacts with this specific email address.").optional() });
|
|
5
|
+
const PandadocListContacts_ContactSchema = zod.z.object({
|
|
6
|
+
id: zod.z.string().describe("The unique identifier of the contact"),
|
|
7
|
+
email: zod.z.string().describe("Email address of the contact"),
|
|
8
|
+
shared: zod.z.boolean().describe("Whether the contact is shared").nullable().optional(),
|
|
9
|
+
company: zod.z.string().describe("Company name of the contact").nullable().optional(),
|
|
10
|
+
last_name: zod.z.string().describe("Last name of the contact").nullable().optional(),
|
|
11
|
+
first_name: zod.z.string().describe("First name of the contact").nullable().optional(),
|
|
12
|
+
create_time: zod.z.string().describe("Creation timestamp of the contact").nullable().optional()
|
|
13
|
+
});
|
|
14
|
+
const PandadocListContactsOutput = zod.z.object({ results: zod.z.array(PandadocListContacts_ContactSchema).describe("List of contacts matching the search criteria") });
|
|
15
|
+
const pandadocListContacts = require_action.action("PANDADOC_LIST_CONTACTS", {
|
|
16
|
+
slug: "pandadoc-list-contacts",
|
|
17
|
+
name: "List Contacts",
|
|
18
|
+
description: "List all contacts in your PandaDoc workspace. Returns all contacts with their details including email, name, company, and contact information. Optionally filter by exact email address. Note: The API returns all contacts at once without pagination - filtering and pagination should be done client-side if needed.",
|
|
19
|
+
input: PandadocListContactsInput,
|
|
20
|
+
output: PandadocListContactsOutput
|
|
21
|
+
});
|
|
22
|
+
//#endregion
|
|
23
|
+
exports.pandadocListContacts = pandadocListContacts;
|
|
24
|
+
|
|
25
|
+
//# sourceMappingURL=list-contacts.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-contacts.cjs","names":["z","action"],"sources":["../../src/actions/list-contacts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PandadocListContactsInput: z.ZodTypeAny = z.object({\n email: z.string().describe(\"Filter contacts by exact email match. Returns only contacts with this specific email address.\").optional(),\n});\nconst PandadocListContacts_ContactSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier of the contact\"),\n email: z.string().describe(\"Email address of the contact\"),\n shared: z.boolean().describe(\"Whether the contact is shared\").nullable().optional(),\n company: z.string().describe(\"Company name 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 create_time: z.string().describe(\"Creation timestamp of the contact\").nullable().optional(),\n});\nexport const PandadocListContactsOutput: z.ZodTypeAny = z.object({\n results: z.array(PandadocListContacts_ContactSchema).describe(\"List of contacts matching the search criteria\"),\n});\n\nexport const pandadocListContacts = action(\"PANDADOC_LIST_CONTACTS\", {\n slug: \"pandadoc-list-contacts\",\n name: \"List Contacts\",\n description: \"List all contacts in your PandaDoc workspace. Returns all contacts with their details including email, name, company, and contact information. Optionally filter by exact email address. Note: The API returns all contacts at once without pagination - filtering and pagination should be done client-side if needed.\",\n input: PandadocListContactsInput,\n output: PandadocListContactsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA0CA,IAAAA,EAAE,OAAO,EAC9D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,SAAS,EACvI,CAAC;AACD,MAAM,qCAAmDA,IAAAA,EAAE,OAAO;CAChE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;CAC9D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;CACzD,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,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,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5F,CAAC;AACD,MAAa,6BAA2CA,IAAAA,EAAE,OAAO,EAC/D,SAASA,IAAAA,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,+CAA+C,EAC/G,CAAC;AAED,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/list-contacts.d.ts
|
|
4
|
+
declare const PandadocListContactsInput: z.ZodTypeAny;
|
|
5
|
+
declare const PandadocListContactsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const pandadocListContacts: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { pandadocListContacts };
|
|
9
|
+
//# sourceMappingURL=list-contacts.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-contacts.d.cts","names":[],"sources":["../../src/actions/list-contacts.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UAExC;AAAA,cAUW,0BAAA,EAA4B,CAAA,CAAE,UAEzC;AAAA,cAEW,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/list-contacts.d.ts
|
|
4
|
+
declare const PandadocListContactsInput: z.ZodTypeAny;
|
|
5
|
+
declare const PandadocListContactsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const pandadocListContacts: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { pandadocListContacts };
|
|
9
|
+
//# sourceMappingURL=list-contacts.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-contacts.d.mts","names":[],"sources":["../../src/actions/list-contacts.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UAExC;AAAA,cAUW,0BAAA,EAA4B,CAAA,CAAE,UAEzC;AAAA,cAEW,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/list-contacts.ts
|
|
4
|
+
const PandadocListContactsInput = z.object({ email: z.string().describe("Filter contacts by exact email match. Returns only contacts with this specific email address.").optional() });
|
|
5
|
+
const PandadocListContacts_ContactSchema = z.object({
|
|
6
|
+
id: z.string().describe("The unique identifier of the contact"),
|
|
7
|
+
email: z.string().describe("Email address of the contact"),
|
|
8
|
+
shared: z.boolean().describe("Whether the contact is shared").nullable().optional(),
|
|
9
|
+
company: z.string().describe("Company name of the contact").nullable().optional(),
|
|
10
|
+
last_name: z.string().describe("Last name of the contact").nullable().optional(),
|
|
11
|
+
first_name: z.string().describe("First name of the contact").nullable().optional(),
|
|
12
|
+
create_time: z.string().describe("Creation timestamp of the contact").nullable().optional()
|
|
13
|
+
});
|
|
14
|
+
const pandadocListContacts = action("PANDADOC_LIST_CONTACTS", {
|
|
15
|
+
slug: "pandadoc-list-contacts",
|
|
16
|
+
name: "List Contacts",
|
|
17
|
+
description: "List all contacts in your PandaDoc workspace. Returns all contacts with their details including email, name, company, and contact information. Optionally filter by exact email address. Note: The API returns all contacts at once without pagination - filtering and pagination should be done client-side if needed.",
|
|
18
|
+
input: PandadocListContactsInput,
|
|
19
|
+
output: z.object({ results: z.array(PandadocListContacts_ContactSchema).describe("List of contacts matching the search criteria") })
|
|
20
|
+
});
|
|
21
|
+
//#endregion
|
|
22
|
+
export { pandadocListContacts };
|
|
23
|
+
|
|
24
|
+
//# sourceMappingURL=list-contacts.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-contacts.mjs","names":[],"sources":["../../src/actions/list-contacts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PandadocListContactsInput: z.ZodTypeAny = z.object({\n email: z.string().describe(\"Filter contacts by exact email match. Returns only contacts with this specific email address.\").optional(),\n});\nconst PandadocListContacts_ContactSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier of the contact\"),\n email: z.string().describe(\"Email address of the contact\"),\n shared: z.boolean().describe(\"Whether the contact is shared\").nullable().optional(),\n company: z.string().describe(\"Company name 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 create_time: z.string().describe(\"Creation timestamp of the contact\").nullable().optional(),\n});\nexport const PandadocListContactsOutput: z.ZodTypeAny = z.object({\n results: z.array(PandadocListContacts_ContactSchema).describe(\"List of contacts matching the search criteria\"),\n});\n\nexport const pandadocListContacts = action(\"PANDADOC_LIST_CONTACTS\", {\n slug: \"pandadoc-list-contacts\",\n name: \"List Contacts\",\n description: \"List all contacts in your PandaDoc workspace. Returns all contacts with their details including email, name, company, and contact information. Optionally filter by exact email address. Note: The API returns all contacts at once without pagination - filtering and pagination should be done client-side if needed.\",\n input: PandadocListContactsInput,\n output: PandadocListContactsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA0C,EAAE,OAAO,EAC9D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,SAAS,EACvI,CAAC;AACD,MAAM,qCAAmD,EAAE,OAAO;CAChE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;CAC9D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;CACzD,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5F,CAAC;AAKD,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATsD,EAAE,OAAO,EAC/D,SAAS,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,+CAA+C,EAC/G,CAOU;AACV,CAAC"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/list-document-folders.ts
|
|
4
|
+
const PandadocListDocumentFoldersInput = zod.z.object({
|
|
5
|
+
page: zod.z.number().int().describe("Page number (starts from 1)").optional(),
|
|
6
|
+
count: zod.z.number().int().describe("Number of folders to return (default: 50, max: 100)").optional(),
|
|
7
|
+
parent_uuid: zod.z.string().describe("The UUID of the parent folder. If omitted, returns folders in root directory").optional()
|
|
8
|
+
});
|
|
9
|
+
const PandadocListDocumentFolders_FolderItemSchema = zod.z.object({
|
|
10
|
+
name: zod.z.string().describe("Folder name"),
|
|
11
|
+
uuid: zod.z.string().describe("Folder UUID"),
|
|
12
|
+
shared: zod.z.boolean().describe("Whether the folder is shared").nullable().optional(),
|
|
13
|
+
has_items: zod.z.boolean().describe("Whether the folder contains items"),
|
|
14
|
+
created_by: zod.z.string().describe("ID of the user who created the folder").nullable().optional(),
|
|
15
|
+
has_folders: zod.z.boolean().describe("Whether the folder contains subfolders"),
|
|
16
|
+
parent_uuid: zod.z.string().describe("UUID of the parent folder").nullable().optional(),
|
|
17
|
+
date_created: zod.z.string().describe("Folder creation date")
|
|
18
|
+
});
|
|
19
|
+
const PandadocListDocumentFoldersOutput = zod.z.object({ results: zod.z.array(PandadocListDocumentFolders_FolderItemSchema).describe("List of document folders") });
|
|
20
|
+
const pandadocListDocumentFolders = require_action.action("PANDADOC_LIST_DOCUMENT_FOLDERS", {
|
|
21
|
+
slug: "pandadoc-list-document-folders",
|
|
22
|
+
name: "List Document Folders",
|
|
23
|
+
description: "This tool retrieves a list of all document folders in PandaDoc. It's a standalone action that doesn't require any external dependencies or resource IDs. The tool will return a list of folders containing documents, with each folder containing information about its ID, name, and parent folder relationship.",
|
|
24
|
+
input: PandadocListDocumentFoldersInput,
|
|
25
|
+
output: PandadocListDocumentFoldersOutput
|
|
26
|
+
});
|
|
27
|
+
//#endregion
|
|
28
|
+
exports.pandadocListDocumentFolders = pandadocListDocumentFolders;
|
|
29
|
+
|
|
30
|
+
//# sourceMappingURL=list-document-folders.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-document-folders.cjs","names":["z","action"],"sources":["../../src/actions/list-document-folders.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PandadocListDocumentFoldersInput: z.ZodTypeAny = z.object({\n page: z.number().int().describe(\"Page number (starts from 1)\").optional(),\n count: z.number().int().describe(\"Number of folders to return (default: 50, max: 100)\").optional(),\n parent_uuid: z.string().describe(\"The UUID of the parent folder. If omitted, returns folders in root directory\").optional(),\n});\nconst PandadocListDocumentFolders_FolderItemSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Folder name\"),\n uuid: z.string().describe(\"Folder UUID\"),\n shared: z.boolean().describe(\"Whether the folder is shared\").nullable().optional(),\n has_items: z.boolean().describe(\"Whether the folder contains items\"),\n created_by: z.string().describe(\"ID of the user who created the folder\").nullable().optional(),\n has_folders: z.boolean().describe(\"Whether the folder contains subfolders\"),\n parent_uuid: z.string().describe(\"UUID of the parent folder\").nullable().optional(),\n date_created: z.string().describe(\"Folder creation date\"),\n});\nexport const PandadocListDocumentFoldersOutput: z.ZodTypeAny = z.object({\n results: z.array(PandadocListDocumentFolders_FolderItemSchema).describe(\"List of document folders\"),\n});\n\nexport const pandadocListDocumentFolders = action(\"PANDADOC_LIST_DOCUMENT_FOLDERS\", {\n slug: \"pandadoc-list-document-folders\",\n name: \"List Document Folders\",\n description: \"This tool retrieves a list of all document folders in PandaDoc. It's a standalone action that doesn't require any external dependencies or resource IDs. The tool will return a list of folders containing documents, with each folder containing information about its ID, name, and parent folder relationship.\",\n input: PandadocListDocumentFoldersInput,\n output: PandadocListDocumentFoldersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAiDA,IAAAA,EAAE,OAAO;CACrE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACxE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CACjG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;AAC5H,CAAC;AACD,MAAM,+CAA6DA,IAAAA,EAAE,OAAO;CAC1E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa;CACvC,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa;CACvC,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,mCAAmC;CACnE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,wCAAwC;CAC1E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB;AAC1D,CAAC;AACD,MAAa,oCAAkDA,IAAAA,EAAE,OAAO,EACtE,SAASA,IAAAA,EAAE,MAAM,4CAA4C,CAAC,CAAC,SAAS,0BAA0B,EACpG,CAAC;AAED,MAAa,8BAA8BC,eAAAA,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/list-document-folders.d.ts
|
|
4
|
+
declare const PandadocListDocumentFoldersInput: z.ZodTypeAny;
|
|
5
|
+
declare const PandadocListDocumentFoldersOutput: z.ZodTypeAny;
|
|
6
|
+
declare const pandadocListDocumentFolders: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { pandadocListDocumentFolders };
|
|
9
|
+
//# sourceMappingURL=list-document-folders.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-document-folders.d.cts","names":[],"sources":["../../src/actions/list-document-folders.ts"],"mappings":";;;cAIa,gCAAA,EAAkC,CAAA,CAAE,UAI/C;AAAA,cAWW,iCAAA,EAAmC,CAAA,CAAE,UAEhD;AAAA,cAEW,2BAAA,gCAA2B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/list-document-folders.d.ts
|
|
4
|
+
declare const PandadocListDocumentFoldersInput: z.ZodTypeAny;
|
|
5
|
+
declare const PandadocListDocumentFoldersOutput: z.ZodTypeAny;
|
|
6
|
+
declare const pandadocListDocumentFolders: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { pandadocListDocumentFolders };
|
|
9
|
+
//# sourceMappingURL=list-document-folders.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-document-folders.d.mts","names":[],"sources":["../../src/actions/list-document-folders.ts"],"mappings":";;;cAIa,gCAAA,EAAkC,CAAA,CAAE,UAI/C;AAAA,cAWW,iCAAA,EAAmC,CAAA,CAAE,UAEhD;AAAA,cAEW,2BAAA,gCAA2B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/list-document-folders.ts
|
|
4
|
+
const PandadocListDocumentFoldersInput = z.object({
|
|
5
|
+
page: z.number().int().describe("Page number (starts from 1)").optional(),
|
|
6
|
+
count: z.number().int().describe("Number of folders to return (default: 50, max: 100)").optional(),
|
|
7
|
+
parent_uuid: z.string().describe("The UUID of the parent folder. If omitted, returns folders in root directory").optional()
|
|
8
|
+
});
|
|
9
|
+
const PandadocListDocumentFolders_FolderItemSchema = z.object({
|
|
10
|
+
name: z.string().describe("Folder name"),
|
|
11
|
+
uuid: z.string().describe("Folder UUID"),
|
|
12
|
+
shared: z.boolean().describe("Whether the folder is shared").nullable().optional(),
|
|
13
|
+
has_items: z.boolean().describe("Whether the folder contains items"),
|
|
14
|
+
created_by: z.string().describe("ID of the user who created the folder").nullable().optional(),
|
|
15
|
+
has_folders: z.boolean().describe("Whether the folder contains subfolders"),
|
|
16
|
+
parent_uuid: z.string().describe("UUID of the parent folder").nullable().optional(),
|
|
17
|
+
date_created: z.string().describe("Folder creation date")
|
|
18
|
+
});
|
|
19
|
+
const pandadocListDocumentFolders = action("PANDADOC_LIST_DOCUMENT_FOLDERS", {
|
|
20
|
+
slug: "pandadoc-list-document-folders",
|
|
21
|
+
name: "List Document Folders",
|
|
22
|
+
description: "This tool retrieves a list of all document folders in PandaDoc. It's a standalone action that doesn't require any external dependencies or resource IDs. The tool will return a list of folders containing documents, with each folder containing information about its ID, name, and parent folder relationship.",
|
|
23
|
+
input: PandadocListDocumentFoldersInput,
|
|
24
|
+
output: z.object({ results: z.array(PandadocListDocumentFolders_FolderItemSchema).describe("List of document folders") })
|
|
25
|
+
});
|
|
26
|
+
//#endregion
|
|
27
|
+
export { pandadocListDocumentFolders };
|
|
28
|
+
|
|
29
|
+
//# sourceMappingURL=list-document-folders.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-document-folders.mjs","names":[],"sources":["../../src/actions/list-document-folders.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PandadocListDocumentFoldersInput: z.ZodTypeAny = z.object({\n page: z.number().int().describe(\"Page number (starts from 1)\").optional(),\n count: z.number().int().describe(\"Number of folders to return (default: 50, max: 100)\").optional(),\n parent_uuid: z.string().describe(\"The UUID of the parent folder. If omitted, returns folders in root directory\").optional(),\n});\nconst PandadocListDocumentFolders_FolderItemSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Folder name\"),\n uuid: z.string().describe(\"Folder UUID\"),\n shared: z.boolean().describe(\"Whether the folder is shared\").nullable().optional(),\n has_items: z.boolean().describe(\"Whether the folder contains items\"),\n created_by: z.string().describe(\"ID of the user who created the folder\").nullable().optional(),\n has_folders: z.boolean().describe(\"Whether the folder contains subfolders\"),\n parent_uuid: z.string().describe(\"UUID of the parent folder\").nullable().optional(),\n date_created: z.string().describe(\"Folder creation date\"),\n});\nexport const PandadocListDocumentFoldersOutput: z.ZodTypeAny = z.object({\n results: z.array(PandadocListDocumentFolders_FolderItemSchema).describe(\"List of document folders\"),\n});\n\nexport const pandadocListDocumentFolders = action(\"PANDADOC_LIST_DOCUMENT_FOLDERS\", {\n slug: \"pandadoc-list-document-folders\",\n name: \"List Document Folders\",\n description: \"This tool retrieves a list of all document folders in PandaDoc. It's a standalone action that doesn't require any external dependencies or resource IDs. The tool will return a list of folders containing documents, with each folder containing information about its ID, name, and parent folder relationship.\",\n input: PandadocListDocumentFoldersInput,\n output: PandadocListDocumentFoldersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAiD,EAAE,OAAO;CACrE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACxE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CACjG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;AAC5H,CAAC;AACD,MAAM,+CAA6D,EAAE,OAAO;CAC1E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa;CACvC,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa;CACvC,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,mCAAmC;CACnE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,wCAAwC;CAC1E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB;AAC1D,CAAC;AAKD,MAAa,8BAA8B,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT6D,EAAE,OAAO,EACtE,SAAS,EAAE,MAAM,4CAA4C,CAAC,CAAC,SAAS,0BAA0B,EACpG,CAOU;AACV,CAAC"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/list-templates.ts
|
|
4
|
+
const PandadocListTemplatesInput = zod.z.object({
|
|
5
|
+
q: zod.z.string().describe("Search query to filter templates by name").optional(),
|
|
6
|
+
id: zod.z.string().describe("Specific template ID to retrieve").optional(),
|
|
7
|
+
tag: zod.z.array(zod.z.string()).describe("Filter templates by tags").optional(),
|
|
8
|
+
page: zod.z.number().int().describe("Page number of the results to return").optional(),
|
|
9
|
+
count: zod.z.number().int().describe("Number of templates to return per page (1-100, default: 50)").optional(),
|
|
10
|
+
fields: zod.z.array(zod.z.string()).describe("Additional fields to include in the response (e.g., content_date_modified)").optional(),
|
|
11
|
+
shared: zod.z.boolean().describe("If true, returns only shared templates").optional(),
|
|
12
|
+
deleted: zod.z.boolean().describe("If true, returns only deleted templates").optional(),
|
|
13
|
+
folder_uuid: zod.z.string().describe("UUID of the folder where the templates are stored").optional()
|
|
14
|
+
});
|
|
15
|
+
const PandadocListTemplates_TemplateItemSchema = zod.z.object({
|
|
16
|
+
id: zod.z.string().describe("Template ID"),
|
|
17
|
+
name: zod.z.string().describe("Template name"),
|
|
18
|
+
version: zod.z.string().describe("Template version"),
|
|
19
|
+
date_created: zod.z.string().describe("Template creation date"),
|
|
20
|
+
date_modified: zod.z.string().describe("Template last modification date"),
|
|
21
|
+
content_date_modified: zod.z.string().describe("Content last modification date").nullable().optional()
|
|
22
|
+
});
|
|
23
|
+
const PandadocListTemplatesOutput = zod.z.object({ results: zod.z.array(PandadocListTemplates_TemplateItemSchema).describe("List of templates") });
|
|
24
|
+
const pandadocListTemplates = require_action.action("PANDADOC_LIST_TEMPLATES", {
|
|
25
|
+
slug: "pandadoc-list-templates",
|
|
26
|
+
name: "List Templates",
|
|
27
|
+
description: "This tool retrieves a list of all templates available in the PandaDoc account. It supports parameters to filter templates by name, shared status, deleted status, pagination, and tag filtering, and returns detailed template information.",
|
|
28
|
+
input: PandadocListTemplatesInput,
|
|
29
|
+
output: PandadocListTemplatesOutput
|
|
30
|
+
});
|
|
31
|
+
//#endregion
|
|
32
|
+
exports.pandadocListTemplates = pandadocListTemplates;
|
|
33
|
+
|
|
34
|
+
//# sourceMappingURL=list-templates.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-templates.cjs","names":["z","action"],"sources":["../../src/actions/list-templates.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PandadocListTemplatesInput: z.ZodTypeAny = z.object({\n q: z.string().describe(\"Search query to filter templates by name\").optional(),\n id: z.string().describe(\"Specific template ID to retrieve\").optional(),\n tag: z.array(z.string()).describe(\"Filter templates by tags\").optional(),\n page: z.number().int().describe(\"Page number of the results to return\").optional(),\n count: z.number().int().describe(\"Number of templates to return per page (1-100, default: 50)\").optional(),\n fields: z.array(z.string()).describe(\"Additional fields to include in the response (e.g., content_date_modified)\").optional(),\n shared: z.boolean().describe(\"If true, returns only shared templates\").optional(),\n deleted: z.boolean().describe(\"If true, returns only deleted templates\").optional(),\n folder_uuid: z.string().describe(\"UUID of the folder where the templates are stored\").optional(),\n});\nconst PandadocListTemplates_TemplateItemSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Template ID\"),\n name: z.string().describe(\"Template name\"),\n version: z.string().describe(\"Template version\"),\n date_created: z.string().describe(\"Template creation date\"),\n date_modified: z.string().describe(\"Template last modification date\"),\n content_date_modified: z.string().describe(\"Content last modification date\").nullable().optional(),\n});\nexport const PandadocListTemplatesOutput: z.ZodTypeAny = z.object({\n results: z.array(PandadocListTemplates_TemplateItemSchema).describe(\"List of templates\"),\n});\n\nexport const pandadocListTemplates = action(\"PANDADOC_LIST_TEMPLATES\", {\n slug: \"pandadoc-list-templates\",\n name: \"List Templates\",\n description: \"This tool retrieves a list of all templates available in the PandaDoc account. It supports parameters to filter templates by name, shared status, deleted status, pagination, and tag filtering, and returns detailed template information.\",\n input: PandadocListTemplatesInput,\n output: PandadocListTemplatesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA2CA,IAAAA,EAAE,OAAO;CAC/D,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CAC5E,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACrE,KAAKA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CACvE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACjF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;CACzG,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;CAC5H,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAChF,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAClF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;AACjG,CAAC;AACD,MAAM,2CAAyDA,IAAAA,EAAE,OAAO;CACtE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa;CACrC,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe;CACzC,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB;CAC/C,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;CAC1D,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;CACpE,uBAAuBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnG,CAAC;AACD,MAAa,8BAA4CA,IAAAA,EAAE,OAAO,EAChE,SAASA,IAAAA,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,mBAAmB,EACzF,CAAC;AAED,MAAa,wBAAwBC,eAAAA,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/list-templates.d.ts
|
|
4
|
+
declare const PandadocListTemplatesInput: z.ZodTypeAny;
|
|
5
|
+
declare const PandadocListTemplatesOutput: z.ZodTypeAny;
|
|
6
|
+
declare const pandadocListTemplates: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { pandadocListTemplates };
|
|
9
|
+
//# sourceMappingURL=list-templates.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-templates.d.cts","names":[],"sources":["../../src/actions/list-templates.ts"],"mappings":";;;cAIa,0BAAA,EAA4B,CAAA,CAAE,UAUzC;AAAA,cASW,2BAAA,EAA6B,CAAA,CAAE,UAE1C;AAAA,cAEW,qBAAA,gCAAqB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/list-templates.d.ts
|
|
4
|
+
declare const PandadocListTemplatesInput: z.ZodTypeAny;
|
|
5
|
+
declare const PandadocListTemplatesOutput: z.ZodTypeAny;
|
|
6
|
+
declare const pandadocListTemplates: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { pandadocListTemplates };
|
|
9
|
+
//# sourceMappingURL=list-templates.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-templates.d.mts","names":[],"sources":["../../src/actions/list-templates.ts"],"mappings":";;;cAIa,0BAAA,EAA4B,CAAA,CAAE,UAUzC;AAAA,cASW,2BAAA,EAA6B,CAAA,CAAE,UAE1C;AAAA,cAEW,qBAAA,gCAAqB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/list-templates.ts
|
|
4
|
+
const PandadocListTemplatesInput = z.object({
|
|
5
|
+
q: z.string().describe("Search query to filter templates by name").optional(),
|
|
6
|
+
id: z.string().describe("Specific template ID to retrieve").optional(),
|
|
7
|
+
tag: z.array(z.string()).describe("Filter templates by tags").optional(),
|
|
8
|
+
page: z.number().int().describe("Page number of the results to return").optional(),
|
|
9
|
+
count: z.number().int().describe("Number of templates to return per page (1-100, default: 50)").optional(),
|
|
10
|
+
fields: z.array(z.string()).describe("Additional fields to include in the response (e.g., content_date_modified)").optional(),
|
|
11
|
+
shared: z.boolean().describe("If true, returns only shared templates").optional(),
|
|
12
|
+
deleted: z.boolean().describe("If true, returns only deleted templates").optional(),
|
|
13
|
+
folder_uuid: z.string().describe("UUID of the folder where the templates are stored").optional()
|
|
14
|
+
});
|
|
15
|
+
const PandadocListTemplates_TemplateItemSchema = z.object({
|
|
16
|
+
id: z.string().describe("Template ID"),
|
|
17
|
+
name: z.string().describe("Template name"),
|
|
18
|
+
version: z.string().describe("Template version"),
|
|
19
|
+
date_created: z.string().describe("Template creation date"),
|
|
20
|
+
date_modified: z.string().describe("Template last modification date"),
|
|
21
|
+
content_date_modified: z.string().describe("Content last modification date").nullable().optional()
|
|
22
|
+
});
|
|
23
|
+
const pandadocListTemplates = action("PANDADOC_LIST_TEMPLATES", {
|
|
24
|
+
slug: "pandadoc-list-templates",
|
|
25
|
+
name: "List Templates",
|
|
26
|
+
description: "This tool retrieves a list of all templates available in the PandaDoc account. It supports parameters to filter templates by name, shared status, deleted status, pagination, and tag filtering, and returns detailed template information.",
|
|
27
|
+
input: PandadocListTemplatesInput,
|
|
28
|
+
output: z.object({ results: z.array(PandadocListTemplates_TemplateItemSchema).describe("List of templates") })
|
|
29
|
+
});
|
|
30
|
+
//#endregion
|
|
31
|
+
export { pandadocListTemplates };
|
|
32
|
+
|
|
33
|
+
//# sourceMappingURL=list-templates.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-templates.mjs","names":[],"sources":["../../src/actions/list-templates.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PandadocListTemplatesInput: z.ZodTypeAny = z.object({\n q: z.string().describe(\"Search query to filter templates by name\").optional(),\n id: z.string().describe(\"Specific template ID to retrieve\").optional(),\n tag: z.array(z.string()).describe(\"Filter templates by tags\").optional(),\n page: z.number().int().describe(\"Page number of the results to return\").optional(),\n count: z.number().int().describe(\"Number of templates to return per page (1-100, default: 50)\").optional(),\n fields: z.array(z.string()).describe(\"Additional fields to include in the response (e.g., content_date_modified)\").optional(),\n shared: z.boolean().describe(\"If true, returns only shared templates\").optional(),\n deleted: z.boolean().describe(\"If true, returns only deleted templates\").optional(),\n folder_uuid: z.string().describe(\"UUID of the folder where the templates are stored\").optional(),\n});\nconst PandadocListTemplates_TemplateItemSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Template ID\"),\n name: z.string().describe(\"Template name\"),\n version: z.string().describe(\"Template version\"),\n date_created: z.string().describe(\"Template creation date\"),\n date_modified: z.string().describe(\"Template last modification date\"),\n content_date_modified: z.string().describe(\"Content last modification date\").nullable().optional(),\n});\nexport const PandadocListTemplatesOutput: z.ZodTypeAny = z.object({\n results: z.array(PandadocListTemplates_TemplateItemSchema).describe(\"List of templates\"),\n});\n\nexport const pandadocListTemplates = action(\"PANDADOC_LIST_TEMPLATES\", {\n slug: \"pandadoc-list-templates\",\n name: \"List Templates\",\n description: \"This tool retrieves a list of all templates available in the PandaDoc account. It supports parameters to filter templates by name, shared status, deleted status, pagination, and tag filtering, and returns detailed template information.\",\n input: PandadocListTemplatesInput,\n output: PandadocListTemplatesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA2C,EAAE,OAAO;CAC/D,GAAG,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CAC5E,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACrE,KAAK,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CACvE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACjF,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;CACzG,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;CAC5H,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAChF,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAClF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;AACjG,CAAC;AACD,MAAM,2CAAyD,EAAE,OAAO;CACtE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa;CACrC,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe;CACzC,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB;CAC/C,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;CAC1D,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;CACpE,uBAAuB,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnG,CAAC;AAKD,MAAa,wBAAwB,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATuD,EAAE,OAAO,EAChE,SAAS,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,mBAAmB,EACzF,CAOU;AACV,CAAC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/move-document-to-folder.ts
|
|
4
|
+
const PandadocMoveDocumentToFolderInput = zod.z.object({
|
|
5
|
+
folder_id: zod.z.string().describe("The unique identifier of the destination folder"),
|
|
6
|
+
document_id: zod.z.string().describe("The unique identifier of the document to move")
|
|
7
|
+
});
|
|
8
|
+
const PandadocMoveDocumentToFolderOutput = zod.z.object({
|
|
9
|
+
status: zod.z.string().describe("The status of the move operation"),
|
|
10
|
+
message: zod.z.string().describe("A message indicating the result of the move operation")
|
|
11
|
+
});
|
|
12
|
+
const pandadocMoveDocumentToFolder = require_action.action("PANDADOC_MOVE_DOCUMENT_TO_FOLDER", {
|
|
13
|
+
slug: "pandadoc-move-document-to-folder",
|
|
14
|
+
name: "Move Document to Folder",
|
|
15
|
+
description: "This tool allows users to move a document to a specific folder within their PandaDoc account. It performs a POST request to move the document to the specified folder. Both the document and the destination folder must exist. Only documents in draft status can be moved; attempting to move documents in sent, completed, or other non-draft states will fail.",
|
|
16
|
+
input: PandadocMoveDocumentToFolderInput,
|
|
17
|
+
output: PandadocMoveDocumentToFolderOutput
|
|
18
|
+
});
|
|
19
|
+
//#endregion
|
|
20
|
+
exports.pandadocMoveDocumentToFolder = pandadocMoveDocumentToFolder;
|
|
21
|
+
|
|
22
|
+
//# sourceMappingURL=move-document-to-folder.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"move-document-to-folder.cjs","names":["z","action"],"sources":["../../src/actions/move-document-to-folder.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PandadocMoveDocumentToFolderInput: z.ZodTypeAny = z.object({\n folder_id: z.string().describe(\"The unique identifier of the destination folder\"),\n document_id: z.string().describe(\"The unique identifier of the document to move\"),\n});\nexport const PandadocMoveDocumentToFolderOutput: z.ZodTypeAny = z.object({\n status: z.string().describe(\"The status of the move operation\"),\n message: z.string().describe(\"A message indicating the result of the move operation\"),\n});\n\nexport const pandadocMoveDocumentToFolder = action(\"PANDADOC_MOVE_DOCUMENT_TO_FOLDER\", {\n slug: \"pandadoc-move-document-to-folder\",\n name: \"Move Document to Folder\",\n description: \"This tool allows users to move a document to a specific folder within their PandaDoc account. It performs a POST request to move the document to the specified folder. Both the document and the destination folder must exist. Only documents in draft status can be moved; attempting to move documents in sent, completed, or other non-draft states will fail.\",\n input: PandadocMoveDocumentToFolderInput,\n output: PandadocMoveDocumentToFolderOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAkDA,IAAAA,EAAE,OAAO;CACtE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;CAChF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;AAClF,CAAC;AACD,MAAa,qCAAmDA,IAAAA,EAAE,OAAO;CACvE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;CAC9D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;AACtF,CAAC;AAED,MAAa,+BAA+BC,eAAAA,OAAO,oCAAoC;CACrF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/move-document-to-folder.d.ts
|
|
4
|
+
declare const PandadocMoveDocumentToFolderInput: z.ZodTypeAny;
|
|
5
|
+
declare const PandadocMoveDocumentToFolderOutput: z.ZodTypeAny;
|
|
6
|
+
declare const pandadocMoveDocumentToFolder: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { pandadocMoveDocumentToFolder };
|
|
9
|
+
//# sourceMappingURL=move-document-to-folder.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"move-document-to-folder.d.cts","names":[],"sources":["../../src/actions/move-document-to-folder.ts"],"mappings":";;;cAIa,iCAAA,EAAmC,CAAA,CAAE,UAGhD;AAAA,cACW,kCAAA,EAAoC,CAAA,CAAE,UAGjD;AAAA,cAEW,4BAAA,gCAA4B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/move-document-to-folder.d.ts
|
|
4
|
+
declare const PandadocMoveDocumentToFolderInput: z.ZodTypeAny;
|
|
5
|
+
declare const PandadocMoveDocumentToFolderOutput: z.ZodTypeAny;
|
|
6
|
+
declare const pandadocMoveDocumentToFolder: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { pandadocMoveDocumentToFolder };
|
|
9
|
+
//# sourceMappingURL=move-document-to-folder.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"move-document-to-folder.d.mts","names":[],"sources":["../../src/actions/move-document-to-folder.ts"],"mappings":";;;cAIa,iCAAA,EAAmC,CAAA,CAAE,UAGhD;AAAA,cACW,kCAAA,EAAoC,CAAA,CAAE,UAGjD;AAAA,cAEW,4BAAA,gCAA4B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const pandadocMoveDocumentToFolder = action("PANDADOC_MOVE_DOCUMENT_TO_FOLDER", {
|
|
4
|
+
slug: "pandadoc-move-document-to-folder",
|
|
5
|
+
name: "Move Document to Folder",
|
|
6
|
+
description: "This tool allows users to move a document to a specific folder within their PandaDoc account. It performs a POST request to move the document to the specified folder. Both the document and the destination folder must exist. Only documents in draft status can be moved; attempting to move documents in sent, completed, or other non-draft states will fail.",
|
|
7
|
+
input: z.object({
|
|
8
|
+
folder_id: z.string().describe("The unique identifier of the destination folder"),
|
|
9
|
+
document_id: z.string().describe("The unique identifier of the document to move")
|
|
10
|
+
}),
|
|
11
|
+
output: z.object({
|
|
12
|
+
status: z.string().describe("The status of the move operation"),
|
|
13
|
+
message: z.string().describe("A message indicating the result of the move operation")
|
|
14
|
+
})
|
|
15
|
+
});
|
|
16
|
+
//#endregion
|
|
17
|
+
export { pandadocMoveDocumentToFolder };
|
|
18
|
+
|
|
19
|
+
//# sourceMappingURL=move-document-to-folder.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"move-document-to-folder.mjs","names":[],"sources":["../../src/actions/move-document-to-folder.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PandadocMoveDocumentToFolderInput: z.ZodTypeAny = z.object({\n folder_id: z.string().describe(\"The unique identifier of the destination folder\"),\n document_id: z.string().describe(\"The unique identifier of the document to move\"),\n});\nexport const PandadocMoveDocumentToFolderOutput: z.ZodTypeAny = z.object({\n status: z.string().describe(\"The status of the move operation\"),\n message: z.string().describe(\"A message indicating the result of the move operation\"),\n});\n\nexport const pandadocMoveDocumentToFolder = action(\"PANDADOC_MOVE_DOCUMENT_TO_FOLDER\", {\n slug: \"pandadoc-move-document-to-folder\",\n name: \"Move Document to Folder\",\n description: \"This tool allows users to move a document to a specific folder within their PandaDoc account. It performs a POST request to move the document to the specified folder. Both the document and the destination folder must exist. Only documents in draft status can be moved; attempting to move documents in sent, completed, or other non-draft states will fail.\",\n input: PandadocMoveDocumentToFolderInput,\n output: PandadocMoveDocumentToFolderOutput,\n});\n"],"mappings":";;AAaA,MAAa,+BAA+B,OAAO,oCAAoC;CACrF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAb6D,EAAE,OAAO;EACtE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;EAChF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;CAClF,CAUS;CACP,QAV8D,EAAE,OAAO;EACvE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;EAC9D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;CACtF,CAOU;AACV,CAAC"}
|
package/dist/app.cjs
ADDED
package/dist/app.cjs.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"app.cjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\n\nexport const pandadoc = defineApp({\n slug: \"pandadoc\",\n auth: \"keystroke\",\n});\n"],"mappings":";AAEA,MAAa,YAAA,uCAAA,CAAA,CAAA,UAAA,CAAqB;CAChC,MAAM;CACN,MAAM;AACR,CAAC"}
|
package/dist/app.d.cts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";cAEa,QAAA,6BAAQ,GAAA,+BAAA,UAAA"}
|
package/dist/app.d.mts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";cAEa,QAAA,6BAAQ,GAAA,+BAAA,UAAA"}
|
package/dist/app.mjs
ADDED
package/dist/app.mjs.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\n\nexport const pandadoc = defineApp({\n slug: \"pandadoc\",\n auth: \"keystroke\",\n});\n"],"mappings":";;AAEA,MAAa,WAAW,UAAU;CAChC,MAAM;CACN,MAAM;AACR,CAAC"}
|
package/dist/catalog.cjs
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
//#region src/catalog.ts
|
|
2
|
+
/** Generated — kept in sync with src/app.ts. */
|
|
3
|
+
const pandadocCatalog = {
|
|
4
|
+
"slug": "pandadoc",
|
|
5
|
+
"name": "PandaDoc",
|
|
6
|
+
"description": "PandaDoc offers document creation, e-signatures, and workflow automation, helping sales teams and businesses streamline proposals, contracts, and agreement processes",
|
|
7
|
+
"category": "Documents",
|
|
8
|
+
"logo": "https://logos.composio.dev/api/pandadoc",
|
|
9
|
+
"authKind": "keystroke",
|
|
10
|
+
"oauthScopes": []
|
|
11
|
+
};
|
|
12
|
+
//#endregion
|
|
13
|
+
exports.pandadocCatalog = pandadocCatalog;
|
|
14
|
+
|
|
15
|
+
//# sourceMappingURL=catalog.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const pandadocCatalog = {\n \"slug\": \"pandadoc\",\n \"name\": \"PandaDoc\",\n \"description\": \"PandaDoc offers document creation, e-signatures, and workflow automation, helping sales teams and businesses streamline proposals, contracts, and agreement processes\",\n \"category\": \"Documents\",\n \"logo\": \"https://logos.composio.dev/api/pandadoc\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": []\n} as const;\n"],"mappings":";;AACA,MAAa,kBAAkB;CAC7B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;AAClB"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
//#region src/catalog.d.ts
|
|
2
|
+
/** Generated — kept in sync with src/app.ts. */
|
|
3
|
+
declare const pandadocCatalog: {
|
|
4
|
+
readonly slug: "pandadoc";
|
|
5
|
+
readonly name: "PandaDoc";
|
|
6
|
+
readonly description: "PandaDoc offers document creation, e-signatures, and workflow automation, helping sales teams and businesses streamline proposals, contracts, and agreement processes";
|
|
7
|
+
readonly category: "Documents";
|
|
8
|
+
readonly logo: "https://logos.composio.dev/api/pandadoc";
|
|
9
|
+
readonly authKind: "keystroke";
|
|
10
|
+
readonly oauthScopes: readonly [];
|
|
11
|
+
};
|
|
12
|
+
//#endregion
|
|
13
|
+
export { pandadocCatalog };
|
|
14
|
+
//# sourceMappingURL=catalog.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"catalog.d.cts","names":[],"sources":["../src/catalog.ts"],"mappings":";;cACa,eAAA;EAAA"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
//#region src/catalog.d.ts
|
|
2
|
+
/** Generated — kept in sync with src/app.ts. */
|
|
3
|
+
declare const pandadocCatalog: {
|
|
4
|
+
readonly slug: "pandadoc";
|
|
5
|
+
readonly name: "PandaDoc";
|
|
6
|
+
readonly description: "PandaDoc offers document creation, e-signatures, and workflow automation, helping sales teams and businesses streamline proposals, contracts, and agreement processes";
|
|
7
|
+
readonly category: "Documents";
|
|
8
|
+
readonly logo: "https://logos.composio.dev/api/pandadoc";
|
|
9
|
+
readonly authKind: "keystroke";
|
|
10
|
+
readonly oauthScopes: readonly [];
|
|
11
|
+
};
|
|
12
|
+
//#endregion
|
|
13
|
+
export { pandadocCatalog };
|
|
14
|
+
//# sourceMappingURL=catalog.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"catalog.d.mts","names":[],"sources":["../src/catalog.ts"],"mappings":";;cACa,eAAA;EAAA"}
|
package/dist/catalog.mjs
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
//#region src/catalog.ts
|
|
2
|
+
/** Generated — kept in sync with src/app.ts. */
|
|
3
|
+
const pandadocCatalog = {
|
|
4
|
+
"slug": "pandadoc",
|
|
5
|
+
"name": "PandaDoc",
|
|
6
|
+
"description": "PandaDoc offers document creation, e-signatures, and workflow automation, helping sales teams and businesses streamline proposals, contracts, and agreement processes",
|
|
7
|
+
"category": "Documents",
|
|
8
|
+
"logo": "https://logos.composio.dev/api/pandadoc",
|
|
9
|
+
"authKind": "keystroke",
|
|
10
|
+
"oauthScopes": []
|
|
11
|
+
};
|
|
12
|
+
//#endregion
|
|
13
|
+
export { pandadocCatalog };
|
|
14
|
+
|
|
15
|
+
//# sourceMappingURL=catalog.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"catalog.mjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const pandadocCatalog = {\n \"slug\": \"pandadoc\",\n \"name\": \"PandaDoc\",\n \"description\": \"PandaDoc offers document creation, e-signatures, and workflow automation, helping sales teams and businesses streamline proposals, contracts, and agreement processes\",\n \"category\": \"Documents\",\n \"logo\": \"https://logos.composio.dev/api/pandadoc\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": []\n} as const;\n"],"mappings":";;AACA,MAAa,kBAAkB;CAC7B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;AAClB"}
|
package/dist/execute.cjs
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
let _keystrokehq_keystroke_client = require("@keystrokehq/keystroke/client");
|
|
2
|
+
//#region src/execute.ts
|
|
3
|
+
const APP_SLUG = "pandadoc";
|
|
4
|
+
/** Pinned app version — updated on regeneration. */
|
|
5
|
+
const APP_VERSION = "20260615_00";
|
|
6
|
+
async function executePandadocTool(tool, args) {
|
|
7
|
+
const { result } = await (0, _keystrokehq_keystroke_client.createKeystrokeClient)().tools.execute({
|
|
8
|
+
app: APP_SLUG,
|
|
9
|
+
tool,
|
|
10
|
+
arguments: args,
|
|
11
|
+
version: APP_VERSION
|
|
12
|
+
});
|
|
13
|
+
return result;
|
|
14
|
+
}
|
|
15
|
+
//#endregion
|
|
16
|
+
exports.executePandadocTool = executePandadocTool;
|
|
17
|
+
|
|
18
|
+
//# sourceMappingURL=execute.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"execute.cjs","names":[],"sources":["../src/execute.ts"],"sourcesContent":["import { createKeystrokeClient } from \"@keystrokehq/keystroke/client\";\n\nconst APP_SLUG = \"pandadoc\";\n/** Pinned app version — updated on regeneration. */\nconst APP_VERSION = \"20260615_00\";\n\nexport async function executePandadocTool(\n tool: string,\n args: Record<string, unknown>,\n): Promise<unknown> {\n const { result } = await createKeystrokeClient().tools.execute({\n app: APP_SLUG,\n tool,\n arguments: args,\n version: APP_VERSION,\n });\n return result;\n}\n"],"mappings":";;AAEA,MAAM,WAAW;;AAEjB,MAAM,cAAc;AAEpB,eAAsB,oBACpB,MACA,MACkB;CAClB,MAAM,EAAE,WAAW,OAAA,GAAA,8BAAA,sBAAA,CAA4B,CAAC,CAAC,MAAM,QAAQ;EAC7D,KAAK;EACL;EACA,WAAW;EACX,SAAS;CACX,CAAC;CACD,OAAO;AACT"}
|
package/dist/execute.mjs
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { createKeystrokeClient } from "@keystrokehq/keystroke/client";
|
|
2
|
+
//#region src/execute.ts
|
|
3
|
+
const APP_SLUG = "pandadoc";
|
|
4
|
+
/** Pinned app version — updated on regeneration. */
|
|
5
|
+
const APP_VERSION = "20260615_00";
|
|
6
|
+
async function executePandadocTool(tool, args) {
|
|
7
|
+
const { result } = await createKeystrokeClient().tools.execute({
|
|
8
|
+
app: APP_SLUG,
|
|
9
|
+
tool,
|
|
10
|
+
arguments: args,
|
|
11
|
+
version: APP_VERSION
|
|
12
|
+
});
|
|
13
|
+
return result;
|
|
14
|
+
}
|
|
15
|
+
//#endregion
|
|
16
|
+
export { executePandadocTool };
|
|
17
|
+
|
|
18
|
+
//# sourceMappingURL=execute.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"execute.mjs","names":[],"sources":["../src/execute.ts"],"sourcesContent":["import { createKeystrokeClient } from \"@keystrokehq/keystroke/client\";\n\nconst APP_SLUG = \"pandadoc\";\n/** Pinned app version — updated on regeneration. */\nconst APP_VERSION = \"20260615_00\";\n\nexport async function executePandadocTool(\n tool: string,\n args: Record<string, unknown>,\n): Promise<unknown> {\n const { result } = await createKeystrokeClient().tools.execute({\n app: APP_SLUG,\n tool,\n arguments: args,\n version: APP_VERSION,\n });\n return result;\n}\n"],"mappings":";;AAEA,MAAM,WAAW;;AAEjB,MAAM,cAAc;AAEpB,eAAsB,oBACpB,MACA,MACkB;CAClB,MAAM,EAAE,WAAW,MAAM,sBAAsB,CAAC,CAAC,MAAM,QAAQ;EAC7D,KAAK;EACL;EACA,WAAW;EACX,SAAS;CACX,CAAC;CACD,OAAO;AACT"}
|