@keystrokehq/docusign 0.0.1
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 +248 -0
- package/dist/_official/index.d.mts +3 -0
- package/dist/_official/index.mjs +3 -0
- package/dist/_runtime/index.d.mts +1 -0
- package/dist/_runtime/index.mjs +1 -0
- package/dist/account-custom-fields.d.mts +65 -0
- package/dist/account-custom-fields.mjs +63 -0
- package/dist/account-stamps.d.mts +164 -0
- package/dist/account-stamps.mjs +144 -0
- package/dist/account-tabs.d.mts +90 -0
- package/dist/account-tabs.mjs +80 -0
- package/dist/account.d.mts +233 -0
- package/dist/account.mjs +207 -0
- package/dist/admin.d.mts +18 -0
- package/dist/admin.mjs +20 -0
- package/dist/auth.d.mts +37 -0
- package/dist/auth.mjs +53 -0
- package/dist/bcc-archive.d.mts +64 -0
- package/dist/bcc-archive.mjs +70 -0
- package/dist/billing.d.mts +217 -0
- package/dist/billing.mjs +208 -0
- package/dist/brands.d.mts +192 -0
- package/dist/brands.mjs +157 -0
- package/dist/bulk-send.d.mts +137 -0
- package/dist/bulk-send.mjs +115 -0
- package/dist/chunked-uploads.d.mts +78 -0
- package/dist/chunked-uploads.mjs +74 -0
- package/dist/click.d.mts +18 -0
- package/dist/click.mjs +20 -0
- package/dist/client.d.mts +47 -0
- package/dist/client.mjs +286 -0
- package/dist/clm.d.mts +18 -0
- package/dist/clm.mjs +20 -0
- package/dist/cloud-storage.d.mts +122 -0
- package/dist/cloud-storage.mjs +115 -0
- package/dist/connect.d.mts +252 -0
- package/dist/connect.mjs +217 -0
- package/dist/connection.d.mts +2 -0
- package/dist/connection.mjs +3 -0
- package/dist/contacts.d.mts +80 -0
- package/dist/contacts.mjs +79 -0
- package/dist/enote.d.mts +44 -0
- package/dist/enote.mjs +45 -0
- package/dist/envelope-attachments.d.mts +86 -0
- package/dist/envelope-attachments.mjs +76 -0
- package/dist/envelope-custom-fields.d.mts +166 -0
- package/dist/envelope-custom-fields.mjs +92 -0
- package/dist/envelope-documents.d.mts +271 -0
- package/dist/envelope-documents.mjs +219 -0
- package/dist/envelope-email.d.mts +65 -0
- package/dist/envelope-email.mjs +60 -0
- package/dist/envelope-lock.d.mts +65 -0
- package/dist/envelope-lock.mjs +60 -0
- package/dist/envelope-logs.d.mts +126 -0
- package/dist/envelope-logs.mjs +126 -0
- package/dist/envelope-notifications.d.mts +47 -0
- package/dist/envelope-notifications.mjs +44 -0
- package/dist/envelope-recipients.d.mts +171 -0
- package/dist/envelope-recipients.mjs +136 -0
- package/dist/envelope-tabs.d.mts +52 -0
- package/dist/envelope-tabs.mjs +49 -0
- package/dist/envelope-views.d.mts +99 -0
- package/dist/envelope-views.mjs +88 -0
- package/dist/envelope-workflow.d.mts +208 -0
- package/dist/envelope-workflow.mjs +176 -0
- package/dist/envelopes.d.mts +430 -0
- package/dist/envelopes.mjs +190 -0
- package/dist/errors.d.mts +48 -0
- package/dist/errors.mjs +76 -0
- package/dist/events.d.mts +192 -0
- package/dist/events.mjs +146 -0
- package/dist/factory-wViQTjgN.mjs +8 -0
- package/dist/groups.d.mts +191 -0
- package/dist/groups.mjs +146 -0
- package/dist/index.d.mts +1 -0
- package/dist/index.mjs +1 -0
- package/dist/integration-CmRztL9R.mjs +229 -0
- package/dist/integration-DqwHRkRh.d.mts +73 -0
- package/dist/messaging.d.mts +1 -0
- package/dist/messaging.mjs +1 -0
- package/dist/monitor.d.mts +18 -0
- package/dist/monitor.mjs +20 -0
- package/dist/notary.d.mts +129 -0
- package/dist/notary.mjs +122 -0
- package/dist/operation-helpers-BMTArRh9.mjs +102 -0
- package/dist/permission-profiles.d.mts +78 -0
- package/dist/permission-profiles.mjs +70 -0
- package/dist/power-forms.d.mts +51 -0
- package/dist/power-forms.mjs +62 -0
- package/dist/provider-app-CWp1SuI4.d.mts +88 -0
- package/dist/rooms.d.mts +18 -0
- package/dist/rooms.mjs +28 -0
- package/dist/schemas/index.d.mts +581 -0
- package/dist/schemas/index.mjs +309 -0
- package/dist/shared-DTUCJayR.mjs +27 -0
- package/dist/signing-groups.d.mts +139 -0
- package/dist/signing-groups.mjs +117 -0
- package/dist/template-custom-fields.d.mts +199 -0
- package/dist/template-custom-fields.mjs +107 -0
- package/dist/template-documents.d.mts +132 -0
- package/dist/template-documents.mjs +109 -0
- package/dist/template-lock.d.mts +65 -0
- package/dist/template-lock.mjs +60 -0
- package/dist/template-sharing.d.mts +129 -0
- package/dist/template-sharing.mjs +108 -0
- package/dist/template-workflow.d.mts +184 -0
- package/dist/template-workflow.mjs +152 -0
- package/dist/templates.d.mts +158 -0
- package/dist/templates.mjs +110 -0
- package/dist/triggers.d.mts +43 -0
- package/dist/triggers.mjs +91 -0
- package/dist/user-authorizations.d.mts +129 -0
- package/dist/user-authorizations.mjs +133 -0
- package/dist/user-custom-settings.d.mts +81 -0
- package/dist/user-custom-settings.mjs +69 -0
- package/dist/user-profile.d.mts +109 -0
- package/dist/user-profile.mjs +106 -0
- package/dist/user-signatures.d.mts +208 -0
- package/dist/user-signatures.mjs +180 -0
- package/dist/users.d.mts +128 -0
- package/dist/users.mjs +98 -0
- package/dist/verification.d.mts +19 -0
- package/dist/verification.mjs +59 -0
- package/dist/workspaces.d.mts +173 -0
- package/dist/workspaces.mjs +143 -0
- package/package.json +291 -0
|
@@ -0,0 +1,217 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
import * as _keystrokehq_core0 from "@keystrokehq/core";
|
|
3
|
+
import * as _keystrokehq_core_credential_set0 from "@keystrokehq/core/credential-set";
|
|
4
|
+
|
|
5
|
+
//#region src/billing.d.ts
|
|
6
|
+
declare const retrieveAccountBillingPlan: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
7
|
+
includeCreditCardInformation: z.ZodOptional<z.ZodBoolean>;
|
|
8
|
+
includeMetadata: z.ZodOptional<z.ZodBoolean>;
|
|
9
|
+
includeSuccessorPlans: z.ZodOptional<z.ZodBoolean>;
|
|
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 retrieveBillingPlanDetails: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
22
|
+
planId: z.ZodString;
|
|
23
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
24
|
+
[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<{
|
|
30
|
+
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
31
|
+
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
32
|
+
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
33
|
+
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
34
|
+
declare const retrieveListOfBillingPlans: _keystrokehq_core0.Operation<z.ZodObject<{}, z.core.$strip>, z.ZodObject<{
|
|
35
|
+
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
36
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
37
|
+
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
38
|
+
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
39
|
+
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
40
|
+
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
41
|
+
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
42
|
+
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
43
|
+
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
44
|
+
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
45
|
+
declare const updateBillingPlanForAccount: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
46
|
+
plan: z.ZodObject<{
|
|
47
|
+
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
48
|
+
}, z.core.$catchall<z.ZodUnknown>>;
|
|
49
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
50
|
+
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
51
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
52
|
+
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
53
|
+
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
54
|
+
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
55
|
+
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
56
|
+
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
57
|
+
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
58
|
+
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
59
|
+
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
60
|
+
declare const getDowngradePlanInfoForAccount: _keystrokehq_core0.Operation<z.ZodObject<{}, z.core.$strip>, z.ZodObject<{
|
|
61
|
+
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
62
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
63
|
+
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
64
|
+
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
65
|
+
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
66
|
+
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
67
|
+
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
68
|
+
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
69
|
+
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
70
|
+
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
71
|
+
declare const queueDowngradeBillingPlanRequest: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
72
|
+
request: z.ZodObject<{
|
|
73
|
+
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
74
|
+
}, z.core.$catchall<z.ZodUnknown>>;
|
|
75
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
76
|
+
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
77
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
78
|
+
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
79
|
+
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
80
|
+
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
81
|
+
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
82
|
+
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
83
|
+
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
84
|
+
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
85
|
+
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
86
|
+
declare const purchaseAdditionalEnvelopes: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
87
|
+
request: z.ZodObject<{
|
|
88
|
+
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
89
|
+
}, z.core.$catchall<z.ZodUnknown>>;
|
|
90
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
91
|
+
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
92
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
93
|
+
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
94
|
+
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
95
|
+
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
96
|
+
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
97
|
+
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
98
|
+
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
99
|
+
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
100
|
+
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
101
|
+
declare const getAccountBillingChargesList: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
102
|
+
includeCharges: z.ZodOptional<z.ZodString>;
|
|
103
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
104
|
+
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
105
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
106
|
+
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
107
|
+
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
108
|
+
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
109
|
+
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
110
|
+
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
111
|
+
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
112
|
+
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
113
|
+
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
114
|
+
declare const listBillingInvoices: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
115
|
+
fromDate: z.ZodOptional<z.ZodString>;
|
|
116
|
+
toDate: z.ZodOptional<z.ZodString>;
|
|
117
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
118
|
+
[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<{
|
|
124
|
+
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
125
|
+
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
126
|
+
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
127
|
+
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
128
|
+
declare const listPastDueInvoices: _keystrokehq_core0.Operation<z.ZodObject<{}, z.core.$strip>, z.ZodObject<{
|
|
129
|
+
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
130
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
131
|
+
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
132
|
+
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
133
|
+
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
134
|
+
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
135
|
+
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
136
|
+
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
137
|
+
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
138
|
+
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
139
|
+
declare const retrieveBillingInvoice: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
140
|
+
invoiceId: z.ZodString;
|
|
141
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
142
|
+
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
143
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
144
|
+
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
145
|
+
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
146
|
+
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
147
|
+
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
148
|
+
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
149
|
+
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
150
|
+
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
151
|
+
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
152
|
+
declare const retrieveBillingPaymentInfo: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
153
|
+
paymentId: z.ZodString;
|
|
154
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
155
|
+
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
156
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
157
|
+
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
158
|
+
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
159
|
+
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
160
|
+
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
161
|
+
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
162
|
+
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
163
|
+
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
164
|
+
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
165
|
+
declare const retrievePaymentInformationList: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
166
|
+
fromDate: z.ZodOptional<z.ZodString>;
|
|
167
|
+
toDate: z.ZodOptional<z.ZodString>;
|
|
168
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
169
|
+
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
170
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
171
|
+
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
172
|
+
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
173
|
+
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
174
|
+
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
175
|
+
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
176
|
+
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
177
|
+
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
178
|
+
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
179
|
+
declare const postPaymentToInvoice: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
180
|
+
payment: z.ZodObject<{
|
|
181
|
+
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
182
|
+
}, z.core.$catchall<z.ZodUnknown>>;
|
|
183
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
184
|
+
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
185
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
186
|
+
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
187
|
+
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
188
|
+
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
189
|
+
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
190
|
+
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
191
|
+
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
192
|
+
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
193
|
+
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
194
|
+
declare const retrieveCreditCardInfo: _keystrokehq_core0.Operation<z.ZodObject<{}, z.core.$strip>, z.ZodObject<{
|
|
195
|
+
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
196
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
197
|
+
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
198
|
+
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
199
|
+
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
200
|
+
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
201
|
+
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
202
|
+
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
203
|
+
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
204
|
+
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
205
|
+
declare const listPaymentGatewayAccountsInfo: _keystrokehq_core0.Operation<z.ZodObject<{}, z.core.$strip>, z.ZodObject<{
|
|
206
|
+
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
207
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
208
|
+
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
209
|
+
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
210
|
+
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
211
|
+
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
212
|
+
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
213
|
+
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
214
|
+
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
215
|
+
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
216
|
+
//#endregion
|
|
217
|
+
export { getAccountBillingChargesList, getDowngradePlanInfoForAccount, listBillingInvoices, listPastDueInvoices, listPaymentGatewayAccountsInfo, postPaymentToInvoice, purchaseAdditionalEnvelopes, queueDowngradeBillingPlanRequest, retrieveAccountBillingPlan, retrieveBillingInvoice, retrieveBillingPaymentInfo, retrieveBillingPlanDetails, retrieveCreditCardInfo, retrieveListOfBillingPlans, retrievePaymentInformationList, updateBillingPlanForAccount };
|
package/dist/billing.mjs
ADDED
|
@@ -0,0 +1,208 @@
|
|
|
1
|
+
import { docusignGenericObjectSchema, docusignLooseObjectSchema } from "./schemas/index.mjs";
|
|
2
|
+
import { r as defineRestOperation } from "./operation-helpers-BMTArRh9.mjs";
|
|
3
|
+
import { z } from "zod";
|
|
4
|
+
|
|
5
|
+
//#region src/billing.ts
|
|
6
|
+
/**
|
|
7
|
+
* Billing + invoices + payments + plans. Covers PLAN.md § 6.35.
|
|
8
|
+
*/
|
|
9
|
+
const invoiceId = z.object({ invoiceId: z.string().min(1) });
|
|
10
|
+
const planId = z.object({ planId: z.string().min(1) });
|
|
11
|
+
const paymentId = z.object({ paymentId: z.string().min(1) });
|
|
12
|
+
const retrieveAccountBillingPlan = defineRestOperation({
|
|
13
|
+
id: "retrieve_account_billing_plan",
|
|
14
|
+
slug: "DOCUSIGN_RETRIEVE_ACCOUNT_BILLING_PLAN",
|
|
15
|
+
name: "Retrieve Account Billing Plan",
|
|
16
|
+
description: "Retrieve the current billing plan on the account.",
|
|
17
|
+
method: "GET",
|
|
18
|
+
path: "/billing_plan",
|
|
19
|
+
input: z.object({
|
|
20
|
+
includeCreditCardInformation: z.boolean().optional(),
|
|
21
|
+
includeMetadata: z.boolean().optional(),
|
|
22
|
+
includeSuccessorPlans: z.boolean().optional()
|
|
23
|
+
}),
|
|
24
|
+
output: docusignGenericObjectSchema,
|
|
25
|
+
query: (input) => ({
|
|
26
|
+
include_credit_card_information: input.includeCreditCardInformation,
|
|
27
|
+
include_metadata: input.includeMetadata,
|
|
28
|
+
include_successor_plans: input.includeSuccessorPlans
|
|
29
|
+
})
|
|
30
|
+
});
|
|
31
|
+
const retrieveBillingPlanDetails = defineRestOperation({
|
|
32
|
+
id: "retrieve_billing_plan_details",
|
|
33
|
+
slug: "DOCUSIGN_RETRIEVE_BILLING_PLAN_DETAILS",
|
|
34
|
+
name: "Retrieve Billing Plan Details",
|
|
35
|
+
description: "Retrieve details of a specific billing plan.",
|
|
36
|
+
method: "GET",
|
|
37
|
+
path: (ctx) => `/billing_plans/${ctx.encode(String(ctx.input.planId))}`,
|
|
38
|
+
input: planId,
|
|
39
|
+
output: docusignGenericObjectSchema,
|
|
40
|
+
accountScoped: false
|
|
41
|
+
});
|
|
42
|
+
const retrieveListOfBillingPlans = defineRestOperation({
|
|
43
|
+
id: "retrieve_list_of_billing_plans",
|
|
44
|
+
slug: "DOCUSIGN_RETRIEVE_LIST_OF_BILLING_PLANS",
|
|
45
|
+
name: "Retrieve List Of Billing Plans",
|
|
46
|
+
description: "Retrieve the list of billing plans available for the account.",
|
|
47
|
+
method: "GET",
|
|
48
|
+
path: "/billing_plans",
|
|
49
|
+
input: z.object({}),
|
|
50
|
+
output: docusignGenericObjectSchema,
|
|
51
|
+
accountScoped: false
|
|
52
|
+
});
|
|
53
|
+
const updateBillingPlanForAccount = defineRestOperation({
|
|
54
|
+
id: "update_billing_plan_for_account",
|
|
55
|
+
slug: "DOCUSIGN_UPDATE_BILLING_PLAN_FOR_ACCOUNT",
|
|
56
|
+
name: "Update Billing Plan",
|
|
57
|
+
description: "Update the billing plan attached to the account.",
|
|
58
|
+
needsApproval: true,
|
|
59
|
+
method: "PUT",
|
|
60
|
+
path: "/billing_plan",
|
|
61
|
+
input: z.object({ plan: docusignLooseObjectSchema() }),
|
|
62
|
+
output: docusignGenericObjectSchema,
|
|
63
|
+
body: (input) => input.plan
|
|
64
|
+
});
|
|
65
|
+
const getDowngradePlanInfoForAccount = defineRestOperation({
|
|
66
|
+
id: "get_downgrade_plan_info_for_account",
|
|
67
|
+
slug: "DOCUSIGN_GET_DOWNGRADE_PLAN_INFO_FOR_ACCOUNT",
|
|
68
|
+
name: "Get Downgrade Plan Info",
|
|
69
|
+
description: "Retrieve downgrade-plan information for the account.",
|
|
70
|
+
method: "GET",
|
|
71
|
+
path: "/billing_plan/downgrade",
|
|
72
|
+
input: z.object({}),
|
|
73
|
+
output: docusignGenericObjectSchema
|
|
74
|
+
});
|
|
75
|
+
const queueDowngradeBillingPlanRequest = defineRestOperation({
|
|
76
|
+
id: "queue_downgrade_billing_plan_request",
|
|
77
|
+
slug: "DOCUSIGN_QUEUE_DOWNGRADE_BILLING_PLAN_REQUEST",
|
|
78
|
+
name: "Queue Downgrade Billing Plan",
|
|
79
|
+
description: "Queue a downgrade-plan request for the account.",
|
|
80
|
+
needsApproval: true,
|
|
81
|
+
method: "PUT",
|
|
82
|
+
path: "/billing_plan/downgrade",
|
|
83
|
+
input: z.object({ request: docusignLooseObjectSchema() }),
|
|
84
|
+
output: docusignGenericObjectSchema,
|
|
85
|
+
body: (input) => input.request
|
|
86
|
+
});
|
|
87
|
+
const purchaseAdditionalEnvelopes = defineRestOperation({
|
|
88
|
+
id: "purchase_additional_envelopes",
|
|
89
|
+
slug: "DOCUSIGN_PURCHASE_ADDITIONAL_ENVELOPES",
|
|
90
|
+
name: "Purchase Additional Envelopes",
|
|
91
|
+
description: "Purchase additional envelopes for the account.",
|
|
92
|
+
needsApproval: true,
|
|
93
|
+
method: "PUT",
|
|
94
|
+
path: "/billing_plan/purchased_envelopes",
|
|
95
|
+
input: z.object({ request: docusignLooseObjectSchema() }),
|
|
96
|
+
output: docusignGenericObjectSchema,
|
|
97
|
+
body: (input) => input.request
|
|
98
|
+
});
|
|
99
|
+
const getAccountBillingChargesList = defineRestOperation({
|
|
100
|
+
id: "get_account_billing_charges_list",
|
|
101
|
+
slug: "DOCUSIGN_GET_ACCOUNT_BILLING_CHARGES_LIST",
|
|
102
|
+
name: "Get Account Billing Charges",
|
|
103
|
+
description: "List billing charges.",
|
|
104
|
+
method: "GET",
|
|
105
|
+
path: "/billing_charges",
|
|
106
|
+
input: z.object({ includeCharges: z.string().optional() }),
|
|
107
|
+
output: docusignGenericObjectSchema,
|
|
108
|
+
query: (input) => ({ include_charges: input.includeCharges })
|
|
109
|
+
});
|
|
110
|
+
const listBillingInvoices = defineRestOperation({
|
|
111
|
+
id: "list_billing_invoices",
|
|
112
|
+
slug: "DOCUSIGN_LIST_BILLING_INVOICES",
|
|
113
|
+
name: "List Billing Invoices",
|
|
114
|
+
description: "List billing invoices.",
|
|
115
|
+
method: "GET",
|
|
116
|
+
path: "/billing_invoices",
|
|
117
|
+
input: z.object({
|
|
118
|
+
fromDate: z.string().optional(),
|
|
119
|
+
toDate: z.string().optional()
|
|
120
|
+
}),
|
|
121
|
+
output: docusignGenericObjectSchema,
|
|
122
|
+
query: (input) => ({
|
|
123
|
+
from_date: input.fromDate,
|
|
124
|
+
to_date: input.toDate
|
|
125
|
+
})
|
|
126
|
+
});
|
|
127
|
+
const listPastDueInvoices = defineRestOperation({
|
|
128
|
+
id: "list_past_due_invoices",
|
|
129
|
+
slug: "DOCUSIGN_LIST_PAST_DUE_INVOICES",
|
|
130
|
+
name: "List Past Due Invoices",
|
|
131
|
+
description: "List past-due billing invoices.",
|
|
132
|
+
method: "GET",
|
|
133
|
+
path: "/billing_invoices_past_due",
|
|
134
|
+
input: z.object({}),
|
|
135
|
+
output: docusignGenericObjectSchema
|
|
136
|
+
});
|
|
137
|
+
const retrieveBillingInvoice = defineRestOperation({
|
|
138
|
+
id: "retrieve_billing_invoice",
|
|
139
|
+
slug: "DOCUSIGN_RETRIEVE_BILLING_INVOICE",
|
|
140
|
+
name: "Retrieve Billing Invoice",
|
|
141
|
+
description: "Retrieve a specific billing invoice.",
|
|
142
|
+
method: "GET",
|
|
143
|
+
path: (ctx) => `/billing_invoices/${ctx.encode(String(ctx.input.invoiceId))}`,
|
|
144
|
+
input: invoiceId,
|
|
145
|
+
output: docusignGenericObjectSchema
|
|
146
|
+
});
|
|
147
|
+
const retrieveBillingPaymentInfo = defineRestOperation({
|
|
148
|
+
id: "retrieve_billing_payment_info",
|
|
149
|
+
slug: "DOCUSIGN_RETRIEVE_BILLING_PAYMENT_INFO",
|
|
150
|
+
name: "Retrieve Billing Payment Info",
|
|
151
|
+
description: "Retrieve billing payment information for a specific payment.",
|
|
152
|
+
method: "GET",
|
|
153
|
+
path: (ctx) => `/billing_payments/${ctx.encode(String(ctx.input.paymentId))}`,
|
|
154
|
+
input: paymentId,
|
|
155
|
+
output: docusignGenericObjectSchema
|
|
156
|
+
});
|
|
157
|
+
const retrievePaymentInformationList = defineRestOperation({
|
|
158
|
+
id: "retrieve_payment_information_list",
|
|
159
|
+
slug: "DOCUSIGN_RETRIEVE_PAYMENT_INFORMATION_LIST",
|
|
160
|
+
name: "Retrieve Payment Information List",
|
|
161
|
+
description: "List billing payment history.",
|
|
162
|
+
method: "GET",
|
|
163
|
+
path: "/billing_payments",
|
|
164
|
+
input: z.object({
|
|
165
|
+
fromDate: z.string().optional(),
|
|
166
|
+
toDate: z.string().optional()
|
|
167
|
+
}),
|
|
168
|
+
output: docusignGenericObjectSchema,
|
|
169
|
+
query: (input) => ({
|
|
170
|
+
from_date: input.fromDate,
|
|
171
|
+
to_date: input.toDate
|
|
172
|
+
})
|
|
173
|
+
});
|
|
174
|
+
const postPaymentToInvoice = defineRestOperation({
|
|
175
|
+
id: "post_payment_to_invoice",
|
|
176
|
+
slug: "DOCUSIGN_POST_PAYMENT_TO_INVOICE",
|
|
177
|
+
name: "Post Payment To Invoice",
|
|
178
|
+
description: "Post a payment against a billing invoice.",
|
|
179
|
+
needsApproval: true,
|
|
180
|
+
method: "POST",
|
|
181
|
+
path: "/billing_payments",
|
|
182
|
+
input: z.object({ payment: docusignLooseObjectSchema() }),
|
|
183
|
+
output: docusignGenericObjectSchema,
|
|
184
|
+
body: (input) => input.payment
|
|
185
|
+
});
|
|
186
|
+
const retrieveCreditCardInfo = defineRestOperation({
|
|
187
|
+
id: "retrieve_credit_card_info",
|
|
188
|
+
slug: "DOCUSIGN_RETRIEVE_CREDIT_CARD_INFO",
|
|
189
|
+
name: "Retrieve Credit Card Info",
|
|
190
|
+
description: "Retrieve the credit-card-on-file for the account.",
|
|
191
|
+
method: "GET",
|
|
192
|
+
path: "/billing_plan/credit_card",
|
|
193
|
+
input: z.object({}),
|
|
194
|
+
output: docusignGenericObjectSchema
|
|
195
|
+
});
|
|
196
|
+
const listPaymentGatewayAccountsInfo = defineRestOperation({
|
|
197
|
+
id: "list_payment_gateway_accounts_info",
|
|
198
|
+
slug: "DOCUSIGN_LIST_PAYMENT_GATEWAY_ACCOUNTS_INFO",
|
|
199
|
+
name: "List Payment Gateway Accounts",
|
|
200
|
+
description: "List payment gateway accounts available to the account.",
|
|
201
|
+
method: "GET",
|
|
202
|
+
path: "/payment_gateway_accounts",
|
|
203
|
+
input: z.object({}),
|
|
204
|
+
output: docusignGenericObjectSchema
|
|
205
|
+
});
|
|
206
|
+
|
|
207
|
+
//#endregion
|
|
208
|
+
export { getAccountBillingChargesList, getDowngradePlanInfoForAccount, listBillingInvoices, listPastDueInvoices, listPaymentGatewayAccountsInfo, postPaymentToInvoice, purchaseAdditionalEnvelopes, queueDowngradeBillingPlanRequest, retrieveAccountBillingPlan, retrieveBillingInvoice, retrieveBillingPaymentInfo, retrieveBillingPlanDetails, retrieveCreditCardInfo, retrieveListOfBillingPlans, retrievePaymentInformationList, updateBillingPlanForAccount };
|
|
@@ -0,0 +1,192 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
import * as _keystrokehq_core0 from "@keystrokehq/core";
|
|
3
|
+
import * as _keystrokehq_core_credential_set0 from "@keystrokehq/core/credential-set";
|
|
4
|
+
|
|
5
|
+
//#region src/brands.d.ts
|
|
6
|
+
declare const createBrandProfilesForAccount: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
7
|
+
brands: z.ZodArray<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
|
+
brands: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
12
|
+
brandId: z.ZodOptional<z.ZodString>;
|
|
13
|
+
brandName: z.ZodOptional<z.ZodString>;
|
|
14
|
+
brandCompany: z.ZodOptional<z.ZodString>;
|
|
15
|
+
isOverridingCompanyName: z.ZodOptional<z.ZodBoolean>;
|
|
16
|
+
defaultBrandLanguage: z.ZodOptional<z.ZodString>;
|
|
17
|
+
}, z.core.$catchall<z.ZodUnknown>>>>;
|
|
18
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"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>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
23
|
+
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
24
|
+
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
25
|
+
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
26
|
+
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
27
|
+
declare const listBrandsForAccount: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
28
|
+
excludeDistributorBrand: z.ZodOptional<z.ZodBoolean>;
|
|
29
|
+
includeLogos: z.ZodOptional<z.ZodBoolean>;
|
|
30
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
31
|
+
brands: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
32
|
+
brandId: z.ZodOptional<z.ZodString>;
|
|
33
|
+
brandName: z.ZodOptional<z.ZodString>;
|
|
34
|
+
brandCompany: z.ZodOptional<z.ZodString>;
|
|
35
|
+
isOverridingCompanyName: z.ZodOptional<z.ZodBoolean>;
|
|
36
|
+
defaultBrandLanguage: z.ZodOptional<z.ZodString>;
|
|
37
|
+
}, z.core.$catchall<z.ZodUnknown>>>>;
|
|
38
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
39
|
+
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
40
|
+
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
41
|
+
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
42
|
+
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<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>], undefined>;
|
|
47
|
+
declare const retrieveAccountBrandInformation: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
48
|
+
brandId: z.ZodString;
|
|
49
|
+
include: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
50
|
+
}, 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 updateAccountBrandSettings: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
62
|
+
brandId: z.ZodString;
|
|
63
|
+
brand: z.ZodObject<{
|
|
64
|
+
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
65
|
+
}, z.core.$catchall<z.ZodUnknown>>;
|
|
66
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
67
|
+
[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<{
|
|
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<{
|
|
73
|
+
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
74
|
+
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
75
|
+
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
76
|
+
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
77
|
+
declare const deleteAccountBrand: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
78
|
+
brandId: z.ZodString;
|
|
79
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
80
|
+
success: z.ZodBoolean;
|
|
81
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
82
|
+
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
83
|
+
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
84
|
+
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
85
|
+
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
86
|
+
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
87
|
+
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
88
|
+
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
89
|
+
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
90
|
+
declare const deleteBrandProfiles: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
91
|
+
brands: z.ZodArray<z.ZodObject<{
|
|
92
|
+
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
93
|
+
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
94
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
95
|
+
success: z.ZodBoolean;
|
|
96
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
97
|
+
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
98
|
+
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
99
|
+
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
100
|
+
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
101
|
+
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
102
|
+
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
103
|
+
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
104
|
+
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
105
|
+
declare const exportBrandToXmlFile: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
106
|
+
brandId: z.ZodString;
|
|
107
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
108
|
+
contentType: z.ZodOptional<z.ZodString>;
|
|
109
|
+
contentDisposition: z.ZodOptional<z.ZodString>;
|
|
110
|
+
status: z.ZodNumber;
|
|
111
|
+
body: z.ZodString;
|
|
112
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
113
|
+
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
114
|
+
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
115
|
+
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
116
|
+
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
117
|
+
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
118
|
+
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
119
|
+
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
120
|
+
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
121
|
+
declare const getBrandLogoByType: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
122
|
+
brandId: z.ZodString;
|
|
123
|
+
logoType: z.ZodEnum<{
|
|
124
|
+
email: "email";
|
|
125
|
+
primary: "primary";
|
|
126
|
+
secondary: "secondary";
|
|
127
|
+
}>;
|
|
128
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
129
|
+
contentType: z.ZodOptional<z.ZodString>;
|
|
130
|
+
contentDisposition: z.ZodOptional<z.ZodString>;
|
|
131
|
+
status: z.ZodNumber;
|
|
132
|
+
body: z.ZodString;
|
|
133
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
134
|
+
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
135
|
+
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
136
|
+
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
137
|
+
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
138
|
+
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
139
|
+
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
140
|
+
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
141
|
+
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
142
|
+
declare const deleteBrandLogoByType: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
143
|
+
brandId: z.ZodString;
|
|
144
|
+
logoType: z.ZodEnum<{
|
|
145
|
+
email: "email";
|
|
146
|
+
primary: "primary";
|
|
147
|
+
secondary: "secondary";
|
|
148
|
+
}>;
|
|
149
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
150
|
+
success: z.ZodBoolean;
|
|
151
|
+
}, z.core.$strip>, 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 getSpecificBrandResourceFile: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
161
|
+
brandId: z.ZodString;
|
|
162
|
+
resourceContentType: z.ZodString;
|
|
163
|
+
langcode: z.ZodOptional<z.ZodString>;
|
|
164
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
165
|
+
contentType: z.ZodOptional<z.ZodString>;
|
|
166
|
+
contentDisposition: z.ZodOptional<z.ZodString>;
|
|
167
|
+
status: z.ZodNumber;
|
|
168
|
+
body: z.ZodString;
|
|
169
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
170
|
+
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
171
|
+
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
172
|
+
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
173
|
+
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
174
|
+
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
175
|
+
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
176
|
+
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
177
|
+
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
178
|
+
declare const returnBrandResourceMetadataForAccount: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
179
|
+
brandId: z.ZodString;
|
|
180
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
181
|
+
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
182
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
183
|
+
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
184
|
+
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
185
|
+
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
186
|
+
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
187
|
+
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
188
|
+
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
189
|
+
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
190
|
+
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
191
|
+
//#endregion
|
|
192
|
+
export { createBrandProfilesForAccount, deleteAccountBrand, deleteBrandLogoByType, deleteBrandProfiles, exportBrandToXmlFile, getBrandLogoByType, getSpecificBrandResourceFile, listBrandsForAccount, retrieveAccountBrandInformation, returnBrandResourceMetadataForAccount, updateAccountBrandSettings };
|