@keystrokehq/pdfmonkey 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-sync.cjs +1 -0
- package/dist/actions/create-document-sync.cjs.map +1 -1
- package/dist/actions/create-document-sync.d.cts +3 -20
- package/dist/actions/create-document-sync.d.cts.map +1 -1
- package/dist/actions/create-document-sync.d.mts +3 -20
- package/dist/actions/create-document-sync.d.mts.map +1 -1
- package/dist/actions/create-document-sync.mjs +1 -0
- package/dist/actions/create-document-sync.mjs.map +1 -1
- package/dist/actions/create-document.cjs +1 -0
- package/dist/actions/create-document.cjs.map +1 -1
- package/dist/actions/create-document.d.cts +3 -20
- package/dist/actions/create-document.d.cts.map +1 -1
- package/dist/actions/create-document.d.mts +3 -20
- package/dist/actions/create-document.d.mts.map +1 -1
- package/dist/actions/create-document.mjs +1 -0
- package/dist/actions/create-document.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 -76
- package/dist/actions/create-template.d.cts.map +1 -1
- package/dist/actions/create-template.d.mts +3 -76
- 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/delete-document.cjs +1 -0
- package/dist/actions/delete-document.cjs.map +1 -1
- package/dist/actions/delete-document.d.cts +3 -15
- package/dist/actions/delete-document.d.cts.map +1 -1
- package/dist/actions/delete-document.d.mts +3 -15
- package/dist/actions/delete-document.d.mts.map +1 -1
- package/dist/actions/delete-document.mjs +1 -0
- package/dist/actions/delete-document.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/download-document-file.cjs +1 -0
- package/dist/actions/download-document-file.cjs.map +1 -1
- package/dist/actions/download-document-file.d.cts +3 -15
- package/dist/actions/download-document-file.d.cts.map +1 -1
- package/dist/actions/download-document-file.d.mts +3 -15
- package/dist/actions/download-document-file.d.mts.map +1 -1
- package/dist/actions/download-document-file.mjs +1 -0
- package/dist/actions/download-document-file.mjs.map +1 -1
- package/dist/actions/get-current-user.cjs +1 -0
- package/dist/actions/get-current-user.cjs.map +1 -1
- package/dist/actions/get-current-user.d.cts +3 -13
- package/dist/actions/get-current-user.d.cts.map +1 -1
- package/dist/actions/get-current-user.d.mts +3 -13
- package/dist/actions/get-current-user.d.mts.map +1 -1
- package/dist/actions/get-current-user.mjs +1 -0
- package/dist/actions/get-current-user.mjs.map +1 -1
- package/dist/actions/get-document-card.cjs +1 -0
- package/dist/actions/get-document-card.cjs.map +1 -1
- package/dist/actions/get-document-card.d.cts +3 -15
- package/dist/actions/get-document-card.d.cts.map +1 -1
- package/dist/actions/get-document-card.d.mts +3 -15
- package/dist/actions/get-document-card.d.mts.map +1 -1
- package/dist/actions/get-document-card.mjs +1 -0
- package/dist/actions/get-document-card.mjs.map +1 -1
- package/dist/actions/get-document.cjs +1 -0
- package/dist/actions/get-document.cjs.map +1 -1
- package/dist/actions/get-document.d.cts +3 -15
- package/dist/actions/get-document.d.cts.map +1 -1
- package/dist/actions/get-document.d.mts +3 -15
- package/dist/actions/get-document.d.mts.map +1 -1
- package/dist/actions/get-document.mjs +1 -0
- package/dist/actions/get-document.mjs.map +1 -1
- package/dist/actions/get-template.cjs +1 -0
- package/dist/actions/get-template.cjs.map +1 -1
- package/dist/actions/get-template.d.cts +3 -15
- package/dist/actions/get-template.d.cts.map +1 -1
- package/dist/actions/get-template.d.mts +3 -15
- package/dist/actions/get-template.d.mts.map +1 -1
- package/dist/actions/get-template.mjs +1 -0
- package/dist/actions/get-template.mjs.map +1 -1
- package/dist/actions/list-document-cards.cjs +1 -0
- package/dist/actions/list-document-cards.cjs.map +1 -1
- package/dist/actions/list-document-cards.d.cts +3 -19
- package/dist/actions/list-document-cards.d.cts.map +1 -1
- package/dist/actions/list-document-cards.d.mts +3 -19
- package/dist/actions/list-document-cards.d.mts.map +1 -1
- package/dist/actions/list-document-cards.mjs +1 -0
- package/dist/actions/list-document-cards.mjs.map +1 -1
- package/dist/actions/list-pdf-engines.cjs +1 -0
- package/dist/actions/list-pdf-engines.cjs.map +1 -1
- package/dist/actions/list-pdf-engines.d.cts +3 -13
- package/dist/actions/list-pdf-engines.d.cts.map +1 -1
- package/dist/actions/list-pdf-engines.d.mts +3 -13
- package/dist/actions/list-pdf-engines.d.mts.map +1 -1
- package/dist/actions/list-pdf-engines.mjs +1 -0
- package/dist/actions/list-pdf-engines.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 -18
- package/dist/actions/list-templates.d.cts.map +1 -1
- package/dist/actions/list-templates.d.mts +3 -18
- 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/list-workspaces.cjs +1 -0
- package/dist/actions/list-workspaces.cjs.map +1 -1
- package/dist/actions/list-workspaces.d.cts +3 -13
- package/dist/actions/list-workspaces.d.cts.map +1 -1
- package/dist/actions/list-workspaces.d.mts +3 -13
- package/dist/actions/list-workspaces.d.mts.map +1 -1
- package/dist/actions/list-workspaces.mjs +1 -0
- package/dist/actions/list-workspaces.mjs.map +1 -1
- package/dist/actions/preview-template.cjs +1 -0
- package/dist/actions/preview-template.cjs.map +1 -1
- package/dist/actions/preview-template.d.cts +3 -15
- package/dist/actions/preview-template.d.cts.map +1 -1
- package/dist/actions/preview-template.d.mts +3 -15
- package/dist/actions/preview-template.d.mts.map +1 -1
- package/dist/actions/preview-template.mjs +1 -0
- package/dist/actions/preview-template.mjs.map +1 -1
- package/dist/actions/update-document.cjs +1 -0
- package/dist/actions/update-document.cjs.map +1 -1
- package/dist/actions/update-document.d.cts +3 -21
- package/dist/actions/update-document.d.cts.map +1 -1
- package/dist/actions/update-document.d.mts +3 -21
- package/dist/actions/update-document.d.mts.map +1 -1
- package/dist/actions/update-document.mjs +1 -0
- package/dist/actions/update-document.mjs.map +1 -1
- package/dist/actions/update-template.cjs +1 -0
- package/dist/actions/update-template.cjs.map +1 -1
- package/dist/actions/update-template.d.cts +3 -77
- package/dist/actions/update-template.d.cts.map +1 -1
- package/dist/actions/update-template.d.mts +3 -77
- package/dist/actions/update-template.d.mts.map +1 -1
- package/dist/actions/update-template.mjs +1 -0
- package/dist/actions/update-template.mjs.map +1 -1
- package/dist/actions/view-public-share-link.cjs +1 -0
- package/dist/actions/view-public-share-link.cjs.map +1 -1
- package/dist/actions/view-public-share-link.d.cts +3 -17
- package/dist/actions/view-public-share-link.d.cts.map +1 -1
- package/dist/actions/view-public-share-link.d.mts +3 -17
- package/dist/actions/view-public-share-link.d.mts.map +1 -1
- package/dist/actions/view-public-share-link.mjs +1 -0
- package/dist/actions/view-public-share-link.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":"list-document-cards.d.cts","names":[],"sources":["../../src/actions/list-document-cards.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-document-cards.d.cts","names":[],"sources":["../../src/actions/list-document-cards.ts"],"mappings":";;;;;cAMa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;cA6B/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;cAKhC,0BAAA,EAA4B,SAAA,QAChC,+BAAA,SACA,gCAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { pdfmonkey } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-document-cards.d.ts
|
|
@@ -36,25 +38,7 @@ declare const PdfmonkeyListDocumentCardsOutput: z.ZodObject<{
|
|
|
36
38
|
document_template_identifier: z.ZodNullable<z.ZodString>;
|
|
37
39
|
}, z.core.$loose>>;
|
|
38
40
|
}, z.core.$loose>;
|
|
39
|
-
declare const pdfmonkeyListDocumentCards:
|
|
40
|
-
status?: "success" | "draft" | "failure" | undefined;
|
|
41
|
-
page_number?: number | undefined;
|
|
42
|
-
workspace_id?: string | undefined;
|
|
43
|
-
updated_since?: number | undefined;
|
|
44
|
-
document_template_ids?: string[] | undefined;
|
|
45
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"pdfmonkey", 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>>]>, readonly [import("@keystrokehq/shared").Credential<"pdfmonkey", z.ZodObject<{
|
|
52
|
-
connectionId: z.ZodString;
|
|
53
|
-
entityId: z.ZodString;
|
|
54
|
-
instanceId: z.ZodString;
|
|
55
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
56
|
-
generic_api_key: z.ZodString;
|
|
57
|
-
}, z.core.$strip>>]>;
|
|
41
|
+
declare const pdfmonkeyListDocumentCards: AppAction<typeof PdfmonkeyListDocumentCardsInput, typeof PdfmonkeyListDocumentCardsOutput, typeof pdfmonkey.credential>;
|
|
58
42
|
//#endregion
|
|
59
43
|
export { pdfmonkeyListDocumentCards };
|
|
60
44
|
//# sourceMappingURL=list-document-cards.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-document-cards.d.mts","names":[],"sources":["../../src/actions/list-document-cards.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-document-cards.d.mts","names":[],"sources":["../../src/actions/list-document-cards.ts"],"mappings":";;;;;cAMa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;cA6B/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;cAKhC,0BAAA,EAA4B,SAAA,QAChC,+BAAA,SACA,gCAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-document-cards.mjs","names":[],"sources":["../../src/actions/list-document-cards.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PdfmonkeyListDocumentCardsInput = z.object({\n status: z.enum([\"success\", \"failure\", \"draft\"]).describe(\"Filter by document status\").optional(),\n page_number: z.number().int().describe(\"Page number to return (default 1)\").optional(),\n workspace_id: z.string().describe(\"Filter by workspace UUID\").optional(),\n updated_since: z.number().int().describe(\"Return documents updated after given Unix timestamp\").optional(),\n document_template_ids: z.array(z.string()).describe(\"Filter by one or more document template UUIDs\").optional(),\n}).describe(\"Request model for listing DocumentCards with optional pagination and filters.\");\nconst PdfmonkeyListDocumentCards_PaginationMetaSchema = z.object({\n next_page: z.number().int().describe(\"Next page number, or null if on last page\").nullable().optional(),\n prev_page: z.number().int().describe(\"Previous page number, or null if on first page\").nullable().optional(),\n total_pages: z.number().int().describe(\"Total number of pages available\").nullable(),\n current_page: z.number().int().describe(\"Current page number\").nullable(),\n}).passthrough().describe(\"Pagination metadata from the API response.\");\nconst PdfmonkeyListDocumentCards_DocumentCardSchema = z.object({\n id: z.string().describe(\"DocumentCard identifier (UUID)\").nullable(),\n meta: z.unknown().describe(\"Arbitrary user-defined metadata attached to the document\").nullable().optional(),\n app_id: z.string().describe(\"Workspace (app) identifier (UUID)\").nullable(),\n status: z.string().describe(\"Current document status (success, failure, draft)\").nullable(),\n filename: z.string().describe(\"Generated filename upon success\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp of creation\").nullable(),\n updated_at: z.string().describe(\"ISO 8601 timestamp of last update\").nullable(),\n output_type: z.string().describe(\"Output type of the document (e.g., 'pdf')\").nullable().optional(),\n preview_url: z.string().describe(\"URL to preview the document in the browser\").nullable().optional(),\n download_url: z.string().describe(\"Time-limited URL for downloading the document (<1h validity). Only available for documents with status 'success'.\").nullable().optional(),\n failure_cause: z.string().describe(\"Error reason if generation failed\").nullable().optional(),\n public_share_link: z.string().describe(\"Permalink when share links are enabled\").nullable().optional(),\n document_template_id: z.string().describe(\"Identifier of the source document template (UUID)\").nullable(),\n document_template_identifier: z.string().describe(\"Name/identifier of the linked document template\").nullable(),\n}).passthrough().describe(\"Represents a DocumentCard record from PDFMonkey.\");\nexport const PdfmonkeyListDocumentCardsOutput = z.object({\n pagination: PdfmonkeyListDocumentCards_PaginationMetaSchema.nullable(),\n document_cards: z.array(PdfmonkeyListDocumentCards_DocumentCardSchema).describe(\"List of DocumentCards matching the request filters\"),\n}).passthrough().describe(\"Response model for ListDocumentCards\");\n\nexport const pdfmonkeyListDocumentCards = action(\"PDFMONKEY_LIST_DOCUMENT_CARDS\", {\n slug: \"pdfmonkey-list-document-cards\",\n name: \"List DocumentCards\",\n description: \"Tool to list DocumentCards. Use when you need to retrieve multiple DocumentCards with optional pagination and filtering by template, status, workspace, or update time.\",\n input: PdfmonkeyListDocumentCardsInput,\n output: PdfmonkeyListDocumentCardsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-document-cards.mjs","names":[],"sources":["../../src/actions/list-document-cards.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { pdfmonkey } from \"../app\";\n\nexport const PdfmonkeyListDocumentCardsInput = z.object({\n status: z.enum([\"success\", \"failure\", \"draft\"]).describe(\"Filter by document status\").optional(),\n page_number: z.number().int().describe(\"Page number to return (default 1)\").optional(),\n workspace_id: z.string().describe(\"Filter by workspace UUID\").optional(),\n updated_since: z.number().int().describe(\"Return documents updated after given Unix timestamp\").optional(),\n document_template_ids: z.array(z.string()).describe(\"Filter by one or more document template UUIDs\").optional(),\n}).describe(\"Request model for listing DocumentCards with optional pagination and filters.\");\nconst PdfmonkeyListDocumentCards_PaginationMetaSchema = z.object({\n next_page: z.number().int().describe(\"Next page number, or null if on last page\").nullable().optional(),\n prev_page: z.number().int().describe(\"Previous page number, or null if on first page\").nullable().optional(),\n total_pages: z.number().int().describe(\"Total number of pages available\").nullable(),\n current_page: z.number().int().describe(\"Current page number\").nullable(),\n}).passthrough().describe(\"Pagination metadata from the API response.\");\nconst PdfmonkeyListDocumentCards_DocumentCardSchema = z.object({\n id: z.string().describe(\"DocumentCard identifier (UUID)\").nullable(),\n meta: z.unknown().describe(\"Arbitrary user-defined metadata attached to the document\").nullable().optional(),\n app_id: z.string().describe(\"Workspace (app) identifier (UUID)\").nullable(),\n status: z.string().describe(\"Current document status (success, failure, draft)\").nullable(),\n filename: z.string().describe(\"Generated filename upon success\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp of creation\").nullable(),\n updated_at: z.string().describe(\"ISO 8601 timestamp of last update\").nullable(),\n output_type: z.string().describe(\"Output type of the document (e.g., 'pdf')\").nullable().optional(),\n preview_url: z.string().describe(\"URL to preview the document in the browser\").nullable().optional(),\n download_url: z.string().describe(\"Time-limited URL for downloading the document (<1h validity). Only available for documents with status 'success'.\").nullable().optional(),\n failure_cause: z.string().describe(\"Error reason if generation failed\").nullable().optional(),\n public_share_link: z.string().describe(\"Permalink when share links are enabled\").nullable().optional(),\n document_template_id: z.string().describe(\"Identifier of the source document template (UUID)\").nullable(),\n document_template_identifier: z.string().describe(\"Name/identifier of the linked document template\").nullable(),\n}).passthrough().describe(\"Represents a DocumentCard record from PDFMonkey.\");\nexport const PdfmonkeyListDocumentCardsOutput = z.object({\n pagination: PdfmonkeyListDocumentCards_PaginationMetaSchema.nullable(),\n document_cards: z.array(PdfmonkeyListDocumentCards_DocumentCardSchema).describe(\"List of DocumentCards matching the request filters\"),\n}).passthrough().describe(\"Response model for ListDocumentCards\");\n\nexport const pdfmonkeyListDocumentCards: AppAction<\n typeof PdfmonkeyListDocumentCardsInput,\n typeof PdfmonkeyListDocumentCardsOutput,\n typeof pdfmonkey.credential\n> = action(\"PDFMONKEY_LIST_DOCUMENT_CARDS\", {\n slug: \"pdfmonkey-list-document-cards\",\n name: \"List DocumentCards\",\n description: \"Tool to list DocumentCards. Use when you need to retrieve multiple DocumentCards with optional pagination and filtering by template, status, workspace, or update time.\",\n input: PdfmonkeyListDocumentCardsInput,\n output: PdfmonkeyListDocumentCardsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,kCAAkC,EAAE,OAAO;CACtD,QAAQ,EAAE,KAAK;EAAC;EAAW;EAAW;CAAO,CAAC,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAC/F,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACrF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CACvE,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CACzG,uBAAuB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;AAChH,CAAC,CAAC,CAAC,SAAS,+EAA+E;AAC3F,MAAM,kDAAkD,EAAE,OAAO;CAC/D,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACnF,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;AAC1E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AACtE,MAAM,gDAAgD,EAAE,OAAO;CAC7D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACnE,MAAM,EAAE,QAAQ,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAC1E,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAC1F,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CAC3E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAC9E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,mHAAmH,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3K,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CACxG,8BAA8B,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;AAChH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAAkD;AAM5E,MAAa,6BAIT,OAAO,iCAAiC;CAC1C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAd8C,EAAE,OAAO;EACvD,YAAY,gDAAgD,SAAS;EACrE,gBAAgB,EAAE,MAAM,6CAA6C,CAAC,CAAC,SAAS,oDAAoD;CACtI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-pdf-engines.cjs","names":["z","action"],"sources":["../../src/actions/list-pdf-engines.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PdfmonkeyListPdfEnginesInput = z.object({}).describe(\"Empty request model for LIST_PDF_ENGINES action.\");\nconst PdfmonkeyListPdfEngines_EnginesMetaSchema = z.object({\n next_page: z.number().int().describe(\"Next page number, if any\").nullable().optional(),\n prev_page: z.number().int().describe(\"Previous page number, if any\").nullable().optional(),\n total_pages: z.number().int().describe(\"Total number of pages available\").nullable(),\n current_page: z.number().int().describe(\"Current page number\").nullable(),\n}).passthrough().describe(\"Pagination metadata for the list of PDF engines.\");\nconst PdfmonkeyListPdfEngines_PdfEngineSchema = z.object({\n id: z.string().describe(\"Unique identifier of the PDF engine (UUID). Use this ID when creating templates or documents.\").nullable(),\n name: z.string().describe(\"Name/version label of the PDF engine (e.g., 'v2', 'v3', 'v4', 'v5')\").nullable(),\n version: z.number().describe(\"Numeric version number of the PDF engine (e.g., 2.0, 3.0, 4.0, 5.0)\").nullable().optional(),\n deprecated_on: z.string().describe(\"Date when this engine was deprecated (YYYY-MM-DD format), null if not deprecated\").nullable().optional(),\n}).passthrough().describe(\"Represents a single PDF engine and its deprecation status.\");\nexport const PdfmonkeyListPdfEnginesOutput = z.object({\n meta: PdfmonkeyListPdfEngines_EnginesMetaSchema.nullable(),\n pdf_engines: z.array(PdfmonkeyListPdfEngines_PdfEngineSchema).describe(\"List of available PDF engines with deprecation info\"),\n}).passthrough().describe(\"Response model for LIST_PDF_ENGINES action.\");\n\nexport const pdfmonkeyListPdfEngines = action(\"PDFMONKEY_LIST_PDF_ENGINES\", {\n slug: \"pdfmonkey-list-pdf-engines\",\n name: \"List PDF Engines\",\n description: \"Lists all available PDF rendering engines in PDFMonkey. Returns engine IDs, version names, numeric versions, and deprecation status. Use this to select a PDF engine when creating templates or generating documents. Recommended: Use the latest non-deprecated engine (e.g., v5 or highest version).\",\n input: PdfmonkeyListPdfEnginesInput,\n output: PdfmonkeyListPdfEnginesOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-pdf-engines.cjs","names":["z","action"],"sources":["../../src/actions/list-pdf-engines.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { pdfmonkey } from \"../app\";\n\nexport const PdfmonkeyListPdfEnginesInput = z.object({}).describe(\"Empty request model for LIST_PDF_ENGINES action.\");\nconst PdfmonkeyListPdfEngines_EnginesMetaSchema = z.object({\n next_page: z.number().int().describe(\"Next page number, if any\").nullable().optional(),\n prev_page: z.number().int().describe(\"Previous page number, if any\").nullable().optional(),\n total_pages: z.number().int().describe(\"Total number of pages available\").nullable(),\n current_page: z.number().int().describe(\"Current page number\").nullable(),\n}).passthrough().describe(\"Pagination metadata for the list of PDF engines.\");\nconst PdfmonkeyListPdfEngines_PdfEngineSchema = z.object({\n id: z.string().describe(\"Unique identifier of the PDF engine (UUID). Use this ID when creating templates or documents.\").nullable(),\n name: z.string().describe(\"Name/version label of the PDF engine (e.g., 'v2', 'v3', 'v4', 'v5')\").nullable(),\n version: z.number().describe(\"Numeric version number of the PDF engine (e.g., 2.0, 3.0, 4.0, 5.0)\").nullable().optional(),\n deprecated_on: z.string().describe(\"Date when this engine was deprecated (YYYY-MM-DD format), null if not deprecated\").nullable().optional(),\n}).passthrough().describe(\"Represents a single PDF engine and its deprecation status.\");\nexport const PdfmonkeyListPdfEnginesOutput = z.object({\n meta: PdfmonkeyListPdfEngines_EnginesMetaSchema.nullable(),\n pdf_engines: z.array(PdfmonkeyListPdfEngines_PdfEngineSchema).describe(\"List of available PDF engines with deprecation info\"),\n}).passthrough().describe(\"Response model for LIST_PDF_ENGINES action.\");\n\nexport const pdfmonkeyListPdfEngines: AppAction<\n typeof PdfmonkeyListPdfEnginesInput,\n typeof PdfmonkeyListPdfEnginesOutput,\n typeof pdfmonkey.credential\n> = action(\"PDFMONKEY_LIST_PDF_ENGINES\", {\n slug: \"pdfmonkey-list-pdf-engines\",\n name: \"List PDF Engines\",\n description: \"Lists all available PDF rendering engines in PDFMonkey. Returns engine IDs, version names, numeric versions, and deprecation status. Use this to select a PDF engine when creating templates or generating documents. Recommended: Use the latest non-deprecated engine (e.g., v5 or highest version).\",\n input: PdfmonkeyListPdfEnginesInput,\n output: PdfmonkeyListPdfEnginesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,kDAAkD;AACpH,MAAM,4CAA4CA,IAAAA,EAAE,OAAO;CACzD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACnF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;AAC1E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAAkD;AAC5E,MAAM,0CAA0CA,IAAAA,EAAE,OAAO;CACvD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,SAAS;CAClI,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;CAC1G,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4DAA4D;AACtF,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,MAAM,0CAA0C,SAAS;CACzD,aAAaA,IAAAA,EAAE,MAAM,uCAAuC,CAAC,CAAC,SAAS,qDAAqD;AAC9H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AAEvE,MAAa,0BAITC,eAAAA,OAAO,8BAA8B;CACvC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { pdfmonkey } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-pdf-engines.d.ts
|
|
@@ -16,19 +18,7 @@ declare const PdfmonkeyListPdfEnginesOutput: z.ZodObject<{
|
|
|
16
18
|
deprecated_on: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
19
|
}, z.core.$loose>>;
|
|
18
20
|
}, z.core.$loose>;
|
|
19
|
-
declare const pdfmonkeyListPdfEngines:
|
|
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>>]>, readonly [import("@keystrokehq/shared").Credential<"pdfmonkey", z.ZodObject<{
|
|
26
|
-
connectionId: z.ZodString;
|
|
27
|
-
entityId: z.ZodString;
|
|
28
|
-
instanceId: z.ZodString;
|
|
29
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
30
|
-
generic_api_key: z.ZodString;
|
|
31
|
-
}, z.core.$strip>>]>;
|
|
21
|
+
declare const pdfmonkeyListPdfEngines: AppAction<typeof PdfmonkeyListPdfEnginesInput, typeof PdfmonkeyListPdfEnginesOutput, typeof pdfmonkey.credential>;
|
|
32
22
|
//#endregion
|
|
33
23
|
export { pdfmonkeyListPdfEngines };
|
|
34
24
|
//# sourceMappingURL=list-pdf-engines.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-pdf-engines.d.cts","names":[],"sources":["../../src/actions/list-pdf-engines.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-pdf-engines.d.cts","names":[],"sources":["../../src/actions/list-pdf-engines.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAa5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAK7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { pdfmonkey } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-pdf-engines.d.ts
|
|
@@ -16,19 +18,7 @@ declare const PdfmonkeyListPdfEnginesOutput: z.ZodObject<{
|
|
|
16
18
|
deprecated_on: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
19
|
}, z.core.$loose>>;
|
|
18
20
|
}, z.core.$loose>;
|
|
19
|
-
declare const pdfmonkeyListPdfEngines:
|
|
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>>]>, readonly [import("@keystrokehq/shared").Credential<"pdfmonkey", z.ZodObject<{
|
|
26
|
-
connectionId: z.ZodString;
|
|
27
|
-
entityId: z.ZodString;
|
|
28
|
-
instanceId: z.ZodString;
|
|
29
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
30
|
-
generic_api_key: z.ZodString;
|
|
31
|
-
}, z.core.$strip>>]>;
|
|
21
|
+
declare const pdfmonkeyListPdfEngines: AppAction<typeof PdfmonkeyListPdfEnginesInput, typeof PdfmonkeyListPdfEnginesOutput, typeof pdfmonkey.credential>;
|
|
32
22
|
//#endregion
|
|
33
23
|
export { pdfmonkeyListPdfEngines };
|
|
34
24
|
//# sourceMappingURL=list-pdf-engines.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-pdf-engines.d.mts","names":[],"sources":["../../src/actions/list-pdf-engines.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-pdf-engines.d.mts","names":[],"sources":["../../src/actions/list-pdf-engines.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAa5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAK7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-pdf-engines.mjs","names":[],"sources":["../../src/actions/list-pdf-engines.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PdfmonkeyListPdfEnginesInput = z.object({}).describe(\"Empty request model for LIST_PDF_ENGINES action.\");\nconst PdfmonkeyListPdfEngines_EnginesMetaSchema = z.object({\n next_page: z.number().int().describe(\"Next page number, if any\").nullable().optional(),\n prev_page: z.number().int().describe(\"Previous page number, if any\").nullable().optional(),\n total_pages: z.number().int().describe(\"Total number of pages available\").nullable(),\n current_page: z.number().int().describe(\"Current page number\").nullable(),\n}).passthrough().describe(\"Pagination metadata for the list of PDF engines.\");\nconst PdfmonkeyListPdfEngines_PdfEngineSchema = z.object({\n id: z.string().describe(\"Unique identifier of the PDF engine (UUID). Use this ID when creating templates or documents.\").nullable(),\n name: z.string().describe(\"Name/version label of the PDF engine (e.g., 'v2', 'v3', 'v4', 'v5')\").nullable(),\n version: z.number().describe(\"Numeric version number of the PDF engine (e.g., 2.0, 3.0, 4.0, 5.0)\").nullable().optional(),\n deprecated_on: z.string().describe(\"Date when this engine was deprecated (YYYY-MM-DD format), null if not deprecated\").nullable().optional(),\n}).passthrough().describe(\"Represents a single PDF engine and its deprecation status.\");\nexport const PdfmonkeyListPdfEnginesOutput = z.object({\n meta: PdfmonkeyListPdfEngines_EnginesMetaSchema.nullable(),\n pdf_engines: z.array(PdfmonkeyListPdfEngines_PdfEngineSchema).describe(\"List of available PDF engines with deprecation info\"),\n}).passthrough().describe(\"Response model for LIST_PDF_ENGINES action.\");\n\nexport const pdfmonkeyListPdfEngines = action(\"PDFMONKEY_LIST_PDF_ENGINES\", {\n slug: \"pdfmonkey-list-pdf-engines\",\n name: \"List PDF Engines\",\n description: \"Lists all available PDF rendering engines in PDFMonkey. Returns engine IDs, version names, numeric versions, and deprecation status. Use this to select a PDF engine when creating templates or generating documents. Recommended: Use the latest non-deprecated engine (e.g., v5 or highest version).\",\n input: PdfmonkeyListPdfEnginesInput,\n output: PdfmonkeyListPdfEnginesOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-pdf-engines.mjs","names":[],"sources":["../../src/actions/list-pdf-engines.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { pdfmonkey } from \"../app\";\n\nexport const PdfmonkeyListPdfEnginesInput = z.object({}).describe(\"Empty request model for LIST_PDF_ENGINES action.\");\nconst PdfmonkeyListPdfEngines_EnginesMetaSchema = z.object({\n next_page: z.number().int().describe(\"Next page number, if any\").nullable().optional(),\n prev_page: z.number().int().describe(\"Previous page number, if any\").nullable().optional(),\n total_pages: z.number().int().describe(\"Total number of pages available\").nullable(),\n current_page: z.number().int().describe(\"Current page number\").nullable(),\n}).passthrough().describe(\"Pagination metadata for the list of PDF engines.\");\nconst PdfmonkeyListPdfEngines_PdfEngineSchema = z.object({\n id: z.string().describe(\"Unique identifier of the PDF engine (UUID). Use this ID when creating templates or documents.\").nullable(),\n name: z.string().describe(\"Name/version label of the PDF engine (e.g., 'v2', 'v3', 'v4', 'v5')\").nullable(),\n version: z.number().describe(\"Numeric version number of the PDF engine (e.g., 2.0, 3.0, 4.0, 5.0)\").nullable().optional(),\n deprecated_on: z.string().describe(\"Date when this engine was deprecated (YYYY-MM-DD format), null if not deprecated\").nullable().optional(),\n}).passthrough().describe(\"Represents a single PDF engine and its deprecation status.\");\nexport const PdfmonkeyListPdfEnginesOutput = z.object({\n meta: PdfmonkeyListPdfEngines_EnginesMetaSchema.nullable(),\n pdf_engines: z.array(PdfmonkeyListPdfEngines_PdfEngineSchema).describe(\"List of available PDF engines with deprecation info\"),\n}).passthrough().describe(\"Response model for LIST_PDF_ENGINES action.\");\n\nexport const pdfmonkeyListPdfEngines: AppAction<\n typeof PdfmonkeyListPdfEnginesInput,\n typeof PdfmonkeyListPdfEnginesOutput,\n typeof pdfmonkey.credential\n> = action(\"PDFMONKEY_LIST_PDF_ENGINES\", {\n slug: \"pdfmonkey-list-pdf-engines\",\n name: \"List PDF Engines\",\n description: \"Lists all available PDF rendering engines in PDFMonkey. Returns engine IDs, version names, numeric versions, and deprecation status. Use this to select a PDF engine when creating templates or generating documents. Recommended: Use the latest non-deprecated engine (e.g., v5 or highest version).\",\n input: PdfmonkeyListPdfEnginesInput,\n output: PdfmonkeyListPdfEnginesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,+BAA+B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,kDAAkD;AACpH,MAAM,4CAA4C,EAAE,OAAO;CACzD,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACnF,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;AAC1E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAAkD;AAC5E,MAAM,0CAA0C,EAAE,OAAO;CACvD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,SAAS;CAClI,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;CAC1G,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4DAA4D;AAMtF,MAAa,0BAIT,OAAO,8BAA8B;CACvC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAd2C,EAAE,OAAO;EACpD,MAAM,0CAA0C,SAAS;EACzD,aAAa,EAAE,MAAM,uCAAuC,CAAC,CAAC,SAAS,qDAAqD;CAC9H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAWhB;AACV,CAAC"}
|
|
@@ -1 +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 PdfmonkeyListTemplatesInput = z.object({\n page: z.number().int().describe(\"Page number to return (1-indexed). Defaults to 1 if not specified.\").optional(),\n sort: z.enum([\"identifier\", \"created_at\", \"updated_at\"]).describe(\"Attribute by which to sort results. Options: 'identifier', 'created_at', 'updated_at'. If not specified, defaults to API default sorting.\").optional(),\n folders: z.string().describe(\"Comma-separated folder IDs to filter templates; use 'none' to list only those in the root folder. If not provided, returns templates from all folders.\").optional(),\n workspace_id: z.string().describe(\"The workspace ID (UUID) to list templates from. Required to scope the query to a specific workspace. An incorrect UUID returns an empty list rather than an error, so verify the workspace_id before concluding no templates exist.\"),\n}).describe(\"Request model for LIST_TEMPLATES action.\");\nconst PdfmonkeyListTemplates_MetaSchema = z.object({\n next_page: z.number().int().describe(\"Next page number, if available\").nullable().optional(),\n prev_page: z.number().int().describe(\"Previous page number, if available\").nullable().optional(),\n total_pages: z.number().int().describe(\"Total number of pages available\").nullable(),\n current_page: z.number().int().describe(\"Current page number\").nullable(),\n}).passthrough();\nconst PdfmonkeyListTemplates_TemplateCardSchema = z.object({\n id: z.string().describe(\"Unique identifier (UUID) of the template card\").nullable(),\n app_id: z.string().describe(\"Workspace (application) UUID this template belongs to\").nullable(),\n is_draft: z.boolean().describe(\"True if the template is a draft, False if published\").nullable(),\n auth_token: z.string().describe(\"Auth token used for template-based document generation\").nullable(),\n created_at: z.string().describe(\"ISO 8601 timestamp when the template was created\").nullable(),\n identifier: z.string().describe(\"Human-readable template name/identifier\").nullable(),\n updated_at: z.string().describe(\"ISO 8601 timestamp when the template was last modified\").nullable(),\n output_type: z.string().describe(\"Output format type (e.g., 'pdf')\").nullable(),\n edition_mode: z.string().describe(\"Edition mode of the template (e.g., 'code' for code-based editing)\").nullable(),\n pdf_engine_name: z.string().describe(\"Name of the PDF rendering engine (e.g., 'v5')\").nullable(),\n template_folder_id: z.string().describe(\"UUID of the folder containing this template, null if in root\").nullable().optional(),\n pdf_engine_deprecated_on: z.string().describe(\"ISO timestamp when the PDF engine was deprecated, null if not deprecated\").nullable().optional(),\n template_folder_identifier: z.string().describe(\"Human-readable identifier of the containing folder, null if in root\").nullable().optional(),\n}).passthrough().describe(\"Represents a document template card in PDFMonkey.\");\nexport const PdfmonkeyListTemplatesOutput = z.object({\n meta: PdfmonkeyListTemplates_MetaSchema.nullable(),\n document_template_cards: z.array(PdfmonkeyListTemplates_TemplateCardSchema).describe(\"List of document template cards\"),\n}).passthrough();\n\nexport const pdfmonkeyListTemplates = action(\"PDFMONKEY_LIST_TEMPLATES\", {\n slug: \"pdfmonkey-list-templates\",\n name: \"List Template Cards\",\n description: \"List all document template cards for a workspace. Use this action to: - Retrieve all templates available in a workspace - Filter templates by folder (or get only root folder templates with folders='none') - Paginate through large template lists - Sort templates by identifier, creation date, or last update date Returns template cards with metadata including IDs, names, auth tokens, and timestamps.\",\n input: PdfmonkeyListTemplatesInput,\n output: PdfmonkeyListTemplatesOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-templates.cjs","names":["z","action"],"sources":["../../src/actions/list-templates.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { pdfmonkey } from \"../app\";\n\nexport const PdfmonkeyListTemplatesInput = z.object({\n page: z.number().int().describe(\"Page number to return (1-indexed). Defaults to 1 if not specified.\").optional(),\n sort: z.enum([\"identifier\", \"created_at\", \"updated_at\"]).describe(\"Attribute by which to sort results. Options: 'identifier', 'created_at', 'updated_at'. If not specified, defaults to API default sorting.\").optional(),\n folders: z.string().describe(\"Comma-separated folder IDs to filter templates; use 'none' to list only those in the root folder. If not provided, returns templates from all folders.\").optional(),\n workspace_id: z.string().describe(\"The workspace ID (UUID) to list templates from. Required to scope the query to a specific workspace. An incorrect UUID returns an empty list rather than an error, so verify the workspace_id before concluding no templates exist.\"),\n}).describe(\"Request model for LIST_TEMPLATES action.\");\nconst PdfmonkeyListTemplates_MetaSchema = z.object({\n next_page: z.number().int().describe(\"Next page number, if available\").nullable().optional(),\n prev_page: z.number().int().describe(\"Previous page number, if available\").nullable().optional(),\n total_pages: z.number().int().describe(\"Total number of pages available\").nullable(),\n current_page: z.number().int().describe(\"Current page number\").nullable(),\n}).passthrough();\nconst PdfmonkeyListTemplates_TemplateCardSchema = z.object({\n id: z.string().describe(\"Unique identifier (UUID) of the template card\").nullable(),\n app_id: z.string().describe(\"Workspace (application) UUID this template belongs to\").nullable(),\n is_draft: z.boolean().describe(\"True if the template is a draft, False if published\").nullable(),\n auth_token: z.string().describe(\"Auth token used for template-based document generation\").nullable(),\n created_at: z.string().describe(\"ISO 8601 timestamp when the template was created\").nullable(),\n identifier: z.string().describe(\"Human-readable template name/identifier\").nullable(),\n updated_at: z.string().describe(\"ISO 8601 timestamp when the template was last modified\").nullable(),\n output_type: z.string().describe(\"Output format type (e.g., 'pdf')\").nullable(),\n edition_mode: z.string().describe(\"Edition mode of the template (e.g., 'code' for code-based editing)\").nullable(),\n pdf_engine_name: z.string().describe(\"Name of the PDF rendering engine (e.g., 'v5')\").nullable(),\n template_folder_id: z.string().describe(\"UUID of the folder containing this template, null if in root\").nullable().optional(),\n pdf_engine_deprecated_on: z.string().describe(\"ISO timestamp when the PDF engine was deprecated, null if not deprecated\").nullable().optional(),\n template_folder_identifier: z.string().describe(\"Human-readable identifier of the containing folder, null if in root\").nullable().optional(),\n}).passthrough().describe(\"Represents a document template card in PDFMonkey.\");\nexport const PdfmonkeyListTemplatesOutput = z.object({\n meta: PdfmonkeyListTemplates_MetaSchema.nullable(),\n document_template_cards: z.array(PdfmonkeyListTemplates_TemplateCardSchema).describe(\"List of document template cards\"),\n}).passthrough();\n\nexport const pdfmonkeyListTemplates: AppAction<\n typeof PdfmonkeyListTemplatesInput,\n typeof PdfmonkeyListTemplatesOutput,\n typeof pdfmonkey.credential\n> = action(\"PDFMONKEY_LIST_TEMPLATES\", {\n slug: \"pdfmonkey-list-templates\",\n name: \"List Template Cards\",\n description: \"List all document template cards for a workspace. Use this action to: - Retrieve all templates available in a workspace - Filter templates by folder (or get only root folder templates with folders='none') - Paginate through large template lists - Sort templates by identifier, creation date, or last update date Returns template cards with metadata including IDs, names, auth tokens, and timestamps.\",\n input: PdfmonkeyListTemplatesInput,\n output: PdfmonkeyListTemplatesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;CAC/G,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAc;EAAc;CAAY,CAAC,CAAC,CAAC,SAAS,2IAA2I,CAAC,CAAC,SAAS;CACxN,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wJAAwJ,CAAC,CAAC,SAAS;CAChM,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qOAAqO;AACzQ,CAAC,CAAC,CAAC,SAAS,0CAA0C;AACtD,MAAM,oCAAoCA,IAAAA,EAAE,OAAO;CACjD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACnF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;AAC1E,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,4CAA4CA,IAAAA,EAAE,OAAO;CACzD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CAClF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CAC9F,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CAC/F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CACnG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CAC7F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACpF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CACnG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC9E,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;CACjH,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CAC/F,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5H,0BAA0BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9I,4BAA4BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAAmD;AAC7E,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,MAAM,kCAAkC,SAAS;CACjD,yBAAyBA,IAAAA,EAAE,MAAM,yCAAyC,CAAC,CAAC,SAAS,iCAAiC;AACxH,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 { pdfmonkey } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-templates.d.ts
|
|
@@ -34,24 +36,7 @@ declare const PdfmonkeyListTemplatesOutput: z.ZodObject<{
|
|
|
34
36
|
template_folder_identifier: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
35
37
|
}, z.core.$loose>>;
|
|
36
38
|
}, z.core.$loose>;
|
|
37
|
-
declare const pdfmonkeyListTemplates:
|
|
38
|
-
workspace_id: string;
|
|
39
|
-
page?: number | undefined;
|
|
40
|
-
sort?: "created_at" | "updated_at" | "identifier" | undefined;
|
|
41
|
-
folders?: string | undefined;
|
|
42
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"pdfmonkey", z.ZodObject<{
|
|
43
|
-
connectionId: z.ZodString;
|
|
44
|
-
entityId: z.ZodString;
|
|
45
|
-
instanceId: z.ZodString;
|
|
46
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
47
|
-
generic_api_key: z.ZodString;
|
|
48
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"pdfmonkey", z.ZodObject<{
|
|
49
|
-
connectionId: z.ZodString;
|
|
50
|
-
entityId: z.ZodString;
|
|
51
|
-
instanceId: z.ZodString;
|
|
52
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
53
|
-
generic_api_key: z.ZodString;
|
|
54
|
-
}, z.core.$strip>>]>;
|
|
39
|
+
declare const pdfmonkeyListTemplates: AppAction<typeof PdfmonkeyListTemplatesInput, typeof PdfmonkeyListTemplatesOutput, typeof pdfmonkey.credential>;
|
|
55
40
|
//#endregion
|
|
56
41
|
export { pdfmonkeyListTemplates };
|
|
57
42
|
//# sourceMappingURL=list-templates.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-templates.d.cts","names":[],"sources":["../../src/actions/list-templates.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-templates.d.cts","names":[],"sources":["../../src/actions/list-templates.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;cA2B3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;cAK5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { pdfmonkey } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-templates.d.ts
|
|
@@ -34,24 +36,7 @@ declare const PdfmonkeyListTemplatesOutput: z.ZodObject<{
|
|
|
34
36
|
template_folder_identifier: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
35
37
|
}, z.core.$loose>>;
|
|
36
38
|
}, z.core.$loose>;
|
|
37
|
-
declare const pdfmonkeyListTemplates:
|
|
38
|
-
workspace_id: string;
|
|
39
|
-
page?: number | undefined;
|
|
40
|
-
sort?: "created_at" | "updated_at" | "identifier" | undefined;
|
|
41
|
-
folders?: string | undefined;
|
|
42
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"pdfmonkey", z.ZodObject<{
|
|
43
|
-
connectionId: z.ZodString;
|
|
44
|
-
entityId: z.ZodString;
|
|
45
|
-
instanceId: z.ZodString;
|
|
46
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
47
|
-
generic_api_key: z.ZodString;
|
|
48
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"pdfmonkey", z.ZodObject<{
|
|
49
|
-
connectionId: z.ZodString;
|
|
50
|
-
entityId: z.ZodString;
|
|
51
|
-
instanceId: z.ZodString;
|
|
52
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
53
|
-
generic_api_key: z.ZodString;
|
|
54
|
-
}, z.core.$strip>>]>;
|
|
39
|
+
declare const pdfmonkeyListTemplates: AppAction<typeof PdfmonkeyListTemplatesInput, typeof PdfmonkeyListTemplatesOutput, typeof pdfmonkey.credential>;
|
|
55
40
|
//#endregion
|
|
56
41
|
export { pdfmonkeyListTemplates };
|
|
57
42
|
//# sourceMappingURL=list-templates.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-templates.d.mts","names":[],"sources":["../../src/actions/list-templates.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-templates.d.mts","names":[],"sources":["../../src/actions/list-templates.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;cA2B3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;cAK5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -1 +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 PdfmonkeyListTemplatesInput = z.object({\n page: z.number().int().describe(\"Page number to return (1-indexed). Defaults to 1 if not specified.\").optional(),\n sort: z.enum([\"identifier\", \"created_at\", \"updated_at\"]).describe(\"Attribute by which to sort results. Options: 'identifier', 'created_at', 'updated_at'. If not specified, defaults to API default sorting.\").optional(),\n folders: z.string().describe(\"Comma-separated folder IDs to filter templates; use 'none' to list only those in the root folder. If not provided, returns templates from all folders.\").optional(),\n workspace_id: z.string().describe(\"The workspace ID (UUID) to list templates from. Required to scope the query to a specific workspace. An incorrect UUID returns an empty list rather than an error, so verify the workspace_id before concluding no templates exist.\"),\n}).describe(\"Request model for LIST_TEMPLATES action.\");\nconst PdfmonkeyListTemplates_MetaSchema = z.object({\n next_page: z.number().int().describe(\"Next page number, if available\").nullable().optional(),\n prev_page: z.number().int().describe(\"Previous page number, if available\").nullable().optional(),\n total_pages: z.number().int().describe(\"Total number of pages available\").nullable(),\n current_page: z.number().int().describe(\"Current page number\").nullable(),\n}).passthrough();\nconst PdfmonkeyListTemplates_TemplateCardSchema = z.object({\n id: z.string().describe(\"Unique identifier (UUID) of the template card\").nullable(),\n app_id: z.string().describe(\"Workspace (application) UUID this template belongs to\").nullable(),\n is_draft: z.boolean().describe(\"True if the template is a draft, False if published\").nullable(),\n auth_token: z.string().describe(\"Auth token used for template-based document generation\").nullable(),\n created_at: z.string().describe(\"ISO 8601 timestamp when the template was created\").nullable(),\n identifier: z.string().describe(\"Human-readable template name/identifier\").nullable(),\n updated_at: z.string().describe(\"ISO 8601 timestamp when the template was last modified\").nullable(),\n output_type: z.string().describe(\"Output format type (e.g., 'pdf')\").nullable(),\n edition_mode: z.string().describe(\"Edition mode of the template (e.g., 'code' for code-based editing)\").nullable(),\n pdf_engine_name: z.string().describe(\"Name of the PDF rendering engine (e.g., 'v5')\").nullable(),\n template_folder_id: z.string().describe(\"UUID of the folder containing this template, null if in root\").nullable().optional(),\n pdf_engine_deprecated_on: z.string().describe(\"ISO timestamp when the PDF engine was deprecated, null if not deprecated\").nullable().optional(),\n template_folder_identifier: z.string().describe(\"Human-readable identifier of the containing folder, null if in root\").nullable().optional(),\n}).passthrough().describe(\"Represents a document template card in PDFMonkey.\");\nexport const PdfmonkeyListTemplatesOutput = z.object({\n meta: PdfmonkeyListTemplates_MetaSchema.nullable(),\n document_template_cards: z.array(PdfmonkeyListTemplates_TemplateCardSchema).describe(\"List of document template cards\"),\n}).passthrough();\n\nexport const pdfmonkeyListTemplates = action(\"PDFMONKEY_LIST_TEMPLATES\", {\n slug: \"pdfmonkey-list-templates\",\n name: \"List Template Cards\",\n description: \"List all document template cards for a workspace. Use this action to: - Retrieve all templates available in a workspace - Filter templates by folder (or get only root folder templates with folders='none') - Paginate through large template lists - Sort templates by identifier, creation date, or last update date Returns template cards with metadata including IDs, names, auth tokens, and timestamps.\",\n input: PdfmonkeyListTemplatesInput,\n output: PdfmonkeyListTemplatesOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-templates.mjs","names":[],"sources":["../../src/actions/list-templates.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { pdfmonkey } from \"../app\";\n\nexport const PdfmonkeyListTemplatesInput = z.object({\n page: z.number().int().describe(\"Page number to return (1-indexed). Defaults to 1 if not specified.\").optional(),\n sort: z.enum([\"identifier\", \"created_at\", \"updated_at\"]).describe(\"Attribute by which to sort results. Options: 'identifier', 'created_at', 'updated_at'. If not specified, defaults to API default sorting.\").optional(),\n folders: z.string().describe(\"Comma-separated folder IDs to filter templates; use 'none' to list only those in the root folder. If not provided, returns templates from all folders.\").optional(),\n workspace_id: z.string().describe(\"The workspace ID (UUID) to list templates from. Required to scope the query to a specific workspace. An incorrect UUID returns an empty list rather than an error, so verify the workspace_id before concluding no templates exist.\"),\n}).describe(\"Request model for LIST_TEMPLATES action.\");\nconst PdfmonkeyListTemplates_MetaSchema = z.object({\n next_page: z.number().int().describe(\"Next page number, if available\").nullable().optional(),\n prev_page: z.number().int().describe(\"Previous page number, if available\").nullable().optional(),\n total_pages: z.number().int().describe(\"Total number of pages available\").nullable(),\n current_page: z.number().int().describe(\"Current page number\").nullable(),\n}).passthrough();\nconst PdfmonkeyListTemplates_TemplateCardSchema = z.object({\n id: z.string().describe(\"Unique identifier (UUID) of the template card\").nullable(),\n app_id: z.string().describe(\"Workspace (application) UUID this template belongs to\").nullable(),\n is_draft: z.boolean().describe(\"True if the template is a draft, False if published\").nullable(),\n auth_token: z.string().describe(\"Auth token used for template-based document generation\").nullable(),\n created_at: z.string().describe(\"ISO 8601 timestamp when the template was created\").nullable(),\n identifier: z.string().describe(\"Human-readable template name/identifier\").nullable(),\n updated_at: z.string().describe(\"ISO 8601 timestamp when the template was last modified\").nullable(),\n output_type: z.string().describe(\"Output format type (e.g., 'pdf')\").nullable(),\n edition_mode: z.string().describe(\"Edition mode of the template (e.g., 'code' for code-based editing)\").nullable(),\n pdf_engine_name: z.string().describe(\"Name of the PDF rendering engine (e.g., 'v5')\").nullable(),\n template_folder_id: z.string().describe(\"UUID of the folder containing this template, null if in root\").nullable().optional(),\n pdf_engine_deprecated_on: z.string().describe(\"ISO timestamp when the PDF engine was deprecated, null if not deprecated\").nullable().optional(),\n template_folder_identifier: z.string().describe(\"Human-readable identifier of the containing folder, null if in root\").nullable().optional(),\n}).passthrough().describe(\"Represents a document template card in PDFMonkey.\");\nexport const PdfmonkeyListTemplatesOutput = z.object({\n meta: PdfmonkeyListTemplates_MetaSchema.nullable(),\n document_template_cards: z.array(PdfmonkeyListTemplates_TemplateCardSchema).describe(\"List of document template cards\"),\n}).passthrough();\n\nexport const pdfmonkeyListTemplates: AppAction<\n typeof PdfmonkeyListTemplatesInput,\n typeof PdfmonkeyListTemplatesOutput,\n typeof pdfmonkey.credential\n> = action(\"PDFMONKEY_LIST_TEMPLATES\", {\n slug: \"pdfmonkey-list-templates\",\n name: \"List Template Cards\",\n description: \"List all document template cards for a workspace. Use this action to: - Retrieve all templates available in a workspace - Filter templates by folder (or get only root folder templates with folders='none') - Paginate through large template lists - Sort templates by identifier, creation date, or last update date Returns template cards with metadata including IDs, names, auth tokens, and timestamps.\",\n input: PdfmonkeyListTemplatesInput,\n output: PdfmonkeyListTemplatesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,8BAA8B,EAAE,OAAO;CAClD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;CAC/G,MAAM,EAAE,KAAK;EAAC;EAAc;EAAc;CAAY,CAAC,CAAC,CAAC,SAAS,2IAA2I,CAAC,CAAC,SAAS;CACxN,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,wJAAwJ,CAAC,CAAC,SAAS;CAChM,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,qOAAqO;AACzQ,CAAC,CAAC,CAAC,SAAS,0CAA0C;AACtD,MAAM,oCAAoC,EAAE,OAAO;CACjD,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACnF,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;AAC1E,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,4CAA4C,EAAE,OAAO;CACzD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CAClF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CAC9F,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CAC/F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CACnG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CAC7F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACpF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CACnG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC9E,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;CACjH,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CAC/F,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5H,0BAA0B,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9I,4BAA4B,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAAmD;AAM7E,MAAa,yBAIT,OAAO,4BAA4B;CACrC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAd0C,EAAE,OAAO;EACnD,MAAM,kCAAkC,SAAS;EACjD,yBAAyB,EAAE,MAAM,yCAAyC,CAAC,CAAC,SAAS,iCAAiC;CACxH,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-workspaces.cjs","names":["z","action"],"sources":["../../src/actions/list-workspaces.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PdfmonkeyListWorkspacesInput = z.object({}).describe(\"Empty request model for listing workspaces (applications) for the user.\\nYou may pass extra fields; they will be ignored.\");\nconst PdfmonkeyListWorkspaces_WorkspaceSchema = z.object({\n id: z.string().describe(\"Unique identifier of the workspace (application)\").nullable(),\n name: z.string().describe(\"Name of the workspace (application)\").nullable(),\n}).passthrough().describe(\"Represents a single workspace (application) in PDFMonkey.\");\nexport const PdfmonkeyListWorkspacesOutput = z.object({\n applications: z.array(PdfmonkeyListWorkspaces_WorkspaceSchema).describe(\"List of workspaces (applications) available to the user\"),\n}).passthrough().describe(\"Response model for LIST_WORKSPACES action.\");\n\nexport const pdfmonkeyListWorkspaces = action(\"PDFMONKEY_LIST_WORKSPACES\", {\n slug: \"pdfmonkey-list-workspaces\",\n name: \"List Workspaces\",\n description: \"Tool to list workspaces (applications). Use when you need all available workspaces for the authenticated user after login.\",\n input: PdfmonkeyListWorkspacesInput,\n output: PdfmonkeyListWorkspacesOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-workspaces.cjs","names":["z","action"],"sources":["../../src/actions/list-workspaces.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { pdfmonkey } from \"../app\";\n\nexport const PdfmonkeyListWorkspacesInput = z.object({}).describe(\"Empty request model for listing workspaces (applications) for the user.\\nYou may pass extra fields; they will be ignored.\");\nconst PdfmonkeyListWorkspaces_WorkspaceSchema = z.object({\n id: z.string().describe(\"Unique identifier of the workspace (application)\").nullable(),\n name: z.string().describe(\"Name of the workspace (application)\").nullable(),\n}).passthrough().describe(\"Represents a single workspace (application) in PDFMonkey.\");\nexport const PdfmonkeyListWorkspacesOutput = z.object({\n applications: z.array(PdfmonkeyListWorkspaces_WorkspaceSchema).describe(\"List of workspaces (applications) available to the user\"),\n}).passthrough().describe(\"Response model for LIST_WORKSPACES action.\");\n\nexport const pdfmonkeyListWorkspaces: AppAction<\n typeof PdfmonkeyListWorkspacesInput,\n typeof PdfmonkeyListWorkspacesOutput,\n typeof pdfmonkey.credential\n> = action(\"PDFMONKEY_LIST_WORKSPACES\", {\n slug: \"pdfmonkey-list-workspaces\",\n name: \"List Workspaces\",\n description: \"Tool to list workspaces (applications). Use when you need all available workspaces for the authenticated user after login.\",\n input: PdfmonkeyListWorkspacesInput,\n output: PdfmonkeyListWorkspacesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,2HAA2H;AAC7L,MAAM,0CAA0CA,IAAAA,EAAE,OAAO;CACvD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CACrF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;AAC5E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2DAA2D;AACrF,MAAa,gCAAgCA,IAAAA,EAAE,OAAO,EACpD,cAAcA,IAAAA,EAAE,MAAM,uCAAuC,CAAC,CAAC,SAAS,yDAAyD,EACnI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AAEtE,MAAa,0BAITC,eAAAA,OAAO,6BAA6B;CACtC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { pdfmonkey } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-workspaces.d.ts
|
|
@@ -8,19 +10,7 @@ declare const PdfmonkeyListWorkspacesOutput: z.ZodObject<{
|
|
|
8
10
|
name: z.ZodNullable<z.ZodString>;
|
|
9
11
|
}, z.core.$loose>>;
|
|
10
12
|
}, z.core.$loose>;
|
|
11
|
-
declare const pdfmonkeyListWorkspaces:
|
|
12
|
-
connectionId: z.ZodString;
|
|
13
|
-
entityId: z.ZodString;
|
|
14
|
-
instanceId: z.ZodString;
|
|
15
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
16
|
-
generic_api_key: z.ZodString;
|
|
17
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"pdfmonkey", z.ZodObject<{
|
|
18
|
-
connectionId: z.ZodString;
|
|
19
|
-
entityId: z.ZodString;
|
|
20
|
-
instanceId: z.ZodString;
|
|
21
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
22
|
-
generic_api_key: z.ZodString;
|
|
23
|
-
}, z.core.$strip>>]>;
|
|
13
|
+
declare const pdfmonkeyListWorkspaces: AppAction<typeof PdfmonkeyListWorkspacesInput, typeof PdfmonkeyListWorkspacesOutput, typeof pdfmonkey.credential>;
|
|
24
14
|
//#endregion
|
|
25
15
|
export { pdfmonkeyListWorkspaces };
|
|
26
16
|
//# sourceMappingURL=list-workspaces.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-workspaces.d.cts","names":[],"sources":["../../src/actions/list-workspaces.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-workspaces.d.cts","names":[],"sources":["../../src/actions/list-workspaces.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAK5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;cAI7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { pdfmonkey } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-workspaces.d.ts
|
|
@@ -8,19 +10,7 @@ declare const PdfmonkeyListWorkspacesOutput: z.ZodObject<{
|
|
|
8
10
|
name: z.ZodNullable<z.ZodString>;
|
|
9
11
|
}, z.core.$loose>>;
|
|
10
12
|
}, z.core.$loose>;
|
|
11
|
-
declare const pdfmonkeyListWorkspaces:
|
|
12
|
-
connectionId: z.ZodString;
|
|
13
|
-
entityId: z.ZodString;
|
|
14
|
-
instanceId: z.ZodString;
|
|
15
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
16
|
-
generic_api_key: z.ZodString;
|
|
17
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"pdfmonkey", z.ZodObject<{
|
|
18
|
-
connectionId: z.ZodString;
|
|
19
|
-
entityId: z.ZodString;
|
|
20
|
-
instanceId: z.ZodString;
|
|
21
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
22
|
-
generic_api_key: z.ZodString;
|
|
23
|
-
}, z.core.$strip>>]>;
|
|
13
|
+
declare const pdfmonkeyListWorkspaces: AppAction<typeof PdfmonkeyListWorkspacesInput, typeof PdfmonkeyListWorkspacesOutput, typeof pdfmonkey.credential>;
|
|
24
14
|
//#endregion
|
|
25
15
|
export { pdfmonkeyListWorkspaces };
|
|
26
16
|
//# sourceMappingURL=list-workspaces.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-workspaces.d.mts","names":[],"sources":["../../src/actions/list-workspaces.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-workspaces.d.mts","names":[],"sources":["../../src/actions/list-workspaces.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAK5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;cAI7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-workspaces.mjs","names":[],"sources":["../../src/actions/list-workspaces.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PdfmonkeyListWorkspacesInput = z.object({}).describe(\"Empty request model for listing workspaces (applications) for the user.\\nYou may pass extra fields; they will be ignored.\");\nconst PdfmonkeyListWorkspaces_WorkspaceSchema = z.object({\n id: z.string().describe(\"Unique identifier of the workspace (application)\").nullable(),\n name: z.string().describe(\"Name of the workspace (application)\").nullable(),\n}).passthrough().describe(\"Represents a single workspace (application) in PDFMonkey.\");\nexport const PdfmonkeyListWorkspacesOutput = z.object({\n applications: z.array(PdfmonkeyListWorkspaces_WorkspaceSchema).describe(\"List of workspaces (applications) available to the user\"),\n}).passthrough().describe(\"Response model for LIST_WORKSPACES action.\");\n\nexport const pdfmonkeyListWorkspaces = action(\"PDFMONKEY_LIST_WORKSPACES\", {\n slug: \"pdfmonkey-list-workspaces\",\n name: \"List Workspaces\",\n description: \"Tool to list workspaces (applications). Use when you need all available workspaces for the authenticated user after login.\",\n input: PdfmonkeyListWorkspacesInput,\n output: PdfmonkeyListWorkspacesOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-workspaces.mjs","names":[],"sources":["../../src/actions/list-workspaces.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { pdfmonkey } from \"../app\";\n\nexport const PdfmonkeyListWorkspacesInput = z.object({}).describe(\"Empty request model for listing workspaces (applications) for the user.\\nYou may pass extra fields; they will be ignored.\");\nconst PdfmonkeyListWorkspaces_WorkspaceSchema = z.object({\n id: z.string().describe(\"Unique identifier of the workspace (application)\").nullable(),\n name: z.string().describe(\"Name of the workspace (application)\").nullable(),\n}).passthrough().describe(\"Represents a single workspace (application) in PDFMonkey.\");\nexport const PdfmonkeyListWorkspacesOutput = z.object({\n applications: z.array(PdfmonkeyListWorkspaces_WorkspaceSchema).describe(\"List of workspaces (applications) available to the user\"),\n}).passthrough().describe(\"Response model for LIST_WORKSPACES action.\");\n\nexport const pdfmonkeyListWorkspaces: AppAction<\n typeof PdfmonkeyListWorkspacesInput,\n typeof PdfmonkeyListWorkspacesOutput,\n typeof pdfmonkey.credential\n> = action(\"PDFMONKEY_LIST_WORKSPACES\", {\n slug: \"pdfmonkey-list-workspaces\",\n name: \"List Workspaces\",\n description: \"Tool to list workspaces (applications). Use when you need all available workspaces for the authenticated user after login.\",\n input: PdfmonkeyListWorkspacesInput,\n output: PdfmonkeyListWorkspacesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,+BAA+B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,2HAA2H;AAC7L,MAAM,0CAA0C,EAAE,OAAO;CACvD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CACrF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;AAC5E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2DAA2D;AAKrF,MAAa,0BAIT,OAAO,6BAA6B;CACtC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAb2C,EAAE,OAAO,EACpD,cAAc,EAAE,MAAM,uCAAuC,CAAC,CAAC,SAAS,yDAAyD,EACnI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"preview-template.cjs","names":["z","action"],"sources":["../../src/actions/preview-template.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PdfmonkeyPreviewTemplateInput = z.object({\n preview_url: z.string().describe(\"The preview_url from a Template object (obtained via Get Template or List Templates). This URL points to PDFMonkey's PDF viewer page that displays the rendered template draft. Example format: https://preview.pdfmonkey.io/pdf/web/viewer.html?file=...\"),\n}).describe(\"Request model for PREVIEW_TEMPLATE action.\");\nconst PdfmonkeyPreviewTemplate_FileDownloadableSchema = z.object({\n name: z.string().describe(\"Name of the file\").nullable(),\n s3url: z.string().describe(\"S3 URL of the downloaded file.\").nullable(),\n mimetype: z.string().describe(\"Mime type of the file.\").nullable(),\n}).passthrough();\nexport const PdfmonkeyPreviewTemplateOutput = z.object({\n content: PdfmonkeyPreviewTemplate_FileDownloadableSchema.nullable(),\n}).passthrough().describe(\"Response model for PREVIEW_TEMPLATE action.\");\n\nexport const pdfmonkeyPreviewTemplate = action(\"PDFMONKEY_PREVIEW_TEMPLATE\", {\n slug: \"pdfmonkey-preview-template\",\n name: \"Preview Template\",\n description: \"Fetches the template preview viewer page from PDFMonkey's preview_url. Returns an HTML viewer page that displays the rendered template draft. Use this after obtaining a template's preview_url via Get Template or List Templates.\",\n input: PdfmonkeyPreviewTemplateInput,\n output: PdfmonkeyPreviewTemplateOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"preview-template.cjs","names":["z","action"],"sources":["../../src/actions/preview-template.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { pdfmonkey } from \"../app\";\n\nexport const PdfmonkeyPreviewTemplateInput = z.object({\n preview_url: z.string().describe(\"The preview_url from a Template object (obtained via Get Template or List Templates). This URL points to PDFMonkey's PDF viewer page that displays the rendered template draft. Example format: https://preview.pdfmonkey.io/pdf/web/viewer.html?file=...\"),\n}).describe(\"Request model for PREVIEW_TEMPLATE action.\");\nconst PdfmonkeyPreviewTemplate_FileDownloadableSchema = z.object({\n name: z.string().describe(\"Name of the file\").nullable(),\n s3url: z.string().describe(\"S3 URL of the downloaded file.\").nullable(),\n mimetype: z.string().describe(\"Mime type of the file.\").nullable(),\n}).passthrough();\nexport const PdfmonkeyPreviewTemplateOutput = z.object({\n content: PdfmonkeyPreviewTemplate_FileDownloadableSchema.nullable(),\n}).passthrough().describe(\"Response model for PREVIEW_TEMPLATE action.\");\n\nexport const pdfmonkeyPreviewTemplate: AppAction<\n typeof PdfmonkeyPreviewTemplateInput,\n typeof PdfmonkeyPreviewTemplateOutput,\n typeof pdfmonkey.credential\n> = action(\"PDFMONKEY_PREVIEW_TEMPLATE\", {\n slug: \"pdfmonkey-preview-template\",\n name: \"Preview Template\",\n description: \"Fetches the template preview viewer page from PDFMonkey's preview_url. Returns an HTML viewer page that displays the rendered template draft. Use this after obtaining a template's preview_url via Get Template or List Templates.\",\n input: PdfmonkeyPreviewTemplateInput,\n output: PdfmonkeyPreviewTemplateOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO,EACpD,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2PAA2P,EAC9R,CAAC,CAAC,CAAC,SAAS,4CAA4C;AACxD,MAAM,kDAAkDA,IAAAA,EAAE,OAAO;CAC/D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CACvD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACtE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;AACnE,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,EACrD,SAAS,gDAAgD,SAAS,EACpE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AAEvE,MAAa,2BAITC,eAAAA,OAAO,8BAA8B;CACvC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { pdfmonkey } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/preview-template.d.ts
|
|
@@ -11,21 +13,7 @@ declare const PdfmonkeyPreviewTemplateOutput: z.ZodObject<{
|
|
|
11
13
|
mimetype: z.ZodNullable<z.ZodString>;
|
|
12
14
|
}, z.core.$loose>>;
|
|
13
15
|
}, z.core.$loose>;
|
|
14
|
-
declare const pdfmonkeyPreviewTemplate:
|
|
15
|
-
preview_url: string;
|
|
16
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"pdfmonkey", z.ZodObject<{
|
|
17
|
-
connectionId: z.ZodString;
|
|
18
|
-
entityId: z.ZodString;
|
|
19
|
-
instanceId: z.ZodString;
|
|
20
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
21
|
-
generic_api_key: z.ZodString;
|
|
22
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"pdfmonkey", z.ZodObject<{
|
|
23
|
-
connectionId: z.ZodString;
|
|
24
|
-
entityId: z.ZodString;
|
|
25
|
-
instanceId: z.ZodString;
|
|
26
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
27
|
-
generic_api_key: z.ZodString;
|
|
28
|
-
}, z.core.$strip>>]>;
|
|
16
|
+
declare const pdfmonkeyPreviewTemplate: AppAction<typeof PdfmonkeyPreviewTemplateInput, typeof PdfmonkeyPreviewTemplateOutput, typeof pdfmonkey.credential>;
|
|
29
17
|
//#endregion
|
|
30
18
|
export { pdfmonkeyPreviewTemplate };
|
|
31
19
|
//# sourceMappingURL=preview-template.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"preview-template.d.cts","names":[],"sources":["../../src/actions/preview-template.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"preview-template.d.cts","names":[],"sources":["../../src/actions/preview-template.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;cAQ7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;cAI9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { pdfmonkey } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/preview-template.d.ts
|
|
@@ -11,21 +13,7 @@ declare const PdfmonkeyPreviewTemplateOutput: z.ZodObject<{
|
|
|
11
13
|
mimetype: z.ZodNullable<z.ZodString>;
|
|
12
14
|
}, z.core.$loose>>;
|
|
13
15
|
}, z.core.$loose>;
|
|
14
|
-
declare const pdfmonkeyPreviewTemplate:
|
|
15
|
-
preview_url: string;
|
|
16
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"pdfmonkey", z.ZodObject<{
|
|
17
|
-
connectionId: z.ZodString;
|
|
18
|
-
entityId: z.ZodString;
|
|
19
|
-
instanceId: z.ZodString;
|
|
20
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
21
|
-
generic_api_key: z.ZodString;
|
|
22
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"pdfmonkey", z.ZodObject<{
|
|
23
|
-
connectionId: z.ZodString;
|
|
24
|
-
entityId: z.ZodString;
|
|
25
|
-
instanceId: z.ZodString;
|
|
26
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
27
|
-
generic_api_key: z.ZodString;
|
|
28
|
-
}, z.core.$strip>>]>;
|
|
16
|
+
declare const pdfmonkeyPreviewTemplate: AppAction<typeof PdfmonkeyPreviewTemplateInput, typeof PdfmonkeyPreviewTemplateOutput, typeof pdfmonkey.credential>;
|
|
29
17
|
//#endregion
|
|
30
18
|
export { pdfmonkeyPreviewTemplate };
|
|
31
19
|
//# sourceMappingURL=preview-template.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"preview-template.d.mts","names":[],"sources":["../../src/actions/preview-template.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"preview-template.d.mts","names":[],"sources":["../../src/actions/preview-template.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;cAQ7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;cAI9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"preview-template.mjs","names":[],"sources":["../../src/actions/preview-template.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PdfmonkeyPreviewTemplateInput = z.object({\n preview_url: z.string().describe(\"The preview_url from a Template object (obtained via Get Template or List Templates). This URL points to PDFMonkey's PDF viewer page that displays the rendered template draft. Example format: https://preview.pdfmonkey.io/pdf/web/viewer.html?file=...\"),\n}).describe(\"Request model for PREVIEW_TEMPLATE action.\");\nconst PdfmonkeyPreviewTemplate_FileDownloadableSchema = z.object({\n name: z.string().describe(\"Name of the file\").nullable(),\n s3url: z.string().describe(\"S3 URL of the downloaded file.\").nullable(),\n mimetype: z.string().describe(\"Mime type of the file.\").nullable(),\n}).passthrough();\nexport const PdfmonkeyPreviewTemplateOutput = z.object({\n content: PdfmonkeyPreviewTemplate_FileDownloadableSchema.nullable(),\n}).passthrough().describe(\"Response model for PREVIEW_TEMPLATE action.\");\n\nexport const pdfmonkeyPreviewTemplate = action(\"PDFMONKEY_PREVIEW_TEMPLATE\", {\n slug: \"pdfmonkey-preview-template\",\n name: \"Preview Template\",\n description: \"Fetches the template preview viewer page from PDFMonkey's preview_url. Returns an HTML viewer page that displays the rendered template draft. Use this after obtaining a template's preview_url via Get Template or List Templates.\",\n input: PdfmonkeyPreviewTemplateInput,\n output: PdfmonkeyPreviewTemplateOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"preview-template.mjs","names":[],"sources":["../../src/actions/preview-template.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { pdfmonkey } from \"../app\";\n\nexport const PdfmonkeyPreviewTemplateInput = z.object({\n preview_url: z.string().describe(\"The preview_url from a Template object (obtained via Get Template or List Templates). This URL points to PDFMonkey's PDF viewer page that displays the rendered template draft. Example format: https://preview.pdfmonkey.io/pdf/web/viewer.html?file=...\"),\n}).describe(\"Request model for PREVIEW_TEMPLATE action.\");\nconst PdfmonkeyPreviewTemplate_FileDownloadableSchema = z.object({\n name: z.string().describe(\"Name of the file\").nullable(),\n s3url: z.string().describe(\"S3 URL of the downloaded file.\").nullable(),\n mimetype: z.string().describe(\"Mime type of the file.\").nullable(),\n}).passthrough();\nexport const PdfmonkeyPreviewTemplateOutput = z.object({\n content: PdfmonkeyPreviewTemplate_FileDownloadableSchema.nullable(),\n}).passthrough().describe(\"Response model for PREVIEW_TEMPLATE action.\");\n\nexport const pdfmonkeyPreviewTemplate: AppAction<\n typeof PdfmonkeyPreviewTemplateInput,\n typeof PdfmonkeyPreviewTemplateOutput,\n typeof pdfmonkey.credential\n> = action(\"PDFMONKEY_PREVIEW_TEMPLATE\", {\n slug: \"pdfmonkey-preview-template\",\n name: \"Preview Template\",\n description: \"Fetches the template preview viewer page from PDFMonkey's preview_url. Returns an HTML viewer page that displays the rendered template draft. Use this after obtaining a template's preview_url via Get Template or List Templates.\",\n input: PdfmonkeyPreviewTemplateInput,\n output: PdfmonkeyPreviewTemplateOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,gCAAgC,EAAE,OAAO,EACpD,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,2PAA2P,EAC9R,CAAC,CAAC,CAAC,SAAS,4CAA4C;AACxD,MAAM,kDAAkD,EAAE,OAAO;CAC/D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CACvD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACtE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;AACnE,CAAC,CAAC,CAAC,YAAY;AAKf,MAAa,2BAIT,OAAO,8BAA8B;CACvC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAb4C,EAAE,OAAO,EACrD,SAAS,gDAAgD,SAAS,EACpE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAWhB;AACV,CAAC"}
|