@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
package/dist/envelope-views.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { docusignEnvelopeIdSchema, docusignLooseObjectSchema, docusignSuccessSchema, docusignTemplateIdSchema } 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-views.ts
|
|
@@ -9,7 +9,7 @@ import { z } from "zod";
|
|
|
9
9
|
const envId = z.object({ envelopeId: docusignEnvelopeIdSchema });
|
|
10
10
|
const urlResult = docusignLooseObjectSchema({ url: z.string().optional() });
|
|
11
11
|
const createSenderViewUrlForEnvelope = defineRestOperation({
|
|
12
|
-
id: "
|
|
12
|
+
id: "docusign.create-sender-view-url-for-envelope",
|
|
13
13
|
slug: "DOCUSIGN_CREATE_SENDER_VIEW_URL_FOR_ENVELOPE",
|
|
14
14
|
name: "Create Sender View URL",
|
|
15
15
|
description: "Create a sender view URL (Prepare page) for an envelope.",
|
|
@@ -21,7 +21,7 @@ const createSenderViewUrlForEnvelope = defineRestOperation({
|
|
|
21
21
|
body: (input) => input.view ?? {}
|
|
22
22
|
});
|
|
23
23
|
const generateEditViewUrlForEnvelope = defineRestOperation({
|
|
24
|
-
id: "
|
|
24
|
+
id: "docusign.generate-edit-view-url-for-envelope",
|
|
25
25
|
slug: "DOCUSIGN_GENERATE_EDIT_VIEW_URLFOR_ENVELOPE",
|
|
26
26
|
name: "Generate Edit View URL",
|
|
27
27
|
description: "Create an edit view URL for an envelope.",
|
|
@@ -33,7 +33,7 @@ const generateEditViewUrlForEnvelope = defineRestOperation({
|
|
|
33
33
|
body: (input) => input.view ?? {}
|
|
34
34
|
});
|
|
35
35
|
const generateEnvelopeCorrectionUrl = defineRestOperation({
|
|
36
|
-
id: "
|
|
36
|
+
id: "docusign.generate-envelope-correction-url",
|
|
37
37
|
slug: "DOCUSIGN_GENERATE_ENVELOPE_CORRECTION_URL",
|
|
38
38
|
name: "Generate Envelope Correction URL",
|
|
39
39
|
description: "Create a correction view URL for an envelope.",
|
|
@@ -45,7 +45,7 @@ const generateEnvelopeCorrectionUrl = defineRestOperation({
|
|
|
45
45
|
body: (input) => input.view ?? {}
|
|
46
46
|
});
|
|
47
47
|
const revokeEnvelopeCorrectionUrl = defineRestOperation({
|
|
48
|
-
id: "
|
|
48
|
+
id: "docusign.revoke-envelope-correction-url",
|
|
49
49
|
slug: "DOCUSIGN_REVOKE_ENVELOPE_CORRECTION_URL",
|
|
50
50
|
name: "Revoke Envelope Correction URL",
|
|
51
51
|
description: "Revoke an outstanding correction view URL.",
|
|
@@ -57,7 +57,7 @@ const revokeEnvelopeCorrectionUrl = defineRestOperation({
|
|
|
57
57
|
transformResponse: () => ({ success: true })
|
|
58
58
|
});
|
|
59
59
|
const getUrlForEmbeddingDocusignUi = defineRestOperation({
|
|
60
|
-
id: "
|
|
60
|
+
id: "docusign.get-url-for-embedding-docusign-ui",
|
|
61
61
|
slug: "DOCUSIGN_GET_URLFOR_EMBEDDING_DOCUSIGN_UI",
|
|
62
62
|
name: "Get Embedding Console URL",
|
|
63
63
|
description: "Create a console view URL for embedding the DocuSign UI.",
|
|
@@ -69,7 +69,7 @@ const getUrlForEmbeddingDocusignUi = defineRestOperation({
|
|
|
69
69
|
body: (input) => input.view ?? {}
|
|
70
70
|
});
|
|
71
71
|
const createUrlForTemplateEditView = defineRestOperation({
|
|
72
|
-
id: "
|
|
72
|
+
id: "docusign.create-url-for-template-edit-view",
|
|
73
73
|
slug: "DOCUSIGN_CREATE_URLFOR_TEMPLATE_EDIT_VIEW",
|
|
74
74
|
name: "Create Template Edit View URL",
|
|
75
75
|
description: "Create an edit view URL for a template.",
|
|
@@ -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-workflow.d.ts
|
|
@@ -7,7 +7,7 @@ declare const getEnvelopeWorkflowDefinition: _keystrokehq_core0.Operation<z.ZodO
|
|
|
7
7
|
envelopeId: z.ZodString;
|
|
8
8
|
}, z.core.$strip>, z.ZodObject<{
|
|
9
9
|
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
10
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
10
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
11
11
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
12
12
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
13
13
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
@@ -23,7 +23,7 @@ declare const updateEnvelopeWorkflowDefinition: _keystrokehq_core0.Operation<z.Z
|
|
|
23
23
|
}, z.core.$catchall<z.ZodUnknown>>;
|
|
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;
|
|
@@ -36,7 +36,7 @@ declare const deleteEnvelopeWorkflowDefinition: _keystrokehq_core0.Operation<z.Z
|
|
|
36
36
|
envelopeId: z.ZodString;
|
|
37
37
|
}, z.core.$strip>, z.ZodObject<{
|
|
38
38
|
success: z.ZodBoolean;
|
|
39
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
39
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
40
40
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
41
41
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
42
42
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
@@ -52,7 +52,7 @@ declare const addStepToEnvelopeWorkflow: _keystrokehq_core0.Operation<z.ZodObjec
|
|
|
52
52
|
}, z.core.$catchall<z.ZodUnknown>>;
|
|
53
53
|
}, z.core.$strip>, z.ZodObject<{
|
|
54
54
|
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
55
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
55
|
+
}, z.core.$catchall<z.ZodUnknown>>, 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;
|
|
@@ -66,7 +66,7 @@ declare const getWorkflowStepForEnvelope: _keystrokehq_core0.Operation<z.ZodObje
|
|
|
66
66
|
workflowStepId: z.ZodString;
|
|
67
67
|
}, z.core.$strip>, z.ZodObject<{
|
|
68
68
|
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
69
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
69
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
70
70
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
71
71
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
72
72
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
@@ -83,7 +83,7 @@ declare const updateEnvelopeWorkflowStep: _keystrokehq_core0.Operation<z.ZodObje
|
|
|
83
83
|
}, z.core.$catchall<z.ZodUnknown>>;
|
|
84
84
|
}, z.core.$strip>, z.ZodObject<{
|
|
85
85
|
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
86
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
86
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
87
87
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
88
88
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
89
89
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
@@ -97,7 +97,7 @@ declare const deleteEnvelopeWorkflowStep: _keystrokehq_core0.Operation<z.ZodObje
|
|
|
97
97
|
workflowStepId: z.ZodString;
|
|
98
98
|
}, z.core.$strip>, z.ZodObject<{
|
|
99
99
|
success: z.ZodBoolean;
|
|
100
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
100
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
101
101
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
102
102
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
103
103
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
@@ -111,7 +111,7 @@ declare const getEnvelopeWorkflowDelayedRoutingDefinition: _keystrokehq_core0.Op
|
|
|
111
111
|
workflowStepId: z.ZodString;
|
|
112
112
|
}, z.core.$strip>, z.ZodObject<{
|
|
113
113
|
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
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;
|
|
@@ -128,7 +128,7 @@ declare const updateEnvelopeDelayedRoutingRules: _keystrokehq_core0.Operation<z.
|
|
|
128
128
|
}, z.core.$catchall<z.ZodUnknown>>;
|
|
129
129
|
}, z.core.$strip>, z.ZodObject<{
|
|
130
130
|
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
131
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
131
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
132
132
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
133
133
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
134
134
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
@@ -142,7 +142,7 @@ declare const deleteDelayedRoutingRuleForEnvelopeStep: _keystrokehq_core0.Operat
|
|
|
142
142
|
workflowStepId: z.ZodString;
|
|
143
143
|
}, z.core.$strip>, z.ZodObject<{
|
|
144
144
|
success: z.ZodBoolean;
|
|
145
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
145
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
146
146
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
147
147
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
148
148
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
@@ -155,7 +155,7 @@ declare const returnScheduledSendingRulesForEnvelope: _keystrokehq_core0.Operati
|
|
|
155
155
|
envelopeId: z.ZodString;
|
|
156
156
|
}, z.core.$strip>, z.ZodObject<{
|
|
157
157
|
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
158
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
158
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
159
159
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
160
160
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
161
161
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
@@ -171,7 +171,7 @@ declare const updateEnvelopeScheduledSendingRules: _keystrokehq_core0.Operation<
|
|
|
171
171
|
}, z.core.$catchall<z.ZodUnknown>>;
|
|
172
172
|
}, z.core.$strip>, z.ZodObject<{
|
|
173
173
|
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
174
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
174
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
175
175
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
176
176
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
177
177
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
@@ -184,7 +184,7 @@ declare const deleteEnvelopeScheduledSendingRules: _keystrokehq_core0.Operation<
|
|
|
184
184
|
envelopeId: z.ZodString;
|
|
185
185
|
}, z.core.$strip>, z.ZodObject<{
|
|
186
186
|
success: z.ZodBoolean;
|
|
187
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
187
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
188
188
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
189
189
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
190
190
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
@@ -195,7 +195,7 @@ declare const deleteEnvelopeScheduledSendingRules: _keystrokehq_core0.Operation<
|
|
|
195
195
|
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
196
196
|
declare const deleteScheduledSendingRules: _keystrokehq_core0.Operation<z.ZodObject<{}, z.core.$strip>, z.ZodObject<{
|
|
197
197
|
success: z.ZodBoolean;
|
|
198
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
198
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
199
199
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
200
200
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
201
201
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
@@ -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-workflow.ts
|
|
@@ -12,7 +12,7 @@ const envStep = envId.extend({ workflowStepId: z.string().min(1) });
|
|
|
12
12
|
const workflowPath = (envelopeId) => `/envelopes/${encodeDocusignPathSegment(String(envelopeId))}/workflow`;
|
|
13
13
|
const stepPath = (envelopeId, stepId) => `/envelopes/${encodeDocusignPathSegment(String(envelopeId))}/workflow/steps/${encodeDocusignPathSegment(String(stepId))}`;
|
|
14
14
|
const getEnvelopeWorkflowDefinition = defineRestOperation({
|
|
15
|
-
id: "
|
|
15
|
+
id: "docusign.get-envelope-workflow-definition",
|
|
16
16
|
slug: "DOCUSIGN_GET_ENVELOPE_WORKFLOW_DEFINITION",
|
|
17
17
|
name: "Get Envelope Workflow Definition",
|
|
18
18
|
description: "Retrieve the workflow definition on an envelope.",
|
|
@@ -22,7 +22,7 @@ const getEnvelopeWorkflowDefinition = defineRestOperation({
|
|
|
22
22
|
output: docusignGenericObjectSchema
|
|
23
23
|
});
|
|
24
24
|
const updateEnvelopeWorkflowDefinition = defineRestOperation({
|
|
25
|
-
id: "
|
|
25
|
+
id: "docusign.update-envelope-workflow-definition",
|
|
26
26
|
slug: "DOCUSIGN_UPDATE_ENVELOPE_WORKFLOW_DEFINITION",
|
|
27
27
|
name: "Update Envelope Workflow Definition",
|
|
28
28
|
description: "Update the workflow definition on an envelope.",
|
|
@@ -34,7 +34,7 @@ const updateEnvelopeWorkflowDefinition = defineRestOperation({
|
|
|
34
34
|
body: (input) => input.workflow
|
|
35
35
|
});
|
|
36
36
|
const deleteEnvelopeWorkflowDefinition = defineRestOperation({
|
|
37
|
-
id: "
|
|
37
|
+
id: "docusign.delete-envelope-workflow-definition",
|
|
38
38
|
slug: "DOCUSIGN_DELETE_ENVELOPE_WORKFLOW_DEFINITION",
|
|
39
39
|
name: "Delete Envelope Workflow Definition",
|
|
40
40
|
description: "Delete the workflow definition on an envelope.",
|
|
@@ -46,7 +46,7 @@ const deleteEnvelopeWorkflowDefinition = defineRestOperation({
|
|
|
46
46
|
transformResponse: () => ({ success: true })
|
|
47
47
|
});
|
|
48
48
|
const addStepToEnvelopeWorkflow = defineRestOperation({
|
|
49
|
-
id: "
|
|
49
|
+
id: "docusign.add-step-to-envelope-workflow",
|
|
50
50
|
slug: "DOCUSIGN_ADD_STEP_TO_ENVELOPE_WORKFLOW",
|
|
51
51
|
name: "Add Step To Envelope Workflow",
|
|
52
52
|
description: "Append a new step to the envelope workflow.",
|
|
@@ -58,7 +58,7 @@ const addStepToEnvelopeWorkflow = defineRestOperation({
|
|
|
58
58
|
body: (input) => input.step
|
|
59
59
|
});
|
|
60
60
|
const getWorkflowStepForEnvelope = defineRestOperation({
|
|
61
|
-
id: "
|
|
61
|
+
id: "docusign.get-workflow-step-for-envelope",
|
|
62
62
|
slug: "DOCUSIGN_GET_WORKFLOW_STEP_FOR_ENVELOPE",
|
|
63
63
|
name: "Get Envelope Workflow Step",
|
|
64
64
|
description: "Retrieve a specific workflow step on an envelope.",
|
|
@@ -68,7 +68,7 @@ const getWorkflowStepForEnvelope = defineRestOperation({
|
|
|
68
68
|
output: docusignGenericObjectSchema
|
|
69
69
|
});
|
|
70
70
|
const updateEnvelopeWorkflowStep = defineRestOperation({
|
|
71
|
-
id: "
|
|
71
|
+
id: "docusign.update-envelope-workflow-step",
|
|
72
72
|
slug: "DOCUSIGN_UPDATE_ENVELOPE_WORKFLOW_STEP",
|
|
73
73
|
name: "Update Envelope Workflow Step",
|
|
74
74
|
description: "Update a specific workflow step on an envelope.",
|
|
@@ -80,7 +80,7 @@ const updateEnvelopeWorkflowStep = defineRestOperation({
|
|
|
80
80
|
body: (input) => input.step
|
|
81
81
|
});
|
|
82
82
|
const deleteEnvelopeWorkflowStep = defineRestOperation({
|
|
83
|
-
id: "
|
|
83
|
+
id: "docusign.delete-envelope-workflow-step",
|
|
84
84
|
slug: "DOCUSIGN_DELETE_ENVELOPE_WORKFLOW_STEP",
|
|
85
85
|
name: "Delete Envelope Workflow Step",
|
|
86
86
|
description: "Remove a workflow step from an envelope.",
|
|
@@ -92,7 +92,7 @@ const deleteEnvelopeWorkflowStep = defineRestOperation({
|
|
|
92
92
|
transformResponse: () => ({ success: true })
|
|
93
93
|
});
|
|
94
94
|
const getEnvelopeWorkflowDelayedRoutingDefinition = defineRestOperation({
|
|
95
|
-
id: "
|
|
95
|
+
id: "docusign.get-envelope-workflow-delayed-routing-definition",
|
|
96
96
|
slug: "DOCUSIGN_GET_ENVELOPE_WORKFLOW_DELAYED_ROUTING_DEFINITION",
|
|
97
97
|
name: "Get Envelope Delayed Routing",
|
|
98
98
|
description: "Retrieve the delayed-routing definition for a workflow step.",
|
|
@@ -102,7 +102,7 @@ const getEnvelopeWorkflowDelayedRoutingDefinition = defineRestOperation({
|
|
|
102
102
|
output: docusignGenericObjectSchema
|
|
103
103
|
});
|
|
104
104
|
const updateEnvelopeDelayedRoutingRules = defineRestOperation({
|
|
105
|
-
id: "
|
|
105
|
+
id: "docusign.update-envelope-delayed-routing-rules",
|
|
106
106
|
slug: "DOCUSIGN_UPDATE_ENVELOPE_DELAYED_ROUTING_RULES",
|
|
107
107
|
name: "Update Envelope Delayed Routing Rules",
|
|
108
108
|
description: "Update the delayed-routing rules for a workflow step.",
|
|
@@ -114,7 +114,7 @@ const updateEnvelopeDelayedRoutingRules = defineRestOperation({
|
|
|
114
114
|
body: (input) => input.rules
|
|
115
115
|
});
|
|
116
116
|
const deleteDelayedRoutingRuleForEnvelopeStep = defineRestOperation({
|
|
117
|
-
id: "
|
|
117
|
+
id: "docusign.delete-delayed-routing-rule-for-envelope-step",
|
|
118
118
|
slug: "DOCUSIGN_DELETE_DELAYED_ROUTING_RULE_FOR_ENVELOPE_STEP",
|
|
119
119
|
name: "Delete Envelope Delayed Routing Rule",
|
|
120
120
|
description: "Remove the delayed-routing rule for a workflow step.",
|
|
@@ -126,7 +126,7 @@ const deleteDelayedRoutingRuleForEnvelopeStep = defineRestOperation({
|
|
|
126
126
|
transformResponse: () => ({ success: true })
|
|
127
127
|
});
|
|
128
128
|
const returnScheduledSendingRulesForEnvelope = defineRestOperation({
|
|
129
|
-
id: "
|
|
129
|
+
id: "docusign.return-scheduled-sending-rules-for-envelope",
|
|
130
130
|
slug: "DOCUSIGN_RETURN_SCHEDULED_SENDING_RULES_FOR_ENVELOPE",
|
|
131
131
|
name: "Return Envelope Scheduled Sending Rules",
|
|
132
132
|
description: "Return the scheduled-send rules on an envelope.",
|
|
@@ -136,7 +136,7 @@ const returnScheduledSendingRulesForEnvelope = defineRestOperation({
|
|
|
136
136
|
output: docusignGenericObjectSchema
|
|
137
137
|
});
|
|
138
138
|
const updateEnvelopeScheduledSendingRules = defineRestOperation({
|
|
139
|
-
id: "
|
|
139
|
+
id: "docusign.update-envelope-scheduled-sending-rules",
|
|
140
140
|
slug: "DOCUSIGN_UPDATE_ENVELOPE_SCHEDULED_SENDING_RULES",
|
|
141
141
|
name: "Update Envelope Scheduled Sending Rules",
|
|
142
142
|
description: "Update the scheduled-send rules on an envelope.",
|
|
@@ -148,7 +148,7 @@ const updateEnvelopeScheduledSendingRules = defineRestOperation({
|
|
|
148
148
|
body: (input) => input.rules
|
|
149
149
|
});
|
|
150
150
|
const deleteEnvelopeScheduledSendingRules = defineRestOperation({
|
|
151
|
-
id: "
|
|
151
|
+
id: "docusign.delete-envelope-scheduled-sending-rules",
|
|
152
152
|
slug: "DOCUSIGN_DELETE_ENVELOPE_SCHEDULED_SENDING_RULES",
|
|
153
153
|
name: "Delete Envelope Scheduled Sending Rules",
|
|
154
154
|
description: "Delete the scheduled-send rules on an envelope.",
|
|
@@ -160,7 +160,7 @@ const deleteEnvelopeScheduledSendingRules = defineRestOperation({
|
|
|
160
160
|
transformResponse: () => ({ success: true })
|
|
161
161
|
});
|
|
162
162
|
const deleteScheduledSendingRules = defineRestOperation({
|
|
163
|
-
id: "
|
|
163
|
+
id: "docusign.delete-scheduled-sending-rules",
|
|
164
164
|
slug: "DOCUSIGN_DELETE_SCHEDULED_SENDING_RULES",
|
|
165
165
|
name: "Delete Scheduled Sending Rules (account-wide)",
|
|
166
166
|
description: "Delete account-wide scheduled sending rules.",
|
package/dist/envelopes.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/envelopes.d.ts
|
|
@@ -53,7 +53,7 @@ declare const getEnvelope: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
53
53
|
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
54
54
|
}, z.core.$catchall<z.ZodUnknown>>>>;
|
|
55
55
|
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
56
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
56
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
57
57
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
58
58
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
59
59
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
@@ -149,7 +149,7 @@ declare const sendEnvelope: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
149
149
|
status: z.ZodOptional<z.ZodString>;
|
|
150
150
|
statusDateTime: z.ZodOptional<z.ZodString>;
|
|
151
151
|
uri: z.ZodOptional<z.ZodString>;
|
|
152
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
152
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
153
153
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
154
154
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
155
155
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
@@ -197,7 +197,7 @@ declare const voidEnvelope: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
197
197
|
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
198
198
|
}, z.core.$catchall<z.ZodUnknown>>>>;
|
|
199
199
|
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
200
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
200
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
201
201
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
202
202
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
203
203
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
@@ -293,7 +293,7 @@ declare const createEnvelopeFromTemplate: _keystrokehq_core0.Operation<z.ZodObje
|
|
|
293
293
|
status: z.ZodOptional<z.ZodString>;
|
|
294
294
|
statusDateTime: z.ZodOptional<z.ZodString>;
|
|
295
295
|
uri: z.ZodOptional<z.ZodString>;
|
|
296
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
296
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
297
297
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
298
298
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
299
299
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
@@ -308,7 +308,7 @@ declare const retrieveEnvelopeAuditEvents: _keystrokehq_core0.Operation<z.ZodObj
|
|
|
308
308
|
auditEvents: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
309
309
|
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
310
310
|
}, z.core.$catchall<z.ZodUnknown>>>>;
|
|
311
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
311
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
312
312
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
313
313
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
314
314
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
@@ -321,7 +321,7 @@ declare const republishConnectDataForEnvelope: _keystrokehq_core0.Operation<z.Zo
|
|
|
321
321
|
envelopeId: z.ZodString;
|
|
322
322
|
}, z.core.$strip>, z.ZodObject<{
|
|
323
323
|
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
324
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
324
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
325
325
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
326
326
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
327
327
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
@@ -334,7 +334,7 @@ declare const republishConnectInfoForEnvelopes: _keystrokehq_core0.Operation<z.Z
|
|
|
334
334
|
envelopeIds: z.ZodArray<z.ZodString>;
|
|
335
335
|
}, z.core.$strip>, z.ZodObject<{
|
|
336
336
|
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
337
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
337
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
338
338
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
339
339
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
340
340
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
@@ -348,7 +348,7 @@ declare const submitBatchHistoricalEnvelopesToWebhook: _keystrokehq_core0.Operat
|
|
|
348
348
|
envelopeIds: z.ZodArray<z.ZodString>;
|
|
349
349
|
}, z.core.$strip>, z.ZodObject<{
|
|
350
350
|
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
351
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
351
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
352
352
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
353
353
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
354
354
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
@@ -361,7 +361,7 @@ declare const retrieveEnvelopeHtmlDefinition: _keystrokehq_core0.Operation<z.Zod
|
|
|
361
361
|
envelopeId: z.ZodString;
|
|
362
362
|
}, z.core.$strip>, z.ZodObject<{
|
|
363
363
|
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
364
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
364
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
365
365
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
366
366
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
367
367
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
@@ -375,7 +375,7 @@ declare const retrieveHtmlDefinitionForResponsiveDocument: _keystrokehq_core0.Op
|
|
|
375
375
|
documentId: z.ZodString;
|
|
376
376
|
}, z.core.$strip>, z.ZodObject<{
|
|
377
377
|
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
378
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
378
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
379
379
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
380
380
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
381
381
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
@@ -391,7 +391,7 @@ declare const getPdfTranscriptOfEnvelopeComments: _keystrokehq_core0.Operation<z
|
|
|
391
391
|
contentDisposition: z.ZodOptional<z.ZodString>;
|
|
392
392
|
status: z.ZodNumber;
|
|
393
393
|
body: z.ZodString;
|
|
394
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
394
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
395
395
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
396
396
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
397
397
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
@@ -404,7 +404,7 @@ declare const deleteEnvelopeTransferRule: _keystrokehq_core0.Operation<z.ZodObje
|
|
|
404
404
|
transferRuleId: z.ZodString;
|
|
405
405
|
}, z.core.$strip>, z.ZodObject<{
|
|
406
406
|
success: z.ZodBoolean;
|
|
407
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
407
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
408
408
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
409
409
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
410
410
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
@@ -417,7 +417,7 @@ declare const fetchRecipientNamesForEmail: _keystrokehq_core0.Operation<z.ZodObj
|
|
|
417
417
|
email: z.ZodEmail;
|
|
418
418
|
}, z.core.$strip>, z.ZodObject<{
|
|
419
419
|
recipientNames: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
420
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
420
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
421
421
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
422
422
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
423
423
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
package/dist/envelopes.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { docusignEnvelopeCreateInputSchema, docusignEnvelopeIdSchema, docusignEnvelopeSchema, docusignEnvelopeSummarySchema, docusignGenericObjectSchema, docusignIncludeSchema, 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/envelopes.ts
|
|
@@ -14,7 +14,7 @@ const binaryResponseSchema = docusignLooseObjectSchema({
|
|
|
14
14
|
body: z.string()
|
|
15
15
|
});
|
|
16
16
|
const getEnvelope = defineRestOperation({
|
|
17
|
-
id: "
|
|
17
|
+
id: "docusign.get-envelope",
|
|
18
18
|
slug: "DOCUSIGN_GET_ENVELOPE",
|
|
19
19
|
name: "Get Envelope",
|
|
20
20
|
description: "Fetch a DocuSign envelope by id, optionally expanding recipients/tabs/custom_fields/documents.",
|
|
@@ -32,7 +32,7 @@ const getEnvelope = defineRestOperation({
|
|
|
32
32
|
})
|
|
33
33
|
});
|
|
34
34
|
const sendEnvelope = defineRestOperation({
|
|
35
|
-
id: "
|
|
35
|
+
id: "docusign.send-envelope",
|
|
36
36
|
slug: "DOCUSIGN_SEND_ENVELOPE",
|
|
37
37
|
name: "Send Envelope",
|
|
38
38
|
description: "Create and send an envelope in one call (status=sent) or save it as a draft.",
|
|
@@ -44,7 +44,7 @@ const sendEnvelope = defineRestOperation({
|
|
|
44
44
|
body: (input) => input
|
|
45
45
|
});
|
|
46
46
|
const voidEnvelope = defineRestOperation({
|
|
47
|
-
id: "
|
|
47
|
+
id: "docusign.void-envelope",
|
|
48
48
|
slug: "DOCUSIGN_SEND_ENVELOPE",
|
|
49
49
|
name: "Void Envelope",
|
|
50
50
|
description: "Void an in-flight envelope. Modeled as a PUT on the envelope with status=voided + voidedReason.",
|
|
@@ -62,7 +62,7 @@ const voidEnvelope = defineRestOperation({
|
|
|
62
62
|
})
|
|
63
63
|
});
|
|
64
64
|
const createEnvelopeFromTemplate = defineRestOperation({
|
|
65
|
-
id: "
|
|
65
|
+
id: "docusign.create-envelope-from-template",
|
|
66
66
|
slug: "DOCUSIGN_CREATE_ENVELOPE_FROM_TEMPLATE",
|
|
67
67
|
name: "Create Envelope From Template",
|
|
68
68
|
description: "Create a new envelope bound to an existing DocuSign template, filling template roles from input.",
|
|
@@ -78,7 +78,7 @@ const createEnvelopeFromTemplate = defineRestOperation({
|
|
|
78
78
|
body: (input) => input
|
|
79
79
|
});
|
|
80
80
|
const retrieveEnvelopeAuditEvents = defineRestOperation({
|
|
81
|
-
id: "
|
|
81
|
+
id: "docusign.retrieve-envelope-audit-events",
|
|
82
82
|
slug: "DOCUSIGN_RETRIEVE_ENVELOPE_AUDIT_EVENTS",
|
|
83
83
|
name: "Retrieve Envelope Audit Events",
|
|
84
84
|
description: "Fetch the audit trail for an envelope (send, view, sign, decline, void, etc).",
|
|
@@ -88,7 +88,7 @@ const retrieveEnvelopeAuditEvents = defineRestOperation({
|
|
|
88
88
|
output: docusignLooseObjectSchema({ auditEvents: z.array(docusignLooseObjectSchema()).optional() })
|
|
89
89
|
});
|
|
90
90
|
const republishConnectDataForEnvelope = defineRestOperation({
|
|
91
|
-
id: "
|
|
91
|
+
id: "docusign.republish-connect-data-for-envelope",
|
|
92
92
|
slug: "DOCUSIGN_REPUBLISH_CONNECT_DATA_FOR_ENVELOPE",
|
|
93
93
|
name: "Republish Connect Data For Envelope",
|
|
94
94
|
description: "Retrigger Connect webhooks for a specific envelope.",
|
|
@@ -99,7 +99,7 @@ const republishConnectDataForEnvelope = defineRestOperation({
|
|
|
99
99
|
output: docusignGenericObjectSchema
|
|
100
100
|
});
|
|
101
101
|
const republishConnectInfoForEnvelopes = defineRestOperation({
|
|
102
|
-
id: "
|
|
102
|
+
id: "docusign.republish-connect-info-for-envelopes",
|
|
103
103
|
slug: "DOCUSIGN_REPUBLISH_CONNECT_INFO_FOR_ENVELOPES",
|
|
104
104
|
name: "Republish Connect Info For Envelopes",
|
|
105
105
|
description: "Retrigger Connect webhooks for a set of envelopes by id (bulk version of the single-envelope call).",
|
|
@@ -111,7 +111,7 @@ const republishConnectInfoForEnvelopes = defineRestOperation({
|
|
|
111
111
|
body: (input) => ({ envelopeIds: input.envelopeIds })
|
|
112
112
|
});
|
|
113
113
|
const submitBatchHistoricalEnvelopesToWebhook = defineRestOperation({
|
|
114
|
-
id: "
|
|
114
|
+
id: "docusign.submit-batch-historical-envelopes-to-webhook",
|
|
115
115
|
slug: "DOCUSIGN_SUBMIT_BATCH_HISTORICAL_ENVELOPES_TO_WEBHOOK",
|
|
116
116
|
name: "Submit Batch Historical Envelopes To Webhook",
|
|
117
117
|
description: "Queue historical envelopes for delivery to a Connect consumer. Requires JWT Grant + admin consent — v1 ships this as a pass-through; production use is plan-gated until JWT is enabled.",
|
|
@@ -129,7 +129,7 @@ const submitBatchHistoricalEnvelopesToWebhook = defineRestOperation({
|
|
|
129
129
|
})
|
|
130
130
|
});
|
|
131
131
|
const retrieveEnvelopeHtmlDefinition = defineRestOperation({
|
|
132
|
-
id: "
|
|
132
|
+
id: "docusign.retrieve-envelope-html-definition",
|
|
133
133
|
slug: "DOCUSIGN_RETRIEVE_ENVELOPE_HTML_DEFINITION",
|
|
134
134
|
name: "Retrieve Envelope HTML Definition",
|
|
135
135
|
description: "Get the responsive HTML definition for an envelope.",
|
|
@@ -139,7 +139,7 @@ const retrieveEnvelopeHtmlDefinition = defineRestOperation({
|
|
|
139
139
|
output: docusignGenericObjectSchema
|
|
140
140
|
});
|
|
141
141
|
const retrieveHtmlDefinitionForResponsiveDocument = defineRestOperation({
|
|
142
|
-
id: "
|
|
142
|
+
id: "docusign.retrieve-html-definition-for-responsive-document",
|
|
143
143
|
slug: "DOCUSIGN_RETRIEVE_HTMLDEFINITION_FOR_RESPONSIVE_DOCUMENT",
|
|
144
144
|
name: "Retrieve HTML Definition For Responsive Document",
|
|
145
145
|
description: "Get the responsive HTML definition for a specific document within an envelope.",
|
|
@@ -152,7 +152,7 @@ const retrieveHtmlDefinitionForResponsiveDocument = defineRestOperation({
|
|
|
152
152
|
output: docusignGenericObjectSchema
|
|
153
153
|
});
|
|
154
154
|
const getPdfTranscriptOfEnvelopeComments = defineBinaryOperation({
|
|
155
|
-
id: "
|
|
155
|
+
id: "docusign.get-pdf-transcript-of-envelope-comments",
|
|
156
156
|
slug: "DOCUSIGN_GET_PDFTRANSCRIPT_OF_ENVELOPE_COMMENTS",
|
|
157
157
|
name: "Get PDF Transcript Of Envelope Comments",
|
|
158
158
|
description: "Download a PDF transcript of the comments thread on an envelope.",
|
|
@@ -163,7 +163,7 @@ const getPdfTranscriptOfEnvelopeComments = defineBinaryOperation({
|
|
|
163
163
|
output: binaryResponseSchema
|
|
164
164
|
});
|
|
165
165
|
const deleteEnvelopeTransferRule = defineRestOperation({
|
|
166
|
-
id: "
|
|
166
|
+
id: "docusign.delete-envelope-transfer-rule",
|
|
167
167
|
slug: "DOCUSIGN_DELETE_ENVELOPE_TRANSFER_RULE",
|
|
168
168
|
name: "Delete Envelope Transfer Rule",
|
|
169
169
|
description: "Remove a single envelope-transfer rule by id.",
|
|
@@ -175,7 +175,7 @@ const deleteEnvelopeTransferRule = defineRestOperation({
|
|
|
175
175
|
transformResponse: () => ({ success: true })
|
|
176
176
|
});
|
|
177
177
|
const fetchRecipientNamesForEmail = defineRestOperation({
|
|
178
|
-
id: "
|
|
178
|
+
id: "docusign.fetch-recipient-names-for-email",
|
|
179
179
|
slug: "DOCUSIGN_FETCH_RECIPIENT_NAMES_FOR_EMAIL",
|
|
180
180
|
name: "Fetch Recipient Names For Email",
|
|
181
181
|
description: "Look up known recipient names for a given email address on the account.",
|