@keystrokehq/docusign 0.0.15 → 0.0.16-integration-id-canonicalization.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -2
- package/dist/credential-sets/index.d.mts +2 -0
- package/dist/credential-sets/index.mjs +4 -0
- package/dist/docusign-jwt.credential-set-B0sXS-5i.mjs +39 -0
- package/dist/docusign-jwt.credential-set-Bz99DTgx.d.mts +90 -0
- package/dist/docusign.credential-set-DRhK9ICD.mjs +183 -0
- package/dist/index.d.mts +4 -1
- package/dist/index.mjs +6 -1
- package/dist/operations/index.d.mts +2 -0
- package/dist/operations/index.mjs +3 -0
- package/dist/void-envelope.operation-Bim49UXq.mjs +8192 -0
- package/dist/void-envelope.operation-D-onxqe_.d.mts +18203 -0
- package/package.json +11 -226
- package/dist/_official/index.d.mts +0 -75
- package/dist/_official/index.mjs +0 -3
- package/dist/_runtime/index.d.mts +0 -1
- package/dist/_runtime/index.mjs +0 -1
- package/dist/account-custom-fields.d.mts +0 -48
- package/dist/account-custom-fields.mjs +0 -63
- package/dist/account-stamps.d.mts +0 -119
- package/dist/account-stamps.mjs +0 -144
- package/dist/account-tabs.d.mts +0 -65
- package/dist/account-tabs.mjs +0 -80
- package/dist/account.d.mts +0 -160
- package/dist/account.mjs +0 -207
- package/dist/admin.d.mts +0 -13
- package/dist/admin.mjs +0 -20
- package/dist/auth.d.mts +0 -28
- package/dist/auth.mjs +0 -64
- package/dist/bcc-archive.d.mts +0 -47
- package/dist/bcc-archive.mjs +0 -70
- package/dist/billing.d.mts +0 -152
- package/dist/billing.mjs +0 -208
- package/dist/brands.d.mts +0 -147
- package/dist/brands.mjs +0 -157
- package/dist/bulk-send.d.mts +0 -104
- package/dist/bulk-send.mjs +0 -115
- package/dist/chunked-uploads.d.mts +0 -57
- package/dist/chunked-uploads.mjs +0 -74
- package/dist/click.d.mts +0 -13
- package/dist/click.mjs +0 -20
- package/dist/client.d.mts +0 -47
- package/dist/client.mjs +0 -286
- package/dist/clm.d.mts +0 -13
- package/dist/clm.mjs +0 -20
- package/dist/cloud-storage.d.mts +0 -93
- package/dist/cloud-storage.mjs +0 -115
- package/dist/connect.d.mts +0 -183
- package/dist/connect.mjs +0 -217
- package/dist/connection.d.mts +0 -2
- package/dist/connection.mjs +0 -3
- package/dist/contacts.d.mts +0 -59
- package/dist/contacts.mjs +0 -79
- package/dist/enote.d.mts +0 -31
- package/dist/enote.mjs +0 -45
- package/dist/envelope-attachments.d.mts +0 -65
- package/dist/envelope-attachments.mjs +0 -76
- package/dist/envelope-custom-fields.d.mts +0 -137
- package/dist/envelope-custom-fields.mjs +0 -92
- package/dist/envelope-documents.d.mts +0 -206
- package/dist/envelope-documents.mjs +0 -219
- package/dist/envelope-email.d.mts +0 -48
- package/dist/envelope-email.mjs +0 -60
- package/dist/envelope-lock.d.mts +0 -48
- package/dist/envelope-lock.mjs +0 -60
- package/dist/envelope-logs.d.mts +0 -89
- package/dist/envelope-logs.mjs +0 -126
- package/dist/envelope-notifications.d.mts +0 -34
- package/dist/envelope-notifications.mjs +0 -44
- package/dist/envelope-recipients.d.mts +0 -126
- package/dist/envelope-recipients.mjs +0 -136
- package/dist/envelope-tabs.d.mts +0 -39
- package/dist/envelope-tabs.mjs +0 -49
- package/dist/envelope-views.d.mts +0 -74
- package/dist/envelope-views.mjs +0 -88
- package/dist/envelope-workflow.d.mts +0 -151
- package/dist/envelope-workflow.mjs +0 -176
- package/dist/envelopes.d.mts +0 -377
- package/dist/envelopes.mjs +0 -190
- package/dist/errors.d.mts +0 -48
- package/dist/errors.mjs +0 -76
- package/dist/events.d.mts +0 -192
- package/dist/events.mjs +0 -146
- package/dist/factory-5kY-Jnda.mjs +0 -8
- package/dist/groups.d.mts +0 -150
- package/dist/groups.mjs +0 -146
- package/dist/integration-H05G5JY8.mjs +0 -112
- package/dist/integration-Mk1ScWT6.d.mts +0 -30
- package/dist/messaging.d.mts +0 -1
- package/dist/messaging.mjs +0 -1
- package/dist/monitor.d.mts +0 -13
- package/dist/monitor.mjs +0 -20
- package/dist/notary.d.mts +0 -92
- package/dist/notary.mjs +0 -122
- package/dist/operation-helpers-D25WHTo1.mjs +0 -102
- package/dist/permission-profiles.d.mts +0 -57
- package/dist/permission-profiles.mjs +0 -70
- package/dist/power-forms.d.mts +0 -38
- package/dist/power-forms.mjs +0 -62
- package/dist/rooms.d.mts +0 -13
- package/dist/rooms.mjs +0 -28
- package/dist/shared-DTUCJayR.mjs +0 -27
- package/dist/signing-groups.d.mts +0 -102
- package/dist/signing-groups.mjs +0 -117
- package/dist/template-custom-fields.d.mts +0 -166
- package/dist/template-custom-fields.mjs +0 -107
- package/dist/template-documents.d.mts +0 -99
- package/dist/template-documents.mjs +0 -109
- package/dist/template-lock.d.mts +0 -48
- package/dist/template-lock.mjs +0 -60
- package/dist/template-sharing.d.mts +0 -96
- package/dist/template-sharing.mjs +0 -108
- package/dist/template-workflow.d.mts +0 -135
- package/dist/template-workflow.mjs +0 -152
- package/dist/templates.d.mts +0 -129
- package/dist/templates.mjs +0 -110
- package/dist/user-authorizations.d.mts +0 -96
- package/dist/user-authorizations.mjs +0 -133
- package/dist/user-custom-settings.d.mts +0 -60
- package/dist/user-custom-settings.mjs +0 -69
- package/dist/user-profile.d.mts +0 -80
- package/dist/user-profile.mjs +0 -106
- package/dist/user-signatures.d.mts +0 -155
- package/dist/user-signatures.mjs +0 -180
- package/dist/users.d.mts +0 -103
- package/dist/users.mjs +0 -98
- package/dist/verification.d.mts +0 -19
- package/dist/verification.mjs +0 -59
- package/dist/workspaces.d.mts +0 -128
- package/dist/workspaces.mjs +0 -143
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@keystrokehq/docusign",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.16-integration-id-canonicalization.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"type": "module",
|
|
@@ -9,233 +9,17 @@
|
|
|
9
9
|
"types": "./dist/index.d.mts",
|
|
10
10
|
"default": "./dist/index.mjs"
|
|
11
11
|
},
|
|
12
|
-
"./
|
|
13
|
-
"types": "./dist/
|
|
14
|
-
"default": "./dist/
|
|
12
|
+
"./credential-sets": {
|
|
13
|
+
"types": "./dist/credential-sets/index.d.mts",
|
|
14
|
+
"default": "./dist/credential-sets/index.mjs"
|
|
15
15
|
},
|
|
16
|
-
"./
|
|
17
|
-
"types": "./dist/
|
|
18
|
-
"default": "./dist/
|
|
19
|
-
},
|
|
20
|
-
"./client": {
|
|
21
|
-
"types": "./dist/client.d.mts",
|
|
22
|
-
"default": "./dist/client.mjs"
|
|
23
|
-
},
|
|
24
|
-
"./errors": {
|
|
25
|
-
"types": "./dist/errors.d.mts",
|
|
26
|
-
"default": "./dist/errors.mjs"
|
|
16
|
+
"./operations": {
|
|
17
|
+
"types": "./dist/operations/index.d.mts",
|
|
18
|
+
"default": "./dist/operations/index.mjs"
|
|
27
19
|
},
|
|
28
20
|
"./schemas": {
|
|
29
21
|
"types": "./dist/schemas/index.d.mts",
|
|
30
22
|
"default": "./dist/schemas/index.mjs"
|
|
31
|
-
},
|
|
32
|
-
"./_official": {
|
|
33
|
-
"types": "./dist/_official/index.d.mts",
|
|
34
|
-
"default": "./dist/_official/index.mjs"
|
|
35
|
-
},
|
|
36
|
-
"./events": {
|
|
37
|
-
"types": "./dist/events.d.mts",
|
|
38
|
-
"default": "./dist/events.mjs"
|
|
39
|
-
},
|
|
40
|
-
"./verification": {
|
|
41
|
-
"types": "./dist/verification.d.mts",
|
|
42
|
-
"default": "./dist/verification.mjs"
|
|
43
|
-
},
|
|
44
|
-
"./envelopes": {
|
|
45
|
-
"types": "./dist/envelopes.d.mts",
|
|
46
|
-
"default": "./dist/envelopes.mjs"
|
|
47
|
-
},
|
|
48
|
-
"./envelope-documents": {
|
|
49
|
-
"types": "./dist/envelope-documents.d.mts",
|
|
50
|
-
"default": "./dist/envelope-documents.mjs"
|
|
51
|
-
},
|
|
52
|
-
"./envelope-recipients": {
|
|
53
|
-
"types": "./dist/envelope-recipients.d.mts",
|
|
54
|
-
"default": "./dist/envelope-recipients.mjs"
|
|
55
|
-
},
|
|
56
|
-
"./envelope-tabs": {
|
|
57
|
-
"types": "./dist/envelope-tabs.d.mts",
|
|
58
|
-
"default": "./dist/envelope-tabs.mjs"
|
|
59
|
-
},
|
|
60
|
-
"./envelope-custom-fields": {
|
|
61
|
-
"types": "./dist/envelope-custom-fields.d.mts",
|
|
62
|
-
"default": "./dist/envelope-custom-fields.mjs"
|
|
63
|
-
},
|
|
64
|
-
"./envelope-attachments": {
|
|
65
|
-
"types": "./dist/envelope-attachments.d.mts",
|
|
66
|
-
"default": "./dist/envelope-attachments.mjs"
|
|
67
|
-
},
|
|
68
|
-
"./envelope-workflow": {
|
|
69
|
-
"types": "./dist/envelope-workflow.d.mts",
|
|
70
|
-
"default": "./dist/envelope-workflow.mjs"
|
|
71
|
-
},
|
|
72
|
-
"./envelope-views": {
|
|
73
|
-
"types": "./dist/envelope-views.d.mts",
|
|
74
|
-
"default": "./dist/envelope-views.mjs"
|
|
75
|
-
},
|
|
76
|
-
"./envelope-email": {
|
|
77
|
-
"types": "./dist/envelope-email.d.mts",
|
|
78
|
-
"default": "./dist/envelope-email.mjs"
|
|
79
|
-
},
|
|
80
|
-
"./envelope-notifications": {
|
|
81
|
-
"types": "./dist/envelope-notifications.d.mts",
|
|
82
|
-
"default": "./dist/envelope-notifications.mjs"
|
|
83
|
-
},
|
|
84
|
-
"./envelope-lock": {
|
|
85
|
-
"types": "./dist/envelope-lock.d.mts",
|
|
86
|
-
"default": "./dist/envelope-lock.mjs"
|
|
87
|
-
},
|
|
88
|
-
"./envelope-logs": {
|
|
89
|
-
"types": "./dist/envelope-logs.d.mts",
|
|
90
|
-
"default": "./dist/envelope-logs.mjs"
|
|
91
|
-
},
|
|
92
|
-
"./templates": {
|
|
93
|
-
"types": "./dist/templates.d.mts",
|
|
94
|
-
"default": "./dist/templates.mjs"
|
|
95
|
-
},
|
|
96
|
-
"./template-documents": {
|
|
97
|
-
"types": "./dist/template-documents.d.mts",
|
|
98
|
-
"default": "./dist/template-documents.mjs"
|
|
99
|
-
},
|
|
100
|
-
"./template-custom-fields": {
|
|
101
|
-
"types": "./dist/template-custom-fields.d.mts",
|
|
102
|
-
"default": "./dist/template-custom-fields.mjs"
|
|
103
|
-
},
|
|
104
|
-
"./template-workflow": {
|
|
105
|
-
"types": "./dist/template-workflow.d.mts",
|
|
106
|
-
"default": "./dist/template-workflow.mjs"
|
|
107
|
-
},
|
|
108
|
-
"./template-lock": {
|
|
109
|
-
"types": "./dist/template-lock.d.mts",
|
|
110
|
-
"default": "./dist/template-lock.mjs"
|
|
111
|
-
},
|
|
112
|
-
"./template-sharing": {
|
|
113
|
-
"types": "./dist/template-sharing.d.mts",
|
|
114
|
-
"default": "./dist/template-sharing.mjs"
|
|
115
|
-
},
|
|
116
|
-
"./bulk-send": {
|
|
117
|
-
"types": "./dist/bulk-send.d.mts",
|
|
118
|
-
"default": "./dist/bulk-send.mjs"
|
|
119
|
-
},
|
|
120
|
-
"./chunked-uploads": {
|
|
121
|
-
"types": "./dist/chunked-uploads.d.mts",
|
|
122
|
-
"default": "./dist/chunked-uploads.mjs"
|
|
123
|
-
},
|
|
124
|
-
"./power-forms": {
|
|
125
|
-
"types": "./dist/power-forms.d.mts",
|
|
126
|
-
"default": "./dist/power-forms.mjs"
|
|
127
|
-
},
|
|
128
|
-
"./signing-groups": {
|
|
129
|
-
"types": "./dist/signing-groups.d.mts",
|
|
130
|
-
"default": "./dist/signing-groups.mjs"
|
|
131
|
-
},
|
|
132
|
-
"./contacts": {
|
|
133
|
-
"types": "./dist/contacts.d.mts",
|
|
134
|
-
"default": "./dist/contacts.mjs"
|
|
135
|
-
},
|
|
136
|
-
"./users": {
|
|
137
|
-
"types": "./dist/users.d.mts",
|
|
138
|
-
"default": "./dist/users.mjs"
|
|
139
|
-
},
|
|
140
|
-
"./user-signatures": {
|
|
141
|
-
"types": "./dist/user-signatures.d.mts",
|
|
142
|
-
"default": "./dist/user-signatures.mjs"
|
|
143
|
-
},
|
|
144
|
-
"./user-profile": {
|
|
145
|
-
"types": "./dist/user-profile.d.mts",
|
|
146
|
-
"default": "./dist/user-profile.mjs"
|
|
147
|
-
},
|
|
148
|
-
"./user-authorizations": {
|
|
149
|
-
"types": "./dist/user-authorizations.d.mts",
|
|
150
|
-
"default": "./dist/user-authorizations.mjs"
|
|
151
|
-
},
|
|
152
|
-
"./user-custom-settings": {
|
|
153
|
-
"types": "./dist/user-custom-settings.d.mts",
|
|
154
|
-
"default": "./dist/user-custom-settings.mjs"
|
|
155
|
-
},
|
|
156
|
-
"./cloud-storage": {
|
|
157
|
-
"types": "./dist/cloud-storage.d.mts",
|
|
158
|
-
"default": "./dist/cloud-storage.mjs"
|
|
159
|
-
},
|
|
160
|
-
"./groups": {
|
|
161
|
-
"types": "./dist/groups.d.mts",
|
|
162
|
-
"default": "./dist/groups.mjs"
|
|
163
|
-
},
|
|
164
|
-
"./permission-profiles": {
|
|
165
|
-
"types": "./dist/permission-profiles.d.mts",
|
|
166
|
-
"default": "./dist/permission-profiles.mjs"
|
|
167
|
-
},
|
|
168
|
-
"./brands": {
|
|
169
|
-
"types": "./dist/brands.d.mts",
|
|
170
|
-
"default": "./dist/brands.mjs"
|
|
171
|
-
},
|
|
172
|
-
"./account": {
|
|
173
|
-
"types": "./dist/account.d.mts",
|
|
174
|
-
"default": "./dist/account.mjs"
|
|
175
|
-
},
|
|
176
|
-
"./account-custom-fields": {
|
|
177
|
-
"types": "./dist/account-custom-fields.d.mts",
|
|
178
|
-
"default": "./dist/account-custom-fields.mjs"
|
|
179
|
-
},
|
|
180
|
-
"./account-tabs": {
|
|
181
|
-
"types": "./dist/account-tabs.d.mts",
|
|
182
|
-
"default": "./dist/account-tabs.mjs"
|
|
183
|
-
},
|
|
184
|
-
"./account-stamps": {
|
|
185
|
-
"types": "./dist/account-stamps.d.mts",
|
|
186
|
-
"default": "./dist/account-stamps.mjs"
|
|
187
|
-
},
|
|
188
|
-
"./billing": {
|
|
189
|
-
"types": "./dist/billing.d.mts",
|
|
190
|
-
"default": "./dist/billing.mjs"
|
|
191
|
-
},
|
|
192
|
-
"./connect": {
|
|
193
|
-
"types": "./dist/connect.d.mts",
|
|
194
|
-
"default": "./dist/connect.mjs"
|
|
195
|
-
},
|
|
196
|
-
"./workspaces": {
|
|
197
|
-
"types": "./dist/workspaces.d.mts",
|
|
198
|
-
"default": "./dist/workspaces.mjs"
|
|
199
|
-
},
|
|
200
|
-
"./notary": {
|
|
201
|
-
"types": "./dist/notary.d.mts",
|
|
202
|
-
"default": "./dist/notary.mjs"
|
|
203
|
-
},
|
|
204
|
-
"./enote": {
|
|
205
|
-
"types": "./dist/enote.d.mts",
|
|
206
|
-
"default": "./dist/enote.mjs"
|
|
207
|
-
},
|
|
208
|
-
"./bcc-archive": {
|
|
209
|
-
"types": "./dist/bcc-archive.d.mts",
|
|
210
|
-
"default": "./dist/bcc-archive.mjs"
|
|
211
|
-
},
|
|
212
|
-
"./auth": {
|
|
213
|
-
"types": "./dist/auth.d.mts",
|
|
214
|
-
"default": "./dist/auth.mjs"
|
|
215
|
-
},
|
|
216
|
-
"./rooms": {
|
|
217
|
-
"types": "./dist/rooms.d.mts",
|
|
218
|
-
"default": "./dist/rooms.mjs"
|
|
219
|
-
},
|
|
220
|
-
"./clm": {
|
|
221
|
-
"types": "./dist/clm.d.mts",
|
|
222
|
-
"default": "./dist/clm.mjs"
|
|
223
|
-
},
|
|
224
|
-
"./admin": {
|
|
225
|
-
"types": "./dist/admin.d.mts",
|
|
226
|
-
"default": "./dist/admin.mjs"
|
|
227
|
-
},
|
|
228
|
-
"./click": {
|
|
229
|
-
"types": "./dist/click.d.mts",
|
|
230
|
-
"default": "./dist/click.mjs"
|
|
231
|
-
},
|
|
232
|
-
"./monitor": {
|
|
233
|
-
"types": "./dist/monitor.d.mts",
|
|
234
|
-
"default": "./dist/monitor.mjs"
|
|
235
|
-
},
|
|
236
|
-
"./_runtime": {
|
|
237
|
-
"types": "./dist/_runtime/index.d.mts",
|
|
238
|
-
"default": "./dist/_runtime/index.mjs"
|
|
239
23
|
}
|
|
240
24
|
},
|
|
241
25
|
"files": [
|
|
@@ -244,19 +28,20 @@
|
|
|
244
28
|
"LICENSE"
|
|
245
29
|
],
|
|
246
30
|
"dependencies": {
|
|
247
|
-
"@keystrokehq/integration-authoring": "^0.0.9",
|
|
248
31
|
"zod": "^4.3.6"
|
|
249
32
|
},
|
|
250
33
|
"peerDependencies": {
|
|
251
|
-
"@keystrokehq/core": ">=0.0.
|
|
34
|
+
"@keystrokehq/core": ">=0.0.8 <0.1.0"
|
|
252
35
|
},
|
|
253
36
|
"devDependencies": {
|
|
254
37
|
"@types/node": "^22.19.11",
|
|
255
38
|
"tsdown": "^0.20.3",
|
|
256
39
|
"typescript": "^5.9.3",
|
|
257
40
|
"vitest": "^4.0.18",
|
|
258
|
-
"@keystrokehq/core": "^0.0.
|
|
41
|
+
"@keystrokehq/core": "^0.0.12",
|
|
259
42
|
"@keystrokehq/test-utils": "0.0.0",
|
|
43
|
+
"@keystrokehq/integration-authoring": "0.0.9",
|
|
44
|
+
"@keystrokehq/credential-connection": "1.0.0",
|
|
260
45
|
"@keystrokehq/typescript-config": "0.0.0"
|
|
261
46
|
},
|
|
262
47
|
"keywords": [
|
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
import { i as docusignOfficialIntegration, r as docusignBundle } from "../integration-Mk1ScWT6.mjs";
|
|
2
|
-
import { z } from "zod";
|
|
3
|
-
import { CredentialSet } from "@keystrokehq/core";
|
|
4
|
-
|
|
5
|
-
//#region src/_official/provider-app.d.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
|
-
declare const docusignAppCredentialSet: CredentialSet<"keystroke:docusign-app", z.ZodObject<{
|
|
13
|
-
clientId: z.ZodString;
|
|
14
|
-
clientSecret: z.ZodString;
|
|
15
|
-
}, z.core.$strip>>;
|
|
16
|
-
/**
|
|
17
|
-
* Keystroke-owned Connect webhook signing secrets.
|
|
18
|
-
*
|
|
19
|
-
* DocuSign Connect allows up to 10 concurrent HMAC shared secrets for rotation.
|
|
20
|
-
* Each outbound webhook is signed with every enabled secret as a separate
|
|
21
|
-
* `X-DocuSign-Signature-{N}` header. Verification accepts a delivery if any
|
|
22
|
-
* header matches any configured secret under a constant-time compare.
|
|
23
|
-
*
|
|
24
|
-
* Secrets are parsed from `KEYSTROKE_OFFICIAL_DOCUSIGN_CONNECT_HMAC_SECRETS`,
|
|
25
|
-
* a comma-separated list with newest first.
|
|
26
|
-
*/
|
|
27
|
-
declare const docusignConnectCredentialSet: CredentialSet<"keystroke:docusign-connect", z.ZodObject<{
|
|
28
|
-
hmacSecrets: z.ZodArray<z.ZodString>;
|
|
29
|
-
}, z.core.$strip>>;
|
|
30
|
-
/**
|
|
31
|
-
* Keystroke-owned JWT Grant integrator key + RSA private key.
|
|
32
|
-
*
|
|
33
|
-
* Declared for forward compatibility: runtime paths that require JWT Grant
|
|
34
|
-
* (historical envelope replay, backend impersonation) will consume this
|
|
35
|
-
* credential set in a follow-up without a registry change. Not wired to any
|
|
36
|
-
* runtime path in v1 — any operation that would need JWT throws
|
|
37
|
-
* `DocusignApiError.notImplemented({ kind: 'plan_gated' })` until then.
|
|
38
|
-
*/
|
|
39
|
-
declare const docusignJwtCredentialSet: CredentialSet<"keystroke:docusign-jwt", z.ZodObject<{
|
|
40
|
-
integratorKey: z.ZodString;
|
|
41
|
-
impersonatedUserId: z.ZodUUID;
|
|
42
|
-
privateKeyPem: z.ZodString;
|
|
43
|
-
oauthHost: z.ZodEnum<{
|
|
44
|
-
"account.docusign.com": "account.docusign.com";
|
|
45
|
-
"account-d.docusign.com": "account-d.docusign.com";
|
|
46
|
-
}>;
|
|
47
|
-
}, z.core.$strip>>;
|
|
48
|
-
/**
|
|
49
|
-
* Parse the comma-separated `KEYSTROKE_OFFICIAL_DOCUSIGN_CONNECT_HMAC_SECRETS`
|
|
50
|
-
* env value into the array shape the internal credential set expects. Empty
|
|
51
|
-
* input resolves to `[]`, which fails the `.min(1)` parse so Connect triggers
|
|
52
|
-
* reject deliveries until the env is populated.
|
|
53
|
-
*/
|
|
54
|
-
declare function parseHmacSecrets(raw: string | undefined): readonly string[];
|
|
55
|
-
declare const docusignOfficialProviderSeed: {
|
|
56
|
-
readonly provider: "docusign";
|
|
57
|
-
readonly appRef: "docusign-platform";
|
|
58
|
-
readonly displayName: "DocuSign Platform";
|
|
59
|
-
readonly credentialSetName: "Keystroke DocuSign Platform App";
|
|
60
|
-
readonly envShape: {
|
|
61
|
-
readonly KEYSTROKE_OFFICIAL_DOCUSIGN_CLIENT_ID: z.ZodOptional<z.ZodString>;
|
|
62
|
-
readonly KEYSTROKE_OFFICIAL_DOCUSIGN_CLIENT_SECRET: z.ZodOptional<z.ZodString>;
|
|
63
|
-
};
|
|
64
|
-
readonly requiredEnvKeys: readonly ["KEYSTROKE_OFFICIAL_DOCUSIGN_CLIENT_ID", "KEYSTROKE_OFFICIAL_DOCUSIGN_CLIENT_SECRET"];
|
|
65
|
-
readonly externalAppIdEnvKey: "KEYSTROKE_OFFICIAL_DOCUSIGN_CLIENT_ID";
|
|
66
|
-
readonly buildCredentials: (env: Record<string, string | undefined>) => {
|
|
67
|
-
clientId: string | undefined;
|
|
68
|
-
clientSecret: string | undefined;
|
|
69
|
-
};
|
|
70
|
-
};
|
|
71
|
-
type DocusignAppCredentials = z.infer<typeof docusignAppCredentialSet.auth>;
|
|
72
|
-
type DocusignConnectCredentials = z.infer<typeof docusignConnectCredentialSet.auth>;
|
|
73
|
-
type DocusignJwtCredentials = z.infer<typeof docusignJwtCredentialSet.auth>;
|
|
74
|
-
//#endregion
|
|
75
|
-
export { DocusignAppCredentials, DocusignConnectCredentials, DocusignJwtCredentials, docusignAppCredentialSet, docusignBundle, docusignConnectCredentialSet, docusignJwtCredentialSet, docusignOfficialIntegration, docusignOfficialProviderSeed, parseHmacSecrets };
|
package/dist/_official/index.mjs
DELETED
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import { a as docusignConnectCredentialSet, c as parseHmacSecrets, i as docusignAppCredentialSet, n as docusignBundle, o as docusignJwtCredentialSet, r as docusignOfficialIntegration, s as docusignOfficialProviderSeed } from "../integration-H05G5JY8.mjs";
|
|
2
|
-
|
|
3
|
-
export { docusignAppCredentialSet, docusignBundle, docusignConnectCredentialSet, docusignJwtCredentialSet, docusignOfficialIntegration, docusignOfficialProviderSeed, parseHmacSecrets };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { };
|
package/dist/_runtime/index.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { };
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
import { z } from "zod";
|
|
2
|
-
import * as _keystrokehq_core0 from "@keystrokehq/core";
|
|
3
|
-
|
|
4
|
-
//#region src/account-custom-fields.d.ts
|
|
5
|
-
declare const createAccountCustomField: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
6
|
-
applyToTemplates: z.ZodOptional<z.ZodBoolean>;
|
|
7
|
-
customField: z.ZodObject<{
|
|
8
|
-
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
9
|
-
}, z.core.$catchall<z.ZodUnknown>>;
|
|
10
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
11
|
-
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
12
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke: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>>], undefined>;
|
|
17
|
-
declare const updateAccountCustomField: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
18
|
-
customFieldId: z.ZodString;
|
|
19
|
-
customField: z.ZodObject<{
|
|
20
|
-
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
21
|
-
}, z.core.$catchall<z.ZodUnknown>>;
|
|
22
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
23
|
-
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
24
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:docusign", z.ZodObject<{
|
|
25
|
-
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
26
|
-
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
27
|
-
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
28
|
-
}, z.core.$strip>>], undefined>;
|
|
29
|
-
declare const deleteAccountCustomField: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
30
|
-
customFieldId: z.ZodString;
|
|
31
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
32
|
-
success: z.ZodBoolean;
|
|
33
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:docusign", z.ZodObject<{
|
|
34
|
-
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
35
|
-
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
36
|
-
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
37
|
-
}, z.core.$strip>>], undefined>;
|
|
38
|
-
declare const retrieveAllAccountTabs: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
39
|
-
customTabOnly: z.ZodOptional<z.ZodBoolean>;
|
|
40
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
41
|
-
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
42
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:docusign", z.ZodObject<{
|
|
43
|
-
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
44
|
-
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
45
|
-
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
46
|
-
}, z.core.$strip>>], undefined>;
|
|
47
|
-
//#endregion
|
|
48
|
-
export { createAccountCustomField, deleteAccountCustomField, retrieveAllAccountTabs, updateAccountCustomField };
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
import { docusignGenericObjectSchema, docusignLooseObjectSchema, docusignSuccessSchema } from "./schemas/index.mjs";
|
|
2
|
-
import { r as defineRestOperation } from "./operation-helpers-D25WHTo1.mjs";
|
|
3
|
-
import { z } from "zod";
|
|
4
|
-
|
|
5
|
-
//#region src/account-custom-fields.ts
|
|
6
|
-
/**
|
|
7
|
-
* Account custom fields. Covers PLAN.md § 6.32.
|
|
8
|
-
*/
|
|
9
|
-
const fieldId = z.object({ customFieldId: z.string().min(1) });
|
|
10
|
-
const createAccountCustomField = defineRestOperation({
|
|
11
|
-
id: "docusign.create-account-custom-field",
|
|
12
|
-
slug: "DOCUSIGN_CREATE_ACCOUNT_CUSTOM_FIELD",
|
|
13
|
-
name: "Create Account Custom Field",
|
|
14
|
-
description: "Create a custom field at the account level.",
|
|
15
|
-
needsApproval: true,
|
|
16
|
-
method: "POST",
|
|
17
|
-
path: "/custom_fields",
|
|
18
|
-
input: z.object({
|
|
19
|
-
applyToTemplates: z.boolean().optional(),
|
|
20
|
-
customField: docusignLooseObjectSchema()
|
|
21
|
-
}),
|
|
22
|
-
output: docusignGenericObjectSchema,
|
|
23
|
-
query: (input) => ({ apply_to_templates: input.applyToTemplates }),
|
|
24
|
-
body: (input) => input.customField
|
|
25
|
-
});
|
|
26
|
-
const updateAccountCustomField = defineRestOperation({
|
|
27
|
-
id: "docusign.update-account-custom-field",
|
|
28
|
-
slug: "DOCUSIGN_UPDATE_ACCOUNT_CUSTOM_FIELD",
|
|
29
|
-
name: "Update Account Custom Field",
|
|
30
|
-
description: "Update an account-level custom field.",
|
|
31
|
-
needsApproval: true,
|
|
32
|
-
method: "PUT",
|
|
33
|
-
path: (ctx) => `/custom_fields/${ctx.encode(String(ctx.input.customFieldId))}`,
|
|
34
|
-
input: fieldId.extend({ customField: docusignLooseObjectSchema() }),
|
|
35
|
-
output: docusignGenericObjectSchema,
|
|
36
|
-
body: (input) => input.customField
|
|
37
|
-
});
|
|
38
|
-
const deleteAccountCustomField = defineRestOperation({
|
|
39
|
-
id: "docusign.delete-account-custom-field",
|
|
40
|
-
slug: "DOCUSIGN_DELETE_ACCOUNT_CUSTOM_FIELD",
|
|
41
|
-
name: "Delete Account Custom Field",
|
|
42
|
-
description: "Delete an account-level custom field.",
|
|
43
|
-
needsApproval: true,
|
|
44
|
-
method: "DELETE",
|
|
45
|
-
path: (ctx) => `/custom_fields/${ctx.encode(String(ctx.input.customFieldId))}`,
|
|
46
|
-
input: fieldId,
|
|
47
|
-
output: docusignSuccessSchema,
|
|
48
|
-
transformResponse: () => ({ success: true })
|
|
49
|
-
});
|
|
50
|
-
const retrieveAllAccountTabs = defineRestOperation({
|
|
51
|
-
id: "docusign.retrieve-all-account-tabs",
|
|
52
|
-
slug: "DOCUSIGN_RETRIEVE_ALL_ACCOUNT_TABS",
|
|
53
|
-
name: "Retrieve All Account Tabs",
|
|
54
|
-
description: "Retrieve all tabs available on the account.",
|
|
55
|
-
method: "GET",
|
|
56
|
-
path: "/tabs",
|
|
57
|
-
input: z.object({ customTabOnly: z.boolean().optional() }),
|
|
58
|
-
output: docusignGenericObjectSchema,
|
|
59
|
-
query: (input) => ({ custom_tab_only: input.customTabOnly })
|
|
60
|
-
});
|
|
61
|
-
|
|
62
|
-
//#endregion
|
|
63
|
-
export { createAccountCustomField, deleteAccountCustomField, retrieveAllAccountTabs, updateAccountCustomField };
|
|
@@ -1,119 +0,0 @@
|
|
|
1
|
-
import { z } from "zod";
|
|
2
|
-
import * as _keystrokehq_core0 from "@keystrokehq/core";
|
|
3
|
-
|
|
4
|
-
//#region src/account-stamps.d.ts
|
|
5
|
-
declare const addOrUpdateAccountStamps: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
6
|
-
stamps: z.ZodArray<z.ZodObject<{
|
|
7
|
-
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
8
|
-
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
9
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
10
|
-
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
11
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:docusign", z.ZodObject<{
|
|
12
|
-
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
13
|
-
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
14
|
-
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
15
|
-
}, z.core.$strip>>], undefined>;
|
|
16
|
-
declare const retrieveAvailableAccountStamps: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
17
|
-
status: z.ZodOptional<z.ZodString>;
|
|
18
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
19
|
-
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
20
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:docusign", z.ZodObject<{
|
|
21
|
-
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
22
|
-
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
23
|
-
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
24
|
-
}, z.core.$strip>>], undefined>;
|
|
25
|
-
declare const getSpecifiedAccountStampInfo: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
26
|
-
stampId: z.ZodString;
|
|
27
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
28
|
-
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
29
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:docusign", z.ZodObject<{
|
|
30
|
-
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
31
|
-
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
32
|
-
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
33
|
-
}, z.core.$strip>>], undefined>;
|
|
34
|
-
declare const getAccountStampImage: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
35
|
-
stampId: z.ZodString;
|
|
36
|
-
stampFormat: z.ZodOptional<z.ZodString>;
|
|
37
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
38
|
-
contentType: z.ZodOptional<z.ZodString>;
|
|
39
|
-
contentDisposition: z.ZodOptional<z.ZodString>;
|
|
40
|
-
status: z.ZodNumber;
|
|
41
|
-
body: z.ZodString;
|
|
42
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:docusign", z.ZodObject<{
|
|
43
|
-
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
44
|
-
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
45
|
-
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
46
|
-
}, z.core.$strip>>], undefined>;
|
|
47
|
-
declare const updateAccountStampById: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
48
|
-
stampId: z.ZodString;
|
|
49
|
-
stamp: z.ZodObject<{
|
|
50
|
-
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
51
|
-
}, z.core.$catchall<z.ZodUnknown>>;
|
|
52
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
53
|
-
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
54
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:docusign", z.ZodObject<{
|
|
55
|
-
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
56
|
-
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
57
|
-
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
58
|
-
}, z.core.$strip>>], undefined>;
|
|
59
|
-
declare const updateAccountStamps: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
60
|
-
stamps: z.ZodArray<z.ZodObject<{
|
|
61
|
-
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
62
|
-
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
63
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
64
|
-
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
65
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:docusign", z.ZodObject<{
|
|
66
|
-
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
67
|
-
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
68
|
-
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
69
|
-
}, z.core.$strip>>], undefined>;
|
|
70
|
-
declare const deleteAccountStamp: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
71
|
-
stampId: z.ZodString;
|
|
72
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
73
|
-
success: z.ZodBoolean;
|
|
74
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:docusign", z.ZodObject<{
|
|
75
|
-
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
76
|
-
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
77
|
-
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
78
|
-
}, z.core.$strip>>], undefined>;
|
|
79
|
-
declare const deleteStampImageForAccount: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
80
|
-
stampId: z.ZodString;
|
|
81
|
-
stampFormat: z.ZodOptional<z.ZodString>;
|
|
82
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
83
|
-
success: z.ZodBoolean;
|
|
84
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:docusign", z.ZodObject<{
|
|
85
|
-
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
86
|
-
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
87
|
-
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
88
|
-
}, z.core.$strip>>], undefined>;
|
|
89
|
-
declare const getWatermarkDetailsForAccount: _keystrokehq_core0.Operation<z.ZodObject<{}, z.core.$strip>, z.ZodObject<{
|
|
90
|
-
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
91
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke: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>>], undefined>;
|
|
96
|
-
declare const updateAccountWatermarkInformation: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
97
|
-
watermark: z.ZodObject<{
|
|
98
|
-
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
99
|
-
}, z.core.$catchall<z.ZodUnknown>>;
|
|
100
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
101
|
-
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
102
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:docusign", z.ZodObject<{
|
|
103
|
-
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
104
|
-
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
105
|
-
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
106
|
-
}, z.core.$strip>>], undefined>;
|
|
107
|
-
declare const updateAccountWatermarkPreview: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
108
|
-
watermark: z.ZodObject<{
|
|
109
|
-
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
110
|
-
}, z.core.$catchall<z.ZodUnknown>>;
|
|
111
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
112
|
-
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
113
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:docusign", z.ZodObject<{
|
|
114
|
-
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
115
|
-
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
116
|
-
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
117
|
-
}, z.core.$strip>>], undefined>;
|
|
118
|
-
//#endregion
|
|
119
|
-
export { addOrUpdateAccountStamps, deleteAccountStamp, deleteStampImageForAccount, getAccountStampImage, getSpecifiedAccountStampInfo, getWatermarkDetailsForAccount, retrieveAvailableAccountStamps, updateAccountStampById, updateAccountStamps, updateAccountWatermarkInformation, updateAccountWatermarkPreview };
|