@keystrokehq/signaturely 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-folder.cjs +1 -0
- package/dist/actions/create-folder.cjs.map +1 -1
- package/dist/actions/create-folder.d.cts +3 -15
- package/dist/actions/create-folder.d.cts.map +1 -1
- package/dist/actions/create-folder.d.mts +3 -15
- package/dist/actions/create-folder.d.mts.map +1 -1
- package/dist/actions/create-folder.mjs +1 -0
- package/dist/actions/create-folder.mjs.map +1 -1
- package/dist/actions/get-current-user.cjs +1 -0
- package/dist/actions/get-current-user.cjs.map +1 -1
- package/dist/actions/get-current-user.d.cts +4 -14
- package/dist/actions/get-current-user.d.cts.map +1 -1
- package/dist/actions/get-current-user.d.mts +4 -14
- 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-folder.cjs +1 -0
- package/dist/actions/get-folder.cjs.map +1 -1
- package/dist/actions/get-folder.d.cts +3 -15
- package/dist/actions/get-folder.d.cts.map +1 -1
- package/dist/actions/get-folder.d.mts +3 -15
- package/dist/actions/get-folder.d.mts.map +1 -1
- package/dist/actions/get-folder.mjs +1 -0
- package/dist/actions/get-folder.mjs.map +1 -1
- package/dist/actions/get-recent-document.cjs +1 -0
- package/dist/actions/get-recent-document.cjs.map +1 -1
- package/dist/actions/get-recent-document.d.cts +3 -15
- package/dist/actions/get-recent-document.d.cts.map +1 -1
- package/dist/actions/get-recent-document.d.mts +3 -15
- package/dist/actions/get-recent-document.d.mts.map +1 -1
- package/dist/actions/get-recent-document.mjs +1 -0
- package/dist/actions/get-recent-document.mjs.map +1 -1
- package/dist/actions/list-documents.cjs +1 -0
- package/dist/actions/list-documents.cjs.map +1 -1
- package/dist/actions/list-documents.d.cts +3 -21
- package/dist/actions/list-documents.d.cts.map +1 -1
- package/dist/actions/list-documents.d.mts +3 -21
- package/dist/actions/list-documents.d.mts.map +1 -1
- package/dist/actions/list-documents.mjs +1 -0
- package/dist/actions/list-documents.mjs.map +1 -1
- package/dist/actions/list-folders.cjs +1 -0
- package/dist/actions/list-folders.cjs.map +1 -1
- package/dist/actions/list-folders.d.cts +3 -16
- package/dist/actions/list-folders.d.cts.map +1 -1
- package/dist/actions/list-folders.d.mts +3 -16
- package/dist/actions/list-folders.d.mts.map +1 -1
- package/dist/actions/list-folders.mjs +1 -0
- package/dist/actions/list-folders.mjs.map +1 -1
- package/dist/actions/list-team-members.cjs +1 -0
- package/dist/actions/list-team-members.cjs.map +1 -1
- package/dist/actions/list-team-members.d.cts +3 -13
- package/dist/actions/list-team-members.d.cts.map +1 -1
- package/dist/actions/list-team-members.d.mts +3 -13
- package/dist/actions/list-team-members.d.mts.map +1 -1
- package/dist/actions/list-team-members.mjs +1 -0
- package/dist/actions/list-team-members.mjs.map +1 -1
- package/dist/actions/rename-folder.cjs +1 -0
- package/dist/actions/rename-folder.cjs.map +1 -1
- package/dist/actions/rename-folder.d.cts +3 -16
- package/dist/actions/rename-folder.d.cts.map +1 -1
- package/dist/actions/rename-folder.d.mts +3 -16
- package/dist/actions/rename-folder.d.mts.map +1 -1
- package/dist/actions/rename-folder.mjs +1 -0
- package/dist/actions/rename-folder.mjs.map +1 -1
- package/dist/actions/search-templates-documents.cjs +1 -0
- package/dist/actions/search-templates-documents.cjs.map +1 -1
- package/dist/actions/search-templates-documents.d.cts +3 -18
- package/dist/actions/search-templates-documents.d.cts.map +1 -1
- package/dist/actions/search-templates-documents.d.mts +3 -18
- package/dist/actions/search-templates-documents.d.mts.map +1 -1
- package/dist/actions/search-templates-documents.mjs +1 -0
- package/dist/actions/search-templates-documents.mjs.map +1 -1
- package/dist/app.cjs +2 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +4 -6
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +4 -6
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +0 -1
- package/dist/app.mjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/package.json +2 -2
package/dist/action.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"action.cjs","names":["signaturely","executeSignaturelyTool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { signaturely } from \"./app\";\nimport { executeSignaturelyTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output:
|
|
1
|
+
{"version":3,"file":"action.cjs","names":["signaturely","executeSignaturelyTool"],"sources":["../src/action.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { signaturely } from \"./app\";\nimport { executeSignaturelyTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType, TOutput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: TOutput;\n },\n): AppAction<TInput, TOutput, typeof signaturely.credential> {\n return signaturely.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executeSignaturelyTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAOA,SAAgB,OACd,MACA,KAO2D;CAC3D,OAAOA,YAAAA,YAAY,OAAO;EACxB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAMC,gBAAAA,uBAAuB,MAAM,KAAgC,CAAC;EAC9F;CACF,CAAC;AACH"}
|
package/dist/action.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { signaturely } from \"./app\";\nimport { executeSignaturelyTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output:
|
|
1
|
+
{"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { signaturely } from \"./app\";\nimport { executeSignaturelyTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType, TOutput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: TOutput;\n },\n): AppAction<TInput, TOutput, typeof signaturely.credential> {\n return signaturely.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executeSignaturelyTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAOA,SAAgB,OACd,MACA,KAO2D;CAC3D,OAAO,YAAY,OAAO;EACxB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,uBAAuB,MAAM,KAAgC,CAAC;EAC9F;CACF,CAAC;AACH"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-folder.cjs","names":["z","action"],"sources":["../../src/actions/create-folder.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SignaturelyCreateFolderInput = z.object({\n title: z.string().describe(\"The title/name of the folder to create\"),\n}).describe(\"Request parameters for creating a folder.\");\nexport const SignaturelyCreateFolderOutput = z.object({\n id: z.string().describe(\"Unique identifier for the folder (UUID format)\").nullable(),\n title: z.string().describe(\"The title of the created folder\").nullable(),\n parentId: z.string().describe(\"ID of the parent folder, null for root level\").nullable().optional(),\n foldersCount: z.string().describe(\"Number of subfolders in this folder (returns as string)\").nullable(),\n documentsCount: z.string().describe(\"Number of documents in this folder (returns as string)\").nullable(),\n}).passthrough().describe(\"Response model for creating a folder.\");\n\nexport const signaturelyCreateFolder = action(\"SIGNATURELY_CREATE_FOLDER\", {\n slug: \"signaturely-create-folder\",\n name: \"Create Folder\",\n description: \"Tool to create a new folder for organizing documents. Use when you need to create a folder structure for document management.\",\n input: SignaturelyCreateFolderInput,\n output: SignaturelyCreateFolderOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-folder.cjs","names":["z","action"],"sources":["../../src/actions/create-folder.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { signaturely } from \"../app\";\n\nexport const SignaturelyCreateFolderInput = z.object({\n title: z.string().describe(\"The title/name of the folder to create\"),\n}).describe(\"Request parameters for creating a folder.\");\nexport const SignaturelyCreateFolderOutput = z.object({\n id: z.string().describe(\"Unique identifier for the folder (UUID format)\").nullable(),\n title: z.string().describe(\"The title of the created folder\").nullable(),\n parentId: z.string().describe(\"ID of the parent folder, null for root level\").nullable().optional(),\n foldersCount: z.string().describe(\"Number of subfolders in this folder (returns as string)\").nullable(),\n documentsCount: z.string().describe(\"Number of documents in this folder (returns as string)\").nullable(),\n}).passthrough().describe(\"Response model for creating a folder.\");\n\nexport const signaturelyCreateFolder: AppAction<\n typeof SignaturelyCreateFolderInput,\n typeof SignaturelyCreateFolderOutput,\n typeof signaturely.credential\n> = action(\"SIGNATURELY_CREATE_FOLDER\", {\n slug: \"signaturely-create-folder\",\n name: \"Create Folder\",\n description: \"Tool to create a new folder for organizing documents. Use when you need to create a folder structure for document management.\",\n input: SignaturelyCreateFolderInput,\n output: SignaturelyCreateFolderOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO,EACnD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,EACrE,CAAC,CAAC,CAAC,SAAS,2CAA2C;AACvD,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACnF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACvE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CACtG,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;AACzG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAAuC;AAEjE,MAAa,0BAITC,eAAAA,OAAO,6BAA6B;CACtC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { signaturely } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/create-folder.d.ts
|
|
@@ -11,21 +13,7 @@ declare const SignaturelyCreateFolderOutput: z.ZodObject<{
|
|
|
11
13
|
foldersCount: z.ZodNullable<z.ZodString>;
|
|
12
14
|
documentsCount: z.ZodNullable<z.ZodString>;
|
|
13
15
|
}, z.core.$loose>;
|
|
14
|
-
declare const signaturelyCreateFolder:
|
|
15
|
-
title: string;
|
|
16
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"signaturely", 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<"signaturely", 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 signaturelyCreateFolder: AppAction<typeof SignaturelyCreateFolderInput, typeof SignaturelyCreateFolderOutput, typeof signaturely.credential>;
|
|
29
17
|
//#endregion
|
|
30
18
|
export { signaturelyCreateFolder };
|
|
31
19
|
//# sourceMappingURL=create-folder.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-folder.d.cts","names":[],"sources":["../../src/actions/create-folder.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-folder.d.cts","names":[],"sources":["../../src/actions/create-folder.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;cAG5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;cAQ7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,SACA,WAAA,CAAY,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { signaturely } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/create-folder.d.ts
|
|
@@ -11,21 +13,7 @@ declare const SignaturelyCreateFolderOutput: z.ZodObject<{
|
|
|
11
13
|
foldersCount: z.ZodNullable<z.ZodString>;
|
|
12
14
|
documentsCount: z.ZodNullable<z.ZodString>;
|
|
13
15
|
}, z.core.$loose>;
|
|
14
|
-
declare const signaturelyCreateFolder:
|
|
15
|
-
title: string;
|
|
16
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"signaturely", 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<"signaturely", 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 signaturelyCreateFolder: AppAction<typeof SignaturelyCreateFolderInput, typeof SignaturelyCreateFolderOutput, typeof signaturely.credential>;
|
|
29
17
|
//#endregion
|
|
30
18
|
export { signaturelyCreateFolder };
|
|
31
19
|
//# sourceMappingURL=create-folder.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-folder.d.mts","names":[],"sources":["../../src/actions/create-folder.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-folder.d.mts","names":[],"sources":["../../src/actions/create-folder.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;cAG5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;cAQ7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,SACA,WAAA,CAAY,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-folder.mjs","names":[],"sources":["../../src/actions/create-folder.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SignaturelyCreateFolderInput = z.object({\n title: z.string().describe(\"The title/name of the folder to create\"),\n}).describe(\"Request parameters for creating a folder.\");\nexport const SignaturelyCreateFolderOutput = z.object({\n id: z.string().describe(\"Unique identifier for the folder (UUID format)\").nullable(),\n title: z.string().describe(\"The title of the created folder\").nullable(),\n parentId: z.string().describe(\"ID of the parent folder, null for root level\").nullable().optional(),\n foldersCount: z.string().describe(\"Number of subfolders in this folder (returns as string)\").nullable(),\n documentsCount: z.string().describe(\"Number of documents in this folder (returns as string)\").nullable(),\n}).passthrough().describe(\"Response model for creating a folder.\");\n\nexport const signaturelyCreateFolder = action(\"SIGNATURELY_CREATE_FOLDER\", {\n slug: \"signaturely-create-folder\",\n name: \"Create Folder\",\n description: \"Tool to create a new folder for organizing documents. Use when you need to create a folder structure for document management.\",\n input: SignaturelyCreateFolderInput,\n output: SignaturelyCreateFolderOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-folder.mjs","names":[],"sources":["../../src/actions/create-folder.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { signaturely } from \"../app\";\n\nexport const SignaturelyCreateFolderInput = z.object({\n title: z.string().describe(\"The title/name of the folder to create\"),\n}).describe(\"Request parameters for creating a folder.\");\nexport const SignaturelyCreateFolderOutput = z.object({\n id: z.string().describe(\"Unique identifier for the folder (UUID format)\").nullable(),\n title: z.string().describe(\"The title of the created folder\").nullable(),\n parentId: z.string().describe(\"ID of the parent folder, null for root level\").nullable().optional(),\n foldersCount: z.string().describe(\"Number of subfolders in this folder (returns as string)\").nullable(),\n documentsCount: z.string().describe(\"Number of documents in this folder (returns as string)\").nullable(),\n}).passthrough().describe(\"Response model for creating a folder.\");\n\nexport const signaturelyCreateFolder: AppAction<\n typeof SignaturelyCreateFolderInput,\n typeof SignaturelyCreateFolderOutput,\n typeof signaturely.credential\n> = action(\"SIGNATURELY_CREATE_FOLDER\", {\n slug: \"signaturely-create-folder\",\n name: \"Create Folder\",\n description: \"Tool to create a new folder for organizing documents. Use when you need to create a folder structure for document management.\",\n input: SignaturelyCreateFolderInput,\n output: SignaturelyCreateFolderOutput,\n});\n"],"mappings":";;;AAiBA,MAAa,0BAIT,OAAO,6BAA6B;CACtC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAnB0C,EAAE,OAAO,EACnD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,EACrE,CAAC,CAAC,CAAC,SAAS,2CAiBH;CACP,QAjB2C,EAAE,OAAO;EACpD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;EACnF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;EACvE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;EACtG,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CACzG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-current-user.cjs","names":["z","action"],"sources":["../../src/actions/get-current-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SignaturelyGetCurrentUserInput = z.object({}).describe(\"Request parameters for getting current user information.\\nThis endpoint does not require any parameters.\");\nconst SignaturelyGetCurrentUser_UserRoleSchema = z.enum([\"owner\", \"admin\", \"user\"]).describe(\"User role in the account.\");\nconst SignaturelyGetCurrentUser_UserStatusSchema = z.enum([\"active\", \"freeze\"]).describe(\"User account status.\");\nconst SignaturelyGetCurrentUser_AppSumoStatusSchema = z.enum([\"standard\", \"full\"]).describe(\"AppSumo status for the user account.\");\nexport const SignaturelyGetCurrentUserOutput = z.object({\n id: z.string().describe(\"User's unique identifier (UUID format)\").nullable(),\n name: z.string().describe(\"User's display name\").nullable(),\n role: SignaturelyGetCurrentUser_UserRoleSchema.nullable(),\n email: z.string().describe(\"User's email address\").nullable(),\n status: SignaturelyGetCurrentUser_UserStatusSchema.nullable(),\n avatarUrl: z.string().describe(\"URL to the user's avatar image (null if not set)\").nullable().optional(),\n appSumoStatus: SignaturelyGetCurrentUser_AppSumoStatusSchema.nullable().optional(),\n}).passthrough().describe(\"Response schema for getting current user information.\\nContains authenticated user's account details.\");\n\nexport const signaturelyGetCurrentUser = action(\"SIGNATURELY_GET_CURRENT_USER\", {\n slug: \"signaturely-get-current-user\",\n name: \"Get Current User\",\n description: \"Tool to get the current authenticated user information. Use this to retrieve account details including email, name, role, status, and avatar URL.\",\n input: SignaturelyGetCurrentUserInput,\n output: SignaturelyGetCurrentUserOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-current-user.cjs","names":["z","action"],"sources":["../../src/actions/get-current-user.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { signaturely } from \"../app\";\n\nexport const SignaturelyGetCurrentUserInput = z.object({}).describe(\"Request parameters for getting current user information.\\nThis endpoint does not require any parameters.\");\nconst SignaturelyGetCurrentUser_UserRoleSchema = z.enum([\"owner\", \"admin\", \"user\"]).describe(\"User role in the account.\");\nconst SignaturelyGetCurrentUser_UserStatusSchema = z.enum([\"active\", \"freeze\"]).describe(\"User account status.\");\nconst SignaturelyGetCurrentUser_AppSumoStatusSchema = z.enum([\"standard\", \"full\"]).describe(\"AppSumo status for the user account.\");\nexport const SignaturelyGetCurrentUserOutput = z.object({\n id: z.string().describe(\"User's unique identifier (UUID format)\").nullable(),\n name: z.string().describe(\"User's display name\").nullable(),\n role: SignaturelyGetCurrentUser_UserRoleSchema.nullable(),\n email: z.string().describe(\"User's email address\").nullable(),\n status: SignaturelyGetCurrentUser_UserStatusSchema.nullable(),\n avatarUrl: z.string().describe(\"URL to the user's avatar image (null if not set)\").nullable().optional(),\n appSumoStatus: SignaturelyGetCurrentUser_AppSumoStatusSchema.nullable().optional(),\n}).passthrough().describe(\"Response schema for getting current user information.\\nContains authenticated user's account details.\");\n\nexport const signaturelyGetCurrentUser: AppAction<\n typeof SignaturelyGetCurrentUserInput,\n typeof SignaturelyGetCurrentUserOutput,\n typeof signaturely.credential\n> = action(\"SIGNATURELY_GET_CURRENT_USER\", {\n slug: \"signaturely-get-current-user\",\n name: \"Get Current User\",\n description: \"Tool to get the current authenticated user information. Use this to retrieve account details including email, name, role, status, and avatar URL.\",\n input: SignaturelyGetCurrentUserInput,\n output: SignaturelyGetCurrentUserOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,0GAA0G;AAC9K,MAAM,2CAA2CA,IAAAA,EAAE,KAAK;CAAC;CAAS;CAAS;AAAM,CAAC,CAAC,CAAC,SAAS,2BAA2B;AACxH,MAAM,6CAA6CA,IAAAA,EAAE,KAAK,CAAC,UAAU,QAAQ,CAAC,CAAC,CAAC,SAAS,sBAAsB;AAC/G,MAAM,gDAAgDA,IAAAA,EAAE,KAAK,CAAC,YAAY,MAAM,CAAC,CAAC,CAAC,SAAS,sCAAsC;AAClI,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAC3E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CAC1D,MAAM,yCAAyC,SAAS;CACxD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAC5D,QAAQ,2CAA2C,SAAS;CAC5D,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,eAAe,8CAA8C,SAAS,CAAC,CAAC,SAAS;AACnF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uGAAuG;AAEjI,MAAa,4BAITC,eAAAA,OAAO,gCAAgC;CACzC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { signaturely } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-current-user.d.ts
|
|
@@ -6,9 +8,9 @@ declare const SignaturelyGetCurrentUserOutput: z.ZodObject<{
|
|
|
6
8
|
id: z.ZodNullable<z.ZodString>;
|
|
7
9
|
name: z.ZodNullable<z.ZodString>;
|
|
8
10
|
role: z.ZodNullable<z.ZodEnum<{
|
|
11
|
+
user: "user";
|
|
9
12
|
owner: "owner";
|
|
10
13
|
admin: "admin";
|
|
11
|
-
user: "user";
|
|
12
14
|
}>>;
|
|
13
15
|
email: z.ZodNullable<z.ZodString>;
|
|
14
16
|
status: z.ZodNullable<z.ZodEnum<{
|
|
@@ -21,19 +23,7 @@ declare const SignaturelyGetCurrentUserOutput: z.ZodObject<{
|
|
|
21
23
|
full: "full";
|
|
22
24
|
}>>>;
|
|
23
25
|
}, z.core.$loose>;
|
|
24
|
-
declare const signaturelyGetCurrentUser:
|
|
25
|
-
connectionId: z.ZodString;
|
|
26
|
-
entityId: z.ZodString;
|
|
27
|
-
instanceId: z.ZodString;
|
|
28
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
29
|
-
generic_api_key: z.ZodString;
|
|
30
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"signaturely", z.ZodObject<{
|
|
31
|
-
connectionId: z.ZodString;
|
|
32
|
-
entityId: z.ZodString;
|
|
33
|
-
instanceId: z.ZodString;
|
|
34
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
35
|
-
generic_api_key: z.ZodString;
|
|
36
|
-
}, z.core.$strip>>]>;
|
|
26
|
+
declare const signaturelyGetCurrentUser: AppAction<typeof SignaturelyGetCurrentUserInput, typeof SignaturelyGetCurrentUserOutput, typeof signaturely.credential>;
|
|
37
27
|
//#endregion
|
|
38
28
|
export { signaturelyGetCurrentUser };
|
|
39
29
|
//# sourceMappingURL=get-current-user.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-current-user.d.cts","names":[],"sources":["../../src/actions/get-current-user.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-current-user.d.cts","names":[],"sources":["../../src/actions/get-current-user.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAI9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;cAU/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,SACA,WAAA,CAAY,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { signaturely } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-current-user.d.ts
|
|
@@ -6,9 +8,9 @@ declare const SignaturelyGetCurrentUserOutput: z.ZodObject<{
|
|
|
6
8
|
id: z.ZodNullable<z.ZodString>;
|
|
7
9
|
name: z.ZodNullable<z.ZodString>;
|
|
8
10
|
role: z.ZodNullable<z.ZodEnum<{
|
|
11
|
+
user: "user";
|
|
9
12
|
owner: "owner";
|
|
10
13
|
admin: "admin";
|
|
11
|
-
user: "user";
|
|
12
14
|
}>>;
|
|
13
15
|
email: z.ZodNullable<z.ZodString>;
|
|
14
16
|
status: z.ZodNullable<z.ZodEnum<{
|
|
@@ -21,19 +23,7 @@ declare const SignaturelyGetCurrentUserOutput: z.ZodObject<{
|
|
|
21
23
|
full: "full";
|
|
22
24
|
}>>>;
|
|
23
25
|
}, z.core.$loose>;
|
|
24
|
-
declare const signaturelyGetCurrentUser:
|
|
25
|
-
connectionId: z.ZodString;
|
|
26
|
-
entityId: z.ZodString;
|
|
27
|
-
instanceId: z.ZodString;
|
|
28
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
29
|
-
generic_api_key: z.ZodString;
|
|
30
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"signaturely", z.ZodObject<{
|
|
31
|
-
connectionId: z.ZodString;
|
|
32
|
-
entityId: z.ZodString;
|
|
33
|
-
instanceId: z.ZodString;
|
|
34
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
35
|
-
generic_api_key: z.ZodString;
|
|
36
|
-
}, z.core.$strip>>]>;
|
|
26
|
+
declare const signaturelyGetCurrentUser: AppAction<typeof SignaturelyGetCurrentUserInput, typeof SignaturelyGetCurrentUserOutput, typeof signaturely.credential>;
|
|
37
27
|
//#endregion
|
|
38
28
|
export { signaturelyGetCurrentUser };
|
|
39
29
|
//# sourceMappingURL=get-current-user.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-current-user.d.mts","names":[],"sources":["../../src/actions/get-current-user.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-current-user.d.mts","names":[],"sources":["../../src/actions/get-current-user.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAI9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;cAU/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,SACA,WAAA,CAAY,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-current-user.mjs","names":[],"sources":["../../src/actions/get-current-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SignaturelyGetCurrentUserInput = z.object({}).describe(\"Request parameters for getting current user information.\\nThis endpoint does not require any parameters.\");\nconst SignaturelyGetCurrentUser_UserRoleSchema = z.enum([\"owner\", \"admin\", \"user\"]).describe(\"User role in the account.\");\nconst SignaturelyGetCurrentUser_UserStatusSchema = z.enum([\"active\", \"freeze\"]).describe(\"User account status.\");\nconst SignaturelyGetCurrentUser_AppSumoStatusSchema = z.enum([\"standard\", \"full\"]).describe(\"AppSumo status for the user account.\");\nexport const SignaturelyGetCurrentUserOutput = z.object({\n id: z.string().describe(\"User's unique identifier (UUID format)\").nullable(),\n name: z.string().describe(\"User's display name\").nullable(),\n role: SignaturelyGetCurrentUser_UserRoleSchema.nullable(),\n email: z.string().describe(\"User's email address\").nullable(),\n status: SignaturelyGetCurrentUser_UserStatusSchema.nullable(),\n avatarUrl: z.string().describe(\"URL to the user's avatar image (null if not set)\").nullable().optional(),\n appSumoStatus: SignaturelyGetCurrentUser_AppSumoStatusSchema.nullable().optional(),\n}).passthrough().describe(\"Response schema for getting current user information.\\nContains authenticated user's account details.\");\n\nexport const signaturelyGetCurrentUser = action(\"SIGNATURELY_GET_CURRENT_USER\", {\n slug: \"signaturely-get-current-user\",\n name: \"Get Current User\",\n description: \"Tool to get the current authenticated user information. Use this to retrieve account details including email, name, role, status, and avatar URL.\",\n input: SignaturelyGetCurrentUserInput,\n output: SignaturelyGetCurrentUserOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-current-user.mjs","names":[],"sources":["../../src/actions/get-current-user.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { signaturely } from \"../app\";\n\nexport const SignaturelyGetCurrentUserInput = z.object({}).describe(\"Request parameters for getting current user information.\\nThis endpoint does not require any parameters.\");\nconst SignaturelyGetCurrentUser_UserRoleSchema = z.enum([\"owner\", \"admin\", \"user\"]).describe(\"User role in the account.\");\nconst SignaturelyGetCurrentUser_UserStatusSchema = z.enum([\"active\", \"freeze\"]).describe(\"User account status.\");\nconst SignaturelyGetCurrentUser_AppSumoStatusSchema = z.enum([\"standard\", \"full\"]).describe(\"AppSumo status for the user account.\");\nexport const SignaturelyGetCurrentUserOutput = z.object({\n id: z.string().describe(\"User's unique identifier (UUID format)\").nullable(),\n name: z.string().describe(\"User's display name\").nullable(),\n role: SignaturelyGetCurrentUser_UserRoleSchema.nullable(),\n email: z.string().describe(\"User's email address\").nullable(),\n status: SignaturelyGetCurrentUser_UserStatusSchema.nullable(),\n avatarUrl: z.string().describe(\"URL to the user's avatar image (null if not set)\").nullable().optional(),\n appSumoStatus: SignaturelyGetCurrentUser_AppSumoStatusSchema.nullable().optional(),\n}).passthrough().describe(\"Response schema for getting current user information.\\nContains authenticated user's account details.\");\n\nexport const signaturelyGetCurrentUser: AppAction<\n typeof SignaturelyGetCurrentUserInput,\n typeof SignaturelyGetCurrentUserOutput,\n typeof signaturely.credential\n> = action(\"SIGNATURELY_GET_CURRENT_USER\", {\n slug: \"signaturely-get-current-user\",\n name: \"Get Current User\",\n description: \"Tool to get the current authenticated user information. Use this to retrieve account details including email, name, role, status, and avatar URL.\",\n input: SignaturelyGetCurrentUserInput,\n output: SignaturelyGetCurrentUserOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,iCAAiC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,0GAA0G;AAC9K,MAAM,2CAA2C,EAAE,KAAK;CAAC;CAAS;CAAS;AAAM,CAAC,CAAC,CAAC,SAAS,2BAA2B;AACxH,MAAM,6CAA6C,EAAE,KAAK,CAAC,UAAU,QAAQ,CAAC,CAAC,CAAC,SAAS,sBAAsB;AAC/G,MAAM,gDAAgD,EAAE,KAAK,CAAC,YAAY,MAAM,CAAC,CAAC,CAAC,SAAS,sCAAsC;AAWlI,MAAa,4BAIT,OAAO,gCAAgC;CACzC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAnB6C,EAAE,OAAO;EACtD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;EAC3E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;EAC1D,MAAM,yCAAyC,SAAS;EACxD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;EAC5D,QAAQ,2CAA2C,SAAS;EAC5D,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvG,eAAe,8CAA8C,SAAS,CAAC,CAAC,SAAS;CACnF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uGAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-folder.cjs","names":["z","action"],"sources":["../../src/actions/get-folder.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SignaturelyGetFolderInput = z.object({\n id: z.string().describe(\"The unique identifier (UUID) of the folder to retrieve\"),\n}).describe(\"Request parameters for getting a folder.\");\nexport const SignaturelyGetFolderOutput = z.object({\n id: z.string().describe(\"Unique folder identifier (UUID)\").nullable(),\n title: z.string().describe(\"Name of the folder\").nullable(),\n parentId: z.string().describe(\"ID of parent folder if nested, null for root folders\").nullable().optional(),\n foldersCount: z.string().describe(\"Number of subfolders\").nullable(),\n documentsCount: z.string().describe(\"Number of documents in folder\").nullable(),\n}).passthrough().describe(\"Response schema for getting a folder.\\nContains folder information including subfolders and documents count.\");\n\nexport const signaturelyGetFolder = action(\"SIGNATURELY_GET_FOLDER\", {\n slug: \"signaturely-get-folder\",\n name: \"Get Folder\",\n description: \"Tool to get folder information by ID. Use when you need to retrieve details about a specific folder including its subfolders and documents count.\",\n input: SignaturelyGetFolderInput,\n output: SignaturelyGetFolderOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-folder.cjs","names":["z","action"],"sources":["../../src/actions/get-folder.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { signaturely } from \"../app\";\n\nexport const SignaturelyGetFolderInput = z.object({\n id: z.string().describe(\"The unique identifier (UUID) of the folder to retrieve\"),\n}).describe(\"Request parameters for getting a folder.\");\nexport const SignaturelyGetFolderOutput = z.object({\n id: z.string().describe(\"Unique folder identifier (UUID)\").nullable(),\n title: z.string().describe(\"Name of the folder\").nullable(),\n parentId: z.string().describe(\"ID of parent folder if nested, null for root folders\").nullable().optional(),\n foldersCount: z.string().describe(\"Number of subfolders\").nullable(),\n documentsCount: z.string().describe(\"Number of documents in folder\").nullable(),\n}).passthrough().describe(\"Response schema for getting a folder.\\nContains folder information including subfolders and documents count.\");\n\nexport const signaturelyGetFolder: AppAction<\n typeof SignaturelyGetFolderInput,\n typeof SignaturelyGetFolderOutput,\n typeof signaturely.credential\n> = action(\"SIGNATURELY_GET_FOLDER\", {\n slug: \"signaturely-get-folder\",\n name: \"Get Folder\",\n description: \"Tool to get folder information by ID. Use when you need to retrieve details about a specific folder including its subfolders and documents count.\",\n input: SignaturelyGetFolderInput,\n output: SignaturelyGetFolderOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,EAClF,CAAC,CAAC,CAAC,SAAS,0CAA0C;AACtD,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACpE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;CAC1D,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CACnE,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;AAChF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8GAA8G;AAExI,MAAa,uBAITC,eAAAA,OAAO,0BAA0B;CACnC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { signaturely } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-folder.d.ts
|
|
@@ -11,21 +13,7 @@ declare const SignaturelyGetFolderOutput: z.ZodObject<{
|
|
|
11
13
|
foldersCount: z.ZodNullable<z.ZodString>;
|
|
12
14
|
documentsCount: z.ZodNullable<z.ZodString>;
|
|
13
15
|
}, z.core.$loose>;
|
|
14
|
-
declare const signaturelyGetFolder:
|
|
15
|
-
id: string;
|
|
16
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"signaturely", 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<"signaturely", 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 signaturelyGetFolder: AppAction<typeof SignaturelyGetFolderInput, typeof SignaturelyGetFolderOutput, typeof signaturely.credential>;
|
|
29
17
|
//#endregion
|
|
30
18
|
export { signaturelyGetFolder };
|
|
31
19
|
//# sourceMappingURL=get-folder.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-folder.d.cts","names":[],"sources":["../../src/actions/get-folder.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-folder.d.cts","names":[],"sources":["../../src/actions/get-folder.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;cAGzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;cAQ1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,WAAA,CAAY,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { signaturely } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-folder.d.ts
|
|
@@ -11,21 +13,7 @@ declare const SignaturelyGetFolderOutput: z.ZodObject<{
|
|
|
11
13
|
foldersCount: z.ZodNullable<z.ZodString>;
|
|
12
14
|
documentsCount: z.ZodNullable<z.ZodString>;
|
|
13
15
|
}, z.core.$loose>;
|
|
14
|
-
declare const signaturelyGetFolder:
|
|
15
|
-
id: string;
|
|
16
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"signaturely", 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<"signaturely", 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 signaturelyGetFolder: AppAction<typeof SignaturelyGetFolderInput, typeof SignaturelyGetFolderOutput, typeof signaturely.credential>;
|
|
29
17
|
//#endregion
|
|
30
18
|
export { signaturelyGetFolder };
|
|
31
19
|
//# sourceMappingURL=get-folder.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-folder.d.mts","names":[],"sources":["../../src/actions/get-folder.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-folder.d.mts","names":[],"sources":["../../src/actions/get-folder.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;cAGzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;cAQ1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,WAAA,CAAY,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-folder.mjs","names":[],"sources":["../../src/actions/get-folder.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SignaturelyGetFolderInput = z.object({\n id: z.string().describe(\"The unique identifier (UUID) of the folder to retrieve\"),\n}).describe(\"Request parameters for getting a folder.\");\nexport const SignaturelyGetFolderOutput = z.object({\n id: z.string().describe(\"Unique folder identifier (UUID)\").nullable(),\n title: z.string().describe(\"Name of the folder\").nullable(),\n parentId: z.string().describe(\"ID of parent folder if nested, null for root folders\").nullable().optional(),\n foldersCount: z.string().describe(\"Number of subfolders\").nullable(),\n documentsCount: z.string().describe(\"Number of documents in folder\").nullable(),\n}).passthrough().describe(\"Response schema for getting a folder.\\nContains folder information including subfolders and documents count.\");\n\nexport const signaturelyGetFolder = action(\"SIGNATURELY_GET_FOLDER\", {\n slug: \"signaturely-get-folder\",\n name: \"Get Folder\",\n description: \"Tool to get folder information by ID. Use when you need to retrieve details about a specific folder including its subfolders and documents count.\",\n input: SignaturelyGetFolderInput,\n output: SignaturelyGetFolderOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-folder.mjs","names":[],"sources":["../../src/actions/get-folder.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { signaturely } from \"../app\";\n\nexport const SignaturelyGetFolderInput = z.object({\n id: z.string().describe(\"The unique identifier (UUID) of the folder to retrieve\"),\n}).describe(\"Request parameters for getting a folder.\");\nexport const SignaturelyGetFolderOutput = z.object({\n id: z.string().describe(\"Unique folder identifier (UUID)\").nullable(),\n title: z.string().describe(\"Name of the folder\").nullable(),\n parentId: z.string().describe(\"ID of parent folder if nested, null for root folders\").nullable().optional(),\n foldersCount: z.string().describe(\"Number of subfolders\").nullable(),\n documentsCount: z.string().describe(\"Number of documents in folder\").nullable(),\n}).passthrough().describe(\"Response schema for getting a folder.\\nContains folder information including subfolders and documents count.\");\n\nexport const signaturelyGetFolder: AppAction<\n typeof SignaturelyGetFolderInput,\n typeof SignaturelyGetFolderOutput,\n typeof signaturely.credential\n> = action(\"SIGNATURELY_GET_FOLDER\", {\n slug: \"signaturely-get-folder\",\n name: \"Get Folder\",\n description: \"Tool to get folder information by ID. Use when you need to retrieve details about a specific folder including its subfolders and documents count.\",\n input: SignaturelyGetFolderInput,\n output: SignaturelyGetFolderOutput,\n});\n"],"mappings":";;;AAiBA,MAAa,uBAIT,OAAO,0BAA0B;CACnC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAnBuC,EAAE,OAAO,EAChD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,EAClF,CAAC,CAAC,CAAC,SAAS,0CAiBH;CACP,QAjBwC,EAAE,OAAO;EACjD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;EACpE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;EAC1D,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1G,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;EACnE,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CAChF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8GAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-recent-document.cjs","names":["z","action"],"sources":["../../src/actions/get-recent-document.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SignaturelyGetRecentDocumentInput = z.object({\n recentDocumentType: z.enum([\"sent\", \"completed\"]).describe(\"Type of recent document to retrieve. Use 'sent' for recently sent documents or 'completed' for recently completed documents.\"),\n}).describe(\"Request parameters for getting the most recent document.\");\nexport const SignaturelyGetRecentDocumentOutput = z.object({\n id: z.number().int().describe(\"Unique identifier for the document\").nullable().optional(),\n title: z.string().describe(\"Title of the document\").nullable().optional(),\n status: z.string().describe(\"Current status of the document\").nullable().optional(),\n createdAt: z.string().describe(\"Timestamp when the document was created\").nullable().optional(),\n updatedAt: z.string().describe(\"Timestamp when the document was last updated\").nullable().optional(),\n}).passthrough().describe(\"Response schema for getting a recent document.\\nMay return an empty response if no documents are found.\");\n\nexport const signaturelyGetRecentDocument = action(\"SIGNATURELY_GET_RECENT_DOCUMENT\", {\n slug: \"signaturely-get-recent-document\",\n name: \"Get Recent Document\",\n description: \"Tool to retrieve the most recent sent or completed document. Use when you need to fetch the latest document of a specific type (sent or completed).\",\n input: SignaturelyGetRecentDocumentInput,\n output: SignaturelyGetRecentDocumentOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-recent-document.cjs","names":["z","action"],"sources":["../../src/actions/get-recent-document.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { signaturely } from \"../app\";\n\nexport const SignaturelyGetRecentDocumentInput = z.object({\n recentDocumentType: z.enum([\"sent\", \"completed\"]).describe(\"Type of recent document to retrieve. Use 'sent' for recently sent documents or 'completed' for recently completed documents.\"),\n}).describe(\"Request parameters for getting the most recent document.\");\nexport const SignaturelyGetRecentDocumentOutput = z.object({\n id: z.number().int().describe(\"Unique identifier for the document\").nullable().optional(),\n title: z.string().describe(\"Title of the document\").nullable().optional(),\n status: z.string().describe(\"Current status of the document\").nullable().optional(),\n createdAt: z.string().describe(\"Timestamp when the document was created\").nullable().optional(),\n updatedAt: z.string().describe(\"Timestamp when the document was last updated\").nullable().optional(),\n}).passthrough().describe(\"Response schema for getting a recent document.\\nMay return an empty response if no documents are found.\");\n\nexport const signaturelyGetRecentDocument: AppAction<\n typeof SignaturelyGetRecentDocumentInput,\n typeof SignaturelyGetRecentDocumentOutput,\n typeof signaturely.credential\n> = action(\"SIGNATURELY_GET_RECENT_DOCUMENT\", {\n slug: \"signaturely-get-recent-document\",\n name: \"Get Recent Document\",\n description: \"Tool to retrieve the most recent sent or completed document. Use when you need to fetch the latest document of a specific type (sent or completed).\",\n input: SignaturelyGetRecentDocumentInput,\n output: SignaturelyGetRecentDocumentOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO,EACxD,oBAAoBA,IAAAA,EAAE,KAAK,CAAC,QAAQ,WAAW,CAAC,CAAC,CAAC,SAAS,8HAA8H,EAC3L,CAAC,CAAC,CAAC,SAAS,0DAA0D;AACtE,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yGAAyG;AAEnI,MAAa,+BAITC,eAAAA,OAAO,mCAAmC;CAC5C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { signaturely } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-recent-document.d.ts
|
|
@@ -14,21 +16,7 @@ declare const SignaturelyGetRecentDocumentOutput: z.ZodObject<{
|
|
|
14
16
|
createdAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
17
|
updatedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
18
|
}, z.core.$loose>;
|
|
17
|
-
declare const signaturelyGetRecentDocument:
|
|
18
|
-
recentDocumentType: "sent" | "completed";
|
|
19
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"signaturely", z.ZodObject<{
|
|
20
|
-
connectionId: z.ZodString;
|
|
21
|
-
entityId: z.ZodString;
|
|
22
|
-
instanceId: z.ZodString;
|
|
23
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
24
|
-
generic_api_key: z.ZodString;
|
|
25
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"signaturely", 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>>]>;
|
|
19
|
+
declare const signaturelyGetRecentDocument: AppAction<typeof SignaturelyGetRecentDocumentInput, typeof SignaturelyGetRecentDocumentOutput, typeof signaturely.credential>;
|
|
32
20
|
//#endregion
|
|
33
21
|
export { signaturelyGetRecentDocument };
|
|
34
22
|
//# sourceMappingURL=get-recent-document.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-recent-document.d.cts","names":[],"sources":["../../src/actions/get-recent-document.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-recent-document.d.cts","names":[],"sources":["../../src/actions/get-recent-document.ts"],"mappings":";;;;;cAMa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;cAGjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;cAQlC,4BAAA,EAA8B,SAAA,QAClC,iCAAA,SACA,kCAAA,SACA,WAAA,CAAY,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { signaturely } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-recent-document.d.ts
|
|
@@ -14,21 +16,7 @@ declare const SignaturelyGetRecentDocumentOutput: z.ZodObject<{
|
|
|
14
16
|
createdAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
17
|
updatedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
18
|
}, z.core.$loose>;
|
|
17
|
-
declare const signaturelyGetRecentDocument:
|
|
18
|
-
recentDocumentType: "sent" | "completed";
|
|
19
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"signaturely", z.ZodObject<{
|
|
20
|
-
connectionId: z.ZodString;
|
|
21
|
-
entityId: z.ZodString;
|
|
22
|
-
instanceId: z.ZodString;
|
|
23
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
24
|
-
generic_api_key: z.ZodString;
|
|
25
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"signaturely", 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>>]>;
|
|
19
|
+
declare const signaturelyGetRecentDocument: AppAction<typeof SignaturelyGetRecentDocumentInput, typeof SignaturelyGetRecentDocumentOutput, typeof signaturely.credential>;
|
|
32
20
|
//#endregion
|
|
33
21
|
export { signaturelyGetRecentDocument };
|
|
34
22
|
//# sourceMappingURL=get-recent-document.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-recent-document.d.mts","names":[],"sources":["../../src/actions/get-recent-document.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-recent-document.d.mts","names":[],"sources":["../../src/actions/get-recent-document.ts"],"mappings":";;;;;cAMa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;cAGjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;cAQlC,4BAAA,EAA8B,SAAA,QAClC,iCAAA,SACA,kCAAA,SACA,WAAA,CAAY,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-recent-document.mjs","names":[],"sources":["../../src/actions/get-recent-document.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SignaturelyGetRecentDocumentInput = z.object({\n recentDocumentType: z.enum([\"sent\", \"completed\"]).describe(\"Type of recent document to retrieve. Use 'sent' for recently sent documents or 'completed' for recently completed documents.\"),\n}).describe(\"Request parameters for getting the most recent document.\");\nexport const SignaturelyGetRecentDocumentOutput = z.object({\n id: z.number().int().describe(\"Unique identifier for the document\").nullable().optional(),\n title: z.string().describe(\"Title of the document\").nullable().optional(),\n status: z.string().describe(\"Current status of the document\").nullable().optional(),\n createdAt: z.string().describe(\"Timestamp when the document was created\").nullable().optional(),\n updatedAt: z.string().describe(\"Timestamp when the document was last updated\").nullable().optional(),\n}).passthrough().describe(\"Response schema for getting a recent document.\\nMay return an empty response if no documents are found.\");\n\nexport const signaturelyGetRecentDocument = action(\"SIGNATURELY_GET_RECENT_DOCUMENT\", {\n slug: \"signaturely-get-recent-document\",\n name: \"Get Recent Document\",\n description: \"Tool to retrieve the most recent sent or completed document. Use when you need to fetch the latest document of a specific type (sent or completed).\",\n input: SignaturelyGetRecentDocumentInput,\n output: SignaturelyGetRecentDocumentOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-recent-document.mjs","names":[],"sources":["../../src/actions/get-recent-document.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { signaturely } from \"../app\";\n\nexport const SignaturelyGetRecentDocumentInput = z.object({\n recentDocumentType: z.enum([\"sent\", \"completed\"]).describe(\"Type of recent document to retrieve. Use 'sent' for recently sent documents or 'completed' for recently completed documents.\"),\n}).describe(\"Request parameters for getting the most recent document.\");\nexport const SignaturelyGetRecentDocumentOutput = z.object({\n id: z.number().int().describe(\"Unique identifier for the document\").nullable().optional(),\n title: z.string().describe(\"Title of the document\").nullable().optional(),\n status: z.string().describe(\"Current status of the document\").nullable().optional(),\n createdAt: z.string().describe(\"Timestamp when the document was created\").nullable().optional(),\n updatedAt: z.string().describe(\"Timestamp when the document was last updated\").nullable().optional(),\n}).passthrough().describe(\"Response schema for getting a recent document.\\nMay return an empty response if no documents are found.\");\n\nexport const signaturelyGetRecentDocument: AppAction<\n typeof SignaturelyGetRecentDocumentInput,\n typeof SignaturelyGetRecentDocumentOutput,\n typeof signaturely.credential\n> = action(\"SIGNATURELY_GET_RECENT_DOCUMENT\", {\n slug: \"signaturely-get-recent-document\",\n name: \"Get Recent Document\",\n description: \"Tool to retrieve the most recent sent or completed document. Use when you need to fetch the latest document of a specific type (sent or completed).\",\n input: SignaturelyGetRecentDocumentInput,\n output: SignaturelyGetRecentDocumentOutput,\n});\n"],"mappings":";;;AAiBA,MAAa,+BAIT,OAAO,mCAAmC;CAC5C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAnB+C,EAAE,OAAO,EACxD,oBAAoB,EAAE,KAAK,CAAC,QAAQ,WAAW,CAAC,CAAC,CAAC,SAAS,8HAA8H,EAC3L,CAAC,CAAC,CAAC,SAAS,0DAiBH;CACP,QAjBgD,EAAE,OAAO;EACzD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yGAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-documents.cjs","names":["z","action"],"sources":["../../src/actions/list-documents.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SignaturelyListDocumentsInput = z.object({\n page: z.number().int().default(1).describe(\"Page number for pagination (minimum 1)\").optional(),\n limit: z.number().int().default(10).describe(\"Number of results per page (1–100)\").optional(),\n user_id: z.number().int().describe(\"Filter documents by user ID\").optional(),\n statuses: z.array(z.enum([\"draft\", \"sent\", \"signed\", \"declined\", \"canceled\"])).describe(\"Filter by document statuses. Provide a list of statuses to filter by (e.g., ['draft', 'sent']). Valid values: draft, sent, signed, declined, canceled\").optional(),\n template: z.boolean().describe(\"Filter by template flag (true for templates, false for documents)\").optional(),\n created_at_to: z.string().describe(\"Return documents created before this date (ISO 8601)\").optional(),\n created_at_from: z.string().describe(\"Return documents created after this date (ISO 8601)\").optional(),\n}).describe(\"Query parameters for listing documents.\");\nconst SignaturelyListDocuments_DocumentSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the document\").nullable(),\n title: z.string().describe(\"Title of the document\").nullable().optional(),\n status: z.string().describe(\"Current status of the document\").nullable().optional(),\n createdAt: z.string().describe(\"Timestamp when the document was created\").nullable().optional(),\n updatedAt: z.string().describe(\"Timestamp when the document was last updated\").nullable().optional(),\n}).passthrough().describe(\"A document object.\");\nexport const SignaturelyListDocumentsOutput = z.object({\n items: z.array(SignaturelyListDocuments_DocumentSchema).describe(\"List of document objects\").nullable().optional(),\n itemCount: z.number().int().default(0).describe(\"Number of items in current page\").nullable().optional(),\n totalItems: z.number().int().default(0).describe(\"Total number of documents\").nullable().optional(),\n totalPages: z.number().int().default(0).describe(\"Total number of pages available\").nullable().optional(),\n currentPage: z.number().int().default(1).describe(\"Current page number\").nullable().optional(),\n itemsPerPage: z.number().int().default(10).describe(\"Number of documents per page\").nullable().optional(),\n}).passthrough().describe(\"Response schema for listing documents.\\nContains the documents list with pagination info.\");\n\nexport const signaturelyListDocuments = action(\"SIGNATURELY_LIST_DOCUMENTS\", {\n slug: \"signaturely-list-documents\",\n name: \"List Documents\",\n description: \"Tool to list all documents. Use after authenticating to retrieve documents with optional filters and pagination.\",\n input: SignaturelyListDocumentsInput,\n output: SignaturelyListDocumentsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-documents.cjs","names":["z","action"],"sources":["../../src/actions/list-documents.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { signaturely } from \"../app\";\n\nexport const SignaturelyListDocumentsInput = z.object({\n page: z.number().int().default(1).describe(\"Page number for pagination (minimum 1)\").optional(),\n limit: z.number().int().default(10).describe(\"Number of results per page (1–100)\").optional(),\n user_id: z.number().int().describe(\"Filter documents by user ID\").optional(),\n statuses: z.array(z.enum([\"draft\", \"sent\", \"signed\", \"declined\", \"canceled\"])).describe(\"Filter by document statuses. Provide a list of statuses to filter by (e.g., ['draft', 'sent']). Valid values: draft, sent, signed, declined, canceled\").optional(),\n template: z.boolean().describe(\"Filter by template flag (true for templates, false for documents)\").optional(),\n created_at_to: z.string().describe(\"Return documents created before this date (ISO 8601)\").optional(),\n created_at_from: z.string().describe(\"Return documents created after this date (ISO 8601)\").optional(),\n}).describe(\"Query parameters for listing documents.\");\nconst SignaturelyListDocuments_DocumentSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the document\").nullable(),\n title: z.string().describe(\"Title of the document\").nullable().optional(),\n status: z.string().describe(\"Current status of the document\").nullable().optional(),\n createdAt: z.string().describe(\"Timestamp when the document was created\").nullable().optional(),\n updatedAt: z.string().describe(\"Timestamp when the document was last updated\").nullable().optional(),\n}).passthrough().describe(\"A document object.\");\nexport const SignaturelyListDocumentsOutput = z.object({\n items: z.array(SignaturelyListDocuments_DocumentSchema).describe(\"List of document objects\").nullable().optional(),\n itemCount: z.number().int().default(0).describe(\"Number of items in current page\").nullable().optional(),\n totalItems: z.number().int().default(0).describe(\"Total number of documents\").nullable().optional(),\n totalPages: z.number().int().default(0).describe(\"Total number of pages available\").nullable().optional(),\n currentPage: z.number().int().default(1).describe(\"Current page number\").nullable().optional(),\n itemsPerPage: z.number().int().default(10).describe(\"Number of documents per page\").nullable().optional(),\n}).passthrough().describe(\"Response schema for listing documents.\\nContains the documents list with pagination info.\");\n\nexport const signaturelyListDocuments: AppAction<\n typeof SignaturelyListDocumentsInput,\n typeof SignaturelyListDocumentsOutput,\n typeof signaturely.credential\n> = action(\"SIGNATURELY_LIST_DOCUMENTS\", {\n slug: \"signaturely-list-documents\",\n name: \"List Documents\",\n description: \"Tool to list all documents. Use after authenticating to retrieve documents with optional filters and pagination.\",\n input: SignaturelyListDocumentsInput,\n output: SignaturelyListDocumentsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAC9F,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC5F,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CAC3E,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAS;EAAQ;EAAU;EAAY;CAAU,CAAC,CAAC,CAAC,CAAC,SAAS,uJAAuJ,CAAC,CAAC,SAAS;CAC1P,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;CAC7G,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CACpG,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;AACvG,CAAC,CAAC,CAAC,SAAS,yCAAyC;AACrD,MAAM,0CAA0CA,IAAAA,EAAE,OAAO;CACvD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC7E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oBAAoB;AAC9C,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,OAAOA,IAAAA,EAAE,MAAM,uCAAuC,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2FAA2F;AAErH,MAAa,2BAITC,eAAAA,OAAO,8BAA8B;CACvC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { signaturely } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-documents.d.ts
|
|
@@ -30,27 +32,7 @@ declare const SignaturelyListDocumentsOutput: z.ZodObject<{
|
|
|
30
32
|
currentPage: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
|
|
31
33
|
itemsPerPage: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
|
|
32
34
|
}, z.core.$loose>;
|
|
33
|
-
declare const signaturelyListDocuments:
|
|
34
|
-
page?: number | undefined;
|
|
35
|
-
limit?: number | undefined;
|
|
36
|
-
user_id?: number | undefined;
|
|
37
|
-
statuses?: ("sent" | "draft" | "signed" | "declined" | "canceled")[] | undefined;
|
|
38
|
-
template?: boolean | undefined;
|
|
39
|
-
created_at_to?: string | undefined;
|
|
40
|
-
created_at_from?: string | undefined;
|
|
41
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"signaturely", z.ZodObject<{
|
|
42
|
-
connectionId: z.ZodString;
|
|
43
|
-
entityId: z.ZodString;
|
|
44
|
-
instanceId: z.ZodString;
|
|
45
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
46
|
-
generic_api_key: z.ZodString;
|
|
47
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"signaturely", z.ZodObject<{
|
|
48
|
-
connectionId: z.ZodString;
|
|
49
|
-
entityId: z.ZodString;
|
|
50
|
-
instanceId: z.ZodString;
|
|
51
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
52
|
-
generic_api_key: z.ZodString;
|
|
53
|
-
}, z.core.$strip>>]>;
|
|
35
|
+
declare const signaturelyListDocuments: AppAction<typeof SignaturelyListDocumentsInput, typeof SignaturelyListDocumentsOutput, typeof signaturely.credential>;
|
|
54
36
|
//#endregion
|
|
55
37
|
export { signaturelyListDocuments };
|
|
56
38
|
//# sourceMappingURL=list-documents.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-documents.d.cts","names":[],"sources":["../../src/actions/list-documents.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-documents.d.cts","names":[],"sources":["../../src/actions/list-documents.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAgB7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAS9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,SACA,WAAA,CAAY,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { signaturely } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-documents.d.ts
|
|
@@ -30,27 +32,7 @@ declare const SignaturelyListDocumentsOutput: z.ZodObject<{
|
|
|
30
32
|
currentPage: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
|
|
31
33
|
itemsPerPage: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
|
|
32
34
|
}, z.core.$loose>;
|
|
33
|
-
declare const signaturelyListDocuments:
|
|
34
|
-
page?: number | undefined;
|
|
35
|
-
limit?: number | undefined;
|
|
36
|
-
user_id?: number | undefined;
|
|
37
|
-
statuses?: ("sent" | "draft" | "signed" | "declined" | "canceled")[] | undefined;
|
|
38
|
-
template?: boolean | undefined;
|
|
39
|
-
created_at_to?: string | undefined;
|
|
40
|
-
created_at_from?: string | undefined;
|
|
41
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"signaturely", z.ZodObject<{
|
|
42
|
-
connectionId: z.ZodString;
|
|
43
|
-
entityId: z.ZodString;
|
|
44
|
-
instanceId: z.ZodString;
|
|
45
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
46
|
-
generic_api_key: z.ZodString;
|
|
47
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"signaturely", z.ZodObject<{
|
|
48
|
-
connectionId: z.ZodString;
|
|
49
|
-
entityId: z.ZodString;
|
|
50
|
-
instanceId: z.ZodString;
|
|
51
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
52
|
-
generic_api_key: z.ZodString;
|
|
53
|
-
}, z.core.$strip>>]>;
|
|
35
|
+
declare const signaturelyListDocuments: AppAction<typeof SignaturelyListDocumentsInput, typeof SignaturelyListDocumentsOutput, typeof signaturely.credential>;
|
|
54
36
|
//#endregion
|
|
55
37
|
export { signaturelyListDocuments };
|
|
56
38
|
//# sourceMappingURL=list-documents.d.mts.map
|