@keystrokehq/docusign 0.0.15 → 0.0.16-integration-id-canonicalization.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/README.md +3 -2
- package/dist/credential-sets/index.d.mts +2 -0
- package/dist/credential-sets/index.mjs +4 -0
- package/dist/docusign-jwt.credential-set-B0sXS-5i.mjs +39 -0
- package/dist/docusign-jwt.credential-set-Bz99DTgx.d.mts +90 -0
- package/dist/docusign.credential-set-DRhK9ICD.mjs +183 -0
- package/dist/index.d.mts +4 -1
- package/dist/index.mjs +6 -1
- package/dist/operations/index.d.mts +2 -0
- package/dist/operations/index.mjs +3 -0
- package/dist/void-envelope.operation-Bim49UXq.mjs +8192 -0
- package/dist/void-envelope.operation-D-onxqe_.d.mts +18203 -0
- package/package.json +11 -226
- package/dist/_official/index.d.mts +0 -75
- package/dist/_official/index.mjs +0 -3
- package/dist/_runtime/index.d.mts +0 -1
- package/dist/_runtime/index.mjs +0 -1
- package/dist/account-custom-fields.d.mts +0 -48
- package/dist/account-custom-fields.mjs +0 -63
- package/dist/account-stamps.d.mts +0 -119
- package/dist/account-stamps.mjs +0 -144
- package/dist/account-tabs.d.mts +0 -65
- package/dist/account-tabs.mjs +0 -80
- package/dist/account.d.mts +0 -160
- package/dist/account.mjs +0 -207
- package/dist/admin.d.mts +0 -13
- package/dist/admin.mjs +0 -20
- package/dist/auth.d.mts +0 -28
- package/dist/auth.mjs +0 -64
- package/dist/bcc-archive.d.mts +0 -47
- package/dist/bcc-archive.mjs +0 -70
- package/dist/billing.d.mts +0 -152
- package/dist/billing.mjs +0 -208
- package/dist/brands.d.mts +0 -147
- package/dist/brands.mjs +0 -157
- package/dist/bulk-send.d.mts +0 -104
- package/dist/bulk-send.mjs +0 -115
- package/dist/chunked-uploads.d.mts +0 -57
- package/dist/chunked-uploads.mjs +0 -74
- package/dist/click.d.mts +0 -13
- package/dist/click.mjs +0 -20
- package/dist/client.d.mts +0 -47
- package/dist/client.mjs +0 -286
- package/dist/clm.d.mts +0 -13
- package/dist/clm.mjs +0 -20
- package/dist/cloud-storage.d.mts +0 -93
- package/dist/cloud-storage.mjs +0 -115
- package/dist/connect.d.mts +0 -183
- package/dist/connect.mjs +0 -217
- package/dist/connection.d.mts +0 -2
- package/dist/connection.mjs +0 -3
- package/dist/contacts.d.mts +0 -59
- package/dist/contacts.mjs +0 -79
- package/dist/enote.d.mts +0 -31
- package/dist/enote.mjs +0 -45
- package/dist/envelope-attachments.d.mts +0 -65
- package/dist/envelope-attachments.mjs +0 -76
- package/dist/envelope-custom-fields.d.mts +0 -137
- package/dist/envelope-custom-fields.mjs +0 -92
- package/dist/envelope-documents.d.mts +0 -206
- package/dist/envelope-documents.mjs +0 -219
- package/dist/envelope-email.d.mts +0 -48
- package/dist/envelope-email.mjs +0 -60
- package/dist/envelope-lock.d.mts +0 -48
- package/dist/envelope-lock.mjs +0 -60
- package/dist/envelope-logs.d.mts +0 -89
- package/dist/envelope-logs.mjs +0 -126
- package/dist/envelope-notifications.d.mts +0 -34
- package/dist/envelope-notifications.mjs +0 -44
- package/dist/envelope-recipients.d.mts +0 -126
- package/dist/envelope-recipients.mjs +0 -136
- package/dist/envelope-tabs.d.mts +0 -39
- package/dist/envelope-tabs.mjs +0 -49
- package/dist/envelope-views.d.mts +0 -74
- package/dist/envelope-views.mjs +0 -88
- package/dist/envelope-workflow.d.mts +0 -151
- package/dist/envelope-workflow.mjs +0 -176
- package/dist/envelopes.d.mts +0 -377
- package/dist/envelopes.mjs +0 -190
- package/dist/errors.d.mts +0 -48
- package/dist/errors.mjs +0 -76
- package/dist/events.d.mts +0 -192
- package/dist/events.mjs +0 -146
- package/dist/factory-5kY-Jnda.mjs +0 -8
- package/dist/groups.d.mts +0 -150
- package/dist/groups.mjs +0 -146
- package/dist/integration-H05G5JY8.mjs +0 -112
- package/dist/integration-Mk1ScWT6.d.mts +0 -30
- package/dist/messaging.d.mts +0 -1
- package/dist/messaging.mjs +0 -1
- package/dist/monitor.d.mts +0 -13
- package/dist/monitor.mjs +0 -20
- package/dist/notary.d.mts +0 -92
- package/dist/notary.mjs +0 -122
- package/dist/operation-helpers-D25WHTo1.mjs +0 -102
- package/dist/permission-profiles.d.mts +0 -57
- package/dist/permission-profiles.mjs +0 -70
- package/dist/power-forms.d.mts +0 -38
- package/dist/power-forms.mjs +0 -62
- package/dist/rooms.d.mts +0 -13
- package/dist/rooms.mjs +0 -28
- package/dist/shared-DTUCJayR.mjs +0 -27
- package/dist/signing-groups.d.mts +0 -102
- package/dist/signing-groups.mjs +0 -117
- package/dist/template-custom-fields.d.mts +0 -166
- package/dist/template-custom-fields.mjs +0 -107
- package/dist/template-documents.d.mts +0 -99
- package/dist/template-documents.mjs +0 -109
- package/dist/template-lock.d.mts +0 -48
- package/dist/template-lock.mjs +0 -60
- package/dist/template-sharing.d.mts +0 -96
- package/dist/template-sharing.mjs +0 -108
- package/dist/template-workflow.d.mts +0 -135
- package/dist/template-workflow.mjs +0 -152
- package/dist/templates.d.mts +0 -129
- package/dist/templates.mjs +0 -110
- package/dist/user-authorizations.d.mts +0 -96
- package/dist/user-authorizations.mjs +0 -133
- package/dist/user-custom-settings.d.mts +0 -60
- package/dist/user-custom-settings.mjs +0 -69
- package/dist/user-profile.d.mts +0 -80
- package/dist/user-profile.mjs +0 -106
- package/dist/user-signatures.d.mts +0 -155
- package/dist/user-signatures.mjs +0 -180
- package/dist/users.d.mts +0 -103
- package/dist/users.mjs +0 -98
- package/dist/verification.d.mts +0 -19
- package/dist/verification.mjs +0 -59
- package/dist/workspaces.d.mts +0 -128
- package/dist/workspaces.mjs +0 -143
package/dist/account-stamps.mjs
DELETED
|
@@ -1,144 +0,0 @@
|
|
|
1
|
-
import { docusignGenericObjectSchema, docusignLooseObjectSchema, docusignSuccessSchema } from "./schemas/index.mjs";
|
|
2
|
-
import { r as defineRestOperation, t as defineBinaryOperation } from "./operation-helpers-D25WHTo1.mjs";
|
|
3
|
-
import { z } from "zod";
|
|
4
|
-
|
|
5
|
-
//#region src/account-stamps.ts
|
|
6
|
-
/**
|
|
7
|
-
* Account stamps + watermark. Covers PLAN.md § 6.34.
|
|
8
|
-
*/
|
|
9
|
-
const stampId = z.object({ stampId: z.string().min(1) });
|
|
10
|
-
const binaryResponseSchema = docusignLooseObjectSchema({
|
|
11
|
-
contentType: z.string().optional(),
|
|
12
|
-
contentDisposition: z.string().optional(),
|
|
13
|
-
status: z.number(),
|
|
14
|
-
body: z.string()
|
|
15
|
-
});
|
|
16
|
-
const addOrUpdateAccountStamps = defineRestOperation({
|
|
17
|
-
id: "docusign.add-or-update-account-stamps",
|
|
18
|
-
slug: "DOCUSIGN_ADD_OR_UPDATE_ACCOUNT_STAMPS",
|
|
19
|
-
name: "Add Or Update Account Stamps",
|
|
20
|
-
description: "Add or update account stamp configurations.",
|
|
21
|
-
needsApproval: true,
|
|
22
|
-
method: "PUT",
|
|
23
|
-
path: "/stamps",
|
|
24
|
-
input: z.object({ stamps: z.array(docusignLooseObjectSchema()).min(1) }),
|
|
25
|
-
output: docusignGenericObjectSchema,
|
|
26
|
-
body: (input) => ({ stamps: input.stamps })
|
|
27
|
-
});
|
|
28
|
-
const retrieveAvailableAccountStamps = defineRestOperation({
|
|
29
|
-
id: "docusign.retrieve-available-account-stamps",
|
|
30
|
-
slug: "DOCUSIGN_RETRIEVE_AVAILABLE_ACCOUNT_STAMPS",
|
|
31
|
-
name: "Retrieve Available Account Stamps",
|
|
32
|
-
description: "Retrieve the available account stamps.",
|
|
33
|
-
method: "GET",
|
|
34
|
-
path: "/stamps",
|
|
35
|
-
input: z.object({ status: z.string().optional() }),
|
|
36
|
-
output: docusignGenericObjectSchema,
|
|
37
|
-
query: (input) => ({ status: input.status })
|
|
38
|
-
});
|
|
39
|
-
const getSpecifiedAccountStampInfo = defineRestOperation({
|
|
40
|
-
id: "docusign.get-specified-account-stamp-info",
|
|
41
|
-
slug: "DOCUSIGN_GET_SPECIFIED_ACCOUNT_STAMP_INFO",
|
|
42
|
-
name: "Get Account Stamp Info",
|
|
43
|
-
description: "Retrieve metadata for a specific account stamp.",
|
|
44
|
-
method: "GET",
|
|
45
|
-
path: (ctx) => `/stamps/${ctx.encode(String(ctx.input.stampId))}`,
|
|
46
|
-
input: stampId,
|
|
47
|
-
output: docusignGenericObjectSchema
|
|
48
|
-
});
|
|
49
|
-
const getAccountStampImage = defineBinaryOperation({
|
|
50
|
-
id: "docusign.get-account-stamp-image",
|
|
51
|
-
slug: "DOCUSIGN_GET_ACCOUNT_STAMP_IMAGE",
|
|
52
|
-
name: "Get Account Stamp Image",
|
|
53
|
-
description: "Download the image for an account stamp.",
|
|
54
|
-
method: "GET",
|
|
55
|
-
path: (ctx) => `/stamps/${ctx.encode(String(ctx.input.stampId))}/${ctx.encode(String(ctx.input.stampFormat ?? "image"))}`,
|
|
56
|
-
input: stampId.extend({ stampFormat: z.string().optional() }),
|
|
57
|
-
accept: "image/png",
|
|
58
|
-
output: binaryResponseSchema
|
|
59
|
-
});
|
|
60
|
-
const updateAccountStampById = defineRestOperation({
|
|
61
|
-
id: "docusign.update-account-stamp-by-id",
|
|
62
|
-
slug: "DOCUSIGN_UPDATE_ACCOUNT_STAMP_BY_ID",
|
|
63
|
-
name: "Update Account Stamp By Id",
|
|
64
|
-
description: "Update a specific account stamp.",
|
|
65
|
-
needsApproval: true,
|
|
66
|
-
method: "PUT",
|
|
67
|
-
path: (ctx) => `/stamps/${ctx.encode(String(ctx.input.stampId))}`,
|
|
68
|
-
input: stampId.extend({ stamp: docusignLooseObjectSchema() }),
|
|
69
|
-
output: docusignGenericObjectSchema,
|
|
70
|
-
body: (input) => input.stamp
|
|
71
|
-
});
|
|
72
|
-
const updateAccountStamps = defineRestOperation({
|
|
73
|
-
id: "docusign.update-account-stamps",
|
|
74
|
-
slug: "DOCUSIGN_UPDATE_ACCOUNT_STAMPS",
|
|
75
|
-
name: "Update Account Stamps",
|
|
76
|
-
description: "Batch update account stamps.",
|
|
77
|
-
needsApproval: true,
|
|
78
|
-
method: "POST",
|
|
79
|
-
path: "/stamps",
|
|
80
|
-
input: z.object({ stamps: z.array(docusignLooseObjectSchema()).min(1) }),
|
|
81
|
-
output: docusignGenericObjectSchema,
|
|
82
|
-
body: (input) => ({ stamps: input.stamps })
|
|
83
|
-
});
|
|
84
|
-
const deleteAccountStamp = defineRestOperation({
|
|
85
|
-
id: "docusign.delete-account-stamp",
|
|
86
|
-
slug: "DOCUSIGN_DELETE_ACCOUNT_STAMP",
|
|
87
|
-
name: "Delete Account Stamp",
|
|
88
|
-
description: "Delete a single account stamp.",
|
|
89
|
-
needsApproval: true,
|
|
90
|
-
method: "DELETE",
|
|
91
|
-
path: (ctx) => `/stamps/${ctx.encode(String(ctx.input.stampId))}`,
|
|
92
|
-
input: stampId,
|
|
93
|
-
output: docusignSuccessSchema,
|
|
94
|
-
transformResponse: () => ({ success: true })
|
|
95
|
-
});
|
|
96
|
-
const deleteStampImageForAccount = defineRestOperation({
|
|
97
|
-
id: "docusign.delete-stamp-image-for-account",
|
|
98
|
-
slug: "DOCUSIGN_DELETE_STAMP_IMAGE_FOR_ACCOUNT",
|
|
99
|
-
name: "Delete Stamp Image",
|
|
100
|
-
description: "Delete the image for an account stamp.",
|
|
101
|
-
needsApproval: true,
|
|
102
|
-
method: "DELETE",
|
|
103
|
-
path: (ctx) => `/stamps/${ctx.encode(String(ctx.input.stampId))}/${ctx.encode(String(ctx.input.stampFormat ?? "image"))}`,
|
|
104
|
-
input: stampId.extend({ stampFormat: z.string().optional() }),
|
|
105
|
-
output: docusignSuccessSchema,
|
|
106
|
-
transformResponse: () => ({ success: true })
|
|
107
|
-
});
|
|
108
|
-
const getWatermarkDetailsForAccount = defineRestOperation({
|
|
109
|
-
id: "docusign.get-watermark-details-for-account",
|
|
110
|
-
slug: "DOCUSIGN_GET_WATERMARK_DETAILS_FOR_ACCOUNT",
|
|
111
|
-
name: "Get Watermark Details",
|
|
112
|
-
description: "Retrieve watermark details for the account.",
|
|
113
|
-
method: "GET",
|
|
114
|
-
path: "/watermark",
|
|
115
|
-
input: z.object({}),
|
|
116
|
-
output: docusignGenericObjectSchema
|
|
117
|
-
});
|
|
118
|
-
const updateAccountWatermarkInformation = defineRestOperation({
|
|
119
|
-
id: "docusign.update-account-watermark-information",
|
|
120
|
-
slug: "DOCUSIGN_UPDATE_ACCOUNT_WATERMARK_INFORMATION",
|
|
121
|
-
name: "Update Account Watermark",
|
|
122
|
-
description: "Update the account watermark.",
|
|
123
|
-
needsApproval: true,
|
|
124
|
-
method: "PUT",
|
|
125
|
-
path: "/watermark",
|
|
126
|
-
input: z.object({ watermark: docusignLooseObjectSchema() }),
|
|
127
|
-
output: docusignGenericObjectSchema,
|
|
128
|
-
body: (input) => input.watermark
|
|
129
|
-
});
|
|
130
|
-
const updateAccountWatermarkPreview = defineRestOperation({
|
|
131
|
-
id: "docusign.update-account-watermark-preview",
|
|
132
|
-
slug: "DOCUSIGN_UPDATE_ACCOUNT_WATERMARK_PREVIEW",
|
|
133
|
-
name: "Update Account Watermark Preview",
|
|
134
|
-
description: "Preview a watermark update.",
|
|
135
|
-
needsApproval: true,
|
|
136
|
-
method: "PUT",
|
|
137
|
-
path: "/watermark/preview",
|
|
138
|
-
input: z.object({ watermark: docusignLooseObjectSchema() }),
|
|
139
|
-
output: docusignGenericObjectSchema,
|
|
140
|
-
body: (input) => input.watermark
|
|
141
|
-
});
|
|
142
|
-
|
|
143
|
-
//#endregion
|
|
144
|
-
export { addOrUpdateAccountStamps, deleteAccountStamp, deleteStampImageForAccount, getAccountStampImage, getSpecifiedAccountStampInfo, getWatermarkDetailsForAccount, retrieveAvailableAccountStamps, updateAccountStampById, updateAccountStamps, updateAccountWatermarkInformation, updateAccountWatermarkPreview };
|
package/dist/account-tabs.d.mts
DELETED
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
import { z } from "zod";
|
|
2
|
-
import * as _keystrokehq_core0 from "@keystrokehq/core";
|
|
3
|
-
|
|
4
|
-
//#region src/account-tabs.d.ts
|
|
5
|
-
declare const getTabSettingsForAccount: _keystrokehq_core0.Operation<z.ZodObject<{}, z.core.$strip>, z.ZodObject<{
|
|
6
|
-
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
7
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:docusign", z.ZodObject<{
|
|
8
|
-
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
9
|
-
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
10
|
-
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
11
|
-
}, z.core.$strip>>], undefined>;
|
|
12
|
-
declare const modifyTabSettingsForAccount: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
13
|
-
tabSettings: z.ZodObject<{
|
|
14
|
-
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
15
|
-
}, z.core.$catchall<z.ZodUnknown>>;
|
|
16
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
17
|
-
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
18
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke: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>>], undefined>;
|
|
23
|
-
declare const createCustomTabWithProperties: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
24
|
-
tab: 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
|
-
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
29
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke: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>>], undefined>;
|
|
34
|
-
declare const retrieveCustomTabInformation: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
35
|
-
customTabId: z.ZodString;
|
|
36
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
37
|
-
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
38
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:docusign", z.ZodObject<{
|
|
39
|
-
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
40
|
-
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
41
|
-
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
42
|
-
}, z.core.$strip>>], undefined>;
|
|
43
|
-
declare const updateCustomTabInformationForAccount: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
44
|
-
customTabId: z.ZodString;
|
|
45
|
-
tab: z.ZodObject<{
|
|
46
|
-
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
47
|
-
}, z.core.$catchall<z.ZodUnknown>>;
|
|
48
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
49
|
-
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
50
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:docusign", z.ZodObject<{
|
|
51
|
-
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
52
|
-
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
53
|
-
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
54
|
-
}, z.core.$strip>>], undefined>;
|
|
55
|
-
declare const deleteCustomTabInformation: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
56
|
-
customTabId: z.ZodString;
|
|
57
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
58
|
-
success: z.ZodBoolean;
|
|
59
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:docusign", 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>;
|
|
64
|
-
//#endregion
|
|
65
|
-
export { createCustomTabWithProperties, deleteCustomTabInformation, getTabSettingsForAccount, modifyTabSettingsForAccount, retrieveCustomTabInformation, updateCustomTabInformationForAccount };
|
package/dist/account-tabs.mjs
DELETED
|
@@ -1,80 +0,0 @@
|
|
|
1
|
-
import { docusignGenericObjectSchema, docusignLooseObjectSchema, docusignSuccessSchema } from "./schemas/index.mjs";
|
|
2
|
-
import { r as defineRestOperation } from "./operation-helpers-D25WHTo1.mjs";
|
|
3
|
-
import { z } from "zod";
|
|
4
|
-
|
|
5
|
-
//#region src/account-tabs.ts
|
|
6
|
-
/**
|
|
7
|
-
* Account tabs + custom tabs. Covers PLAN.md § 6.33.
|
|
8
|
-
*/
|
|
9
|
-
const customTabId = z.object({ customTabId: z.string().min(1) });
|
|
10
|
-
const getTabSettingsForAccount = defineRestOperation({
|
|
11
|
-
id: "docusign.get-tab-settings-for-account",
|
|
12
|
-
slug: "DOCUSIGN_GET_TAB_SETTINGS_FOR_ACCOUNT",
|
|
13
|
-
name: "Get Tab Settings For Account",
|
|
14
|
-
description: "Retrieve tab settings for the account.",
|
|
15
|
-
method: "GET",
|
|
16
|
-
path: "/settings/tabs",
|
|
17
|
-
input: z.object({}),
|
|
18
|
-
output: docusignGenericObjectSchema
|
|
19
|
-
});
|
|
20
|
-
const modifyTabSettingsForAccount = defineRestOperation({
|
|
21
|
-
id: "docusign.modify-tab-settings-for-account",
|
|
22
|
-
slug: "DOCUSIGN_MODIFY_TAB_SETTINGS_FOR_ACCOUNT",
|
|
23
|
-
name: "Modify Tab Settings",
|
|
24
|
-
description: "Update tab settings for the account.",
|
|
25
|
-
needsApproval: true,
|
|
26
|
-
method: "PUT",
|
|
27
|
-
path: "/settings/tabs",
|
|
28
|
-
input: z.object({ tabSettings: docusignLooseObjectSchema() }),
|
|
29
|
-
output: docusignGenericObjectSchema,
|
|
30
|
-
body: (input) => input.tabSettings
|
|
31
|
-
});
|
|
32
|
-
const createCustomTabWithProperties = defineRestOperation({
|
|
33
|
-
id: "docusign.create-custom-tab-with-properties",
|
|
34
|
-
slug: "DOCUSIGN_CREATE_CUSTOM_TAB_WITH_PROPERTIES",
|
|
35
|
-
name: "Create Custom Tab",
|
|
36
|
-
description: "Create a custom tab on the account.",
|
|
37
|
-
needsApproval: true,
|
|
38
|
-
method: "POST",
|
|
39
|
-
path: "/tab_definitions",
|
|
40
|
-
input: z.object({ tab: docusignLooseObjectSchema() }),
|
|
41
|
-
output: docusignGenericObjectSchema,
|
|
42
|
-
body: (input) => input.tab
|
|
43
|
-
});
|
|
44
|
-
const retrieveCustomTabInformation = defineRestOperation({
|
|
45
|
-
id: "docusign.retrieve-custom-tab-information",
|
|
46
|
-
slug: "DOCUSIGN_RETRIEVE_CUSTOM_TAB_INFORMATION",
|
|
47
|
-
name: "Retrieve Custom Tab Information",
|
|
48
|
-
description: "Retrieve information for a specific custom tab definition.",
|
|
49
|
-
method: "GET",
|
|
50
|
-
path: (ctx) => `/tab_definitions/${ctx.encode(String(ctx.input.customTabId))}`,
|
|
51
|
-
input: customTabId,
|
|
52
|
-
output: docusignGenericObjectSchema
|
|
53
|
-
});
|
|
54
|
-
const updateCustomTabInformationForAccount = defineRestOperation({
|
|
55
|
-
id: "docusign.update-custom-tab-information-for-account",
|
|
56
|
-
slug: "DOCUSIGN_UPDATE_CUSTOM_TAB_INFORMATION_FOR_ACCOUNT",
|
|
57
|
-
name: "Update Custom Tab Information",
|
|
58
|
-
description: "Update a custom tab definition.",
|
|
59
|
-
needsApproval: true,
|
|
60
|
-
method: "PUT",
|
|
61
|
-
path: (ctx) => `/tab_definitions/${ctx.encode(String(ctx.input.customTabId))}`,
|
|
62
|
-
input: customTabId.extend({ tab: docusignLooseObjectSchema() }),
|
|
63
|
-
output: docusignGenericObjectSchema,
|
|
64
|
-
body: (input) => input.tab
|
|
65
|
-
});
|
|
66
|
-
const deleteCustomTabInformation = defineRestOperation({
|
|
67
|
-
id: "docusign.delete-custom-tab-information",
|
|
68
|
-
slug: "DOCUSIGN_DELETE_CUSTOM_TAB_INFORMATION",
|
|
69
|
-
name: "Delete Custom Tab Information",
|
|
70
|
-
description: "Delete a custom tab definition.",
|
|
71
|
-
needsApproval: true,
|
|
72
|
-
method: "DELETE",
|
|
73
|
-
path: (ctx) => `/tab_definitions/${ctx.encode(String(ctx.input.customTabId))}`,
|
|
74
|
-
input: customTabId,
|
|
75
|
-
output: docusignSuccessSchema,
|
|
76
|
-
transformResponse: () => ({ success: true })
|
|
77
|
-
});
|
|
78
|
-
|
|
79
|
-
//#endregion
|
|
80
|
-
export { createCustomTabWithProperties, deleteCustomTabInformation, getTabSettingsForAccount, modifyTabSettingsForAccount, retrieveCustomTabInformation, updateCustomTabInformationForAccount };
|
package/dist/account.d.mts
DELETED
|
@@ -1,160 +0,0 @@
|
|
|
1
|
-
import { z } from "zod";
|
|
2
|
-
import * as _keystrokehq_core0 from "@keystrokehq/core";
|
|
3
|
-
|
|
4
|
-
//#region src/account.d.ts
|
|
5
|
-
declare const retrieveAccountInformationForSpecifiedAccount: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
6
|
-
includeAccountSettings: z.ZodOptional<z.ZodBoolean>;
|
|
7
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
8
|
-
accountIdGuid: z.ZodOptional<z.ZodString>;
|
|
9
|
-
accountName: z.ZodOptional<z.ZodString>;
|
|
10
|
-
billingPeriodEndDate: z.ZodOptional<z.ZodString>;
|
|
11
|
-
billingPeriodEnvelopesAllowed: z.ZodOptional<z.ZodString>;
|
|
12
|
-
billingPeriodEnvelopesSent: z.ZodOptional<z.ZodString>;
|
|
13
|
-
planClassification: z.ZodOptional<z.ZodString>;
|
|
14
|
-
planName: z.ZodOptional<z.ZodString>;
|
|
15
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:docusign", z.ZodObject<{
|
|
16
|
-
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
17
|
-
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
18
|
-
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
19
|
-
}, z.core.$strip>>], undefined>;
|
|
20
|
-
declare const deleteSpecifiedAccount: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
21
|
-
redactUserData: z.ZodOptional<z.ZodBoolean>;
|
|
22
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
23
|
-
success: z.ZodBoolean;
|
|
24
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:docusign", z.ZodObject<{
|
|
25
|
-
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
26
|
-
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
27
|
-
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
28
|
-
}, z.core.$strip>>], undefined>;
|
|
29
|
-
declare const retrieveAccountSettingsInformation: _keystrokehq_core0.Operation<z.ZodObject<{}, z.core.$strip>, z.ZodObject<{
|
|
30
|
-
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
31
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:docusign", z.ZodObject<{
|
|
32
|
-
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
33
|
-
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
34
|
-
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
35
|
-
}, z.core.$strip>>], undefined>;
|
|
36
|
-
declare const updateAccountSettings: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
37
|
-
accountSettings: z.ZodObject<{
|
|
38
|
-
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
39
|
-
}, z.core.$catchall<z.ZodUnknown>>;
|
|
40
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
41
|
-
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
42
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke: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>>], undefined>;
|
|
47
|
-
declare const getAccountPasswordRules: _keystrokehq_core0.Operation<z.ZodObject<{}, z.core.$strip>, z.ZodObject<{
|
|
48
|
-
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
49
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:docusign", 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>;
|
|
54
|
-
declare const retrieveAccountPasswordRules: _keystrokehq_core0.Operation<z.ZodObject<{}, z.core.$strip>, z.ZodObject<{
|
|
55
|
-
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
56
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:docusign", z.ZodObject<{
|
|
57
|
-
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
58
|
-
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
59
|
-
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
60
|
-
}, z.core.$strip>>], undefined>;
|
|
61
|
-
declare const updateAccountPasswordRules: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
62
|
-
passwordRules: z.ZodObject<{
|
|
63
|
-
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
64
|
-
}, z.core.$catchall<z.ZodUnknown>>;
|
|
65
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
66
|
-
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
67
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:docusign", z.ZodObject<{
|
|
68
|
-
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
69
|
-
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
70
|
-
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
71
|
-
}, z.core.$strip>>], undefined>;
|
|
72
|
-
declare const retrieveAccountProvisioningInfo: _keystrokehq_core0.Operation<z.ZodObject<{}, z.core.$strip>, z.ZodObject<{
|
|
73
|
-
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
74
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:docusign", z.ZodObject<{
|
|
75
|
-
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
76
|
-
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
77
|
-
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
78
|
-
}, z.core.$strip>>], undefined>;
|
|
79
|
-
declare const retrieveAccountSealProviders: _keystrokehq_core0.Operation<z.ZodObject<{}, z.core.$strip>, z.ZodObject<{
|
|
80
|
-
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
81
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:docusign", z.ZodObject<{
|
|
82
|
-
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
83
|
-
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
84
|
-
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
85
|
-
}, z.core.$strip>>], undefined>;
|
|
86
|
-
declare const retrieveAccountEnvelopePurgeConfig: _keystrokehq_core0.Operation<z.ZodObject<{}, z.core.$strip>, z.ZodObject<{
|
|
87
|
-
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
88
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:docusign", z.ZodObject<{
|
|
89
|
-
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
90
|
-
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
91
|
-
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
92
|
-
}, z.core.$strip>>], undefined>;
|
|
93
|
-
declare const setEnvelopePurgeConfigForAccount: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
94
|
-
config: z.ZodObject<{
|
|
95
|
-
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
96
|
-
}, z.core.$catchall<z.ZodUnknown>>;
|
|
97
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
98
|
-
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
99
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:docusign", z.ZodObject<{
|
|
100
|
-
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
101
|
-
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
102
|
-
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
103
|
-
}, z.core.$strip>>], undefined>;
|
|
104
|
-
declare const retrieveAccountVerificationWorkflows: _keystrokehq_core0.Operation<z.ZodObject<{}, z.core.$strip>, z.ZodObject<{
|
|
105
|
-
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
106
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:docusign", z.ZodObject<{
|
|
107
|
-
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
108
|
-
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
109
|
-
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
110
|
-
}, z.core.$strip>>], undefined>;
|
|
111
|
-
declare const listSignatureProvidersForAccount: _keystrokehq_core0.Operation<z.ZodObject<{}, z.core.$strip>, z.ZodObject<{
|
|
112
|
-
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
113
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:docusign", z.ZodObject<{
|
|
114
|
-
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
115
|
-
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
116
|
-
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
117
|
-
}, z.core.$strip>>], undefined>;
|
|
118
|
-
declare const getSupportedLanguagesForRecipients: _keystrokehq_core0.Operation<z.ZodObject<{}, z.core.$strip>, z.ZodObject<{
|
|
119
|
-
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
120
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:docusign", z.ZodObject<{
|
|
121
|
-
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
122
|
-
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
123
|
-
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
124
|
-
}, z.core.$strip>>], undefined>;
|
|
125
|
-
declare const getUnsupportedFileTypesList: _keystrokehq_core0.Operation<z.ZodObject<{}, z.core.$strip>, z.ZodObject<{
|
|
126
|
-
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
127
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:docusign", z.ZodObject<{
|
|
128
|
-
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
129
|
-
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
130
|
-
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
131
|
-
}, z.core.$strip>>], undefined>;
|
|
132
|
-
declare const modifyAccountNotificationSettings: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
133
|
-
notifications: z.ZodObject<{
|
|
134
|
-
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
135
|
-
}, z.core.$catchall<z.ZodUnknown>>;
|
|
136
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
137
|
-
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
138
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:docusign", z.ZodObject<{
|
|
139
|
-
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
140
|
-
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
141
|
-
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
142
|
-
}, z.core.$strip>>], undefined>;
|
|
143
|
-
declare const listResourcesForRestVersionSpecified: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
144
|
-
version: z.ZodOptional<z.ZodString>;
|
|
145
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
146
|
-
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
147
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:docusign", z.ZodObject<{
|
|
148
|
-
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
149
|
-
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
150
|
-
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
151
|
-
}, z.core.$strip>>], undefined>;
|
|
152
|
-
declare const retrieveRestApiVersions: _keystrokehq_core0.Operation<z.ZodObject<{}, z.core.$strip>, z.ZodObject<{
|
|
153
|
-
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
154
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:docusign", z.ZodObject<{
|
|
155
|
-
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
156
|
-
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
157
|
-
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
158
|
-
}, z.core.$strip>>], undefined>;
|
|
159
|
-
//#endregion
|
|
160
|
-
export { deleteSpecifiedAccount, getAccountPasswordRules, getSupportedLanguagesForRecipients, getUnsupportedFileTypesList, listResourcesForRestVersionSpecified, listSignatureProvidersForAccount, modifyAccountNotificationSettings, retrieveAccountEnvelopePurgeConfig, retrieveAccountInformationForSpecifiedAccount, retrieveAccountPasswordRules, retrieveAccountProvisioningInfo, retrieveAccountSealProviders, retrieveAccountSettingsInformation, retrieveAccountVerificationWorkflows, retrieveRestApiVersions, setEnvelopePurgeConfigForAccount, updateAccountPasswordRules, updateAccountSettings };
|
package/dist/account.mjs
DELETED
|
@@ -1,207 +0,0 @@
|
|
|
1
|
-
import { docusignAccountSchema, docusignGenericObjectSchema, docusignLooseObjectSchema, docusignSuccessSchema } from "./schemas/index.mjs";
|
|
2
|
-
import { r as defineRestOperation } from "./operation-helpers-D25WHTo1.mjs";
|
|
3
|
-
import { z } from "zod";
|
|
4
|
-
|
|
5
|
-
//#region src/account.ts
|
|
6
|
-
/**
|
|
7
|
-
* Account core (settings, password rules, seal, envelope purge, admin misc).
|
|
8
|
-
* Covers PLAN.md § 6.31.
|
|
9
|
-
*/
|
|
10
|
-
const retrieveAccountInformationForSpecifiedAccount = defineRestOperation({
|
|
11
|
-
id: "docusign.retrieve-account-information-for-specified-account",
|
|
12
|
-
slug: "DOCUSIGN_RETRIEVE_ACCOUNT_INFORMATION_FOR_SPECIFIED_ACCOUNT",
|
|
13
|
-
name: "Retrieve Account Information",
|
|
14
|
-
description: "Retrieve information about the connected DocuSign account.",
|
|
15
|
-
method: "GET",
|
|
16
|
-
path: "",
|
|
17
|
-
input: z.object({ includeAccountSettings: z.boolean().optional() }),
|
|
18
|
-
output: docusignAccountSchema,
|
|
19
|
-
query: (input) => ({ include_account_settings: input.includeAccountSettings })
|
|
20
|
-
});
|
|
21
|
-
const deleteSpecifiedAccount = defineRestOperation({
|
|
22
|
-
id: "docusign.delete-specified-account",
|
|
23
|
-
slug: "DOCUSIGN_DELETE_SPECIFIED_ACCOUNT",
|
|
24
|
-
name: "Delete Account",
|
|
25
|
-
description: "Close the connected DocuSign account (admin only).",
|
|
26
|
-
needsApproval: true,
|
|
27
|
-
method: "DELETE",
|
|
28
|
-
path: "",
|
|
29
|
-
input: z.object({ redactUserData: z.boolean().optional() }),
|
|
30
|
-
output: docusignSuccessSchema,
|
|
31
|
-
query: (input) => ({ redact_user_data: input.redactUserData }),
|
|
32
|
-
transformResponse: () => ({ success: true })
|
|
33
|
-
});
|
|
34
|
-
const retrieveAccountSettingsInformation = defineRestOperation({
|
|
35
|
-
id: "docusign.retrieve-account-settings-information",
|
|
36
|
-
slug: "DOCUSIGN_RETRIEVE_ACCOUNT_SETTINGS_INFORMATION",
|
|
37
|
-
name: "Retrieve Account Settings",
|
|
38
|
-
description: "Retrieve account settings.",
|
|
39
|
-
method: "GET",
|
|
40
|
-
path: "/settings",
|
|
41
|
-
input: z.object({}),
|
|
42
|
-
output: docusignGenericObjectSchema
|
|
43
|
-
});
|
|
44
|
-
const updateAccountSettings = defineRestOperation({
|
|
45
|
-
id: "docusign.update-account-settings",
|
|
46
|
-
slug: "DOCUSIGN_UPDATE_ACCOUNT_SETTINGS",
|
|
47
|
-
name: "Update Account Settings",
|
|
48
|
-
description: "Update account settings.",
|
|
49
|
-
needsApproval: true,
|
|
50
|
-
method: "PUT",
|
|
51
|
-
path: "/settings",
|
|
52
|
-
input: z.object({ accountSettings: docusignLooseObjectSchema() }),
|
|
53
|
-
output: docusignGenericObjectSchema,
|
|
54
|
-
body: (input) => input.accountSettings
|
|
55
|
-
});
|
|
56
|
-
const getAccountPasswordRules = defineRestOperation({
|
|
57
|
-
id: "docusign.get-account-password-rules",
|
|
58
|
-
slug: "DOCUSIGN_GET_ACCOUNT_PASSWORD_RULES",
|
|
59
|
-
name: "Get Account Password Rules",
|
|
60
|
-
description: "Retrieve password rules on the account.",
|
|
61
|
-
method: "GET",
|
|
62
|
-
path: "/settings/password_rules",
|
|
63
|
-
input: z.object({}),
|
|
64
|
-
output: docusignGenericObjectSchema
|
|
65
|
-
});
|
|
66
|
-
const retrieveAccountPasswordRules = defineRestOperation({
|
|
67
|
-
id: "docusign.retrieve-account-password-rules",
|
|
68
|
-
slug: "DOCUSIGN_RETRIEVE_ACCOUNT_PASSWORD_RULES",
|
|
69
|
-
name: "Retrieve Account Password Rules",
|
|
70
|
-
description: "Alias: retrieve password rules on the account.",
|
|
71
|
-
method: "GET",
|
|
72
|
-
path: "/settings/password_rules",
|
|
73
|
-
input: z.object({}),
|
|
74
|
-
output: docusignGenericObjectSchema
|
|
75
|
-
});
|
|
76
|
-
const updateAccountPasswordRules = defineRestOperation({
|
|
77
|
-
id: "docusign.update-account-password-rules",
|
|
78
|
-
slug: "DOCUSIGN_UPDATE_ACCOUNT_PASSWORD_RULES",
|
|
79
|
-
name: "Update Account Password Rules",
|
|
80
|
-
description: "Update password rules on the account.",
|
|
81
|
-
needsApproval: true,
|
|
82
|
-
method: "PUT",
|
|
83
|
-
path: "/settings/password_rules",
|
|
84
|
-
input: z.object({ passwordRules: docusignLooseObjectSchema() }),
|
|
85
|
-
output: docusignGenericObjectSchema,
|
|
86
|
-
body: (input) => input.passwordRules
|
|
87
|
-
});
|
|
88
|
-
const retrieveAccountProvisioningInfo = defineRestOperation({
|
|
89
|
-
id: "docusign.retrieve-account-provisioning-info",
|
|
90
|
-
slug: "DOCUSIGN_RETRIEVE_ACCOUNT_PROVISIONING_INFO",
|
|
91
|
-
name: "Retrieve Account Provisioning Info",
|
|
92
|
-
description: "Retrieve provisioning info for the account.",
|
|
93
|
-
method: "GET",
|
|
94
|
-
path: "/provisioning",
|
|
95
|
-
input: z.object({}),
|
|
96
|
-
output: docusignGenericObjectSchema,
|
|
97
|
-
accountScoped: false
|
|
98
|
-
});
|
|
99
|
-
const retrieveAccountSealProviders = defineRestOperation({
|
|
100
|
-
id: "docusign.retrieve-account-seal-providers",
|
|
101
|
-
slug: "DOCUSIGN_RETRIEVE_ACCOUNT_SEAL_PROVIDERS",
|
|
102
|
-
name: "Retrieve Account Seal Providers",
|
|
103
|
-
description: "Retrieve seal providers configured on the account.",
|
|
104
|
-
method: "GET",
|
|
105
|
-
path: "/seals",
|
|
106
|
-
input: z.object({}),
|
|
107
|
-
output: docusignGenericObjectSchema
|
|
108
|
-
});
|
|
109
|
-
const retrieveAccountEnvelopePurgeConfig = defineRestOperation({
|
|
110
|
-
id: "docusign.retrieve-account-envelope-purge-config",
|
|
111
|
-
slug: "DOCUSIGN_RETRIEVE_ACCOUNT_ENVELOPE_PURGE_CONFIG",
|
|
112
|
-
name: "Retrieve Envelope Purge Config",
|
|
113
|
-
description: "Retrieve the envelope-purge configuration.",
|
|
114
|
-
method: "GET",
|
|
115
|
-
path: "/settings/envelope_purge_configuration",
|
|
116
|
-
input: z.object({}),
|
|
117
|
-
output: docusignGenericObjectSchema
|
|
118
|
-
});
|
|
119
|
-
const setEnvelopePurgeConfigForAccount = defineRestOperation({
|
|
120
|
-
id: "docusign.set-envelope-purge-config-for-account",
|
|
121
|
-
slug: "DOCUSIGN_SET_ENVELOPE_PURGE_CONFIG_FOR_ACCOUNT",
|
|
122
|
-
name: "Set Envelope Purge Config",
|
|
123
|
-
description: "Update the envelope-purge configuration.",
|
|
124
|
-
needsApproval: true,
|
|
125
|
-
method: "PUT",
|
|
126
|
-
path: "/settings/envelope_purge_configuration",
|
|
127
|
-
input: z.object({ config: docusignLooseObjectSchema() }),
|
|
128
|
-
output: docusignGenericObjectSchema,
|
|
129
|
-
body: (input) => input.config
|
|
130
|
-
});
|
|
131
|
-
const retrieveAccountVerificationWorkflows = defineRestOperation({
|
|
132
|
-
id: "docusign.retrieve-account-verification-workflows",
|
|
133
|
-
slug: "DOCUSIGN_RETRIEVE_ACCOUNT_VERIFICATION_WORKFLOWS",
|
|
134
|
-
name: "Retrieve Account Verification Workflows",
|
|
135
|
-
description: "Retrieve verification workflows (identity) on the account.",
|
|
136
|
-
method: "GET",
|
|
137
|
-
path: "/identity_verification",
|
|
138
|
-
input: z.object({}),
|
|
139
|
-
output: docusignGenericObjectSchema
|
|
140
|
-
});
|
|
141
|
-
const listSignatureProvidersForAccount = defineRestOperation({
|
|
142
|
-
id: "docusign.list-signature-providers-for-account",
|
|
143
|
-
slug: "DOCUSIGN_LIST_SIGNATURE_PROVIDERS_FOR_ACCOUNT",
|
|
144
|
-
name: "List Signature Providers",
|
|
145
|
-
description: "List signature providers available to the account.",
|
|
146
|
-
method: "GET",
|
|
147
|
-
path: "/signatureProviders",
|
|
148
|
-
input: z.object({}),
|
|
149
|
-
output: docusignGenericObjectSchema
|
|
150
|
-
});
|
|
151
|
-
const getSupportedLanguagesForRecipients = defineRestOperation({
|
|
152
|
-
id: "docusign.get-supported-languages-for-recipients",
|
|
153
|
-
slug: "DOCUSIGN_GET_SUPPORTED_LANGUAGES_FOR_RECIPIENTS",
|
|
154
|
-
name: "Get Supported Languages",
|
|
155
|
-
description: "Return the list of supported recipient languages.",
|
|
156
|
-
method: "GET",
|
|
157
|
-
path: "/supported_languages",
|
|
158
|
-
input: z.object({}),
|
|
159
|
-
output: docusignGenericObjectSchema
|
|
160
|
-
});
|
|
161
|
-
const getUnsupportedFileTypesList = defineRestOperation({
|
|
162
|
-
id: "docusign.get-unsupported-file-types-list",
|
|
163
|
-
slug: "DOCUSIGN_GET_UNSUPPORTED_FILE_TYPES_LIST",
|
|
164
|
-
name: "Get Unsupported File Types",
|
|
165
|
-
description: "Return the list of unsupported file types for envelope documents.",
|
|
166
|
-
method: "GET",
|
|
167
|
-
path: "/unsupported_file_types",
|
|
168
|
-
input: z.object({}),
|
|
169
|
-
output: docusignGenericObjectSchema
|
|
170
|
-
});
|
|
171
|
-
const modifyAccountNotificationSettings = defineRestOperation({
|
|
172
|
-
id: "docusign.modify-account-notification-settings",
|
|
173
|
-
slug: "DOCUSIGN_MODIFY_ACCOUNT_NOTIFICATION_SETTINGS",
|
|
174
|
-
name: "Modify Account Notification Settings",
|
|
175
|
-
description: "Modify account-level notification defaults.",
|
|
176
|
-
needsApproval: true,
|
|
177
|
-
method: "PUT",
|
|
178
|
-
path: "/settings/notification_defaults",
|
|
179
|
-
input: z.object({ notifications: docusignLooseObjectSchema() }),
|
|
180
|
-
output: docusignGenericObjectSchema,
|
|
181
|
-
body: (input) => input.notifications
|
|
182
|
-
});
|
|
183
|
-
const listResourcesForRestVersionSpecified = defineRestOperation({
|
|
184
|
-
id: "docusign.list-resources-for-rest-version-specified",
|
|
185
|
-
slug: "DOCUSIGN_LIST_RESOURCES_FOR_RESTVERSION_SPECIFIED",
|
|
186
|
-
name: "List REST Resources",
|
|
187
|
-
description: "List resources available for a REST version.",
|
|
188
|
-
method: "GET",
|
|
189
|
-
path: "",
|
|
190
|
-
input: z.object({ version: z.string().optional() }),
|
|
191
|
-
output: docusignGenericObjectSchema,
|
|
192
|
-
accountScoped: false
|
|
193
|
-
});
|
|
194
|
-
const retrieveRestApiVersions = defineRestOperation({
|
|
195
|
-
id: "docusign.retrieve-rest-api-versions",
|
|
196
|
-
slug: "DOCUSIGN_RETRIEVE_REST_API_VERSIONS",
|
|
197
|
-
name: "Retrieve REST API Versions",
|
|
198
|
-
description: "List available REST API versions.",
|
|
199
|
-
method: "GET",
|
|
200
|
-
path: "/service_information",
|
|
201
|
-
input: z.object({}),
|
|
202
|
-
output: docusignGenericObjectSchema,
|
|
203
|
-
accountScoped: false
|
|
204
|
-
});
|
|
205
|
-
|
|
206
|
-
//#endregion
|
|
207
|
-
export { deleteSpecifiedAccount, getAccountPasswordRules, getSupportedLanguagesForRecipients, getUnsupportedFileTypesList, listResourcesForRestVersionSpecified, listSignatureProvidersForAccount, modifyAccountNotificationSettings, retrieveAccountEnvelopePurgeConfig, retrieveAccountInformationForSpecifiedAccount, retrieveAccountPasswordRules, retrieveAccountProvisioningInfo, retrieveAccountSealProviders, retrieveAccountSettingsInformation, retrieveAccountVerificationWorkflows, retrieveRestApiVersions, setEnvelopePurgeConfigForAccount, updateAccountPasswordRules, updateAccountSettings };
|
package/dist/admin.d.mts
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { z } from "zod";
|
|
2
|
-
import * as _keystrokehq_core0 from "@keystrokehq/core";
|
|
3
|
-
|
|
4
|
-
//#region src/admin.d.ts
|
|
5
|
-
declare const adminNotImplemented: _keystrokehq_core0.Operation<z.ZodObject<{}, z.core.$catchall<z.ZodUnknown>>, z.ZodObject<{
|
|
6
|
-
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
7
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:docusign", z.ZodObject<{
|
|
8
|
-
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
9
|
-
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
10
|
-
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
11
|
-
}, z.core.$strip>>], undefined>;
|
|
12
|
-
//#endregion
|
|
13
|
-
export { adminNotImplemented };
|