@openfilz-sdk/typescript-ee 1.12.17 → 1.12.18

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 (88) hide show
  1. package/.openapi-generator/FILES +18 -0
  2. package/.openapi-generator/openfilz-api-generate-typescript-sdk.sha256 +1 -1
  3. package/README.md +21 -2
  4. package/api/ownership-api.ts +1076 -0
  5. package/api/sharing-api.ts +210 -0
  6. package/api.ts +2 -0
  7. package/dist/api/ownership-api.d.ts +505 -0
  8. package/dist/api/ownership-api.js +1015 -0
  9. package/dist/api/sharing-api.d.ts +104 -0
  10. package/dist/api/sharing-api.js +209 -0
  11. package/dist/api.d.ts +2 -0
  12. package/dist/api.js +2 -0
  13. package/dist/esm/api/ownership-api.d.ts +505 -0
  14. package/dist/esm/api/ownership-api.js +1008 -0
  15. package/dist/esm/api/sharing-api.d.ts +104 -0
  16. package/dist/esm/api/sharing-api.js +202 -0
  17. package/dist/esm/api.d.ts +2 -0
  18. package/dist/esm/api.js +2 -0
  19. package/dist/esm/models/enriched-audit-log.d.ts +9 -0
  20. package/dist/esm/models/enriched-audit-log.js +9 -0
  21. package/dist/esm/models/index.d.ts +7 -0
  22. package/dist/esm/models/index.js +7 -0
  23. package/dist/esm/models/notification-dto.d.ts +2 -0
  24. package/dist/esm/models/notification-dto.js +2 -0
  25. package/dist/esm/models/owned-document.d.ts +25 -0
  26. package/dist/esm/models/owned-document.js +17 -0
  27. package/dist/esm/models/owned-documents-filter.d.ts +45 -0
  28. package/dist/esm/models/owned-documents-filter.js +17 -0
  29. package/dist/esm/models/ownership-transfer-report.d.ts +29 -0
  30. package/dist/esm/models/ownership-transfer-report.js +14 -0
  31. package/dist/esm/models/ownership-transfer-request.d.ts +53 -0
  32. package/dist/esm/models/ownership-transfer-request.js +18 -0
  33. package/dist/esm/models/quota-check.d.ts +17 -0
  34. package/dist/esm/models/quota-check.js +14 -0
  35. package/dist/esm/models/search-by-audit-log-request.d.ts +9 -0
  36. package/dist/esm/models/search-by-audit-log-request.js +9 -0
  37. package/dist/esm/models/share-inheritance-request.d.ts +14 -0
  38. package/dist/esm/models/share-inheritance-request.js +14 -0
  39. package/dist/esm/models/share-inheritance.d.ts +16 -0
  40. package/dist/esm/models/share-inheritance.js +14 -0
  41. package/dist/esm/models/user-registration-request.d.ts +1 -0
  42. package/dist/models/enriched-audit-log.d.ts +9 -0
  43. package/dist/models/enriched-audit-log.js +9 -0
  44. package/dist/models/index.d.ts +7 -0
  45. package/dist/models/index.js +7 -0
  46. package/dist/models/notification-dto.d.ts +2 -0
  47. package/dist/models/notification-dto.js +2 -0
  48. package/dist/models/owned-document.d.ts +25 -0
  49. package/dist/models/owned-document.js +20 -0
  50. package/dist/models/owned-documents-filter.d.ts +45 -0
  51. package/dist/models/owned-documents-filter.js +20 -0
  52. package/dist/models/ownership-transfer-report.d.ts +29 -0
  53. package/dist/models/ownership-transfer-report.js +15 -0
  54. package/dist/models/ownership-transfer-request.d.ts +53 -0
  55. package/dist/models/ownership-transfer-request.js +21 -0
  56. package/dist/models/quota-check.d.ts +17 -0
  57. package/dist/models/quota-check.js +15 -0
  58. package/dist/models/search-by-audit-log-request.d.ts +9 -0
  59. package/dist/models/search-by-audit-log-request.js +9 -0
  60. package/dist/models/share-inheritance-request.d.ts +14 -0
  61. package/dist/models/share-inheritance-request.js +15 -0
  62. package/dist/models/share-inheritance.d.ts +16 -0
  63. package/dist/models/share-inheritance.js +15 -0
  64. package/dist/models/user-registration-request.d.ts +1 -0
  65. package/docs/OwnedDocument.md +32 -0
  66. package/docs/OwnedDocumentsFilter.md +31 -0
  67. package/docs/OwnershipApi.md +621 -0
  68. package/docs/OwnershipTransferReport.md +48 -0
  69. package/docs/OwnershipTransferRequest.md +37 -0
  70. package/docs/QuotaCheck.md +26 -0
  71. package/docs/ShareInheritance.md +24 -0
  72. package/docs/ShareInheritanceRequest.md +20 -0
  73. package/docs/SharingApi.md +114 -0
  74. package/docs/UserRegistrationRequest.md +2 -0
  75. package/models/enriched-audit-log-details.ts +26 -0
  76. package/models/enriched-audit-log.ts +9 -0
  77. package/models/index.ts +7 -0
  78. package/models/notification-dto.ts +2 -0
  79. package/models/owned-document.ts +34 -0
  80. package/models/owned-documents-filter.ts +54 -0
  81. package/models/ownership-transfer-report.ts +37 -0
  82. package/models/ownership-transfer-request.ts +64 -0
  83. package/models/quota-check.ts +23 -0
  84. package/models/search-by-audit-log-request.ts +9 -0
  85. package/models/share-inheritance-request.ts +20 -0
  86. package/models/share-inheritance.ts +22 -0
  87. package/models/user-registration-request.ts +1 -0
  88. package/package.json +1 -1
