@openfilz-sdk/typescript 1.2.27 → 1.2.28
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 +44 -0
- package/.openapi-generator/openfilz-api-generate-typescript-sdk.sha256 +1 -1
- package/README.md +43 -2
- package/api/esign-api.ts +719 -0
- package/api/esign-public-api.ts +622 -0
- package/api/esign-templates-api.ts +503 -0
- package/api.ts +3 -0
- package/dist/api/esign-api.d.ts +334 -0
- package/dist/api/esign-api.js +693 -0
- package/dist/api/esign-public-api.d.ts +282 -0
- package/dist/api/esign-public-api.js +595 -0
- package/dist/api/esign-templates-api.d.ts +234 -0
- package/dist/api/esign-templates-api.js +486 -0
- package/dist/api.d.ts +3 -0
- package/dist/api.js +3 -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-public-api.d.ts +282 -0
- package/dist/esm/api/esign-public-api.js +588 -0
- package/dist/esm/api/esign-templates-api.d.ts +234 -0
- package/dist/esm/api/esign-templates-api.js +479 -0
- package/dist/esm/api.d.ts +3 -0
- package/dist/esm/api.js +3 -0
- package/dist/esm/models/apply-signature-request.d.ts +18 -0
- package/dist/esm/models/apply-signature-request.js +14 -0
- package/dist/esm/models/audit-log.d.ts +10 -0
- package/dist/esm/models/audit-log.js +10 -0
- package/dist/esm/models/create-signature-envelope-request.d.ts +24 -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/index.d.ts +19 -0
- package/dist/esm/models/index.js +19 -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/public-signature-view.d.ts +57 -0
- package/dist/esm/models/public-signature-view.js +32 -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 +10 -0
- package/dist/esm/models/search-by-audit-log-request.js +10 -0
- package/dist/esm/models/settings.d.ts +3 -0
- package/dist/esm/models/signature-envelope-dto.d.ts +40 -0
- package/dist/esm/models/signature-envelope-dto.js +21 -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-placement.d.ts +18 -0
- package/dist/esm/models/signature-field-placement.js +14 -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 +45 -0
- package/dist/esm/models/signature-recipient-dto.js +28 -0
- package/dist/esm/models/signature-recipient-input.d.ts +36 -0
- package/dist/esm/models/signature-recipient-input.js +22 -0
- 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/apply-signature-request.d.ts +18 -0
- package/dist/models/apply-signature-request.js +15 -0
- package/dist/models/audit-log.d.ts +10 -0
- package/dist/models/audit-log.js +10 -0
- package/dist/models/create-signature-envelope-request.d.ts +24 -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/index.d.ts +19 -0
- package/dist/models/index.js +19 -0
- package/dist/models/instantiate-template-request.d.ts +22 -0
- package/dist/models/instantiate-template-request.js +15 -0
- package/dist/models/public-signature-view.d.ts +57 -0
- package/dist/models/public-signature-view.js +35 -0
- 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 +10 -0
- package/dist/models/search-by-audit-log-request.js +10 -0
- package/dist/models/settings.d.ts +3 -0
- package/dist/models/signature-envelope-dto.d.ts +40 -0
- package/dist/models/signature-envelope-dto.js +24 -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-placement.d.ts +18 -0
- package/dist/models/signature-field-placement.js +15 -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 +45 -0
- package/dist/models/signature-recipient-dto.js +31 -0
- package/dist/models/signature-recipient-input.d.ts +36 -0
- package/dist/models/signature-recipient-input.js +25 -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/ApplySignatureRequest.md +26 -0
- package/docs/CreateSignatureEnvelopeRequest.md +38 -0
- package/docs/DeclineSignatureRequest.md +20 -0
- package/docs/ESignApi.md +463 -0
- package/docs/ESignPublicApi.md +382 -0
- package/docs/ESignTemplatesApi.md +315 -0
- package/docs/InstantiateTemplateRequest.md +34 -0
- package/docs/PublicSignatureView.md +60 -0
- package/docs/RoleBinding.md +30 -0
- package/docs/Settings.md +6 -0
- package/docs/SignatureEnvelopeDTO.md +52 -0
- package/docs/SignatureEventDTO.md +30 -0
- package/docs/SignatureFieldDTO.md +46 -0
- package/docs/SignatureFieldInput.md +36 -0
- package/docs/SignatureFieldPlacement.md +28 -0
- package/docs/SignatureFieldValue.md +24 -0
- package/docs/SignatureRecipientDTO.md +44 -0
- package/docs/SignatureRecipientInput.md +38 -0
- 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/apply-signature-request.ts +26 -0
- package/models/audit-log.ts +10 -0
- package/models/create-signature-envelope-request.ts +32 -0
- package/models/decline-signature-request.ts +20 -0
- package/models/index.ts +19 -0
- package/models/instantiate-template-request.ts +30 -0
- package/models/public-signature-view.ts +70 -0
- package/models/role-binding.ts +25 -0
- package/models/search-by-audit-log-request.ts +10 -0
- package/models/settings.ts +3 -0
- package/models/signature-envelope-dto.ts +51 -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-placement.ts +24 -0
- package/models/signature-field-value.ts +22 -0
- package/models/signature-recipient-dto.ts +58 -0
- package/models/signature-recipient-input.ts +50 -0
- 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
|
@@ -0,0 +1,382 @@
|
|
|
1
|
+
# ESignPublicApi
|
|
2
|
+
|
|
3
|
+
All URIs are relative to *http://localhost:8081*
|
|
4
|
+
|
|
5
|
+
|Method | HTTP request | Description|
|
|
6
|
+
|------------- | ------------- | -------------|
|
|
7
|
+
|[**decline**](#decline) | **POST** /api/v1/public/signatures/decline | Decline to sign (voids the envelope)|
|
|
8
|
+
|[**document**](#document) | **GET** /api/v1/public/signatures/document | Stream the source PDF for signing|
|
|
9
|
+
|[**markViewed**](#markviewed) | **POST** /api/v1/public/signatures/viewed | Record that the recipient opened the document|
|
|
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|
|
|
13
|
+
|[**view**](#view) | **GET** /api/v1/public/signatures | Resolve a signing token to its envelope view|
|
|
14
|
+
|
|
15
|
+
# **decline**
|
|
16
|
+
> PublicSignatureView decline()
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
### Example
|
|
20
|
+
|
|
21
|
+
```typescript
|
|
22
|
+
import {
|
|
23
|
+
ESignPublicApi,
|
|
24
|
+
Configuration,
|
|
25
|
+
DeclineSignatureRequest
|
|
26
|
+
} from '@openfilz-sdk/typescript';
|
|
27
|
+
|
|
28
|
+
const configuration = new Configuration();
|
|
29
|
+
const apiInstance = new ESignPublicApi(configuration);
|
|
30
|
+
|
|
31
|
+
let token: string; // (default to undefined)
|
|
32
|
+
let declineSignatureRequest: DeclineSignatureRequest; // (optional)
|
|
33
|
+
|
|
34
|
+
const { status, data } = await apiInstance.decline(
|
|
35
|
+
token,
|
|
36
|
+
declineSignatureRequest
|
|
37
|
+
);
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
### Parameters
|
|
41
|
+
|
|
42
|
+
|Name | Type | Description | Notes|
|
|
43
|
+
|------------- | ------------- | ------------- | -------------|
|
|
44
|
+
| **declineSignatureRequest** | **DeclineSignatureRequest**| | |
|
|
45
|
+
| **token** | [**string**] | | defaults to undefined|
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
### Return type
|
|
49
|
+
|
|
50
|
+
**PublicSignatureView**
|
|
51
|
+
|
|
52
|
+
### Authorization
|
|
53
|
+
|
|
54
|
+
[keycloak_auth](../README.md#keycloak_auth)
|
|
55
|
+
|
|
56
|
+
### HTTP request headers
|
|
57
|
+
|
|
58
|
+
- **Content-Type**: application/json
|
|
59
|
+
- **Accept**: application/json
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
### HTTP response details
|
|
63
|
+
| Status code | Description | Response headers |
|
|
64
|
+
|-------------|-------------|------------------|
|
|
65
|
+
|**200** | OK | - |
|
|
66
|
+
|
|
67
|
+
[[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)
|
|
68
|
+
|
|
69
|
+
# **document**
|
|
70
|
+
> File document()
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
### Example
|
|
74
|
+
|
|
75
|
+
```typescript
|
|
76
|
+
import {
|
|
77
|
+
ESignPublicApi,
|
|
78
|
+
Configuration
|
|
79
|
+
} from '@openfilz-sdk/typescript';
|
|
80
|
+
|
|
81
|
+
const configuration = new Configuration();
|
|
82
|
+
const apiInstance = new ESignPublicApi(configuration);
|
|
83
|
+
|
|
84
|
+
let token: string; // (default to undefined)
|
|
85
|
+
|
|
86
|
+
const { status, data } = await apiInstance.document(
|
|
87
|
+
token
|
|
88
|
+
);
|
|
89
|
+
```
|
|
90
|
+
|
|
91
|
+
### Parameters
|
|
92
|
+
|
|
93
|
+
|Name | Type | Description | Notes|
|
|
94
|
+
|------------- | ------------- | ------------- | -------------|
|
|
95
|
+
| **token** | [**string**] | | defaults to undefined|
|
|
96
|
+
|
|
97
|
+
|
|
98
|
+
### Return type
|
|
99
|
+
|
|
100
|
+
**File**
|
|
101
|
+
|
|
102
|
+
### Authorization
|
|
103
|
+
|
|
104
|
+
[keycloak_auth](../README.md#keycloak_auth)
|
|
105
|
+
|
|
106
|
+
### HTTP request headers
|
|
107
|
+
|
|
108
|
+
- **Content-Type**: Not defined
|
|
109
|
+
- **Accept**: application/pdf
|
|
110
|
+
|
|
111
|
+
|
|
112
|
+
### HTTP response details
|
|
113
|
+
| Status code | Description | Response headers |
|
|
114
|
+
|-------------|-------------|------------------|
|
|
115
|
+
|**200** | OK | - |
|
|
116
|
+
|
|
117
|
+
[[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)
|
|
118
|
+
|
|
119
|
+
# **markViewed**
|
|
120
|
+
> PublicSignatureView markViewed()
|
|
121
|
+
|
|
122
|
+
|
|
123
|
+
### Example
|
|
124
|
+
|
|
125
|
+
```typescript
|
|
126
|
+
import {
|
|
127
|
+
ESignPublicApi,
|
|
128
|
+
Configuration
|
|
129
|
+
} from '@openfilz-sdk/typescript';
|
|
130
|
+
|
|
131
|
+
const configuration = new Configuration();
|
|
132
|
+
const apiInstance = new ESignPublicApi(configuration);
|
|
133
|
+
|
|
134
|
+
let token: string; // (default to undefined)
|
|
135
|
+
let userAgent: string; // (optional) (default to undefined)
|
|
136
|
+
|
|
137
|
+
const { status, data } = await apiInstance.markViewed(
|
|
138
|
+
token,
|
|
139
|
+
userAgent
|
|
140
|
+
);
|
|
141
|
+
```
|
|
142
|
+
|
|
143
|
+
### Parameters
|
|
144
|
+
|
|
145
|
+
|Name | Type | Description | Notes|
|
|
146
|
+
|------------- | ------------- | ------------- | -------------|
|
|
147
|
+
| **token** | [**string**] | | defaults to undefined|
|
|
148
|
+
| **userAgent** | [**string**] | | (optional) defaults to undefined|
|
|
149
|
+
|
|
150
|
+
|
|
151
|
+
### Return type
|
|
152
|
+
|
|
153
|
+
**PublicSignatureView**
|
|
154
|
+
|
|
155
|
+
### Authorization
|
|
156
|
+
|
|
157
|
+
[keycloak_auth](../README.md#keycloak_auth)
|
|
158
|
+
|
|
159
|
+
### HTTP request headers
|
|
160
|
+
|
|
161
|
+
- **Content-Type**: Not defined
|
|
162
|
+
- **Accept**: application/json
|
|
163
|
+
|
|
164
|
+
|
|
165
|
+
### HTTP response details
|
|
166
|
+
| Status code | Description | Response headers |
|
|
167
|
+
|-------------|-------------|------------------|
|
|
168
|
+
|**200** | OK | - |
|
|
169
|
+
|
|
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)
|
|
171
|
+
|
|
172
|
+
# **requestOtp**
|
|
173
|
+
> requestOtp()
|
|
174
|
+
|
|
175
|
+
|
|
176
|
+
### Example
|
|
177
|
+
|
|
178
|
+
```typescript
|
|
179
|
+
import {
|
|
180
|
+
ESignPublicApi,
|
|
181
|
+
Configuration
|
|
182
|
+
} from '@openfilz-sdk/typescript';
|
|
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
|
+
|
|
222
|
+
# **sign**
|
|
223
|
+
> PublicSignatureView sign(applySignatureRequest)
|
|
224
|
+
|
|
225
|
+
|
|
226
|
+
### Example
|
|
227
|
+
|
|
228
|
+
```typescript
|
|
229
|
+
import {
|
|
230
|
+
ESignPublicApi,
|
|
231
|
+
Configuration,
|
|
232
|
+
ApplySignatureRequest
|
|
233
|
+
} from '@openfilz-sdk/typescript';
|
|
234
|
+
|
|
235
|
+
const configuration = new Configuration();
|
|
236
|
+
const apiInstance = new ESignPublicApi(configuration);
|
|
237
|
+
|
|
238
|
+
let token: string; // (default to undefined)
|
|
239
|
+
let applySignatureRequest: ApplySignatureRequest; //
|
|
240
|
+
let userAgent: string; // (optional) (default to undefined)
|
|
241
|
+
|
|
242
|
+
const { status, data } = await apiInstance.sign(
|
|
243
|
+
token,
|
|
244
|
+
applySignatureRequest,
|
|
245
|
+
userAgent
|
|
246
|
+
);
|
|
247
|
+
```
|
|
248
|
+
|
|
249
|
+
### Parameters
|
|
250
|
+
|
|
251
|
+
|Name | Type | Description | Notes|
|
|
252
|
+
|------------- | ------------- | ------------- | -------------|
|
|
253
|
+
| **applySignatureRequest** | **ApplySignatureRequest**| | |
|
|
254
|
+
| **token** | [**string**] | | defaults to undefined|
|
|
255
|
+
| **userAgent** | [**string**] | | (optional) defaults to undefined|
|
|
256
|
+
|
|
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';
|
|
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
|
+
|
|
312
|
+
### Return type
|
|
313
|
+
|
|
314
|
+
**PublicSignatureView**
|
|
315
|
+
|
|
316
|
+
### Authorization
|
|
317
|
+
|
|
318
|
+
[keycloak_auth](../README.md#keycloak_auth)
|
|
319
|
+
|
|
320
|
+
### HTTP request headers
|
|
321
|
+
|
|
322
|
+
- **Content-Type**: application/json
|
|
323
|
+
- **Accept**: application/json
|
|
324
|
+
|
|
325
|
+
|
|
326
|
+
### HTTP response details
|
|
327
|
+
| Status code | Description | Response headers |
|
|
328
|
+
|-------------|-------------|------------------|
|
|
329
|
+
|**200** | OK | - |
|
|
330
|
+
|
|
331
|
+
[[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)
|
|
332
|
+
|
|
333
|
+
# **view**
|
|
334
|
+
> PublicSignatureView view()
|
|
335
|
+
|
|
336
|
+
|
|
337
|
+
### Example
|
|
338
|
+
|
|
339
|
+
```typescript
|
|
340
|
+
import {
|
|
341
|
+
ESignPublicApi,
|
|
342
|
+
Configuration
|
|
343
|
+
} from '@openfilz-sdk/typescript';
|
|
344
|
+
|
|
345
|
+
const configuration = new Configuration();
|
|
346
|
+
const apiInstance = new ESignPublicApi(configuration);
|
|
347
|
+
|
|
348
|
+
let token: string; // (default to undefined)
|
|
349
|
+
|
|
350
|
+
const { status, data } = await apiInstance.view(
|
|
351
|
+
token
|
|
352
|
+
);
|
|
353
|
+
```
|
|
354
|
+
|
|
355
|
+
### Parameters
|
|
356
|
+
|
|
357
|
+
|Name | Type | Description | Notes|
|
|
358
|
+
|------------- | ------------- | ------------- | -------------|
|
|
359
|
+
| **token** | [**string**] | | defaults to undefined|
|
|
360
|
+
|
|
361
|
+
|
|
362
|
+
### Return type
|
|
363
|
+
|
|
364
|
+
**PublicSignatureView**
|
|
365
|
+
|
|
366
|
+
### Authorization
|
|
367
|
+
|
|
368
|
+
[keycloak_auth](../README.md#keycloak_auth)
|
|
369
|
+
|
|
370
|
+
### HTTP request headers
|
|
371
|
+
|
|
372
|
+
- **Content-Type**: Not defined
|
|
373
|
+
- **Accept**: application/json
|
|
374
|
+
|
|
375
|
+
|
|
376
|
+
### HTTP response details
|
|
377
|
+
| Status code | Description | Response headers |
|
|
378
|
+
|-------------|-------------|------------------|
|
|
379
|
+
|**200** | OK | - |
|
|
380
|
+
|
|
381
|
+
[[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)
|
|
382
|
+
|
|
@@ -0,0 +1,315 @@
|
|
|
1
|
+
# ESignTemplatesApi
|
|
2
|
+
|
|
3
|
+
All URIs are relative to *http://localhost:8081*
|
|
4
|
+
|
|
5
|
+
|Method | HTTP request | Description|
|
|
6
|
+
|------------- | ------------- | -------------|
|
|
7
|
+
|[**_delete**](#_delete) | **DELETE** /api/v1/signature-templates/{id} | Delete a template|
|
|
8
|
+
|[**create1**](#create1) | **POST** /api/v1/signature-templates | Create a template|
|
|
9
|
+
|[**get**](#get) | **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
|
+
|[**update**](#update) | **PUT** /api/v1/signature-templates/{id} | Update a template|
|
|
13
|
+
|
|
14
|
+
# **_delete**
|
|
15
|
+
> _delete()
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
### Example
|
|
19
|
+
|
|
20
|
+
```typescript
|
|
21
|
+
import {
|
|
22
|
+
ESignTemplatesApi,
|
|
23
|
+
Configuration
|
|
24
|
+
} from '@openfilz-sdk/typescript';
|
|
25
|
+
|
|
26
|
+
const configuration = new Configuration();
|
|
27
|
+
const apiInstance = new ESignTemplatesApi(configuration);
|
|
28
|
+
|
|
29
|
+
let id: string; // (default to undefined)
|
|
30
|
+
|
|
31
|
+
const { status, data } = await apiInstance._delete(
|
|
32
|
+
id
|
|
33
|
+
);
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
### Parameters
|
|
37
|
+
|
|
38
|
+
|Name | Type | Description | Notes|
|
|
39
|
+
|------------- | ------------- | ------------- | -------------|
|
|
40
|
+
| **id** | [**string**] | | defaults to undefined|
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
### Return type
|
|
44
|
+
|
|
45
|
+
void (empty response body)
|
|
46
|
+
|
|
47
|
+
### Authorization
|
|
48
|
+
|
|
49
|
+
[keycloak_auth](../README.md#keycloak_auth)
|
|
50
|
+
|
|
51
|
+
### HTTP request headers
|
|
52
|
+
|
|
53
|
+
- **Content-Type**: Not defined
|
|
54
|
+
- **Accept**: Not defined
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
### HTTP response details
|
|
58
|
+
| Status code | Description | Response headers |
|
|
59
|
+
|-------------|-------------|------------------|
|
|
60
|
+
|**204** | No Content | - |
|
|
61
|
+
|
|
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
|
+
|
|
64
|
+
# **create1**
|
|
65
|
+
> SignatureTemplateDTO create1(signatureTemplateRequest)
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
### Example
|
|
69
|
+
|
|
70
|
+
```typescript
|
|
71
|
+
import {
|
|
72
|
+
ESignTemplatesApi,
|
|
73
|
+
Configuration,
|
|
74
|
+
SignatureTemplateRequest
|
|
75
|
+
} from '@openfilz-sdk/typescript';
|
|
76
|
+
|
|
77
|
+
const configuration = new Configuration();
|
|
78
|
+
const apiInstance = new ESignTemplatesApi(configuration);
|
|
79
|
+
|
|
80
|
+
let signatureTemplateRequest: SignatureTemplateRequest; //
|
|
81
|
+
|
|
82
|
+
const { status, data } = await apiInstance.create1(
|
|
83
|
+
signatureTemplateRequest
|
|
84
|
+
);
|
|
85
|
+
```
|
|
86
|
+
|
|
87
|
+
### Parameters
|
|
88
|
+
|
|
89
|
+
|Name | Type | Description | Notes|
|
|
90
|
+
|------------- | ------------- | ------------- | -------------|
|
|
91
|
+
| **signatureTemplateRequest** | **SignatureTemplateRequest**| | |
|
|
92
|
+
|
|
93
|
+
|
|
94
|
+
### Return type
|
|
95
|
+
|
|
96
|
+
**SignatureTemplateDTO**
|
|
97
|
+
|
|
98
|
+
### Authorization
|
|
99
|
+
|
|
100
|
+
[keycloak_auth](../README.md#keycloak_auth)
|
|
101
|
+
|
|
102
|
+
### HTTP request headers
|
|
103
|
+
|
|
104
|
+
- **Content-Type**: application/json
|
|
105
|
+
- **Accept**: application/json
|
|
106
|
+
|
|
107
|
+
|
|
108
|
+
### HTTP response details
|
|
109
|
+
| Status code | Description | Response headers |
|
|
110
|
+
|-------------|-------------|------------------|
|
|
111
|
+
|**200** | OK | - |
|
|
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)
|
|
114
|
+
|
|
115
|
+
# **get**
|
|
116
|
+
> SignatureTemplateDTO get()
|
|
117
|
+
|
|
118
|
+
|
|
119
|
+
### Example
|
|
120
|
+
|
|
121
|
+
```typescript
|
|
122
|
+
import {
|
|
123
|
+
ESignTemplatesApi,
|
|
124
|
+
Configuration
|
|
125
|
+
} from '@openfilz-sdk/typescript';
|
|
126
|
+
|
|
127
|
+
const configuration = new Configuration();
|
|
128
|
+
const apiInstance = new ESignTemplatesApi(configuration);
|
|
129
|
+
|
|
130
|
+
let id: string; // (default to undefined)
|
|
131
|
+
|
|
132
|
+
const { status, data } = await apiInstance.get(
|
|
133
|
+
id
|
|
134
|
+
);
|
|
135
|
+
```
|
|
136
|
+
|
|
137
|
+
### Parameters
|
|
138
|
+
|
|
139
|
+
|Name | Type | Description | Notes|
|
|
140
|
+
|------------- | ------------- | ------------- | -------------|
|
|
141
|
+
| **id** | [**string**] | | defaults to undefined|
|
|
142
|
+
|
|
143
|
+
|
|
144
|
+
### Return type
|
|
145
|
+
|
|
146
|
+
**SignatureTemplateDTO**
|
|
147
|
+
|
|
148
|
+
### Authorization
|
|
149
|
+
|
|
150
|
+
[keycloak_auth](../README.md#keycloak_auth)
|
|
151
|
+
|
|
152
|
+
### HTTP request headers
|
|
153
|
+
|
|
154
|
+
- **Content-Type**: Not defined
|
|
155
|
+
- **Accept**: application/json
|
|
156
|
+
|
|
157
|
+
|
|
158
|
+
### HTTP response details
|
|
159
|
+
| Status code | Description | Response headers |
|
|
160
|
+
|-------------|-------------|------------------|
|
|
161
|
+
|**200** | OK | - |
|
|
162
|
+
|
|
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
|
+
|
|
165
|
+
# **instantiate**
|
|
166
|
+
> SignatureEnvelopeDTO instantiate(instantiateTemplateRequest)
|
|
167
|
+
|
|
168
|
+
|
|
169
|
+
### Example
|
|
170
|
+
|
|
171
|
+
```typescript
|
|
172
|
+
import {
|
|
173
|
+
ESignTemplatesApi,
|
|
174
|
+
Configuration,
|
|
175
|
+
InstantiateTemplateRequest
|
|
176
|
+
} from '@openfilz-sdk/typescript';
|
|
177
|
+
|
|
178
|
+
const configuration = new Configuration();
|
|
179
|
+
const apiInstance = new ESignTemplatesApi(configuration);
|
|
180
|
+
|
|
181
|
+
let id: string; // (default to undefined)
|
|
182
|
+
let instantiateTemplateRequest: InstantiateTemplateRequest; //
|
|
183
|
+
|
|
184
|
+
const { status, data } = await apiInstance.instantiate(
|
|
185
|
+
id,
|
|
186
|
+
instantiateTemplateRequest
|
|
187
|
+
);
|
|
188
|
+
```
|
|
189
|
+
|
|
190
|
+
### Parameters
|
|
191
|
+
|
|
192
|
+
|Name | Type | Description | Notes|
|
|
193
|
+
|------------- | ------------- | ------------- | -------------|
|
|
194
|
+
| **instantiateTemplateRequest** | **InstantiateTemplateRequest**| | |
|
|
195
|
+
| **id** | [**string**] | | defaults to undefined|
|
|
196
|
+
|
|
197
|
+
|
|
198
|
+
### Return type
|
|
199
|
+
|
|
200
|
+
**SignatureEnvelopeDTO**
|
|
201
|
+
|
|
202
|
+
### Authorization
|
|
203
|
+
|
|
204
|
+
[keycloak_auth](../README.md#keycloak_auth)
|
|
205
|
+
|
|
206
|
+
### HTTP request headers
|
|
207
|
+
|
|
208
|
+
- **Content-Type**: application/json
|
|
209
|
+
- **Accept**: application/json
|
|
210
|
+
|
|
211
|
+
|
|
212
|
+
### HTTP response details
|
|
213
|
+
| Status code | Description | Response headers |
|
|
214
|
+
|-------------|-------------|------------------|
|
|
215
|
+
|**200** | OK | - |
|
|
216
|
+
|
|
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)
|
|
218
|
+
|
|
219
|
+
# **list**
|
|
220
|
+
> Array<SignatureTemplateDTO> list()
|
|
221
|
+
|
|
222
|
+
|
|
223
|
+
### Example
|
|
224
|
+
|
|
225
|
+
```typescript
|
|
226
|
+
import {
|
|
227
|
+
ESignTemplatesApi,
|
|
228
|
+
Configuration
|
|
229
|
+
} from '@openfilz-sdk/typescript';
|
|
230
|
+
|
|
231
|
+
const configuration = new Configuration();
|
|
232
|
+
const apiInstance = new ESignTemplatesApi(configuration);
|
|
233
|
+
|
|
234
|
+
const { status, data } = await apiInstance.list();
|
|
235
|
+
```
|
|
236
|
+
|
|
237
|
+
### Parameters
|
|
238
|
+
This endpoint does not have any parameters.
|
|
239
|
+
|
|
240
|
+
|
|
241
|
+
### Return type
|
|
242
|
+
|
|
243
|
+
**Array<SignatureTemplateDTO>**
|
|
244
|
+
|
|
245
|
+
### Authorization
|
|
246
|
+
|
|
247
|
+
[keycloak_auth](../README.md#keycloak_auth)
|
|
248
|
+
|
|
249
|
+
### HTTP request headers
|
|
250
|
+
|
|
251
|
+
- **Content-Type**: Not defined
|
|
252
|
+
- **Accept**: application/json
|
|
253
|
+
|
|
254
|
+
|
|
255
|
+
### HTTP response details
|
|
256
|
+
| Status code | Description | Response headers |
|
|
257
|
+
|-------------|-------------|------------------|
|
|
258
|
+
|**200** | OK | - |
|
|
259
|
+
|
|
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)
|
|
261
|
+
|
|
262
|
+
# **update**
|
|
263
|
+
> SignatureTemplateDTO update(signatureTemplateRequest)
|
|
264
|
+
|
|
265
|
+
|
|
266
|
+
### Example
|
|
267
|
+
|
|
268
|
+
```typescript
|
|
269
|
+
import {
|
|
270
|
+
ESignTemplatesApi,
|
|
271
|
+
Configuration,
|
|
272
|
+
SignatureTemplateRequest
|
|
273
|
+
} from '@openfilz-sdk/typescript';
|
|
274
|
+
|
|
275
|
+
const configuration = new Configuration();
|
|
276
|
+
const apiInstance = new ESignTemplatesApi(configuration);
|
|
277
|
+
|
|
278
|
+
let id: string; // (default to undefined)
|
|
279
|
+
let signatureTemplateRequest: SignatureTemplateRequest; //
|
|
280
|
+
|
|
281
|
+
const { status, data } = await apiInstance.update(
|
|
282
|
+
id,
|
|
283
|
+
signatureTemplateRequest
|
|
284
|
+
);
|
|
285
|
+
```
|
|
286
|
+
|
|
287
|
+
### Parameters
|
|
288
|
+
|
|
289
|
+
|Name | Type | Description | Notes|
|
|
290
|
+
|------------- | ------------- | ------------- | -------------|
|
|
291
|
+
| **signatureTemplateRequest** | **SignatureTemplateRequest**| | |
|
|
292
|
+
| **id** | [**string**] | | defaults to undefined|
|
|
293
|
+
|
|
294
|
+
|
|
295
|
+
### Return type
|
|
296
|
+
|
|
297
|
+
**SignatureTemplateDTO**
|
|
298
|
+
|
|
299
|
+
### Authorization
|
|
300
|
+
|
|
301
|
+
[keycloak_auth](../README.md#keycloak_auth)
|
|
302
|
+
|
|
303
|
+
### HTTP request headers
|
|
304
|
+
|
|
305
|
+
- **Content-Type**: application/json
|
|
306
|
+
- **Accept**: application/json
|
|
307
|
+
|
|
308
|
+
|
|
309
|
+
### HTTP response details
|
|
310
|
+
| Status code | Description | Response headers |
|
|
311
|
+
|-------------|-------------|------------------|
|
|
312
|
+
|**200** | OK | - |
|
|
313
|
+
|
|
314
|
+
[[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)
|
|
315
|
+
|