@openfilz-sdk/typescript-ee 1.4.4 → 1.5.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/.openapi-generator/FILES +22 -0
- package/.openapi-generator/openfilz-api-generate-typescript-sdk.sha256 +1 -1
- package/README.md +22 -2
- package/api/digital-signature-api.ts +479 -0
- package/api/digital-signature-public-api.ts +463 -0
- package/api.ts +2 -0
- package/dist/api/digital-signature-api.d.ts +221 -0
- package/dist/api/digital-signature-api.js +464 -0
- package/dist/api/digital-signature-public-api.d.ts +213 -0
- package/dist/api/digital-signature-public-api.js +446 -0
- package/dist/api.d.ts +2 -0
- package/dist/api.js +2 -0
- package/dist/esm/api/digital-signature-api.d.ts +221 -0
- package/dist/esm/api/digital-signature-api.js +457 -0
- package/dist/esm/api/digital-signature-public-api.d.ts +213 -0
- package/dist/esm/api/digital-signature-public-api.js +439 -0
- package/dist/esm/api.d.ts +2 -0
- package/dist/esm/api.js +2 -0
- package/dist/esm/models/apply-signature-request.d.ts +15 -0
- package/dist/esm/models/apply-signature-request.js +14 -0
- package/dist/esm/models/create-signature-envelope-request.d.ts +19 -0
- package/dist/esm/models/create-signature-envelope-request.js +14 -0
- package/dist/esm/models/decline-signature-request.d.ts +14 -0
- package/dist/esm/models/decline-signature-request.js +14 -0
- package/dist/esm/models/enriched-audit-log.d.ts +7 -0
- package/dist/esm/models/enriched-audit-log.js +8 -1
- package/dist/esm/models/index.d.ts +9 -0
- package/dist/esm/models/index.js +9 -0
- package/dist/esm/models/notification-dto.d.ts +3 -0
- package/dist/esm/models/notification-dto.js +4 -1
- package/dist/esm/models/public-signature-view.d.ts +44 -0
- package/dist/esm/models/public-signature-view.js +27 -0
- package/dist/esm/models/search-by-audit-log-request.d.ts +7 -0
- package/dist/esm/models/search-by-audit-log-request.js +8 -1
- package/dist/esm/models/signature-archive-dto.d.ts +19 -0
- package/dist/esm/models/signature-archive-dto.js +14 -0
- package/dist/esm/models/signature-envelope-dto.d.ts +34 -0
- package/dist/esm/models/signature-envelope-dto.js +21 -0
- package/dist/esm/models/signature-field-placement.d.ts +18 -0
- package/dist/esm/models/signature-field-placement.js +14 -0
- package/dist/esm/models/signature-recipient-dto.d.ts +29 -0
- package/dist/esm/models/signature-recipient-dto.js +19 -0
- package/dist/esm/models/signature-recipient-input.d.ts +18 -0
- package/dist/esm/models/signature-recipient-input.js +14 -0
- package/dist/models/apply-signature-request.d.ts +15 -0
- package/dist/models/apply-signature-request.js +15 -0
- package/dist/models/create-signature-envelope-request.d.ts +19 -0
- package/dist/models/create-signature-envelope-request.js +15 -0
- package/dist/models/decline-signature-request.d.ts +14 -0
- package/dist/models/decline-signature-request.js +15 -0
- package/dist/models/enriched-audit-log.d.ts +7 -0
- package/dist/models/enriched-audit-log.js +8 -1
- package/dist/models/index.d.ts +9 -0
- package/dist/models/index.js +9 -0
- package/dist/models/notification-dto.d.ts +3 -0
- package/dist/models/notification-dto.js +4 -1
- package/dist/models/public-signature-view.d.ts +44 -0
- package/dist/models/public-signature-view.js +30 -0
- package/dist/models/search-by-audit-log-request.d.ts +7 -0
- package/dist/models/search-by-audit-log-request.js +8 -1
- package/dist/models/signature-archive-dto.d.ts +19 -0
- package/dist/models/signature-archive-dto.js +15 -0
- package/dist/models/signature-envelope-dto.d.ts +34 -0
- package/dist/models/signature-envelope-dto.js +24 -0
- package/dist/models/signature-field-placement.d.ts +18 -0
- package/dist/models/signature-field-placement.js +15 -0
- package/dist/models/signature-recipient-dto.d.ts +29 -0
- package/dist/models/signature-recipient-dto.js +22 -0
- package/dist/models/signature-recipient-input.d.ts +18 -0
- package/dist/models/signature-recipient-input.js +15 -0
- package/docs/ApplySignatureRequest.md +22 -0
- package/docs/CreateSignatureEnvelopeRequest.md +28 -0
- package/docs/DeclineSignatureRequest.md +20 -0
- package/docs/DigitalSignatureApi.md +300 -0
- package/docs/DigitalSignaturePublicApi.md +276 -0
- package/docs/PublicSignatureView.md +48 -0
- package/docs/SignatureArchiveDTO.md +30 -0
- package/docs/SignatureEnvelopeDTO.md +40 -0
- package/docs/SignatureFieldPlacement.md +28 -0
- package/docs/SignatureRecipientDTO.md +36 -0
- package/docs/SignatureRecipientInput.md +26 -0
- package/models/apply-signature-request.ts +21 -0
- package/models/create-signature-envelope-request.ts +27 -0
- package/models/decline-signature-request.ts +20 -0
- package/models/enriched-audit-log.ts +8 -1
- package/models/index.ts +9 -0
- package/models/notification-dto.ts +4 -1
- package/models/public-signature-view.ts +54 -0
- package/models/search-by-audit-log-request.ts +8 -1
- package/models/signature-archive-dto.ts +25 -0
- package/models/signature-envelope-dto.ts +45 -0
- package/models/signature-field-placement.ts +24 -0
- package/models/signature-recipient-dto.ts +38 -0
- package/models/signature-recipient-input.ts +26 -0
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -9,6 +9,8 @@ api/comments-api.ts
|
|
|
9
9
|
api/dashboard-api.ts
|
|
10
10
|
api/delegated-browse-grants-admin-api.ts
|
|
11
11
|
api/delegated-browse-grants-end-user-api.ts
|
|
12
|
+
api/digital-signature-api.ts
|
|
13
|
+
api/digital-signature-public-api.ts
|
|
12
14
|
api/document-controller-api.ts
|
|
13
15
|
api/document-suggestion-controller-api.ts
|
|
14
16
|
api/favorites-api.ts
|
|
@@ -27,6 +29,7 @@ base.ts
|
|
|
27
29
|
common.ts
|
|
28
30
|
configuration.ts
|
|
29
31
|
docs/AncestorInfo.md
|
|
32
|
+
docs/ApplySignatureRequest.md
|
|
30
33
|
docs/AuditLogDetails.md
|
|
31
34
|
docs/AuditVerificationResult.md
|
|
32
35
|
docs/BrokenLink.md
|
|
@@ -43,9 +46,11 @@ docs/CreateCommentRequest.md
|
|
|
43
46
|
docs/CreateDelegatedGrantRequest.md
|
|
44
47
|
docs/CreateFolderAudit.md
|
|
45
48
|
docs/CreateFolderRequest.md
|
|
49
|
+
docs/CreateSignatureEnvelopeRequest.md
|
|
46
50
|
docs/CreateTeamRequest.md
|
|
47
51
|
docs/DashboardApi.md
|
|
48
52
|
docs/DashboardStatisticsResponse.md
|
|
53
|
+
docs/DeclineSignatureRequest.md
|
|
49
54
|
docs/DelegatedBrowseGrantsAdminApi.md
|
|
50
55
|
docs/DelegatedBrowseGrantsEndUserApi.md
|
|
51
56
|
docs/DelegatedFolderNode.md
|
|
@@ -55,6 +60,8 @@ docs/DeleteMetadataAudit.md
|
|
|
55
60
|
docs/DeleteMetadataRequest.md
|
|
56
61
|
docs/DeleteRequest.md
|
|
57
62
|
docs/DeleteShareRequest.md
|
|
63
|
+
docs/DigitalSignatureApi.md
|
|
64
|
+
docs/DigitalSignaturePublicApi.md
|
|
58
65
|
docs/DocumentControllerApi.md
|
|
59
66
|
docs/DocumentInfo.md
|
|
60
67
|
docs/DocumentPosition.md
|
|
@@ -75,6 +82,7 @@ docs/MoveAudit.md
|
|
|
75
82
|
docs/MoveRequest.md
|
|
76
83
|
docs/NotificationDTO.md
|
|
77
84
|
docs/NotificationsApi.md
|
|
85
|
+
docs/PublicSignatureView.md
|
|
78
86
|
docs/RenameAudit.md
|
|
79
87
|
docs/RenameRequest.md
|
|
80
88
|
docs/ReplaceAudit.md
|
|
@@ -93,6 +101,11 @@ docs/ShareRequest.md
|
|
|
93
101
|
docs/ShareResultError.md
|
|
94
102
|
docs/ShareResultItem.md
|
|
95
103
|
docs/ShareResultResponse.md
|
|
104
|
+
docs/SignatureArchiveDTO.md
|
|
105
|
+
docs/SignatureEnvelopeDTO.md
|
|
106
|
+
docs/SignatureFieldPlacement.md
|
|
107
|
+
docs/SignatureRecipientDTO.md
|
|
108
|
+
docs/SignatureRecipientInput.md
|
|
96
109
|
docs/SortInput.md
|
|
97
110
|
docs/StorageBreakdown.md
|
|
98
111
|
docs/Suggest.md
|
|
@@ -119,6 +132,7 @@ docs/WebhookProxyControllerApi.md
|
|
|
119
132
|
git_push.sh
|
|
120
133
|
index.ts
|
|
121
134
|
models/ancestor-info.ts
|
|
135
|
+
models/apply-signature-request.ts
|
|
122
136
|
models/audit-log-details.ts
|
|
123
137
|
models/audit-verification-result.ts
|
|
124
138
|
models/broken-link.ts
|
|
@@ -132,8 +146,10 @@ models/create-comment-request.ts
|
|
|
132
146
|
models/create-delegated-grant-request.ts
|
|
133
147
|
models/create-folder-audit.ts
|
|
134
148
|
models/create-folder-request.ts
|
|
149
|
+
models/create-signature-envelope-request.ts
|
|
135
150
|
models/create-team-request.ts
|
|
136
151
|
models/dashboard-statistics-response.ts
|
|
152
|
+
models/decline-signature-request.ts
|
|
137
153
|
models/delegated-folder-node.ts
|
|
138
154
|
models/delegated-grant-dto.ts
|
|
139
155
|
models/delete-audit.ts
|
|
@@ -156,6 +172,7 @@ models/mint-upload-token-request.ts
|
|
|
156
172
|
models/move-audit.ts
|
|
157
173
|
models/move-request.ts
|
|
158
174
|
models/notification-dto.ts
|
|
175
|
+
models/public-signature-view.ts
|
|
159
176
|
models/rename-audit.ts
|
|
160
177
|
models/rename-request.ts
|
|
161
178
|
models/replace-audit.ts
|
|
@@ -170,6 +187,11 @@ models/share-request.ts
|
|
|
170
187
|
models/share-result-error.ts
|
|
171
188
|
models/share-result-item.ts
|
|
172
189
|
models/share-result-response.ts
|
|
190
|
+
models/signature-archive-dto.ts
|
|
191
|
+
models/signature-envelope-dto.ts
|
|
192
|
+
models/signature-field-placement.ts
|
|
193
|
+
models/signature-recipient-dto.ts
|
|
194
|
+
models/signature-recipient-input.ts
|
|
173
195
|
models/sort-input.ts
|
|
174
196
|
models/storage-breakdown.ts
|
|
175
197
|
models/suggest.ts
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
311dcc0aa1560fc232e9bfed7bc4a45e7564a8a1ec137be210f701742a0668be
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @openfilz-sdk/typescript-ee@1.
|
|
1
|
+
## @openfilz-sdk/typescript-ee@1.5.1
|
|
2
2
|
|
|
3
3
|
This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:
|
|
4
4
|
|
|
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
|
|
|
36
36
|
_published:_
|
|
37
37
|
|
|
38
38
|
```
|
|
39
|
-
npm install @openfilz-sdk/typescript-ee@1.
|
|
39
|
+
npm install @openfilz-sdk/typescript-ee@1.5.1 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
|
@@ -83,6 +83,17 @@ Class | Method | HTTP request | Description
|
|
|
83
83
|
*DelegatedBrowseGrantsEndUserApi* | [**disableLinkedWebhook**](docs/DelegatedBrowseGrantsEndUserApi.md#disablelinkedwebhook) | **POST** /api/v1/users/me/delegated/grants/{id}/disable-webhook | Disable the webhook created from this grant
|
|
84
84
|
*DelegatedBrowseGrantsEndUserApi* | [**listIncoming**](docs/DelegatedBrowseGrantsEndUserApi.md#listincoming) | **GET** /api/v1/users/me/delegated/grants | List grants addressed to me
|
|
85
85
|
*DelegatedBrowseGrantsEndUserApi* | [**revoke**](docs/DelegatedBrowseGrantsEndUserApi.md#revoke) | **POST** /api/v1/users/me/delegated/grants/{id}/revoke | Revoke an accepted grant
|
|
86
|
+
*DigitalSignatureApi* | [**archive**](docs/DigitalSignatureApi.md#archive) | **GET** /api/v1/signatures/{id}/archive | Get the PDF/A archive + veraPDF compliance for a completed envelope
|
|
87
|
+
*DigitalSignatureApi* | [**cancel**](docs/DigitalSignatureApi.md#cancel) | **POST** /api/v1/signatures/{id}/cancel | Cancel a non-terminal envelope
|
|
88
|
+
*DigitalSignatureApi* | [**create**](docs/DigitalSignatureApi.md#create) | **POST** /api/v1/signatures | Create and send a signature envelope
|
|
89
|
+
*DigitalSignatureApi* | [**get1**](docs/DigitalSignatureApi.md#get1) | **GET** /api/v1/signatures/{id} | Get a single envelope I sent
|
|
90
|
+
*DigitalSignatureApi* | [**listSent**](docs/DigitalSignatureApi.md#listsent) | **GET** /api/v1/signatures | List envelopes I sent for signature
|
|
91
|
+
*DigitalSignatureApi* | [**listToSign**](docs/DigitalSignatureApi.md#listtosign) | **GET** /api/v1/signatures/to-sign | List documents waiting for my signature
|
|
92
|
+
*DigitalSignaturePublicApi* | [**decline1**](docs/DigitalSignaturePublicApi.md#decline1) | **POST** /api/v1/public/signatures/decline | Decline to sign (voids the envelope)
|
|
93
|
+
*DigitalSignaturePublicApi* | [**document**](docs/DigitalSignaturePublicApi.md#document) | **GET** /api/v1/public/signatures/document | Stream the source PDF for signing
|
|
94
|
+
*DigitalSignaturePublicApi* | [**markViewed**](docs/DigitalSignaturePublicApi.md#markviewed) | **POST** /api/v1/public/signatures/viewed | Record that the recipient opened the document
|
|
95
|
+
*DigitalSignaturePublicApi* | [**sign**](docs/DigitalSignaturePublicApi.md#sign) | **POST** /api/v1/public/signatures/sign | Apply the recipient\'s signature
|
|
96
|
+
*DigitalSignaturePublicApi* | [**view**](docs/DigitalSignaturePublicApi.md#view) | **GET** /api/v1/public/signatures | Resolve a signing token to its envelope view
|
|
86
97
|
*DocumentControllerApi* | [**createBlankDocument**](docs/DocumentControllerApi.md#createblankdocument) | **POST** /api/v1/documents/create-blank | Create a blank document from template
|
|
87
98
|
*DocumentControllerApi* | [**deleteDocumentMetadata**](docs/DocumentControllerApi.md#deletedocumentmetadata) | **DELETE** /api/v1/documents/{documentId}/metadata | Delete specific metadata keys
|
|
88
99
|
*DocumentControllerApi* | [**downloadDocument**](docs/DocumentControllerApi.md#downloaddocument) | **GET** /api/v1/documents/{documentId}/download | Download a document
|
|
@@ -157,6 +168,7 @@ Class | Method | HTTP request | Description
|
|
|
157
168
|
### Documentation For Models
|
|
158
169
|
|
|
159
170
|
- [AncestorInfo](docs/AncestorInfo.md)
|
|
171
|
+
- [ApplySignatureRequest](docs/ApplySignatureRequest.md)
|
|
160
172
|
- [AuditLogDetails](docs/AuditLogDetails.md)
|
|
161
173
|
- [AuditVerificationResult](docs/AuditVerificationResult.md)
|
|
162
174
|
- [BrokenLink](docs/BrokenLink.md)
|
|
@@ -170,8 +182,10 @@ Class | Method | HTTP request | Description
|
|
|
170
182
|
- [CreateDelegatedGrantRequest](docs/CreateDelegatedGrantRequest.md)
|
|
171
183
|
- [CreateFolderAudit](docs/CreateFolderAudit.md)
|
|
172
184
|
- [CreateFolderRequest](docs/CreateFolderRequest.md)
|
|
185
|
+
- [CreateSignatureEnvelopeRequest](docs/CreateSignatureEnvelopeRequest.md)
|
|
173
186
|
- [CreateTeamRequest](docs/CreateTeamRequest.md)
|
|
174
187
|
- [DashboardStatisticsResponse](docs/DashboardStatisticsResponse.md)
|
|
188
|
+
- [DeclineSignatureRequest](docs/DeclineSignatureRequest.md)
|
|
175
189
|
- [DelegatedFolderNode](docs/DelegatedFolderNode.md)
|
|
176
190
|
- [DelegatedGrantDTO](docs/DelegatedGrantDTO.md)
|
|
177
191
|
- [DeleteAudit](docs/DeleteAudit.md)
|
|
@@ -193,6 +207,7 @@ Class | Method | HTTP request | Description
|
|
|
193
207
|
- [MoveAudit](docs/MoveAudit.md)
|
|
194
208
|
- [MoveRequest](docs/MoveRequest.md)
|
|
195
209
|
- [NotificationDTO](docs/NotificationDTO.md)
|
|
210
|
+
- [PublicSignatureView](docs/PublicSignatureView.md)
|
|
196
211
|
- [RenameAudit](docs/RenameAudit.md)
|
|
197
212
|
- [RenameRequest](docs/RenameRequest.md)
|
|
198
213
|
- [ReplaceAudit](docs/ReplaceAudit.md)
|
|
@@ -207,6 +222,11 @@ Class | Method | HTTP request | Description
|
|
|
207
222
|
- [ShareResultError](docs/ShareResultError.md)
|
|
208
223
|
- [ShareResultItem](docs/ShareResultItem.md)
|
|
209
224
|
- [ShareResultResponse](docs/ShareResultResponse.md)
|
|
225
|
+
- [SignatureArchiveDTO](docs/SignatureArchiveDTO.md)
|
|
226
|
+
- [SignatureEnvelopeDTO](docs/SignatureEnvelopeDTO.md)
|
|
227
|
+
- [SignatureFieldPlacement](docs/SignatureFieldPlacement.md)
|
|
228
|
+
- [SignatureRecipientDTO](docs/SignatureRecipientDTO.md)
|
|
229
|
+
- [SignatureRecipientInput](docs/SignatureRecipientInput.md)
|
|
210
230
|
- [SortInput](docs/SortInput.md)
|
|
211
231
|
- [StorageBreakdown](docs/StorageBreakdown.md)
|
|
212
232
|
- [Suggest](docs/Suggest.md)
|
|
@@ -0,0 +1,479 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* openfilz-api
|
|
5
|
+
* API for Document Management System
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
import type { Configuration } from '../configuration';
|
|
17
|
+
import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
18
|
+
import globalAxios from 'axios';
|
|
19
|
+
// Some imports not used depending on template conditions
|
|
20
|
+
// @ts-ignore
|
|
21
|
+
import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction, replaceWithSerializableTypeIfNeeded } from '../common';
|
|
22
|
+
// @ts-ignore
|
|
23
|
+
import { BASE_PATH, COLLECTION_FORMATS, type RequestArgs, BaseAPI, RequiredError, operationServerMap } from '../base';
|
|
24
|
+
// @ts-ignore
|
|
25
|
+
import type { CreateSignatureEnvelopeRequest } from '../models';
|
|
26
|
+
// @ts-ignore
|
|
27
|
+
import type { SignatureArchiveDTO } from '../models';
|
|
28
|
+
// @ts-ignore
|
|
29
|
+
import type { SignatureEnvelopeDTO } from '../models';
|
|
30
|
+
/**
|
|
31
|
+
* DigitalSignatureApi - axios parameter creator
|
|
32
|
+
*/
|
|
33
|
+
export const DigitalSignatureApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
34
|
+
return {
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @summary Get the PDF/A archive + veraPDF compliance for a completed envelope
|
|
38
|
+
* @param {string} id
|
|
39
|
+
* @param {*} [options] Override http request option.
|
|
40
|
+
* @throws {RequiredError}
|
|
41
|
+
*/
|
|
42
|
+
archive: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
43
|
+
// verify required parameter 'id' is not null or undefined
|
|
44
|
+
assertParamExists('archive', 'id', id)
|
|
45
|
+
const localVarPath = `/api/v1/signatures/{id}/archive`
|
|
46
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
47
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
48
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
49
|
+
let baseOptions;
|
|
50
|
+
if (configuration) {
|
|
51
|
+
baseOptions = configuration.baseOptions;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
55
|
+
const localVarHeaderParameter = {} as any;
|
|
56
|
+
const localVarQueryParameter = {} as any;
|
|
57
|
+
|
|
58
|
+
// authentication keycloak_auth required
|
|
59
|
+
// http bearer authentication required
|
|
60
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
61
|
+
|
|
62
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
63
|
+
|
|
64
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
65
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
66
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
67
|
+
|
|
68
|
+
return {
|
|
69
|
+
url: toPathString(localVarUrlObj),
|
|
70
|
+
options: localVarRequestOptions,
|
|
71
|
+
};
|
|
72
|
+
},
|
|
73
|
+
/**
|
|
74
|
+
*
|
|
75
|
+
* @summary Cancel a non-terminal envelope
|
|
76
|
+
* @param {string} id
|
|
77
|
+
* @param {*} [options] Override http request option.
|
|
78
|
+
* @throws {RequiredError}
|
|
79
|
+
*/
|
|
80
|
+
cancel: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
81
|
+
// verify required parameter 'id' is not null or undefined
|
|
82
|
+
assertParamExists('cancel', 'id', id)
|
|
83
|
+
const localVarPath = `/api/v1/signatures/{id}/cancel`
|
|
84
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
85
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
86
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
87
|
+
let baseOptions;
|
|
88
|
+
if (configuration) {
|
|
89
|
+
baseOptions = configuration.baseOptions;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
93
|
+
const localVarHeaderParameter = {} as any;
|
|
94
|
+
const localVarQueryParameter = {} as any;
|
|
95
|
+
|
|
96
|
+
// authentication keycloak_auth required
|
|
97
|
+
// http bearer authentication required
|
|
98
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
99
|
+
|
|
100
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
101
|
+
|
|
102
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
103
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
104
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
105
|
+
|
|
106
|
+
return {
|
|
107
|
+
url: toPathString(localVarUrlObj),
|
|
108
|
+
options: localVarRequestOptions,
|
|
109
|
+
};
|
|
110
|
+
},
|
|
111
|
+
/**
|
|
112
|
+
*
|
|
113
|
+
* @summary Create and send a signature envelope
|
|
114
|
+
* @param {CreateSignatureEnvelopeRequest} createSignatureEnvelopeRequest
|
|
115
|
+
* @param {*} [options] Override http request option.
|
|
116
|
+
* @throws {RequiredError}
|
|
117
|
+
*/
|
|
118
|
+
create: async (createSignatureEnvelopeRequest: CreateSignatureEnvelopeRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
119
|
+
// verify required parameter 'createSignatureEnvelopeRequest' is not null or undefined
|
|
120
|
+
assertParamExists('create', 'createSignatureEnvelopeRequest', createSignatureEnvelopeRequest)
|
|
121
|
+
const localVarPath = `/api/v1/signatures`;
|
|
122
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
123
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
124
|
+
let baseOptions;
|
|
125
|
+
if (configuration) {
|
|
126
|
+
baseOptions = configuration.baseOptions;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
130
|
+
const localVarHeaderParameter = {} as any;
|
|
131
|
+
const localVarQueryParameter = {} as any;
|
|
132
|
+
|
|
133
|
+
// authentication keycloak_auth required
|
|
134
|
+
// http bearer authentication required
|
|
135
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
136
|
+
|
|
137
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
138
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
139
|
+
|
|
140
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
141
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
142
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
143
|
+
localVarRequestOptions.data = serializeDataIfNeeded(createSignatureEnvelopeRequest, localVarRequestOptions, configuration)
|
|
144
|
+
|
|
145
|
+
return {
|
|
146
|
+
url: toPathString(localVarUrlObj),
|
|
147
|
+
options: localVarRequestOptions,
|
|
148
|
+
};
|
|
149
|
+
},
|
|
150
|
+
/**
|
|
151
|
+
*
|
|
152
|
+
* @summary Get a single envelope I sent
|
|
153
|
+
* @param {string} id
|
|
154
|
+
* @param {*} [options] Override http request option.
|
|
155
|
+
* @throws {RequiredError}
|
|
156
|
+
*/
|
|
157
|
+
get1: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
158
|
+
// verify required parameter 'id' is not null or undefined
|
|
159
|
+
assertParamExists('get1', 'id', id)
|
|
160
|
+
const localVarPath = `/api/v1/signatures/{id}`
|
|
161
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
162
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
163
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
164
|
+
let baseOptions;
|
|
165
|
+
if (configuration) {
|
|
166
|
+
baseOptions = configuration.baseOptions;
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
170
|
+
const localVarHeaderParameter = {} as any;
|
|
171
|
+
const localVarQueryParameter = {} as any;
|
|
172
|
+
|
|
173
|
+
// authentication keycloak_auth required
|
|
174
|
+
// http bearer authentication required
|
|
175
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
176
|
+
|
|
177
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
178
|
+
|
|
179
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
180
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
181
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
182
|
+
|
|
183
|
+
return {
|
|
184
|
+
url: toPathString(localVarUrlObj),
|
|
185
|
+
options: localVarRequestOptions,
|
|
186
|
+
};
|
|
187
|
+
},
|
|
188
|
+
/**
|
|
189
|
+
*
|
|
190
|
+
* @summary List envelopes I sent for signature
|
|
191
|
+
* @param {*} [options] Override http request option.
|
|
192
|
+
* @throws {RequiredError}
|
|
193
|
+
*/
|
|
194
|
+
listSent: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
195
|
+
const localVarPath = `/api/v1/signatures`;
|
|
196
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
197
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
198
|
+
let baseOptions;
|
|
199
|
+
if (configuration) {
|
|
200
|
+
baseOptions = configuration.baseOptions;
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
204
|
+
const localVarHeaderParameter = {} as any;
|
|
205
|
+
const localVarQueryParameter = {} as any;
|
|
206
|
+
|
|
207
|
+
// authentication keycloak_auth required
|
|
208
|
+
// http bearer authentication required
|
|
209
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
210
|
+
|
|
211
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
212
|
+
|
|
213
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
214
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
215
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
216
|
+
|
|
217
|
+
return {
|
|
218
|
+
url: toPathString(localVarUrlObj),
|
|
219
|
+
options: localVarRequestOptions,
|
|
220
|
+
};
|
|
221
|
+
},
|
|
222
|
+
/**
|
|
223
|
+
*
|
|
224
|
+
* @summary List documents waiting for my signature
|
|
225
|
+
* @param {*} [options] Override http request option.
|
|
226
|
+
* @throws {RequiredError}
|
|
227
|
+
*/
|
|
228
|
+
listToSign: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
229
|
+
const localVarPath = `/api/v1/signatures/to-sign`;
|
|
230
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
231
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
232
|
+
let baseOptions;
|
|
233
|
+
if (configuration) {
|
|
234
|
+
baseOptions = configuration.baseOptions;
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
238
|
+
const localVarHeaderParameter = {} as any;
|
|
239
|
+
const localVarQueryParameter = {} as any;
|
|
240
|
+
|
|
241
|
+
// authentication keycloak_auth required
|
|
242
|
+
// http bearer authentication required
|
|
243
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
244
|
+
|
|
245
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
246
|
+
|
|
247
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
248
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
249
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
250
|
+
|
|
251
|
+
return {
|
|
252
|
+
url: toPathString(localVarUrlObj),
|
|
253
|
+
options: localVarRequestOptions,
|
|
254
|
+
};
|
|
255
|
+
},
|
|
256
|
+
}
|
|
257
|
+
};
|
|
258
|
+
|
|
259
|
+
/**
|
|
260
|
+
* DigitalSignatureApi - functional programming interface
|
|
261
|
+
*/
|
|
262
|
+
export const DigitalSignatureApiFp = function(configuration?: Configuration) {
|
|
263
|
+
const localVarAxiosParamCreator = DigitalSignatureApiAxiosParamCreator(configuration)
|
|
264
|
+
return {
|
|
265
|
+
/**
|
|
266
|
+
*
|
|
267
|
+
* @summary Get the PDF/A archive + veraPDF compliance for a completed envelope
|
|
268
|
+
* @param {string} id
|
|
269
|
+
* @param {*} [options] Override http request option.
|
|
270
|
+
* @throws {RequiredError}
|
|
271
|
+
*/
|
|
272
|
+
async archive(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SignatureArchiveDTO>> {
|
|
273
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.archive(id, options);
|
|
274
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
275
|
+
const localVarOperationServerBasePath = operationServerMap['DigitalSignatureApi.archive']?.[localVarOperationServerIndex]?.url;
|
|
276
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
277
|
+
},
|
|
278
|
+
/**
|
|
279
|
+
*
|
|
280
|
+
* @summary Cancel a non-terminal envelope
|
|
281
|
+
* @param {string} id
|
|
282
|
+
* @param {*} [options] Override http request option.
|
|
283
|
+
* @throws {RequiredError}
|
|
284
|
+
*/
|
|
285
|
+
async cancel(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SignatureEnvelopeDTO>> {
|
|
286
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.cancel(id, options);
|
|
287
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
288
|
+
const localVarOperationServerBasePath = operationServerMap['DigitalSignatureApi.cancel']?.[localVarOperationServerIndex]?.url;
|
|
289
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
290
|
+
},
|
|
291
|
+
/**
|
|
292
|
+
*
|
|
293
|
+
* @summary Create and send a signature envelope
|
|
294
|
+
* @param {CreateSignatureEnvelopeRequest} createSignatureEnvelopeRequest
|
|
295
|
+
* @param {*} [options] Override http request option.
|
|
296
|
+
* @throws {RequiredError}
|
|
297
|
+
*/
|
|
298
|
+
async create(createSignatureEnvelopeRequest: CreateSignatureEnvelopeRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SignatureEnvelopeDTO>> {
|
|
299
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.create(createSignatureEnvelopeRequest, options);
|
|
300
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
301
|
+
const localVarOperationServerBasePath = operationServerMap['DigitalSignatureApi.create']?.[localVarOperationServerIndex]?.url;
|
|
302
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
303
|
+
},
|
|
304
|
+
/**
|
|
305
|
+
*
|
|
306
|
+
* @summary Get a single envelope I sent
|
|
307
|
+
* @param {string} id
|
|
308
|
+
* @param {*} [options] Override http request option.
|
|
309
|
+
* @throws {RequiredError}
|
|
310
|
+
*/
|
|
311
|
+
async get1(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SignatureEnvelopeDTO>> {
|
|
312
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.get1(id, options);
|
|
313
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
314
|
+
const localVarOperationServerBasePath = operationServerMap['DigitalSignatureApi.get1']?.[localVarOperationServerIndex]?.url;
|
|
315
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
316
|
+
},
|
|
317
|
+
/**
|
|
318
|
+
*
|
|
319
|
+
* @summary List envelopes I sent for signature
|
|
320
|
+
* @param {*} [options] Override http request option.
|
|
321
|
+
* @throws {RequiredError}
|
|
322
|
+
*/
|
|
323
|
+
async listSent(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<SignatureEnvelopeDTO>>> {
|
|
324
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listSent(options);
|
|
325
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
326
|
+
const localVarOperationServerBasePath = operationServerMap['DigitalSignatureApi.listSent']?.[localVarOperationServerIndex]?.url;
|
|
327
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
328
|
+
},
|
|
329
|
+
/**
|
|
330
|
+
*
|
|
331
|
+
* @summary List documents waiting for my signature
|
|
332
|
+
* @param {*} [options] Override http request option.
|
|
333
|
+
* @throws {RequiredError}
|
|
334
|
+
*/
|
|
335
|
+
async listToSign(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<SignatureEnvelopeDTO>>> {
|
|
336
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listToSign(options);
|
|
337
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
338
|
+
const localVarOperationServerBasePath = operationServerMap['DigitalSignatureApi.listToSign']?.[localVarOperationServerIndex]?.url;
|
|
339
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
340
|
+
},
|
|
341
|
+
}
|
|
342
|
+
};
|
|
343
|
+
|
|
344
|
+
/**
|
|
345
|
+
* DigitalSignatureApi - factory interface
|
|
346
|
+
*/
|
|
347
|
+
export const DigitalSignatureApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
348
|
+
const localVarFp = DigitalSignatureApiFp(configuration)
|
|
349
|
+
return {
|
|
350
|
+
/**
|
|
351
|
+
*
|
|
352
|
+
* @summary Get the PDF/A archive + veraPDF compliance for a completed envelope
|
|
353
|
+
* @param {string} id
|
|
354
|
+
* @param {*} [options] Override http request option.
|
|
355
|
+
* @throws {RequiredError}
|
|
356
|
+
*/
|
|
357
|
+
archive(id: string, options?: RawAxiosRequestConfig): AxiosPromise<SignatureArchiveDTO> {
|
|
358
|
+
return localVarFp.archive(id, options).then((request) => request(axios, basePath));
|
|
359
|
+
},
|
|
360
|
+
/**
|
|
361
|
+
*
|
|
362
|
+
* @summary Cancel a non-terminal envelope
|
|
363
|
+
* @param {string} id
|
|
364
|
+
* @param {*} [options] Override http request option.
|
|
365
|
+
* @throws {RequiredError}
|
|
366
|
+
*/
|
|
367
|
+
cancel(id: string, options?: RawAxiosRequestConfig): AxiosPromise<SignatureEnvelopeDTO> {
|
|
368
|
+
return localVarFp.cancel(id, options).then((request) => request(axios, basePath));
|
|
369
|
+
},
|
|
370
|
+
/**
|
|
371
|
+
*
|
|
372
|
+
* @summary Create and send a signature envelope
|
|
373
|
+
* @param {CreateSignatureEnvelopeRequest} createSignatureEnvelopeRequest
|
|
374
|
+
* @param {*} [options] Override http request option.
|
|
375
|
+
* @throws {RequiredError}
|
|
376
|
+
*/
|
|
377
|
+
create(createSignatureEnvelopeRequest: CreateSignatureEnvelopeRequest, options?: RawAxiosRequestConfig): AxiosPromise<SignatureEnvelopeDTO> {
|
|
378
|
+
return localVarFp.create(createSignatureEnvelopeRequest, options).then((request) => request(axios, basePath));
|
|
379
|
+
},
|
|
380
|
+
/**
|
|
381
|
+
*
|
|
382
|
+
* @summary Get a single envelope I sent
|
|
383
|
+
* @param {string} id
|
|
384
|
+
* @param {*} [options] Override http request option.
|
|
385
|
+
* @throws {RequiredError}
|
|
386
|
+
*/
|
|
387
|
+
get1(id: string, options?: RawAxiosRequestConfig): AxiosPromise<SignatureEnvelopeDTO> {
|
|
388
|
+
return localVarFp.get1(id, options).then((request) => request(axios, basePath));
|
|
389
|
+
},
|
|
390
|
+
/**
|
|
391
|
+
*
|
|
392
|
+
* @summary List envelopes I sent for signature
|
|
393
|
+
* @param {*} [options] Override http request option.
|
|
394
|
+
* @throws {RequiredError}
|
|
395
|
+
*/
|
|
396
|
+
listSent(options?: RawAxiosRequestConfig): AxiosPromise<Array<SignatureEnvelopeDTO>> {
|
|
397
|
+
return localVarFp.listSent(options).then((request) => request(axios, basePath));
|
|
398
|
+
},
|
|
399
|
+
/**
|
|
400
|
+
*
|
|
401
|
+
* @summary List documents waiting for my signature
|
|
402
|
+
* @param {*} [options] Override http request option.
|
|
403
|
+
* @throws {RequiredError}
|
|
404
|
+
*/
|
|
405
|
+
listToSign(options?: RawAxiosRequestConfig): AxiosPromise<Array<SignatureEnvelopeDTO>> {
|
|
406
|
+
return localVarFp.listToSign(options).then((request) => request(axios, basePath));
|
|
407
|
+
},
|
|
408
|
+
};
|
|
409
|
+
};
|
|
410
|
+
|
|
411
|
+
/**
|
|
412
|
+
* DigitalSignatureApi - object-oriented interface
|
|
413
|
+
*/
|
|
414
|
+
export class DigitalSignatureApi extends BaseAPI {
|
|
415
|
+
/**
|
|
416
|
+
*
|
|
417
|
+
* @summary Get the PDF/A archive + veraPDF compliance for a completed envelope
|
|
418
|
+
* @param {string} id
|
|
419
|
+
* @param {*} [options] Override http request option.
|
|
420
|
+
* @throws {RequiredError}
|
|
421
|
+
*/
|
|
422
|
+
public archive(id: string, options?: RawAxiosRequestConfig) {
|
|
423
|
+
return DigitalSignatureApiFp(this.configuration).archive(id, options).then((request) => request(this.axios, this.basePath));
|
|
424
|
+
}
|
|
425
|
+
|
|
426
|
+
/**
|
|
427
|
+
*
|
|
428
|
+
* @summary Cancel a non-terminal envelope
|
|
429
|
+
* @param {string} id
|
|
430
|
+
* @param {*} [options] Override http request option.
|
|
431
|
+
* @throws {RequiredError}
|
|
432
|
+
*/
|
|
433
|
+
public cancel(id: string, options?: RawAxiosRequestConfig) {
|
|
434
|
+
return DigitalSignatureApiFp(this.configuration).cancel(id, options).then((request) => request(this.axios, this.basePath));
|
|
435
|
+
}
|
|
436
|
+
|
|
437
|
+
/**
|
|
438
|
+
*
|
|
439
|
+
* @summary Create and send a signature envelope
|
|
440
|
+
* @param {CreateSignatureEnvelopeRequest} createSignatureEnvelopeRequest
|
|
441
|
+
* @param {*} [options] Override http request option.
|
|
442
|
+
* @throws {RequiredError}
|
|
443
|
+
*/
|
|
444
|
+
public create(createSignatureEnvelopeRequest: CreateSignatureEnvelopeRequest, options?: RawAxiosRequestConfig) {
|
|
445
|
+
return DigitalSignatureApiFp(this.configuration).create(createSignatureEnvelopeRequest, options).then((request) => request(this.axios, this.basePath));
|
|
446
|
+
}
|
|
447
|
+
|
|
448
|
+
/**
|
|
449
|
+
*
|
|
450
|
+
* @summary Get a single envelope I sent
|
|
451
|
+
* @param {string} id
|
|
452
|
+
* @param {*} [options] Override http request option.
|
|
453
|
+
* @throws {RequiredError}
|
|
454
|
+
*/
|
|
455
|
+
public get1(id: string, options?: RawAxiosRequestConfig) {
|
|
456
|
+
return DigitalSignatureApiFp(this.configuration).get1(id, options).then((request) => request(this.axios, this.basePath));
|
|
457
|
+
}
|
|
458
|
+
|
|
459
|
+
/**
|
|
460
|
+
*
|
|
461
|
+
* @summary List envelopes I sent for signature
|
|
462
|
+
* @param {*} [options] Override http request option.
|
|
463
|
+
* @throws {RequiredError}
|
|
464
|
+
*/
|
|
465
|
+
public listSent(options?: RawAxiosRequestConfig) {
|
|
466
|
+
return DigitalSignatureApiFp(this.configuration).listSent(options).then((request) => request(this.axios, this.basePath));
|
|
467
|
+
}
|
|
468
|
+
|
|
469
|
+
/**
|
|
470
|
+
*
|
|
471
|
+
* @summary List documents waiting for my signature
|
|
472
|
+
* @param {*} [options] Override http request option.
|
|
473
|
+
* @throws {RequiredError}
|
|
474
|
+
*/
|
|
475
|
+
public listToSign(options?: RawAxiosRequestConfig) {
|
|
476
|
+
return DigitalSignatureApiFp(this.configuration).listToSign(options).then((request) => request(this.axios, this.basePath));
|
|
477
|
+
}
|
|
478
|
+
}
|
|
479
|
+
|