@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.
- package/.openapi-generator/FILES +8 -0
- package/.openapi-generator/openfilz-api-generate-typescript-sdk.sha256 +1 -1
- package/README.md +12 -3
- package/api/storage-encryption-administration-api.ts +391 -0
- package/api/workflows-api.ts +100 -11
- package/api.ts +1 -0
- package/dist/api/storage-encryption-administration-api.d.ts +198 -0
- package/dist/api/storage-encryption-administration-api.js +381 -0
- package/dist/api/workflows-api.d.ts +48 -8
- package/dist/api/workflows-api.js +94 -11
- package/dist/api.d.ts +1 -0
- package/dist/api.js +1 -0
- package/dist/esm/api/storage-encryption-administration-api.d.ts +198 -0
- package/dist/esm/api/storage-encryption-administration-api.js +374 -0
- package/dist/esm/api/workflows-api.d.ts +48 -8
- package/dist/esm/api/workflows-api.js +94 -11
- package/dist/esm/api.d.ts +1 -0
- package/dist/esm/api.js +1 -0
- package/dist/esm/models/index.d.ts +3 -0
- package/dist/esm/models/index.js +3 -0
- package/dist/esm/models/job-status.d.ts +29 -0
- package/dist/esm/models/job-status.js +18 -0
- package/dist/esm/models/reencrypt-request.d.ts +31 -0
- package/dist/esm/models/reencrypt-request.js +18 -0
- package/dist/esm/models/storage-encryption-status.d.ts +36 -0
- package/dist/esm/models/storage-encryption-status.js +14 -0
- package/dist/models/index.d.ts +3 -0
- package/dist/models/index.js +3 -0
- package/dist/models/job-status.d.ts +29 -0
- package/dist/models/job-status.js +21 -0
- package/dist/models/reencrypt-request.d.ts +31 -0
- package/dist/models/reencrypt-request.js +21 -0
- package/dist/models/storage-encryption-status.d.ts +36 -0
- package/dist/models/storage-encryption-status.js +15 -0
- package/docs/JobStatus.md +38 -0
- package/docs/ReencryptRequest.md +24 -0
- package/docs/StorageEncryptionAdministrationApi.md +239 -0
- package/docs/StorageEncryptionStatus.md +45 -0
- package/docs/WorkflowsApi.md +60 -2
- package/graphql/document.graphqls +6 -0
- package/models/index.ts +3 -0
- package/models/job-status.ts +38 -0
- package/models/reencrypt-request.ts +40 -0
- package/models/storage-encryption-status.ts +44 -0
- package/package.json +1 -1
|
@@ -242,12 +242,13 @@ const WorkflowsApiAxiosParamCreator = function (configuration) {
|
|
|
242
242
|
}),
|
|
243
243
|
/**
|
|
244
244
|
*
|
|
245
|
-
* @summary List workflow definitions
|
|
245
|
+
* @summary List the workflow definitions the caller may see (mine = created by the caller)
|
|
246
246
|
* @param {boolean} [active]
|
|
247
|
+
* @param {boolean} [mine]
|
|
247
248
|
* @param {*} [options] Override http request option.
|
|
248
249
|
* @throws {RequiredError}
|
|
249
250
|
*/
|
|
250
|
-
listDefinitions: (active_1, ...args_1) => __awaiter(this, [active_1, ...args_1], void 0, function* (active, options = {}) {
|
|
251
|
+
listDefinitions: (active_1, mine_1, ...args_1) => __awaiter(this, [active_1, mine_1, ...args_1], void 0, function* (active, mine, options = {}) {
|
|
251
252
|
const localVarPath = `/api/v1/workflows/definitions`;
|
|
252
253
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
253
254
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -264,6 +265,9 @@ const WorkflowsApiAxiosParamCreator = function (configuration) {
|
|
|
264
265
|
if (active !== undefined) {
|
|
265
266
|
localVarQueryParameter['active'] = active;
|
|
266
267
|
}
|
|
268
|
+
if (mine !== undefined) {
|
|
269
|
+
localVarQueryParameter['mine'] = mine;
|
|
270
|
+
}
|
|
267
271
|
localVarHeaderParameter['Accept'] = 'application/json';
|
|
268
272
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
269
273
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -493,6 +497,43 @@ const WorkflowsApiAxiosParamCreator = function (configuration) {
|
|
|
493
497
|
options: localVarRequestOptions,
|
|
494
498
|
};
|
|
495
499
|
}),
|
|
500
|
+
/**
|
|
501
|
+
* 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.
|
|
502
|
+
* @summary Workflow definitions authored by the caller\'s teammates
|
|
503
|
+
* @param {string} [teamId]
|
|
504
|
+
* @param {boolean} [active]
|
|
505
|
+
* @param {*} [options] Override http request option.
|
|
506
|
+
* @throws {RequiredError}
|
|
507
|
+
*/
|
|
508
|
+
teamDefinitions: (teamId_1, active_1, ...args_1) => __awaiter(this, [teamId_1, active_1, ...args_1], void 0, function* (teamId, active, options = {}) {
|
|
509
|
+
const localVarPath = `/api/v1/workflows/team-definitions`;
|
|
510
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
511
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
512
|
+
let baseOptions;
|
|
513
|
+
if (configuration) {
|
|
514
|
+
baseOptions = configuration.baseOptions;
|
|
515
|
+
}
|
|
516
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
517
|
+
const localVarHeaderParameter = {};
|
|
518
|
+
const localVarQueryParameter = {};
|
|
519
|
+
// authentication keycloak_auth required
|
|
520
|
+
// http bearer authentication required
|
|
521
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
522
|
+
if (teamId !== undefined) {
|
|
523
|
+
localVarQueryParameter['teamId'] = teamId;
|
|
524
|
+
}
|
|
525
|
+
if (active !== undefined) {
|
|
526
|
+
localVarQueryParameter['active'] = active;
|
|
527
|
+
}
|
|
528
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
529
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
530
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
531
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
532
|
+
return {
|
|
533
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
534
|
+
options: localVarRequestOptions,
|
|
535
|
+
};
|
|
536
|
+
}),
|
|
496
537
|
/**
|
|
497
538
|
*
|
|
498
539
|
* @summary Update a workflow definition (running instances keep their snapshot)
|
|
@@ -674,15 +715,16 @@ const WorkflowsApiFp = function (configuration) {
|
|
|
674
715
|
},
|
|
675
716
|
/**
|
|
676
717
|
*
|
|
677
|
-
* @summary List workflow definitions
|
|
718
|
+
* @summary List the workflow definitions the caller may see (mine = created by the caller)
|
|
678
719
|
* @param {boolean} [active]
|
|
720
|
+
* @param {boolean} [mine]
|
|
679
721
|
* @param {*} [options] Override http request option.
|
|
680
722
|
* @throws {RequiredError}
|
|
681
723
|
*/
|
|
682
|
-
listDefinitions(active, options) {
|
|
724
|
+
listDefinitions(active, mine, options) {
|
|
683
725
|
return __awaiter(this, void 0, void 0, function* () {
|
|
684
726
|
var _a, _b, _c;
|
|
685
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.listDefinitions(active, options);
|
|
727
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listDefinitions(active, mine, options);
|
|
686
728
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
687
729
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['WorkflowsApi.listDefinitions']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
688
730
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -789,6 +831,23 @@ const WorkflowsApiFp = function (configuration) {
|
|
|
789
831
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
790
832
|
});
|
|
791
833
|
},
|
|
834
|
+
/**
|
|
835
|
+
* 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.
|
|
836
|
+
* @summary Workflow definitions authored by the caller\'s teammates
|
|
837
|
+
* @param {string} [teamId]
|
|
838
|
+
* @param {boolean} [active]
|
|
839
|
+
* @param {*} [options] Override http request option.
|
|
840
|
+
* @throws {RequiredError}
|
|
841
|
+
*/
|
|
842
|
+
teamDefinitions(teamId, active, options) {
|
|
843
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
844
|
+
var _a, _b, _c;
|
|
845
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.teamDefinitions(teamId, active, options);
|
|
846
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
847
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['WorkflowsApi.teamDefinitions']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
848
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
849
|
+
});
|
|
850
|
+
},
|
|
792
851
|
/**
|
|
793
852
|
*
|
|
794
853
|
* @summary Update a workflow definition (running instances keep their snapshot)
|
|
@@ -895,13 +954,14 @@ const WorkflowsApiFactory = function (configuration, basePath, axios) {
|
|
|
895
954
|
},
|
|
896
955
|
/**
|
|
897
956
|
*
|
|
898
|
-
* @summary List workflow definitions
|
|
957
|
+
* @summary List the workflow definitions the caller may see (mine = created by the caller)
|
|
899
958
|
* @param {boolean} [active]
|
|
959
|
+
* @param {boolean} [mine]
|
|
900
960
|
* @param {*} [options] Override http request option.
|
|
901
961
|
* @throws {RequiredError}
|
|
902
962
|
*/
|
|
903
|
-
listDefinitions(active, options) {
|
|
904
|
-
return localVarFp.listDefinitions(active, options).then((request) => request(axios, basePath));
|
|
963
|
+
listDefinitions(active, mine, options) {
|
|
964
|
+
return localVarFp.listDefinitions(active, mine, options).then((request) => request(axios, basePath));
|
|
905
965
|
},
|
|
906
966
|
/**
|
|
907
967
|
*
|
|
@@ -968,6 +1028,17 @@ const WorkflowsApiFactory = function (configuration, basePath, axios) {
|
|
|
968
1028
|
summary(options) {
|
|
969
1029
|
return localVarFp.summary(options).then((request) => request(axios, basePath));
|
|
970
1030
|
},
|
|
1031
|
+
/**
|
|
1032
|
+
* 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.
|
|
1033
|
+
* @summary Workflow definitions authored by the caller\'s teammates
|
|
1034
|
+
* @param {string} [teamId]
|
|
1035
|
+
* @param {boolean} [active]
|
|
1036
|
+
* @param {*} [options] Override http request option.
|
|
1037
|
+
* @throws {RequiredError}
|
|
1038
|
+
*/
|
|
1039
|
+
teamDefinitions(teamId, active, options) {
|
|
1040
|
+
return localVarFp.teamDefinitions(teamId, active, options).then((request) => request(axios, basePath));
|
|
1041
|
+
},
|
|
971
1042
|
/**
|
|
972
1043
|
*
|
|
973
1044
|
* @summary Update a workflow definition (running instances keep their snapshot)
|
|
@@ -1060,13 +1131,14 @@ class WorkflowsApi extends base_1.BaseAPI {
|
|
|
1060
1131
|
}
|
|
1061
1132
|
/**
|
|
1062
1133
|
*
|
|
1063
|
-
* @summary List workflow definitions
|
|
1134
|
+
* @summary List the workflow definitions the caller may see (mine = created by the caller)
|
|
1064
1135
|
* @param {boolean} [active]
|
|
1136
|
+
* @param {boolean} [mine]
|
|
1065
1137
|
* @param {*} [options] Override http request option.
|
|
1066
1138
|
* @throws {RequiredError}
|
|
1067
1139
|
*/
|
|
1068
|
-
listDefinitions(active, options) {
|
|
1069
|
-
return (0, exports.WorkflowsApiFp)(this.configuration).listDefinitions(active, options).then((request) => request(this.axios, this.basePath));
|
|
1140
|
+
listDefinitions(active, mine, options) {
|
|
1141
|
+
return (0, exports.WorkflowsApiFp)(this.configuration).listDefinitions(active, mine, options).then((request) => request(this.axios, this.basePath));
|
|
1070
1142
|
}
|
|
1071
1143
|
/**
|
|
1072
1144
|
*
|
|
@@ -1133,6 +1205,17 @@ class WorkflowsApi extends base_1.BaseAPI {
|
|
|
1133
1205
|
summary(options) {
|
|
1134
1206
|
return (0, exports.WorkflowsApiFp)(this.configuration).summary(options).then((request) => request(this.axios, this.basePath));
|
|
1135
1207
|
}
|
|
1208
|
+
/**
|
|
1209
|
+
* 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.
|
|
1210
|
+
* @summary Workflow definitions authored by the caller\'s teammates
|
|
1211
|
+
* @param {string} [teamId]
|
|
1212
|
+
* @param {boolean} [active]
|
|
1213
|
+
* @param {*} [options] Override http request option.
|
|
1214
|
+
* @throws {RequiredError}
|
|
1215
|
+
*/
|
|
1216
|
+
teamDefinitions(teamId, active, options) {
|
|
1217
|
+
return (0, exports.WorkflowsApiFp)(this.configuration).teamDefinitions(teamId, active, options).then((request) => request(this.axios, this.basePath));
|
|
1218
|
+
}
|
|
1136
1219
|
/**
|
|
1137
1220
|
*
|
|
1138
1221
|
* @summary Update a workflow definition (running instances keep their snapshot)
|
package/dist/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/api.js
CHANGED
|
@@ -68,6 +68,7 @@ __exportStar(require("./api/scanner-proxy-api"), exports);
|
|
|
68
68
|
__exportStar(require("./api/search-administration-api"), exports);
|
|
69
69
|
__exportStar(require("./api/settings-api"), exports);
|
|
70
70
|
__exportStar(require("./api/smart-filing-api"), exports);
|
|
71
|
+
__exportStar(require("./api/storage-encryption-administration-api"), exports);
|
|
71
72
|
__exportStar(require("./api/tus-controller-api"), exports);
|
|
72
73
|
__exportStar(require("./api/upload-token-controller-api"), exports);
|
|
73
74
|
__exportStar(require("./api/user-privacy-api"), exports);
|
|
@@ -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
|
+
}
|