@openfilz-sdk/typescript-ee 1.10.5 → 1.11.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 (45) hide show
  1. package/.openapi-generator/FILES +8 -0
  2. package/.openapi-generator/openfilz-api-generate-typescript-sdk.sha256 +1 -1
  3. package/README.md +12 -3
  4. package/api/storage-encryption-administration-api.ts +391 -0
  5. package/api/workflows-api.ts +100 -11
  6. package/api.ts +1 -0
  7. package/dist/api/storage-encryption-administration-api.d.ts +198 -0
  8. package/dist/api/storage-encryption-administration-api.js +381 -0
  9. package/dist/api/workflows-api.d.ts +48 -8
  10. package/dist/api/workflows-api.js +94 -11
  11. package/dist/api.d.ts +1 -0
  12. package/dist/api.js +1 -0
  13. package/dist/esm/api/storage-encryption-administration-api.d.ts +198 -0
  14. package/dist/esm/api/storage-encryption-administration-api.js +374 -0
  15. package/dist/esm/api/workflows-api.d.ts +48 -8
  16. package/dist/esm/api/workflows-api.js +94 -11
  17. package/dist/esm/api.d.ts +1 -0
  18. package/dist/esm/api.js +1 -0
  19. package/dist/esm/models/index.d.ts +3 -0
  20. package/dist/esm/models/index.js +3 -0
  21. package/dist/esm/models/job-status.d.ts +29 -0
  22. package/dist/esm/models/job-status.js +18 -0
  23. package/dist/esm/models/reencrypt-request.d.ts +31 -0
  24. package/dist/esm/models/reencrypt-request.js +18 -0
  25. package/dist/esm/models/storage-encryption-status.d.ts +36 -0
  26. package/dist/esm/models/storage-encryption-status.js +14 -0
  27. package/dist/models/index.d.ts +3 -0
  28. package/dist/models/index.js +3 -0
  29. package/dist/models/job-status.d.ts +29 -0
  30. package/dist/models/job-status.js +21 -0
  31. package/dist/models/reencrypt-request.d.ts +31 -0
  32. package/dist/models/reencrypt-request.js +21 -0
  33. package/dist/models/storage-encryption-status.d.ts +36 -0
  34. package/dist/models/storage-encryption-status.js +15 -0
  35. package/docs/JobStatus.md +38 -0
  36. package/docs/ReencryptRequest.md +24 -0
  37. package/docs/StorageEncryptionAdministrationApi.md +239 -0
  38. package/docs/StorageEncryptionStatus.md +45 -0
  39. package/docs/WorkflowsApi.md +60 -2
  40. package/graphql/document.graphqls +6 -0
  41. package/models/index.ts +3 -0
  42. package/models/job-status.ts +38 -0
  43. package/models/reencrypt-request.ts +40 -0
  44. package/models/storage-encryption-status.ts +44 -0
  45. package/package.json +1 -1
@@ -239,12 +239,13 @@ export const WorkflowsApiAxiosParamCreator = function (configuration) {
239
239
  }),
240
240
  /**
241
241
  *
242
- * @summary List workflow definitions
242
+ * @summary List the workflow definitions the caller may see (mine = created by the caller)
243
243
  * @param {boolean} [active]
244
+ * @param {boolean} [mine]
244
245
  * @param {*} [options] Override http request option.
245
246
  * @throws {RequiredError}
246
247
  */
