qovery-typescript-axios 1.1.698 → 1.1.700
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/api.ts +127 -6
- package/dist/api.d.ts +83 -6
- package/dist/api.js +71 -0
- package/dist/esm/api.d.ts +83 -6
- package/dist/esm/api.js +71 -0
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -1654,10 +1654,10 @@ export interface BaseJobResponse {
|
|
|
1654
1654
|
'port'?: number | null;
|
|
1655
1655
|
/**
|
|
1656
1656
|
*
|
|
1657
|
-
* @type {
|
|
1657
|
+
* @type {BaseJobResponseAllOfSource}
|
|
1658
1658
|
* @memberof BaseJobResponse
|
|
1659
1659
|
*/
|
|
1660
|
-
'source':
|
|
1660
|
+
'source': BaseJobResponseAllOfSource;
|
|
1661
1661
|
/**
|
|
1662
1662
|
*
|
|
1663
1663
|
* @type {Healthcheck}
|
|
@@ -1685,6 +1685,38 @@ export interface BaseJobResponse {
|
|
|
1685
1685
|
}
|
|
1686
1686
|
|
|
1687
1687
|
|
|
1688
|
+
/**
|
|
1689
|
+
* @type BaseJobResponseAllOfSource
|
|
1690
|
+
* @export
|
|
1691
|
+
*/
|
|
1692
|
+
export type BaseJobResponseAllOfSource = BaseJobResponseAllOfSourceOneOf | BaseJobResponseAllOfSourceOneOf1;
|
|
1693
|
+
|
|
1694
|
+
/**
|
|
1695
|
+
*
|
|
1696
|
+
* @export
|
|
1697
|
+
* @interface BaseJobResponseAllOfSourceOneOf
|
|
1698
|
+
*/
|
|
1699
|
+
export interface BaseJobResponseAllOfSourceOneOf {
|
|
1700
|
+
/**
|
|
1701
|
+
*
|
|
1702
|
+
* @type {ContainerSource}
|
|
1703
|
+
* @memberof BaseJobResponseAllOfSourceOneOf
|
|
1704
|
+
*/
|
|
1705
|
+
'image': ContainerSource;
|
|
1706
|
+
}
|
|
1707
|
+
/**
|
|
1708
|
+
*
|
|
1709
|
+
* @export
|
|
1710
|
+
* @interface BaseJobResponseAllOfSourceOneOf1
|
|
1711
|
+
*/
|
|
1712
|
+
export interface BaseJobResponseAllOfSourceOneOf1 {
|
|
1713
|
+
/**
|
|
1714
|
+
*
|
|
1715
|
+
* @type {JobSourceDockerResponse}
|
|
1716
|
+
* @memberof BaseJobResponseAllOfSourceOneOf1
|
|
1717
|
+
*/
|
|
1718
|
+
'docker': JobSourceDockerResponse;
|
|
1719
|
+
}
|
|
1688
1720
|
/**
|
|
1689
1721
|
*
|
|
1690
1722
|
* @export
|
|
@@ -5545,10 +5577,10 @@ export interface CronJobResponse {
|
|
|
5545
5577
|
'port'?: number | null;
|
|
5546
5578
|
/**
|
|
5547
5579
|
*
|
|
5548
|
-
* @type {
|
|
5580
|
+
* @type {BaseJobResponseAllOfSource}
|
|
5549
5581
|
* @memberof CronJobResponse
|
|
5550
5582
|
*/
|
|
5551
|
-
'source':
|
|
5583
|
+
'source': BaseJobResponseAllOfSource;
|
|
5552
5584
|
/**
|
|
5553
5585
|
*
|
|
5554
5586
|
* @type {Healthcheck}
|
|
@@ -7658,6 +7690,19 @@ export interface EnterpriseConnectionDto {
|
|
|
7658
7690
|
*/
|
|
7659
7691
|
'group_mappings': { [key: string]: Array<string>; };
|
|
7660
7692
|
}
|
|
7693
|
+
/**
|
|
7694
|
+
*
|
|
7695
|
+
* @export
|
|
7696
|
+
* @interface EnterpriseConnectionResponseList
|
|
7697
|
+
*/
|
|
7698
|
+
export interface EnterpriseConnectionResponseList {
|
|
7699
|
+
/**
|
|
7700
|
+
*
|
|
7701
|
+
* @type {Array<EnterpriseConnectionDto>}
|
|
7702
|
+
* @memberof EnterpriseConnectionResponseList
|
|
7703
|
+
*/
|
|
7704
|
+
'results'?: Array<EnterpriseConnectionDto>;
|
|
7705
|
+
}
|
|
7661
7706
|
/**
|
|
7662
7707
|
*
|
|
7663
7708
|
* @export
|
|
@@ -12429,10 +12474,10 @@ export interface LifecycleJobResponse {
|
|
|
12429
12474
|
'port'?: number | null;
|
|
12430
12475
|
/**
|
|
12431
12476
|
*
|
|
12432
|
-
* @type {
|
|
12477
|
+
* @type {BaseJobResponseAllOfSource}
|
|
12433
12478
|
* @memberof LifecycleJobResponse
|
|
12434
12479
|
*/
|
|
12435
|
-
'source':
|
|
12480
|
+
'source': BaseJobResponseAllOfSource;
|
|
12436
12481
|
/**
|
|
12437
12482
|
*
|
|
12438
12483
|
* @type {Healthcheck}
|
|
@@ -53342,6 +53387,47 @@ export const OrganizationEnterpriseConnectionApiAxiosParamCreator = function (co
|
|
|
53342
53387
|
|
|
53343
53388
|
|
|
53344
53389
|
|
|
53390
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
53391
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
53392
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
53393
|
+
|
|
53394
|
+
return {
|
|
53395
|
+
url: toPathString(localVarUrlObj),
|
|
53396
|
+
options: localVarRequestOptions,
|
|
53397
|
+
};
|
|
53398
|
+
},
|
|
53399
|
+
/**
|
|
53400
|
+
*
|
|
53401
|
+
* @summary List enterprise connections
|
|
53402
|
+
* @param {string} organizationId Organization ID
|
|
53403
|
+
* @param {*} [options] Override http request option.
|
|
53404
|
+
* @throws {RequiredError}
|
|
53405
|
+
*/
|
|
53406
|
+
listOrganizationEnterpriseConnections: async (organizationId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
53407
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
53408
|
+
assertParamExists('listOrganizationEnterpriseConnections', 'organizationId', organizationId)
|
|
53409
|
+
const localVarPath = `/organization/{organizationId}/enterpriseconnection`
|
|
53410
|
+
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
|
|
53411
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
53412
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
53413
|
+
let baseOptions;
|
|
53414
|
+
if (configuration) {
|
|
53415
|
+
baseOptions = configuration.baseOptions;
|
|
53416
|
+
}
|
|
53417
|
+
|
|
53418
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
53419
|
+
const localVarHeaderParameter = {} as any;
|
|
53420
|
+
const localVarQueryParameter = {} as any;
|
|
53421
|
+
|
|
53422
|
+
// authentication ApiKeyAuth required
|
|
53423
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
53424
|
+
|
|
53425
|
+
// authentication bearerAuth required
|
|
53426
|
+
// http bearer authentication required
|
|
53427
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
53428
|
+
|
|
53429
|
+
|
|
53430
|
+
|
|
53345
53431
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
53346
53432
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
53347
53433
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -53424,6 +53510,19 @@ export const OrganizationEnterpriseConnectionApiFp = function(configuration?: Co
|
|
|
53424
53510
|
const localVarOperationServerBasePath = operationServerMap['OrganizationEnterpriseConnectionApi.getOrganizationEnterpriseConnection']?.[localVarOperationServerIndex]?.url;
|
|
53425
53511
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
53426
53512
|
},
|
|
53513
|
+
/**
|
|
53514
|
+
*
|
|
53515
|
+
* @summary List enterprise connections
|
|
53516
|
+
* @param {string} organizationId Organization ID
|
|
53517
|
+
* @param {*} [options] Override http request option.
|
|
53518
|
+
* @throws {RequiredError}
|
|
53519
|
+
*/
|
|
53520
|
+
async listOrganizationEnterpriseConnections(organizationId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EnterpriseConnectionResponseList>> {
|
|
53521
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listOrganizationEnterpriseConnections(organizationId, options);
|
|
53522
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
53523
|
+
const localVarOperationServerBasePath = operationServerMap['OrganizationEnterpriseConnectionApi.listOrganizationEnterpriseConnections']?.[localVarOperationServerIndex]?.url;
|
|
53524
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
53525
|
+
},
|
|
53427
53526
|
/**
|
|
53428
53527
|
*
|
|
53429
53528
|
* @summary Update enterprise connection
|
|
@@ -53460,6 +53559,16 @@ export const OrganizationEnterpriseConnectionApiFactory = function (configuratio
|
|
|
53460
53559
|
getOrganizationEnterpriseConnection(organizationId: string, connectionName: string, options?: RawAxiosRequestConfig): AxiosPromise<EnterpriseConnectionDto> {
|
|
53461
53560
|
return localVarFp.getOrganizationEnterpriseConnection(organizationId, connectionName, options).then((request) => request(axios, basePath));
|
|
53462
53561
|
},
|
|
53562
|
+
/**
|
|
53563
|
+
*
|
|
53564
|
+
* @summary List enterprise connections
|
|
53565
|
+
* @param {string} organizationId Organization ID
|
|
53566
|
+
* @param {*} [options] Override http request option.
|
|
53567
|
+
* @throws {RequiredError}
|
|
53568
|
+
*/
|
|
53569
|
+
listOrganizationEnterpriseConnections(organizationId: string, options?: RawAxiosRequestConfig): AxiosPromise<EnterpriseConnectionResponseList> {
|
|
53570
|
+
return localVarFp.listOrganizationEnterpriseConnections(organizationId, options).then((request) => request(axios, basePath));
|
|
53571
|
+
},
|
|
53463
53572
|
/**
|
|
53464
53573
|
*
|
|
53465
53574
|
* @summary Update enterprise connection
|
|
@@ -53495,6 +53604,18 @@ export class OrganizationEnterpriseConnectionApi extends BaseAPI {
|
|
|
53495
53604
|
return OrganizationEnterpriseConnectionApiFp(this.configuration).getOrganizationEnterpriseConnection(organizationId, connectionName, options).then((request) => request(this.axios, this.basePath));
|
|
53496
53605
|
}
|
|
53497
53606
|
|
|
53607
|
+
/**
|
|
53608
|
+
*
|
|
53609
|
+
* @summary List enterprise connections
|
|
53610
|
+
* @param {string} organizationId Organization ID
|
|
53611
|
+
* @param {*} [options] Override http request option.
|
|
53612
|
+
* @throws {RequiredError}
|
|
53613
|
+
* @memberof OrganizationEnterpriseConnectionApi
|
|
53614
|
+
*/
|
|
53615
|
+
public listOrganizationEnterpriseConnections(organizationId: string, options?: RawAxiosRequestConfig) {
|
|
53616
|
+
return OrganizationEnterpriseConnectionApiFp(this.configuration).listOrganizationEnterpriseConnections(organizationId, options).then((request) => request(this.axios, this.basePath));
|
|
53617
|
+
}
|
|
53618
|
+
|
|
53498
53619
|
/**
|
|
53499
53620
|
*
|
|
53500
53621
|
* @summary Update enterprise connection
|
package/dist/api.d.ts
CHANGED
|
@@ -1603,10 +1603,10 @@ export interface BaseJobResponse {
|
|
|
1603
1603
|
'port'?: number | null;
|
|
1604
1604
|
/**
|
|
1605
1605
|
*
|
|
1606
|
-
* @type {
|
|
1606
|
+
* @type {BaseJobResponseAllOfSource}
|
|
1607
1607
|
* @memberof BaseJobResponse
|
|
1608
1608
|
*/
|
|
1609
|
-
'source':
|
|
1609
|
+
'source': BaseJobResponseAllOfSource;
|
|
1610
1610
|
/**
|
|
1611
1611
|
*
|
|
1612
1612
|
* @type {Healthcheck}
|
|
@@ -1632,6 +1632,37 @@ export interface BaseJobResponse {
|
|
|
1632
1632
|
*/
|
|
1633
1633
|
'service_type': ServiceTypeEnum;
|
|
1634
1634
|
}
|
|
1635
|
+
/**
|
|
1636
|
+
* @type BaseJobResponseAllOfSource
|
|
1637
|
+
* @export
|
|
1638
|
+
*/
|
|
1639
|
+
export type BaseJobResponseAllOfSource = BaseJobResponseAllOfSourceOneOf | BaseJobResponseAllOfSourceOneOf1;
|
|
1640
|
+
/**
|
|
1641
|
+
*
|
|
1642
|
+
* @export
|
|
1643
|
+
* @interface BaseJobResponseAllOfSourceOneOf
|
|
1644
|
+
*/
|
|
1645
|
+
export interface BaseJobResponseAllOfSourceOneOf {
|
|
1646
|
+
/**
|
|
1647
|
+
*
|
|
1648
|
+
* @type {ContainerSource}
|
|
1649
|
+
* @memberof BaseJobResponseAllOfSourceOneOf
|
|
1650
|
+
*/
|
|
1651
|
+
'image': ContainerSource;
|
|
1652
|
+
}
|
|
1653
|
+
/**
|
|
1654
|
+
*
|
|
1655
|
+
* @export
|
|
1656
|
+
* @interface BaseJobResponseAllOfSourceOneOf1
|
|
1657
|
+
*/
|
|
1658
|
+
export interface BaseJobResponseAllOfSourceOneOf1 {
|
|
1659
|
+
/**
|
|
1660
|
+
*
|
|
1661
|
+
* @type {JobSourceDockerResponse}
|
|
1662
|
+
* @memberof BaseJobResponseAllOfSourceOneOf1
|
|
1663
|
+
*/
|
|
1664
|
+
'docker': JobSourceDockerResponse;
|
|
1665
|
+
}
|
|
1635
1666
|
/**
|
|
1636
1667
|
*
|
|
1637
1668
|
* @export
|
|
@@ -5409,10 +5440,10 @@ export interface CronJobResponse {
|
|
|
5409
5440
|
'port'?: number | null;
|
|
5410
5441
|
/**
|
|
5411
5442
|
*
|
|
5412
|
-
* @type {
|
|
5443
|
+
* @type {BaseJobResponseAllOfSource}
|
|
5413
5444
|
* @memberof CronJobResponse
|
|
5414
5445
|
*/
|
|
5415
|
-
'source':
|
|
5446
|
+
'source': BaseJobResponseAllOfSource;
|
|
5416
5447
|
/**
|
|
5417
5448
|
*
|
|
5418
5449
|
* @type {Healthcheck}
|
|
@@ -7437,6 +7468,19 @@ export interface EnterpriseConnectionDto {
|
|
|
7437
7468
|
[key: string]: Array<string>;
|
|
7438
7469
|
};
|
|
7439
7470
|
}
|
|
7471
|
+
/**
|
|
7472
|
+
*
|
|
7473
|
+
* @export
|
|
7474
|
+
* @interface EnterpriseConnectionResponseList
|
|
7475
|
+
*/
|
|
7476
|
+
export interface EnterpriseConnectionResponseList {
|
|
7477
|
+
/**
|
|
7478
|
+
*
|
|
7479
|
+
* @type {Array<EnterpriseConnectionDto>}
|
|
7480
|
+
* @memberof EnterpriseConnectionResponseList
|
|
7481
|
+
*/
|
|
7482
|
+
'results'?: Array<EnterpriseConnectionDto>;
|
|
7483
|
+
}
|
|
7440
7484
|
/**
|
|
7441
7485
|
*
|
|
7442
7486
|
* @export
|
|
@@ -12062,10 +12106,10 @@ export interface LifecycleJobResponse {
|
|
|
12062
12106
|
'port'?: number | null;
|
|
12063
12107
|
/**
|
|
12064
12108
|
*
|
|
12065
|
-
* @type {
|
|
12109
|
+
* @type {BaseJobResponseAllOfSource}
|
|
12066
12110
|
* @memberof LifecycleJobResponse
|
|
12067
12111
|
*/
|
|
12068
|
-
'source':
|
|
12112
|
+
'source': BaseJobResponseAllOfSource;
|
|
12069
12113
|
/**
|
|
12070
12114
|
*
|
|
12071
12115
|
* @type {Healthcheck}
|
|
@@ -34141,6 +34185,14 @@ export declare const OrganizationEnterpriseConnectionApiAxiosParamCreator: (conf
|
|
|
34141
34185
|
* @throws {RequiredError}
|
|
34142
34186
|
*/
|
|
34143
34187
|
getOrganizationEnterpriseConnection: (organizationId: string, connectionName: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
34188
|
+
/**
|
|
34189
|
+
*
|
|
34190
|
+
* @summary List enterprise connections
|
|
34191
|
+
* @param {string} organizationId Organization ID
|
|
34192
|
+
* @param {*} [options] Override http request option.
|
|
34193
|
+
* @throws {RequiredError}
|
|
34194
|
+
*/
|
|
34195
|
+
listOrganizationEnterpriseConnections: (organizationId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
34144
34196
|
/**
|
|
34145
34197
|
*
|
|
34146
34198
|
* @summary Update enterprise connection
|
|
@@ -34166,6 +34218,14 @@ export declare const OrganizationEnterpriseConnectionApiFp: (configuration?: Con
|
|
|
34166
34218
|
* @throws {RequiredError}
|
|
34167
34219
|
*/
|
|
34168
34220
|
getOrganizationEnterpriseConnection(organizationId: string, connectionName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EnterpriseConnectionDto>>;
|
|
34221
|
+
/**
|
|
34222
|
+
*
|
|
34223
|
+
* @summary List enterprise connections
|
|
34224
|
+
* @param {string} organizationId Organization ID
|
|
34225
|
+
* @param {*} [options] Override http request option.
|
|
34226
|
+
* @throws {RequiredError}
|
|
34227
|
+
*/
|
|
34228
|
+
listOrganizationEnterpriseConnections(organizationId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EnterpriseConnectionResponseList>>;
|
|
34169
34229
|
/**
|
|
34170
34230
|
*
|
|
34171
34231
|
* @summary Update enterprise connection
|
|
@@ -34191,6 +34251,14 @@ export declare const OrganizationEnterpriseConnectionApiFactory: (configuration?
|
|
|
34191
34251
|
* @throws {RequiredError}
|
|
34192
34252
|
*/
|
|
34193
34253
|
getOrganizationEnterpriseConnection(organizationId: string, connectionName: string, options?: RawAxiosRequestConfig): AxiosPromise<EnterpriseConnectionDto>;
|
|
34254
|
+
/**
|
|
34255
|
+
*
|
|
34256
|
+
* @summary List enterprise connections
|
|
34257
|
+
* @param {string} organizationId Organization ID
|
|
34258
|
+
* @param {*} [options] Override http request option.
|
|
34259
|
+
* @throws {RequiredError}
|
|
34260
|
+
*/
|
|
34261
|
+
listOrganizationEnterpriseConnections(organizationId: string, options?: RawAxiosRequestConfig): AxiosPromise<EnterpriseConnectionResponseList>;
|
|
34194
34262
|
/**
|
|
34195
34263
|
*
|
|
34196
34264
|
* @summary Update enterprise connection
|
|
@@ -34219,6 +34287,15 @@ export declare class OrganizationEnterpriseConnectionApi extends BaseAPI {
|
|
|
34219
34287
|
* @memberof OrganizationEnterpriseConnectionApi
|
|
34220
34288
|
*/
|
|
34221
34289
|
getOrganizationEnterpriseConnection(organizationId: string, connectionName: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EnterpriseConnectionDto, any, {}>>;
|
|
34290
|
+
/**
|
|
34291
|
+
*
|
|
34292
|
+
* @summary List enterprise connections
|
|
34293
|
+
* @param {string} organizationId Organization ID
|
|
34294
|
+
* @param {*} [options] Override http request option.
|
|
34295
|
+
* @throws {RequiredError}
|
|
34296
|
+
* @memberof OrganizationEnterpriseConnectionApi
|
|
34297
|
+
*/
|
|
34298
|
+
listOrganizationEnterpriseConnections(organizationId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EnterpriseConnectionResponseList, any, {}>>;
|
|
34222
34299
|
/**
|
|
34223
34300
|
*
|
|
34224
34301
|
* @summary Update enterprise connection
|
package/dist/api.js
CHANGED
|
@@ -33305,6 +33305,40 @@ const OrganizationEnterpriseConnectionApiAxiosParamCreator = function (configura
|
|
|
33305
33305
|
options: localVarRequestOptions,
|
|
33306
33306
|
};
|
|
33307
33307
|
}),
|
|
33308
|
+
/**
|
|
33309
|
+
*
|
|
33310
|
+
* @summary List enterprise connections
|
|
33311
|
+
* @param {string} organizationId Organization ID
|
|
33312
|
+
* @param {*} [options] Override http request option.
|
|
33313
|
+
* @throws {RequiredError}
|
|
33314
|
+
*/
|
|
33315
|
+
listOrganizationEnterpriseConnections: (organizationId_1, ...args_1) => __awaiter(this, [organizationId_1, ...args_1], void 0, function* (organizationId, options = {}) {
|
|
33316
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
33317
|
+
(0, common_1.assertParamExists)('listOrganizationEnterpriseConnections', 'organizationId', organizationId);
|
|
33318
|
+
const localVarPath = `/organization/{organizationId}/enterpriseconnection`
|
|
33319
|
+
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
|
|
33320
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
33321
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
33322
|
+
let baseOptions;
|
|
33323
|
+
if (configuration) {
|
|
33324
|
+
baseOptions = configuration.baseOptions;
|
|
33325
|
+
}
|
|
33326
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
33327
|
+
const localVarHeaderParameter = {};
|
|
33328
|
+
const localVarQueryParameter = {};
|
|
33329
|
+
// authentication ApiKeyAuth required
|
|
33330
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
33331
|
+
// authentication bearerAuth required
|
|
33332
|
+
// http bearer authentication required
|
|
33333
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
33334
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
33335
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
33336
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
33337
|
+
return {
|
|
33338
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
33339
|
+
options: localVarRequestOptions,
|
|
33340
|
+
};
|
|
33341
|
+
}),
|
|
33308
33342
|
/**
|
|
33309
33343
|
*
|
|
33310
33344
|
* @summary Update enterprise connection
|
|
@@ -33373,6 +33407,22 @@ const OrganizationEnterpriseConnectionApiFp = function (configuration) {
|
|
|
33373
33407
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
33374
33408
|
});
|
|
33375
33409
|
},
|
|
33410
|
+
/**
|
|
33411
|
+
*
|
|
33412
|
+
* @summary List enterprise connections
|
|
33413
|
+
* @param {string} organizationId Organization ID
|
|
33414
|
+
* @param {*} [options] Override http request option.
|
|
33415
|
+
* @throws {RequiredError}
|
|
33416
|
+
*/
|
|
33417
|
+
listOrganizationEnterpriseConnections(organizationId, options) {
|
|
33418
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
33419
|
+
var _a, _b, _c;
|
|
33420
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listOrganizationEnterpriseConnections(organizationId, options);
|
|
33421
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
33422
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OrganizationEnterpriseConnectionApi.listOrganizationEnterpriseConnections']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
33423
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
33424
|
+
});
|
|
33425
|
+
},
|
|
33376
33426
|
/**
|
|
33377
33427
|
*
|
|
33378
33428
|
* @summary Update enterprise connection
|
|
@@ -33412,6 +33462,16 @@ const OrganizationEnterpriseConnectionApiFactory = function (configuration, base
|
|
|
33412
33462
|
getOrganizationEnterpriseConnection(organizationId, connectionName, options) {
|
|
33413
33463
|
return localVarFp.getOrganizationEnterpriseConnection(organizationId, connectionName, options).then((request) => request(axios, basePath));
|
|
33414
33464
|
},
|
|
33465
|
+
/**
|
|
33466
|
+
*
|
|
33467
|
+
* @summary List enterprise connections
|
|
33468
|
+
* @param {string} organizationId Organization ID
|
|
33469
|
+
* @param {*} [options] Override http request option.
|
|
33470
|
+
* @throws {RequiredError}
|
|
33471
|
+
*/
|
|
33472
|
+
listOrganizationEnterpriseConnections(organizationId, options) {
|
|
33473
|
+
return localVarFp.listOrganizationEnterpriseConnections(organizationId, options).then((request) => request(axios, basePath));
|
|
33474
|
+
},
|
|
33415
33475
|
/**
|
|
33416
33476
|
*
|
|
33417
33477
|
* @summary Update enterprise connection
|
|
@@ -33446,6 +33506,17 @@ class OrganizationEnterpriseConnectionApi extends base_1.BaseAPI {
|
|
|
33446
33506
|
getOrganizationEnterpriseConnection(organizationId, connectionName, options) {
|
|
33447
33507
|
return (0, exports.OrganizationEnterpriseConnectionApiFp)(this.configuration).getOrganizationEnterpriseConnection(organizationId, connectionName, options).then((request) => request(this.axios, this.basePath));
|
|
33448
33508
|
}
|
|
33509
|
+
/**
|
|
33510
|
+
*
|
|
33511
|
+
* @summary List enterprise connections
|
|
33512
|
+
* @param {string} organizationId Organization ID
|
|
33513
|
+
* @param {*} [options] Override http request option.
|
|
33514
|
+
* @throws {RequiredError}
|
|
33515
|
+
* @memberof OrganizationEnterpriseConnectionApi
|
|
33516
|
+
*/
|
|
33517
|
+
listOrganizationEnterpriseConnections(organizationId, options) {
|
|
33518
|
+
return (0, exports.OrganizationEnterpriseConnectionApiFp)(this.configuration).listOrganizationEnterpriseConnections(organizationId, options).then((request) => request(this.axios, this.basePath));
|
|
33519
|
+
}
|
|
33449
33520
|
/**
|
|
33450
33521
|
*
|
|
33451
33522
|
* @summary Update enterprise connection
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -1603,10 +1603,10 @@ export interface BaseJobResponse {
|
|
|
1603
1603
|
'port'?: number | null;
|
|
1604
1604
|
/**
|
|
1605
1605
|
*
|
|
1606
|
-
* @type {
|
|
1606
|
+
* @type {BaseJobResponseAllOfSource}
|
|
1607
1607
|
* @memberof BaseJobResponse
|
|
1608
1608
|
*/
|
|
1609
|
-
'source':
|
|
1609
|
+
'source': BaseJobResponseAllOfSource;
|
|
1610
1610
|
/**
|
|
1611
1611
|
*
|
|
1612
1612
|
* @type {Healthcheck}
|
|
@@ -1632,6 +1632,37 @@ export interface BaseJobResponse {
|
|
|
1632
1632
|
*/
|
|
1633
1633
|
'service_type': ServiceTypeEnum;
|
|
1634
1634
|
}
|
|
1635
|
+
/**
|
|
1636
|
+
* @type BaseJobResponseAllOfSource
|
|
1637
|
+
* @export
|
|
1638
|
+
*/
|
|
1639
|
+
export type BaseJobResponseAllOfSource = BaseJobResponseAllOfSourceOneOf | BaseJobResponseAllOfSourceOneOf1;
|
|
1640
|
+
/**
|
|
1641
|
+
*
|
|
1642
|
+
* @export
|
|
1643
|
+
* @interface BaseJobResponseAllOfSourceOneOf
|
|
1644
|
+
*/
|
|
1645
|
+
export interface BaseJobResponseAllOfSourceOneOf {
|
|
1646
|
+
/**
|
|
1647
|
+
*
|
|
1648
|
+
* @type {ContainerSource}
|
|
1649
|
+
* @memberof BaseJobResponseAllOfSourceOneOf
|
|
1650
|
+
*/
|
|
1651
|
+
'image': ContainerSource;
|
|
1652
|
+
}
|
|
1653
|
+
/**
|
|
1654
|
+
*
|
|
1655
|
+
* @export
|
|
1656
|
+
* @interface BaseJobResponseAllOfSourceOneOf1
|
|
1657
|
+
*/
|
|
1658
|
+
export interface BaseJobResponseAllOfSourceOneOf1 {
|
|
1659
|
+
/**
|
|
1660
|
+
*
|
|
1661
|
+
* @type {JobSourceDockerResponse}
|
|
1662
|
+
* @memberof BaseJobResponseAllOfSourceOneOf1
|
|
1663
|
+
*/
|
|
1664
|
+
'docker': JobSourceDockerResponse;
|
|
1665
|
+
}
|
|
1635
1666
|
/**
|
|
1636
1667
|
*
|
|
1637
1668
|
* @export
|
|
@@ -5409,10 +5440,10 @@ export interface CronJobResponse {
|
|
|
5409
5440
|
'port'?: number | null;
|
|
5410
5441
|
/**
|
|
5411
5442
|
*
|
|
5412
|
-
* @type {
|
|
5443
|
+
* @type {BaseJobResponseAllOfSource}
|
|
5413
5444
|
* @memberof CronJobResponse
|
|
5414
5445
|
*/
|
|
5415
|
-
'source':
|
|
5446
|
+
'source': BaseJobResponseAllOfSource;
|
|
5416
5447
|
/**
|
|
5417
5448
|
*
|
|
5418
5449
|
* @type {Healthcheck}
|
|
@@ -7437,6 +7468,19 @@ export interface EnterpriseConnectionDto {
|
|
|
7437
7468
|
[key: string]: Array<string>;
|
|
7438
7469
|
};
|
|
7439
7470
|
}
|
|
7471
|
+
/**
|
|
7472
|
+
*
|
|
7473
|
+
* @export
|
|
7474
|
+
* @interface EnterpriseConnectionResponseList
|
|
7475
|
+
*/
|
|
7476
|
+
export interface EnterpriseConnectionResponseList {
|
|
7477
|
+
/**
|
|
7478
|
+
*
|
|
7479
|
+
* @type {Array<EnterpriseConnectionDto>}
|
|
7480
|
+
* @memberof EnterpriseConnectionResponseList
|
|
7481
|
+
*/
|
|
7482
|
+
'results'?: Array<EnterpriseConnectionDto>;
|
|
7483
|
+
}
|
|
7440
7484
|
/**
|
|
7441
7485
|
*
|
|
7442
7486
|
* @export
|
|
@@ -12062,10 +12106,10 @@ export interface LifecycleJobResponse {
|
|
|
12062
12106
|
'port'?: number | null;
|
|
12063
12107
|
/**
|
|
12064
12108
|
*
|
|
12065
|
-
* @type {
|
|
12109
|
+
* @type {BaseJobResponseAllOfSource}
|
|
12066
12110
|
* @memberof LifecycleJobResponse
|
|
12067
12111
|
*/
|
|
12068
|
-
'source':
|
|
12112
|
+
'source': BaseJobResponseAllOfSource;
|
|
12069
12113
|
/**
|
|
12070
12114
|
*
|
|
12071
12115
|
* @type {Healthcheck}
|
|
@@ -34141,6 +34185,14 @@ export declare const OrganizationEnterpriseConnectionApiAxiosParamCreator: (conf
|
|
|
34141
34185
|
* @throws {RequiredError}
|
|
34142
34186
|
*/
|
|
34143
34187
|
getOrganizationEnterpriseConnection: (organizationId: string, connectionName: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
34188
|
+
/**
|
|
34189
|
+
*
|
|
34190
|
+
* @summary List enterprise connections
|
|
34191
|
+
* @param {string} organizationId Organization ID
|
|
34192
|
+
* @param {*} [options] Override http request option.
|
|
34193
|
+
* @throws {RequiredError}
|
|
34194
|
+
*/
|
|
34195
|
+
listOrganizationEnterpriseConnections: (organizationId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
34144
34196
|
/**
|
|
34145
34197
|
*
|
|
34146
34198
|
* @summary Update enterprise connection
|
|
@@ -34166,6 +34218,14 @@ export declare const OrganizationEnterpriseConnectionApiFp: (configuration?: Con
|
|
|
34166
34218
|
* @throws {RequiredError}
|
|
34167
34219
|
*/
|
|
34168
34220
|
getOrganizationEnterpriseConnection(organizationId: string, connectionName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EnterpriseConnectionDto>>;
|
|
34221
|
+
/**
|
|
34222
|
+
*
|
|
34223
|
+
* @summary List enterprise connections
|
|
34224
|
+
* @param {string} organizationId Organization ID
|
|
34225
|
+
* @param {*} [options] Override http request option.
|
|
34226
|
+
* @throws {RequiredError}
|
|
34227
|
+
*/
|
|
34228
|
+
listOrganizationEnterpriseConnections(organizationId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EnterpriseConnectionResponseList>>;
|
|
34169
34229
|
/**
|
|
34170
34230
|
*
|
|
34171
34231
|
* @summary Update enterprise connection
|
|
@@ -34191,6 +34251,14 @@ export declare const OrganizationEnterpriseConnectionApiFactory: (configuration?
|
|
|
34191
34251
|
* @throws {RequiredError}
|
|
34192
34252
|
*/
|
|
34193
34253
|
getOrganizationEnterpriseConnection(organizationId: string, connectionName: string, options?: RawAxiosRequestConfig): AxiosPromise<EnterpriseConnectionDto>;
|
|
34254
|
+
/**
|
|
34255
|
+
*
|
|
34256
|
+
* @summary List enterprise connections
|
|
34257
|
+
* @param {string} organizationId Organization ID
|
|
34258
|
+
* @param {*} [options] Override http request option.
|
|
34259
|
+
* @throws {RequiredError}
|
|
34260
|
+
*/
|
|
34261
|
+
listOrganizationEnterpriseConnections(organizationId: string, options?: RawAxiosRequestConfig): AxiosPromise<EnterpriseConnectionResponseList>;
|
|
34194
34262
|
/**
|
|
34195
34263
|
*
|
|
34196
34264
|
* @summary Update enterprise connection
|
|
@@ -34219,6 +34287,15 @@ export declare class OrganizationEnterpriseConnectionApi extends BaseAPI {
|
|
|
34219
34287
|
* @memberof OrganizationEnterpriseConnectionApi
|
|
34220
34288
|
*/
|
|
34221
34289
|
getOrganizationEnterpriseConnection(organizationId: string, connectionName: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EnterpriseConnectionDto, any, {}>>;
|
|
34290
|
+
/**
|
|
34291
|
+
*
|
|
34292
|
+
* @summary List enterprise connections
|
|
34293
|
+
* @param {string} organizationId Organization ID
|
|
34294
|
+
* @param {*} [options] Override http request option.
|
|
34295
|
+
* @throws {RequiredError}
|
|
34296
|
+
* @memberof OrganizationEnterpriseConnectionApi
|
|
34297
|
+
*/
|
|
34298
|
+
listOrganizationEnterpriseConnections(organizationId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EnterpriseConnectionResponseList, any, {}>>;
|
|
34222
34299
|
/**
|
|
34223
34300
|
*
|
|
34224
34301
|
* @summary Update enterprise connection
|
package/dist/esm/api.js
CHANGED
|
@@ -33017,6 +33017,40 @@ export const OrganizationEnterpriseConnectionApiAxiosParamCreator = function (co
|
|
|
33017
33017
|
options: localVarRequestOptions,
|
|
33018
33018
|
};
|
|
33019
33019
|
}),
|
|
33020
|
+
/**
|
|
33021
|
+
*
|
|
33022
|
+
* @summary List enterprise connections
|
|
33023
|
+
* @param {string} organizationId Organization ID
|
|
33024
|
+
* @param {*} [options] Override http request option.
|
|
33025
|
+
* @throws {RequiredError}
|
|
33026
|
+
*/
|
|
33027
|
+
listOrganizationEnterpriseConnections: (organizationId_1, ...args_1) => __awaiter(this, [organizationId_1, ...args_1], void 0, function* (organizationId, options = {}) {
|
|
33028
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
33029
|
+
assertParamExists('listOrganizationEnterpriseConnections', 'organizationId', organizationId);
|
|
33030
|
+
const localVarPath = `/organization/{organizationId}/enterpriseconnection`
|
|
33031
|
+
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
|
|
33032
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
33033
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
33034
|
+
let baseOptions;
|
|
33035
|
+
if (configuration) {
|
|
33036
|
+
baseOptions = configuration.baseOptions;
|
|
33037
|
+
}
|
|
33038
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
33039
|
+
const localVarHeaderParameter = {};
|
|
33040
|
+
const localVarQueryParameter = {};
|
|
33041
|
+
// authentication ApiKeyAuth required
|
|
33042
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
33043
|
+
// authentication bearerAuth required
|
|
33044
|
+
// http bearer authentication required
|
|
33045
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
33046
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
33047
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
33048
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
33049
|
+
return {
|
|
33050
|
+
url: toPathString(localVarUrlObj),
|
|
33051
|
+
options: localVarRequestOptions,
|
|
33052
|
+
};
|
|
33053
|
+
}),
|
|
33020
33054
|
/**
|
|
33021
33055
|
*
|
|
33022
33056
|
* @summary Update enterprise connection
|
|
@@ -33084,6 +33118,22 @@ export const OrganizationEnterpriseConnectionApiFp = function (configuration) {
|
|
|
33084
33118
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
33085
33119
|
});
|
|
33086
33120
|
},
|
|
33121
|
+
/**
|
|
33122
|
+
*
|
|
33123
|
+
* @summary List enterprise connections
|
|
33124
|
+
* @param {string} organizationId Organization ID
|
|
33125
|
+
* @param {*} [options] Override http request option.
|
|
33126
|
+
* @throws {RequiredError}
|
|
33127
|
+
*/
|
|
33128
|
+
listOrganizationEnterpriseConnections(organizationId, options) {
|
|
33129
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
33130
|
+
var _a, _b, _c;
|
|
33131
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listOrganizationEnterpriseConnections(organizationId, options);
|
|
33132
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
33133
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['OrganizationEnterpriseConnectionApi.listOrganizationEnterpriseConnections']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
33134
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
33135
|
+
});
|
|
33136
|
+
},
|
|
33087
33137
|
/**
|
|
33088
33138
|
*
|
|
33089
33139
|
* @summary Update enterprise connection
|
|
@@ -33122,6 +33172,16 @@ export const OrganizationEnterpriseConnectionApiFactory = function (configuratio
|
|
|
33122
33172
|
getOrganizationEnterpriseConnection(organizationId, connectionName, options) {
|
|
33123
33173
|
return localVarFp.getOrganizationEnterpriseConnection(organizationId, connectionName, options).then((request) => request(axios, basePath));
|
|
33124
33174
|
},
|
|
33175
|
+
/**
|
|
33176
|
+
*
|
|
33177
|
+
* @summary List enterprise connections
|
|
33178
|
+
* @param {string} organizationId Organization ID
|
|
33179
|
+
* @param {*} [options] Override http request option.
|
|
33180
|
+
* @throws {RequiredError}
|
|
33181
|
+
*/
|
|
33182
|
+
listOrganizationEnterpriseConnections(organizationId, options) {
|
|
33183
|
+
return localVarFp.listOrganizationEnterpriseConnections(organizationId, options).then((request) => request(axios, basePath));
|
|
33184
|
+
},
|
|
33125
33185
|
/**
|
|
33126
33186
|
*
|
|
33127
33187
|
* @summary Update enterprise connection
|
|
@@ -33155,6 +33215,17 @@ export class OrganizationEnterpriseConnectionApi extends BaseAPI {
|
|
|
33155
33215
|
getOrganizationEnterpriseConnection(organizationId, connectionName, options) {
|
|
33156
33216
|
return OrganizationEnterpriseConnectionApiFp(this.configuration).getOrganizationEnterpriseConnection(organizationId, connectionName, options).then((request) => request(this.axios, this.basePath));
|
|
33157
33217
|
}
|
|
33218
|
+
/**
|
|
33219
|
+
*
|
|
33220
|
+
* @summary List enterprise connections
|
|
33221
|
+
* @param {string} organizationId Organization ID
|
|
33222
|
+
* @param {*} [options] Override http request option.
|
|
33223
|
+
* @throws {RequiredError}
|
|
33224
|
+
* @memberof OrganizationEnterpriseConnectionApi
|
|
33225
|
+
*/
|
|
33226
|
+
listOrganizationEnterpriseConnections(organizationId, options) {
|
|
33227
|
+
return OrganizationEnterpriseConnectionApiFp(this.configuration).listOrganizationEnterpriseConnections(organizationId, options).then((request) => request(this.axios, this.basePath));
|
|
33228
|
+
}
|
|
33158
33229
|
/**
|
|
33159
33230
|
*
|
|
33160
33231
|
* @summary Update enterprise connection
|