@openfilz-sdk/typescript-ee 1.10.6 → 1.12.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 (50) 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 +13 -3
  4. package/api/search-administration-api.ts +65 -0
  5. package/api/storage-encryption-administration-api.ts +391 -0
  6. package/api/workflows-api.ts +100 -11
  7. package/api.ts +1 -0
  8. package/dist/api/search-administration-api.d.ts +28 -0
  9. package/dist/api/search-administration-api.js +62 -0
  10. package/dist/api/storage-encryption-administration-api.d.ts +198 -0
  11. package/dist/api/storage-encryption-administration-api.js +381 -0
  12. package/dist/api/workflows-api.d.ts +48 -8
  13. package/dist/api/workflows-api.js +94 -11
  14. package/dist/api.d.ts +1 -0
  15. package/dist/api.js +1 -0
  16. package/dist/esm/api/search-administration-api.d.ts +28 -0
  17. package/dist/esm/api/search-administration-api.js +62 -0
  18. package/dist/esm/api/storage-encryption-administration-api.d.ts +198 -0
  19. package/dist/esm/api/storage-encryption-administration-api.js +374 -0
  20. package/dist/esm/api/workflows-api.d.ts +48 -8
  21. package/dist/esm/api/workflows-api.js +94 -11
  22. package/dist/esm/api.d.ts +1 -0
  23. package/dist/esm/api.js +1 -0
  24. package/dist/esm/models/index.d.ts +3 -0
  25. package/dist/esm/models/index.js +3 -0
  26. package/dist/esm/models/job-status.d.ts +29 -0
  27. package/dist/esm/models/job-status.js +18 -0
  28. package/dist/esm/models/reencrypt-request.d.ts +31 -0
  29. package/dist/esm/models/reencrypt-request.js +18 -0
  30. package/dist/esm/models/storage-encryption-status.d.ts +36 -0
  31. package/dist/esm/models/storage-encryption-status.js +14 -0
  32. package/dist/models/index.d.ts +3 -0
  33. package/dist/models/index.js +3 -0
  34. package/dist/models/job-status.d.ts +29 -0
  35. package/dist/models/job-status.js +21 -0
  36. package/dist/models/reencrypt-request.d.ts +31 -0
  37. package/dist/models/reencrypt-request.js +21 -0
  38. package/dist/models/storage-encryption-status.d.ts +36 -0
  39. package/dist/models/storage-encryption-status.js +15 -0
  40. package/docs/JobStatus.md +38 -0
  41. package/docs/ReencryptRequest.md +24 -0
  42. package/docs/SearchAdministrationApi.md +45 -0
  43. package/docs/StorageEncryptionAdministrationApi.md +239 -0
  44. package/docs/StorageEncryptionStatus.md +45 -0
  45. package/docs/WorkflowsApi.md +60 -2
  46. package/models/index.ts +3 -0
  47. package/models/job-status.ts +38 -0
  48. package/models/reencrypt-request.ts +40 -0
  49. package/models/storage-encryption-status.ts +44 -0
  50. package/package.json +1 -1
@@ -290,12 +290,13 @@ export const WorkflowsApiAxiosParamCreator = function (configuration?: Configura
290
290
  },
291
291
  /**
292
292
  *
293
- * @summary List workflow definitions
293
+ * @summary List the workflow definitions the caller may see (mine = created by the caller)
294
294
  * @param {boolean} [active]
295
+ * @param {boolean} [mine]
295
296
  * @param {*} [options] Override http request option.
296
297
  * @throws {RequiredError}
297
298
  */
