@keystrokehq/signaturely 0.1.2 → 0.1.3

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.
@@ -8,7 +8,7 @@ const SignaturelyCreateFolderOutput = zod.z.object({
8
8
  parentId: zod.z.string().describe("ID of the parent folder, null for root level").nullable().optional(),
9
9
  foldersCount: zod.z.string().describe("Number of subfolders in this folder (returns as string)").nullable(),
10
10
  documentsCount: zod.z.string().describe("Number of documents in this folder (returns as string)").nullable()
11
- }).describe("Response model for creating a folder.");
11
+ }).passthrough().describe("Response model for creating a folder.");
12
12
  const signaturelyCreateFolder = require_action.action("SIGNATURELY_CREATE_FOLDER", {
13
13
  slug: "signaturely-create-folder",
14
14
  name: "Create Folder",
@@ -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}).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":";;;AAIA,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,SAAS,uCAAuC;AAEnD,MAAa,0BAA0BC,eAAAA,OAAO,6BAA6B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
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":";;;AAIA,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,0BAA0BC,eAAAA,OAAO,6BAA6B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -10,7 +10,7 @@ declare const SignaturelyCreateFolderOutput: z.ZodObject<{
10
10
  parentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
11
  foldersCount: z.ZodNullable<z.ZodString>;
12
12
  documentsCount: z.ZodNullable<z.ZodString>;
13
- }, z.core.$strip>;
13
+ }, z.core.$loose>;
14
14
  declare const signaturelyCreateFolder: import("@keystrokehq/action").WorkflowActionDefinition<{
15
15
  title: string;
16
16
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
@@ -10,7 +10,7 @@ declare const SignaturelyCreateFolderOutput: z.ZodObject<{
10
10
  parentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
11
  foldersCount: z.ZodNullable<z.ZodString>;
12
12
  documentsCount: z.ZodNullable<z.ZodString>;
13
- }, z.core.$strip>;
13
+ }, z.core.$loose>;
14
14
  declare const signaturelyCreateFolder: import("@keystrokehq/action").WorkflowActionDefinition<{
15
15
  title: string;
16
16
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
@@ -11,7 +11,7 @@ const signaturelyCreateFolder = action("SIGNATURELY_CREATE_FOLDER", {
11
11
  parentId: z.string().describe("ID of the parent folder, null for root level").nullable().optional(),
12
12
  foldersCount: z.string().describe("Number of subfolders in this folder (returns as string)").nullable(),
13
13
  documentsCount: z.string().describe("Number of documents in this folder (returns as string)").nullable()
14
- }).describe("Response model for creating a folder.")
14
+ }).passthrough().describe("Response model for creating a folder.")
15
15
  });
16
16
  //#endregion
17
17
  export { signaturelyCreateFolder };
@@ -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}).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":";;AAeA,MAAa,0BAA0B,OAAO,6BAA6B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAf0C,EAAE,OAAO,EACnD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,EACrE,CAAC,CAAC,CAAC,SAAS,2CAaH;CACP,QAb2C,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,SAAS,uCAOF;AACV,CAAC"}
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":";;AAeA,MAAa,0BAA0B,OAAO,6BAA6B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAf0C,EAAE,OAAO,EACnD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,EACrE,CAAC,CAAC,CAAC,SAAS,2CAaH;CACP,QAb2C,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,uCAOhB;AACV,CAAC"}
@@ -17,7 +17,7 @@ const SignaturelyGetCurrentUserOutput = zod.z.object({
17
17
  status: SignaturelyGetCurrentUser_UserStatusSchema.nullable(),
18
18
  avatarUrl: zod.z.string().describe("URL to the user's avatar image (null if not set)").nullable().optional(),
19
19
  appSumoStatus: SignaturelyGetCurrentUser_AppSumoStatusSchema.nullable().optional()
20
- }).describe("Response schema for getting current user information.\nContains authenticated user's account details.");
20
+ }).passthrough().describe("Response schema for getting current user information.\nContains authenticated user's account details.");
21
21
  const signaturelyGetCurrentUser = require_action.action("SIGNATURELY_GET_CURRENT_USER", {
22
22
  slug: "signaturely-get-current-user",
23
23
  name: "Get Current User",
@@ -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}).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":";;;AAIA,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,SAAS,uGAAuG;AAEnH,MAAa,4BAA4BC,eAAAA,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
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":";;;AAIA,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,4BAA4BC,eAAAA,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -20,7 +20,7 @@ declare const SignaturelyGetCurrentUserOutput: z.ZodObject<{
20
20
  standard: "standard";
21
21
  full: "full";
22
22
  }>>>;
