@breadstone/archipel-mcp 0.0.17 → 0.0.19

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 (31) hide show
  1. package/data/guides/esigning-integration.md +1 -2
  2. package/data/guides/openapi-and-feature-discovery.md +20 -12
  3. package/data/packages/platform-caching/index.md +8 -5
  4. package/data/packages/platform-cryptography/index.md +6 -8
  5. package/data/packages/platform-esigning/api/Class.AdobeSignEsigningProvider.md +242 -0
  6. package/data/packages/platform-esigning/api/Class.DocuSignEsigningProvider.md +236 -0
  7. package/data/packages/platform-esigning/api/Class.DropboxSignEsigningProvider.md +236 -0
  8. package/data/packages/platform-esigning/api/Class.EsigningClientPort.md +4 -1
  9. package/data/packages/platform-esigning/api/Class.EsigningModule.md +28 -2
  10. package/data/packages/platform-esigning/api/Interface.IEsigningModuleAsyncOptions.md +87 -0
  11. package/data/packages/platform-esigning/api/Interface.IEsigningModuleOptions.md +5 -5
  12. package/data/packages/platform-esigning/api/Interface.IEsigningModuleOptionsFactory.md +31 -0
  13. package/data/packages/platform-esigning/api/index.md +6 -13
  14. package/data/packages/platform-esigning/index.md +3 -22
  15. package/data/packages/platform-logging/index.md +18 -46
  16. package/data/packages/platform-openapi/api/Function.Api.md +3 -14
  17. package/data/packages/platform-openapi/api/index.md +1 -1
  18. package/data/packages/platform-openapi/index.md +78 -43
  19. package/package.json +1 -1
  20. package/data/packages/platform-esigning/api/Variable.ESIGNING_API_BASE_URL.md +0 -14
  21. package/data/packages/platform-esigning/api/Variable.ESIGNING_API_KEY.md +0 -14
  22. package/data/packages/platform-esigning/api/Variable.ESIGNING_PROVIDER.md +0 -12
  23. package/data/packages/platform-esigning/api/Variable.ESIGNING_PROVIDER_OPTIONS.md +0 -12
  24. package/data/packages/platform-esigning/api/Variable.ESIGNING_WEBHOOK_SECRET.md +0 -14
  25. package/data/packages/platform-esigning/api/Variable.PLATFORM_ESIGNING_CONFIG_ENTRIES.md +0 -14
  26. package/data/packages/platform-esigning/api/Variable.SIGNNOW_API_KEY.md +0 -14
  27. package/data/packages/platform-esigning/api/Variable.SIGNNOW_BASE_URL.md +0 -14
  28. package/data/packages/platform-esigning/api/Variable.SIGNNOW_CLIENT_ID.md +0 -14
  29. package/data/packages/platform-esigning/api/Variable.SIGNNOW_CLIENT_SECRET.md +0 -14
  30. package/data/packages/platform-esigning/api/Variable.SIGNNOW_CONFIG_ENTRIES.md +0 -14
  31. package/data/packages/platform-esigning/api/Variable.SIGNNOW_WEBHOOK_SECRET.md +0 -14
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  title: E-Signing Integration
3
- description: Integrate electronic signature workflows with DocuSign, Adobe Sign, Dropbox Sign, SignNow, or an internal provider.
3
+ description: Integrate electronic signature workflows with DocuSign, Adobe Sign, Dropbox Sign, or an internal provider.
4
4
  order: 12
5
5
  ---
6
6
 
@@ -27,7 +27,6 @@ yarn add @breadstone/archipel-platform-esigning
27
27
  | **DocuSign** | Industry-standard e-signature platform |
28
28
  | **Adobe Sign** | Adobe Acrobat Sign integration |
29
29
  | **Dropbox Sign** | Dropbox (formerly HelloSign) integration |
30
- | **SignNow** | SignNow e-signature platform |
31
30
  | **Internal** | Custom/self-managed signing |
32
31
 
33
32
  ---
