@superdurable/connector-docusign 0.0.0-stage → 0.2.0
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/LICENSE +21 -0
- package/README.md +22 -2
- package/dex-connector.json +384 -0
- package/dist/chunk-PSJGBNG4.js +424 -0
- package/dist/connection-BFvLyRgn.d.ts +363 -0
- package/dist/index.d.ts +553 -0
- package/dist/index.js +1543 -0
- package/dist/mock.d.ts +149 -0
- package/dist/mock.js +360 -0
- package/package.json +63 -4
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,553 @@
|
|
|
1
|
+
import { C as CreateEnvelopeFromTemplateInput, a as CreatedEnvelope, b as Connection, D as DownloadCombinedDocumentInput, c as CombinedDocument, G as GetEnvelopeInput, E as Envelope, L as ListEnvelopeRecipientsInput, d as EnvelopeRecipients, V as VoidEnvelopeInput, e as VoidedEnvelope, f as CredentialSource, g as Credentials, h as Config, O as Operations, i as EnvelopeCustomField } from './connection-BFvLyRgn.js';
|
|
2
|
+
export { j as CombinedDocumentSchema, k as ConfigSchema, l as CreateEnvelopeFromTemplateInputSchema, m as CreatedEnvelopeSchema, n as DownloadCombinedDocumentInputSchema, o as EnvelopeCustomFieldSchema, p as EnvelopeRecipientsSchema, q as EnvelopeSchema, r as GetEnvelopeInputSchema, s as ListEnvelopeRecipientsInputSchema, R as Recipient, t as RecipientSchema, T as TemplateRole, u as TemplateRoleSchema, v as VoidEnvelopeInputSchema, w as VoidedEnvelopeSchema, x as decodeCredentials, y as decodeSharedCredentials, z as newConnection, A as newConnectionWithOperations } from './connection-BFvLyRgn.js';
|
|
3
|
+
import * as _superdurable_connectors_sdk from '@superdurable/connectors-sdk';
|
|
4
|
+
import { MutationDefinition, QueryDefinition, MutationStepConfig, Mutation, MutationResult, QueryStepConfig, Query, QueryResult, MutationStep, QueryStep, Call, QueryAttempt, MutationAttempt, TriggerLogger, Failure, ReceiptDraft, TriggerEvent, TriggerTarget, TriggerRunner, TriggerContext, ConnectorConfigurationUI, TriggerDefinition, TriggerBindingDefinition } from '@superdurable/connectors-sdk';
|
|
5
|
+
import { StepTarget } from '@superdurable/dex';
|
|
6
|
+
import { LoadedProject, TriggerInboxKey, Configuration } from '@superdurable/connectors-sdk/projectconfig';
|
|
7
|
+
import { ProviderRequest, ProviderResponse } from '@superdurable/connectors-sdk/providerhttp';
|
|
8
|
+
import { ManifestCredentialRefreshDriver } from '@superdurable/connectors-sdk/oauthtoken';
|
|
9
|
+
import { IncomingHttpHeaders, IncomingMessage, ServerResponse } from 'node:http';
|
|
10
|
+
import { z } from 'zod';
|
|
11
|
+
import { WebhookEndpoint } from '@superdurable/connectors-sdk/webhooktrigger';
|
|
12
|
+
|
|
13
|
+
/** Stable connector identity. */
|
|
14
|
+
declare const ConnectorID = "docusign";
|
|
15
|
+
/** Provider identity for named connections. */
|
|
16
|
+
declare const ProviderID = "docusign";
|
|
17
|
+
/** Branch IDs for createEnvelopeFromTemplate. */
|
|
18
|
+
declare const CreateEnvelopeFromTemplateBranch: {
|
|
19
|
+
readonly Created: "created";
|
|
20
|
+
readonly ProviderRejected: "providerRejected";
|
|
21
|
+
readonly Uncertain: "uncertain";
|
|
22
|
+
readonly Defect: "defect";
|
|
23
|
+
};
|
|
24
|
+
/** DocuSign holds the envelope this Step execution created; wasRecovered tells whether a later attempt found it by its custom field after an interrupted one. */
|
|
25
|
+
declare const CreateEnvelopeFromTemplateBranchCreated: "created";
|
|
26
|
+
/** DocuSign conclusively rejected the envelope, such as an unknown template, an unfilled or unknown role, an invalid email address, an exhausted envelope allowance, or a user who may not send; nothing was created. */
|
|
27
|
+
declare const CreateEnvelopeFromTemplateBranchProviderRejected: "providerRejected";
|
|
28
|
+
/** The create request was sent but DocuSign's answer was lost, a server error, or unreadable, and no envelope with this Step's custom field could be found, so an envelope may exist that this Result does not name; do not create another automatically. */
|
|
29
|
+
declare const CreateEnvelopeFromTemplateBranchUncertain: "uncertain";
|
|
30
|
+
/** Local input, connection configuration, or connector definition is invalid. */
|
|
31
|
+
declare const CreateEnvelopeFromTemplateBranchDefect: "defect";
|
|
32
|
+
/** Manifest definition for createEnvelopeFromTemplate. */
|
|
33
|
+
declare const CreateEnvelopeFromTemplateDefinition: MutationDefinition;
|
|
34
|
+
/** Manifest metadata for createEnvelopeFromTemplate. */
|
|
35
|
+
declare const CreateEnvelopeFromTemplateMetadata: {
|
|
36
|
+
readonly kind: "mutation";
|
|
37
|
+
readonly idempotency: "required";
|
|
38
|
+
readonly authorization: "required";
|
|
39
|
+
};
|
|
40
|
+
/** Branch IDs for getEnvelope. */
|
|
41
|
+
declare const GetEnvelopeBranch: {
|
|
42
|
+
readonly Found: "found";
|
|
43
|
+
readonly NotFound: "notFound";
|
|
44
|
+
readonly ProviderRejected: "providerRejected";
|
|
45
|
+
readonly InvalidResponse: "invalidResponse";
|
|
46
|
+
readonly Defect: "defect";
|
|
47
|
+
};
|
|
48
|
+
/** DocuSign returned the envelope. */
|
|
49
|
+
declare const GetEnvelopeBranchFound: "found";
|
|
50
|
+
/** The envelope does not exist in the connection's account or the user may not see it. */
|
|
51
|
+
declare const GetEnvelopeBranchNotFound: "notFound";
|
|
52
|
+
/** DocuSign conclusively rejected the read, such as a revoked consent or a user without access to the account. */
|
|
53
|
+
declare const GetEnvelopeBranchProviderRejected: "providerRejected";
|
|
54
|
+
/** DocuSign returned a malformed or oversized response. */
|
|
55
|
+
declare const GetEnvelopeBranchInvalidResponse: "invalidResponse";
|
|
56
|
+
/** Local input, connection configuration, or connector definition is invalid. */
|
|
57
|
+
declare const GetEnvelopeBranchDefect: "defect";
|
|
58
|
+
/** Manifest definition for getEnvelope. */
|
|
59
|
+
declare const GetEnvelopeDefinition: QueryDefinition;
|
|
60
|
+
/** Manifest metadata for getEnvelope. */
|
|
61
|
+
declare const GetEnvelopeMetadata: {
|
|
62
|
+
readonly kind: "query";
|
|
63
|
+
readonly idempotency: "none";
|
|
64
|
+
readonly authorization: "required";
|
|
65
|
+
};
|
|
66
|
+
/** Branch IDs for listEnvelopeRecipients. */
|
|
67
|
+
declare const ListEnvelopeRecipientsBranch: {
|
|
68
|
+
readonly Listed: "listed";
|
|
69
|
+
readonly NotFound: "notFound";
|
|
70
|
+
readonly ProviderRejected: "providerRejected";
|
|
71
|
+
readonly InvalidResponse: "invalidResponse";
|
|
72
|
+
readonly Defect: "defect";
|
|
73
|
+
};
|
|
74
|
+
/** DocuSign returned the envelope's recipients. */
|
|
75
|
+
declare const ListEnvelopeRecipientsBranchListed: "listed";
|
|
76
|
+
/** The envelope does not exist in the connection's account or the user may not see it. */
|
|
77
|
+
declare const ListEnvelopeRecipientsBranchNotFound: "notFound";
|
|
78
|
+
/** DocuSign conclusively rejected the read, such as a revoked consent or a user without access to the account. */
|
|
79
|
+
declare const ListEnvelopeRecipientsBranchProviderRejected: "providerRejected";
|
|
80
|
+
/** DocuSign returned a malformed or oversized response. */
|
|
81
|
+
declare const ListEnvelopeRecipientsBranchInvalidResponse: "invalidResponse";
|
|
82
|
+
/** Local input, connection configuration, or connector definition is invalid. */
|
|
83
|
+
declare const ListEnvelopeRecipientsBranchDefect: "defect";
|
|
84
|
+
/** Manifest definition for listEnvelopeRecipients. */
|
|
85
|
+
declare const ListEnvelopeRecipientsDefinition: QueryDefinition;
|
|
86
|
+
/** Manifest metadata for listEnvelopeRecipients. */
|
|
87
|
+
declare const ListEnvelopeRecipientsMetadata: {
|
|
88
|
+
readonly kind: "query";
|
|
89
|
+
readonly idempotency: "none";
|
|
90
|
+
readonly authorization: "required";
|
|
91
|
+
};
|
|
92
|
+
/** Branch IDs for voidEnvelope. */
|
|
93
|
+
declare const VoidEnvelopeBranch: {
|
|
94
|
+
readonly Voided: "voided";
|
|
95
|
+
readonly NotVoidable: "notVoidable";
|
|
96
|
+
readonly NotFound: "notFound";
|
|
97
|
+
readonly ProviderRejected: "providerRejected";
|
|
98
|
+
readonly InvalidResponse: "invalidResponse";
|
|
99
|
+
readonly Defect: "defect";
|
|
100
|
+
};
|
|
101
|
+
/** The envelope is voided, by this call or earlier; wasAlreadyVoided tells which. */
|
|
102
|
+
declare const VoidEnvelopeBranchVoided: "voided";
|
|
103
|
+
/** The envelope is completed, declined, or still a draft, which DocuSign does not void; status names which. */
|
|
104
|
+
declare const VoidEnvelopeBranchNotVoidable: "notVoidable";
|
|
105
|
+
/** The envelope does not exist in the connection's account or the user may not see it. */
|
|
106
|
+
declare const VoidEnvelopeBranchNotFound: "notFound";
|
|
107
|
+
/** DocuSign conclusively rejected the void, such as a user who is not the sender or lacks permission. */
|
|
108
|
+
declare const VoidEnvelopeBranchProviderRejected: "providerRejected";
|
|
109
|
+
/** DocuSign returned a malformed or oversized response. */
|
|
110
|
+
declare const VoidEnvelopeBranchInvalidResponse: "invalidResponse";
|
|
111
|
+
/** Local input, connection configuration, or connector definition is invalid. */
|
|
112
|
+
declare const VoidEnvelopeBranchDefect: "defect";
|
|
113
|
+
/** Manifest definition for voidEnvelope. */
|
|
114
|
+
declare const VoidEnvelopeDefinition: MutationDefinition;
|
|
115
|
+
/** Manifest metadata for voidEnvelope. */
|
|
116
|
+
declare const VoidEnvelopeMetadata: {
|
|
117
|
+
readonly kind: "mutation";
|
|
118
|
+
readonly idempotency: "required";
|
|
119
|
+
readonly authorization: "required";
|
|
120
|
+
};
|
|
121
|
+
/** Branch IDs for downloadCombinedDocument. */
|
|
122
|
+
declare const DownloadCombinedDocumentBranch: {
|
|
123
|
+
readonly Downloaded: "downloaded";
|
|
124
|
+
readonly NotFound: "notFound";
|
|
125
|
+
readonly TooLarge: "tooLarge";
|
|
126
|
+
readonly ProviderRejected: "providerRejected";
|
|
127
|
+
readonly InvalidResponse: "invalidResponse";
|
|
128
|
+
readonly Defect: "defect";
|
|
129
|
+
};
|
|
130
|
+
/** DocuSign returned the combined PDF and its digest was recorded, and stored when the client has a CombinedDocumentStore. */
|
|
131
|
+
declare const DownloadCombinedDocumentBranchDownloaded: "downloaded";
|
|
132
|
+
/** The envelope does not exist in the connection's account or the user may not see it. */
|
|
133
|
+
declare const DownloadCombinedDocumentBranchNotFound: "notFound";
|
|
134
|
+
/** The combined PDF exceeds the connection's maxDocumentBytes; nothing was stored. */
|
|
135
|
+
declare const DownloadCombinedDocumentBranchTooLarge: "tooLarge";
|
|
136
|
+
/** DocuSign conclusively rejected the download, such as a revoked consent or a user without access to the envelope. */
|
|
137
|
+
declare const DownloadCombinedDocumentBranchProviderRejected: "providerRejected";
|
|
138
|
+
/** DocuSign returned something other than a complete PDF, or the CombinedDocumentStore rejected it. */
|
|
139
|
+
declare const DownloadCombinedDocumentBranchInvalidResponse: "invalidResponse";
|
|
140
|
+
/** Local input, connection configuration, or connector definition is invalid. */
|
|
141
|
+
declare const DownloadCombinedDocumentBranchDefect: "defect";
|
|
142
|
+
/** Manifest definition for downloadCombinedDocument. */
|
|
143
|
+
declare const DownloadCombinedDocumentDefinition: QueryDefinition;
|
|
144
|
+
/** Manifest metadata for downloadCombinedDocument. */
|
|
145
|
+
declare const DownloadCombinedDocumentMetadata: {
|
|
146
|
+
readonly kind: "query";
|
|
147
|
+
readonly idempotency: "none";
|
|
148
|
+
readonly authorization: "required";
|
|
149
|
+
};
|
|
150
|
+
|
|
151
|
+
/** Configuration for the createEnvelopeFromTemplate connector Step. */
|
|
152
|
+
interface CreateEnvelopeFromTemplateStepConfig<StepInput, OperationInput = CreateEnvelopeFromTemplateInput, OperationOutput = CreatedEnvelope> extends Omit<MutationStepConfig<StepInput, OperationInput, OperationOutput>, 'operation' | 'connection' | 'branches'> {
|
|
153
|
+
/** Named connection supplying this operation. */
|
|
154
|
+
connection: Connection<{
|
|
155
|
+
createEnvelopeFromTemplate(): Mutation<OperationInput, OperationOutput>;
|
|
156
|
+
}>;
|
|
157
|
+
/** Name matching the bound connection. */
|
|
158
|
+
connectionName: string;
|
|
159
|
+
/** DocuSign holds the envelope this Step execution created; wasRecovered tells whether a later attempt found it by its custom field after an interrupted one. */
|
|
160
|
+
created: StepTarget<MutationResult<OperationOutput>>;
|
|
161
|
+
/** DocuSign conclusively rejected the envelope, such as an unknown template, an unfilled or unknown role, an invalid email address, an exhausted envelope allowance, or a user who may not send; nothing was created. */
|
|
162
|
+
providerRejected?: StepTarget<MutationResult<OperationOutput>>;
|
|
163
|
+
/** The create request was sent but DocuSign's answer was lost, a server error, or unreadable, and no envelope with this Step's custom field could be found, so an envelope may exist that this Result does not name; do not create another automatically. */
|
|
164
|
+
uncertain?: StepTarget<MutationResult<OperationOutput>>;
|
|
165
|
+
/** Local input, connection configuration, or connector definition is invalid. */
|
|
166
|
+
defect?: StepTarget<MutationResult<OperationOutput>>;
|
|
167
|
+
}
|
|
168
|
+
/** Build the createEnvelopeFromTemplate Step from a named connection. */
|
|
169
|
+
declare function newCreateEnvelopeFromTemplateStep<StepInput, OperationInput = CreateEnvelopeFromTemplateInput, OperationOutput = CreatedEnvelope>(configuration: CreateEnvelopeFromTemplateStepConfig<StepInput, OperationInput, OperationOutput>): MutationStep<StepInput, OperationInput, OperationOutput>;
|
|
170
|
+
/** Configuration for the getEnvelope connector Step. */
|
|
171
|
+
interface GetEnvelopeStepConfig<StepInput, OperationInput = GetEnvelopeInput, OperationOutput = Envelope> extends Omit<QueryStepConfig<StepInput, OperationInput, OperationOutput>, 'operation' | 'connection' | 'branches'> {
|
|
172
|
+
/** Named connection supplying this operation. */
|
|
173
|
+
connection: Connection<{
|
|
174
|
+
getEnvelope(): Query<OperationInput, OperationOutput>;
|
|
175
|
+
}>;
|
|
176
|
+
/** Name matching the bound connection. */
|
|
177
|
+
connectionName: string;
|
|
178
|
+
/** DocuSign returned the envelope. */
|
|
179
|
+
found: StepTarget<QueryResult<OperationOutput>>;
|
|
180
|
+
/** The envelope does not exist in the connection's account or the user may not see it. */
|
|
181
|
+
notFound?: StepTarget<QueryResult<OperationOutput>>;
|
|
182
|
+
/** DocuSign conclusively rejected the read, such as a revoked consent or a user without access to the account. */
|
|
183
|
+
providerRejected?: StepTarget<QueryResult<OperationOutput>>;
|
|
184
|
+
/** DocuSign returned a malformed or oversized response. */
|
|
185
|
+
invalidResponse?: StepTarget<QueryResult<OperationOutput>>;
|
|
186
|
+
/** Local input, connection configuration, or connector definition is invalid. */
|
|
187
|
+
defect?: StepTarget<QueryResult<OperationOutput>>;
|
|
188
|
+
}
|
|
189
|
+
/** Build the getEnvelope Step from a named connection. */
|
|
190
|
+
declare function newGetEnvelopeStep<StepInput, OperationInput = GetEnvelopeInput, OperationOutput = Envelope>(configuration: GetEnvelopeStepConfig<StepInput, OperationInput, OperationOutput>): QueryStep<StepInput, OperationInput, OperationOutput>;
|
|
191
|
+
/** Configuration for the listEnvelopeRecipients connector Step. */
|
|
192
|
+
interface ListEnvelopeRecipientsStepConfig<StepInput, OperationInput = ListEnvelopeRecipientsInput, OperationOutput = EnvelopeRecipients> extends Omit<QueryStepConfig<StepInput, OperationInput, OperationOutput>, 'operation' | 'connection' | 'branches'> {
|
|
193
|
+
/** Named connection supplying this operation. */
|
|
194
|
+
connection: Connection<{
|
|
195
|
+
listEnvelopeRecipients(): Query<OperationInput, OperationOutput>;
|
|
196
|
+
}>;
|
|
197
|
+
/** Name matching the bound connection. */
|
|
198
|
+
connectionName: string;
|
|
199
|
+
/** DocuSign returned the envelope's recipients. */
|
|
200
|
+
listed: StepTarget<QueryResult<OperationOutput>>;
|
|
201
|
+
/** The envelope does not exist in the connection's account or the user may not see it. */
|
|
202
|
+
notFound?: StepTarget<QueryResult<OperationOutput>>;
|
|
203
|
+
/** DocuSign conclusively rejected the read, such as a revoked consent or a user without access to the account. */
|
|
204
|
+
providerRejected?: StepTarget<QueryResult<OperationOutput>>;
|
|
205
|
+
/** DocuSign returned a malformed or oversized response. */
|
|
206
|
+
invalidResponse?: StepTarget<QueryResult<OperationOutput>>;
|
|
207
|
+
/** Local input, connection configuration, or connector definition is invalid. */
|
|
208
|
+
defect?: StepTarget<QueryResult<OperationOutput>>;
|
|
209
|
+
}
|
|
210
|
+
/** Build the listEnvelopeRecipients Step from a named connection. */
|
|
211
|
+
declare function newListEnvelopeRecipientsStep<StepInput, OperationInput = ListEnvelopeRecipientsInput, OperationOutput = EnvelopeRecipients>(configuration: ListEnvelopeRecipientsStepConfig<StepInput, OperationInput, OperationOutput>): QueryStep<StepInput, OperationInput, OperationOutput>;
|
|
212
|
+
/** Configuration for the voidEnvelope connector Step. */
|
|
213
|
+
interface VoidEnvelopeStepConfig<StepInput, OperationInput = VoidEnvelopeInput, OperationOutput = VoidedEnvelope> extends Omit<MutationStepConfig<StepInput, OperationInput, OperationOutput>, 'operation' | 'connection' | 'branches'> {
|
|
214
|
+
/** Named connection supplying this operation. */
|
|
215
|
+
connection: Connection<{
|
|
216
|
+
voidEnvelope(): Mutation<OperationInput, OperationOutput>;
|
|
217
|
+
}>;
|
|
218
|
+
/** Name matching the bound connection. */
|
|
219
|
+
connectionName: string;
|
|
220
|
+
/** The envelope is voided, by this call or earlier; wasAlreadyVoided tells which. */
|
|
221
|
+
voided: StepTarget<MutationResult<OperationOutput>>;
|
|
222
|
+
/** The envelope is completed, declined, or still a draft, which DocuSign does not void; status names which. */
|
|
223
|
+
notVoidable?: StepTarget<MutationResult<OperationOutput>>;
|
|
224
|
+
/** The envelope does not exist in the connection's account or the user may not see it. */
|
|
225
|
+
notFound?: StepTarget<MutationResult<OperationOutput>>;
|
|
226
|
+
/** DocuSign conclusively rejected the void, such as a user who is not the sender or lacks permission. */
|
|
227
|
+
providerRejected?: StepTarget<MutationResult<OperationOutput>>;
|
|
228
|
+
/** DocuSign returned a malformed or oversized response. */
|
|
229
|
+
invalidResponse?: StepTarget<MutationResult<OperationOutput>>;
|
|
230
|
+
/** Local input, connection configuration, or connector definition is invalid. */
|
|
231
|
+
defect?: StepTarget<MutationResult<OperationOutput>>;
|
|
232
|
+
}
|
|
233
|
+
/** Build the voidEnvelope Step from a named connection. */
|
|
234
|
+
declare function newVoidEnvelopeStep<StepInput, OperationInput = VoidEnvelopeInput, OperationOutput = VoidedEnvelope>(configuration: VoidEnvelopeStepConfig<StepInput, OperationInput, OperationOutput>): MutationStep<StepInput, OperationInput, OperationOutput>;
|
|
235
|
+
/** Configuration for the downloadCombinedDocument connector Step. */
|
|
236
|
+
interface DownloadCombinedDocumentStepConfig<StepInput, OperationInput = DownloadCombinedDocumentInput, OperationOutput = CombinedDocument> extends Omit<QueryStepConfig<StepInput, OperationInput, OperationOutput>, 'operation' | 'connection' | 'branches'> {
|
|
237
|
+
/** Named connection supplying this operation. */
|
|
238
|
+
connection: Connection<{
|
|
239
|
+
downloadCombinedDocument(): Query<OperationInput, OperationOutput>;
|
|
240
|
+
}>;
|
|
241
|
+
/** Name matching the bound connection. */
|
|
242
|
+
connectionName: string;
|
|
243
|
+
/** DocuSign returned the combined PDF and its digest was recorded, and stored when the client has a CombinedDocumentStore. */
|
|
244
|
+
downloaded: StepTarget<QueryResult<OperationOutput>>;
|
|
245
|
+
/** The envelope does not exist in the connection's account or the user may not see it. */
|
|
246
|
+
notFound?: StepTarget<QueryResult<OperationOutput>>;
|
|
247
|
+
/** The combined PDF exceeds the connection's maxDocumentBytes; nothing was stored. */
|
|
248
|
+
tooLarge?: StepTarget<QueryResult<OperationOutput>>;
|
|
249
|
+
/** DocuSign conclusively rejected the download, such as a revoked consent or a user without access to the envelope. */
|
|
250
|
+
providerRejected?: StepTarget<QueryResult<OperationOutput>>;
|
|
251
|
+
/** DocuSign returned something other than a complete PDF, or the CombinedDocumentStore rejected it. */
|
|
252
|
+
invalidResponse?: StepTarget<QueryResult<OperationOutput>>;
|
|
253
|
+
/** Local input, connection configuration, or connector definition is invalid. */
|
|
254
|
+
defect?: StepTarget<QueryResult<OperationOutput>>;
|
|
255
|
+
}
|
|
256
|
+
/** Build the downloadCombinedDocument Step from a named connection. */
|
|
257
|
+
declare function newDownloadCombinedDocumentStep<StepInput, OperationInput = DownloadCombinedDocumentInput, OperationOutput = CombinedDocument>(configuration: DownloadCombinedDocumentStepConfig<StepInput, OperationInput, OperationOutput>): QueryStep<StepInput, OperationInput, OperationOutput>;
|
|
258
|
+
|
|
259
|
+
/** Create a server-template envelope with read-back after an unconfirmed POST. */
|
|
260
|
+
declare class CreateEnvelopeFromTemplateOperation implements Mutation<CreateEnvelopeFromTemplateInput, CreatedEnvelope> {
|
|
261
|
+
private readonly client;
|
|
262
|
+
/** Bind the authenticated DocuSign client. */
|
|
263
|
+
constructor(client: DocuSignClient);
|
|
264
|
+
/** Return manifest routes and Execute defaults. */
|
|
265
|
+
definition(): _superdurable_connectors_sdk.MutationDefinition;
|
|
266
|
+
/** Use the stable Dex Call ID as the hidden deduplication marker. */
|
|
267
|
+
idempotencyKey(callId: string): string;
|
|
268
|
+
/** Invoke one safe-to-classify create attempt. */
|
|
269
|
+
invoke(call: Call, input: CreateEnvelopeFromTemplateInput): Promise<MutationAttempt<CreatedEnvelope>>;
|
|
270
|
+
}
|
|
271
|
+
/** Read one envelope with custom fields. */
|
|
272
|
+
declare class GetEnvelopeOperation implements Query<GetEnvelopeInput, Envelope> {
|
|
273
|
+
private readonly client;
|
|
274
|
+
/** Bind the authenticated DocuSign client. */
|
|
275
|
+
constructor(client: DocuSignClient);
|
|
276
|
+
/** Return manifest routes and Execute defaults. */
|
|
277
|
+
definition(): _superdurable_connectors_sdk.QueryDefinition;
|
|
278
|
+
/** Invoke one envelope read. */
|
|
279
|
+
invoke(call: Call, input: GetEnvelopeInput): Promise<QueryAttempt<Envelope>>;
|
|
280
|
+
}
|
|
281
|
+
/** Flatten DocuSign recipient collections into routing order. */
|
|
282
|
+
declare class ListEnvelopeRecipientsOperation implements Query<ListEnvelopeRecipientsInput, EnvelopeRecipients> {
|
|
283
|
+
private readonly client;
|
|
284
|
+
/** Bind the authenticated DocuSign client. */
|
|
285
|
+
constructor(client: DocuSignClient);
|
|
286
|
+
/** Return manifest routes and Execute defaults. */
|
|
287
|
+
definition(): _superdurable_connectors_sdk.QueryDefinition;
|
|
288
|
+
/** Invoke one recipients read. */
|
|
289
|
+
invoke(call: Call, input: ListEnvelopeRecipientsInput): Promise<QueryAttempt<EnvelopeRecipients>>;
|
|
290
|
+
}
|
|
291
|
+
/** Void an envelope or read back a status refusal. */
|
|
292
|
+
declare class VoidEnvelopeOperation implements Mutation<VoidEnvelopeInput, VoidedEnvelope> {
|
|
293
|
+
private readonly client;
|
|
294
|
+
/** Bind the authenticated DocuSign client. */
|
|
295
|
+
constructor(client: DocuSignClient);
|
|
296
|
+
/** Return manifest routes and Execute defaults. */
|
|
297
|
+
definition(): _superdurable_connectors_sdk.MutationDefinition;
|
|
298
|
+
/** Use the stable Call ID for this safely repeatable PUT. */
|
|
299
|
+
idempotencyKey(callId: string): string;
|
|
300
|
+
/** Invoke one void attempt. */
|
|
301
|
+
invoke(call: Call, input: VoidEnvelopeInput): Promise<MutationAttempt<VoidedEnvelope>>;
|
|
302
|
+
}
|
|
303
|
+
/** Download and digest a combined PDF without persisting its bytes in Dex. */
|
|
304
|
+
declare class DownloadCombinedDocumentOperation implements Query<DownloadCombinedDocumentInput, CombinedDocument> {
|
|
305
|
+
private readonly client;
|
|
306
|
+
/** Bind the authenticated DocuSign client. */
|
|
307
|
+
constructor(client: DocuSignClient);
|
|
308
|
+
/** Return manifest routes and Execute defaults. */
|
|
309
|
+
definition(): _superdurable_connectors_sdk.QueryDefinition;
|
|
310
|
+
/** Invoke one combined PDF read. */
|
|
311
|
+
invoke(call: Call, input: DownloadCombinedDocumentInput): Promise<QueryAttempt<CombinedDocument>>;
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
/** Reference handed to an application-owned combined PDF store. */
|
|
315
|
+
interface CombinedDocumentReference {
|
|
316
|
+
/** Account that owns the PDF. */ accountId: string;
|
|
317
|
+
/** Envelope whose documents were combined. */ envelopeId: string;
|
|
318
|
+
/** Whether the certificate of completion is included. */ includesCertificate: boolean;
|
|
319
|
+
}
|
|
320
|
+
/** Store a complete PDF outside Dex payloads and return a safe, stable location. */
|
|
321
|
+
interface CombinedDocumentStore {
|
|
322
|
+
/** Consume the whole stream atomically and return a repeat-safe location. */
|
|
323
|
+
storeCombinedDocument(reference: CombinedDocumentReference, content: AsyncIterable<Uint8Array>): Promise<string>;
|
|
324
|
+
}
|
|
325
|
+
/** Replace the transport, clock, or document store for an application or provider test. */
|
|
326
|
+
interface DocuSignClientOptions {
|
|
327
|
+
/** Override the bounded JSON request transport. */
|
|
328
|
+
send?: (request: ProviderRequest) => Promise<ProviderResponse>;
|
|
329
|
+
/** Override the clock used for receipts and rate limits. */
|
|
330
|
+
now?: () => Date;
|
|
331
|
+
/** Persist a combined PDF outside Dex payloads. */
|
|
332
|
+
documentStore?: CombinedDocumentStore;
|
|
333
|
+
/** Receive the envelopeEventReceived Trigger's delivery records; omitted uses the SDK's console logger. */
|
|
334
|
+
logger?: TriggerLogger;
|
|
335
|
+
}
|
|
336
|
+
/** One provider answer; oversized applies only to successful JSON bodies. */
|
|
337
|
+
interface DocuSignResponse {
|
|
338
|
+
/** HTTP status. */ status: number;
|
|
339
|
+
/** Response headers. */ headers: ProviderResponse['headers'];
|
|
340
|
+
/** Bounded response bytes. */ body: Uint8Array;
|
|
341
|
+
/** Whether a successful body exceeded its limit. */ isTooLarge: boolean;
|
|
342
|
+
}
|
|
343
|
+
/** Open successful PDF stream or a bounded non-success answer. */
|
|
344
|
+
type DocumentResponse = {
|
|
345
|
+
stream: AsyncIterable<Uint8Array>;
|
|
346
|
+
headers: ProviderResponse['headers'];
|
|
347
|
+
close(): Promise<void>;
|
|
348
|
+
} | {
|
|
349
|
+
rejected: DocuSignResponse;
|
|
350
|
+
};
|
|
351
|
+
/** Session credentials and the account selected by DocuSign userinfo. */
|
|
352
|
+
interface DocuSignSession {
|
|
353
|
+
/** Credentials for this call. */ credentials: Credentials;
|
|
354
|
+
/** Selected API account ID. */ accountId: string;
|
|
355
|
+
/** Validated regional API base URI. */ baseUri: string;
|
|
356
|
+
}
|
|
357
|
+
/** Sanitized classification of a provider refusal. */
|
|
358
|
+
interface DocuSignOutcome {
|
|
359
|
+
/** Whether Dex can safely retry. */ retry: boolean;
|
|
360
|
+
/** Whether the provider found no matching object. */ notFound: boolean;
|
|
361
|
+
/** Provider requested retry delay in milliseconds. */ retryAfterMs: number;
|
|
362
|
+
/** Safe provider error code. */ errorCode: string;
|
|
363
|
+
/** Persistable failure without provider message text. */ failure: Failure;
|
|
364
|
+
}
|
|
365
|
+
/** Authenticated DocuSign eSignature client bound to one Dex connection. */
|
|
366
|
+
declare class DocuSignClient {
|
|
367
|
+
readonly credentials: CredentialSource;
|
|
368
|
+
readonly maxResponseBytes: number;
|
|
369
|
+
readonly maxDocumentBytes: number;
|
|
370
|
+
readonly documentStore: CombinedDocumentStore | undefined;
|
|
371
|
+
/** Largest Connect request body the envelopeEventReceived endpoint accepts. */
|
|
372
|
+
readonly connectMaxBodyBytes: number;
|
|
373
|
+
/** Destination of the envelopeEventReceived Trigger's records. */
|
|
374
|
+
readonly triggerLogger: TriggerLogger;
|
|
375
|
+
private readonly accountId;
|
|
376
|
+
private readonly send;
|
|
377
|
+
private readonly hasCustomSend;
|
|
378
|
+
private readonly now;
|
|
379
|
+
private readonly accountCache;
|
|
380
|
+
/** @internal Refreshes expiring OAuth credentials for operations and the Connect endpoint. */
|
|
381
|
+
readonly refreshDriver: ManifestCredentialRefreshDriver<Credentials>;
|
|
382
|
+
/** Validate connection settings and bind host-owned renewable credentials. */
|
|
383
|
+
constructor(config: Config, credentials: CredentialSource, options?: DocuSignClientOptions);
|
|
384
|
+
/** Bind the template creation Mutation. */
|
|
385
|
+
createEnvelopeFromTemplate(): CreateEnvelopeFromTemplateOperation;
|
|
386
|
+
/** Bind the envelope Query. */
|
|
387
|
+
getEnvelope(): GetEnvelopeOperation;
|
|
388
|
+
/** Bind the recipients Query. */
|
|
389
|
+
listEnvelopeRecipients(): ListEnvelopeRecipientsOperation;
|
|
390
|
+
/** Bind the void Mutation. */
|
|
391
|
+
voidEnvelope(): VoidEnvelopeOperation;
|
|
392
|
+
/** Bind the combined PDF Query. */
|
|
393
|
+
downloadCombinedDocument(): DownloadCombinedDocumentOperation;
|
|
394
|
+
/** Resolve renewable credentials and DocuSign's own account host. */
|
|
395
|
+
openSession(call: Call, operation: string): Promise<DocuSignSession>;
|
|
396
|
+
/** Send one eSignature request after account selection. */
|
|
397
|
+
requestAPI(call: Call, session: DocuSignSession, method: string, path: string, query?: Record<string, string>, body?: unknown, accept?: string, limit?: number, timeoutMs?: number): Promise<DocuSignResponse>;
|
|
398
|
+
/** Open the combined PDF without buffering a successful response in Dex memory. */
|
|
399
|
+
openDocument(call: Call, session: DocuSignSession, envelopeId: string, includeCertificate: boolean): Promise<DocumentResponse>;
|
|
400
|
+
/** Classify one conclusive refusal without exposing provider messages. */
|
|
401
|
+
classify(operation: string, response: DocuSignResponse): DocuSignOutcome;
|
|
402
|
+
/** Build a provider receipt with only safe envelope identity and error code. */
|
|
403
|
+
receipt(envelopeId: string, errorCode?: string): ReceiptDraft;
|
|
404
|
+
/** Return the injected clock for recovery windows and receipts. */
|
|
405
|
+
currentTime(): Date;
|
|
406
|
+
private request;
|
|
407
|
+
}
|
|
408
|
+
|
|
409
|
+
/** Open a named DocuSign connection with generated private and shared credential decoders. */
|
|
410
|
+
declare function newProjectConnection(project: LoadedProject, connectionName: string, options?: DocuSignClientOptions): Connection<Operations>;
|
|
411
|
+
|
|
412
|
+
/** The Connect event sent when every recipient finished. */
|
|
413
|
+
declare const ConnectEventEnvelopeCompleted = "envelope-completed";
|
|
414
|
+
/** The Connect event sent when a recipient declined. */
|
|
415
|
+
declare const ConnectEventEnvelopeDeclined = "envelope-declined";
|
|
416
|
+
/** The Connect event sent when the sender voided the envelope or it expired. */
|
|
417
|
+
declare const ConnectEventEnvelopeVoided = "envelope-voided";
|
|
418
|
+
/** The Connect events the envelopeEventReceived Trigger records. */
|
|
419
|
+
declare const ConnectEnvelopeEvents: readonly string[];
|
|
420
|
+
/** One envelope Connect event name. */
|
|
421
|
+
type ConnectEnvelopeEvent = typeof ConnectEventEnvelopeCompleted | typeof ConnectEventEnvelopeDeclined | typeof ConnectEventEnvelopeVoided;
|
|
422
|
+
/**
|
|
423
|
+
* Filters the Connect events one binding records. An empty or omitted events list records every
|
|
424
|
+
* envelope-completed, envelope-declined, and envelope-voided event. It reduces what a binding stores; the
|
|
425
|
+
* application's TriggerFilter remains its admission rule.
|
|
426
|
+
*/
|
|
427
|
+
declare const EnvelopeEventReceivedTriggerConfigurationSchema: z.ZodObject<{
|
|
428
|
+
events: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
429
|
+
}, z.core.$strict>;
|
|
430
|
+
/** Event filter of one envelopeEventReceived binding. */
|
|
431
|
+
type EnvelopeEventReceivedTriggerConfiguration = z.infer<typeof EnvelopeEventReceivedTriggerConfigurationSchema>;
|
|
432
|
+
/**
|
|
433
|
+
* One HMAC-verified Connect envelope event in the JSON SIM format; field names and order match the Go
|
|
434
|
+
* connector. Its Trigger event ID is the envelope ID and the event name, such as
|
|
435
|
+
* 93be49ab-0000-0000-0000-f752070d71ec:envelope-completed, so a Connect retry or a second Connect
|
|
436
|
+
* configuration delivering the same outcome keeps one ID.
|
|
437
|
+
*/
|
|
438
|
+
interface EnvelopeEvent {
|
|
439
|
+
/** envelope-completed, envelope-declined, or envelope-voided. */ event: string;
|
|
440
|
+
/** The envelope's lowercase GUID. */ envelopeId: string;
|
|
441
|
+
/** The sender's lowercase DocuSign API account GUID. */ accountId: string;
|
|
442
|
+
/** When Connect generated the message, or when the endpoint received it if Connect left it blank, as RFC 3339 UTC. */ generatedAt: string;
|
|
443
|
+
/** The envelope summary's lowercase status; absent unless the Connect configuration includes envelope data. */ status?: Envelope['status'];
|
|
444
|
+
/** The envelope summary's void reason for an envelope-voided event, when included. */ voidedReason?: string;
|
|
445
|
+
/** The envelope's text custom fields; absent unless the Connect configuration's Include Data lists Custom Fields. */ customFields?: EnvelopeCustomField[];
|
|
446
|
+
}
|
|
447
|
+
/** Runtime validator of a replayed EnvelopeEvent payload. */
|
|
448
|
+
declare const EnvelopeEventSchema: z.ZodPipe<z.ZodObject<{
|
|
449
|
+
event: z.ZodString;
|
|
450
|
+
envelopeId: z.ZodString;
|
|
451
|
+
accountId: z.ZodString;
|
|
452
|
+
generatedAt: z.ZodString;
|
|
453
|
+
status: z.ZodOptional<z.ZodString>;
|
|
454
|
+
voidedReason: z.ZodOptional<z.ZodString>;
|
|
455
|
+
customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
456
|
+
name: z.ZodString;
|
|
457
|
+
value: z.ZodString;
|
|
458
|
+
}, z.core.$strip>>>;
|
|
459
|
+
}, z.core.$strip>, z.ZodTransform<EnvelopeEvent, {
|
|
460
|
+
event: string;
|
|
461
|
+
envelopeId: string;
|
|
462
|
+
accountId: string;
|
|
463
|
+
generatedAt: string;
|
|
464
|
+
status?: string | undefined;
|
|
465
|
+
voidedReason?: string | undefined;
|
|
466
|
+
customFields?: {
|
|
467
|
+
name: string;
|
|
468
|
+
value: string;
|
|
469
|
+
}[] | undefined;
|
|
470
|
+
}>>;
|
|
471
|
+
/** Return the value of the event's named text custom field, or undefined when it has none. */
|
|
472
|
+
declare function envelopeEventCustomFieldValue(event: EnvelopeEvent, name: string): string | undefined;
|
|
473
|
+
/** A Connect message that is not a JSON SIM envelope event with GUID identities. */
|
|
474
|
+
declare class ConnectMessageMalformedError extends Error {
|
|
475
|
+
constructor();
|
|
476
|
+
}
|
|
477
|
+
/** No X-DocuSign-Signature-N header matches the HMAC-SHA256 of the body. */
|
|
478
|
+
declare class ConnectSignatureInvalidError extends Error {
|
|
479
|
+
constructor();
|
|
480
|
+
}
|
|
481
|
+
/** Accept any X-DocuSign-Signature-N whose standard base64 equals the body's HMAC-SHA256 under hmacKey. */
|
|
482
|
+
declare function verifyConnectSignature(body: Uint8Array, headers: IncomingHttpHeaders, hmacKey: string): void;
|
|
483
|
+
/**
|
|
484
|
+
* Decode a JSON SIM envelope outcome received at receivedAt. Another valid Connect event returns
|
|
485
|
+
* undefined, so the endpoint acknowledges it unrecorded; anything else throws ConnectMessageMalformedError.
|
|
486
|
+
*/
|
|
487
|
+
declare function decodeConnectMessage(body: Uint8Array, receivedAt: Date): TriggerEvent<EnvelopeEvent> | undefined;
|
|
488
|
+
|
|
489
|
+
/** Manifest definition of envelopeEventReceived. */
|
|
490
|
+
declare const EnvelopeEventReceivedTriggerDefinition: TriggerDefinition;
|
|
491
|
+
/** One static application binding of envelopeEventReceived. */
|
|
492
|
+
interface EnvelopeEventReceivedTriggerBindingConfig {
|
|
493
|
+
/** Static connection name. */ connectionName: string;
|
|
494
|
+
/** Static binding name. */ bindingName: string;
|
|
495
|
+
/** Optional Connector Studio configuration units; the connector declares none, so Dex Web saves the binding as {}, which records all three outcomes. */ configurationUI?: ConnectorConfigurationUI;
|
|
496
|
+
}
|
|
497
|
+
/** Declare a static envelopeEventReceived binding for Flow Definition tooling and Dex Web. */
|
|
498
|
+
declare function defineEnvelopeEventReceivedTriggerBinding(config: EnvelopeEventReceivedTriggerBindingConfig): TriggerBindingDefinition;
|
|
499
|
+
/** Configuration of one standalone envelopeEventReceived Trigger. */
|
|
500
|
+
interface EnvelopeEventReceivedTriggerConfig {
|
|
501
|
+
/** DocuSign connection from newProjectConnection or newConnection with a DocuSignClient. */ connection: Connection;
|
|
502
|
+
/** Static connection name; must equal the connection's name. */ connectionName: string;
|
|
503
|
+
/** Static binding name. */ bindingName: string;
|
|
504
|
+
/** The binding's event filter. */ configuration: EnvelopeEventReceivedTriggerConfiguration;
|
|
505
|
+
/** Routes accepted events into the application. */ target: TriggerTarget<EnvelopeEvent>;
|
|
506
|
+
}
|
|
507
|
+
/**
|
|
508
|
+
* Create one envelopeEventReceived Trigger fed by the connection's shared Connect endpoint, which
|
|
509
|
+
* envelopeEventReceivedWebhookEndpoint returns for the application to mount. Every Trigger of one
|
|
510
|
+
* connection shares that endpoint. Throws a TypeError or the schema's error on invalid wiring.
|
|
511
|
+
*/
|
|
512
|
+
declare function newEnvelopeEventReceivedTrigger(config: EnvelopeEventReceivedTriggerConfig): TriggerRunner;
|
|
513
|
+
/**
|
|
514
|
+
* Return the connection's Connect endpoint, creating it on first use, for an application to mount at the
|
|
515
|
+
* URL to Publish of its Connect configuration. Every envelopeEventReceived Trigger built from this
|
|
516
|
+
* connection feeds from it. It answers 503 while none of them runs and without a connect_hmac_key, so
|
|
517
|
+
* Connect retries; 400 for a bad signature or a body that is not JSON SIM; 413 above connectMaxBodyBytes,
|
|
518
|
+
* before the signature is checked; and 200 for another Connect event, unrecorded.
|
|
519
|
+
*/
|
|
520
|
+
declare function envelopeEventReceivedWebhookEndpoint(connection: Connection): WebhookEndpoint<Credentials, EnvelopeEvent>;
|
|
521
|
+
/** One envelopeEventReceived binding from the project configuration and its application target. */
|
|
522
|
+
interface ProjectEnvelopeEventReceivedTriggerRoute {
|
|
523
|
+
/** Configured binding name whose configuration filters the events. */ bindingName: string;
|
|
524
|
+
/** Receives the binding's events through its durable project inbox, such as a newDexRPCTriggerTarget that resumes the waiting Flow. */ target: TriggerTarget<EnvelopeEvent>;
|
|
525
|
+
}
|
|
526
|
+
/**
|
|
527
|
+
* Serves one connection's Connect endpoint while running its bindings. Mount serveHTTP at the Connect
|
|
528
|
+
* configuration's URL to Publish and run it for the life of the process. It is safe for concurrent requests.
|
|
529
|
+
*/
|
|
530
|
+
declare class EnvelopeEventReceivedEndpointRunner {
|
|
531
|
+
#private;
|
|
532
|
+
/** @internal Use newProjectEnvelopeEventReceivedEndpointRunner. */
|
|
533
|
+
constructor(endpoint: WebhookEndpoint<Credentials, EnvelopeEvent>, runners: readonly TriggerRunner[]);
|
|
534
|
+
/** Verify, record, and acknowledge one Connect delivery. It answers 503 until run has replayed every binding's pending events and started receiving, so Connect retries. */
|
|
535
|
+
serveHTTP(request: IncomingMessage, response: ServerResponse): Promise<void>;
|
|
536
|
+
/** Replay each binding's durable inbox, then deliver new events until the context ends, rejecting with TriggerDeliveryAbortedError, or a binding fails. */
|
|
537
|
+
run(context: TriggerContext): Promise<void>;
|
|
538
|
+
/** How many bindings are receiving events; a readiness check can wait until it equals the number of routes. */
|
|
539
|
+
runningSourceCount(): number;
|
|
540
|
+
}
|
|
541
|
+
/**
|
|
542
|
+
* Open connectionName and every route's binding from the loaded project and wrap each target in the
|
|
543
|
+
* binding's durable project inbox, so an event is stored before Connect receives 200. A route whose
|
|
544
|
+
* binding is not configured throws ObjectNotFoundError; an invalid configuration, a blank or duplicated
|
|
545
|
+
* binding name, or no routes throws. The client options' logger also applies to the inboxes.
|
|
546
|
+
*/
|
|
547
|
+
declare function newProjectEnvelopeEventReceivedEndpointRunner(project: LoadedProject, connectionName: string, routes: readonly ProjectEnvelopeEventReceivedTriggerRoute[], options?: DocuSignClientOptions): EnvelopeEventReceivedEndpointRunner;
|
|
548
|
+
/** Wraps one binding's target so each event is stored before its acknowledgement. */
|
|
549
|
+
type DurableEnvelopeEventReceivedTarget = (key: TriggerInboxKey, target: TriggerTarget<EnvelopeEvent>) => TriggerTarget<EnvelopeEvent>;
|
|
550
|
+
/** @internal Run routes on connection with the bindings that configuration stores, wrapping each target with makeDurable. */
|
|
551
|
+
declare function newEnvelopeEventReceivedEndpointRunner(connection: Connection, configuration: Configuration, routes: readonly ProjectEnvelopeEventReceivedTriggerRoute[], makeDurable: DurableEnvelopeEventReceivedTarget): EnvelopeEventReceivedEndpointRunner;
|
|
552
|
+
|
|
553
|
+
export { CombinedDocument, type CombinedDocumentReference, type CombinedDocumentStore, Config, type ConnectEnvelopeEvent, ConnectEnvelopeEvents, ConnectEventEnvelopeCompleted, ConnectEventEnvelopeDeclined, ConnectEventEnvelopeVoided, ConnectMessageMalformedError, ConnectSignatureInvalidError, Connection, ConnectorID, CreateEnvelopeFromTemplateBranch, CreateEnvelopeFromTemplateBranchCreated, CreateEnvelopeFromTemplateBranchDefect, CreateEnvelopeFromTemplateBranchProviderRejected, CreateEnvelopeFromTemplateBranchUncertain, CreateEnvelopeFromTemplateDefinition, CreateEnvelopeFromTemplateInput, CreateEnvelopeFromTemplateMetadata, CreateEnvelopeFromTemplateOperation, type CreateEnvelopeFromTemplateStepConfig, CreatedEnvelope, CredentialSource, Credentials, DocuSignClient, type DocuSignClientOptions, DownloadCombinedDocumentBranch, DownloadCombinedDocumentBranchDefect, DownloadCombinedDocumentBranchDownloaded, DownloadCombinedDocumentBranchInvalidResponse, DownloadCombinedDocumentBranchNotFound, DownloadCombinedDocumentBranchProviderRejected, DownloadCombinedDocumentBranchTooLarge, DownloadCombinedDocumentDefinition, DownloadCombinedDocumentInput, DownloadCombinedDocumentMetadata, DownloadCombinedDocumentOperation, type DownloadCombinedDocumentStepConfig, type DurableEnvelopeEventReceivedTarget, Envelope, EnvelopeCustomField, type EnvelopeEvent, EnvelopeEventReceivedEndpointRunner, type EnvelopeEventReceivedTriggerBindingConfig, type EnvelopeEventReceivedTriggerConfig, type EnvelopeEventReceivedTriggerConfiguration, EnvelopeEventReceivedTriggerConfigurationSchema, EnvelopeEventReceivedTriggerDefinition, EnvelopeEventSchema, EnvelopeRecipients, GetEnvelopeBranch, GetEnvelopeBranchDefect, GetEnvelopeBranchFound, GetEnvelopeBranchInvalidResponse, GetEnvelopeBranchNotFound, GetEnvelopeBranchProviderRejected, GetEnvelopeDefinition, GetEnvelopeInput, GetEnvelopeMetadata, GetEnvelopeOperation, type GetEnvelopeStepConfig, ListEnvelopeRecipientsBranch, ListEnvelopeRecipientsBranchDefect, ListEnvelopeRecipientsBranchInvalidResponse, ListEnvelopeRecipientsBranchListed, ListEnvelopeRecipientsBranchNotFound, ListEnvelopeRecipientsBranchProviderRejected, ListEnvelopeRecipientsDefinition, ListEnvelopeRecipientsInput, ListEnvelopeRecipientsMetadata, ListEnvelopeRecipientsOperation, type ListEnvelopeRecipientsStepConfig, type ProjectEnvelopeEventReceivedTriggerRoute, ProviderID, VoidEnvelopeBranch, VoidEnvelopeBranchDefect, VoidEnvelopeBranchInvalidResponse, VoidEnvelopeBranchNotFound, VoidEnvelopeBranchNotVoidable, VoidEnvelopeBranchProviderRejected, VoidEnvelopeBranchVoided, VoidEnvelopeDefinition, VoidEnvelopeInput, VoidEnvelopeMetadata, VoidEnvelopeOperation, type VoidEnvelopeStepConfig, VoidedEnvelope, decodeConnectMessage, defineEnvelopeEventReceivedTriggerBinding, envelopeEventCustomFieldValue, envelopeEventReceivedWebhookEndpoint, newCreateEnvelopeFromTemplateStep, newDownloadCombinedDocumentStep, newEnvelopeEventReceivedEndpointRunner, newEnvelopeEventReceivedTrigger, newGetEnvelopeStep, newListEnvelopeRecipientsStep, newProjectConnection, newProjectEnvelopeEventReceivedEndpointRunner, newVoidEnvelopeStep, verifyConnectSignature };
|