@keystrokehq/docusign 0.0.10 → 0.0.15
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 +4 -18
- package/dist/_official/index.mjs +1 -1
- package/dist/account-custom-fields.d.mts +4 -21
- package/dist/account-custom-fields.mjs +1 -1
- package/dist/account-stamps.d.mts +11 -56
- package/dist/account-stamps.mjs +1 -1
- package/dist/account-tabs.d.mts +6 -31
- package/dist/account-tabs.mjs +1 -1
- package/dist/account.d.mts +18 -91
- package/dist/account.mjs +1 -1
- package/dist/admin.d.mts +1 -6
- package/dist/admin.mjs +1 -1
- package/dist/auth.d.mts +2 -11
- package/dist/auth.mjs +15 -4
- package/dist/bcc-archive.d.mts +4 -21
- package/dist/bcc-archive.mjs +1 -1
- package/dist/billing.d.mts +16 -81
- package/dist/billing.mjs +1 -1
- package/dist/brands.d.mts +11 -56
- package/dist/brands.mjs +1 -1
- package/dist/bulk-send.d.mts +9 -42
- package/dist/bulk-send.mjs +1 -1
- package/dist/chunked-uploads.d.mts +5 -26
- package/dist/chunked-uploads.mjs +1 -1
- package/dist/click.d.mts +1 -6
- package/dist/click.mjs +1 -1
- package/dist/client.d.mts +1 -1
- package/dist/clm.d.mts +1 -6
- package/dist/clm.mjs +1 -1
- package/dist/cloud-storage.d.mts +7 -36
- package/dist/cloud-storage.mjs +1 -1
- package/dist/connect.d.mts +17 -86
- package/dist/connect.mjs +1 -1
- package/dist/connection.d.mts +1 -1
- package/dist/connection.mjs +1 -1
- package/dist/contacts.d.mts +5 -26
- package/dist/contacts.mjs +1 -1
- package/dist/enote.d.mts +3 -16
- package/dist/enote.mjs +1 -1
- package/dist/envelope-attachments.d.mts +5 -26
- package/dist/envelope-attachments.mjs +1 -1
- package/dist/envelope-custom-fields.d.mts +7 -36
- package/dist/envelope-custom-fields.mjs +1 -1
- package/dist/envelope-documents.d.mts +16 -81
- package/dist/envelope-documents.mjs +1 -1
- package/dist/envelope-email.d.mts +4 -21
- package/dist/envelope-email.mjs +1 -1
- package/dist/envelope-lock.d.mts +4 -21
- package/dist/envelope-lock.mjs +1 -1
- package/dist/envelope-logs.d.mts +9 -46
- package/dist/envelope-logs.mjs +1 -1
- package/dist/envelope-notifications.d.mts +3 -16
- package/dist/envelope-notifications.mjs +1 -1
- package/dist/envelope-recipients.d.mts +11 -56
- package/dist/envelope-recipients.mjs +1 -1
- package/dist/envelope-tabs.d.mts +3 -16
- package/dist/envelope-tabs.mjs +1 -1
- package/dist/envelope-views.d.mts +6 -31
- package/dist/envelope-views.mjs +1 -1
- package/dist/envelope-workflow.d.mts +14 -71
- package/dist/envelope-workflow.mjs +1 -1
- package/dist/envelopes.d.mts +14 -67
- package/dist/envelopes.mjs +1 -1
- package/dist/{factory-Cj6MzqXn.mjs → factory-5kY-Jnda.mjs} +1 -1
- package/dist/groups.d.mts +10 -51
- package/dist/groups.mjs +1 -1
- package/dist/integration-H05G5JY8.mjs +112 -0
- package/dist/integration-Mk1ScWT6.d.mts +30 -0
- package/dist/monitor.d.mts +1 -6
- package/dist/monitor.mjs +1 -1
- package/dist/notary.d.mts +9 -46
- package/dist/notary.mjs +1 -1
- package/dist/{operation-helpers-DcsuFcq0.mjs → operation-helpers-D25WHTo1.mjs} +1 -1
- package/dist/permission-profiles.d.mts +5 -26
- package/dist/permission-profiles.mjs +1 -1
- package/dist/power-forms.d.mts +3 -16
- package/dist/power-forms.mjs +1 -1
- package/dist/rooms.d.mts +1 -6
- package/dist/rooms.mjs +1 -1
- package/dist/schemas/index.d.mts +3 -3
- package/dist/signing-groups.d.mts +9 -46
- package/dist/signing-groups.mjs +1 -1
- package/dist/template-custom-fields.d.mts +8 -41
- package/dist/template-custom-fields.mjs +1 -1
- package/dist/template-documents.d.mts +8 -41
- package/dist/template-documents.mjs +1 -1
- package/dist/template-lock.d.mts +4 -21
- package/dist/template-lock.mjs +1 -1
- package/dist/template-sharing.d.mts +8 -41
- package/dist/template-sharing.mjs +1 -1
- package/dist/template-workflow.d.mts +12 -61
- package/dist/template-workflow.mjs +1 -1
- package/dist/templates.d.mts +7 -36
- package/dist/templates.mjs +1 -1
- package/dist/user-authorizations.d.mts +8 -41
- package/dist/user-authorizations.mjs +1 -1
- package/dist/user-custom-settings.d.mts +5 -26
- package/dist/user-custom-settings.mjs +1 -1
- package/dist/user-profile.d.mts +7 -36
- package/dist/user-profile.mjs +1 -1
- package/dist/user-signatures.d.mts +13 -66
- package/dist/user-signatures.mjs +1 -1
- package/dist/users.d.mts +6 -31
- package/dist/users.mjs +1 -1
- package/dist/workspaces.d.mts +11 -56
- package/dist/workspaces.mjs +1 -1
- package/package.json +4 -5
- package/dist/integration-BykMcCMC.mjs +0 -229
- package/dist/integration-SYThzunD.d.mts +0 -73
package/dist/envelopes.d.mts
CHANGED
|
@@ -1,15 +1,14 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
import * as _keystrokehq_core0 from "@keystrokehq/core";
|
|
3
|
-
import * as _keystrokehq_core_credential_set0 from "@keystrokehq/core/credential-set";
|
|
4
3
|
|
|
5
4
|
//#region src/envelopes.d.ts
|
|
6
5
|
declare const getEnvelope: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
7
6
|
envelopeId: z.ZodString;
|
|
8
7
|
include: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
9
|
-
documents: "documents";
|
|
10
8
|
recipients: "recipients";
|
|
11
9
|
tabs: "tabs";
|
|
12
10
|
custom_fields: "custom_fields";
|
|
11
|
+
documents: "documents";
|
|
13
12
|
attachments: "attachments";
|
|
14
13
|
extensions: "extensions";
|
|
15
14
|
powerform: "powerform";
|
|
@@ -57,11 +56,7 @@ declare const getEnvelope: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
57
56
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
58
57
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
59
58
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
60
|
-
}, z.core.$strip
|
|
61
|
-
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
62
|
-
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
63
|
-
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
64
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
59
|
+
}, z.core.$strip>>], undefined>;
|
|
65
60
|
declare const sendEnvelope: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
66
61
|
emailSubject: z.ZodOptional<z.ZodString>;
|
|
67
62
|
emailBlurb: z.ZodOptional<z.ZodString>;
|
|
@@ -153,11 +148,7 @@ declare const sendEnvelope: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
153
148
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
154
149
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
155
150
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
156
|
-
}, z.core.$strip
|
|
157
|
-
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
158
|
-
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
159
|
-
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
160
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
151
|
+
}, z.core.$strip>>], undefined>;
|
|
161
152
|
declare const voidEnvelope: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
162
153
|
envelopeId: z.ZodString;
|
|
163
154
|
voidedReason: z.ZodString;
|
|
@@ -201,11 +192,7 @@ declare const voidEnvelope: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
201
192
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
202
193
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
203
194
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
204
|
-
}, z.core.$strip
|
|
205
|
-
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
206
|
-
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
207
|
-
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
208
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
195
|
+
}, z.core.$strip>>], undefined>;
|
|
209
196
|
declare const createEnvelopeFromTemplate: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
210
197
|
emailSubject: z.ZodOptional<z.ZodString>;
|
|
211
198
|
emailBlurb: z.ZodOptional<z.ZodString>;
|
|
@@ -297,11 +284,7 @@ declare const createEnvelopeFromTemplate: _keystrokehq_core0.Operation<z.ZodObje
|
|
|
297
284
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
298
285
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
299
286
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
300
|
-
}, z.core.$strip
|
|
301
|
-
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
302
|
-
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
303
|
-
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
304
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
287
|
+
}, z.core.$strip>>], undefined>;
|
|
305
288
|
declare const retrieveEnvelopeAuditEvents: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
306
289
|
envelopeId: z.ZodString;
|
|
307
290
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -312,11 +295,7 @@ declare const retrieveEnvelopeAuditEvents: _keystrokehq_core0.Operation<z.ZodObj
|
|
|
312
295
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
313
296
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
314
297
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
315
|
-
}, z.core.$strip
|
|
316
|
-
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
317
|
-
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
318
|
-
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
319
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
298
|
+
}, z.core.$strip>>], undefined>;
|
|
320
299
|
declare const republishConnectDataForEnvelope: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
321
300
|
envelopeId: z.ZodString;
|
|
322
301
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -325,11 +304,7 @@ declare const republishConnectDataForEnvelope: _keystrokehq_core0.Operation<z.Zo
|
|
|
325
304
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
326
305
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
327
306
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
328
|
-
}, z.core.$strip
|
|
329
|
-
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
330
|
-
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
331
|
-
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
332
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
307
|
+
}, z.core.$strip>>], undefined>;
|
|
333
308
|
declare const republishConnectInfoForEnvelopes: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
334
309
|
envelopeIds: z.ZodArray<z.ZodString>;
|
|
335
310
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -338,11 +313,7 @@ declare const republishConnectInfoForEnvelopes: _keystrokehq_core0.Operation<z.Z
|
|
|
338
313
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
339
314
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
340
315
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
341
|
-
}, z.core.$strip
|
|
342
|
-
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
343
|
-
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
344
|
-
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
345
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
316
|
+
}, z.core.$strip>>], undefined>;
|
|
346
317
|
declare const submitBatchHistoricalEnvelopesToWebhook: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
347
318
|
connectId: z.ZodString;
|
|
348
319
|
envelopeIds: z.ZodArray<z.ZodString>;
|
|
@@ -352,11 +323,7 @@ declare const submitBatchHistoricalEnvelopesToWebhook: _keystrokehq_core0.Operat
|
|
|
352
323
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
353
324
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
354
325
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
355
|
-
}, z.core.$strip
|
|
356
|
-
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
357
|
-
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
358
|
-
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
359
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
326
|
+
}, z.core.$strip>>], undefined>;
|
|
360
327
|
declare const retrieveEnvelopeHtmlDefinition: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
361
328
|
envelopeId: z.ZodString;
|
|
362
329
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -365,11 +332,7 @@ declare const retrieveEnvelopeHtmlDefinition: _keystrokehq_core0.Operation<z.Zod
|
|
|
365
332
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
366
333
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
367
334
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
368
|
-
}, z.core.$strip
|
|
369
|
-
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
370
|
-
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
371
|
-
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
372
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
335
|
+
}, z.core.$strip>>], undefined>;
|
|
373
336
|
declare const retrieveHtmlDefinitionForResponsiveDocument: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
374
337
|
envelopeId: z.ZodString;
|
|
375
338
|
documentId: z.ZodString;
|
|
@@ -379,11 +342,7 @@ declare const retrieveHtmlDefinitionForResponsiveDocument: _keystrokehq_core0.Op
|
|
|
379
342
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
380
343
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
381
344
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
382
|
-
}, z.core.$strip
|
|
383
|
-
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
384
|
-
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
385
|
-
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
386
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
345
|
+
}, z.core.$strip>>], undefined>;
|
|
387
346
|
declare const getPdfTranscriptOfEnvelopeComments: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
388
347
|
envelopeId: z.ZodString;
|
|
389
348
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -395,11 +354,7 @@ declare const getPdfTranscriptOfEnvelopeComments: _keystrokehq_core0.Operation<z
|
|
|
395
354
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
396
355
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
397
356
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
398
|
-
}, z.core.$strip
|
|
399
|
-
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
400
|
-
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
401
|
-
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
402
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
357
|
+
}, z.core.$strip>>], undefined>;
|
|
403
358
|
declare const deleteEnvelopeTransferRule: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
404
359
|
transferRuleId: z.ZodString;
|
|
405
360
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -408,11 +363,7 @@ declare const deleteEnvelopeTransferRule: _keystrokehq_core0.Operation<z.ZodObje
|
|
|
408
363
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
409
364
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
410
365
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
411
|
-
}, z.core.$strip
|
|
412
|
-
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
413
|
-
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
414
|
-
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
415
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
366
|
+
}, z.core.$strip>>], undefined>;
|
|
416
367
|
declare const fetchRecipientNamesForEmail: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
417
368
|
email: z.ZodEmail;
|
|
418
369
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -421,10 +372,6 @@ declare const fetchRecipientNamesForEmail: _keystrokehq_core0.Operation<z.ZodObj
|
|
|
421
372
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
422
373
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
423
374
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
424
|
-
}, z.core.$strip
|
|
425
|
-
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
426
|
-
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
427
|
-
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
428
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
375
|
+
}, z.core.$strip>>], undefined>;
|
|
429
376
|
//#endregion
|
|
430
377
|
export { createEnvelopeFromTemplate, deleteEnvelopeTransferRule, fetchRecipientNamesForEmail, getEnvelope, getPdfTranscriptOfEnvelopeComments, republishConnectDataForEnvelope, republishConnectInfoForEnvelopes, retrieveEnvelopeAuditEvents, retrieveEnvelopeHtmlDefinition, retrieveHtmlDefinitionForResponsiveDocument, sendEnvelope, submitBatchHistoricalEnvelopesToWebhook, voidEnvelope };
|
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-D25WHTo1.mjs";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
|
|
5
5
|
//#region src/envelopes.ts
|
package/dist/groups.d.mts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
import * as _keystrokehq_core0 from "@keystrokehq/core";
|
|
3
|
-
import * as _keystrokehq_core_credential_set0 from "@keystrokehq/core/credential-set";
|
|
4
3
|
|
|
5
4
|
//#region src/groups.d.ts
|
|
6
5
|
declare const createGroupsForAccount: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
@@ -24,11 +23,7 @@ declare const createGroupsForAccount: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
24
23
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
25
24
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
26
25
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
27
|
-
}, z.core.$strip
|
|
28
|
-
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
29
|
-
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
30
|
-
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
31
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
26
|
+
}, z.core.$strip>>], undefined>;
|
|
32
27
|
declare const getGroupsInformationForAccount: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
33
28
|
startPosition: z.ZodOptional<z.ZodNumber>;
|
|
34
29
|
count: z.ZodOptional<z.ZodNumber>;
|
|
@@ -51,11 +46,7 @@ declare const getGroupsInformationForAccount: _keystrokehq_core0.Operation<z.Zod
|
|
|
51
46
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
52
47
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
53
48
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
54
|
-
}, z.core.$strip
|
|
55
|
-
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
56
|
-
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
57
|
-
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
58
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
49
|
+
}, z.core.$strip>>], undefined>;
|
|
59
50
|
declare const updateGroupInformation: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
60
51
|
groups: z.ZodArray<z.ZodObject<{
|
|
61
52
|
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
@@ -77,11 +68,7 @@ declare const updateGroupInformation: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
77
68
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
78
69
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
79
70
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
80
|
-
}, z.core.$strip
|
|
81
|
-
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
82
|
-
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
83
|
-
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
84
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
71
|
+
}, z.core.$strip>>], undefined>;
|
|
85
72
|
declare const deleteUserGroup: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
86
73
|
groups: z.ZodArray<z.ZodObject<{
|
|
87
74
|
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
@@ -92,11 +79,7 @@ declare const deleteUserGroup: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
92
79
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
93
80
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
94
81
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
95
|
-
}, z.core.$strip
|
|
96
|
-
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
97
|
-
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
98
|
-
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
99
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
82
|
+
}, z.core.$strip>>], undefined>;
|
|
100
83
|
declare const addUsersToExistingGroup: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
101
84
|
groupId: z.ZodString;
|
|
102
85
|
users: z.ZodArray<z.ZodObject<{
|
|
@@ -108,11 +91,7 @@ declare const addUsersToExistingGroup: _keystrokehq_core0.Operation<z.ZodObject<
|
|
|
108
91
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
109
92
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
110
93
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
111
|
-
}, z.core.$strip
|
|
112
|
-
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
113
|
-
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
114
|
-
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
115
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
94
|
+
}, z.core.$strip>>], undefined>;
|
|
116
95
|
declare const getUsersInGroup: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
117
96
|
groupId: z.ZodString;
|
|
118
97
|
startPosition: z.ZodOptional<z.ZodNumber>;
|
|
@@ -123,11 +102,7 @@ declare const getUsersInGroup: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
123
102
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
124
103
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
125
104
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
126
|
-
}, z.core.$strip
|
|
127
|
-
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
128
|
-
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
129
|
-
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
130
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
105
|
+
}, z.core.$strip>>], undefined>;
|
|
131
106
|
declare const deleteUsersFromGroup: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
132
107
|
groupId: z.ZodString;
|
|
133
108
|
users: z.ZodArray<z.ZodObject<{
|
|
@@ -139,11 +114,7 @@ declare const deleteUsersFromGroup: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
139
114
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
140
115
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
141
116
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
142
|
-
}, z.core.$strip
|
|
143
|
-
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
144
|
-
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
145
|
-
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
146
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
117
|
+
}, z.core.$strip>>], undefined>;
|
|
147
118
|
declare const addExistingBrandToGroup: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
148
119
|
groupId: z.ZodString;
|
|
149
120
|
brands: z.ZodArray<z.ZodObject<{
|
|
@@ -155,11 +126,7 @@ declare const addExistingBrandToGroup: _keystrokehq_core0.Operation<z.ZodObject<
|
|
|
155
126
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
156
127
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
157
128
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
158
|
-
}, z.core.$strip
|
|
159
|
-
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
160
|
-
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
161
|
-
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
162
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
129
|
+
}, z.core.$strip>>], undefined>;
|
|
163
130
|
declare const deleteBrandFromGroup: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
164
131
|
groupId: z.ZodString;
|
|
165
132
|
brandId: z.ZodString;
|
|
@@ -169,11 +136,7 @@ declare const deleteBrandFromGroup: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
169
136
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
170
137
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
171
138
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
172
|
-
}, z.core.$strip
|
|
173
|
-
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
174
|
-
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
175
|
-
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
176
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
139
|
+
}, z.core.$strip>>], undefined>;
|
|
177
140
|
declare const getBrandsInformationForGroup: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
178
141
|
groupId: z.ZodString;
|
|
179
142
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -182,10 +145,6 @@ declare const getBrandsInformationForGroup: _keystrokehq_core0.Operation<z.ZodOb
|
|
|
182
145
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
183
146
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
184
147
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
185
|
-
}, z.core.$strip
|
|
186
|
-
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
187
|
-
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
188
|
-
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
189
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
148
|
+
}, z.core.$strip>>], undefined>;
|
|
190
149
|
//#endregion
|
|
191
150
|
export { addExistingBrandToGroup, addUsersToExistingGroup, createGroupsForAccount, deleteBrandFromGroup, deleteUserGroup, deleteUsersFromGroup, getBrandsInformationForGroup, getGroupsInformationForAccount, getUsersInGroup, updateGroupInformation };
|
package/dist/groups.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { docusignGenericObjectSchema, docusignGroupListSchema, docusignListPaginationInputSchema, docusignLooseObjectSchema, docusignSuccessSchema } from "./schemas/index.mjs";
|
|
2
|
-
import { r as defineRestOperation } from "./operation-helpers-
|
|
2
|
+
import { r as defineRestOperation } from "./operation-helpers-D25WHTo1.mjs";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
|
|
5
5
|
//#region src/groups.ts
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
import { defineOfficialIntegration, officialCredentialSetId } from "@keystrokehq/integration-authoring/official";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
import { CredentialSet } from "@keystrokehq/core";
|
|
4
|
+
|
|
5
|
+
//#region src/_official/provider-app.ts
|
|
6
|
+
/**
|
|
7
|
+
* Keystroke-owned OAuth client definition for the DocuSign public connection.
|
|
8
|
+
*
|
|
9
|
+
* Used for: OAuth authorization-code exchange, refresh, and the embedded
|
|
10
|
+
* `/oauth/userinfo` lookup that resolves an account's `baseUri`.
|
|
11
|
+
*/
|
|
12
|
+
const docusignAppCredentialSet = new CredentialSet({
|
|
13
|
+
id: officialCredentialSetId("docusign-app"),
|
|
14
|
+
credentialType: "manual",
|
|
15
|
+
exposure: "platform-only",
|
|
16
|
+
name: "DocuSign App",
|
|
17
|
+
auth: z.object({
|
|
18
|
+
clientId: z.string().min(1),
|
|
19
|
+
clientSecret: z.string().min(1)
|
|
20
|
+
})
|
|
21
|
+
});
|
|
22
|
+
/**
|
|
23
|
+
* Keystroke-owned Connect webhook signing secrets.
|
|
24
|
+
*
|
|
25
|
+
* DocuSign Connect allows up to 10 concurrent HMAC shared secrets for rotation.
|
|
26
|
+
* Each outbound webhook is signed with every enabled secret as a separate
|
|
27
|
+
* `X-DocuSign-Signature-{N}` header. Verification accepts a delivery if any
|
|
28
|
+
* header matches any configured secret under a constant-time compare.
|
|
29
|
+
*
|
|
30
|
+
* Secrets are parsed from `KEYSTROKE_OFFICIAL_DOCUSIGN_CONNECT_HMAC_SECRETS`,
|
|
31
|
+
* a comma-separated list with newest first.
|
|
32
|
+
*/
|
|
33
|
+
const docusignConnectCredentialSet = new CredentialSet({
|
|
34
|
+
id: officialCredentialSetId("docusign-connect"),
|
|
35
|
+
credentialType: "manual",
|
|
36
|
+
exposure: "platform-only",
|
|
37
|
+
name: "DocuSign Connect",
|
|
38
|
+
auth: z.object({ hmacSecrets: z.array(z.string().min(1)).min(1) })
|
|
39
|
+
});
|
|
40
|
+
/**
|
|
41
|
+
* Keystroke-owned JWT Grant integrator key + RSA private key.
|
|
42
|
+
*
|
|
43
|
+
* Declared for forward compatibility: runtime paths that require JWT Grant
|
|
44
|
+
* (historical envelope replay, backend impersonation) will consume this
|
|
45
|
+
* credential set in a follow-up without a registry change. Not wired to any
|
|
46
|
+
* runtime path in v1 — any operation that would need JWT throws
|
|
47
|
+
* `DocusignApiError.notImplemented({ kind: 'plan_gated' })` until then.
|
|
48
|
+
*/
|
|
49
|
+
const docusignJwtCredentialSet = new CredentialSet({
|
|
50
|
+
id: officialCredentialSetId("docusign-jwt"),
|
|
51
|
+
credentialType: "manual",
|
|
52
|
+
exposure: "platform-only",
|
|
53
|
+
name: "DocuSign JWT",
|
|
54
|
+
auth: z.object({
|
|
55
|
+
integratorKey: z.string().min(1),
|
|
56
|
+
impersonatedUserId: z.uuid(),
|
|
57
|
+
privateKeyPem: z.string().min(1),
|
|
58
|
+
oauthHost: z.enum(["account.docusign.com", "account-d.docusign.com"])
|
|
59
|
+
})
|
|
60
|
+
});
|
|
61
|
+
/**
|
|
62
|
+
* Parse the comma-separated `KEYSTROKE_OFFICIAL_DOCUSIGN_CONNECT_HMAC_SECRETS`
|
|
63
|
+
* env value into the array shape the internal credential set expects. Empty
|
|
64
|
+
* input resolves to `[]`, which fails the `.min(1)` parse so Connect triggers
|
|
65
|
+
* reject deliveries until the env is populated.
|
|
66
|
+
*/
|
|
67
|
+
function parseHmacSecrets(raw) {
|
|
68
|
+
if (!raw) return [];
|
|
69
|
+
return raw.split(",").map((secret) => secret.trim()).filter((secret) => secret.length > 0);
|
|
70
|
+
}
|
|
71
|
+
const docusignOfficialProviderSeed = {
|
|
72
|
+
provider: "docusign",
|
|
73
|
+
appRef: "docusign-platform",
|
|
74
|
+
displayName: "DocuSign Platform",
|
|
75
|
+
credentialSetName: "Keystroke DocuSign Platform App",
|
|
76
|
+
envShape: {
|
|
77
|
+
KEYSTROKE_OFFICIAL_DOCUSIGN_CLIENT_ID: z.string().optional(),
|
|
78
|
+
KEYSTROKE_OFFICIAL_DOCUSIGN_CLIENT_SECRET: z.string().optional()
|
|
79
|
+
},
|
|
80
|
+
requiredEnvKeys: ["KEYSTROKE_OFFICIAL_DOCUSIGN_CLIENT_ID", "KEYSTROKE_OFFICIAL_DOCUSIGN_CLIENT_SECRET"],
|
|
81
|
+
externalAppIdEnvKey: "KEYSTROKE_OFFICIAL_DOCUSIGN_CLIENT_ID",
|
|
82
|
+
buildCredentials: (env) => ({
|
|
83
|
+
clientId: env.KEYSTROKE_OFFICIAL_DOCUSIGN_CLIENT_ID,
|
|
84
|
+
clientSecret: env.KEYSTROKE_OFFICIAL_DOCUSIGN_CLIENT_SECRET
|
|
85
|
+
})
|
|
86
|
+
};
|
|
87
|
+
|
|
88
|
+
//#endregion
|
|
89
|
+
//#region src/integration.ts
|
|
90
|
+
const docusignAuthSchema = z.object({
|
|
91
|
+
DOCUSIGN_ACCESS_TOKEN: z.string().min(1),
|
|
92
|
+
DOCUSIGN_ACCOUNT_ID: z.string().min(1),
|
|
93
|
+
DOCUSIGN_BASE_URI: z.url()
|
|
94
|
+
});
|
|
95
|
+
const docusignOfficialIntegration = {
|
|
96
|
+
id: "docusign",
|
|
97
|
+
name: "DocuSign",
|
|
98
|
+
description: "DocuSign eSignature, templates, bulk-send, Connect webhooks, and account/admin surfaces for Keystroke workflows",
|
|
99
|
+
credentialType: "oauth",
|
|
100
|
+
auth: docusignAuthSchema
|
|
101
|
+
};
|
|
102
|
+
const docusignBundle = defineOfficialIntegration({
|
|
103
|
+
...docusignOfficialIntegration,
|
|
104
|
+
internal: {
|
|
105
|
+
providerApp: docusignAppCredentialSet,
|
|
106
|
+
other: [docusignConnectCredentialSet, docusignJwtCredentialSet]
|
|
107
|
+
}
|
|
108
|
+
});
|
|
109
|
+
const docusign = docusignBundle.credentialSet;
|
|
110
|
+
|
|
111
|
+
//#endregion
|
|
112
|
+
export { docusignConnectCredentialSet as a, parseHmacSecrets as c, docusignAppCredentialSet as i, docusignBundle as n, docusignJwtCredentialSet as o, docusignOfficialIntegration as r, docusignOfficialProviderSeed as s, docusign as t };
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import * as _keystrokehq_integration_authoring_official0 from "@keystrokehq/integration-authoring/official";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
import * as _keystrokehq_core0 from "@keystrokehq/core";
|
|
4
|
+
import { InferCredentialSetAuth } from "@keystrokehq/core/credential-set";
|
|
5
|
+
|
|
6
|
+
//#region src/integration.d.ts
|
|
7
|
+
declare const docusignOfficialIntegration: {
|
|
8
|
+
id: "docusign";
|
|
9
|
+
name: string;
|
|
10
|
+
description: string;
|
|
11
|
+
credentialType: "oauth";
|
|
12
|
+
auth: z.ZodObject<{
|
|
13
|
+
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
14
|
+
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
15
|
+
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
16
|
+
}, z.core.$strip>;
|
|
17
|
+
};
|
|
18
|
+
declare const docusignBundle: _keystrokehq_integration_authoring_official0.OfficialIntegrationBundle<"docusign", z.ZodObject<{
|
|
19
|
+
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
20
|
+
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
21
|
+
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
22
|
+
}, z.core.$strip>>;
|
|
23
|
+
declare const docusign: _keystrokehq_core0.CredentialSet<"keystroke:docusign", z.ZodObject<{
|
|
24
|
+
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
25
|
+
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
26
|
+
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
27
|
+
}, z.core.$strip>>;
|
|
28
|
+
type DocusignCredentials = InferCredentialSetAuth<typeof docusign>;
|
|
29
|
+
//#endregion
|
|
30
|
+
export { docusignOfficialIntegration as i, docusign as n, docusignBundle as r, DocusignCredentials as t };
|
package/dist/monitor.d.mts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
import * as _keystrokehq_core0 from "@keystrokehq/core";
|
|
3
|
-
import * as _keystrokehq_core_credential_set0 from "@keystrokehq/core/credential-set";
|
|
4
3
|
|
|
5
4
|
//#region src/monitor.d.ts
|
|
6
5
|
declare const monitorNotImplemented: _keystrokehq_core0.Operation<z.ZodObject<{}, z.core.$catchall<z.ZodUnknown>>, z.ZodObject<{
|
|
@@ -9,10 +8,6 @@ declare const monitorNotImplemented: _keystrokehq_core0.Operation<z.ZodObject<{}
|
|
|
9
8
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
10
9
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
11
10
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
12
|
-
}, z.core.$strip
|
|
13
|
-
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
14
|
-
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
15
|
-
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
16
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
11
|
+
}, z.core.$strip>>], undefined>;
|
|
17
12
|
//#endregion
|
|
18
13
|
export { monitorNotImplemented };
|
package/dist/monitor.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { docusignGenericObjectSchema } from "./schemas/index.mjs";
|
|
2
|
-
import { n as definePlanGatedOperation } from "./operation-helpers-
|
|
2
|
+
import { n as definePlanGatedOperation } from "./operation-helpers-D25WHTo1.mjs";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
|
|
5
5
|
//#region src/monitor.ts
|
package/dist/notary.d.mts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
import * as _keystrokehq_core0 from "@keystrokehq/core";
|
|
3
|
-
import * as _keystrokehq_core_credential_set0 from "@keystrokehq/core/credential-set";
|
|
4
3
|
|
|
5
4
|
//#region src/notary.d.ts
|
|
6
5
|
declare const registerCurrentUserAsNotary: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
@@ -13,11 +12,7 @@ declare const registerCurrentUserAsNotary: _keystrokehq_core0.Operation<z.ZodObj
|
|
|
13
12
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
14
13
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
15
14
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
16
|
-
}, z.core.$strip
|
|
17
|
-
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
18
|
-
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
19
|
-
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
20
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
15
|
+
}, z.core.$strip>>], undefined>;
|
|
21
16
|
declare const getNotaryUserSettings: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
22
17
|
includeJurisdictions: z.ZodOptional<z.ZodBoolean>;
|
|
23
18
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -26,11 +21,7 @@ declare const getNotaryUserSettings: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
26
21
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
27
22
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
28
23
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
29
|
-
}, z.core.$strip
|
|
30
|
-
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
31
|
-
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
32
|
-
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
33
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
24
|
+
}, z.core.$strip>>], undefined>;
|
|
34
25
|
declare const updateUserNotaryInformation: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
35
26
|
notary: z.ZodObject<{
|
|
36
27
|
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
@@ -41,11 +32,7 @@ declare const updateUserNotaryInformation: _keystrokehq_core0.Operation<z.ZodObj
|
|
|
41
32
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
42
33
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
43
34
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
44
|
-
}, z.core.$strip
|
|
45
|
-
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
46
|
-
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
47
|
-
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
48
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
35
|
+
}, z.core.$strip>>], undefined>;
|
|
49
36
|
declare const createNotaryJurisdictionObject: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
50
37
|
jurisdiction: z.ZodObject<{
|
|
51
38
|
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
@@ -56,11 +43,7 @@ declare const createNotaryJurisdictionObject: _keystrokehq_core0.Operation<z.Zod
|
|
|
56
43
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
57
44
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
58
45
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
59
|
-
}, z.core.$strip
|
|
60
|
-
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
61
|
-
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
62
|
-
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
63
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
46
|
+
}, z.core.$strip>>], undefined>;
|
|
64
47
|
declare const getNotaryJurisdictionObject: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
65
48
|
jurisdictionId: z.ZodString;
|
|
66
49
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -69,22 +52,14 @@ declare const getNotaryJurisdictionObject: _keystrokehq_core0.Operation<z.ZodObj
|
|
|
69
52
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
70
53
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
71
54
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
72
|
-
}, z.core.$strip
|
|
73
|
-
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
74
|
-
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
75
|
-
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
76
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
55
|
+
}, z.core.$strip>>], undefined>;
|
|
77
56
|
declare const getNotaryJurisdictionsForUser: _keystrokehq_core0.Operation<z.ZodObject<{}, z.core.$strip>, z.ZodObject<{
|
|
78
57
|
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
79
58
|
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:docusign", z.ZodObject<{
|
|
80
59
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
81
60
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
82
61
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
83
|
-
}, z.core.$strip
|
|
84
|
-
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
85
|
-
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
86
|
-
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
87
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
62
|
+
}, z.core.$strip>>], undefined>;
|
|
88
63
|
declare const updateNotaryJurisdictionInfo: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
89
64
|
jurisdictionId: z.ZodString;
|
|
90
65
|
jurisdiction: z.ZodObject<{
|
|
@@ -96,11 +71,7 @@ declare const updateNotaryJurisdictionInfo: _keystrokehq_core0.Operation<z.ZodOb
|
|
|
96
71
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
97
72
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
98
73
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
99
|
-
}, z.core.$strip
|
|
100
|
-
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
101
|
-
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
102
|
-
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
103
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
74
|
+
}, z.core.$strip>>], undefined>;
|
|
104
75
|
declare const deleteNotaryJurisdiction: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
105
76
|
jurisdictionId: z.ZodString;
|
|
106
77
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -109,21 +80,13 @@ declare const deleteNotaryJurisdiction: _keystrokehq_core0.Operation<z.ZodObject
|
|
|
109
80
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
110
81
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
111
82
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
112
|
-
}, z.core.$strip
|
|
113
|
-
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
114
|
-
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
115
|
-
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
116
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
83
|
+
}, z.core.$strip>>], undefined>;
|
|
117
84
|
declare const listRegisteredNotaryJurisdictions: _keystrokehq_core0.Operation<z.ZodObject<{}, z.core.$strip>, z.ZodObject<{
|
|
118
85
|
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
119
86
|
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:docusign", z.ZodObject<{
|
|
120
87
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
121
88
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
122
89
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
123
|
-
}, z.core.$strip
|
|
124
|
-
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
125
|
-
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
126
|
-
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
127
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
90
|
+
}, z.core.$strip>>], undefined>;
|
|
128
91
|
//#endregion
|
|
129
92
|
export { createNotaryJurisdictionObject, deleteNotaryJurisdiction, getNotaryJurisdictionObject, getNotaryJurisdictionsForUser, getNotaryUserSettings, listRegisteredNotaryJurisdictions, registerCurrentUserAsNotary, updateNotaryJurisdictionInfo, updateUserNotaryInformation };
|
package/dist/notary.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { docusignGenericObjectSchema, docusignLooseObjectSchema, docusignSuccessSchema } from "./schemas/index.mjs";
|
|
2
|
-
import { r as defineRestOperation } from "./operation-helpers-
|
|
2
|
+
import { r as defineRestOperation } from "./operation-helpers-D25WHTo1.mjs";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
|
|
5
5
|
//#region src/notary.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { DocusignApiError } from "./errors.mjs";
|
|
2
2
|
import { n as omitUndefined, t as encodeDocusignPathSegment } from "./shared-DTUCJayR.mjs";
|
|
3
3
|
import { createDocusignClient } from "./client.mjs";
|
|
4
|
-
import { t as docusignOperation } from "./factory-
|
|
4
|
+
import { t as docusignOperation } from "./factory-5kY-Jnda.mjs";
|
|
5
5
|
|
|
6
6
|
//#region src/operation-helpers.ts
|
|
7
7
|
function defineRestOperation(config) {
|