298
- listDefinitions: async (active?: boolean, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
299
+ listDefinitions: async (active?: boolean, mine?: boolean, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
299
300
  const localVarPath = `/api/v1/workflows/definitions`;
300
301
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
301
302
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -316,6 +317,10 @@ export const WorkflowsApiAxiosParamCreator = function (configuration?: Configura
316
317
  localVarQueryParameter['active'] = active;
317
318
  }
318
319
 
320
+ if (mine !== undefined) {
321
+ localVarQueryParameter['mine'] = mine;
322
+ }
323
+
319
324
  localVarHeaderParameter['Accept'] = 'application/json';
320
325
 
321
326
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -584,6 +589,50 @@ export const WorkflowsApiAxiosParamCreator = function (configuration?: Configura
584
589
  options: localVarRequestOptions,
585
590
  };
586
591
  },
592
+ /**
593
+ * 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.
594
+ * @summary Workflow definitions authored by the caller\'s teammates
595
+ * @param {string} [teamId]
596
+ * @param {boolean} [active]
597
+ * @param {*} [options] Override http request option.
598
+ * @throws {RequiredError}
599
+ */
600
+ teamDefinitions: async (teamId?: string, active?: boolean, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
601
+ const localVarPath = `/api/v1/workflows/team-definitions`;
602
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
603
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
604
+ let baseOptions;
605
+ if (configuration) {
606
+ baseOptions = configuration.baseOptions;
607
+ }
608
+
609
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
610
+ const localVarHeaderParameter = {} as any;
611
+ const localVarQueryParameter = {} as any;
612
+
613
+ // authentication keycloak_auth required
614
+ // http bearer authentication required
615
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
616
+
617
+ if (teamId !== undefined) {
618
+ localVarQueryParameter['teamId'] = teamId;
619
+ }
620
+
621
+ if (active !== undefined) {
622
+ localVarQueryParameter['active'] = active;
623
+ }
624
+
625
+ localVarHeaderParameter['Accept'] = 'application/json';
626
+
627
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
628
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
629
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
630
+
631
+ return {
632
+ url: toPathString(localVarUrlObj),
633
+ options: localVarRequestOptions,
634
+ };
635
+ },
587
636
  /**
588
637
  *
589
638
  * @summary Update a workflow definition (running instances keep their snapshot)
@@ -757,13 +806,14 @@ export const WorkflowsApiFp = function(configuration?: Configuration) {
757
806
  },
758
807
  /**
759
808
  *
760
- * @summary List workflow definitions
809
+ * @summary List the workflow definitions the caller may see (mine = created by the caller)
761
810
  * @param {boolean} [active]
811
+ * @param {boolean} [mine]
762
812
  * @param {*} [options] Override http request option.
763
813
  * @throws {RequiredError}
764
814
  */
765
- async listDefinitions(active?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<WorkflowDefinitionDTO>>> {
766
- const localVarAxiosArgs = await localVarAxiosParamCreator.listDefinitions(active, options);
815
+ async listDefinitions(active?: boolean, mine?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<WorkflowDefinitionDTO>>> {
816
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listDefinitions(active, mine, options);
767
817
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
768
818
  const localVarOperationServerBasePath = operationServerMap['WorkflowsApi.listDefinitions']?.[localVarOperationServerIndex]?.url;
769
819
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -851,6 +901,20 @@ export const WorkflowsApiFp = function(configuration?: Configuration) {
851
901
  const localVarOperationServerBasePath = operationServerMap['WorkflowsApi.summary']?.[localVarOperationServerIndex]?.url;
852
902
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
853
903
  },
904
+ /**
905
+ * 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.
906
+ * @summary Workflow definitions authored by the caller\'s teammates
907
+ * @param {string} [teamId]
908
+ * @param {boolean} [active]
909
+ * @param {*} [options] Override http request option.
910
+ * @throws {RequiredError}
911
+ */
912
+ async teamDefinitions(teamId?: string, active?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<WorkflowDefinitionDTO>>> {
913
+ const localVarAxiosArgs = await localVarAxiosParamCreator.teamDefinitions(teamId, active, options);
914
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
915
+ const localVarOperationServerBasePath = operationServerMap['WorkflowsApi.teamDefinitions']?.[localVarOperationServerIndex]?.url;
916
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
917
+ },
854
918
  /**
855
919
  *
856
920
  * @summary Update a workflow definition (running instances keep their snapshot)
@@ -951,13 +1015,14 @@ export const WorkflowsApiFactory = function (configuration?: Configuration, base
951
1015
  },
952
1016
  /**
953
1017
  *
954
- * @summary List workflow definitions
1018
+ * @summary List the workflow definitions the caller may see (mine = created by the caller)
955
1019
  * @param {boolean} [active]
1020
+ * @param {boolean} [mine]
956
1021
  * @param {*} [options] Override http request option.
957
1022
  * @throws {RequiredError}
958
1023
  */
959
- listDefinitions(active?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<Array<WorkflowDefinitionDTO>> {
960
- return localVarFp.listDefinitions(active, options).then((request) => request(axios, basePath));
1024
+ listDefinitions(active?: boolean, mine?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<Array<WorkflowDefinitionDTO>> {
1025
+ return localVarFp.listDefinitions(active, mine, options).then((request) => request(axios, basePath));
961
1026
  },
962
1027
  /**
963
1028
  *
@@ -1024,6 +1089,17 @@ export const WorkflowsApiFactory = function (configuration?: Configuration, base
1024
1089
  summary(options?: RawAxiosRequestConfig): AxiosPromise<WorkflowSummaryDTO> {
1025
1090
  return localVarFp.summary(options).then((request) => request(axios, basePath));
1026
1091
  },
1092
+ /**
1093
+ * 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.
1094
+ * @summary Workflow definitions authored by the caller\'s teammates
1095
+ * @param {string} [teamId]
1096
+ * @param {boolean} [active]
1097
+ * @param {*} [options] Override http request option.
1098
+ * @throws {RequiredError}
1099
+ */
1100
+ teamDefinitions(teamId?: string, active?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<Array<WorkflowDefinitionDTO>> {
1101
+ return localVarFp.teamDefinitions(teamId, active, options).then((request) => request(axios, basePath));
1102
+ },
1027
1103
  /**
1028
1104
  *
1029
1105
  * @summary Update a workflow definition (running instances keep their snapshot)
@@ -1122,13 +1198,14 @@ export class WorkflowsApi extends BaseAPI {
1122
1198
 
1123
1199
  /**
1124
1200
  *
1125
- * @summary List workflow definitions
1201
+ * @summary List the workflow definitions the caller may see (mine = created by the caller)
1126
1202
  * @param {boolean} [active]
1203
+ * @param {boolean} [mine]
1127
1204
  * @param {*} [options] Override http request option.
1128
1205
  * @throws {RequiredError}
1129
1206
  */
1130
- public listDefinitions(active?: boolean, options?: RawAxiosRequestConfig) {
1131
- return WorkflowsApiFp(this.configuration).listDefinitions(active, options).then((request) => request(this.axios, this.basePath));
1207
+ public listDefinitions(active?: boolean, mine?: boolean, options?: RawAxiosRequestConfig) {
1208
+ return WorkflowsApiFp(this.configuration).listDefinitions(active, mine, options).then((request) => request(this.axios, this.basePath));
1132
1209
  }
1133
1210
 
1134
1211
  /**
@@ -1202,6 +1279,18 @@ export class WorkflowsApi extends BaseAPI {
1202
1279
  return WorkflowsApiFp(this.configuration).summary(options).then((request) => request(this.axios, this.basePath));
1203
1280
  }
1204
1281
 
1282
+ /**
1283
+ * 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.
1284
+ * @summary Workflow definitions authored by the caller\'s teammates
1285
+ * @param {string} [teamId]
1286
+ * @param {boolean} [active]
1287
+ * @param {*} [options] Override http request option.
1288
+ * @throws {RequiredError}
1289
+ */
1290
+ public teamDefinitions(teamId?: string, active?: boolean, options?: RawAxiosRequestConfig) {
1291
+ return WorkflowsApiFp(this.configuration).teamDefinitions(teamId, active, options).then((request) => request(this.axios, this.basePath));
1292
+ }
1293
+
1205
1294
  /**
1206
1295
  *
1207
1296
  * @summary Update a workflow definition (running instances keep their snapshot)
package/api.ts CHANGED
@@ -55,6 +55,7 @@ export * from './api/scanner-proxy-api';
55
55
  export * from './api/search-administration-api';
56
56
  export * from './api/settings-api';
57
57
  export * from './api/smart-filing-api';
58
+ export * from './api/storage-encryption-administration-api';
58
59
  export * from './api/tus-controller-api';
59
60
  export * from './api/upload-token-controller-api';
60
61
  export * from './api/user-privacy-api';
@@ -37,6 +37,13 @@ export declare const SearchAdministrationApiAxiosParamCreator: (configuration?:
37
37
  * @throws {RequiredError}
38
38
  */
39
39
  getStatus: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
40
+ /**
41
+ * Rewrites the metadata fields of every indexed document from the database — no text extraction, no AI, no downtime. Runs asynchronously in the background.
42
+ * @summary Refresh index metadata
43
+ * @param {*} [options] Override http request option.
44
+ * @throws {RequiredError}
45
+ */
46
+ refreshMetadata: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
40
47
  /**
41
48
  * Triggers a full reindexation of all documents. Runs asynchronously in the background.
42
49
  * @summary Reindex all documents
@@ -70,6 +77,13 @@ export declare const SearchAdministrationApiFp: (configuration?: Configuration)
70
77
  * @throws {RequiredError}
71
78
  */
72
79
  getStatus(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
80
+ /**
81
+ * Rewrites the metadata fields of every indexed document from the database — no text extraction, no AI, no downtime. Runs asynchronously in the background.
82
+ * @summary Refresh index metadata
83
+ * @param {*} [options] Override http request option.
84
+ * @throws {RequiredError}
85
+ */
86
+ refreshMetadata(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
73
87
  /**
74
88
  * Triggers a full reindexation of all documents. Runs asynchronously in the background.
75
89
  * @summary Reindex all documents
@@ -103,6 +117,13 @@ export declare const SearchAdministrationApiFactory: (configuration?: Configurat
103
117
  * @throws {RequiredError}
104
118
  */
105
119
  getStatus(options?: RawAxiosRequestConfig): AxiosPromise<object>;
120
+ /**
121
+ * Rewrites the metadata fields of every indexed document from the database — no text extraction, no AI, no downtime. Runs asynchronously in the background.
122
+ * @summary Refresh index metadata
123
+ * @param {*} [options] Override http request option.
124
+ * @throws {RequiredError}
125
+ */
126
+ refreshMetadata(options?: RawAxiosRequestConfig): AxiosPromise<object>;
106
127
  /**
107
128
  * Triggers a full reindexation of all documents. Runs asynchronously in the background.
108
129
  * @summary Reindex all documents
@@ -136,6 +157,13 @@ export declare class SearchAdministrationApi extends BaseAPI {
136
157
  * @throws {RequiredError}
137
158
  */
138
159
  getStatus(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any, {}, any>>;
160
+ /**
161
+ * Rewrites the metadata fields of every indexed document from the database — no text extraction, no AI, no downtime. Runs asynchronously in the background.
162
+ * @summary Refresh index metadata
163
+ * @param {*} [options] Override http request option.
164
+ * @throws {RequiredError}
165
+ */
166
+ refreshMetadata(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any, {}, any>>;
139
167
  /**
140
168
  * Triggers a full reindexation of all documents. Runs asynchronously in the background.
141
169
  * @summary Reindex all documents
@@ -121,6 +121,35 @@ const SearchAdministrationApiAxiosParamCreator = function (configuration) {
121
121
  options: localVarRequestOptions,
122
122
  };
123
123
  }),
124
+ /**
125
+ * Rewrites the metadata fields of every indexed document from the database — no text extraction, no AI, no downtime. Runs asynchronously in the background.
126
+ * @summary Refresh index metadata
127
+ * @param {*} [options] Override http request option.
128
+ * @throws {RequiredError}
129
+ */
130
+ refreshMetadata: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
131
+ const localVarPath = `/api/v1/admin/search/refresh-metadata`;
132
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
133
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
134
+ let baseOptions;
135
+ if (configuration) {
136
+ baseOptions = configuration.baseOptions;
137
+ }
138
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
139
+ const localVarHeaderParameter = {};
140
+ const localVarQueryParameter = {};
141
+ // authentication keycloak_auth required
142
+ // http bearer authentication required
143
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
144
+ localVarHeaderParameter['Accept'] = '*/*';
145
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
146
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
147
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
148
+ return {
149
+ url: (0, common_1.toPathString)(localVarUrlObj),
150
+ options: localVarRequestOptions,
151
+ };
152
+ }),
124
153
  /**
125
154
  * Triggers a full reindexation of all documents. Runs asynchronously in the background.
126
155
  * @summary Reindex all documents
@@ -204,6 +233,21 @@ const SearchAdministrationApiFp = function (configuration) {
204
233
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
205
234
  });
206
235
  },
236
+ /**
237
+ * Rewrites the metadata fields of every indexed document from the database — no text extraction, no AI, no downtime. Runs asynchronously in the background.
238
+ * @summary Refresh index metadata
239
+ * @param {*} [options] Override http request option.
240
+ * @throws {RequiredError}
241
+ */
242
+ refreshMetadata(options) {
243
+ return __awaiter(this, void 0, void 0, function* () {
244
+ var _a, _b, _c;
245
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.refreshMetadata(options);
246
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
247
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SearchAdministrationApi.refreshMetadata']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
248
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
249
+ });
250
+ },
207
251
  /**
208
252
  * Triggers a full reindexation of all documents. Runs asynchronously in the background.
209
253
  * @summary Reindex all documents
@@ -255,6 +299,15 @@ const SearchAdministrationApiFactory = function (configuration, basePath, axios)
255
299
  getStatus(options) {
256
300
  return localVarFp.getStatus(options).then((request) => request(axios, basePath));
257
301
  },
302
+ /**
303
+ * Rewrites the metadata fields of every indexed document from the database — no text extraction, no AI, no downtime. Runs asynchronously in the background.
304
+ * @summary Refresh index metadata
305
+ * @param {*} [options] Override http request option.
306
+ * @throws {RequiredError}
307
+ */
308
+ refreshMetadata(options) {
309
+ return localVarFp.refreshMetadata(options).then((request) => request(axios, basePath));
310
+ },
258
311
  /**
259
312
  * Triggers a full reindexation of all documents. Runs asynchronously in the background.
260
313
  * @summary Reindex all documents
@@ -298,6 +351,15 @@ class SearchAdministrationApi extends base_1.BaseAPI {
298
351
  getStatus(options) {
299
352
  return (0, exports.SearchAdministrationApiFp)(this.configuration).getStatus(options).then((request) => request(this.axios, this.basePath));
300
353
  }
354
+ /**
355
+ * Rewrites the metadata fields of every indexed document from the database — no text extraction, no AI, no downtime. Runs asynchronously in the background.
356
+ * @summary Refresh index metadata
357
+ * @param {*} [options] Override http request option.
358
+ * @throws {RequiredError}
359
+ */
360
+ refreshMetadata(options) {
361
+ return (0, exports.SearchAdministrationApiFp)(this.configuration).refreshMetadata(options).then((request) => request(this.axios, this.basePath));
362
+ }
301
363
  /**
302
364
  * Triggers a full reindexation of all documents. Runs asynchronously in the background.
303
365
  * @summary Reindex all documents
@@ -0,0 +1,198 @@
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 { ReencryptRequest } from '../models';
16
+ import type { StorageEncryptionStatus } from '../models';
17
+ /**
18
+ * StorageEncryptionAdministrationApi - axios parameter creator
19
+ */
20
+ export declare const StorageEncryptionAdministrationApiAxiosParamCreator: (configuration?: Configuration) => {
21
+ /**
22
+ * One unwrap through the provider. Unlocks a locked ring when it succeeds; locks it when the provider refuses.
23
+ * @summary Prove the customer\'s KEK is usable right now
24
+ * @param {*} [options] Override http request option.
25
+ * @throws {RequiredError}
26
+ */
27
+ attest: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
28
+ /**
29
+ * 202 with the status once started; 409 while a pass is in progress (or nothing to resume).
30
+ * @summary Run the re-encryption pass in the background
31
+ * @param {ReencryptRequest} reencryptRequest
32
+ * @param {*} [options] Override http request option.
33
+ * @throws {RequiredError}
34
+ */
35
+ reencrypt: (reencryptRequest: ReencryptRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
36
+ /**
37
+ * After the customer rotated the KEK in their KMS. One wrap per master key; no object is touched.
38
+ * @summary Re-wrap every master key under the provider\'s current KEK
39
+ * @param {*} [options] Override http request option.
40
+ * @throws {RequiredError}
41
+ */
42
+ rewrap: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
43
+ /**
44
+ * New objects are wrapped with it; every older key stays readable. No object is rewritten.
45
+ * @summary Create a new active master key
46
+ * @param {*} [options] Override http request option.
47
+ * @throws {RequiredError}
48
+ */
49
+ rotateMasterKey: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
50
+ /**
51
+ *
52
+ * @summary Configuration, master key ring state and re-encryption pass progress
53
+ * @param {*} [options] Override http request option.
54
+ * @throws {RequiredError}
55
+ */
56
+ status1: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
57
+ };
58
+ /**
59
+ * StorageEncryptionAdministrationApi - functional programming interface
60
+ */
61
+ export declare const StorageEncryptionAdministrationApiFp: (configuration?: Configuration) => {
62
+ /**
63
+ * One unwrap through the provider. Unlocks a locked ring when it succeeds; locks it when the provider refuses.
64
+ * @summary Prove the customer\'s KEK is usable right now
65
+ * @param {*} [options] Override http request option.
66
+ * @throws {RequiredError}
67
+ */
68
+ attest(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<{
69
+ [key: string]: any;
70
+ }>>;
71
+ /**
72
+ * 202 with the status once started; 409 while a pass is in progress (or nothing to resume).
73
+ * @summary Run the re-encryption pass in the background
74
+ * @param {ReencryptRequest} reencryptRequest
75
+ * @param {*} [options] Override http request option.
76
+ * @throws {RequiredError}
77
+ */
78
+ reencrypt(reencryptRequest: ReencryptRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StorageEncryptionStatus>>;
79
+ /**
80
+ * After the customer rotated the KEK in their KMS. One wrap per master key; no object is touched.
81
+ * @summary Re-wrap every master key under the provider\'s current KEK
82
+ * @param {*} [options] Override http request option.
83
+ * @throws {RequiredError}
84
+ */
85
+ rewrap(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<{
86
+ [key: string]: number;
87
+ }>>;
88
+ /**
89
+ * New objects are wrapped with it; every older key stays readable. No object is rewritten.
90
+ * @summary Create a new active master key
91
+ * @param {*} [options] Override http request option.
92
+ * @throws {RequiredError}
93
+ */
94
+ rotateMasterKey(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<{
95
+ [key: string]: string;
96
+ }>>;
97
+ /**
98
+ *
99
+ * @summary Configuration, master key ring state and re-encryption pass progress
100
+ * @param {*} [options] Override http request option.
101
+ * @throws {RequiredError}
102
+ */
103
+ status1(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StorageEncryptionStatus>>;
104
+ };
105
+ /**
106
+ * StorageEncryptionAdministrationApi - factory interface
107
+ */
108
+ export declare const StorageEncryptionAdministrationApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
109
+ /**
110
+ * One unwrap through the provider. Unlocks a locked ring when it succeeds; locks it when the provider refuses.
111
+ * @summary Prove the customer\'s KEK is usable right now
112
+ * @param {*} [options] Override http request option.
113
+ * @throws {RequiredError}
114
+ */
115
+ attest(options?: RawAxiosRequestConfig): AxiosPromise<{
116
+ [key: string]: any;
117
+ }>;
118
+ /**
119
+ * 202 with the status once started; 409 while a pass is in progress (or nothing to resume).
120
+ * @summary Run the re-encryption pass in the background
121
+ * @param {ReencryptRequest} reencryptRequest
122
+ * @param {*} [options] Override http request option.
123
+ * @throws {RequiredError}
124
+ */
125
+ reencrypt(reencryptRequest: ReencryptRequest, options?: RawAxiosRequestConfig): AxiosPromise<StorageEncryptionStatus>;
126
+ /**
127
+ * After the customer rotated the KEK in their KMS. One wrap per master key; no object is touched.
128
+ * @summary Re-wrap every master key under the provider\'s current KEK
129
+ * @param {*} [options] Override http request option.
130
+ * @throws {RequiredError}
131
+ */
132
+ rewrap(options?: RawAxiosRequestConfig): AxiosPromise<{
133
+ [key: string]: number;
134
+ }>;
135
+ /**
136
+ * New objects are wrapped with it; every older key stays readable. No object is rewritten.
137
+ * @summary Create a new active master key
138
+ * @param {*} [options] Override http request option.
139
+ * @throws {RequiredError}
140
+ */
141
+ rotateMasterKey(options?: RawAxiosRequestConfig): AxiosPromise<{
142
+ [key: string]: string;
143
+ }>;
144
+ /**
145
+ *
146
+ * @summary Configuration, master key ring state and re-encryption pass progress
147
+ * @param {*} [options] Override http request option.
148
+ * @throws {RequiredError}
149
+ */
150
+ status1(options?: RawAxiosRequestConfig): AxiosPromise<StorageEncryptionStatus>;
151
+ };
152
+ /**
153
+ * StorageEncryptionAdministrationApi - object-oriented interface
154
+ */
155
+ export declare class StorageEncryptionAdministrationApi extends BaseAPI {
156
+ /**
157
+ * One unwrap through the provider. Unlocks a locked ring when it succeeds; locks it when the provider refuses.
158
+ * @summary Prove the customer\'s KEK is usable right now
159
+ * @param {*} [options] Override http request option.
160
+ * @throws {RequiredError}
161
+ */
162
+ attest(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<{
163
+ [key: string]: any;
164
+ }, any, {}, any>>;
165
+ /**
166
+ * 202 with the status once started; 409 while a pass is in progress (or nothing to resume).
167
+ * @summary Run the re-encryption pass in the background
168
+ * @param {ReencryptRequest} reencryptRequest
169
+ * @param {*} [options] Override http request option.
170
+ * @throws {RequiredError}
171
+ */
172
+ reencrypt(reencryptRequest: ReencryptRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<StorageEncryptionStatus, any, {}, any>>;
173
+ /**
174
+ * After the customer rotated the KEK in their KMS. One wrap per master key; no object is touched.
175
+ * @summary Re-wrap every master key under the provider\'s current KEK
176
+ * @param {*} [options] Override http request option.
177
+ * @throws {RequiredError}
178
+ */
179
+ rewrap(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<{
180
+ [key: string]: number;
181
+ }, any, {}, any>>;
182
+ /**
183
+ * New objects are wrapped with it; every older key stays readable. No object is rewritten.
184
+ * @summary Create a new active master key
185
+ * @param {*} [options] Override http request option.
186
+ * @throws {RequiredError}
187
+ */
188
+ rotateMasterKey(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<{
189
+ [key: string]: string;
190
+ }, any, {}, any>>;
191
+ /**
192
+ *
193
+ * @summary Configuration, master key ring state and re-encryption pass progress
194
+ * @param {*} [options] Override http request option.
195
+ * @throws {RequiredError}
196
+ */
197
+ status1(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<StorageEncryptionStatus, any, {}, any>>;
198
+ }