@keystrokehq/docusign 0.0.5 → 0.0.6-rename-t1.1
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 +8 -8
- package/dist/_official/index.mjs +2 -2
- 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.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.mjs +1 -1
- package/dist/{factory-ClSEzrAD.mjs → factory-Cj6MzqXn.mjs} +1 -1
- package/dist/groups.mjs +1 -1
- package/dist/{integration-CvklEzS1.mjs → integration-BykMcCMC.mjs} +10 -10
- package/dist/monitor.mjs +1 -1
- package/dist/notary.mjs +1 -1
- package/dist/{operation-helpers-zBo8nFfG.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/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 +3 -3
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,23 +60,23 @@ 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.
|
|
67
67
|
*/
|
|
68
68
|
declare function parseHmacSecrets(raw: string | undefined): readonly string[];
|
|
69
|
-
declare const
|
|
69
|
+
declare const docusignOfficialProviderSeed: {
|
|
70
70
|
readonly provider: "docusign";
|
|
71
71
|
readonly appRef: "docusign-platform";
|
|
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;
|
|
@@ -86,4 +86,4 @@ type DocusignAppCredentials = z.infer<typeof docusignAppCredentialSet.auth>;
|
|
|
86
86
|
type DocusignConnectCredentials = z.infer<typeof docusignConnectCredentialSet.auth>;
|
|
87
87
|
type DocusignJwtCredentials = z.infer<typeof docusignJwtCredentialSet.auth>;
|
|
88
88
|
//#endregion
|
|
89
|
-
export { DocusignAppCredentials, DocusignConnectCredentials, DocusignJwtCredentials, docusignAppCredentialSet, docusignBundle, docusignConnectCredentialSet, docusignJwtCredentialSet, docusignOfficialIntegration,
|
|
89
|
+
export { DocusignAppCredentials, DocusignConnectCredentials, DocusignJwtCredentials, docusignAppCredentialSet, docusignBundle, docusignConnectCredentialSet, docusignJwtCredentialSet, docusignOfficialIntegration, docusignOfficialProviderSeed, parseHmacSecrets };
|
package/dist/_official/index.mjs
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { c as docusignJwtCredentialSet, l as
|
|
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
|
-
export { docusignAppCredentialSet, docusignBundle, docusignConnectCredentialSet, docusignJwtCredentialSet, docusignOfficialIntegration,
|
|
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.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.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.
|
|
@@ -66,20 +66,20 @@ function parseHmacSecrets(raw) {
|
|
|
66
66
|
if (!raw) return [];
|
|
67
67
|
return raw.split(",").map((secret) => secret.trim()).filter((secret) => secret.length > 0);
|
|
68
68
|
}
|
|
69
|
-
const
|
|
69
|
+
const docusignOfficialProviderSeed = {
|
|
70
70
|
provider: "docusign",
|
|
71
71
|
appRef: "docusign-platform",
|
|
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
|
|
|
@@ -226,4 +226,4 @@ const docusignBundle = defineOfficialIntegration({
|
|
|
226
226
|
const docusign = docusignBundle.credentialSet;
|
|
227
227
|
|
|
228
228
|
//#endregion
|
|
229
|
-
export { fetchDocusignUserinfo as a, docusignJwtCredentialSet as c, DOCUSIGN_USERINFO_URL as i,
|
|
229
|
+
export { fetchDocusignUserinfo as a, docusignJwtCredentialSet as c, DOCUSIGN_USERINFO_URL as i, docusignOfficialProviderSeed as l, docusignBundle as n, docusignAppCredentialSet as o, docusignOfficialIntegration as r, docusignConnectCredentialSet as s, docusign as t, parseHmacSecrets as u };
|
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/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.6-rename-t1.1",
|
|
4
4
|
"private": false,
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"type": "module",
|
|
@@ -244,8 +244,8 @@
|
|
|
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.5-rename-t1.0",
|
|
248
|
+
"@keystrokehq/integration-authoring": "^0.0.6-rename-t1.0",
|
|
249
249
|
"zod": "^4.3.6"
|
|
250
250
|
},
|
|
251
251
|
"peerDependencies": {
|