@keystrokehq/docusign 0.0.11 → 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 +9 -225
- package/dist/_official/index.d.mts +0 -89
- 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 -65
- package/dist/account-custom-fields.mjs +0 -63
- package/dist/account-stamps.d.mts +0 -164
- package/dist/account-stamps.mjs +0 -144
- package/dist/account-tabs.d.mts +0 -90
- package/dist/account-tabs.mjs +0 -80
- package/dist/account.d.mts +0 -233
- package/dist/account.mjs +0 -207
- package/dist/admin.d.mts +0 -18
- package/dist/admin.mjs +0 -20
- package/dist/auth.d.mts +0 -37
- package/dist/auth.mjs +0 -53
- package/dist/bcc-archive.d.mts +0 -64
- package/dist/bcc-archive.mjs +0 -70
- package/dist/billing.d.mts +0 -217
- package/dist/billing.mjs +0 -208
- package/dist/brands.d.mts +0 -192
- package/dist/brands.mjs +0 -157
- package/dist/bulk-send.d.mts +0 -137
- package/dist/bulk-send.mjs +0 -115
- package/dist/chunked-uploads.d.mts +0 -78
- package/dist/chunked-uploads.mjs +0 -74
- package/dist/click.d.mts +0 -18
- 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 -18
- package/dist/clm.mjs +0 -20
- package/dist/cloud-storage.d.mts +0 -122
- package/dist/cloud-storage.mjs +0 -115
- package/dist/connect.d.mts +0 -252
- 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 -80
- package/dist/contacts.mjs +0 -79
- package/dist/enote.d.mts +0 -44
- package/dist/enote.mjs +0 -45
- package/dist/envelope-attachments.d.mts +0 -86
- package/dist/envelope-attachments.mjs +0 -76
- package/dist/envelope-custom-fields.d.mts +0 -166
- package/dist/envelope-custom-fields.mjs +0 -92
- package/dist/envelope-documents.d.mts +0 -271
- package/dist/envelope-documents.mjs +0 -219
- package/dist/envelope-email.d.mts +0 -65
- package/dist/envelope-email.mjs +0 -60
- package/dist/envelope-lock.d.mts +0 -65
- package/dist/envelope-lock.mjs +0 -60
- package/dist/envelope-logs.d.mts +0 -126
- package/dist/envelope-logs.mjs +0 -126
- package/dist/envelope-notifications.d.mts +0 -47
- package/dist/envelope-notifications.mjs +0 -44
- package/dist/envelope-recipients.d.mts +0 -171
- package/dist/envelope-recipients.mjs +0 -136
- package/dist/envelope-tabs.d.mts +0 -52
- package/dist/envelope-tabs.mjs +0 -49
- package/dist/envelope-views.d.mts +0 -99
- package/dist/envelope-views.mjs +0 -88
- package/dist/envelope-workflow.d.mts +0 -208
- package/dist/envelope-workflow.mjs +0 -176
- package/dist/envelopes.d.mts +0 -430
- 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-DFejlPDe.mjs +0 -7
- package/dist/groups.d.mts +0 -191
- package/dist/groups.mjs +0 -146
- package/dist/integration-BcEp_dFX.mjs +0 -365
- package/dist/integration-CdIRNjCz.d.mts +0 -72
- package/dist/messaging.d.mts +0 -1
- package/dist/messaging.mjs +0 -1
- package/dist/monitor.d.mts +0 -18
- package/dist/monitor.mjs +0 -20
- package/dist/notary.d.mts +0 -129
- package/dist/notary.mjs +0 -122
- package/dist/operation-helpers-Bqp7KoLi.mjs +0 -102
- package/dist/permission-profiles.d.mts +0 -78
- package/dist/permission-profiles.mjs +0 -70
- package/dist/power-forms.d.mts +0 -51
- package/dist/power-forms.mjs +0 -62
- package/dist/rooms.d.mts +0 -18
- package/dist/rooms.mjs +0 -28
- package/dist/shared-DTUCJayR.mjs +0 -27
- package/dist/signing-groups.d.mts +0 -139
- package/dist/signing-groups.mjs +0 -117
- package/dist/template-custom-fields.d.mts +0 -199
- package/dist/template-custom-fields.mjs +0 -107
- package/dist/template-documents.d.mts +0 -132
- package/dist/template-documents.mjs +0 -109
- package/dist/template-lock.d.mts +0 -65
- package/dist/template-lock.mjs +0 -60
- package/dist/template-sharing.d.mts +0 -129
- package/dist/template-sharing.mjs +0 -108
- package/dist/template-workflow.d.mts +0 -184
- package/dist/template-workflow.mjs +0 -152
- package/dist/templates.d.mts +0 -158
- package/dist/templates.mjs +0 -110
- package/dist/user-authorizations.d.mts +0 -129
- package/dist/user-authorizations.mjs +0 -133
- package/dist/user-custom-settings.d.mts +0 -81
- package/dist/user-custom-settings.mjs +0 -69
- package/dist/user-profile.d.mts +0 -109
- package/dist/user-profile.mjs +0 -106
- package/dist/user-signatures.d.mts +0 -208
- package/dist/user-signatures.mjs +0 -180
- package/dist/users.d.mts +0 -128
- 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 -173
- package/dist/workspaces.mjs +0 -143
package/dist/connect.d.mts
DELETED
|
@@ -1,252 +0,0 @@
|
|
|
1
|
-
import * as _keystrokehq_core0 from "@keystrokehq/core";
|
|
2
|
-
import { z } from "zod";
|
|
3
|
-
import * as _keystrokehq_core_credential_set0 from "@keystrokehq/core/credential-set";
|
|
4
|
-
|
|
5
|
-
//#region src/connect.d.ts
|
|
6
|
-
declare const createConnectConfigurationForAccount: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
7
|
-
configuration: 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
|
-
connectId: z.ZodOptional<z.ZodString>;
|
|
12
|
-
urlToPublishTo: z.ZodOptional<z.ZodString>;
|
|
13
|
-
name: z.ZodOptional<z.ZodString>;
|
|
14
|
-
configurationType: z.ZodOptional<z.ZodString>;
|
|
15
|
-
allowEnvelopePublish: z.ZodOptional<z.ZodString>;
|
|
16
|
-
enableLog: z.ZodOptional<z.ZodString>;
|
|
17
|
-
envelopeEvents: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
18
|
-
recipientEvents: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
19
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
20
|
-
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
21
|
-
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
22
|
-
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
23
|
-
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
24
|
-
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
25
|
-
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
26
|
-
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
27
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
28
|
-
declare const updateDocusignConnectConfiguration: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
29
|
-
configuration: z.ZodObject<{
|
|
30
|
-
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
31
|
-
}, z.core.$catchall<z.ZodUnknown>>;
|
|
32
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
33
|
-
connectId: z.ZodOptional<z.ZodString>;
|
|
34
|
-
urlToPublishTo: z.ZodOptional<z.ZodString>;
|
|
35
|
-
name: z.ZodOptional<z.ZodString>;
|
|
36
|
-
configurationType: z.ZodOptional<z.ZodString>;
|
|
37
|
-
allowEnvelopePublish: z.ZodOptional<z.ZodString>;
|
|
38
|
-
enableLog: z.ZodOptional<z.ZodString>;
|
|
39
|
-
envelopeEvents: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
40
|
-
recipientEvents: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
41
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
42
|
-
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
43
|
-
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
44
|
-
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
45
|
-
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
46
|
-
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
47
|
-
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
48
|
-
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
49
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
50
|
-
declare const retrieveConnectConfigurations: _keystrokehq_core0.Operation<z.ZodObject<{}, z.core.$strip>, z.ZodObject<{
|
|
51
|
-
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
52
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
53
|
-
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
54
|
-
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
55
|
-
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
56
|
-
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
57
|
-
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
58
|
-
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
59
|
-
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
60
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
61
|
-
declare const retrieveConnectConfigurationDetails: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
62
|
-
connectId: z.ZodString;
|
|
63
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
64
|
-
connectId: z.ZodOptional<z.ZodString>;
|
|
65
|
-
urlToPublishTo: z.ZodOptional<z.ZodString>;
|
|
66
|
-
name: z.ZodOptional<z.ZodString>;
|
|
67
|
-
configurationType: z.ZodOptional<z.ZodString>;
|
|
68
|
-
allowEnvelopePublish: z.ZodOptional<z.ZodString>;
|
|
69
|
-
enableLog: z.ZodOptional<z.ZodString>;
|
|
70
|
-
envelopeEvents: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
71
|
-
recipientEvents: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
72
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
73
|
-
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
74
|
-
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
75
|
-
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
76
|
-
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
77
|
-
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
78
|
-
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
79
|
-
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
80
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
81
|
-
declare const deleteConnectConfiguration: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
82
|
-
connectId: z.ZodString;
|
|
83
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
84
|
-
success: z.ZodBoolean;
|
|
85
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
86
|
-
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
87
|
-
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
88
|
-
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
89
|
-
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
90
|
-
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
91
|
-
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
92
|
-
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
93
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
94
|
-
declare const setUpConnectOauthConfiguration: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
95
|
-
oauthConfiguration: z.ZodObject<{
|
|
96
|
-
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
97
|
-
}, z.core.$catchall<z.ZodUnknown>>;
|
|
98
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
99
|
-
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
100
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
101
|
-
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
102
|
-
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
103
|
-
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
104
|
-
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
105
|
-
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
106
|
-
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
107
|
-
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
108
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
109
|
-
declare const retrieveConnectOauthConfiguration: _keystrokehq_core0.Operation<z.ZodObject<{}, z.core.$strip>, z.ZodObject<{
|
|
110
|
-
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
111
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
112
|
-
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
113
|
-
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
114
|
-
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
115
|
-
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
116
|
-
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
117
|
-
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
118
|
-
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
119
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
120
|
-
declare const updateConnectOauthConfiguration: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
121
|
-
oauthConfiguration: z.ZodObject<{
|
|
122
|
-
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
123
|
-
}, z.core.$catchall<z.ZodUnknown>>;
|
|
124
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
125
|
-
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
126
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
127
|
-
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
128
|
-
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
129
|
-
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
130
|
-
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
131
|
-
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
132
|
-
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
133
|
-
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
134
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
135
|
-
declare const deleteConnectOauthConfiguration: _keystrokehq_core0.Operation<z.ZodObject<{}, z.core.$strip>, z.ZodObject<{
|
|
136
|
-
success: z.ZodBoolean;
|
|
137
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
138
|
-
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
139
|
-
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
140
|
-
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
141
|
-
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
142
|
-
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
143
|
-
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
144
|
-
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
145
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
146
|
-
declare const retrieveConnectFailureLogs: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
147
|
-
fromDate: z.ZodOptional<z.ZodString>;
|
|
148
|
-
toDate: z.ZodOptional<z.ZodString>;
|
|
149
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
150
|
-
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
151
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
152
|
-
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
153
|
-
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
154
|
-
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
155
|
-
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
156
|
-
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
157
|
-
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
158
|
-
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
159
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
160
|
-
declare const deleteConnectFailureLogEntry: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
161
|
-
failureId: z.ZodString;
|
|
162
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
163
|
-
success: z.ZodBoolean;
|
|
164
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
165
|
-
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
166
|
-
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
167
|
-
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
168
|
-
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
169
|
-
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
170
|
-
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
171
|
-
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
172
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
173
|
-
declare const retrieveConnectLogs: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
174
|
-
fromDate: z.ZodOptional<z.ZodString>;
|
|
175
|
-
toDate: z.ZodOptional<z.ZodString>;
|
|
176
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
177
|
-
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
178
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
179
|
-
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
180
|
-
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
181
|
-
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
182
|
-
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
183
|
-
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
184
|
-
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
185
|
-
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
186
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
187
|
-
declare const retrieveConnectLogEntry: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
188
|
-
logId: z.ZodString;
|
|
189
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
190
|
-
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
191
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
192
|
-
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
193
|
-
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
194
|
-
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
195
|
-
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
196
|
-
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
197
|
-
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
198
|
-
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
199
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
200
|
-
declare const deleteConnectLogEntries: _keystrokehq_core0.Operation<z.ZodObject<{}, z.core.$strip>, z.ZodObject<{
|
|
201
|
-
success: z.ZodBoolean;
|
|
202
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
203
|
-
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
204
|
-
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
205
|
-
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
206
|
-
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
207
|
-
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
208
|
-
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
209
|
-
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
210
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
211
|
-
declare const deleteSpecificConnectLogEntry: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
212
|
-
logId: z.ZodString;
|
|
213
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
214
|
-
success: z.ZodBoolean;
|
|
215
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
216
|
-
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
217
|
-
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
218
|
-
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
219
|
-
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
220
|
-
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
221
|
-
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
222
|
-
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
223
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
224
|
-
declare const returnAllConnectServiceUsers: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
225
|
-
connectId: z.ZodString;
|
|
226
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
227
|
-
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
228
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
229
|
-
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
230
|
-
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
231
|
-
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
232
|
-
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
233
|
-
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
234
|
-
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
235
|
-
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
236
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
237
|
-
declare const returnUsersFromConnectService: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
238
|
-
connectId: z.ZodString;
|
|
239
|
-
userId: z.ZodString;
|
|
240
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
241
|
-
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
242
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
243
|
-
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
244
|
-
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
245
|
-
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
246
|
-
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
247
|
-
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
248
|
-
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
249
|
-
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
250
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
251
|
-
//#endregion
|
|
252
|
-
export { createConnectConfigurationForAccount, deleteConnectConfiguration, deleteConnectFailureLogEntry, deleteConnectLogEntries, deleteConnectOauthConfiguration, deleteSpecificConnectLogEntry, retrieveConnectConfigurationDetails, retrieveConnectConfigurations, retrieveConnectFailureLogs, retrieveConnectLogEntry, retrieveConnectLogs, retrieveConnectOauthConfiguration, returnAllConnectServiceUsers, returnUsersFromConnectService, setUpConnectOauthConfiguration, updateConnectOauthConfiguration, updateDocusignConnectConfiguration };
|
package/dist/connect.mjs
DELETED
|
@@ -1,217 +0,0 @@
|
|
|
1
|
-
import { docusignConnectConfigurationSchema, docusignGenericObjectSchema, docusignLooseObjectSchema, docusignSuccessSchema } from "./schemas/index.mjs";
|
|
2
|
-
import { r as defineRestOperation } from "./operation-helpers-Bqp7KoLi.mjs";
|
|
3
|
-
import { z } from "zod";
|
|
4
|
-
|
|
5
|
-
//#region src/connect.ts
|
|
6
|
-
/**
|
|
7
|
-
* Connect configurations, OAuth, failure logs, service users. Covers PLAN.md § 6.36.
|
|
8
|
-
*/
|
|
9
|
-
const connectId = z.object({ connectId: z.string().min(1) });
|
|
10
|
-
const logId = z.object({ logId: z.string().min(1) });
|
|
11
|
-
const failureId = z.object({ failureId: z.string().min(1) });
|
|
12
|
-
const connectUser = connectId.extend({ userId: z.string().min(1) });
|
|
13
|
-
const createConnectConfigurationForAccount = defineRestOperation({
|
|
14
|
-
id: "docusign.create-connect-configuration-for-account",
|
|
15
|
-
slug: "DOCUSIGN_CREATE_CONNECT_CONFIGURATION_FOR_ACCOUNT",
|
|
16
|
-
name: "Create Connect Configuration",
|
|
17
|
-
description: "Create a DocuSign Connect configuration.",
|
|
18
|
-
needsApproval: true,
|
|
19
|
-
method: "POST",
|
|
20
|
-
path: "/connect",
|
|
21
|
-
input: z.object({ configuration: docusignLooseObjectSchema() }),
|
|
22
|
-
output: docusignConnectConfigurationSchema,
|
|
23
|
-
body: (input) => input.configuration
|
|
24
|
-
});
|
|
25
|
-
const updateDocusignConnectConfiguration = defineRestOperation({
|
|
26
|
-
id: "docusign.update-docusign-connect-configuration",
|
|
27
|
-
slug: "DOCUSIGN_UPDATE_DOCUSIGN_CONNECT_CONFIGURATION",
|
|
28
|
-
name: "Update Connect Configuration",
|
|
29
|
-
description: "Update a DocuSign Connect configuration.",
|
|
30
|
-
needsApproval: true,
|
|
31
|
-
method: "PUT",
|
|
32
|
-
path: "/connect",
|
|
33
|
-
input: z.object({ configuration: docusignLooseObjectSchema() }),
|
|
34
|
-
output: docusignConnectConfigurationSchema,
|
|
35
|
-
body: (input) => input.configuration
|
|
36
|
-
});
|
|
37
|
-
const retrieveConnectConfigurations = defineRestOperation({
|
|
38
|
-
id: "docusign.retrieve-connect-configurations",
|
|
39
|
-
slug: "DOCUSIGN_RETRIEVE_CONNECT_CONFIGURATIONS",
|
|
40
|
-
name: "Retrieve Connect Configurations",
|
|
41
|
-
description: "List Connect configurations on the account.",
|
|
42
|
-
method: "GET",
|
|
43
|
-
path: "/connect",
|
|
44
|
-
input: z.object({}),
|
|
45
|
-
output: docusignGenericObjectSchema
|
|
46
|
-
});
|
|
47
|
-
const retrieveConnectConfigurationDetails = defineRestOperation({
|
|
48
|
-
id: "docusign.retrieve-connect-configuration-details",
|
|
49
|
-
slug: "DOCUSIGN_RETRIEVE_CONNECT_CONFIGURATION_DETAILS",
|
|
50
|
-
name: "Retrieve Connect Configuration Details",
|
|
51
|
-
description: "Retrieve details for a single Connect configuration.",
|
|
52
|
-
method: "GET",
|
|
53
|
-
path: (ctx) => `/connect/${ctx.encode(String(ctx.input.connectId))}`,
|
|
54
|
-
input: connectId,
|
|
55
|
-
output: docusignConnectConfigurationSchema
|
|
56
|
-
});
|
|
57
|
-
const deleteConnectConfiguration = defineRestOperation({
|
|
58
|
-
id: "docusign.delete-connect-configuration",
|
|
59
|
-
slug: "DOCUSIGN_DELETE_CONNECT_CONFIGURATION",
|
|
60
|
-
name: "Delete Connect Configuration",
|
|
61
|
-
description: "Delete a Connect configuration.",
|
|
62
|
-
needsApproval: true,
|
|
63
|
-
method: "DELETE",
|
|
64
|
-
path: (ctx) => `/connect/${ctx.encode(String(ctx.input.connectId))}`,
|
|
65
|
-
input: connectId,
|
|
66
|
-
output: docusignSuccessSchema,
|
|
67
|
-
transformResponse: () => ({ success: true })
|
|
68
|
-
});
|
|
69
|
-
const setUpConnectOauthConfiguration = defineRestOperation({
|
|
70
|
-
id: "docusign.set-up-connect-oauth-configuration",
|
|
71
|
-
slug: "DOCUSIGN_SET_UP_CONNECT_OAUTH_CONFIGURATION",
|
|
72
|
-
name: "Set Up Connect OAuth Configuration",
|
|
73
|
-
description: "Create an OAuth configuration used by Connect to sign webhooks.",
|
|
74
|
-
needsApproval: true,
|
|
75
|
-
method: "POST",
|
|
76
|
-
path: "/connect/oauth",
|
|
77
|
-
input: z.object({ oauthConfiguration: docusignLooseObjectSchema() }),
|
|
78
|
-
output: docusignGenericObjectSchema,
|
|
79
|
-
body: (input) => input.oauthConfiguration
|
|
80
|
-
});
|
|
81
|
-
const retrieveConnectOauthConfiguration = defineRestOperation({
|
|
82
|
-
id: "docusign.retrieve-connect-oauth-configuration",
|
|
83
|
-
slug: "DOCUSIGN_RETRIEVE_CONNECT_OAUTH_CONFIGURATION",
|
|
84
|
-
name: "Retrieve Connect OAuth Configuration",
|
|
85
|
-
description: "Retrieve the Connect OAuth configuration.",
|
|
86
|
-
method: "GET",
|
|
87
|
-
path: "/connect/oauth",
|
|
88
|
-
input: z.object({}),
|
|
89
|
-
output: docusignGenericObjectSchema
|
|
90
|
-
});
|
|
91
|
-
const updateConnectOauthConfiguration = defineRestOperation({
|
|
92
|
-
id: "docusign.update-connect-oauth-configuration",
|
|
93
|
-
slug: "DOCUSIGN_UPDATE_CONNECT_OAUTH_CONFIGURATION",
|
|
94
|
-
name: "Update Connect OAuth Configuration",
|
|
95
|
-
description: "Update the Connect OAuth configuration.",
|
|
96
|
-
needsApproval: true,
|
|
97
|
-
method: "PUT",
|
|
98
|
-
path: "/connect/oauth",
|
|
99
|
-
input: z.object({ oauthConfiguration: docusignLooseObjectSchema() }),
|
|
100
|
-
output: docusignGenericObjectSchema,
|
|
101
|
-
body: (input) => input.oauthConfiguration
|
|
102
|
-
});
|
|
103
|
-
const deleteConnectOauthConfiguration = defineRestOperation({
|
|
104
|
-
id: "docusign.delete-connect-oauth-configuration",
|
|
105
|
-
slug: "DOCUSIGN_DELETE_CONNECT_OAUTH_CONFIGURATION",
|
|
106
|
-
name: "Delete Connect OAuth Configuration",
|
|
107
|
-
description: "Delete the Connect OAuth configuration.",
|
|
108
|
-
needsApproval: true,
|
|
109
|
-
method: "DELETE",
|
|
110
|
-
path: "/connect/oauth",
|
|
111
|
-
input: z.object({}),
|
|
112
|
-
output: docusignSuccessSchema,
|
|
113
|
-
transformResponse: () => ({ success: true })
|
|
114
|
-
});
|
|
115
|
-
const retrieveConnectFailureLogs = defineRestOperation({
|
|
116
|
-
id: "docusign.retrieve-connect-failure-logs",
|
|
117
|
-
slug: "DOCUSIGN_RETRIEVE_CONNECT_FAILURE_LOGS",
|
|
118
|
-
name: "Retrieve Connect Failure Logs",
|
|
119
|
-
description: "List Connect delivery failure logs.",
|
|
120
|
-
method: "GET",
|
|
121
|
-
path: "/connect/failures",
|
|
122
|
-
input: z.object({
|
|
123
|
-
fromDate: z.string().optional(),
|
|
124
|
-
toDate: z.string().optional()
|
|
125
|
-
}),
|
|
126
|
-
output: docusignGenericObjectSchema,
|
|
127
|
-
query: (input) => ({
|
|
128
|
-
from_date: input.fromDate,
|
|
129
|
-
to_date: input.toDate
|
|
130
|
-
})
|
|
131
|
-
});
|
|
132
|
-
const deleteConnectFailureLogEntry = defineRestOperation({
|
|
133
|
-
id: "docusign.delete-connect-failure-log-entry",
|
|
134
|
-
slug: "DOCUSIGN_DELETE_CONNECT_FAILURE_LOG_ENTRY",
|
|
135
|
-
name: "Delete Connect Failure Log Entry",
|
|
136
|
-
description: "Delete a single Connect failure log entry.",
|
|
137
|
-
needsApproval: true,
|
|
138
|
-
method: "DELETE",
|
|
139
|
-
path: (ctx) => `/connect/failures/${ctx.encode(String(ctx.input.failureId))}`,
|
|
140
|
-
input: failureId,
|
|
141
|
-
output: docusignSuccessSchema,
|
|
142
|
-
transformResponse: () => ({ success: true })
|
|
143
|
-
});
|
|
144
|
-
const retrieveConnectLogs = defineRestOperation({
|
|
145
|
-
id: "docusign.retrieve-connect-logs",
|
|
146
|
-
slug: "DOCUSIGN_RETRIEVE_CONNECT_LOGS",
|
|
147
|
-
name: "Retrieve Connect Logs",
|
|
148
|
-
description: "List Connect delivery logs.",
|
|
149
|
-
method: "GET",
|
|
150
|
-
path: "/connect/logs",
|
|
151
|
-
input: z.object({
|
|
152
|
-
fromDate: z.string().optional(),
|
|
153
|
-
toDate: z.string().optional()
|
|
154
|
-
}),
|
|
155
|
-
output: docusignGenericObjectSchema,
|
|
156
|
-
query: (input) => ({
|
|
157
|
-
from_date: input.fromDate,
|
|
158
|
-
to_date: input.toDate
|
|
159
|
-
})
|
|
160
|
-
});
|
|
161
|
-
const retrieveConnectLogEntry = defineRestOperation({
|
|
162
|
-
id: "docusign.retrieve-connect-log-entry",
|
|
163
|
-
slug: "DOCUSIGN_RETRIEVE_CONNECT_LOG_ENTRY",
|
|
164
|
-
name: "Retrieve Connect Log Entry",
|
|
165
|
-
description: "Retrieve a single Connect log entry.",
|
|
166
|
-
method: "GET",
|
|
167
|
-
path: (ctx) => `/connect/logs/${ctx.encode(String(ctx.input.logId))}`,
|
|
168
|
-
input: logId,
|
|
169
|
-
output: docusignGenericObjectSchema
|
|
170
|
-
});
|
|
171
|
-
const deleteConnectLogEntries = defineRestOperation({
|
|
172
|
-
id: "docusign.delete-connect-log-entries",
|
|
173
|
-
slug: "DOCUSIGN_DELETE_CONNECT_LOG_ENTRIES",
|
|
174
|
-
name: "Delete Connect Log Entries",
|
|
175
|
-
description: "Delete all Connect log entries.",
|
|
176
|
-
needsApproval: true,
|
|
177
|
-
method: "DELETE",
|
|
178
|
-
path: "/connect/logs",
|
|
179
|
-
input: z.object({}),
|
|
180
|
-
output: docusignSuccessSchema,
|
|
181
|
-
transformResponse: () => ({ success: true })
|
|
182
|
-
});
|
|
183
|
-
const deleteSpecificConnectLogEntry = defineRestOperation({
|
|
184
|
-
id: "docusign.delete-specific-connect-log-entry",
|
|
185
|
-
slug: "DOCUSIGN_DELETE_SPECIFIC_CONNECT_LOG_ENTRY",
|
|
186
|
-
name: "Delete Specific Connect Log Entry",
|
|
187
|
-
description: "Delete a specific Connect log entry.",
|
|
188
|
-
needsApproval: true,
|
|
189
|
-
method: "DELETE",
|
|
190
|
-
path: (ctx) => `/connect/logs/${ctx.encode(String(ctx.input.logId))}`,
|
|
191
|
-
input: logId,
|
|
192
|
-
output: docusignSuccessSchema,
|
|
193
|
-
transformResponse: () => ({ success: true })
|
|
194
|
-
});
|
|
195
|
-
const returnAllConnectServiceUsers = defineRestOperation({
|
|
196
|
-
id: "docusign.return-all-connect-service-users",
|
|
197
|
-
slug: "DOCUSIGN_RETURN_ALL_CONNECT_SERVICE_USERS",
|
|
198
|
-
name: "Return All Connect Service Users",
|
|
199
|
-
description: "List service users allowed to consume Connect events.",
|
|
200
|
-
method: "GET",
|
|
201
|
-
path: (ctx) => `/connect/${ctx.encode(String(ctx.input.connectId))}/users`,
|
|
202
|
-
input: connectId,
|
|
203
|
-
output: docusignGenericObjectSchema
|
|
204
|
-
});
|
|
205
|
-
const returnUsersFromConnectService = defineRestOperation({
|
|
206
|
-
id: "docusign.return-users-from-connect-service",
|
|
207
|
-
slug: "DOCUSIGN_RETURN_USERS_FROM_CONNECT_SERVICE",
|
|
208
|
-
name: "Return Users From Connect Service",
|
|
209
|
-
description: "Fetch a specific user allowed to consume Connect events.",
|
|
210
|
-
method: "GET",
|
|
211
|
-
path: (ctx) => `/connect/${ctx.encode(String(ctx.input.connectId))}/users/${ctx.encode(String(ctx.input.userId))}`,
|
|
212
|
-
input: connectUser,
|
|
213
|
-
output: docusignGenericObjectSchema
|
|
214
|
-
});
|
|
215
|
-
|
|
216
|
-
//#endregion
|
|
217
|
-
export { createConnectConfigurationForAccount, deleteConnectConfiguration, deleteConnectFailureLogEntry, deleteConnectLogEntries, deleteConnectOauthConfiguration, deleteSpecificConnectLogEntry, retrieveConnectConfigurationDetails, retrieveConnectConfigurations, retrieveConnectFailureLogs, retrieveConnectLogEntry, retrieveConnectLogs, retrieveConnectOauthConfiguration, returnAllConnectServiceUsers, returnUsersFromConnectService, setUpConnectOauthConfiguration, updateConnectOauthConfiguration, updateDocusignConnectConfiguration };
|
package/dist/connection.d.mts
DELETED
package/dist/connection.mjs
DELETED
package/dist/contacts.d.mts
DELETED
|
@@ -1,80 +0,0 @@
|
|
|
1
|
-
import * as _keystrokehq_core0 from "@keystrokehq/core";
|
|
2
|
-
import { z } from "zod";
|
|
3
|
-
import * as _keystrokehq_core_credential_set0 from "@keystrokehq/core/credential-set";
|
|
4
|
-
|
|
5
|
-
//#region src/contacts.d.ts
|
|
6
|
-
declare const getDocusignAccountContacts: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
7
|
-
startPosition: z.ZodOptional<z.ZodNumber>;
|
|
8
|
-
count: z.ZodOptional<z.ZodNumber>;
|
|
9
|
-
cloudProvider: z.ZodOptional<z.ZodString>;
|
|
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<"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<{
|
|
17
|
-
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
18
|
-
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
19
|
-
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
20
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
21
|
-
declare const addContactsToContactsList: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
22
|
-
contactList: z.ZodArray<z.ZodObject<{
|
|
23
|
-
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
24
|
-
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
25
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
26
|
-
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
27
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
28
|
-
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
29
|
-
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
30
|
-
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
31
|
-
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
32
|
-
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
33
|
-
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
34
|
-
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
35
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
36
|
-
declare const updateContactsInformation: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
37
|
-
contactList: z.ZodArray<z.ZodObject<{
|
|
38
|
-
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
39
|
-
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
40
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
41
|
-
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
42
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"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>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
47
|
-
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
48
|
-
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
49
|
-
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
50
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
51
|
-
declare const deleteContactFromAccount: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
52
|
-
contactId: z.ZodString;
|
|
53
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
54
|
-
success: z.ZodBoolean;
|
|
55
|
-
}, z.core.$strip>, 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<{
|
|
60
|
-
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
61
|
-
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
62
|
-
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
63
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
64
|
-
declare const deleteMultipleContactsFromAccount: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
65
|
-
contactList: z.ZodArray<z.ZodObject<{
|
|
66
|
-
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
67
|
-
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
68
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
69
|
-
success: z.ZodBoolean;
|
|
70
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
71
|
-
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
72
|
-
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
73
|
-
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
74
|
-
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<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>], undefined>;
|
|
79
|
-
//#endregion
|
|
80
|
-
export { addContactsToContactsList, deleteContactFromAccount, deleteMultipleContactsFromAccount, getDocusignAccountContacts, updateContactsInformation };
|
package/dist/contacts.mjs
DELETED
|
@@ -1,79 +0,0 @@
|
|
|
1
|
-
import { docusignGenericObjectSchema, docusignLooseObjectSchema, docusignSuccessSchema } from "./schemas/index.mjs";
|
|
2
|
-
import { r as defineRestOperation } from "./operation-helpers-Bqp7KoLi.mjs";
|
|
3
|
-
import { z } from "zod";
|
|
4
|
-
|
|
5
|
-
//#region src/contacts.ts
|
|
6
|
-
/**
|
|
7
|
-
* Account contacts. Covers PLAN.md § 6.21.
|
|
8
|
-
*/
|
|
9
|
-
const getDocusignAccountContacts = defineRestOperation({
|
|
10
|
-
id: "docusign.get-docusign-account-contacts",
|
|
11
|
-
slug: "DOCUSIGN_GET_DOCUSIGN_ACCOUNT_CONTACTS",
|
|
12
|
-
name: "Get Account Contacts",
|
|
13
|
-
description: "List contacts stored on the account address book.",
|
|
14
|
-
method: "GET",
|
|
15
|
-
path: "/contacts",
|
|
16
|
-
input: z.object({
|
|
17
|
-
startPosition: z.number().int().nonnegative().optional(),
|
|
18
|
-
count: z.number().int().positive().optional(),
|
|
19
|
-
cloudProvider: z.string().optional()
|
|
20
|
-
}),
|
|
21
|
-
output: docusignGenericObjectSchema,
|
|
22
|
-
query: (input) => ({
|
|
23
|
-
start_position: input.startPosition,
|
|
24
|
-
count: input.count,
|
|
25
|
-
cloud_provider: input.cloudProvider
|
|
26
|
-
})
|
|
27
|
-
});
|
|
28
|
-
const addContactsToContactsList = defineRestOperation({
|
|
29
|
-
id: "docusign.add-contacts-to-contacts-list",
|
|
30
|
-
slug: "DOCUSIGN_ADD_CONTACTS_TO_CONTACTS_LIST",
|
|
31
|
-
name: "Add Contacts To Contacts List",
|
|
32
|
-
description: "Add contacts to the account address book.",
|
|
33
|
-
needsApproval: true,
|
|
34
|
-
method: "POST",
|
|
35
|
-
path: "/contacts",
|
|
36
|
-
input: z.object({ contactList: z.array(docusignLooseObjectSchema()).min(1) }),
|
|
37
|
-
output: docusignGenericObjectSchema,
|
|
38
|
-
body: (input) => ({ contactList: input.contactList })
|
|
39
|
-
});
|
|
40
|
-
const updateContactsInformation = defineRestOperation({
|
|
41
|
-
id: "docusign.update-contacts-information",
|
|
42
|
-
slug: "DOCUSIGN_UPDATE_CONTACTS_INFORMATION",
|
|
43
|
-
name: "Update Contacts Information",
|
|
44
|
-
description: "Update contacts in the account address book.",
|
|
45
|
-
needsApproval: true,
|
|
46
|
-
method: "PUT",
|
|
47
|
-
path: "/contacts",
|
|
48
|
-
input: z.object({ contactList: z.array(docusignLooseObjectSchema()).min(1) }),
|
|
49
|
-
output: docusignGenericObjectSchema,
|
|
50
|
-
body: (input) => ({ contactList: input.contactList })
|
|
51
|
-
});
|
|
52
|
-
const deleteContactFromAccount = defineRestOperation({
|
|
53
|
-
id: "docusign.delete-contact-from-account",
|
|
54
|
-
slug: "DOCUSIGN_DELETE_CONTACT_FROM_ACCOUNT",
|
|
55
|
-
name: "Delete Contact From Account",
|
|
56
|
-
description: "Delete a single contact from the account address book.",
|
|
57
|
-
needsApproval: true,
|
|
58
|
-
method: "DELETE",
|
|
59
|
-
path: (ctx) => `/contacts/${ctx.encode(String(ctx.input.contactId))}`,
|
|
60
|
-
input: z.object({ contactId: z.string().min(1) }),
|
|
61
|
-
output: docusignSuccessSchema,
|
|
62
|
-
transformResponse: () => ({ success: true })
|
|
63
|
-
});
|
|
64
|
-
const deleteMultipleContactsFromAccount = defineRestOperation({
|
|
65
|
-
id: "docusign.delete-multiple-contacts-from-account",
|
|
66
|
-
slug: "DOCUSIGN_DELETE_MULTIPLE_CONTACTS_FROM_ACCOUNT",
|
|
67
|
-
name: "Delete Multiple Contacts From Account",
|
|
68
|
-
description: "Delete multiple contacts from the account address book.",
|
|
69
|
-
needsApproval: true,
|
|
70
|
-
method: "DELETE",
|
|
71
|
-
path: "/contacts",
|
|
72
|
-
input: z.object({ contactList: z.array(docusignLooseObjectSchema()).min(1) }),
|
|
73
|
-
output: docusignSuccessSchema,
|
|
74
|
-
body: (input) => ({ contactList: input.contactList }),
|
|
75
|
-
transformResponse: () => ({ success: true })
|
|
76
|
-
});
|
|
77
|
-
|
|
78
|
-
//#endregion
|
|
79
|
-
export { addContactsToContactsList, deleteContactFromAccount, deleteMultipleContactsFromAccount, getDocusignAccountContacts, updateContactsInformation };
|