@keystrokehq/docusign 0.0.11 → 0.0.15
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 +5 -19
- package/dist/_official/index.mjs +1 -1
- package/dist/account-custom-fields.d.mts +9 -26
- package/dist/account-custom-fields.mjs +1 -1
- package/dist/account-stamps.d.mts +23 -68
- package/dist/account-stamps.mjs +1 -1
- package/dist/account-tabs.d.mts +13 -38
- package/dist/account-tabs.mjs +1 -1
- package/dist/account.d.mts +37 -110
- package/dist/account.mjs +1 -1
- package/dist/admin.d.mts +3 -8
- package/dist/admin.mjs +1 -1
- package/dist/auth.d.mts +5 -14
- package/dist/auth.mjs +15 -4
- package/dist/bcc-archive.d.mts +9 -26
- package/dist/bcc-archive.mjs +1 -1
- package/dist/billing.d.mts +33 -98
- package/dist/billing.mjs +1 -1
- package/dist/brands.d.mts +23 -68
- package/dist/brands.mjs +1 -1
- package/dist/bulk-send.d.mts +17 -50
- package/dist/bulk-send.mjs +1 -1
- package/dist/chunked-uploads.d.mts +11 -32
- package/dist/chunked-uploads.mjs +1 -1
- package/dist/click.d.mts +3 -8
- package/dist/click.mjs +1 -1
- package/dist/client.d.mts +1 -1
- package/dist/client.mjs +3 -3
- package/dist/clm.d.mts +3 -8
- package/dist/clm.mjs +1 -1
- package/dist/cloud-storage.d.mts +15 -44
- package/dist/cloud-storage.mjs +1 -1
- package/dist/connect.d.mts +35 -104
- package/dist/connect.mjs +1 -1
- package/dist/connection.d.mts +1 -1
- package/dist/connection.mjs +1 -1
- package/dist/contacts.d.mts +11 -32
- package/dist/contacts.mjs +1 -1
- package/dist/enote.d.mts +7 -20
- package/dist/enote.mjs +1 -1
- package/dist/envelope-attachments.d.mts +11 -32
- package/dist/envelope-attachments.mjs +1 -1
- package/dist/envelope-custom-fields.d.mts +15 -44
- package/dist/envelope-custom-fields.mjs +1 -1
- package/dist/envelope-documents.d.mts +33 -98
- package/dist/envelope-documents.mjs +1 -1
- package/dist/envelope-email.d.mts +9 -26
- package/dist/envelope-email.mjs +1 -1
- package/dist/envelope-lock.d.mts +9 -26
- package/dist/envelope-lock.mjs +1 -1
- package/dist/envelope-logs.d.mts +19 -56
- package/dist/envelope-logs.mjs +1 -1
- package/dist/envelope-notifications.d.mts +7 -20
- package/dist/envelope-notifications.mjs +1 -1
- package/dist/envelope-recipients.d.mts +23 -68
- package/dist/envelope-recipients.mjs +1 -1
- package/dist/envelope-tabs.d.mts +7 -20
- package/dist/envelope-tabs.mjs +1 -1
- package/dist/envelope-views.d.mts +13 -38
- package/dist/envelope-views.mjs +1 -1
- package/dist/envelope-workflow.d.mts +29 -86
- package/dist/envelope-workflow.mjs +1 -1
- package/dist/envelopes.d.mts +27 -80
- package/dist/envelopes.mjs +1 -1
- package/dist/factory-5kY-Jnda.mjs +8 -0
- package/dist/groups.d.mts +21 -62
- package/dist/groups.mjs +1 -1
- package/dist/integration-H05G5JY8.mjs +112 -0
- package/dist/integration-Mk1ScWT6.d.mts +30 -0
- package/dist/monitor.d.mts +3 -8
- package/dist/monitor.mjs +1 -1
- package/dist/notary.d.mts +19 -56
- package/dist/notary.mjs +1 -1
- package/dist/{operation-helpers-Bqp7KoLi.mjs → operation-helpers-D25WHTo1.mjs} +1 -1
- package/dist/permission-profiles.d.mts +11 -32
- package/dist/permission-profiles.mjs +1 -1
- package/dist/power-forms.d.mts +7 -20
- package/dist/power-forms.mjs +1 -1
- package/dist/rooms.d.mts +3 -8
- package/dist/rooms.mjs +1 -1
- package/dist/signing-groups.d.mts +19 -56
- package/dist/signing-groups.mjs +1 -1
- package/dist/template-custom-fields.d.mts +17 -50
- package/dist/template-custom-fields.mjs +1 -1
- package/dist/template-documents.d.mts +17 -50
- package/dist/template-documents.mjs +1 -1
- package/dist/template-lock.d.mts +9 -26
- package/dist/template-lock.mjs +1 -1
- package/dist/template-sharing.d.mts +17 -50
- package/dist/template-sharing.mjs +1 -1
- package/dist/template-workflow.d.mts +25 -74
- package/dist/template-workflow.mjs +1 -1
- package/dist/templates.d.mts +15 -44
- package/dist/templates.mjs +1 -1
- package/dist/user-authorizations.d.mts +17 -50
- package/dist/user-authorizations.mjs +1 -1
- package/dist/user-custom-settings.d.mts +11 -32
- package/dist/user-custom-settings.mjs +1 -1
- package/dist/user-profile.d.mts +15 -44
- package/dist/user-profile.mjs +1 -1
- package/dist/user-signatures.d.mts +27 -80
- package/dist/user-signatures.mjs +1 -1
- package/dist/users.d.mts +13 -38
- package/dist/users.mjs +1 -1
- package/dist/workspaces.d.mts +23 -68
- package/dist/workspaces.mjs +1 -1
- package/package.json +5 -6
- package/dist/factory-DFejlPDe.mjs +0 -7
- package/dist/integration-BcEp_dFX.mjs +0 -365
- package/dist/integration-CdIRNjCz.d.mts +0 -72
package/dist/template-lock.d.mts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import * as _keystrokehq_core0 from "@keystrokehq/core";
|
|
2
1
|
import { z } from "zod";
|
|
3
|
-
import * as
|
|
2
|
+
import * as _keystrokehq_core0 from "@keystrokehq/core";
|
|
4
3
|
|
|
5
4
|
//#region src/template-lock.d.ts
|
|
6
5
|
declare const lockTemplateForEditing: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
@@ -10,28 +9,20 @@ declare const lockTemplateForEditing: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
10
9
|
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
11
10
|
}, z.core.$strip>, z.ZodObject<{
|
|
12
11
|
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
13
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
12
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:docusign", z.ZodObject<{
|
|
14
13
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
15
14
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
16
15
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
17
|
-
}, z.core.$strip
|
|
18
|
-
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
19
|
-
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
20
|
-
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
21
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
16
|
+
}, z.core.$strip>>], undefined>;
|
|
22
17
|
declare const getTemplateLockInformation: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
23
18
|
templateId: z.ZodString;
|
|
24
19
|
}, z.core.$strip>, z.ZodObject<{
|
|
25
20
|
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
26
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
27
|
-
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
28
|
-
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
29
|
-
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
30
|
-
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
21
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:docusign", z.ZodObject<{
|
|
31
22
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
32
23
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
33
24
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
34
|
-
}, z.core.$strip>>
|
|
25
|
+
}, z.core.$strip>>], undefined>;
|
|
35
26
|
declare const updateTemplateLockInformation: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
36
27
|
templateId: z.ZodString;
|
|
37
28
|
lock: z.ZodObject<{
|
|
@@ -39,27 +30,19 @@ declare const updateTemplateLockInformation: _keystrokehq_core0.Operation<z.ZodO
|
|
|
39
30
|
}, z.core.$catchall<z.ZodUnknown>>;
|
|
40
31
|
}, z.core.$strip>, z.ZodObject<{
|
|
41
32
|
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
42
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
43
|
-
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
44
|
-
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
45
|
-
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
46
|
-
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
33
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:docusign", z.ZodObject<{
|
|
47
34
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
48
35
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
49
36
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
50
|
-
}, z.core.$strip>>
|
|
37
|
+
}, z.core.$strip>>], undefined>;
|
|
51
38
|
declare const deleteTemplateLock: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
52
39
|
templateId: z.ZodString;
|
|
53
40
|
}, z.core.$strip>, z.ZodObject<{
|
|
54
41
|
success: z.ZodBoolean;
|
|
55
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
56
|
-
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
57
|
-
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
58
|
-
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
59
|
-
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
42
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:docusign", z.ZodObject<{
|
|
60
43
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
61
44
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
62
45
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
63
|
-
}, z.core.$strip>>
|
|
46
|
+
}, z.core.$strip>>], undefined>;
|
|
64
47
|
//#endregion
|
|
65
48
|
export { deleteTemplateLock, getTemplateLockInformation, lockTemplateForEditing, updateTemplateLockInformation };
|
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-D25WHTo1.mjs";
|
|
4
4
|
import { z } from "zod";
|
|
5
5
|
|
|
6
6
|
//#region src/template-lock.ts
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import * as _keystrokehq_core0 from "@keystrokehq/core";
|
|
2
1
|
import { z } from "zod";
|
|
3
|
-
import * as
|
|
2
|
+
import * as _keystrokehq_core0 from "@keystrokehq/core";
|
|
4
3
|
|
|
5
4
|
//#region src/template-sharing.d.ts
|
|
6
5
|
declare const shareTemplateWithGroup: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
@@ -9,44 +8,32 @@ declare const shareTemplateWithGroup: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
9
8
|
templatePart: z.ZodOptional<z.ZodString>;
|
|
10
9
|
}, z.core.$strip>, z.ZodObject<{
|
|
11
10
|
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
12
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
11
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:docusign", z.ZodObject<{
|
|
13
12
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
14
13
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
15
14
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
16
|
-
}, z.core.$strip
|
|
17
|
-
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
18
|
-
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
19
|
-
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
20
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
15
|
+
}, z.core.$strip>>], undefined>;
|
|
21
16
|
declare const removeGroupSharingPermissionsForTemplate: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
22
17
|
templateId: z.ZodString;
|
|
23
18
|
groupId: z.ZodString;
|
|
24
19
|
templatePart: z.ZodOptional<z.ZodString>;
|
|
25
20
|
}, z.core.$strip>, z.ZodObject<{
|
|
26
21
|
success: z.ZodBoolean;
|
|
27
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
22
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:docusign", z.ZodObject<{
|
|
28
23
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
29
24
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
30
25
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
31
|
-
}, z.core.$strip
|
|
32
|
-
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
33
|
-
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
34
|
-
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
35
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
26
|
+
}, z.core.$strip>>], undefined>;
|
|
36
27
|
declare const getTemplateRecipientDocumentVisibility: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
37
28
|
templateId: z.ZodString;
|
|
38
29
|
recipientId: z.ZodString;
|
|
39
30
|
}, z.core.$strip>, z.ZodObject<{
|
|
40
31
|
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
41
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
42
|
-
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
43
|
-
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
44
|
-
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
45
|
-
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
32
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:docusign", z.ZodObject<{
|
|
46
33
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
47
34
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
48
35
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
49
|
-
}, z.core.$strip>>
|
|
36
|
+
}, z.core.$strip>>], undefined>;
|
|
50
37
|
declare const updateTemplateRecipientDocumentVisibility: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
51
38
|
templateId: z.ZodString;
|
|
52
39
|
recipientId: z.ZodString;
|
|
@@ -55,15 +42,11 @@ declare const updateTemplateRecipientDocumentVisibility: _keystrokehq_core0.Oper
|
|
|
55
42
|
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
56
43
|
}, z.core.$strip>, z.ZodObject<{
|
|
57
44
|
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
58
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
59
|
-
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
60
|
-
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
61
|
-
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
62
|
-
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
45
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:docusign", z.ZodObject<{
|
|
63
46
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
64
47
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
65
48
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
66
|
-
}, z.core.$strip>>
|
|
49
|
+
}, z.core.$strip>>], undefined>;
|
|
67
50
|
declare const updateTemplateDocVisibility: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
68
51
|
templateId: z.ZodString;
|
|
69
52
|
documentVisibility: z.ZodArray<z.ZodObject<{
|
|
@@ -71,28 +54,20 @@ declare const updateTemplateDocVisibility: _keystrokehq_core0.Operation<z.ZodObj
|
|
|
71
54
|
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
72
55
|
}, z.core.$strip>, z.ZodObject<{
|
|
73
56
|
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
74
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
75
|
-
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
76
|
-
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
77
|
-
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
78
|
-
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
57
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:docusign", z.ZodObject<{
|
|
79
58
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
80
59
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
81
60
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
82
|
-
}, z.core.$strip>>
|
|
61
|
+
}, z.core.$strip>>], undefined>;
|
|
83
62
|
declare const getTemplateNotificationInformation: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
84
63
|
templateId: z.ZodString;
|
|
85
64
|
}, z.core.$strip>, z.ZodObject<{
|
|
86
65
|
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
87
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
88
|
-
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
89
|
-
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
90
|
-
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
91
|
-
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
66
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:docusign", z.ZodObject<{
|
|
92
67
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
93
68
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
94
69
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
95
|
-
}, z.core.$strip>>
|
|
70
|
+
}, z.core.$strip>>], undefined>;
|
|
96
71
|
declare const updateTemplateNotificationSettings: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
97
72
|
templateId: z.ZodString;
|
|
98
73
|
notification: z.ZodObject<{
|
|
@@ -100,15 +75,11 @@ declare const updateTemplateNotificationSettings: _keystrokehq_core0.Operation<z
|
|
|
100
75
|
}, z.core.$catchall<z.ZodUnknown>>;
|
|
101
76
|
}, z.core.$strip>, z.ZodObject<{
|
|
102
77
|
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
103
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
78
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:docusign", z.ZodObject<{
|
|
104
79
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
105
80
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
106
81
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
107
|
-
}, z.core.$strip
|
|
108
|
-
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
109
|
-
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
110
|
-
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
111
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
82
|
+
}, z.core.$strip>>], undefined>;
|
|
112
83
|
declare const createTemplateRecipientPreviewUrl: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
113
84
|
templateId: z.ZodString;
|
|
114
85
|
preview: z.ZodObject<{
|
|
@@ -116,14 +87,10 @@ declare const createTemplateRecipientPreviewUrl: _keystrokehq_core0.Operation<z.
|
|
|
116
87
|
}, z.core.$catchall<z.ZodUnknown>>;
|
|
117
88
|
}, z.core.$strip>, z.ZodObject<{
|
|
118
89
|
url: z.ZodOptional<z.ZodString>;
|
|
119
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
120
|
-
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
121
|
-
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
122
|
-
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
123
|
-
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
90
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:docusign", z.ZodObject<{
|
|
124
91
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
125
92
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
126
93
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
127
|
-
}, z.core.$strip>>
|
|
94
|
+
}, z.core.$strip>>], undefined>;
|
|
128
95
|
//#endregion
|
|
129
96
|
export { createTemplateRecipientPreviewUrl, getTemplateNotificationInformation, getTemplateRecipientDocumentVisibility, removeGroupSharingPermissionsForTemplate, shareTemplateWithGroup, updateTemplateDocVisibility, updateTemplateNotificationSettings, updateTemplateRecipientDocumentVisibility };
|
|
@@ -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-D25WHTo1.mjs";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
|
|
5
5
|
//#region src/template-sharing.ts
|
|
@@ -1,21 +1,16 @@
|
|
|
1
|
-
import * as _keystrokehq_core0 from "@keystrokehq/core";
|
|
2
1
|
import { z } from "zod";
|
|
3
|
-
import * as
|
|
2
|
+
import * as _keystrokehq_core0 from "@keystrokehq/core";
|
|
4
3
|
|
|
5
4
|
//#region src/template-workflow.d.ts
|
|
6
5
|
declare const returnTemplateWorkflowDefinition: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
7
6
|
templateId: z.ZodString;
|
|
8
7
|
}, z.core.$strip>, z.ZodObject<{
|
|
9
8
|
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
10
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
11
|
-
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
12
|
-
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
13
|
-
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
14
|
-
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
9
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:docusign", z.ZodObject<{
|
|
15
10
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
16
11
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
17
12
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
18
|
-
}, z.core.$strip>>
|
|
13
|
+
}, z.core.$strip>>], undefined>;
|
|
19
14
|
declare const updateTemplateWorkflowDefinition: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
20
15
|
templateId: z.ZodString;
|
|
21
16
|
workflow: z.ZodObject<{
|
|
@@ -23,28 +18,20 @@ declare const updateTemplateWorkflowDefinition: _keystrokehq_core0.Operation<z.Z
|
|
|
23
18
|
}, z.core.$catchall<z.ZodUnknown>>;
|
|
24
19
|
}, z.core.$strip>, z.ZodObject<{
|
|
25
20
|
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
26
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
21
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:docusign", z.ZodObject<{
|
|
27
22
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
28
23
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
29
24
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
30
|
-
}, z.core.$strip
|
|
31
|
-
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
32
|
-
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
33
|
-
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
34
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
25
|
+
}, z.core.$strip>>], undefined>;
|
|
35
26
|
declare const deleteWorkflowDefinitionForTemplate: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
36
27
|
templateId: z.ZodString;
|
|
37
28
|
}, z.core.$strip>, z.ZodObject<{
|
|
38
29
|
success: z.ZodBoolean;
|
|
39
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
30
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:docusign", z.ZodObject<{
|
|
40
31
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
41
32
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
42
33
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
43
|
-
}, z.core.$strip
|
|
44
|
-
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
45
|
-
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
46
|
-
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
47
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
34
|
+
}, z.core.$strip>>], undefined>;
|
|
48
35
|
declare const createTemplateWorkflowStep: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
49
36
|
templateId: z.ZodString;
|
|
50
37
|
step: z.ZodObject<{
|
|
@@ -52,29 +39,21 @@ declare const createTemplateWorkflowStep: _keystrokehq_core0.Operation<z.ZodObje
|
|
|
52
39
|
}, z.core.$catchall<z.ZodUnknown>>;
|
|
53
40
|
}, z.core.$strip>, z.ZodObject<{
|
|
54
41
|
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
55
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
42
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:docusign", z.ZodObject<{
|
|
56
43
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
57
44
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
58
45
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
59
|
-
}, z.core.$strip
|
|
60
|
-
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
61
|
-
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
62
|
-
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
63
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
46
|
+
}, z.core.$strip>>], undefined>;
|
|
64
47
|
declare const retrieveWorkflowStepForTemplate: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
65
48
|
templateId: z.ZodString;
|
|
66
49
|
workflowStepId: z.ZodString;
|
|
67
50
|
}, z.core.$strip>, z.ZodObject<{
|
|
68
51
|
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
69
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
52
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:docusign", z.ZodObject<{
|
|
70
53
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
71
54
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
72
55
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
73
|
-
}, z.core.$strip
|
|
74
|
-
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
75
|
-
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
76
|
-
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
77
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
56
|
+
}, z.core.$strip>>], undefined>;
|
|
78
57
|
declare const updateWorkflowStepForTemplate: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
79
58
|
templateId: z.ZodString;
|
|
80
59
|
workflowStepId: z.ZodString;
|
|
@@ -83,43 +62,31 @@ declare const updateWorkflowStepForTemplate: _keystrokehq_core0.Operation<z.ZodO
|
|
|
83
62
|
}, z.core.$catchall<z.ZodUnknown>>;
|
|
84
63
|
}, z.core.$strip>, z.ZodObject<{
|
|
85
64
|
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
86
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
87
|
-
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
88
|
-
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
89
|
-
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
90
|
-
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
65
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:docusign", z.ZodObject<{
|
|
91
66
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
92
67
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
93
68
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
94
|
-
}, z.core.$strip>>
|
|
69
|
+
}, z.core.$strip>>], undefined>;
|
|
95
70
|
declare const deleteTemplateWorkflowStep: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
96
71
|
templateId: z.ZodString;
|
|
97
72
|
workflowStepId: z.ZodString;
|
|
98
73
|
}, z.core.$strip>, z.ZodObject<{
|
|
99
74
|
success: z.ZodBoolean;
|
|
100
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
75
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:docusign", z.ZodObject<{
|
|
101
76
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
102
77
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
103
78
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
104
|
-
}, z.core.$strip
|
|
105
|
-
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
106
|
-
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
107
|
-
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
108
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
79
|
+
}, z.core.$strip>>], undefined>;
|
|
109
80
|
declare const getTemplateDelayedRoutingRules: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
110
81
|
templateId: z.ZodString;
|
|
111
82
|
workflowStepId: z.ZodString;
|
|
112
83
|
}, z.core.$strip>, z.ZodObject<{
|
|
113
84
|
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
114
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
115
|
-
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
116
|
-
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
117
|
-
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
118
|
-
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
85
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:docusign", z.ZodObject<{
|
|
119
86
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
120
87
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
121
88
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
122
|
-
}, z.core.$strip>>
|
|
89
|
+
}, z.core.$strip>>], undefined>;
|
|
123
90
|
declare const updateTemplateDelayedRoutingRules: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
124
91
|
templateId: z.ZodString;
|
|
125
92
|
workflowStepId: z.ZodString;
|
|
@@ -128,42 +95,30 @@ declare const updateTemplateDelayedRoutingRules: _keystrokehq_core0.Operation<z.
|
|
|
128
95
|
}, z.core.$catchall<z.ZodUnknown>>;
|
|
129
96
|
}, z.core.$strip>, z.ZodObject<{
|
|
130
97
|
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
131
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
132
|
-
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
133
|
-
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
134
|
-
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
135
|
-
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
98
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:docusign", z.ZodObject<{
|
|
136
99
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
137
100
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
138
101
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
139
|
-
}, z.core.$strip>>
|
|
102
|
+
}, z.core.$strip>>], undefined>;
|
|
140
103
|
declare const deleteDelayedRoutingRulesForTemplate: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
141
104
|
templateId: z.ZodString;
|
|
142
105
|
workflowStepId: z.ZodString;
|
|
143
106
|
}, z.core.$strip>, z.ZodObject<{
|
|
144
107
|
success: z.ZodBoolean;
|
|
145
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
108
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:docusign", z.ZodObject<{
|
|
146
109
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
147
110
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
148
111
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
149
|
-
}, z.core.$strip
|
|
150
|
-
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
151
|
-
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
152
|
-
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
153
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
112
|
+
}, z.core.$strip>>], undefined>;
|
|
154
113
|
declare const getTemplateScheduledSendingSettings: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
155
114
|
templateId: z.ZodString;
|
|
156
115
|
}, z.core.$strip>, z.ZodObject<{
|
|
157
116
|
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
158
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
117
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:docusign", z.ZodObject<{
|
|
159
118
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
160
119
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
161
120
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
162
|
-
}, z.core.$strip
|
|
163
|
-
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
164
|
-
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
165
|
-
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
166
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
121
|
+
}, z.core.$strip>>], undefined>;
|
|
167
122
|
declare const updateTemplateScheduledSendingRules: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
168
123
|
templateId: z.ZodString;
|
|
169
124
|
rules: z.ZodObject<{
|
|
@@ -171,14 +126,10 @@ declare const updateTemplateScheduledSendingRules: _keystrokehq_core0.Operation<
|
|
|
171
126
|
}, z.core.$catchall<z.ZodUnknown>>;
|
|
172
127
|
}, z.core.$strip>, z.ZodObject<{
|
|
173
128
|
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
174
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
175
|
-
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
176
|
-
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
177
|
-
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
178
|
-
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
129
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:docusign", z.ZodObject<{
|
|
179
130
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
180
131
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
181
132
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
182
|
-
}, z.core.$strip>>
|
|
133
|
+
}, z.core.$strip>>], undefined>;
|
|
183
134
|
//#endregion
|
|
184
135
|
export { createTemplateWorkflowStep, deleteDelayedRoutingRulesForTemplate, deleteTemplateWorkflowStep, deleteWorkflowDefinitionForTemplate, getTemplateDelayedRoutingRules, getTemplateScheduledSendingSettings, retrieveWorkflowStepForTemplate, returnTemplateWorkflowDefinition, updateTemplateDelayedRoutingRules, updateTemplateScheduledSendingRules, updateTemplateWorkflowDefinition, updateWorkflowStepForTemplate };
|
|
@@ -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-D25WHTo1.mjs";
|
|
4
4
|
import { z } from "zod";
|
|
5
5
|
|
|
6
6
|
//#region src/template-workflow.ts
|
package/dist/templates.d.mts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import * as _keystrokehq_core0 from "@keystrokehq/core";
|
|
2
1
|
import { z } from "zod";
|
|
3
|
-
import * as
|
|
2
|
+
import * as _keystrokehq_core0 from "@keystrokehq/core";
|
|
4
3
|
|
|
5
4
|
//#region src/templates.d.ts
|
|
6
5
|
declare const listAllTemplates: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
@@ -32,15 +31,11 @@ declare const listAllTemplates: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
32
31
|
created: z.ZodOptional<z.ZodString>;
|
|
33
32
|
lastModified: z.ZodOptional<z.ZodString>;
|
|
34
33
|
}, z.core.$catchall<z.ZodUnknown>>>>;
|
|
35
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
36
|
-
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
37
|
-
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
38
|
-
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
39
|
-
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
34
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:docusign", z.ZodObject<{
|
|
40
35
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
41
36
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
42
37
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
43
|
-
}, z.core.$strip>>
|
|
38
|
+
}, z.core.$strip>>], undefined>;
|
|
44
39
|
declare const getTemplate: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
45
40
|
templateId: z.ZodString;
|
|
46
41
|
include: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -75,15 +70,11 @@ declare const getTemplate: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
75
70
|
}, z.core.$catchall<z.ZodUnknown>>>>;
|
|
76
71
|
recipientCount: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
77
72
|
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
78
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
79
|
-
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
80
|
-
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
81
|
-
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
82
|
-
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
73
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:docusign", z.ZodObject<{
|
|
83
74
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
84
75
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
85
76
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
86
|
-
}, z.core.$strip>>
|
|
77
|
+
}, z.core.$strip>>], undefined>;
|
|
87
78
|
declare const addTemplatesToEnvelope: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
88
79
|
envelopeId: z.ZodString;
|
|
89
80
|
documentTemplates: z.ZodArray<z.ZodObject<{
|
|
@@ -91,68 +82,48 @@ declare const addTemplatesToEnvelope: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
91
82
|
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
92
83
|
}, z.core.$strip>, z.ZodObject<{
|
|
93
84
|
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
94
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
95
|
-
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
96
|
-
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
97
|
-
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
98
|
-
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
85
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:docusign", z.ZodObject<{
|
|
99
86
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
100
87
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
101
88
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
102
|
-
}, z.core.$strip>>
|
|
89
|
+
}, z.core.$strip>>], undefined>;
|
|
103
90
|
declare const getTemplatesUsedInEnvelope: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
104
91
|
envelopeId: z.ZodString;
|
|
105
92
|
}, z.core.$strip>, z.ZodObject<{
|
|
106
93
|
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
107
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
94
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:docusign", z.ZodObject<{
|
|
108
95
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
109
96
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
110
97
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
111
|
-
}, z.core.$strip
|
|
112
|
-
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
113
|
-
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
114
|
-
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
115
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
98
|
+
}, z.core.$strip>>], undefined>;
|
|
116
99
|
declare const retrieveAccountFavoriteTemplates: _keystrokehq_core0.Operation<z.ZodObject<{}, z.core.$strip>, z.ZodObject<{
|
|
117
100
|
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
118
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
119
|
-
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
120
|
-
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
121
|
-
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
122
|
-
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
101
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:docusign", z.ZodObject<{
|
|
123
102
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
124
103
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
125
104
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
126
|
-
}, z.core.$strip>>
|
|
105
|
+
}, z.core.$strip>>], undefined>;
|
|
127
106
|
declare const setTemplatesAsAccountFavorites: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
128
107
|
favoriteTemplates: z.ZodArray<z.ZodObject<{
|
|
129
108
|
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
130
109
|
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
131
110
|
}, z.core.$strip>, z.ZodObject<{
|
|
132
111
|
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
133
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
112
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:docusign", z.ZodObject<{
|
|
134
113
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
135
114
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
136
115
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
137
|
-
}, z.core.$strip
|
|
138
|
-
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
139
|
-
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
140
|
-
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
141
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
116
|
+
}, z.core.$strip>>], undefined>;
|
|
142
117
|
declare const removeTemplatesFromFavorites: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
143
118
|
favoriteTemplates: z.ZodArray<z.ZodObject<{
|
|
144
119
|
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
145
120
|
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
146
121
|
}, z.core.$strip>, z.ZodObject<{
|
|
147
122
|
success: z.ZodBoolean;
|
|
148
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
|
|
149
|
-
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
150
|
-
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
151
|
-
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
152
|
-
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
123
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:docusign", z.ZodObject<{
|
|
153
124
|
DOCUSIGN_ACCESS_TOKEN: z.ZodString;
|
|
154
125
|
DOCUSIGN_ACCOUNT_ID: z.ZodString;
|
|
155
126
|
DOCUSIGN_BASE_URI: z.ZodURL;
|
|
156
|
-
}, z.core.$strip>>
|
|
127
|
+
}, z.core.$strip>>], undefined>;
|
|
157
128
|
//#endregion
|
|
158
129
|
export { addTemplatesToEnvelope, getTemplate, getTemplatesUsedInEnvelope, listAllTemplates, removeTemplatesFromFavorites, retrieveAccountFavoriteTemplates, setTemplatesAsAccountFavorites };
|
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-D25WHTo1.mjs";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
|
|
5
5
|
//#region src/templates.ts
|