@keystrokehq/docusign 0.0.9 → 0.0.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_official/index.d.mts +2 -2
- package/dist/_official/index.mjs +1 -1
- package/dist/account-custom-fields.d.mts +5 -5
- package/dist/account-custom-fields.mjs +5 -5
- package/dist/account-stamps.d.mts +12 -12
- package/dist/account-stamps.mjs +12 -12
- package/dist/account-tabs.d.mts +7 -7
- package/dist/account-tabs.mjs +7 -7
- package/dist/account.d.mts +19 -19
- package/dist/account.mjs +19 -19
- package/dist/admin.d.mts +2 -2
- package/dist/admin.mjs +2 -2
- package/dist/auth.d.mts +3 -3
- package/dist/auth.mjs +4 -4
- package/dist/bcc-archive.d.mts +5 -5
- package/dist/bcc-archive.mjs +5 -5
- package/dist/billing.d.mts +17 -17
- package/dist/billing.mjs +17 -17
- package/dist/brands.d.mts +12 -12
- package/dist/brands.mjs +12 -12
- package/dist/bulk-send.d.mts +9 -9
- package/dist/bulk-send.mjs +9 -9
- package/dist/chunked-uploads.d.mts +6 -6
- package/dist/chunked-uploads.mjs +6 -6
- package/dist/click.d.mts +2 -2
- package/dist/click.mjs +2 -2
- package/dist/client.d.mts +1 -1
- package/dist/client.mjs +3 -3
- package/dist/clm.d.mts +2 -2
- package/dist/clm.mjs +2 -2
- package/dist/cloud-storage.d.mts +8 -8
- package/dist/cloud-storage.mjs +8 -8
- package/dist/connect.d.mts +18 -18
- package/dist/connect.mjs +18 -18
- package/dist/connection.d.mts +1 -1
- package/dist/connection.mjs +1 -1
- package/dist/contacts.d.mts +6 -6
- package/dist/contacts.mjs +6 -6
- package/dist/enote.d.mts +4 -4
- package/dist/enote.mjs +4 -4
- package/dist/envelope-attachments.d.mts +6 -6
- package/dist/envelope-attachments.mjs +6 -6
- package/dist/envelope-custom-fields.d.mts +8 -8
- package/dist/envelope-custom-fields.mjs +8 -8
- package/dist/envelope-documents.d.mts +17 -17
- package/dist/envelope-documents.mjs +17 -17
- package/dist/envelope-email.d.mts +5 -5
- package/dist/envelope-email.mjs +5 -5
- package/dist/envelope-lock.d.mts +5 -5
- package/dist/envelope-lock.mjs +5 -5
- package/dist/envelope-logs.d.mts +10 -10
- package/dist/envelope-logs.mjs +10 -10
- package/dist/envelope-notifications.d.mts +4 -4
- package/dist/envelope-notifications.mjs +4 -4
- package/dist/envelope-recipients.d.mts +12 -12
- package/dist/envelope-recipients.mjs +12 -12
- package/dist/envelope-tabs.d.mts +4 -4
- package/dist/envelope-tabs.mjs +4 -4
- package/dist/envelope-views.d.mts +7 -7
- package/dist/envelope-views.mjs +7 -7
- package/dist/envelope-workflow.d.mts +15 -15
- package/dist/envelope-workflow.mjs +15 -15
- package/dist/envelopes.d.mts +14 -14
- package/dist/envelopes.mjs +14 -14
- package/dist/factory-DFejlPDe.mjs +7 -0
- package/dist/groups.d.mts +11 -11
- package/dist/groups.mjs +11 -11
- package/dist/{integration-BykMcCMC.mjs → integration-BcEp_dFX.mjs} +140 -4
- package/dist/{integration-SYThzunD.d.mts → integration-CdIRNjCz.d.mts} +3 -4
- package/dist/monitor.d.mts +2 -2
- package/dist/monitor.mjs +2 -2
- package/dist/notary.d.mts +10 -10
- package/dist/notary.mjs +10 -10
- package/dist/{operation-helpers-DcsuFcq0.mjs → operation-helpers-Bqp7KoLi.mjs} +1 -1
- package/dist/permission-profiles.d.mts +6 -6
- package/dist/permission-profiles.mjs +6 -6
- package/dist/power-forms.d.mts +4 -4
- package/dist/power-forms.mjs +4 -4
- package/dist/rooms.d.mts +2 -2
- package/dist/rooms.mjs +2 -2
- package/dist/signing-groups.d.mts +10 -10
- package/dist/signing-groups.mjs +10 -10
- package/dist/template-custom-fields.d.mts +9 -9
- package/dist/template-custom-fields.mjs +9 -9
- package/dist/template-documents.d.mts +9 -9
- package/dist/template-documents.mjs +9 -9
- package/dist/template-lock.d.mts +5 -5
- package/dist/template-lock.mjs +5 -5
- package/dist/template-sharing.d.mts +9 -9
- package/dist/template-sharing.mjs +9 -9
- package/dist/template-workflow.d.mts +13 -13
- package/dist/template-workflow.mjs +13 -13
- package/dist/templates.d.mts +8 -8
- package/dist/templates.mjs +8 -8
- package/dist/user-authorizations.d.mts +9 -9
- package/dist/user-authorizations.mjs +9 -9
- package/dist/user-custom-settings.d.mts +6 -6
- package/dist/user-custom-settings.mjs +6 -6
- package/dist/user-profile.d.mts +8 -8
- package/dist/user-profile.mjs +8 -8
- package/dist/user-signatures.d.mts +14 -14
- package/dist/user-signatures.mjs +14 -14
- package/dist/users.d.mts +7 -7
- package/dist/users.mjs +7 -7
- package/dist/workspaces.d.mts +12 -12
- package/dist/workspaces.mjs +12 -12
- package/package.json +5 -5
- package/dist/factory-Cj6MzqXn.mjs +0 -8
package/dist/account.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { docusignAccountSchema, docusignGenericObjectSchema, docusignLooseObjectSchema, docusignSuccessSchema } from "./schemas/index.mjs";
|
|
2
|
-
import { r as defineRestOperation } from "./operation-helpers-
|
|
2
|
+
import { r as defineRestOperation } from "./operation-helpers-Bqp7KoLi.mjs";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
|
|
5
5
|
//#region src/account.ts
|
|
@@ -8,7 +8,7 @@ import { z } from "zod";
|
|
|
8
8
|
* Covers PLAN.md § 6.31.
|
|
9
9
|
*/
|
|
10
10
|
const retrieveAccountInformationForSpecifiedAccount = defineRestOperation({
|
|
11
|
-
id: "
|
|
11
|
+
id: "docusign.retrieve-account-information-for-specified-account",
|
|
12
12
|
slug: "DOCUSIGN_RETRIEVE_ACCOUNT_INFORMATION_FOR_SPECIFIED_ACCOUNT",
|
|
13
13
|
name: "Retrieve Account Information",
|
|
14
14
|
description: "Retrieve information about the connected DocuSign account.",
|
|
@@ -19,7 +19,7 @@ const retrieveAccountInformationForSpecifiedAccount = defineRestOperation({
|
|
|
19
19
|
query: (input) => ({ include_account_settings: input.includeAccountSettings })
|
|
20
20
|
});
|
|
21
21
|
const deleteSpecifiedAccount = defineRestOperation({
|
|
22
|
-
id: "
|
|
22
|
+
id: "docusign.delete-specified-account",
|
|
23
23
|
slug: "DOCUSIGN_DELETE_SPECIFIED_ACCOUNT",
|
|
24
24
|
name: "Delete Account",
|
|
25
25
|
description: "Close the connected DocuSign account (admin only).",
|
|
@@ -32,7 +32,7 @@ const deleteSpecifiedAccount = defineRestOperation({
|
|
|
32
32
|
transformResponse: () => ({ success: true })
|
|
33
33
|
});
|
|
34
34
|
const retrieveAccountSettingsInformation = defineRestOperation({
|
|
35
|
-
id: "
|
|
35
|
+
id: "docusign.retrieve-account-settings-information",
|
|
36
36
|
slug: "DOCUSIGN_RETRIEVE_ACCOUNT_SETTINGS_INFORMATION",
|
|
37
37
|
name: "Retrieve Account Settings",
|
|
38
38
|
description: "Retrieve account settings.",
|
|
@@ -42,7 +42,7 @@ const retrieveAccountSettingsInformation = defineRestOperation({
|
|
|
42
42
|
output: docusignGenericObjectSchema
|
|
43
43
|
});
|
|
44
44
|
const updateAccountSettings = defineRestOperation({
|
|
45
|
-
id: "
|
|
45
|
+
id: "docusign.update-account-settings",
|
|
46
46
|
slug: "DOCUSIGN_UPDATE_ACCOUNT_SETTINGS",
|
|
47
47
|
name: "Update Account Settings",
|
|
48
48
|
description: "Update account settings.",
|
|
@@ -54,7 +54,7 @@ const updateAccountSettings = defineRestOperation({
|
|
|
54
54
|
body: (input) => input.accountSettings
|
|
55
55
|
});
|
|
56
56
|
const getAccountPasswordRules = defineRestOperation({
|
|
57
|
-
id: "
|
|
57
|
+
id: "docusign.get-account-password-rules",
|
|
58
58
|
slug: "DOCUSIGN_GET_ACCOUNT_PASSWORD_RULES",
|
|
59
59
|
name: "Get Account Password Rules",
|
|
60
60
|
description: "Retrieve password rules on the account.",
|
|
@@ -64,7 +64,7 @@ const getAccountPasswordRules = defineRestOperation({
|
|
|
64
64
|
output: docusignGenericObjectSchema
|
|
65
65
|
});
|
|
66
66
|
const retrieveAccountPasswordRules = defineRestOperation({
|
|
67
|
-
id: "
|
|
67
|
+
id: "docusign.retrieve-account-password-rules",
|
|
68
68
|
slug: "DOCUSIGN_RETRIEVE_ACCOUNT_PASSWORD_RULES",
|
|
69
69
|
name: "Retrieve Account Password Rules",
|
|
70
70
|
description: "Alias: retrieve password rules on the account.",
|
|
@@ -74,7 +74,7 @@ const retrieveAccountPasswordRules = defineRestOperation({
|
|
|
74
74
|
output: docusignGenericObjectSchema
|
|
75
75
|
});
|
|
76
76
|
const updateAccountPasswordRules = defineRestOperation({
|
|
77
|
-
id: "
|
|
77
|
+
id: "docusign.update-account-password-rules",
|
|
78
78
|
slug: "DOCUSIGN_UPDATE_ACCOUNT_PASSWORD_RULES",
|
|
79
79
|
name: "Update Account Password Rules",
|
|
80
80
|
description: "Update password rules on the account.",
|
|
@@ -86,7 +86,7 @@ const updateAccountPasswordRules = defineRestOperation({
|
|
|
86
86
|
body: (input) => input.passwordRules
|
|
87
87
|
});
|
|
88
88
|
const retrieveAccountProvisioningInfo = defineRestOperation({
|
|
89
|
-
id: "
|
|
89
|
+
id: "docusign.retrieve-account-provisioning-info",
|
|
90
90
|
slug: "DOCUSIGN_RETRIEVE_ACCOUNT_PROVISIONING_INFO",
|
|
91
91
|
name: "Retrieve Account Provisioning Info",
|
|
92
92
|
description: "Retrieve provisioning info for the account.",
|
|
@@ -97,7 +97,7 @@ const retrieveAccountProvisioningInfo = defineRestOperation({
|
|
|
97
97
|
accountScoped: false
|
|
98
98
|
});
|
|
99
99
|
const retrieveAccountSealProviders = defineRestOperation({
|
|
100
|
-
id: "
|
|
100
|
+
id: "docusign.retrieve-account-seal-providers",
|
|
101
101
|
slug: "DOCUSIGN_RETRIEVE_ACCOUNT_SEAL_PROVIDERS",
|
|
102
102
|
name: "Retrieve Account Seal Providers",
|
|
103
103
|
description: "Retrieve seal providers configured on the account.",
|
|
@@ -107,7 +107,7 @@ const retrieveAccountSealProviders = defineRestOperation({
|
|
|
107
107
|
output: docusignGenericObjectSchema
|
|
108
108
|
});
|
|
109
109
|
const retrieveAccountEnvelopePurgeConfig = defineRestOperation({
|
|
110
|
-
id: "
|
|
110
|
+
id: "docusign.retrieve-account-envelope-purge-config",
|
|
111
111
|
slug: "DOCUSIGN_RETRIEVE_ACCOUNT_ENVELOPE_PURGE_CONFIG",
|
|
112
112
|
name: "Retrieve Envelope Purge Config",
|
|
113
113
|
description: "Retrieve the envelope-purge configuration.",
|
|
@@ -117,7 +117,7 @@ const retrieveAccountEnvelopePurgeConfig = defineRestOperation({
|
|
|
117
117
|
output: docusignGenericObjectSchema
|
|
118
118
|
});
|
|
119
119
|
const setEnvelopePurgeConfigForAccount = defineRestOperation({
|
|
120
|
-
id: "
|
|
120
|
+
id: "docusign.set-envelope-purge-config-for-account",
|
|
121
121
|
slug: "DOCUSIGN_SET_ENVELOPE_PURGE_CONFIG_FOR_ACCOUNT",
|
|
122
122
|
name: "Set Envelope Purge Config",
|
|
123
123
|
description: "Update the envelope-purge configuration.",
|
|
@@ -129,7 +129,7 @@ const setEnvelopePurgeConfigForAccount = defineRestOperation({
|
|
|
129
129
|
body: (input) => input.config
|
|
130
130
|
});
|
|
131
131
|
const retrieveAccountVerificationWorkflows = defineRestOperation({
|
|
132
|
-
id: "
|
|
132
|
+
id: "docusign.retrieve-account-verification-workflows",
|
|
133
133
|
slug: "DOCUSIGN_RETRIEVE_ACCOUNT_VERIFICATION_WORKFLOWS",
|
|
134
134
|
name: "Retrieve Account Verification Workflows",
|
|
135
135
|
description: "Retrieve verification workflows (identity) on the account.",
|
|
@@ -139,7 +139,7 @@ const retrieveAccountVerificationWorkflows = defineRestOperation({
|
|
|
139
139
|
output: docusignGenericObjectSchema
|
|
140
140
|
});
|
|
141
141
|
const listSignatureProvidersForAccount = defineRestOperation({
|
|
142
|
-
id: "
|
|
142
|
+
id: "docusign.list-signature-providers-for-account",
|
|
143
143
|
slug: "DOCUSIGN_LIST_SIGNATURE_PROVIDERS_FOR_ACCOUNT",
|
|
144
144
|
name: "List Signature Providers",
|
|
145
145
|
description: "List signature providers available to the account.",
|
|
@@ -149,7 +149,7 @@ const listSignatureProvidersForAccount = defineRestOperation({
|
|
|
149
149
|
output: docusignGenericObjectSchema
|
|
150
150
|
});
|
|
151
151
|
const getSupportedLanguagesForRecipients = defineRestOperation({
|
|
152
|
-
id: "
|
|
152
|
+
id: "docusign.get-supported-languages-for-recipients",
|
|
153
153
|
slug: "DOCUSIGN_GET_SUPPORTED_LANGUAGES_FOR_RECIPIENTS",
|
|
154
154
|
name: "Get Supported Languages",
|
|
155
155
|
description: "Return the list of supported recipient languages.",
|
|
@@ -159,7 +159,7 @@ const getSupportedLanguagesForRecipients = defineRestOperation({
|
|
|
159
159
|
output: docusignGenericObjectSchema
|
|
160
160
|
});
|
|
161
161
|
const getUnsupportedFileTypesList = defineRestOperation({
|
|
162
|
-
id: "
|
|
162
|
+
id: "docusign.get-unsupported-file-types-list",
|
|
163
163
|
slug: "DOCUSIGN_GET_UNSUPPORTED_FILE_TYPES_LIST",
|
|
164
164
|
name: "Get Unsupported File Types",
|
|
165
165
|
description: "Return the list of unsupported file types for envelope documents.",
|
|
@@ -169,7 +169,7 @@ const getUnsupportedFileTypesList = defineRestOperation({
|
|
|
169
169
|
output: docusignGenericObjectSchema
|
|
170
170
|
});
|
|
171
171
|
const modifyAccountNotificationSettings = defineRestOperation({
|
|
172
|
-
id: "
|
|
172
|
+
id: "docusign.modify-account-notification-settings",
|
|
173
173
|
slug: "DOCUSIGN_MODIFY_ACCOUNT_NOTIFICATION_SETTINGS",
|
|
174
174
|
name: "Modify Account Notification Settings",
|
|
175
175
|
description: "Modify account-level notification defaults.",
|
|
@@ -181,7 +181,7 @@ const modifyAccountNotificationSettings = defineRestOperation({
|
|
|
181
181
|
body: (input) => input.notifications
|
|
182
182
|
});
|
|
183
183
|
const listResourcesForRestVersionSpecified = defineRestOperation({
|
|
184
|
-
id: "
|
|
184
|
+
id: "docusign.list-resources-for-rest-version-specified",
|
|
185
185
|
slug: "DOCUSIGN_LIST_RESOURCES_FOR_RESTVERSION_SPECIFIED",
|
|
186
186
|
name: "List REST Resources",
|
|
187
187
|
description: "List resources available for a REST version.",
|
|
@@ -192,7 +192,7 @@ const listResourcesForRestVersionSpecified = defineRestOperation({
|
|
|
192
192
|
accountScoped: false
|
|
193
193
|
});
|
|
194
194
|
const retrieveRestApiVersions = defineRestOperation({
|
|
195
|
-
id: "
|
|
195
|
+
id: "docusign.retrieve-rest-api-versions",
|
|
196
196
|
slug: "DOCUSIGN_RETRIEVE_REST_API_VERSIONS",
|
|
197
197
|
name: "Retrieve REST API Versions",
|
|
198
198
|
description: "List available REST API versions.",
|
package/dist/admin.d.mts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { z } from "zod";
|
|
2
1
|
import * as _keystrokehq_core0 from "@keystrokehq/core";
|
|
2
|
+
import { z } from "zod";
|
|
3
3
|
import * as _keystrokehq_core_credential_set0 from "@keystrokehq/core/credential-set";
|
|
4
4
|
|
|
5
5
|
//#region src/admin.d.ts
|
|
6
6
|
declare const adminNotImplemented: _keystrokehq_core0.Operation<z.ZodObject<{}, z.core.$catchall<z.ZodUnknown>>, z.ZodObject<{
|
|
7
7
|
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
8
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
8
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
9
9
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
10
10
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
11
11
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
package/dist/admin.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { docusignGenericObjectSchema } from "./schemas/index.mjs";
|
|
2
|
-
import { n as definePlanGatedOperation } from "./operation-helpers-
|
|
2
|
+
import { n as definePlanGatedOperation } from "./operation-helpers-Bqp7KoLi.mjs";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
|
|
5
5
|
//#region src/admin.ts
|
|
@@ -7,7 +7,7 @@ import { z } from "zod";
|
|
|
7
7
|
* DocuSign Admin API — plan-gated in v1.
|
|
8
8
|
*/
|
|
9
9
|
const adminNotImplemented = definePlanGatedOperation({
|
|
10
|
-
id: "
|
|
10
|
+
id: "docusign.admin-not-implemented",
|
|
11
11
|
slug: "DOCUSIGN_ADMIN_NOT_IMPLEMENTED",
|
|
12
12
|
name: "DocuSign Admin (not implemented)",
|
|
13
13
|
description: "Placeholder for DocuSign Admin API (cross-account SSO, domains, permissions).",
|
package/dist/auth.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { z } from "zod";
|
|
2
1
|
import * as _keystrokehq_core0 from "@keystrokehq/core";
|
|
2
|
+
import { z } from "zod";
|
|
3
3
|
import * as _keystrokehq_core_credential_set0 from "@keystrokehq/core/credential-set";
|
|
4
4
|
|
|
5
5
|
//#region src/auth.d.ts
|
|
@@ -12,7 +12,7 @@ declare const retrieveDocusignUserinfo: _keystrokehq_core0.Operation<z.ZodObject
|
|
|
12
12
|
base_uri: z.ZodOptional<z.ZodString>;
|
|
13
13
|
is_default: z.ZodOptional<z.ZodBoolean>;
|
|
14
14
|
}, z.core.$catchall<z.ZodUnknown>>>>;
|
|
15
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
15
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
16
16
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
17
17
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
18
18
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
@@ -24,7 +24,7 @@ declare const retrieveDocusignUserinfo: _keystrokehq_core0.Operation<z.ZodObject
|
|
|
24
24
|
declare const resolveCurrentAccount: _keystrokehq_core0.Operation<z.ZodObject<{}, z.core.$strip>, z.ZodObject<{
|
|
25
25
|
accountId: z.ZodString;
|
|
26
26
|
baseUri: z.ZodString;
|
|
27
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
27
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
28
28
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
29
29
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
30
30
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
package/dist/auth.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { a as fetchDocusignUserinfo, i as DOCUSIGN_USERINFO_URL } from "./integration-
|
|
1
|
+
import { a as fetchDocusignUserinfo, i as DOCUSIGN_USERINFO_URL } from "./integration-BcEp_dFX.mjs";
|
|
2
2
|
import { createDocusignClient } from "./client.mjs";
|
|
3
3
|
import { docusignLooseObjectSchema } from "./schemas/index.mjs";
|
|
4
|
-
import { t as docusignOperation } from "./factory-
|
|
4
|
+
import { t as docusignOperation } from "./factory-DFejlPDe.mjs";
|
|
5
5
|
import { z } from "zod";
|
|
6
6
|
|
|
7
7
|
//#region src/auth.ts
|
|
@@ -13,7 +13,7 @@ import { z } from "zod";
|
|
|
13
13
|
* fire automatically during connect/refresh (see `./oauth-connection.ts`).
|
|
14
14
|
*/
|
|
15
15
|
const retrieveDocusignUserinfo = docusignOperation({
|
|
16
|
-
id: "
|
|
16
|
+
id: "docusign.retrieve-docusign-userinfo",
|
|
17
17
|
name: "Retrieve DocuSign Userinfo",
|
|
18
18
|
description: `Call ${DOCUSIGN_USERINFO_URL} with the stored access token to re-resolve the connected user's accounts, names, and base URIs.`,
|
|
19
19
|
input: z.object({}),
|
|
@@ -32,7 +32,7 @@ const retrieveDocusignUserinfo = docusignOperation({
|
|
|
32
32
|
}
|
|
33
33
|
});
|
|
34
34
|
const resolveCurrentAccount = docusignOperation({
|
|
35
|
-
id: "
|
|
35
|
+
id: "docusign.resolve-current-account",
|
|
36
36
|
name: "Resolve Current Account",
|
|
37
37
|
description: "Return the active `accountId` + `baseUri` pair stored on the connection. Useful for downstream operations that need to construct account-scoped URLs themselves.",
|
|
38
38
|
input: z.object({}),
|
package/dist/bcc-archive.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { z } from "zod";
|
|
2
1
|
import * as _keystrokehq_core0 from "@keystrokehq/core";
|
|
2
|
+
import { z } from "zod";
|
|
3
3
|
import * as _keystrokehq_core_credential_set0 from "@keystrokehq/core/credential-set";
|
|
4
4
|
|
|
5
5
|
//#region src/bcc-archive.d.ts
|
|
@@ -9,7 +9,7 @@ declare const createBccEmailArchiveConfiguration: _keystrokehq_core0.Operation<z
|
|
|
9
9
|
}, z.core.$catchall<z.ZodUnknown>>;
|
|
10
10
|
}, z.core.$strip>, z.ZodObject<{
|
|
11
11
|
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
12
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
12
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
13
13
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
14
14
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
15
15
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
@@ -23,7 +23,7 @@ declare const getBccEmailArchiveConfigurations: _keystrokehq_core0.Operation<z.Z
|
|
|
23
23
|
count: z.ZodOptional<z.ZodNumber>;
|
|
24
24
|
}, z.core.$strip>, z.ZodObject<{
|
|
25
25
|
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
26
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
26
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
27
27
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
28
28
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
29
29
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
@@ -38,7 +38,7 @@ declare const getBccEmailArchiveHistory: _keystrokehq_core0.Operation<z.ZodObjec
|
|
|
38
38
|
count: z.ZodOptional<z.ZodNumber>;
|
|
39
39
|
}, z.core.$strip>, z.ZodObject<{
|
|
40
40
|
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
41
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
41
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
42
42
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
43
43
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
44
44
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
@@ -51,7 +51,7 @@ declare const deleteBccEmailArchiveConfiguration: _keystrokehq_core0.Operation<z
|
|
|
51
51
|
bccEmailArchiveId: z.ZodString;
|
|
52
52
|
}, z.core.$strip>, z.ZodObject<{
|
|
53
53
|
success: z.ZodBoolean;
|
|
54
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
54
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
55
55
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
56
56
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
57
57
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
package/dist/bcc-archive.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { docusignGenericObjectSchema, docusignLooseObjectSchema, docusignSuccessSchema } from "./schemas/index.mjs";
|
|
2
|
-
import { r as defineRestOperation } from "./operation-helpers-
|
|
2
|
+
import { r as defineRestOperation } from "./operation-helpers-Bqp7KoLi.mjs";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
|
|
5
5
|
//#region src/bcc-archive.ts
|
|
@@ -8,7 +8,7 @@ import { z } from "zod";
|
|
|
8
8
|
*/
|
|
9
9
|
const bccId = z.object({ bccEmailArchiveId: z.string().min(1) });
|
|
10
10
|
const createBccEmailArchiveConfiguration = defineRestOperation({
|
|
11
|
-
id: "
|
|
11
|
+
id: "docusign.create-bcc-email-archive-configuration",
|
|
12
12
|
slug: "DOCUSIGN_CREATE_BCC_EMAIL_ARCHIVE_CONFIGURATION",
|
|
13
13
|
name: "Create BCC Email Archive Configuration",
|
|
14
14
|
description: "Configure a BCC email archive address for the account.",
|
|
@@ -20,7 +20,7 @@ const createBccEmailArchiveConfiguration = defineRestOperation({
|
|
|
20
20
|
body: (input) => input.bccEmailArchive
|
|
21
21
|
});
|
|
22
22
|
const getBccEmailArchiveConfigurations = defineRestOperation({
|
|
23
|
-
id: "
|
|
23
|
+
id: "docusign.get-bcc-email-archive-configurations",
|
|
24
24
|
slug: "DOCUSIGN_GET_BCC_EMAIL_ARCHIVE_CONFIGURATIONS",
|
|
25
25
|
name: "Get BCC Email Archive Configurations",
|
|
26
26
|
description: "List BCC email archive configurations.",
|
|
@@ -37,7 +37,7 @@ const getBccEmailArchiveConfigurations = defineRestOperation({
|
|
|
37
37
|
})
|
|
38
38
|
});
|
|
39
39
|
const getBccEmailArchiveHistory = defineRestOperation({
|
|
40
|
-
id: "
|
|
40
|
+
id: "docusign.get-bcc-email-archive-history",
|
|
41
41
|
slug: "DOCUSIGN_GET_BCCEMAIL_ARCHIVE_HISTORY",
|
|
42
42
|
name: "Get BCC Email Archive History",
|
|
43
43
|
description: "Retrieve history for a BCC email archive configuration.",
|
|
@@ -54,7 +54,7 @@ const getBccEmailArchiveHistory = defineRestOperation({
|
|
|
54
54
|
})
|
|
55
55
|
});
|
|
56
56
|
const deleteBccEmailArchiveConfiguration = defineRestOperation({
|
|
57
|
-
id: "
|
|
57
|
+
id: "docusign.delete-bcc-email-archive-configuration",
|
|
58
58
|
slug: "DOCUSIGN_DELETE_BCC_EMAIL_ARCHIVE_CONFIGURATION",
|
|
59
59
|
name: "Delete BCC Email Archive Configuration",
|
|
60
60
|
description: "Delete a BCC email archive configuration.",
|
package/dist/billing.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { z } from "zod";
|
|
2
1
|
import * as _keystrokehq_core0 from "@keystrokehq/core";
|
|
2
|
+
import { z } from "zod";
|
|
3
3
|
import * as _keystrokehq_core_credential_set0 from "@keystrokehq/core/credential-set";
|
|
4
4
|
|
|
5
5
|
//#region src/billing.d.ts
|
|
@@ -9,7 +9,7 @@ declare const retrieveAccountBillingPlan: _keystrokehq_core0.Operation<z.ZodObje
|
|
|
9
9
|
includeSuccessorPlans: z.ZodOptional<z.ZodBoolean>;
|
|
10
10
|
}, z.core.$strip>, z.ZodObject<{
|
|
11
11
|
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
12
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
12
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
13
13
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
14
14
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
15
15
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
@@ -22,7 +22,7 @@ declare const retrieveBillingPlanDetails: _keystrokehq_core0.Operation<z.ZodObje
|
|
|
22
22
|
planId: z.ZodString;
|
|
23
23
|
}, z.core.$strip>, z.ZodObject<{
|
|
24
24
|
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
25
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
25
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
26
26
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
27
27
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
28
28
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
@@ -33,7 +33,7 @@ declare const retrieveBillingPlanDetails: _keystrokehq_core0.Operation<z.ZodObje
|
|
|
33
33
|
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
34
34
|
declare const retrieveListOfBillingPlans: _keystrokehq_core0.Operation<z.ZodObject<{}, z.core.$strip>, z.ZodObject<{
|
|
35
35
|
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
36
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
36
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
37
37
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
38
38
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
39
39
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
@@ -48,7 +48,7 @@ declare const updateBillingPlanForAccount: _keystrokehq_core0.Operation<z.ZodObj
|
|
|
48
48
|
}, z.core.$catchall<z.ZodUnknown>>;
|
|
49
49
|
}, z.core.$strip>, z.ZodObject<{
|
|
50
50
|
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
51
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
51
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
52
52
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
53
53
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
54
54
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
@@ -59,7 +59,7 @@ declare const updateBillingPlanForAccount: _keystrokehq_core0.Operation<z.ZodObj
|
|
|
59
59
|
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
60
60
|
declare const getDowngradePlanInfoForAccount: _keystrokehq_core0.Operation<z.ZodObject<{}, z.core.$strip>, z.ZodObject<{
|
|
61
61
|
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
62
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
62
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
63
63
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
64
64
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
65
65
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
@@ -74,7 +74,7 @@ declare const queueDowngradeBillingPlanRequest: _keystrokehq_core0.Operation<z.Z
|
|
|
74
74
|
}, z.core.$catchall<z.ZodUnknown>>;
|
|
75
75
|
}, z.core.$strip>, z.ZodObject<{
|
|
76
76
|
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
77
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
77
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
78
78
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
79
79
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
80
80
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
@@ -89,7 +89,7 @@ declare const purchaseAdditionalEnvelopes: _keystrokehq_core0.Operation<z.ZodObj
|
|
|
89
89
|
}, z.core.$catchall<z.ZodUnknown>>;
|
|
90
90
|
}, z.core.$strip>, z.ZodObject<{
|
|
91
91
|
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
92
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
92
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
93
93
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
94
94
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
95
95
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
@@ -102,7 +102,7 @@ declare const getAccountBillingChargesList: _keystrokehq_core0.Operation<z.ZodOb
|
|
|
102
102
|
includeCharges: z.ZodOptional<z.ZodString>;
|
|
103
103
|
}, z.core.$strip>, z.ZodObject<{
|
|
104
104
|
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
105
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
105
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
106
106
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
107
107
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
108
108
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
@@ -116,7 +116,7 @@ declare const listBillingInvoices: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
116
116
|
toDate: z.ZodOptional<z.ZodString>;
|
|
117
117
|
}, z.core.$strip>, z.ZodObject<{
|
|
118
118
|
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
119
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
119
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
120
120
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
121
121
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
122
122
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
@@ -127,7 +127,7 @@ declare const listBillingInvoices: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
127
127
|
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
128
128
|
declare const listPastDueInvoices: _keystrokehq_core0.Operation<z.ZodObject<{}, z.core.$strip>, z.ZodObject<{
|
|
129
129
|
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
130
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
130
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
131
131
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
132
132
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
133
133
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
@@ -140,7 +140,7 @@ declare const retrieveBillingInvoice: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
140
140
|
invoiceId: z.ZodString;
|
|
141
141
|
}, z.core.$strip>, z.ZodObject<{
|
|
142
142
|
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
143
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
143
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
144
144
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
145
145
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
146
146
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
@@ -153,7 +153,7 @@ declare const retrieveBillingPaymentInfo: _keystrokehq_core0.Operation<z.ZodObje
|
|
|
153
153
|
paymentId: z.ZodString;
|
|
154
154
|
}, z.core.$strip>, z.ZodObject<{
|
|
155
155
|
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
156
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
156
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
157
157
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
158
158
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
159
159
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
@@ -167,7 +167,7 @@ declare const retrievePaymentInformationList: _keystrokehq_core0.Operation<z.Zod
|
|
|
167
167
|
toDate: z.ZodOptional<z.ZodString>;
|
|
168
168
|
}, z.core.$strip>, z.ZodObject<{
|
|
169
169
|
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
170
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
170
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
171
171
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
172
172
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
173
173
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
@@ -182,7 +182,7 @@ declare const postPaymentToInvoice: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
182
182
|
}, z.core.$catchall<z.ZodUnknown>>;
|
|
183
183
|
}, z.core.$strip>, z.ZodObject<{
|
|
184
184
|
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
185
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
185
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
186
186
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
187
187
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
188
188
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
@@ -193,7 +193,7 @@ declare const postPaymentToInvoice: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
193
193
|
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
194
194
|
declare const retrieveCreditCardInfo: _keystrokehq_core0.Operation<z.ZodObject<{}, z.core.$strip>, z.ZodObject<{
|
|
195
195
|
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
196
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
196
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
197
197
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
198
198
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
199
199
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
@@ -204,7 +204,7 @@ declare const retrieveCreditCardInfo: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
204
204
|
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
205
205
|
declare const listPaymentGatewayAccountsInfo: _keystrokehq_core0.Operation<z.ZodObject<{}, z.core.$strip>, z.ZodObject<{
|
|
206
206
|
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
207
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
207
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
208
208
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
209
209
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
210
210
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
package/dist/billing.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { docusignGenericObjectSchema, docusignLooseObjectSchema } from "./schemas/index.mjs";
|
|
2
|
-
import { r as defineRestOperation } from "./operation-helpers-
|
|
2
|
+
import { r as defineRestOperation } from "./operation-helpers-Bqp7KoLi.mjs";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
|
|
5
5
|
//#region src/billing.ts
|
|
@@ -10,7 +10,7 @@ const invoiceId = z.object({ invoiceId: z.string().min(1) });
|
|
|
10
10
|
const planId = z.object({ planId: z.string().min(1) });
|
|
11
11
|
const paymentId = z.object({ paymentId: z.string().min(1) });
|
|
12
12
|
const retrieveAccountBillingPlan = defineRestOperation({
|
|
13
|
-
id: "
|
|
13
|
+
id: "docusign.retrieve-account-billing-plan",
|
|
14
14
|
slug: "DOCUSIGN_RETRIEVE_ACCOUNT_BILLING_PLAN",
|
|
15
15
|
name: "Retrieve Account Billing Plan",
|
|
16
16
|
description: "Retrieve the current billing plan on the account.",
|
|
@@ -29,7 +29,7 @@ const retrieveAccountBillingPlan = defineRestOperation({
|
|
|
29
29
|
})
|
|
30
30
|
});
|
|
31
31
|
const retrieveBillingPlanDetails = defineRestOperation({
|
|
32
|
-
id: "
|
|
32
|
+
id: "docusign.retrieve-billing-plan-details",
|
|
33
33
|
slug: "DOCUSIGN_RETRIEVE_BILLING_PLAN_DETAILS",
|
|
34
34
|
name: "Retrieve Billing Plan Details",
|
|
35
35
|
description: "Retrieve details of a specific billing plan.",
|
|
@@ -40,7 +40,7 @@ const retrieveBillingPlanDetails = defineRestOperation({
|
|
|
40
40
|
accountScoped: false
|
|
41
41
|
});
|
|
42
42
|
const retrieveListOfBillingPlans = defineRestOperation({
|
|
43
|
-
id: "
|
|
43
|
+
id: "docusign.retrieve-list-of-billing-plans",
|
|
44
44
|
slug: "DOCUSIGN_RETRIEVE_LIST_OF_BILLING_PLANS",
|
|
45
45
|
name: "Retrieve List Of Billing Plans",
|
|
46
46
|
description: "Retrieve the list of billing plans available for the account.",
|
|
@@ -51,7 +51,7 @@ const retrieveListOfBillingPlans = defineRestOperation({
|
|
|
51
51
|
accountScoped: false
|
|
52
52
|
});
|
|
53
53
|
const updateBillingPlanForAccount = defineRestOperation({
|
|
54
|
-
id: "
|
|
54
|
+
id: "docusign.update-billing-plan-for-account",
|
|
55
55
|
slug: "DOCUSIGN_UPDATE_BILLING_PLAN_FOR_ACCOUNT",
|
|
56
56
|
name: "Update Billing Plan",
|
|
57
57
|
description: "Update the billing plan attached to the account.",
|
|
@@ -63,7 +63,7 @@ const updateBillingPlanForAccount = defineRestOperation({
|
|
|
63
63
|
body: (input) => input.plan
|
|
64
64
|
});
|
|
65
65
|
const getDowngradePlanInfoForAccount = defineRestOperation({
|
|
66
|
-
id: "
|
|
66
|
+
id: "docusign.get-downgrade-plan-info-for-account",
|
|
67
67
|
slug: "DOCUSIGN_GET_DOWNGRADE_PLAN_INFO_FOR_ACCOUNT",
|
|
68
68
|
name: "Get Downgrade Plan Info",
|
|
69
69
|
description: "Retrieve downgrade-plan information for the account.",
|
|
@@ -73,7 +73,7 @@ const getDowngradePlanInfoForAccount = defineRestOperation({
|
|
|
73
73
|
output: docusignGenericObjectSchema
|
|
74
74
|
});
|
|
75
75
|
const queueDowngradeBillingPlanRequest = defineRestOperation({
|
|
76
|
-
id: "
|
|
76
|
+
id: "docusign.queue-downgrade-billing-plan-request",
|
|
77
77
|
slug: "DOCUSIGN_QUEUE_DOWNGRADE_BILLING_PLAN_REQUEST",
|
|
78
78
|
name: "Queue Downgrade Billing Plan",
|
|
79
79
|
description: "Queue a downgrade-plan request for the account.",
|
|
@@ -85,7 +85,7 @@ const queueDowngradeBillingPlanRequest = defineRestOperation({
|
|
|
85
85
|
body: (input) => input.request
|
|
86
86
|
});
|
|
87
87
|
const purchaseAdditionalEnvelopes = defineRestOperation({
|
|
88
|
-
id: "
|
|
88
|
+
id: "docusign.purchase-additional-envelopes",
|
|
89
89
|
slug: "DOCUSIGN_PURCHASE_ADDITIONAL_ENVELOPES",
|
|
90
90
|
name: "Purchase Additional Envelopes",
|
|
91
91
|
description: "Purchase additional envelopes for the account.",
|
|
@@ -97,7 +97,7 @@ const purchaseAdditionalEnvelopes = defineRestOperation({
|
|
|
97
97
|
body: (input) => input.request
|
|
98
98
|
});
|
|
99
99
|
const getAccountBillingChargesList = defineRestOperation({
|
|
100
|
-
id: "
|
|
100
|
+
id: "docusign.get-account-billing-charges-list",
|
|
101
101
|
slug: "DOCUSIGN_GET_ACCOUNT_BILLING_CHARGES_LIST",
|
|
102
102
|
name: "Get Account Billing Charges",
|
|
103
103
|
description: "List billing charges.",
|
|
@@ -108,7 +108,7 @@ const getAccountBillingChargesList = defineRestOperation({
|
|
|
108
108
|
query: (input) => ({ include_charges: input.includeCharges })
|
|
109
109
|
});
|
|
110
110
|
const listBillingInvoices = defineRestOperation({
|
|
111
|
-
id: "
|
|
111
|
+
id: "docusign.list-billing-invoices",
|
|
112
112
|
slug: "DOCUSIGN_LIST_BILLING_INVOICES",
|
|
113
113
|
name: "List Billing Invoices",
|
|
114
114
|
description: "List billing invoices.",
|
|
@@ -125,7 +125,7 @@ const listBillingInvoices = defineRestOperation({
|
|
|
125
125
|
})
|
|
126
126
|
});
|
|
127
127
|
const listPastDueInvoices = defineRestOperation({
|
|
128
|
-
id: "
|
|
128
|
+
id: "docusign.list-past-due-invoices",
|
|
129
129
|
slug: "DOCUSIGN_LIST_PAST_DUE_INVOICES",
|
|
130
130
|
name: "List Past Due Invoices",
|
|
131
131
|
description: "List past-due billing invoices.",
|
|
@@ -135,7 +135,7 @@ const listPastDueInvoices = defineRestOperation({
|
|
|
135
135
|
output: docusignGenericObjectSchema
|
|
136
136
|
});
|
|
137
137
|
const retrieveBillingInvoice = defineRestOperation({
|
|
138
|
-
id: "
|
|
138
|
+
id: "docusign.retrieve-billing-invoice",
|
|
139
139
|
slug: "DOCUSIGN_RETRIEVE_BILLING_INVOICE",
|
|
140
140
|
name: "Retrieve Billing Invoice",
|
|
141
141
|
description: "Retrieve a specific billing invoice.",
|
|
@@ -145,7 +145,7 @@ const retrieveBillingInvoice = defineRestOperation({
|
|
|
145
145
|
output: docusignGenericObjectSchema
|
|
146
146
|
});
|
|
147
147
|
const retrieveBillingPaymentInfo = defineRestOperation({
|
|
148
|
-
id: "
|
|
148
|
+
id: "docusign.retrieve-billing-payment-info",
|
|
149
149
|
slug: "DOCUSIGN_RETRIEVE_BILLING_PAYMENT_INFO",
|
|
150
150
|
name: "Retrieve Billing Payment Info",
|
|
151
151
|
description: "Retrieve billing payment information for a specific payment.",
|
|
@@ -155,7 +155,7 @@ const retrieveBillingPaymentInfo = defineRestOperation({
|
|
|
155
155
|
output: docusignGenericObjectSchema
|
|
156
156
|
});
|
|
157
157
|
const retrievePaymentInformationList = defineRestOperation({
|
|
158
|
-
id: "
|
|
158
|
+
id: "docusign.retrieve-payment-information-list",
|
|
159
159
|
slug: "DOCUSIGN_RETRIEVE_PAYMENT_INFORMATION_LIST",
|
|
160
160
|
name: "Retrieve Payment Information List",
|
|
161
161
|
description: "List billing payment history.",
|
|
@@ -172,7 +172,7 @@ const retrievePaymentInformationList = defineRestOperation({
|
|
|
172
172
|
})
|
|
173
173
|
});
|
|
174
174
|
const postPaymentToInvoice = defineRestOperation({
|
|
175
|
-
id: "
|
|
175
|
+
id: "docusign.post-payment-to-invoice",
|
|
176
176
|
slug: "DOCUSIGN_POST_PAYMENT_TO_INVOICE",
|
|
177
177
|
name: "Post Payment To Invoice",
|
|
178
178
|
description: "Post a payment against a billing invoice.",
|
|
@@ -184,7 +184,7 @@ const postPaymentToInvoice = defineRestOperation({
|
|
|
184
184
|
body: (input) => input.payment
|
|
185
185
|
});
|
|
186
186
|
const retrieveCreditCardInfo = defineRestOperation({
|
|
187
|
-
id: "
|
|
187
|
+
id: "docusign.retrieve-credit-card-info",
|
|
188
188
|
slug: "DOCUSIGN_RETRIEVE_CREDIT_CARD_INFO",
|
|
189
189
|
name: "Retrieve Credit Card Info",
|
|
190
190
|
description: "Retrieve the credit-card-on-file for the account.",
|
|
@@ -194,7 +194,7 @@ const retrieveCreditCardInfo = defineRestOperation({
|
|
|
194
194
|
output: docusignGenericObjectSchema
|
|
195
195
|
});
|
|
196
196
|
const listPaymentGatewayAccountsInfo = defineRestOperation({
|
|
197
|
-
id: "
|
|
197
|
+
id: "docusign.list-payment-gateway-accounts-info",
|
|
198
198
|
slug: "DOCUSIGN_LIST_PAYMENT_GATEWAY_ACCOUNTS_INFO",
|
|
199
199
|
name: "List Payment Gateway Accounts",
|
|
200
200
|
description: "List payment gateway accounts available to the account.",
|