23
- }, z.core.$strip>;
23
+ }, z.core.$loose>;
24
24
  declare const signaturelyGetCurrentUser: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
25
25
  //#endregion
26
26
  export { signaturelyGetCurrentUser };
@@ -20,7 +20,7 @@ declare const SignaturelyGetCurrentUserOutput: z.ZodObject<{
20
20
  standard: "standard";
21
21
  full: "full";
22
22
  }>>>;
23
- }, z.core.$strip>;
23
+ }, z.core.$loose>;
24
24
  declare const signaturelyGetCurrentUser: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
25
25
  //#endregion
26
26
  export { signaturelyGetCurrentUser };
@@ -22,7 +22,7 @@ const signaturelyGetCurrentUser = action("SIGNATURELY_GET_CURRENT_USER", {
22
22
  status: SignaturelyGetCurrentUser_UserStatusSchema.nullable(),
23
23
  avatarUrl: z.string().describe("URL to the user's avatar image (null if not set)").nullable().optional(),
24
24
  appSumoStatus: SignaturelyGetCurrentUser_AppSumoStatusSchema.nullable().optional()
25
- }).describe("Response schema for getting current user information.\nContains authenticated user's account details.")
25
+ }).passthrough().describe("Response schema for getting current user information.\nContains authenticated user's account details.")
26
26
  });
27
27
  //#endregion
28
28
  export { signaturelyGetCurrentUser };
