@keystrokehq/docusign 0.0.6-rename-t1.0 → 0.0.7
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/README.md +4 -4
- package/dist/_official/index.d.mts +6 -6
- package/dist/_official/index.mjs +1 -1
- package/dist/account-custom-fields.mjs +1 -1
- package/dist/account-stamps.mjs +1 -1
- package/dist/account-tabs.mjs +1 -1
- package/dist/account.mjs +1 -1
- package/dist/admin.mjs +1 -1
- package/dist/auth.mjs +2 -2
- package/dist/bcc-archive.mjs +1 -1
- package/dist/billing.mjs +1 -1
- package/dist/brands.mjs +1 -1
- package/dist/bulk-send.d.mts +1 -1
- package/dist/bulk-send.mjs +1 -1
- package/dist/chunked-uploads.mjs +1 -1
- package/dist/click.mjs +1 -1
- package/dist/clm.mjs +1 -1
- package/dist/cloud-storage.mjs +1 -1
- package/dist/connect.mjs +1 -1
- package/dist/connection.mjs +1 -1
- package/dist/contacts.mjs +1 -1
- package/dist/enote.mjs +1 -1
- package/dist/envelope-attachments.mjs +1 -1
- package/dist/envelope-custom-fields.mjs +1 -1
- package/dist/envelope-documents.mjs +1 -1
- package/dist/envelope-email.mjs +1 -1
- package/dist/envelope-lock.mjs +1 -1
- package/dist/envelope-logs.mjs +1 -1
- package/dist/envelope-notifications.mjs +1 -1
- package/dist/envelope-recipients.mjs +1 -1
- package/dist/envelope-tabs.mjs +1 -1
- package/dist/envelope-views.mjs +1 -1
- package/dist/envelope-workflow.mjs +1 -1
- package/dist/envelopes.d.mts +1 -1
- package/dist/envelopes.mjs +1 -1
- package/dist/{factory-CNWSmZBb.mjs → factory-Cj6MzqXn.mjs} +1 -1
- package/dist/groups.mjs +1 -1
- package/dist/{integration-DTCvttZM.mjs → integration-BykMcCMC.mjs} +8 -8
- package/dist/monitor.mjs +1 -1
- package/dist/notary.mjs +1 -1
- package/dist/{operation-helpers-BoIkQRWd.mjs → operation-helpers-DcsuFcq0.mjs} +1 -1
- package/dist/permission-profiles.mjs +1 -1
- package/dist/power-forms.mjs +1 -1
- package/dist/rooms.mjs +1 -1
- package/dist/schemas/index.d.mts +3 -3
- package/dist/signing-groups.mjs +1 -1
- package/dist/template-custom-fields.mjs +1 -1
- package/dist/template-documents.mjs +1 -1
- package/dist/template-lock.mjs +1 -1
- package/dist/template-sharing.mjs +1 -1
- package/dist/template-workflow.mjs +1 -1
- package/dist/templates.mjs +1 -1
- package/dist/user-authorizations.mjs +1 -1
- package/dist/user-custom-settings.mjs +1 -1
- package/dist/user-profile.mjs +1 -1
- package/dist/user-signatures.mjs +1 -1
- package/dist/users.mjs +1 -1
- package/dist/workspaces.mjs +1 -1
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -36,14 +36,14 @@ DocuSign routes accounts between regions (`na1..na4`, `eu`, `au`, `ca`). Every r
|
|
|
36
36
|
To enable the OAuth flow, set two env vars on the platform (the Keystroke deployment, not the user):
|
|
37
37
|
|
|
38
38
|
```bash
|
|
39
|
-
|
|
40
|
-
|
|
39
|
+
KEYSTROKE_OFFICIAL_DOCUSIGN_CLIENT_ID=<docusign-integrator-key>
|
|
40
|
+
KEYSTROKE_OFFICIAL_DOCUSIGN_CLIENT_SECRET=<docusign-client-secret>
|
|
41
41
|
```
|
|
42
42
|
|
|
43
43
|
To enable Connect webhook triggers, also configure the HMAC shared secrets (up to 10 for rotation, comma-separated, newest first):
|
|
44
44
|
|
|
45
45
|
```bash
|
|
46
|
-
|
|
46
|
+
KEYSTROKE_OFFICIAL_DOCUSIGN_CONNECT_HMAC_SECRETS=rotating-secret-1,rotating-secret-2
|
|
47
47
|
```
|
|
48
48
|
|
|
49
49
|
## Subpath imports
|
|
@@ -200,7 +200,7 @@ To receive webhooks at `/docusign`:
|
|
|
200
200
|
|
|
201
201
|
1. In the DocuSign admin console, create a Connect configuration and set the publish URL to your Keystroke callback.
|
|
202
202
|
2. Enable HMAC signing and configure at least one shared secret. Optionally configure up to 10 for rotation.
|
|
203
|
-
3. Copy the secrets into the `
|
|
203
|
+
3. Copy the secrets into the `KEYSTROKE_OFFICIAL_DOCUSIGN_CONNECT_HMAC_SECRETS` env var (comma-separated).
|
|
204
204
|
|
|
205
205
|
The package's `verifyDocusignConnectRequest` helper accepts a delivery if **any** of the `X-DocuSign-Signature-{N}` headers matches **any** configured secret under a constant-time compare. Rotating secrets is safe: add the new secret, let DocuSign start signing with it, then remove the old one once no old-signature deliveries remain in flight.
|
|
206
206
|
|
|
@@ -25,7 +25,7 @@ declare const docusignAppCredentialSet: CredentialSet<"keystroke:docusign-app",
|
|
|
25
25
|
* `X-DocuSign-Signature-{N}` header. Verification accepts a delivery if any
|
|
26
26
|
* header matches any configured secret under a constant-time compare.
|
|
27
27
|
*
|
|
28
|
-
* Secrets are parsed from `
|
|
28
|
+
* Secrets are parsed from `KEYSTROKE_OFFICIAL_DOCUSIGN_CONNECT_HMAC_SECRETS`,
|
|
29
29
|
* a comma-separated list with newest first.
|
|
30
30
|
*/
|
|
31
31
|
declare const docusignConnectCredentialSet: CredentialSet<"keystroke:docusign-connect", z.ZodObject<{
|
|
@@ -60,7 +60,7 @@ declare const docusignJwtCredentialSet: CredentialSet<"keystroke:docusign-jwt",
|
|
|
60
60
|
}>;
|
|
61
61
|
}, z.core.$strip>>[] | undefined>;
|
|
62
62
|
/**
|
|
63
|
-
* Parse the comma-separated `
|
|
63
|
+
* Parse the comma-separated `KEYSTROKE_OFFICIAL_DOCUSIGN_CONNECT_HMAC_SECRETS`
|
|
64
64
|
* env value into the array shape the internal credential set expects. Empty
|
|
65
65
|
* input resolves to `[]`, which fails the `.min(1)` parse so Connect triggers
|
|
66
66
|
* reject deliveries until the env is populated.
|
|
@@ -72,11 +72,11 @@ declare const docusignOfficialProviderSeed: {
|
|
|
72
72
|
readonly displayName: "DocuSign Platform";
|
|
73
73
|
readonly credentialSetName: "Keystroke DocuSign Platform App";
|
|
74
74
|
readonly envShape: {
|
|
75
|
-
readonly
|
|
76
|
-
readonly
|
|
75
|
+
readonly KEYSTROKE_OFFICIAL_DOCUSIGN_CLIENT_ID: z.ZodOptional<z.ZodString>;
|
|
76
|
+
readonly KEYSTROKE_OFFICIAL_DOCUSIGN_CLIENT_SECRET: z.ZodOptional<z.ZodString>;
|
|
77
77
|
};
|
|
78
|
-
readonly requiredEnvKeys: readonly ["
|
|
79
|
-
readonly externalAppIdEnvKey: "
|
|
78
|
+
readonly requiredEnvKeys: readonly ["KEYSTROKE_OFFICIAL_DOCUSIGN_CLIENT_ID", "KEYSTROKE_OFFICIAL_DOCUSIGN_CLIENT_SECRET"];
|
|
79
|
+
readonly externalAppIdEnvKey: "KEYSTROKE_OFFICIAL_DOCUSIGN_CLIENT_ID";
|
|
80
80
|
readonly buildCredentials: (env: Record<string, string | undefined>) => {
|
|
81
81
|
clientId: string | undefined;
|
|
82
82
|
clientSecret: string | undefined;
|
package/dist/_official/index.mjs
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { c as docusignJwtCredentialSet, l as docusignOfficialProviderSeed, n as docusignBundle, o as docusignAppCredentialSet, r as docusignOfficialIntegration, s as docusignConnectCredentialSet, u as parseHmacSecrets } from "../integration-
|
|
1
|
+
import { c as docusignJwtCredentialSet, l as docusignOfficialProviderSeed, n as docusignBundle, o as docusignAppCredentialSet, r as docusignOfficialIntegration, s as docusignConnectCredentialSet, u as parseHmacSecrets } from "../integration-BykMcCMC.mjs";
|
|
2
2
|
|
|
3
3
|
export { docusignAppCredentialSet, docusignBundle, docusignConnectCredentialSet, docusignJwtCredentialSet, docusignOfficialIntegration, docusignOfficialProviderSeed, parseHmacSecrets };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { docusignGenericObjectSchema, docusignLooseObjectSchema, docusignSuccessSchema } from "./schemas/index.mjs";
|
|
2
|
-
import { r as defineRestOperation } from "./operation-helpers-
|
|
2
|
+
import { r as defineRestOperation } from "./operation-helpers-DcsuFcq0.mjs";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
|
|
5
5
|
//#region src/account-custom-fields.ts
|
package/dist/account-stamps.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { docusignGenericObjectSchema, docusignLooseObjectSchema, docusignSuccessSchema } from "./schemas/index.mjs";
|
|
2
|
-
import { r as defineRestOperation, t as defineBinaryOperation } from "./operation-helpers-
|
|
2
|
+
import { r as defineRestOperation, t as defineBinaryOperation } from "./operation-helpers-DcsuFcq0.mjs";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
|
|
5
5
|
//#region src/account-stamps.ts
|
package/dist/account-tabs.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { docusignGenericObjectSchema, docusignLooseObjectSchema, docusignSuccessSchema } from "./schemas/index.mjs";
|
|
2
|
-
import { r as defineRestOperation } from "./operation-helpers-
|
|
2
|
+
import { r as defineRestOperation } from "./operation-helpers-DcsuFcq0.mjs";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
|
|
5
5
|
//#region src/account-tabs.ts
|
package/dist/account.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { docusignAccountSchema, docusignGenericObjectSchema, docusignLooseObjectSchema, docusignSuccessSchema } from "./schemas/index.mjs";
|
|
2
|
-
import { r as defineRestOperation } from "./operation-helpers-
|
|
2
|
+
import { r as defineRestOperation } from "./operation-helpers-DcsuFcq0.mjs";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
|
|
5
5
|
//#region src/account.ts
|
package/dist/admin.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { docusignGenericObjectSchema } from "./schemas/index.mjs";
|
|
2
|
-
import { n as definePlanGatedOperation } from "./operation-helpers-
|
|
2
|
+
import { n as definePlanGatedOperation } from "./operation-helpers-DcsuFcq0.mjs";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
|
|
5
5
|
//#region src/admin.ts
|
package/dist/auth.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { a as fetchDocusignUserinfo, i as DOCUSIGN_USERINFO_URL } from "./integration-
|
|
1
|
+
import { a as fetchDocusignUserinfo, i as DOCUSIGN_USERINFO_URL } from "./integration-BykMcCMC.mjs";
|
|
2
2
|
import { createDocusignClient } from "./client.mjs";
|
|
3
3
|
import { docusignLooseObjectSchema } from "./schemas/index.mjs";
|
|
4
|
-
import { t as docusignOperation } from "./factory-
|
|
4
|
+
import { t as docusignOperation } from "./factory-Cj6MzqXn.mjs";
|
|
5
5
|
import { z } from "zod";
|
|
6
6
|
|
|
7
7
|
//#region src/auth.ts
|
package/dist/bcc-archive.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { docusignGenericObjectSchema, docusignLooseObjectSchema, docusignSuccessSchema } from "./schemas/index.mjs";
|
|
2
|
-
import { r as defineRestOperation } from "./operation-helpers-
|
|
2
|
+
import { r as defineRestOperation } from "./operation-helpers-DcsuFcq0.mjs";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
|
|
5
5
|
//#region src/bcc-archive.ts
|
package/dist/billing.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { docusignGenericObjectSchema, docusignLooseObjectSchema } from "./schemas/index.mjs";
|
|
2
|
-
import { r as defineRestOperation } from "./operation-helpers-
|
|
2
|
+
import { r as defineRestOperation } from "./operation-helpers-DcsuFcq0.mjs";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
|
|
5
5
|
//#region src/billing.ts
|
package/dist/brands.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { docusignBrandListSchema, docusignGenericObjectSchema, docusignLooseObjectSchema, docusignSuccessSchema } from "./schemas/index.mjs";
|
|
2
|
-
import { r as defineRestOperation, t as defineBinaryOperation } from "./operation-helpers-
|
|
2
|
+
import { r as defineRestOperation, t as defineBinaryOperation } from "./operation-helpers-DcsuFcq0.mjs";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
|
|
5
5
|
//#region src/brands.ts
|
package/dist/bulk-send.d.mts
CHANGED
|
@@ -42,8 +42,8 @@ declare const applyActionToBulkSendEnvelopes: _keystrokehq_core0.Operation<z.Zod
|
|
|
42
42
|
batchId: z.ZodString;
|
|
43
43
|
action: z.ZodEnum<{
|
|
44
44
|
void: "void";
|
|
45
|
-
correct: "correct";
|
|
46
45
|
resend: "resend";
|
|
46
|
+
correct: "correct";
|
|
47
47
|
}>;
|
|
48
48
|
}, z.core.$strip>, z.ZodObject<{
|
|
49
49
|
[x: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
package/dist/bulk-send.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { docusignBulkSendBatchSchema, docusignBulkSendListSchema, docusignGenericObjectSchema, docusignListPaginationInputSchema, docusignLooseObjectSchema, docusignSuccessSchema } from "./schemas/index.mjs";
|
|
2
|
-
import { r as defineRestOperation } from "./operation-helpers-
|
|
2
|
+
import { r as defineRestOperation } from "./operation-helpers-DcsuFcq0.mjs";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
|
|
5
5
|
//#region src/bulk-send.ts
|
package/dist/chunked-uploads.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { docusignGenericObjectSchema, docusignLooseObjectSchema, docusignSuccessSchema } from "./schemas/index.mjs";
|
|
2
|
-
import { r as defineRestOperation } from "./operation-helpers-
|
|
2
|
+
import { r as defineRestOperation } from "./operation-helpers-DcsuFcq0.mjs";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
|
|
5
5
|
//#region src/chunked-uploads.ts
|
package/dist/click.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { docusignGenericObjectSchema } from "./schemas/index.mjs";
|
|
2
|
-
import { n as definePlanGatedOperation } from "./operation-helpers-
|
|
2
|
+
import { n as definePlanGatedOperation } from "./operation-helpers-DcsuFcq0.mjs";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
|
|
5
5
|
//#region src/click.ts
|
package/dist/clm.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { docusignGenericObjectSchema } from "./schemas/index.mjs";
|
|
2
|
-
import { n as definePlanGatedOperation } from "./operation-helpers-
|
|
2
|
+
import { n as definePlanGatedOperation } from "./operation-helpers-DcsuFcq0.mjs";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
|
|
5
5
|
//#region src/clm.ts
|
package/dist/cloud-storage.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { docusignGenericObjectSchema, docusignLooseObjectSchema, docusignSuccessSchema } from "./schemas/index.mjs";
|
|
2
|
-
import { r as defineRestOperation } from "./operation-helpers-
|
|
2
|
+
import { r as defineRestOperation } from "./operation-helpers-DcsuFcq0.mjs";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
|
|
5
5
|
//#region src/cloud-storage.ts
|
package/dist/connect.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { docusignConnectConfigurationSchema, docusignGenericObjectSchema, docusignLooseObjectSchema, docusignSuccessSchema } from "./schemas/index.mjs";
|
|
2
|
-
import { r as defineRestOperation } from "./operation-helpers-
|
|
2
|
+
import { r as defineRestOperation } from "./operation-helpers-DcsuFcq0.mjs";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
|
|
5
5
|
//#region src/connect.ts
|
package/dist/connection.mjs
CHANGED
package/dist/contacts.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { docusignGenericObjectSchema, docusignLooseObjectSchema, docusignSuccessSchema } from "./schemas/index.mjs";
|
|
2
|
-
import { r as defineRestOperation } from "./operation-helpers-
|
|
2
|
+
import { r as defineRestOperation } from "./operation-helpers-DcsuFcq0.mjs";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
|
|
5
5
|
//#region src/contacts.ts
|
package/dist/enote.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { docusignGenericObjectSchema, docusignLooseObjectSchema, docusignSuccessSchema } from "./schemas/index.mjs";
|
|
2
|
-
import { r as defineRestOperation } from "./operation-helpers-
|
|
2
|
+
import { r as defineRestOperation } from "./operation-helpers-DcsuFcq0.mjs";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
|
|
5
5
|
//#region src/enote.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { docusignEnvelopeIdSchema, docusignGenericObjectSchema, docusignLooseObjectSchema, docusignSuccessSchema } from "./schemas/index.mjs";
|
|
2
|
-
import { r as defineRestOperation, t as defineBinaryOperation } from "./operation-helpers-
|
|
2
|
+
import { r as defineRestOperation, t as defineBinaryOperation } from "./operation-helpers-DcsuFcq0.mjs";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
|
|
5
5
|
//#region src/envelope-attachments.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { docusignCustomFieldsInputSchema, docusignCustomFieldsResponseSchema, docusignEnvelopeIdSchema, docusignGenericObjectSchema, docusignLooseObjectSchema, docusignSuccessSchema } from "./schemas/index.mjs";
|
|
2
|
-
import { r as defineRestOperation } from "./operation-helpers-
|
|
2
|
+
import { r as defineRestOperation } from "./operation-helpers-DcsuFcq0.mjs";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
|
|
5
5
|
//#region src/envelope-custom-fields.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { docusignDocumentIdSchema, docusignDocumentListSchema, docusignEnvelopeIdSchema, docusignGenericObjectSchema, docusignLooseObjectSchema, docusignSuccessSchema } from "./schemas/index.mjs";
|
|
2
|
-
import { r as defineRestOperation, t as defineBinaryOperation } from "./operation-helpers-
|
|
2
|
+
import { r as defineRestOperation, t as defineBinaryOperation } from "./operation-helpers-DcsuFcq0.mjs";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
|
|
5
5
|
//#region src/envelope-documents.ts
|
package/dist/envelope-email.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as encodeDocusignPathSegment } from "./shared-DTUCJayR.mjs";
|
|
2
2
|
import { docusignEnvelopeIdSchema, docusignGenericObjectSchema, docusignLooseObjectSchema, docusignSuccessSchema } from "./schemas/index.mjs";
|
|
3
|
-
import { r as defineRestOperation } from "./operation-helpers-
|
|
3
|
+
import { r as defineRestOperation } from "./operation-helpers-DcsuFcq0.mjs";
|
|
4
4
|
import { z } from "zod";
|
|
5
5
|
|
|
6
6
|
//#region src/envelope-email.ts
|
package/dist/envelope-lock.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as encodeDocusignPathSegment } from "./shared-DTUCJayR.mjs";
|
|
2
2
|
import { docusignEnvelopeIdSchema, docusignGenericObjectSchema, docusignLooseObjectSchema, docusignSuccessSchema } from "./schemas/index.mjs";
|
|
3
|
-
import { r as defineRestOperation } from "./operation-helpers-
|
|
3
|
+
import { r as defineRestOperation } from "./operation-helpers-DcsuFcq0.mjs";
|
|
4
4
|
import { z } from "zod";
|
|
5
5
|
|
|
6
6
|
//#region src/envelope-lock.ts
|
package/dist/envelope-logs.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { docusignEnvelopeIdSchema, docusignGenericObjectSchema, docusignLooseObjectSchema, docusignSuccessSchema } from "./schemas/index.mjs";
|
|
2
|
-
import { r as defineRestOperation, t as defineBinaryOperation } from "./operation-helpers-
|
|
2
|
+
import { r as defineRestOperation, t as defineBinaryOperation } from "./operation-helpers-DcsuFcq0.mjs";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
|
|
5
5
|
//#region src/envelope-logs.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { docusignEnvelopeIdSchema, docusignGenericObjectSchema, docusignLooseObjectSchema } from "./schemas/index.mjs";
|
|
2
|
-
import { r as defineRestOperation } from "./operation-helpers-
|
|
2
|
+
import { r as defineRestOperation } from "./operation-helpers-DcsuFcq0.mjs";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
|
|
5
5
|
//#region src/envelope-notifications.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { docusignEnvelopeIdSchema, docusignGenericObjectSchema, docusignLooseObjectSchema, docusignRecipientIdSchema } from "./schemas/index.mjs";
|
|
2
|
-
import { r as defineRestOperation } from "./operation-helpers-
|
|
2
|
+
import { r as defineRestOperation } from "./operation-helpers-DcsuFcq0.mjs";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
|
|
5
5
|
//#region src/envelope-recipients.ts
|
package/dist/envelope-tabs.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { docusignEnvelopeIdSchema, docusignGenericObjectSchema, docusignLooseObjectSchema } from "./schemas/index.mjs";
|
|
2
|
-
import { r as defineRestOperation, t as defineBinaryOperation } from "./operation-helpers-
|
|
2
|
+
import { r as defineRestOperation, t as defineBinaryOperation } from "./operation-helpers-DcsuFcq0.mjs";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
|
|
5
5
|
//#region src/envelope-tabs.ts
|
package/dist/envelope-views.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { docusignEnvelopeIdSchema, docusignLooseObjectSchema, docusignSuccessSchema, docusignTemplateIdSchema } from "./schemas/index.mjs";
|
|
2
|
-
import { r as defineRestOperation } from "./operation-helpers-
|
|
2
|
+
import { r as defineRestOperation } from "./operation-helpers-DcsuFcq0.mjs";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
|
|
5
5
|
//#region src/envelope-views.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as encodeDocusignPathSegment } from "./shared-DTUCJayR.mjs";
|
|
2
2
|
import { docusignEnvelopeIdSchema, docusignGenericObjectSchema, docusignLooseObjectSchema, docusignSuccessSchema } from "./schemas/index.mjs";
|
|
3
|
-
import { r as defineRestOperation } from "./operation-helpers-
|
|
3
|
+
import { r as defineRestOperation } from "./operation-helpers-DcsuFcq0.mjs";
|
|
4
4
|
import { z } from "zod";
|
|
5
5
|
|
|
6
6
|
//#region src/envelope-workflow.ts
|
package/dist/envelopes.d.mts
CHANGED
|
@@ -6,6 +6,7 @@ import * as _keystrokehq_core_credential_set0 from "@keystrokehq/core/credential
|
|
|
6
6
|
declare const getEnvelope: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
7
7
|
envelopeId: z.ZodString;
|
|
8
8
|
include: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
9
|
+
workflow: "workflow";
|
|
9
10
|
recipients: "recipients";
|
|
10
11
|
tabs: "tabs";
|
|
11
12
|
custom_fields: "custom_fields";
|
|
@@ -14,7 +15,6 @@ declare const getEnvelope: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
14
15
|
extensions: "extensions";
|
|
15
16
|
powerform: "powerform";
|
|
16
17
|
payment_tabs: "payment_tabs";
|
|
17
|
-
workflow: "workflow";
|
|
18
18
|
}>>>;
|
|
19
19
|
advancedUpdate: z.ZodOptional<z.ZodBoolean>;
|
|
20
20
|
}, z.core.$strip>, z.ZodObject<{
|
package/dist/envelopes.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { docusignEnvelopeCreateInputSchema, docusignEnvelopeIdSchema, docusignEnvelopeSchema, docusignEnvelopeSummarySchema, docusignGenericObjectSchema, docusignIncludeSchema, docusignLooseObjectSchema, docusignSuccessSchema } from "./schemas/index.mjs";
|
|
2
|
-
import { r as defineRestOperation, t as defineBinaryOperation } from "./operation-helpers-
|
|
2
|
+
import { r as defineRestOperation, t as defineBinaryOperation } from "./operation-helpers-DcsuFcq0.mjs";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
|
|
5
5
|
//#region src/envelopes.ts
|
package/dist/groups.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { docusignGenericObjectSchema, docusignGroupListSchema, docusignListPaginationInputSchema, docusignLooseObjectSchema, docusignSuccessSchema } from "./schemas/index.mjs";
|
|
2
|
-
import { r as defineRestOperation } from "./operation-helpers-
|
|
2
|
+
import { r as defineRestOperation } from "./operation-helpers-DcsuFcq0.mjs";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
|
|
5
5
|
//#region src/groups.ts
|
|
@@ -27,7 +27,7 @@ const docusignAppCredentialSet = new CredentialSet({
|
|
|
27
27
|
* `X-DocuSign-Signature-{N}` header. Verification accepts a delivery if any
|
|
28
28
|
* header matches any configured secret under a constant-time compare.
|
|
29
29
|
*
|
|
30
|
-
* Secrets are parsed from `
|
|
30
|
+
* Secrets are parsed from `KEYSTROKE_OFFICIAL_DOCUSIGN_CONNECT_HMAC_SECRETS`,
|
|
31
31
|
* a comma-separated list with newest first.
|
|
32
32
|
*/
|
|
33
33
|
const docusignConnectCredentialSet = new CredentialSet({
|
|
@@ -57,7 +57,7 @@ const docusignJwtCredentialSet = new CredentialSet({
|
|
|
57
57
|
})
|
|
58
58
|
});
|
|
59
59
|
/**
|
|
60
|
-
* Parse the comma-separated `
|
|
60
|
+
* Parse the comma-separated `KEYSTROKE_OFFICIAL_DOCUSIGN_CONNECT_HMAC_SECRETS`
|
|
61
61
|
* env value into the array shape the internal credential set expects. Empty
|
|
62
62
|
* input resolves to `[]`, which fails the `.min(1)` parse so Connect triggers
|
|
63
63
|
* reject deliveries until the env is populated.
|
|
@@ -72,14 +72,14 @@ const docusignOfficialProviderSeed = {
|
|
|
72
72
|
displayName: "DocuSign Platform",
|
|
73
73
|
credentialSetName: "Keystroke DocuSign Platform App",
|
|
74
74
|
envShape: {
|
|
75
|
-
|
|
76
|
-
|
|
75
|
+
KEYSTROKE_OFFICIAL_DOCUSIGN_CLIENT_ID: z.string().optional(),
|
|
76
|
+
KEYSTROKE_OFFICIAL_DOCUSIGN_CLIENT_SECRET: z.string().optional()
|
|
77
77
|
},
|
|
78
|
-
requiredEnvKeys: ["
|
|
79
|
-
externalAppIdEnvKey: "
|
|
78
|
+
requiredEnvKeys: ["KEYSTROKE_OFFICIAL_DOCUSIGN_CLIENT_ID", "KEYSTROKE_OFFICIAL_DOCUSIGN_CLIENT_SECRET"],
|
|
79
|
+
externalAppIdEnvKey: "KEYSTROKE_OFFICIAL_DOCUSIGN_CLIENT_ID",
|
|
80
80
|
buildCredentials: (env) => ({
|
|
81
|
-
clientId: env.
|
|
82
|
-
clientSecret: env.
|
|
81
|
+
clientId: env.KEYSTROKE_OFFICIAL_DOCUSIGN_CLIENT_ID,
|
|
82
|
+
clientSecret: env.KEYSTROKE_OFFICIAL_DOCUSIGN_CLIENT_SECRET
|
|
83
83
|
})
|
|
84
84
|
};
|
|
85
85
|
|
package/dist/monitor.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { docusignGenericObjectSchema } from "./schemas/index.mjs";
|
|
2
|
-
import { n as definePlanGatedOperation } from "./operation-helpers-
|
|
2
|
+
import { n as definePlanGatedOperation } from "./operation-helpers-DcsuFcq0.mjs";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
|
|
5
5
|
//#region src/monitor.ts
|
package/dist/notary.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { docusignGenericObjectSchema, docusignLooseObjectSchema, docusignSuccessSchema } from "./schemas/index.mjs";
|
|
2
|
-
import { r as defineRestOperation } from "./operation-helpers-
|
|
2
|
+
import { r as defineRestOperation } from "./operation-helpers-DcsuFcq0.mjs";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
|
|
5
5
|
//#region src/notary.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { DocusignApiError } from "./errors.mjs";
|
|
2
2
|
import { n as omitUndefined, t as encodeDocusignPathSegment } from "./shared-DTUCJayR.mjs";
|
|
3
3
|
import { createDocusignClient } from "./client.mjs";
|
|
4
|
-
import { t as docusignOperation } from "./factory-
|
|
4
|
+
import { t as docusignOperation } from "./factory-Cj6MzqXn.mjs";
|
|
5
5
|
|
|
6
6
|
//#region src/operation-helpers.ts
|
|
7
7
|
function defineRestOperation(config) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { docusignGenericObjectSchema, docusignLooseObjectSchema, docusignSuccessSchema } from "./schemas/index.mjs";
|
|
2
|
-
import { r as defineRestOperation } from "./operation-helpers-
|
|
2
|
+
import { r as defineRestOperation } from "./operation-helpers-DcsuFcq0.mjs";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
|
|
5
5
|
//#region src/permission-profiles.ts
|
package/dist/power-forms.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { docusignGenericObjectSchema, docusignSuccessSchema } from "./schemas/index.mjs";
|
|
2
|
-
import { r as defineRestOperation } from "./operation-helpers-
|
|
2
|
+
import { r as defineRestOperation } from "./operation-helpers-DcsuFcq0.mjs";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
|
|
5
5
|
//#region src/power-forms.ts
|
package/dist/rooms.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { docusignGenericObjectSchema } from "./schemas/index.mjs";
|
|
2
|
-
import { n as definePlanGatedOperation } from "./operation-helpers-
|
|
2
|
+
import { n as definePlanGatedOperation } from "./operation-helpers-DcsuFcq0.mjs";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
|
|
5
5
|
//#region src/rooms.ts
|
package/dist/schemas/index.d.mts
CHANGED
|
@@ -24,17 +24,17 @@ declare const docusignListPaginationSchema: z.ZodObject<{
|
|
|
24
24
|
}, z.core.$catchall<z.ZodUnknown>>;
|
|
25
25
|
declare const docusignEnvelopeStatusSchema: z.ZodEnum<{
|
|
26
26
|
any: "any";
|
|
27
|
+
correct: "correct";
|
|
27
28
|
created: "created";
|
|
28
29
|
sent: "sent";
|
|
30
|
+
voided: "voided";
|
|
29
31
|
delivered: "delivered";
|
|
30
32
|
signed: "signed";
|
|
31
33
|
completed: "completed";
|
|
32
34
|
declined: "declined";
|
|
33
|
-
voided: "voided";
|
|
34
35
|
timedout: "timedout";
|
|
35
36
|
processing: "processing";
|
|
36
37
|
template: "template";
|
|
37
|
-
correct: "correct";
|
|
38
38
|
deleted: "deleted";
|
|
39
39
|
"waiting-for-others": "waiting-for-others";
|
|
40
40
|
transfer: "transfer";
|
|
@@ -84,6 +84,7 @@ declare const docusignTabTypeSchema: z.ZodEnum<{
|
|
|
84
84
|
commentThreadTabs: "commentThreadTabs";
|
|
85
85
|
}>;
|
|
86
86
|
declare const docusignIncludeSchema: z.ZodArray<z.ZodEnum<{
|
|
87
|
+
workflow: "workflow";
|
|
87
88
|
recipients: "recipients";
|
|
88
89
|
tabs: "tabs";
|
|
89
90
|
custom_fields: "custom_fields";
|
|
@@ -92,7 +93,6 @@ declare const docusignIncludeSchema: z.ZodArray<z.ZodEnum<{
|
|
|
92
93
|
extensions: "extensions";
|
|
93
94
|
powerform: "powerform";
|
|
94
95
|
payment_tabs: "payment_tabs";
|
|
95
|
-
workflow: "workflow";
|
|
96
96
|
}>>;
|
|
97
97
|
declare const docusignSignerInputSchema: z.ZodObject<{
|
|
98
98
|
email: z.ZodEmail;
|
package/dist/signing-groups.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { docusignGenericObjectSchema, docusignLooseObjectSchema, docusignSuccessSchema } from "./schemas/index.mjs";
|
|
2
|
-
import { r as defineRestOperation } from "./operation-helpers-
|
|
2
|
+
import { r as defineRestOperation } from "./operation-helpers-DcsuFcq0.mjs";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
|
|
5
5
|
//#region src/signing-groups.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { docusignCustomFieldsInputSchema, docusignCustomFieldsResponseSchema, docusignDocumentIdSchema, docusignLooseObjectSchema, docusignSuccessSchema, docusignTemplateIdSchema } from "./schemas/index.mjs";
|
|
2
|
-
import { r as defineRestOperation } from "./operation-helpers-
|
|
2
|
+
import { r as defineRestOperation } from "./operation-helpers-DcsuFcq0.mjs";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
|
|
5
5
|
//#region src/template-custom-fields.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { docusignDocumentIdSchema, docusignGenericObjectSchema, docusignLooseObjectSchema, docusignSuccessSchema, docusignTemplateIdSchema } from "./schemas/index.mjs";
|
|
2
|
-
import { r as defineRestOperation, t as defineBinaryOperation } from "./operation-helpers-
|
|
2
|
+
import { r as defineRestOperation, t as defineBinaryOperation } from "./operation-helpers-DcsuFcq0.mjs";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
|
|
5
5
|
//#region src/template-documents.ts
|
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-DcsuFcq0.mjs";
|
|
4
4
|
import { z } from "zod";
|
|
5
5
|
|
|
6
6
|
//#region src/template-lock.ts
|
|
@@ -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-DcsuFcq0.mjs";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
|
|
5
5
|
//#region src/template-sharing.ts
|
|
@@ -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-DcsuFcq0.mjs";
|
|
4
4
|
import { z } from "zod";
|
|
5
5
|
|
|
6
6
|
//#region src/template-workflow.ts
|
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-DcsuFcq0.mjs";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
|
|
5
5
|
//#region src/templates.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { docusignGenericObjectSchema, docusignLooseObjectSchema, docusignSuccessSchema } from "./schemas/index.mjs";
|
|
2
|
-
import { r as defineRestOperation } from "./operation-helpers-
|
|
2
|
+
import { r as defineRestOperation } from "./operation-helpers-DcsuFcq0.mjs";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
|
|
5
5
|
//#region src/user-authorizations.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { docusignGenericObjectSchema, docusignLooseObjectSchema, docusignSuccessSchema } from "./schemas/index.mjs";
|
|
2
|
-
import { r as defineRestOperation } from "./operation-helpers-
|
|
2
|
+
import { r as defineRestOperation } from "./operation-helpers-DcsuFcq0.mjs";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
|
|
5
5
|
//#region src/user-custom-settings.ts
|
package/dist/user-profile.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { docusignGenericObjectSchema, docusignLooseObjectSchema, docusignSuccessSchema } from "./schemas/index.mjs";
|
|
2
|
-
import { r as defineRestOperation, t as defineBinaryOperation } from "./operation-helpers-
|
|
2
|
+
import { r as defineRestOperation, t as defineBinaryOperation } from "./operation-helpers-DcsuFcq0.mjs";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
|
|
5
5
|
//#region src/user-profile.ts
|
package/dist/user-signatures.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { docusignGenericObjectSchema, docusignLooseObjectSchema, docusignSuccessSchema } from "./schemas/index.mjs";
|
|
2
|
-
import { r as defineRestOperation, t as defineBinaryOperation } from "./operation-helpers-
|
|
2
|
+
import { r as defineRestOperation, t as defineBinaryOperation } from "./operation-helpers-DcsuFcq0.mjs";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
|
|
5
5
|
//#region src/user-signatures.ts
|
package/dist/users.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { docusignGenericObjectSchema, docusignListPaginationInputSchema, docusignLooseObjectSchema, docusignUserListSchema, docusignUserSchema } from "./schemas/index.mjs";
|
|
2
|
-
import { r as defineRestOperation } from "./operation-helpers-
|
|
2
|
+
import { r as defineRestOperation } from "./operation-helpers-DcsuFcq0.mjs";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
|
|
5
5
|
//#region src/users.ts
|
package/dist/workspaces.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { docusignGenericObjectSchema, docusignLooseObjectSchema, docusignSuccessSchema } from "./schemas/index.mjs";
|
|
2
|
-
import { r as defineRestOperation, t as defineBinaryOperation } from "./operation-helpers-
|
|
2
|
+
import { r as defineRestOperation, t as defineBinaryOperation } from "./operation-helpers-DcsuFcq0.mjs";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
|
|
5
5
|
//#region src/workspaces.ts
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@keystrokehq/docusign",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.7",
|
|
4
4
|
"private": false,
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"type": "module",
|
|
@@ -244,19 +244,19 @@
|
|
|
244
244
|
"LICENSE"
|
|
245
245
|
],
|
|
246
246
|
"dependencies": {
|
|
247
|
-
"@keystrokehq/credential-connection": "^0.0.
|
|
248
|
-
"@keystrokehq/integration-authoring": "^0.0.
|
|
247
|
+
"@keystrokehq/credential-connection": "^0.0.6",
|
|
248
|
+
"@keystrokehq/integration-authoring": "^0.0.7",
|
|
249
249
|
"zod": "^4.3.6"
|
|
250
250
|
},
|
|
251
251
|
"peerDependencies": {
|
|
252
|
-
"@keystrokehq/core": ">=0.0.
|
|
252
|
+
"@keystrokehq/core": ">=0.0.8 <0.1.0"
|
|
253
253
|
},
|
|
254
254
|
"devDependencies": {
|
|
255
255
|
"@types/node": "^22.19.11",
|
|
256
256
|
"tsdown": "^0.20.3",
|
|
257
257
|
"typescript": "^5.9.3",
|
|
258
258
|
"vitest": "^4.0.18",
|
|
259
|
-
"@keystrokehq/core": "^0.0.
|
|
259
|
+
"@keystrokehq/core": "^0.0.8",
|
|
260
260
|
"@keystrokehq/test-utils": "0.0.0",
|
|
261
261
|
"@keystrokehq/typescript-config": "0.0.0"
|
|
262
262
|
},
|