@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
|
-
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/user-authorizations.d.ts
|
|
@@ -10,7 +10,7 @@ declare const createOrUpdateUserAuthorizations: _keystrokehq_core0.Operation<z.Z
|
|
|
10
10
|
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
11
11
|
}, z.core.$strip>, z.ZodObject<{
|
|
12
12
|
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
13
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
13
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
14
14
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
15
15
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
16
16
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
@@ -26,7 +26,7 @@ declare const createUserAuthorizationForAgentUser: _keystrokehq_core0.Operation<
|
|
|
26
26
|
}, z.core.$catchall<z.ZodUnknown>>;
|
|
27
27
|
}, z.core.$strip>, z.ZodObject<{
|
|
28
28
|
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
29
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
29
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
30
30
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
31
31
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
32
32
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
@@ -40,7 +40,7 @@ declare const getUserAuthorizationDetails: _keystrokehq_core0.Operation<z.ZodObj
|
|
|
40
40
|
authorizationId: z.ZodString;
|
|
41
41
|
}, z.core.$strip>, z.ZodObject<{
|
|
42
42
|
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
43
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
43
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
44
44
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
45
45
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
46
46
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
@@ -56,7 +56,7 @@ declare const getUserAuthorizationsForPrincipal: _keystrokehq_core0.Operation<z.
|
|
|
56
56
|
permissions: z.ZodOptional<z.ZodString>;
|
|
57
57
|
}, z.core.$strip>, z.ZodObject<{
|
|
58
58
|
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
59
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
59
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
60
60
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
61
61
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
62
62
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
@@ -71,7 +71,7 @@ declare const getAgentUserAuthorizations: _keystrokehq_core0.Operation<z.ZodObje
|
|
|
71
71
|
count: z.ZodOptional<z.ZodNumber>;
|
|
72
72
|
}, z.core.$strip>, z.ZodObject<{
|
|
73
73
|
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
74
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
74
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
75
75
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
76
76
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
77
77
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
@@ -88,7 +88,7 @@ declare const updateUserAuthorizationDates: _keystrokehq_core0.Operation<z.ZodOb
|
|
|
88
88
|
}, z.core.$catchall<z.ZodUnknown>>;
|
|
89
89
|
}, z.core.$strip>, z.ZodObject<{
|
|
90
90
|
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
91
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
91
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
92
92
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
93
93
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
94
94
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
@@ -102,7 +102,7 @@ declare const deleteUserAuthorization: _keystrokehq_core0.Operation<z.ZodObject<
|
|
|
102
102
|
authorizationId: z.ZodString;
|
|
103
103
|
}, z.core.$strip>, z.ZodObject<{
|
|
104
104
|
success: z.ZodBoolean;
|
|
105
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
105
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
106
106
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
107
107
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
108
108
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
@@ -116,7 +116,7 @@ declare const deleteUserAuthorizations: _keystrokehq_core0.Operation<z.ZodObject
|
|
|
116
116
|
authorizationIdList: z.ZodArray<z.ZodString>;
|
|
117
117
|
}, z.core.$strip>, z.ZodObject<{
|
|
118
118
|
success: z.ZodBoolean;
|
|
119
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
119
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
120
120
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
121
121
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
122
122
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
@@ -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/user-authorizations.ts
|
|
@@ -11,7 +11,7 @@ const userAuth = z.object({
|
|
|
11
11
|
authorizationId: z.string().min(1)
|
|
12
12
|
});
|
|
13
13
|
const createOrUpdateUserAuthorizations = defineRestOperation({
|
|
14
|
-
id: "
|
|
14
|
+
id: "docusign.create-or-update-user-authorizations",
|
|
15
15
|
slug: "DOCUSIGN_CREATE_OR_UPDATE_USER_AUTHORIZATIONS",
|
|
16
16
|
name: "Create Or Update User Authorizations",
|
|
17
17
|
description: "Create or update authorizations granted to a user.",
|
|
@@ -26,7 +26,7 @@ const createOrUpdateUserAuthorizations = defineRestOperation({
|
|
|
26
26
|
body: (input) => ({ authorizations: input.authorizations })
|
|
27
27
|
});
|
|
28
28
|
const createUserAuthorizationForAgentUser = defineRestOperation({
|
|
29
|
-
id: "
|
|
29
|
+
id: "docusign.create-user-authorization-for-agent-user",
|
|
30
30
|
slug: "DOCUSIGN_CREATE_USER_AUTHORIZATION_FOR_AGENT_USER",
|
|
31
31
|
name: "Create User Authorization For Agent User",
|
|
32
32
|
description: "Create a user authorization with agent user context.",
|
|
@@ -41,7 +41,7 @@ const createUserAuthorizationForAgentUser = defineRestOperation({
|
|
|
41
41
|
body: (input) => input.authorization
|
|
42
42
|
});
|
|
43
43
|
const getUserAuthorizationDetails = defineRestOperation({
|
|
44
|
-
id: "
|
|
44
|
+
id: "docusign.get-user-authorization-details",
|
|
45
45
|
slug: "DOCUSIGN_GET_USER_AUTHORIZATION_DETAILS",
|
|
46
46
|
name: "Get User Authorization Details",
|
|
47
47
|
description: "Get details of a specific user authorization.",
|
|
@@ -51,7 +51,7 @@ const getUserAuthorizationDetails = defineRestOperation({
|
|
|
51
51
|
output: docusignGenericObjectSchema
|
|
52
52
|
});
|
|
53
53
|
const getUserAuthorizationsForPrincipal = defineRestOperation({
|
|
54
|
-
id: "
|
|
54
|
+
id: "docusign.get-user-authorizations-for-principal",
|
|
55
55
|
slug: "DOCUSIGN_GET_USER_AUTHORIZATIONS_FOR_PRINCIPAL",
|
|
56
56
|
name: "Get User Authorizations For Principal",
|
|
57
57
|
description: "List authorizations granted by a principal user.",
|
|
@@ -71,7 +71,7 @@ const getUserAuthorizationsForPrincipal = defineRestOperation({
|
|
|
71
71
|
})
|
|
72
72
|
});
|
|
73
73
|
const getAgentUserAuthorizations = defineRestOperation({
|
|
74
|
-
id: "
|
|
74
|
+
id: "docusign.get-agent-user-authorizations",
|
|
75
75
|
slug: "DOCUSIGN_GET_AGENT_USER_AUTHORIZATIONS",
|
|
76
76
|
name: "Get Agent User Authorizations",
|
|
77
77
|
description: "List authorizations granted to an agent user.",
|
|
@@ -89,7 +89,7 @@ const getAgentUserAuthorizations = defineRestOperation({
|
|
|
89
89
|
})
|
|
90
90
|
});
|
|
91
91
|
const updateUserAuthorizationDates = defineRestOperation({
|
|
92
|
-
id: "
|
|
92
|
+
id: "docusign.update-user-authorization-dates",
|
|
93
93
|
slug: "DOCUSIGN_UPDATE_USER_AUTHORIZATION_DATES",
|
|
94
94
|
name: "Update User Authorization Dates",
|
|
95
95
|
description: "Update the validity window of a user authorization.",
|
|
@@ -101,7 +101,7 @@ const updateUserAuthorizationDates = defineRestOperation({
|
|
|
101
101
|
body: (input) => input.authorization
|
|
102
102
|
});
|
|
103
103
|
const deleteUserAuthorization = defineRestOperation({
|
|
104
|
-
id: "
|
|
104
|
+
id: "docusign.delete-user-authorization",
|
|
105
105
|
slug: "DOCUSIGN_DELETE_USER_AUTHORIZATION",
|
|
106
106
|
name: "Delete User Authorization",
|
|
107
107
|
description: "Delete a single user authorization.",
|
|
@@ -113,7 +113,7 @@ const deleteUserAuthorization = defineRestOperation({
|
|
|
113
113
|
transformResponse: () => ({ success: true })
|
|
114
114
|
});
|
|
115
115
|
const deleteUserAuthorizations = defineRestOperation({
|
|
116
|
-
id: "
|
|
116
|
+
id: "docusign.delete-user-authorizations",
|
|
117
117
|
slug: "DOCUSIGN_DELETE_USER_AUTHORIZATIONS",
|
|
118
118
|
name: "Delete User Authorizations",
|
|
119
119
|
description: "Bulk delete user authorizations.",
|
|
@@ -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/user-custom-settings.d.ts
|
|
@@ -10,7 +10,7 @@ declare const addOrUpdateUserCustomSettings: _keystrokehq_core0.Operation<z.ZodO
|
|
|
10
10
|
}, z.core.$catchall<z.ZodUnknown>>;
|
|
11
11
|
}, z.core.$strip>, z.ZodObject<{
|
|
12
12
|
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
13
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
13
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
14
14
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
15
15
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
16
16
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
@@ -23,7 +23,7 @@ declare const retrieveCustomUserSettings: _keystrokehq_core0.Operation<z.ZodObje
|
|
|
23
23
|
userId: z.ZodString;
|
|
24
24
|
}, z.core.$strip>, z.ZodObject<{
|
|
25
25
|
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
26
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
26
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
27
27
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
28
28
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
29
29
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
@@ -39,7 +39,7 @@ declare const deleteCustomUserSettings: _keystrokehq_core0.Operation<z.ZodObject
|
|
|
39
39
|
}, z.core.$catchall<z.ZodUnknown>>;
|
|
40
40
|
}, z.core.$strip>, z.ZodObject<{
|
|
41
41
|
success: z.ZodBoolean;
|
|
42
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
42
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
43
43
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
44
44
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
45
45
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
@@ -52,7 +52,7 @@ declare const retrieveUserAccountSettings: _keystrokehq_core0.Operation<z.ZodObj
|
|
|
52
52
|
userId: z.ZodString;
|
|
53
53
|
}, z.core.$strip>, z.ZodObject<{
|
|
54
54
|
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
55
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
55
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
56
56
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
57
57
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
58
58
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
@@ -68,7 +68,7 @@ declare const updateUserAccountSettings: _keystrokehq_core0.Operation<z.ZodObjec
|
|
|
68
68
|
}, z.core.$catchall<z.ZodUnknown>>;
|
|
69
69
|
}, z.core.$strip>, z.ZodObject<{
|
|
70
70
|
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
71
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
71
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
72
72
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
73
73
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
74
74
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
@@ -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/user-custom-settings.ts
|
|
@@ -8,7 +8,7 @@ import { z } from "zod";
|
|
|
8
8
|
*/
|
|
9
9
|
const userId = z.object({ userId: z.string().min(1) });
|
|
10
10
|
const addOrUpdateUserCustomSettings = defineRestOperation({
|
|
11
|
-
id: "
|
|
11
|
+
id: "docusign.add-or-update-user-custom-settings",
|
|
12
12
|
slug: "DOCUSIGN_ADD_OR_UPDATE_USER_CUSTOM_SETTINGS",
|
|
13
13
|
name: "Add Or Update User Custom Settings",
|
|
14
14
|
description: "Add or update custom settings for a user.",
|
|
@@ -20,7 +20,7 @@ const addOrUpdateUserCustomSettings = defineRestOperation({
|
|
|
20
20
|
body: (input) => input.customSettings
|
|
21
21
|
});
|
|
22
22
|
const retrieveCustomUserSettings = defineRestOperation({
|
|
23
|
-
id: "
|
|
23
|
+
id: "docusign.retrieve-custom-user-settings",
|
|
24
24
|
slug: "DOCUSIGN_RETRIEVE_CUSTOM_USER_SETTINGS",
|
|
25
25
|
name: "Retrieve Custom User Settings",
|
|
26
26
|
description: "Retrieve the custom settings on a user.",
|
|
@@ -30,7 +30,7 @@ const retrieveCustomUserSettings = defineRestOperation({
|
|
|
30
30
|
output: docusignGenericObjectSchema
|
|
31
31
|
});
|
|
32
32
|
const deleteCustomUserSettings = defineRestOperation({
|
|
33
|
-
id: "
|
|
33
|
+
id: "docusign.delete-custom-user-settings",
|
|
34
34
|
slug: "DOCUSIGN_DELETE_CUSTOM_USER_SETTINGS",
|
|
35
35
|
name: "Delete Custom User Settings",
|
|
36
36
|
description: "Delete the custom settings on a user.",
|
|
@@ -43,7 +43,7 @@ const deleteCustomUserSettings = defineRestOperation({
|
|
|
43
43
|
transformResponse: () => ({ success: true })
|
|
44
44
|
});
|
|
45
45
|
const retrieveUserAccountSettings = defineRestOperation({
|
|
46
|
-
id: "
|
|
46
|
+
id: "docusign.retrieve-user-account-settings",
|
|
47
47
|
slug: "DOCUSIGN_RETRIEVE_USER_ACCOUNT_SETTINGS",
|
|
48
48
|
name: "Retrieve User Account Settings",
|
|
49
49
|
description: "Retrieve the account-level user settings.",
|
|
@@ -53,7 +53,7 @@ const retrieveUserAccountSettings = defineRestOperation({
|
|
|
53
53
|
output: docusignGenericObjectSchema
|
|
54
54
|
});
|
|
55
55
|
const updateUserAccountSettings = defineRestOperation({
|
|
56
|
-
id: "
|
|
56
|
+
id: "docusign.update-user-account-settings",
|
|
57
57
|
slug: "DOCUSIGN_UPDATE_USER_ACCOUNT_SETTINGS",
|
|
58
58
|
name: "Update User Account Settings",
|
|
59
59
|
description: "Update the account-level user settings.",
|
package/dist/user-profile.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/user-profile.d.ts
|
|
@@ -10,7 +10,7 @@ declare const retrieveUserProfileImage: _keystrokehq_core0.Operation<z.ZodObject
|
|
|
10
10
|
contentDisposition: z.ZodOptional<z.ZodString>;
|
|
11
11
|
status: z.ZodNumber;
|
|
12
12
|
body: z.ZodString;
|
|
13
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
13
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
14
14
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
15
15
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
16
16
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
@@ -24,7 +24,7 @@ declare const updateUserProfileImage: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
24
24
|
image: z.ZodString;
|
|
25
25
|
}, z.core.$strip>, z.ZodObject<{
|
|
26
26
|
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
27
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
27
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
28
28
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
29
29
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
30
30
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
@@ -37,7 +37,7 @@ declare const deleteUserProfileImage: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
37
37
|
userId: z.ZodString;
|
|
38
38
|
}, z.core.$strip>, z.ZodObject<{
|
|
39
39
|
success: z.ZodBoolean;
|
|
40
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
40
|
+
}, z.core.$strip>, 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;
|
|
@@ -50,7 +50,7 @@ declare const retrieveUserProfileInformation: _keystrokehq_core0.Operation<z.Zod
|
|
|
50
50
|
userId: z.ZodString;
|
|
51
51
|
}, z.core.$strip>, z.ZodObject<{
|
|
52
52
|
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
53
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
53
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
54
54
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
55
55
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
56
56
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
@@ -66,7 +66,7 @@ declare const updateUserProfileInformation: _keystrokehq_core0.Operation<z.ZodOb
|
|
|
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;
|
|
@@ -81,7 +81,7 @@ declare const retrieveSharedItemStatusForUsers: _keystrokehq_core0.Operation<z.Z
|
|
|
81
81
|
shared: z.ZodOptional<z.ZodString>;
|
|
82
82
|
}, z.core.$strip>, z.ZodObject<{
|
|
83
83
|
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
84
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
84
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
85
85
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
86
86
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
87
87
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
@@ -96,7 +96,7 @@ declare const setSharedAccessForUsersAndTemplates: _keystrokehq_core0.Operation<
|
|
|
96
96
|
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
97
97
|
}, z.core.$strip>, z.ZodObject<{
|
|
98
98
|
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
99
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
99
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
100
100
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
101
101
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
102
102
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
package/dist/user-profile.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { docusignGenericObjectSchema, docusignLooseObjectSchema, docusignSuccessSchema } from "./schemas/index.mjs";
|
|
2
|
-
import { r as defineRestOperation, t as defineBinaryOperation } from "./operation-helpers-
|
|
2
|
+
import { r as defineRestOperation, t as defineBinaryOperation } from "./operation-helpers-Bqp7KoLi.mjs";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
|
|
5
5
|
//#region src/user-profile.ts
|
|
@@ -14,7 +14,7 @@ const binaryResponseSchema = docusignLooseObjectSchema({
|
|
|
14
14
|
body: z.string()
|
|
15
15
|
});
|
|
16
16
|
const retrieveUserProfileImage = defineBinaryOperation({
|
|
17
|
-
id: "
|
|
17
|
+
id: "docusign.retrieve-user-profile-image",
|
|
18
18
|
slug: "DOCUSIGN_RETRIEVE_USER_PROFILE_IMAGE",
|
|
19
19
|
name: "Retrieve User Profile Image",
|
|
20
20
|
description: "Download the user profile image.",
|
|
@@ -25,7 +25,7 @@ const retrieveUserProfileImage = defineBinaryOperation({
|
|
|
25
25
|
output: binaryResponseSchema
|
|
26
26
|
});
|
|
27
27
|
const updateUserProfileImage = defineRestOperation({
|
|
28
|
-
id: "
|
|
28
|
+
id: "docusign.update-user-profile-image",
|
|
29
29
|
slug: "DOCUSIGN_UPDATE_USER_PROFILE_IMAGE",
|
|
30
30
|
name: "Update User Profile Image",
|
|
31
31
|
description: "Upload a new user profile image.",
|
|
@@ -37,7 +37,7 @@ const updateUserProfileImage = defineRestOperation({
|
|
|
37
37
|
body: (input) => ({ image: input.image })
|
|
38
38
|
});
|
|
39
39
|
const deleteUserProfileImage = defineRestOperation({
|
|
40
|
-
id: "
|
|
40
|
+
id: "docusign.delete-user-profile-image",
|
|
41
41
|
slug: "DOCUSIGN_DELETE_USER_PROFILE_IMAGE",
|
|
42
42
|
name: "Delete User Profile Image",
|
|
43
43
|
description: "Delete the user profile image.",
|
|
@@ -49,7 +49,7 @@ const deleteUserProfileImage = defineRestOperation({
|
|
|
49
49
|
transformResponse: () => ({ success: true })
|
|
50
50
|
});
|
|
51
51
|
const retrieveUserProfileInformation = defineRestOperation({
|
|
52
|
-
id: "
|
|
52
|
+
id: "docusign.retrieve-user-profile-information",
|
|
53
53
|
slug: "DOCUSIGN_RETRIEVE_USER_PROFILE_INFORMATION",
|
|
54
54
|
name: "Retrieve User Profile Information",
|
|
55
55
|
description: "Retrieve the user profile information.",
|
|
@@ -59,7 +59,7 @@ const retrieveUserProfileInformation = defineRestOperation({
|
|
|
59
59
|
output: docusignGenericObjectSchema
|
|
60
60
|
});
|
|
61
61
|
const updateUserProfileInformation = defineRestOperation({
|
|
62
|
-
id: "
|
|
62
|
+
id: "docusign.update-user-profile-information",
|
|
63
63
|
slug: "DOCUSIGN_UPDATE_USER_PROFILE_INFORMATION",
|
|
64
64
|
name: "Update User Profile Information",
|
|
65
65
|
description: "Update the user profile information.",
|
|
@@ -71,7 +71,7 @@ const updateUserProfileInformation = defineRestOperation({
|
|
|
71
71
|
body: (input) => input.profile
|
|
72
72
|
});
|
|
73
73
|
const retrieveSharedItemStatusForUsers = defineRestOperation({
|
|
74
|
-
id: "
|
|
74
|
+
id: "docusign.retrieve-shared-item-status-for-users",
|
|
75
75
|
slug: "DOCUSIGN_RETRIEVE_SHARED_ITEM_STATUS_FOR_USERS",
|
|
76
76
|
name: "Retrieve Shared Item Status For Users",
|
|
77
77
|
description: "Retrieve the shared access status for users on the account.",
|
|
@@ -90,7 +90,7 @@ const retrieveSharedItemStatusForUsers = defineRestOperation({
|
|
|
90
90
|
})
|
|
91
91
|
});
|
|
92
92
|
const setSharedAccessForUsersAndTemplates = defineRestOperation({
|
|
93
|
-
id: "
|
|
93
|
+
id: "docusign.set-shared-access-for-users-and-templates",
|
|
94
94
|
slug: "DOCUSIGN_SET_SHARED_ACCESS_FOR_USERS_AND_TEMPLATES",
|
|
95
95
|
name: "Set Shared Access For Users And Templates",
|
|
96
96
|
description: "Update shared access for users across templates.",
|
|
@@ -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/user-signatures.d.ts
|
|
@@ -10,7 +10,7 @@ declare const addOrUpdateUserSignature: _keystrokehq_core0.Operation<z.ZodObject
|
|
|
10
10
|
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
11
11
|
}, z.core.$strip>, z.ZodObject<{
|
|
12
12
|
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
13
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
13
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
14
14
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
15
15
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
16
16
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
@@ -26,7 +26,7 @@ declare const addUserSignatureAndInitialsImages: _keystrokehq_core0.Operation<z.
|
|
|
26
26
|
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
27
27
|
}, z.core.$strip>, z.ZodObject<{
|
|
28
28
|
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
29
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
29
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
30
30
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
31
31
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
32
32
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
@@ -39,7 +39,7 @@ declare const retrieveUserSignatureDefinitions: _keystrokehq_core0.Operation<z.Z
|
|
|
39
39
|
userId: z.ZodString;
|
|
40
40
|
}, z.core.$strip>, z.ZodObject<{
|
|
41
41
|
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
42
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
42
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
43
43
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
44
44
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
45
45
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
@@ -53,7 +53,7 @@ declare const retrieveUserSignatureInformation: _keystrokehq_core0.Operation<z.Z
|
|
|
53
53
|
signatureId: z.ZodString;
|
|
54
54
|
}, z.core.$strip>, z.ZodObject<{
|
|
55
55
|
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
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;
|
|
@@ -70,7 +70,7 @@ declare const retrieveUserSignatureImage: _keystrokehq_core0.Operation<z.ZodObje
|
|
|
70
70
|
contentDisposition: z.ZodOptional<z.ZodString>;
|
|
71
71
|
status: z.ZodNumber;
|
|
72
72
|
body: z.ZodString;
|
|
73
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
73
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
74
74
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
75
75
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
76
76
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
@@ -85,7 +85,7 @@ declare const setUserSignatureImage: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
85
85
|
image: z.ZodString;
|
|
86
86
|
}, z.core.$strip>, z.ZodObject<{
|
|
87
87
|
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
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;
|
|
@@ -102,7 +102,7 @@ declare const updateUserSignatureById: _keystrokehq_core0.Operation<z.ZodObject<
|
|
|
102
102
|
}, z.core.$catchall<z.ZodUnknown>>;
|
|
103
103
|
}, z.core.$strip>, z.ZodObject<{
|
|
104
104
|
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
105
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
105
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
106
106
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
107
107
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
108
108
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
@@ -119,7 +119,7 @@ declare const retrieveUserInitialsImageForEnvelopes: _keystrokehq_core0.Operatio
|
|
|
119
119
|
contentDisposition: z.ZodOptional<z.ZodString>;
|
|
120
120
|
status: z.ZodNumber;
|
|
121
121
|
body: z.ZodString;
|
|
122
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
122
|
+
}, z.core.$catchall<z.ZodUnknown>>, 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;
|
|
@@ -137,7 +137,7 @@ declare const deleteUserInitialsOrSignatureImage: _keystrokehq_core0.Operation<z
|
|
|
137
137
|
}>>;
|
|
138
138
|
}, z.core.$strip>, z.ZodObject<{
|
|
139
139
|
success: z.ZodBoolean;
|
|
140
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
140
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
141
141
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
142
142
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
143
143
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
@@ -151,7 +151,7 @@ declare const removeUserSignatureInformation: _keystrokehq_core0.Operation<z.Zod
|
|
|
151
151
|
signatureId: z.ZodString;
|
|
152
152
|
}, z.core.$strip>, z.ZodObject<{
|
|
153
153
|
success: z.ZodBoolean;
|
|
154
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
154
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
155
155
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
156
156
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
157
157
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
@@ -166,7 +166,7 @@ declare const setInitialsImageForAccountlessSigner: _keystrokehq_core0.Operation
|
|
|
166
166
|
image: z.ZodString;
|
|
167
167
|
}, z.core.$strip>, z.ZodObject<{
|
|
168
168
|
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
169
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
169
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
170
170
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
171
171
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
172
172
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
@@ -181,7 +181,7 @@ declare const setSignatureImageForNoAccountSigner: _keystrokehq_core0.Operation<
|
|
|
181
181
|
image: z.ZodString;
|
|
182
182
|
}, z.core.$strip>, z.ZodObject<{
|
|
183
183
|
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
184
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
184
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
185
185
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
186
186
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
187
187
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
@@ -195,7 +195,7 @@ declare const deleteSignatureForCaptiveRecipients: _keystrokehq_core0.Operation<
|
|
|
195
195
|
recipientId: z.ZodString;
|
|
196
196
|
}, z.core.$strip>, z.ZodObject<{
|
|
197
197
|
success: z.ZodBoolean;
|
|
198
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
198
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
199
199
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
200
200
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
201
201
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
package/dist/user-signatures.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { docusignGenericObjectSchema, docusignLooseObjectSchema, docusignSuccessSchema } from "./schemas/index.mjs";
|
|
2
|
-
import { r as defineRestOperation, t as defineBinaryOperation } from "./operation-helpers-
|
|
2
|
+
import { r as defineRestOperation, t as defineBinaryOperation } from "./operation-helpers-Bqp7KoLi.mjs";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
|
|
5
5
|
//#region src/user-signatures.ts
|
|
@@ -15,7 +15,7 @@ const binaryResponseSchema = docusignLooseObjectSchema({
|
|
|
15
15
|
body: z.string()
|
|
16
16
|
});
|
|
17
17
|
const addOrUpdateUserSignature = defineRestOperation({
|
|
18
|
-
id: "
|
|
18
|
+
id: "docusign.add-or-update-user-signature",
|
|
19
19
|
slug: "DOCUSIGN_ADD_OR_UPDATE_USER_SIGNATURE",
|
|
20
20
|
name: "Add Or Update User Signature",
|
|
21
21
|
description: "Add or update user signature definitions.",
|
|
@@ -27,7 +27,7 @@ const addOrUpdateUserSignature = defineRestOperation({
|
|
|
27
27
|
body: (input) => ({ userSignatures: input.userSignatures })
|
|
28
28
|
});
|
|
29
29
|
const addUserSignatureAndInitialsImages = defineRestOperation({
|
|
30
|
-
id: "
|
|
30
|
+
id: "docusign.add-user-signature-and-initials-images",
|
|
31
31
|
slug: "DOCUSIGN_ADD_USER_SIGNATURE_AND_INITIALS_IMAGES",
|
|
32
32
|
name: "Add User Signature And Initials Images",
|
|
33
33
|
description: "Add signature and initials images for a user.",
|
|
@@ -39,7 +39,7 @@ const addUserSignatureAndInitialsImages = defineRestOperation({
|
|
|
39
39
|
body: (input) => ({ userSignatures: input.userSignatures })
|
|
40
40
|
});
|
|
41
41
|
const retrieveUserSignatureDefinitions = defineRestOperation({
|
|
42
|
-
id: "
|
|
42
|
+
id: "docusign.retrieve-user-signature-definitions",
|
|
43
43
|
slug: "DOCUSIGN_RETRIEVE_USER_SIGNATURE_DEFINITIONS",
|
|
44
44
|
name: "Retrieve User Signature Definitions",
|
|
45
45
|
description: "List signature definitions on a user.",
|
|
@@ -49,7 +49,7 @@ const retrieveUserSignatureDefinitions = defineRestOperation({
|
|
|
49
49
|
output: docusignGenericObjectSchema
|
|
50
50
|
});
|
|
51
51
|
const retrieveUserSignatureInformation = defineRestOperation({
|
|
52
|
-
id: "
|
|
52
|
+
id: "docusign.retrieve-user-signature-information",
|
|
53
53
|
slug: "DOCUSIGN_RETRIEVE_USER_SIGNATURE_INFORMATION",
|
|
54
54
|
name: "Retrieve User Signature Information",
|
|
55
55
|
description: "Retrieve information about a specific signature on a user.",
|
|
@@ -59,7 +59,7 @@ const retrieveUserSignatureInformation = defineRestOperation({
|
|
|
59
59
|
output: docusignGenericObjectSchema
|
|
60
60
|
});
|
|
61
61
|
const retrieveUserSignatureImage = defineBinaryOperation({
|
|
62
|
-
id: "
|
|
62
|
+
id: "docusign.retrieve-user-signature-image",
|
|
63
63
|
slug: "DOCUSIGN_RETRIEVE_USER_SIGNATURE_IMAGE",
|
|
64
64
|
name: "Retrieve User Signature Image",
|
|
65
65
|
description: "Download the signature image for a user.",
|
|
@@ -70,7 +70,7 @@ const retrieveUserSignatureImage = defineBinaryOperation({
|
|
|
70
70
|
output: binaryResponseSchema
|
|
71
71
|
});
|
|
72
72
|
const setUserSignatureImage = defineRestOperation({
|
|
73
|
-
id: "
|
|
73
|
+
id: "docusign.set-user-signature-image",
|
|
74
74
|
slug: "DOCUSIGN_SET_USER_SIGNATURE_IMAGE",
|
|
75
75
|
name: "Set User Signature Image",
|
|
76
76
|
description: "Upload a new signature image for a user.",
|
|
@@ -82,7 +82,7 @@ const setUserSignatureImage = defineRestOperation({
|
|
|
82
82
|
body: (input) => ({ image: input.image })
|
|
83
83
|
});
|
|
84
84
|
const updateUserSignatureById = defineRestOperation({
|
|
85
|
-
id: "
|
|
85
|
+
id: "docusign.update-user-signature-by-id",
|
|
86
86
|
slug: "DOCUSIGN_UPDATE_USER_SIGNATURE_BY_ID",
|
|
87
87
|
name: "Update User Signature By Id",
|
|
88
88
|
description: "Update a single signature definition on a user.",
|
|
@@ -94,7 +94,7 @@ const updateUserSignatureById = defineRestOperation({
|
|
|
94
94
|
body: (input) => input.signature
|
|
95
95
|
});
|
|
96
96
|
const retrieveUserInitialsImageForEnvelopes = defineBinaryOperation({
|
|
97
|
-
id: "
|
|
97
|
+
id: "docusign.retrieve-user-initials-image-for-envelopes",
|
|
98
98
|
slug: "DOCUSIGN_RETRIEVE_USER_INITIALS_IMAGE_FOR_ENVELOPES",
|
|
99
99
|
name: "Retrieve User Initials Image",
|
|
100
100
|
description: "Download the initials image for a user.",
|
|
@@ -105,7 +105,7 @@ const retrieveUserInitialsImageForEnvelopes = defineBinaryOperation({
|
|
|
105
105
|
output: binaryResponseSchema
|
|
106
106
|
});
|
|
107
107
|
const deleteUserInitialsOrSignatureImage = defineRestOperation({
|
|
108
|
-
id: "
|
|
108
|
+
id: "docusign.delete-user-initials-or-signature-image",
|
|
109
109
|
slug: "DOCUSIGN_DELETE_USER_INITIALS_OR_SIGNATURE_IMAGE",
|
|
110
110
|
name: "Delete User Initials Or Signature Image",
|
|
111
111
|
description: "Delete a user signature or initials image.",
|
|
@@ -117,7 +117,7 @@ const deleteUserInitialsOrSignatureImage = defineRestOperation({
|
|
|
117
117
|
transformResponse: () => ({ success: true })
|
|
118
118
|
});
|
|
119
119
|
const removeUserSignatureInformation = defineRestOperation({
|
|
120
|
-
id: "
|
|
120
|
+
id: "docusign.remove-user-signature-information",
|
|
121
121
|
slug: "DOCUSIGN_REMOVE_USER_SIGNATURE_INFORMATION",
|
|
122
122
|
name: "Remove User Signature Information",
|
|
123
123
|
description: "Remove all signature information for a user.",
|
|
@@ -129,7 +129,7 @@ const removeUserSignatureInformation = defineRestOperation({
|
|
|
129
129
|
transformResponse: () => ({ success: true })
|
|
130
130
|
});
|
|
131
131
|
const setInitialsImageForAccountlessSigner = defineRestOperation({
|
|
132
|
-
id: "
|
|
132
|
+
id: "docusign.set-initials-image-for-accountless-signer",
|
|
133
133
|
slug: "DOCUSIGN_SET_INITIALS_IMAGE_FOR_ACCOUNTLESS_SIGNER",
|
|
134
134
|
name: "Set Initials For Accountless Signer",
|
|
135
135
|
description: "Set initials image for an accountless signer (captive recipient).",
|
|
@@ -145,7 +145,7 @@ const setInitialsImageForAccountlessSigner = defineRestOperation({
|
|
|
145
145
|
body: (input) => ({ image: input.image })
|
|
146
146
|
});
|
|
147
147
|
const setSignatureImageForNoAccountSigner = defineRestOperation({
|
|
148
|
-
id: "
|
|
148
|
+
id: "docusign.set-signature-image-for-no-account-signer",
|
|
149
149
|
slug: "DOCUSIGN_SET_SIGNATURE_IMAGE_FOR_NO_ACCOUNT_SIGNER",
|
|
150
150
|
name: "Set Signature For No-Account Signer",
|
|
151
151
|
description: "Set signature image for a captive recipient.",
|
|
@@ -161,7 +161,7 @@ const setSignatureImageForNoAccountSigner = defineRestOperation({
|
|
|
161
161
|
body: (input) => ({ image: input.image })
|
|
162
162
|
});
|
|
163
163
|
const deleteSignatureForCaptiveRecipients = defineRestOperation({
|
|
164
|
-
id: "
|
|
164
|
+
id: "docusign.delete-signature-for-captive-recipients",
|
|
165
165
|
slug: "DOCUSIGN_DELETE_SIGNATURE_FOR_CAPTIVE_RECIPIENTS",
|
|
166
166
|
name: "Delete Signature For Captive Recipients",
|
|
167
167
|
description: "Delete signature images for captive recipients on an envelope.",
|