@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,374 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * openfilz-api
5
+ * API for Document Management System
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
15
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
16
+ return new (P || (P = Promise))(function (resolve, reject) {
17
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
18
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
19
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
20
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
21
+ });
22
+ };
23
+ import globalAxios from 'axios';
24
+ // Some imports not used depending on template conditions
25
+ // @ts-ignore
26
+ import { DUMMY_BASE_URL, assertParamExists, setBearerAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from '../common';
27
+ // @ts-ignore
28
+ import { BASE_PATH, BaseAPI, operationServerMap } from '../base';
29
+ /**
30
+ * StorageEncryptionAdministrationApi - axios parameter creator
31
+ */
32
+ export const StorageEncryptionAdministrationApiAxiosParamCreator = function (configuration) {
33
+ return {
34
+ /**
35
+ * One unwrap through the provider. Unlocks a locked ring when it succeeds; locks it when the provider refuses.
36
+ * @summary Prove the customer\'s KEK is usable right now
37
+ * @param {*} [options] Override http request option.
38
+ * @throws {RequiredError}
39
+ */
40
+ attest: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
41
+ const localVarPath = `/api/v1/admin/storage/encryption/attest`;
42
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
43
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
44
+ let baseOptions;
45
+ if (configuration) {
46
+ baseOptions = configuration.baseOptions;
47
+ }
48
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
49
+ const localVarHeaderParameter = {};
50
+ const localVarQueryParameter = {};
51
+ // authentication keycloak_auth required
52
+ // http bearer authentication required
53
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
54
+ localVarHeaderParameter['Accept'] = '*/*';
55
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
56
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
57
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
58
+ return {
59
+ url: toPathString(localVarUrlObj),
60
+ options: localVarRequestOptions,
61
+ };
62
+ }),
63
+ /**
64
+ * 202 with the status once started; 409 while a pass is in progress (or nothing to resume).
65
+ * @summary Run the re-encryption pass in the background
66
+ * @param {ReencryptRequest} reencryptRequest
67
+ * @param {*} [options] Override http request option.
68
+ * @throws {RequiredError}
69
+ */
70
+ reencrypt: (reencryptRequest_1, ...args_1) => __awaiter(this, [reencryptRequest_1, ...args_1], void 0, function* (reencryptRequest, options = {}) {
71
+ // verify required parameter 'reencryptRequest' is not null or undefined
72
+ assertParamExists('reencrypt', 'reencryptRequest', reencryptRequest);
73
+ const localVarPath = `/api/v1/admin/storage/encryption/reencrypt`;
74
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
75
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
76
+ let baseOptions;
77
+ if (configuration) {
78
+ baseOptions = configuration.baseOptions;
79
+ }
80
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
81
+ const localVarHeaderParameter = {};
82
+ const localVarQueryParameter = {};
83
+ // authentication keycloak_auth required
84
+ // http bearer authentication required
85
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
86
+ localVarHeaderParameter['Content-Type'] = 'application/json';
87
+ localVarHeaderParameter['Accept'] = '*/*';
88
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
89
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
90
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
91
+ localVarRequestOptions.data = serializeDataIfNeeded(reencryptRequest, localVarRequestOptions, configuration);
92
+ return {
93
+ url: toPathString(localVarUrlObj),
94
+ options: localVarRequestOptions,
95
+ };
96
+ }),
97
+ /**
98
+ * After the customer rotated the KEK in their KMS. One wrap per master key; no object is touched.
99
+ * @summary Re-wrap every master key under the provider\'s current KEK
100
+ * @param {*} [options] Override http request option.
101
+ * @throws {RequiredError}
102
+ */
103
+ rewrap: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
104
+ const localVarPath = `/api/v1/admin/storage/encryption/rewrap`;
105
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
106
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
107
+ let baseOptions;
108
+ if (configuration) {
109
+ baseOptions = configuration.baseOptions;
110
+ }
111
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
112
+ const localVarHeaderParameter = {};
113
+ const localVarQueryParameter = {};
114
+ // authentication keycloak_auth required
115
+ // http bearer authentication required
116
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
117
+ localVarHeaderParameter['Accept'] = '*/*';
118
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
119
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
120
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
121
+ return {
122
+ url: toPathString(localVarUrlObj),
123
+ options: localVarRequestOptions,
124
+ };
125
+ }),
126
+ /**
127
+ * New objects are wrapped with it; every older key stays readable. No object is rewritten.
128
+ * @summary Create a new active master key
129
+ * @param {*} [options] Override http request option.
130
+ * @throws {RequiredError}
131
+ */
132
+ rotateMasterKey: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
133
+ const localVarPath = `/api/v1/admin/storage/encryption/rotate-master-key`;
134
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
135
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
136
+ let baseOptions;
137
+ if (configuration) {
138
+ baseOptions = configuration.baseOptions;
139
+ }
140
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
141
+ const localVarHeaderParameter = {};
142
+ const localVarQueryParameter = {};
143
+ // authentication keycloak_auth required
144
+ // http bearer authentication required
145
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
146
+ localVarHeaderParameter['Accept'] = '*/*';
147
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
148
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
149
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
150
+ return {
151
+ url: toPathString(localVarUrlObj),
152
+ options: localVarRequestOptions,
153
+ };
154
+ }),
155
+ /**
156
+ *
157
+ * @summary Configuration, master key ring state and re-encryption pass progress
158
+ * @param {*} [options] Override http request option.
159
+ * @throws {RequiredError}
160
+ */
161
+ status1: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
162
+ const localVarPath = `/api/v1/admin/storage/encryption/status`;
163
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
164
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
165
+ let baseOptions;
166
+ if (configuration) {
167
+ baseOptions = configuration.baseOptions;
168
+ }
169
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
170
+ const localVarHeaderParameter = {};
171
+ const localVarQueryParameter = {};
172
+ // authentication keycloak_auth required
173
+ // http bearer authentication required
174
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
175
+ localVarHeaderParameter['Accept'] = '*/*';
176
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
177
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
178
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
179
+ return {
180
+ url: toPathString(localVarUrlObj),
181
+ options: localVarRequestOptions,
182
+ };
183
+ }),
184
+ };
185
+ };
186
+ /**
187
+ * StorageEncryptionAdministrationApi - functional programming interface
188
+ */
189
+ export const StorageEncryptionAdministrationApiFp = function (configuration) {
190
+ const localVarAxiosParamCreator = StorageEncryptionAdministrationApiAxiosParamCreator(configuration);
191
+ return {
192
+ /**
193
+ * One unwrap through the provider. Unlocks a locked ring when it succeeds; locks it when the provider refuses.
194
+ * @summary Prove the customer\'s KEK is usable right now
195
+ * @param {*} [options] Override http request option.
196
+ * @throws {RequiredError}
197
+ */
198
+ attest(options) {
199
+ return __awaiter(this, void 0, void 0, function* () {
200
+ var _a, _b, _c;
201
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.attest(options);
202
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
203
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['StorageEncryptionAdministrationApi.attest']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
204
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
205
+ });
206
+ },
207
+ /**
208
+ * 202 with the status once started; 409 while a pass is in progress (or nothing to resume).
209
+ * @summary Run the re-encryption pass in the background
210
+ * @param {ReencryptRequest} reencryptRequest
211
+ * @param {*} [options] Override http request option.
212
+ * @throws {RequiredError}
213
+ */
214
+ reencrypt(reencryptRequest, options) {
215
+ return __awaiter(this, void 0, void 0, function* () {
216
+ var _a, _b, _c;
217
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.reencrypt(reencryptRequest, options);
218
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
219
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['StorageEncryptionAdministrationApi.reencrypt']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
220
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
221
+ });
222
+ },
223
+ /**
224
+ * After the customer rotated the KEK in their KMS. One wrap per master key; no object is touched.
225
+ * @summary Re-wrap every master key under the provider\'s current KEK
226
+ * @param {*} [options] Override http request option.
227
+ * @throws {RequiredError}
228
+ */
229
+ rewrap(options) {
230
+ return __awaiter(this, void 0, void 0, function* () {
231
+ var _a, _b, _c;
232
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.rewrap(options);
233
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
234
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['StorageEncryptionAdministrationApi.rewrap']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
235
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
236
+ });
237
+ },
238
+ /**
239
+ * New objects are wrapped with it; every older key stays readable. No object is rewritten.
240
+ * @summary Create a new active master key
241
+ * @param {*} [options] Override http request option.
242
+ * @throws {RequiredError}
243
+ */
244
+ rotateMasterKey(options) {
245
+ return __awaiter(this, void 0, void 0, function* () {
246
+ var _a, _b, _c;
247
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.rotateMasterKey(options);
248
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
249
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['StorageEncryptionAdministrationApi.rotateMasterKey']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
250
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
251
+ });
252
+ },
253
+ /**
254
+ *
255
+ * @summary Configuration, master key ring state and re-encryption pass progress
256
+ * @param {*} [options] Override http request option.
257
+ * @throws {RequiredError}
258
+ */
259
+ status1(options) {
260
+ return __awaiter(this, void 0, void 0, function* () {
261
+ var _a, _b, _c;
262
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.status1(options);
263
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
264
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['StorageEncryptionAdministrationApi.status1']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
265
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
266
+ });
267
+ },
268
+ };
269
+ };
270
+ /**
271
+ * StorageEncryptionAdministrationApi - factory interface
272
+ */
273
+ export const StorageEncryptionAdministrationApiFactory = function (configuration, basePath, axios) {
274
+ const localVarFp = StorageEncryptionAdministrationApiFp(configuration);
275
+ return {
276
+ /**
277
+ * One unwrap through the provider. Unlocks a locked ring when it succeeds; locks it when the provider refuses.
278
+ * @summary Prove the customer\'s KEK is usable right now
279
+ * @param {*} [options] Override http request option.
280
+ * @throws {RequiredError}
281
+ */
282
+ attest(options) {
283
+ return localVarFp.attest(options).then((request) => request(axios, basePath));
284
+ },
285
+ /**
286
+ * 202 with the status once started; 409 while a pass is in progress (or nothing to resume).
287
+ * @summary Run the re-encryption pass in the background
288
+ * @param {ReencryptRequest} reencryptRequest
289
+ * @param {*} [options] Override http request option.
290
+ * @throws {RequiredError}
291
+ */
292
+ reencrypt(reencryptRequest, options) {
293
+ return localVarFp.reencrypt(reencryptRequest, options).then((request) => request(axios, basePath));
294
+ },
295
+ /**
296
+ * After the customer rotated the KEK in their KMS. One wrap per master key; no object is touched.
297
+ * @summary Re-wrap every master key under the provider\'s current KEK
298
+ * @param {*} [options] Override http request option.
299
+ * @throws {RequiredError}
300
+ */
301
+ rewrap(options) {
302
+ return localVarFp.rewrap(options).then((request) => request(axios, basePath));
303
+ },
304
+ /**
305
+ * New objects are wrapped with it; every older key stays readable. No object is rewritten.
306
+ * @summary Create a new active master key
307
+ * @param {*} [options] Override http request option.
308
+ * @throws {RequiredError}
309
+ */
310
+ rotateMasterKey(options) {
311
+ return localVarFp.rotateMasterKey(options).then((request) => request(axios, basePath));
312
+ },
313
+ /**
314
+ *
315
+ * @summary Configuration, master key ring state and re-encryption pass progress
316
+ * @param {*} [options] Override http request option.
317
+ * @throws {RequiredError}
318
+ */
319
+ status1(options) {
320
+ return localVarFp.status1(options).then((request) => request(axios, basePath));
321
+ },
322
+ };
323
+ };
324
+ /**
325
+ * StorageEncryptionAdministrationApi - object-oriented interface
326
+ */
327
+ export class StorageEncryptionAdministrationApi extends BaseAPI {
328
+ /**
329
+ * One unwrap through the provider. Unlocks a locked ring when it succeeds; locks it when the provider refuses.
330
+ * @summary Prove the customer\'s KEK is usable right now
331
+ * @param {*} [options] Override http request option.
332
+ * @throws {RequiredError}
333
+ */
334
+ attest(options) {
335
+ return StorageEncryptionAdministrationApiFp(this.configuration).attest(options).then((request) => request(this.axios, this.basePath));
336
+ }
337
+ /**
338
+ * 202 with the status once started; 409 while a pass is in progress (or nothing to resume).
339
+ * @summary Run the re-encryption pass in the background
340
+ * @param {ReencryptRequest} reencryptRequest
341
+ * @param {*} [options] Override http request option.
342
+ * @throws {RequiredError}
343
+ */
344
+ reencrypt(reencryptRequest, options) {
345
+ return StorageEncryptionAdministrationApiFp(this.configuration).reencrypt(reencryptRequest, options).then((request) => request(this.axios, this.basePath));
346
+ }
347
+ /**
348
+ * After the customer rotated the KEK in their KMS. One wrap per master key; no object is touched.
349
+ * @summary Re-wrap every master key under the provider\'s current KEK
350
+ * @param {*} [options] Override http request option.
351
+ * @throws {RequiredError}
352
+ */
353
+ rewrap(options) {
354
+ return StorageEncryptionAdministrationApiFp(this.configuration).rewrap(options).then((request) => request(this.axios, this.basePath));
355
+ }
356
+ /**
357
+ * New objects are wrapped with it; every older key stays readable. No object is rewritten.
358
+ * @summary Create a new active master key
359
+ * @param {*} [options] Override http request option.
360
+ * @throws {RequiredError}
361
+ */
362
+ rotateMasterKey(options) {
363
+ return StorageEncryptionAdministrationApiFp(this.configuration).rotateMasterKey(options).then((request) => request(this.axios, this.basePath));
364
+ }
365
+ /**
366
+ *
367
+ * @summary Configuration, master key ring state and re-encryption pass progress
368
+ * @param {*} [options] Override http request option.
369
+ * @throws {RequiredError}
370
+ */
371
+ status1(options) {
372
+ return StorageEncryptionAdministrationApiFp(this.configuration).status1(options).then((request) => request(this.axios, this.basePath));
373
+ }
374
+ }
@@ -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)