@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/brands.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/brands.d.ts
|
|
@@ -15,7 +15,7 @@ declare const createBrandProfilesForAccount: _keystrokehq_core0.Operation<z.ZodO
|
|
|
15
15
|
isOverridingCompanyName: z.ZodOptional<z.ZodBoolean>;
|
|
16
16
|
defaultBrandLanguage: z.ZodOptional<z.ZodString>;
|
|
17
17
|
}, z.core.$catchall<z.ZodUnknown>>>>;
|
|
18
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
18
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
19
19
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
20
20
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
21
21
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
@@ -35,7 +35,7 @@ declare const listBrandsForAccount: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
35
35
|
isOverridingCompanyName: z.ZodOptional<z.ZodBoolean>;
|
|
36
36
|
defaultBrandLanguage: z.ZodOptional<z.ZodString>;
|
|
37
37
|
}, z.core.$catchall<z.ZodUnknown>>>>;
|
|
38
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
38
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
39
39
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
40
40
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
41
41
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
@@ -49,7 +49,7 @@ declare const retrieveAccountBrandInformation: _keystrokehq_core0.Operation<z.Zo
|
|
|
49
49
|
include: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
50
50
|
}, z.core.$strip>, z.ZodObject<{
|
|
51
51
|
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
52
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
52
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
53
53
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
54
54
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
55
55
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
@@ -65,7 +65,7 @@ declare const updateAccountBrandSettings: _keystrokehq_core0.Operation<z.ZodObje
|
|
|
65
65
|
}, z.core.$catchall<z.ZodUnknown>>;
|
|
66
66
|
}, z.core.$strip>, z.ZodObject<{
|
|
67
67
|
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
68
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
68
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
69
69
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
70
70
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
71
71
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
@@ -78,7 +78,7 @@ declare const deleteAccountBrand: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
78
78
|
brandId: z.ZodString;
|
|
79
79
|
}, z.core.$strip>, z.ZodObject<{
|
|
80
80
|
success: z.ZodBoolean;
|
|
81
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
81
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
82
82
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
83
83
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
84
84
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
@@ -93,7 +93,7 @@ declare const deleteBrandProfiles: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
93
93
|
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
94
94
|
}, z.core.$strip>, z.ZodObject<{
|
|
95
95
|
success: z.ZodBoolean;
|
|
96
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
96
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
97
97
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
98
98
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
99
99
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
@@ -109,7 +109,7 @@ declare const exportBrandToXmlFile: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
109
109
|
contentDisposition: z.ZodOptional<z.ZodString>;
|
|
110
110
|
status: z.ZodNumber;
|
|
111
111
|
body: z.ZodString;
|
|
112
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
112
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
113
113
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
114
114
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
115
115
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
@@ -130,7 +130,7 @@ declare const getBrandLogoByType: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
130
130
|
contentDisposition: z.ZodOptional<z.ZodString>;
|
|
131
131
|
status: z.ZodNumber;
|
|
132
132
|
body: z.ZodString;
|
|
133
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
133
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
134
134
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
135
135
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
136
136
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
@@ -148,7 +148,7 @@ declare const deleteBrandLogoByType: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
148
148
|
}>;
|
|
149
149
|
}, z.core.$strip>, z.ZodObject<{
|
|
150
150
|
success: z.ZodBoolean;
|
|
151
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
151
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
152
152
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
153
153
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
154
154
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
@@ -166,7 +166,7 @@ declare const getSpecificBrandResourceFile: _keystrokehq_core0.Operation<z.ZodOb
|
|
|
166
166
|
contentDisposition: z.ZodOptional<z.ZodString>;
|
|
167
167
|
status: z.ZodNumber;
|
|
168
168
|
body: z.ZodString;
|
|
169
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
169
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
170
170
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
171
171
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
172
172
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
@@ -179,7 +179,7 @@ declare const returnBrandResourceMetadataForAccount: _keystrokehq_core0.Operatio
|
|
|
179
179
|
brandId: z.ZodString;
|
|
180
180
|
}, z.core.$strip>, z.ZodObject<{
|
|
181
181
|
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
182
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
182
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
183
183
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
184
184
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
185
185
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
package/dist/brands.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { docusignBrandListSchema, docusignGenericObjectSchema, docusignLooseObjectSchema, docusignSuccessSchema } from "./schemas/index.mjs";
|
|
2
|
-
import { r as defineRestOperation, t as defineBinaryOperation } from "./operation-helpers-
|
|
2
|
+
import { r as defineRestOperation, t as defineBinaryOperation } from "./operation-helpers-Bqp7KoLi.mjs";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
|
|
5
5
|
//#region src/brands.ts
|
|
@@ -20,7 +20,7 @@ const binaryResponseSchema = docusignLooseObjectSchema({
|
|
|
20
20
|
body: z.string()
|
|
21
21
|
});
|
|
22
22
|
const createBrandProfilesForAccount = defineRestOperation({
|
|
23
|
-
id: "
|
|
23
|
+
id: "docusign.create-brand-profiles-for-account",
|
|
24
24
|
slug: "DOCUSIGN_CREATE_BRAND_PROFILES_FOR_ACCOUNT",
|
|
25
25
|
name: "Create Brand Profiles",
|
|
26
26
|
description: "Create new brand profiles on the account.",
|
|
@@ -32,7 +32,7 @@ const createBrandProfilesForAccount = defineRestOperation({
|
|
|
32
32
|
body: (input) => ({ brands: input.brands })
|
|
33
33
|
});
|
|
34
34
|
const listBrandsForAccount = defineRestOperation({
|
|
35
|
-
id: "
|
|
35
|
+
id: "docusign.list-brands-for-account",
|
|
36
36
|
slug: "DOCUSIGN_LIST_BRANDS_FOR_ACCOUNT",
|
|
37
37
|
name: "List Brands For Account",
|
|
38
38
|
description: "List brand profiles on the account.",
|
|
@@ -49,7 +49,7 @@ const listBrandsForAccount = defineRestOperation({
|
|
|
49
49
|
})
|
|
50
50
|
});
|
|
51
51
|
const retrieveAccountBrandInformation = defineRestOperation({
|
|
52
|
-
id: "
|
|
52
|
+
id: "docusign.retrieve-account-brand-information",
|
|
53
53
|
slug: "DOCUSIGN_RETRIEVE_ACCOUNT_BRAND_INFORMATION",
|
|
54
54
|
name: "Retrieve Brand Information",
|
|
55
55
|
description: "Retrieve a specific account brand.",
|
|
@@ -60,7 +60,7 @@ const retrieveAccountBrandInformation = defineRestOperation({
|
|
|
60
60
|
query: (input) => ({ include: input.include })
|
|
61
61
|
});
|
|
62
62
|
const updateAccountBrandSettings = defineRestOperation({
|
|
63
|
-
id: "
|
|
63
|
+
id: "docusign.update-account-brand-settings",
|
|
64
64
|
slug: "DOCUSIGN_UPDATE_ACCOUNT_BRAND_SETTINGS",
|
|
65
65
|
name: "Update Brand Settings",
|
|
66
66
|
description: "Update an account brand.",
|
|
@@ -72,7 +72,7 @@ const updateAccountBrandSettings = defineRestOperation({
|
|
|
72
72
|
body: (input) => input.brand
|
|
73
73
|
});
|
|
74
74
|
const deleteAccountBrand = defineRestOperation({
|
|
75
|
-
id: "
|
|
75
|
+
id: "docusign.delete-account-brand",
|
|
76
76
|
slug: "DOCUSIGN_DELETE_ACCOUNT_BRAND",
|
|
77
77
|
name: "Delete Account Brand",
|
|
78
78
|
description: "Delete a single account brand.",
|
|
@@ -84,7 +84,7 @@ const deleteAccountBrand = defineRestOperation({
|
|
|
84
84
|
transformResponse: () => ({ success: true })
|
|
85
85
|
});
|
|
86
86
|
const deleteBrandProfiles = defineRestOperation({
|
|
87
|
-
id: "
|
|
87
|
+
id: "docusign.delete-brand-profiles",
|
|
88
88
|
slug: "DOCUSIGN_DELETE_BRAND_PROFILES",
|
|
89
89
|
name: "Delete Brand Profiles",
|
|
90
90
|
description: "Delete multiple brand profiles.",
|
|
@@ -97,7 +97,7 @@ const deleteBrandProfiles = defineRestOperation({
|
|
|
97
97
|
transformResponse: () => ({ success: true })
|
|
98
98
|
});
|
|
99
99
|
const exportBrandToXmlFile = defineBinaryOperation({
|
|
100
|
-
id: "
|
|
100
|
+
id: "docusign.export-brand-to-xml-file",
|
|
101
101
|
slug: "DOCUSIGN_EXPORT_BRAND_TO_XMLFILE",
|
|
102
102
|
name: "Export Brand To XML",
|
|
103
103
|
description: "Download a brand as XML.",
|
|
@@ -108,7 +108,7 @@ const exportBrandToXmlFile = defineBinaryOperation({
|
|
|
108
108
|
output: binaryResponseSchema
|
|
109
109
|
});
|
|
110
110
|
const getBrandLogoByType = defineBinaryOperation({
|
|
111
|
-
id: "
|
|
111
|
+
id: "docusign.get-brand-logo-by-type",
|
|
112
112
|
slug: "DOCUSIGN_GET_BRAND_LOGO_BY_TYPE",
|
|
113
113
|
name: "Get Brand Logo By Type",
|
|
114
114
|
description: "Download a brand logo by type.",
|
|
@@ -119,7 +119,7 @@ const getBrandLogoByType = defineBinaryOperation({
|
|
|
119
119
|
output: binaryResponseSchema
|
|
120
120
|
});
|
|
121
121
|
const deleteBrandLogoByType = defineRestOperation({
|
|
122
|
-
id: "
|
|
122
|
+
id: "docusign.delete-brand-logo-by-type",
|
|
123
123
|
slug: "DOCUSIGN_DELETE_BRAND_LOGO_BY_TYPE",
|
|
124
124
|
name: "Delete Brand Logo By Type",
|
|
125
125
|
description: "Delete a brand logo by type.",
|
|
@@ -131,7 +131,7 @@ const deleteBrandLogoByType = defineRestOperation({
|
|
|
131
131
|
transformResponse: () => ({ success: true })
|
|
132
132
|
});
|
|
133
133
|
const getSpecificBrandResourceFile = defineBinaryOperation({
|
|
134
|
-
id: "
|
|
134
|
+
id: "docusign.get-specific-brand-resource-file",
|
|
135
135
|
slug: "DOCUSIGN_GET_SPECIFIC_BRAND_RESOURCE_FILE",
|
|
136
136
|
name: "Get Brand Resource File",
|
|
137
137
|
description: "Download a specific brand resource file by resource type.",
|
|
@@ -143,7 +143,7 @@ const getSpecificBrandResourceFile = defineBinaryOperation({
|
|
|
143
143
|
query: (input) => ({ langcode: input.langcode })
|
|
144
144
|
});
|
|
145
145
|
const returnBrandResourceMetadataForAccount = defineRestOperation({
|
|
146
|
-
id: "
|
|
146
|
+
id: "docusign.return-brand-resource-metadata-for-account",
|
|
147
147
|
slug: "DOCUSIGN_RETURN_BRAND_RESOURCE_METADATA_FOR_ACCOUNT",
|
|
148
148
|
name: "Return Brand Resource Metadata",
|
|
149
149
|
description: "List metadata about all brand resources.",
|
package/dist/bulk-send.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/bulk-send.d.ts
|
|
@@ -13,7 +13,7 @@ declare const createBulkSendRequest: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
13
13
|
batchName: z.ZodOptional<z.ZodString>;
|
|
14
14
|
status: z.ZodOptional<z.ZodString>;
|
|
15
15
|
totalCount: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
|
|
16
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
16
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
17
17
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
18
18
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
19
19
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
@@ -29,7 +29,7 @@ declare const createBulkSendTestRequest: _keystrokehq_core0.Operation<z.ZodObjec
|
|
|
29
29
|
}, z.core.$catchall<z.ZodUnknown>>;
|
|
30
30
|
}, z.core.$strip>, z.ZodObject<{
|
|
31
31
|
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
32
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
32
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
33
33
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
34
34
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
35
35
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
@@ -47,7 +47,7 @@ declare const applyActionToBulkSendEnvelopes: _keystrokehq_core0.Operation<z.Zod
|
|
|
47
47
|
}>;
|
|
48
48
|
}, z.core.$strip>, z.ZodObject<{
|
|
49
49
|
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
50
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
50
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
51
51
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
52
52
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
53
53
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
@@ -63,7 +63,7 @@ declare const listBulkSendBatchSummaries: _keystrokehq_core0.Operation<z.ZodObje
|
|
|
63
63
|
status: z.ZodOptional<z.ZodString>;
|
|
64
64
|
}, z.core.$strip>, z.ZodObject<{
|
|
65
65
|
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
66
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
66
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
67
67
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
68
68
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
69
69
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
@@ -79,7 +79,7 @@ declare const getBulkSendBatchStatus: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
79
79
|
batchName: z.ZodOptional<z.ZodString>;
|
|
80
80
|
status: z.ZodOptional<z.ZodString>;
|
|
81
81
|
totalCount: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
|
|
82
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
82
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
83
83
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
84
84
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
85
85
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
@@ -94,7 +94,7 @@ declare const getBulkSendListsInformation: _keystrokehq_core0.Operation<z.ZodObj
|
|
|
94
94
|
bulkRecipients: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
95
95
|
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
96
96
|
}, z.core.$catchall<z.ZodUnknown>>>>;
|
|
97
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
97
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
98
98
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
99
99
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
100
100
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
@@ -107,7 +107,7 @@ declare const removeBulkSendList: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
107
107
|
bulkSendListId: z.ZodString;
|
|
108
108
|
}, z.core.$strip>, z.ZodObject<{
|
|
109
109
|
success: z.ZodBoolean;
|
|
110
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
110
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
111
111
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
112
112
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
113
113
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
@@ -124,7 +124,7 @@ declare const updateBulkSendBatchName: _keystrokehq_core0.Operation<z.ZodObject<
|
|
|
124
124
|
batchName: z.ZodOptional<z.ZodString>;
|
|
125
125
|
status: z.ZodOptional<z.ZodString>;
|
|
126
126
|
totalCount: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
|
|
127
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
127
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
128
128
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
129
129
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
130
130
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
package/dist/bulk-send.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { docusignBulkSendBatchSchema, docusignBulkSendListSchema, docusignGenericObjectSchema, docusignListPaginationInputSchema, 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/bulk-send.ts
|
|
@@ -9,7 +9,7 @@ import { z } from "zod";
|
|
|
9
9
|
const batchId = z.object({ batchId: z.string().min(1) });
|
|
10
10
|
const listId = z.object({ bulkSendListId: z.string().min(1) });
|
|
11
11
|
const createBulkSendRequest = defineRestOperation({
|
|
12
|
-
id: "
|
|
12
|
+
id: "docusign.create-bulk-send-request",
|
|
13
13
|
slug: "DOCUSIGN_CREATE_BULK_SEND_REQUEST",
|
|
14
14
|
name: "Create Bulk Send Request",
|
|
15
15
|
description: "Send an envelope in bulk to a pre-saved recipient list.",
|
|
@@ -21,7 +21,7 @@ const createBulkSendRequest = defineRestOperation({
|
|
|
21
21
|
body: (input) => input.request
|
|
22
22
|
});
|
|
23
23
|
const createBulkSendTestRequest = defineRestOperation({
|
|
24
|
-
id: "
|
|
24
|
+
id: "docusign.create-bulk-send-test-request",
|
|
25
25
|
slug: "DOCUSIGN_CREATE_BULK_SEND_TEST_REQUEST",
|
|
26
26
|
name: "Create Bulk Send Test Request",
|
|
27
27
|
description: "Dry-run a bulk send against a recipient list.",
|
|
@@ -33,7 +33,7 @@ const createBulkSendTestRequest = defineRestOperation({
|
|
|
33
33
|
body: (input) => input.request
|
|
34
34
|
});
|
|
35
35
|
const applyActionToBulkSendEnvelopes = defineRestOperation({
|
|
36
|
-
id: "
|
|
36
|
+
id: "docusign.apply-action-to-bulk-send-envelopes",
|
|
37
37
|
slug: "DOCUSIGN_APPLY_ACTION_TO_BULK_SEND_ENVELOPES",
|
|
38
38
|
name: "Apply Action To Bulk Send Envelopes",
|
|
39
39
|
description: "Apply an action (e.g. resume, stop) to all envelopes in a bulk send batch.",
|
|
@@ -48,7 +48,7 @@ const applyActionToBulkSendEnvelopes = defineRestOperation({
|
|
|
48
48
|
output: docusignGenericObjectSchema
|
|
49
49
|
});
|
|
50
50
|
const listBulkSendBatchSummaries = defineRestOperation({
|
|
51
|
-
id: "
|
|
51
|
+
id: "docusign.list-bulk-send-batch-summaries",
|
|
52
52
|
slug: "DOCUSIGN_LIST_BULK_SEND_BATCH_SUMMARIES",
|
|
53
53
|
name: "List Bulk Send Batch Summaries",
|
|
54
54
|
description: "List bulk send batches for the account.",
|
|
@@ -67,7 +67,7 @@ const listBulkSendBatchSummaries = defineRestOperation({
|
|
|
67
67
|
})
|
|
68
68
|
});
|
|
69
69
|
const getBulkSendBatchStatus = defineRestOperation({
|
|
70
|
-
id: "
|
|
70
|
+
id: "docusign.get-bulk-send-batch-status",
|
|
71
71
|
slug: "DOCUSIGN_GET_BULK_SEND_BATCH_STATUS",
|
|
72
72
|
name: "Get Bulk Send Batch Status",
|
|
73
73
|
description: "Fetch the status of a single bulk send batch.",
|
|
@@ -77,7 +77,7 @@ const getBulkSendBatchStatus = defineRestOperation({
|
|
|
77
77
|
output: docusignBulkSendBatchSchema
|
|
78
78
|
});
|
|
79
79
|
const getBulkSendListsInformation = defineRestOperation({
|
|
80
|
-
id: "
|
|
80
|
+
id: "docusign.get-bulk-send-lists-information",
|
|
81
81
|
slug: "DOCUSIGN_GET_BULK_SEND_LISTS_INFORMATION",
|
|
82
82
|
name: "Get Bulk Send Lists Information",
|
|
83
83
|
description: "List saved bulk send recipient lists.",
|
|
@@ -87,7 +87,7 @@ const getBulkSendListsInformation = defineRestOperation({
|
|
|
87
87
|
output: docusignBulkSendListSchema
|
|
88
88
|
});
|
|
89
89
|
const removeBulkSendList = defineRestOperation({
|
|
90
|
-
id: "
|
|
90
|
+
id: "docusign.remove-bulk-send-list",
|
|
91
91
|
slug: "DOCUSIGN_REMOVE_BULK_SEND_LIST",
|
|
92
92
|
name: "Remove Bulk Send List",
|
|
93
93
|
description: "Remove a saved bulk send recipient list.",
|
|
@@ -99,7 +99,7 @@ const removeBulkSendList = defineRestOperation({
|
|
|
99
99
|
transformResponse: () => ({ success: true })
|
|
100
100
|
});
|
|
101
101
|
const updateBulkSendBatchName = defineRestOperation({
|
|
102
|
-
id: "
|
|
102
|
+
id: "docusign.update-bulk-send-batch-name",
|
|
103
103
|
slug: "DOCUSIGN_UPDATE_BULK_SEND_BATCH_NAME",
|
|
104
104
|
name: "Update Bulk Send Batch Name",
|
|
105
105
|
description: "Rename a bulk send batch.",
|
|
@@ -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/chunked-uploads.d.ts
|
|
@@ -9,7 +9,7 @@ declare const initiateNewChunkedUpload: _keystrokehq_core0.Operation<z.ZodObject
|
|
|
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;
|
|
@@ -24,7 +24,7 @@ declare const addPartToChunkedUpload: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
24
24
|
data: z.ZodString;
|
|
25
25
|
}, z.core.$strip>, z.ZodObject<{
|
|
26
26
|
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
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;
|
|
@@ -38,7 +38,7 @@ declare const commitChunkedUploadForEnvelopes: _keystrokehq_core0.Operation<z.Zo
|
|
|
38
38
|
action: z.ZodOptional<z.ZodLiteral<"commit">>;
|
|
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 deleteChunkedUpload: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
51
51
|
chunkedUploadId: 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;
|
|
@@ -65,7 +65,7 @@ declare const retrieveChunkedUploadMetadata: _keystrokehq_core0.Operation<z.ZodO
|
|
|
65
65
|
include: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
66
66
|
}, z.core.$strip>, z.ZodObject<{
|
|
67
67
|
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
68
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
68
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
69
69
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
70
70
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
71
71
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
package/dist/chunked-uploads.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/chunked-uploads.ts
|
|
@@ -8,7 +8,7 @@ import { z } from "zod";
|
|
|
8
8
|
*/
|
|
9
9
|
const chunkedId = z.object({ chunkedUploadId: z.string().min(1) });
|
|
10
10
|
const initiateNewChunkedUpload = defineRestOperation({
|
|
11
|
-
id: "
|
|
11
|
+
id: "docusign.initiate-new-chunked-upload",
|
|
12
12
|
slug: "DOCUSIGN_INITIATE_NEW_CHUNKED_UPLOAD",
|
|
13
13
|
name: "Initiate New Chunked Upload",
|
|
14
14
|
description: "Initiate a new chunked upload session.",
|
|
@@ -20,7 +20,7 @@ const initiateNewChunkedUpload = defineRestOperation({
|
|
|
20
20
|
body: (input) => input.chunkedUpload
|
|
21
21
|
});
|
|
22
22
|
const addPartToChunkedUpload = defineRestOperation({
|
|
23
|
-
id: "
|
|
23
|
+
id: "docusign.add-part-to-chunked-upload",
|
|
24
24
|
slug: "DOCUSIGN_ADD_PART_TO_CHUNKED_UPLOAD",
|
|
25
25
|
name: "Add Part To Chunked Upload",
|
|
26
26
|
description: "Append a part (sequential chunk) to an ongoing chunked upload.",
|
|
@@ -35,7 +35,7 @@ const addPartToChunkedUpload = defineRestOperation({
|
|
|
35
35
|
body: (input) => ({ data: input.data })
|
|
36
36
|
});
|
|
37
37
|
const commitChunkedUploadForEnvelopes = defineRestOperation({
|
|
38
|
-
id: "
|
|
38
|
+
id: "docusign.commit-chunked-upload-for-envelopes",
|
|
39
39
|
slug: "DOCUSIGN_COMMIT_CHUNKED_UPLOAD_FOR_ENVELOPES",
|
|
40
40
|
name: "Commit Chunked Upload For Envelopes",
|
|
41
41
|
description: "Commit a completed chunked upload so envelopes can reference it.",
|
|
@@ -47,7 +47,7 @@ const commitChunkedUploadForEnvelopes = defineRestOperation({
|
|
|
47
47
|
query: () => ({ action: "commit" })
|
|
48
48
|
});
|
|
49
49
|
const deleteChunkedUpload = defineRestOperation({
|
|
50
|
-
id: "
|
|
50
|
+
id: "docusign.delete-chunked-upload",
|
|
51
51
|
slug: "DOCUSIGN_DELETE_CHUNKED_UPLOAD",
|
|
52
52
|
name: "Delete Chunked Upload",
|
|
53
53
|
description: "Delete an in-progress chunked upload.",
|
|
@@ -59,7 +59,7 @@ const deleteChunkedUpload = defineRestOperation({
|
|
|
59
59
|
transformResponse: () => ({ success: true })
|
|
60
60
|
});
|
|
61
61
|
const retrieveChunkedUploadMetadata = defineRestOperation({
|
|
62
|
-
id: "
|
|
62
|
+
id: "docusign.retrieve-chunked-upload-metadata",
|
|
63
63
|
slug: "DOCUSIGN_RETRIEVE_CHUNKED_UPLOAD_METADATA",
|
|
64
64
|
name: "Retrieve Chunked Upload Metadata",
|
|
65
65
|
description: "Retrieve metadata for an in-progress chunked upload.",
|
package/dist/click.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/click.d.ts
|
|
6
6
|
declare const clickNotImplemented: _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/click.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/click.ts
|
|
@@ -7,7 +7,7 @@ import { z } from "zod";
|
|
|
7
7
|
* DocuSign Click (clickwrap) — plan-gated in v1.
|
|
8
8
|
*/
|
|
9
9
|
const clickNotImplemented = definePlanGatedOperation({
|
|
10
|
-
id: "
|
|
10
|
+
id: "docusign.click-not-implemented",
|
|
11
11
|
slug: "DOCUSIGN_CLICK_NOT_IMPLEMENTED",
|
|
12
12
|
name: "DocuSign Click (not implemented)",
|
|
13
13
|
description: "Placeholder for DocuSign Click (clickwrap) API.",
|
package/dist/client.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as DocusignCredentials } from "./integration-
|
|
1
|
+
import { t as DocusignCredentials } from "./integration-CdIRNjCz.mjs";
|
|
2
2
|
|
|
3
3
|
//#region src/client.d.ts
|
|
4
4
|
type DocusignQueryValue = string | number | boolean | ReadonlyArray<string | number | boolean> | undefined;
|
package/dist/client.mjs
CHANGED
|
@@ -183,7 +183,7 @@ function createDocusignClient(credentials) {
|
|
|
183
183
|
const accessToken = credentials.DOCUSIGN_ACCESS_TOKEN.trim();
|
|
184
184
|
const accountId = credentials.DOCUSIGN_ACCOUNT_ID.trim();
|
|
185
185
|
const baseUri = credentials.DOCUSIGN_BASE_URI.trim();
|
|
186
|
-
if (accessToken.length === 0 || accountId.length === 0 || baseUri.length === 0) throw new CredentialRevokedError("
|
|
186
|
+
if (accessToken.length === 0 || accountId.length === 0 || baseUri.length === 0) throw new CredentialRevokedError("docusign", "DocuSign credentials are missing required fields (access token, account id, base URI). Re-run `keystroke connect docusign`.");
|
|
187
187
|
const internals = {
|
|
188
188
|
accessToken,
|
|
189
189
|
accountId,
|
|
@@ -194,7 +194,7 @@ function createDocusignClient(credentials) {
|
|
|
194
194
|
const response = await performRequest(resolved, internals);
|
|
195
195
|
if (!response.ok) {
|
|
196
196
|
const error = await resolveErrorFromResponse(resolved, response);
|
|
197
|
-
if (isAuthError(error)) throw new CredentialRevokedError("
|
|
197
|
+
if (isAuthError(error)) throw new CredentialRevokedError("docusign", `DocuSign authentication failed while calling ${resolved.method} ${resolved.url}. The stored credentials may be revoked or expired.`);
|
|
198
198
|
throw error;
|
|
199
199
|
}
|
|
200
200
|
return await readJsonBody(response);
|
|
@@ -207,7 +207,7 @@ function createDocusignClient(credentials) {
|
|
|
207
207
|
const response = await performRequest(resolved, internals);
|
|
208
208
|
if (!response.ok) {
|
|
209
209
|
const error = await resolveErrorFromResponse(resolved, response);
|
|
210
|
-
if (isAuthError(error)) throw new CredentialRevokedError("
|
|
210
|
+
if (isAuthError(error)) throw new CredentialRevokedError("docusign", `DocuSign authentication failed while downloading ${resolved.method} ${resolved.url}.`);
|
|
211
211
|
throw error;
|
|
212
212
|
}
|
|
213
213
|
return {
|
package/dist/clm.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/clm.d.ts
|
|
6
6
|
declare const clmNotImplemented: _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/clm.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/clm.ts
|
|
@@ -7,7 +7,7 @@ import { z } from "zod";
|
|
|
7
7
|
* DocuSign CLM (SpringCM) — plan-gated in v1.
|
|
8
8
|
*/
|
|
9
9
|
const clmNotImplemented = definePlanGatedOperation({
|
|
10
|
-
id: "
|
|
10
|
+
id: "docusign.clm-not-implemented",
|
|
11
11
|
slug: "DOCUSIGN_CLM_NOT_IMPLEMENTED",
|
|
12
12
|
name: "DocuSign CLM (not implemented)",
|
|
13
13
|
description: "Placeholder for DocuSign Contract Lifecycle Management. Plan-gated in v1.",
|
package/dist/cloud-storage.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/cloud-storage.d.ts
|
|
@@ -11,7 +11,7 @@ declare const configureCloudStorageRedirectUrl: _keystrokehq_core0.Operation<z.Z
|
|
|
11
11
|
}, z.core.$catchall<z.ZodUnknown>>;
|
|
12
12
|
}, z.core.$strip>, z.ZodObject<{
|
|
13
13
|
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
14
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
14
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
15
15
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
16
16
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
17
17
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
@@ -25,7 +25,7 @@ declare const getUserCloudStorageProviderConfiguration: _keystrokehq_core0.Opera
|
|
|
25
25
|
serviceId: z.ZodString;
|
|
26
26
|
}, z.core.$strip>, z.ZodObject<{
|
|
27
27
|
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
28
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
28
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
29
29
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
30
30
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
31
31
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
@@ -38,7 +38,7 @@ declare const retrieveCloudStorageProviderConfiguration: _keystrokehq_core0.Oper
|
|
|
38
38
|
userId: z.ZodString;
|
|
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;
|
|
@@ -54,7 +54,7 @@ declare const deleteUserAuthForCloudStorageProviders: _keystrokehq_core0.Operati
|
|
|
54
54
|
}, z.core.$catchall<z.ZodUnknown>>;
|
|
55
55
|
}, z.core.$strip>, z.ZodObject<{
|
|
56
56
|
success: z.ZodBoolean;
|
|
57
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
57
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
58
58
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
59
59
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
60
60
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
@@ -68,7 +68,7 @@ declare const deleteUserCloudStorageAuthentication: _keystrokehq_core0.Operation
|
|
|
68
68
|
serviceId: z.ZodString;
|
|
69
69
|
}, z.core.$strip>, z.ZodObject<{
|
|
70
70
|
success: z.ZodBoolean;
|
|
71
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
71
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
72
72
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
73
73
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
74
74
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
@@ -92,7 +92,7 @@ declare const listCloudStorageItems: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
92
92
|
startPosition: z.ZodOptional<z.ZodNumber>;
|
|
93
93
|
}, z.core.$strip>, z.ZodObject<{
|
|
94
94
|
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
95
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
95
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
96
96
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
97
97
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
98
98
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
@@ -109,7 +109,7 @@ declare const retrieveItemsInCloudStorageFolder: _keystrokehq_core0.Operation<z.
|
|
|
109
109
|
startPosition: z.ZodOptional<z.ZodNumber>;
|
|
110
110
|
}, z.core.$strip>, z.ZodObject<{
|
|
111
111
|
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
112
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
112
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
113
113
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
114
114
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
115
115
|
DOCUSIGN_BASE_URI: z.ZodURL;
|