247
- listDefinitions: (active_1, ...args_1) => __awaiter(this, [active_1, ...args_1], void 0, function* (active, options = {}) {
248
+ listDefinitions: (active_1, mine_1, ...args_1) => __awaiter(this, [active_1, mine_1, ...args_1], void 0, function* (active, mine, options = {}) {
248
249
  const localVarPath = `/api/v1/workflows/definitions`;
249
250
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
250
251
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -261,6 +262,9 @@ export const WorkflowsApiAxiosParamCreator = function (configuration) {
261
262
  if (active !== undefined) {
262
263
  localVarQueryParameter['active'] = active;
263
264
  }
265
+ if (mine !== undefined) {
266
+ localVarQueryParameter['mine'] = mine;
267
+ }
264
268
  localVarHeaderParameter['Accept'] = 'application/json';
265
269
  setSearchParams(localVarUrlObj, localVarQueryParameter);
266
270
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -490,6 +494,43 @@ export const WorkflowsApiAxiosParamCreator = function (configuration) {
490
494
  options: localVarRequestOptions,
491
495
  };
492
496
  }),
497
+ /**
498
+ * All of the caller\'s teams, or only teamId (404 when the caller is not a member of it). The caller\'s own definitions are not included — see GET /definitions?mine=true.
499
+ * @summary Workflow definitions authored by the caller\'s teammates
500
+ * @param {string} [teamId]
501
+ * @param {boolean} [active]
502
+ * @param {*} [options] Override http request option.
503
+ * @throws {RequiredError}
504
+ */
505
+ teamDefinitions: (teamId_1, active_1, ...args_1) => __awaiter(this, [teamId_1, active_1, ...args_1], void 0, function* (teamId, active, options = {}) {
506
+ const localVarPath = `/api/v1/workflows/team-definitions`;
507
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
508
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
509
+ let baseOptions;
510
+ if (configuration) {
511
+ baseOptions = configuration.baseOptions;
512
+ }
513
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
514
+ const localVarHeaderParameter = {};
515
+ const localVarQueryParameter = {};
516
+ // authentication keycloak_auth required
517
+ // http bearer authentication required
518
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
519
+ if (teamId !== undefined) {
520
+ localVarQueryParameter['teamId'] = teamId;
521
+ }
522
+ if (active !== undefined) {
523
+ localVarQueryParameter['active'] = active;
524
+ }
525
+ localVarHeaderParameter['Accept'] = 'application/json';
526
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
527
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
528
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
529
+ return {
530
+ url: toPathString(localVarUrlObj),
531
+ options: localVarRequestOptions,
532
+ };
533
+ }),
493
534
  /**
494
535
  *
495
536
  * @summary Update a workflow definition (running instances keep their snapshot)
@@ -670,15 +711,16 @@ export const WorkflowsApiFp = function (configuration) {
670
711
  },
671
712
  /**
672
713
  *
673
- * @summary List workflow definitions
714
+ * @summary List the workflow definitions the caller may see (mine = created by the caller)
674
715
  * @param {boolean} [active]
716
+ * @param {boolean} [mine]
675
717
  * @param {*} [options] Override http request option.
676
718
  * @throws {RequiredError}
677
719
  */
678
- listDefinitions(active, options) {
720
+ listDefinitions(active, mine, options) {
679
721
  return __awaiter(this, void 0, void 0, function* () {
680
722
  var _a, _b, _c;
681
- const localVarAxiosArgs = yield localVarAxiosParamCreator.listDefinitions(active, options);
723
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.listDefinitions(active, mine, options);
682
724
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
683
725
  const localVarOperationServerBasePath = (_c = (_b = operationServerMap['WorkflowsApi.listDefinitions']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
684
726
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -785,6 +827,23 @@ export const WorkflowsApiFp = function (configuration) {
785
827
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
786
828
  });
787
829
  },
830
+ /**
831
+ * All of the caller\'s teams, or only teamId (404 when the caller is not a member of it). The caller\'s own definitions are not included — see GET /definitions?mine=true.
832
+ * @summary Workflow definitions authored by the caller\'s teammates
833
+ * @param {string} [teamId]
834
+ * @param {boolean} [active]
835
+ * @param {*} [options] Override http request option.
836
+ * @throws {RequiredError}
837
+ */
838
+ teamDefinitions(teamId, active, options) {
839
+ return __awaiter(this, void 0, void 0, function* () {
840
+ var _a, _b, _c;
841
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.teamDefinitions(teamId, active, options);
842
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
843
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['WorkflowsApi.teamDefinitions']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
844
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
845
+ });
846
+ },
788
847
  /**
789
848
  *
790
849
  * @summary Update a workflow definition (running instances keep their snapshot)
@@ -890,13 +949,14 @@ export const WorkflowsApiFactory = function (configuration, basePath, axios) {
890
949
  },
891
950
  /**
892
951
  *
893
- * @summary List workflow definitions
952
+ * @summary List the workflow definitions the caller may see (mine = created by the caller)
894
953
  * @param {boolean} [active]
954
+ * @param {boolean} [mine]
895
955
  * @param {*} [options] Override http request option.
896
956
  * @throws {RequiredError}
897
957
  */
898
- listDefinitions(active, options) {
899
- return localVarFp.listDefinitions(active, options).then((request) => request(axios, basePath));
958
+ listDefinitions(active, mine, options) {
959
+ return localVarFp.listDefinitions(active, mine, options).then((request) => request(axios, basePath));
900
960
  },
901
961
  /**
902
962
  *
@@ -963,6 +1023,17 @@ export const WorkflowsApiFactory = function (configuration, basePath, axios) {
963
1023
  summary(options) {
964
1024
  return localVarFp.summary(options).then((request) => request(axios, basePath));
965
1025
  },
1026
+ /**
1027
+ * All of the caller\'s teams, or only teamId (404 when the caller is not a member of it). The caller\'s own definitions are not included — see GET /definitions?mine=true.
1028
+ * @summary Workflow definitions authored by the caller\'s teammates
1029
+ * @param {string} [teamId]
1030
+ * @param {boolean} [active]
1031
+ * @param {*} [options] Override http request option.
1032
+ * @throws {RequiredError}
1033
+ */
1034
+ teamDefinitions(teamId, active, options) {
1035
+ return localVarFp.teamDefinitions(teamId, active, options).then((request) => request(axios, basePath));
1036
+ },
966
1037
  /**
967
1038
  *
968
1039
  * @summary Update a workflow definition (running instances keep their snapshot)
@@ -1054,13 +1125,14 @@ export class WorkflowsApi extends BaseAPI {
1054
1125
  }
1055
1126
  /**
1056
1127
  *
1057
- * @summary List workflow definitions
1128
+ * @summary List the workflow definitions the caller may see (mine = created by the caller)
1058
1129
  * @param {boolean} [active]
1130
+ * @param {boolean} [mine]
1059
1131
  * @param {*} [options] Override http request option.
1060
1132
  * @throws {RequiredError}
1061
1133
  */
1062
- listDefinitions(active, options) {
1063
- return WorkflowsApiFp(this.configuration).listDefinitions(active, options).then((request) => request(this.axios, this.basePath));
1134
+ listDefinitions(active, mine, options) {
1135
+ return WorkflowsApiFp(this.configuration).listDefinitions(active, mine, options).then((request) => request(this.axios, this.basePath));
1064
1136
  }
1065
1137
  /**
1066
1138
  *
@@ -1127,6 +1199,17 @@ export class WorkflowsApi extends BaseAPI {
1127
1199
  summary(options) {
1128
1200
  return WorkflowsApiFp(this.configuration).summary(options).then((request) => request(this.axios, this.basePath));
1129
1201
  }
1202
+ /**
1203
+ * All of the caller\'s teams, or only teamId (404 when the caller is not a member of it). The caller\'s own definitions are not included — see GET /definitions?mine=true.
1204
+ * @summary Workflow definitions authored by the caller\'s teammates
1205
+ * @param {string} [teamId]
1206
+ * @param {boolean} [active]
1207
+ * @param {*} [options] Override http request option.
1208
+ * @throws {RequiredError}
1209
+ */
1210
+ teamDefinitions(teamId, active, options) {
1211
+ return WorkflowsApiFp(this.configuration).teamDefinitions(teamId, active, options).then((request) => request(this.axios, this.basePath));
1212
+ }
1130
1213
  /**
1131
1214
  *
1132
1215
  * @summary Update a workflow definition (running instances keep their snapshot)
package/dist/esm/api.d.ts CHANGED
@@ -50,6 +50,7 @@ export * from './api/scanner-proxy-api';
50
50
  export * from './api/search-administration-api';
51
51
  export * from './api/settings-api';
52
52
  export * from './api/smart-filing-api';
53
+ export * from './api/storage-encryption-administration-api';
53
54
  export * from './api/tus-controller-api';
54
55
  export * from './api/upload-token-controller-api';
55
56
  export * from './api/user-privacy-api';
package/dist/esm/api.js CHANGED
@@ -52,6 +52,7 @@ export * from './api/scanner-proxy-api';
52
52
  export * from './api/search-administration-api';
53
53
  export * from './api/settings-api';
54
54
  export * from './api/smart-filing-api';
55
+ export * from './api/storage-encryption-administration-api';
55
56
  export * from './api/tus-controller-api';
56
57
  export * from './api/upload-token-controller-api';
57
58
  export * from './api/user-privacy-api';
@@ -93,6 +93,7 @@ export * from './insights';
93
93
  export * from './instantiate-template-request';
94
94
  export * from './item';
95
95
  export * from './item-result';
96
+ export * from './job-status';
96
97
  export * from './key-count';
97
98
  export * from './license-info';
98
99
  export * from './list-ai-models-request';
@@ -118,6 +119,7 @@ export * from './pdf-transform-audit';
118
119
  export * from './per-definition';
119
120
  export * from './public-signature-view';
120
121
  export * from './reassign-task-request';
122
+ export * from './reencrypt-request';
121
123
  export * from './rename-audit';
122
124
  export * from './rename-request';
123
125
  export * from './reorganization-apply-request';
@@ -162,6 +164,7 @@ export * from './split-output';
162
164
  export * from './split-request';
163
165
  export * from './start-workflow-request';
164
166
  export * from './storage-breakdown';
167
+ export * from './storage-encryption-status';
165
168
  export * from './suggest';
166
169
  export * from './sync-backfill-status';
167
170
  export * from './sync-changes-response';
@@ -93,6 +93,7 @@ export * from './insights';
93
93
  export * from './instantiate-template-request';
94
94
  export * from './item';
95
95
  export * from './item-result';
96
+ export * from './job-status';
96
97
  export * from './key-count';
97
98
  export * from './license-info';
98
99
  export * from './list-ai-models-request';
@@ -118,6 +119,7 @@ export * from './pdf-transform-audit';
118
119
  export * from './per-definition';
119
120
  export * from './public-signature-view';
120
121
  export * from './reassign-task-request';
122
+ export * from './reencrypt-request';
121
123
  export * from './rename-audit';
122
124
  export * from './rename-request';
123
125
  export * from './reorganization-apply-request';
@@ -162,6 +164,7 @@ export * from './split-output';
162
164
  export * from './split-request';
163
165
  export * from './start-workflow-request';
164
166
  export * from './storage-breakdown';
167
+ export * from './storage-encryption-status';
165
168
  export * from './suggest';
166
169
  export * from './sync-backfill-status';
167
170
  export * from './sync-changes-response';
@@ -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
+ export interface JobStatus {
13
+ 'status'?: string;
14
+ 'mode'?: JobStatusModeEnum;
15
+ 'targetKeyId'?: string;
16
+ 'startedAt'?: string;
17
+ 'finishedAt'?: string;
18
+ 'files'?: number;
19
+ 'reencrypted'?: number;
20
+ 'skipped'?: number;
21
+ 'failures'?: number;
22
+ 'lastError'?: string;
23
+ }
24
+ export declare const JobStatusModeEnum: {
25
+ readonly Legacy: "LEGACY";
26
+ readonly MasterKey: "MASTER_KEY";
27
+ readonly All: "ALL";
28
+ };
29
+ export type JobStatusModeEnum = typeof JobStatusModeEnum[keyof typeof JobStatusModeEnum];
@@ -0,0 +1,18 @@
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 JobStatusModeEnum = {
15
+ Legacy: 'LEGACY',
16
+ MasterKey: 'MASTER_KEY',
17
+ All: 'ALL',
18
+ };
@@ -0,0 +1,31 @@
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 ReencryptRequest {
13
+ /**
14
+ * LEGACY: plaintext objects only (after switching the feature on); MASTER_KEY: objects written under targetKeyId; ALL: everything
15
+ */
16
+ 'mode': ReencryptRequestModeEnum;
17
+ /**
18
+ * MASTER_KEY mode: the master key whose objects are rewritten under the active key
19
+ */
20
+ 'targetKeyId'?: string;
21
+ /**
22
+ * Continue an unfinished or failed pass of the same mode instead of starting over
23
+ */
24
+ 'resume'?: boolean;
25
+ }
26
+ export declare const ReencryptRequestModeEnum: {
27
+ readonly Legacy: "LEGACY";
28
+ readonly MasterKey: "MASTER_KEY";
29
+ readonly All: "ALL";
30
+ };
31
+ export type ReencryptRequestModeEnum = typeof ReencryptRequestModeEnum[keyof typeof ReencryptRequestModeEnum];
@@ -0,0 +1,18 @@
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 ReencryptRequestModeEnum = {
15
+ Legacy: 'LEGACY',
16
+ MasterKey: 'MASTER_KEY',
17
+ All: 'ALL',
18
+ };
@@ -0,0 +1,36 @@
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 { JobStatus } from './job-status';
13
+ /**
14
+ * Storage encryption: configuration, master key ring state and the re-encryption pass
15
+ */
16
+ export interface StorageEncryptionStatus {
17
+ 'enabled'?: boolean;
18
+ /**
19
+ * Key-wrap provider: local, vault-transit, aws-kms, azure-keyvault, scaleway-kms
20
+ */
21
+ 'provider'?: string;
22
+ 'chunkSize'?: number;
23
+ 'masterKeyTtl'?: string;
24
+ 'attestationInterval'?: string;
25
+ 'attestationGrace'?: string;
26
+ /**
27
+ * True while the customer\'s KEK is unavailable: content answers 423 Locked
28
+ */
29
+ 'locked'?: boolean;
30
+ 'lockReason'?: string;
31
+ 'lockedSince'?: string;
32
+ 'activeKeyId'?: string;
33
+ 'keysLoaded'?: number;
34
+ 'lastAttestation'?: string;
35
+ 'job'?: JobStatus;
36
+ }
@@ -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 {};
@@ -93,6 +93,7 @@ export * from './insights';
93
93
  export * from './instantiate-template-request';
94
94
  export * from './item';
95
95
  export * from './item-result';
96
+ export * from './job-status';
96
97
  export * from './key-count';
97
98
  export * from './license-info';
98
99
  export * from './list-ai-models-request';
@@ -118,6 +119,7 @@ export * from './pdf-transform-audit';
118
119
  export * from './per-definition';
119
120
  export * from './public-signature-view';
120
121
  export * from './reassign-task-request';
122
+ export * from './reencrypt-request';
121
123
  export * from './rename-audit';
122
124
  export * from './rename-request';
123
125
  export * from './reorganization-apply-request';
@@ -162,6 +164,7 @@ export * from './split-output';
162
164
  export * from './split-request';
163
165
  export * from './start-workflow-request';
164
166
  export * from './storage-breakdown';
167
+ export * from './storage-encryption-status';
165
168
  export * from './suggest';
166
169
  export * from './sync-backfill-status';
167
170
  export * from './sync-changes-response';
@@ -109,6 +109,7 @@ __exportStar(require("./insights"), exports);
109
109
  __exportStar(require("./instantiate-template-request"), exports);
110
110
  __exportStar(require("./item"), exports);
111
111
  __exportStar(require("./item-result"), exports);
112
+ __exportStar(require("./job-status"), exports);
112
113
  __exportStar(require("./key-count"), exports);
113
114
  __exportStar(require("./license-info"), exports);
114
115
  __exportStar(require("./list-ai-models-request"), exports);
@@ -134,6 +135,7 @@ __exportStar(require("./pdf-transform-audit"), exports);
134
135
  __exportStar(require("./per-definition"), exports);
135
136
  __exportStar(require("./public-signature-view"), exports);
136
137
  __exportStar(require("./reassign-task-request"), exports);
138
+ __exportStar(require("./reencrypt-request"), exports);
137
139
  __exportStar(require("./rename-audit"), exports);
138
140
  __exportStar(require("./rename-request"), exports);
139
141
  __exportStar(require("./reorganization-apply-request"), exports);
@@ -178,6 +180,7 @@ __exportStar(require("./split-output"), exports);
178
180
  __exportStar(require("./split-request"), exports);
179
181
  __exportStar(require("./start-workflow-request"), exports);
180
182
  __exportStar(require("./storage-breakdown"), exports);
183
+ __exportStar(require("./storage-encryption-status"), exports);
181
184
  __exportStar(require("./suggest"), exports);
182
185
  __exportStar(require("./sync-backfill-status"), exports);
183
186
  __exportStar(require("./sync-changes-response"), exports);
@@ -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
+ export interface JobStatus {
13
+ 'status'?: string;
14
+ 'mode'?: JobStatusModeEnum;
15
+ 'targetKeyId'?: string;
16
+ 'startedAt'?: string;
17
+ 'finishedAt'?: string;
18
+ 'files'?: number;
19
+ 'reencrypted'?: number;
20
+ 'skipped'?: number;
21
+ 'failures'?: number;
22
+ 'lastError'?: string;
23
+ }
24
+ export declare const JobStatusModeEnum: {
25
+ readonly Legacy: "LEGACY";
26
+ readonly MasterKey: "MASTER_KEY";
27
+ readonly All: "ALL";
28
+ };
29
+ export type JobStatusModeEnum = typeof JobStatusModeEnum[keyof typeof JobStatusModeEnum];
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * openfilz-api
6
+ * API for Document Management System
7
+ *
8
+ * The version of the OpenAPI document: 1.0.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.JobStatusModeEnum = void 0;
17
+ exports.JobStatusModeEnum = {
18
+ Legacy: 'LEGACY',
19
+ MasterKey: 'MASTER_KEY',
20
+ All: 'ALL',
21
+ };
@@ -0,0 +1,31 @@
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 ReencryptRequest {
13
+ /**
14
+ * LEGACY: plaintext objects only (after switching the feature on); MASTER_KEY: objects written under targetKeyId; ALL: everything
15
+ */
16
+ 'mode': ReencryptRequestModeEnum;
17
+ /**
18
+ * MASTER_KEY mode: the master key whose objects are rewritten under the active key
19
+ */
20
+ 'targetKeyId'?: string;
21
+ /**
22
+ * Continue an unfinished or failed pass of the same mode instead of starting over
23
+ */
24
+ 'resume'?: boolean;
25
+ }
26
+ export declare const ReencryptRequestModeEnum: {
27
+ readonly Legacy: "LEGACY";
28
+ readonly MasterKey: "MASTER_KEY";
29
+ readonly All: "ALL";
30
+ };
31
+ export type ReencryptRequestModeEnum = typeof ReencryptRequestModeEnum[keyof typeof ReencryptRequestModeEnum];
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * openfilz-api
6
+ * API for Document Management System
7
+ *
8
+ * The version of the OpenAPI document: 1.0.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.ReencryptRequestModeEnum = void 0;
17
+ exports.ReencryptRequestModeEnum = {
18
+ Legacy: 'LEGACY',
19
+ MasterKey: 'MASTER_KEY',
20
+ All: 'ALL',
21
+ };
@@ -0,0 +1,36 @@
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 { JobStatus } from './job-status';
13
+ /**
14
+ * Storage encryption: configuration, master key ring state and the re-encryption pass
15
+ */
16
+ export interface StorageEncryptionStatus {
17
+ 'enabled'?: boolean;
18
+ /**
19
+ * Key-wrap provider: local, vault-transit, aws-kms, azure-keyvault, scaleway-kms
20
+ */
21
+ 'provider'?: string;
22
+ 'chunkSize'?: number;
23
+ 'masterKeyTtl'?: string;
24
+ 'attestationInterval'?: string;
25
+ 'attestationGrace'?: string;
26
+ /**
27
+ * True while the customer\'s KEK is unavailable: content answers 423 Locked
28
+ */
29
+ 'locked'?: boolean;
30
+ 'lockReason'?: string;
31
+ 'lockedSince'?: string;
32
+ 'activeKeyId'?: string;
33
+ 'keysLoaded'?: number;
34
+ 'lastAttestation'?: string;
35
+ 'job'?: JobStatus;
36
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * openfilz-api
6
+ * API for Document Management System
7
+ *
8
+ * The version of the OpenAPI document: 1.0.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,38 @@
1
+ # JobStatus
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **status** | **string** | | [optional] [default to undefined]
9
+ **mode** | **string** | | [optional] [default to undefined]
10
+ **targetKeyId** | **string** | | [optional] [default to undefined]
11
+ **startedAt** | **string** | | [optional] [default to undefined]
12
+ **finishedAt** | **string** | | [optional] [default to undefined]
13
+ **files** | **number** | | [optional] [default to undefined]
14
+ **reencrypted** | **number** | | [optional] [default to undefined]
15
+ **skipped** | **number** | | [optional] [default to undefined]
16
+ **failures** | **number** | | [optional] [default to undefined]
17
+ **lastError** | **string** | | [optional] [default to undefined]
18
+
19
+ ## Example
20
+
21
+ ```typescript
22
+ import { JobStatus } from '@openfilz-sdk/typescript-ee';
23
+
24
+ const instance: JobStatus = {
25
+ status,
26
+ mode,
27
+ targetKeyId,
28
+ startedAt,
29
+ finishedAt,
30
+ files,
31
+ reencrypted,
32
+ skipped,
33
+ failures,
34
+ lastError,
35
+ };
36
+ ```
37
+
38
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)