@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/template-lock.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/template-lock.d.ts
|
|
@@ -10,7 +10,7 @@ declare const lockTemplateForEditing: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
10
10
|
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
11
11
|
}, z.core.$strip>, z.ZodObject<{
|
|
12
12
|
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
13
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
13
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
14
14
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
15
15
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
16
16
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
@@ -23,7 +23,7 @@ declare const getTemplateLockInformation: _keystrokehq_core0.Operation<z.ZodObje
|
|
|
23
23
|
templateId: z.ZodString;
|
|
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;
|
|
@@ -39,7 +39,7 @@ declare const updateTemplateLockInformation: _keystrokehq_core0.Operation<z.ZodO
|
|
|
39
39
|
}, z.core.$catchall<z.ZodUnknown>>;
|
|
40
40
|
}, z.core.$strip>, z.ZodObject<{
|
|
41
41
|
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
42
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
42
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
43
43
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
44
44
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
45
45
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
@@ -52,7 +52,7 @@ declare const deleteTemplateLock: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
52
52
|
templateId: z.ZodString;
|
|
53
53
|
}, z.core.$strip>, z.ZodObject<{
|
|
54
54
|
success: z.ZodBoolean;
|
|
55
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
55
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
56
56
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
57
57
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
58
58
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
package/dist/template-lock.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as encodeDocusignPathSegment } from "./shared-DTUCJayR.mjs";
|
|
2
2
|
import { docusignGenericObjectSchema, docusignLooseObjectSchema, docusignSuccessSchema, docusignTemplateIdSchema } from "./schemas/index.mjs";
|
|
3
|
-
import { r as defineRestOperation } from "./operation-helpers-
|
|
3
|
+
import { r as defineRestOperation } from "./operation-helpers-Bqp7KoLi.mjs";
|
|
4
4
|
import { z } from "zod";
|
|
5
5
|
|
|
6
6
|
//#region src/template-lock.ts
|
|
@@ -10,7 +10,7 @@ import { z } from "zod";
|
|
|
10
10
|
const tplId = z.object({ templateId: docusignTemplateIdSchema });
|
|
11
11
|
const lockPath = (templateId) => `/templates/${encodeDocusignPathSegment(String(templateId))}/lock`;
|
|
12
12
|
const lockTemplateForEditing = defineRestOperation({
|
|
13
|
-
id: "
|
|
13
|
+
id: "docusign.lock-template-for-editing",
|
|
14
14
|
slug: "DOCUSIGN_LOCK_TEMPLATE_FOR_EDITING",
|
|
15
15
|
name: "Lock Template For Editing",
|
|
16
16
|
description: "Acquire an editing lock on a template.",
|
|
@@ -22,7 +22,7 @@ const lockTemplateForEditing = defineRestOperation({
|
|
|
22
22
|
body: (input) => input.lock ?? {}
|
|
23
23
|
});
|
|
24
24
|
const getTemplateLockInformation = defineRestOperation({
|
|
25
|
-
id: "
|
|
25
|
+
id: "docusign.get-template-lock-information",
|
|
26
26
|
slug: "DOCUSIGN_GET_TEMPLATE_LOCK_INFORMATION",
|
|
27
27
|
name: "Get Template Lock Information",
|
|
28
28
|
description: "Return lock metadata for a template.",
|
|
@@ -32,7 +32,7 @@ const getTemplateLockInformation = defineRestOperation({
|
|
|
32
32
|
output: docusignGenericObjectSchema
|
|
33
33
|
});
|
|
34
34
|
const updateTemplateLockInformation = defineRestOperation({
|
|
35
|
-
id: "
|
|
35
|
+
id: "docusign.update-template-lock-information",
|
|
36
36
|
slug: "DOCUSIGN_UPDATE_TEMPLATE_LOCK_INFORMATION",
|
|
37
37
|
name: "Update Template Lock Information",
|
|
38
38
|
description: "Update the lock on a template.",
|
|
@@ -44,7 +44,7 @@ const updateTemplateLockInformation = defineRestOperation({
|
|
|
44
44
|
body: (input) => input.lock
|
|
45
45
|
});
|
|
46
46
|
const deleteTemplateLock = defineRestOperation({
|
|
47
|
-
id: "
|
|
47
|
+
id: "docusign.delete-template-lock",
|
|
48
48
|
slug: "DOCUSIGN_DELETE_TEMPLATE_LOCK",
|
|
49
49
|
name: "Delete Template Lock",
|
|
50
50
|
description: "Release the lock on a template.",
|
|
@@ -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/template-sharing.d.ts
|
|
@@ -9,7 +9,7 @@ declare const shareTemplateWithGroup: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
9
9
|
templatePart: z.ZodOptional<z.ZodString>;
|
|
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 removeGroupSharingPermissionsForTemplate: _keystrokehq_core0.Opera
|
|
|
24
24
|
templatePart: z.ZodOptional<z.ZodString>;
|
|
25
25
|
}, z.core.$strip>, z.ZodObject<{
|
|
26
26
|
success: z.ZodBoolean;
|
|
27
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
27
|
+
}, z.core.$strip>, 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 getTemplateRecipientDocumentVisibility: _keystrokehq_core0.Operati
|
|
|
38
38
|
recipientId: 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;
|
|
@@ -55,7 +55,7 @@ declare const updateTemplateRecipientDocumentVisibility: _keystrokehq_core0.Oper
|
|
|
55
55
|
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
56
56
|
}, z.core.$strip>, z.ZodObject<{
|
|
57
57
|
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
58
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
58
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
59
59
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
60
60
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
61
61
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
@@ -71,7 +71,7 @@ declare const updateTemplateDocVisibility: _keystrokehq_core0.Operation<z.ZodObj
|
|
|
71
71
|
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
72
72
|
}, z.core.$strip>, z.ZodObject<{
|
|
73
73
|
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
74
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
74
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
75
75
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
76
76
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
77
77
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
@@ -84,7 +84,7 @@ declare const getTemplateNotificationInformation: _keystrokehq_core0.Operation<z
|
|
|
84
84
|
templateId: z.ZodString;
|
|
85
85
|
}, z.core.$strip>, z.ZodObject<{
|
|
86
86
|
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
87
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
87
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
88
88
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
89
89
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
90
90
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
@@ -100,7 +100,7 @@ declare const updateTemplateNotificationSettings: _keystrokehq_core0.Operation<z
|
|
|
100
100
|
}, z.core.$catchall<z.ZodUnknown>>;
|
|
101
101
|
}, z.core.$strip>, z.ZodObject<{
|
|
102
102
|
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
103
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
103
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
104
104
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
105
105
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
106
106
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
@@ -116,7 +116,7 @@ declare const createTemplateRecipientPreviewUrl: _keystrokehq_core0.Operation<z.
|
|
|
116
116
|
}, z.core.$catchall<z.ZodUnknown>>;
|
|
117
117
|
}, z.core.$strip>, z.ZodObject<{
|
|
118
118
|
url: z.ZodOptional<z.ZodString>;
|
|
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;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { docusignGenericObjectSchema, docusignLooseObjectSchema, docusignRecipientIdSchema, docusignSuccessSchema, docusignTemplateIdSchema } 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/template-sharing.ts
|
|
@@ -13,7 +13,7 @@ const tplGroup = tplId.extend({
|
|
|
13
13
|
});
|
|
14
14
|
const tplRecipient = tplId.extend({ recipientId: docusignRecipientIdSchema });
|
|
15
15
|
const shareTemplateWithGroup = defineRestOperation({
|
|
16
|
-
id: "
|
|
16
|
+
id: "docusign.share-template-with-group",
|
|
17
17
|
slug: "DOCUSIGN_SHARE_TEMPLATE_WITH_GROUP",
|
|
18
18
|
name: "Share Template With Group",
|
|
19
19
|
description: "Share a template with a group by granting permissions on a template part.",
|
|
@@ -24,7 +24,7 @@ const shareTemplateWithGroup = defineRestOperation({
|
|
|
24
24
|
output: docusignGenericObjectSchema
|
|
25
25
|
});
|
|
26
26
|
const removeGroupSharingPermissionsForTemplate = defineRestOperation({
|
|
27
|
-
id: "
|
|
27
|
+
id: "docusign.remove-group-sharing-permissions-for-template",
|
|
28
28
|
slug: "DOCUSIGN_REMOVE_GROUP_SHARING_PERMISSIONS_FOR_TEMPLATE",
|
|
29
29
|
name: "Remove Group Sharing Permissions For Template",
|
|
30
30
|
description: "Revoke template-sharing permissions for a group.",
|
|
@@ -36,7 +36,7 @@ const removeGroupSharingPermissionsForTemplate = defineRestOperation({
|
|
|
36
36
|
transformResponse: () => ({ success: true })
|
|
37
37
|
});
|
|
38
38
|
const getTemplateRecipientDocumentVisibility = defineRestOperation({
|
|
39
|
-
id: "
|
|
39
|
+
id: "docusign.get-template-recipient-document-visibility",
|
|
40
40
|
slug: "DOCUSIGN_GET_TEMPLATE_RECIPIENT_DOCUMENT_VISIBILITY",
|
|
41
41
|
name: "Get Template Recipient Document Visibility",
|
|
42
42
|
description: "Return per-document visibility for a template recipient.",
|
|
@@ -46,7 +46,7 @@ const getTemplateRecipientDocumentVisibility = defineRestOperation({
|
|
|
46
46
|
output: docusignGenericObjectSchema
|
|
47
47
|
});
|
|
48
48
|
const updateTemplateRecipientDocumentVisibility = defineRestOperation({
|
|
49
|
-
id: "
|
|
49
|
+
id: "docusign.update-template-recipient-document-visibility",
|
|
50
50
|
slug: "DOCUSIGN_UPDATE_TEMPLATE_RECIPIENT_DOCUMENT_VISIBILITY",
|
|
51
51
|
name: "Update Template Recipient Document Visibility",
|
|
52
52
|
description: "Update per-document visibility for a template recipient.",
|
|
@@ -58,7 +58,7 @@ const updateTemplateRecipientDocumentVisibility = defineRestOperation({
|
|
|
58
58
|
body: (input) => ({ documentVisibility: input.documentVisibility })
|
|
59
59
|
});
|
|
60
60
|
const updateTemplateDocVisibility = defineRestOperation({
|
|
61
|
-
id: "
|
|
61
|
+
id: "docusign.update-template-doc-visibility",
|
|
62
62
|
slug: "DOCUSIGN_UPDATE_TEMPLATE_DOC_VISIBILITY",
|
|
63
63
|
name: "Update Template Document Visibility",
|
|
64
64
|
description: "Update per-recipient document visibility on a template.",
|
|
@@ -70,7 +70,7 @@ const updateTemplateDocVisibility = defineRestOperation({
|
|
|
70
70
|
body: (input) => ({ documentVisibility: input.documentVisibility })
|
|
71
71
|
});
|
|
72
72
|
const getTemplateNotificationInformation = defineRestOperation({
|
|
73
|
-
id: "
|
|
73
|
+
id: "docusign.get-template-notification-information",
|
|
74
74
|
slug: "DOCUSIGN_GET_TEMPLATE_NOTIFICATION_INFORMATION",
|
|
75
75
|
name: "Get Template Notification Information",
|
|
76
76
|
description: "Retrieve the notification settings on a template.",
|
|
@@ -80,7 +80,7 @@ const getTemplateNotificationInformation = defineRestOperation({
|
|
|
80
80
|
output: docusignGenericObjectSchema
|
|
81
81
|
});
|
|
82
82
|
const updateTemplateNotificationSettings = defineRestOperation({
|
|
83
|
-
id: "
|
|
83
|
+
id: "docusign.update-template-notification-settings",
|
|
84
84
|
slug: "DOCUSIGN_UPDATE_TEMPLATE_NOTIFICATION_SETTINGS",
|
|
85
85
|
name: "Update Template Notification Settings",
|
|
86
86
|
description: "Update the notification settings on a template.",
|
|
@@ -92,7 +92,7 @@ const updateTemplateNotificationSettings = defineRestOperation({
|
|
|
92
92
|
body: (input) => input.notification
|
|
93
93
|
});
|
|
94
94
|
const createTemplateRecipientPreviewUrl = defineRestOperation({
|
|
95
|
-
id: "
|
|
95
|
+
id: "docusign.create-template-recipient-preview-url",
|
|
96
96
|
slug: "DOCUSIGN_CREATE_TEMPLATE_RECIPIENT_PREVIEW_URL",
|
|
97
97
|
name: "Create Template Recipient Preview URL",
|
|
98
98
|
description: "Create a preview URL that simulates a template recipient signing.",
|
|
@@ -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/template-workflow.d.ts
|
|
@@ -7,7 +7,7 @@ declare const returnTemplateWorkflowDefinition: _keystrokehq_core0.Operation<z.Z
|
|
|
7
7
|
templateId: z.ZodString;
|
|
8
8
|
}, z.core.$strip>, z.ZodObject<{
|
|
9
9
|
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
10
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
10
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
11
11
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
12
12
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
13
13
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
@@ -23,7 +23,7 @@ declare const updateTemplateWorkflowDefinition: _keystrokehq_core0.Operation<z.Z
|
|
|
23
23
|
}, z.core.$catchall<z.ZodUnknown>>;
|
|
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;
|
|
@@ -36,7 +36,7 @@ declare const deleteWorkflowDefinitionForTemplate: _keystrokehq_core0.Operation<
|
|
|
36
36
|
templateId: z.ZodString;
|
|
37
37
|
}, z.core.$strip>, z.ZodObject<{
|
|
38
38
|
success: z.ZodBoolean;
|
|
39
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
39
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
40
40
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
41
41
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
42
42
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
@@ -52,7 +52,7 @@ declare const createTemplateWorkflowStep: _keystrokehq_core0.Operation<z.ZodObje
|
|
|
52
52
|
}, z.core.$catchall<z.ZodUnknown>>;
|
|
53
53
|
}, z.core.$strip>, z.ZodObject<{
|
|
54
54
|
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
55
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
55
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
56
56
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
57
57
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
58
58
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
@@ -66,7 +66,7 @@ declare const retrieveWorkflowStepForTemplate: _keystrokehq_core0.Operation<z.Zo
|
|
|
66
66
|
workflowStepId: z.ZodString;
|
|
67
67
|
}, z.core.$strip>, z.ZodObject<{
|
|
68
68
|
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
69
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
69
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
70
70
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
71
71
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
72
72
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
@@ -83,7 +83,7 @@ declare const updateWorkflowStepForTemplate: _keystrokehq_core0.Operation<z.ZodO
|
|
|
83
83
|
}, z.core.$catchall<z.ZodUnknown>>;
|
|
84
84
|
}, z.core.$strip>, z.ZodObject<{
|
|
85
85
|
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
86
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
86
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
87
87
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
88
88
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
89
89
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
@@ -97,7 +97,7 @@ declare const deleteTemplateWorkflowStep: _keystrokehq_core0.Operation<z.ZodObje
|
|
|
97
97
|
workflowStepId: z.ZodString;
|
|
98
98
|
}, z.core.$strip>, z.ZodObject<{
|
|
99
99
|
success: z.ZodBoolean;
|
|
100
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
100
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
101
101
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
102
102
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
103
103
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
@@ -111,7 +111,7 @@ declare const getTemplateDelayedRoutingRules: _keystrokehq_core0.Operation<z.Zod
|
|
|
111
111
|
workflowStepId: z.ZodString;
|
|
112
112
|
}, z.core.$strip>, z.ZodObject<{
|
|
113
113
|
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
114
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
114
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
115
115
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
116
116
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
117
117
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
@@ -128,7 +128,7 @@ declare const updateTemplateDelayedRoutingRules: _keystrokehq_core0.Operation<z.
|
|
|
128
128
|
}, z.core.$catchall<z.ZodUnknown>>;
|
|
129
129
|
}, z.core.$strip>, z.ZodObject<{
|
|
130
130
|
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
131
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
131
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
132
132
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
133
133
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
134
134
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
@@ -142,7 +142,7 @@ declare const deleteDelayedRoutingRulesForTemplate: _keystrokehq_core0.Operation
|
|
|
142
142
|
workflowStepId: z.ZodString;
|
|
143
143
|
}, z.core.$strip>, z.ZodObject<{
|
|
144
144
|
success: z.ZodBoolean;
|
|
145
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
145
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
146
146
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
147
147
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
148
148
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
@@ -155,7 +155,7 @@ declare const getTemplateScheduledSendingSettings: _keystrokehq_core0.Operation<
|
|
|
155
155
|
templateId: z.ZodString;
|
|
156
156
|
}, z.core.$strip>, z.ZodObject<{
|
|
157
157
|
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
158
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
158
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
159
159
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
160
160
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
161
161
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
@@ -171,7 +171,7 @@ declare const updateTemplateScheduledSendingRules: _keystrokehq_core0.Operation<
|
|
|
171
171
|
}, z.core.$catchall<z.ZodUnknown>>;
|
|
172
172
|
}, z.core.$strip>, z.ZodObject<{
|
|
173
173
|
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
174
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
174
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
175
175
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
176
176
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
177
177
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as encodeDocusignPathSegment } from "./shared-DTUCJayR.mjs";
|
|
2
2
|
import { docusignGenericObjectSchema, docusignLooseObjectSchema, docusignSuccessSchema, docusignTemplateIdSchema } from "./schemas/index.mjs";
|
|
3
|
-
import { r as defineRestOperation } from "./operation-helpers-
|
|
3
|
+
import { r as defineRestOperation } from "./operation-helpers-Bqp7KoLi.mjs";
|
|
4
4
|
import { z } from "zod";
|
|
5
5
|
|
|
6
6
|
//#region src/template-workflow.ts
|
|
@@ -12,7 +12,7 @@ const tplStep = tplId.extend({ workflowStepId: z.string().min(1) });
|
|
|
12
12
|
const workflow = (templateId) => `/templates/${encodeDocusignPathSegment(String(templateId))}/workflow`;
|
|
13
13
|
const step = (templateId, stepId) => `${workflow(templateId)}/steps/${encodeDocusignPathSegment(String(stepId))}`;
|
|
14
14
|
const returnTemplateWorkflowDefinition = defineRestOperation({
|
|
15
|
-
id: "
|
|
15
|
+
id: "docusign.return-template-workflow-definition",
|
|
16
16
|
slug: "DOCUSIGN_RETURN_TEMPLATE_WORKFLOW_DEFINITION",
|
|
17
17
|
name: "Return Template Workflow Definition",
|
|
18
18
|
description: "Get the workflow definition attached to a template.",
|
|
@@ -22,7 +22,7 @@ const returnTemplateWorkflowDefinition = defineRestOperation({
|
|
|
22
22
|
output: docusignGenericObjectSchema
|
|
23
23
|
});
|
|
24
24
|
const updateTemplateWorkflowDefinition = defineRestOperation({
|
|
25
|
-
id: "
|
|
25
|
+
id: "docusign.update-template-workflow-definition",
|
|
26
26
|
slug: "DOCUSIGN_UPDATE_TEMPLATE_WORKFLOW_DEFINITION",
|
|
27
27
|
name: "Update Template Workflow Definition",
|
|
28
28
|
description: "Update the workflow definition attached to a template.",
|
|
@@ -34,7 +34,7 @@ const updateTemplateWorkflowDefinition = defineRestOperation({
|
|
|
34
34
|
body: (input) => input.workflow
|
|
35
35
|
});
|
|
36
36
|
const deleteWorkflowDefinitionForTemplate = defineRestOperation({
|
|
37
|
-
id: "
|
|
37
|
+
id: "docusign.delete-workflow-definition-for-template",
|
|
38
38
|
slug: "DOCUSIGN_DELETE_WORKFLOW_DEFINITION_FOR_TEMPLATE",
|
|
39
39
|
name: "Delete Workflow Definition For Template",
|
|
40
40
|
description: "Delete the workflow definition attached to a template.",
|
|
@@ -46,7 +46,7 @@ const deleteWorkflowDefinitionForTemplate = defineRestOperation({
|
|
|
46
46
|
transformResponse: () => ({ success: true })
|
|
47
47
|
});
|
|
48
48
|
const createTemplateWorkflowStep = defineRestOperation({
|
|
49
|
-
id: "
|
|
49
|
+
id: "docusign.create-template-workflow-step",
|
|
50
50
|
slug: "DOCUSIGN_CREATE_TEMPLATE_WORKFLOW_STEP",
|
|
51
51
|
name: "Create Template Workflow Step",
|
|
52
52
|
description: "Add a new workflow step to a template.",
|
|
@@ -58,7 +58,7 @@ const createTemplateWorkflowStep = defineRestOperation({
|
|
|
58
58
|
body: (input) => input.step
|
|
59
59
|
});
|
|
60
60
|
const retrieveWorkflowStepForTemplate = defineRestOperation({
|
|
61
|
-
id: "
|
|
61
|
+
id: "docusign.retrieve-workflow-step-for-template",
|
|
62
62
|
slug: "DOCUSIGN_RETRIEVE_WORKFLOW_STEP_FOR_TEMPLATE",
|
|
63
63
|
name: "Retrieve Workflow Step For Template",
|
|
64
64
|
description: "Get a specific workflow step on a template.",
|
|
@@ -68,7 +68,7 @@ const retrieveWorkflowStepForTemplate = defineRestOperation({
|
|
|
68
68
|
output: docusignGenericObjectSchema
|
|
69
69
|
});
|
|
70
70
|
const updateWorkflowStepForTemplate = defineRestOperation({
|
|
71
|
-
id: "
|
|
71
|
+
id: "docusign.update-workflow-step-for-template",
|
|
72
72
|
slug: "DOCUSIGN_UPDATE_WORKFLOW_STEP_FOR_TEMPLATE",
|
|
73
73
|
name: "Update Workflow Step For Template",
|
|
74
74
|
description: "Update a specific workflow step on a template.",
|
|
@@ -80,7 +80,7 @@ const updateWorkflowStepForTemplate = defineRestOperation({
|
|
|
80
80
|
body: (input) => input.step
|
|
81
81
|
});
|
|
82
82
|
const deleteTemplateWorkflowStep = defineRestOperation({
|
|
83
|
-
id: "
|
|
83
|
+
id: "docusign.delete-template-workflow-step",
|
|
84
84
|
slug: "DOCUSIGN_DELETE_TEMPLATE_WORKFLOW_STEP",
|
|
85
85
|
name: "Delete Template Workflow Step",
|
|
86
86
|
description: "Delete a specific workflow step on a template.",
|
|
@@ -92,7 +92,7 @@ const deleteTemplateWorkflowStep = defineRestOperation({
|
|
|
92
92
|
transformResponse: () => ({ success: true })
|
|
93
93
|
});
|
|
94
94
|
const getTemplateDelayedRoutingRules = defineRestOperation({
|
|
95
|
-
id: "
|
|
95
|
+
id: "docusign.get-template-delayed-routing-rules",
|
|
96
96
|
slug: "DOCUSIGN_GET_TEMPLATE_DELAYED_ROUTING_RULES",
|
|
97
97
|
name: "Get Template Delayed Routing Rules",
|
|
98
98
|
description: "Get delayed routing rules for a template workflow step.",
|
|
@@ -102,7 +102,7 @@ const getTemplateDelayedRoutingRules = defineRestOperation({
|
|
|
102
102
|
output: docusignGenericObjectSchema
|
|
103
103
|
});
|
|
104
104
|
const updateTemplateDelayedRoutingRules = defineRestOperation({
|
|
105
|
-
id: "
|
|
105
|
+
id: "docusign.update-template-delayed-routing-rules",
|
|
106
106
|
slug: "DOCUSIGN_UPDATE_TEMPLATE_DELAYED_ROUTING_RULES",
|
|
107
107
|
name: "Update Template Delayed Routing Rules",
|
|
108
108
|
description: "Update delayed routing rules for a template workflow step.",
|
|
@@ -114,7 +114,7 @@ const updateTemplateDelayedRoutingRules = defineRestOperation({
|
|
|
114
114
|
body: (input) => input.rules
|
|
115
115
|
});
|
|
116
116
|
const deleteDelayedRoutingRulesForTemplate = defineRestOperation({
|
|
117
|
-
id: "
|
|
117
|
+
id: "docusign.delete-delayed-routing-rules-for-template",
|
|
118
118
|
slug: "DOCUSIGN_DELETE_DELAYED_ROUTING_RULES_FOR_TEMPLATE",
|
|
119
119
|
name: "Delete Template Delayed Routing Rules",
|
|
120
120
|
description: "Delete delayed routing rules on a template workflow step.",
|
|
@@ -126,7 +126,7 @@ const deleteDelayedRoutingRulesForTemplate = defineRestOperation({
|
|
|
126
126
|
transformResponse: () => ({ success: true })
|
|
127
127
|
});
|
|
128
128
|
const getTemplateScheduledSendingSettings = defineRestOperation({
|
|
129
|
-
id: "
|
|
129
|
+
id: "docusign.get-template-scheduled-sending-settings",
|
|
130
130
|
slug: "DOCUSIGN_GET_TEMPLATE_SCHEDULED_SENDING_SETTINGS",
|
|
131
131
|
name: "Get Template Scheduled Sending Settings",
|
|
132
132
|
description: "Get scheduled sending settings on a template workflow.",
|
|
@@ -136,7 +136,7 @@ const getTemplateScheduledSendingSettings = defineRestOperation({
|
|
|
136
136
|
output: docusignGenericObjectSchema
|
|
137
137
|
});
|
|
138
138
|
const updateTemplateScheduledSendingRules = defineRestOperation({
|
|
139
|
-
id: "
|
|
139
|
+
id: "docusign.update-template-scheduled-sending-rules",
|
|
140
140
|
slug: "DOCUSIGN_UPDATE_TEMPLATE_SCHEDULED_SENDING_RULES",
|
|
141
141
|
name: "Update Template Scheduled Sending Rules",
|
|
142
142
|
description: "Update scheduled sending rules on a template workflow.",
|
package/dist/templates.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/templates.d.ts
|
|
@@ -32,7 +32,7 @@ declare const listAllTemplates: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
32
32
|
created: z.ZodOptional<z.ZodString>;
|
|
33
33
|
lastModified: z.ZodOptional<z.ZodString>;
|
|
34
34
|
}, z.core.$catchall<z.ZodUnknown>>>>;
|
|
35
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
35
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
36
36
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
37
37
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
38
38
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
@@ -75,7 +75,7 @@ declare const getTemplate: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
75
75
|
}, z.core.$catchall<z.ZodUnknown>>>>;
|
|
76
76
|
recipientCount: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
77
77
|
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
78
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
78
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
79
79
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
80
80
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
81
81
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
@@ -91,7 +91,7 @@ declare const addTemplatesToEnvelope: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
91
91
|
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
92
92
|
}, z.core.$strip>, z.ZodObject<{
|
|
93
93
|
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
94
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
94
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
95
95
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
96
96
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
97
97
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
@@ -104,7 +104,7 @@ declare const getTemplatesUsedInEnvelope: _keystrokehq_core0.Operation<z.ZodObje
|
|
|
104
104
|
envelopeId: z.ZodString;
|
|
105
105
|
}, z.core.$strip>, z.ZodObject<{
|
|
106
106
|
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
107
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
107
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
108
108
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
109
109
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
110
110
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
@@ -115,7 +115,7 @@ declare const getTemplatesUsedInEnvelope: _keystrokehq_core0.Operation<z.ZodObje
|
|
|
115
115
|
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
116
116
|
declare const retrieveAccountFavoriteTemplates: _keystrokehq_core0.Operation<z.ZodObject<{}, z.core.$strip>, z.ZodObject<{
|
|
117
117
|
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
118
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
118
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
119
119
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
120
120
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
121
121
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
@@ -130,7 +130,7 @@ declare const setTemplatesAsAccountFavorites: _keystrokehq_core0.Operation<z.Zod
|
|
|
130
130
|
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
131
131
|
}, z.core.$strip>, z.ZodObject<{
|
|
132
132
|
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
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;
|
|
@@ -145,7 +145,7 @@ declare const removeTemplatesFromFavorites: _keystrokehq_core0.Operation<z.ZodOb
|
|
|
145
145
|
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
146
146
|
}, z.core.$strip>, z.ZodObject<{
|
|
147
147
|
success: z.ZodBoolean;
|
|
148
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
148
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
149
149
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
150
150
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
151
151
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
package/dist/templates.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { docusignEnvelopeIdSchema, docusignGenericObjectSchema, docusignListPaginationInputSchema, docusignLooseObjectSchema, docusignSuccessSchema, docusignTemplateIdSchema, docusignTemplateListSchema, docusignTemplateSchema } 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/templates.ts
|
|
@@ -7,7 +7,7 @@ import { z } from "zod";
|
|
|
7
7
|
* Template core. Covers PLAN.md § 6.12.
|
|
8
8
|
*/
|
|
9
9
|
const listAllTemplates = defineRestOperation({
|
|
10
|
-
id: "
|
|
10
|
+
id: "docusign.list-all-templates",
|
|
11
11
|
slug: "DOCUSIGN_LIST_ALL_TEMPLATES",
|
|
12
12
|
name: "List All Templates",
|
|
13
13
|
description: "List templates on the account, optionally filtered by search text and folder.",
|
|
@@ -32,7 +32,7 @@ const listAllTemplates = defineRestOperation({
|
|
|
32
32
|
})
|
|
33
33
|
});
|
|
34
34
|
const getTemplate = defineRestOperation({
|
|
35
|
-
id: "
|
|
35
|
+
id: "docusign.get-template",
|
|
36
36
|
slug: "DOCUSIGN_GET_TEMPLATE",
|
|
37
37
|
name: "Get Template",
|
|
38
38
|
description: "Fetch a DocuSign template by id.",
|
|
@@ -46,7 +46,7 @@ const getTemplate = defineRestOperation({
|
|
|
46
46
|
query: (input) => ({ include: input.include })
|
|
47
47
|
});
|
|
48
48
|
const addTemplatesToEnvelope = defineRestOperation({
|
|
49
|
-
id: "
|
|
49
|
+
id: "docusign.add-templates-to-envelope",
|
|
50
50
|
slug: "DOCUSIGN_ADD_TEMPLATES_TO_ENVELOPE",
|
|
51
51
|
name: "Add Templates To Envelope",
|
|
52
52
|
description: "Apply templates to an existing envelope.",
|
|
@@ -61,7 +61,7 @@ const addTemplatesToEnvelope = defineRestOperation({
|
|
|
61
61
|
body: (input) => ({ documentTemplates: input.documentTemplates })
|
|
62
62
|
});
|
|
63
63
|
const getTemplatesUsedInEnvelope = defineRestOperation({
|
|
64
|
-
id: "
|
|
64
|
+
id: "docusign.get-templates-used-in-envelope",
|
|
65
65
|
slug: "DOCUSIGN_GET_TEMPLATES_USED_IN_ENVELOPE",
|
|
66
66
|
name: "Get Templates Used In Envelope",
|
|
67
67
|
description: "List the templates applied to an envelope.",
|
|
@@ -71,7 +71,7 @@ const getTemplatesUsedInEnvelope = defineRestOperation({
|
|
|
71
71
|
output: docusignGenericObjectSchema
|
|
72
72
|
});
|
|
73
73
|
const retrieveAccountFavoriteTemplates = defineRestOperation({
|
|
74
|
-
id: "
|
|
74
|
+
id: "docusign.retrieve-account-favorite-templates",
|
|
75
75
|
slug: "DOCUSIGN_RETRIEVE_ACCOUNT_FAVORITE_TEMPLATES",
|
|
76
76
|
name: "Retrieve Account Favorite Templates",
|
|
77
77
|
description: "List favorite templates on the account.",
|
|
@@ -81,7 +81,7 @@ const retrieveAccountFavoriteTemplates = defineRestOperation({
|
|
|
81
81
|
output: docusignGenericObjectSchema
|
|
82
82
|
});
|
|
83
83
|
const setTemplatesAsAccountFavorites = defineRestOperation({
|
|
84
|
-
id: "
|
|
84
|
+
id: "docusign.set-templates-as-account-favorites",
|
|
85
85
|
slug: "DOCUSIGN_SET_TEMPLATES_AS_ACCOUNT_FAVORITES",
|
|
86
86
|
name: "Set Templates As Account Favorites",
|
|
87
87
|
description: "Mark templates as favorites on the account.",
|
|
@@ -93,7 +93,7 @@ const setTemplatesAsAccountFavorites = defineRestOperation({
|
|
|
93
93
|
body: (input) => ({ favoriteTemplates: input.favoriteTemplates })
|
|
94
94
|
});
|
|
95
95
|
const removeTemplatesFromFavorites = defineRestOperation({
|
|
96
|
-
id: "
|
|
96
|
+
id: "docusign.remove-templates-from-favorites",
|
|
97
97
|
slug: "DOCUSIGN_REMOVE_TEMPLATES_FROM_FAVORITES",
|
|
98
98
|
name: "Remove Templates From Favorites",
|
|
99
99
|
description: "Unmark templates as favorites on the account.",
|