@cosmotech/api-ts 5.1.0 → 5.3.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/.github/workflows/publish.yaml +2 -2
- package/.openapi-generator/FILES +19 -0
- package/.openapi-generator/VERSION +1 -1
- package/README.md +27 -2
- package/api.ts +839 -16
- package/base.ts +1 -1
- package/common.ts +3 -3
- package/configuration.ts +2 -1
- package/dist/api.d.ts +620 -102
- package/dist/api.js +715 -5
- package/dist/base.d.ts +1 -1
- package/dist/base.js +1 -1
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +2 -2
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/docs/DatasetApi.md +59 -0
- package/docs/DatasetMemberGroup.md +25 -0
- package/docs/DatasetMemberUser.md +23 -0
- package/docs/DatasetMembers.md +23 -0
- package/docs/IAMInfoApi.md +95 -0
- package/docs/MemberGroup.md +25 -0
- package/docs/MemberUser.md +23 -0
- package/docs/Members.md +23 -0
- package/docs/OrganizationApi.md +52 -0
- package/docs/OrganizationMemberGroup.md +25 -0
- package/docs/OrganizationMemberUser.md +23 -0
- package/docs/OrganizationMembers.md +23 -0
- package/docs/RunnerApi.md +59 -0
- package/docs/RunnerMemberGroup.md +25 -0
- package/docs/RunnerMemberUser.md +23 -0
- package/docs/RunnerMembers.md +23 -0
- package/docs/SolutionApi.md +56 -0
- package/docs/SolutionMemberGroup.md +25 -0
- package/docs/SolutionMemberUser.md +23 -0
- package/docs/SolutionMembers.md +23 -0
- package/docs/WorkspaceApi.md +56 -0
- package/docs/WorkspaceMemberGroup.md +25 -0
- package/docs/WorkspaceMemberUser.md +23 -0
- package/docs/WorkspaceMembers.md +23 -0
- package/git_push.sh +14 -17
- package/index.ts +1 -1
- package/package.json +3 -3
package/api.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Cosmo Tech Platform API
|
|
5
5
|
* Cosmo Tech Platform API
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 5.
|
|
7
|
+
* The version of the OpenAPI document: 5.3.0
|
|
8
8
|
* Contact: platform@cosmotech.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -169,6 +169,49 @@ export interface DatasetEditInfo {
|
|
|
169
169
|
*/
|
|
170
170
|
'userId': string;
|
|
171
171
|
}
|
|
172
|
+
/**
|
|
173
|
+
* A group member of the dataset
|
|
174
|
+
*/
|
|
175
|
+
export interface DatasetMemberGroup {
|
|
176
|
+
/**
|
|
177
|
+
* The group id
|
|
178
|
+
*/
|
|
179
|
+
'id': string;
|
|
180
|
+
/**
|
|
181
|
+
* The group role in the dataset
|
|
182
|
+
*/
|
|
183
|
+
'role': string;
|
|
184
|
+
/**
|
|
185
|
+
* The list of users in the group
|
|
186
|
+
*/
|
|
187
|
+
'users': Array<string>;
|
|
188
|
+
}
|
|
189
|
+
/**
|
|
190
|
+
* A user member of the dataset
|
|
191
|
+
*/
|
|
192
|
+
export interface DatasetMemberUser {
|
|
193
|
+
/**
|
|
194
|
+
* The user id
|
|
195
|
+
*/
|
|
196
|
+
'id': string;
|
|
197
|
+
/**
|
|
198
|
+
* The user role in the dataset
|
|
199
|
+
*/
|
|
200
|
+
'role': string;
|
|
201
|
+
}
|
|
202
|
+
/**
|
|
203
|
+
* The Dataset members, including users and groups
|
|
204
|
+
*/
|
|
205
|
+
export interface DatasetMembers {
|
|
206
|
+
/**
|
|
207
|
+
* The list of users in the dataset
|
|
208
|
+
*/
|
|
209
|
+
'users': Array<DatasetMemberUser>;
|
|
210
|
+
/**
|
|
211
|
+
* The list of groups in the dataset
|
|
212
|
+
*/
|
|
213
|
+
'groups': Array<DatasetMemberGroup>;
|
|
214
|
+
}
|
|
172
215
|
/**
|
|
173
216
|
* Dataset part object
|
|
174
217
|
*/
|
|
@@ -314,6 +357,49 @@ export const LastRunInfoLastRunStatusEnum = {
|
|
|
314
357
|
|
|
315
358
|
export type LastRunInfoLastRunStatusEnum = typeof LastRunInfoLastRunStatusEnum[keyof typeof LastRunInfoLastRunStatusEnum];
|
|
316
359
|
|
|
360
|
+
/**
|
|
361
|
+
* A group member of the IAM
|
|
362
|
+
*/
|
|
363
|
+
export interface MemberGroup {
|
|
364
|
+
/**
|
|
365
|
+
* The group id
|
|
366
|
+
*/
|
|
367
|
+
'id': string;
|
|
368
|
+
/**
|
|
369
|
+
* The user role in the IAM
|
|
370
|
+
*/
|
|
371
|
+
'role': string;
|
|
372
|
+
/**
|
|
373
|
+
* The list of users in the group
|
|
374
|
+
*/
|
|
375
|
+
'users': Array<string>;
|
|
376
|
+
}
|
|
377
|
+
/**
|
|
378
|
+
* A user member of the IAM
|
|
379
|
+
*/
|
|
380
|
+
export interface MemberUser {
|
|
381
|
+
/**
|
|
382
|
+
* The user id
|
|
383
|
+
*/
|
|
384
|
+
'id': string;
|
|
385
|
+
/**
|
|
386
|
+
* The user role in the IAM
|
|
387
|
+
*/
|
|
388
|
+
'role': string;
|
|
389
|
+
}
|
|
390
|
+
/**
|
|
391
|
+
* The members, including users and groups
|
|
392
|
+
*/
|
|
393
|
+
export interface Members {
|
|
394
|
+
/**
|
|
395
|
+
* The list of users in the IAM
|
|
396
|
+
*/
|
|
397
|
+
'users': Array<MemberUser>;
|
|
398
|
+
/**
|
|
399
|
+
* The list of groups in the IAM
|
|
400
|
+
*/
|
|
401
|
+
'groups': Array<MemberGroup>;
|
|
402
|
+
}
|
|
317
403
|
/**
|
|
318
404
|
* An Organization
|
|
319
405
|
*/
|
|
@@ -369,6 +455,49 @@ export interface OrganizationEditInfo {
|
|
|
369
455
|
*/
|
|
370
456
|
'userId': string;
|
|
371
457
|
}
|
|
458
|
+
/**
|
|
459
|
+
* A group member of the organization
|
|
460
|
+
*/
|
|
461
|
+
export interface OrganizationMemberGroup {
|
|
462
|
+
/**
|
|
463
|
+
* The group id
|
|
464
|
+
*/
|
|
465
|
+
'id': string;
|
|
466
|
+
/**
|
|
467
|
+
* The user role in the organization
|
|
468
|
+
*/
|
|
469
|
+
'role': string;
|
|
470
|
+
/**
|
|
471
|
+
* The list of users in the group
|
|
472
|
+
*/
|
|
473
|
+
'users': Array<string>;
|
|
474
|
+
}
|
|
475
|
+
/**
|
|
476
|
+
* A user member of the organization
|
|
477
|
+
*/
|
|
478
|
+
export interface OrganizationMemberUser {
|
|
479
|
+
/**
|
|
480
|
+
* The user id
|
|
481
|
+
*/
|
|
482
|
+
'id': string;
|
|
483
|
+
/**
|
|
484
|
+
* The user role in the organization
|
|
485
|
+
*/
|
|
486
|
+
'role': string;
|
|
487
|
+
}
|
|
488
|
+
/**
|
|
489
|
+
* The Organization members, including users and groups
|
|
490
|
+
*/
|
|
491
|
+
export interface OrganizationMembers {
|
|
492
|
+
/**
|
|
493
|
+
* The list of users in the organization
|
|
494
|
+
*/
|
|
495
|
+
'users': Array<OrganizationMemberUser>;
|
|
496
|
+
/**
|
|
497
|
+
* The list of groups in the organization
|
|
498
|
+
*/
|
|
499
|
+
'groups': Array<OrganizationMemberGroup>;
|
|
500
|
+
}
|
|
372
501
|
/**
|
|
373
502
|
* The Organization Role
|
|
374
503
|
*/
|
|
@@ -1176,6 +1305,49 @@ export interface RunnerEditInfo {
|
|
|
1176
1305
|
*/
|
|
1177
1306
|
'userId': string;
|
|
1178
1307
|
}
|
|
1308
|
+
/**
|
|
1309
|
+
* A group member of the runner
|
|
1310
|
+
*/
|
|
1311
|
+
export interface RunnerMemberGroup {
|
|
1312
|
+
/**
|
|
1313
|
+
* The group id
|
|
1314
|
+
*/
|
|
1315
|
+
'id': string;
|
|
1316
|
+
/**
|
|
1317
|
+
* The group role in the runner
|
|
1318
|
+
*/
|
|
1319
|
+
'role': string;
|
|
1320
|
+
/**
|
|
1321
|
+
* The list of users in the group
|
|
1322
|
+
*/
|
|
1323
|
+
'users': Array<string>;
|
|
1324
|
+
}
|
|
1325
|
+
/**
|
|
1326
|
+
* A user member of the runner
|
|
1327
|
+
*/
|
|
1328
|
+
export interface RunnerMemberUser {
|
|
1329
|
+
/**
|
|
1330
|
+
* The user id
|
|
1331
|
+
*/
|
|
1332
|
+
'id': string;
|
|
1333
|
+
/**
|
|
1334
|
+
* The user role in the runner
|
|
1335
|
+
*/
|
|
1336
|
+
'role': string;
|
|
1337
|
+
}
|
|
1338
|
+
/**
|
|
1339
|
+
* The Runner members, including users and groups
|
|
1340
|
+
*/
|
|
1341
|
+
export interface RunnerMembers {
|
|
1342
|
+
/**
|
|
1343
|
+
* The list of users in the runner
|
|
1344
|
+
*/
|
|
1345
|
+
'users': Array<RunnerMemberUser>;
|
|
1346
|
+
/**
|
|
1347
|
+
* The list of groups in the runner
|
|
1348
|
+
*/
|
|
1349
|
+
'groups': Array<RunnerMemberGroup>;
|
|
1350
|
+
}
|
|
1179
1351
|
/**
|
|
1180
1352
|
* A description object for resource requests and limits. Values must follow the Kubernetes resource requirements/limits syntax: See https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/#resource-units-in-kubernetes Default configuration is basic sizing
|
|
1181
1353
|
*/
|
|
@@ -1443,6 +1615,49 @@ export interface SolutionEditInfo {
|
|
|
1443
1615
|
*/
|
|
1444
1616
|
'userId': string;
|
|
1445
1617
|
}
|
|
1618
|
+
/**
|
|
1619
|
+
* A group member of the solution
|
|
1620
|
+
*/
|
|
1621
|
+
export interface SolutionMemberGroup {
|
|
1622
|
+
/**
|
|
1623
|
+
* The group id
|
|
1624
|
+
*/
|
|
1625
|
+
'id': string;
|
|
1626
|
+
/**
|
|
1627
|
+
* The group role in the solution
|
|
1628
|
+
*/
|
|
1629
|
+
'role': string;
|
|
1630
|
+
/**
|
|
1631
|
+
* The list of users in the group
|
|
1632
|
+
*/
|
|
1633
|
+
'users': Array<string>;
|
|
1634
|
+
}
|
|
1635
|
+
/**
|
|
1636
|
+
* A user member of the solution
|
|
1637
|
+
*/
|
|
1638
|
+
export interface SolutionMemberUser {
|
|
1639
|
+
/**
|
|
1640
|
+
* The user id
|
|
1641
|
+
*/
|
|
1642
|
+
'id': string;
|
|
1643
|
+
/**
|
|
1644
|
+
* The user role in the solution
|
|
1645
|
+
*/
|
|
1646
|
+
'role': string;
|
|
1647
|
+
}
|
|
1648
|
+
/**
|
|
1649
|
+
* The Solution members, including users and groups
|
|
1650
|
+
*/
|
|
1651
|
+
export interface SolutionMembers {
|
|
1652
|
+
/**
|
|
1653
|
+
* The list of users in the solution
|
|
1654
|
+
*/
|
|
1655
|
+
'users': Array<SolutionMemberUser>;
|
|
1656
|
+
/**
|
|
1657
|
+
* The list of groups in the solution
|
|
1658
|
+
*/
|
|
1659
|
+
'groups': Array<SolutionMemberGroup>;
|
|
1660
|
+
}
|
|
1446
1661
|
/**
|
|
1447
1662
|
* The Solution Role
|
|
1448
1663
|
*/
|
|
@@ -1624,6 +1839,49 @@ export interface WorkspaceFile {
|
|
|
1624
1839
|
*/
|
|
1625
1840
|
'fileName': string;
|
|
1626
1841
|
}
|
|
1842
|
+
/**
|
|
1843
|
+
* A group member of the workspace
|
|
1844
|
+
*/
|
|
1845
|
+
export interface WorkspaceMemberGroup {
|
|
1846
|
+
/**
|
|
1847
|
+
* The group id
|
|
1848
|
+
*/
|
|
1849
|
+
'id': string;
|
|
1850
|
+
/**
|
|
1851
|
+
* The group role in the workspace
|
|
1852
|
+
*/
|
|
1853
|
+
'role': string;
|
|
1854
|
+
/**
|
|
1855
|
+
* The list of users in the group
|
|
1856
|
+
*/
|
|
1857
|
+
'users': Array<string>;
|
|
1858
|
+
}
|
|
1859
|
+
/**
|
|
1860
|
+
* A user member of the workspace
|
|
1861
|
+
*/
|
|
1862
|
+
export interface WorkspaceMemberUser {
|
|
1863
|
+
/**
|
|
1864
|
+
* The user id
|
|
1865
|
+
*/
|
|
1866
|
+
'id': string;
|
|
1867
|
+
/**
|
|
1868
|
+
* The user role in the workspace
|
|
1869
|
+
*/
|
|
1870
|
+
'role': string;
|
|
1871
|
+
}
|
|
1872
|
+
/**
|
|
1873
|
+
* The Workspace members, including users and groups
|
|
1874
|
+
*/
|
|
1875
|
+
export interface WorkspaceMembers {
|
|
1876
|
+
/**
|
|
1877
|
+
* The list of users in the workspace
|
|
1878
|
+
*/
|
|
1879
|
+
'users': Array<WorkspaceMemberUser>;
|
|
1880
|
+
/**
|
|
1881
|
+
* The list of groups in the workspace
|
|
1882
|
+
*/
|
|
1883
|
+
'groups': Array<WorkspaceMemberGroup>;
|
|
1884
|
+
}
|
|
1627
1885
|
/**
|
|
1628
1886
|
* The Workspace Role
|
|
1629
1887
|
*/
|
|
@@ -2157,6 +2415,52 @@ export const DatasetApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
2157
2415
|
options: localVarRequestOptions,
|
|
2158
2416
|
};
|
|
2159
2417
|
},
|
|
2418
|
+
/**
|
|
2419
|
+
* Retrieve detailed information about members of a dataset.
|
|
2420
|
+
* @summary Get the members of a Dataset
|
|
2421
|
+
* @param {string} organizationId the Organization identifier
|
|
2422
|
+
* @param {string} workspaceId the Workspace identifier
|
|
2423
|
+
* @param {string} datasetId the Dataset identifier
|
|
2424
|
+
* @param {*} [options] Override http request option.
|
|
2425
|
+
* @throws {RequiredError}
|
|
2426
|
+
*/
|
|
2427
|
+
getDatasetMembers: async (organizationId: string, workspaceId: string, datasetId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
2428
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
2429
|
+
assertParamExists('getDatasetMembers', 'organizationId', organizationId)
|
|
2430
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
2431
|
+
assertParamExists('getDatasetMembers', 'workspaceId', workspaceId)
|
|
2432
|
+
// verify required parameter 'datasetId' is not null or undefined
|
|
2433
|
+
assertParamExists('getDatasetMembers', 'datasetId', datasetId)
|
|
2434
|
+
const localVarPath = `/organizations/{organization_id}/workspaces/{workspace_id}/datasets/{dataset_id}/members`
|
|
2435
|
+
.replace('{organization_id}', encodeURIComponent(String(organizationId)))
|
|
2436
|
+
.replace('{workspace_id}', encodeURIComponent(String(workspaceId)))
|
|
2437
|
+
.replace('{dataset_id}', encodeURIComponent(String(datasetId)));
|
|
2438
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2439
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2440
|
+
let baseOptions;
|
|
2441
|
+
if (configuration) {
|
|
2442
|
+
baseOptions = configuration.baseOptions;
|
|
2443
|
+
}
|
|
2444
|
+
|
|
2445
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
2446
|
+
const localVarHeaderParameter = {} as any;
|
|
2447
|
+
const localVarQueryParameter = {} as any;
|
|
2448
|
+
|
|
2449
|
+
// authentication oAuth2AuthCode required
|
|
2450
|
+
// oauth required
|
|
2451
|
+
await setOAuthToObject(localVarHeaderParameter, "oAuth2AuthCode", [], configuration)
|
|
2452
|
+
|
|
2453
|
+
localVarHeaderParameter['Accept'] = 'application/json,application/yaml';
|
|
2454
|
+
|
|
2455
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2456
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2457
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
2458
|
+
|
|
2459
|
+
return {
|
|
2460
|
+
url: toPathString(localVarUrlObj),
|
|
2461
|
+
options: localVarRequestOptions,
|
|
2462
|
+
};
|
|
2463
|
+
},
|
|
2160
2464
|
/**
|
|
2161
2465
|
*
|
|
2162
2466
|
* @summary Retrieve a data part of a Dataset
|
|
@@ -3020,6 +3324,21 @@ export const DatasetApiFp = function(configuration?: Configuration) {
|
|
|
3020
3324
|
const localVarOperationServerBasePath = operationServerMap['DatasetApi.getDatasetAccessControl']?.[localVarOperationServerIndex]?.url;
|
|
3021
3325
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3022
3326
|
},
|
|
3327
|
+
/**
|
|
3328
|
+
* Retrieve detailed information about members of a dataset.
|
|
3329
|
+
* @summary Get the members of a Dataset
|
|
3330
|
+
* @param {string} organizationId the Organization identifier
|
|
3331
|
+
* @param {string} workspaceId the Workspace identifier
|
|
3332
|
+
* @param {string} datasetId the Dataset identifier
|
|
3333
|
+
* @param {*} [options] Override http request option.
|
|
3334
|
+
* @throws {RequiredError}
|
|
3335
|
+
*/
|
|
3336
|
+
async getDatasetMembers(organizationId: string, workspaceId: string, datasetId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DatasetMembers>> {
|
|
3337
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getDatasetMembers(organizationId, workspaceId, datasetId, options);
|
|
3338
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
3339
|
+
const localVarOperationServerBasePath = operationServerMap['DatasetApi.getDatasetMembers']?.[localVarOperationServerIndex]?.url;
|
|
3340
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3341
|
+
},
|
|
3023
3342
|
/**
|
|
3024
3343
|
*
|
|
3025
3344
|
* @summary Retrieve a data part of a Dataset
|
|
@@ -3355,6 +3674,18 @@ export const DatasetApiFactory = function (configuration?: Configuration, basePa
|
|
|
3355
3674
|
getDatasetAccessControl(organizationId: string, workspaceId: string, datasetId: string, identityId: string, options?: RawAxiosRequestConfig): AxiosPromise<DatasetAccessControl> {
|
|
3356
3675
|
return localVarFp.getDatasetAccessControl(organizationId, workspaceId, datasetId, identityId, options).then((request) => request(axios, basePath));
|
|
3357
3676
|
},
|
|
3677
|
+
/**
|
|
3678
|
+
* Retrieve detailed information about members of a dataset.
|
|
3679
|
+
* @summary Get the members of a Dataset
|
|
3680
|
+
* @param {string} organizationId the Organization identifier
|
|
3681
|
+
* @param {string} workspaceId the Workspace identifier
|
|
3682
|
+
* @param {string} datasetId the Dataset identifier
|
|
3683
|
+
* @param {*} [options] Override http request option.
|
|
3684
|
+
* @throws {RequiredError}
|
|
3685
|
+
*/
|
|
3686
|
+
getDatasetMembers(organizationId: string, workspaceId: string, datasetId: string, options?: RawAxiosRequestConfig): AxiosPromise<DatasetMembers> {
|
|
3687
|
+
return localVarFp.getDatasetMembers(organizationId, workspaceId, datasetId, options).then((request) => request(axios, basePath));
|
|
3688
|
+
},
|
|
3358
3689
|
/**
|
|
3359
3690
|
*
|
|
3360
3691
|
* @summary Retrieve a data part of a Dataset
|
|
@@ -3661,6 +3992,19 @@ export class DatasetApi extends BaseAPI {
|
|
|
3661
3992
|
return DatasetApiFp(this.configuration).getDatasetAccessControl(organizationId, workspaceId, datasetId, identityId, options).then((request) => request(this.axios, this.basePath));
|
|
3662
3993
|
}
|
|
3663
3994
|
|
|
3995
|
+
/**
|
|
3996
|
+
* Retrieve detailed information about members of a dataset.
|
|
3997
|
+
* @summary Get the members of a Dataset
|
|
3998
|
+
* @param {string} organizationId the Organization identifier
|
|
3999
|
+
* @param {string} workspaceId the Workspace identifier
|
|
4000
|
+
* @param {string} datasetId the Dataset identifier
|
|
4001
|
+
* @param {*} [options] Override http request option.
|
|
4002
|
+
* @throws {RequiredError}
|
|
4003
|
+
*/
|
|
4004
|
+
public getDatasetMembers(organizationId: string, workspaceId: string, datasetId: string, options?: RawAxiosRequestConfig) {
|
|
4005
|
+
return DatasetApiFp(this.configuration).getDatasetMembers(organizationId, workspaceId, datasetId, options).then((request) => request(this.axios, this.basePath));
|
|
4006
|
+
}
|
|
4007
|
+
|
|
3664
4008
|
/**
|
|
3665
4009
|
*
|
|
3666
4010
|
* @summary Retrieve a data part of a Dataset
|
|
@@ -3820,31 +4164,194 @@ export class DatasetApi extends BaseAPI {
|
|
|
3820
4164
|
|
|
3821
4165
|
/**
|
|
3822
4166
|
*
|
|
3823
|
-
* @summary Set the Dataset default security
|
|
3824
|
-
* @param {string} organizationId the Organization identifier
|
|
3825
|
-
* @param {string} workspaceId the Workspace identifier
|
|
3826
|
-
* @param {string} datasetId the Dataset identifier
|
|
3827
|
-
* @param {DatasetRole} datasetRole This change the dataset default security. The default security is the role assigned to any person not on the Access Control List. If the default security is None, then nobody outside of the ACL can access the dataset.
|
|
4167
|
+
* @summary Set the Dataset default security
|
|
4168
|
+
* @param {string} organizationId the Organization identifier
|
|
4169
|
+
* @param {string} workspaceId the Workspace identifier
|
|
4170
|
+
* @param {string} datasetId the Dataset identifier
|
|
4171
|
+
* @param {DatasetRole} datasetRole This change the dataset default security. The default security is the role assigned to any person not on the Access Control List. If the default security is None, then nobody outside of the ACL can access the dataset.
|
|
4172
|
+
* @param {*} [options] Override http request option.
|
|
4173
|
+
* @throws {RequiredError}
|
|
4174
|
+
*/
|
|
4175
|
+
public updateDatasetDefaultSecurity(organizationId: string, workspaceId: string, datasetId: string, datasetRole: DatasetRole, options?: RawAxiosRequestConfig) {
|
|
4176
|
+
return DatasetApiFp(this.configuration).updateDatasetDefaultSecurity(organizationId, workspaceId, datasetId, datasetRole, options).then((request) => request(this.axios, this.basePath));
|
|
4177
|
+
}
|
|
4178
|
+
|
|
4179
|
+
/**
|
|
4180
|
+
*
|
|
4181
|
+
* @summary Update existing dataset parts information of a Dataset
|
|
4182
|
+
* @param {string} organizationId the Organization identifier
|
|
4183
|
+
* @param {string} workspaceId the Workspace identifier
|
|
4184
|
+
* @param {string} datasetId the Dataset identifier
|
|
4185
|
+
* @param {string} datasetPartId the Dataset part identifier
|
|
4186
|
+
* @param {DatasetPartUpdateRequest} datasetPartUpdateRequest Dataset part information to update
|
|
4187
|
+
* @param {*} [options] Override http request option.
|
|
4188
|
+
* @throws {RequiredError}
|
|
4189
|
+
*/
|
|
4190
|
+
public updateDatasetPart(organizationId: string, workspaceId: string, datasetId: string, datasetPartId: string, datasetPartUpdateRequest: DatasetPartUpdateRequest, options?: RawAxiosRequestConfig) {
|
|
4191
|
+
return DatasetApiFp(this.configuration).updateDatasetPart(organizationId, workspaceId, datasetId, datasetPartId, datasetPartUpdateRequest, options).then((request) => request(this.axios, this.basePath));
|
|
4192
|
+
}
|
|
4193
|
+
}
|
|
4194
|
+
|
|
4195
|
+
|
|
4196
|
+
|
|
4197
|
+
/**
|
|
4198
|
+
* IAMInfoApi - axios parameter creator
|
|
4199
|
+
*/
|
|
4200
|
+
export const IAMInfoApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
4201
|
+
return {
|
|
4202
|
+
/**
|
|
4203
|
+
*
|
|
4204
|
+
* @summary Get the list of all groups
|
|
4205
|
+
* @param {*} [options] Override http request option.
|
|
4206
|
+
* @throws {RequiredError}
|
|
4207
|
+
*/
|
|
4208
|
+
listIAMGroups: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
4209
|
+
const localVarPath = `/iaminfo/groups`;
|
|
4210
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4211
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4212
|
+
let baseOptions;
|
|
4213
|
+
if (configuration) {
|
|
4214
|
+
baseOptions = configuration.baseOptions;
|
|
4215
|
+
}
|
|
4216
|
+
|
|
4217
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
4218
|
+
const localVarHeaderParameter = {} as any;
|
|
4219
|
+
const localVarQueryParameter = {} as any;
|
|
4220
|
+
|
|
4221
|
+
// authentication oAuth2AuthCode required
|
|
4222
|
+
// oauth required
|
|
4223
|
+
await setOAuthToObject(localVarHeaderParameter, "oAuth2AuthCode", [], configuration)
|
|
4224
|
+
|
|
4225
|
+
localVarHeaderParameter['Accept'] = 'application/json,application/yaml';
|
|
4226
|
+
|
|
4227
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4228
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4229
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
4230
|
+
|
|
4231
|
+
return {
|
|
4232
|
+
url: toPathString(localVarUrlObj),
|
|
4233
|
+
options: localVarRequestOptions,
|
|
4234
|
+
};
|
|
4235
|
+
},
|
|
4236
|
+
/**
|
|
4237
|
+
*
|
|
4238
|
+
* @summary Get ALL IAM members list
|
|
4239
|
+
* @param {*} [options] Override http request option.
|
|
4240
|
+
* @throws {RequiredError}
|
|
4241
|
+
*/
|
|
4242
|
+
listIAMMembers: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
4243
|
+
const localVarPath = `/iaminfo/members`;
|
|
4244
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4245
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4246
|
+
let baseOptions;
|
|
4247
|
+
if (configuration) {
|
|
4248
|
+
baseOptions = configuration.baseOptions;
|
|
4249
|
+
}
|
|
4250
|
+
|
|
4251
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
4252
|
+
const localVarHeaderParameter = {} as any;
|
|
4253
|
+
const localVarQueryParameter = {} as any;
|
|
4254
|
+
|
|
4255
|
+
// authentication oAuth2AuthCode required
|
|
4256
|
+
// oauth required
|
|
4257
|
+
await setOAuthToObject(localVarHeaderParameter, "oAuth2AuthCode", [], configuration)
|
|
4258
|
+
|
|
4259
|
+
localVarHeaderParameter['Accept'] = 'application/json,application/yaml';
|
|
4260
|
+
|
|
4261
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4262
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4263
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
4264
|
+
|
|
4265
|
+
return {
|
|
4266
|
+
url: toPathString(localVarUrlObj),
|
|
4267
|
+
options: localVarRequestOptions,
|
|
4268
|
+
};
|
|
4269
|
+
},
|
|
4270
|
+
}
|
|
4271
|
+
};
|
|
4272
|
+
|
|
4273
|
+
/**
|
|
4274
|
+
* IAMInfoApi - functional programming interface
|
|
4275
|
+
*/
|
|
4276
|
+
export const IAMInfoApiFp = function(configuration?: Configuration) {
|
|
4277
|
+
const localVarAxiosParamCreator = IAMInfoApiAxiosParamCreator(configuration)
|
|
4278
|
+
return {
|
|
4279
|
+
/**
|
|
4280
|
+
*
|
|
4281
|
+
* @summary Get the list of all groups
|
|
4282
|
+
* @param {*} [options] Override http request option.
|
|
4283
|
+
* @throws {RequiredError}
|
|
4284
|
+
*/
|
|
4285
|
+
async listIAMGroups(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<string>>> {
|
|
4286
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listIAMGroups(options);
|
|
4287
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4288
|
+
const localVarOperationServerBasePath = operationServerMap['IAMInfoApi.listIAMGroups']?.[localVarOperationServerIndex]?.url;
|
|
4289
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4290
|
+
},
|
|
4291
|
+
/**
|
|
4292
|
+
*
|
|
4293
|
+
* @summary Get ALL IAM members list
|
|
4294
|
+
* @param {*} [options] Override http request option.
|
|
4295
|
+
* @throws {RequiredError}
|
|
4296
|
+
*/
|
|
4297
|
+
async listIAMMembers(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Members>> {
|
|
4298
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listIAMMembers(options);
|
|
4299
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4300
|
+
const localVarOperationServerBasePath = operationServerMap['IAMInfoApi.listIAMMembers']?.[localVarOperationServerIndex]?.url;
|
|
4301
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4302
|
+
},
|
|
4303
|
+
}
|
|
4304
|
+
};
|
|
4305
|
+
|
|
4306
|
+
/**
|
|
4307
|
+
* IAMInfoApi - factory interface
|
|
4308
|
+
*/
|
|
4309
|
+
export const IAMInfoApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
4310
|
+
const localVarFp = IAMInfoApiFp(configuration)
|
|
4311
|
+
return {
|
|
4312
|
+
/**
|
|
4313
|
+
*
|
|
4314
|
+
* @summary Get the list of all groups
|
|
4315
|
+
* @param {*} [options] Override http request option.
|
|
4316
|
+
* @throws {RequiredError}
|
|
4317
|
+
*/
|
|
4318
|
+
listIAMGroups(options?: RawAxiosRequestConfig): AxiosPromise<Array<string>> {
|
|
4319
|
+
return localVarFp.listIAMGroups(options).then((request) => request(axios, basePath));
|
|
4320
|
+
},
|
|
4321
|
+
/**
|
|
4322
|
+
*
|
|
4323
|
+
* @summary Get ALL IAM members list
|
|
4324
|
+
* @param {*} [options] Override http request option.
|
|
4325
|
+
* @throws {RequiredError}
|
|
4326
|
+
*/
|
|
4327
|
+
listIAMMembers(options?: RawAxiosRequestConfig): AxiosPromise<Members> {
|
|
4328
|
+
return localVarFp.listIAMMembers(options).then((request) => request(axios, basePath));
|
|
4329
|
+
},
|
|
4330
|
+
};
|
|
4331
|
+
};
|
|
4332
|
+
|
|
4333
|
+
/**
|
|
4334
|
+
* IAMInfoApi - object-oriented interface
|
|
4335
|
+
*/
|
|
4336
|
+
export class IAMInfoApi extends BaseAPI {
|
|
4337
|
+
/**
|
|
4338
|
+
*
|
|
4339
|
+
* @summary Get the list of all groups
|
|
3828
4340
|
* @param {*} [options] Override http request option.
|
|
3829
4341
|
* @throws {RequiredError}
|
|
3830
4342
|
*/
|
|
3831
|
-
public
|
|
3832
|
-
return
|
|
4343
|
+
public listIAMGroups(options?: RawAxiosRequestConfig) {
|
|
4344
|
+
return IAMInfoApiFp(this.configuration).listIAMGroups(options).then((request) => request(this.axios, this.basePath));
|
|
3833
4345
|
}
|
|
3834
4346
|
|
|
3835
4347
|
/**
|
|
3836
4348
|
*
|
|
3837
|
-
* @summary
|
|
3838
|
-
* @param {string} organizationId the Organization identifier
|
|
3839
|
-
* @param {string} workspaceId the Workspace identifier
|
|
3840
|
-
* @param {string} datasetId the Dataset identifier
|
|
3841
|
-
* @param {string} datasetPartId the Dataset part identifier
|
|
3842
|
-
* @param {DatasetPartUpdateRequest} datasetPartUpdateRequest Dataset part information to update
|
|
4349
|
+
* @summary Get ALL IAM members list
|
|
3843
4350
|
* @param {*} [options] Override http request option.
|
|
3844
4351
|
* @throws {RequiredError}
|
|
3845
4352
|
*/
|
|
3846
|
-
public
|
|
3847
|
-
return
|
|
4353
|
+
public listIAMMembers(options?: RawAxiosRequestConfig) {
|
|
4354
|
+
return IAMInfoApiFp(this.configuration).listIAMMembers(options).then((request) => request(this.axios, this.basePath));
|
|
3848
4355
|
}
|
|
3849
4356
|
}
|
|
3850
4357
|
|
|
@@ -4193,6 +4700,44 @@ export const OrganizationApiAxiosParamCreator = function (configuration?: Config
|
|
|
4193
4700
|
options: localVarRequestOptions,
|
|
4194
4701
|
};
|
|
4195
4702
|
},
|
|
4703
|
+
/**
|
|
4704
|
+
* Retrieve detailed information about members of an organization.
|
|
4705
|
+
* @summary Get the members of an Organization
|
|
4706
|
+
* @param {string} organizationId The Organization identifier
|
|
4707
|
+
* @param {*} [options] Override http request option.
|
|
4708
|
+
* @throws {RequiredError}
|
|
4709
|
+
*/
|
|
4710
|
+
getOrganizationMembers: async (organizationId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
4711
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
4712
|
+
assertParamExists('getOrganizationMembers', 'organizationId', organizationId)
|
|
4713
|
+
const localVarPath = `/organizations/{organization_id}/members`
|
|
4714
|
+
.replace('{organization_id}', encodeURIComponent(String(organizationId)));
|
|
4715
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4716
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4717
|
+
let baseOptions;
|
|
4718
|
+
if (configuration) {
|
|
4719
|
+
baseOptions = configuration.baseOptions;
|
|
4720
|
+
}
|
|
4721
|
+
|
|
4722
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
4723
|
+
const localVarHeaderParameter = {} as any;
|
|
4724
|
+
const localVarQueryParameter = {} as any;
|
|
4725
|
+
|
|
4726
|
+
// authentication oAuth2AuthCode required
|
|
4727
|
+
// oauth required
|
|
4728
|
+
await setOAuthToObject(localVarHeaderParameter, "oAuth2AuthCode", [], configuration)
|
|
4729
|
+
|
|
4730
|
+
localVarHeaderParameter['Accept'] = 'application/json,application/yaml';
|
|
4731
|
+
|
|
4732
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4733
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4734
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
4735
|
+
|
|
4736
|
+
return {
|
|
4737
|
+
url: toPathString(localVarUrlObj),
|
|
4738
|
+
options: localVarRequestOptions,
|
|
4739
|
+
};
|
|
4740
|
+
},
|
|
4196
4741
|
/**
|
|
4197
4742
|
*
|
|
4198
4743
|
* @summary Get the Organization permissions by given role
|
|
@@ -4612,6 +5157,19 @@ export const OrganizationApiFp = function(configuration?: Configuration) {
|
|
|
4612
5157
|
const localVarOperationServerBasePath = operationServerMap['OrganizationApi.getOrganizationAccessControl']?.[localVarOperationServerIndex]?.url;
|
|
4613
5158
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4614
5159
|
},
|
|
5160
|
+
/**
|
|
5161
|
+
* Retrieve detailed information about members of an organization.
|
|
5162
|
+
* @summary Get the members of an Organization
|
|
5163
|
+
* @param {string} organizationId The Organization identifier
|
|
5164
|
+
* @param {*} [options] Override http request option.
|
|
5165
|
+
* @throws {RequiredError}
|
|
5166
|
+
*/
|
|
5167
|
+
async getOrganizationMembers(organizationId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrganizationMembers>> {
|
|
5168
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getOrganizationMembers(organizationId, options);
|
|
5169
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
5170
|
+
const localVarOperationServerBasePath = operationServerMap['OrganizationApi.getOrganizationMembers']?.[localVarOperationServerIndex]?.url;
|
|
5171
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5172
|
+
},
|
|
4615
5173
|
/**
|
|
4616
5174
|
*
|
|
4617
5175
|
* @summary Get the Organization permissions by given role
|
|
@@ -4793,6 +5351,16 @@ export const OrganizationApiFactory = function (configuration?: Configuration, b
|
|
|
4793
5351
|
getOrganizationAccessControl(organizationId: string, identityId: string, options?: RawAxiosRequestConfig): AxiosPromise<OrganizationAccessControl> {
|
|
4794
5352
|
return localVarFp.getOrganizationAccessControl(organizationId, identityId, options).then((request) => request(axios, basePath));
|
|
4795
5353
|
},
|
|
5354
|
+
/**
|
|
5355
|
+
* Retrieve detailed information about members of an organization.
|
|
5356
|
+
* @summary Get the members of an Organization
|
|
5357
|
+
* @param {string} organizationId The Organization identifier
|
|
5358
|
+
* @param {*} [options] Override http request option.
|
|
5359
|
+
* @throws {RequiredError}
|
|
5360
|
+
*/
|
|
5361
|
+
getOrganizationMembers(organizationId: string, options?: RawAxiosRequestConfig): AxiosPromise<OrganizationMembers> {
|
|
5362
|
+
return localVarFp.getOrganizationMembers(organizationId, options).then((request) => request(axios, basePath));
|
|
5363
|
+
},
|
|
4796
5364
|
/**
|
|
4797
5365
|
*
|
|
4798
5366
|
* @summary Get the Organization permissions by given role
|
|
@@ -4954,6 +5522,17 @@ export class OrganizationApi extends BaseAPI {
|
|
|
4954
5522
|
return OrganizationApiFp(this.configuration).getOrganizationAccessControl(organizationId, identityId, options).then((request) => request(this.axios, this.basePath));
|
|
4955
5523
|
}
|
|
4956
5524
|
|
|
5525
|
+
/**
|
|
5526
|
+
* Retrieve detailed information about members of an organization.
|
|
5527
|
+
* @summary Get the members of an Organization
|
|
5528
|
+
* @param {string} organizationId The Organization identifier
|
|
5529
|
+
* @param {*} [options] Override http request option.
|
|
5530
|
+
* @throws {RequiredError}
|
|
5531
|
+
*/
|
|
5532
|
+
public getOrganizationMembers(organizationId: string, options?: RawAxiosRequestConfig) {
|
|
5533
|
+
return OrganizationApiFp(this.configuration).getOrganizationMembers(organizationId, options).then((request) => request(this.axios, this.basePath));
|
|
5534
|
+
}
|
|
5535
|
+
|
|
4957
5536
|
/**
|
|
4958
5537
|
*
|
|
4959
5538
|
* @summary Get the Organization permissions by given role
|
|
@@ -5849,6 +6428,52 @@ export const RunnerApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
5849
6428
|
options: localVarRequestOptions,
|
|
5850
6429
|
};
|
|
5851
6430
|
},
|
|
6431
|
+
/**
|
|
6432
|
+
* Retrieve detailed information about members of a runner.
|
|
6433
|
+
* @summary Get the members of a Runner
|
|
6434
|
+
* @param {string} organizationId the Organization identifier
|
|
6435
|
+
* @param {string} workspaceId the Workspace identifier
|
|
6436
|
+
* @param {string} runnerId the Runner identifier
|
|
6437
|
+
* @param {*} [options] Override http request option.
|
|
6438
|
+
* @throws {RequiredError}
|
|
6439
|
+
*/
|
|
6440
|
+
getRunnerMembers: async (organizationId: string, workspaceId: string, runnerId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
6441
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
6442
|
+
assertParamExists('getRunnerMembers', 'organizationId', organizationId)
|
|
6443
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
6444
|
+
assertParamExists('getRunnerMembers', 'workspaceId', workspaceId)
|
|
6445
|
+
// verify required parameter 'runnerId' is not null or undefined
|
|
6446
|
+
assertParamExists('getRunnerMembers', 'runnerId', runnerId)
|
|
6447
|
+
const localVarPath = `/organizations/{organization_id}/workspaces/{workspace_id}/runners/{runner_id}/members`
|
|
6448
|
+
.replace('{organization_id}', encodeURIComponent(String(organizationId)))
|
|
6449
|
+
.replace('{workspace_id}', encodeURIComponent(String(workspaceId)))
|
|
6450
|
+
.replace('{runner_id}', encodeURIComponent(String(runnerId)));
|
|
6451
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6452
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
6453
|
+
let baseOptions;
|
|
6454
|
+
if (configuration) {
|
|
6455
|
+
baseOptions = configuration.baseOptions;
|
|
6456
|
+
}
|
|
6457
|
+
|
|
6458
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
6459
|
+
const localVarHeaderParameter = {} as any;
|
|
6460
|
+
const localVarQueryParameter = {} as any;
|
|
6461
|
+
|
|
6462
|
+
// authentication oAuth2AuthCode required
|
|
6463
|
+
// oauth required
|
|
6464
|
+
await setOAuthToObject(localVarHeaderParameter, "oAuth2AuthCode", [], configuration)
|
|
6465
|
+
|
|
6466
|
+
localVarHeaderParameter['Accept'] = 'application/json,application/yaml';
|
|
6467
|
+
|
|
6468
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
6469
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6470
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
6471
|
+
|
|
6472
|
+
return {
|
|
6473
|
+
url: toPathString(localVarUrlObj),
|
|
6474
|
+
options: localVarRequestOptions,
|
|
6475
|
+
};
|
|
6476
|
+
},
|
|
5852
6477
|
/**
|
|
5853
6478
|
*
|
|
5854
6479
|
* @summary Get the Runner security information
|
|
@@ -6393,6 +7018,21 @@ export const RunnerApiFp = function(configuration?: Configuration) {
|
|
|
6393
7018
|
const localVarOperationServerBasePath = operationServerMap['RunnerApi.getRunnerAccessControl']?.[localVarOperationServerIndex]?.url;
|
|
6394
7019
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6395
7020
|
},
|
|
7021
|
+
/**
|
|
7022
|
+
* Retrieve detailed information about members of a runner.
|
|
7023
|
+
* @summary Get the members of a Runner
|
|
7024
|
+
* @param {string} organizationId the Organization identifier
|
|
7025
|
+
* @param {string} workspaceId the Workspace identifier
|
|
7026
|
+
* @param {string} runnerId the Runner identifier
|
|
7027
|
+
* @param {*} [options] Override http request option.
|
|
7028
|
+
* @throws {RequiredError}
|
|
7029
|
+
*/
|
|
7030
|
+
async getRunnerMembers(organizationId: string, workspaceId: string, runnerId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RunnerMembers>> {
|
|
7031
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getRunnerMembers(organizationId, workspaceId, runnerId, options);
|
|
7032
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
7033
|
+
const localVarOperationServerBasePath = operationServerMap['RunnerApi.getRunnerMembers']?.[localVarOperationServerIndex]?.url;
|
|
7034
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7035
|
+
},
|
|
6396
7036
|
/**
|
|
6397
7037
|
*
|
|
6398
7038
|
* @summary Get the Runner security information
|
|
@@ -6618,6 +7258,18 @@ export const RunnerApiFactory = function (configuration?: Configuration, basePat
|
|
|
6618
7258
|
getRunnerAccessControl(organizationId: string, workspaceId: string, runnerId: string, identityId: string, options?: RawAxiosRequestConfig): AxiosPromise<RunnerAccessControl> {
|
|
6619
7259
|
return localVarFp.getRunnerAccessControl(organizationId, workspaceId, runnerId, identityId, options).then((request) => request(axios, basePath));
|
|
6620
7260
|
},
|
|
7261
|
+
/**
|
|
7262
|
+
* Retrieve detailed information about members of a runner.
|
|
7263
|
+
* @summary Get the members of a Runner
|
|
7264
|
+
* @param {string} organizationId the Organization identifier
|
|
7265
|
+
* @param {string} workspaceId the Workspace identifier
|
|
7266
|
+
* @param {string} runnerId the Runner identifier
|
|
7267
|
+
* @param {*} [options] Override http request option.
|
|
7268
|
+
* @throws {RequiredError}
|
|
7269
|
+
*/
|
|
7270
|
+
getRunnerMembers(organizationId: string, workspaceId: string, runnerId: string, options?: RawAxiosRequestConfig): AxiosPromise<RunnerMembers> {
|
|
7271
|
+
return localVarFp.getRunnerMembers(organizationId, workspaceId, runnerId, options).then((request) => request(axios, basePath));
|
|
7272
|
+
},
|
|
6621
7273
|
/**
|
|
6622
7274
|
*
|
|
6623
7275
|
* @summary Get the Runner security information
|
|
@@ -6820,6 +7472,19 @@ export class RunnerApi extends BaseAPI {
|
|
|
6820
7472
|
return RunnerApiFp(this.configuration).getRunnerAccessControl(organizationId, workspaceId, runnerId, identityId, options).then((request) => request(this.axios, this.basePath));
|
|
6821
7473
|
}
|
|
6822
7474
|
|
|
7475
|
+
/**
|
|
7476
|
+
* Retrieve detailed information about members of a runner.
|
|
7477
|
+
* @summary Get the members of a Runner
|
|
7478
|
+
* @param {string} organizationId the Organization identifier
|
|
7479
|
+
* @param {string} workspaceId the Workspace identifier
|
|
7480
|
+
* @param {string} runnerId the Runner identifier
|
|
7481
|
+
* @param {*} [options] Override http request option.
|
|
7482
|
+
* @throws {RequiredError}
|
|
7483
|
+
*/
|
|
7484
|
+
public getRunnerMembers(organizationId: string, workspaceId: string, runnerId: string, options?: RawAxiosRequestConfig) {
|
|
7485
|
+
return RunnerApiFp(this.configuration).getRunnerMembers(organizationId, workspaceId, runnerId, options).then((request) => request(this.axios, this.basePath));
|
|
7486
|
+
}
|
|
7487
|
+
|
|
6823
7488
|
/**
|
|
6824
7489
|
*
|
|
6825
7490
|
* @summary Get the Runner security information
|
|
@@ -7537,6 +8202,48 @@ export const SolutionApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
7537
8202
|
options: localVarRequestOptions,
|
|
7538
8203
|
};
|
|
7539
8204
|
},
|
|
8205
|
+
/**
|
|
8206
|
+
* Retrieve detailed information about members of a solution.
|
|
8207
|
+
* @summary Get the members of a Solution
|
|
8208
|
+
* @param {string} organizationId the Organization identifier
|
|
8209
|
+
* @param {string} solutionId the Solution identifier
|
|
8210
|
+
* @param {*} [options] Override http request option.
|
|
8211
|
+
* @throws {RequiredError}
|
|
8212
|
+
*/
|
|
8213
|
+
getSolutionMembers: async (organizationId: string, solutionId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
8214
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
8215
|
+
assertParamExists('getSolutionMembers', 'organizationId', organizationId)
|
|
8216
|
+
// verify required parameter 'solutionId' is not null or undefined
|
|
8217
|
+
assertParamExists('getSolutionMembers', 'solutionId', solutionId)
|
|
8218
|
+
const localVarPath = `/organizations/{organization_id}/solutions/{solution_id}/members`
|
|
8219
|
+
.replace('{organization_id}', encodeURIComponent(String(organizationId)))
|
|
8220
|
+
.replace('{solution_id}', encodeURIComponent(String(solutionId)));
|
|
8221
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8222
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
8223
|
+
let baseOptions;
|
|
8224
|
+
if (configuration) {
|
|
8225
|
+
baseOptions = configuration.baseOptions;
|
|
8226
|
+
}
|
|
8227
|
+
|
|
8228
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
8229
|
+
const localVarHeaderParameter = {} as any;
|
|
8230
|
+
const localVarQueryParameter = {} as any;
|
|
8231
|
+
|
|
8232
|
+
// authentication oAuth2AuthCode required
|
|
8233
|
+
// oauth required
|
|
8234
|
+
await setOAuthToObject(localVarHeaderParameter, "oAuth2AuthCode", [], configuration)
|
|
8235
|
+
|
|
8236
|
+
localVarHeaderParameter['Accept'] = 'application/json,application/yaml';
|
|
8237
|
+
|
|
8238
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
8239
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8240
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
8241
|
+
|
|
8242
|
+
return {
|
|
8243
|
+
url: toPathString(localVarUrlObj),
|
|
8244
|
+
options: localVarRequestOptions,
|
|
8245
|
+
};
|
|
8246
|
+
},
|
|
7540
8247
|
/**
|
|
7541
8248
|
*
|
|
7542
8249
|
* @summary Get the details of a solution parameter
|
|
@@ -8386,6 +9093,20 @@ export const SolutionApiFp = function(configuration?: Configuration) {
|
|
|
8386
9093
|
const localVarOperationServerBasePath = operationServerMap['SolutionApi.getSolutionAccessControl']?.[localVarOperationServerIndex]?.url;
|
|
8387
9094
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
8388
9095
|
},
|
|
9096
|
+
/**
|
|
9097
|
+
* Retrieve detailed information about members of a solution.
|
|
9098
|
+
* @summary Get the members of a Solution
|
|
9099
|
+
* @param {string} organizationId the Organization identifier
|
|
9100
|
+
* @param {string} solutionId the Solution identifier
|
|
9101
|
+
* @param {*} [options] Override http request option.
|
|
9102
|
+
* @throws {RequiredError}
|
|
9103
|
+
*/
|
|
9104
|
+
async getSolutionMembers(organizationId: string, solutionId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SolutionMembers>> {
|
|
9105
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getSolutionMembers(organizationId, solutionId, options);
|
|
9106
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
9107
|
+
const localVarOperationServerBasePath = operationServerMap['SolutionApi.getSolutionMembers']?.[localVarOperationServerIndex]?.url;
|
|
9108
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9109
|
+
},
|
|
8389
9110
|
/**
|
|
8390
9111
|
*
|
|
8391
9112
|
* @summary Get the details of a solution parameter
|
|
@@ -8757,6 +9478,17 @@ export const SolutionApiFactory = function (configuration?: Configuration, baseP
|
|
|
8757
9478
|
getSolutionAccessControl(organizationId: string, solutionId: string, identityId: string, options?: RawAxiosRequestConfig): AxiosPromise<SolutionAccessControl> {
|
|
8758
9479
|
return localVarFp.getSolutionAccessControl(organizationId, solutionId, identityId, options).then((request) => request(axios, basePath));
|
|
8759
9480
|
},
|
|
9481
|
+
/**
|
|
9482
|
+
* Retrieve detailed information about members of a solution.
|
|
9483
|
+
* @summary Get the members of a Solution
|
|
9484
|
+
* @param {string} organizationId the Organization identifier
|
|
9485
|
+
* @param {string} solutionId the Solution identifier
|
|
9486
|
+
* @param {*} [options] Override http request option.
|
|
9487
|
+
* @throws {RequiredError}
|
|
9488
|
+
*/
|
|
9489
|
+
getSolutionMembers(organizationId: string, solutionId: string, options?: RawAxiosRequestConfig): AxiosPromise<SolutionMembers> {
|
|
9490
|
+
return localVarFp.getSolutionMembers(organizationId, solutionId, options).then((request) => request(axios, basePath));
|
|
9491
|
+
},
|
|
8760
9492
|
/**
|
|
8761
9493
|
*
|
|
8762
9494
|
* @summary Get the details of a solution parameter
|
|
@@ -9097,6 +9829,18 @@ export class SolutionApi extends BaseAPI {
|
|
|
9097
9829
|
return SolutionApiFp(this.configuration).getSolutionAccessControl(organizationId, solutionId, identityId, options).then((request) => request(this.axios, this.basePath));
|
|
9098
9830
|
}
|
|
9099
9831
|
|
|
9832
|
+
/**
|
|
9833
|
+
* Retrieve detailed information about members of a solution.
|
|
9834
|
+
* @summary Get the members of a Solution
|
|
9835
|
+
* @param {string} organizationId the Organization identifier
|
|
9836
|
+
* @param {string} solutionId the Solution identifier
|
|
9837
|
+
* @param {*} [options] Override http request option.
|
|
9838
|
+
* @throws {RequiredError}
|
|
9839
|
+
*/
|
|
9840
|
+
public getSolutionMembers(organizationId: string, solutionId: string, options?: RawAxiosRequestConfig) {
|
|
9841
|
+
return SolutionApiFp(this.configuration).getSolutionMembers(organizationId, solutionId, options).then((request) => request(this.axios, this.basePath));
|
|
9842
|
+
}
|
|
9843
|
+
|
|
9100
9844
|
/**
|
|
9101
9845
|
*
|
|
9102
9846
|
* @summary Get the details of a solution parameter
|
|
@@ -9750,6 +10494,48 @@ export const WorkspaceApiAxiosParamCreator = function (configuration?: Configura
|
|
|
9750
10494
|
options: localVarRequestOptions,
|
|
9751
10495
|
};
|
|
9752
10496
|
},
|
|
10497
|
+
/**
|
|
10498
|
+
* Retrieve detailed information about members of a workspace.
|
|
10499
|
+
* @summary Get the members of a Workspace
|
|
10500
|
+
* @param {string} organizationId The Organization identifier
|
|
10501
|
+
* @param {string} workspaceId The Workspace identifier
|
|
10502
|
+
* @param {*} [options] Override http request option.
|
|
10503
|
+
* @throws {RequiredError}
|
|
10504
|
+
*/
|
|
10505
|
+
getWorkspaceMembers: async (organizationId: string, workspaceId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
10506
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
10507
|
+
assertParamExists('getWorkspaceMembers', 'organizationId', organizationId)
|
|
10508
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
10509
|
+
assertParamExists('getWorkspaceMembers', 'workspaceId', workspaceId)
|
|
10510
|
+
const localVarPath = `/organizations/{organization_id}/workspaces/{workspace_id}/members`
|
|
10511
|
+
.replace('{organization_id}', encodeURIComponent(String(organizationId)))
|
|
10512
|
+
.replace('{workspace_id}', encodeURIComponent(String(workspaceId)));
|
|
10513
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
10514
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
10515
|
+
let baseOptions;
|
|
10516
|
+
if (configuration) {
|
|
10517
|
+
baseOptions = configuration.baseOptions;
|
|
10518
|
+
}
|
|
10519
|
+
|
|
10520
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
10521
|
+
const localVarHeaderParameter = {} as any;
|
|
10522
|
+
const localVarQueryParameter = {} as any;
|
|
10523
|
+
|
|
10524
|
+
// authentication oAuth2AuthCode required
|
|
10525
|
+
// oauth required
|
|
10526
|
+
await setOAuthToObject(localVarHeaderParameter, "oAuth2AuthCode", [], configuration)
|
|
10527
|
+
|
|
10528
|
+
localVarHeaderParameter['Accept'] = 'application/json,application/yaml';
|
|
10529
|
+
|
|
10530
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
10531
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
10532
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
10533
|
+
|
|
10534
|
+
return {
|
|
10535
|
+
url: toPathString(localVarUrlObj),
|
|
10536
|
+
options: localVarRequestOptions,
|
|
10537
|
+
};
|
|
10538
|
+
},
|
|
9753
10539
|
/**
|
|
9754
10540
|
*
|
|
9755
10541
|
* @summary Get the Workspace security information
|
|
@@ -10272,6 +11058,20 @@ export const WorkspaceApiFp = function(configuration?: Configuration) {
|
|
|
10272
11058
|
const localVarOperationServerBasePath = operationServerMap['WorkspaceApi.getWorkspaceFile']?.[localVarOperationServerIndex]?.url;
|
|
10273
11059
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
10274
11060
|
},
|
|
11061
|
+
/**
|
|
11062
|
+
* Retrieve detailed information about members of a workspace.
|
|
11063
|
+
* @summary Get the members of a Workspace
|
|
11064
|
+
* @param {string} organizationId The Organization identifier
|
|
11065
|
+
* @param {string} workspaceId The Workspace identifier
|
|
11066
|
+
* @param {*} [options] Override http request option.
|
|
11067
|
+
* @throws {RequiredError}
|
|
11068
|
+
*/
|
|
11069
|
+
async getWorkspaceMembers(organizationId: string, workspaceId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WorkspaceMembers>> {
|
|
11070
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getWorkspaceMembers(organizationId, workspaceId, options);
|
|
11071
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
11072
|
+
const localVarOperationServerBasePath = operationServerMap['WorkspaceApi.getWorkspaceMembers']?.[localVarOperationServerIndex]?.url;
|
|
11073
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
11074
|
+
},
|
|
10275
11075
|
/**
|
|
10276
11076
|
*
|
|
10277
11077
|
* @summary Get the Workspace security information
|
|
@@ -10517,6 +11317,17 @@ export const WorkspaceApiFactory = function (configuration?: Configuration, base
|
|
|
10517
11317
|
getWorkspaceFile(organizationId: string, workspaceId: string, fileName: string, options?: RawAxiosRequestConfig): AxiosPromise<File> {
|
|
10518
11318
|
return localVarFp.getWorkspaceFile(organizationId, workspaceId, fileName, options).then((request) => request(axios, basePath));
|
|
10519
11319
|
},
|
|
11320
|
+
/**
|
|
11321
|
+
* Retrieve detailed information about members of a workspace.
|
|
11322
|
+
* @summary Get the members of a Workspace
|
|
11323
|
+
* @param {string} organizationId The Organization identifier
|
|
11324
|
+
* @param {string} workspaceId The Workspace identifier
|
|
11325
|
+
* @param {*} [options] Override http request option.
|
|
11326
|
+
* @throws {RequiredError}
|
|
11327
|
+
*/
|
|
11328
|
+
getWorkspaceMembers(organizationId: string, workspaceId: string, options?: RawAxiosRequestConfig): AxiosPromise<WorkspaceMembers> {
|
|
11329
|
+
return localVarFp.getWorkspaceMembers(organizationId, workspaceId, options).then((request) => request(axios, basePath));
|
|
11330
|
+
},
|
|
10520
11331
|
/**
|
|
10521
11332
|
*
|
|
10522
11333
|
* @summary Get the Workspace security information
|
|
@@ -10746,6 +11557,18 @@ export class WorkspaceApi extends BaseAPI {
|
|
|
10746
11557
|
return WorkspaceApiFp(this.configuration).getWorkspaceFile(organizationId, workspaceId, fileName, options).then((request) => request(this.axios, this.basePath));
|
|
10747
11558
|
}
|
|
10748
11559
|
|
|
11560
|
+
/**
|
|
11561
|
+
* Retrieve detailed information about members of a workspace.
|
|
11562
|
+
* @summary Get the members of a Workspace
|
|
11563
|
+
* @param {string} organizationId The Organization identifier
|
|
11564
|
+
* @param {string} workspaceId The Workspace identifier
|
|
11565
|
+
* @param {*} [options] Override http request option.
|
|
11566
|
+
* @throws {RequiredError}
|
|
11567
|
+
*/
|
|
11568
|
+
public getWorkspaceMembers(organizationId: string, workspaceId: string, options?: RawAxiosRequestConfig) {
|
|
11569
|
+
return WorkspaceApiFp(this.configuration).getWorkspaceMembers(organizationId, workspaceId, options).then((request) => request(this.axios, this.basePath));
|
|
11570
|
+
}
|
|
11571
|
+
|
|
10749
11572
|
/**
|
|
10750
11573
|
*
|
|
10751
11574
|
* @summary Get the Workspace security information
|