@keystrokehq/signwell 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.
- package/dist/actions/create-document-from-template.cjs +16 -16
- package/dist/actions/create-document-from-template.cjs.map +1 -1
- package/dist/actions/create-document-from-template.d.cts +24 -18
- package/dist/actions/create-document-from-template.d.cts.map +1 -1
- package/dist/actions/create-document-from-template.d.mts +24 -18
- package/dist/actions/create-document-from-template.d.mts.map +1 -1
- package/dist/actions/create-document-from-template.mjs +16 -16
- package/dist/actions/create-document-from-template.mjs.map +1 -1
- package/dist/actions/create-document.cjs +6 -6
- package/dist/actions/create-document.cjs.map +1 -1
- package/dist/actions/create-document.d.cts +9 -7
- package/dist/actions/create-document.d.cts.map +1 -1
- package/dist/actions/create-document.d.mts +9 -7
- package/dist/actions/create-document.d.mts.map +1 -1
- package/dist/actions/create-document.mjs +6 -6
- package/dist/actions/create-document.mjs.map +1 -1
- package/dist/actions/create-webhook.cjs +1 -1
- package/dist/actions/create-webhook.cjs.map +1 -1
- package/dist/actions/create-webhook.d.cts +1 -1
- package/dist/actions/create-webhook.d.mts +1 -1
- package/dist/actions/create-webhook.mjs +1 -1
- package/dist/actions/create-webhook.mjs.map +1 -1
- package/dist/actions/delete-document.cjs +1 -1
- package/dist/actions/delete-document.cjs.map +1 -1
- package/dist/actions/delete-document.d.cts +1 -1
- package/dist/actions/delete-document.d.mts +1 -1
- package/dist/actions/delete-document.mjs +1 -1
- package/dist/actions/delete-document.mjs.map +1 -1
- package/dist/actions/delete-webhook.cjs +1 -1
- package/dist/actions/delete-webhook.cjs.map +1 -1
- package/dist/actions/delete-webhook.d.cts +1 -1
- package/dist/actions/delete-webhook.d.cts.map +1 -1
- package/dist/actions/delete-webhook.d.mts +1 -1
- package/dist/actions/delete-webhook.d.mts.map +1 -1
- package/dist/actions/delete-webhook.mjs +1 -1
- package/dist/actions/delete-webhook.mjs.map +1 -1
- package/dist/actions/get-credentials.cjs +5 -5
- package/dist/actions/get-credentials.cjs.map +1 -1
- package/dist/actions/get-credentials.d.cts +7 -7
- package/dist/actions/get-credentials.d.mts +7 -7
- package/dist/actions/get-credentials.mjs +5 -5
- package/dist/actions/get-credentials.mjs.map +1 -1
- package/dist/actions/get-document.cjs +4 -4
- package/dist/actions/get-document.cjs.map +1 -1
- package/dist/actions/get-document.d.cts +4 -4
- package/dist/actions/get-document.d.mts +4 -4
- package/dist/actions/get-document.mjs +4 -4
- package/dist/actions/get-document.mjs.map +1 -1
- package/dist/actions/list-bulk-sends.cjs +2 -2
- package/dist/actions/list-bulk-sends.cjs.map +1 -1
- package/dist/actions/list-bulk-sends.d.cts +2 -2
- package/dist/actions/list-bulk-sends.d.mts +2 -2
- package/dist/actions/list-bulk-sends.mjs +2 -2
- package/dist/actions/list-bulk-sends.mjs.map +1 -1
- package/dist/actions/list-webhooks.cjs +2 -2
- package/dist/actions/list-webhooks.cjs.map +1 -1
- package/dist/actions/list-webhooks.d.cts +2 -2
- package/dist/actions/list-webhooks.d.mts +2 -2
- package/dist/actions/list-webhooks.mjs +2 -2
- package/dist/actions/list-webhooks.mjs.map +1 -1
- package/dist/actions/send-reminder.cjs +7 -7
- package/dist/actions/send-reminder.cjs.map +1 -1
- package/dist/actions/send-reminder.d.cts +8 -7
- package/dist/actions/send-reminder.d.mts +8 -7
- package/dist/actions/send-reminder.mjs +7 -7
- package/dist/actions/send-reminder.mjs.map +1 -1
- package/dist/actions/update-and-send-document.cjs +8 -8
- package/dist/actions/update-and-send-document.cjs.map +1 -1
- package/dist/actions/update-and-send-document.d.cts +10 -9
- package/dist/actions/update-and-send-document.d.cts.map +1 -1
- package/dist/actions/update-and-send-document.d.mts +10 -9
- package/dist/actions/update-and-send-document.d.mts.map +1 -1
- package/dist/actions/update-and-send-document.mjs +8 -8
- package/dist/actions/update-and-send-document.mjs.map +1 -1
- package/dist/actions/update-template.cjs +9 -9
- package/dist/actions/update-template.cjs.map +1 -1
- package/dist/actions/update-template.d.cts +11 -10
- package/dist/actions/update-template.d.cts.map +1 -1
- package/dist/actions/update-template.d.mts +11 -10
- package/dist/actions/update-template.d.mts.map +1 -1
- package/dist/actions/update-template.mjs +9 -9
- package/dist/actions/update-template.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -8,7 +8,7 @@ declare const SignwellCreateWebhookInput: z.ZodObject<{
|
|
|
8
8
|
declare const SignwellCreateWebhookOutput: z.ZodObject<{
|
|
9
9
|
id: z.ZodNullable<z.ZodString>;
|
|
10
10
|
callback_url: z.ZodNullable<z.ZodString>;
|
|
11
|
-
}, z.core.$
|
|
11
|
+
}, z.core.$loose>;
|
|
12
12
|
declare const signwellCreateWebhook: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
13
13
|
callbackUrl: string;
|
|
14
14
|
apiApplicationId?: string | undefined;
|
|
@@ -11,7 +11,7 @@ const signwellCreateWebhook = action("SIGNWELL_CREATE_WEBHOOK", {
|
|
|
11
11
|
output: z.object({
|
|
12
12
|
id: z.string().describe("Unique identifier of the new webhook.").nullable(),
|
|
13
13
|
callback_url: z.string().describe("The registered callback URL.").nullable()
|
|
14
|
-
}).describe("Response model after creating a webhook.")
|
|
14
|
+
}).passthrough().describe("Response model after creating a webhook.")
|
|
15
15
|
});
|
|
16
16
|
//#endregion
|
|
17
17
|
export { signwellCreateWebhook };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-webhook.mjs","names":[],"sources":["../../src/actions/create-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SignwellCreateWebhookInput = z.object({\n callbackUrl: z.string().describe(\"URL where SignWell will post document event payloads.\"),\n apiApplicationId: z.string().describe(\"UUID of the API Application to associate with this webhook.\").optional(),\n}).describe(\"Request model for registering a webhook callback URL.\");\nexport const SignwellCreateWebhookOutput = z.object({\n id: z.string().describe(\"Unique identifier of the new webhook.\").nullable(),\n callback_url: z.string().describe(\"The registered callback URL.\").nullable(),\n}).describe(\"Response model after creating a webhook.\");\n\nexport const signwellCreateWebhook = action(\"SIGNWELL_CREATE_WEBHOOK\", {\n slug: \"signwell-create-webhook\",\n name: \"Create Webhook\",\n description: \"Tool to register a webhook callback URL. Use when you need to receive document event notifications.\",\n input: SignwellCreateWebhookInput,\n output: SignwellCreateWebhookOutput,\n});\n"],"mappings":";;AAaA,MAAa,wBAAwB,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAbwC,EAAE,OAAO;EACjD,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;EACxF,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;CAChH,CAAC,CAAC,CAAC,SAAS,uDAUH;CACP,QAVyC,EAAE,OAAO;EAClD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;EAC1E,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CAC7E,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"create-webhook.mjs","names":[],"sources":["../../src/actions/create-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SignwellCreateWebhookInput = z.object({\n callbackUrl: z.string().describe(\"URL where SignWell will post document event payloads.\"),\n apiApplicationId: z.string().describe(\"UUID of the API Application to associate with this webhook.\").optional(),\n}).describe(\"Request model for registering a webhook callback URL.\");\nexport const SignwellCreateWebhookOutput = z.object({\n id: z.string().describe(\"Unique identifier of the new webhook.\").nullable(),\n callback_url: z.string().describe(\"The registered callback URL.\").nullable(),\n}).passthrough().describe(\"Response model after creating a webhook.\");\n\nexport const signwellCreateWebhook = action(\"SIGNWELL_CREATE_WEBHOOK\", {\n slug: \"signwell-create-webhook\",\n name: \"Create Webhook\",\n description: \"Tool to register a webhook callback URL. Use when you need to receive document event notifications.\",\n input: SignwellCreateWebhookInput,\n output: SignwellCreateWebhookOutput,\n});\n"],"mappings":";;AAaA,MAAa,wBAAwB,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAbwC,EAAE,OAAO;EACjD,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;EACxF,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;CAChH,CAAC,CAAC,CAAC,SAAS,uDAUH;CACP,QAVyC,EAAE,OAAO;EAClD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;EAC1E,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CAC7E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAOhB;AACV,CAAC"}
|
|
@@ -5,7 +5,7 @@ const SignwellDeleteDocumentInput = zod.z.object({ id: zod.z.string().describe("
|
|
|
5
5
|
const SignwellDeleteDocumentOutput = zod.z.object({
|
|
6
6
|
deleted: zod.z.boolean().default(true).describe("Indicates whether the document was successfully deleted.").nullable().optional(),
|
|
7
7
|
message: zod.z.string().default("Document deleted successfully").describe("Confirmation message describing the result of the deletion.").nullable().optional()
|
|
8
|
-
}).describe("Response model for document deletion confirmation.");
|
|
8
|
+
}).passthrough().describe("Response model for document deletion confirmation.");
|
|
9
9
|
const signwellDeleteDocument = require_action.action("SIGNWELL_DELETE_DOCUMENT", {
|
|
10
10
|
slug: "signwell-delete-document",
|
|
11
11
|
name: "Delete Document",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-document.cjs","names":["z","action"],"sources":["../../src/actions/delete-document.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SignwellDeleteDocumentInput = z.object({\n id: z.string().describe(\"The unique identifier (UUID) of the document to delete. This ID is returned when creating a document via SIGNWELL_CREATE_DOCUMENT or can be retrieved using SIGNWELL_GET_DOCUMENT.\"),\n}).describe(\"Request model for deleting a document.\");\nexport const SignwellDeleteDocumentOutput = z.object({\n deleted: z.boolean().default(true).describe(\"Indicates whether the document was successfully deleted.\").nullable().optional(),\n message: z.string().default(\"Document deleted successfully\").describe(\"Confirmation message describing the result of the deletion.\").nullable().optional(),\n}).describe(\"Response model for document deletion confirmation.\");\n\nexport const signwellDeleteDocument = action(\"SIGNWELL_DELETE_DOCUMENT\", {\n slug: \"signwell-delete-document\",\n name: \"Delete Document\",\n description: \"Tool to delete a document (and cancel signing if in progress). Use when you need to remove a document by ID after confirming it.\",\n input: SignwellDeleteDocumentInput,\n output: SignwellDeleteDocumentOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,EAClD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oLAAoL,EAC9M,CAAC,CAAC,CAAC,SAAS,wCAAwC;AACpD,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5H,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,+BAA+B,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3J,CAAC,CAAC,CAAC,SAAS,oDAAoD;
|
|
1
|
+
{"version":3,"file":"delete-document.cjs","names":["z","action"],"sources":["../../src/actions/delete-document.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SignwellDeleteDocumentInput = z.object({\n id: z.string().describe(\"The unique identifier (UUID) of the document to delete. This ID is returned when creating a document via SIGNWELL_CREATE_DOCUMENT or can be retrieved using SIGNWELL_GET_DOCUMENT.\"),\n}).describe(\"Request model for deleting a document.\");\nexport const SignwellDeleteDocumentOutput = z.object({\n deleted: z.boolean().default(true).describe(\"Indicates whether the document was successfully deleted.\").nullable().optional(),\n message: z.string().default(\"Document deleted successfully\").describe(\"Confirmation message describing the result of the deletion.\").nullable().optional(),\n}).passthrough().describe(\"Response model for document deletion confirmation.\");\n\nexport const signwellDeleteDocument = action(\"SIGNWELL_DELETE_DOCUMENT\", {\n slug: \"signwell-delete-document\",\n name: \"Delete Document\",\n description: \"Tool to delete a document (and cancel signing if in progress). Use when you need to remove a document by ID after confirming it.\",\n input: SignwellDeleteDocumentInput,\n output: SignwellDeleteDocumentOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,EAClD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oLAAoL,EAC9M,CAAC,CAAC,CAAC,SAAS,wCAAwC;AACpD,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5H,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,+BAA+B,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3J,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAAoD;AAE9E,MAAa,yBAAyBC,eAAAA,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -7,7 +7,7 @@ declare const SignwellDeleteDocumentInput: z.ZodObject<{
|
|
|
7
7
|
declare const SignwellDeleteDocumentOutput: z.ZodObject<{
|
|
8
8
|
deleted: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
|
|
9
9
|
message: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>;
|
|
10
|
-
}, z.core.$
|
|
10
|
+
}, z.core.$loose>;
|
|
11
11
|
declare const signwellDeleteDocument: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
12
12
|
id: string;
|
|
13
13
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -7,7 +7,7 @@ declare const SignwellDeleteDocumentInput: z.ZodObject<{
|
|
|
7
7
|
declare const SignwellDeleteDocumentOutput: z.ZodObject<{
|
|
8
8
|
deleted: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
|
|
9
9
|
message: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>;
|
|
10
|
-
}, z.core.$
|
|
10
|
+
}, z.core.$loose>;
|
|
11
11
|
declare const signwellDeleteDocument: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
12
12
|
id: string;
|
|
13
13
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -8,7 +8,7 @@ const signwellDeleteDocument = action("SIGNWELL_DELETE_DOCUMENT", {
|
|
|
8
8
|
output: z.object({
|
|
9
9
|
deleted: z.boolean().default(true).describe("Indicates whether the document was successfully deleted.").nullable().optional(),
|
|
10
10
|
message: z.string().default("Document deleted successfully").describe("Confirmation message describing the result of the deletion.").nullable().optional()
|
|
11
|
-
}).describe("Response model for document deletion confirmation.")
|
|
11
|
+
}).passthrough().describe("Response model for document deletion confirmation.")
|
|
12
12
|
});
|
|
13
13
|
//#endregion
|
|
14
14
|
export { signwellDeleteDocument };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-document.mjs","names":[],"sources":["../../src/actions/delete-document.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SignwellDeleteDocumentInput = z.object({\n id: z.string().describe(\"The unique identifier (UUID) of the document to delete. This ID is returned when creating a document via SIGNWELL_CREATE_DOCUMENT or can be retrieved using SIGNWELL_GET_DOCUMENT.\"),\n}).describe(\"Request model for deleting a document.\");\nexport const SignwellDeleteDocumentOutput = z.object({\n deleted: z.boolean().default(true).describe(\"Indicates whether the document was successfully deleted.\").nullable().optional(),\n message: z.string().default(\"Document deleted successfully\").describe(\"Confirmation message describing the result of the deletion.\").nullable().optional(),\n}).describe(\"Response model for document deletion confirmation.\");\n\nexport const signwellDeleteDocument = action(\"SIGNWELL_DELETE_DOCUMENT\", {\n slug: \"signwell-delete-document\",\n name: \"Delete Document\",\n description: \"Tool to delete a document (and cancel signing if in progress). Use when you need to remove a document by ID after confirming it.\",\n input: SignwellDeleteDocumentInput,\n output: SignwellDeleteDocumentOutput,\n});\n"],"mappings":";;AAYA,MAAa,yBAAyB,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZyC,EAAE,OAAO,EAClD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,oLAAoL,EAC9M,CAAC,CAAC,CAAC,SAAS,wCAUH;CACP,QAV0C,EAAE,OAAO;EACnD,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5H,SAAS,EAAE,OAAO,CAAC,CAAC,QAAQ,+BAA+B,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3J,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"delete-document.mjs","names":[],"sources":["../../src/actions/delete-document.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SignwellDeleteDocumentInput = z.object({\n id: z.string().describe(\"The unique identifier (UUID) of the document to delete. This ID is returned when creating a document via SIGNWELL_CREATE_DOCUMENT or can be retrieved using SIGNWELL_GET_DOCUMENT.\"),\n}).describe(\"Request model for deleting a document.\");\nexport const SignwellDeleteDocumentOutput = z.object({\n deleted: z.boolean().default(true).describe(\"Indicates whether the document was successfully deleted.\").nullable().optional(),\n message: z.string().default(\"Document deleted successfully\").describe(\"Confirmation message describing the result of the deletion.\").nullable().optional(),\n}).passthrough().describe(\"Response model for document deletion confirmation.\");\n\nexport const signwellDeleteDocument = action(\"SIGNWELL_DELETE_DOCUMENT\", {\n slug: \"signwell-delete-document\",\n name: \"Delete Document\",\n description: \"Tool to delete a document (and cancel signing if in progress). Use when you need to remove a document by ID after confirming it.\",\n input: SignwellDeleteDocumentInput,\n output: SignwellDeleteDocumentOutput,\n});\n"],"mappings":";;AAYA,MAAa,yBAAyB,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZyC,EAAE,OAAO,EAClD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,oLAAoL,EAC9M,CAAC,CAAC,CAAC,SAAS,wCAUH;CACP,QAV0C,EAAE,OAAO;EACnD,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5H,SAAS,EAAE,OAAO,CAAC,CAAC,QAAQ,+BAA+B,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3J,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAOhB;AACV,CAAC"}
|
|
@@ -2,7 +2,7 @@ const require_action = require("../action.cjs");
|
|
|
2
2
|
let zod = require("zod");
|
|
3
3
|
//#region src/actions/delete-webhook.ts
|
|
4
4
|
const SignwellDeleteWebhookInput = zod.z.object({ id: zod.z.string().describe("The UUID of the webhook to delete. Obtain this from the list webhooks action.") }).describe("Request model for deleting a webhook.");
|
|
5
|
-
const SignwellDeleteWebhookOutput = zod.z.
|
|
5
|
+
const SignwellDeleteWebhookOutput = zod.z.record(zod.z.string(), zod.z.unknown()).describe("Empty response returned after successful deletion (no content).");
|
|
6
6
|
const signwellDeleteWebhook = require_action.action("SIGNWELL_DELETE_WEBHOOK", {
|
|
7
7
|
slug: "signwell-delete-webhook",
|
|
8
8
|
name: "Delete Webhook",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-webhook.cjs","names":["z","action"],"sources":["../../src/actions/delete-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SignwellDeleteWebhookInput = z.object({\n id: z.string().describe(\"The UUID of the webhook to delete. Obtain this from the list webhooks action.\"),\n}).describe(\"Request model for deleting a webhook.\");\nexport const SignwellDeleteWebhookOutput = z.
|
|
1
|
+
{"version":3,"file":"delete-webhook.cjs","names":["z","action"],"sources":["../../src/actions/delete-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SignwellDeleteWebhookInput = z.object({\n id: z.string().describe(\"The UUID of the webhook to delete. Obtain this from the list webhooks action.\"),\n}).describe(\"Request model for deleting a webhook.\");\nexport const SignwellDeleteWebhookOutput = z.record(z.string(), z.unknown()).describe(\"Empty response returned after successful deletion (no content).\");\n\nexport const signwellDeleteWebhook = action(\"SIGNWELL_DELETE_WEBHOOK\", {\n slug: \"signwell-delete-webhook\",\n name: \"Delete Webhook\",\n description: \"Deletes a registered webhook by its ID. Use this to remove webhooks that are no longer needed. Returns no content on success.\",\n input: SignwellDeleteWebhookInput,\n output: SignwellDeleteWebhookOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,EACzG,CAAC,CAAC,CAAC,SAAS,uCAAuC;AACnD,MAAa,8BAA8BA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAEvJ,MAAa,wBAAwBC,eAAAA,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -4,7 +4,7 @@ import { z } from "zod";
|
|
|
4
4
|
declare const SignwellDeleteWebhookInput: z.ZodObject<{
|
|
5
5
|
id: z.ZodString;
|
|
6
6
|
}, z.core.$strip>;
|
|
7
|
-
declare const SignwellDeleteWebhookOutput: z.
|
|
7
|
+
declare const SignwellDeleteWebhookOutput: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
8
8
|
declare const signwellDeleteWebhook: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
9
9
|
id: string;
|
|
10
10
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-webhook.d.cts","names":[],"sources":["../../src/actions/delete-webhook.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;cAG1B,2BAAA,EAA2B,CAAA,CAAA,SAAA,
|
|
1
|
+
{"version":3,"file":"delete-webhook.d.cts","names":[],"sources":["../../src/actions/delete-webhook.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;cAG1B,2BAAA,EAA2B,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAE3B,qBAAA,gCAAqB,wBAAA"}
|
|
@@ -4,7 +4,7 @@ import { z } from "zod";
|
|
|
4
4
|
declare const SignwellDeleteWebhookInput: z.ZodObject<{
|
|
5
5
|
id: z.ZodString;
|
|
6
6
|
}, z.core.$strip>;
|
|
7
|
-
declare const SignwellDeleteWebhookOutput: z.
|
|
7
|
+
declare const SignwellDeleteWebhookOutput: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
8
8
|
declare const signwellDeleteWebhook: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
9
9
|
id: string;
|
|
10
10
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-webhook.d.mts","names":[],"sources":["../../src/actions/delete-webhook.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;cAG1B,2BAAA,EAA2B,CAAA,CAAA,SAAA,
|
|
1
|
+
{"version":3,"file":"delete-webhook.d.mts","names":[],"sources":["../../src/actions/delete-webhook.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;cAG1B,2BAAA,EAA2B,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAE3B,qBAAA,gCAAqB,wBAAA"}
|
|
@@ -5,7 +5,7 @@ const signwellDeleteWebhook = action("SIGNWELL_DELETE_WEBHOOK", {
|
|
|
5
5
|
name: "Delete Webhook",
|
|
6
6
|
description: "Deletes a registered webhook by its ID. Use this to remove webhooks that are no longer needed. Returns no content on success.",
|
|
7
7
|
input: z.object({ id: z.string().describe("The UUID of the webhook to delete. Obtain this from the list webhooks action.") }).describe("Request model for deleting a webhook."),
|
|
8
|
-
output: z.
|
|
8
|
+
output: z.record(z.string(), z.unknown()).describe("Empty response returned after successful deletion (no content).")
|
|
9
9
|
});
|
|
10
10
|
//#endregion
|
|
11
11
|
export { signwellDeleteWebhook };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-webhook.mjs","names":[],"sources":["../../src/actions/delete-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SignwellDeleteWebhookInput = z.object({\n id: z.string().describe(\"The UUID of the webhook to delete. Obtain this from the list webhooks action.\"),\n}).describe(\"Request model for deleting a webhook.\");\nexport const SignwellDeleteWebhookOutput = z.
|
|
1
|
+
{"version":3,"file":"delete-webhook.mjs","names":[],"sources":["../../src/actions/delete-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SignwellDeleteWebhookInput = z.object({\n id: z.string().describe(\"The UUID of the webhook to delete. Obtain this from the list webhooks action.\"),\n}).describe(\"Request model for deleting a webhook.\");\nexport const SignwellDeleteWebhookOutput = z.record(z.string(), z.unknown()).describe(\"Empty response returned after successful deletion (no content).\");\n\nexport const signwellDeleteWebhook = action(\"SIGNWELL_DELETE_WEBHOOK\", {\n slug: \"signwell-delete-webhook\",\n name: \"Delete Webhook\",\n description: \"Deletes a registered webhook by its ID. Use this to remove webhooks that are no longer needed. Returns no content on success.\",\n input: SignwellDeleteWebhookInput,\n output: SignwellDeleteWebhookOutput,\n});\n"],"mappings":";;AASA,MAAa,wBAAwB,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OATwC,EAAE,OAAO,EACjD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,EACzG,CAAC,CAAC,CAAC,SAAS,uCAOH;CACP,QAPyC,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,iEAO5E;AACV,CAAC"}
|
|
@@ -8,13 +8,13 @@ const SignwellGetCredentials_UserInfoSchema = zod.z.object({
|
|
|
8
8
|
email: zod.z.string().describe("Email address of the user").nullable(),
|
|
9
9
|
first_name: zod.z.string().describe("First name of the user").nullable().optional(),
|
|
10
10
|
has_google_registration: zod.z.boolean().default(false).describe("Whether user registered via Google").nullable().optional()
|
|
11
|
-
}).describe("Current authenticated user information.");
|
|
11
|
+
}).passthrough().describe("Current authenticated user information.");
|
|
12
12
|
const SignwellGetCredentials_ActiveUserSchema = zod.z.object({
|
|
13
13
|
id: zod.z.string().describe("Unique identifier for the user").nullable(),
|
|
14
14
|
name: zod.z.string().describe("Full name of the user").nullable(),
|
|
15
15
|
email: zod.z.string().describe("Email address of the user").nullable(),
|
|
16
16
|
has_google_registration: zod.z.boolean().default(false).describe("Whether user registered via Google").nullable().optional()
|
|
17
|
-
}).describe("A user within the account/workspace.");
|
|
17
|
+
}).passthrough().describe("A user within the account/workspace.");
|
|
18
18
|
const SignwellGetCredentials_AccountInfoSchema = zod.z.object({
|
|
19
19
|
id: zod.z.string().describe("Unique identifier for the account").nullable(),
|
|
20
20
|
name: zod.z.string().describe("Name of the account").nullable(),
|
|
@@ -24,7 +24,7 @@ const SignwellGetCredentials_AccountInfoSchema = zod.z.object({
|
|
|
24
24
|
can_create_template: zod.z.boolean().default(true).describe("Whether user can create templates").nullable().optional(),
|
|
25
25
|
can_create_tracking_document: zod.z.boolean().default(true).describe("Whether user can create tracking documents").nullable().optional(),
|
|
26
26
|
can_create_completion_document: zod.z.boolean().default(true).describe("Whether user can create completion documents").nullable().optional()
|
|
27
|
-
}).describe("Account/workspace information.");
|
|
27
|
+
}).passthrough().describe("Account/workspace information.");
|
|
28
28
|
const SignwellGetCredentials_ContactInfoSchema = zod.z.object({
|
|
29
29
|
id: zod.z.string().describe("Unique identifier for the contact").nullable(),
|
|
30
30
|
name: zod.z.string().describe("Full name").nullable(),
|
|
@@ -35,7 +35,7 @@ const SignwellGetCredentials_ContactInfoSchema = zod.z.object({
|
|
|
35
35
|
company_name: zod.z.string().describe("Company name").nullable().optional(),
|
|
36
36
|
phone_number: zod.z.string().describe("Primary phone number").nullable().optional(),
|
|
37
37
|
alt_phone_number: zod.z.string().describe("Alternative phone number").nullable().optional()
|
|
38
|
-
}).describe("Contact information for the authenticated user.");
|
|
38
|
+
}).passthrough().describe("Contact information for the authenticated user.");
|
|
39
39
|
const SignwellGetCredentialsOutput = zod.z.object({
|
|
40
40
|
id: zod.z.string().describe("Unique membership ID for the user-account relationship").nullable(),
|
|
41
41
|
role: zod.z.string().describe("User's role in the account (e.g., 'owner', 'admin', 'user')").nullable(),
|
|
@@ -44,7 +44,7 @@ const SignwellGetCredentialsOutput = zod.z.object({
|
|
|
44
44
|
contact: SignwellGetCredentials_ContactInfoSchema.nullable(),
|
|
45
45
|
archived: zod.z.boolean().default(false).describe("Whether membership is archived").nullable().optional(),
|
|
46
46
|
workspace: SignwellGetCredentials_AccountInfoSchema.nullable()
|
|
47
|
-
}).describe("Account information associated with the current API key.");
|
|
47
|
+
}).passthrough().describe("Account information associated with the current API key.");
|
|
48
48
|
const signwellGetCredentials = require_action.action("SIGNWELL_GET_CREDENTIALS", {
|
|
49
49
|
slug: "signwell-get-credentials",
|
|
50
50
|
name: "Get Credentials",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-credentials.cjs","names":["z","action"],"sources":["../../src/actions/get-credentials.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SignwellGetCredentialsInput = z.object({}).describe(\"Request model for retrieving account information. No parameters required.\");\nconst SignwellGetCredentials_UserInfoSchema = z.object({\n id: z.string().describe(\"Unique identifier for the user\").nullable(),\n name: z.string().describe(\"Full name of the user\").nullable(),\n email: z.string().describe(\"Email address of the user\").nullable(),\n first_name: z.string().describe(\"First name of the user\").nullable().optional(),\n has_google_registration: z.boolean().default(false).describe(\"Whether user registered via Google\").nullable().optional(),\n}).describe(\"Current authenticated user information.\");\nconst SignwellGetCredentials_ActiveUserSchema = z.object({\n id: z.string().describe(\"Unique identifier for the user\").nullable(),\n name: z.string().describe(\"Full name of the user\").nullable(),\n email: z.string().describe(\"Email address of the user\").nullable(),\n has_google_registration: z.boolean().default(false).describe(\"Whether user registered via Google\").nullable().optional(),\n}).describe(\"A user within the account/workspace.\");\nconst SignwellGetCredentials_AccountInfoSchema = z.object({\n id: z.string().describe(\"Unique identifier for the account\").nullable(),\n name: z.string().describe(\"Name of the account\").nullable(),\n plan_tier: z.string().describe(\"Current plan tier (e.g., 'free', 'pro')\").nullable(),\n active_users: z.array(SignwellGetCredentials_ActiveUserSchema).describe(\"List of active users in the account\").nullable().optional(),\n active_templates: z.number().int().default(0).describe(\"Number of active templates\").nullable().optional(),\n can_create_template: z.boolean().default(true).describe(\"Whether user can create templates\").nullable().optional(),\n can_create_tracking_document: z.boolean().default(true).describe(\"Whether user can create tracking documents\").nullable().optional(),\n can_create_completion_document: z.boolean().default(true).describe(\"Whether user can create completion documents\").nullable().optional(),\n}).describe(\"Account/workspace information.\");\nconst SignwellGetCredentials_ContactInfoSchema = z.object({\n id: z.string().describe(\"Unique identifier for the contact\").nullable(),\n name: z.string().describe(\"Full name\").nullable(),\n email: z.string().describe(\"Email address\").nullable(),\n website: z.string().describe(\"Website URL\").nullable().optional(),\n archived: z.boolean().default(false).describe(\"Whether contact is archived\").nullable().optional(),\n initials: z.string().describe(\"User initials\").nullable().optional(),\n company_name: z.string().describe(\"Company name\").nullable().optional(),\n phone_number: z.string().describe(\"Primary phone number\").nullable().optional(),\n alt_phone_number: z.string().describe(\"Alternative phone number\").nullable().optional(),\n}).describe(\"Contact information for the authenticated user.\");\nexport const SignwellGetCredentialsOutput = z.object({\n id: z.string().describe(\"Unique membership ID for the user-account relationship\").nullable(),\n role: z.string().describe(\"User's role in the account (e.g., 'owner', 'admin', 'user')\").nullable(),\n user: SignwellGetCredentials_UserInfoSchema.nullable(),\n account: SignwellGetCredentials_AccountInfoSchema.nullable(),\n contact: SignwellGetCredentials_ContactInfoSchema.nullable(),\n archived: z.boolean().default(false).describe(\"Whether membership is archived\").nullable().optional(),\n workspace: SignwellGetCredentials_AccountInfoSchema.nullable(),\n}).describe(\"Account information associated with the current API key.\");\n\nexport const signwellGetCredentials = action(\"SIGNWELL_GET_CREDENTIALS\", {\n slug: \"signwell-get-credentials\",\n name: \"Get Credentials\",\n description: \"Retrieve account information for the authenticated API key. Returns comprehensive details including user profile, account settings, workspace configuration, and contact information. Use this to validate API credentials, check account capabilities (like template creation limits), or get user/account IDs for other API calls.\",\n input: SignwellGetCredentialsInput,\n output: SignwellGetCredentialsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,2EAA2E;AAC5I,MAAM,wCAAwCA,IAAAA,EAAE,OAAO;CACrD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACnE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CAC5D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CACjE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,yBAAyBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzH,CAAC,CAAC,CAAC,SAAS,yCAAyC;
|
|
1
|
+
{"version":3,"file":"get-credentials.cjs","names":["z","action"],"sources":["../../src/actions/get-credentials.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SignwellGetCredentialsInput = z.object({}).describe(\"Request model for retrieving account information. No parameters required.\");\nconst SignwellGetCredentials_UserInfoSchema = z.object({\n id: z.string().describe(\"Unique identifier for the user\").nullable(),\n name: z.string().describe(\"Full name of the user\").nullable(),\n email: z.string().describe(\"Email address of the user\").nullable(),\n first_name: z.string().describe(\"First name of the user\").nullable().optional(),\n has_google_registration: z.boolean().default(false).describe(\"Whether user registered via Google\").nullable().optional(),\n}).passthrough().describe(\"Current authenticated user information.\");\nconst SignwellGetCredentials_ActiveUserSchema = z.object({\n id: z.string().describe(\"Unique identifier for the user\").nullable(),\n name: z.string().describe(\"Full name of the user\").nullable(),\n email: z.string().describe(\"Email address of the user\").nullable(),\n has_google_registration: z.boolean().default(false).describe(\"Whether user registered via Google\").nullable().optional(),\n}).passthrough().describe(\"A user within the account/workspace.\");\nconst SignwellGetCredentials_AccountInfoSchema = z.object({\n id: z.string().describe(\"Unique identifier for the account\").nullable(),\n name: z.string().describe(\"Name of the account\").nullable(),\n plan_tier: z.string().describe(\"Current plan tier (e.g., 'free', 'pro')\").nullable(),\n active_users: z.array(SignwellGetCredentials_ActiveUserSchema).describe(\"List of active users in the account\").nullable().optional(),\n active_templates: z.number().int().default(0).describe(\"Number of active templates\").nullable().optional(),\n can_create_template: z.boolean().default(true).describe(\"Whether user can create templates\").nullable().optional(),\n can_create_tracking_document: z.boolean().default(true).describe(\"Whether user can create tracking documents\").nullable().optional(),\n can_create_completion_document: z.boolean().default(true).describe(\"Whether user can create completion documents\").nullable().optional(),\n}).passthrough().describe(\"Account/workspace information.\");\nconst SignwellGetCredentials_ContactInfoSchema = z.object({\n id: z.string().describe(\"Unique identifier for the contact\").nullable(),\n name: z.string().describe(\"Full name\").nullable(),\n email: z.string().describe(\"Email address\").nullable(),\n website: z.string().describe(\"Website URL\").nullable().optional(),\n archived: z.boolean().default(false).describe(\"Whether contact is archived\").nullable().optional(),\n initials: z.string().describe(\"User initials\").nullable().optional(),\n company_name: z.string().describe(\"Company name\").nullable().optional(),\n phone_number: z.string().describe(\"Primary phone number\").nullable().optional(),\n alt_phone_number: z.string().describe(\"Alternative phone number\").nullable().optional(),\n}).passthrough().describe(\"Contact information for the authenticated user.\");\nexport const SignwellGetCredentialsOutput = z.object({\n id: z.string().describe(\"Unique membership ID for the user-account relationship\").nullable(),\n role: z.string().describe(\"User's role in the account (e.g., 'owner', 'admin', 'user')\").nullable(),\n user: SignwellGetCredentials_UserInfoSchema.nullable(),\n account: SignwellGetCredentials_AccountInfoSchema.nullable(),\n contact: SignwellGetCredentials_ContactInfoSchema.nullable(),\n archived: z.boolean().default(false).describe(\"Whether membership is archived\").nullable().optional(),\n workspace: SignwellGetCredentials_AccountInfoSchema.nullable(),\n}).passthrough().describe(\"Account information associated with the current API key.\");\n\nexport const signwellGetCredentials = action(\"SIGNWELL_GET_CREDENTIALS\", {\n slug: \"signwell-get-credentials\",\n name: \"Get Credentials\",\n description: \"Retrieve account information for the authenticated API key. Returns comprehensive details including user profile, account settings, workspace configuration, and contact information. Use this to validate API credentials, check account capabilities (like template creation limits), or get user/account IDs for other API calls.\",\n input: SignwellGetCredentialsInput,\n output: SignwellGetCredentialsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,2EAA2E;AAC5I,MAAM,wCAAwCA,IAAAA,EAAE,OAAO;CACrD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACnE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CAC5D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CACjE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,yBAAyBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAAyC;AACnE,MAAM,0CAA0CA,IAAAA,EAAE,OAAO;CACvD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACnE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CAC5D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CACjE,yBAAyBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzH,CAAC,CAAC,CAAC,YAAY,CAAC,CA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;AACV,CAAC"}
|
|
@@ -11,7 +11,7 @@ declare const SignwellGetCredentialsOutput: z.ZodObject<{
|
|
|
11
11
|
email: z.ZodNullable<z.ZodString>;
|
|
12
12
|
first_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
13
|
has_google_registration: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
|
|
14
|
-
}, z.core.$
|
|
14
|
+
}, z.core.$loose>>;
|
|
15
15
|
account: z.ZodNullable<z.ZodObject<{
|
|
16
16
|
id: z.ZodNullable<z.ZodString>;
|
|
17
17
|
name: z.ZodNullable<z.ZodString>;
|
|
@@ -21,12 +21,12 @@ declare const SignwellGetCredentialsOutput: z.ZodObject<{
|
|
|
21
21
|
name: z.ZodNullable<z.ZodString>;
|
|
22
22
|
email: z.ZodNullable<z.ZodString>;
|
|
23
23
|
has_google_registration: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
|
|
24
|
-
}, z.core.$
|
|
24
|
+
}, z.core.$loose>>>>;
|
|
25
25
|
active_templates: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
|
|
26
26
|
can_create_template: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
|
|
27
27
|
can_create_tracking_document: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
|
|
28
28
|
can_create_completion_document: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
|
|
29
|
-
}, z.core.$
|
|
29
|
+
}, z.core.$loose>>;
|
|
30
30
|
contact: z.ZodNullable<z.ZodObject<{
|
|
31
31
|
id: z.ZodNullable<z.ZodString>;
|
|
32
32
|
name: z.ZodNullable<z.ZodString>;
|
|
@@ -37,7 +37,7 @@ declare const SignwellGetCredentialsOutput: z.ZodObject<{
|
|
|
37
37
|
company_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
38
38
|
phone_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
39
39
|
alt_phone_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
40
|
-
}, z.core.$
|
|
40
|
+
}, z.core.$loose>>;
|
|
41
41
|
archived: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
|
|
42
42
|
workspace: z.ZodNullable<z.ZodObject<{
|
|
43
43
|
id: z.ZodNullable<z.ZodString>;
|
|
@@ -48,13 +48,13 @@ declare const SignwellGetCredentialsOutput: z.ZodObject<{
|
|
|
48
48
|
name: z.ZodNullable<z.ZodString>;
|
|
49
49
|
email: z.ZodNullable<z.ZodString>;
|
|
50
50
|
has_google_registration: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
|
|
51
|
-
}, z.core.$
|
|
51
|
+
}, z.core.$loose>>>>;
|
|
52
52
|
active_templates: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
|
|
53
53
|
can_create_template: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
|
|
54
54
|
can_create_tracking_document: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
|
|
55
55
|
can_create_completion_document: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
|
|
56
|
-
}, z.core.$
|
|
57
|
-
}, z.core.$
|
|
56
|
+
}, z.core.$loose>>;
|
|
57
|
+
}, z.core.$loose>;
|
|
58
58
|
declare const signwellGetCredentials: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
59
59
|
//#endregion
|
|
60
60
|
export { signwellGetCredentials };
|
|
@@ -11,7 +11,7 @@ declare const SignwellGetCredentialsOutput: z.ZodObject<{
|
|
|
11
11
|
email: z.ZodNullable<z.ZodString>;
|
|
12
12
|
first_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
13
|
has_google_registration: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
|
|
14
|
-
}, z.core.$
|
|
14
|
+
}, z.core.$loose>>;
|
|
15
15
|
account: z.ZodNullable<z.ZodObject<{
|
|
16
16
|
id: z.ZodNullable<z.ZodString>;
|
|
17
17
|
name: z.ZodNullable<z.ZodString>;
|
|
@@ -21,12 +21,12 @@ declare const SignwellGetCredentialsOutput: z.ZodObject<{
|
|
|
21
21
|
name: z.ZodNullable<z.ZodString>;
|
|
22
22
|
email: z.ZodNullable<z.ZodString>;
|
|
23
23
|
has_google_registration: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
|
|
24
|
-
}, z.core.$
|
|
24
|
+
}, z.core.$loose>>>>;
|
|
25
25
|
active_templates: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
|
|
26
26
|
can_create_template: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
|
|
27
27
|
can_create_tracking_document: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
|
|
28
28
|
can_create_completion_document: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
|
|
29
|
-
}, z.core.$
|
|
29
|
+
}, z.core.$loose>>;
|
|
30
30
|
contact: z.ZodNullable<z.ZodObject<{
|
|
31
31
|
id: z.ZodNullable<z.ZodString>;
|
|
32
32
|
name: z.ZodNullable<z.ZodString>;
|
|
@@ -37,7 +37,7 @@ declare const SignwellGetCredentialsOutput: z.ZodObject<{
|
|
|
37
37
|
company_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
38
38
|
phone_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
39
39
|
alt_phone_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
40
|
-
}, z.core.$
|
|
40
|
+
}, z.core.$loose>>;
|
|
41
41
|
archived: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
|
|
42
42
|
workspace: z.ZodNullable<z.ZodObject<{
|
|
43
43
|
id: z.ZodNullable<z.ZodString>;
|
|
@@ -48,13 +48,13 @@ declare const SignwellGetCredentialsOutput: z.ZodObject<{
|
|
|
48
48
|
name: z.ZodNullable<z.ZodString>;
|
|
49
49
|
email: z.ZodNullable<z.ZodString>;
|
|
50
50
|
has_google_registration: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
|
|
51
|
-
}, z.core.$
|
|
51
|
+
}, z.core.$loose>>>>;
|
|
52
52
|
active_templates: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
|
|
53
53
|
can_create_template: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
|
|
54
54
|
can_create_tracking_document: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
|
|
55
55
|
can_create_completion_document: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
|
|
56
|
-
}, z.core.$
|
|
57
|
-
}, z.core.$
|
|
56
|
+
}, z.core.$loose>>;
|
|
57
|
+
}, z.core.$loose>;
|
|
58
58
|
declare const signwellGetCredentials: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
59
59
|
//#endregion
|
|
60
60
|
export { signwellGetCredentials };
|
|
@@ -8,13 +8,13 @@ const SignwellGetCredentials_UserInfoSchema = z.object({
|
|
|
8
8
|
email: z.string().describe("Email address of the user").nullable(),
|
|
9
9
|
first_name: z.string().describe("First name of the user").nullable().optional(),
|
|
10
10
|
has_google_registration: z.boolean().default(false).describe("Whether user registered via Google").nullable().optional()
|
|
11
|
-
}).describe("Current authenticated user information.");
|
|
11
|
+
}).passthrough().describe("Current authenticated user information.");
|
|
12
12
|
const SignwellGetCredentials_ActiveUserSchema = z.object({
|
|
13
13
|
id: z.string().describe("Unique identifier for the user").nullable(),
|
|
14
14
|
name: z.string().describe("Full name of the user").nullable(),
|
|
15
15
|
email: z.string().describe("Email address of the user").nullable(),
|
|
16
16
|
has_google_registration: z.boolean().default(false).describe("Whether user registered via Google").nullable().optional()
|
|
17
|
-
}).describe("A user within the account/workspace.");
|
|
17
|
+
}).passthrough().describe("A user within the account/workspace.");
|
|
18
18
|
const SignwellGetCredentials_AccountInfoSchema = z.object({
|
|
19
19
|
id: z.string().describe("Unique identifier for the account").nullable(),
|
|
20
20
|
name: z.string().describe("Name of the account").nullable(),
|
|
@@ -24,7 +24,7 @@ const SignwellGetCredentials_AccountInfoSchema = z.object({
|
|
|
24
24
|
can_create_template: z.boolean().default(true).describe("Whether user can create templates").nullable().optional(),
|
|
25
25
|
can_create_tracking_document: z.boolean().default(true).describe("Whether user can create tracking documents").nullable().optional(),
|
|
26
26
|
can_create_completion_document: z.boolean().default(true).describe("Whether user can create completion documents").nullable().optional()
|
|
27
|
-
}).describe("Account/workspace information.");
|
|
27
|
+
}).passthrough().describe("Account/workspace information.");
|
|
28
28
|
const SignwellGetCredentials_ContactInfoSchema = z.object({
|
|
29
29
|
id: z.string().describe("Unique identifier for the contact").nullable(),
|
|
30
30
|
name: z.string().describe("Full name").nullable(),
|
|
@@ -35,7 +35,7 @@ const SignwellGetCredentials_ContactInfoSchema = z.object({
|
|
|
35
35
|
company_name: z.string().describe("Company name").nullable().optional(),
|
|
36
36
|
phone_number: z.string().describe("Primary phone number").nullable().optional(),
|
|
37
37
|
alt_phone_number: z.string().describe("Alternative phone number").nullable().optional()
|
|
38
|
-
}).describe("Contact information for the authenticated user.");
|
|
38
|
+
}).passthrough().describe("Contact information for the authenticated user.");
|
|
39
39
|
const signwellGetCredentials = action("SIGNWELL_GET_CREDENTIALS", {
|
|
40
40
|
slug: "signwell-get-credentials",
|
|
41
41
|
name: "Get Credentials",
|
|
@@ -49,7 +49,7 @@ const signwellGetCredentials = action("SIGNWELL_GET_CREDENTIALS", {
|
|
|
49
49
|
contact: SignwellGetCredentials_ContactInfoSchema.nullable(),
|
|
50
50
|
archived: z.boolean().default(false).describe("Whether membership is archived").nullable().optional(),
|
|
51
51
|
workspace: SignwellGetCredentials_AccountInfoSchema.nullable()
|
|
52
|
-
}).describe("Account information associated with the current API key.")
|
|
52
|
+
}).passthrough().describe("Account information associated with the current API key.")
|
|
53
53
|
});
|
|
54
54
|
//#endregion
|
|
55
55
|
export { signwellGetCredentials };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-credentials.mjs","names":[],"sources":["../../src/actions/get-credentials.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SignwellGetCredentialsInput = z.object({}).describe(\"Request model for retrieving account information. No parameters required.\");\nconst SignwellGetCredentials_UserInfoSchema = z.object({\n id: z.string().describe(\"Unique identifier for the user\").nullable(),\n name: z.string().describe(\"Full name of the user\").nullable(),\n email: z.string().describe(\"Email address of the user\").nullable(),\n first_name: z.string().describe(\"First name of the user\").nullable().optional(),\n has_google_registration: z.boolean().default(false).describe(\"Whether user registered via Google\").nullable().optional(),\n}).describe(\"Current authenticated user information.\");\nconst SignwellGetCredentials_ActiveUserSchema = z.object({\n id: z.string().describe(\"Unique identifier for the user\").nullable(),\n name: z.string().describe(\"Full name of the user\").nullable(),\n email: z.string().describe(\"Email address of the user\").nullable(),\n has_google_registration: z.boolean().default(false).describe(\"Whether user registered via Google\").nullable().optional(),\n}).describe(\"A user within the account/workspace.\");\nconst SignwellGetCredentials_AccountInfoSchema = z.object({\n id: z.string().describe(\"Unique identifier for the account\").nullable(),\n name: z.string().describe(\"Name of the account\").nullable(),\n plan_tier: z.string().describe(\"Current plan tier (e.g., 'free', 'pro')\").nullable(),\n active_users: z.array(SignwellGetCredentials_ActiveUserSchema).describe(\"List of active users in the account\").nullable().optional(),\n active_templates: z.number().int().default(0).describe(\"Number of active templates\").nullable().optional(),\n can_create_template: z.boolean().default(true).describe(\"Whether user can create templates\").nullable().optional(),\n can_create_tracking_document: z.boolean().default(true).describe(\"Whether user can create tracking documents\").nullable().optional(),\n can_create_completion_document: z.boolean().default(true).describe(\"Whether user can create completion documents\").nullable().optional(),\n}).describe(\"Account/workspace information.\");\nconst SignwellGetCredentials_ContactInfoSchema = z.object({\n id: z.string().describe(\"Unique identifier for the contact\").nullable(),\n name: z.string().describe(\"Full name\").nullable(),\n email: z.string().describe(\"Email address\").nullable(),\n website: z.string().describe(\"Website URL\").nullable().optional(),\n archived: z.boolean().default(false).describe(\"Whether contact is archived\").nullable().optional(),\n initials: z.string().describe(\"User initials\").nullable().optional(),\n company_name: z.string().describe(\"Company name\").nullable().optional(),\n phone_number: z.string().describe(\"Primary phone number\").nullable().optional(),\n alt_phone_number: z.string().describe(\"Alternative phone number\").nullable().optional(),\n}).describe(\"Contact information for the authenticated user.\");\nexport const SignwellGetCredentialsOutput = z.object({\n id: z.string().describe(\"Unique membership ID for the user-account relationship\").nullable(),\n role: z.string().describe(\"User's role in the account (e.g., 'owner', 'admin', 'user')\").nullable(),\n user: SignwellGetCredentials_UserInfoSchema.nullable(),\n account: SignwellGetCredentials_AccountInfoSchema.nullable(),\n contact: SignwellGetCredentials_ContactInfoSchema.nullable(),\n archived: z.boolean().default(false).describe(\"Whether membership is archived\").nullable().optional(),\n workspace: SignwellGetCredentials_AccountInfoSchema.nullable(),\n}).describe(\"Account information associated with the current API key.\");\n\nexport const signwellGetCredentials = action(\"SIGNWELL_GET_CREDENTIALS\", {\n slug: \"signwell-get-credentials\",\n name: \"Get Credentials\",\n description: \"Retrieve account information for the authenticated API key. Returns comprehensive details including user profile, account settings, workspace configuration, and contact information. Use this to validate API credentials, check account capabilities (like template creation limits), or get user/account IDs for other API calls.\",\n input: SignwellGetCredentialsInput,\n output: SignwellGetCredentialsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,2EAA2E;AAC5I,MAAM,wCAAwC,EAAE,OAAO;CACrD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACnE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CAC5D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CACjE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,yBAAyB,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzH,CAAC,CAAC,CAAC,SAAS,yCAAyC;
|
|
1
|
+
{"version":3,"file":"get-credentials.mjs","names":[],"sources":["../../src/actions/get-credentials.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SignwellGetCredentialsInput = z.object({}).describe(\"Request model for retrieving account information. No parameters required.\");\nconst SignwellGetCredentials_UserInfoSchema = z.object({\n id: z.string().describe(\"Unique identifier for the user\").nullable(),\n name: z.string().describe(\"Full name of the user\").nullable(),\n email: z.string().describe(\"Email address of the user\").nullable(),\n first_name: z.string().describe(\"First name of the user\").nullable().optional(),\n has_google_registration: z.boolean().default(false).describe(\"Whether user registered via Google\").nullable().optional(),\n}).passthrough().describe(\"Current authenticated user information.\");\nconst SignwellGetCredentials_ActiveUserSchema = z.object({\n id: z.string().describe(\"Unique identifier for the user\").nullable(),\n name: z.string().describe(\"Full name of the user\").nullable(),\n email: z.string().describe(\"Email address of the user\").nullable(),\n has_google_registration: z.boolean().default(false).describe(\"Whether user registered via Google\").nullable().optional(),\n}).passthrough().describe(\"A user within the account/workspace.\");\nconst SignwellGetCredentials_AccountInfoSchema = z.object({\n id: z.string().describe(\"Unique identifier for the account\").nullable(),\n name: z.string().describe(\"Name of the account\").nullable(),\n plan_tier: z.string().describe(\"Current plan tier (e.g., 'free', 'pro')\").nullable(),\n active_users: z.array(SignwellGetCredentials_ActiveUserSchema).describe(\"List of active users in the account\").nullable().optional(),\n active_templates: z.number().int().default(0).describe(\"Number of active templates\").nullable().optional(),\n can_create_template: z.boolean().default(true).describe(\"Whether user can create templates\").nullable().optional(),\n can_create_tracking_document: z.boolean().default(true).describe(\"Whether user can create tracking documents\").nullable().optional(),\n can_create_completion_document: z.boolean().default(true).describe(\"Whether user can create completion documents\").nullable().optional(),\n}).passthrough().describe(\"Account/workspace information.\");\nconst SignwellGetCredentials_ContactInfoSchema = z.object({\n id: z.string().describe(\"Unique identifier for the contact\").nullable(),\n name: z.string().describe(\"Full name\").nullable(),\n email: z.string().describe(\"Email address\").nullable(),\n website: z.string().describe(\"Website URL\").nullable().optional(),\n archived: z.boolean().default(false).describe(\"Whether contact is archived\").nullable().optional(),\n initials: z.string().describe(\"User initials\").nullable().optional(),\n company_name: z.string().describe(\"Company name\").nullable().optional(),\n phone_number: z.string().describe(\"Primary phone number\").nullable().optional(),\n alt_phone_number: z.string().describe(\"Alternative phone number\").nullable().optional(),\n}).passthrough().describe(\"Contact information for the authenticated user.\");\nexport const SignwellGetCredentialsOutput = z.object({\n id: z.string().describe(\"Unique membership ID for the user-account relationship\").nullable(),\n role: z.string().describe(\"User's role in the account (e.g., 'owner', 'admin', 'user')\").nullable(),\n user: SignwellGetCredentials_UserInfoSchema.nullable(),\n account: SignwellGetCredentials_AccountInfoSchema.nullable(),\n contact: SignwellGetCredentials_ContactInfoSchema.nullable(),\n archived: z.boolean().default(false).describe(\"Whether membership is archived\").nullable().optional(),\n workspace: SignwellGetCredentials_AccountInfoSchema.nullable(),\n}).passthrough().describe(\"Account information associated with the current API key.\");\n\nexport const signwellGetCredentials = action(\"SIGNWELL_GET_CREDENTIALS\", {\n slug: \"signwell-get-credentials\",\n name: \"Get Credentials\",\n description: \"Retrieve account information for the authenticated API key. Returns comprehensive details including user profile, account settings, workspace configuration, and contact information. Use this to validate API credentials, check account capabilities (like template creation limits), or get user/account IDs for other API calls.\",\n input: SignwellGetCredentialsInput,\n output: SignwellGetCredentialsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,2EAA2E;AAC5I,MAAM,wCAAwC,EAAE,OAAO;CACrD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACnE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CAC5D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CACjE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,yBAAyB,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAAyC;AACnE,MAAM,0CAA0C,EAAE,OAAO;CACvD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACnE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CAC5D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CACjE,yBAAyB,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAAsC;AAChE,MAAM,2CAA2C,EAAE,OAAO;CACxD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACtE,MAAM,EAAE,OAAO,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AAC,SAAS,CAAC,CAAC,SAAS;CACnE,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAAiD;AAW3E,MAAa,yBAAyB,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAf0C,EAAE,OAAO;EACnD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;EAC3F,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;EAClG,MAAM,sCAAsC,SAAS;EACrD,SAAS,yCAAyC,SAAS;EAC3D,SAAS,yCAAyC,SAAS;EAC3D,UAAU,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpG,WAAW,yCAAyC,SAAS;CAC/D,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0DAOhB;AACV,CAAC"}
|
|
@@ -5,7 +5,7 @@ const SignwellGetDocumentInput = zod.z.object({ id: zod.z.string().describe("The
|
|
|
5
5
|
const SignwellGetDocument_DocumentFileSchema = zod.z.object({
|
|
6
6
|
name: zod.z.string().describe("The name of the file.").nullable(),
|
|
7
7
|
pages_number: zod.z.number().int().describe("Number of pages in the file.").nullable()
|
|
8
|
-
}).describe("Information about a file in the document.");
|
|
8
|
+
}).passthrough().describe("Information about a file in the document.");
|
|
9
9
|
const SignwellGetDocument_RecipientSchema = zod.z.object({
|
|
10
10
|
id: zod.z.string().describe("Unique identifier for this recipient.").nullable(),
|
|
11
11
|
name: zod.z.string().describe("Full name of the recipient.").nullable(),
|
|
@@ -22,7 +22,7 @@ const SignwellGetDocument_RecipientSchema = zod.z.object({
|
|
|
22
22
|
send_email_delay: zod.z.number().int().default(0).describe("Delay in hours before sending email.").nullable().optional(),
|
|
23
23
|
attachment_requests: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("List of attachment requests for this recipient.").nullable().optional(),
|
|
24
24
|
embedded_signing_url: zod.z.string().describe("URL for embedded signing (when embedded_signing is enabled).").nullable().optional()
|
|
25
|
-
}).describe("Information about a document recipient/signer.");
|
|
25
|
+
}).passthrough().describe("Information about a document recipient/signer.");
|
|
26
26
|
const SignwellGetDocumentOutput = zod.z.object({
|
|
27
27
|
id: zod.z.string().describe("Unique identifier of the document.").nullable(),
|
|
28
28
|
name: zod.z.string().describe("Name of the document.").nullable(),
|
|
@@ -34,7 +34,7 @@ const SignwellGetDocumentOutput = zod.z.object({
|
|
|
34
34
|
subject: zod.z.string().describe("Email subject for signature requests.").nullable().optional(),
|
|
35
35
|
archived: zod.z.boolean().describe("Whether the document has been archived.").nullable(),
|
|
36
36
|
language: zod.z.string().describe("Language code for the document (e.g., 'en', 'fr').").nullable(),
|
|
37
|
-
metadata: zod.z.
|
|
37
|
+
metadata: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Custom key-value metadata associated with the document.").nullable().optional(),
|
|
38
38
|
reminders: zod.z.boolean().default(true).describe("Whether reminders are enabled.").nullable().optional(),
|
|
39
39
|
test_mode: zod.z.boolean().describe("Whether this is a test document (not legally binding).").nullable(),
|
|
40
40
|
created_at: zod.z.string().describe("ISO 8601 timestamp when document was created.").nullable(),
|
|
@@ -57,7 +57,7 @@ const SignwellGetDocumentOutput = zod.z.object({
|
|
|
57
57
|
custom_requester_name: zod.z.string().describe("Custom name used in email communications.").nullable().optional(),
|
|
58
58
|
custom_requester_email: zod.z.string().describe("Custom email used in communications.").nullable().optional(),
|
|
59
59
|
requester_email_address: zod.z.string().describe("Email address of the person who created the document.").nullable()
|
|
60
|
-
}).describe("Response containing detailed document information from SignWell.");
|
|
60
|
+
}).passthrough().describe("Response containing detailed document information from SignWell.");
|
|
61
61
|
const signwellGetDocument = require_action.action("SIGNWELL_GET_DOCUMENT", {
|
|
62
62
|
slug: "signwell-get-document",
|
|
63
63
|
name: "Get Document",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-document.cjs","names":["z","action"],"sources":["../../src/actions/get-document.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SignwellGetDocumentInput = z.object({\n id: z.string().describe(\"The unique identifier (UUID) for the document to retrieve. This ID is returned when creating a document via the API.\"),\n}).describe(\"Request model for fetching a document by its unique ID.\");\nconst SignwellGetDocument_DocumentFileSchema = z.object({\n name: z.string().describe(\"The name of the file.\").nullable(),\n pages_number: z.number().int().describe(\"Number of pages in the file.\").nullable(),\n}).describe(\"Information about a file in the document.\");\nconst SignwellGetDocument_RecipientSchema = z.object({\n id: z.string().describe(\"Unique identifier for this recipient.\").nullable(),\n name: z.string().describe(\"Full name of the recipient.\").nullable(),\n email: z.string().describe(\"Email address of the recipient.\").nullable(),\n status: z.string().describe(\"Current signing status (e.g., 'draft', 'sent', 'completed', 'declined').\").nullable(),\n bounced: z.boolean().describe(\"Whether the email to this recipient bounced.\").nullable().optional(),\n message: z.string().describe(\"Custom message for this recipient.\").nullable().optional(),\n subject: z.string().describe(\"Custom subject for this recipient.\").nullable().optional(),\n passcode: z.string().describe(\"Passcode for signing access.\").nullable().optional(),\n send_email: z.boolean().default(false).describe(\"Whether to send signing request via email.\").nullable().optional(),\n signing_url: z.string().describe(\"URL where the recipient can sign the document.\").nullable().optional(),\n signing_order: z.number().int().describe(\"Order in which this recipient signs.\").nullable(),\n bounced_details: z.string().describe(\"Details about why the email bounced.\").nullable().optional(),\n send_email_delay: z.number().int().default(0).describe(\"Delay in hours before sending email.\").nullable().optional(),\n attachment_requests: z.array(z.record(z.string(), z.unknown())).describe(\"List of attachment requests for this recipient.\").nullable().optional(),\n embedded_signing_url: z.string().describe(\"URL for embedded signing (when embedded_signing is enabled).\").nullable().optional(),\n}).describe(\"Information about a document recipient/signer.\");\nexport const SignwellGetDocumentOutput = z.object({\n id: z.string().describe(\"Unique identifier of the document.\").nullable(),\n name: z.string().describe(\"Name of the document.\").nullable(),\n files: z.array(SignwellGetDocument_DocumentFileSchema).describe(\"List of files attached to this document.\").nullable().optional(),\n fields: z.array(z.unknown()).describe(\"Form fields defined in the document.\").nullable().optional(),\n labels: z.array(z.string()).describe(\"Labels/tags applied to the document.\").nullable().optional(),\n status: z.string().describe(\"Current document status: 'Draft', 'Created', 'Pending', 'Completed', 'Cancelled', 'Expired', 'Bounced', or 'Declined'.\").nullable(),\n message: z.string().describe(\"Email message for signature requests.\").nullable().optional(),\n subject: z.string().describe(\"Email subject for signature requests.\").nullable().optional(),\n archived: z.boolean().describe(\"Whether the document has been archived.\").nullable(),\n language: z.string().describe(\"Language code for the document (e.g., 'en', 'fr').\").nullable(),\n metadata: z.object({}).describe(\"Custom key-value metadata associated with the document.\").nullable().optional(),\n reminders: z.boolean().default(true).describe(\"Whether reminders are enabled.\").nullable().optional(),\n test_mode: z.boolean().describe(\"Whether this is a test document (not legally binding).\").nullable(),\n created_at: z.string().describe(\"ISO 8601 timestamp when document was created.\").nullable(),\n expires_in: z.number().int().describe(\"Number of days before the signing request expires.\").nullable().optional(),\n recipients: z.array(SignwellGetDocument_RecipientSchema).describe(\"List of recipients/signers for this document.\").nullable().optional(),\n updated_at: z.string().describe(\"ISO 8601 timestamp when document was last updated.\").nullable(),\n redirect_url: z.string().describe(\"URL to redirect to after successful signing.\").nullable().optional(),\n allow_decline: z.boolean().default(true).describe(\"Whether recipients can decline to sign.\").nullable().optional(),\n error_message: z.string().describe(\"Error message if document has issues (e.g., bounced email).\").nullable().optional(),\n allow_reassign: z.boolean().default(true).describe(\"Whether signers can reassign their responsibility.\").nullable().optional(),\n checkbox_groups: z.array(z.record(z.string(), z.unknown())).describe(\"Checkbox groups defined in the document.\").nullable().optional(),\n copied_contacts: z.array(z.record(z.string(), z.unknown())).describe(\"Contacts who receive copies of completed documents.\").nullable().optional(),\n decline_message: z.string().describe(\"Message provided if the document was declined.\").nullable().optional(),\n embedded_signing: z.boolean().default(false).describe(\"Whether embedded signing (iframe) is enabled.\").nullable().optional(),\n embedded_edit_url: z.string().describe(\"URL to edit the document in SignWell's editor.\").nullable().optional(),\n api_application_id: z.string().describe(\"UUID of the API Application settings used.\").nullable().optional(),\n apply_signing_order: z.boolean().default(false).describe(\"Whether signing must follow a specific order.\").nullable().optional(),\n decline_redirect_url: z.string().describe(\"URL to redirect to if signing is declined.\").nullable().optional(),\n embedded_preview_url: z.string().describe(\"URL to preview the document.\").nullable().optional(),\n custom_requester_name: z.string().describe(\"Custom name used in email communications.\").nullable().optional(),\n custom_requester_email: z.string().describe(\"Custom email used in communications.\").nullable().optional(),\n requester_email_address: z.string().describe(\"Email address of the person who created the document.\").nullable(),\n}).describe(\"Response containing detailed document information from SignWell.\");\n\nexport const signwellGetDocument = action(\"SIGNWELL_GET_DOCUMENT\", {\n slug: \"signwell-get-document\",\n name: \"Get Document\",\n description: \"Tool to return a document and all associated document data. Use when you need to fetch document details by ID.\",\n input: SignwellGetDocumentInput,\n output: SignwellGetDocumentOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO,EAC/C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sHAAsH,EAChJ,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAM,yCAAyCA,IAAAA,EAAE,OAAO;CACtD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CAC5D,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;AACn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BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,yBAAyBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;AACjH,CAAC,CAAC,CAAC,SAAS,kEAAkE;AAE9E,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
1
|
+
{"version":3,"file":"get-document.cjs","names":["z","action"],"sources":["../../src/actions/get-document.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SignwellGetDocumentInput = z.object({\n id: z.string().describe(\"The unique identifier (UUID) for the document to retrieve. This ID is returned when creating a document via the API.\"),\n}).describe(\"Request model for fetching a document by its unique ID.\");\nconst SignwellGetDocument_DocumentFileSchema = z.object({\n name: z.string().describe(\"The name of the file.\").nullable(),\n pages_number: z.number().int().describe(\"Number of pages in the file.\").nullable(),\n}).passthrough().describe(\"Information about a file in the document.\");\nconst SignwellGetDocument_RecipientSchema = z.object({\n id: z.string().describe(\"Unique identifier for this recipient.\").nullable(),\n name: z.string().describe(\"Full name of the recipient.\").nullable(),\n email: z.string().describe(\"Email address of the recipient.\").nullable(),\n status: z.string().describe(\"Current signing status (e.g., 'draft', 'sent', 'completed', 'declined').\").nullable(),\n bounced: z.boolean().describe(\"Whether the email to this recipient bounced.\").nullable().optional(),\n message: z.string().describe(\"Custom message for this recipient.\").nullable().optional(),\n subject: z.string().describe(\"Custom subject for this recipient.\").nullable().optional(),\n passcode: z.string().describe(\"Passcode for signing access.\").nullable().optional(),\n send_email: z.boolean().default(false).describe(\"Whether to send signing request via email.\").nullable().optional(),\n signing_url: z.string().describe(\"URL where the recipient can sign the document.\").nullable().optional(),\n signing_order: z.number().int().describe(\"Order in which this recipient signs.\").nullable(),\n bounced_details: z.string().describe(\"Details about why the email bounced.\").nullable().optional(),\n send_email_delay: z.number().int().default(0).describe(\"Delay in hours before sending email.\").nullable().optional(),\n attachment_requests: z.array(z.record(z.string(), z.unknown())).describe(\"List of attachment requests for this recipient.\").nullable().optional(),\n embedded_signing_url: z.string().describe(\"URL for embedded signing (when embedded_signing is enabled).\").nullable().optional(),\n}).passthrough().describe(\"Information about a document recipient/signer.\");\nexport const SignwellGetDocumentOutput = z.object({\n id: z.string().describe(\"Unique identifier of the document.\").nullable(),\n name: z.string().describe(\"Name of the document.\").nullable(),\n files: z.array(SignwellGetDocument_DocumentFileSchema).describe(\"List of files attached to this document.\").nullable().optional(),\n fields: z.array(z.unknown()).describe(\"Form fields defined in the document.\").nullable().optional(),\n labels: z.array(z.string()).describe(\"Labels/tags applied to the document.\").nullable().optional(),\n status: z.string().describe(\"Current document status: 'Draft', 'Created', 'Pending', 'Completed', 'Cancelled', 'Expired', 'Bounced', or 'Declined'.\").nullable(),\n message: z.string().describe(\"Email message for signature requests.\").nullable().optional(),\n subject: z.string().describe(\"Email subject for signature requests.\").nullable().optional(),\n archived: z.boolean().describe(\"Whether the document has been archived.\").nullable(),\n language: z.string().describe(\"Language code for the document (e.g., 'en', 'fr').\").nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom key-value metadata associated with the document.\").nullable().optional(),\n reminders: z.boolean().default(true).describe(\"Whether reminders are enabled.\").nullable().optional(),\n test_mode: z.boolean().describe(\"Whether this is a test document (not legally binding).\").nullable(),\n created_at: z.string().describe(\"ISO 8601 timestamp when document was created.\").nullable(),\n expires_in: z.number().int().describe(\"Number of days before the signing request expires.\").nullable().optional(),\n recipients: z.array(SignwellGetDocument_RecipientSchema).describe(\"List of recipients/signers for this document.\").nullable().optional(),\n updated_at: z.string().describe(\"ISO 8601 timestamp when document was last updated.\").nullable(),\n redirect_url: z.string().describe(\"URL to redirect to after successful signing.\").nullable().optional(),\n allow_decline: z.boolean().default(true).describe(\"Whether recipients can decline to sign.\").nullable().optional(),\n error_message: z.string().describe(\"Error message if document has issues (e.g., bounced email).\").nullable().optional(),\n allow_reassign: z.boolean().default(true).describe(\"Whether signers can reassign their responsibility.\").nullable().optional(),\n checkbox_groups: z.array(z.record(z.string(), z.unknown())).describe(\"Checkbox groups defined in the document.\").nullable().optional(),\n copied_contacts: z.array(z.record(z.string(), z.unknown())).describe(\"Contacts who receive copies of completed documents.\").nullable().optional(),\n decline_message: z.string().describe(\"Message provided if the document was declined.\").nullable().optional(),\n embedded_signing: z.boolean().default(false).describe(\"Whether embedded signing (iframe) is enabled.\").nullable().optional(),\n embedded_edit_url: z.string().describe(\"URL to edit the document in SignWell's editor.\").nullable().optional(),\n api_application_id: z.string().describe(\"UUID of the API Application settings used.\").nullable().optional(),\n apply_signing_order: z.boolean().default(false).describe(\"Whether signing must follow a specific order.\").nullable().optional(),\n decline_redirect_url: z.string().describe(\"URL to redirect to if signing is declined.\").nullable().optional(),\n embedded_preview_url: z.string().describe(\"URL to preview the document.\").nullable().optional(),\n custom_requester_name: z.string().describe(\"Custom name used in email communications.\").nullable().optional(),\n custom_requester_email: z.string().describe(\"Custom email used in communications.\").nullable().optional(),\n requester_email_address: z.string().describe(\"Email address of the person who created the document.\").nullable(),\n}).passthrough().describe(\"Response containing detailed document information from SignWell.\");\n\nexport const signwellGetDocument = action(\"SIGNWELL_GET_DOCUMENT\", {\n slug: \"signwell-get-document\",\n name: \"Get Document\",\n description: \"Tool to return a document and all associated document data. Use when you need to fetch document details by ID.\",\n input: SignwellGetDocumentInput,\n output: SignwellGetDocumentOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO,EAC/C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sHAAsH,EAChJ,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAM,yCAAyCA,IAAAA,EAAE,OAAO;CACtD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CAC5D,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,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,uBAAuBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,wBAAwBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,yBAAyBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;AACjH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kEAAkE;AAE5F,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -10,7 +10,7 @@ declare const SignwellGetDocumentOutput: z.ZodObject<{
|
|
|
10
10
|
files: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
11
11
|
name: z.ZodNullable<z.ZodString>;
|
|
12
12
|
pages_number: z.ZodNullable<z.ZodNumber>;
|
|
13
|
-
}, z.core.$
|
|
13
|
+
}, z.core.$loose>>>>;
|
|
14
14
|
fields: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnknown>>>;
|
|
15
15
|
labels: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
16
16
|
status: z.ZodNullable<z.ZodString>;
|
|
@@ -18,7 +18,7 @@ declare const SignwellGetDocumentOutput: z.ZodObject<{
|
|
|
18
18
|
subject: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
19
|
archived: z.ZodNullable<z.ZodBoolean>;
|
|
20
20
|
language: z.ZodNullable<z.ZodString>;
|
|
21
|
-
metadata: z.ZodOptional<z.ZodNullable<z.
|
|
21
|
+
metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
22
22
|
reminders: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
|
|
23
23
|
test_mode: z.ZodNullable<z.ZodBoolean>;
|
|
24
24
|
created_at: z.ZodNullable<z.ZodString>;
|
|
@@ -39,7 +39,7 @@ declare const SignwellGetDocumentOutput: z.ZodObject<{
|
|
|
39
39
|
send_email_delay: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
|
|
40
40
|
attachment_requests: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
41
41
|
embedded_signing_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
42
|
-
}, z.core.$
|
|
42
|
+
}, z.core.$loose>>>>;
|
|
43
43
|
updated_at: z.ZodNullable<z.ZodString>;
|
|
44
44
|
redirect_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
45
45
|
allow_decline: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
|
|
@@ -57,7 +57,7 @@ declare const SignwellGetDocumentOutput: z.ZodObject<{
|
|
|
57
57
|
custom_requester_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
58
58
|
custom_requester_email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
59
59
|
requester_email_address: z.ZodNullable<z.ZodString>;
|
|
60
|
-
}, z.core.$
|
|
60
|
+
}, z.core.$loose>;
|
|
61
61
|
declare const signwellGetDocument: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
62
62
|
id: string;
|
|
63
63
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|