qovery-typescript-axios 1.1.354 → 1.1.356
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 +88 -1
- package/dist/api.d.ts +47 -1
- package/dist/api.js +68 -0
- package/dist/esm/api.d.ts +47 -1
- package/dist/esm/api.js +68 -0
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -1354,6 +1354,19 @@ export interface BillingEnd {
|
|
|
1354
1354
|
*/
|
|
1355
1355
|
'billing_ended_on'?: string;
|
|
1356
1356
|
}
|
|
1357
|
+
/**
|
|
1358
|
+
*
|
|
1359
|
+
* @export
|
|
1360
|
+
* @interface BillingExternalId
|
|
1361
|
+
*/
|
|
1362
|
+
export interface BillingExternalId {
|
|
1363
|
+
/**
|
|
1364
|
+
*
|
|
1365
|
+
* @type {string}
|
|
1366
|
+
* @memberof BillingExternalId
|
|
1367
|
+
*/
|
|
1368
|
+
'id'?: string;
|
|
1369
|
+
}
|
|
1357
1370
|
/**
|
|
1358
1371
|
*
|
|
1359
1372
|
* @export
|
|
@@ -11172,7 +11185,7 @@ export interface Project {
|
|
|
11172
11185
|
* @type {ReferenceObject}
|
|
11173
11186
|
* @memberof Project
|
|
11174
11187
|
*/
|
|
11175
|
-
'organization'
|
|
11188
|
+
'organization': ReferenceObject;
|
|
11176
11189
|
}
|
|
11177
11190
|
/**
|
|
11178
11191
|
*
|
|
@@ -17575,6 +17588,47 @@ export const BillingApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
17575
17588
|
|
|
17576
17589
|
|
|
17577
17590
|
|
|
17591
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
17592
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
17593
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
17594
|
+
|
|
17595
|
+
return {
|
|
17596
|
+
url: toPathString(localVarUrlObj),
|
|
17597
|
+
options: localVarRequestOptions,
|
|
17598
|
+
};
|
|
17599
|
+
},
|
|
17600
|
+
/**
|
|
17601
|
+
* This endpoint returns the external ID of the organization\'s billing account.
|
|
17602
|
+
* @summary Get organization billing external ID
|
|
17603
|
+
* @param {string} organizationId Organization ID
|
|
17604
|
+
* @param {*} [options] Override http request option.
|
|
17605
|
+
* @throws {RequiredError}
|
|
17606
|
+
*/
|
|
17607
|
+
getOrganizationBillingExternalId: async (organizationId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
17608
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
17609
|
+
assertParamExists('getOrganizationBillingExternalId', 'organizationId', organizationId)
|
|
17610
|
+
const localVarPath = `/organization/{organizationId}/billingExternalId`
|
|
17611
|
+
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
|
|
17612
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
17613
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
17614
|
+
let baseOptions;
|
|
17615
|
+
if (configuration) {
|
|
17616
|
+
baseOptions = configuration.baseOptions;
|
|
17617
|
+
}
|
|
17618
|
+
|
|
17619
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
17620
|
+
const localVarHeaderParameter = {} as any;
|
|
17621
|
+
const localVarQueryParameter = {} as any;
|
|
17622
|
+
|
|
17623
|
+
// authentication ApiKeyAuth required
|
|
17624
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
17625
|
+
|
|
17626
|
+
// authentication bearerAuth required
|
|
17627
|
+
// http bearer authentication required
|
|
17628
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
17629
|
+
|
|
17630
|
+
|
|
17631
|
+
|
|
17578
17632
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
17579
17633
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
17580
17634
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -18002,6 +18056,17 @@ export const BillingApiFp = function(configuration?: Configuration) {
|
|
|
18002
18056
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getClusterCurrentCost(organizationId, clusterId, options);
|
|
18003
18057
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
18004
18058
|
},
|
|
18059
|
+
/**
|
|
18060
|
+
* This endpoint returns the external ID of the organization\'s billing account.
|
|
18061
|
+
* @summary Get organization billing external ID
|
|
18062
|
+
* @param {string} organizationId Organization ID
|
|
18063
|
+
* @param {*} [options] Override http request option.
|
|
18064
|
+
* @throws {RequiredError}
|
|
18065
|
+
*/
|
|
18066
|
+
async getOrganizationBillingExternalId(organizationId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BillingExternalId>> {
|
|
18067
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getOrganizationBillingExternalId(organizationId, options);
|
|
18068
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
18069
|
+
},
|
|
18005
18070
|
/**
|
|
18006
18071
|
*
|
|
18007
18072
|
* @summary Get organization billing info
|
|
@@ -18168,6 +18233,16 @@ export const BillingApiFactory = function (configuration?: Configuration, basePa
|
|
|
18168
18233
|
getClusterCurrentCost(organizationId: string, clusterId: string, options?: any): AxiosPromise<CostRange> {
|
|
18169
18234
|
return localVarFp.getClusterCurrentCost(organizationId, clusterId, options).then((request) => request(axios, basePath));
|
|
18170
18235
|
},
|
|
18236
|
+
/**
|
|
18237
|
+
* This endpoint returns the external ID of the organization\'s billing account.
|
|
18238
|
+
* @summary Get organization billing external ID
|
|
18239
|
+
* @param {string} organizationId Organization ID
|
|
18240
|
+
* @param {*} [options] Override http request option.
|
|
18241
|
+
* @throws {RequiredError}
|
|
18242
|
+
*/
|
|
18243
|
+
getOrganizationBillingExternalId(organizationId: string, options?: any): AxiosPromise<BillingExternalId> {
|
|
18244
|
+
return localVarFp.getOrganizationBillingExternalId(organizationId, options).then((request) => request(axios, basePath));
|
|
18245
|
+
},
|
|
18171
18246
|
/**
|
|
18172
18247
|
*
|
|
18173
18248
|
* @summary Get organization billing info
|
|
@@ -18338,6 +18413,18 @@ export class BillingApi extends BaseAPI {
|
|
|
18338
18413
|
return BillingApiFp(this.configuration).getClusterCurrentCost(organizationId, clusterId, options).then((request) => request(this.axios, this.basePath));
|
|
18339
18414
|
}
|
|
18340
18415
|
|
|
18416
|
+
/**
|
|
18417
|
+
* This endpoint returns the external ID of the organization\'s billing account.
|
|
18418
|
+
* @summary Get organization billing external ID
|
|
18419
|
+
* @param {string} organizationId Organization ID
|
|
18420
|
+
* @param {*} [options] Override http request option.
|
|
18421
|
+
* @throws {RequiredError}
|
|
18422
|
+
* @memberof BillingApi
|
|
18423
|
+
*/
|
|
18424
|
+
public getOrganizationBillingExternalId(organizationId: string, options?: AxiosRequestConfig) {
|
|
18425
|
+
return BillingApiFp(this.configuration).getOrganizationBillingExternalId(organizationId, options).then((request) => request(this.axios, this.basePath));
|
|
18426
|
+
}
|
|
18427
|
+
|
|
18341
18428
|
/**
|
|
18342
18429
|
*
|
|
18343
18430
|
* @summary Get organization billing info
|
package/dist/api.d.ts
CHANGED
|
@@ -1321,6 +1321,19 @@ export interface BillingEnd {
|
|
|
1321
1321
|
*/
|
|
1322
1322
|
'billing_ended_on'?: string;
|
|
1323
1323
|
}
|
|
1324
|
+
/**
|
|
1325
|
+
*
|
|
1326
|
+
* @export
|
|
1327
|
+
* @interface BillingExternalId
|
|
1328
|
+
*/
|
|
1329
|
+
export interface BillingExternalId {
|
|
1330
|
+
/**
|
|
1331
|
+
*
|
|
1332
|
+
* @type {string}
|
|
1333
|
+
* @memberof BillingExternalId
|
|
1334
|
+
*/
|
|
1335
|
+
'id'?: string;
|
|
1336
|
+
}
|
|
1324
1337
|
/**
|
|
1325
1338
|
*
|
|
1326
1339
|
* @export
|
|
@@ -10835,7 +10848,7 @@ export interface Project {
|
|
|
10835
10848
|
* @type {ReferenceObject}
|
|
10836
10849
|
* @memberof Project
|
|
10837
10850
|
*/
|
|
10838
|
-
'organization'
|
|
10851
|
+
'organization': ReferenceObject;
|
|
10839
10852
|
}
|
|
10840
10853
|
/**
|
|
10841
10854
|
*
|
|
@@ -14841,6 +14854,14 @@ export declare const BillingApiAxiosParamCreator: (configuration?: Configuration
|
|
|
14841
14854
|
* @throws {RequiredError}
|
|
14842
14855
|
*/
|
|
14843
14856
|
getClusterCurrentCost: (organizationId: string, clusterId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
14857
|
+
/**
|
|
14858
|
+
* This endpoint returns the external ID of the organization\'s billing account.
|
|
14859
|
+
* @summary Get organization billing external ID
|
|
14860
|
+
* @param {string} organizationId Organization ID
|
|
14861
|
+
* @param {*} [options] Override http request option.
|
|
14862
|
+
* @throws {RequiredError}
|
|
14863
|
+
*/
|
|
14864
|
+
getOrganizationBillingExternalId: (organizationId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
14844
14865
|
/**
|
|
14845
14866
|
*
|
|
14846
14867
|
* @summary Get organization billing info
|
|
@@ -14967,6 +14988,14 @@ export declare const BillingApiFp: (configuration?: Configuration) => {
|
|
|
14967
14988
|
* @throws {RequiredError}
|
|
14968
14989
|
*/
|
|
14969
14990
|
getClusterCurrentCost(organizationId: string, clusterId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CostRange>>;
|
|
14991
|
+
/**
|
|
14992
|
+
* This endpoint returns the external ID of the organization\'s billing account.
|
|
14993
|
+
* @summary Get organization billing external ID
|
|
14994
|
+
* @param {string} organizationId Organization ID
|
|
14995
|
+
* @param {*} [options] Override http request option.
|
|
14996
|
+
* @throws {RequiredError}
|
|
14997
|
+
*/
|
|
14998
|
+
getOrganizationBillingExternalId(organizationId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BillingExternalId>>;
|
|
14970
14999
|
/**
|
|
14971
15000
|
*
|
|
14972
15001
|
* @summary Get organization billing info
|
|
@@ -15093,6 +15122,14 @@ export declare const BillingApiFactory: (configuration?: Configuration, basePath
|
|
|
15093
15122
|
* @throws {RequiredError}
|
|
15094
15123
|
*/
|
|
15095
15124
|
getClusterCurrentCost(organizationId: string, clusterId: string, options?: any): AxiosPromise<CostRange>;
|
|
15125
|
+
/**
|
|
15126
|
+
* This endpoint returns the external ID of the organization\'s billing account.
|
|
15127
|
+
* @summary Get organization billing external ID
|
|
15128
|
+
* @param {string} organizationId Organization ID
|
|
15129
|
+
* @param {*} [options] Override http request option.
|
|
15130
|
+
* @throws {RequiredError}
|
|
15131
|
+
*/
|
|
15132
|
+
getOrganizationBillingExternalId(organizationId: string, options?: any): AxiosPromise<BillingExternalId>;
|
|
15096
15133
|
/**
|
|
15097
15134
|
*
|
|
15098
15135
|
* @summary Get organization billing info
|
|
@@ -15227,6 +15264,15 @@ export declare class BillingApi extends BaseAPI {
|
|
|
15227
15264
|
* @memberof BillingApi
|
|
15228
15265
|
*/
|
|
15229
15266
|
getClusterCurrentCost(organizationId: string, clusterId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CostRange, any>>;
|
|
15267
|
+
/**
|
|
15268
|
+
* This endpoint returns the external ID of the organization\'s billing account.
|
|
15269
|
+
* @summary Get organization billing external ID
|
|
15270
|
+
* @param {string} organizationId Organization ID
|
|
15271
|
+
* @param {*} [options] Override http request option.
|
|
15272
|
+
* @throws {RequiredError}
|
|
15273
|
+
* @memberof BillingApi
|
|
15274
|
+
*/
|
|
15275
|
+
getOrganizationBillingExternalId(organizationId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<BillingExternalId, any>>;
|
|
15230
15276
|
/**
|
|
15231
15277
|
*
|
|
15232
15278
|
* @summary Get organization billing info
|
package/dist/api.js
CHANGED
|
@@ -4682,6 +4682,40 @@ const BillingApiAxiosParamCreator = function (configuration) {
|
|
|
4682
4682
|
options: localVarRequestOptions,
|
|
4683
4683
|
};
|
|
4684
4684
|
}),
|
|
4685
|
+
/**
|
|
4686
|
+
* This endpoint returns the external ID of the organization\'s billing account.
|
|
4687
|
+
* @summary Get organization billing external ID
|
|
4688
|
+
* @param {string} organizationId Organization ID
|
|
4689
|
+
* @param {*} [options] Override http request option.
|
|
4690
|
+
* @throws {RequiredError}
|
|
4691
|
+
*/
|
|
4692
|
+
getOrganizationBillingExternalId: (organizationId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
4693
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
4694
|
+
(0, common_1.assertParamExists)('getOrganizationBillingExternalId', 'organizationId', organizationId);
|
|
4695
|
+
const localVarPath = `/organization/{organizationId}/billingExternalId`
|
|
4696
|
+
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
|
|
4697
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4698
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
4699
|
+
let baseOptions;
|
|
4700
|
+
if (configuration) {
|
|
4701
|
+
baseOptions = configuration.baseOptions;
|
|
4702
|
+
}
|
|
4703
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
4704
|
+
const localVarHeaderParameter = {};
|
|
4705
|
+
const localVarQueryParameter = {};
|
|
4706
|
+
// authentication ApiKeyAuth required
|
|
4707
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
4708
|
+
// authentication bearerAuth required
|
|
4709
|
+
// http bearer authentication required
|
|
4710
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
4711
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
4712
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4713
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4714
|
+
return {
|
|
4715
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
4716
|
+
options: localVarRequestOptions,
|
|
4717
|
+
};
|
|
4718
|
+
}),
|
|
4685
4719
|
/**
|
|
4686
4720
|
*
|
|
4687
4721
|
* @summary Get organization billing info
|
|
@@ -5056,6 +5090,19 @@ const BillingApiFp = function (configuration) {
|
|
|
5056
5090
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
5057
5091
|
});
|
|
5058
5092
|
},
|
|
5093
|
+
/**
|
|
5094
|
+
* This endpoint returns the external ID of the organization\'s billing account.
|
|
5095
|
+
* @summary Get organization billing external ID
|
|
5096
|
+
* @param {string} organizationId Organization ID
|
|
5097
|
+
* @param {*} [options] Override http request option.
|
|
5098
|
+
* @throws {RequiredError}
|
|
5099
|
+
*/
|
|
5100
|
+
getOrganizationBillingExternalId(organizationId, options) {
|
|
5101
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
5102
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getOrganizationBillingExternalId(organizationId, options);
|
|
5103
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
5104
|
+
});
|
|
5105
|
+
},
|
|
5059
5106
|
/**
|
|
5060
5107
|
*
|
|
5061
5108
|
* @summary Get organization billing info
|
|
@@ -5238,6 +5285,16 @@ const BillingApiFactory = function (configuration, basePath, axios) {
|
|
|
5238
5285
|
getClusterCurrentCost(organizationId, clusterId, options) {
|
|
5239
5286
|
return localVarFp.getClusterCurrentCost(organizationId, clusterId, options).then((request) => request(axios, basePath));
|
|
5240
5287
|
},
|
|
5288
|
+
/**
|
|
5289
|
+
* This endpoint returns the external ID of the organization\'s billing account.
|
|
5290
|
+
* @summary Get organization billing external ID
|
|
5291
|
+
* @param {string} organizationId Organization ID
|
|
5292
|
+
* @param {*} [options] Override http request option.
|
|
5293
|
+
* @throws {RequiredError}
|
|
5294
|
+
*/
|
|
5295
|
+
getOrganizationBillingExternalId(organizationId, options) {
|
|
5296
|
+
return localVarFp.getOrganizationBillingExternalId(organizationId, options).then((request) => request(axios, basePath));
|
|
5297
|
+
},
|
|
5241
5298
|
/**
|
|
5242
5299
|
*
|
|
5243
5300
|
* @summary Get organization billing info
|
|
@@ -5402,6 +5459,17 @@ class BillingApi extends base_1.BaseAPI {
|
|
|
5402
5459
|
getClusterCurrentCost(organizationId, clusterId, options) {
|
|
5403
5460
|
return (0, exports.BillingApiFp)(this.configuration).getClusterCurrentCost(organizationId, clusterId, options).then((request) => request(this.axios, this.basePath));
|
|
5404
5461
|
}
|
|
5462
|
+
/**
|
|
5463
|
+
* This endpoint returns the external ID of the organization\'s billing account.
|
|
5464
|
+
* @summary Get organization billing external ID
|
|
5465
|
+
* @param {string} organizationId Organization ID
|
|
5466
|
+
* @param {*} [options] Override http request option.
|
|
5467
|
+
* @throws {RequiredError}
|
|
5468
|
+
* @memberof BillingApi
|
|
5469
|
+
*/
|
|
5470
|
+
getOrganizationBillingExternalId(organizationId, options) {
|
|
5471
|
+
return (0, exports.BillingApiFp)(this.configuration).getOrganizationBillingExternalId(organizationId, options).then((request) => request(this.axios, this.basePath));
|
|
5472
|
+
}
|
|
5405
5473
|
/**
|
|
5406
5474
|
*
|
|
5407
5475
|
* @summary Get organization billing info
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -1321,6 +1321,19 @@ export interface BillingEnd {
|
|
|
1321
1321
|
*/
|
|
1322
1322
|
'billing_ended_on'?: string;
|
|
1323
1323
|
}
|
|
1324
|
+
/**
|
|
1325
|
+
*
|
|
1326
|
+
* @export
|
|
1327
|
+
* @interface BillingExternalId
|
|
1328
|
+
*/
|
|
1329
|
+
export interface BillingExternalId {
|
|
1330
|
+
/**
|
|
1331
|
+
*
|
|
1332
|
+
* @type {string}
|
|
1333
|
+
* @memberof BillingExternalId
|
|
1334
|
+
*/
|
|
1335
|
+
'id'?: string;
|
|
1336
|
+
}
|
|
1324
1337
|
/**
|
|
1325
1338
|
*
|
|
1326
1339
|
* @export
|
|
@@ -10835,7 +10848,7 @@ export interface Project {
|
|
|
10835
10848
|
* @type {ReferenceObject}
|
|
10836
10849
|
* @memberof Project
|
|
10837
10850
|
*/
|
|
10838
|
-
'organization'
|
|
10851
|
+
'organization': ReferenceObject;
|
|
10839
10852
|
}
|
|
10840
10853
|
/**
|
|
10841
10854
|
*
|
|
@@ -14841,6 +14854,14 @@ export declare const BillingApiAxiosParamCreator: (configuration?: Configuration
|
|
|
14841
14854
|
* @throws {RequiredError}
|
|
14842
14855
|
*/
|
|
14843
14856
|
getClusterCurrentCost: (organizationId: string, clusterId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
14857
|
+
/**
|
|
14858
|
+
* This endpoint returns the external ID of the organization\'s billing account.
|
|
14859
|
+
* @summary Get organization billing external ID
|
|
14860
|
+
* @param {string} organizationId Organization ID
|
|
14861
|
+
* @param {*} [options] Override http request option.
|
|
14862
|
+
* @throws {RequiredError}
|
|
14863
|
+
*/
|
|
14864
|
+
getOrganizationBillingExternalId: (organizationId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
14844
14865
|
/**
|
|
14845
14866
|
*
|
|
14846
14867
|
* @summary Get organization billing info
|
|
@@ -14967,6 +14988,14 @@ export declare const BillingApiFp: (configuration?: Configuration) => {
|
|
|
14967
14988
|
* @throws {RequiredError}
|
|
14968
14989
|
*/
|
|
14969
14990
|
getClusterCurrentCost(organizationId: string, clusterId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CostRange>>;
|
|
14991
|
+
/**
|
|
14992
|
+
* This endpoint returns the external ID of the organization\'s billing account.
|
|
14993
|
+
* @summary Get organization billing external ID
|
|
14994
|
+
* @param {string} organizationId Organization ID
|
|
14995
|
+
* @param {*} [options] Override http request option.
|
|
14996
|
+
* @throws {RequiredError}
|
|
14997
|
+
*/
|
|
14998
|
+
getOrganizationBillingExternalId(organizationId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BillingExternalId>>;
|
|
14970
14999
|
/**
|
|
14971
15000
|
*
|
|
14972
15001
|
* @summary Get organization billing info
|
|
@@ -15093,6 +15122,14 @@ export declare const BillingApiFactory: (configuration?: Configuration, basePath
|
|
|
15093
15122
|
* @throws {RequiredError}
|
|
15094
15123
|
*/
|
|
15095
15124
|
getClusterCurrentCost(organizationId: string, clusterId: string, options?: any): AxiosPromise<CostRange>;
|
|
15125
|
+
/**
|
|
15126
|
+
* This endpoint returns the external ID of the organization\'s billing account.
|
|
15127
|
+
* @summary Get organization billing external ID
|
|
15128
|
+
* @param {string} organizationId Organization ID
|
|
15129
|
+
* @param {*} [options] Override http request option.
|
|
15130
|
+
* @throws {RequiredError}
|
|
15131
|
+
*/
|
|
15132
|
+
getOrganizationBillingExternalId(organizationId: string, options?: any): AxiosPromise<BillingExternalId>;
|
|
15096
15133
|
/**
|
|
15097
15134
|
*
|
|
15098
15135
|
* @summary Get organization billing info
|
|
@@ -15227,6 +15264,15 @@ export declare class BillingApi extends BaseAPI {
|
|
|
15227
15264
|
* @memberof BillingApi
|
|
15228
15265
|
*/
|
|
15229
15266
|
getClusterCurrentCost(organizationId: string, clusterId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CostRange, any>>;
|
|
15267
|
+
/**
|
|
15268
|
+
* This endpoint returns the external ID of the organization\'s billing account.
|
|
15269
|
+
* @summary Get organization billing external ID
|
|
15270
|
+
* @param {string} organizationId Organization ID
|
|
15271
|
+
* @param {*} [options] Override http request option.
|
|
15272
|
+
* @throws {RequiredError}
|
|
15273
|
+
* @memberof BillingApi
|
|
15274
|
+
*/
|
|
15275
|
+
getOrganizationBillingExternalId(organizationId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<BillingExternalId, any>>;
|
|
15230
15276
|
/**
|
|
15231
15277
|
*
|
|
15232
15278
|
* @summary Get organization billing info
|
package/dist/esm/api.js
CHANGED
|
@@ -4628,6 +4628,40 @@ export const BillingApiAxiosParamCreator = function (configuration) {
|
|
|
4628
4628
|
options: localVarRequestOptions,
|
|
4629
4629
|
};
|
|
4630
4630
|
}),
|
|
4631
|
+
/**
|
|
4632
|
+
* This endpoint returns the external ID of the organization\'s billing account.
|
|
4633
|
+
* @summary Get organization billing external ID
|
|
4634
|
+
* @param {string} organizationId Organization ID
|
|
4635
|
+
* @param {*} [options] Override http request option.
|
|
4636
|
+
* @throws {RequiredError}
|
|
4637
|
+
*/
|
|
4638
|
+
getOrganizationBillingExternalId: (organizationId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
4639
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
4640
|
+
assertParamExists('getOrganizationBillingExternalId', 'organizationId', organizationId);
|
|
4641
|
+
const localVarPath = `/organization/{organizationId}/billingExternalId`
|
|
4642
|
+
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
|
|
4643
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4644
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4645
|
+
let baseOptions;
|
|
4646
|
+
if (configuration) {
|
|
4647
|
+
baseOptions = configuration.baseOptions;
|
|
4648
|
+
}
|
|
4649
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
4650
|
+
const localVarHeaderParameter = {};
|
|
4651
|
+
const localVarQueryParameter = {};
|
|
4652
|
+
// authentication ApiKeyAuth required
|
|
4653
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
4654
|
+
// authentication bearerAuth required
|
|
4655
|
+
// http bearer authentication required
|
|
4656
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
4657
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4658
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4659
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4660
|
+
return {
|
|
4661
|
+
url: toPathString(localVarUrlObj),
|
|
4662
|
+
options: localVarRequestOptions,
|
|
4663
|
+
};
|
|
4664
|
+
}),
|
|
4631
4665
|
/**
|
|
4632
4666
|
*
|
|
4633
4667
|
* @summary Get organization billing info
|
|
@@ -5001,6 +5035,19 @@ export const BillingApiFp = function (configuration) {
|
|
|
5001
5035
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
5002
5036
|
});
|
|
5003
5037
|
},
|
|
5038
|
+
/**
|
|
5039
|
+
* This endpoint returns the external ID of the organization\'s billing account.
|
|
5040
|
+
* @summary Get organization billing external ID
|
|
5041
|
+
* @param {string} organizationId Organization ID
|
|
5042
|
+
* @param {*} [options] Override http request option.
|
|
5043
|
+
* @throws {RequiredError}
|
|
5044
|
+
*/
|
|
5045
|
+
getOrganizationBillingExternalId(organizationId, options) {
|
|
5046
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
5047
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getOrganizationBillingExternalId(organizationId, options);
|
|
5048
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
5049
|
+
});
|
|
5050
|
+
},
|
|
5004
5051
|
/**
|
|
5005
5052
|
*
|
|
5006
5053
|
* @summary Get organization billing info
|
|
@@ -5182,6 +5229,16 @@ export const BillingApiFactory = function (configuration, basePath, axios) {
|
|
|
5182
5229
|
getClusterCurrentCost(organizationId, clusterId, options) {
|
|
5183
5230
|
return localVarFp.getClusterCurrentCost(organizationId, clusterId, options).then((request) => request(axios, basePath));
|
|
5184
5231
|
},
|
|
5232
|
+
/**
|
|
5233
|
+
* This endpoint returns the external ID of the organization\'s billing account.
|
|
5234
|
+
* @summary Get organization billing external ID
|
|
5235
|
+
* @param {string} organizationId Organization ID
|
|
5236
|
+
* @param {*} [options] Override http request option.
|
|
5237
|
+
* @throws {RequiredError}
|
|
5238
|
+
*/
|
|
5239
|
+
getOrganizationBillingExternalId(organizationId, options) {
|
|
5240
|
+
return localVarFp.getOrganizationBillingExternalId(organizationId, options).then((request) => request(axios, basePath));
|
|
5241
|
+
},
|
|
5185
5242
|
/**
|
|
5186
5243
|
*
|
|
5187
5244
|
* @summary Get organization billing info
|
|
@@ -5345,6 +5402,17 @@ export class BillingApi extends BaseAPI {
|
|
|
5345
5402
|
getClusterCurrentCost(organizationId, clusterId, options) {
|
|
5346
5403
|
return BillingApiFp(this.configuration).getClusterCurrentCost(organizationId, clusterId, options).then((request) => request(this.axios, this.basePath));
|
|
5347
5404
|
}
|
|
5405
|
+
/**
|
|
5406
|
+
* This endpoint returns the external ID of the organization\'s billing account.
|
|
5407
|
+
* @summary Get organization billing external ID
|
|
5408
|
+
* @param {string} organizationId Organization ID
|
|
5409
|
+
* @param {*} [options] Override http request option.
|
|
5410
|
+
* @throws {RequiredError}
|
|
5411
|
+
* @memberof BillingApi
|
|
5412
|
+
*/
|
|
5413
|
+
getOrganizationBillingExternalId(organizationId, options) {
|
|
5414
|
+
return BillingApiFp(this.configuration).getOrganizationBillingExternalId(organizationId, options).then((request) => request(this.axios, this.basePath));
|
|
5415
|
+
}
|
|
5348
5416
|
/**
|
|
5349
5417
|
*
|
|
5350
5418
|
* @summary Get organization billing info
|