@openfilz-sdk/typescript-ee 1.4.3 → 1.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (93) hide show
  1. package/.openapi-generator/FILES +20 -0
  2. package/.openapi-generator/openfilz-api-generate-typescript-sdk.sha256 +1 -1
  3. package/README.md +20 -2
  4. package/api/digital-signature-api.ts +405 -0
  5. package/api/digital-signature-public-api.ts +463 -0
  6. package/api.ts +2 -0
  7. package/dist/api/digital-signature-api.d.ts +188 -0
  8. package/dist/api/digital-signature-api.js +395 -0
  9. package/dist/api/digital-signature-public-api.d.ts +213 -0
  10. package/dist/api/digital-signature-public-api.js +446 -0
  11. package/dist/api.d.ts +2 -0
  12. package/dist/api.js +2 -0
  13. package/dist/esm/api/digital-signature-api.d.ts +188 -0
  14. package/dist/esm/api/digital-signature-api.js +388 -0
  15. package/dist/esm/api/digital-signature-public-api.d.ts +213 -0
  16. package/dist/esm/api/digital-signature-public-api.js +439 -0
  17. package/dist/esm/api.d.ts +2 -0
  18. package/dist/esm/api.js +2 -0
  19. package/dist/esm/models/apply-signature-request.d.ts +15 -0
  20. package/dist/esm/models/apply-signature-request.js +14 -0
  21. package/dist/esm/models/create-signature-envelope-request.d.ts +19 -0
  22. package/dist/esm/models/create-signature-envelope-request.js +14 -0
  23. package/dist/esm/models/decline-signature-request.d.ts +14 -0
  24. package/dist/esm/models/decline-signature-request.js +14 -0
  25. package/dist/esm/models/enriched-audit-log.d.ts +7 -0
  26. package/dist/esm/models/enriched-audit-log.js +8 -1
  27. package/dist/esm/models/index.d.ts +8 -0
  28. package/dist/esm/models/index.js +8 -0
  29. package/dist/esm/models/mint-upload-token-request.d.ts +1 -0
  30. package/dist/esm/models/notification-dto.d.ts +3 -0
  31. package/dist/esm/models/notification-dto.js +4 -1
  32. package/dist/esm/models/public-signature-view.d.ts +44 -0
  33. package/dist/esm/models/public-signature-view.js +27 -0
  34. package/dist/esm/models/search-by-audit-log-request.d.ts +7 -0
  35. package/dist/esm/models/search-by-audit-log-request.js +8 -1
  36. package/dist/esm/models/signature-envelope-dto.d.ts +34 -0
  37. package/dist/esm/models/signature-envelope-dto.js +21 -0
  38. package/dist/esm/models/signature-field-placement.d.ts +18 -0
  39. package/dist/esm/models/signature-field-placement.js +14 -0
  40. package/dist/esm/models/signature-recipient-dto.d.ts +29 -0
  41. package/dist/esm/models/signature-recipient-dto.js +19 -0
  42. package/dist/esm/models/signature-recipient-input.d.ts +18 -0
  43. package/dist/esm/models/signature-recipient-input.js +14 -0
  44. package/dist/models/apply-signature-request.d.ts +15 -0
  45. package/dist/models/apply-signature-request.js +15 -0
  46. package/dist/models/create-signature-envelope-request.d.ts +19 -0
  47. package/dist/models/create-signature-envelope-request.js +15 -0
  48. package/dist/models/decline-signature-request.d.ts +14 -0
  49. package/dist/models/decline-signature-request.js +15 -0
  50. package/dist/models/enriched-audit-log.d.ts +7 -0
  51. package/dist/models/enriched-audit-log.js +8 -1
  52. package/dist/models/index.d.ts +8 -0
  53. package/dist/models/index.js +8 -0
  54. package/dist/models/mint-upload-token-request.d.ts +1 -0
  55. package/dist/models/notification-dto.d.ts +3 -0
  56. package/dist/models/notification-dto.js +4 -1
  57. package/dist/models/public-signature-view.d.ts +44 -0
  58. package/dist/models/public-signature-view.js +30 -0
  59. package/dist/models/search-by-audit-log-request.d.ts +7 -0
  60. package/dist/models/search-by-audit-log-request.js +8 -1
  61. package/dist/models/signature-envelope-dto.d.ts +34 -0
  62. package/dist/models/signature-envelope-dto.js +24 -0
  63. package/dist/models/signature-field-placement.d.ts +18 -0
  64. package/dist/models/signature-field-placement.js +15 -0
  65. package/dist/models/signature-recipient-dto.d.ts +29 -0
  66. package/dist/models/signature-recipient-dto.js +22 -0
  67. package/dist/models/signature-recipient-input.d.ts +18 -0
  68. package/dist/models/signature-recipient-input.js +15 -0
  69. package/docs/ApplySignatureRequest.md +22 -0
  70. package/docs/CreateSignatureEnvelopeRequest.md +28 -0
  71. package/docs/DeclineSignatureRequest.md +20 -0
  72. package/docs/DigitalSignatureApi.md +249 -0
  73. package/docs/DigitalSignaturePublicApi.md +276 -0
  74. package/docs/MintUploadTokenRequest.md +2 -0
  75. package/docs/PublicSignatureView.md +48 -0
  76. package/docs/SignatureEnvelopeDTO.md +40 -0
  77. package/docs/SignatureFieldPlacement.md +28 -0
  78. package/docs/SignatureRecipientDTO.md +36 -0
  79. package/docs/SignatureRecipientInput.md +26 -0
  80. package/models/apply-signature-request.ts +21 -0
  81. package/models/create-signature-envelope-request.ts +27 -0
  82. package/models/decline-signature-request.ts +20 -0
  83. package/models/enriched-audit-log.ts +8 -1
  84. package/models/index.ts +8 -0
  85. package/models/mint-upload-token-request.ts +1 -0
  86. package/models/notification-dto.ts +4 -1
  87. package/models/public-signature-view.ts +54 -0
  88. package/models/search-by-audit-log-request.ts +8 -1
  89. package/models/signature-envelope-dto.ts +45 -0
  90. package/models/signature-field-placement.ts +24 -0
  91. package/models/signature-recipient-dto.ts +38 -0
  92. package/models/signature-recipient-input.ts +26 -0
  93. package/package.json +1 -1
