@keystrokehq/docusign 0.0.1
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/README.md +248 -0
- package/dist/_official/index.d.mts +3 -0
- package/dist/_official/index.mjs +3 -0
- package/dist/_runtime/index.d.mts +1 -0
- package/dist/_runtime/index.mjs +1 -0
- package/dist/account-custom-fields.d.mts +65 -0
- package/dist/account-custom-fields.mjs +63 -0
- package/dist/account-stamps.d.mts +164 -0
- package/dist/account-stamps.mjs +144 -0
- package/dist/account-tabs.d.mts +90 -0
- package/dist/account-tabs.mjs +80 -0
- package/dist/account.d.mts +233 -0
- package/dist/account.mjs +207 -0
- package/dist/admin.d.mts +18 -0
- package/dist/admin.mjs +20 -0
- package/dist/auth.d.mts +37 -0
- package/dist/auth.mjs +53 -0
- package/dist/bcc-archive.d.mts +64 -0
- package/dist/bcc-archive.mjs +70 -0
- package/dist/billing.d.mts +217 -0
- package/dist/billing.mjs +208 -0
- package/dist/brands.d.mts +192 -0
- package/dist/brands.mjs +157 -0
- package/dist/bulk-send.d.mts +137 -0
- package/dist/bulk-send.mjs +115 -0
- package/dist/chunked-uploads.d.mts +78 -0
- package/dist/chunked-uploads.mjs +74 -0
- package/dist/click.d.mts +18 -0
- package/dist/click.mjs +20 -0
- package/dist/client.d.mts +47 -0
- package/dist/client.mjs +286 -0
- package/dist/clm.d.mts +18 -0
- package/dist/clm.mjs +20 -0
- package/dist/cloud-storage.d.mts +122 -0
- package/dist/cloud-storage.mjs +115 -0
- package/dist/connect.d.mts +252 -0
- package/dist/connect.mjs +217 -0
- package/dist/connection.d.mts +2 -0
- package/dist/connection.mjs +3 -0
- package/dist/contacts.d.mts +80 -0
- package/dist/contacts.mjs +79 -0
- package/dist/enote.d.mts +44 -0
- package/dist/enote.mjs +45 -0
- package/dist/envelope-attachments.d.mts +86 -0
- package/dist/envelope-attachments.mjs +76 -0
- package/dist/envelope-custom-fields.d.mts +166 -0
- package/dist/envelope-custom-fields.mjs +92 -0
- package/dist/envelope-documents.d.mts +271 -0
- package/dist/envelope-documents.mjs +219 -0
- package/dist/envelope-email.d.mts +65 -0
- package/dist/envelope-email.mjs +60 -0
- package/dist/envelope-lock.d.mts +65 -0
- package/dist/envelope-lock.mjs +60 -0
- package/dist/envelope-logs.d.mts +126 -0
- package/dist/envelope-logs.mjs +126 -0
- package/dist/envelope-notifications.d.mts +47 -0
- package/dist/envelope-notifications.mjs +44 -0
- package/dist/envelope-recipients.d.mts +171 -0
- package/dist/envelope-recipients.mjs +136 -0
- package/dist/envelope-tabs.d.mts +52 -0
- package/dist/envelope-tabs.mjs +49 -0
- package/dist/envelope-views.d.mts +99 -0
- package/dist/envelope-views.mjs +88 -0
- package/dist/envelope-workflow.d.mts +208 -0
- package/dist/envelope-workflow.mjs +176 -0
- package/dist/envelopes.d.mts +430 -0
- package/dist/envelopes.mjs +190 -0
- package/dist/errors.d.mts +48 -0
- package/dist/errors.mjs +76 -0
- package/dist/events.d.mts +192 -0
- package/dist/events.mjs +146 -0
- package/dist/factory-wViQTjgN.mjs +8 -0
- package/dist/groups.d.mts +191 -0
- package/dist/groups.mjs +146 -0
- package/dist/index.d.mts +1 -0
- package/dist/index.mjs +1 -0
- package/dist/integration-CmRztL9R.mjs +229 -0
- package/dist/integration-DqwHRkRh.d.mts +73 -0
- package/dist/messaging.d.mts +1 -0
- package/dist/messaging.mjs +1 -0
- package/dist/monitor.d.mts +18 -0
- package/dist/monitor.mjs +20 -0
- package/dist/notary.d.mts +129 -0
- package/dist/notary.mjs +122 -0
- package/dist/operation-helpers-BMTArRh9.mjs +102 -0
- package/dist/permission-profiles.d.mts +78 -0
- package/dist/permission-profiles.mjs +70 -0
- package/dist/power-forms.d.mts +51 -0
- package/dist/power-forms.mjs +62 -0
- package/dist/provider-app-CWp1SuI4.d.mts +88 -0
- package/dist/rooms.d.mts +18 -0
- package/dist/rooms.mjs +28 -0
- package/dist/schemas/index.d.mts +581 -0
- package/dist/schemas/index.mjs +309 -0
- package/dist/shared-DTUCJayR.mjs +27 -0
- package/dist/signing-groups.d.mts +139 -0
- package/dist/signing-groups.mjs +117 -0
- package/dist/template-custom-fields.d.mts +199 -0
- package/dist/template-custom-fields.mjs +107 -0
- package/dist/template-documents.d.mts +132 -0
- package/dist/template-documents.mjs +109 -0
- package/dist/template-lock.d.mts +65 -0
- package/dist/template-lock.mjs +60 -0
- package/dist/template-sharing.d.mts +129 -0
- package/dist/template-sharing.mjs +108 -0
- package/dist/template-workflow.d.mts +184 -0
- package/dist/template-workflow.mjs +152 -0
- package/dist/templates.d.mts +158 -0
- package/dist/templates.mjs +110 -0
- package/dist/triggers.d.mts +43 -0
- package/dist/triggers.mjs +91 -0
- package/dist/user-authorizations.d.mts +129 -0
- package/dist/user-authorizations.mjs +133 -0
- package/dist/user-custom-settings.d.mts +81 -0
- package/dist/user-custom-settings.mjs +69 -0
- package/dist/user-profile.d.mts +109 -0
- package/dist/user-profile.mjs +106 -0
- package/dist/user-signatures.d.mts +208 -0
- package/dist/user-signatures.mjs +180 -0
- package/dist/users.d.mts +128 -0
- package/dist/users.mjs +98 -0
- package/dist/verification.d.mts +19 -0
- package/dist/verification.mjs +59 -0
- package/dist/workspaces.d.mts +173 -0
- package/dist/workspaces.mjs +143 -0
- package/package.json +291 -0
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
import { docusignEnvelopeIdSchema, docusignGenericObjectSchema, docusignLooseObjectSchema, docusignRecipientIdSchema } from "./schemas/index.mjs";
|
|
2
|
+
import { r as defineRestOperation } from "./operation-helpers-BMTArRh9.mjs";
|
|
3
|
+
import { z } from "zod";
|
|
4
|
+
|
|
5
|
+
//#region src/envelope-recipients.ts
|
|
6
|
+
/**
|
|
7
|
+
* Envelope recipients — visibility, preview URLs, signature info, disclosures.
|
|
8
|
+
* Covers PLAN.md § 6.3.
|
|
9
|
+
*/
|
|
10
|
+
const envId = z.object({ envelopeId: docusignEnvelopeIdSchema });
|
|
11
|
+
const envRecipient = envId.extend({ recipientId: docusignRecipientIdSchema });
|
|
12
|
+
const getRecipientDocumentVisibility = defineRestOperation({
|
|
13
|
+
id: "get_recipient_document_visibility",
|
|
14
|
+
slug: "DOCUSIGN_GET_RECIPIENT_DOCUMENT_VISIBILITY",
|
|
15
|
+
name: "Get Recipient Document Visibility",
|
|
16
|
+
description: "Return which documents are visible to a recipient on an envelope.",
|
|
17
|
+
method: "GET",
|
|
18
|
+
path: (ctx) => `/envelopes/${ctx.encode(String(ctx.input.envelopeId))}/recipients/${ctx.encode(String(ctx.input.recipientId))}/document_visibility`,
|
|
19
|
+
input: envRecipient,
|
|
20
|
+
output: docusignGenericObjectSchema
|
|
21
|
+
});
|
|
22
|
+
const updateRecipientDocumentVisibility = defineRestOperation({
|
|
23
|
+
id: "update_recipient_document_visibility",
|
|
24
|
+
slug: "DOCUSIGN_UPDATE_RECIPIENT_DOCUMENT_VISIBILITY",
|
|
25
|
+
name: "Update Recipient Document Visibility",
|
|
26
|
+
description: "Update per-document visibility flags for a recipient on an envelope.",
|
|
27
|
+
needsApproval: true,
|
|
28
|
+
method: "PUT",
|
|
29
|
+
path: (ctx) => `/envelopes/${ctx.encode(String(ctx.input.envelopeId))}/recipients/${ctx.encode(String(ctx.input.recipientId))}/document_visibility`,
|
|
30
|
+
input: envRecipient.extend({ documentVisibility: z.array(docusignLooseObjectSchema()).min(1) }),
|
|
31
|
+
output: docusignGenericObjectSchema,
|
|
32
|
+
body: (input) => ({ documentVisibility: input.documentVisibility })
|
|
33
|
+
});
|
|
34
|
+
const updateDocumentVisibilityRecipients = defineRestOperation({
|
|
35
|
+
id: "update_document_visibility_recipients",
|
|
36
|
+
slug: "DOCUSIGN_UPDATE_DOCUMENT_VISIBILITY_RECIPIENTS",
|
|
37
|
+
name: "Update Document Visibility For Multiple Recipients",
|
|
38
|
+
description: "Batch update per-recipient document visibility on an envelope.",
|
|
39
|
+
needsApproval: true,
|
|
40
|
+
method: "PUT",
|
|
41
|
+
path: (ctx) => `/envelopes/${ctx.encode(String(ctx.input.envelopeId))}/recipients/document_visibility`,
|
|
42
|
+
input: envId.extend({ documentVisibility: z.array(docusignLooseObjectSchema()).min(1) }),
|
|
43
|
+
output: docusignGenericObjectSchema,
|
|
44
|
+
body: (input) => ({ documentVisibility: input.documentVisibility })
|
|
45
|
+
});
|
|
46
|
+
const createRecipientManualReviewLink = defineRestOperation({
|
|
47
|
+
id: "create_recipient_manual_review_link",
|
|
48
|
+
slug: "DOCUSIGN_CREATE_RECIPIENT_MANUAL_REVIEW_LINK",
|
|
49
|
+
name: "Create Recipient Manual Review Link",
|
|
50
|
+
description: "Create a manual-review URL for a recipient on an envelope.",
|
|
51
|
+
needsApproval: true,
|
|
52
|
+
method: "POST",
|
|
53
|
+
path: (ctx) => `/envelopes/${ctx.encode(String(ctx.input.envelopeId))}/recipients/${ctx.encode(String(ctx.input.recipientId))}/views/identity_manual_review`,
|
|
54
|
+
input: envRecipient,
|
|
55
|
+
output: docusignLooseObjectSchema({ url: z.string().optional() })
|
|
56
|
+
});
|
|
57
|
+
const createRecipientPreviewForEnvelope = defineRestOperation({
|
|
58
|
+
id: "create_recipient_preview_for_envelope",
|
|
59
|
+
slug: "DOCUSIGN_CREATE_RECIPIENT_PREVIEW_FOR_ENVELOPE",
|
|
60
|
+
name: "Create Recipient Preview URL",
|
|
61
|
+
description: "Create a preview URL that simulates a recipient signing experience.",
|
|
62
|
+
needsApproval: true,
|
|
63
|
+
method: "POST",
|
|
64
|
+
path: (ctx) => `/envelopes/${ctx.encode(String(ctx.input.envelopeId))}/views/recipient_preview`,
|
|
65
|
+
input: envId.extend({ preview: docusignLooseObjectSchema() }),
|
|
66
|
+
output: docusignLooseObjectSchema({ url: z.string().optional() }),
|
|
67
|
+
body: (input) => input.preview
|
|
68
|
+
});
|
|
69
|
+
const createRecipientViewUrl = defineRestOperation({
|
|
70
|
+
id: "create_recipient_view_url",
|
|
71
|
+
slug: "DOCUSIGN_CREATE_RECIPIENT_VIEW_URL",
|
|
72
|
+
name: "Create Recipient View URL",
|
|
73
|
+
description: "Create an embedded signing URL for a recipient.",
|
|
74
|
+
needsApproval: true,
|
|
75
|
+
method: "POST",
|
|
76
|
+
path: (ctx) => `/envelopes/${ctx.encode(String(ctx.input.envelopeId))}/views/recipient`,
|
|
77
|
+
input: envId.extend({ view: docusignLooseObjectSchema() }),
|
|
78
|
+
output: docusignLooseObjectSchema({ url: z.string().optional() }),
|
|
79
|
+
body: (input) => input.view
|
|
80
|
+
});
|
|
81
|
+
const generateRecipientSharedViewUrl = defineRestOperation({
|
|
82
|
+
id: "generate_recipient_shared_view_url",
|
|
83
|
+
slug: "DOCUSIGN_GENERATE_RECIPIENT_SHARED_VIEW_URL",
|
|
84
|
+
name: "Generate Recipient Shared View URL",
|
|
85
|
+
description: "Create a shared view URL scoped to a recipient across multiple envelopes.",
|
|
86
|
+
needsApproval: true,
|
|
87
|
+
method: "POST",
|
|
88
|
+
path: "/views/recipient_shared",
|
|
89
|
+
input: z.object({ view: docusignLooseObjectSchema() }),
|
|
90
|
+
output: docusignLooseObjectSchema({ url: z.string().optional() }),
|
|
91
|
+
body: (input) => input.view
|
|
92
|
+
});
|
|
93
|
+
const createIdProofResourceTokenForRecipient = defineRestOperation({
|
|
94
|
+
id: "create_id_proof_resource_token_for_recipient",
|
|
95
|
+
slug: "DOCUSIGN_CREATE_IDPROOF_RESOURCE_TOKEN_FOR_RECIPIENT",
|
|
96
|
+
name: "Create ID-Proof Resource Token",
|
|
97
|
+
description: "Mint an ID-proof resource token for a recipient.",
|
|
98
|
+
needsApproval: true,
|
|
99
|
+
method: "POST",
|
|
100
|
+
path: (ctx) => `/envelopes/${ctx.encode(String(ctx.input.envelopeId))}/recipients/${ctx.encode(String(ctx.input.recipientId))}/identity_proof_token`,
|
|
101
|
+
input: envRecipient,
|
|
102
|
+
output: docusignLooseObjectSchema({ token: z.string().optional() })
|
|
103
|
+
});
|
|
104
|
+
const getSignatureInformationForRecipient = defineRestOperation({
|
|
105
|
+
id: "get_signature_information_for_recipient",
|
|
106
|
+
slug: "DOCUSIGN_GET_SIGNATURE_INFORMATION_FOR_RECIPIENT",
|
|
107
|
+
name: "Get Signature Information For Recipient",
|
|
108
|
+
description: "Return signature metadata for a recipient on an envelope.",
|
|
109
|
+
method: "GET",
|
|
110
|
+
path: (ctx) => `/envelopes/${ctx.encode(String(ctx.input.envelopeId))}/recipients/${ctx.encode(String(ctx.input.recipientId))}/signature`,
|
|
111
|
+
input: envRecipient,
|
|
112
|
+
output: docusignGenericObjectSchema
|
|
113
|
+
});
|
|
114
|
+
const getElectronicDisclosureForRecipient = defineRestOperation({
|
|
115
|
+
id: "get_electronic_disclosure_for_recipient",
|
|
116
|
+
slug: "DOCUSIGN_GET_ELECTRONIC_DISCLOSURE_FOR_RECIPIENT",
|
|
117
|
+
name: "Get Electronic Disclosure For Recipient",
|
|
118
|
+
description: "Return the consumer disclosure a recipient accepted.",
|
|
119
|
+
method: "GET",
|
|
120
|
+
path: (ctx) => `/envelopes/${ctx.encode(String(ctx.input.envelopeId))}/recipients/${ctx.encode(String(ctx.input.recipientId))}/consumer_disclosure`,
|
|
121
|
+
input: envRecipient,
|
|
122
|
+
output: docusignGenericObjectSchema
|
|
123
|
+
});
|
|
124
|
+
const retrieveSignerSignatureImageInformation = defineRestOperation({
|
|
125
|
+
id: "retrieve_signer_signature_image_information",
|
|
126
|
+
slug: "DOCUSIGN_RETRIEVE_SIGNER_SIGNATURE_IMAGE_INFORMATION",
|
|
127
|
+
name: "Retrieve Signer Signature Image Information",
|
|
128
|
+
description: "Return the signer signature image metadata on an envelope.",
|
|
129
|
+
method: "GET",
|
|
130
|
+
path: (ctx) => `/envelopes/${ctx.encode(String(ctx.input.envelopeId))}/recipients/${ctx.encode(String(ctx.input.recipientId))}/signature_image`,
|
|
131
|
+
input: envRecipient,
|
|
132
|
+
output: docusignGenericObjectSchema
|
|
133
|
+
});
|
|
134
|
+
|
|
135
|
+
//#endregion
|
|
136
|
+
export { createIdProofResourceTokenForRecipient, createRecipientManualReviewLink, createRecipientPreviewForEnvelope, createRecipientViewUrl, generateRecipientSharedViewUrl, getElectronicDisclosureForRecipient, getRecipientDocumentVisibility, getSignatureInformationForRecipient, retrieveSignerSignatureImageInformation, updateDocumentVisibilityRecipients, updateRecipientDocumentVisibility };
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
import * as _keystrokehq_core0 from "@keystrokehq/core";
|
|
3
|
+
import * as _keystrokehq_core_credential_set0 from "@keystrokehq/core/credential-set";
|
|
4
|
+
|
|
5
|
+
//#region src/envelope-tabs.d.ts
|
|
6
|
+
declare const returnEnvelopeTabDataForExistingEnvelope: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
7
|
+
envelopeId: z.ZodString;
|
|
8
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
9
|
+
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
10
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
11
|
+
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
12
|
+
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
13
|
+
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
14
|
+
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
15
|
+
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
16
|
+
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
17
|
+
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
18
|
+
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
19
|
+
declare const getTabsBlobForEnvelope: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
20
|
+
envelopeId: z.ZodString;
|
|
21
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
22
|
+
contentType: z.ZodOptional<z.ZodString>;
|
|
23
|
+
contentDisposition: z.ZodOptional<z.ZodString>;
|
|
24
|
+
status: z.ZodNumber;
|
|
25
|
+
body: z.ZodString;
|
|
26
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
27
|
+
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
28
|
+
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
29
|
+
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
30
|
+
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
31
|
+
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
32
|
+
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
33
|
+
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
34
|
+
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
35
|
+
declare const deprecatedEndpointForTabBlob: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
36
|
+
envelopeId: z.ZodString;
|
|
37
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
38
|
+
contentType: z.ZodOptional<z.ZodString>;
|
|
39
|
+
contentDisposition: z.ZodOptional<z.ZodString>;
|
|
40
|
+
status: z.ZodNumber;
|
|
41
|
+
body: z.ZodString;
|
|
42
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
43
|
+
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
44
|
+
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
45
|
+
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
46
|
+
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
47
|
+
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
48
|
+
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
49
|
+
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
50
|
+
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
51
|
+
//#endregion
|
|
52
|
+
export { deprecatedEndpointForTabBlob, getTabsBlobForEnvelope, returnEnvelopeTabDataForExistingEnvelope };
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { docusignEnvelopeIdSchema, docusignGenericObjectSchema, docusignLooseObjectSchema } from "./schemas/index.mjs";
|
|
2
|
+
import { r as defineRestOperation, t as defineBinaryOperation } from "./operation-helpers-BMTArRh9.mjs";
|
|
3
|
+
import { z } from "zod";
|
|
4
|
+
|
|
5
|
+
//#region src/envelope-tabs.ts
|
|
6
|
+
/**
|
|
7
|
+
* Envelope tabs — tab data for existing envelopes + tab blobs.
|
|
8
|
+
* Covers PLAN.md § 6.4.
|
|
9
|
+
*/
|
|
10
|
+
const envId = z.object({ envelopeId: docusignEnvelopeIdSchema });
|
|
11
|
+
const binaryResponseSchema = docusignLooseObjectSchema({
|
|
12
|
+
contentType: z.string().optional(),
|
|
13
|
+
contentDisposition: z.string().optional(),
|
|
14
|
+
status: z.number(),
|
|
15
|
+
body: z.string()
|
|
16
|
+
});
|
|
17
|
+
const returnEnvelopeTabDataForExistingEnvelope = defineRestOperation({
|
|
18
|
+
id: "return_envelope_tab_data_for_existing_envelope",
|
|
19
|
+
slug: "DOCUSIGN_RETURN_ENVELOPE_TAB_DATA_FOR_EXISTING_ENVELOPE",
|
|
20
|
+
name: "Return Envelope Tab Data",
|
|
21
|
+
description: "Return the tab (form field) data captured on an envelope.",
|
|
22
|
+
method: "GET",
|
|
23
|
+
path: (ctx) => `/envelopes/${ctx.encode(String(ctx.input.envelopeId))}/form_data`,
|
|
24
|
+
input: envId,
|
|
25
|
+
output: docusignGenericObjectSchema
|
|
26
|
+
});
|
|
27
|
+
const getTabsBlobForEnvelope = defineBinaryOperation({
|
|
28
|
+
id: "get_tabs_blob_for_envelope",
|
|
29
|
+
slug: "DOCUSIGN_GET_TABS_BLOB_FOR_ENVELOPE",
|
|
30
|
+
name: "Get Tabs Blob For Envelope",
|
|
31
|
+
description: "Download the raw tabs blob for an envelope.",
|
|
32
|
+
method: "GET",
|
|
33
|
+
path: (ctx) => `/envelopes/${ctx.encode(String(ctx.input.envelopeId))}/tabs_blob`,
|
|
34
|
+
input: envId,
|
|
35
|
+
output: binaryResponseSchema
|
|
36
|
+
});
|
|
37
|
+
const deprecatedEndpointForTabBlob = defineBinaryOperation({
|
|
38
|
+
id: "deprecated_endpoint_for_tab_blob",
|
|
39
|
+
slug: "DOCUSIGN_DEPRECATED_ENDPOINT_FOR_TAB_BLOB",
|
|
40
|
+
name: "Deprecated Endpoint For Tab Blob",
|
|
41
|
+
description: "Deprecated alias for fetching the envelope tabs blob. Kept exported for slug parity — prefer getTabsBlobForEnvelope.",
|
|
42
|
+
method: "GET",
|
|
43
|
+
path: (ctx) => `/envelopes/${ctx.encode(String(ctx.input.envelopeId))}/tabs_blob`,
|
|
44
|
+
input: envId,
|
|
45
|
+
output: binaryResponseSchema
|
|
46
|
+
});
|
|
47
|
+
|
|
48
|
+
//#endregion
|
|
49
|
+
export { deprecatedEndpointForTabBlob, getTabsBlobForEnvelope, returnEnvelopeTabDataForExistingEnvelope };
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
import * as _keystrokehq_core0 from "@keystrokehq/core";
|
|
3
|
+
import * as _keystrokehq_core_credential_set0 from "@keystrokehq/core/credential-set";
|
|
4
|
+
|
|
5
|
+
//#region src/envelope-views.d.ts
|
|
6
|
+
declare const createSenderViewUrlForEnvelope: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
7
|
+
envelopeId: z.ZodString;
|
|
8
|
+
view: z.ZodOptional<z.ZodObject<{
|
|
9
|
+
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
10
|
+
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
11
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
12
|
+
url: z.ZodOptional<z.ZodString>;
|
|
13
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
14
|
+
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
15
|
+
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
16
|
+
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
17
|
+
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
18
|
+
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
19
|
+
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
20
|
+
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
21
|
+
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
22
|
+
declare const generateEditViewUrlForEnvelope: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
23
|
+
envelopeId: z.ZodString;
|
|
24
|
+
view: z.ZodOptional<z.ZodObject<{
|
|
25
|
+
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
26
|
+
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
27
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
28
|
+
url: z.ZodOptional<z.ZodString>;
|
|
29
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
30
|
+
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
31
|
+
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
32
|
+
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
33
|
+
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
34
|
+
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
35
|
+
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
36
|
+
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
37
|
+
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
38
|
+
declare const generateEnvelopeCorrectionUrl: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
39
|
+
envelopeId: z.ZodString;
|
|
40
|
+
view: z.ZodOptional<z.ZodObject<{
|
|
41
|
+
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
42
|
+
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
43
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
44
|
+
url: z.ZodOptional<z.ZodString>;
|
|
45
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
46
|
+
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
47
|
+
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
48
|
+
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
49
|
+
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
50
|
+
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
51
|
+
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
52
|
+
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
53
|
+
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
54
|
+
declare const revokeEnvelopeCorrectionUrl: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
55
|
+
envelopeId: z.ZodString;
|
|
56
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
57
|
+
success: z.ZodBoolean;
|
|
58
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
59
|
+
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
60
|
+
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
61
|
+
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
62
|
+
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
63
|
+
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
64
|
+
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
65
|
+
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
66
|
+
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
67
|
+
declare const getUrlForEmbeddingDocusignUi: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
68
|
+
view: z.ZodOptional<z.ZodObject<{
|
|
69
|
+
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
70
|
+
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
71
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
72
|
+
url: z.ZodOptional<z.ZodString>;
|
|
73
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
74
|
+
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
75
|
+
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
76
|
+
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
77
|
+
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
78
|
+
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
79
|
+
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
80
|
+
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
81
|
+
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
82
|
+
declare const createUrlForTemplateEditView: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
83
|
+
templateId: z.ZodString;
|
|
84
|
+
view: z.ZodOptional<z.ZodObject<{
|
|
85
|
+
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
86
|
+
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
87
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
88
|
+
url: z.ZodOptional<z.ZodString>;
|
|
89
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
90
|
+
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
91
|
+
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
92
|
+
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
93
|
+
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
94
|
+
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
95
|
+
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
96
|
+
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
97
|
+
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
98
|
+
//#endregion
|
|
99
|
+
export { createSenderViewUrlForEnvelope, createUrlForTemplateEditView, generateEditViewUrlForEnvelope, generateEnvelopeCorrectionUrl, getUrlForEmbeddingDocusignUi, revokeEnvelopeCorrectionUrl };
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
import { docusignEnvelopeIdSchema, docusignLooseObjectSchema, docusignSuccessSchema, docusignTemplateIdSchema } from "./schemas/index.mjs";
|
|
2
|
+
import { r as defineRestOperation } from "./operation-helpers-BMTArRh9.mjs";
|
|
3
|
+
import { z } from "zod";
|
|
4
|
+
|
|
5
|
+
//#region src/envelope-views.ts
|
|
6
|
+
/**
|
|
7
|
+
* Envelope views (sender, correction, edit, template edit). Covers PLAN.md § 6.8.
|
|
8
|
+
*/
|
|
9
|
+
const envId = z.object({ envelopeId: docusignEnvelopeIdSchema });
|
|
10
|
+
const urlResult = docusignLooseObjectSchema({ url: z.string().optional() });
|
|
11
|
+
const createSenderViewUrlForEnvelope = defineRestOperation({
|
|
12
|
+
id: "create_sender_view_url_for_envelope",
|
|
13
|
+
slug: "DOCUSIGN_CREATE_SENDER_VIEW_URL_FOR_ENVELOPE",
|
|
14
|
+
name: "Create Sender View URL",
|
|
15
|
+
description: "Create a sender view URL (Prepare page) for an envelope.",
|
|
16
|
+
needsApproval: true,
|
|
17
|
+
method: "POST",
|
|
18
|
+
path: (ctx) => `/envelopes/${ctx.encode(String(ctx.input.envelopeId))}/views/sender`,
|
|
19
|
+
input: envId.extend({ view: docusignLooseObjectSchema().optional() }),
|
|
20
|
+
output: urlResult,
|
|
21
|
+
body: (input) => input.view ?? {}
|
|
22
|
+
});
|
|
23
|
+
const generateEditViewUrlForEnvelope = defineRestOperation({
|
|
24
|
+
id: "generate_edit_view_url_for_envelope",
|
|
25
|
+
slug: "DOCUSIGN_GENERATE_EDIT_VIEW_URLFOR_ENVELOPE",
|
|
26
|
+
name: "Generate Edit View URL",
|
|
27
|
+
description: "Create an edit view URL for an envelope.",
|
|
28
|
+
needsApproval: true,
|
|
29
|
+
method: "POST",
|
|
30
|
+
path: (ctx) => `/envelopes/${ctx.encode(String(ctx.input.envelopeId))}/views/edit`,
|
|
31
|
+
input: envId.extend({ view: docusignLooseObjectSchema().optional() }),
|
|
32
|
+
output: urlResult,
|
|
33
|
+
body: (input) => input.view ?? {}
|
|
34
|
+
});
|
|
35
|
+
const generateEnvelopeCorrectionUrl = defineRestOperation({
|
|
36
|
+
id: "generate_envelope_correction_url",
|
|
37
|
+
slug: "DOCUSIGN_GENERATE_ENVELOPE_CORRECTION_URL",
|
|
38
|
+
name: "Generate Envelope Correction URL",
|
|
39
|
+
description: "Create a correction view URL for an envelope.",
|
|
40
|
+
needsApproval: true,
|
|
41
|
+
method: "POST",
|
|
42
|
+
path: (ctx) => `/envelopes/${ctx.encode(String(ctx.input.envelopeId))}/views/correct`,
|
|
43
|
+
input: envId.extend({ view: docusignLooseObjectSchema().optional() }),
|
|
44
|
+
output: urlResult,
|
|
45
|
+
body: (input) => input.view ?? {}
|
|
46
|
+
});
|
|
47
|
+
const revokeEnvelopeCorrectionUrl = defineRestOperation({
|
|
48
|
+
id: "revoke_envelope_correction_url",
|
|
49
|
+
slug: "DOCUSIGN_REVOKE_ENVELOPE_CORRECTION_URL",
|
|
50
|
+
name: "Revoke Envelope Correction URL",
|
|
51
|
+
description: "Revoke an outstanding correction view URL.",
|
|
52
|
+
needsApproval: true,
|
|
53
|
+
method: "DELETE",
|
|
54
|
+
path: (ctx) => `/envelopes/${ctx.encode(String(ctx.input.envelopeId))}/views/correct`,
|
|
55
|
+
input: envId,
|
|
56
|
+
output: docusignSuccessSchema,
|
|
57
|
+
transformResponse: () => ({ success: true })
|
|
58
|
+
});
|
|
59
|
+
const getUrlForEmbeddingDocusignUi = defineRestOperation({
|
|
60
|
+
id: "get_url_for_embedding_docusign_ui",
|
|
61
|
+
slug: "DOCUSIGN_GET_URLFOR_EMBEDDING_DOCUSIGN_UI",
|
|
62
|
+
name: "Get Embedding Console URL",
|
|
63
|
+
description: "Create a console view URL for embedding the DocuSign UI.",
|
|
64
|
+
needsApproval: true,
|
|
65
|
+
method: "POST",
|
|
66
|
+
path: "/views/console",
|
|
67
|
+
input: z.object({ view: docusignLooseObjectSchema().optional() }),
|
|
68
|
+
output: urlResult,
|
|
69
|
+
body: (input) => input.view ?? {}
|
|
70
|
+
});
|
|
71
|
+
const createUrlForTemplateEditView = defineRestOperation({
|
|
72
|
+
id: "create_url_for_template_edit_view",
|
|
73
|
+
slug: "DOCUSIGN_CREATE_URLFOR_TEMPLATE_EDIT_VIEW",
|
|
74
|
+
name: "Create Template Edit View URL",
|
|
75
|
+
description: "Create an edit view URL for a template.",
|
|
76
|
+
needsApproval: true,
|
|
77
|
+
method: "POST",
|
|
78
|
+
path: (ctx) => `/templates/${ctx.encode(String(ctx.input.templateId))}/views/edit`,
|
|
79
|
+
input: z.object({
|
|
80
|
+
templateId: docusignTemplateIdSchema,
|
|
81
|
+
view: docusignLooseObjectSchema().optional()
|
|
82
|
+
}),
|
|
83
|
+
output: urlResult,
|
|
84
|
+
body: (input) => input.view ?? {}
|
|
85
|
+
});
|
|
86
|
+
|
|
87
|
+
//#endregion
|
|
88
|
+
export { createSenderViewUrlForEnvelope, createUrlForTemplateEditView, generateEditViewUrlForEnvelope, generateEnvelopeCorrectionUrl, getUrlForEmbeddingDocusignUi, revokeEnvelopeCorrectionUrl };
|
|
@@ -0,0 +1,208 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
import * as _keystrokehq_core0 from "@keystrokehq/core";
|
|
3
|
+
import * as _keystrokehq_core_credential_set0 from "@keystrokehq/core/credential-set";
|
|
4
|
+
|
|
5
|
+
//#region src/envelope-workflow.d.ts
|
|
6
|
+
declare const getEnvelopeWorkflowDefinition: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
7
|
+
envelopeId: z.ZodString;
|
|
8
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
9
|
+
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
10
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
11
|
+
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
12
|
+
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
13
|
+
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
14
|
+
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
15
|
+
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
16
|
+
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
17
|
+
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
18
|
+
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
19
|
+
declare const updateEnvelopeWorkflowDefinition: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
20
|
+
envelopeId: z.ZodString;
|
|
21
|
+
workflow: z.ZodObject<{
|
|
22
|
+
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
23
|
+
}, z.core.$catchall<z.ZodUnknown>>;
|
|
24
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
25
|
+
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
26
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
27
|
+
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
28
|
+
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
29
|
+
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
30
|
+
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
31
|
+
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
32
|
+
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
33
|
+
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
34
|
+
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
35
|
+
declare const deleteEnvelopeWorkflowDefinition: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
36
|
+
envelopeId: z.ZodString;
|
|
37
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
38
|
+
success: z.ZodBoolean;
|
|
39
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
40
|
+
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
41
|
+
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
42
|
+
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
43
|
+
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
44
|
+
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
45
|
+
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
46
|
+
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
47
|
+
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
48
|
+
declare const addStepToEnvelopeWorkflow: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
49
|
+
envelopeId: z.ZodString;
|
|
50
|
+
step: z.ZodObject<{
|
|
51
|
+
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
52
|
+
}, z.core.$catchall<z.ZodUnknown>>;
|
|
53
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
54
|
+
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
55
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
56
|
+
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
57
|
+
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
58
|
+
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
59
|
+
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
60
|
+
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
61
|
+
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
62
|
+
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
63
|
+
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
64
|
+
declare const getWorkflowStepForEnvelope: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
65
|
+
envelopeId: z.ZodString;
|
|
66
|
+
workflowStepId: z.ZodString;
|
|
67
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
68
|
+
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
69
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
70
|
+
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
71
|
+
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
72
|
+
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
73
|
+
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
74
|
+
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
75
|
+
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
76
|
+
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
77
|
+
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
78
|
+
declare const updateEnvelopeWorkflowStep: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
79
|
+
envelopeId: z.ZodString;
|
|
80
|
+
workflowStepId: z.ZodString;
|
|
81
|
+
step: z.ZodObject<{
|
|
82
|
+
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
83
|
+
}, z.core.$catchall<z.ZodUnknown>>;
|
|
84
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
85
|
+
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
86
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
87
|
+
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
88
|
+
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
89
|
+
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
90
|
+
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
91
|
+
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
92
|
+
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
93
|
+
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
94
|
+
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
95
|
+
declare const deleteEnvelopeWorkflowStep: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
96
|
+
envelopeId: z.ZodString;
|
|
97
|
+
workflowStepId: z.ZodString;
|
|
98
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
99
|
+
success: z.ZodBoolean;
|
|
100
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
101
|
+
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
102
|
+
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
103
|
+
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
104
|
+
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
105
|
+
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
106
|
+
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
107
|
+
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
108
|
+
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
109
|
+
declare const getEnvelopeWorkflowDelayedRoutingDefinition: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
110
|
+
envelopeId: z.ZodString;
|
|
111
|
+
workflowStepId: z.ZodString;
|
|
112
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
113
|
+
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
114
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
115
|
+
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
116
|
+
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
117
|
+
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
118
|
+
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
119
|
+
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
120
|
+
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
121
|
+
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
122
|
+
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
123
|
+
declare const updateEnvelopeDelayedRoutingRules: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
124
|
+
envelopeId: z.ZodString;
|
|
125
|
+
workflowStepId: z.ZodString;
|
|
126
|
+
rules: z.ZodObject<{
|
|
127
|
+
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
128
|
+
}, z.core.$catchall<z.ZodUnknown>>;
|
|
129
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
130
|
+
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
131
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
132
|
+
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
133
|
+
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
134
|
+
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
135
|
+
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
136
|
+
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
137
|
+
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
138
|
+
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
139
|
+
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
140
|
+
declare const deleteDelayedRoutingRuleForEnvelopeStep: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
141
|
+
envelopeId: z.ZodString;
|
|
142
|
+
workflowStepId: z.ZodString;
|
|
143
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
144
|
+
success: z.ZodBoolean;
|
|
145
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
146
|
+
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
147
|
+
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
148
|
+
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
149
|
+
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
150
|
+
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
151
|
+
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
152
|
+
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
153
|
+
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
154
|
+
declare const returnScheduledSendingRulesForEnvelope: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
155
|
+
envelopeId: z.ZodString;
|
|
156
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
157
|
+
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
158
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
159
|
+
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
160
|
+
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
161
|
+
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
162
|
+
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
163
|
+
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
164
|
+
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
165
|
+
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
166
|
+
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
167
|
+
declare const updateEnvelopeScheduledSendingRules: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
168
|
+
envelopeId: z.ZodString;
|
|
169
|
+
rules: z.ZodObject<{
|
|
170
|
+
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
171
|
+
}, z.core.$catchall<z.ZodUnknown>>;
|
|
172
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
173
|
+
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
174
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
175
|
+
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
176
|
+
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
177
|
+
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
178
|
+
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
179
|
+
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
180
|
+
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
181
|
+
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
182
|
+
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
183
|
+
declare const deleteEnvelopeScheduledSendingRules: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
184
|
+
envelopeId: z.ZodString;
|
|
185
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
186
|
+
success: z.ZodBoolean;
|
|
187
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
188
|
+
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
189
|
+
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
190
|
+
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
191
|
+
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
192
|
+
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
193
|
+
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
194
|
+
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
195
|
+
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
196
|
+
declare const deleteScheduledSendingRules: _keystrokehq_core0.Operation<z.ZodObject<{}, z.core.$strip>, z.ZodObject<{
|
|
197
|
+
success: z.ZodBoolean;
|
|
198
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
199
|
+
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
200
|
+
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
201
|
+
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
202
|
+
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
203
|
+
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
204
|
+
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
205
|
+
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
206
|
+
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
207
|
+
//#endregion
|
|
208
|
+
export { addStepToEnvelopeWorkflow, deleteDelayedRoutingRuleForEnvelopeStep, deleteEnvelopeScheduledSendingRules, deleteEnvelopeWorkflowDefinition, deleteEnvelopeWorkflowStep, deleteScheduledSendingRules, getEnvelopeWorkflowDefinition, getEnvelopeWorkflowDelayedRoutingDefinition, getWorkflowStepForEnvelope, returnScheduledSendingRulesForEnvelope, updateEnvelopeDelayedRoutingRules, updateEnvelopeScheduledSendingRules, updateEnvelopeWorkflowDefinition, updateEnvelopeWorkflowStep };
|