@@ -149,18 +149,26 @@ export class TipController {
149
149
 
150
150
  ### `@Api()` Options Reference
151
151
 
152
- | Option | Type | Description |
153
- | ------------ | --------------------------------------------- | ---------------------------------------------------- |
154
- | `auth` | `'bearer' \| 'basic' \| 'oauth2' \| 'cookie'` | Adds the corresponding auth decorator. |
155
- | `tags` | `string \| string[]` | OpenAPI tag(s) for the operation. |
156
- | `operation` | `ApiOperationOptions` | Summary, description, deprecation flag, etc. |
157
- | `responses` | `ApiResponseOptions \| ApiResponseOptions[]` | One or more response definitions. |
158
- | `headers` | `ApiHeaderOptions[]` | Expected request headers. |
159
- | `params` | `ApiParamOptions \| ApiParamOptions[]` | Path parameter definitions. |
160
- | `query` | `ApiQueryOptions \| ApiQueryOptions[]` | Query parameter definitions. |
161
- | `body` | `ApiBodyOptions` | Request body definition. |
162
- | `scopes` | `string[]` | OAuth2 scopes (only relevant when `auth: 'oauth2'`). |
163
- | `extensions` | `Record<string, string \| number \| boolean>` | Custom OpenAPI extension properties (`x-*`). |
152
+ | Option | Type | Description |
153
+ | ------------ | ----------------------------------------------------------------- | -------------------------------------------------------------------- |
154
+ | `auth` | `ApiAuthOption \| ApiAuthOption[]` | Auth scheme(s). Simple string (`'bearer'`) or named (`{ type: 'bearer', name: 'jwt' }`). Supports multiple simultaneous schemes. |
155
+ | `tags` | `string \| string[]` | OpenAPI tag(s) for the operation. |
156
+ | `operation` | `ApiOperationOptions` | Summary, description, operationId, deprecation flag, etc. |
157
+ | `summary` | `string` | Shorthand for `operation.summary`. Takes precedence when both are set. |
158
+ | `deprecated` | `boolean` | Shorthand to mark the endpoint as deprecated. Merged into `operation`. |
159
+ | `responses` | `ApiResponseOptions \| ApiResponseOptions[]` | One or more response definitions. |
160
+ | `headers` | `ApiHeaderOptions[]` | Expected request headers. |
161
+ | `params` | `ApiParamOptions \| ApiParamOptions[]` | Path parameter definitions. |
162
+ | `query` | `ApiQueryOptions \| ApiQueryOptions[]` | Query parameter definitions. |
163
+ | `body` | `ApiBodyOptions` | Request body definition. |
164
+ | `scopes` | `string[]` | OAuth2 scopes (only relevant when `auth` includes `'oauth2'`). |
165
+ | `extensions` | `Record<string, unknown>` | Custom OpenAPI extension properties (`x-*`). |
166
+ | `consumes` | `string \| string[]` | MIME type(s) the endpoint consumes (e.g. `'multipart/form-data'`). |
167
+ | `produces` | `string \| string[]` | MIME type(s) the endpoint produces (e.g. `'application/pdf'`). |
168
+ | `extraModels`| `Function \| Function[]` | Extra model classes for polymorphic / discriminated-union schemas. |
169
+ | `security` | `IApiSecurityOption \| IApiSecurityOption[]` | Generic security scheme(s) for custom API keys or non-standard auth. |
170
+ | `exclude` | `boolean` | Excludes this endpoint from the Swagger documentation when `true`. |
171
+ | `callbacks` | `ApiCallbacksOptions` | OpenAPI callback / webhook definitions. |
164
172
 
165
173
  ---
166
174
 
@@ -32,7 +32,9 @@ For Redis-backed caching:
32
32
  import { RedisLayeredCache } from '@breadstone/archipel-platform-caching/redis';
33
33
 
34
34
  const cache = new RedisLayeredCache<string, IProduct>(redisClient, async (key) => productRepository.findById(key), {
35
- ttlMs: 300_000,
35
+ url: 'redis://localhost:6379',
36
+ keyPrefix: 'products:',
37
+ ttlSeconds: 300,
36
38
  cacheName: 'products',
37
39
  });
38
40
  ```
@@ -72,12 +74,13 @@ Both implementations share this contract:
72
74
 
73
75
  | Property | Type | Default | Description |
74
76
  | ---------------------- | ----------------------- | ---------------- | ------------------------------------------------------- |
75
- | `ttlMs` | `number` | | Time-to-live in milliseconds. |
76
- | `staleWhileRevalidate` | `boolean` | `false` | Serve stale entries while refreshing in the background. |
77
- | `metricsRecorder` | `ICacheMetricsRecorder` | Noop | Pluggable metrics hook. |
78
- | `cacheName` | `string` | `'redis'` | Label used in metrics and logging. |
77
+ | `url` | `string` | | Redis connection URL (e.g. `redis://localhost:6379`). |
78
+ | `keyPrefix` | `string` | | Key prefix applied to all Redis keys. |
79
+ | `ttlSeconds` | `number` | | Time-to-live in seconds. |
79
80
  | `serialize` | `(value) => string` | `JSON.stringify` | Custom serializer for cache values. |
80
81
  | `deserialize` | `(raw) => value` | `JSON.parse` | Custom deserializer for cache entries. |
82
+ | `metricsRecorder` | `ICacheMetricsRecorder` | Noop | Pluggable metrics hook. |
83
+ | `cacheName` | `string` | `'redis'` | Label used in metrics and logging. |
81
84
 
82
85
  ---
83
86
 
@@ -15,12 +15,10 @@ Cryptographic building blocks for NestJS applications: bcrypt password hashing,
15
15
  ## Quick Start
16
16
 
17
17
  ```typescript
18
- import {
19
- BcryptService,
20
- CryptoService,
21
- OtpService,
22
- OTP_SERVICE_TOKEN,
23
- } from '@breadstone/archipel-platform-cryptography';
18
+ import { BcryptService, CryptoService } from '@breadstone/archipel-platform-cryptography';
19
+
20
+ // OTP is a tree-shakable sub-export
21
+ import { OtpService, OTP_SERVICE_TOKEN } from '@breadstone/archipel-platform-cryptography/otp';
24
22
  ```
25
23
 
26
24
  ---
@@ -83,7 +81,7 @@ TOTP enrollment and verification backed by otplib v13, injected via the `OTP_SER
83
81
 
84
82
  ```typescript
85
83
  import { Module } from '@nestjs/common';
86
- import { OtpService, OTP_SERVICE_TOKEN } from '@breadstone/archipel-platform-cryptography';
84
+ import { OtpService, OTP_SERVICE_TOKEN } from '@breadstone/archipel-platform-cryptography/otp';
87
85
 
88
86
  @Module({
89
87
  providers: [{ provide: OTP_SERVICE_TOKEN, useClass: OtpService }],
@@ -96,7 +94,7 @@ export class SecurityModule {}
96
94
 
97
95
  ```typescript
98
96
  import { Inject, Injectable } from '@nestjs/common';
99
- import { OTP_SERVICE_TOKEN, IOtpService } from '@breadstone/archipel-platform-cryptography';
97
+ import { OTP_SERVICE_TOKEN, IOtpService } from '@breadstone/archipel-platform-cryptography/otp';
100
98
 
101
99
  @Injectable()
102
100
  export class MfaService {
@@ -0,0 +1,242 @@
1
+ ---
2
+ title: 'Class: AdobeSignEsigningProvider'
3
+ generated: true
4
+ editUrl: false
5
+ ---
6
+ # Class: AdobeSignEsigningProvider
7
+
8
+ Defined in: [adobe-sign/AdobeSignEsigningProvider.ts:114](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-esigning/src/adobe-sign/AdobeSignEsigningProvider.ts#L114)
9
+
10
+ Adobe Acrobat Sign e-signing provider.
11
+ Integrates with the Adobe Sign REST API v6 to manage agreements,
12
+ signing sessions, and webhook verification.
13
+
14
+ ## Remarks
15
+
16
+ Adobe Sign does not provide a maintained Node.js SDK.
17
+ This provider communicates with the REST API directly using the
18
+ built-in `fetch` API available in Node.js 18+.
19
+
20
+ ## Extends
21
+
22
+ - [`EsigningClientPort`](Class.EsigningClientPort)
23
+
24
+ ## Constructors
25
+
26
+ ### Constructor
27
+
28
+ ```ts
29
+ new AdobeSignEsigningProvider(config): AdobeSignEsigningProvider;
30
+ ```
31
+
32
+ Defined in: [adobe-sign/AdobeSignEsigningProvider.ts:124](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-esigning/src/adobe-sign/AdobeSignEsigningProvider.ts#L124)
33
+
34
+ #### Parameters
35
+
36
+ | Parameter | Type |
37
+ | ------ | ------ |
38
+ | `config` | `ConfigService` |
39
+
40
+ #### Returns
41
+
42
+ `AdobeSignEsigningProvider`
43
+
44
+ #### Overrides
45
+
46
+ [`EsigningClientPort`](Class.EsigningClientPort).[`constructor`](Class.EsigningClientPort#constructor)
47
+
48
+ ## Accessors
49
+
50
+ ### providerId
51
+
52
+ #### Get Signature
53
+
54
+ ```ts
55
+ get providerId(): string;
56
+ ```
57
+
58
+ Defined in: [adobe-sign/AdobeSignEsigningProvider.ts:133](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-esigning/src/adobe-sign/AdobeSignEsigningProvider.ts#L133)
59
+
60
+ Unique identifier of the provider implementation.
61
+
62
+ ##### Returns
63
+
64
+ `string`
65
+
66
+ Unique identifier of the provider implementation.
67
+
68
+ #### Overrides
69
+
70
+ [`EsigningClientPort`](Class.EsigningClientPort).[`providerId`](Class.EsigningClientPort#providerid)
71
+
72
+ ## Methods
73
+
74
+ ### cancelSigningRequest()
75
+
76
+ ```ts
77
+ cancelSigningRequest(signingRequestId, reason?): Promise<void>;
78
+ ```
79
+
80
+ Defined in: [adobe-sign/AdobeSignEsigningProvider.ts:310](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-esigning/src/adobe-sign/AdobeSignEsigningProvider.ts#L310)
81
+
82
+ Cancel an in-progress signing request.
83
+
84
+ #### Parameters
85
+
86
+ | Parameter | Type | Description |
87
+ | ------ | ------ | ------ |
88
+ | `signingRequestId` | `string` | The provider-specific signing request identifier. |
89
+ | `reason?` | `string` | Optional reason for cancellation. |
90
+
91
+ #### Returns
92
+
93
+ `Promise`\<`void`\>
94
+
95
+ #### Overrides
96
+
97
+ [`EsigningClientPort`](Class.EsigningClientPort).[`cancelSigningRequest`](Class.EsigningClientPort#cancelsigningrequest)
98
+
99
+ ***
100
+
101
+ ### createSigningRequest()
102
+
103
+ ```ts
104
+ createSigningRequest(request): Promise<ISigningRequest>;
105
+ ```
106
+
107
+ Defined in: [adobe-sign/AdobeSignEsigningProvider.ts:141](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-esigning/src/adobe-sign/AdobeSignEsigningProvider.ts#L141)
108
+
109
+ Create a new signing request (envelope/agreement).
110
+
111
+ #### Parameters
112
+
113
+ | Parameter | Type | Description |
114
+ | ------ | ------ | ------ |
115
+ | `request` | [`ICreateSigningRequest`](Interface.ICreateSigningRequest) | The signing request creation input. |
116
+
117
+ #### Returns
118
+
119
+ `Promise`\<[`ISigningRequest`](Interface.ISigningRequest)\>
120
+
121
+ The created signing request with provider-assigned identifiers.
122
+
123
+ #### Overrides
124
+
125
+ [`EsigningClientPort`](Class.EsigningClientPort).[`createSigningRequest`](Class.EsigningClientPort#createsigningrequest)
126
+
127
+ ***
128
+
129
+ ### createSigningSession()
130
+
131
+ ```ts
132
+ createSigningSession(request): Promise<ISigningSession>;
133
+ ```
134
+
135
+ Defined in: [adobe-sign/AdobeSignEsigningProvider.ts:216](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-esigning/src/adobe-sign/AdobeSignEsigningProvider.ts#L216)
136
+
137
+ Generate a signing session (signing link/URL) for a specific signer.
138
+
139
+ #### Parameters
140
+
141
+ | Parameter | Type | Description |
142
+ | ------ | ------ | ------ |
143
+ | `request` | [`ICreateSigningSessionRequest`](Interface.ICreateSigningSessionRequest) | The session creation input. |
144
+
145
+ #### Returns
146
+
147
+ `Promise`\<[`ISigningSession`](Interface.ISigningSession)\>
148
+
149
+ The signing session with the signing URL.
150
+
151
+ #### Overrides
152
+
153
+ [`EsigningClientPort`](Class.EsigningClientPort).[`createSigningSession`](Class.EsigningClientPort#createsigningsession)
154
+
155
+ ***
156
+
157
+ ### getSignedDocuments()
158
+
159
+ ```ts
160
+ getSignedDocuments(signingRequestId): Promise<ISignedDocument[]>;
161
+ ```
162
+
163
+ Defined in: [adobe-sign/AdobeSignEsigningProvider.ts:286](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-esigning/src/adobe-sign/AdobeSignEsigningProvider.ts#L286)
164
+
165
+ Retrieve the final signed documents for a completed signing request.
166
+
167
+ #### Parameters
168
+
169
+ | Parameter | Type | Description |
170
+ | ------ | ------ | ------ |
171
+ | `signingRequestId` | `string` | The provider-specific signing request identifier. |
172
+
173
+ #### Returns
174
+
175
+ `Promise`\<[`ISignedDocument`](Interface.ISignedDocument)[]\>
176
+
177
+ Array of signed documents with their content.
178
+
179
+ #### Overrides
180
+
181
+ [`EsigningClientPort`](Class.EsigningClientPort).[`getSignedDocuments`](Class.EsigningClientPort#getsigneddocuments)
182
+
183
+ ***
184
+
185
+ ### getSigningRequest()
186
+
187
+ ```ts
188
+ getSigningRequest(signingRequestId): Promise<ISigningRequest>;
189
+ ```
190
+
191
+ Defined in: [adobe-sign/AdobeSignEsigningProvider.ts:253](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-esigning/src/adobe-sign/AdobeSignEsigningProvider.ts#L253)
192
+
193
+ Retrieve the current status and details of a signing request.
194
+
195
+ #### Parameters
196
+
197
+ | Parameter | Type | Description |
198
+ | ------ | ------ | ------ |
199
+ | `signingRequestId` | `string` | The provider-specific signing request identifier. |
200
+
201
+ #### Returns
202
+
203
+ `Promise`\<[`ISigningRequest`](Interface.ISigningRequest)\>
204
+
205
+ The signing request with current status.
206
+
207
+ #### Overrides
208
+
209
+ [`EsigningClientPort`](Class.EsigningClientPort).[`getSigningRequest`](Class.EsigningClientPort#getsigningrequest)
210
+
211
+ ***
212
+
213
+ ### verifyWebhook()
214
+
215
+ ```ts
216
+ verifyWebhook(
217
+ payload,
218
+ _signature,
219
+ headers?): Promise<IEsigningWebhookEvent>;
220
+ ```
221
+
222
+ Defined in: [adobe-sign/AdobeSignEsigningProvider.ts:320](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-esigning/src/adobe-sign/AdobeSignEsigningProvider.ts#L320)
223
+
224
+ Verify a webhook payload signature and return a normalized event.
225
+
226
+ #### Parameters
227
+
228
+ | Parameter | Type | Description |
229
+ | ------ | ------ | ------ |
230
+ | `payload` | `string` \| `Buffer`\<`ArrayBufferLike`\> | Raw webhook body. |
231
+ | `_signature` | `string` | - |
232
+ | `headers?` | `Record`\<`string`, `string`\> | Optional webhook request headers (for timestamp/nonce validation). |
233
+
234
+ #### Returns
235
+
236
+ `Promise`\<[`IEsigningWebhookEvent`](Interface.IEsigningWebhookEvent)\>
237
+
238
+ Normalized webhook event.
239
+
240
+ #### Overrides
241
+
242
+ [`EsigningClientPort`](Class.EsigningClientPort).[`verifyWebhook`](Class.EsigningClientPort#verifywebhook)
@@ -0,0 +1,236 @@
1
+ ---
2
+ title: 'Class: DocuSignEsigningProvider'
3
+ generated: true
4
+ editUrl: false
5
+ ---
6
+ # Class: DocuSignEsigningProvider
7
+
8
+ Defined in: [docusign/DocuSignEsigningProvider.ts:93](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-esigning/src/docusign/DocuSignEsigningProvider.ts#L93)
9
+
10
+ DocuSign eSignature provider.
11
+ Integrates with the DocuSign eSignature REST API v2.1 via the official
12
+ `docusign-esign` Node.js SDK.
13
+
14
+ ## Extends
15
+
16
+ - [`EsigningClientPort`](Class.EsigningClientPort)
17
+
18
+ ## Constructors
19
+
20
+ ### Constructor
21
+
22
+ ```ts
23
+ new DocuSignEsigningProvider(config): DocuSignEsigningProvider;
24
+ ```
25
+
26
+ Defined in: [docusign/DocuSignEsigningProvider.ts:105](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-esigning/src/docusign/DocuSignEsigningProvider.ts#L105)
27
+
28
+ #### Parameters
29
+
30
+ | Parameter | Type |
31
+ | ------ | ------ |
32
+ | `config` | `ConfigService` |
33
+
34
+ #### Returns
35
+
36
+ `DocuSignEsigningProvider`
37
+
38
+ #### Overrides
39
+
40
+ [`EsigningClientPort`](Class.EsigningClientPort).[`constructor`](Class.EsigningClientPort#constructor)
41
+
42
+ ## Accessors
43
+
44
+ ### providerId
45
+
46
+ #### Get Signature
47
+
48
+ ```ts
49
+ get providerId(): string;
50
+ ```
51
+
52
+ Defined in: [docusign/DocuSignEsigningProvider.ts:123](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-esigning/src/docusign/DocuSignEsigningProvider.ts#L123)
53
+
54
+ Unique identifier of the provider implementation.
55
+
56
+ ##### Returns
57
+
58
+ `string`
59
+
60
+ Unique identifier of the provider implementation.
61
+
62
+ #### Overrides
63
+
64
+ [`EsigningClientPort`](Class.EsigningClientPort).[`providerId`](Class.EsigningClientPort#providerid)
65
+
66
+ ## Methods
67
+
68
+ ### cancelSigningRequest()
69
+
70
+ ```ts
71
+ cancelSigningRequest(signingRequestId, reason?): Promise<void>;
72
+ ```
73
+
74
+ Defined in: [docusign/DocuSignEsigningProvider.ts:290](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-esigning/src/docusign/DocuSignEsigningProvider.ts#L290)
75
+
76
+ Cancel an in-progress signing request.
77
+
78
+ #### Parameters
79
+
80
+ | Parameter | Type | Description |
81
+ | ------ | ------ | ------ |
82
+ | `signingRequestId` | `string` | The provider-specific signing request identifier. |
83
+ | `reason?` | `string` | Optional reason for cancellation. |
84
+
85
+ #### Returns
86
+
87
+ `Promise`\<`void`\>
88
+
89
+ #### Overrides
90
+
91
+ [`EsigningClientPort`](Class.EsigningClientPort).[`cancelSigningRequest`](Class.EsigningClientPort#cancelsigningrequest)
92
+
93
+ ***
94
+
95
+ ### createSigningRequest()
96
+
97
+ ```ts
98
+ createSigningRequest(request): Promise<ISigningRequest>;
99
+ ```
100
+
101
+ Defined in: [docusign/DocuSignEsigningProvider.ts:131](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-esigning/src/docusign/DocuSignEsigningProvider.ts#L131)
102
+
103
+ Create a new signing request (envelope/agreement).
104
+
105
+ #### Parameters
106
+
107
+ | Parameter | Type | Description |
108
+ | ------ | ------ | ------ |
109
+ | `request` | [`ICreateSigningRequest`](Interface.ICreateSigningRequest) | The signing request creation input. |
110
+
111
+ #### Returns
112
+
113
+ `Promise`\<[`ISigningRequest`](Interface.ISigningRequest)\>
114
+
115
+ The created signing request with provider-assigned identifiers.
116
+
117
+ #### Overrides
118
+
119
+ [`EsigningClientPort`](Class.EsigningClientPort).[`createSigningRequest`](Class.EsigningClientPort#createsigningrequest)
120
+
121
+ ***
122
+
123
+ ### createSigningSession()
124
+
125
+ ```ts
126
+ createSigningSession(request): Promise<ISigningSession>;
127
+ ```
128
+
129
+ Defined in: [docusign/DocuSignEsigningProvider.ts:204](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-esigning/src/docusign/DocuSignEsigningProvider.ts#L204)
130
+
131
+ Generate a signing session (signing link/URL) for a specific signer.
132
+
133
+ #### Parameters
134
+
135
+ | Parameter | Type | Description |
136
+ | ------ | ------ | ------ |
137
+ | `request` | [`ICreateSigningSessionRequest`](Interface.ICreateSigningSessionRequest) | The session creation input. |
138
+
139
+ #### Returns
140
+
141
+ `Promise`\<[`ISigningSession`](Interface.ISigningSession)\>
142
+
143
+ The signing session with the signing URL.
144
+
145
+ #### Overrides
146
+
147
+ [`EsigningClientPort`](Class.EsigningClientPort).[`createSigningSession`](Class.EsigningClientPort#createsigningsession)
148
+
149
+ ***
150
+
151
+ ### getSignedDocuments()
152
+
153
+ ```ts
154
+ getSignedDocuments(signingRequestId): Promise<ISignedDocument[]>;
155
+ ```
156
+
157
+ Defined in: [docusign/DocuSignEsigningProvider.ts:261](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-esigning/src/docusign/DocuSignEsigningProvider.ts#L261)
158
+
159
+ Retrieve the final signed documents for a completed signing request.
160
+
161
+ #### Parameters
162
+
163
+ | Parameter | Type | Description |
164
+ | ------ | ------ | ------ |
165
+ | `signingRequestId` | `string` | The provider-specific signing request identifier. |
166
+
167
+ #### Returns
168
+
169
+ `Promise`\<[`ISignedDocument`](Interface.ISignedDocument)[]\>
170
+
171
+ Array of signed documents with their content.
172
+
173
+ #### Overrides
174
+
175
+ [`EsigningClientPort`](Class.EsigningClientPort).[`getSignedDocuments`](Class.EsigningClientPort#getsigneddocuments)
176
+
177
+ ***
178
+
179
+ ### getSigningRequest()
180
+
181
+ ```ts
182
+ getSigningRequest(signingRequestId): Promise<ISigningRequest>;
183
+ ```
184
+
185
+ Defined in: [docusign/DocuSignEsigningProvider.ts:246](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-esigning/src/docusign/DocuSignEsigningProvider.ts#L246)
186
+
187
+ Retrieve the current status and details of a signing request.
188
+
189
+ #### Parameters
190
+
191
+ | Parameter | Type | Description |
192
+ | ------ | ------ | ------ |
193
+ | `signingRequestId` | `string` | The provider-specific signing request identifier. |
194
+
195
+ #### Returns
196
+
197
+ `Promise`\<[`ISigningRequest`](Interface.ISigningRequest)\>
198
+
199
+ The signing request with current status.
200
+
201
+ #### Overrides
202
+
203
+ [`EsigningClientPort`](Class.EsigningClientPort).[`getSigningRequest`](Class.EsigningClientPort#getsigningrequest)
204
+
205
+ ***
206
+
207
+ ### verifyWebhook()
208
+
209
+ ```ts
210
+ verifyWebhook(
211
+ payload,
212
+ signature,
213
+ _headers?): Promise<IEsigningWebhookEvent>;
214
+ ```
215
+
216
+ Defined in: [docusign/DocuSignEsigningProvider.ts:306](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-esigning/src/docusign/DocuSignEsigningProvider.ts#L306)
217
+
218
+ Verify a webhook payload signature and return a normalized event.
219
+
220
+ #### Parameters
221
+
222
+ | Parameter | Type | Description |
223
+ | ------ | ------ | ------ |
224
+ | `payload` | `string` \| `Buffer`\<`ArrayBufferLike`\> | Raw webhook body. |
225
+ | `signature` | `string` | Webhook signature header value. |
226
+ | `_headers?` | `Record`\<`string`, `string`\> | - |
227
+
228
+ #### Returns
229
+
230
+ `Promise`\<[`IEsigningWebhookEvent`](Interface.IEsigningWebhookEvent)\>
231
+
232
+ Normalized webhook event.
233
+
234
+ #### Overrides
235
+
236
+ [`EsigningClientPort`](Class.EsigningClientPort).[`verifyWebhook`](Class.EsigningClientPort#verifywebhook)