@@ -0,0 +1,104 @@
1
+ /**
2
+ * openfilz-api
3
+ * API for Document Management System
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { Configuration } from '../configuration';
13
+ import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
14
+ import { type RequestArgs, BaseAPI } from '../base';
15
+ import type { ShareInheritance } from '../models';
16
+ import type { ShareInheritanceRequest } from '../models';
17
+ /**
18
+ * SharingApi - axios parameter creator
19
+ */
20
+ export declare const SharingApiAxiosParamCreator: (configuration?: Configuration) => {
21
+ /**
22
+ *
23
+ * @summary Does the document receive the shares of its ancestors?
24
+ * @param {string} id
25
+ * @param {*} [options] Override http request option.
26
+ * @throws {RequiredError}
27
+ */
28
+ getShareInheritance: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
29
+ /**
30
+ * inherit=false removes every share the document and its subtree inherited from above; shares placed on the document or inside it remain and keep flowing down. inherit=true copies the parent\'s shares down again. Owner or SHARE_ADMIN. Audited SHARE_INHERITANCE_CHANGED.
31
+ * @summary Stop (inherit=false) or resume (inherit=true) inheriting the ancestors\' shares
32
+ * @param {string} id
33
+ * @param {ShareInheritanceRequest} shareInheritanceRequest
34
+ * @param {*} [options] Override http request option.
35
+ * @throws {RequiredError}
36
+ */
37
+ setShareInheritance: (id: string, shareInheritanceRequest: ShareInheritanceRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
38
+ };
39
+ /**
40
+ * SharingApi - functional programming interface
41
+ */
42
+ export declare const SharingApiFp: (configuration?: Configuration) => {
43
+ /**
44
+ *
45
+ * @summary Does the document receive the shares of its ancestors?
46
+ * @param {string} id
47
+ * @param {*} [options] Override http request option.
48
+ * @throws {RequiredError}
49
+ */
50
+ getShareInheritance(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShareInheritance>>;
51
+ /**
52
+ * inherit=false removes every share the document and its subtree inherited from above; shares placed on the document or inside it remain and keep flowing down. inherit=true copies the parent\'s shares down again. Owner or SHARE_ADMIN. Audited SHARE_INHERITANCE_CHANGED.
53
+ * @summary Stop (inherit=false) or resume (inherit=true) inheriting the ancestors\' shares
54
+ * @param {string} id
55
+ * @param {ShareInheritanceRequest} shareInheritanceRequest
56
+ * @param {*} [options] Override http request option.
57
+ * @throws {RequiredError}
58
+ */
59
+ setShareInheritance(id: string, shareInheritanceRequest: ShareInheritanceRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShareInheritance>>;
60
+ };
61
+ /**
62
+ * SharingApi - factory interface
63
+ */
64
+ export declare const SharingApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
65
+ /**
66
+ *
67
+ * @summary Does the document receive the shares of its ancestors?
68
+ * @param {string} id
69
+ * @param {*} [options] Override http request option.
70
+ * @throws {RequiredError}
71
+ */
72
+ getShareInheritance(id: string, options?: RawAxiosRequestConfig): AxiosPromise<ShareInheritance>;
73
+ /**
74
+ * inherit=false removes every share the document and its subtree inherited from above; shares placed on the document or inside it remain and keep flowing down. inherit=true copies the parent\'s shares down again. Owner or SHARE_ADMIN. Audited SHARE_INHERITANCE_CHANGED.
75
+ * @summary Stop (inherit=false) or resume (inherit=true) inheriting the ancestors\' shares
76
+ * @param {string} id
77
+ * @param {ShareInheritanceRequest} shareInheritanceRequest
78
+ * @param {*} [options] Override http request option.
79
+ * @throws {RequiredError}
80
+ */
81
+ setShareInheritance(id: string, shareInheritanceRequest: ShareInheritanceRequest, options?: RawAxiosRequestConfig): AxiosPromise<ShareInheritance>;
82
+ };
83
+ /**
84
+ * SharingApi - object-oriented interface
85
+ */
86
+ export declare class SharingApi extends BaseAPI {
87
+ /**
88
+ *
89
+ * @summary Does the document receive the shares of its ancestors?
90
+ * @param {string} id
91
+ * @param {*} [options] Override http request option.
92
+ * @throws {RequiredError}
93
+ */
94
+ getShareInheritance(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ShareInheritance, any, {}, any>>;
95
+ /**
96
+ * inherit=false removes every share the document and its subtree inherited from above; shares placed on the document or inside it remain and keep flowing down. inherit=true copies the parent\'s shares down again. Owner or SHARE_ADMIN. Audited SHARE_INHERITANCE_CHANGED.
97
+ * @summary Stop (inherit=false) or resume (inherit=true) inheriting the ancestors\' shares
98
+ * @param {string} id
99
+ * @param {ShareInheritanceRequest} shareInheritanceRequest
100
+ * @param {*} [options] Override http request option.
101
+ * @throws {RequiredError}
102
+ */
103
+ setShareInheritance(id: string, shareInheritanceRequest: ShareInheritanceRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ShareInheritance, any, {}, any>>;
104
+ }
@@ -0,0 +1,202 @@
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
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
15
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
16
+ return new (P || (P = Promise))(function (resolve, reject) {
17
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
18
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
19
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
20
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
21
+ });
22
+ };
23
+ import globalAxios from 'axios';
24
+ // Some imports not used depending on template conditions
25
+ // @ts-ignore
26
+ import { DUMMY_BASE_URL, assertParamExists, setBearerAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from '../common';
27
+ // @ts-ignore
28
+ import { BASE_PATH, BaseAPI, operationServerMap } from '../base';
29
+ /**
30
+ * SharingApi - axios parameter creator
31
+ */
32
+ export const SharingApiAxiosParamCreator = function (configuration) {
33
+ return {
34
+ /**
35
+ *
36
+ * @summary Does the document receive the shares of its ancestors?
37
+ * @param {string} id
38
+ * @param {*} [options] Override http request option.
39
+ * @throws {RequiredError}
40
+ */
41
+ getShareInheritance: (id_1, ...args_1) => __awaiter(this, [id_1, ...args_1], void 0, function* (id, options = {}) {
42
+ // verify required parameter 'id' is not null or undefined
43
+ assertParamExists('getShareInheritance', 'id', id);
44
+ const localVarPath = `/api/v1/documents/{id}/share-inheritance`
45
+ .replace('{id}', encodeURIComponent(String(id)));
46
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
47
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
48
+ let baseOptions;
49
+ if (configuration) {
50
+ baseOptions = configuration.baseOptions;
51
+ }
52
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
53
+ const localVarHeaderParameter = {};
54
+ const localVarQueryParameter = {};
55
+ // authentication keycloak_auth required
56
+ // http bearer authentication required
57
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
58
+ localVarHeaderParameter['Accept'] = '*/*';
59
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
60
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
61
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
62
+ return {
63
+ url: toPathString(localVarUrlObj),
64
+ options: localVarRequestOptions,
65
+ };
66
+ }),
67
+ /**
68
+ * inherit=false removes every share the document and its subtree inherited from above; shares placed on the document or inside it remain and keep flowing down. inherit=true copies the parent\'s shares down again. Owner or SHARE_ADMIN. Audited SHARE_INHERITANCE_CHANGED.
69
+ * @summary Stop (inherit=false) or resume (inherit=true) inheriting the ancestors\' shares
70
+ * @param {string} id
71
+ * @param {ShareInheritanceRequest} shareInheritanceRequest
72
+ * @param {*} [options] Override http request option.
73
+ * @throws {RequiredError}
74
+ */
75
+ setShareInheritance: (id_1, shareInheritanceRequest_1, ...args_1) => __awaiter(this, [id_1, shareInheritanceRequest_1, ...args_1], void 0, function* (id, shareInheritanceRequest, options = {}) {
76
+ // verify required parameter 'id' is not null or undefined
77
+ assertParamExists('setShareInheritance', 'id', id);
78
+ // verify required parameter 'shareInheritanceRequest' is not null or undefined
79
+ assertParamExists('setShareInheritance', 'shareInheritanceRequest', shareInheritanceRequest);
80
+ const localVarPath = `/api/v1/users/share/inheritance/{id}`
81
+ .replace('{id}', encodeURIComponent(String(id)));
82
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
83
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
84
+ let baseOptions;
85
+ if (configuration) {
86
+ baseOptions = configuration.baseOptions;
87
+ }
88
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
89
+ const localVarHeaderParameter = {};
90
+ const localVarQueryParameter = {};
91
+ // authentication keycloak_auth required
92
+ // http bearer authentication required
93
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
94
+ localVarHeaderParameter['Content-Type'] = 'application/json';
95
+ localVarHeaderParameter['Accept'] = '*/*';
96
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
97
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
98
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
99
+ localVarRequestOptions.data = serializeDataIfNeeded(shareInheritanceRequest, localVarRequestOptions, configuration);
100
+ return {
101
+ url: toPathString(localVarUrlObj),
102
+ options: localVarRequestOptions,
103
+ };
104
+ }),
105
+ };
106
+ };
107
+ /**
108
+ * SharingApi - functional programming interface
109
+ */
110
+ export const SharingApiFp = function (configuration) {
111
+ const localVarAxiosParamCreator = SharingApiAxiosParamCreator(configuration);
112
+ return {
113
+ /**
114
+ *
115
+ * @summary Does the document receive the shares of its ancestors?
116
+ * @param {string} id
117
+ * @param {*} [options] Override http request option.
118
+ * @throws {RequiredError}
119
+ */
120
+ getShareInheritance(id, options) {
121
+ return __awaiter(this, void 0, void 0, function* () {
122
+ var _a, _b, _c;
123
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getShareInheritance(id, options);
124
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
125
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['SharingApi.getShareInheritance']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
126
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
127
+ });
128
+ },
129
+ /**
130
+ * inherit=false removes every share the document and its subtree inherited from above; shares placed on the document or inside it remain and keep flowing down. inherit=true copies the parent\'s shares down again. Owner or SHARE_ADMIN. Audited SHARE_INHERITANCE_CHANGED.
131
+ * @summary Stop (inherit=false) or resume (inherit=true) inheriting the ancestors\' shares
132
+ * @param {string} id
133
+ * @param {ShareInheritanceRequest} shareInheritanceRequest
134
+ * @param {*} [options] Override http request option.
135
+ * @throws {RequiredError}
136
+ */
137
+ setShareInheritance(id, shareInheritanceRequest, options) {
138
+ return __awaiter(this, void 0, void 0, function* () {
139
+ var _a, _b, _c;
140
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.setShareInheritance(id, shareInheritanceRequest, options);
141
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
142
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['SharingApi.setShareInheritance']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
143
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
144
+ });
145
+ },
146
+ };
147
+ };
148
+ /**
149
+ * SharingApi - factory interface
150
+ */
151
+ export const SharingApiFactory = function (configuration, basePath, axios) {
152
+ const localVarFp = SharingApiFp(configuration);
153
+ return {
154
+ /**
155
+ *
156
+ * @summary Does the document receive the shares of its ancestors?
157
+ * @param {string} id
158
+ * @param {*} [options] Override http request option.
159
+ * @throws {RequiredError}
160
+ */
161
+ getShareInheritance(id, options) {
162
+ return localVarFp.getShareInheritance(id, options).then((request) => request(axios, basePath));
163
+ },
164
+ /**
165
+ * inherit=false removes every share the document and its subtree inherited from above; shares placed on the document or inside it remain and keep flowing down. inherit=true copies the parent\'s shares down again. Owner or SHARE_ADMIN. Audited SHARE_INHERITANCE_CHANGED.
166
+ * @summary Stop (inherit=false) or resume (inherit=true) inheriting the ancestors\' shares
167
+ * @param {string} id
168
+ * @param {ShareInheritanceRequest} shareInheritanceRequest
169
+ * @param {*} [options] Override http request option.
170
+ * @throws {RequiredError}
171
+ */
172
+ setShareInheritance(id, shareInheritanceRequest, options) {
173
+ return localVarFp.setShareInheritance(id, shareInheritanceRequest, options).then((request) => request(axios, basePath));
174
+ },
175
+ };
176
+ };
177
+ /**
178
+ * SharingApi - object-oriented interface
179
+ */
180
+ export class SharingApi extends BaseAPI {
181
+ /**
182
+ *
183
+ * @summary Does the document receive the shares of its ancestors?
184
+ * @param {string} id
185
+ * @param {*} [options] Override http request option.
186
+ * @throws {RequiredError}
187
+ */
188
+ getShareInheritance(id, options) {
189
+ return SharingApiFp(this.configuration).getShareInheritance(id, options).then((request) => request(this.axios, this.basePath));
190
+ }
191
+ /**
192
+ * inherit=false removes every share the document and its subtree inherited from above; shares placed on the document or inside it remain and keep flowing down. inherit=true copies the parent\'s shares down again. Owner or SHARE_ADMIN. Audited SHARE_INHERITANCE_CHANGED.
193
+ * @summary Stop (inherit=false) or resume (inherit=true) inheriting the ancestors\' shares
194
+ * @param {string} id
195
+ * @param {ShareInheritanceRequest} shareInheritanceRequest
196
+ * @param {*} [options] Override http request option.
197
+ * @throws {RequiredError}
198
+ */
199
+ setShareInheritance(id, shareInheritanceRequest, options) {
200
+ return SharingApiFp(this.configuration).setShareInheritance(id, shareInheritanceRequest, options).then((request) => request(this.axios, this.basePath));
201
+ }
202
+ }
package/dist/esm/api.d.ts CHANGED
@@ -46,6 +46,7 @@ export * from './api/mcp-discovery-controller-api';
46
46
  export * from './api/mcp-token-admin-controller-api';
47
47
  export * from './api/notifications-api';
48
48
  export * from './api/organisation-settings-api';
49
+ export * from './api/ownership-api';
49
50
  export * from './api/pdftools-api';
50
51
  export * from './api/quota-administration-api';
51
52
  export * from './api/quotas-api';
@@ -53,6 +54,7 @@ export * from './api/scan-agent-api';
53
54
  export * from './api/scanner-proxy-api';
54
55
  export * from './api/search-administration-api';
55
56
  export * from './api/settings-api';
57
+ export * from './api/sharing-api';
56
58
  export * from './api/smart-filing-api';
57
59
  export * from './api/storage-encryption-administration-api';
58
60
  export * from './api/tus-controller-api';
package/dist/esm/api.js CHANGED
@@ -48,6 +48,7 @@ export * from './api/mcp-discovery-controller-api';
48
48
  export * from './api/mcp-token-admin-controller-api';
49
49
  export * from './api/notifications-api';
50
50
  export * from './api/organisation-settings-api';
51
+ export * from './api/ownership-api';
51
52
  export * from './api/pdftools-api';
52
53
  export * from './api/quota-administration-api';
53
54
  export * from './api/quotas-api';
@@ -55,6 +56,7 @@ export * from './api/scan-agent-api';
55
56
  export * from './api/scanner-proxy-api';
56
57
  export * from './api/search-administration-api';
57
58
  export * from './api/settings-api';
59
+ export * from './api/sharing-api';
58
60
  export * from './api/smart-filing-api';
59
61
  export * from './api/storage-encryption-administration-api';
60
62
  export * from './api/tus-controller-api';
@@ -69,6 +69,15 @@ export declare const EnrichedAuditLogActionEnum: {
69
69
  readonly ShareDocumentCreate: "SHARE_DOCUMENT_CREATE";
70
70
  readonly ShareDocumentUpdate: "SHARE_DOCUMENT_UPDATE";
71
71
  readonly ShareDocumentDelete: "SHARE_DOCUMENT_DELETE";
72
+ readonly ShareInheritanceChanged: "SHARE_INHERITANCE_CHANGED";
73
+ readonly TeamCreated: "TEAM_CREATED";
74
+ readonly TeamUpdated: "TEAM_UPDATED";
75
+ readonly TeamDeleted: "TEAM_DELETED";
76
+ readonly TeamMembersAdded: "TEAM_MEMBERS_ADDED";
77
+ readonly TeamMembersRemoved: "TEAM_MEMBERS_REMOVED";
78
+ readonly OwnershipTransferred: "OWNERSHIP_TRANSFERRED";
79
+ readonly OwnershipTransferCompleted: "OWNERSHIP_TRANSFER_COMPLETED";
80
+ readonly ConsentBypassed: "CONSENT_BYPASSED";
72
81
  readonly DelegatedGrantRequested: "DELEGATED_GRANT_REQUESTED";
73
82
  readonly DelegatedGrantAccepted: "DELEGATED_GRANT_ACCEPTED";
74
83
  readonly DelegatedGrantDeclined: "DELEGATED_GRANT_DECLINED";
@@ -55,6 +55,15 @@ export const EnrichedAuditLogActionEnum = {
55
55
  ShareDocumentCreate: 'SHARE_DOCUMENT_CREATE',
56
56
  ShareDocumentUpdate: 'SHARE_DOCUMENT_UPDATE',
57
57
  ShareDocumentDelete: 'SHARE_DOCUMENT_DELETE',
58
+ ShareInheritanceChanged: 'SHARE_INHERITANCE_CHANGED',
59
+ TeamCreated: 'TEAM_CREATED',
60
+ TeamUpdated: 'TEAM_UPDATED',
61
+ TeamDeleted: 'TEAM_DELETED',
62
+ TeamMembersAdded: 'TEAM_MEMBERS_ADDED',
63
+ TeamMembersRemoved: 'TEAM_MEMBERS_REMOVED',
64
+ OwnershipTransferred: 'OWNERSHIP_TRANSFERRED',
65
+ OwnershipTransferCompleted: 'OWNERSHIP_TRANSFER_COMPLETED',
66
+ ConsentBypassed: 'CONSENT_BYPASSED',
58
67
  DelegatedGrantRequested: 'DELEGATED_GRANT_REQUESTED',
59
68
  DelegatedGrantAccepted: 'DELEGATED_GRANT_ACCEPTED',
60
69
  DelegatedGrantDeclined: 'DELEGATED_GRANT_DECLINED',
@@ -114,6 +114,10 @@ export * from './my-tasks-count-dto';
114
114
  export * from './notification-dto';
115
115
  export * from './organize-request';
116
116
  export * from './output-target';
117
+ export * from './owned-document';
118
+ export * from './owned-documents-filter';
119
+ export * from './ownership-transfer-report';
120
+ export * from './ownership-transfer-request';
117
121
  export * from './page-instruction';
118
122
  export * from './pdf-info';
119
123
  export * from './pdf-operation-response';
@@ -123,6 +127,7 @@ export * from './pdf-page-info';
123
127
  export * from './pdf-transform-audit';
124
128
  export * from './per-definition';
125
129
  export * from './public-signature-view';
130
+ export * from './quota-check';
126
131
  export * from './quota-overview';
127
132
  export * from './quota-usage';
128
133
  export * from './quota-user-page';
@@ -151,6 +156,8 @@ export * from './search-by-metadata-request';
151
156
  export * from './search-metadata-request';
152
157
  export * from './setting-dto';
153
158
  export * from './settings';
159
+ export * from './share-inheritance';
160
+ export * from './share-inheritance-request';
154
161
  export * from './share-request';
155
162
  export * from './share-result-error';
156
163
  export * from './share-result-item';
@@ -114,6 +114,10 @@ export * from './my-tasks-count-dto';
114
114
  export * from './notification-dto';
115
115
  export * from './organize-request';
116
116
  export * from './output-target';
117
+ export * from './owned-document';
118
+ export * from './owned-documents-filter';
119
+ export * from './ownership-transfer-report';
120
+ export * from './ownership-transfer-request';
117
121
  export * from './page-instruction';
118
122
  export * from './pdf-info';
119
123
  export * from './pdf-operation-response';
@@ -123,6 +127,7 @@ export * from './pdf-page-info';
123
127
  export * from './pdf-transform-audit';
124
128
  export * from './per-definition';
125
129
  export * from './public-signature-view';
130
+ export * from './quota-check';
126
131
  export * from './quota-overview';
127
132
  export * from './quota-usage';
128
133
  export * from './quota-user-page';
@@ -151,6 +156,8 @@ export * from './search-by-metadata-request';
151
156
  export * from './search-metadata-request';
152
157
  export * from './setting-dto';
153
158
  export * from './settings';
159
+ export * from './share-inheritance';
160
+ export * from './share-inheritance-request';
154
161
  export * from './share-request';
155
162
  export * from './share-result-error';
156
163
  export * from './share-result-item';
@@ -35,5 +35,7 @@ export declare const NotificationDTOTypeEnum: {
35
35
  readonly WorkflowTaskOverdue: "WORKFLOW_TASK_OVERDUE";
36
36
  readonly WorkflowCompleted: "WORKFLOW_COMPLETED";
37
37
  readonly WorkflowCancelled: "WORKFLOW_CANCELLED";
38
+ readonly OwnershipReceived: "OWNERSHIP_RECEIVED";
39
+ readonly OwnershipRemoved: "OWNERSHIP_REMOVED";
38
40
  };
39
41
  export type NotificationDTOTypeEnum = typeof NotificationDTOTypeEnum[keyof typeof NotificationDTOTypeEnum];
@@ -26,4 +26,6 @@ export const NotificationDTOTypeEnum = {
26
26
  WorkflowTaskOverdue: 'WORKFLOW_TASK_OVERDUE',
27
27
  WorkflowCompleted: 'WORKFLOW_COMPLETED',
28
28
  WorkflowCancelled: 'WORKFLOW_CANCELLED',
29
+ OwnershipReceived: 'OWNERSHIP_RECEIVED',
30
+ OwnershipRemoved: 'OWNERSHIP_REMOVED',
29
31
  };
@@ -0,0 +1,25 @@
1
+ /**
2
+ * openfilz-api
3
+ * API for Document Management System
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ export interface OwnedDocument {
13
+ 'id'?: string;
14
+ 'name'?: string;
15
+ 'type'?: OwnedDocumentTypeEnum;
16
+ 'parentId'?: string;
17
+ 'size'?: number;
18
+ 'updatedAt'?: string;
19
+ 'active'?: boolean;
20
+ }
21
+ export declare const OwnedDocumentTypeEnum: {
22
+ readonly File: "FILE";
23
+ readonly Folder: "FOLDER";
24
+ };
25
+ export type OwnedDocumentTypeEnum = typeof OwnedDocumentTypeEnum[keyof typeof OwnedDocumentTypeEnum];
@@ -0,0 +1,17 @@
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
+ export const OwnedDocumentTypeEnum = {
15
+ File: 'FILE',
16
+ Folder: 'FOLDER',
17
+ };
@@ -0,0 +1,45 @@
1
+ /**
2
+ * openfilz-api
3
+ * API for Document Management System
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ * Filter on the documents owned by a user
14
+ */
15
+ export interface OwnedDocumentsFilter {
16
+ /**
17
+ * Children of this folder (owned by the user)
18
+ */
19
+ 'parentId'?: string;
20
+ /**
21
+ * With parentId: every descendant; without: every owned document
22
+ */
23
+ 'recursive'?: boolean;
24
+ /**
25
+ * FILE or FOLDER
26
+ */
27
+ 'type'?: OwnedDocumentsFilterTypeEnum;
28
+ /**
29
+ * Case-insensitive part of the name
30
+ */
31
+ 'name'?: string;
32
+ /**
33
+ * Last modified at or after
34
+ */
35
+ 'updatedAfter'?: string;
36
+ /**
37
+ * Last modified at or before
38
+ */
39
+ 'updatedBefore'?: string;
40
+ }
41
+ export declare const OwnedDocumentsFilterTypeEnum: {
42
+ readonly File: "FILE";
43
+ readonly Folder: "FOLDER";
44
+ };
45
+ export type OwnedDocumentsFilterTypeEnum = typeof OwnedDocumentsFilterTypeEnum[keyof typeof OwnedDocumentsFilterTypeEnum];
@@ -0,0 +1,17 @@
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
+ export const OwnedDocumentsFilterTypeEnum = {
15
+ File: 'FILE',
16
+ Folder: 'FOLDER',
17
+ };
@@ -0,0 +1,29 @@
1
+ /**
2
+ * openfilz-api
3
+ * API for Document Management System
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { QuotaCheck } from './quota-check';
13
+ export interface OwnershipTransferReport {
14
+ 'jobId'?: string;
15
+ 'status'?: string;
16
+ 'fromUserId'?: string;
17
+ 'toUserId'?: string;
18
+ 'documents'?: number;
19
+ 'folders'?: number;
20
+ 'files'?: number;
21
+ 'bytes'?: number;
22
+ 'moved'?: number;
23
+ 'processed'?: number;
24
+ 'targetFolderId'?: string;
25
+ 'quota'?: QuotaCheck;
26
+ 'error'?: string;
27
+ 'createdAt'?: string;
28
+ 'updatedAt'?: string;
29
+ }
@@ -0,0 +1,14 @@
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
+ export {};
@@ -0,0 +1,53 @@
1
+ /**
2
+ * openfilz-api
3
+ * API for Document Management System
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { OwnedDocumentsFilter } from './owned-documents-filter';
13
+ /**
14
+ * Ownership transfer request
15
+ */
16
+ export interface OwnershipTransferRequest {
17
+ 'fromUserId': string;
18
+ 'toUserId': string;
19
+ /**
20
+ * Every document the user owns, recycle bin included
21
+ */
22
+ 'all'?: boolean;
23
+ /**
24
+ * These documents, folders with their subtree (only what the user owns in it)
25
+ */
26
+ 'documentIds'?: Set<string>;
27
+ /**
28
+ * The documents the filter selects, folders with their subtree
29
+ */
30
+ 'filter'?: OwnedDocumentsFilter;
31
+ /**
32
+ * What the former owner keeps: NONE (default), READER or EDITOR
33
+ */
34
+ 'keepAccess'?: OwnershipTransferRequestKeepAccessEnum;
35
+ /**
36
+ * Folder owned by the new owner that receives the transferred items whose parent stays behind; absent = the new owner\'s root
37
+ */
38
+ 'targetFolderId'?: string;
39
+ /**
40
+ * Report what would happen, change nothing
41
+ */
42
+ 'dryRun'?: boolean;
43
+ /**
44
+ * Why — required when the transfer bypasses the user\'s consent
45
+ */
46
+ 'reason'?: string;
47
+ }
48
+ export declare const OwnershipTransferRequestKeepAccessEnum: {
49
+ readonly None: "NONE";
50
+ readonly Reader: "READER";
51
+ readonly Editor: "EDITOR";
52
+ };
53
+ export type OwnershipTransferRequestKeepAccessEnum = typeof OwnershipTransferRequestKeepAccessEnum[keyof typeof OwnershipTransferRequestKeepAccessEnum];