@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
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
import { z } from "zod";
|
|
2
|
-
import * as _keystrokehq_core0 from "@keystrokehq/core";
|
|
3
|
-
|
|
4
|
-
//#region src/permission-profiles.d.ts
|
|
5
|
-
declare const createNewAccountPermissionProfile: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
6
|
-
profile: z.ZodObject<{
|
|
7
|
-
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
8
|
-
}, z.core.$catchall<z.ZodUnknown>>;
|
|
9
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
10
|
-
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
11
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:docusign", z.ZodObject<{
|
|
12
|
-
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
13
|
-
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
14
|
-
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
15
|
-
}, z.core.$strip>>], undefined>;
|
|
16
|
-
declare const getListOfAccountPermissionProfiles: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
17
|
-
include: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
18
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
19
|
-
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
20
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:docusign", z.ZodObject<{
|
|
21
|
-
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
22
|
-
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
23
|
-
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
24
|
-
}, z.core.$strip>>], undefined>;
|
|
25
|
-
declare const getPermissionProfileForAccount: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
26
|
-
permissionProfileId: z.ZodString;
|
|
27
|
-
include: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
28
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
29
|
-
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
30
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:docusign", z.ZodObject<{
|
|
31
|
-
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
32
|
-
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
33
|
-
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
34
|
-
}, z.core.$strip>>], undefined>;
|
|
35
|
-
declare const updatePermissionProfileSettings: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
36
|
-
permissionProfileId: z.ZodString;
|
|
37
|
-
profile: 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 deleteAccountPermissionProfile: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
48
|
-
permissionProfileId: z.ZodString;
|
|
49
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
50
|
-
success: z.ZodBoolean;
|
|
51
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:docusign", z.ZodObject<{
|
|
52
|
-
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
53
|
-
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
54
|
-
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
55
|
-
}, z.core.$strip>>], undefined>;
|
|
56
|
-
//#endregion
|
|
57
|
-
export { createNewAccountPermissionProfile, deleteAccountPermissionProfile, getListOfAccountPermissionProfiles, getPermissionProfileForAccount, updatePermissionProfileSettings };
|
|
@@ -1,70 +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/permission-profiles.ts
|
|
6
|
-
/**
|
|
7
|
-
* Permission profiles. Covers PLAN.md § 6.29.
|
|
8
|
-
*/
|
|
9
|
-
const permissionProfileId = z.object({ permissionProfileId: z.string().min(1) });
|
|
10
|
-
const createNewAccountPermissionProfile = defineRestOperation({
|
|
11
|
-
id: "docusign.create-new-account-permission-profile",
|
|
12
|
-
slug: "DOCUSIGN_CREATE_NEW_ACCOUNT_PERMISSION_PROFILE",
|
|
13
|
-
name: "Create Permission Profile",
|
|
14
|
-
description: "Create a new permission profile on the account.",
|
|
15
|
-
needsApproval: true,
|
|
16
|
-
method: "POST",
|
|
17
|
-
path: "/permission_profiles",
|
|
18
|
-
input: z.object({ profile: docusignLooseObjectSchema() }),
|
|
19
|
-
output: docusignGenericObjectSchema,
|
|
20
|
-
body: (input) => input.profile
|
|
21
|
-
});
|
|
22
|
-
const getListOfAccountPermissionProfiles = defineRestOperation({
|
|
23
|
-
id: "docusign.get-list-of-account-permission-profiles",
|
|
24
|
-
slug: "DOCUSIGN_GET_LIST_OF_ACCOUNT_PERMISSION_PROFILES",
|
|
25
|
-
name: "List Permission Profiles",
|
|
26
|
-
description: "List permission profiles on the account.",
|
|
27
|
-
method: "GET",
|
|
28
|
-
path: "/permission_profiles",
|
|
29
|
-
input: z.object({ include: z.array(z.string()).optional() }),
|
|
30
|
-
output: docusignGenericObjectSchema,
|
|
31
|
-
query: (input) => ({ include: input.include })
|
|
32
|
-
});
|
|
33
|
-
const getPermissionProfileForAccount = defineRestOperation({
|
|
34
|
-
id: "docusign.get-permission-profile-for-account",
|
|
35
|
-
slug: "DOCUSIGN_GET_PERMISSION_PROFILE_FOR_ACCOUNT",
|
|
36
|
-
name: "Get Permission Profile",
|
|
37
|
-
description: "Retrieve a single permission profile by id.",
|
|
38
|
-
method: "GET",
|
|
39
|
-
path: (ctx) => `/permission_profiles/${ctx.encode(String(ctx.input.permissionProfileId))}`,
|
|
40
|
-
input: permissionProfileId.extend({ include: z.array(z.string()).optional() }),
|
|
41
|
-
output: docusignGenericObjectSchema,
|
|
42
|
-
query: (input) => ({ include: input.include })
|
|
43
|
-
});
|
|
44
|
-
const updatePermissionProfileSettings = defineRestOperation({
|
|
45
|
-
id: "docusign.update-permission-profile-settings",
|
|
46
|
-
slug: "DOCUSIGN_UPDATE_PERMISSION_PROFILE_SETTINGS",
|
|
47
|
-
name: "Update Permission Profile Settings",
|
|
48
|
-
description: "Update a permission profile.",
|
|
49
|
-
needsApproval: true,
|
|
50
|
-
method: "PUT",
|
|
51
|
-
path: (ctx) => `/permission_profiles/${ctx.encode(String(ctx.input.permissionProfileId))}`,
|
|
52
|
-
input: permissionProfileId.extend({ profile: docusignLooseObjectSchema() }),
|
|
53
|
-
output: docusignGenericObjectSchema,
|
|
54
|
-
body: (input) => input.profile
|
|
55
|
-
});
|
|
56
|
-
const deleteAccountPermissionProfile = defineRestOperation({
|
|
57
|
-
id: "docusign.delete-account-permission-profile",
|
|
58
|
-
slug: "DOCUSIGN_DELETE_ACCOUNT_PERMISSION_PROFILE",
|
|
59
|
-
name: "Delete Permission Profile",
|
|
60
|
-
description: "Delete a permission profile.",
|
|
61
|
-
needsApproval: true,
|
|
62
|
-
method: "DELETE",
|
|
63
|
-
path: (ctx) => `/permission_profiles/${ctx.encode(String(ctx.input.permissionProfileId))}`,
|
|
64
|
-
input: permissionProfileId,
|
|
65
|
-
output: docusignSuccessSchema,
|
|
66
|
-
transformResponse: () => ({ success: true })
|
|
67
|
-
});
|
|
68
|
-
|
|
69
|
-
//#endregion
|
|
70
|
-
export { createNewAccountPermissionProfile, deleteAccountPermissionProfile, getListOfAccountPermissionProfiles, getPermissionProfileForAccount, updatePermissionProfileSettings };
|
package/dist/power-forms.d.mts
DELETED
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import { z } from "zod";
|
|
2
|
-
import * as _keystrokehq_core0 from "@keystrokehq/core";
|
|
3
|
-
|
|
4
|
-
//#region src/power-forms.d.ts
|
|
5
|
-
declare const getPowerFormSenders: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
6
|
-
startPosition: z.ZodOptional<z.ZodNumber>;
|
|
7
|
-
count: z.ZodOptional<z.ZodNumber>;
|
|
8
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
9
|
-
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
10
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:docusign", z.ZodObject<{
|
|
11
|
-
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
12
|
-
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
13
|
-
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
14
|
-
}, z.core.$strip>>], undefined>;
|
|
15
|
-
declare const retrievePowerFormDataEntries: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
16
|
-
powerFormId: z.ZodString;
|
|
17
|
-
fromDate: z.ZodOptional<z.ZodString>;
|
|
18
|
-
toDate: z.ZodOptional<z.ZodString>;
|
|
19
|
-
dataLayout: z.ZodOptional<z.ZodString>;
|
|
20
|
-
status: z.ZodOptional<z.ZodString>;
|
|
21
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
22
|
-
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
23
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_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>>], undefined>;
|
|
28
|
-
declare const deletePowerFormById: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
29
|
-
powerFormId: z.ZodString;
|
|
30
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
31
|
-
success: z.ZodBoolean;
|
|
32
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:docusign", z.ZodObject<{
|
|
33
|
-
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
34
|
-
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
35
|
-
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
36
|
-
}, z.core.$strip>>], undefined>;
|
|
37
|
-
//#endregion
|
|
38
|
-
export { deletePowerFormById, getPowerFormSenders, retrievePowerFormDataEntries };
|
package/dist/power-forms.mjs
DELETED
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
import { docusignGenericObjectSchema, docusignSuccessSchema } from "./schemas/index.mjs";
|
|
2
|
-
import { r as defineRestOperation } from "./operation-helpers-D25WHTo1.mjs";
|
|
3
|
-
import { z } from "zod";
|
|
4
|
-
|
|
5
|
-
//#region src/power-forms.ts
|
|
6
|
-
/**
|
|
7
|
-
* Power forms. Covers PLAN.md § 6.19.
|
|
8
|
-
*/
|
|
9
|
-
const powerFormId = z.object({ powerFormId: z.string().min(1) });
|
|
10
|
-
const getPowerFormSenders = defineRestOperation({
|
|
11
|
-
id: "docusign.get-power-form-senders",
|
|
12
|
-
slug: "DOCUSIGN_GET_POWER_FORM_SENDERS",
|
|
13
|
-
name: "Get PowerForm Senders",
|
|
14
|
-
description: "List users authorized to send the configured PowerForms.",
|
|
15
|
-
method: "GET",
|
|
16
|
-
path: "/powerforms/senders",
|
|
17
|
-
input: z.object({
|
|
18
|
-
startPosition: z.number().int().nonnegative().optional(),
|
|
19
|
-
count: z.number().int().positive().optional()
|
|
20
|
-
}),
|
|
21
|
-
output: docusignGenericObjectSchema,
|
|
22
|
-
query: (input) => ({
|
|
23
|
-
start_position: input.startPosition,
|
|
24
|
-
count: input.count
|
|
25
|
-
})
|
|
26
|
-
});
|
|
27
|
-
const retrievePowerFormDataEntries = defineRestOperation({
|
|
28
|
-
id: "docusign.retrieve-power-form-data-entries",
|
|
29
|
-
slug: "DOCUSIGN_RETRIEVE_POWER_FORM_DATA_ENTRIES",
|
|
30
|
-
name: "Retrieve PowerForm Data Entries",
|
|
31
|
-
description: "Retrieve data entries submitted via a PowerForm.",
|
|
32
|
-
method: "GET",
|
|
33
|
-
path: (ctx) => `/powerforms/${ctx.encode(String(ctx.input.powerFormId))}/form_data`,
|
|
34
|
-
input: powerFormId.extend({
|
|
35
|
-
fromDate: z.string().optional(),
|
|
36
|
-
toDate: z.string().optional(),
|
|
37
|
-
dataLayout: z.string().optional(),
|
|
38
|
-
status: z.string().optional()
|
|
39
|
-
}),
|
|
40
|
-
output: docusignGenericObjectSchema,
|
|
41
|
-
query: (input) => ({
|
|
42
|
-
from_date: input.fromDate,
|
|
43
|
-
to_date: input.toDate,
|
|
44
|
-
data_layout: input.dataLayout,
|
|
45
|
-
status: input.status
|
|
46
|
-
})
|
|
47
|
-
});
|
|
48
|
-
const deletePowerFormById = defineRestOperation({
|
|
49
|
-
id: "docusign.delete-power-form-by-id",
|
|
50
|
-
slug: "DOCUSIGN_DELETE_POWER_FORM_BY_ID",
|
|
51
|
-
name: "Delete PowerForm By Id",
|
|
52
|
-
description: "Delete a single PowerForm.",
|
|
53
|
-
needsApproval: true,
|
|
54
|
-
method: "DELETE",
|
|
55
|
-
path: (ctx) => `/powerforms/${ctx.encode(String(ctx.input.powerFormId))}`,
|
|
56
|
-
input: powerFormId,
|
|
57
|
-
output: docusignSuccessSchema,
|
|
58
|
-
transformResponse: () => ({ success: true })
|
|
59
|
-
});
|
|
60
|
-
|
|
61
|
-
//#endregion
|
|
62
|
-
export { deletePowerFormById, getPowerFormSenders, retrievePowerFormDataEntries };
|
package/dist/rooms.d.mts
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { z } from "zod";
|
|
2
|
-
import * as _keystrokehq_core0 from "@keystrokehq/core";
|
|
3
|
-
|
|
4
|
-
//#region src/rooms.d.ts
|
|
5
|
-
declare const roomsNotImplemented: _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 { roomsNotImplemented };
|
package/dist/rooms.mjs
DELETED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { docusignGenericObjectSchema } from "./schemas/index.mjs";
|
|
2
|
-
import { n as definePlanGatedOperation } from "./operation-helpers-D25WHTo1.mjs";
|
|
3
|
-
import { z } from "zod";
|
|
4
|
-
|
|
5
|
-
//#region src/rooms.ts
|
|
6
|
-
/**
|
|
7
|
-
* DocuSign Rooms API — plan-gated in v1.
|
|
8
|
-
*
|
|
9
|
-
* Rooms requires a separate product entitlement and different host
|
|
10
|
-
* (`https://{server}.rooms.docusign.com/restapi/v2`). These operations are
|
|
11
|
-
* declared so the slug surface stays complete, but each throws a typed
|
|
12
|
-
* `plan_gated` error until the Rooms client is enabled.
|
|
13
|
-
*
|
|
14
|
-
* See `IMPLEMENTATION_NOTES.md` § 2 / § 7 Q1 for the rationale.
|
|
15
|
-
*/
|
|
16
|
-
const genericInput = z.object({}).catchall(z.unknown());
|
|
17
|
-
const roomsNotImplemented = definePlanGatedOperation({
|
|
18
|
-
id: "docusign.rooms-not-implemented",
|
|
19
|
-
slug: "DOCUSIGN_ROOMS_NOT_IMPLEMENTED",
|
|
20
|
-
name: "DocuSign Rooms (not implemented)",
|
|
21
|
-
description: "Placeholder for the DocuSign Rooms API. Ships disabled until Rooms is enabled on the account and the Rooms client wiring lands (follow-up PR).",
|
|
22
|
-
input: genericInput,
|
|
23
|
-
output: docusignGenericObjectSchema,
|
|
24
|
-
reason: "DocuSign Rooms is a plan-gated product with a different base host and has not been enabled on this Keystroke deployment yet."
|
|
25
|
-
});
|
|
26
|
-
|
|
27
|
-
//#endregion
|
|
28
|
-
export { roomsNotImplemented };
|
package/dist/shared-DTUCJayR.mjs
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
//#region src/shared.ts
|
|
2
|
-
function omitUndefined(value) {
|
|
3
|
-
return Object.fromEntries(Object.entries(value).filter(([, entry]) => entry !== void 0));
|
|
4
|
-
}
|
|
5
|
-
/**
|
|
6
|
-
* DocuSign envelope and document ids are occasionally base64 with slashes.
|
|
7
|
-
* Double-encode to survive path routing layers that collapse `/` segments.
|
|
8
|
-
*/
|
|
9
|
-
function encodeDocusignPathSegment(segment) {
|
|
10
|
-
const encoded = encodeURIComponent(segment);
|
|
11
|
-
if (segment.includes("/")) return encodeURIComponent(encoded);
|
|
12
|
-
return encoded;
|
|
13
|
-
}
|
|
14
|
-
function toQueryValue(value) {
|
|
15
|
-
if (value === void 0 || value === null) return void 0;
|
|
16
|
-
if (typeof value === "boolean") return value ? "true" : "false";
|
|
17
|
-
if (typeof value === "number") return Number.isFinite(value) ? String(value) : void 0;
|
|
18
|
-
if (typeof value === "string") return value;
|
|
19
|
-
if (Array.isArray(value)) {
|
|
20
|
-
const items = value.filter((item) => typeof item === "string" || typeof item === "number" || typeof item === "boolean");
|
|
21
|
-
if (items.length === 0) return void 0;
|
|
22
|
-
return items.map(String).join(",");
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
//#endregion
|
|
27
|
-
export { omitUndefined as n, toQueryValue as r, encodeDocusignPathSegment as t };
|
|
@@ -1,102 +0,0 @@
|
|
|
1
|
-
import { z } from "zod";
|
|
2
|
-
import * as _keystrokehq_core0 from "@keystrokehq/core";
|
|
3
|
-
|
|
4
|
-
//#region src/signing-groups.d.ts
|
|
5
|
-
declare const createSigningGroup: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
6
|
-
groups: z.ZodArray<z.ZodObject<{
|
|
7
|
-
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
8
|
-
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
9
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
10
|
-
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
11
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:docusign", z.ZodObject<{
|
|
12
|
-
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
13
|
-
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
14
|
-
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
15
|
-
}, z.core.$strip>>], undefined>;
|
|
16
|
-
declare const retrieveAccountSigningGroups: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
17
|
-
groupType: z.ZodOptional<z.ZodString>;
|
|
18
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
19
|
-
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
20
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:docusign", z.ZodObject<{
|
|
21
|
-
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
22
|
-
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
23
|
-
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
24
|
-
}, z.core.$strip>>], undefined>;
|
|
25
|
-
declare const getSigningGroupInformation: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
26
|
-
signingGroupId: z.ZodString;
|
|
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 updateSigningGroupDetails: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
35
|
-
signingGroupId: z.ZodString;
|
|
36
|
-
group: z.ZodObject<{
|
|
37
|
-
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
38
|
-
}, z.core.$catchall<z.ZodUnknown>>;
|
|
39
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
40
|
-
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
41
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:docusign", z.ZodObject<{
|
|
42
|
-
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
43
|
-
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
44
|
-
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
45
|
-
}, z.core.$strip>>], undefined>;
|
|
46
|
-
declare const updateSigningGroupNames: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
47
|
-
groups: z.ZodArray<z.ZodObject<{
|
|
48
|
-
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
49
|
-
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
50
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
51
|
-
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
52
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:docusign", z.ZodObject<{
|
|
53
|
-
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
54
|
-
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
55
|
-
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
56
|
-
}, z.core.$strip>>], undefined>;
|
|
57
|
-
declare const addMembersToSigningGroup: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
58
|
-
signingGroupId: z.ZodString;
|
|
59
|
-
users: z.ZodArray<z.ZodObject<{
|
|
60
|
-
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
61
|
-
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
62
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
63
|
-
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
64
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:docusign", z.ZodObject<{
|
|
65
|
-
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
66
|
-
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
67
|
-
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
68
|
-
}, z.core.$strip>>], undefined>;
|
|
69
|
-
declare const getMembersOfASigningGroup: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
70
|
-
signingGroupId: z.ZodString;
|
|
71
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
72
|
-
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
73
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:docusign", z.ZodObject<{
|
|
74
|
-
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
75
|
-
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
76
|
-
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
77
|
-
}, z.core.$strip>>], undefined>;
|
|
78
|
-
declare const deleteMembersFromSigningGroup: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
79
|
-
signingGroupId: z.ZodString;
|
|
80
|
-
users: z.ZodArray<z.ZodObject<{
|
|
81
|
-
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
82
|
-
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
83
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
84
|
-
success: z.ZodBoolean;
|
|
85
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:docusign", z.ZodObject<{
|
|
86
|
-
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
87
|
-
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
88
|
-
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
89
|
-
}, z.core.$strip>>], undefined>;
|
|
90
|
-
declare const deleteOneOrMoreSigningGroups: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
91
|
-
groups: z.ZodArray<z.ZodObject<{
|
|
92
|
-
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
93
|
-
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
94
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
95
|
-
success: z.ZodBoolean;
|
|
96
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:docusign", z.ZodObject<{
|
|
97
|
-
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
98
|
-
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
99
|
-
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
100
|
-
}, z.core.$strip>>], undefined>;
|
|
101
|
-
//#endregion
|
|
102
|
-
export { addMembersToSigningGroup, createSigningGroup, deleteMembersFromSigningGroup, deleteOneOrMoreSigningGroups, getMembersOfASigningGroup, getSigningGroupInformation, retrieveAccountSigningGroups, updateSigningGroupDetails, updateSigningGroupNames };
|
package/dist/signing-groups.mjs
DELETED
|
@@ -1,117 +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/signing-groups.ts
|
|
6
|
-
/**
|
|
7
|
-
* Signing groups + membership. Covers PLAN.md § 6.20.
|
|
8
|
-
*/
|
|
9
|
-
const groupId = z.object({ signingGroupId: z.string().min(1) });
|
|
10
|
-
const createSigningGroup = defineRestOperation({
|
|
11
|
-
id: "docusign.create-signing-group",
|
|
12
|
-
slug: "DOCUSIGN_CREATE_SIGNING_GROUP",
|
|
13
|
-
name: "Create Signing Group",
|
|
14
|
-
description: "Create a new signing group on the account.",
|
|
15
|
-
needsApproval: true,
|
|
16
|
-
method: "POST",
|
|
17
|
-
path: "/signing_groups",
|
|
18
|
-
input: z.object({ groups: z.array(docusignLooseObjectSchema()).min(1) }),
|
|
19
|
-
output: docusignGenericObjectSchema,
|
|
20
|
-
body: (input) => ({ groups: input.groups })
|
|
21
|
-
});
|
|
22
|
-
const retrieveAccountSigningGroups = defineRestOperation({
|
|
23
|
-
id: "docusign.retrieve-account-signing-groups",
|
|
24
|
-
slug: "DOCUSIGN_RETRIEVE_ACCOUNT_SIGNING_GROUPS",
|
|
25
|
-
name: "Retrieve Account Signing Groups",
|
|
26
|
-
description: "List signing groups on the account.",
|
|
27
|
-
method: "GET",
|
|
28
|
-
path: "/signing_groups",
|
|
29
|
-
input: z.object({ groupType: z.string().optional() }),
|
|
30
|
-
output: docusignGenericObjectSchema,
|
|
31
|
-
query: (input) => ({ group_type: input.groupType })
|
|
32
|
-
});
|
|
33
|
-
const getSigningGroupInformation = defineRestOperation({
|
|
34
|
-
id: "docusign.get-signing-group-information",
|
|
35
|
-
slug: "DOCUSIGN_GET_SIGNING_GROUP_INFORMATION",
|
|
36
|
-
name: "Get Signing Group Information",
|
|
37
|
-
description: "Retrieve a specific signing group.",
|
|
38
|
-
method: "GET",
|
|
39
|
-
path: (ctx) => `/signing_groups/${ctx.encode(String(ctx.input.signingGroupId))}`,
|
|
40
|
-
input: groupId,
|
|
41
|
-
output: docusignGenericObjectSchema
|
|
42
|
-
});
|
|
43
|
-
const updateSigningGroupDetails = defineRestOperation({
|
|
44
|
-
id: "docusign.update-signing-group-details",
|
|
45
|
-
slug: "DOCUSIGN_UPDATE_SIGNING_GROUP_DETAILS",
|
|
46
|
-
name: "Update Signing Group Details",
|
|
47
|
-
description: "Update details of a signing group.",
|
|
48
|
-
needsApproval: true,
|
|
49
|
-
method: "PUT",
|
|
50
|
-
path: (ctx) => `/signing_groups/${ctx.encode(String(ctx.input.signingGroupId))}`,
|
|
51
|
-
input: groupId.extend({ group: docusignLooseObjectSchema() }),
|
|
52
|
-
output: docusignGenericObjectSchema,
|
|
53
|
-
body: (input) => input.group
|
|
54
|
-
});
|
|
55
|
-
const updateSigningGroupNames = defineRestOperation({
|
|
56
|
-
id: "docusign.update-signing-group-names",
|
|
57
|
-
slug: "DOCUSIGN_UPDATE_SIGNING_GROUP_NAMES",
|
|
58
|
-
name: "Update Signing Group Names",
|
|
59
|
-
description: "Update signing group names in bulk.",
|
|
60
|
-
needsApproval: true,
|
|
61
|
-
method: "PUT",
|
|
62
|
-
path: "/signing_groups",
|
|
63
|
-
input: z.object({ groups: z.array(docusignLooseObjectSchema()).min(1) }),
|
|
64
|
-
output: docusignGenericObjectSchema,
|
|
65
|
-
body: (input) => ({ groups: input.groups })
|
|
66
|
-
});
|
|
67
|
-
const addMembersToSigningGroup = defineRestOperation({
|
|
68
|
-
id: "docusign.add-members-to-signing-group",
|
|
69
|
-
slug: "DOCUSIGN_ADD_MEMBERS_TO_SIGNING_GROUP",
|
|
70
|
-
name: "Add Members To Signing Group",
|
|
71
|
-
description: "Add users to a signing group.",
|
|
72
|
-
needsApproval: true,
|
|
73
|
-
method: "PUT",
|
|
74
|
-
path: (ctx) => `/signing_groups/${ctx.encode(String(ctx.input.signingGroupId))}/users`,
|
|
75
|
-
input: groupId.extend({ users: z.array(docusignLooseObjectSchema()).min(1) }),
|
|
76
|
-
output: docusignGenericObjectSchema,
|
|
77
|
-
body: (input) => ({ users: input.users })
|
|
78
|
-
});
|
|
79
|
-
const getMembersOfASigningGroup = defineRestOperation({
|
|
80
|
-
id: "docusign.get-members-of-a-signing-group",
|
|
81
|
-
slug: "DOCUSIGN_GET_MEMBERS_OF_A_SIGNING_GROUP",
|
|
82
|
-
name: "Get Signing Group Members",
|
|
83
|
-
description: "List members of a signing group.",
|
|
84
|
-
method: "GET",
|
|
85
|
-
path: (ctx) => `/signing_groups/${ctx.encode(String(ctx.input.signingGroupId))}/users`,
|
|
86
|
-
input: groupId,
|
|
87
|
-
output: docusignGenericObjectSchema
|
|
88
|
-
});
|
|
89
|
-
const deleteMembersFromSigningGroup = defineRestOperation({
|
|
90
|
-
id: "docusign.delete-members-from-signing-group",
|
|
91
|
-
slug: "DOCUSIGN_DELETE_MEMBERS_FROM_SIGNING_GROUP",
|
|
92
|
-
name: "Delete Signing Group Members",
|
|
93
|
-
description: "Remove users from a signing group.",
|
|
94
|
-
needsApproval: true,
|
|
95
|
-
method: "DELETE",
|
|
96
|
-
path: (ctx) => `/signing_groups/${ctx.encode(String(ctx.input.signingGroupId))}/users`,
|
|
97
|
-
input: groupId.extend({ users: z.array(docusignLooseObjectSchema()).min(1) }),
|
|
98
|
-
output: docusignSuccessSchema,
|
|
99
|
-
body: (input) => ({ users: input.users }),
|
|
100
|
-
transformResponse: () => ({ success: true })
|
|
101
|
-
});
|
|
102
|
-
const deleteOneOrMoreSigningGroups = defineRestOperation({
|
|
103
|
-
id: "docusign.delete-one-or-more-signing-groups",
|
|
104
|
-
slug: "DOCUSIGN_DELETE_ONE_OR_MORE_SIGNING_GROUPS",
|
|
105
|
-
name: "Delete One Or More Signing Groups",
|
|
106
|
-
description: "Delete one or more signing groups by id.",
|
|
107
|
-
needsApproval: true,
|
|
108
|
-
method: "DELETE",
|
|
109
|
-
path: "/signing_groups",
|
|
110
|
-
input: z.object({ groups: z.array(docusignLooseObjectSchema()).min(1) }),
|
|
111
|
-
output: docusignSuccessSchema,
|
|
112
|
-
body: (input) => ({ groups: input.groups }),
|
|
113
|
-
transformResponse: () => ({ success: true })
|
|
114
|
-
});
|
|
115
|
-
|
|
116
|
-
//#endregion
|
|
117
|
-
export { addMembersToSigningGroup, createSigningGroup, deleteMembersFromSigningGroup, deleteOneOrMoreSigningGroups, getMembersOfASigningGroup, getSigningGroupInformation, retrieveAccountSigningGroups, updateSigningGroupDetails, updateSigningGroupNames };
|