@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
@@ -0,0 +1,381 @@
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
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
16
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
17
+ return new (P || (P = Promise))(function (resolve, reject) {
18
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
19
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
20
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
21
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
22
+ });
23
+ };
24
+ Object.defineProperty(exports, "__esModule", { value: true });
25
+ exports.StorageEncryptionAdministrationApi = exports.StorageEncryptionAdministrationApiFactory = exports.StorageEncryptionAdministrationApiFp = exports.StorageEncryptionAdministrationApiAxiosParamCreator = void 0;
26
+ const axios_1 = require("axios");
27
+ // Some imports not used depending on template conditions
28
+ // @ts-ignore
29
+ const common_1 = require("../common");
30
+ // @ts-ignore
31
+ const base_1 = require("../base");
32
+ /**
33
+ * StorageEncryptionAdministrationApi - axios parameter creator
34
+ */
35
+ const StorageEncryptionAdministrationApiAxiosParamCreator = function (configuration) {
36
+ return {
37
+ /**
38
+ * One unwrap through the provider. Unlocks a locked ring when it succeeds; locks it when the provider refuses.
39
+ * @summary Prove the customer\'s KEK is usable right now
40
+ * @param {*} [options] Override http request option.
41
+ * @throws {RequiredError}
42
+ */
43
+ attest: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
44
+ const localVarPath = `/api/v1/admin/storage/encryption/attest`;
45
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
46
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
47
+ let baseOptions;
48
+ if (configuration) {
49
+ baseOptions = configuration.baseOptions;
50
+ }
51
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
52
+ const localVarHeaderParameter = {};
53
+ const localVarQueryParameter = {};
54
+ // authentication keycloak_auth required
55
+ // http bearer authentication required
56
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
57
+ localVarHeaderParameter['Accept'] = '*/*';
58
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
59
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
60
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
61
+ return {
62
+ url: (0, common_1.toPathString)(localVarUrlObj),
63
+ options: localVarRequestOptions,
64
+ };
65
+ }),
66
+ /**
67
+ * 202 with the status once started; 409 while a pass is in progress (or nothing to resume).
68
+ * @summary Run the re-encryption pass in the background
69
+ * @param {ReencryptRequest} reencryptRequest
70
+ * @param {*} [options] Override http request option.
71
+ * @throws {RequiredError}
72
+ */
73
+ reencrypt: (reencryptRequest_1, ...args_1) => __awaiter(this, [reencryptRequest_1, ...args_1], void 0, function* (reencryptRequest, options = {}) {
74
+ // verify required parameter 'reencryptRequest' is not null or undefined
75
+ (0, common_1.assertParamExists)('reencrypt', 'reencryptRequest', reencryptRequest);
76
+ const localVarPath = `/api/v1/admin/storage/encryption/reencrypt`;
77
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
78
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
79
+ let baseOptions;
80
+ if (configuration) {
81
+ baseOptions = configuration.baseOptions;
82
+ }
83
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
84
+ const localVarHeaderParameter = {};
85
+ const localVarQueryParameter = {};
86
+ // authentication keycloak_auth required
87
+ // http bearer authentication required
88
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
89
+ localVarHeaderParameter['Content-Type'] = 'application/json';
90
+ localVarHeaderParameter['Accept'] = '*/*';
91
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
92
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
93
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
94
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(reencryptRequest, localVarRequestOptions, configuration);
95
+ return {
96
+ url: (0, common_1.toPathString)(localVarUrlObj),
97
+ options: localVarRequestOptions,
98
+ };
99
+ }),
100
+ /**
101
+ * After the customer rotated the KEK in their KMS. One wrap per master key; no object is touched.
102
+ * @summary Re-wrap every master key under the provider\'s current KEK
103
+ * @param {*} [options] Override http request option.
104
+ * @throws {RequiredError}
105
+ */
106
+ rewrap: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
107
+ const localVarPath = `/api/v1/admin/storage/encryption/rewrap`;
108
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
109
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
110
+ let baseOptions;
111
+ if (configuration) {
112
+ baseOptions = configuration.baseOptions;
113
+ }
114
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
115
+ const localVarHeaderParameter = {};
116
+ const localVarQueryParameter = {};
117
+ // authentication keycloak_auth required
118
+ // http bearer authentication required
119
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
120
+ localVarHeaderParameter['Accept'] = '*/*';
121
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
122
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
123
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
124
+ return {
125
+ url: (0, common_1.toPathString)(localVarUrlObj),
126
+ options: localVarRequestOptions,
127
+ };
128
+ }),
129
+ /**
130
+ * New objects are wrapped with it; every older key stays readable. No object is rewritten.
131
+ * @summary Create a new active master key
132
+ * @param {*} [options] Override http request option.
133
+ * @throws {RequiredError}
134
+ */
135
+ rotateMasterKey: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
136
+ const localVarPath = `/api/v1/admin/storage/encryption/rotate-master-key`;
137
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
138
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
139
+ let baseOptions;
140
+ if (configuration) {
141
+ baseOptions = configuration.baseOptions;
142
+ }
143
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
144
+ const localVarHeaderParameter = {};
145
+ const localVarQueryParameter = {};
146
+ // authentication keycloak_auth required
147
+ // http bearer authentication required
148
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
149
+ localVarHeaderParameter['Accept'] = '*/*';
150
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
151
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
152
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
153
+ return {
154
+ url: (0, common_1.toPathString)(localVarUrlObj),
155
+ options: localVarRequestOptions,
156
+ };
157
+ }),
158
+ /**
159
+ *
160
+ * @summary Configuration, master key ring state and re-encryption pass progress
161
+ * @param {*} [options] Override http request option.
162
+ * @throws {RequiredError}
163
+ */
164
+ status1: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
165
+ const localVarPath = `/api/v1/admin/storage/encryption/status`;
166
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
167
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
168
+ let baseOptions;
169
+ if (configuration) {
170
+ baseOptions = configuration.baseOptions;
171
+ }
172
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
173
+ const localVarHeaderParameter = {};
174
+ const localVarQueryParameter = {};
175
+ // authentication keycloak_auth required
176
+ // http bearer authentication required
177
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
178
+ localVarHeaderParameter['Accept'] = '*/*';
179
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
180
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
181
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
182
+ return {
183
+ url: (0, common_1.toPathString)(localVarUrlObj),
184
+ options: localVarRequestOptions,
185
+ };
186
+ }),
187
+ };
188
+ };
189
+ exports.StorageEncryptionAdministrationApiAxiosParamCreator = StorageEncryptionAdministrationApiAxiosParamCreator;
190
+ /**
191
+ * StorageEncryptionAdministrationApi - functional programming interface
192
+ */
193
+ const StorageEncryptionAdministrationApiFp = function (configuration) {
194
+ const localVarAxiosParamCreator = (0, exports.StorageEncryptionAdministrationApiAxiosParamCreator)(configuration);
195
+ return {
196
+ /**
197
+ * One unwrap through the provider. Unlocks a locked ring when it succeeds; locks it when the provider refuses.
198
+ * @summary Prove the customer\'s KEK is usable right now
199
+ * @param {*} [options] Override http request option.
200
+ * @throws {RequiredError}
201
+ */
202
+ attest(options) {
203
+ return __awaiter(this, void 0, void 0, function* () {
204
+ var _a, _b, _c;
205
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.attest(options);
206
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
207
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['StorageEncryptionAdministrationApi.attest']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
208
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
209
+ });
210
+ },
211
+ /**
212
+ * 202 with the status once started; 409 while a pass is in progress (or nothing to resume).
213
+ * @summary Run the re-encryption pass in the background
214
+ * @param {ReencryptRequest} reencryptRequest
215
+ * @param {*} [options] Override http request option.
216
+ * @throws {RequiredError}
217
+ */
218
+ reencrypt(reencryptRequest, options) {
219
+ return __awaiter(this, void 0, void 0, function* () {
220
+ var _a, _b, _c;
221
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.reencrypt(reencryptRequest, options);
222
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
223
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['StorageEncryptionAdministrationApi.reencrypt']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
224
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
225
+ });
226
+ },
227
+ /**
228
+ * After the customer rotated the KEK in their KMS. One wrap per master key; no object is touched.
229
+ * @summary Re-wrap every master key under the provider\'s current KEK
230
+ * @param {*} [options] Override http request option.
231
+ * @throws {RequiredError}
232
+ */
233
+ rewrap(options) {
234
+ return __awaiter(this, void 0, void 0, function* () {
235
+ var _a, _b, _c;
236
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.rewrap(options);
237
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
238
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['StorageEncryptionAdministrationApi.rewrap']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
239
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
240
+ });
241
+ },
242
+ /**
243
+ * New objects are wrapped with it; every older key stays readable. No object is rewritten.
244
+ * @summary Create a new active master key
245
+ * @param {*} [options] Override http request option.
246
+ * @throws {RequiredError}
247
+ */
248
+ rotateMasterKey(options) {
249
+ return __awaiter(this, void 0, void 0, function* () {
250
+ var _a, _b, _c;
251
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.rotateMasterKey(options);
252
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
253
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['StorageEncryptionAdministrationApi.rotateMasterKey']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
254
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
255
+ });
256
+ },
257
+ /**
258
+ *
259
+ * @summary Configuration, master key ring state and re-encryption pass progress
260
+ * @param {*} [options] Override http request option.
261
+ * @throws {RequiredError}
262
+ */
263
+ status1(options) {
264
+ return __awaiter(this, void 0, void 0, function* () {
265
+ var _a, _b, _c;
266
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.status1(options);
267
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
268
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['StorageEncryptionAdministrationApi.status1']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
269
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
270
+ });
271
+ },
272
+ };
273
+ };
274
+ exports.StorageEncryptionAdministrationApiFp = StorageEncryptionAdministrationApiFp;
275
+ /**
276
+ * StorageEncryptionAdministrationApi - factory interface
277
+ */
278
+ const StorageEncryptionAdministrationApiFactory = function (configuration, basePath, axios) {
279
+ const localVarFp = (0, exports.StorageEncryptionAdministrationApiFp)(configuration);
280
+ return {
281
+ /**
282
+ * One unwrap through the provider. Unlocks a locked ring when it succeeds; locks it when the provider refuses.
283
+ * @summary Prove the customer\'s KEK is usable right now
284
+ * @param {*} [options] Override http request option.
285
+ * @throws {RequiredError}
286
+ */
287
+ attest(options) {
288
+ return localVarFp.attest(options).then((request) => request(axios, basePath));
289
+ },
290
+ /**
291
+ * 202 with the status once started; 409 while a pass is in progress (or nothing to resume).
292
+ * @summary Run the re-encryption pass in the background
293
+ * @param {ReencryptRequest} reencryptRequest
294
+ * @param {*} [options] Override http request option.
295
+ * @throws {RequiredError}
296
+ */
297
+ reencrypt(reencryptRequest, options) {
298
+ return localVarFp.reencrypt(reencryptRequest, options).then((request) => request(axios, basePath));
299
+ },
300
+ /**
301
+ * After the customer rotated the KEK in their KMS. One wrap per master key; no object is touched.
302
+ * @summary Re-wrap every master key under the provider\'s current KEK
303
+ * @param {*} [options] Override http request option.
304
+ * @throws {RequiredError}
305
+ */
306
+ rewrap(options) {
307
+ return localVarFp.rewrap(options).then((request) => request(axios, basePath));
308
+ },
309
+ /**
310
+ * New objects are wrapped with it; every older key stays readable. No object is rewritten.
311
+ * @summary Create a new active master key
312
+ * @param {*} [options] Override http request option.
313
+ * @throws {RequiredError}
314
+ */
315
+ rotateMasterKey(options) {
316
+ return localVarFp.rotateMasterKey(options).then((request) => request(axios, basePath));
317
+ },
318
+ /**
319
+ *
320
+ * @summary Configuration, master key ring state and re-encryption pass progress
321
+ * @param {*} [options] Override http request option.
322
+ * @throws {RequiredError}
323
+ */
324
+ status1(options) {
325
+ return localVarFp.status1(options).then((request) => request(axios, basePath));
326
+ },
327
+ };
328
+ };
329
+ exports.StorageEncryptionAdministrationApiFactory = StorageEncryptionAdministrationApiFactory;
330
+ /**
331
+ * StorageEncryptionAdministrationApi - object-oriented interface
332
+ */
333
+ class StorageEncryptionAdministrationApi extends base_1.BaseAPI {
334
+ /**
335
+ * One unwrap through the provider. Unlocks a locked ring when it succeeds; locks it when the provider refuses.
336
+ * @summary Prove the customer\'s KEK is usable right now
337
+ * @param {*} [options] Override http request option.
338
+ * @throws {RequiredError}
339
+ */
340
+ attest(options) {
341
+ return (0, exports.StorageEncryptionAdministrationApiFp)(this.configuration).attest(options).then((request) => request(this.axios, this.basePath));
342
+ }
343
+ /**
344
+ * 202 with the status once started; 409 while a pass is in progress (or nothing to resume).
345
+ * @summary Run the re-encryption pass in the background
346
+ * @param {ReencryptRequest} reencryptRequest
347
+ * @param {*} [options] Override http request option.
348
+ * @throws {RequiredError}
349
+ */
350
+ reencrypt(reencryptRequest, options) {
351
+ return (0, exports.StorageEncryptionAdministrationApiFp)(this.configuration).reencrypt(reencryptRequest, options).then((request) => request(this.axios, this.basePath));
352
+ }
353
+ /**
354
+ * After the customer rotated the KEK in their KMS. One wrap per master key; no object is touched.
355
+ * @summary Re-wrap every master key under the provider\'s current KEK
356
+ * @param {*} [options] Override http request option.
357
+ * @throws {RequiredError}
358
+ */
359
+ rewrap(options) {
360
+ return (0, exports.StorageEncryptionAdministrationApiFp)(this.configuration).rewrap(options).then((request) => request(this.axios, this.basePath));
361
+ }
362
+ /**
363
+ * New objects are wrapped with it; every older key stays readable. No object is rewritten.
364
+ * @summary Create a new active master key
365
+ * @param {*} [options] Override http request option.
366
+ * @throws {RequiredError}
367
+ */
368
+ rotateMasterKey(options) {
369
+ return (0, exports.StorageEncryptionAdministrationApiFp)(this.configuration).rotateMasterKey(options).then((request) => request(this.axios, this.basePath));
370
+ }
371
+ /**
372
+ *
373
+ * @summary Configuration, master key ring state and re-encryption pass progress
374
+ * @param {*} [options] Override http request option.
375
+ * @throws {RequiredError}
376
+ */
377
+ status1(options) {
378
+ return (0, exports.StorageEncryptionAdministrationApiFp)(this.configuration).status1(options).then((request) => request(this.axios, this.basePath));
379
+ }
380
+ }
381
+ exports.StorageEncryptionAdministrationApi = StorageEncryptionAdministrationApi;
@@ -81,12 +81,13 @@ export declare const WorkflowsApiAxiosParamCreator: (configuration?: Configurati
81
81
  getInstance: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
82
82
  /**
83
83
  *
84
- * @summary List workflow definitions
84
+ * @summary List the workflow definitions the caller may see (mine = created by the caller)
85
85
  * @param {boolean} [active]
86
+ * @param {boolean} [mine]
86
87
  * @param {*} [options] Override http request option.
87
88
  * @throws {RequiredError}
88
89
  */
89
- listDefinitions: (active?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
90
+ listDefinitions: (active?: boolean, mine?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
90
91
  /**
91
92
  *
92
93
  * @summary List instances (monitor), newest first
@@ -140,6 +141,15 @@ export declare const WorkflowsApiAxiosParamCreator: (configuration?: Configurati
140
141
  * @throws {RequiredError}
141
142
  */
142
143
  summary: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
144
+ /**
145
+ * 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.
146
+ * @summary Workflow definitions authored by the caller\'s teammates
147
+ * @param {string} [teamId]
148
+ * @param {boolean} [active]
149
+ * @param {*} [options] Override http request option.
150
+ * @throws {RequiredError}
151
+ */
152
+ teamDefinitions: (teamId?: string, active?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
143
153
  /**
144
154
  *
145
155
  * @summary Update a workflow definition (running instances keep their snapshot)
@@ -214,12 +224,13 @@ export declare const WorkflowsApiFp: (configuration?: Configuration) => {
214
224
  getInstance(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WorkflowInstanceDetailDTO>>;
215
225
  /**
216
226
  *
217
- * @summary List workflow definitions
227
+ * @summary List the workflow definitions the caller may see (mine = created by the caller)
218
228
  * @param {boolean} [active]
229
+ * @param {boolean} [mine]
219
230
  * @param {*} [options] Override http request option.
220
231
  * @throws {RequiredError}
221
232
  */
222
- listDefinitions(active?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<WorkflowDefinitionDTO>>>;
233
+ listDefinitions(active?: boolean, mine?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<WorkflowDefinitionDTO>>>;
223
234
  /**
224
235
  *
225
236
  * @summary List instances (monitor), newest first
@@ -273,6 +284,15 @@ export declare const WorkflowsApiFp: (configuration?: Configuration) => {
273
284
  * @throws {RequiredError}
274
285
  */
275
286
  summary(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WorkflowSummaryDTO>>;
287
+ /**
288
+ * 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.
289
+ * @summary Workflow definitions authored by the caller\'s teammates
290
+ * @param {string} [teamId]
291
+ * @param {boolean} [active]
292
+ * @param {*} [options] Override http request option.
293
+ * @throws {RequiredError}
294
+ */
295
+ teamDefinitions(teamId?: string, active?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<WorkflowDefinitionDTO>>>;
276
296
  /**
277
297
  *
278
298
  * @summary Update a workflow definition (running instances keep their snapshot)
@@ -347,12 +367,13 @@ export declare const WorkflowsApiFactory: (configuration?: Configuration, basePa
347
367
  getInstance(id: string, options?: RawAxiosRequestConfig): AxiosPromise<WorkflowInstanceDetailDTO>;
348
368
  /**
349
369
  *
350
- * @summary List workflow definitions
370
+ * @summary List the workflow definitions the caller may see (mine = created by the caller)
351
371
  * @param {boolean} [active]
372
+ * @param {boolean} [mine]
352
373
  * @param {*} [options] Override http request option.
353
374
  * @throws {RequiredError}
354
375
  */
355
- listDefinitions(active?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<Array<WorkflowDefinitionDTO>>;
376
+ listDefinitions(active?: boolean, mine?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<Array<WorkflowDefinitionDTO>>;
356
377
  /**
357
378
  *
358
379
  * @summary List instances (monitor), newest first
@@ -406,6 +427,15 @@ export declare const WorkflowsApiFactory: (configuration?: Configuration, basePa
406
427
  * @throws {RequiredError}
407
428
  */
408
429
  summary(options?: RawAxiosRequestConfig): AxiosPromise<WorkflowSummaryDTO>;
430
+ /**
431
+ * 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.
432
+ * @summary Workflow definitions authored by the caller\'s teammates
433
+ * @param {string} [teamId]
434
+ * @param {boolean} [active]
435
+ * @param {*} [options] Override http request option.
436
+ * @throws {RequiredError}
437
+ */
438
+ teamDefinitions(teamId?: string, active?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<Array<WorkflowDefinitionDTO>>;
409
439
  /**
410
440
  *
411
441
  * @summary Update a workflow definition (running instances keep their snapshot)
@@ -480,12 +510,13 @@ export declare class WorkflowsApi extends BaseAPI {
480
510
  getInstance(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WorkflowInstanceDetailDTO, any, {}, any>>;
481
511
  /**
482
512
  *
483
- * @summary List workflow definitions
513
+ * @summary List the workflow definitions the caller may see (mine = created by the caller)
484
514
  * @param {boolean} [active]
515
+ * @param {boolean} [mine]
485
516
  * @param {*} [options] Override http request option.
486
517
  * @throws {RequiredError}
487
518
  */
488
- listDefinitions(active?: boolean, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WorkflowDefinitionDTO[], any, {}, any>>;
519
+ listDefinitions(active?: boolean, mine?: boolean, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WorkflowDefinitionDTO[], any, {}, any>>;
489
520
  /**
490
521
  *
491
522
  * @summary List instances (monitor), newest first
@@ -539,6 +570,15 @@ export declare class WorkflowsApi extends BaseAPI {
539
570
  * @throws {RequiredError}
540
571
  */
541
572
  summary(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WorkflowSummaryDTO, any, {}, any>>;
573
+ /**
574
+ * 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.
575
+ * @summary Workflow definitions authored by the caller\'s teammates
576
+ * @param {string} [teamId]
577
+ * @param {boolean} [active]
578
+ * @param {*} [options] Override http request option.
579
+ * @throws {RequiredError}
580
+ */
581
+ teamDefinitions(teamId?: string, active?: boolean, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WorkflowDefinitionDTO[], any, {}, any>>;
542
582
  /**
543
583
  *
544
584
  * @summary Update a workflow definition (running instances keep their snapshot)