@openfilz-sdk/typescript-ee 1.8.0 → 1.8.2
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 +45 -4
- package/.openapi-generator/openfilz-api-generate-typescript-sdk.sha256 +1 -1
- package/README.md +46 -13
- package/api/aisettings-api.ts +77 -0
- package/api/esign-api.ts +719 -0
- package/api/esign-enterprise-api.ts +286 -0
- package/api/{digital-signature-public-api.ts → esign-public-api.ts} +183 -24
- package/api/{digital-signature-api.ts → esign-templates-api.ts} +137 -113
- package/api.ts +4 -2
- package/dist/api/aisettings-api.d.ts +34 -0
- package/dist/api/aisettings-api.js +70 -0
- package/dist/api/esign-api.d.ts +334 -0
- package/dist/api/esign-api.js +693 -0
- package/dist/api/esign-enterprise-api.d.ts +138 -0
- package/dist/api/esign-enterprise-api.js +278 -0
- package/dist/{esm/api/digital-signature-public-api.d.ts → api/esign-public-api.d.ts} +81 -12
- package/dist/api/{digital-signature-public-api.js → esign-public-api.js} +178 -29
- package/dist/api/esign-templates-api.d.ts +234 -0
- package/dist/api/{digital-signature-api.js → esign-templates-api.js} +137 -115
- package/dist/api.d.ts +4 -2
- package/dist/api.js +4 -2
- package/dist/esm/api/aisettings-api.d.ts +34 -0
- package/dist/esm/api/aisettings-api.js +70 -0
- package/dist/esm/api/esign-api.d.ts +334 -0
- package/dist/esm/api/esign-api.js +686 -0
- package/dist/esm/api/esign-enterprise-api.d.ts +138 -0
- package/dist/esm/api/esign-enterprise-api.js +271 -0
- package/dist/{api/digital-signature-public-api.d.ts → esm/api/esign-public-api.d.ts} +81 -12
- package/dist/esm/api/{digital-signature-public-api.js → esign-public-api.js} +173 -24
- package/dist/esm/api/esign-templates-api.d.ts +234 -0
- package/dist/esm/api/{digital-signature-api.js → esign-templates-api.js} +132 -110
- package/dist/esm/api.d.ts +4 -2
- package/dist/esm/api.js +4 -2
- package/dist/esm/models/ai-models-response.d.ts +41 -0
- package/dist/esm/models/ai-models-response.js +23 -0
- package/dist/esm/models/apply-signature-request.d.ts +3 -0
- package/dist/esm/models/bulk-row-result.d.ts +17 -0
- package/dist/esm/models/bulk-row-result.js +14 -0
- package/dist/esm/models/bulk-row.d.ts +19 -0
- package/dist/esm/models/bulk-row.js +14 -0
- package/dist/esm/models/bulk-send-request.d.ts +19 -0
- package/dist/esm/models/bulk-send-request.js +14 -0
- package/dist/esm/models/bulk-send-response.d.ts +18 -0
- package/dist/esm/models/bulk-send-response.js +14 -0
- package/dist/esm/models/create-signature-envelope-request.d.ts +5 -0
- package/dist/esm/models/embed-url-response.d.ts +16 -0
- package/dist/esm/models/embed-url-response.js +14 -0
- package/dist/esm/models/enriched-audit-log.d.ts +3 -0
- package/dist/esm/models/enriched-audit-log.js +3 -0
- package/dist/esm/models/index.d.ts +18 -0
- package/dist/esm/models/index.js +18 -0
- package/dist/esm/models/instantiate-template-request.d.ts +22 -0
- package/dist/esm/models/instantiate-template-request.js +14 -0
- package/dist/esm/models/list-ai-models-request.d.ts +32 -0
- package/dist/esm/models/list-ai-models-request.js +19 -0
- package/dist/esm/models/public-signature-view.d.ts +13 -0
- package/dist/esm/models/public-signature-view.js +5 -0
- package/dist/esm/models/role-binding.d.ts +19 -0
- package/dist/esm/models/role-binding.js +14 -0
- package/dist/esm/models/search-by-audit-log-request.d.ts +3 -0
- package/dist/esm/models/search-by-audit-log-request.js +3 -0
- package/dist/esm/models/settings.d.ts +3 -0
- package/dist/esm/models/signature-envelope-dto.d.ts +6 -0
- package/dist/esm/models/signature-event-dto.d.ts +33 -0
- package/dist/esm/models/signature-event-dto.js +26 -0
- package/dist/esm/models/signature-field-dto.d.ts +44 -0
- package/dist/esm/models/signature-field-dto.js +27 -0
- package/dist/esm/models/signature-field-input.d.ts +39 -0
- package/dist/esm/models/signature-field-input.js +27 -0
- package/dist/esm/models/signature-field-value.d.ts +16 -0
- package/dist/esm/models/signature-field-value.js +14 -0
- package/dist/esm/models/signature-recipient-dto.d.ts +16 -0
- package/dist/esm/models/signature-recipient-dto.js +9 -0
- package/dist/esm/models/signature-recipient-input.d.ts +19 -1
- package/dist/esm/models/signature-recipient-input.js +9 -1
- package/dist/esm/models/signature-template-dto.d.ts +27 -0
- package/dist/esm/models/signature-template-dto.js +14 -0
- package/dist/esm/models/signature-template-field.d.ts +40 -0
- package/dist/esm/models/signature-template-field.js +27 -0
- package/dist/esm/models/signature-template-request.d.ts +23 -0
- package/dist/esm/models/signature-template-request.js +14 -0
- package/dist/esm/models/signature-template-role.d.ts +28 -0
- package/dist/esm/models/signature-template-role.js +22 -0
- package/dist/esm/models/verify-otp-request.d.ts +14 -0
- package/dist/esm/models/verify-otp-request.js +14 -0
- package/dist/models/ai-models-response.d.ts +41 -0
- package/dist/models/ai-models-response.js +26 -0
- package/dist/models/apply-signature-request.d.ts +3 -0
- package/dist/models/bulk-row-result.d.ts +17 -0
- package/dist/models/bulk-row-result.js +15 -0
- package/dist/models/bulk-row.d.ts +19 -0
- package/dist/models/bulk-row.js +15 -0
- package/dist/models/bulk-send-request.d.ts +19 -0
- package/dist/models/bulk-send-request.js +15 -0
- package/dist/models/bulk-send-response.d.ts +18 -0
- package/dist/models/bulk-send-response.js +15 -0
- package/dist/models/create-signature-envelope-request.d.ts +5 -0
- package/dist/models/embed-url-response.d.ts +16 -0
- package/dist/models/embed-url-response.js +15 -0
- package/dist/models/enriched-audit-log.d.ts +3 -0
- package/dist/models/enriched-audit-log.js +3 -0
- package/dist/models/index.d.ts +18 -0
- package/dist/models/index.js +18 -0
- package/dist/models/instantiate-template-request.d.ts +22 -0
- package/dist/models/instantiate-template-request.js +15 -0
- package/dist/models/list-ai-models-request.d.ts +32 -0
- package/dist/models/list-ai-models-request.js +22 -0
- package/dist/models/public-signature-view.d.ts +13 -0
- package/dist/models/public-signature-view.js +6 -1
- package/dist/models/role-binding.d.ts +19 -0
- package/dist/models/role-binding.js +15 -0
- package/dist/models/search-by-audit-log-request.d.ts +3 -0
- package/dist/models/search-by-audit-log-request.js +3 -0
- package/dist/models/settings.d.ts +3 -0
- package/dist/models/signature-envelope-dto.d.ts +6 -0
- package/dist/models/signature-event-dto.d.ts +33 -0
- package/dist/models/signature-event-dto.js +29 -0
- package/dist/models/signature-field-dto.d.ts +44 -0
- package/dist/models/signature-field-dto.js +30 -0
- package/dist/models/signature-field-input.d.ts +39 -0
- package/dist/models/signature-field-input.js +30 -0
- package/dist/models/signature-field-value.d.ts +16 -0
- package/dist/models/signature-field-value.js +15 -0
- package/dist/models/signature-recipient-dto.d.ts +16 -0
- package/dist/models/signature-recipient-dto.js +10 -1
- package/dist/models/signature-recipient-input.d.ts +19 -1
- package/dist/models/signature-recipient-input.js +10 -0
- package/dist/models/signature-template-dto.d.ts +27 -0
- package/dist/models/signature-template-dto.js +15 -0
- package/dist/models/signature-template-field.d.ts +40 -0
- package/dist/models/signature-template-field.js +30 -0
- package/dist/models/signature-template-request.d.ts +23 -0
- package/dist/models/signature-template-request.js +15 -0
- package/dist/models/signature-template-role.d.ts +28 -0
- package/dist/models/signature-template-role.js +25 -0
- package/dist/models/verify-otp-request.d.ts +14 -0
- package/dist/models/verify-otp-request.js +15 -0
- package/docs/AISettingsApi.md +53 -0
- package/docs/AiModelsResponse.md +26 -0
- package/docs/ApplySignatureRequest.md +4 -0
- package/docs/BulkRow.md +28 -0
- package/docs/BulkRowResult.md +26 -0
- package/docs/BulkSendRequest.md +28 -0
- package/docs/BulkSendResponse.md +26 -0
- package/docs/CreateSignatureEnvelopeRequest.md +10 -0
- package/docs/ESignApi.md +463 -0
- package/docs/ESignEnterpriseApi.md +164 -0
- package/docs/{DigitalSignaturePublicApi.md → ESignPublicApi.md} +118 -12
- package/docs/{DigitalSignatureApi.md → ESignTemplatesApi.md} +76 -61
- package/docs/EmbedUrlResponse.md +24 -0
- package/docs/InstantiateTemplateRequest.md +34 -0
- package/docs/ListAiModelsRequest.md +24 -0
- package/docs/PublicSignatureView.md +12 -0
- package/docs/RoleBinding.md +30 -0
- package/docs/Settings.md +6 -0
- package/docs/SignatureEnvelopeDTO.md +12 -0
- package/docs/SignatureEventDTO.md +30 -0
- package/docs/SignatureFieldDTO.md +46 -0
- package/docs/SignatureFieldInput.md +36 -0
- package/docs/SignatureFieldValue.md +24 -0
- package/docs/SignatureRecipientDTO.md +8 -0
- package/docs/SignatureRecipientInput.md +13 -1
- package/docs/SignatureTemplateDTO.md +42 -0
- package/docs/SignatureTemplateField.md +38 -0
- package/docs/SignatureTemplateRequest.md +34 -0
- package/docs/SignatureTemplateRole.md +26 -0
- package/docs/VerifyOtpRequest.md +20 -0
- package/models/ai-models-response.ts +51 -0
- package/models/apply-signature-request.ts +5 -0
- package/models/bulk-row-result.ts +23 -0
- package/models/bulk-row.ts +27 -0
- package/models/bulk-send-request.ts +27 -0
- package/models/bulk-send-response.ts +26 -0
- package/models/create-signature-envelope-request.ts +5 -0
- package/models/embed-url-response.ts +22 -0
- package/models/enriched-audit-log.ts +3 -0
- package/models/index.ts +18 -0
- package/models/instantiate-template-request.ts +30 -0
- package/models/list-ai-models-request.ts +41 -0
- package/models/public-signature-view.ts +16 -0
- package/models/role-binding.ts +25 -0
- package/models/search-by-audit-log-request.ts +3 -0
- package/models/settings.ts +3 -0
- package/models/signature-envelope-dto.ts +6 -0
- package/models/signature-event-dto.ts +42 -0
- package/models/signature-field-dto.ts +51 -0
- package/models/signature-field-input.ts +46 -0
- package/models/signature-field-value.ts +22 -0
- package/models/signature-recipient-dto.ts +20 -0
- package/models/signature-recipient-input.ts +25 -1
- package/models/signature-template-dto.ts +37 -0
- package/models/signature-template-field.ts +47 -0
- package/models/signature-template-request.ts +33 -0
- package/models/signature-template-role.ts +38 -0
- package/models/verify-otp-request.ts +20 -0
- package/package.json +1 -1
- package/dist/api/digital-signature-api.d.ts +0 -221
- package/dist/esm/api/digital-signature-api.d.ts +0 -221
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
#
|
|
1
|
+
# ESignPublicApi
|
|
2
2
|
|
|
3
3
|
All URIs are relative to *http://localhost:8081*
|
|
4
4
|
|
|
@@ -7,7 +7,9 @@ All URIs are relative to *http://localhost:8081*
|
|
|
7
7
|
|[**decline1**](#decline1) | **POST** /api/v1/public/signatures/decline | Decline to sign (voids the envelope)|
|
|
8
8
|
|[**document**](#document) | **GET** /api/v1/public/signatures/document | Stream the source PDF for signing|
|
|
9
9
|
|[**markViewed**](#markviewed) | **POST** /api/v1/public/signatures/viewed | Record that the recipient opened the document|
|
|
10
|
-
|[**
|
|
10
|
+
|[**requestOtp**](#requestotp) | **POST** /api/v1/public/signatures/otp/request | Send a one-time access code to the recipient (EMAIL_OTP / SMS_OTP)|
|
|
11
|
+
|[**sign**](#sign) | **POST** /api/v1/public/signatures/sign | Submit the recipient\'s fields and sign|
|
|
12
|
+
|[**verifyOtp**](#verifyotp) | **POST** /api/v1/public/signatures/otp/verify | Verify the one-time access code|
|
|
11
13
|
|[**view**](#view) | **GET** /api/v1/public/signatures | Resolve a signing token to its envelope view|
|
|
12
14
|
|
|
13
15
|
# **decline1**
|
|
@@ -18,13 +20,13 @@ All URIs are relative to *http://localhost:8081*
|
|
|
18
20
|
|
|
19
21
|
```typescript
|
|
20
22
|
import {
|
|
21
|
-
|
|
23
|
+
ESignPublicApi,
|
|
22
24
|
Configuration,
|
|
23
25
|
DeclineSignatureRequest
|
|
24
26
|
} from '@openfilz-sdk/typescript-ee';
|
|
25
27
|
|
|
26
28
|
const configuration = new Configuration();
|
|
27
|
-
const apiInstance = new
|
|
29
|
+
const apiInstance = new ESignPublicApi(configuration);
|
|
28
30
|
|
|
29
31
|
let token: string; // (default to undefined)
|
|
30
32
|
let declineSignatureRequest: DeclineSignatureRequest; // (optional)
|
|
@@ -72,12 +74,12 @@ const { status, data } = await apiInstance.decline1(
|
|
|
72
74
|
|
|
73
75
|
```typescript
|
|
74
76
|
import {
|
|
75
|
-
|
|
77
|
+
ESignPublicApi,
|
|
76
78
|
Configuration
|
|
77
79
|
} from '@openfilz-sdk/typescript-ee';
|
|
78
80
|
|
|
79
81
|
const configuration = new Configuration();
|
|
80
|
-
const apiInstance = new
|
|
82
|
+
const apiInstance = new ESignPublicApi(configuration);
|
|
81
83
|
|
|
82
84
|
let token: string; // (default to undefined)
|
|
83
85
|
|
|
@@ -122,12 +124,12 @@ const { status, data } = await apiInstance.document(
|
|
|
122
124
|
|
|
123
125
|
```typescript
|
|
124
126
|
import {
|
|
125
|
-
|
|
127
|
+
ESignPublicApi,
|
|
126
128
|
Configuration
|
|
127
129
|
} from '@openfilz-sdk/typescript-ee';
|
|
128
130
|
|
|
129
131
|
const configuration = new Configuration();
|
|
130
|
-
const apiInstance = new
|
|
132
|
+
const apiInstance = new ESignPublicApi(configuration);
|
|
131
133
|
|
|
132
134
|
let token: string; // (default to undefined)
|
|
133
135
|
let userAgent: string; // (optional) (default to undefined)
|
|
@@ -167,6 +169,56 @@ const { status, data } = await apiInstance.markViewed(
|
|
|
167
169
|
|
|
168
170
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
169
171
|
|
|
172
|
+
# **requestOtp**
|
|
173
|
+
> requestOtp()
|
|
174
|
+
|
|
175
|
+
|
|
176
|
+
### Example
|
|
177
|
+
|
|
178
|
+
```typescript
|
|
179
|
+
import {
|
|
180
|
+
ESignPublicApi,
|
|
181
|
+
Configuration
|
|
182
|
+
} from '@openfilz-sdk/typescript-ee';
|
|
183
|
+
|
|
184
|
+
const configuration = new Configuration();
|
|
185
|
+
const apiInstance = new ESignPublicApi(configuration);
|
|
186
|
+
|
|
187
|
+
let token: string; // (default to undefined)
|
|
188
|
+
|
|
189
|
+
const { status, data } = await apiInstance.requestOtp(
|
|
190
|
+
token
|
|
191
|
+
);
|
|
192
|
+
```
|
|
193
|
+
|
|
194
|
+
### Parameters
|
|
195
|
+
|
|
196
|
+
|Name | Type | Description | Notes|
|
|
197
|
+
|------------- | ------------- | ------------- | -------------|
|
|
198
|
+
| **token** | [**string**] | | defaults to undefined|
|
|
199
|
+
|
|
200
|
+
|
|
201
|
+
### Return type
|
|
202
|
+
|
|
203
|
+
void (empty response body)
|
|
204
|
+
|
|
205
|
+
### Authorization
|
|
206
|
+
|
|
207
|
+
[keycloak_auth](../README.md#keycloak_auth)
|
|
208
|
+
|
|
209
|
+
### HTTP request headers
|
|
210
|
+
|
|
211
|
+
- **Content-Type**: Not defined
|
|
212
|
+
- **Accept**: Not defined
|
|
213
|
+
|
|
214
|
+
|
|
215
|
+
### HTTP response details
|
|
216
|
+
| Status code | Description | Response headers |
|
|
217
|
+
|-------------|-------------|------------------|
|
|
218
|
+
|**202** | Accepted | - |
|
|
219
|
+
|
|
220
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
221
|
+
|
|
170
222
|
# **sign**
|
|
171
223
|
> PublicSignatureView sign(applySignatureRequest)
|
|
172
224
|
|
|
@@ -175,13 +227,13 @@ const { status, data } = await apiInstance.markViewed(
|
|
|
175
227
|
|
|
176
228
|
```typescript
|
|
177
229
|
import {
|
|
178
|
-
|
|
230
|
+
ESignPublicApi,
|
|
179
231
|
Configuration,
|
|
180
232
|
ApplySignatureRequest
|
|
181
233
|
} from '@openfilz-sdk/typescript-ee';
|
|
182
234
|
|
|
183
235
|
const configuration = new Configuration();
|
|
184
|
-
const apiInstance = new
|
|
236
|
+
const apiInstance = new ESignPublicApi(configuration);
|
|
185
237
|
|
|
186
238
|
let token: string; // (default to undefined)
|
|
187
239
|
let applySignatureRequest: ApplySignatureRequest; //
|
|
@@ -203,6 +255,60 @@ const { status, data } = await apiInstance.sign(
|
|
|
203
255
|
| **userAgent** | [**string**] | | (optional) defaults to undefined|
|
|
204
256
|
|
|
205
257
|
|
|
258
|
+
### Return type
|
|
259
|
+
|
|
260
|
+
**PublicSignatureView**
|
|
261
|
+
|
|
262
|
+
### Authorization
|
|
263
|
+
|
|
264
|
+
[keycloak_auth](../README.md#keycloak_auth)
|
|
265
|
+
|
|
266
|
+
### HTTP request headers
|
|
267
|
+
|
|
268
|
+
- **Content-Type**: application/json
|
|
269
|
+
- **Accept**: application/json
|
|
270
|
+
|
|
271
|
+
|
|
272
|
+
### HTTP response details
|
|
273
|
+
| Status code | Description | Response headers |
|
|
274
|
+
|-------------|-------------|------------------|
|
|
275
|
+
|**200** | OK | - |
|
|
276
|
+
|
|
277
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
278
|
+
|
|
279
|
+
# **verifyOtp**
|
|
280
|
+
> PublicSignatureView verifyOtp(verifyOtpRequest)
|
|
281
|
+
|
|
282
|
+
|
|
283
|
+
### Example
|
|
284
|
+
|
|
285
|
+
```typescript
|
|
286
|
+
import {
|
|
287
|
+
ESignPublicApi,
|
|
288
|
+
Configuration,
|
|
289
|
+
VerifyOtpRequest
|
|
290
|
+
} from '@openfilz-sdk/typescript-ee';
|
|
291
|
+
|
|
292
|
+
const configuration = new Configuration();
|
|
293
|
+
const apiInstance = new ESignPublicApi(configuration);
|
|
294
|
+
|
|
295
|
+
let token: string; // (default to undefined)
|
|
296
|
+
let verifyOtpRequest: VerifyOtpRequest; //
|
|
297
|
+
|
|
298
|
+
const { status, data } = await apiInstance.verifyOtp(
|
|
299
|
+
token,
|
|
300
|
+
verifyOtpRequest
|
|
301
|
+
);
|
|
302
|
+
```
|
|
303
|
+
|
|
304
|
+
### Parameters
|
|
305
|
+
|
|
306
|
+
|Name | Type | Description | Notes|
|
|
307
|
+
|------------- | ------------- | ------------- | -------------|
|
|
308
|
+
| **verifyOtpRequest** | **VerifyOtpRequest**| | |
|
|
309
|
+
| **token** | [**string**] | | defaults to undefined|
|
|
310
|
+
|
|
311
|
+
|
|
206
312
|
### Return type
|
|
207
313
|
|
|
208
314
|
**PublicSignatureView**
|
|
@@ -232,12 +338,12 @@ const { status, data } = await apiInstance.sign(
|
|
|
232
338
|
|
|
233
339
|
```typescript
|
|
234
340
|
import {
|
|
235
|
-
|
|
341
|
+
ESignPublicApi,
|
|
236
342
|
Configuration
|
|
237
343
|
} from '@openfilz-sdk/typescript-ee';
|
|
238
344
|
|
|
239
345
|
const configuration = new Configuration();
|
|
240
|
-
const apiInstance = new
|
|
346
|
+
const apiInstance = new ESignPublicApi(configuration);
|
|
241
347
|
|
|
242
348
|
let token: string; // (default to undefined)
|
|
243
349
|
|
|
@@ -1,34 +1,34 @@
|
|
|
1
|
-
#
|
|
1
|
+
# ESignTemplatesApi
|
|
2
2
|
|
|
3
3
|
All URIs are relative to *http://localhost:8081*
|
|
4
4
|
|
|
5
5
|
|Method | HTTP request | Description|
|
|
6
6
|
|------------- | ------------- | -------------|
|
|
7
|
-
|[**
|
|
8
|
-
|[**
|
|
9
|
-
|[**
|
|
10
|
-
|[**
|
|
11
|
-
|[**
|
|
12
|
-
|[**
|
|
7
|
+
|[**_delete**](#_delete) | **DELETE** /api/v1/signature-templates/{id} | Delete a template|
|
|
8
|
+
|[**create1**](#create1) | **POST** /api/v1/signature-templates | Create a template|
|
|
9
|
+
|[**get1**](#get1) | **GET** /api/v1/signature-templates/{id} | Get a template|
|
|
10
|
+
|[**instantiate**](#instantiate) | **POST** /api/v1/signature-templates/{id}/envelopes | Create (and send) an envelope from a template|
|
|
11
|
+
|[**list**](#list) | **GET** /api/v1/signature-templates | List my templates|
|
|
12
|
+
|[**update1**](#update1) | **PUT** /api/v1/signature-templates/{id} | Update a template|
|
|
13
13
|
|
|
14
|
-
# **
|
|
15
|
-
>
|
|
14
|
+
# **_delete**
|
|
15
|
+
> _delete()
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
### Example
|
|
19
19
|
|
|
20
20
|
```typescript
|
|
21
21
|
import {
|
|
22
|
-
|
|
22
|
+
ESignTemplatesApi,
|
|
23
23
|
Configuration
|
|
24
24
|
} from '@openfilz-sdk/typescript-ee';
|
|
25
25
|
|
|
26
26
|
const configuration = new Configuration();
|
|
27
|
-
const apiInstance = new
|
|
27
|
+
const apiInstance = new ESignTemplatesApi(configuration);
|
|
28
28
|
|
|
29
29
|
let id: string; // (default to undefined)
|
|
30
30
|
|
|
31
|
-
const { status, data } = await apiInstance.
|
|
31
|
+
const { status, data } = await apiInstance._delete(
|
|
32
32
|
id
|
|
33
33
|
);
|
|
34
34
|
```
|
|
@@ -42,7 +42,7 @@ const { status, data } = await apiInstance.archive(
|
|
|
42
42
|
|
|
43
43
|
### Return type
|
|
44
44
|
|
|
45
|
-
|
|
45
|
+
void (empty response body)
|
|
46
46
|
|
|
47
47
|
### Authorization
|
|
48
48
|
|
|
@@ -51,35 +51,36 @@ const { status, data } = await apiInstance.archive(
|
|
|
51
51
|
### HTTP request headers
|
|
52
52
|
|
|
53
53
|
- **Content-Type**: Not defined
|
|
54
|
-
- **Accept**:
|
|
54
|
+
- **Accept**: Not defined
|
|
55
55
|
|
|
56
56
|
|
|
57
57
|
### HTTP response details
|
|
58
58
|
| Status code | Description | Response headers |
|
|
59
59
|
|-------------|-------------|------------------|
|
|
60
|
-
|**
|
|
60
|
+
|**204** | No Content | - |
|
|
61
61
|
|
|
62
62
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
63
63
|
|
|
64
|
-
# **
|
|
65
|
-
>
|
|
64
|
+
# **create1**
|
|
65
|
+
> SignatureTemplateDTO create1(signatureTemplateRequest)
|
|
66
66
|
|
|
67
67
|
|
|
68
68
|
### Example
|
|
69
69
|
|
|
70
70
|
```typescript
|
|
71
71
|
import {
|
|
72
|
-
|
|
73
|
-
Configuration
|
|
72
|
+
ESignTemplatesApi,
|
|
73
|
+
Configuration,
|
|
74
|
+
SignatureTemplateRequest
|
|
74
75
|
} from '@openfilz-sdk/typescript-ee';
|
|
75
76
|
|
|
76
77
|
const configuration = new Configuration();
|
|
77
|
-
const apiInstance = new
|
|
78
|
+
const apiInstance = new ESignTemplatesApi(configuration);
|
|
78
79
|
|
|
79
|
-
let
|
|
80
|
+
let signatureTemplateRequest: SignatureTemplateRequest; //
|
|
80
81
|
|
|
81
|
-
const { status, data } = await apiInstance.
|
|
82
|
-
|
|
82
|
+
const { status, data } = await apiInstance.create1(
|
|
83
|
+
signatureTemplateRequest
|
|
83
84
|
);
|
|
84
85
|
```
|
|
85
86
|
|
|
@@ -87,12 +88,12 @@ const { status, data } = await apiInstance.cancel(
|
|
|
87
88
|
|
|
88
89
|
|Name | Type | Description | Notes|
|
|
89
90
|
|------------- | ------------- | ------------- | -------------|
|
|
90
|
-
| **
|
|
91
|
+
| **signatureTemplateRequest** | **SignatureTemplateRequest**| | |
|
|
91
92
|
|
|
92
93
|
|
|
93
94
|
### Return type
|
|
94
95
|
|
|
95
|
-
**
|
|
96
|
+
**SignatureTemplateDTO**
|
|
96
97
|
|
|
97
98
|
### Authorization
|
|
98
99
|
|
|
@@ -100,7 +101,7 @@ const { status, data } = await apiInstance.cancel(
|
|
|
100
101
|
|
|
101
102
|
### HTTP request headers
|
|
102
103
|
|
|
103
|
-
- **Content-Type**:
|
|
104
|
+
- **Content-Type**: application/json
|
|
104
105
|
- **Accept**: application/json
|
|
105
106
|
|
|
106
107
|
|
|
@@ -111,26 +112,25 @@ const { status, data } = await apiInstance.cancel(
|
|
|
111
112
|
|
|
112
113
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
113
114
|
|
|
114
|
-
# **
|
|
115
|
-
>
|
|
115
|
+
# **get1**
|
|
116
|
+
> SignatureTemplateDTO get1()
|
|
116
117
|
|
|
117
118
|
|
|
118
119
|
### Example
|
|
119
120
|
|
|
120
121
|
```typescript
|
|
121
122
|
import {
|
|
122
|
-
|
|
123
|
-
Configuration
|
|
124
|
-
CreateSignatureEnvelopeRequest
|
|
123
|
+
ESignTemplatesApi,
|
|
124
|
+
Configuration
|
|
125
125
|
} from '@openfilz-sdk/typescript-ee';
|
|
126
126
|
|
|
127
127
|
const configuration = new Configuration();
|
|
128
|
-
const apiInstance = new
|
|
128
|
+
const apiInstance = new ESignTemplatesApi(configuration);
|
|
129
129
|
|
|
130
|
-
let
|
|
130
|
+
let id: string; // (default to undefined)
|
|
131
131
|
|
|
132
|
-
const { status, data } = await apiInstance.
|
|
133
|
-
|
|
132
|
+
const { status, data } = await apiInstance.get1(
|
|
133
|
+
id
|
|
134
134
|
);
|
|
135
135
|
```
|
|
136
136
|
|
|
@@ -138,12 +138,12 @@ const { status, data } = await apiInstance.create(
|
|
|
138
138
|
|
|
139
139
|
|Name | Type | Description | Notes|
|
|
140
140
|
|------------- | ------------- | ------------- | -------------|
|
|
141
|
-
| **
|
|
141
|
+
| **id** | [**string**] | | defaults to undefined|
|
|
142
142
|
|
|
143
143
|
|
|
144
144
|
### Return type
|
|
145
145
|
|
|
146
|
-
**
|
|
146
|
+
**SignatureTemplateDTO**
|
|
147
147
|
|
|
148
148
|
### Authorization
|
|
149
149
|
|
|
@@ -151,7 +151,7 @@ const { status, data } = await apiInstance.create(
|
|
|
151
151
|
|
|
152
152
|
### HTTP request headers
|
|
153
153
|
|
|
154
|
-
- **Content-Type**:
|
|
154
|
+
- **Content-Type**: Not defined
|
|
155
155
|
- **Accept**: application/json
|
|
156
156
|
|
|
157
157
|
|
|
@@ -162,25 +162,28 @@ const { status, data } = await apiInstance.create(
|
|
|
162
162
|
|
|
163
163
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
164
164
|
|
|
165
|
-
# **
|
|
166
|
-
> SignatureEnvelopeDTO
|
|
165
|
+
# **instantiate**
|
|
166
|
+
> SignatureEnvelopeDTO instantiate(instantiateTemplateRequest)
|
|
167
167
|
|
|
168
168
|
|
|
169
169
|
### Example
|
|
170
170
|
|
|
171
171
|
```typescript
|
|
172
172
|
import {
|
|
173
|
-
|
|
174
|
-
Configuration
|
|
173
|
+
ESignTemplatesApi,
|
|
174
|
+
Configuration,
|
|
175
|
+
InstantiateTemplateRequest
|
|
175
176
|
} from '@openfilz-sdk/typescript-ee';
|
|
176
177
|
|
|
177
178
|
const configuration = new Configuration();
|
|
178
|
-
const apiInstance = new
|
|
179
|
+
const apiInstance = new ESignTemplatesApi(configuration);
|
|
179
180
|
|
|
180
181
|
let id: string; // (default to undefined)
|
|
182
|
+
let instantiateTemplateRequest: InstantiateTemplateRequest; //
|
|
181
183
|
|
|
182
|
-
const { status, data } = await apiInstance.
|
|
183
|
-
id
|
|
184
|
+
const { status, data } = await apiInstance.instantiate(
|
|
185
|
+
id,
|
|
186
|
+
instantiateTemplateRequest
|
|
184
187
|
);
|
|
185
188
|
```
|
|
186
189
|
|
|
@@ -188,6 +191,7 @@ const { status, data } = await apiInstance.get1(
|
|
|
188
191
|
|
|
189
192
|
|Name | Type | Description | Notes|
|
|
190
193
|
|------------- | ------------- | ------------- | -------------|
|
|
194
|
+
| **instantiateTemplateRequest** | **InstantiateTemplateRequest**| | |
|
|
191
195
|
| **id** | [**string**] | | defaults to undefined|
|
|
192
196
|
|
|
193
197
|
|
|
@@ -201,7 +205,7 @@ const { status, data } = await apiInstance.get1(
|
|
|
201
205
|
|
|
202
206
|
### HTTP request headers
|
|
203
207
|
|
|
204
|
-
- **Content-Type**:
|
|
208
|
+
- **Content-Type**: application/json
|
|
205
209
|
- **Accept**: application/json
|
|
206
210
|
|
|
207
211
|
|
|
@@ -212,22 +216,22 @@ const { status, data } = await apiInstance.get1(
|
|
|
212
216
|
|
|
213
217
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
214
218
|
|
|
215
|
-
# **
|
|
216
|
-
> Array<
|
|
219
|
+
# **list**
|
|
220
|
+
> Array<SignatureTemplateDTO> list()
|
|
217
221
|
|
|
218
222
|
|
|
219
223
|
### Example
|
|
220
224
|
|
|
221
225
|
```typescript
|
|
222
226
|
import {
|
|
223
|
-
|
|
227
|
+
ESignTemplatesApi,
|
|
224
228
|
Configuration
|
|
225
229
|
} from '@openfilz-sdk/typescript-ee';
|
|
226
230
|
|
|
227
231
|
const configuration = new Configuration();
|
|
228
|
-
const apiInstance = new
|
|
232
|
+
const apiInstance = new ESignTemplatesApi(configuration);
|
|
229
233
|
|
|
230
|
-
const { status, data } = await apiInstance.
|
|
234
|
+
const { status, data } = await apiInstance.list();
|
|
231
235
|
```
|
|
232
236
|
|
|
233
237
|
### Parameters
|
|
@@ -236,7 +240,7 @@ This endpoint does not have any parameters.
|
|
|
236
240
|
|
|
237
241
|
### Return type
|
|
238
242
|
|
|
239
|
-
**Array<
|
|
243
|
+
**Array<SignatureTemplateDTO>**
|
|
240
244
|
|
|
241
245
|
### Authorization
|
|
242
246
|
|
|
@@ -255,31 +259,42 @@ This endpoint does not have any parameters.
|
|
|
255
259
|
|
|
256
260
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
257
261
|
|
|
258
|
-
# **
|
|
259
|
-
>
|
|
262
|
+
# **update1**
|
|
263
|
+
> SignatureTemplateDTO update1(signatureTemplateRequest)
|
|
260
264
|
|
|
261
265
|
|
|
262
266
|
### Example
|
|
263
267
|
|
|
264
268
|
```typescript
|
|
265
269
|
import {
|
|
266
|
-
|
|
267
|
-
Configuration
|
|
270
|
+
ESignTemplatesApi,
|
|
271
|
+
Configuration,
|
|
272
|
+
SignatureTemplateRequest
|
|
268
273
|
} from '@openfilz-sdk/typescript-ee';
|
|
269
274
|
|
|
270
275
|
const configuration = new Configuration();
|
|
271
|
-
const apiInstance = new
|
|
276
|
+
const apiInstance = new ESignTemplatesApi(configuration);
|
|
272
277
|
|
|
273
|
-
|
|
278
|
+
let id: string; // (default to undefined)
|
|
279
|
+
let signatureTemplateRequest: SignatureTemplateRequest; //
|
|
280
|
+
|
|
281
|
+
const { status, data } = await apiInstance.update1(
|
|
282
|
+
id,
|
|
283
|
+
signatureTemplateRequest
|
|
284
|
+
);
|
|
274
285
|
```
|
|
275
286
|
|
|
276
287
|
### Parameters
|
|
277
|
-
|
|
288
|
+
|
|
289
|
+
|Name | Type | Description | Notes|
|
|
290
|
+
|------------- | ------------- | ------------- | -------------|
|
|
291
|
+
| **signatureTemplateRequest** | **SignatureTemplateRequest**| | |
|
|
292
|
+
| **id** | [**string**] | | defaults to undefined|
|
|
278
293
|
|
|
279
294
|
|
|
280
295
|
### Return type
|
|
281
296
|
|
|
282
|
-
**
|
|
297
|
+
**SignatureTemplateDTO**
|
|
283
298
|
|
|
284
299
|
### Authorization
|
|
285
300
|
|
|
@@ -287,7 +302,7 @@ This endpoint does not have any parameters.
|
|
|
287
302
|
|
|
288
303
|
### HTTP request headers
|
|
289
304
|
|
|
290
|
-
- **Content-Type**:
|
|
305
|
+
- **Content-Type**: application/json
|
|
291
306
|
- **Accept**: application/json
|
|
292
307
|
|
|
293
308
|
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# EmbedUrlResponse
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**recipientId** | **string** | | [optional] [default to undefined]
|
|
9
|
+
**url** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**issuedAt** | **string** | | [optional] [default to undefined]
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import { EmbedUrlResponse } from '@openfilz-sdk/typescript-ee';
|
|
16
|
+
|
|
17
|
+
const instance: EmbedUrlResponse = {
|
|
18
|
+
recipientId,
|
|
19
|
+
url,
|
|
20
|
+
issuedAt,
|
|
21
|
+
};
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
# InstantiateTemplateRequest
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**sourceDocId** | **string** | | [optional] [default to undefined]
|
|
9
|
+
**title** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**message** | **string** | | [optional] [default to undefined]
|
|
11
|
+
**recipients** | [**Array<RoleBinding>**](RoleBinding.md) | | [default to undefined]
|
|
12
|
+
**expiresInDays** | **number** | | [optional] [default to undefined]
|
|
13
|
+
**reminderDays** | **number** | | [optional] [default to undefined]
|
|
14
|
+
**locale** | **string** | | [optional] [default to undefined]
|
|
15
|
+
**send** | **boolean** | | [optional] [default to undefined]
|
|
16
|
+
|
|
17
|
+
## Example
|
|
18
|
+
|
|
19
|
+
```typescript
|
|
20
|
+
import { InstantiateTemplateRequest } from '@openfilz-sdk/typescript-ee';
|
|
21
|
+
|
|
22
|
+
const instance: InstantiateTemplateRequest = {
|
|
23
|
+
sourceDocId,
|
|
24
|
+
title,
|
|
25
|
+
message,
|
|
26
|
+
recipients,
|
|
27
|
+
expiresInDays,
|
|
28
|
+
reminderDays,
|
|
29
|
+
locale,
|
|
30
|
+
send,
|
|
31
|
+
};
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# ListAiModelsRequest
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**provider** | **string** | Chat LLM provider | [default to undefined]
|
|
9
|
+
**baseUrl** | **string** | Base URL — required for OPENAI_COMPATIBLE, ignored otherwise | [optional] [default to undefined]
|
|
10
|
+
**apiKey** | **string** | API key (write-only). Omit to use the stored key. | [optional] [default to undefined]
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import { ListAiModelsRequest } from '@openfilz-sdk/typescript-ee';
|
|
16
|
+
|
|
17
|
+
const instance: ListAiModelsRequest = {
|
|
18
|
+
provider,
|
|
19
|
+
baseUrl,
|
|
20
|
+
apiKey,
|
|
21
|
+
};
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -13,6 +13,12 @@ Name | Type | Description | Notes
|
|
|
13
13
|
**recipientEmail** | **string** | | [optional] [default to undefined]
|
|
14
14
|
**envelopeStatus** | **string** | | [optional] [default to undefined]
|
|
15
15
|
**recipientStatus** | **string** | | [optional] [default to undefined]
|
|
16
|
+
**myTurn** | **boolean** | | [optional] [default to undefined]
|
|
17
|
+
**authMethod** | **string** | | [optional] [default to undefined]
|
|
18
|
+
**otpRequired** | **boolean** | | [optional] [default to undefined]
|
|
19
|
+
**otpVerified** | **boolean** | | [optional] [default to undefined]
|
|
20
|
+
**fields** | [**Array<SignatureFieldDTO>**](SignatureFieldDTO.md) | | [optional] [default to undefined]
|
|
21
|
+
**otherFields** | [**Array<SignatureFieldDTO>**](SignatureFieldDTO.md) | | [optional] [default to undefined]
|
|
16
22
|
**fieldPage** | **number** | | [optional] [default to undefined]
|
|
17
23
|
**fieldX** | **number** | | [optional] [default to undefined]
|
|
18
24
|
**fieldY** | **number** | | [optional] [default to undefined]
|
|
@@ -35,6 +41,12 @@ const instance: PublicSignatureView = {
|
|
|
35
41
|
recipientEmail,
|
|
36
42
|
envelopeStatus,
|
|
37
43
|
recipientStatus,
|
|
44
|
+
myTurn,
|
|
45
|
+
authMethod,
|
|
46
|
+
otpRequired,
|
|
47
|
+
otpVerified,
|
|
48
|
+
fields,
|
|
49
|
+
otherFields,
|
|
38
50
|
fieldPage,
|
|
39
51
|
fieldX,
|
|
40
52
|
fieldY,
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
# RoleBinding
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**role** | **string** | | [default to undefined]
|
|
9
|
+
**userId** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**name** | **string** | | [optional] [default to undefined]
|
|
11
|
+
**email** | **string** | | [default to undefined]
|
|
12
|
+
**phone** | **string** | | [optional] [default to undefined]
|
|
13
|
+
**locale** | **string** | | [optional] [default to undefined]
|
|
14
|
+
|
|
15
|
+
## Example
|
|
16
|
+
|
|
17
|
+
```typescript
|
|
18
|
+
import { RoleBinding } from '@openfilz-sdk/typescript-ee';
|
|
19
|
+
|
|
20
|
+
const instance: RoleBinding = {
|
|
21
|
+
role,
|
|
22
|
+
userId,
|
|
23
|
+
name,
|
|
24
|
+
email,
|
|
25
|
+
phone,
|
|
26
|
+
locale,
|
|
27
|
+
};
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|