@keystrokehq/docusign 0.0.11 → 0.0.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_official/index.d.mts +5 -19
- package/dist/_official/index.mjs +1 -1
- package/dist/account-custom-fields.d.mts +9 -26
- package/dist/account-custom-fields.mjs +1 -1
- package/dist/account-stamps.d.mts +23 -68
- package/dist/account-stamps.mjs +1 -1
- package/dist/account-tabs.d.mts +13 -38
- package/dist/account-tabs.mjs +1 -1
- package/dist/account.d.mts +37 -110
- package/dist/account.mjs +1 -1
- package/dist/admin.d.mts +3 -8
- package/dist/admin.mjs +1 -1
- package/dist/auth.d.mts +5 -14
- package/dist/auth.mjs +15 -4
- package/dist/bcc-archive.d.mts +9 -26
- package/dist/bcc-archive.mjs +1 -1
- package/dist/billing.d.mts +33 -98
- package/dist/billing.mjs +1 -1
- package/dist/brands.d.mts +23 -68
- package/dist/brands.mjs +1 -1
- package/dist/bulk-send.d.mts +17 -50
- package/dist/bulk-send.mjs +1 -1
- package/dist/chunked-uploads.d.mts +11 -32
- package/dist/chunked-uploads.mjs +1 -1
- package/dist/click.d.mts +3 -8
- package/dist/click.mjs +1 -1
- package/dist/client.d.mts +1 -1
- package/dist/client.mjs +3 -3
- package/dist/clm.d.mts +3 -8
- package/dist/clm.mjs +1 -1
- package/dist/cloud-storage.d.mts +15 -44
- package/dist/cloud-storage.mjs +1 -1
- package/dist/connect.d.mts +35 -104
- package/dist/connect.mjs +1 -1
- package/dist/connection.d.mts +1 -1
- package/dist/connection.mjs +1 -1
- package/dist/contacts.d.mts +11 -32
- package/dist/contacts.mjs +1 -1
- package/dist/enote.d.mts +7 -20
- package/dist/enote.mjs +1 -1
- package/dist/envelope-attachments.d.mts +11 -32
- package/dist/envelope-attachments.mjs +1 -1
- package/dist/envelope-custom-fields.d.mts +15 -44
- package/dist/envelope-custom-fields.mjs +1 -1
- package/dist/envelope-documents.d.mts +33 -98
- package/dist/envelope-documents.mjs +1 -1
- package/dist/envelope-email.d.mts +9 -26
- package/dist/envelope-email.mjs +1 -1
- package/dist/envelope-lock.d.mts +9 -26
- package/dist/envelope-lock.mjs +1 -1
- package/dist/envelope-logs.d.mts +19 -56
- package/dist/envelope-logs.mjs +1 -1
- package/dist/envelope-notifications.d.mts +7 -20
- package/dist/envelope-notifications.mjs +1 -1
- package/dist/envelope-recipients.d.mts +23 -68
- package/dist/envelope-recipients.mjs +1 -1
- package/dist/envelope-tabs.d.mts +7 -20
- package/dist/envelope-tabs.mjs +1 -1
- package/dist/envelope-views.d.mts +13 -38
- package/dist/envelope-views.mjs +1 -1
- package/dist/envelope-workflow.d.mts +29 -86
- package/dist/envelope-workflow.mjs +1 -1
- package/dist/envelopes.d.mts +27 -80
- package/dist/envelopes.mjs +1 -1
- package/dist/factory-5kY-Jnda.mjs +8 -0
- package/dist/groups.d.mts +21 -62
- package/dist/groups.mjs +1 -1
- package/dist/integration-H05G5JY8.mjs +112 -0
- package/dist/integration-Mk1ScWT6.d.mts +30 -0
- package/dist/monitor.d.mts +3 -8
- package/dist/monitor.mjs +1 -1
- package/dist/notary.d.mts +19 -56
- package/dist/notary.mjs +1 -1
- package/dist/{operation-helpers-Bqp7KoLi.mjs → operation-helpers-D25WHTo1.mjs} +1 -1
- package/dist/permission-profiles.d.mts +11 -32
- package/dist/permission-profiles.mjs +1 -1
- package/dist/power-forms.d.mts +7 -20
- package/dist/power-forms.mjs +1 -1
- package/dist/rooms.d.mts +3 -8
- package/dist/rooms.mjs +1 -1
- package/dist/signing-groups.d.mts +19 -56
- package/dist/signing-groups.mjs +1 -1
- package/dist/template-custom-fields.d.mts +17 -50
- package/dist/template-custom-fields.mjs +1 -1
- package/dist/template-documents.d.mts +17 -50
- package/dist/template-documents.mjs +1 -1
- package/dist/template-lock.d.mts +9 -26
- package/dist/template-lock.mjs +1 -1
- package/dist/template-sharing.d.mts +17 -50
- package/dist/template-sharing.mjs +1 -1
- package/dist/template-workflow.d.mts +25 -74
- package/dist/template-workflow.mjs +1 -1
- package/dist/templates.d.mts +15 -44
- package/dist/templates.mjs +1 -1
- package/dist/user-authorizations.d.mts +17 -50
- package/dist/user-authorizations.mjs +1 -1
- package/dist/user-custom-settings.d.mts +11 -32
- package/dist/user-custom-settings.mjs +1 -1
- package/dist/user-profile.d.mts +15 -44
- package/dist/user-profile.mjs +1 -1
- package/dist/user-signatures.d.mts +27 -80
- package/dist/user-signatures.mjs +1 -1
- package/dist/users.d.mts +13 -38
- package/dist/users.mjs +1 -1
- package/dist/workspaces.d.mts +23 -68
- package/dist/workspaces.mjs +1 -1
- package/package.json +5 -6
- package/dist/factory-DFejlPDe.mjs +0 -7
- package/dist/integration-BcEp_dFX.mjs +0 -365
- package/dist/integration-CdIRNjCz.d.mts +0 -72
package/dist/groups.d.mts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import * as _keystrokehq_core0 from "@keystrokehq/core";
|
|
2
1
|
import { z } from "zod";
|
|
3
|
-
import * as
|
|
2
|
+
import * as _keystrokehq_core0 from "@keystrokehq/core";
|
|
4
3
|
|
|
5
4
|
//#region src/groups.d.ts
|
|
6
5
|
declare const createGroupsForAccount: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
@@ -20,15 +19,11 @@ declare const createGroupsForAccount: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
20
19
|
groupType: z.ZodOptional<z.ZodString>;
|
|
21
20
|
permissionProfileId: z.ZodOptional<z.ZodString>;
|
|
22
21
|
}, z.core.$catchall<z.ZodUnknown>>>>;
|
|
23
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"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>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
22
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:docusign", z.ZodObject<{
|
|
28
23
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
29
24
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
30
25
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
31
|
-
}, z.core.$strip>>
|
|
26
|
+
}, z.core.$strip>>], undefined>;
|
|
32
27
|
declare const getGroupsInformationForAccount: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
33
28
|
startPosition: z.ZodOptional<z.ZodNumber>;
|
|
34
29
|
count: z.ZodOptional<z.ZodNumber>;
|
|
@@ -47,15 +42,11 @@ declare const getGroupsInformationForAccount: _keystrokehq_core0.Operation<z.Zod
|
|
|
47
42
|
groupType: z.ZodOptional<z.ZodString>;
|
|
48
43
|
permissionProfileId: z.ZodOptional<z.ZodString>;
|
|
49
44
|
}, z.core.$catchall<z.ZodUnknown>>>>;
|
|
50
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
51
|
-
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
52
|
-
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
53
|
-
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
54
|
-
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
45
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:docusign", z.ZodObject<{
|
|
55
46
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
56
47
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
57
48
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
58
|
-
}, z.core.$strip>>
|
|
49
|
+
}, z.core.$strip>>], undefined>;
|
|
59
50
|
declare const updateGroupInformation: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
60
51
|
groups: z.ZodArray<z.ZodObject<{
|
|
61
52
|
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
@@ -73,30 +64,22 @@ declare const updateGroupInformation: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
73
64
|
groupType: z.ZodOptional<z.ZodString>;
|
|
74
65
|
permissionProfileId: z.ZodOptional<z.ZodString>;
|
|
75
66
|
}, z.core.$catchall<z.ZodUnknown>>>>;
|
|
76
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
67
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:docusign", z.ZodObject<{
|
|
77
68
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
78
69
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
79
70
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
80
|
-
}, z.core.$strip
|
|
81
|
-
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
82
|
-
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
83
|
-
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
84
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
71
|
+
}, z.core.$strip>>], undefined>;
|
|
85
72
|
declare const deleteUserGroup: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
86
73
|
groups: z.ZodArray<z.ZodObject<{
|
|
87
74
|
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
88
75
|
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
89
76
|
}, z.core.$strip>, z.ZodObject<{
|
|
90
77
|
success: z.ZodBoolean;
|
|
91
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
92
|
-
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
93
|
-
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
94
|
-
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
95
|
-
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
78
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:docusign", z.ZodObject<{
|
|
96
79
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
97
80
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
98
81
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
99
|
-
}, z.core.$strip>>
|
|
82
|
+
}, z.core.$strip>>], undefined>;
|
|
100
83
|
declare const addUsersToExistingGroup: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
101
84
|
groupId: z.ZodString;
|
|
102
85
|
users: z.ZodArray<z.ZodObject<{
|
|
@@ -104,30 +87,22 @@ declare const addUsersToExistingGroup: _keystrokehq_core0.Operation<z.ZodObject<
|
|
|
104
87
|
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
105
88
|
}, z.core.$strip>, z.ZodObject<{
|
|
106
89
|
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
107
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
108
|
-
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
109
|
-
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
110
|
-
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
111
|
-
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
90
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:docusign", z.ZodObject<{
|
|
112
91
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
113
92
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
114
93
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
115
|
-
}, z.core.$strip>>
|
|
94
|
+
}, z.core.$strip>>], undefined>;
|
|
116
95
|
declare const getUsersInGroup: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
117
96
|
groupId: z.ZodString;
|
|
118
97
|
startPosition: z.ZodOptional<z.ZodNumber>;
|
|
119
98
|
count: z.ZodOptional<z.ZodNumber>;
|
|
120
99
|
}, z.core.$strip>, z.ZodObject<{
|
|
121
100
|
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
122
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
123
|
-
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
124
|
-
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
125
|
-
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
126
|
-
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
101
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:docusign", z.ZodObject<{
|
|
127
102
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
128
103
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
129
104
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
130
|
-
}, z.core.$strip>>
|
|
105
|
+
}, z.core.$strip>>], undefined>;
|
|
131
106
|
declare const deleteUsersFromGroup: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
132
107
|
groupId: z.ZodString;
|
|
133
108
|
users: z.ZodArray<z.ZodObject<{
|
|
@@ -135,15 +110,11 @@ declare const deleteUsersFromGroup: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
135
110
|
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
136
111
|
}, z.core.$strip>, z.ZodObject<{
|
|
137
112
|
success: z.ZodBoolean;
|
|
138
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
113
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:docusign", z.ZodObject<{
|
|
139
114
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
140
115
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
141
116
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
142
|
-
}, z.core.$strip
|
|
143
|
-
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
144
|
-
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
145
|
-
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
146
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
117
|
+
}, z.core.$strip>>], undefined>;
|
|
147
118
|
declare const addExistingBrandToGroup: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
148
119
|
groupId: z.ZodString;
|
|
149
120
|
brands: z.ZodArray<z.ZodObject<{
|
|
@@ -151,41 +122,29 @@ declare const addExistingBrandToGroup: _keystrokehq_core0.Operation<z.ZodObject<
|
|
|
151
122
|
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
152
123
|
}, z.core.$strip>, z.ZodObject<{
|
|
153
124
|
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
154
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
155
|
-
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
156
|
-
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
157
|
-
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
158
|
-
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
125
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:docusign", z.ZodObject<{
|
|
159
126
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
160
127
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
161
128
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
162
|
-
}, z.core.$strip>>
|
|
129
|
+
}, z.core.$strip>>], undefined>;
|
|
163
130
|
declare const deleteBrandFromGroup: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
164
131
|
groupId: z.ZodString;
|
|
165
132
|
brandId: z.ZodString;
|
|
166
133
|
}, z.core.$strip>, z.ZodObject<{
|
|
167
134
|
success: z.ZodBoolean;
|
|
168
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
169
|
-
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
170
|
-
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
171
|
-
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
172
|
-
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
135
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:docusign", z.ZodObject<{
|
|
173
136
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
174
137
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
175
138
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
176
|
-
}, z.core.$strip>>
|
|
139
|
+
}, z.core.$strip>>], undefined>;
|
|
177
140
|
declare const getBrandsInformationForGroup: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
178
141
|
groupId: z.ZodString;
|
|
179
142
|
}, z.core.$strip>, z.ZodObject<{
|
|
180
143
|
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
181
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
182
|
-
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
183
|
-
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
184
|
-
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
185
|
-
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
144
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:docusign", z.ZodObject<{
|
|
186
145
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
187
146
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
188
147
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
189
|
-
}, z.core.$strip>>
|
|
148
|
+
}, z.core.$strip>>], undefined>;
|
|
190
149
|
//#endregion
|
|
191
150
|
export { addExistingBrandToGroup, addUsersToExistingGroup, createGroupsForAccount, deleteBrandFromGroup, deleteUserGroup, deleteUsersFromGroup, getBrandsInformationForGroup, getGroupsInformationForAccount, getUsersInGroup, updateGroupInformation };
|
package/dist/groups.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { docusignGenericObjectSchema, docusignGroupListSchema, docusignListPaginationInputSchema, docusignLooseObjectSchema, docusignSuccessSchema } from "./schemas/index.mjs";
|
|
2
|
-
import { r as defineRestOperation } from "./operation-helpers-
|
|
2
|
+
import { r as defineRestOperation } from "./operation-helpers-D25WHTo1.mjs";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
|
|
5
5
|
//#region src/groups.ts
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
import { defineOfficialIntegration, officialCredentialSetId } from "@keystrokehq/integration-authoring/official";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
import { CredentialSet } from "@keystrokehq/core";
|
|
4
|
+
|
|
5
|
+
//#region src/_official/provider-app.ts
|
|
6
|
+
/**
|
|
7
|
+
* Keystroke-owned OAuth client definition for the DocuSign public connection.
|
|
8
|
+
*
|
|
9
|
+
* Used for: OAuth authorization-code exchange, refresh, and the embedded
|
|
10
|
+
* `/oauth/userinfo` lookup that resolves an account's `baseUri`.
|
|
11
|
+
*/
|
|
12
|
+
const docusignAppCredentialSet = new CredentialSet({
|
|
13
|
+
id: officialCredentialSetId("docusign-app"),
|
|
14
|
+
credentialType: "manual",
|
|
15
|
+
exposure: "platform-only",
|
|
16
|
+
name: "DocuSign App",
|
|
17
|
+
auth: z.object({
|
|
18
|
+
clientId: z.string().min(1),
|
|
19
|
+
clientSecret: z.string().min(1)
|
|
20
|
+
})
|
|
21
|
+
});
|
|
22
|
+
/**
|
|
23
|
+
* Keystroke-owned Connect webhook signing secrets.
|
|
24
|
+
*
|
|
25
|
+
* DocuSign Connect allows up to 10 concurrent HMAC shared secrets for rotation.
|
|
26
|
+
* Each outbound webhook is signed with every enabled secret as a separate
|
|
27
|
+
* `X-DocuSign-Signature-{N}` header. Verification accepts a delivery if any
|
|
28
|
+
* header matches any configured secret under a constant-time compare.
|
|
29
|
+
*
|
|
30
|
+
* Secrets are parsed from `KEYSTROKE_OFFICIAL_DOCUSIGN_CONNECT_HMAC_SECRETS`,
|
|
31
|
+
* a comma-separated list with newest first.
|
|
32
|
+
*/
|
|
33
|
+
const docusignConnectCredentialSet = new CredentialSet({
|
|
34
|
+
id: officialCredentialSetId("docusign-connect"),
|
|
35
|
+
credentialType: "manual",
|
|
36
|
+
exposure: "platform-only",
|
|
37
|
+
name: "DocuSign Connect",
|
|
38
|
+
auth: z.object({ hmacSecrets: z.array(z.string().min(1)).min(1) })
|
|
39
|
+
});
|
|
40
|
+
/**
|
|
41
|
+
* Keystroke-owned JWT Grant integrator key + RSA private key.
|
|
42
|
+
*
|
|
43
|
+
* Declared for forward compatibility: runtime paths that require JWT Grant
|
|
44
|
+
* (historical envelope replay, backend impersonation) will consume this
|
|
45
|
+
* credential set in a follow-up without a registry change. Not wired to any
|
|
46
|
+
* runtime path in v1 — any operation that would need JWT throws
|
|
47
|
+
* `DocusignApiError.notImplemented({ kind: 'plan_gated' })` until then.
|
|
48
|
+
*/
|
|
49
|
+
const docusignJwtCredentialSet = new CredentialSet({
|
|
50
|
+
id: officialCredentialSetId("docusign-jwt"),
|
|
51
|
+
credentialType: "manual",
|
|
52
|
+
exposure: "platform-only",
|
|
53
|
+
name: "DocuSign JWT",
|
|
54
|
+
auth: z.object({
|
|
55
|
+
integratorKey: z.string().min(1),
|
|
56
|
+
impersonatedUserId: z.uuid(),
|
|
57
|
+
privateKeyPem: z.string().min(1),
|
|
58
|
+
oauthHost: z.enum(["account.docusign.com", "account-d.docusign.com"])
|
|
59
|
+
})
|
|
60
|
+
});
|
|
61
|
+
/**
|
|
62
|
+
* Parse the comma-separated `KEYSTROKE_OFFICIAL_DOCUSIGN_CONNECT_HMAC_SECRETS`
|
|
63
|
+
* env value into the array shape the internal credential set expects. Empty
|
|
64
|
+
* input resolves to `[]`, which fails the `.min(1)` parse so Connect triggers
|
|
65
|
+
* reject deliveries until the env is populated.
|
|
66
|
+
*/
|
|
67
|
+
function parseHmacSecrets(raw) {
|
|
68
|
+
if (!raw) return [];
|
|
69
|
+
return raw.split(",").map((secret) => secret.trim()).filter((secret) => secret.length > 0);
|
|
70
|
+
}
|
|
71
|
+
const docusignOfficialProviderSeed = {
|
|
72
|
+
provider: "docusign",
|
|
73
|
+
appRef: "docusign-platform",
|
|
74
|
+
displayName: "DocuSign Platform",
|
|
75
|
+
credentialSetName: "Keystroke DocuSign Platform App",
|
|
76
|
+
envShape: {
|
|
77
|
+
KEYSTROKE_OFFICIAL_DOCUSIGN_CLIENT_ID: z.string().optional(),
|
|
78
|
+
KEYSTROKE_OFFICIAL_DOCUSIGN_CLIENT_SECRET: z.string().optional()
|
|
79
|
+
},
|
|
80
|
+
requiredEnvKeys: ["KEYSTROKE_OFFICIAL_DOCUSIGN_CLIENT_ID", "KEYSTROKE_OFFICIAL_DOCUSIGN_CLIENT_SECRET"],
|
|
81
|
+
externalAppIdEnvKey: "KEYSTROKE_OFFICIAL_DOCUSIGN_CLIENT_ID",
|
|
82
|
+
buildCredentials: (env) => ({
|
|
83
|
+
clientId: env.KEYSTROKE_OFFICIAL_DOCUSIGN_CLIENT_ID,
|
|
84
|
+
clientSecret: env.KEYSTROKE_OFFICIAL_DOCUSIGN_CLIENT_SECRET
|
|
85
|
+
})
|
|
86
|
+
};
|
|
87
|
+
|
|
88
|
+
//#endregion
|
|
89
|
+
//#region src/integration.ts
|
|
90
|
+
const docusignAuthSchema = z.object({
|
|
91
|
+
DOCUSIGN_ACCESS_TOKEN: z.string().min(1),
|
|
92
|
+
DOCUSIGN_ACCOUNT_ID: z.string().min(1),
|
|
93
|
+
DOCUSIGN_BASE_URI: z.url()
|
|
94
|
+
});
|
|
95
|
+
const docusignOfficialIntegration = {
|
|
96
|
+
id: "docusign",
|
|
97
|
+
name: "DocuSign",
|
|
98
|
+
description: "DocuSign eSignature, templates, bulk-send, Connect webhooks, and account/admin surfaces for Keystroke workflows",
|
|
99
|
+
credentialType: "oauth",
|
|
100
|
+
auth: docusignAuthSchema
|
|
101
|
+
};
|
|
102
|
+
const docusignBundle = defineOfficialIntegration({
|
|
103
|
+
...docusignOfficialIntegration,
|
|
104
|
+
internal: {
|
|
105
|
+
providerApp: docusignAppCredentialSet,
|
|
106
|
+
other: [docusignConnectCredentialSet, docusignJwtCredentialSet]
|
|
107
|
+
}
|
|
108
|
+
});
|
|
109
|
+
const docusign = docusignBundle.credentialSet;
|
|
110
|
+
|
|
111
|
+
//#endregion
|
|
112
|
+
export { docusignConnectCredentialSet as a, parseHmacSecrets as c, docusignAppCredentialSet as i, docusignBundle as n, docusignJwtCredentialSet as o, docusignOfficialIntegration as r, docusignOfficialProviderSeed as s, docusign as t };
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import * as _keystrokehq_integration_authoring_official0 from "@keystrokehq/integration-authoring/official";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
import * as _keystrokehq_core0 from "@keystrokehq/core";
|
|
4
|
+
import { InferCredentialSetAuth } from "@keystrokehq/core/credential-set";
|
|
5
|
+
|
|
6
|
+
//#region src/integration.d.ts
|
|
7
|
+
declare const docusignOfficialIntegration: {
|
|
8
|
+
id: "docusign";
|
|
9
|
+
name: string;
|
|
10
|
+
description: string;
|
|
11
|
+
credentialType: "oauth";
|
|
12
|
+
auth: z.ZodObject<{
|
|
13
|
+
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
14
|
+
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
15
|
+
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
16
|
+
}, z.core.$strip>;
|
|
17
|
+
};
|
|
18
|
+
declare const docusignBundle: _keystrokehq_integration_authoring_official0.OfficialIntegrationBundle<"docusign", z.ZodObject<{
|
|
19
|
+
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
20
|
+
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
21
|
+
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
22
|
+
}, z.core.$strip>>;
|
|
23
|
+
declare const docusign: _keystrokehq_core0.CredentialSet<"keystroke:docusign", z.ZodObject<{
|
|
24
|
+
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
25
|
+
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
26
|
+
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
27
|
+
}, z.core.$strip>>;
|
|
28
|
+
type DocusignCredentials = InferCredentialSetAuth<typeof docusign>;
|
|
29
|
+
//#endregion
|
|
30
|
+
export { docusignOfficialIntegration as i, docusign as n, docusignBundle as r, DocusignCredentials as t };
|
package/dist/monitor.d.mts
CHANGED
|
@@ -1,18 +1,13 @@
|
|
|
1
|
-
import * as _keystrokehq_core0 from "@keystrokehq/core";
|
|
2
1
|
import { z } from "zod";
|
|
3
|
-
import * as
|
|
2
|
+
import * as _keystrokehq_core0 from "@keystrokehq/core";
|
|
4
3
|
|
|
5
4
|
//#region src/monitor.d.ts
|
|
6
5
|
declare const monitorNotImplemented: _keystrokehq_core0.Operation<z.ZodObject<{}, z.core.$catchall<z.ZodUnknown>>, z.ZodObject<{
|
|
7
6
|
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
8
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
9
|
-
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
10
|
-
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
11
|
-
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
12
|
-
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
7
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:docusign", z.ZodObject<{
|
|
13
8
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
14
9
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
15
10
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
16
|
-
}, z.core.$strip>>
|
|
11
|
+
}, z.core.$strip>>], undefined>;
|
|
17
12
|
//#endregion
|
|
18
13
|
export { monitorNotImplemented };
|
package/dist/monitor.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { docusignGenericObjectSchema } from "./schemas/index.mjs";
|
|
2
|
-
import { n as definePlanGatedOperation } from "./operation-helpers-
|
|
2
|
+
import { n as definePlanGatedOperation } from "./operation-helpers-D25WHTo1.mjs";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
|
|
5
5
|
//#region src/monitor.ts
|
package/dist/notary.d.mts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import * as _keystrokehq_core0 from "@keystrokehq/core";
|
|
2
1
|
import { z } from "zod";
|
|
3
|
-
import * as
|
|
2
|
+
import * as _keystrokehq_core0 from "@keystrokehq/core";
|
|
4
3
|
|
|
5
4
|
//#region src/notary.d.ts
|
|
6
5
|
declare const registerCurrentUserAsNotary: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
@@ -9,82 +8,58 @@ declare const registerCurrentUserAsNotary: _keystrokehq_core0.Operation<z.ZodObj
|
|
|
9
8
|
}, z.core.$catchall<z.ZodUnknown>>;
|
|
10
9
|
}, z.core.$strip>, z.ZodObject<{
|
|
11
10
|
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
12
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
13
|
-
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
14
|
-
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
15
|
-
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
16
|
-
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
11
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:docusign", z.ZodObject<{
|
|
17
12
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
18
13
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
19
14
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
20
|
-
}, z.core.$strip>>
|
|
15
|
+
}, z.core.$strip>>], undefined>;
|
|
21
16
|
declare const getNotaryUserSettings: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
22
17
|
includeJurisdictions: z.ZodOptional<z.ZodBoolean>;
|
|
23
18
|
}, z.core.$strip>, z.ZodObject<{
|
|
24
19
|
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
25
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
26
|
-
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
27
|
-
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
28
|
-
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
29
|
-
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
20
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:docusign", z.ZodObject<{
|
|
30
21
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
31
22
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
32
23
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
33
|
-
}, z.core.$strip>>
|
|
24
|
+
}, z.core.$strip>>], undefined>;
|
|
34
25
|
declare const updateUserNotaryInformation: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
35
26
|
notary: z.ZodObject<{
|
|
36
27
|
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
37
28
|
}, z.core.$catchall<z.ZodUnknown>>;
|
|
38
29
|
}, z.core.$strip>, z.ZodObject<{
|
|
39
30
|
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
40
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
31
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:docusign", z.ZodObject<{
|
|
41
32
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
42
33
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
43
34
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
44
|
-
}, z.core.$strip
|
|
45
|
-
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
46
|
-
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
47
|
-
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
48
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
35
|
+
}, z.core.$strip>>], undefined>;
|
|
49
36
|
declare const createNotaryJurisdictionObject: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
50
37
|
jurisdiction: z.ZodObject<{
|
|
51
38
|
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
52
39
|
}, z.core.$catchall<z.ZodUnknown>>;
|
|
53
40
|
}, z.core.$strip>, z.ZodObject<{
|
|
54
41
|
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
55
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
42
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:docusign", z.ZodObject<{
|
|
56
43
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
57
44
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
58
45
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
59
|
-
}, z.core.$strip
|
|
60
|
-
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
61
|
-
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
62
|
-
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
63
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
46
|
+
}, z.core.$strip>>], undefined>;
|
|
64
47
|
declare const getNotaryJurisdictionObject: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
65
48
|
jurisdictionId: z.ZodString;
|
|
66
49
|
}, z.core.$strip>, z.ZodObject<{
|
|
67
50
|
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
68
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
51
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:docusign", z.ZodObject<{
|
|
69
52
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
70
53
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
71
54
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
72
|
-
}, z.core.$strip
|
|
73
|
-
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
74
|
-
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
75
|
-
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
76
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
55
|
+
}, z.core.$strip>>], undefined>;
|
|
77
56
|
declare const getNotaryJurisdictionsForUser: _keystrokehq_core0.Operation<z.ZodObject<{}, z.core.$strip>, z.ZodObject<{
|
|
78
57
|
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
79
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
58
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:docusign", z.ZodObject<{
|
|
80
59
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
81
60
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
82
61
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
83
|
-
}, z.core.$strip
|
|
84
|
-
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
85
|
-
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
86
|
-
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
87
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
62
|
+
}, z.core.$strip>>], undefined>;
|
|
88
63
|
declare const updateNotaryJurisdictionInfo: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
89
64
|
jurisdictionId: z.ZodString;
|
|
90
65
|
jurisdiction: z.ZodObject<{
|
|
@@ -92,38 +67,26 @@ declare const updateNotaryJurisdictionInfo: _keystrokehq_core0.Operation<z.ZodOb
|
|
|
92
67
|
}, z.core.$catchall<z.ZodUnknown>>;
|
|
93
68
|
}, z.core.$strip>, z.ZodObject<{
|
|
94
69
|
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
95
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
96
|
-
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
97
|
-
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
98
|
-
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
99
|
-
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
70
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:docusign", z.ZodObject<{
|
|
100
71
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
101
72
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
102
73
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
103
|
-
}, z.core.$strip>>
|
|
74
|
+
}, z.core.$strip>>], undefined>;
|
|
104
75
|
declare const deleteNotaryJurisdiction: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
105
76
|
jurisdictionId: z.ZodString;
|
|
106
77
|
}, z.core.$strip>, z.ZodObject<{
|
|
107
78
|
success: z.ZodBoolean;
|
|
108
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
109
|
-
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
110
|
-
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
111
|
-
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
112
|
-
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
79
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:docusign", z.ZodObject<{
|
|
113
80
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
114
81
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
115
82
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
116
|
-
}, z.core.$strip>>
|
|
83
|
+
}, z.core.$strip>>], undefined>;
|
|
117
84
|
declare const listRegisteredNotaryJurisdictions: _keystrokehq_core0.Operation<z.ZodObject<{}, z.core.$strip>, z.ZodObject<{
|
|
118
85
|
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
119
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
120
|
-
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
121
|
-
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
122
|
-
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
123
|
-
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
86
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:docusign", z.ZodObject<{
|
|
124
87
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
125
88
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
126
89
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
127
|
-
}, z.core.$strip>>
|
|
90
|
+
}, z.core.$strip>>], undefined>;
|
|
128
91
|
//#endregion
|
|
129
92
|
export { createNotaryJurisdictionObject, deleteNotaryJurisdiction, getNotaryJurisdictionObject, getNotaryJurisdictionsForUser, getNotaryUserSettings, listRegisteredNotaryJurisdictions, registerCurrentUserAsNotary, updateNotaryJurisdictionInfo, updateUserNotaryInformation };
|
package/dist/notary.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { docusignGenericObjectSchema, docusignLooseObjectSchema, docusignSuccessSchema } from "./schemas/index.mjs";
|
|
2
|
-
import { r as defineRestOperation } from "./operation-helpers-
|
|
2
|
+
import { r as defineRestOperation } from "./operation-helpers-D25WHTo1.mjs";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
|
|
5
5
|
//#region src/notary.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { DocusignApiError } from "./errors.mjs";
|
|
2
2
|
import { n as omitUndefined, t as encodeDocusignPathSegment } from "./shared-DTUCJayR.mjs";
|
|
3
3
|
import { createDocusignClient } from "./client.mjs";
|
|
4
|
-
import { t as docusignOperation } from "./factory-
|
|
4
|
+
import { t as docusignOperation } from "./factory-5kY-Jnda.mjs";
|
|
5
5
|
|
|
6
6
|
//#region src/operation-helpers.ts
|
|
7
7
|
function defineRestOperation(config) {
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import * as _keystrokehq_core0 from "@keystrokehq/core";
|
|
2
1
|
import { z } from "zod";
|
|
3
|
-
import * as
|
|
2
|
+
import * as _keystrokehq_core0 from "@keystrokehq/core";
|
|
4
3
|
|
|
5
4
|
//#region src/permission-profiles.d.ts
|
|
6
5
|
declare const createNewAccountPermissionProfile: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
@@ -9,42 +8,30 @@ declare const createNewAccountPermissionProfile: _keystrokehq_core0.Operation<z.
|
|
|
9
8
|
}, z.core.$catchall<z.ZodUnknown>>;
|
|
10
9
|
}, z.core.$strip>, z.ZodObject<{
|
|
11
10
|
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
12
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
13
|
-
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
14
|
-
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
15
|
-
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
16
|
-
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
11
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:docusign", z.ZodObject<{
|
|
17
12
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
18
13
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
19
14
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
20
|
-
}, z.core.$strip>>
|
|
15
|
+
}, z.core.$strip>>], undefined>;
|
|
21
16
|
declare const getListOfAccountPermissionProfiles: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
22
17
|
include: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
23
18
|
}, z.core.$strip>, z.ZodObject<{
|
|
24
19
|
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
25
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
20
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:docusign", z.ZodObject<{
|
|
26
21
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
27
22
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
28
23
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
29
|
-
}, z.core.$strip
|
|
30
|
-
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
31
|
-
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
32
|
-
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
33
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
24
|
+
}, z.core.$strip>>], undefined>;
|
|
34
25
|
declare const getPermissionProfileForAccount: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
35
26
|
permissionProfileId: z.ZodString;
|
|
36
27
|
include: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
37
28
|
}, z.core.$strip>, z.ZodObject<{
|
|
38
29
|
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
39
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
30
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:docusign", z.ZodObject<{
|
|
40
31
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
41
32
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
42
33
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
43
|
-
}, z.core.$strip
|
|
44
|
-
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
45
|
-
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
46
|
-
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
47
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
34
|
+
}, z.core.$strip>>], undefined>;
|
|
48
35
|
declare const updatePermissionProfileSettings: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
49
36
|
permissionProfileId: z.ZodString;
|
|
50
37
|
profile: z.ZodObject<{
|
|
@@ -52,27 +39,19 @@ declare const updatePermissionProfileSettings: _keystrokehq_core0.Operation<z.Zo
|
|
|
52
39
|
}, z.core.$catchall<z.ZodUnknown>>;
|
|
53
40
|
}, z.core.$strip>, z.ZodObject<{
|
|
54
41
|
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
55
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
56
|
-
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
57
|
-
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
58
|
-
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
59
|
-
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
42
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:docusign", z.ZodObject<{
|
|
60
43
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
61
44
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
62
45
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
63
|
-
}, z.core.$strip>>
|
|
46
|
+
}, z.core.$strip>>], undefined>;
|
|
64
47
|
declare const deleteAccountPermissionProfile: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
65
48
|
permissionProfileId: z.ZodString;
|
|
66
49
|
}, z.core.$strip>, z.ZodObject<{
|
|
67
50
|
success: z.ZodBoolean;
|
|
68
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
69
|
-
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
70
|
-
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
71
|
-
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
72
|
-
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
51
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:docusign", z.ZodObject<{
|
|
73
52
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
74
53
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
75
54
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
76
|
-
}, z.core.$strip>>
|
|
55
|
+
}, z.core.$strip>>], undefined>;
|
|
77
56
|
//#endregion
|
|
78
57
|
export { createNewAccountPermissionProfile, deleteAccountPermissionProfile, getListOfAccountPermissionProfiles, getPermissionProfileForAccount, updatePermissionProfileSettings };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { docusignGenericObjectSchema, docusignLooseObjectSchema, docusignSuccessSchema } from "./schemas/index.mjs";
|
|
2
|
-
import { r as defineRestOperation } from "./operation-helpers-
|
|
2
|
+
import { r as defineRestOperation } from "./operation-helpers-D25WHTo1.mjs";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
|
|
5
5
|
//#region src/permission-profiles.ts
|