@@ -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}).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":";;;AAIA,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,4BAA4B,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAf6C,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,SAAS,uGAOF;AACV,CAAC"}
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":";;;AAIA,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,4BAA4B,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAf6C,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,uGAOhB;AACV,CAAC"}
@@ -6,8 +6,8 @@ declare const SignaturelyListDocumentsInput: z.ZodObject<{
6
6
  limit: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
7
7
  user_id: z.ZodOptional<z.ZodNumber>;
8
8
  statuses: z.ZodOptional<z.ZodArray<z.ZodEnum<{
9
- draft: "draft";
10
9
  sent: "sent";
10
+ draft: "draft";
11
11
  signed: "signed";
12
12
  declined: "declined";
13
13
  canceled: "canceled";
@@ -34,7 +34,7 @@ declare const signaturelyListDocuments: import("@keystrokehq/action").WorkflowAc
34
34
  page?: number | undefined;
35
35
  limit?: number | undefined;
36
36
  user_id?: number | undefined;
37
- statuses?: ("draft" | "sent" | "signed" | "declined" | "canceled")[] | undefined;
37
+ statuses?: ("sent" | "draft" | "signed" | "declined" | "canceled")[] | undefined;
38
38
  template?: boolean | undefined;
39
39
  created_at_to?: string | undefined;
40
40
  created_at_from?: string | undefined;
@@ -6,8 +6,8 @@ declare const SignaturelyListDocumentsInput: z.ZodObject<{
6
6
  limit: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
7
7
  user_id: z.ZodOptional<z.ZodNumber>;
8
8
  statuses: z.ZodOptional<z.ZodArray<z.ZodEnum<{
9
- draft: "draft";
10
9
  sent: "sent";
10
+ draft: "draft";
11
11
  signed: "signed";
12
12
  declined: "declined";
13
13
  canceled: "canceled";
@@ -34,7 +34,7 @@ declare const signaturelyListDocuments: import("@keystrokehq/action").WorkflowAc
34
34
  page?: number | undefined;
35
35
  limit?: number | undefined;
36
36
  user_id?: number | undefined;
37
- statuses?: ("draft" | "sent" | "signed" | "declined" | "canceled")[] | undefined;
37
+ statuses?: ("sent" | "draft" | "signed" | "declined" | "canceled")[] | undefined;
38
38
  template?: boolean | undefined;
39
39
  created_at_to?: string | undefined;
40
40
  created_at_from?: string | undefined;
@@ -11,7 +11,7 @@ const SignaturelyRenameFolderOutput = zod.z.object({
11
11
  parentId: zod.z.string().describe("The ID of the parent folder, or null if at root level").nullable().optional(),
12
12
  foldersCount: zod.z.string().describe("Number of subfolders within this folder").nullable(),
13
13
  documentsCount: zod.z.string().describe("Number of documents within this folder").nullable()
14
- }).describe("Response schema for renaming a folder.");
14
+ }).passthrough().describe("Response schema for renaming a folder.");
15
15
  const signaturelyRenameFolder = require_action.action("SIGNATURELY_RENAME_FOLDER", {
16
16
  slug: "signaturely-rename-folder",
17
17
  name: "Rename Folder",
@@ -1 +1 @@
1
- {"version":3,"file":"rename-folder.cjs","names":["z","action"],"sources":["../../src/actions/rename-folder.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SignaturelyRenameFolderInput = z.object({\n id: z.string().describe(\"The unique identifier of the folder to rename\"),\n title: z.string().describe(\"The new title/name for the folder\"),\n}).describe(\"Request parameters for renaming a folder.\");\nexport const SignaturelyRenameFolderOutput = z.object({\n id: z.string().describe(\"The unique identifier of the folder\").nullable(),\n title: z.string().describe(\"The updated title of the folder\").nullable(),\n parentId: z.string().describe(\"The ID of the parent folder, or null if at root level\").nullable().optional(),\n foldersCount: z.string().describe(\"Number of subfolders within this folder\").nullable(),\n documentsCount: z.string().describe(\"Number of documents within this folder\").nullable(),\n}).describe(\"Response schema for renaming a folder.\");\n\nexport const signaturelyRenameFolder = action(\"SIGNATURELY_RENAME_FOLDER\", {\n slug: \"signaturely-rename-folder\",\n name: \"Rename Folder\",\n description: \"Tool to rename a folder via API call. Use when you need to update the title of an existing folder.\",\n input: SignaturelyRenameFolderInput,\n output: SignaturelyRenameFolderOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;CACvE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;AAChE,CAAC,CAAC,CAAC,SAAS,2CAA2C;AACvD,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CACxE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACvE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACtF,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;AACzF,CAAC,CAAC,CAAC,SAAS,wCAAwC;AAEpD,MAAa,0BAA0BC,eAAAA,OAAO,6BAA6B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"rename-folder.cjs","names":["z","action"],"sources":["../../src/actions/rename-folder.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SignaturelyRenameFolderInput = z.object({\n id: z.string().describe(\"The unique identifier of the folder to rename\"),\n title: z.string().describe(\"The new title/name for the folder\"),\n}).describe(\"Request parameters for renaming a folder.\");\nexport const SignaturelyRenameFolderOutput = z.object({\n id: z.string().describe(\"The unique identifier of the folder\").nullable(),\n title: z.string().describe(\"The updated title of the folder\").nullable(),\n parentId: z.string().describe(\"The ID of the parent folder, or null if at root level\").nullable().optional(),\n foldersCount: z.string().describe(\"Number of subfolders within this folder\").nullable(),\n documentsCount: z.string().describe(\"Number of documents within this folder\").nullable(),\n}).passthrough().describe(\"Response schema for renaming a folder.\");\n\nexport const signaturelyRenameFolder = action(\"SIGNATURELY_RENAME_FOLDER\", {\n slug: \"signaturely-rename-folder\",\n name: \"Rename Folder\",\n description: \"Tool to rename a folder via API call. Use when you need to update the title of an existing folder.\",\n input: SignaturelyRenameFolderInput,\n output: SignaturelyRenameFolderOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;CACvE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;AAChE,CAAC,CAAC,CAAC,SAAS,2CAA2C;AACvD,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CACxE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACvE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACtF,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;AACzF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAElE,MAAa,0BAA0BC,eAAAA,OAAO,6BAA6B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -11,7 +11,7 @@ declare const SignaturelyRenameFolderOutput: z.ZodObject<{
11
11
  parentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
12
  foldersCount: z.ZodNullable<z.ZodString>;
13
13
  documentsCount: z.ZodNullable<z.ZodString>;
14
- }, z.core.$strip>;
14
+ }, z.core.$loose>;
15
15
  declare const signaturelyRenameFolder: import("@keystrokehq/action").WorkflowActionDefinition<{
16
16
  id: string;
17
17
  title: string;
@@ -11,7 +11,7 @@ declare const SignaturelyRenameFolderOutput: z.ZodObject<{
11
11
  parentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
12
  foldersCount: z.ZodNullable<z.ZodString>;
13
13
  documentsCount: z.ZodNullable<z.ZodString>;
14
- }, z.core.$strip>;
14
+ }, z.core.$loose>;
15
15
  declare const signaturelyRenameFolder: import("@keystrokehq/action").WorkflowActionDefinition<{
16
16
  id: string;
17
17
  title: string;
@@ -14,7 +14,7 @@ const signaturelyRenameFolder = action("SIGNATURELY_RENAME_FOLDER", {
14
14
  parentId: z.string().describe("The ID of the parent folder, or null if at root level").nullable().optional(),
15
15
  foldersCount: z.string().describe("Number of subfolders within this folder").nullable(),
16
16
  documentsCount: z.string().describe("Number of documents within this folder").nullable()
17
- }).describe("Response schema for renaming a folder.")
17
+ }).passthrough().describe("Response schema for renaming a folder.")
18
18
  });
19
19
  //#endregion
20
20
  export { signaturelyRenameFolder };
@@ -1 +1 @@
1
- {"version":3,"file":"rename-folder.mjs","names":[],"sources":["../../src/actions/rename-folder.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SignaturelyRenameFolderInput = z.object({\n id: z.string().describe(\"The unique identifier of the folder to rename\"),\n title: z.string().describe(\"The new title/name for the folder\"),\n}).describe(\"Request parameters for renaming a folder.\");\nexport const SignaturelyRenameFolderOutput = z.object({\n id: z.string().describe(\"The unique identifier of the folder\").nullable(),\n title: z.string().describe(\"The updated title of the folder\").nullable(),\n parentId: z.string().describe(\"The ID of the parent folder, or null if at root level\").nullable().optional(),\n foldersCount: z.string().describe(\"Number of subfolders within this folder\").nullable(),\n documentsCount: z.string().describe(\"Number of documents within this folder\").nullable(),\n}).describe(\"Response schema for renaming a folder.\");\n\nexport const signaturelyRenameFolder = action(\"SIGNATURELY_RENAME_FOLDER\", {\n slug: \"signaturely-rename-folder\",\n name: \"Rename Folder\",\n description: \"Tool to rename a folder via API call. Use when you need to update the title of an existing folder.\",\n input: SignaturelyRenameFolderInput,\n output: SignaturelyRenameFolderOutput,\n});\n"],"mappings":";;AAgBA,MAAa,0BAA0B,OAAO,6BAA6B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhB0C,EAAE,OAAO;EACnD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;EACvE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;CAChE,CAAC,CAAC,CAAC,SAAS,2CAaH;CACP,QAb2C,EAAE,OAAO;EACpD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;EACxE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;EACvE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3G,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;EACtF,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CACzF,CAAC,CAAC,CAAC,SAAS,wCAOF;AACV,CAAC"}
1
+ {"version":3,"file":"rename-folder.mjs","names":[],"sources":["../../src/actions/rename-folder.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SignaturelyRenameFolderInput = z.object({\n id: z.string().describe(\"The unique identifier of the folder to rename\"),\n title: z.string().describe(\"The new title/name for the folder\"),\n}).describe(\"Request parameters for renaming a folder.\");\nexport const SignaturelyRenameFolderOutput = z.object({\n id: z.string().describe(\"The unique identifier of the folder\").nullable(),\n title: z.string().describe(\"The updated title of the folder\").nullable(),\n parentId: z.string().describe(\"The ID of the parent folder, or null if at root level\").nullable().optional(),\n foldersCount: z.string().describe(\"Number of subfolders within this folder\").nullable(),\n documentsCount: z.string().describe(\"Number of documents within this folder\").nullable(),\n}).passthrough().describe(\"Response schema for renaming a folder.\");\n\nexport const signaturelyRenameFolder = action(\"SIGNATURELY_RENAME_FOLDER\", {\n slug: \"signaturely-rename-folder\",\n name: \"Rename Folder\",\n description: \"Tool to rename a folder via API call. Use when you need to update the title of an existing folder.\",\n input: SignaturelyRenameFolderInput,\n output: SignaturelyRenameFolderOutput,\n});\n"],"mappings":";;AAgBA,MAAa,0BAA0B,OAAO,6BAA6B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhB0C,EAAE,OAAO;EACnD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;EACvE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;CAChE,CAAC,CAAC,CAAC,SAAS,2CAaH;CACP,QAb2C,EAAE,OAAO;EACpD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;EACxE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;EACvE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3G,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;EACtF,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CACzF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAOhB;AACV,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@keystrokehq/signaturely",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "registry": "https://registry.npmjs.org"