@keystrokehq/docusign 0.0.9 → 0.0.11
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/_official/index.d.mts +2 -2
- package/dist/_official/index.mjs +1 -1
- package/dist/account-custom-fields.d.mts +5 -5
- package/dist/account-custom-fields.mjs +5 -5
- package/dist/account-stamps.d.mts +12 -12
- package/dist/account-stamps.mjs +12 -12
- package/dist/account-tabs.d.mts +7 -7
- package/dist/account-tabs.mjs +7 -7
- package/dist/account.d.mts +19 -19
- package/dist/account.mjs +19 -19
- package/dist/admin.d.mts +2 -2
- package/dist/admin.mjs +2 -2
- package/dist/auth.d.mts +3 -3
- package/dist/auth.mjs +4 -4
- package/dist/bcc-archive.d.mts +5 -5
- package/dist/bcc-archive.mjs +5 -5
- package/dist/billing.d.mts +17 -17
- package/dist/billing.mjs +17 -17
- package/dist/brands.d.mts +12 -12
- package/dist/brands.mjs +12 -12
- package/dist/bulk-send.d.mts +9 -9
- package/dist/bulk-send.mjs +9 -9
- package/dist/chunked-uploads.d.mts +6 -6
- package/dist/chunked-uploads.mjs +6 -6
- package/dist/click.d.mts +2 -2
- package/dist/click.mjs +2 -2
- package/dist/client.d.mts +1 -1
- package/dist/client.mjs +3 -3
- package/dist/clm.d.mts +2 -2
- package/dist/clm.mjs +2 -2
- package/dist/cloud-storage.d.mts +8 -8
- package/dist/cloud-storage.mjs +8 -8
- package/dist/connect.d.mts +18 -18
- package/dist/connect.mjs +18 -18
- package/dist/connection.d.mts +1 -1
- package/dist/connection.mjs +1 -1
- package/dist/contacts.d.mts +6 -6
- package/dist/contacts.mjs +6 -6
- package/dist/enote.d.mts +4 -4
- package/dist/enote.mjs +4 -4
- package/dist/envelope-attachments.d.mts +6 -6
- package/dist/envelope-attachments.mjs +6 -6
- package/dist/envelope-custom-fields.d.mts +8 -8
- package/dist/envelope-custom-fields.mjs +8 -8
- package/dist/envelope-documents.d.mts +17 -17
- package/dist/envelope-documents.mjs +17 -17
- package/dist/envelope-email.d.mts +5 -5
- package/dist/envelope-email.mjs +5 -5
- package/dist/envelope-lock.d.mts +5 -5
- package/dist/envelope-lock.mjs +5 -5
- package/dist/envelope-logs.d.mts +10 -10
- package/dist/envelope-logs.mjs +10 -10
- package/dist/envelope-notifications.d.mts +4 -4
- package/dist/envelope-notifications.mjs +4 -4
- package/dist/envelope-recipients.d.mts +12 -12
- package/dist/envelope-recipients.mjs +12 -12
- package/dist/envelope-tabs.d.mts +4 -4
- package/dist/envelope-tabs.mjs +4 -4
- package/dist/envelope-views.d.mts +7 -7
- package/dist/envelope-views.mjs +7 -7
- package/dist/envelope-workflow.d.mts +15 -15
- package/dist/envelope-workflow.mjs +15 -15
- package/dist/envelopes.d.mts +14 -14
- package/dist/envelopes.mjs +14 -14
- package/dist/factory-DFejlPDe.mjs +7 -0
- package/dist/groups.d.mts +11 -11
- package/dist/groups.mjs +11 -11
- package/dist/{integration-BykMcCMC.mjs → integration-BcEp_dFX.mjs} +140 -4
- package/dist/{integration-SYThzunD.d.mts → integration-CdIRNjCz.d.mts} +3 -4
- package/dist/monitor.d.mts +2 -2
- package/dist/monitor.mjs +2 -2
- package/dist/notary.d.mts +10 -10
- package/dist/notary.mjs +10 -10
- package/dist/{operation-helpers-DcsuFcq0.mjs → operation-helpers-Bqp7KoLi.mjs} +1 -1
- package/dist/permission-profiles.d.mts +6 -6
- package/dist/permission-profiles.mjs +6 -6
- package/dist/power-forms.d.mts +4 -4
- package/dist/power-forms.mjs +4 -4
- package/dist/rooms.d.mts +2 -2
- package/dist/rooms.mjs +2 -2
- package/dist/signing-groups.d.mts +10 -10
- package/dist/signing-groups.mjs +10 -10
- package/dist/template-custom-fields.d.mts +9 -9
- package/dist/template-custom-fields.mjs +9 -9
- package/dist/template-documents.d.mts +9 -9
- package/dist/template-documents.mjs +9 -9
- package/dist/template-lock.d.mts +5 -5
- package/dist/template-lock.mjs +5 -5
- package/dist/template-sharing.d.mts +9 -9
- package/dist/template-sharing.mjs +9 -9
- package/dist/template-workflow.d.mts +13 -13
- package/dist/template-workflow.mjs +13 -13
- package/dist/templates.d.mts +8 -8
- package/dist/templates.mjs +8 -8
- package/dist/user-authorizations.d.mts +9 -9
- package/dist/user-authorizations.mjs +9 -9
- package/dist/user-custom-settings.d.mts +6 -6
- package/dist/user-custom-settings.mjs +6 -6
- package/dist/user-profile.d.mts +8 -8
- package/dist/user-profile.mjs +8 -8
- package/dist/user-signatures.d.mts +14 -14
- package/dist/user-signatures.mjs +14 -14
- package/dist/users.d.mts +7 -7
- package/dist/users.mjs +7 -7
- package/dist/workspaces.d.mts +12 -12
- package/dist/workspaces.mjs +12 -12
- package/package.json +5 -5
- package/dist/factory-Cj6MzqXn.mjs +0 -8
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { docusignEnvelopeIdSchema, docusignGenericObjectSchema, docusignLooseObjectSchema, docusignSuccessSchema } from "./schemas/index.mjs";
|
|
2
|
-
import { r as defineRestOperation, t as defineBinaryOperation } from "./operation-helpers-
|
|
2
|
+
import { r as defineRestOperation, t as defineBinaryOperation } from "./operation-helpers-Bqp7KoLi.mjs";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
|
|
5
5
|
//#region src/envelope-attachments.ts
|
|
@@ -15,7 +15,7 @@ const binaryResponseSchema = docusignLooseObjectSchema({
|
|
|
15
15
|
body: z.string()
|
|
16
16
|
});
|
|
17
17
|
const addEnvelopeAttachments = defineRestOperation({
|
|
18
|
-
id: "
|
|
18
|
+
id: "docusign.add-envelope-attachments",
|
|
19
19
|
slug: "DOCUSIGN_ADD_ENVELOPE_ATTACHMENTS",
|
|
20
20
|
name: "Add Envelope Attachments",
|
|
21
21
|
description: "Attach additional files to an envelope.",
|
|
@@ -27,7 +27,7 @@ const addEnvelopeAttachments = defineRestOperation({
|
|
|
27
27
|
body: (input) => ({ attachments: input.attachments })
|
|
28
28
|
});
|
|
29
29
|
const updateEnvelopeAttachment = defineRestOperation({
|
|
30
|
-
id: "
|
|
30
|
+
id: "docusign.update-envelope-attachment",
|
|
31
31
|
slug: "DOCUSIGN_UPDATE_ENVELOPE_ATTACHMENT",
|
|
32
32
|
name: "Update Envelope Attachment",
|
|
33
33
|
description: "Update a specific attachment on an envelope.",
|
|
@@ -39,7 +39,7 @@ const updateEnvelopeAttachment = defineRestOperation({
|
|
|
39
39
|
body: (input) => input.attachment
|
|
40
40
|
});
|
|
41
41
|
const deleteDraftEnvelopeAttachments = defineRestOperation({
|
|
42
|
-
id: "
|
|
42
|
+
id: "docusign.delete-draft-envelope-attachments",
|
|
43
43
|
slug: "DOCUSIGN_DELETE_DRAFT_ENVELOPE_ATTACHMENTS",
|
|
44
44
|
name: "Delete Draft Envelope Attachments",
|
|
45
45
|
description: "Remove attachments from a draft envelope.",
|
|
@@ -52,7 +52,7 @@ const deleteDraftEnvelopeAttachments = defineRestOperation({
|
|
|
52
52
|
transformResponse: () => ({ success: true })
|
|
53
53
|
});
|
|
54
54
|
const retrieveEnvelopeAttachment = defineBinaryOperation({
|
|
55
|
-
id: "
|
|
55
|
+
id: "docusign.retrieve-envelope-attachment",
|
|
56
56
|
slug: "DOCUSIGN_RETRIEVE_ENVELOPE_ATTACHMENT",
|
|
57
57
|
name: "Retrieve Envelope Attachment",
|
|
58
58
|
description: "Download the binary contents of a specific attachment on an envelope.",
|
|
@@ -62,7 +62,7 @@ const retrieveEnvelopeAttachment = defineBinaryOperation({
|
|
|
62
62
|
output: binaryResponseSchema
|
|
63
63
|
});
|
|
64
64
|
const listEnvelopeAttachmentsByEnvelopeId = defineRestOperation({
|
|
65
|
-
id: "
|
|
65
|
+
id: "docusign.list-envelope-attachments-by-envelope-id",
|
|
66
66
|
slug: "DOCUSIGN_LIST_ENVELOPE_ATTACHMENTS_BY_ENVELOPE_ID",
|
|
67
67
|
name: "List Envelope Attachments",
|
|
68
68
|
description: "List all attachments on an envelope.",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { z } from "zod";
|
|
2
1
|
import * as _keystrokehq_core0 from "@keystrokehq/core";
|
|
2
|
+
import { z } from "zod";
|
|
3
3
|
import * as _keystrokehq_core_credential_set0 from "@keystrokehq/core/credential-set";
|
|
4
4
|
|
|
5
5
|
//#region src/envelope-custom-fields.d.ts
|
|
@@ -27,7 +27,7 @@ declare const createCustomFieldsForEnvelope: _keystrokehq_core0.Operation<z.ZodO
|
|
|
27
27
|
listCustomFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
28
28
|
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
29
29
|
}, z.core.$catchall<z.ZodUnknown>>>>;
|
|
30
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
30
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
31
31
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
32
32
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
33
33
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
@@ -45,7 +45,7 @@ declare const retrieveCustomFieldsForEnvelope: _keystrokehq_core0.Operation<z.Zo
|
|
|
45
45
|
listCustomFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
46
46
|
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
47
47
|
}, z.core.$catchall<z.ZodUnknown>>>>;
|
|
48
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
48
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
49
49
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
50
50
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
51
51
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
@@ -78,7 +78,7 @@ declare const updateEnvelopeCustomFields: _keystrokehq_core0.Operation<z.ZodObje
|
|
|
78
78
|
listCustomFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
79
79
|
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
80
80
|
}, z.core.$catchall<z.ZodUnknown>>>>;
|
|
81
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
81
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
82
82
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
83
83
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
84
84
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
@@ -106,7 +106,7 @@ declare const deleteEnvelopeCustomFields: _keystrokehq_core0.Operation<z.ZodObje
|
|
|
106
106
|
}, z.core.$catchall<z.ZodUnknown>>;
|
|
107
107
|
}, z.core.$strip>, z.ZodObject<{
|
|
108
108
|
success: z.ZodBoolean;
|
|
109
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
109
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
110
110
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
111
111
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
112
112
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
@@ -119,7 +119,7 @@ declare const getEnvelopeDocGenFormFields: _keystrokehq_core0.Operation<z.ZodObj
|
|
|
119
119
|
envelopeId: z.ZodString;
|
|
120
120
|
}, z.core.$strip>, z.ZodObject<{
|
|
121
121
|
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
122
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
122
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
123
123
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
124
124
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
125
125
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
@@ -135,7 +135,7 @@ declare const updateEnvelopeDocGenFormFields: _keystrokehq_core0.Operation<z.Zod
|
|
|
135
135
|
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
136
136
|
}, z.core.$strip>, z.ZodObject<{
|
|
137
137
|
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
138
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
138
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
139
139
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
140
140
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
141
141
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
@@ -153,7 +153,7 @@ declare const listEnvelopeAndDocumentCustomFields: _keystrokehq_core0.Operation<
|
|
|
153
153
|
listCustomFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
154
154
|
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
155
155
|
}, z.core.$catchall<z.ZodUnknown>>>>;
|
|
156
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
156
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
157
157
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
158
158
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
159
159
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { docusignCustomFieldsInputSchema, docusignCustomFieldsResponseSchema, docusignEnvelopeIdSchema, docusignGenericObjectSchema, docusignLooseObjectSchema, docusignSuccessSchema } from "./schemas/index.mjs";
|
|
2
|
-
import { r as defineRestOperation } from "./operation-helpers-
|
|
2
|
+
import { r as defineRestOperation } from "./operation-helpers-Bqp7KoLi.mjs";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
|
|
5
5
|
//#region src/envelope-custom-fields.ts
|
|
@@ -9,7 +9,7 @@ import { z } from "zod";
|
|
|
9
9
|
*/
|
|
10
10
|
const envId = z.object({ envelopeId: docusignEnvelopeIdSchema });
|
|
11
11
|
const createCustomFieldsForEnvelope = defineRestOperation({
|
|
12
|
-
id: "
|
|
12
|
+
id: "docusign.create-custom-fields-for-envelope",
|
|
13
13
|
slug: "DOCUSIGN_CREATE_CUSTOM_FIELDS_FOR_ENVELOPE",
|
|
14
14
|
name: "Create Custom Fields For Envelope",
|
|
15
15
|
description: "Attach custom fields to an envelope.",
|
|
@@ -21,7 +21,7 @@ const createCustomFieldsForEnvelope = defineRestOperation({
|
|
|
21
21
|
body: (input) => input.customFields
|
|
22
22
|
});
|
|
23
23
|
const retrieveCustomFieldsForEnvelope = defineRestOperation({
|
|
24
|
-
id: "
|
|
24
|
+
id: "docusign.retrieve-custom-fields-for-envelope",
|
|
25
25
|
slug: "DOCUSIGN_RETRIEVE_CUSTOM_FIELDS_FOR_ENVELOPE",
|
|
26
26
|
name: "Retrieve Custom Fields For Envelope",
|
|
27
27
|
description: "List custom fields attached to an envelope.",
|
|
@@ -31,7 +31,7 @@ const retrieveCustomFieldsForEnvelope = defineRestOperation({
|
|
|
31
31
|
output: docusignCustomFieldsResponseSchema
|
|
32
32
|
});
|
|
33
33
|
const updateEnvelopeCustomFields = defineRestOperation({
|
|
34
|
-
id: "
|
|
34
|
+
id: "docusign.update-envelope-custom-fields",
|
|
35
35
|
slug: "DOCUSIGN_UPDATE_ENVELOPE_CUSTOM_FIELDS",
|
|
36
36
|
name: "Update Envelope Custom Fields",
|
|
37
37
|
description: "Update custom fields on an envelope.",
|
|
@@ -43,7 +43,7 @@ const updateEnvelopeCustomFields = defineRestOperation({
|
|
|
43
43
|
body: (input) => input.customFields
|
|
44
44
|
});
|
|
45
45
|
const deleteEnvelopeCustomFields = defineRestOperation({
|
|
46
|
-
id: "
|
|
46
|
+
id: "docusign.delete-envelope-custom-fields",
|
|
47
47
|
slug: "DOCUSIGN_DELETE_ENVELOPE_CUSTOM_FIELDS",
|
|
48
48
|
name: "Delete Envelope Custom Fields",
|
|
49
49
|
description: "Delete custom fields from an envelope.",
|
|
@@ -56,7 +56,7 @@ const deleteEnvelopeCustomFields = defineRestOperation({
|
|
|
56
56
|
transformResponse: () => ({ success: true })
|
|
57
57
|
});
|
|
58
58
|
const getEnvelopeDocGenFormFields = defineRestOperation({
|
|
59
|
-
id: "
|
|
59
|
+
id: "docusign.get-envelope-doc-gen-form-fields",
|
|
60
60
|
slug: "DOCUSIGN_GET_ENVELOPE_DOC_GEN_FORM_FIELDS",
|
|
61
61
|
name: "Get Envelope DocGen Form Fields",
|
|
62
62
|
description: "Retrieve the DocGen form fields captured on an envelope.",
|
|
@@ -66,7 +66,7 @@ const getEnvelopeDocGenFormFields = defineRestOperation({
|
|
|
66
66
|
output: docusignGenericObjectSchema
|
|
67
67
|
});
|
|
68
68
|
const updateEnvelopeDocGenFormFields = defineRestOperation({
|
|
69
|
-
id: "
|
|
69
|
+
id: "docusign.update-envelope-doc-gen-form-fields",
|
|
70
70
|
slug: "DOCUSIGN_UPDATE_ENVELOPE_DOC_GEN_FORM_FIELDS",
|
|
71
71
|
name: "Update Envelope DocGen Form Fields",
|
|
72
72
|
description: "Update the DocGen form fields on an envelope.",
|
|
@@ -78,7 +78,7 @@ const updateEnvelopeDocGenFormFields = defineRestOperation({
|
|
|
78
78
|
body: (input) => ({ docGenFormFields: input.docGenFormFields })
|
|
79
79
|
});
|
|
80
80
|
const listEnvelopeAndDocumentCustomFields = defineRestOperation({
|
|
81
|
-
id: "
|
|
81
|
+
id: "docusign.list-envelope-and-document-custom-fields",
|
|
82
82
|
slug: "DOCUSIGN_LIST_ENVELOPE_AND_DOCUMENT_CUSTOM_FIELDS",
|
|
83
83
|
name: "List Envelope And Document Custom Fields",
|
|
84
84
|
description: "Combined helper that fetches envelope-level custom fields in one call.",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { z } from "zod";
|
|
2
1
|
import * as _keystrokehq_core0 from "@keystrokehq/core";
|
|
2
|
+
import { z } from "zod";
|
|
3
3
|
import * as _keystrokehq_core_credential_set0 from "@keystrokehq/core/credential-set";
|
|
4
4
|
|
|
5
5
|
//#region src/envelope-documents.d.ts
|
|
@@ -14,7 +14,7 @@ declare const retrieveEnvelopeDocuments: _keystrokehq_core0.Operation<z.ZodObjec
|
|
|
14
14
|
order: z.ZodOptional<z.ZodString>;
|
|
15
15
|
}, z.core.$catchall<z.ZodUnknown>>>>;
|
|
16
16
|
envelopeId: z.ZodOptional<z.ZodString>;
|
|
17
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
17
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
18
18
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
19
19
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
20
20
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
@@ -28,7 +28,7 @@ declare const retrieveEnvelopeDocumentFields: _keystrokehq_core0.Operation<z.Zod
|
|
|
28
28
|
documentId: z.ZodString;
|
|
29
29
|
}, z.core.$strip>, z.ZodObject<{
|
|
30
30
|
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
31
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
31
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
32
32
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
33
33
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
34
34
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
@@ -42,7 +42,7 @@ declare const getEnvelopeDocumentFields: _keystrokehq_core0.Operation<z.ZodObjec
|
|
|
42
42
|
documentId: z.ZodString;
|
|
43
43
|
}, z.core.$strip>, z.ZodObject<{
|
|
44
44
|
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
45
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
45
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
46
46
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
47
47
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
48
48
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
@@ -59,7 +59,7 @@ declare const createCustomDocumentFieldsInEnvelope: _keystrokehq_core0.Operation
|
|
|
59
59
|
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
60
60
|
}, z.core.$strip>, z.ZodObject<{
|
|
61
61
|
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
62
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
62
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
63
63
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
64
64
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
65
65
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
@@ -76,7 +76,7 @@ declare const updateCustomFieldsInEnvelopeDocument: _keystrokehq_core0.Operation
|
|
|
76
76
|
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
77
77
|
}, z.core.$strip>, z.ZodObject<{
|
|
78
78
|
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
79
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
79
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
80
80
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
81
81
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
82
82
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
@@ -93,7 +93,7 @@ declare const deleteCustomDocumentFields: _keystrokehq_core0.Operation<z.ZodObje
|
|
|
93
93
|
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
94
94
|
}, z.core.$strip>, z.ZodObject<{
|
|
95
95
|
success: z.ZodBoolean;
|
|
96
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
96
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
97
97
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
98
98
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
99
99
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
@@ -111,7 +111,7 @@ declare const getPageImageFromEnvelope: _keystrokehq_core0.Operation<z.ZodObject
|
|
|
111
111
|
contentDisposition: z.ZodOptional<z.ZodString>;
|
|
112
112
|
status: z.ZodNumber;
|
|
113
113
|
body: z.ZodString;
|
|
114
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
114
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
115
115
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
116
116
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
117
117
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
@@ -130,7 +130,7 @@ declare const rotatePageImageForEnvelope: _keystrokehq_core0.Operation<z.ZodObje
|
|
|
130
130
|
}>;
|
|
131
131
|
}, z.core.$strip>, z.ZodObject<{
|
|
132
132
|
success: z.ZodBoolean;
|
|
133
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
133
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
134
134
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
135
135
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
136
136
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
@@ -145,7 +145,7 @@ declare const deletePageFromDocumentInEnvelope: _keystrokehq_core0.Operation<z.Z
|
|
|
145
145
|
pageNumber: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
146
146
|
}, z.core.$strip>, z.ZodObject<{
|
|
147
147
|
success: z.ZodBoolean;
|
|
148
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
148
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
149
149
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
150
150
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
151
151
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
@@ -164,7 +164,7 @@ declare const returnsDocumentPageImagesBasedOnInput: _keystrokehq_core0.Operatio
|
|
|
164
164
|
count: z.ZodOptional<z.ZodNumber>;
|
|
165
165
|
}, z.core.$strip>, z.ZodObject<{
|
|
166
166
|
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
167
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
167
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
168
168
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
169
169
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
170
170
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
@@ -181,7 +181,7 @@ declare const createDocumentResponsiveHtmlPreview: _keystrokehq_core0.Operation<
|
|
|
181
181
|
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
182
182
|
}, z.core.$strip>, z.ZodObject<{
|
|
183
183
|
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
184
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
184
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
185
185
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
186
186
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
187
187
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
@@ -196,7 +196,7 @@ declare const createPreviewOfResponsiveHtml: _keystrokehq_core0.Operation<z.ZodO
|
|
|
196
196
|
}, z.core.$catchall<z.ZodUnknown>>;
|
|
197
197
|
}, z.core.$strip>, z.ZodObject<{
|
|
198
198
|
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
199
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
199
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
200
200
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
201
201
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
202
202
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
@@ -212,7 +212,7 @@ declare const createPreviewOfResponsiveHtmlInEnvelope: _keystrokehq_core0.Operat
|
|
|
212
212
|
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
213
213
|
}, z.core.$strip>, z.ZodObject<{
|
|
214
214
|
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
215
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
215
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
216
216
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
217
217
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
218
218
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
@@ -229,7 +229,7 @@ declare const addTemplatesToDocumentInEnvelope: _keystrokehq_core0.Operation<z.Z
|
|
|
229
229
|
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
230
230
|
}, z.core.$strip>, z.ZodObject<{
|
|
231
231
|
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
232
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
232
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
233
233
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
234
234
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
235
235
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
@@ -244,7 +244,7 @@ declare const deleteTemplateFromEnvelopeDocument: _keystrokehq_core0.Operation<z
|
|
|
244
244
|
templateId: z.ZodString;
|
|
245
245
|
}, z.core.$strip>, z.ZodObject<{
|
|
246
246
|
success: z.ZodBoolean;
|
|
247
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
247
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
248
248
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
249
249
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
250
250
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
@@ -258,7 +258,7 @@ declare const getTemplatesForEnvelopeDocument: _keystrokehq_core0.Operation<z.Zo
|
|
|
258
258
|
documentId: z.ZodString;
|
|
259
259
|
}, z.core.$strip>, z.ZodObject<{
|
|
260
260
|
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
261
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
261
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
262
262
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
263
263
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
264
264
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { docusignDocumentIdSchema, docusignDocumentListSchema, docusignEnvelopeIdSchema, docusignGenericObjectSchema, docusignLooseObjectSchema, docusignSuccessSchema } from "./schemas/index.mjs";
|
|
2
|
-
import { r as defineRestOperation, t as defineBinaryOperation } from "./operation-helpers-
|
|
2
|
+
import { r as defineRestOperation, t as defineBinaryOperation } from "./operation-helpers-Bqp7KoLi.mjs";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
|
|
5
5
|
//#region src/envelope-documents.ts
|
|
@@ -16,7 +16,7 @@ const binaryResponseSchema = docusignLooseObjectSchema({
|
|
|
16
16
|
body: z.string()
|
|
17
17
|
});
|
|
18
18
|
const retrieveEnvelopeDocuments = defineRestOperation({
|
|
19
|
-
id: "
|
|
19
|
+
id: "docusign.retrieve-envelope-documents",
|
|
20
20
|
slug: "DOCUSIGN_RETRIEVE_ENVELOPE_DOCUMENTS",
|
|
21
21
|
name: "Retrieve Envelope Documents",
|
|
22
22
|
description: "List the documents attached to an envelope.",
|
|
@@ -26,7 +26,7 @@ const retrieveEnvelopeDocuments = defineRestOperation({
|
|
|
26
26
|
output: docusignDocumentListSchema
|
|
27
27
|
});
|
|
28
28
|
const retrieveEnvelopeDocumentFields = defineRestOperation({
|
|
29
|
-
id: "
|
|
29
|
+
id: "docusign.retrieve-envelope-document-fields",
|
|
30
30
|
slug: "DOCUSIGN_RETRIEVE_ENVELOPE_DOCUMENT_FIELDS",
|
|
31
31
|
name: "Retrieve Envelope Document Fields",
|
|
32
32
|
description: "Retrieve the custom fields attached to a specific envelope document.",
|
|
@@ -36,7 +36,7 @@ const retrieveEnvelopeDocumentFields = defineRestOperation({
|
|
|
36
36
|
output: docusignGenericObjectSchema
|
|
37
37
|
});
|
|
38
38
|
const getEnvelopeDocumentFields = defineRestOperation({
|
|
39
|
-
id: "
|
|
39
|
+
id: "docusign.get-envelope-document-fields",
|
|
40
40
|
slug: "DOCUSIGN_GET_ENVELOPE_DOCUMENT_FIELDS",
|
|
41
41
|
name: "Get Envelope Document Fields",
|
|
42
42
|
description: "Get document-level fields (form-fill fields) for an envelope document.",
|
|
@@ -46,7 +46,7 @@ const getEnvelopeDocumentFields = defineRestOperation({
|
|
|
46
46
|
output: docusignGenericObjectSchema
|
|
47
47
|
});
|
|
48
48
|
const createCustomDocumentFieldsInEnvelope = defineRestOperation({
|
|
49
|
-
id: "
|
|
49
|
+
id: "docusign.create-custom-document-fields-in-envelope",
|
|
50
50
|
slug: "DOCUSIGN_CREATE_CUSTOM_DOCUMENT_FIELDS_IN_ENVELOPE",
|
|
51
51
|
name: "Create Custom Document Fields In Envelope",
|
|
52
52
|
description: "Attach new custom fields to a specific document on an envelope.",
|
|
@@ -58,7 +58,7 @@ const createCustomDocumentFieldsInEnvelope = defineRestOperation({
|
|
|
58
58
|
body: (input) => ({ documentFields: input.documentFields })
|
|
59
59
|
});
|
|
60
60
|
const updateCustomFieldsInEnvelopeDocument = defineRestOperation({
|
|
61
|
-
id: "
|
|
61
|
+
id: "docusign.update-custom-fields-in-envelope-document",
|
|
62
62
|
slug: "DOCUSIGN_UPDATE_CUSTOM_FIELDS_IN_ENVELOPE_DOCUMENT",
|
|
63
63
|
name: "Update Custom Fields In Envelope Document",
|
|
64
64
|
description: "Update existing custom fields on an envelope document.",
|
|
@@ -70,7 +70,7 @@ const updateCustomFieldsInEnvelopeDocument = defineRestOperation({
|
|
|
70
70
|
body: (input) => ({ documentFields: input.documentFields })
|
|
71
71
|
});
|
|
72
72
|
const deleteCustomDocumentFields = defineRestOperation({
|
|
73
|
-
id: "
|
|
73
|
+
id: "docusign.delete-custom-document-fields",
|
|
74
74
|
slug: "DOCUSIGN_DELETE_CUSTOM_DOCUMENT_FIELDS",
|
|
75
75
|
name: "Delete Custom Document Fields",
|
|
76
76
|
description: "Delete custom fields attached to an envelope document.",
|
|
@@ -83,7 +83,7 @@ const deleteCustomDocumentFields = defineRestOperation({
|
|
|
83
83
|
transformResponse: () => ({ success: true })
|
|
84
84
|
});
|
|
85
85
|
const getPageImageFromEnvelope = defineBinaryOperation({
|
|
86
|
-
id: "
|
|
86
|
+
id: "docusign.get-page-image-from-envelope",
|
|
87
87
|
slug: "DOCUSIGN_GET_PAGE_IMAGE_FROM_ENVELOPE",
|
|
88
88
|
name: "Get Page Image From Envelope",
|
|
89
89
|
description: "Download a specific page image from an envelope document.",
|
|
@@ -94,7 +94,7 @@ const getPageImageFromEnvelope = defineBinaryOperation({
|
|
|
94
94
|
output: binaryResponseSchema
|
|
95
95
|
});
|
|
96
96
|
const rotatePageImageForEnvelope = defineRestOperation({
|
|
97
|
-
id: "
|
|
97
|
+
id: "docusign.rotate-page-image-for-envelope",
|
|
98
98
|
slug: "DOCUSIGN_ROTATE_PAGE_IMAGE_FOR_ENVELOPE",
|
|
99
99
|
name: "Rotate Page Image For Envelope",
|
|
100
100
|
description: "Rotate a specific page image in an envelope document.",
|
|
@@ -110,7 +110,7 @@ const rotatePageImageForEnvelope = defineRestOperation({
|
|
|
110
110
|
transformResponse: () => ({ success: true })
|
|
111
111
|
});
|
|
112
112
|
const deletePageFromDocumentInEnvelope = defineRestOperation({
|
|
113
|
-
id: "
|
|
113
|
+
id: "docusign.delete-page-from-document-in-envelope",
|
|
114
114
|
slug: "DOCUSIGN_DELETE_PAGE_FROM_DOCUMENT_IN_ENVELOPE",
|
|
115
115
|
name: "Delete Page From Document In Envelope",
|
|
116
116
|
description: "Delete a specific page from a document on an envelope.",
|
|
@@ -122,7 +122,7 @@ const deletePageFromDocumentInEnvelope = defineRestOperation({
|
|
|
122
122
|
transformResponse: () => ({ success: true })
|
|
123
123
|
});
|
|
124
124
|
const returnsDocumentPageImagesBasedOnInput = defineRestOperation({
|
|
125
|
-
id: "
|
|
125
|
+
id: "docusign.returns-document-page-images-based-on-input",
|
|
126
126
|
slug: "DOCUSIGN_RETURNS_DOCUMENT_PAGE_IMAGES_BASED_ON_INPUT",
|
|
127
127
|
name: "Return Document Page Images",
|
|
128
128
|
description: "List document page images based on query filters (dpi, max_width, etc.).",
|
|
@@ -145,7 +145,7 @@ const returnsDocumentPageImagesBasedOnInput = defineRestOperation({
|
|
|
145
145
|
})
|
|
146
146
|
});
|
|
147
147
|
const createDocumentResponsiveHtmlPreview = defineRestOperation({
|
|
148
|
-
id: "
|
|
148
|
+
id: "docusign.create-document-responsive-html-preview",
|
|
149
149
|
slug: "DOCUSIGN_CREATE_DOCUMENT_RESPONSIVE_HTML_PREVIEW",
|
|
150
150
|
name: "Create Document Responsive HTML Preview",
|
|
151
151
|
description: "Create a responsive-HTML preview for an envelope document.",
|
|
@@ -157,7 +157,7 @@ const createDocumentResponsiveHtmlPreview = defineRestOperation({
|
|
|
157
157
|
body: (input) => input.options ?? {}
|
|
158
158
|
});
|
|
159
159
|
const createPreviewOfResponsiveHtml = defineRestOperation({
|
|
160
|
-
id: "
|
|
160
|
+
id: "docusign.create-preview-of-responsive-html",
|
|
161
161
|
slug: "DOCUSIGN_CREATE_PREVIEW_OF_RESPONSIVE_HTML",
|
|
162
162
|
name: "Create Preview Of Responsive HTML",
|
|
163
163
|
description: "Create a responsive-HTML preview from raw document input.",
|
|
@@ -169,7 +169,7 @@ const createPreviewOfResponsiveHtml = defineRestOperation({
|
|
|
169
169
|
body: (input) => input.options
|
|
170
170
|
});
|
|
171
171
|
const createPreviewOfResponsiveHtmlInEnvelope = defineRestOperation({
|
|
172
|
-
id: "
|
|
172
|
+
id: "docusign.create-preview-of-responsive-html-in-envelope",
|
|
173
173
|
slug: "DOCUSIGN_CREATE_PREVIEW_OF_RESPONSIVE_HTML_IN_ENVELOPE",
|
|
174
174
|
name: "Create Preview Of Responsive HTML In Envelope",
|
|
175
175
|
description: "Create a responsive-HTML preview scoped to a specific envelope.",
|
|
@@ -181,7 +181,7 @@ const createPreviewOfResponsiveHtmlInEnvelope = defineRestOperation({
|
|
|
181
181
|
body: (input) => input.options ?? {}
|
|
182
182
|
});
|
|
183
183
|
const addTemplatesToDocumentInEnvelope = defineRestOperation({
|
|
184
|
-
id: "
|
|
184
|
+
id: "docusign.add-templates-to-document-in-envelope",
|
|
185
185
|
slug: "DOCUSIGN_ADD_TEMPLATES_TO_DOCUMENT_IN_ENVELOPE",
|
|
186
186
|
name: "Add Templates To Document In Envelope",
|
|
187
187
|
description: "Apply existing DocuSign templates to a document already on an envelope.",
|
|
@@ -193,7 +193,7 @@ const addTemplatesToDocumentInEnvelope = defineRestOperation({
|
|
|
193
193
|
body: (input) => ({ documentTemplates: input.documentTemplates })
|
|
194
194
|
});
|
|
195
195
|
const deleteTemplateFromEnvelopeDocument = defineRestOperation({
|
|
196
|
-
id: "
|
|
196
|
+
id: "docusign.delete-template-from-envelope-document",
|
|
197
197
|
slug: "DOCUSIGN_DELETE_TEMPLATE_FROM_ENVELOPE_DOCUMENT",
|
|
198
198
|
name: "Delete Template From Envelope Document",
|
|
199
199
|
description: "Remove a template binding from an envelope document.",
|
|
@@ -205,7 +205,7 @@ const deleteTemplateFromEnvelopeDocument = defineRestOperation({
|
|
|
205
205
|
transformResponse: () => ({ success: true })
|
|
206
206
|
});
|
|
207
207
|
const getTemplatesForEnvelopeDocument = defineRestOperation({
|
|
208
|
-
id: "
|
|
208
|
+
id: "docusign.get-templates-for-envelope-document",
|
|
209
209
|
slug: "DOCUSIGN_GET_TEMPLATES_FOR_ENVELOPE_DOCUMENT",
|
|
210
210
|
name: "Get Templates For Envelope Document",
|
|
211
211
|
description: "List template bindings on an envelope document.",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { z } from "zod";
|
|
2
1
|
import * as _keystrokehq_core0 from "@keystrokehq/core";
|
|
2
|
+
import { z } from "zod";
|
|
3
3
|
import * as _keystrokehq_core_credential_set0 from "@keystrokehq/core/credential-set";
|
|
4
4
|
|
|
5
5
|
//#region src/envelope-email.d.ts
|
|
@@ -10,7 +10,7 @@ declare const addEmailOverridesToEnvelope: _keystrokehq_core0.Operation<z.ZodObj
|
|
|
10
10
|
}, z.core.$catchall<z.ZodUnknown>>;
|
|
11
11
|
}, z.core.$strip>, z.ZodObject<{
|
|
12
12
|
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
13
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
13
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
14
14
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
15
15
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
16
16
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
@@ -23,7 +23,7 @@ declare const retrieveEnvelopeEmailOverrides: _keystrokehq_core0.Operation<z.Zod
|
|
|
23
23
|
envelopeId: z.ZodString;
|
|
24
24
|
}, z.core.$strip>, z.ZodObject<{
|
|
25
25
|
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
26
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
26
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
27
27
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
28
28
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
29
29
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
@@ -39,7 +39,7 @@ declare const updateEnvelopeEmailSettings: _keystrokehq_core0.Operation<z.ZodObj
|
|
|
39
39
|
}, z.core.$catchall<z.ZodUnknown>>;
|
|
40
40
|
}, z.core.$strip>, z.ZodObject<{
|
|
41
41
|
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
42
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
42
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
43
43
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
44
44
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
45
45
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
@@ -52,7 +52,7 @@ declare const deleteEnvelopeEmailSettings: _keystrokehq_core0.Operation<z.ZodObj
|
|
|
52
52
|
envelopeId: z.ZodString;
|
|
53
53
|
}, z.core.$strip>, z.ZodObject<{
|
|
54
54
|
success: z.ZodBoolean;
|
|
55
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
55
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
56
56
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
57
57
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
58
58
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
package/dist/envelope-email.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as encodeDocusignPathSegment } from "./shared-DTUCJayR.mjs";
|
|
2
2
|
import { docusignEnvelopeIdSchema, docusignGenericObjectSchema, docusignLooseObjectSchema, docusignSuccessSchema } from "./schemas/index.mjs";
|
|
3
|
-
import { r as defineRestOperation } from "./operation-helpers-
|
|
3
|
+
import { r as defineRestOperation } from "./operation-helpers-Bqp7KoLi.mjs";
|
|
4
4
|
import { z } from "zod";
|
|
5
5
|
|
|
6
6
|
//#region src/envelope-email.ts
|
|
@@ -10,7 +10,7 @@ import { z } from "zod";
|
|
|
10
10
|
const envId = z.object({ envelopeId: docusignEnvelopeIdSchema });
|
|
11
11
|
const emailSettingsPath = (envelopeId) => `/envelopes/${encodeDocusignPathSegment(String(envelopeId))}/email_settings`;
|
|
12
12
|
const addEmailOverridesToEnvelope = defineRestOperation({
|
|
13
|
-
id: "
|
|
13
|
+
id: "docusign.add-email-overrides-to-envelope",
|
|
14
14
|
slug: "DOCUSIGN_ADD_EMAIL_OVERRIDES_TO_ENVELOPE",
|
|
15
15
|
name: "Add Email Overrides To Envelope",
|
|
16
16
|
description: "Attach per-envelope email setting overrides.",
|
|
@@ -22,7 +22,7 @@ const addEmailOverridesToEnvelope = defineRestOperation({
|
|
|
22
22
|
body: (input) => input.emailSettings
|
|
23
23
|
});
|
|
24
24
|
const retrieveEnvelopeEmailOverrides = defineRestOperation({
|
|
25
|
-
id: "
|
|
25
|
+
id: "docusign.retrieve-envelope-email-overrides",
|
|
26
26
|
slug: "DOCUSIGN_RETRIEVE_ENVELOPE_EMAIL_OVERRIDES",
|
|
27
27
|
name: "Retrieve Envelope Email Overrides",
|
|
28
28
|
description: "Retrieve the email-setting overrides on an envelope.",
|
|
@@ -32,7 +32,7 @@ const retrieveEnvelopeEmailOverrides = defineRestOperation({
|
|
|
32
32
|
output: docusignGenericObjectSchema
|
|
33
33
|
});
|
|
34
34
|
const updateEnvelopeEmailSettings = defineRestOperation({
|
|
35
|
-
id: "
|
|
35
|
+
id: "docusign.update-envelope-email-settings",
|
|
36
36
|
slug: "DOCUSIGN_UPDATE_ENVELOPE_EMAIL_SETTINGS",
|
|
37
37
|
name: "Update Envelope Email Settings",
|
|
38
38
|
description: "Update the email settings on an envelope.",
|
|
@@ -44,7 +44,7 @@ const updateEnvelopeEmailSettings = defineRestOperation({
|
|
|
44
44
|
body: (input) => input.emailSettings
|
|
45
45
|
});
|
|
46
46
|
const deleteEnvelopeEmailSettings = defineRestOperation({
|
|
47
|
-
id: "
|
|
47
|
+
id: "docusign.delete-envelope-email-settings",
|
|
48
48
|
slug: "DOCUSIGN_DELETE_ENVELOPE_EMAIL_SETTINGS",
|
|
49
49
|
name: "Delete Envelope Email Settings",
|
|
50
50
|
description: "Remove the per-envelope email setting overrides.",
|
package/dist/envelope-lock.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { z } from "zod";
|
|
2
1
|
import * as _keystrokehq_core0 from "@keystrokehq/core";
|
|
2
|
+
import { z } from "zod";
|
|
3
3
|
import * as _keystrokehq_core_credential_set0 from "@keystrokehq/core/credential-set";
|
|
4
4
|
|
|
5
5
|
//#region src/envelope-lock.d.ts
|
|
@@ -10,7 +10,7 @@ declare const lockAnEnvelopeForEditing: _keystrokehq_core0.Operation<z.ZodObject
|
|
|
10
10
|
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
11
11
|
}, z.core.$strip>, z.ZodObject<{
|
|
12
12
|
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
13
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
13
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
14
14
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
15
15
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
16
16
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
@@ -23,7 +23,7 @@ declare const getEnvelopeLockInformation: _keystrokehq_core0.Operation<z.ZodObje
|
|
|
23
23
|
envelopeId: z.ZodString;
|
|
24
24
|
}, z.core.$strip>, z.ZodObject<{
|
|
25
25
|
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
26
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
26
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
27
27
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
28
28
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
29
29
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
@@ -39,7 +39,7 @@ declare const updateLockForEnvelope: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
39
39
|
}, z.core.$catchall<z.ZodUnknown>>;
|
|
40
40
|
}, z.core.$strip>, z.ZodObject<{
|
|
41
41
|
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
42
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
42
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
43
43
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
44
44
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
45
45
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
@@ -52,7 +52,7 @@ declare const deleteEnvelopeLock: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
52
52
|
envelopeId: z.ZodString;
|
|
53
53
|
}, z.core.$strip>, z.ZodObject<{
|
|
54
54
|
success: z.ZodBoolean;
|
|
55
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
55
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
56
56
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
57
57
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
58
58
|
DOCUSIGN_BASE_URI: z.ZodURL;
|