@@ -0,0 +1,276 @@
1
+ # DigitalSignaturePublicApi
2
+
3
+ All URIs are relative to *http://localhost:8081*
4
+
5
+ |Method | HTTP request | Description|
6
+ |------------- | ------------- | -------------|
7
+ |[**decline1**](#decline1) | **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
+ |[**sign**](#sign) | **POST** /api/v1/public/signatures/sign | Apply the recipient\'s signature|
11
+ |[**view**](#view) | **GET** /api/v1/public/signatures | Resolve a signing token to its envelope view|
12
+
13
+ # **decline1**
14
+ > PublicSignatureView decline1()
15
+
16
+
17
+ ### Example
18
+
19
+ ```typescript
20
+ import {
21
+ DigitalSignaturePublicApi,
22
+ Configuration,
23
+ DeclineSignatureRequest
24
+ } from '@openfilz-sdk/typescript-ee';
25
+
26
+ const configuration = new Configuration();
27
+ const apiInstance = new DigitalSignaturePublicApi(configuration);
28
+
29
+ let token: string; // (default to undefined)
30
+ let declineSignatureRequest: DeclineSignatureRequest; // (optional)
31
+
32
+ const { status, data } = await apiInstance.decline1(
33
+ token,
34
+ declineSignatureRequest
35
+ );
36
+ ```
37
+
38
+ ### Parameters
39
+
40
+ |Name | Type | Description | Notes|
41
+ |------------- | ------------- | ------------- | -------------|
42
+ | **declineSignatureRequest** | **DeclineSignatureRequest**| | |
43
+ | **token** | [**string**] | | defaults to undefined|
44
+
45
+
46
+ ### Return type
47
+
48
+ **PublicSignatureView**
49
+
50
+ ### Authorization
51
+
52
+ [keycloak_auth](../README.md#keycloak_auth)
53
+
54
+ ### HTTP request headers
55
+
56
+ - **Content-Type**: application/json
57
+ - **Accept**: application/json
58
+
59
+
60
+ ### HTTP response details
61
+ | Status code | Description | Response headers |
62
+ |-------------|-------------|------------------|
63
+ |**200** | OK | - |
64
+
65
+ [[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)
66
+
67
+ # **document**
68
+ > File document()
69
+
70
+
71
+ ### Example
72
+
73
+ ```typescript
74
+ import {
75
+ DigitalSignaturePublicApi,
76
+ Configuration
77
+ } from '@openfilz-sdk/typescript-ee';
78
+
79
+ const configuration = new Configuration();
80
+ const apiInstance = new DigitalSignaturePublicApi(configuration);
81
+
82
+ let token: string; // (default to undefined)
83
+
84
+ const { status, data } = await apiInstance.document(
85
+ token
86
+ );
87
+ ```
88
+
89
+ ### Parameters
90
+
91
+ |Name | Type | Description | Notes|
92
+ |------------- | ------------- | ------------- | -------------|
93
+ | **token** | [**string**] | | defaults to undefined|
94
+
95
+
96
+ ### Return type
97
+
98
+ **File**
99
+
100
+ ### Authorization
101
+
102
+ [keycloak_auth](../README.md#keycloak_auth)
103
+
104
+ ### HTTP request headers
105
+
106
+ - **Content-Type**: Not defined
107
+ - **Accept**: application/pdf
108
+
109
+
110
+ ### HTTP response details
111
+ | Status code | Description | Response headers |
112
+ |-------------|-------------|------------------|
113
+ |**200** | OK | - |
114
+
115
+ [[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)
116
+
117
+ # **markViewed**
118
+ > PublicSignatureView markViewed()
119
+
120
+
121
+ ### Example
122
+
123
+ ```typescript
124
+ import {
125
+ DigitalSignaturePublicApi,
126
+ Configuration
127
+ } from '@openfilz-sdk/typescript-ee';
128
+
129
+ const configuration = new Configuration();
130
+ const apiInstance = new DigitalSignaturePublicApi(configuration);
131
+
132
+ let token: string; // (default to undefined)
133
+ let userAgent: string; // (optional) (default to undefined)
134
+
135
+ const { status, data } = await apiInstance.markViewed(
136
+ token,
137
+ userAgent
138
+ );
139
+ ```
140
+
141
+ ### Parameters
142
+
143
+ |Name | Type | Description | Notes|
144
+ |------------- | ------------- | ------------- | -------------|
145
+ | **token** | [**string**] | | defaults to undefined|
146
+ | **userAgent** | [**string**] | | (optional) defaults to undefined|
147
+
148
+
149
+ ### Return type
150
+
151
+ **PublicSignatureView**
152
+
153
+ ### Authorization
154
+
155
+ [keycloak_auth](../README.md#keycloak_auth)
156
+
157
+ ### HTTP request headers
158
+
159
+ - **Content-Type**: Not defined
160
+ - **Accept**: application/json
161
+
162
+
163
+ ### HTTP response details
164
+ | Status code | Description | Response headers |
165
+ |-------------|-------------|------------------|
166
+ |**200** | OK | - |
167
+
168
+ [[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
+
170
+ # **sign**
171
+ > PublicSignatureView sign(applySignatureRequest)
172
+
173
+
174
+ ### Example
175
+
176
+ ```typescript
177
+ import {
178
+ DigitalSignaturePublicApi,
179
+ Configuration,
180
+ ApplySignatureRequest
181
+ } from '@openfilz-sdk/typescript-ee';
182
+
183
+ const configuration = new Configuration();
184
+ const apiInstance = new DigitalSignaturePublicApi(configuration);
185
+
186
+ let token: string; // (default to undefined)
187
+ let applySignatureRequest: ApplySignatureRequest; //
188
+ let userAgent: string; // (optional) (default to undefined)
189
+
190
+ const { status, data } = await apiInstance.sign(
191
+ token,
192
+ applySignatureRequest,
193
+ userAgent
194
+ );
195
+ ```
196
+
197
+ ### Parameters
198
+
199
+ |Name | Type | Description | Notes|
200
+ |------------- | ------------- | ------------- | -------------|
201
+ | **applySignatureRequest** | **ApplySignatureRequest**| | |
202
+ | **token** | [**string**] | | defaults to undefined|
203
+ | **userAgent** | [**string**] | | (optional) defaults to undefined|
204
+
205
+
206
+ ### Return type
207
+
208
+ **PublicSignatureView**
209
+
210
+ ### Authorization
211
+
212
+ [keycloak_auth](../README.md#keycloak_auth)
213
+
214
+ ### HTTP request headers
215
+
216
+ - **Content-Type**: application/json
217
+ - **Accept**: application/json
218
+
219
+
220
+ ### HTTP response details
221
+ | Status code | Description | Response headers |
222
+ |-------------|-------------|------------------|
223
+ |**200** | OK | - |
224
+
225
+ [[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)
226
+
227
+ # **view**
228
+ > PublicSignatureView view()
229
+
230
+
231
+ ### Example
232
+
233
+ ```typescript
234
+ import {
235
+ DigitalSignaturePublicApi,
236
+ Configuration
237
+ } from '@openfilz-sdk/typescript-ee';
238
+
239
+ const configuration = new Configuration();
240
+ const apiInstance = new DigitalSignaturePublicApi(configuration);
241
+
242
+ let token: string; // (default to undefined)
243
+
244
+ const { status, data } = await apiInstance.view(
245
+ token
246
+ );
247
+ ```
248
+
249
+ ### Parameters
250
+
251
+ |Name | Type | Description | Notes|
252
+ |------------- | ------------- | ------------- | -------------|
253
+ | **token** | [**string**] | | defaults to undefined|
254
+
255
+
256
+ ### Return type
257
+
258
+ **PublicSignatureView**
259
+
260
+ ### Authorization
261
+
262
+ [keycloak_auth](../README.md#keycloak_auth)
263
+
264
+ ### HTTP request headers
265
+
266
+ - **Content-Type**: Not defined
267
+ - **Accept**: application/json
268
+
269
+
270
+ ### HTTP response details
271
+ | Status code | Description | Response headers |
272
+ |-------------|-------------|------------------|
273
+ |**200** | OK | - |
274
+
275
+ [[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)
276
+
@@ -9,6 +9,7 @@ Name | Type | Description | Notes
9
9
  **maxSizeBytes** | **number** | | [optional] [default to undefined]
10
10
  **allowedMimeTypes** | **Array<string>** | | [default to undefined]
11
11
  **ttlSeconds** | **number** | | [optional] [default to undefined]
12
+ **allowDuplicateFileNames** | **boolean** | | [optional] [default to undefined]
12
13
 
13
14
  ## Example
14
15
 
@@ -20,6 +21,7 @@ const instance: MintUploadTokenRequest = {
20
21
  maxSizeBytes,
21
22
  allowedMimeTypes,
22
23
  ttlSeconds,
24
+ allowDuplicateFileNames,
23
25
  };
24
26
  ```
25
27
 
@@ -0,0 +1,48 @@
1
+ # PublicSignatureView
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **envelopeTitle** | **string** | | [optional] [default to undefined]
9
+ **message** | **string** | | [optional] [default to undefined]
10
+ **initiatorEmail** | **string** | | [optional] [default to undefined]
11
+ **documentName** | **string** | | [optional] [default to undefined]
12
+ **recipientName** | **string** | | [optional] [default to undefined]
13
+ **recipientEmail** | **string** | | [optional] [default to undefined]
14
+ **envelopeStatus** | **string** | | [optional] [default to undefined]
15
+ **recipientStatus** | **string** | | [optional] [default to undefined]
16
+ **fieldPage** | **number** | | [optional] [default to undefined]
17
+ **fieldX** | **number** | | [optional] [default to undefined]
18
+ **fieldY** | **number** | | [optional] [default to undefined]
19
+ **fieldW** | **number** | | [optional] [default to undefined]
20
+ **fieldH** | **number** | | [optional] [default to undefined]
21
+ **signatureImage** | **string** | | [optional] [default to undefined]
22
+ **signatureTyped** | **string** | | [optional] [default to undefined]
23
+
24
+ ## Example
25
+
26
+ ```typescript
27
+ import { PublicSignatureView } from '@openfilz-sdk/typescript-ee';
28
+
29
+ const instance: PublicSignatureView = {
30
+ envelopeTitle,
31
+ message,
32
+ initiatorEmail,
33
+ documentName,
34
+ recipientName,
35
+ recipientEmail,
36
+ envelopeStatus,
37
+ recipientStatus,
38
+ fieldPage,
39
+ fieldX,
40
+ fieldY,
41
+ fieldW,
42
+ fieldH,
43
+ signatureImage,
44
+ signatureTyped,
45
+ };
46
+ ```
47
+
48
+ [[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,40 @@
1
+ # SignatureEnvelopeDTO
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **id** | **string** | | [optional] [default to undefined]
9
+ **title** | **string** | | [optional] [default to undefined]
10
+ **message** | **string** | | [optional] [default to undefined]
11
+ **sourceDocId** | **string** | | [optional] [default to undefined]
12
+ **signedDocId** | **string** | | [optional] [default to undefined]
13
+ **status** | **string** | | [optional] [default to undefined]
14
+ **initiatorEmail** | **string** | | [optional] [default to undefined]
15
+ **createdAt** | **string** | | [optional] [default to undefined]
16
+ **completedAt** | **string** | | [optional] [default to undefined]
17
+ **expiresAt** | **string** | | [optional] [default to undefined]
18
+ **recipients** | [**Array<SignatureRecipientDTO>**](SignatureRecipientDTO.md) | | [optional] [default to undefined]
19
+
20
+ ## Example
21
+
22
+ ```typescript
23
+ import { SignatureEnvelopeDTO } from '@openfilz-sdk/typescript-ee';
24
+
25
+ const instance: SignatureEnvelopeDTO = {
26
+ id,
27
+ title,
28
+ message,
29
+ sourceDocId,
30
+ signedDocId,
31
+ status,
32
+ initiatorEmail,
33
+ createdAt,
34
+ completedAt,
35
+ expiresAt,
36
+ recipients,
37
+ };
38
+ ```
39
+
40
+ [[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,28 @@
1
+ # SignatureFieldPlacement
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **page** | **number** | | [default to undefined]
9
+ **x** | **number** | | [default to undefined]
10
+ **y** | **number** | | [default to undefined]
11
+ **w** | **number** | | [default to undefined]
12
+ **h** | **number** | | [default to undefined]
13
+
14
+ ## Example
15
+
16
+ ```typescript
17
+ import { SignatureFieldPlacement } from '@openfilz-sdk/typescript-ee';
18
+
19
+ const instance: SignatureFieldPlacement = {
20
+ page,
21
+ x,
22
+ y,
23
+ w,
24
+ h,
25
+ };
26
+ ```
27
+
28
+ [[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,36 @@
1
+ # SignatureRecipientDTO
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **id** | **string** | | [optional] [default to undefined]
9
+ **userId** | **string** | | [optional] [default to undefined]
10
+ **name** | **string** | | [optional] [default to undefined]
11
+ **email** | **string** | | [optional] [default to undefined]
12
+ **orderIndex** | **number** | | [optional] [default to undefined]
13
+ **status** | **string** | | [optional] [default to undefined]
14
+ **viewedAt** | **string** | | [optional] [default to undefined]
15
+ **signedAt** | **string** | | [optional] [default to undefined]
16
+ **declineReason** | **string** | | [optional] [default to undefined]
17
+
18
+ ## Example
19
+
20
+ ```typescript
21
+ import { SignatureRecipientDTO } from '@openfilz-sdk/typescript-ee';
22
+
23
+ const instance: SignatureRecipientDTO = {
24
+ id,
25
+ userId,
26
+ name,
27
+ email,
28
+ orderIndex,
29
+ status,
30
+ viewedAt,
31
+ signedAt,
32
+ declineReason,
33
+ };
34
+ ```
35
+
36
+ [[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,26 @@
1
+ # SignatureRecipientInput
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **userId** | **string** | | [optional] [default to undefined]
9
+ **name** | **string** | | [optional] [default to undefined]
10
+ **email** | **string** | | [default to undefined]
11
+ **field** | [**SignatureFieldPlacement**](SignatureFieldPlacement.md) | | [default to undefined]
12
+
13
+ ## Example
14
+
15
+ ```typescript
16
+ import { SignatureRecipientInput } from '@openfilz-sdk/typescript-ee';
17
+
18
+ const instance: SignatureRecipientInput = {
19
+ userId,
20
+ name,
21
+ email,
22
+ field,
23
+ };
24
+ ```
25
+
26
+ [[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,21 @@
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
+
17
+ export interface ApplySignatureRequest {
18
+ 'signatureImage'?: string;
19
+ 'typedName'?: string;
20
+ }
21
+
@@ -0,0 +1,27 @@
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
+ // May contain unused imports in some cases
17
+ // @ts-ignore
18
+ import type { SignatureRecipientInput } from './signature-recipient-input';
19
+
20
+ export interface CreateSignatureEnvelopeRequest {
21
+ 'sourceDocId': string;
22
+ 'title': string;
23
+ 'message'?: string;
24
+ 'recipients': Array<SignatureRecipientInput>;
25
+ 'expiresInDays'?: number;
26
+ }
27
+
@@ -0,0 +1,20 @@
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
+
17
+ export interface DeclineSignatureRequest {
18
+ 'reason'?: string;
19
+ }
20
+
@@ -72,7 +72,14 @@ export const EnrichedAuditLogActionEnum = {
72
72
  DelegatedGrantConsumed: 'DELEGATED_GRANT_CONSUMED',
73
73
  DelegatedGrantSubscriptionRevokedByAdmin: 'DELEGATED_GRANT_SUBSCRIPTION_REVOKED_BY_ADMIN',
74
74
  DelegatedBrowse: 'DELEGATED_BROWSE',
75
- AdminMonitoringOptOutChanged: 'ADMIN_MONITORING_OPT_OUT_CHANGED'
75
+ AdminMonitoringOptOutChanged: 'ADMIN_MONITORING_OPT_OUT_CHANGED',
76
+ SignatureEnvelopeCreated: 'SIGNATURE_ENVELOPE_CREATED',
77
+ SignatureEnvelopeSent: 'SIGNATURE_ENVELOPE_SENT',
78
+ SignatureDocumentSigned: 'SIGNATURE_DOCUMENT_SIGNED',
79
+ SignatureEnvelopeCompleted: 'SIGNATURE_ENVELOPE_COMPLETED',
80
+ SignatureEnvelopeDeclined: 'SIGNATURE_ENVELOPE_DECLINED',
81
+ SignatureEnvelopeCancelled: 'SIGNATURE_ENVELOPE_CANCELLED',
82
+ SignatureEnvelopeExpired: 'SIGNATURE_ENVELOPE_EXPIRED'
76
83
  } as const;
77
84
 
78
85
  export type EnrichedAuditLogActionEnum = typeof EnrichedAuditLogActionEnum[keyof typeof EnrichedAuditLogActionEnum];
package/models/index.ts CHANGED
@@ -1,4 +1,5 @@
1
1
  export * from './ancestor-info';
2
+ export * from './apply-signature-request';
2
3
  export * from './audit-log-details';
3
4
  export * from './audit-verification-result';
4
5
  export * from './broken-link';
@@ -12,8 +13,10 @@ export * from './create-comment-request';
12
13
  export * from './create-delegated-grant-request';
13
14
  export * from './create-folder-audit';
14
15
  export * from './create-folder-request';
16
+ export * from './create-signature-envelope-request';
15
17
  export * from './create-team-request';
16
18
  export * from './dashboard-statistics-response';
19
+ export * from './decline-signature-request';
17
20
  export * from './delegated-folder-node';
18
21
  export * from './delegated-grant-dto';
19
22
  export * from './delete-audit';
@@ -35,6 +38,7 @@ export * from './mint-upload-token-request';
35
38
  export * from './move-audit';
36
39
  export * from './move-request';
37
40
  export * from './notification-dto';
41
+ export * from './public-signature-view';
38
42
  export * from './rename-audit';
39
43
  export * from './rename-request';
40
44
  export * from './replace-audit';
@@ -49,6 +53,10 @@ export * from './share-request';
49
53
  export * from './share-result-error';
50
54
  export * from './share-result-item';
51
55
  export * from './share-result-response';
56
+ export * from './signature-envelope-dto';
57
+ export * from './signature-field-placement';
58
+ export * from './signature-recipient-dto';
59
+ export * from './signature-recipient-input';
52
60
  export * from './sort-input';
53
61
  export * from './storage-breakdown';
54
62
  export * from './suggest';
@@ -19,5 +19,6 @@ export interface MintUploadTokenRequest {
19
19
  'maxSizeBytes'?: number;
20
20
  'allowedMimeTypes': Array<string>;
21
21
  'ttlSeconds'?: number;
22
+ 'allowDuplicateFileNames'?: boolean;
22
23
  }
23
24
 
@@ -33,7 +33,10 @@ export const NotificationDTOTypeEnum = {
33
33
  VirusDetected: 'VIRUS_DETECTED',
34
34
  DelegatedGrantRequested: 'DELEGATED_GRANT_REQUESTED',
35
35
  DelegatedGrantConsumed: 'DELEGATED_GRANT_CONSUMED',
36
- DelegatedGrantExpired: 'DELEGATED_GRANT_EXPIRED'
36
+ DelegatedGrantExpired: 'DELEGATED_GRANT_EXPIRED',
37
+ SignatureRequest: 'SIGNATURE_REQUEST',
38
+ SignatureCompleted: 'SIGNATURE_COMPLETED',
39
+ SignatureDeclined: 'SIGNATURE_DECLINED'
37
40
  } as const;
38
41
 
39
42
  export type NotificationDTOTypeEnum = typeof NotificationDTOTypeEnum[keyof typeof NotificationDTOTypeEnum];
@@ -0,0 +1,54 @@
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
+
17
+ export interface PublicSignatureView {
18
+ 'envelopeTitle'?: string;
19
+ 'message'?: string;
20
+ 'initiatorEmail'?: string;
21
+ 'documentName'?: string;
22
+ 'recipientName'?: string;
23
+ 'recipientEmail'?: string;
24
+ 'envelopeStatus'?: PublicSignatureViewEnvelopeStatusEnum;
25
+ 'recipientStatus'?: PublicSignatureViewRecipientStatusEnum;
26
+ 'fieldPage'?: number;
27
+ 'fieldX'?: number;
28
+ 'fieldY'?: number;
29
+ 'fieldW'?: number;
30
+ 'fieldH'?: number;
31
+ 'signatureImage'?: string;
32
+ 'signatureTyped'?: string;
33
+ }
34
+
35
+ export const PublicSignatureViewEnvelopeStatusEnum = {
36
+ Draft: 'DRAFT',
37
+ Sent: 'SENT',
38
+ Completed: 'COMPLETED',
39
+ Declined: 'DECLINED',
40
+ Cancelled: 'CANCELLED',
41
+ Expired: 'EXPIRED'
42
+ } as const;
43
+
44
+ export type PublicSignatureViewEnvelopeStatusEnum = typeof PublicSignatureViewEnvelopeStatusEnum[keyof typeof PublicSignatureViewEnvelopeStatusEnum];
45
+ export const PublicSignatureViewRecipientStatusEnum = {
46
+ Pending: 'PENDING',
47
+ Viewed: 'VIEWED',
48
+ Signed: 'SIGNED',
49
+ Declined: 'DECLINED'
50
+ } as const;
51
+
52
+ export type PublicSignatureViewRecipientStatusEnum = typeof PublicSignatureViewRecipientStatusEnum[keyof typeof PublicSignatureViewRecipientStatusEnum];
53
+
54
+
@@ -85,7 +85,14 @@ export const SearchByAuditLogRequestActionEnum = {
85
85
  DelegatedGrantConsumed: 'DELEGATED_GRANT_CONSUMED',
86
86
  DelegatedGrantSubscriptionRevokedByAdmin: 'DELEGATED_GRANT_SUBSCRIPTION_REVOKED_BY_ADMIN',
87
87
  DelegatedBrowse: 'DELEGATED_BROWSE',
88
- AdminMonitoringOptOutChanged: 'ADMIN_MONITORING_OPT_OUT_CHANGED'
88
+ AdminMonitoringOptOutChanged: 'ADMIN_MONITORING_OPT_OUT_CHANGED',
89
+ SignatureEnvelopeCreated: 'SIGNATURE_ENVELOPE_CREATED',
90
+ SignatureEnvelopeSent: 'SIGNATURE_ENVELOPE_SENT',
91
+ SignatureDocumentSigned: 'SIGNATURE_DOCUMENT_SIGNED',
92
+ SignatureEnvelopeCompleted: 'SIGNATURE_ENVELOPE_COMPLETED',
93
+ SignatureEnvelopeDeclined: 'SIGNATURE_ENVELOPE_DECLINED',
94
+ SignatureEnvelopeCancelled: 'SIGNATURE_ENVELOPE_CANCELLED',
95
+ SignatureEnvelopeExpired: 'SIGNATURE_ENVELOPE_EXPIRED'
89
96
  } as const;
90
97
 
91
98
  export type SearchByAuditLogRequestActionEnum = typeof SearchByAuditLogRequestActionEnum[keyof typeof SearchByAuditLogRequestActionEnum];