@openfilz-sdk/typescript-ee 1.3.5 → 1.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +32 -6
- package/.openapi-generator/openfilz-api-generate-typescript-sdk.sha256 +1 -1
- package/README.md +36 -7
- package/api/{audit-controller-api.ts → collaboration-audit-controller-api.ts} +42 -42
- package/api/delegated-browse-grants-admin-api.ts +452 -0
- package/api/delegated-browse-grants-end-user-api.ts +426 -0
- package/api/upload-token-controller-api.ts +219 -0
- package/api/user-privacy-api.ts +196 -0
- package/api/webhook-proxy-controller-api.ts +523 -0
- package/api.ts +6 -1
- package/dist/api/{audit-controller-api.d.ts → collaboration-audit-controller-api.d.ts} +35 -35
- package/dist/api/{audit-controller-api.js → collaboration-audit-controller-api.js} +41 -41
- package/dist/api/delegated-browse-grants-admin-api.d.ts +215 -0
- package/dist/api/delegated-browse-grants-admin-api.js +434 -0
- package/dist/api/delegated-browse-grants-end-user-api.d.ts +204 -0
- package/dist/api/delegated-browse-grants-end-user-api.js +416 -0
- package/dist/api/upload-token-controller-api.d.ts +105 -0
- package/dist/api/upload-token-controller-api.js +214 -0
- package/dist/api/user-privacy-api.d.ts +96 -0
- package/dist/api/user-privacy-api.js +195 -0
- package/dist/api/webhook-proxy-controller-api.d.ts +230 -0
- package/dist/api/webhook-proxy-controller-api.js +511 -0
- package/dist/api.d.ts +6 -1
- package/dist/api.js +6 -1
- package/dist/esm/api/{audit-controller-api.d.ts → collaboration-audit-controller-api.d.ts} +35 -35
- package/dist/esm/api/{audit-controller-api.js → collaboration-audit-controller-api.js} +36 -36
- package/dist/esm/api/delegated-browse-grants-admin-api.d.ts +215 -0
- package/dist/esm/api/delegated-browse-grants-admin-api.js +427 -0
- package/dist/esm/api/delegated-browse-grants-end-user-api.d.ts +204 -0
- package/dist/esm/api/delegated-browse-grants-end-user-api.js +409 -0
- package/dist/esm/api/upload-token-controller-api.d.ts +105 -0
- package/dist/esm/api/upload-token-controller-api.js +207 -0
- package/dist/esm/api/user-privacy-api.d.ts +96 -0
- package/dist/esm/api/user-privacy-api.js +188 -0
- package/dist/esm/api/webhook-proxy-controller-api.d.ts +230 -0
- package/dist/esm/api/webhook-proxy-controller-api.js +504 -0
- package/dist/esm/api.d.ts +6 -1
- package/dist/esm/api.js +6 -1
- package/dist/esm/models/consume-delegated-grant-request.d.ts +15 -0
- package/dist/esm/models/create-delegated-grant-request.d.ts +21 -0
- package/dist/esm/models/create-delegated-grant-request.js +16 -0
- package/dist/esm/models/delegated-folder-node.d.ts +16 -0
- package/dist/esm/models/delegated-folder-node.js +14 -0
- package/dist/esm/models/delegated-grant-dto.d.ts +43 -0
- package/dist/esm/models/delegated-grant-dto.js +24 -0
- package/dist/esm/models/{audit-log-details-one-of.d.ts → enriched-audit-log-details.d.ts} +2 -2
- package/dist/esm/models/enriched-audit-log-details.js +14 -0
- package/dist/esm/models/{audit-log.d.ts → enriched-audit-log.d.ts} +27 -16
- package/dist/{models/audit-log.js → esm/models/enriched-audit-log.js} +17 -11
- package/dist/esm/models/index.d.ts +10 -2
- package/dist/esm/models/index.js +10 -2
- package/dist/esm/models/mint-upload-token-request.d.ts +17 -0
- package/dist/esm/models/mint-upload-token-request.js +14 -0
- package/dist/esm/models/notification-dto.d.ts +3 -0
- package/dist/esm/models/notification-dto.js +4 -1
- package/dist/esm/models/search-by-audit-log-request.d.ts +15 -6
- package/dist/esm/models/search-by-audit-log-request.js +15 -6
- package/dist/esm/models/update-user-privacy-request.d.ts +14 -0
- package/dist/esm/models/update-user-privacy-request.js +14 -0
- package/dist/esm/models/upload-token-response.d.ts +18 -0
- package/dist/esm/models/upload-token-response.js +14 -0
- package/dist/esm/models/user-privacy-dto.d.ts +14 -0
- package/dist/esm/models/user-privacy-dto.js +14 -0
- package/dist/models/consume-delegated-grant-request.d.ts +15 -0
- package/dist/models/create-delegated-grant-request.d.ts +21 -0
- package/dist/models/create-delegated-grant-request.js +19 -0
- package/dist/models/delegated-folder-node.d.ts +16 -0
- package/dist/models/delegated-folder-node.js +15 -0
- package/dist/models/delegated-grant-dto.d.ts +43 -0
- package/dist/models/delegated-grant-dto.js +27 -0
- package/dist/models/{audit-log-details-one-of.d.ts → enriched-audit-log-details.d.ts} +2 -2
- package/dist/models/enriched-audit-log-details.js +15 -0
- package/dist/models/{audit-log.d.ts → enriched-audit-log.d.ts} +27 -16
- package/dist/{esm/models/audit-log.js → models/enriched-audit-log.js} +20 -8
- package/dist/models/index.d.ts +10 -2
- package/dist/models/index.js +10 -2
- package/dist/models/mint-upload-token-request.d.ts +17 -0
- package/dist/models/mint-upload-token-request.js +15 -0
- package/dist/models/notification-dto.d.ts +3 -0
- package/dist/models/notification-dto.js +4 -1
- package/dist/models/search-by-audit-log-request.d.ts +15 -6
- package/dist/models/search-by-audit-log-request.js +15 -6
- package/dist/models/update-user-privacy-request.d.ts +14 -0
- package/dist/models/update-user-privacy-request.js +15 -0
- package/dist/models/upload-token-response.d.ts +18 -0
- package/dist/models/upload-token-response.js +15 -0
- package/dist/models/user-privacy-dto.d.ts +14 -0
- package/dist/models/user-privacy-dto.js +15 -0
- package/docs/{AuditControllerApi.md → CollaborationAuditControllerApi.md} +16 -16
- package/docs/ConsumeDelegatedGrantRequest.md +22 -0
- package/docs/CreateDelegatedGrantRequest.md +26 -0
- package/docs/DelegatedBrowseGrantsAdminApi.md +275 -0
- package/docs/DelegatedBrowseGrantsEndUserApi.md +266 -0
- package/docs/DelegatedFolderNode.md +24 -0
- package/docs/DelegatedGrantDTO.md +52 -0
- package/docs/{AuditLog.md → EnrichedAuditLog.md} +9 -5
- package/docs/{AuditLogDetailsOneOf.md → EnrichedAuditLogDetails.md} +3 -3
- package/docs/MintUploadTokenRequest.md +26 -0
- package/docs/UpdateUserPrivacyRequest.md +20 -0
- package/docs/UploadTokenControllerApi.md +115 -0
- package/docs/UploadTokenResponse.md +28 -0
- package/docs/UserPrivacyApi.md +104 -0
- package/docs/UserPrivacyDTO.md +20 -0
- package/docs/WebhookProxyControllerApi.md +364 -0
- package/models/consume-delegated-grant-request.ts +21 -0
- package/models/create-delegated-grant-request.ts +30 -0
- package/models/delegated-folder-node.ts +22 -0
- package/models/delegated-grant-dto.ts +53 -0
- package/models/{audit-log-details-one-of.ts → enriched-audit-log-details.ts} +2 -20
- package/models/{audit-log.ts → enriched-audit-log.ts} +27 -16
- package/models/index.ts +10 -2
- package/models/mint-upload-token-request.ts +23 -0
- package/models/notification-dto.ts +4 -1
- package/models/search-by-audit-log-request.ts +15 -6
- package/models/update-user-privacy-request.ts +20 -0
- package/models/upload-token-response.ts +24 -0
- package/models/user-privacy-dto.ts +20 -0
- package/package.json +1 -1
- /package/dist/esm/models/{audit-log-details-one-of.js → consume-delegated-grant-request.js} +0 -0
- /package/dist/models/{audit-log-details-one-of.js → consume-delegated-grant-request.js} +0 -0
|
@@ -0,0 +1,364 @@
|
|
|
1
|
+
# WebhookProxyControllerApi
|
|
2
|
+
|
|
3
|
+
All URIs are relative to *http://localhost:8081*
|
|
4
|
+
|
|
5
|
+
|Method | HTTP request | Description|
|
|
6
|
+
|------------- | ------------- | -------------|
|
|
7
|
+
|[**proxy**](#proxy) | **GET** /api/v1/webhooks/** | |
|
|
8
|
+
|[**proxy1**](#proxy1) | **POST** /api/v1/webhooks/** | |
|
|
9
|
+
|[**proxy2**](#proxy2) | **PUT** /api/v1/webhooks/** | |
|
|
10
|
+
|[**proxy3**](#proxy3) | **DELETE** /api/v1/webhooks/** | |
|
|
11
|
+
|[**proxy4**](#proxy4) | **PATCH** /api/v1/webhooks/** | |
|
|
12
|
+
|[**proxy5**](#proxy5) | **HEAD** /api/v1/webhooks/** | |
|
|
13
|
+
|[**proxy6**](#proxy6) | **OPTIONS** /api/v1/webhooks/** | |
|
|
14
|
+
|
|
15
|
+
# **proxy**
|
|
16
|
+
> string proxy()
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
### Example
|
|
20
|
+
|
|
21
|
+
```typescript
|
|
22
|
+
import {
|
|
23
|
+
WebhookProxyControllerApi,
|
|
24
|
+
Configuration
|
|
25
|
+
} from '@openfilz-sdk/typescript-ee';
|
|
26
|
+
|
|
27
|
+
const configuration = new Configuration();
|
|
28
|
+
const apiInstance = new WebhookProxyControllerApi(configuration);
|
|
29
|
+
|
|
30
|
+
let body: string; // (optional)
|
|
31
|
+
|
|
32
|
+
const { status, data } = await apiInstance.proxy(
|
|
33
|
+
body
|
|
34
|
+
);
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
### Parameters
|
|
38
|
+
|
|
39
|
+
|Name | Type | Description | Notes|
|
|
40
|
+
|------------- | ------------- | ------------- | -------------|
|
|
41
|
+
| **body** | **string**| | |
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
### Return type
|
|
45
|
+
|
|
46
|
+
**string**
|
|
47
|
+
|
|
48
|
+
### Authorization
|
|
49
|
+
|
|
50
|
+
[keycloak_auth](../README.md#keycloak_auth)
|
|
51
|
+
|
|
52
|
+
### HTTP request headers
|
|
53
|
+
|
|
54
|
+
- **Content-Type**: application/json
|
|
55
|
+
- **Accept**: */*
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
### HTTP response details
|
|
59
|
+
| Status code | Description | Response headers |
|
|
60
|
+
|-------------|-------------|------------------|
|
|
61
|
+
|**200** | OK | - |
|
|
62
|
+
|
|
63
|
+
[[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)
|
|
64
|
+
|
|
65
|
+
# **proxy1**
|
|
66
|
+
> string proxy1()
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
### Example
|
|
70
|
+
|
|
71
|
+
```typescript
|
|
72
|
+
import {
|
|
73
|
+
WebhookProxyControllerApi,
|
|
74
|
+
Configuration
|
|
75
|
+
} from '@openfilz-sdk/typescript-ee';
|
|
76
|
+
|
|
77
|
+
const configuration = new Configuration();
|
|
78
|
+
const apiInstance = new WebhookProxyControllerApi(configuration);
|
|
79
|
+
|
|
80
|
+
let body: string; // (optional)
|
|
81
|
+
|
|
82
|
+
const { status, data } = await apiInstance.proxy1(
|
|
83
|
+
body
|
|
84
|
+
);
|
|
85
|
+
```
|
|
86
|
+
|
|
87
|
+
### Parameters
|
|
88
|
+
|
|
89
|
+
|Name | Type | Description | Notes|
|
|
90
|
+
|------------- | ------------- | ------------- | -------------|
|
|
91
|
+
| **body** | **string**| | |
|
|
92
|
+
|
|
93
|
+
|
|
94
|
+
### Return type
|
|
95
|
+
|
|
96
|
+
**string**
|
|
97
|
+
|
|
98
|
+
### Authorization
|
|
99
|
+
|
|
100
|
+
[keycloak_auth](../README.md#keycloak_auth)
|
|
101
|
+
|
|
102
|
+
### HTTP request headers
|
|
103
|
+
|
|
104
|
+
- **Content-Type**: application/json
|
|
105
|
+
- **Accept**: */*
|
|
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
|
+
# **proxy2**
|
|
116
|
+
> string proxy2()
|
|
117
|
+
|
|
118
|
+
|
|
119
|
+
### Example
|
|
120
|
+
|
|
121
|
+
```typescript
|
|
122
|
+
import {
|
|
123
|
+
WebhookProxyControllerApi,
|
|
124
|
+
Configuration
|
|
125
|
+
} from '@openfilz-sdk/typescript-ee';
|
|
126
|
+
|
|
127
|
+
const configuration = new Configuration();
|
|
128
|
+
const apiInstance = new WebhookProxyControllerApi(configuration);
|
|
129
|
+
|
|
130
|
+
let body: string; // (optional)
|
|
131
|
+
|
|
132
|
+
const { status, data } = await apiInstance.proxy2(
|
|
133
|
+
body
|
|
134
|
+
);
|
|
135
|
+
```
|
|
136
|
+
|
|
137
|
+
### Parameters
|
|
138
|
+
|
|
139
|
+
|Name | Type | Description | Notes|
|
|
140
|
+
|------------- | ------------- | ------------- | -------------|
|
|
141
|
+
| **body** | **string**| | |
|
|
142
|
+
|
|
143
|
+
|
|
144
|
+
### Return type
|
|
145
|
+
|
|
146
|
+
**string**
|
|
147
|
+
|
|
148
|
+
### Authorization
|
|
149
|
+
|
|
150
|
+
[keycloak_auth](../README.md#keycloak_auth)
|
|
151
|
+
|
|
152
|
+
### HTTP request headers
|
|
153
|
+
|
|
154
|
+
- **Content-Type**: application/json
|
|
155
|
+
- **Accept**: */*
|
|
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
|
+
# **proxy3**
|
|
166
|
+
> string proxy3()
|
|
167
|
+
|
|
168
|
+
|
|
169
|
+
### Example
|
|
170
|
+
|
|
171
|
+
```typescript
|
|
172
|
+
import {
|
|
173
|
+
WebhookProxyControllerApi,
|
|
174
|
+
Configuration
|
|
175
|
+
} from '@openfilz-sdk/typescript-ee';
|
|
176
|
+
|
|
177
|
+
const configuration = new Configuration();
|
|
178
|
+
const apiInstance = new WebhookProxyControllerApi(configuration);
|
|
179
|
+
|
|
180
|
+
let body: string; // (optional)
|
|
181
|
+
|
|
182
|
+
const { status, data } = await apiInstance.proxy3(
|
|
183
|
+
body
|
|
184
|
+
);
|
|
185
|
+
```
|
|
186
|
+
|
|
187
|
+
### Parameters
|
|
188
|
+
|
|
189
|
+
|Name | Type | Description | Notes|
|
|
190
|
+
|------------- | ------------- | ------------- | -------------|
|
|
191
|
+
| **body** | **string**| | |
|
|
192
|
+
|
|
193
|
+
|
|
194
|
+
### Return type
|
|
195
|
+
|
|
196
|
+
**string**
|
|
197
|
+
|
|
198
|
+
### Authorization
|
|
199
|
+
|
|
200
|
+
[keycloak_auth](../README.md#keycloak_auth)
|
|
201
|
+
|
|
202
|
+
### HTTP request headers
|
|
203
|
+
|
|
204
|
+
- **Content-Type**: application/json
|
|
205
|
+
- **Accept**: */*
|
|
206
|
+
|
|
207
|
+
|
|
208
|
+
### HTTP response details
|
|
209
|
+
| Status code | Description | Response headers |
|
|
210
|
+
|-------------|-------------|------------------|
|
|
211
|
+
|**200** | OK | - |
|
|
212
|
+
|
|
213
|
+
[[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
|
+
|
|
215
|
+
# **proxy4**
|
|
216
|
+
> string proxy4()
|
|
217
|
+
|
|
218
|
+
|
|
219
|
+
### Example
|
|
220
|
+
|
|
221
|
+
```typescript
|
|
222
|
+
import {
|
|
223
|
+
WebhookProxyControllerApi,
|
|
224
|
+
Configuration
|
|
225
|
+
} from '@openfilz-sdk/typescript-ee';
|
|
226
|
+
|
|
227
|
+
const configuration = new Configuration();
|
|
228
|
+
const apiInstance = new WebhookProxyControllerApi(configuration);
|
|
229
|
+
|
|
230
|
+
let body: string; // (optional)
|
|
231
|
+
|
|
232
|
+
const { status, data } = await apiInstance.proxy4(
|
|
233
|
+
body
|
|
234
|
+
);
|
|
235
|
+
```
|
|
236
|
+
|
|
237
|
+
### Parameters
|
|
238
|
+
|
|
239
|
+
|Name | Type | Description | Notes|
|
|
240
|
+
|------------- | ------------- | ------------- | -------------|
|
|
241
|
+
| **body** | **string**| | |
|
|
242
|
+
|
|
243
|
+
|
|
244
|
+
### Return type
|
|
245
|
+
|
|
246
|
+
**string**
|
|
247
|
+
|
|
248
|
+
### Authorization
|
|
249
|
+
|
|
250
|
+
[keycloak_auth](../README.md#keycloak_auth)
|
|
251
|
+
|
|
252
|
+
### HTTP request headers
|
|
253
|
+
|
|
254
|
+
- **Content-Type**: application/json
|
|
255
|
+
- **Accept**: */*
|
|
256
|
+
|
|
257
|
+
|
|
258
|
+
### HTTP response details
|
|
259
|
+
| Status code | Description | Response headers |
|
|
260
|
+
|-------------|-------------|------------------|
|
|
261
|
+
|**200** | OK | - |
|
|
262
|
+
|
|
263
|
+
[[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)
|
|
264
|
+
|
|
265
|
+
# **proxy5**
|
|
266
|
+
> string proxy5()
|
|
267
|
+
|
|
268
|
+
|
|
269
|
+
### Example
|
|
270
|
+
|
|
271
|
+
```typescript
|
|
272
|
+
import {
|
|
273
|
+
WebhookProxyControllerApi,
|
|
274
|
+
Configuration
|
|
275
|
+
} from '@openfilz-sdk/typescript-ee';
|
|
276
|
+
|
|
277
|
+
const configuration = new Configuration();
|
|
278
|
+
const apiInstance = new WebhookProxyControllerApi(configuration);
|
|
279
|
+
|
|
280
|
+
let body: string; // (optional)
|
|
281
|
+
|
|
282
|
+
const { status, data } = await apiInstance.proxy5(
|
|
283
|
+
body
|
|
284
|
+
);
|
|
285
|
+
```
|
|
286
|
+
|
|
287
|
+
### Parameters
|
|
288
|
+
|
|
289
|
+
|Name | Type | Description | Notes|
|
|
290
|
+
|------------- | ------------- | ------------- | -------------|
|
|
291
|
+
| **body** | **string**| | |
|
|
292
|
+
|
|
293
|
+
|
|
294
|
+
### Return type
|
|
295
|
+
|
|
296
|
+
**string**
|
|
297
|
+
|
|
298
|
+
### Authorization
|
|
299
|
+
|
|
300
|
+
[keycloak_auth](../README.md#keycloak_auth)
|
|
301
|
+
|
|
302
|
+
### HTTP request headers
|
|
303
|
+
|
|
304
|
+
- **Content-Type**: application/json
|
|
305
|
+
- **Accept**: */*
|
|
306
|
+
|
|
307
|
+
|
|
308
|
+
### HTTP response details
|
|
309
|
+
| Status code | Description | Response headers |
|
|
310
|
+
|-------------|-------------|------------------|
|
|
311
|
+
|**200** | OK | - |
|
|
312
|
+
|
|
313
|
+
[[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)
|
|
314
|
+
|
|
315
|
+
# **proxy6**
|
|
316
|
+
> string proxy6()
|
|
317
|
+
|
|
318
|
+
|
|
319
|
+
### Example
|
|
320
|
+
|
|
321
|
+
```typescript
|
|
322
|
+
import {
|
|
323
|
+
WebhookProxyControllerApi,
|
|
324
|
+
Configuration
|
|
325
|
+
} from '@openfilz-sdk/typescript-ee';
|
|
326
|
+
|
|
327
|
+
const configuration = new Configuration();
|
|
328
|
+
const apiInstance = new WebhookProxyControllerApi(configuration);
|
|
329
|
+
|
|
330
|
+
let body: string; // (optional)
|
|
331
|
+
|
|
332
|
+
const { status, data } = await apiInstance.proxy6(
|
|
333
|
+
body
|
|
334
|
+
);
|
|
335
|
+
```
|
|
336
|
+
|
|
337
|
+
### Parameters
|
|
338
|
+
|
|
339
|
+
|Name | Type | Description | Notes|
|
|
340
|
+
|------------- | ------------- | ------------- | -------------|
|
|
341
|
+
| **body** | **string**| | |
|
|
342
|
+
|
|
343
|
+
|
|
344
|
+
### Return type
|
|
345
|
+
|
|
346
|
+
**string**
|
|
347
|
+
|
|
348
|
+
### Authorization
|
|
349
|
+
|
|
350
|
+
[keycloak_auth](../README.md#keycloak_auth)
|
|
351
|
+
|
|
352
|
+
### HTTP request headers
|
|
353
|
+
|
|
354
|
+
- **Content-Type**: application/json
|
|
355
|
+
- **Accept**: */*
|
|
356
|
+
|
|
357
|
+
|
|
358
|
+
### HTTP response details
|
|
359
|
+
| Status code | Description | Response headers |
|
|
360
|
+
|-------------|-------------|------------------|
|
|
361
|
+
|**200** | OK | - |
|
|
362
|
+
|
|
363
|
+
[[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)
|
|
364
|
+
|
|
@@ -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 ConsumeDelegatedGrantRequest {
|
|
18
|
+
'subscriptionId': string;
|
|
19
|
+
'folderId'?: string;
|
|
20
|
+
}
|
|
21
|
+
|
|
@@ -0,0 +1,30 @@
|
|
|
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 CreateDelegatedGrantRequest {
|
|
18
|
+
'grantor': string;
|
|
19
|
+
'purpose': CreateDelegatedGrantRequestPurposeEnum;
|
|
20
|
+
'note'?: string;
|
|
21
|
+
'targetUrl': string;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
export const CreateDelegatedGrantRequestPurposeEnum = {
|
|
25
|
+
WebhookSubscription: 'WEBHOOK_SUBSCRIPTION'
|
|
26
|
+
} as const;
|
|
27
|
+
|
|
28
|
+
export type CreateDelegatedGrantRequestPurposeEnum = typeof CreateDelegatedGrantRequestPurposeEnum[keyof typeof CreateDelegatedGrantRequestPurposeEnum];
|
|
29
|
+
|
|
30
|
+
|
|
@@ -0,0 +1,22 @@
|
|
|
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 DelegatedFolderNode {
|
|
18
|
+
'id'?: string;
|
|
19
|
+
'name'?: string;
|
|
20
|
+
'hasChildren'?: boolean;
|
|
21
|
+
}
|
|
22
|
+
|
|
@@ -0,0 +1,53 @@
|
|
|
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 DelegatedGrantDTO {
|
|
18
|
+
'id'?: string;
|
|
19
|
+
'grantor'?: string;
|
|
20
|
+
'grantee'?: string;
|
|
21
|
+
'purpose'?: DelegatedGrantDTOPurposeEnum;
|
|
22
|
+
'purposeNote'?: string;
|
|
23
|
+
'status'?: DelegatedGrantDTOStatusEnum;
|
|
24
|
+
'createdAt'?: string;
|
|
25
|
+
'acceptDeadline'?: string;
|
|
26
|
+
'useDeadline'?: string;
|
|
27
|
+
'acceptedAt'?: string;
|
|
28
|
+
'declinedAt'?: string;
|
|
29
|
+
'revokedAt'?: string;
|
|
30
|
+
'consumedAt'?: string;
|
|
31
|
+
'consumedSubscriptionId'?: string;
|
|
32
|
+
'consumedFolderId'?: string;
|
|
33
|
+
'targetUrl'?: string;
|
|
34
|
+
'subscriptionRevokedAt'?: string;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export const DelegatedGrantDTOPurposeEnum = {
|
|
38
|
+
WebhookSubscription: 'WEBHOOK_SUBSCRIPTION'
|
|
39
|
+
} as const;
|
|
40
|
+
|
|
41
|
+
export type DelegatedGrantDTOPurposeEnum = typeof DelegatedGrantDTOPurposeEnum[keyof typeof DelegatedGrantDTOPurposeEnum];
|
|
42
|
+
export const DelegatedGrantDTOStatusEnum = {
|
|
43
|
+
Pending: 'PENDING',
|
|
44
|
+
Accepted: 'ACCEPTED',
|
|
45
|
+
Declined: 'DECLINED',
|
|
46
|
+
Revoked: 'REVOKED',
|
|
47
|
+
Expired: 'EXPIRED',
|
|
48
|
+
Consumed: 'CONSUMED'
|
|
49
|
+
} as const;
|
|
50
|
+
|
|
51
|
+
export type DelegatedGrantDTOStatusEnum = typeof DelegatedGrantDTOStatusEnum[keyof typeof DelegatedGrantDTOStatusEnum];
|
|
52
|
+
|
|
53
|
+
|
|
@@ -22,24 +22,6 @@ import type { CreateFolderAudit } from './create-folder-audit';
|
|
|
22
22
|
// May contain unused imports in some cases
|
|
23
23
|
// @ts-ignore
|
|
24
24
|
import type { CreateFolderRequest } from './create-folder-request';
|
|
25
|
-
// @ts-ignore
|
|
26
|
-
import type { CopyAudit } from './copy-audit';
|
|
27
|
-
// @ts-ignore
|
|
28
|
-
import type { CreateFolderAudit } from './create-folder-audit';
|
|
29
|
-
// @ts-ignore
|
|
30
|
-
import type { DeleteAudit } from './delete-audit';
|
|
31
|
-
// @ts-ignore
|
|
32
|
-
import type { DeleteMetadataAudit } from './delete-metadata-audit';
|
|
33
|
-
// @ts-ignore
|
|
34
|
-
import type { MoveAudit } from './move-audit';
|
|
35
|
-
// @ts-ignore
|
|
36
|
-
import type { RenameAudit } from './rename-audit';
|
|
37
|
-
// @ts-ignore
|
|
38
|
-
import type { ReplaceAudit } from './replace-audit';
|
|
39
|
-
// @ts-ignore
|
|
40
|
-
import type { UpdateMetadataAudit } from './update-metadata-audit';
|
|
41
|
-
// @ts-ignore
|
|
42
|
-
import type { UploadAudit } from './upload-audit';
|
|
43
25
|
// May contain unused imports in some cases
|
|
44
26
|
// @ts-ignore
|
|
45
27
|
import type { DeleteAudit } from './delete-audit';
|
|
@@ -63,8 +45,8 @@ import type { UpdateMetadataAudit } from './update-metadata-audit';
|
|
|
63
45
|
import type { UploadAudit } from './upload-audit';
|
|
64
46
|
|
|
65
47
|
/**
|
|
66
|
-
* @type
|
|
48
|
+
* @type EnrichedAuditLogDetails
|
|
67
49
|
*/
|
|
68
|
-
export type
|
|
50
|
+
export type EnrichedAuditLogDetails = { type: 'copy' } & CopyAudit | { type: 'createFolder' } & CreateFolderAudit | { type: 'delete' } & DeleteAudit | { type: 'deleteMetadata' } & DeleteMetadataAudit | { type: 'move' } & MoveAudit | { type: 'rename' } & RenameAudit | { type: 'replace' } & ReplaceAudit | { type: 'updateMetadata' } & UpdateMetadataAudit | { type: 'upload' } & UploadAudit;
|
|
69
51
|
|
|
70
52
|
|
|
@@ -15,23 +15,25 @@
|
|
|
15
15
|
|
|
16
16
|
// May contain unused imports in some cases
|
|
17
17
|
// @ts-ignore
|
|
18
|
-
import type {
|
|
18
|
+
import type { EnrichedAuditLogDetails } from './enriched-audit-log-details';
|
|
19
19
|
|
|
20
20
|
/**
|
|
21
|
-
* Audit information
|
|
21
|
+
* Audit information enriched with the actor (azp) provenance — EE only.
|
|
22
22
|
*/
|
|
23
|
-
export interface
|
|
23
|
+
export interface EnrichedAuditLog {
|
|
24
24
|
'id'?: string;
|
|
25
25
|
'timestamp'?: string;
|
|
26
26
|
'username'?: string;
|
|
27
|
-
'action'?:
|
|
28
|
-
'resourceType'?:
|
|
29
|
-
'details'?:
|
|
27
|
+
'action'?: EnrichedAuditLogActionEnum;
|
|
28
|
+
'resourceType'?: EnrichedAuditLogResourceTypeEnum;
|
|
29
|
+
'details'?: EnrichedAuditLogDetails;
|
|
30
30
|
'previousHash'?: string;
|
|
31
31
|
'hash'?: string;
|
|
32
|
+
'azp'?: string;
|
|
33
|
+
'actedViaIntegration'?: boolean;
|
|
32
34
|
}
|
|
33
35
|
|
|
34
|
-
export const
|
|
36
|
+
export const EnrichedAuditLogActionEnum = {
|
|
35
37
|
CopyFile: 'COPY_FILE',
|
|
36
38
|
CopyFileChild: 'COPY_FILE_CHILD',
|
|
37
39
|
RenameFile: 'RENAME_FILE',
|
|
@@ -49,27 +51,36 @@ export const AuditLogActionEnum = {
|
|
|
49
51
|
UpdateDocumentMetadata: 'UPDATE_DOCUMENT_METADATA',
|
|
50
52
|
DownloadDocument: 'DOWNLOAD_DOCUMENT',
|
|
51
53
|
DeleteDocumentMetadata: 'DELETE_DOCUMENT_METADATA',
|
|
52
|
-
ShareDocuments: 'SHARE_DOCUMENTS',
|
|
53
|
-
ShareDocumentCreate: 'SHARE_DOCUMENT_CREATE',
|
|
54
|
-
ShareDocumentUpdate: 'SHARE_DOCUMENT_UPDATE',
|
|
55
|
-
ShareDocumentDelete: 'SHARE_DOCUMENT_DELETE',
|
|
56
54
|
RestoreFile: 'RESTORE_FILE',
|
|
57
55
|
RestoreFolder: 'RESTORE_FOLDER',
|
|
58
56
|
PermanentDeleteFile: 'PERMANENT_DELETE_FILE',
|
|
59
57
|
PermanentDeleteFolder: 'PERMANENT_DELETE_FOLDER',
|
|
58
|
+
EmptyRecycleBin: 'EMPTY_RECYCLE_BIN',
|
|
59
|
+
ChainGenesis: 'CHAIN_GENESIS',
|
|
60
60
|
CommentCreate: 'COMMENT_CREATE',
|
|
61
61
|
CommentUpdate: 'COMMENT_UPDATE',
|
|
62
62
|
CommentDelete: 'COMMENT_DELETE',
|
|
63
|
-
|
|
64
|
-
|
|
63
|
+
ShareDocuments: 'SHARE_DOCUMENTS',
|
|
64
|
+
ShareDocumentCreate: 'SHARE_DOCUMENT_CREATE',
|
|
65
|
+
ShareDocumentUpdate: 'SHARE_DOCUMENT_UPDATE',
|
|
66
|
+
ShareDocumentDelete: 'SHARE_DOCUMENT_DELETE',
|
|
67
|
+
DelegatedGrantRequested: 'DELEGATED_GRANT_REQUESTED',
|
|
68
|
+
DelegatedGrantAccepted: 'DELEGATED_GRANT_ACCEPTED',
|
|
69
|
+
DelegatedGrantDeclined: 'DELEGATED_GRANT_DECLINED',
|
|
70
|
+
DelegatedGrantRevoked: 'DELEGATED_GRANT_REVOKED',
|
|
71
|
+
DelegatedGrantExpired: 'DELEGATED_GRANT_EXPIRED',
|
|
72
|
+
DelegatedGrantConsumed: 'DELEGATED_GRANT_CONSUMED',
|
|
73
|
+
DelegatedGrantSubscriptionRevokedByAdmin: 'DELEGATED_GRANT_SUBSCRIPTION_REVOKED_BY_ADMIN',
|
|
74
|
+
DelegatedBrowse: 'DELEGATED_BROWSE',
|
|
75
|
+
AdminMonitoringOptOutChanged: 'ADMIN_MONITORING_OPT_OUT_CHANGED'
|
|
65
76
|
} as const;
|
|
66
77
|
|
|
67
|
-
export type
|
|
68
|
-
export const
|
|
78
|
+
export type EnrichedAuditLogActionEnum = typeof EnrichedAuditLogActionEnum[keyof typeof EnrichedAuditLogActionEnum];
|
|
79
|
+
export const EnrichedAuditLogResourceTypeEnum = {
|
|
69
80
|
File: 'FILE',
|
|
70
81
|
Folder: 'FOLDER'
|
|
71
82
|
} as const;
|
|
72
83
|
|
|
73
|
-
export type
|
|
84
|
+
export type EnrichedAuditLogResourceTypeEnum = typeof EnrichedAuditLogResourceTypeEnum[keyof typeof EnrichedAuditLogResourceTypeEnum];
|
|
74
85
|
|
|
75
86
|
|
package/models/index.ts
CHANGED
|
@@ -1,19 +1,21 @@
|
|
|
1
1
|
export * from './ancestor-info';
|
|
2
|
-
export * from './audit-log';
|
|
3
2
|
export * from './audit-log-details';
|
|
4
|
-
export * from './audit-log-details-one-of';
|
|
5
3
|
export * from './audit-verification-result';
|
|
6
4
|
export * from './broken-link';
|
|
7
5
|
export * from './comment-dto';
|
|
6
|
+
export * from './consume-delegated-grant-request';
|
|
8
7
|
export * from './copy-audit';
|
|
9
8
|
export * from './copy-request';
|
|
10
9
|
export * from './copy-response';
|
|
11
10
|
export * from './create-blank-document-request';
|
|
12
11
|
export * from './create-comment-request';
|
|
12
|
+
export * from './create-delegated-grant-request';
|
|
13
13
|
export * from './create-folder-audit';
|
|
14
14
|
export * from './create-folder-request';
|
|
15
15
|
export * from './create-team-request';
|
|
16
16
|
export * from './dashboard-statistics-response';
|
|
17
|
+
export * from './delegated-folder-node';
|
|
18
|
+
export * from './delegated-grant-dto';
|
|
17
19
|
export * from './delete-audit';
|
|
18
20
|
export * from './delete-metadata-audit';
|
|
19
21
|
export * from './delete-metadata-request';
|
|
@@ -22,11 +24,14 @@ export * from './delete-share-request';
|
|
|
22
24
|
export * from './document-info';
|
|
23
25
|
export * from './document-position';
|
|
24
26
|
export * from './element-info';
|
|
27
|
+
export * from './enriched-audit-log';
|
|
28
|
+
export * from './enriched-audit-log-details';
|
|
25
29
|
export * from './file-type-stats';
|
|
26
30
|
export * from './filter-input';
|
|
27
31
|
export * from './folder-element-info';
|
|
28
32
|
export * from './folder-response';
|
|
29
33
|
export * from './ingestion-status-dto';
|
|
34
|
+
export * from './mint-upload-token-request';
|
|
30
35
|
export * from './move-audit';
|
|
31
36
|
export * from './move-request';
|
|
32
37
|
export * from './notification-dto';
|
|
@@ -55,8 +60,11 @@ export * from './update-comment-request';
|
|
|
55
60
|
export * from './update-metadata-audit';
|
|
56
61
|
export * from './update-metadata-request';
|
|
57
62
|
export * from './update-team-request';
|
|
63
|
+
export * from './update-user-privacy-request';
|
|
58
64
|
export * from './update-user-request';
|
|
59
65
|
export * from './upload-audit';
|
|
60
66
|
export * from './upload-response';
|
|
67
|
+
export * from './upload-token-response';
|
|
61
68
|
export * from './user-preferences-request';
|
|
69
|
+
export * from './user-privacy-dto';
|
|
62
70
|
export * from './user-registration-request';
|
|
@@ -0,0 +1,23 @@
|
|
|
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 MintUploadTokenRequest {
|
|
18
|
+
'targetFolderId': string;
|
|
19
|
+
'maxSizeBytes'?: number;
|
|
20
|
+
'allowedMimeTypes': Array<string>;
|
|
21
|
+
'ttlSeconds'?: number;
|
|
22
|
+
}
|
|
23
|
+
|
|
@@ -30,7 +30,10 @@ export const NotificationDTOTypeEnum = {
|
|
|
30
30
|
NewShare: 'NEW_SHARE',
|
|
31
31
|
Mention: 'MENTION',
|
|
32
32
|
ShareRequest: 'SHARE_REQUEST',
|
|
33
|
-
VirusDetected: 'VIRUS_DETECTED'
|
|
33
|
+
VirusDetected: 'VIRUS_DETECTED',
|
|
34
|
+
DelegatedGrantRequested: 'DELEGATED_GRANT_REQUESTED',
|
|
35
|
+
DelegatedGrantConsumed: 'DELEGATED_GRANT_CONSUMED',
|
|
36
|
+
DelegatedGrantExpired: 'DELEGATED_GRANT_EXPIRED'
|
|
34
37
|
} as const;
|
|
35
38
|
|
|
36
39
|
export type NotificationDTOTypeEnum = typeof NotificationDTOTypeEnum[keyof typeof NotificationDTOTypeEnum];
|