@keystrokehq/docusign 0.0.9 → 0.0.11
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 +2 -2
- package/dist/_official/index.mjs +1 -1
- package/dist/account-custom-fields.d.mts +5 -5
- package/dist/account-custom-fields.mjs +5 -5
- package/dist/account-stamps.d.mts +12 -12
- package/dist/account-stamps.mjs +12 -12
- package/dist/account-tabs.d.mts +7 -7
- package/dist/account-tabs.mjs +7 -7
- package/dist/account.d.mts +19 -19
- package/dist/account.mjs +19 -19
- package/dist/admin.d.mts +2 -2
- package/dist/admin.mjs +2 -2
- package/dist/auth.d.mts +3 -3
- package/dist/auth.mjs +4 -4
- package/dist/bcc-archive.d.mts +5 -5
- package/dist/bcc-archive.mjs +5 -5
- package/dist/billing.d.mts +17 -17
- package/dist/billing.mjs +17 -17
- package/dist/brands.d.mts +12 -12
- package/dist/brands.mjs +12 -12
- package/dist/bulk-send.d.mts +9 -9
- package/dist/bulk-send.mjs +9 -9
- package/dist/chunked-uploads.d.mts +6 -6
- package/dist/chunked-uploads.mjs +6 -6
- package/dist/click.d.mts +2 -2
- package/dist/click.mjs +2 -2
- package/dist/client.d.mts +1 -1
- package/dist/client.mjs +3 -3
- package/dist/clm.d.mts +2 -2
- package/dist/clm.mjs +2 -2
- package/dist/cloud-storage.d.mts +8 -8
- package/dist/cloud-storage.mjs +8 -8
- package/dist/connect.d.mts +18 -18
- package/dist/connect.mjs +18 -18
- package/dist/connection.d.mts +1 -1
- package/dist/connection.mjs +1 -1
- package/dist/contacts.d.mts +6 -6
- package/dist/contacts.mjs +6 -6
- package/dist/enote.d.mts +4 -4
- package/dist/enote.mjs +4 -4
- package/dist/envelope-attachments.d.mts +6 -6
- package/dist/envelope-attachments.mjs +6 -6
- package/dist/envelope-custom-fields.d.mts +8 -8
- package/dist/envelope-custom-fields.mjs +8 -8
- package/dist/envelope-documents.d.mts +17 -17
- package/dist/envelope-documents.mjs +17 -17
- package/dist/envelope-email.d.mts +5 -5
- package/dist/envelope-email.mjs +5 -5
- package/dist/envelope-lock.d.mts +5 -5
- package/dist/envelope-lock.mjs +5 -5
- package/dist/envelope-logs.d.mts +10 -10
- package/dist/envelope-logs.mjs +10 -10
- package/dist/envelope-notifications.d.mts +4 -4
- package/dist/envelope-notifications.mjs +4 -4
- package/dist/envelope-recipients.d.mts +12 -12
- package/dist/envelope-recipients.mjs +12 -12
- package/dist/envelope-tabs.d.mts +4 -4
- package/dist/envelope-tabs.mjs +4 -4
- package/dist/envelope-views.d.mts +7 -7
- package/dist/envelope-views.mjs +7 -7
- package/dist/envelope-workflow.d.mts +15 -15
- package/dist/envelope-workflow.mjs +15 -15
- package/dist/envelopes.d.mts +14 -14
- package/dist/envelopes.mjs +14 -14
- package/dist/factory-DFejlPDe.mjs +7 -0
- package/dist/groups.d.mts +11 -11
- package/dist/groups.mjs +11 -11
- package/dist/{integration-BykMcCMC.mjs → integration-BcEp_dFX.mjs} +140 -4
- package/dist/{integration-SYThzunD.d.mts → integration-CdIRNjCz.d.mts} +3 -4
- package/dist/monitor.d.mts +2 -2
- package/dist/monitor.mjs +2 -2
- package/dist/notary.d.mts +10 -10
- package/dist/notary.mjs +10 -10
- package/dist/{operation-helpers-DcsuFcq0.mjs → operation-helpers-Bqp7KoLi.mjs} +1 -1
- package/dist/permission-profiles.d.mts +6 -6
- package/dist/permission-profiles.mjs +6 -6
- package/dist/power-forms.d.mts +4 -4
- package/dist/power-forms.mjs +4 -4
- package/dist/rooms.d.mts +2 -2
- package/dist/rooms.mjs +2 -2
- package/dist/signing-groups.d.mts +10 -10
- package/dist/signing-groups.mjs +10 -10
- package/dist/template-custom-fields.d.mts +9 -9
- package/dist/template-custom-fields.mjs +9 -9
- package/dist/template-documents.d.mts +9 -9
- package/dist/template-documents.mjs +9 -9
- package/dist/template-lock.d.mts +5 -5
- package/dist/template-lock.mjs +5 -5
- package/dist/template-sharing.d.mts +9 -9
- package/dist/template-sharing.mjs +9 -9
- package/dist/template-workflow.d.mts +13 -13
- package/dist/template-workflow.mjs +13 -13
- package/dist/templates.d.mts +8 -8
- package/dist/templates.mjs +8 -8
- package/dist/user-authorizations.d.mts +9 -9
- package/dist/user-authorizations.mjs +9 -9
- package/dist/user-custom-settings.d.mts +6 -6
- package/dist/user-custom-settings.mjs +6 -6
- package/dist/user-profile.d.mts +8 -8
- package/dist/user-profile.mjs +8 -8
- package/dist/user-signatures.d.mts +14 -14
- package/dist/user-signatures.mjs +14 -14
- package/dist/users.d.mts +7 -7
- package/dist/users.mjs +7 -7
- package/dist/workspaces.d.mts +12 -12
- package/dist/workspaces.mjs +12 -12
- package/package.json +5 -5
- package/dist/factory-Cj6MzqXn.mjs +0 -8
|
@@ -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-Bqp7KoLi.mjs";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
|
|
5
5
|
//#region src/permission-profiles.ts
|
|
@@ -8,7 +8,7 @@ import { z } from "zod";
|
|
|
8
8
|
*/
|
|
9
9
|
const permissionProfileId = z.object({ permissionProfileId: z.string().min(1) });
|
|
10
10
|
const createNewAccountPermissionProfile = defineRestOperation({
|
|
11
|
-
id: "
|
|
11
|
+
id: "docusign.create-new-account-permission-profile",
|
|
12
12
|
slug: "DOCUSIGN_CREATE_NEW_ACCOUNT_PERMISSION_PROFILE",
|
|
13
13
|
name: "Create Permission Profile",
|
|
14
14
|
description: "Create a new permission profile on the account.",
|
|
@@ -20,7 +20,7 @@ const createNewAccountPermissionProfile = defineRestOperation({
|
|
|
20
20
|
body: (input) => input.profile
|
|
21
21
|
});
|
|
22
22
|
const getListOfAccountPermissionProfiles = defineRestOperation({
|
|
23
|
-
id: "
|
|
23
|
+
id: "docusign.get-list-of-account-permission-profiles",
|
|
24
24
|
slug: "DOCUSIGN_GET_LIST_OF_ACCOUNT_PERMISSION_PROFILES",
|
|
25
25
|
name: "List Permission Profiles",
|
|
26
26
|
description: "List permission profiles on the account.",
|
|
@@ -31,7 +31,7 @@ const getListOfAccountPermissionProfiles = defineRestOperation({
|
|
|
31
31
|
query: (input) => ({ include: input.include })
|
|
32
32
|
});
|
|
33
33
|
const getPermissionProfileForAccount = defineRestOperation({
|
|
34
|
-
id: "
|
|
34
|
+
id: "docusign.get-permission-profile-for-account",
|
|
35
35
|
slug: "DOCUSIGN_GET_PERMISSION_PROFILE_FOR_ACCOUNT",
|
|
36
36
|
name: "Get Permission Profile",
|
|
37
37
|
description: "Retrieve a single permission profile by id.",
|
|
@@ -42,7 +42,7 @@ const getPermissionProfileForAccount = defineRestOperation({
|
|
|
42
42
|
query: (input) => ({ include: input.include })
|
|
43
43
|
});
|
|
44
44
|
const updatePermissionProfileSettings = defineRestOperation({
|
|
45
|
-
id: "
|
|
45
|
+
id: "docusign.update-permission-profile-settings",
|
|
46
46
|
slug: "DOCUSIGN_UPDATE_PERMISSION_PROFILE_SETTINGS",
|
|
47
47
|
name: "Update Permission Profile Settings",
|
|
48
48
|
description: "Update a permission profile.",
|
|
@@ -54,7 +54,7 @@ const updatePermissionProfileSettings = defineRestOperation({
|
|
|
54
54
|
body: (input) => input.profile
|
|
55
55
|
});
|
|
56
56
|
const deleteAccountPermissionProfile = defineRestOperation({
|
|
57
|
-
id: "
|
|
57
|
+
id: "docusign.delete-account-permission-profile",
|
|
58
58
|
slug: "DOCUSIGN_DELETE_ACCOUNT_PERMISSION_PROFILE",
|
|
59
59
|
name: "Delete Permission Profile",
|
|
60
60
|
description: "Delete a permission profile.",
|
package/dist/power-forms.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { z } from "zod";
|
|
2
1
|
import * as _keystrokehq_core0 from "@keystrokehq/core";
|
|
2
|
+
import { z } from "zod";
|
|
3
3
|
import * as _keystrokehq_core_credential_set0 from "@keystrokehq/core/credential-set";
|
|
4
4
|
|
|
5
5
|
//#region src/power-forms.d.ts
|
|
@@ -8,7 +8,7 @@ declare const getPowerFormSenders: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
8
8
|
count: z.ZodOptional<z.ZodNumber>;
|
|
9
9
|
}, z.core.$strip>, z.ZodObject<{
|
|
10
10
|
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
11
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
11
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
12
12
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
13
13
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
14
14
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
@@ -25,7 +25,7 @@ declare const retrievePowerFormDataEntries: _keystrokehq_core0.Operation<z.ZodOb
|
|
|
25
25
|
status: z.ZodOptional<z.ZodString>;
|
|
26
26
|
}, z.core.$strip>, z.ZodObject<{
|
|
27
27
|
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
28
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
28
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
29
29
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
30
30
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
31
31
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
@@ -38,7 +38,7 @@ declare const deletePowerFormById: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
38
38
|
powerFormId: z.ZodString;
|
|
39
39
|
}, z.core.$strip>, z.ZodObject<{
|
|
40
40
|
success: z.ZodBoolean;
|
|
41
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
41
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
42
42
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
43
43
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
44
44
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
package/dist/power-forms.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { docusignGenericObjectSchema, docusignSuccessSchema } from "./schemas/index.mjs";
|
|
2
|
-
import { r as defineRestOperation } from "./operation-helpers-
|
|
2
|
+
import { r as defineRestOperation } from "./operation-helpers-Bqp7KoLi.mjs";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
|
|
5
5
|
//#region src/power-forms.ts
|
|
@@ -8,7 +8,7 @@ import { z } from "zod";
|
|
|
8
8
|
*/
|
|
9
9
|
const powerFormId = z.object({ powerFormId: z.string().min(1) });
|
|
10
10
|
const getPowerFormSenders = defineRestOperation({
|
|
11
|
-
id: "
|
|
11
|
+
id: "docusign.get-power-form-senders",
|
|
12
12
|
slug: "DOCUSIGN_GET_POWER_FORM_SENDERS",
|
|
13
13
|
name: "Get PowerForm Senders",
|
|
14
14
|
description: "List users authorized to send the configured PowerForms.",
|
|
@@ -25,7 +25,7 @@ const getPowerFormSenders = defineRestOperation({
|
|
|
25
25
|
})
|
|
26
26
|
});
|
|
27
27
|
const retrievePowerFormDataEntries = defineRestOperation({
|
|
28
|
-
id: "
|
|
28
|
+
id: "docusign.retrieve-power-form-data-entries",
|
|
29
29
|
slug: "DOCUSIGN_RETRIEVE_POWER_FORM_DATA_ENTRIES",
|
|
30
30
|
name: "Retrieve PowerForm Data Entries",
|
|
31
31
|
description: "Retrieve data entries submitted via a PowerForm.",
|
|
@@ -46,7 +46,7 @@ const retrievePowerFormDataEntries = defineRestOperation({
|
|
|
46
46
|
})
|
|
47
47
|
});
|
|
48
48
|
const deletePowerFormById = defineRestOperation({
|
|
49
|
-
id: "
|
|
49
|
+
id: "docusign.delete-power-form-by-id",
|
|
50
50
|
slug: "DOCUSIGN_DELETE_POWER_FORM_BY_ID",
|
|
51
51
|
name: "Delete PowerForm By Id",
|
|
52
52
|
description: "Delete a single PowerForm.",
|
package/dist/rooms.d.mts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { z } from "zod";
|
|
2
1
|
import * as _keystrokehq_core0 from "@keystrokehq/core";
|
|
2
|
+
import { z } from "zod";
|
|
3
3
|
import * as _keystrokehq_core_credential_set0 from "@keystrokehq/core/credential-set";
|
|
4
4
|
|
|
5
5
|
//#region src/rooms.d.ts
|
|
6
6
|
declare const roomsNotImplemented: _keystrokehq_core0.Operation<z.ZodObject<{}, z.core.$catchall<z.ZodUnknown>>, z.ZodObject<{
|
|
7
7
|
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
8
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
8
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
9
9
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
10
10
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
11
11
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
package/dist/rooms.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-Bqp7KoLi.mjs";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
|
|
5
5
|
//#region src/rooms.ts
|
|
@@ -15,7 +15,7 @@ import { z } from "zod";
|
|
|
15
15
|
*/
|
|
16
16
|
const genericInput = z.object({}).catchall(z.unknown());
|
|
17
17
|
const roomsNotImplemented = definePlanGatedOperation({
|
|
18
|
-
id: "
|
|
18
|
+
id: "docusign.rooms-not-implemented",
|
|
19
19
|
slug: "DOCUSIGN_ROOMS_NOT_IMPLEMENTED",
|
|
20
20
|
name: "DocuSign Rooms (not implemented)",
|
|
21
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).",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { z } from "zod";
|
|
2
1
|
import * as _keystrokehq_core0 from "@keystrokehq/core";
|
|
2
|
+
import { z } from "zod";
|
|
3
3
|
import * as _keystrokehq_core_credential_set0 from "@keystrokehq/core/credential-set";
|
|
4
4
|
|
|
5
5
|
//#region src/signing-groups.d.ts
|
|
@@ -9,7 +9,7 @@ declare const createSigningGroup: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
9
9
|
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
10
10
|
}, z.core.$strip>, z.ZodObject<{
|
|
11
11
|
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
12
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
12
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
13
13
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
14
14
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
15
15
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
@@ -22,7 +22,7 @@ declare const retrieveAccountSigningGroups: _keystrokehq_core0.Operation<z.ZodOb
|
|
|
22
22
|
groupType: z.ZodOptional<z.ZodString>;
|
|
23
23
|
}, z.core.$strip>, z.ZodObject<{
|
|
24
24
|
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
25
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
25
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
26
26
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
27
27
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
28
28
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
@@ -35,7 +35,7 @@ declare const getSigningGroupInformation: _keystrokehq_core0.Operation<z.ZodObje
|
|
|
35
35
|
signingGroupId: z.ZodString;
|
|
36
36
|
}, z.core.$strip>, z.ZodObject<{
|
|
37
37
|
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
38
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
38
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
39
39
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
40
40
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
41
41
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
@@ -51,7 +51,7 @@ declare const updateSigningGroupDetails: _keystrokehq_core0.Operation<z.ZodObjec
|
|
|
51
51
|
}, z.core.$catchall<z.ZodUnknown>>;
|
|
52
52
|
}, z.core.$strip>, z.ZodObject<{
|
|
53
53
|
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
54
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
54
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
55
55
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
56
56
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
57
57
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
@@ -66,7 +66,7 @@ declare const updateSigningGroupNames: _keystrokehq_core0.Operation<z.ZodObject<
|
|
|
66
66
|
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
67
67
|
}, z.core.$strip>, z.ZodObject<{
|
|
68
68
|
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
69
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
69
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
70
70
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
71
71
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
72
72
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
@@ -82,7 +82,7 @@ declare const addMembersToSigningGroup: _keystrokehq_core0.Operation<z.ZodObject
|
|
|
82
82
|
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
83
83
|
}, z.core.$strip>, z.ZodObject<{
|
|
84
84
|
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
85
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
85
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
86
86
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
87
87
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
88
88
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
@@ -95,7 +95,7 @@ declare const getMembersOfASigningGroup: _keystrokehq_core0.Operation<z.ZodObjec
|
|
|
95
95
|
signingGroupId: z.ZodString;
|
|
96
96
|
}, z.core.$strip>, z.ZodObject<{
|
|
97
97
|
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
98
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
98
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
99
99
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
100
100
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
101
101
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
@@ -111,7 +111,7 @@ declare const deleteMembersFromSigningGroup: _keystrokehq_core0.Operation<z.ZodO
|
|
|
111
111
|
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
112
112
|
}, z.core.$strip>, z.ZodObject<{
|
|
113
113
|
success: z.ZodBoolean;
|
|
114
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
114
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
115
115
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
116
116
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
117
117
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
@@ -126,7 +126,7 @@ declare const deleteOneOrMoreSigningGroups: _keystrokehq_core0.Operation<z.ZodOb
|
|
|
126
126
|
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
127
127
|
}, z.core.$strip>, z.ZodObject<{
|
|
128
128
|
success: z.ZodBoolean;
|
|
129
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
129
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
130
130
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
131
131
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
132
132
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
package/dist/signing-groups.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-Bqp7KoLi.mjs";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
|
|
5
5
|
//#region src/signing-groups.ts
|
|
@@ -8,7 +8,7 @@ import { z } from "zod";
|
|
|
8
8
|
*/
|
|
9
9
|
const groupId = z.object({ signingGroupId: z.string().min(1) });
|
|
10
10
|
const createSigningGroup = defineRestOperation({
|
|
11
|
-
id: "
|
|
11
|
+
id: "docusign.create-signing-group",
|
|
12
12
|
slug: "DOCUSIGN_CREATE_SIGNING_GROUP",
|
|
13
13
|
name: "Create Signing Group",
|
|
14
14
|
description: "Create a new signing group on the account.",
|
|
@@ -20,7 +20,7 @@ const createSigningGroup = defineRestOperation({
|
|
|
20
20
|
body: (input) => ({ groups: input.groups })
|
|
21
21
|
});
|
|
22
22
|
const retrieveAccountSigningGroups = defineRestOperation({
|
|
23
|
-
id: "
|
|
23
|
+
id: "docusign.retrieve-account-signing-groups",
|
|
24
24
|
slug: "DOCUSIGN_RETRIEVE_ACCOUNT_SIGNING_GROUPS",
|
|
25
25
|
name: "Retrieve Account Signing Groups",
|
|
26
26
|
description: "List signing groups on the account.",
|
|
@@ -31,7 +31,7 @@ const retrieveAccountSigningGroups = defineRestOperation({
|
|
|
31
31
|
query: (input) => ({ group_type: input.groupType })
|
|
32
32
|
});
|
|
33
33
|
const getSigningGroupInformation = defineRestOperation({
|
|
34
|
-
id: "
|
|
34
|
+
id: "docusign.get-signing-group-information",
|
|
35
35
|
slug: "DOCUSIGN_GET_SIGNING_GROUP_INFORMATION",
|
|
36
36
|
name: "Get Signing Group Information",
|
|
37
37
|
description: "Retrieve a specific signing group.",
|
|
@@ -41,7 +41,7 @@ const getSigningGroupInformation = defineRestOperation({
|
|
|
41
41
|
output: docusignGenericObjectSchema
|
|
42
42
|
});
|
|
43
43
|
const updateSigningGroupDetails = defineRestOperation({
|
|
44
|
-
id: "
|
|
44
|
+
id: "docusign.update-signing-group-details",
|
|
45
45
|
slug: "DOCUSIGN_UPDATE_SIGNING_GROUP_DETAILS",
|
|
46
46
|
name: "Update Signing Group Details",
|
|
47
47
|
description: "Update details of a signing group.",
|
|
@@ -53,7 +53,7 @@ const updateSigningGroupDetails = defineRestOperation({
|
|
|
53
53
|
body: (input) => input.group
|
|
54
54
|
});
|
|
55
55
|
const updateSigningGroupNames = defineRestOperation({
|
|
56
|
-
id: "
|
|
56
|
+
id: "docusign.update-signing-group-names",
|
|
57
57
|
slug: "DOCUSIGN_UPDATE_SIGNING_GROUP_NAMES",
|
|
58
58
|
name: "Update Signing Group Names",
|
|
59
59
|
description: "Update signing group names in bulk.",
|
|
@@ -65,7 +65,7 @@ const updateSigningGroupNames = defineRestOperation({
|
|
|
65
65
|
body: (input) => ({ groups: input.groups })
|
|
66
66
|
});
|
|
67
67
|
const addMembersToSigningGroup = defineRestOperation({
|
|
68
|
-
id: "
|
|
68
|
+
id: "docusign.add-members-to-signing-group",
|
|
69
69
|
slug: "DOCUSIGN_ADD_MEMBERS_TO_SIGNING_GROUP",
|
|
70
70
|
name: "Add Members To Signing Group",
|
|
71
71
|
description: "Add users to a signing group.",
|
|
@@ -77,7 +77,7 @@ const addMembersToSigningGroup = defineRestOperation({
|
|
|
77
77
|
body: (input) => ({ users: input.users })
|
|
78
78
|
});
|
|
79
79
|
const getMembersOfASigningGroup = defineRestOperation({
|
|
80
|
-
id: "
|
|
80
|
+
id: "docusign.get-members-of-a-signing-group",
|
|
81
81
|
slug: "DOCUSIGN_GET_MEMBERS_OF_A_SIGNING_GROUP",
|
|
82
82
|
name: "Get Signing Group Members",
|
|
83
83
|
description: "List members of a signing group.",
|
|
@@ -87,7 +87,7 @@ const getMembersOfASigningGroup = defineRestOperation({
|
|
|
87
87
|
output: docusignGenericObjectSchema
|
|
88
88
|
});
|
|
89
89
|
const deleteMembersFromSigningGroup = defineRestOperation({
|
|
90
|
-
id: "
|
|
90
|
+
id: "docusign.delete-members-from-signing-group",
|
|
91
91
|
slug: "DOCUSIGN_DELETE_MEMBERS_FROM_SIGNING_GROUP",
|
|
92
92
|
name: "Delete Signing Group Members",
|
|
93
93
|
description: "Remove users from a signing group.",
|
|
@@ -100,7 +100,7 @@ const deleteMembersFromSigningGroup = defineRestOperation({
|
|
|
100
100
|
transformResponse: () => ({ success: true })
|
|
101
101
|
});
|
|
102
102
|
const deleteOneOrMoreSigningGroups = defineRestOperation({
|
|
103
|
-
id: "
|
|
103
|
+
id: "docusign.delete-one-or-more-signing-groups",
|
|
104
104
|
slug: "DOCUSIGN_DELETE_ONE_OR_MORE_SIGNING_GROUPS",
|
|
105
105
|
name: "Delete One Or More Signing Groups",
|
|
106
106
|
description: "Delete one or more signing groups by id.",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { z } from "zod";
|
|
2
1
|
import * as _keystrokehq_core0 from "@keystrokehq/core";
|
|
2
|
+
import { z } from "zod";
|
|
3
3
|
import * as _keystrokehq_core_credential_set0 from "@keystrokehq/core/credential-set";
|
|
4
4
|
|
|
5
5
|
//#region src/template-custom-fields.d.ts
|
|
@@ -16,7 +16,7 @@ declare const createTemplateDocumentCustomFields: _keystrokehq_core0.Operation<z
|
|
|
16
16
|
listCustomFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
17
17
|
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
18
18
|
}, z.core.$catchall<z.ZodUnknown>>>>;
|
|
19
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
19
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
20
20
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
21
21
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
22
22
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
@@ -38,7 +38,7 @@ declare const updateTemplateDocumentCustomFields: _keystrokehq_core0.Operation<z
|
|
|
38
38
|
listCustomFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
39
39
|
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
40
40
|
}, z.core.$catchall<z.ZodUnknown>>>>;
|
|
41
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
41
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
42
42
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
43
43
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
44
44
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
@@ -55,7 +55,7 @@ declare const deleteCustomDocumentFieldsFromTemplate: _keystrokehq_core0.Operati
|
|
|
55
55
|
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
56
56
|
}, z.core.$strip>, z.ZodObject<{
|
|
57
57
|
success: z.ZodBoolean;
|
|
58
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
58
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
59
59
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
60
60
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
61
61
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
@@ -89,7 +89,7 @@ declare const createCustomFieldsInTemplateDocument: _keystrokehq_core0.Operation
|
|
|
89
89
|
listCustomFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
90
90
|
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
91
91
|
}, z.core.$catchall<z.ZodUnknown>>>>;
|
|
92
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
92
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
93
93
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
94
94
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
95
95
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
@@ -107,7 +107,7 @@ declare const retrieveCustomFieldsForTemplate: _keystrokehq_core0.Operation<z.Zo
|
|
|
107
107
|
listCustomFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
108
108
|
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
109
109
|
}, z.core.$catchall<z.ZodUnknown>>>>;
|
|
110
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
110
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
111
111
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
112
112
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
113
113
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
@@ -125,7 +125,7 @@ declare const retrieveTemplateCustomFields: _keystrokehq_core0.Operation<z.ZodOb
|
|
|
125
125
|
listCustomFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
126
126
|
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
127
127
|
}, z.core.$catchall<z.ZodUnknown>>>>;
|
|
128
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
128
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
129
129
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
130
130
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
131
131
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
@@ -158,7 +158,7 @@ declare const updateTemplateCustomFields: _keystrokehq_core0.Operation<z.ZodObje
|
|
|
158
158
|
listCustomFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
159
159
|
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
160
160
|
}, z.core.$catchall<z.ZodUnknown>>>>;
|
|
161
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
161
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
162
162
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
163
163
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
164
164
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
@@ -186,7 +186,7 @@ declare const deleteCustomFieldsInTemplate: _keystrokehq_core0.Operation<z.ZodOb
|
|
|
186
186
|
}, z.core.$catchall<z.ZodUnknown>>;
|
|
187
187
|
}, z.core.$strip>, z.ZodObject<{
|
|
188
188
|
success: z.ZodBoolean;
|
|
189
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
189
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
190
190
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
191
191
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
192
192
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { docusignCustomFieldsInputSchema, docusignCustomFieldsResponseSchema, docusignDocumentIdSchema, docusignLooseObjectSchema, docusignSuccessSchema, docusignTemplateIdSchema } from "./schemas/index.mjs";
|
|
2
|
-
import { r as defineRestOperation } from "./operation-helpers-
|
|
2
|
+
import { r as defineRestOperation } from "./operation-helpers-Bqp7KoLi.mjs";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
|
|
5
5
|
//#region src/template-custom-fields.ts
|
|
@@ -9,7 +9,7 @@ import { z } from "zod";
|
|
|
9
9
|
const tplId = z.object({ templateId: docusignTemplateIdSchema });
|
|
10
10
|
const tplDoc = tplId.extend({ documentId: docusignDocumentIdSchema });
|
|
11
11
|
const createTemplateDocumentCustomFields = defineRestOperation({
|
|
12
|
-
id: "
|
|
12
|
+
id: "docusign.create-template-document-custom-fields",
|
|
13
13
|
slug: "DOCUSIGN_CREATE_TEMPLATE_DOCUMENT_CUSTOM_FIELDS",
|
|
14
14
|
name: "Create Template Document Custom Fields",
|
|
15
15
|
description: "Attach custom fields to a template document.",
|
|
@@ -21,7 +21,7 @@ const createTemplateDocumentCustomFields = defineRestOperation({
|
|
|
21
21
|
body: (input) => ({ documentFields: input.documentFields })
|
|
22
22
|
});
|
|
23
23
|
const updateTemplateDocumentCustomFields = defineRestOperation({
|
|
24
|
-
id: "
|
|
24
|
+
id: "docusign.update-template-document-custom-fields",
|
|
25
25
|
slug: "DOCUSIGN_UPDATE_TEMPLATE_DOCUMENT_CUSTOM_FIELDS",
|
|
26
26
|
name: "Update Template Document Custom Fields",
|
|
27
27
|
description: "Update custom fields on a template document.",
|
|
@@ -33,7 +33,7 @@ const updateTemplateDocumentCustomFields = defineRestOperation({
|
|
|
33
33
|
body: (input) => ({ documentFields: input.documentFields })
|
|
34
34
|
});
|
|
35
35
|
const deleteCustomDocumentFieldsFromTemplate = defineRestOperation({
|
|
36
|
-
id: "
|
|
36
|
+
id: "docusign.delete-custom-document-fields-from-template",
|
|
37
37
|
slug: "DOCUSIGN_DELETE_CUSTOM_DOCUMENT_FIELDS_FROM_TEMPLATE",
|
|
38
38
|
name: "Delete Custom Document Fields From Template",
|
|
39
39
|
description: "Remove custom fields from a template document.",
|
|
@@ -46,7 +46,7 @@ const deleteCustomDocumentFieldsFromTemplate = defineRestOperation({
|
|
|
46
46
|
transformResponse: () => ({ success: true })
|
|
47
47
|
});
|
|
48
48
|
const createCustomFieldsInTemplateDocument = defineRestOperation({
|
|
49
|
-
id: "
|
|
49
|
+
id: "docusign.create-custom-fields-in-template-document",
|
|
50
50
|
slug: "DOCUSIGN_CREATE_CUSTOM_FIELDS_IN_TEMPLATE_DOCUMENT",
|
|
51
51
|
name: "Create Custom Fields In Template Document",
|
|
52
52
|
description: "Alias for createTemplateDocumentCustomFields — attach custom fields to a template document.",
|
|
@@ -58,7 +58,7 @@ const createCustomFieldsInTemplateDocument = defineRestOperation({
|
|
|
58
58
|
body: (input) => input.customFields
|
|
59
59
|
});
|
|
60
60
|
const retrieveCustomFieldsForTemplate = defineRestOperation({
|
|
61
|
-
id: "
|
|
61
|
+
id: "docusign.retrieve-custom-fields-for-template",
|
|
62
62
|
slug: "DOCUSIGN_RETRIEVE_CUSTOM_FIELDS_FOR_TEMPLATE",
|
|
63
63
|
name: "Retrieve Custom Fields For Template",
|
|
64
64
|
description: "Retrieve template-level custom fields.",
|
|
@@ -68,7 +68,7 @@ const retrieveCustomFieldsForTemplate = defineRestOperation({
|
|
|
68
68
|
output: docusignCustomFieldsResponseSchema
|
|
69
69
|
});
|
|
70
70
|
const retrieveTemplateCustomFields = defineRestOperation({
|
|
71
|
-
id: "
|
|
71
|
+
id: "docusign.retrieve-template-custom-fields",
|
|
72
72
|
slug: "DOCUSIGN_RETRIEVE_TEMPLATE_CUSTOM_FIELDS",
|
|
73
73
|
name: "Retrieve Template Custom Fields",
|
|
74
74
|
description: "Retrieve the template custom fields (alias).",
|
|
@@ -78,7 +78,7 @@ const retrieveTemplateCustomFields = defineRestOperation({
|
|
|
78
78
|
output: docusignCustomFieldsResponseSchema
|
|
79
79
|
});
|
|
80
80
|
const updateTemplateCustomFields = defineRestOperation({
|
|
81
|
-
id: "
|
|
81
|
+
id: "docusign.update-template-custom-fields",
|
|
82
82
|
slug: "DOCUSIGN_UPDATE_TEMPLATE_CUSTOM_FIELDS",
|
|
83
83
|
name: "Update Template Custom Fields",
|
|
84
84
|
description: "Update the template-level custom fields.",
|
|
@@ -90,7 +90,7 @@ const updateTemplateCustomFields = defineRestOperation({
|
|
|
90
90
|
body: (input) => input.customFields
|
|
91
91
|
});
|
|
92
92
|
const deleteCustomFieldsInTemplate = defineRestOperation({
|
|
93
|
-
id: "
|
|
93
|
+
id: "docusign.delete-custom-fields-in-template",
|
|
94
94
|
slug: "DOCUSIGN_DELETE_CUSTOM_FIELDS_IN_TEMPLATE",
|
|
95
95
|
name: "Delete Custom Fields In Template",
|
|
96
96
|
description: "Delete template-level custom fields.",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { z } from "zod";
|
|
2
1
|
import * as _keystrokehq_core0 from "@keystrokehq/core";
|
|
2
|
+
import { z } from "zod";
|
|
3
3
|
import * as _keystrokehq_core_credential_set0 from "@keystrokehq/core/credential-set";
|
|
4
4
|
|
|
5
5
|
//#region src/template-documents.d.ts
|
|
@@ -8,7 +8,7 @@ declare const getTemplateDocumentHtmlDefinition: _keystrokehq_core0.Operation<z.
|
|
|
8
8
|
documentId: z.ZodString;
|
|
9
9
|
}, z.core.$strip>, z.ZodObject<{
|
|
10
10
|
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
11
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
11
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
12
12
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
13
13
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
14
14
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
@@ -21,7 +21,7 @@ declare const getOriginalHtmlDefinitionForTemplate: _keystrokehq_core0.Operation
|
|
|
21
21
|
templateId: z.ZodString;
|
|
22
22
|
}, z.core.$strip>, z.ZodObject<{
|
|
23
23
|
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
24
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
24
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
25
25
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
26
26
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
27
27
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
@@ -37,7 +37,7 @@ declare const createTemplateResponsiveHtmlPreview: _keystrokehq_core0.Operation<
|
|
|
37
37
|
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
38
38
|
}, z.core.$strip>, z.ZodObject<{
|
|
39
39
|
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
40
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
40
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
41
41
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
42
42
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
43
43
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
@@ -53,7 +53,7 @@ declare const retrievePdfFromSpecifiedTemplate: _keystrokehq_core0.Operation<z.Z
|
|
|
53
53
|
contentDisposition: z.ZodOptional<z.ZodString>;
|
|
54
54
|
status: z.ZodNumber;
|
|
55
55
|
body: z.ZodString;
|
|
56
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
56
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
57
57
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
58
58
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
59
59
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
@@ -67,7 +67,7 @@ declare const retrieveTemplateDocumentPageImages: _keystrokehq_core0.Operation<z
|
|
|
67
67
|
documentId: z.ZodString;
|
|
68
68
|
}, z.core.$strip>, z.ZodObject<{
|
|
69
69
|
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
70
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
70
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
71
71
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
72
72
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
73
73
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
@@ -85,7 +85,7 @@ declare const retrieveTemplatePageImage: _keystrokehq_core0.Operation<z.ZodObjec
|
|
|
85
85
|
contentDisposition: z.ZodOptional<z.ZodString>;
|
|
86
86
|
status: z.ZodNumber;
|
|
87
87
|
body: z.ZodString;
|
|
88
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
88
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
89
89
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
90
90
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
91
91
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
@@ -104,7 +104,7 @@ declare const rotateTemplatePageImage: _keystrokehq_core0.Operation<z.ZodObject<
|
|
|
104
104
|
}>;
|
|
105
105
|
}, z.core.$strip>, z.ZodObject<{
|
|
106
106
|
success: z.ZodBoolean;
|
|
107
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
107
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
108
108
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
109
109
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
110
110
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
@@ -119,7 +119,7 @@ declare const deletePageFromTemplateDocument: _keystrokehq_core0.Operation<z.Zod
|
|
|
119
119
|
pageNumber: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
120
120
|
}, z.core.$strip>, z.ZodObject<{
|
|
121
121
|
success: z.ZodBoolean;
|
|
122
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
122
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
123
123
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
124
124
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
125
125
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { docusignDocumentIdSchema, docusignGenericObjectSchema, docusignLooseObjectSchema, docusignSuccessSchema, docusignTemplateIdSchema } 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-Bqp7KoLi.mjs";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
|
|
5
5
|
//#region src/template-documents.ts
|
|
@@ -16,7 +16,7 @@ const binaryResponseSchema = docusignLooseObjectSchema({
|
|
|
16
16
|
body: z.string()
|
|
17
17
|
});
|
|
18
18
|
const getTemplateDocumentHtmlDefinition = defineRestOperation({
|
|
19
|
-
id: "
|
|
19
|
+
id: "docusign.get-template-document-html-definition",
|
|
20
20
|
slug: "DOCUSIGN_GET_TEMPLATE_DOCUMENT_HTML_DEFINITION",
|
|
21
21
|
name: "Get Template Document HTML Definition",
|
|
22
22
|
description: "Return the responsive HTML definition for a template document.",
|
|
@@ -26,7 +26,7 @@ const getTemplateDocumentHtmlDefinition = defineRestOperation({
|
|
|
26
26
|
output: docusignGenericObjectSchema
|
|
27
27
|
});
|
|
28
28
|
const getOriginalHtmlDefinitionForTemplate = defineRestOperation({
|
|
29
|
-
id: "
|
|
29
|
+
id: "docusign.get-original-html-definition-for-template",
|
|
30
30
|
slug: "DOCUSIGN_GET_ORIGINAL_HTML_DEFINITION_FOR_TEMPLATE",
|
|
31
31
|
name: "Get Original Template HTML Definition",
|
|
32
32
|
description: "Return the original responsive HTML definition for a template.",
|
|
@@ -36,7 +36,7 @@ const getOriginalHtmlDefinitionForTemplate = defineRestOperation({
|
|
|
36
36
|
output: docusignGenericObjectSchema
|
|
37
37
|
});
|
|
38
38
|
const createTemplateResponsiveHtmlPreview = defineRestOperation({
|
|
39
|
-
id: "
|
|
39
|
+
id: "docusign.create-template-responsive-html-preview",
|
|
40
40
|
slug: "DOCUSIGN_CREATE_TEMPLATE_RESPONSIVE_HTML_PREVIEW",
|
|
41
41
|
name: "Create Template Responsive HTML Preview",
|
|
42
42
|
description: "Create a responsive HTML preview for a template.",
|
|
@@ -48,7 +48,7 @@ const createTemplateResponsiveHtmlPreview = defineRestOperation({
|
|
|
48
48
|
body: (input) => input.options ?? {}
|
|
49
49
|
});
|
|
50
50
|
const retrievePdfFromSpecifiedTemplate = defineBinaryOperation({
|
|
51
|
-
id: "
|
|
51
|
+
id: "docusign.retrieve-pdf-from-specified-template",
|
|
52
52
|
slug: "DOCUSIGN_RETRIEVE_PDF_FROM_SPECIFIED_TEMPLATE",
|
|
53
53
|
name: "Retrieve PDF From Specified Template",
|
|
54
54
|
description: "Download the combined PDF of all documents in a template.",
|
|
@@ -59,7 +59,7 @@ const retrievePdfFromSpecifiedTemplate = defineBinaryOperation({
|
|
|
59
59
|
output: binaryResponseSchema
|
|
60
60
|
});
|
|
61
61
|
const retrieveTemplateDocumentPageImages = defineRestOperation({
|
|
62
|
-
id: "
|
|
62
|
+
id: "docusign.retrieve-template-document-page-images",
|
|
63
63
|
slug: "DOCUSIGN_RETRIEVE_TEMPLATE_DOCUMENT_PAGE_IMAGES",
|
|
64
64
|
name: "Retrieve Template Document Page Images",
|
|
65
65
|
description: "List the page images for a template document.",
|
|
@@ -69,7 +69,7 @@ const retrieveTemplateDocumentPageImages = defineRestOperation({
|
|
|
69
69
|
output: docusignGenericObjectSchema
|
|
70
70
|
});
|
|
71
71
|
const retrieveTemplatePageImage = defineBinaryOperation({
|
|
72
|
-
id: "
|
|
72
|
+
id: "docusign.retrieve-template-page-image",
|
|
73
73
|
slug: "DOCUSIGN_RETRIEVE_TEMPLATE_PAGE_IMAGE",
|
|
74
74
|
name: "Retrieve Template Page Image",
|
|
75
75
|
description: "Download a specific page image from a template document.",
|
|
@@ -80,7 +80,7 @@ const retrieveTemplatePageImage = defineBinaryOperation({
|
|
|
80
80
|
output: binaryResponseSchema
|
|
81
81
|
});
|
|
82
82
|
const rotateTemplatePageImage = defineRestOperation({
|
|
83
|
-
id: "
|
|
83
|
+
id: "docusign.rotate-template-page-image",
|
|
84
84
|
slug: "DOCUSIGN_ROTATE_TEMPLATE_PAGE_IMAGE",
|
|
85
85
|
name: "Rotate Template Page Image",
|
|
86
86
|
description: "Rotate a page image on a template document.",
|
|
@@ -93,7 +93,7 @@ const rotateTemplatePageImage = defineRestOperation({
|
|
|
93
93
|
transformResponse: () => ({ success: true })
|
|
94
94
|
});
|
|
95
95
|
const deletePageFromTemplateDocument = defineRestOperation({
|
|
96
|
-
id: "
|
|
96
|
+
id: "docusign.delete-page-from-template-document",
|
|
97
97
|
slug: "DOCUSIGN_DELETE_PAGE_FROM_TEMPLATE_DOCUMENT",
|
|
98
98
|
name: "Delete Page From Template Document",
|
|
99
99
|
description: "Delete a page from a template document.",
|