@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
package/api/workflows-api.ts
CHANGED
|
@@ -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';
|
|
@@ -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
|
+
}
|