@keystrokehq/docusign 0.0.11 → 0.0.16-integration-id-canonicalization.0

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.
Files changed (130) hide show
  1. package/README.md +3 -2
  2. package/dist/credential-sets/index.d.mts +2 -0
  3. package/dist/credential-sets/index.mjs +4 -0
  4. package/dist/docusign-jwt.credential-set-B0sXS-5i.mjs +39 -0
  5. package/dist/docusign-jwt.credential-set-Bz99DTgx.d.mts +90 -0
  6. package/dist/docusign.credential-set-DRhK9ICD.mjs +183 -0
  7. package/dist/index.d.mts +4 -1
  8. package/dist/index.mjs +6 -1
  9. package/dist/operations/index.d.mts +2 -0
  10. package/dist/operations/index.mjs +3 -0
  11. package/dist/void-envelope.operation-Bim49UXq.mjs +8192 -0
  12. package/dist/void-envelope.operation-D-onxqe_.d.mts +18203 -0
  13. package/package.json +9 -225
  14. package/dist/_official/index.d.mts +0 -89
  15. package/dist/_official/index.mjs +0 -3
  16. package/dist/_runtime/index.d.mts +0 -1
  17. package/dist/_runtime/index.mjs +0 -1
  18. package/dist/account-custom-fields.d.mts +0 -65
  19. package/dist/account-custom-fields.mjs +0 -63
  20. package/dist/account-stamps.d.mts +0 -164
  21. package/dist/account-stamps.mjs +0 -144
  22. package/dist/account-tabs.d.mts +0 -90
  23. package/dist/account-tabs.mjs +0 -80
  24. package/dist/account.d.mts +0 -233
  25. package/dist/account.mjs +0 -207
  26. package/dist/admin.d.mts +0 -18
  27. package/dist/admin.mjs +0 -20
  28. package/dist/auth.d.mts +0 -37
  29. package/dist/auth.mjs +0 -53
  30. package/dist/bcc-archive.d.mts +0 -64
  31. package/dist/bcc-archive.mjs +0 -70
  32. package/dist/billing.d.mts +0 -217
  33. package/dist/billing.mjs +0 -208
  34. package/dist/brands.d.mts +0 -192
  35. package/dist/brands.mjs +0 -157
  36. package/dist/bulk-send.d.mts +0 -137
  37. package/dist/bulk-send.mjs +0 -115
  38. package/dist/chunked-uploads.d.mts +0 -78
  39. package/dist/chunked-uploads.mjs +0 -74
  40. package/dist/click.d.mts +0 -18
  41. package/dist/click.mjs +0 -20
  42. package/dist/client.d.mts +0 -47
  43. package/dist/client.mjs +0 -286
  44. package/dist/clm.d.mts +0 -18
  45. package/dist/clm.mjs +0 -20
  46. package/dist/cloud-storage.d.mts +0 -122
  47. package/dist/cloud-storage.mjs +0 -115
  48. package/dist/connect.d.mts +0 -252
  49. package/dist/connect.mjs +0 -217
  50. package/dist/connection.d.mts +0 -2
  51. package/dist/connection.mjs +0 -3
  52. package/dist/contacts.d.mts +0 -80
  53. package/dist/contacts.mjs +0 -79
  54. package/dist/enote.d.mts +0 -44
  55. package/dist/enote.mjs +0 -45
  56. package/dist/envelope-attachments.d.mts +0 -86
  57. package/dist/envelope-attachments.mjs +0 -76
  58. package/dist/envelope-custom-fields.d.mts +0 -166
  59. package/dist/envelope-custom-fields.mjs +0 -92
  60. package/dist/envelope-documents.d.mts +0 -271
  61. package/dist/envelope-documents.mjs +0 -219
  62. package/dist/envelope-email.d.mts +0 -65
  63. package/dist/envelope-email.mjs +0 -60
  64. package/dist/envelope-lock.d.mts +0 -65
  65. package/dist/envelope-lock.mjs +0 -60
  66. package/dist/envelope-logs.d.mts +0 -126
  67. package/dist/envelope-logs.mjs +0 -126
  68. package/dist/envelope-notifications.d.mts +0 -47
  69. package/dist/envelope-notifications.mjs +0 -44
  70. package/dist/envelope-recipients.d.mts +0 -171
  71. package/dist/envelope-recipients.mjs +0 -136
  72. package/dist/envelope-tabs.d.mts +0 -52
  73. package/dist/envelope-tabs.mjs +0 -49
  74. package/dist/envelope-views.d.mts +0 -99
  75. package/dist/envelope-views.mjs +0 -88
  76. package/dist/envelope-workflow.d.mts +0 -208
  77. package/dist/envelope-workflow.mjs +0 -176
  78. package/dist/envelopes.d.mts +0 -430
  79. package/dist/envelopes.mjs +0 -190
  80. package/dist/errors.d.mts +0 -48
  81. package/dist/errors.mjs +0 -76
  82. package/dist/events.d.mts +0 -192
  83. package/dist/events.mjs +0 -146
  84. package/dist/factory-DFejlPDe.mjs +0 -7
  85. package/dist/groups.d.mts +0 -191
  86. package/dist/groups.mjs +0 -146
  87. package/dist/integration-BcEp_dFX.mjs +0 -365
  88. package/dist/integration-CdIRNjCz.d.mts +0 -72
  89. package/dist/messaging.d.mts +0 -1
  90. package/dist/messaging.mjs +0 -1
  91. package/dist/monitor.d.mts +0 -18
  92. package/dist/monitor.mjs +0 -20
  93. package/dist/notary.d.mts +0 -129
  94. package/dist/notary.mjs +0 -122
  95. package/dist/operation-helpers-Bqp7KoLi.mjs +0 -102
  96. package/dist/permission-profiles.d.mts +0 -78
  97. package/dist/permission-profiles.mjs +0 -70
  98. package/dist/power-forms.d.mts +0 -51
  99. package/dist/power-forms.mjs +0 -62
  100. package/dist/rooms.d.mts +0 -18
  101. package/dist/rooms.mjs +0 -28
  102. package/dist/shared-DTUCJayR.mjs +0 -27
  103. package/dist/signing-groups.d.mts +0 -139
  104. package/dist/signing-groups.mjs +0 -117
  105. package/dist/template-custom-fields.d.mts +0 -199
  106. package/dist/template-custom-fields.mjs +0 -107
  107. package/dist/template-documents.d.mts +0 -132
  108. package/dist/template-documents.mjs +0 -109
  109. package/dist/template-lock.d.mts +0 -65
  110. package/dist/template-lock.mjs +0 -60
  111. package/dist/template-sharing.d.mts +0 -129
  112. package/dist/template-sharing.mjs +0 -108
  113. package/dist/template-workflow.d.mts +0 -184
  114. package/dist/template-workflow.mjs +0 -152
  115. package/dist/templates.d.mts +0 -158
  116. package/dist/templates.mjs +0 -110
  117. package/dist/user-authorizations.d.mts +0 -129
  118. package/dist/user-authorizations.mjs +0 -133
  119. package/dist/user-custom-settings.d.mts +0 -81
  120. package/dist/user-custom-settings.mjs +0 -69
  121. package/dist/user-profile.d.mts +0 -109
  122. package/dist/user-profile.mjs +0 -106
  123. package/dist/user-signatures.d.mts +0 -208
  124. package/dist/user-signatures.mjs +0 -180
  125. package/dist/users.d.mts +0 -128
  126. package/dist/users.mjs +0 -98
  127. package/dist/verification.d.mts +0 -19
  128. package/dist/verification.mjs +0 -59
  129. package/dist/workspaces.d.mts +0 -173
  130. package/dist/workspaces.mjs +0 -143
@@ -1,136 +0,0 @@
1
- import { docusignEnvelopeIdSchema, docusignGenericObjectSchema, docusignLooseObjectSchema, docusignRecipientIdSchema } from "./schemas/index.mjs";
2
- import { r as defineRestOperation } from "./operation-helpers-Bqp7KoLi.mjs";
3
- import { z } from "zod";
4
-
5
- //#region src/envelope-recipients.ts
6
- /**
7
- * Envelope recipients — visibility, preview URLs, signature info, disclosures.
8
- * Covers PLAN.md § 6.3.
9
- */
10
- const envId = z.object({ envelopeId: docusignEnvelopeIdSchema });
11
- const envRecipient = envId.extend({ recipientId: docusignRecipientIdSchema });
12
- const getRecipientDocumentVisibility = defineRestOperation({
13
- id: "docusign.get-recipient-document-visibility",
14
- slug: "DOCUSIGN_GET_RECIPIENT_DOCUMENT_VISIBILITY",
15
- name: "Get Recipient Document Visibility",
16
- description: "Return which documents are visible to a recipient on an envelope.",
17
- method: "GET",
18
- path: (ctx) => `/envelopes/${ctx.encode(String(ctx.input.envelopeId))}/recipients/${ctx.encode(String(ctx.input.recipientId))}/document_visibility`,
19
- input: envRecipient,
20
- output: docusignGenericObjectSchema
21
- });
22
- const updateRecipientDocumentVisibility = defineRestOperation({
23
- id: "docusign.update-recipient-document-visibility",
24
- slug: "DOCUSIGN_UPDATE_RECIPIENT_DOCUMENT_VISIBILITY",
25
- name: "Update Recipient Document Visibility",
26
- description: "Update per-document visibility flags for a recipient on an envelope.",
27
- needsApproval: true,
28
- method: "PUT",
29
- path: (ctx) => `/envelopes/${ctx.encode(String(ctx.input.envelopeId))}/recipients/${ctx.encode(String(ctx.input.recipientId))}/document_visibility`,
30
- input: envRecipient.extend({ documentVisibility: z.array(docusignLooseObjectSchema()).min(1) }),
31
- output: docusignGenericObjectSchema,
32
- body: (input) => ({ documentVisibility: input.documentVisibility })
33
- });
34
- const updateDocumentVisibilityRecipients = defineRestOperation({
35
- id: "docusign.update-document-visibility-recipients",
36
- slug: "DOCUSIGN_UPDATE_DOCUMENT_VISIBILITY_RECIPIENTS",
37
- name: "Update Document Visibility For Multiple Recipients",
38
- description: "Batch update per-recipient document visibility on an envelope.",
39
- needsApproval: true,
40
- method: "PUT",
41
- path: (ctx) => `/envelopes/${ctx.encode(String(ctx.input.envelopeId))}/recipients/document_visibility`,
42
- input: envId.extend({ documentVisibility: z.array(docusignLooseObjectSchema()).min(1) }),
43
- output: docusignGenericObjectSchema,
44
- body: (input) => ({ documentVisibility: input.documentVisibility })
45
- });
46
- const createRecipientManualReviewLink = defineRestOperation({
47
- id: "docusign.create-recipient-manual-review-link",
48
- slug: "DOCUSIGN_CREATE_RECIPIENT_MANUAL_REVIEW_LINK",
49
- name: "Create Recipient Manual Review Link",
50
- description: "Create a manual-review URL for a recipient on an envelope.",
51
- needsApproval: true,
52
- method: "POST",
53
- path: (ctx) => `/envelopes/${ctx.encode(String(ctx.input.envelopeId))}/recipients/${ctx.encode(String(ctx.input.recipientId))}/views/identity_manual_review`,
54
- input: envRecipient,
55
- output: docusignLooseObjectSchema({ url: z.string().optional() })
56
- });
57
- const createRecipientPreviewForEnvelope = defineRestOperation({
58
- id: "docusign.create-recipient-preview-for-envelope",
59
- slug: "DOCUSIGN_CREATE_RECIPIENT_PREVIEW_FOR_ENVELOPE",
60
- name: "Create Recipient Preview URL",
61
- description: "Create a preview URL that simulates a recipient signing experience.",
62
- needsApproval: true,
63
- method: "POST",
64
- path: (ctx) => `/envelopes/${ctx.encode(String(ctx.input.envelopeId))}/views/recipient_preview`,
65
- input: envId.extend({ preview: docusignLooseObjectSchema() }),
66
- output: docusignLooseObjectSchema({ url: z.string().optional() }),
67
- body: (input) => input.preview
68
- });
69
- const createRecipientViewUrl = defineRestOperation({
70
- id: "docusign.create-recipient-view-url",
71
- slug: "DOCUSIGN_CREATE_RECIPIENT_VIEW_URL",
72
- name: "Create Recipient View URL",
73
- description: "Create an embedded signing URL for a recipient.",
74
- needsApproval: true,
75
- method: "POST",
76
- path: (ctx) => `/envelopes/${ctx.encode(String(ctx.input.envelopeId))}/views/recipient`,
77
- input: envId.extend({ view: docusignLooseObjectSchema() }),
78
- output: docusignLooseObjectSchema({ url: z.string().optional() }),
79
- body: (input) => input.view
80
- });
81
- const generateRecipientSharedViewUrl = defineRestOperation({
82
- id: "docusign.generate-recipient-shared-view-url",
83
- slug: "DOCUSIGN_GENERATE_RECIPIENT_SHARED_VIEW_URL",
84
- name: "Generate Recipient Shared View URL",
85
- description: "Create a shared view URL scoped to a recipient across multiple envelopes.",
86
- needsApproval: true,
87
- method: "POST",
88
- path: "/views/recipient_shared",
89
- input: z.object({ view: docusignLooseObjectSchema() }),
90
- output: docusignLooseObjectSchema({ url: z.string().optional() }),
91
- body: (input) => input.view
92
- });
93
- const createIdProofResourceTokenForRecipient = defineRestOperation({
94
- id: "docusign.create-id-proof-resource-token-for-recipient",
95
- slug: "DOCUSIGN_CREATE_IDPROOF_RESOURCE_TOKEN_FOR_RECIPIENT",
96
- name: "Create ID-Proof Resource Token",
97
- description: "Mint an ID-proof resource token for a recipient.",
98
- needsApproval: true,
99
- method: "POST",
100
- path: (ctx) => `/envelopes/${ctx.encode(String(ctx.input.envelopeId))}/recipients/${ctx.encode(String(ctx.input.recipientId))}/identity_proof_token`,
101
- input: envRecipient,
102
- output: docusignLooseObjectSchema({ token: z.string().optional() })
103
- });
104
- const getSignatureInformationForRecipient = defineRestOperation({
105
- id: "docusign.get-signature-information-for-recipient",
106
- slug: "DOCUSIGN_GET_SIGNATURE_INFORMATION_FOR_RECIPIENT",
107
- name: "Get Signature Information For Recipient",
108
- description: "Return signature metadata for a recipient on an envelope.",
109
- method: "GET",
110
- path: (ctx) => `/envelopes/${ctx.encode(String(ctx.input.envelopeId))}/recipients/${ctx.encode(String(ctx.input.recipientId))}/signature`,
111
- input: envRecipient,
112
- output: docusignGenericObjectSchema
113
- });
114
- const getElectronicDisclosureForRecipient = defineRestOperation({
115
- id: "docusign.get-electronic-disclosure-for-recipient",
116
- slug: "DOCUSIGN_GET_ELECTRONIC_DISCLOSURE_FOR_RECIPIENT",
117
- name: "Get Electronic Disclosure For Recipient",
118
- description: "Return the consumer disclosure a recipient accepted.",
119
- method: "GET",
120
- path: (ctx) => `/envelopes/${ctx.encode(String(ctx.input.envelopeId))}/recipients/${ctx.encode(String(ctx.input.recipientId))}/consumer_disclosure`,
121
- input: envRecipient,
122
- output: docusignGenericObjectSchema
123
- });
124
- const retrieveSignerSignatureImageInformation = defineRestOperation({
125
- id: "docusign.retrieve-signer-signature-image-information",
126
- slug: "DOCUSIGN_RETRIEVE_SIGNER_SIGNATURE_IMAGE_INFORMATION",
127
- name: "Retrieve Signer Signature Image Information",
128
- description: "Return the signer signature image metadata on an envelope.",
129
- method: "GET",
130
- path: (ctx) => `/envelopes/${ctx.encode(String(ctx.input.envelopeId))}/recipients/${ctx.encode(String(ctx.input.recipientId))}/signature_image`,
131
- input: envRecipient,
132
- output: docusignGenericObjectSchema
133
- });
134
-
135
- //#endregion
136
- export { createIdProofResourceTokenForRecipient, createRecipientManualReviewLink, createRecipientPreviewForEnvelope, createRecipientViewUrl, generateRecipientSharedViewUrl, getElectronicDisclosureForRecipient, getRecipientDocumentVisibility, getSignatureInformationForRecipient, retrieveSignerSignatureImageInformation, updateDocumentVisibilityRecipients, updateRecipientDocumentVisibility };
@@ -1,52 +0,0 @@
1
- import * as _keystrokehq_core0 from "@keystrokehq/core";
2
- import { z } from "zod";
3
- import * as _keystrokehq_core_credential_set0 from "@keystrokehq/core/credential-set";
4
-
5
- //#region src/envelope-tabs.d.ts
6
- declare const returnEnvelopeTabDataForExistingEnvelope: _keystrokehq_core0.Operation<z.ZodObject<{
7
- envelopeId: z.ZodString;
8
- }, z.core.$strip>, z.ZodObject<{
9
- [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<{
15
- DOCUSIGN_ACCESS_TOKEN: z.ZodString;
16
- DOCUSIGN_ACCOUNT_ID: z.ZodString;
17
- DOCUSIGN_BASE_URI: z.ZodURL;
18
- }, z.core.$strip>>[] | undefined>], undefined>;
19
- declare const getTabsBlobForEnvelope: _keystrokehq_core0.Operation<z.ZodObject<{
20
- envelopeId: z.ZodString;
21
- }, z.core.$strip>, z.ZodObject<{
22
- contentType: z.ZodOptional<z.ZodString>;
23
- contentDisposition: z.ZodOptional<z.ZodString>;
24
- status: z.ZodNumber;
25
- body: z.ZodString;
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<{
31
- DOCUSIGN_ACCESS_TOKEN: z.ZodString;
32
- DOCUSIGN_ACCOUNT_ID: z.ZodString;
33
- DOCUSIGN_BASE_URI: z.ZodURL;
34
- }, z.core.$strip>>[] | undefined>], undefined>;
35
- declare const deprecatedEndpointForTabBlob: _keystrokehq_core0.Operation<z.ZodObject<{
36
- envelopeId: z.ZodString;
37
- }, z.core.$strip>, z.ZodObject<{
38
- contentType: z.ZodOptional<z.ZodString>;
39
- contentDisposition: z.ZodOptional<z.ZodString>;
40
- status: z.ZodNumber;
41
- body: z.ZodString;
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<{
47
- DOCUSIGN_ACCESS_TOKEN: z.ZodString;
48
- DOCUSIGN_ACCOUNT_ID: z.ZodString;
49
- DOCUSIGN_BASE_URI: z.ZodURL;
50
- }, z.core.$strip>>[] | undefined>], undefined>;
51
- //#endregion
52
- export { deprecatedEndpointForTabBlob, getTabsBlobForEnvelope, returnEnvelopeTabDataForExistingEnvelope };
@@ -1,49 +0,0 @@
1
- import { docusignEnvelopeIdSchema, docusignGenericObjectSchema, docusignLooseObjectSchema } from "./schemas/index.mjs";
2
- import { r as defineRestOperation, t as defineBinaryOperation } from "./operation-helpers-Bqp7KoLi.mjs";
3
- import { z } from "zod";
4
-
5
- //#region src/envelope-tabs.ts
6
- /**
7
- * Envelope tabs — tab data for existing envelopes + tab blobs.
8
- * Covers PLAN.md § 6.4.
9
- */
10
- const envId = z.object({ envelopeId: docusignEnvelopeIdSchema });
11
- const binaryResponseSchema = docusignLooseObjectSchema({
12
- contentType: z.string().optional(),
13
- contentDisposition: z.string().optional(),
14
- status: z.number(),
15
- body: z.string()
16
- });
17
- const returnEnvelopeTabDataForExistingEnvelope = defineRestOperation({
18
- id: "docusign.return-envelope-tab-data-for-existing-envelope",
19
- slug: "DOCUSIGN_RETURN_ENVELOPE_TAB_DATA_FOR_EXISTING_ENVELOPE",
20
- name: "Return Envelope Tab Data",
21
- description: "Return the tab (form field) data captured on an envelope.",
22
- method: "GET",
23
- path: (ctx) => `/envelopes/${ctx.encode(String(ctx.input.envelopeId))}/form_data`,
24
- input: envId,
25
- output: docusignGenericObjectSchema
26
- });
27
- const getTabsBlobForEnvelope = defineBinaryOperation({
28
- id: "docusign.get-tabs-blob-for-envelope",
29
- slug: "DOCUSIGN_GET_TABS_BLOB_FOR_ENVELOPE",
30
- name: "Get Tabs Blob For Envelope",
31
- description: "Download the raw tabs blob for an envelope.",
32
- method: "GET",
33
- path: (ctx) => `/envelopes/${ctx.encode(String(ctx.input.envelopeId))}/tabs_blob`,
34
- input: envId,
35
- output: binaryResponseSchema
36
- });
37
- const deprecatedEndpointForTabBlob = defineBinaryOperation({
38
- id: "docusign.deprecated-endpoint-for-tab-blob",
39
- slug: "DOCUSIGN_DEPRECATED_ENDPOINT_FOR_TAB_BLOB",
40
- name: "Deprecated Endpoint For Tab Blob",
41
- description: "Deprecated alias for fetching the envelope tabs blob. Kept exported for slug parity — prefer getTabsBlobForEnvelope.",
42
- method: "GET",
43
- path: (ctx) => `/envelopes/${ctx.encode(String(ctx.input.envelopeId))}/tabs_blob`,
44
- input: envId,
45
- output: binaryResponseSchema
46
- });
47
-
48
- //#endregion
49
- export { deprecatedEndpointForTabBlob, getTabsBlobForEnvelope, returnEnvelopeTabDataForExistingEnvelope };
@@ -1,99 +0,0 @@
1
- import * as _keystrokehq_core0 from "@keystrokehq/core";
2
- import { z } from "zod";
3
- import * as _keystrokehq_core_credential_set0 from "@keystrokehq/core/credential-set";
4
-
5
- //#region src/envelope-views.d.ts
6
- declare const createSenderViewUrlForEnvelope: _keystrokehq_core0.Operation<z.ZodObject<{
7
- envelopeId: z.ZodString;
8
- view: z.ZodOptional<z.ZodObject<{
9
- [x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
10
- }, z.core.$catchall<z.ZodUnknown>>>;
11
- }, z.core.$strip>, z.ZodObject<{
12
- url: z.ZodOptional<z.ZodString>;
13
- }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
14
- DOCUSIGN_ACCESS_TOKEN: z.ZodString;
15
- DOCUSIGN_ACCOUNT_ID: z.ZodString;
16
- DOCUSIGN_BASE_URI: z.ZodURL;
17
- }, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
18
- DOCUSIGN_ACCESS_TOKEN: z.ZodString;
19
- DOCUSIGN_ACCOUNT_ID: z.ZodString;
20
- DOCUSIGN_BASE_URI: z.ZodURL;
21
- }, z.core.$strip>>[] | undefined>], undefined>;
22
- declare const generateEditViewUrlForEnvelope: _keystrokehq_core0.Operation<z.ZodObject<{
23
- envelopeId: z.ZodString;
24
- view: z.ZodOptional<z.ZodObject<{
25
- [x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
26
- }, z.core.$catchall<z.ZodUnknown>>>;
27
- }, z.core.$strip>, z.ZodObject<{
28
- url: z.ZodOptional<z.ZodString>;
29
- }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
30
- DOCUSIGN_ACCESS_TOKEN: z.ZodString;
31
- DOCUSIGN_ACCOUNT_ID: z.ZodString;
32
- DOCUSIGN_BASE_URI: z.ZodURL;
33
- }, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
34
- DOCUSIGN_ACCESS_TOKEN: z.ZodString;
35
- DOCUSIGN_ACCOUNT_ID: z.ZodString;
36
- DOCUSIGN_BASE_URI: z.ZodURL;
37
- }, z.core.$strip>>[] | undefined>], undefined>;
38
- declare const generateEnvelopeCorrectionUrl: _keystrokehq_core0.Operation<z.ZodObject<{
39
- envelopeId: z.ZodString;
40
- view: z.ZodOptional<z.ZodObject<{
41
- [x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
42
- }, z.core.$catchall<z.ZodUnknown>>>;
43
- }, z.core.$strip>, z.ZodObject<{
44
- url: z.ZodOptional<z.ZodString>;
45
- }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
46
- DOCUSIGN_ACCESS_TOKEN: z.ZodString;
47
- DOCUSIGN_ACCOUNT_ID: z.ZodString;
48
- DOCUSIGN_BASE_URI: z.ZodURL;
49
- }, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
50
- DOCUSIGN_ACCESS_TOKEN: z.ZodString;
51
- DOCUSIGN_ACCOUNT_ID: z.ZodString;
52
- DOCUSIGN_BASE_URI: z.ZodURL;
53
- }, z.core.$strip>>[] | undefined>], undefined>;
54
- declare const revokeEnvelopeCorrectionUrl: _keystrokehq_core0.Operation<z.ZodObject<{
55
- envelopeId: z.ZodString;
56
- }, z.core.$strip>, z.ZodObject<{
57
- success: z.ZodBoolean;
58
- }, z.core.$strip>, 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<{
63
- DOCUSIGN_ACCESS_TOKEN: z.ZodString;
64
- DOCUSIGN_ACCOUNT_ID: z.ZodString;
65
- DOCUSIGN_BASE_URI: z.ZodURL;
66
- }, z.core.$strip>>[] | undefined>], undefined>;
67
- declare const getUrlForEmbeddingDocusignUi: _keystrokehq_core0.Operation<z.ZodObject<{
68
- view: z.ZodOptional<z.ZodObject<{
69
- [x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
70
- }, z.core.$catchall<z.ZodUnknown>>>;
71
- }, z.core.$strip>, z.ZodObject<{
72
- url: z.ZodOptional<z.ZodString>;
73
- }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
74
- DOCUSIGN_ACCESS_TOKEN: z.ZodString;
75
- DOCUSIGN_ACCOUNT_ID: z.ZodString;
76
- DOCUSIGN_BASE_URI: z.ZodURL;
77
- }, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
78
- DOCUSIGN_ACCESS_TOKEN: z.ZodString;
79
- DOCUSIGN_ACCOUNT_ID: z.ZodString;
80
- DOCUSIGN_BASE_URI: z.ZodURL;
81
- }, z.core.$strip>>[] | undefined>], undefined>;
82
- declare const createUrlForTemplateEditView: _keystrokehq_core0.Operation<z.ZodObject<{
83
- templateId: z.ZodString;
84
- view: z.ZodOptional<z.ZodObject<{
85
- [x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
86
- }, z.core.$catchall<z.ZodUnknown>>>;
87
- }, z.core.$strip>, z.ZodObject<{
88
- url: z.ZodOptional<z.ZodString>;
89
- }, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
90
- DOCUSIGN_ACCESS_TOKEN: z.ZodString;
91
- DOCUSIGN_ACCOUNT_ID: z.ZodString;
92
- DOCUSIGN_BASE_URI: z.ZodURL;
93
- }, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
94
- DOCUSIGN_ACCESS_TOKEN: z.ZodString;
95
- DOCUSIGN_ACCOUNT_ID: z.ZodString;
96
- DOCUSIGN_BASE_URI: z.ZodURL;
97
- }, z.core.$strip>>[] | undefined>], undefined>;
98
- //#endregion
99
- export { createSenderViewUrlForEnvelope, createUrlForTemplateEditView, generateEditViewUrlForEnvelope, generateEnvelopeCorrectionUrl, getUrlForEmbeddingDocusignUi, revokeEnvelopeCorrectionUrl };
@@ -1,88 +0,0 @@
1
- import { docusignEnvelopeIdSchema, docusignLooseObjectSchema, docusignSuccessSchema, docusignTemplateIdSchema } from "./schemas/index.mjs";
2
- import { r as defineRestOperation } from "./operation-helpers-Bqp7KoLi.mjs";
3
- import { z } from "zod";
4
-
5
- //#region src/envelope-views.ts
6
- /**
7
- * Envelope views (sender, correction, edit, template edit). Covers PLAN.md § 6.8.
8
- */
9
- const envId = z.object({ envelopeId: docusignEnvelopeIdSchema });
10
- const urlResult = docusignLooseObjectSchema({ url: z.string().optional() });
11
- const createSenderViewUrlForEnvelope = defineRestOperation({
12
- id: "docusign.create-sender-view-url-for-envelope",
13
- slug: "DOCUSIGN_CREATE_SENDER_VIEW_URL_FOR_ENVELOPE",
14
- name: "Create Sender View URL",
15
- description: "Create a sender view URL (Prepare page) for an envelope.",
16
- needsApproval: true,
17
- method: "POST",
18
- path: (ctx) => `/envelopes/${ctx.encode(String(ctx.input.envelopeId))}/views/sender`,
19
- input: envId.extend({ view: docusignLooseObjectSchema().optional() }),
20
- output: urlResult,
21
- body: (input) => input.view ?? {}
22
- });
23
- const generateEditViewUrlForEnvelope = defineRestOperation({
24
- id: "docusign.generate-edit-view-url-for-envelope",
25
- slug: "DOCUSIGN_GENERATE_EDIT_VIEW_URLFOR_ENVELOPE",
26
- name: "Generate Edit View URL",
27
- description: "Create an edit view URL for an envelope.",
28
- needsApproval: true,
29
- method: "POST",
30
- path: (ctx) => `/envelopes/${ctx.encode(String(ctx.input.envelopeId))}/views/edit`,
31
- input: envId.extend({ view: docusignLooseObjectSchema().optional() }),
32
- output: urlResult,
33
- body: (input) => input.view ?? {}
34
- });
35
- const generateEnvelopeCorrectionUrl = defineRestOperation({
36
- id: "docusign.generate-envelope-correction-url",
37
- slug: "DOCUSIGN_GENERATE_ENVELOPE_CORRECTION_URL",
38
- name: "Generate Envelope Correction URL",
39
- description: "Create a correction view URL for an envelope.",
40
- needsApproval: true,
41
- method: "POST",
42
- path: (ctx) => `/envelopes/${ctx.encode(String(ctx.input.envelopeId))}/views/correct`,
43
- input: envId.extend({ view: docusignLooseObjectSchema().optional() }),
44
- output: urlResult,
45
- body: (input) => input.view ?? {}
46
- });
47
- const revokeEnvelopeCorrectionUrl = defineRestOperation({
48
- id: "docusign.revoke-envelope-correction-url",
49
- slug: "DOCUSIGN_REVOKE_ENVELOPE_CORRECTION_URL",
50
- name: "Revoke Envelope Correction URL",
51
- description: "Revoke an outstanding correction view URL.",
52
- needsApproval: true,
53
- method: "DELETE",
54
- path: (ctx) => `/envelopes/${ctx.encode(String(ctx.input.envelopeId))}/views/correct`,
55
- input: envId,
56
- output: docusignSuccessSchema,
57
- transformResponse: () => ({ success: true })
58
- });
59
- const getUrlForEmbeddingDocusignUi = defineRestOperation({
60
- id: "docusign.get-url-for-embedding-docusign-ui",
61
- slug: "DOCUSIGN_GET_URLFOR_EMBEDDING_DOCUSIGN_UI",
62
- name: "Get Embedding Console URL",
63
- description: "Create a console view URL for embedding the DocuSign UI.",
64
- needsApproval: true,
65
- method: "POST",
66
- path: "/views/console",
67
- input: z.object({ view: docusignLooseObjectSchema().optional() }),
68
- output: urlResult,
69
- body: (input) => input.view ?? {}
70
- });
71
- const createUrlForTemplateEditView = defineRestOperation({
72
- id: "docusign.create-url-for-template-edit-view",
73
- slug: "DOCUSIGN_CREATE_URLFOR_TEMPLATE_EDIT_VIEW",
74
- name: "Create Template Edit View URL",
75
- description: "Create an edit view URL for a template.",
76
- needsApproval: true,
77
- method: "POST",
78
- path: (ctx) => `/templates/${ctx.encode(String(ctx.input.templateId))}/views/edit`,
79
- input: z.object({
80
- templateId: docusignTemplateIdSchema,
81
- view: docusignLooseObjectSchema().optional()
82
- }),
83
- output: urlResult,
84
- body: (input) => input.view ?? {}
85
- });
86
-
87
- //#endregion
88
- export { createSenderViewUrlForEnvelope, createUrlForTemplateEditView, generateEditViewUrlForEnvelope, generateEnvelopeCorrectionUrl, getUrlForEmbeddingDocusignUi, revokeEnvelopeCorrectionUrl };
@@ -1,208 +0,0 @@
1
- import * as _keystrokehq_core0 from "@keystrokehq/core";
2
- import { z } from "zod";
3
- import * as _keystrokehq_core_credential_set0 from "@keystrokehq/core/credential-set";
4
-
5
- //#region src/envelope-workflow.d.ts
6
- declare const getEnvelopeWorkflowDefinition: _keystrokehq_core0.Operation<z.ZodObject<{
7
- envelopeId: z.ZodString;
8
- }, z.core.$strip>, z.ZodObject<{
9
- [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<{
15
- DOCUSIGN_ACCESS_TOKEN: z.ZodString;
16
- DOCUSIGN_ACCOUNT_ID: z.ZodString;
17
- DOCUSIGN_BASE_URI: z.ZodURL;
18
- }, z.core.$strip>>[] | undefined>], undefined>;
19
- declare const updateEnvelopeWorkflowDefinition: _keystrokehq_core0.Operation<z.ZodObject<{
20
- envelopeId: z.ZodString;
21
- workflow: z.ZodObject<{
22
- [x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
23
- }, z.core.$catchall<z.ZodUnknown>>;
24
- }, z.core.$strip>, z.ZodObject<{
25
- [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<{
31
- DOCUSIGN_ACCESS_TOKEN: z.ZodString;
32
- DOCUSIGN_ACCOUNT_ID: z.ZodString;
33
- DOCUSIGN_BASE_URI: z.ZodURL;
34
- }, z.core.$strip>>[] | undefined>], undefined>;
35
- declare const deleteEnvelopeWorkflowDefinition: _keystrokehq_core0.Operation<z.ZodObject<{
36
- envelopeId: z.ZodString;
37
- }, z.core.$strip>, z.ZodObject<{
38
- success: z.ZodBoolean;
39
- }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
40
- DOCUSIGN_ACCESS_TOKEN: z.ZodString;
41
- DOCUSIGN_ACCOUNT_ID: z.ZodString;
42
- DOCUSIGN_BASE_URI: z.ZodURL;
43
- }, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
44
- DOCUSIGN_ACCESS_TOKEN: z.ZodString;
45
- DOCUSIGN_ACCOUNT_ID: z.ZodString;
46
- DOCUSIGN_BASE_URI: z.ZodURL;
47
- }, z.core.$strip>>[] | undefined>], undefined>;
48
- declare const addStepToEnvelopeWorkflow: _keystrokehq_core0.Operation<z.ZodObject<{
49
- envelopeId: z.ZodString;
50
- step: z.ZodObject<{
51
- [x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
52
- }, z.core.$catchall<z.ZodUnknown>>;
53
- }, z.core.$strip>, z.ZodObject<{
54
- [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<{
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<{
60
- DOCUSIGN_ACCESS_TOKEN: z.ZodString;
61
- DOCUSIGN_ACCOUNT_ID: z.ZodString;
62
- DOCUSIGN_BASE_URI: z.ZodURL;
63
- }, z.core.$strip>>[] | undefined>], undefined>;
64
- declare const getWorkflowStepForEnvelope: _keystrokehq_core0.Operation<z.ZodObject<{
65
- envelopeId: z.ZodString;
66
- workflowStepId: z.ZodString;
67
- }, z.core.$strip>, z.ZodObject<{
68
- [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<{
70
- DOCUSIGN_ACCESS_TOKEN: z.ZodString;
71
- DOCUSIGN_ACCOUNT_ID: z.ZodString;
72
- DOCUSIGN_BASE_URI: z.ZodURL;
73
- }, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
74
- DOCUSIGN_ACCESS_TOKEN: z.ZodString;
75
- DOCUSIGN_ACCOUNT_ID: z.ZodString;
76
- DOCUSIGN_BASE_URI: z.ZodURL;
77
- }, z.core.$strip>>[] | undefined>], undefined>;
78
- declare const updateEnvelopeWorkflowStep: _keystrokehq_core0.Operation<z.ZodObject<{
79
- envelopeId: z.ZodString;
80
- workflowStepId: z.ZodString;
81
- step: z.ZodObject<{
82
- [x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
83
- }, z.core.$catchall<z.ZodUnknown>>;
84
- }, z.core.$strip>, z.ZodObject<{
85
- [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<{
91
- DOCUSIGN_ACCESS_TOKEN: z.ZodString;
92
- DOCUSIGN_ACCOUNT_ID: z.ZodString;
93
- DOCUSIGN_BASE_URI: z.ZodURL;
94
- }, z.core.$strip>>[] | undefined>], undefined>;
95
- declare const deleteEnvelopeWorkflowStep: _keystrokehq_core0.Operation<z.ZodObject<{
96
- envelopeId: z.ZodString;
97
- workflowStepId: z.ZodString;
98
- }, z.core.$strip>, z.ZodObject<{
99
- success: z.ZodBoolean;
100
- }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
101
- DOCUSIGN_ACCESS_TOKEN: z.ZodString;
102
- DOCUSIGN_ACCOUNT_ID: z.ZodString;
103
- DOCUSIGN_BASE_URI: z.ZodURL;
104
- }, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
105
- DOCUSIGN_ACCESS_TOKEN: z.ZodString;
106
- DOCUSIGN_ACCOUNT_ID: z.ZodString;
107
- DOCUSIGN_BASE_URI: z.ZodURL;
108
- }, z.core.$strip>>[] | undefined>], undefined>;
109
- declare const getEnvelopeWorkflowDelayedRoutingDefinition: _keystrokehq_core0.Operation<z.ZodObject<{
110
- envelopeId: z.ZodString;
111
- workflowStepId: z.ZodString;
112
- }, z.core.$strip>, z.ZodObject<{
113
- [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<{
119
- DOCUSIGN_ACCESS_TOKEN: z.ZodString;
120
- DOCUSIGN_ACCOUNT_ID: z.ZodString;
121
- DOCUSIGN_BASE_URI: z.ZodURL;
122
- }, z.core.$strip>>[] | undefined>], undefined>;
123
- declare const updateEnvelopeDelayedRoutingRules: _keystrokehq_core0.Operation<z.ZodObject<{
124
- envelopeId: z.ZodString;
125
- workflowStepId: z.ZodString;
126
- rules: z.ZodObject<{
127
- [x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
128
- }, z.core.$catchall<z.ZodUnknown>>;
129
- }, z.core.$strip>, z.ZodObject<{
130
- [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<{
136
- DOCUSIGN_ACCESS_TOKEN: z.ZodString;
137
- DOCUSIGN_ACCOUNT_ID: z.ZodString;
138
- DOCUSIGN_BASE_URI: z.ZodURL;
139
- }, z.core.$strip>>[] | undefined>], undefined>;
140
- declare const deleteDelayedRoutingRuleForEnvelopeStep: _keystrokehq_core0.Operation<z.ZodObject<{
141
- envelopeId: z.ZodString;
142
- workflowStepId: z.ZodString;
143
- }, z.core.$strip>, z.ZodObject<{
144
- success: z.ZodBoolean;
145
- }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
146
- DOCUSIGN_ACCESS_TOKEN: z.ZodString;
147
- DOCUSIGN_ACCOUNT_ID: z.ZodString;
148
- DOCUSIGN_BASE_URI: z.ZodURL;
149
- }, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
150
- DOCUSIGN_ACCESS_TOKEN: z.ZodString;
151
- DOCUSIGN_ACCOUNT_ID: z.ZodString;
152
- DOCUSIGN_BASE_URI: z.ZodURL;
153
- }, z.core.$strip>>[] | undefined>], undefined>;
154
- declare const returnScheduledSendingRulesForEnvelope: _keystrokehq_core0.Operation<z.ZodObject<{
155
- envelopeId: z.ZodString;
156
- }, z.core.$strip>, z.ZodObject<{
157
- [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<{
159
- DOCUSIGN_ACCESS_TOKEN: z.ZodString;
160
- DOCUSIGN_ACCOUNT_ID: z.ZodString;
161
- DOCUSIGN_BASE_URI: z.ZodURL;
162
- }, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
163
- DOCUSIGN_ACCESS_TOKEN: z.ZodString;
164
- DOCUSIGN_ACCOUNT_ID: z.ZodString;
165
- DOCUSIGN_BASE_URI: z.ZodURL;
166
- }, z.core.$strip>>[] | undefined>], undefined>;
167
- declare const updateEnvelopeScheduledSendingRules: _keystrokehq_core0.Operation<z.ZodObject<{
168
- envelopeId: z.ZodString;
169
- rules: z.ZodObject<{
170
- [x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
171
- }, z.core.$catchall<z.ZodUnknown>>;
172
- }, z.core.$strip>, z.ZodObject<{
173
- [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<{
179
- DOCUSIGN_ACCESS_TOKEN: z.ZodString;
180
- DOCUSIGN_ACCOUNT_ID: z.ZodString;
181
- DOCUSIGN_BASE_URI: z.ZodURL;
182
- }, z.core.$strip>>[] | undefined>], undefined>;
183
- declare const deleteEnvelopeScheduledSendingRules: _keystrokehq_core0.Operation<z.ZodObject<{
184
- envelopeId: z.ZodString;
185
- }, z.core.$strip>, z.ZodObject<{
186
- success: z.ZodBoolean;
187
- }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
188
- DOCUSIGN_ACCESS_TOKEN: z.ZodString;
189
- DOCUSIGN_ACCOUNT_ID: z.ZodString;
190
- DOCUSIGN_BASE_URI: z.ZodURL;
191
- }, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
192
- DOCUSIGN_ACCESS_TOKEN: z.ZodString;
193
- DOCUSIGN_ACCOUNT_ID: z.ZodString;
194
- DOCUSIGN_BASE_URI: z.ZodURL;
195
- }, z.core.$strip>>[] | undefined>], undefined>;
196
- declare const deleteScheduledSendingRules: _keystrokehq_core0.Operation<z.ZodObject<{}, z.core.$strip>, z.ZodObject<{
197
- success: z.ZodBoolean;
198
- }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"docusign", z.ZodObject<{
199
- DOCUSIGN_ACCESS_TOKEN: z.ZodString;
200
- DOCUSIGN_ACCOUNT_ID: z.ZodString;
201
- DOCUSIGN_BASE_URI: z.ZodURL;
202
- }, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
203
- DOCUSIGN_ACCESS_TOKEN: z.ZodString;
204
- DOCUSIGN_ACCOUNT_ID: z.ZodString;
205
- DOCUSIGN_BASE_URI: z.ZodURL;
206
- }, z.core.$strip>>[] | undefined>], undefined>;
207
- //#endregion
208
- export { addStepToEnvelopeWorkflow, deleteDelayedRoutingRuleForEnvelopeStep, deleteEnvelopeScheduledSendingRules, deleteEnvelopeWorkflowDefinition, deleteEnvelopeWorkflowStep, deleteScheduledSendingRules, getEnvelopeWorkflowDefinition, getEnvelopeWorkflowDelayedRoutingDefinition, getWorkflowStepForEnvelope, returnScheduledSendingRulesForEnvelope, updateEnvelopeDelayedRoutingRules, updateEnvelopeScheduledSendingRules, updateEnvelopeWorkflowDefinition, updateEnvelopeWorkflowStep };