qovery-typescript-axios 1.1.17 → 1.1.18
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 +5 -79
- package/dist/api.d.ts +5 -41
- package/dist/api.js +0 -69
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -1045,10 +1045,10 @@ export interface ApplicationRequest {
|
|
|
1045
1045
|
'auto_preview'?: boolean;
|
|
1046
1046
|
/**
|
|
1047
1047
|
*
|
|
1048
|
-
* @type {Array<
|
|
1048
|
+
* @type {Array<ServicePortRequest>}
|
|
1049
1049
|
* @memberof ApplicationRequest
|
|
1050
1050
|
*/
|
|
1051
|
-
'ports'?: Array<
|
|
1051
|
+
'ports'?: Array<ServicePortRequest>;
|
|
1052
1052
|
}
|
|
1053
1053
|
/**
|
|
1054
1054
|
*
|
|
@@ -1130,10 +1130,10 @@ export interface ApplicationRequestAllOf {
|
|
|
1130
1130
|
'auto_preview'?: boolean;
|
|
1131
1131
|
/**
|
|
1132
1132
|
*
|
|
1133
|
-
* @type {Array<
|
|
1133
|
+
* @type {Array<ServicePortRequest>}
|
|
1134
1134
|
* @memberof ApplicationRequestAllOf
|
|
1135
1135
|
*/
|
|
1136
|
-
'ports'?: Array<
|
|
1136
|
+
'ports'?: Array<ServicePortRequest>;
|
|
1137
1137
|
}
|
|
1138
1138
|
/**
|
|
1139
1139
|
*
|
|
@@ -8775,10 +8775,7 @@ export enum PlanEnum {
|
|
|
8775
8775
|
*/
|
|
8776
8776
|
|
|
8777
8777
|
export enum PortProtocolEnum {
|
|
8778
|
-
HTTP = 'HTTP'
|
|
8779
|
-
HTTPS = 'HTTPS',
|
|
8780
|
-
TCP = 'TCP',
|
|
8781
|
-
UDP = 'UDP'
|
|
8778
|
+
HTTP = 'HTTP'
|
|
8782
8779
|
}
|
|
8783
8780
|
|
|
8784
8781
|
/**
|
|
@@ -28768,44 +28765,6 @@ export const EnvironmentMainCallsApiAxiosParamCreator = function (configuration?
|
|
|
28768
28765
|
|
|
28769
28766
|
|
|
28770
28767
|
|
|
28771
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
28772
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
28773
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
28774
|
-
|
|
28775
|
-
return {
|
|
28776
|
-
url: toPathString(localVarUrlObj),
|
|
28777
|
-
options: localVarRequestOptions,
|
|
28778
|
-
};
|
|
28779
|
-
},
|
|
28780
|
-
/**
|
|
28781
|
-
* This will return all the custom domains and Qovery autogenerated domain for all the applications within this environment
|
|
28782
|
-
* @summary List all URLs of the environment
|
|
28783
|
-
* @param {string} environmentId Environment ID
|
|
28784
|
-
* @param {*} [options] Override http request option.
|
|
28785
|
-
* @throws {RequiredError}
|
|
28786
|
-
*/
|
|
28787
|
-
listEnvironmentLinks: async (environmentId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
28788
|
-
// verify required parameter 'environmentId' is not null or undefined
|
|
28789
|
-
assertParamExists('listEnvironmentLinks', 'environmentId', environmentId)
|
|
28790
|
-
const localVarPath = `/environment/{environmentId}/link`
|
|
28791
|
-
.replace(`{${"environmentId"}}`, encodeURIComponent(String(environmentId)));
|
|
28792
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
28793
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
28794
|
-
let baseOptions;
|
|
28795
|
-
if (configuration) {
|
|
28796
|
-
baseOptions = configuration.baseOptions;
|
|
28797
|
-
}
|
|
28798
|
-
|
|
28799
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
28800
|
-
const localVarHeaderParameter = {} as any;
|
|
28801
|
-
const localVarQueryParameter = {} as any;
|
|
28802
|
-
|
|
28803
|
-
// authentication bearerAuth required
|
|
28804
|
-
// http bearer authentication required
|
|
28805
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
28806
|
-
|
|
28807
|
-
|
|
28808
|
-
|
|
28809
28768
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
28810
28769
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
28811
28770
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -28870,17 +28829,6 @@ export const EnvironmentMainCallsApiFp = function(configuration?: Configuration)
|
|
|
28870
28829
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getEnvironmentStatus(environmentId, options);
|
|
28871
28830
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
28872
28831
|
},
|
|
28873
|
-
/**
|
|
28874
|
-
* This will return all the custom domains and Qovery autogenerated domain for all the applications within this environment
|
|
28875
|
-
* @summary List all URLs of the environment
|
|
28876
|
-
* @param {string} environmentId Environment ID
|
|
28877
|
-
* @param {*} [options] Override http request option.
|
|
28878
|
-
* @throws {RequiredError}
|
|
28879
|
-
*/
|
|
28880
|
-
async listEnvironmentLinks(environmentId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LinkResponseList>> {
|
|
28881
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listEnvironmentLinks(environmentId, options);
|
|
28882
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
28883
|
-
},
|
|
28884
28832
|
}
|
|
28885
28833
|
};
|
|
28886
28834
|
|
|
@@ -28932,16 +28880,6 @@ export const EnvironmentMainCallsApiFactory = function (configuration?: Configur
|
|
|
28932
28880
|
getEnvironmentStatus(environmentId: string, options?: any): AxiosPromise<Status> {
|
|
28933
28881
|
return localVarFp.getEnvironmentStatus(environmentId, options).then((request) => request(axios, basePath));
|
|
28934
28882
|
},
|
|
28935
|
-
/**
|
|
28936
|
-
* This will return all the custom domains and Qovery autogenerated domain for all the applications within this environment
|
|
28937
|
-
* @summary List all URLs of the environment
|
|
28938
|
-
* @param {string} environmentId Environment ID
|
|
28939
|
-
* @param {*} [options] Override http request option.
|
|
28940
|
-
* @throws {RequiredError}
|
|
28941
|
-
*/
|
|
28942
|
-
listEnvironmentLinks(environmentId: string, options?: any): AxiosPromise<LinkResponseList> {
|
|
28943
|
-
return localVarFp.listEnvironmentLinks(environmentId, options).then((request) => request(axios, basePath));
|
|
28944
|
-
},
|
|
28945
28883
|
};
|
|
28946
28884
|
};
|
|
28947
28885
|
|
|
@@ -29000,18 +28938,6 @@ export class EnvironmentMainCallsApi extends BaseAPI {
|
|
|
29000
28938
|
public getEnvironmentStatus(environmentId: string, options?: AxiosRequestConfig) {
|
|
29001
28939
|
return EnvironmentMainCallsApiFp(this.configuration).getEnvironmentStatus(environmentId, options).then((request) => request(this.axios, this.basePath));
|
|
29002
28940
|
}
|
|
29003
|
-
|
|
29004
|
-
/**
|
|
29005
|
-
* This will return all the custom domains and Qovery autogenerated domain for all the applications within this environment
|
|
29006
|
-
* @summary List all URLs of the environment
|
|
29007
|
-
* @param {string} environmentId Environment ID
|
|
29008
|
-
* @param {*} [options] Override http request option.
|
|
29009
|
-
* @throws {RequiredError}
|
|
29010
|
-
* @memberof EnvironmentMainCallsApi
|
|
29011
|
-
*/
|
|
29012
|
-
public listEnvironmentLinks(environmentId: string, options?: AxiosRequestConfig) {
|
|
29013
|
-
return EnvironmentMainCallsApiFp(this.configuration).listEnvironmentLinks(environmentId, options).then((request) => request(this.axios, this.basePath));
|
|
29014
|
-
}
|
|
29015
28941
|
}
|
|
29016
28942
|
|
|
29017
28943
|
|
package/dist/api.d.ts
CHANGED
|
@@ -1032,10 +1032,10 @@ export interface ApplicationRequest {
|
|
|
1032
1032
|
'auto_preview'?: boolean;
|
|
1033
1033
|
/**
|
|
1034
1034
|
*
|
|
1035
|
-
* @type {Array<
|
|
1035
|
+
* @type {Array<ServicePortRequest>}
|
|
1036
1036
|
* @memberof ApplicationRequest
|
|
1037
1037
|
*/
|
|
1038
|
-
'ports'?: Array<
|
|
1038
|
+
'ports'?: Array<ServicePortRequest>;
|
|
1039
1039
|
}
|
|
1040
1040
|
/**
|
|
1041
1041
|
*
|
|
@@ -1117,10 +1117,10 @@ export interface ApplicationRequestAllOf {
|
|
|
1117
1117
|
'auto_preview'?: boolean;
|
|
1118
1118
|
/**
|
|
1119
1119
|
*
|
|
1120
|
-
* @type {Array<
|
|
1120
|
+
* @type {Array<ServicePortRequest>}
|
|
1121
1121
|
* @memberof ApplicationRequestAllOf
|
|
1122
1122
|
*/
|
|
1123
|
-
'ports'?: Array<
|
|
1123
|
+
'ports'?: Array<ServicePortRequest>;
|
|
1124
1124
|
}
|
|
1125
1125
|
/**
|
|
1126
1126
|
*
|
|
@@ -8705,10 +8705,7 @@ export declare enum PlanEnum {
|
|
|
8705
8705
|
* @enum {string}
|
|
8706
8706
|
*/
|
|
8707
8707
|
export declare enum PortProtocolEnum {
|
|
8708
|
-
HTTP = "HTTP"
|
|
8709
|
-
HTTPS = "HTTPS",
|
|
8710
|
-
TCP = "TCP",
|
|
8711
|
-
UDP = "UDP"
|
|
8708
|
+
HTTP = "HTTP"
|
|
8712
8709
|
}
|
|
8713
8710
|
/**
|
|
8714
8711
|
*
|
|
@@ -19375,14 +19372,6 @@ export declare const EnvironmentMainCallsApiAxiosParamCreator: (configuration?:
|
|
|
19375
19372
|
* @throws {RequiredError}
|
|
19376
19373
|
*/
|
|
19377
19374
|
getEnvironmentStatus: (environmentId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
19378
|
-
/**
|
|
19379
|
-
* This will return all the custom domains and Qovery autogenerated domain for all the applications within this environment
|
|
19380
|
-
* @summary List all URLs of the environment
|
|
19381
|
-
* @param {string} environmentId Environment ID
|
|
19382
|
-
* @param {*} [options] Override http request option.
|
|
19383
|
-
* @throws {RequiredError}
|
|
19384
|
-
*/
|
|
19385
|
-
listEnvironmentLinks: (environmentId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
19386
19375
|
};
|
|
19387
19376
|
/**
|
|
19388
19377
|
* EnvironmentMainCallsApi - functional programming interface
|
|
@@ -19422,14 +19411,6 @@ export declare const EnvironmentMainCallsApiFp: (configuration?: Configuration)
|
|
|
19422
19411
|
* @throws {RequiredError}
|
|
19423
19412
|
*/
|
|
19424
19413
|
getEnvironmentStatus(environmentId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Status>>;
|
|
19425
|
-
/**
|
|
19426
|
-
* This will return all the custom domains and Qovery autogenerated domain for all the applications within this environment
|
|
19427
|
-
* @summary List all URLs of the environment
|
|
19428
|
-
* @param {string} environmentId Environment ID
|
|
19429
|
-
* @param {*} [options] Override http request option.
|
|
19430
|
-
* @throws {RequiredError}
|
|
19431
|
-
*/
|
|
19432
|
-
listEnvironmentLinks(environmentId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LinkResponseList>>;
|
|
19433
19414
|
};
|
|
19434
19415
|
/**
|
|
19435
19416
|
* EnvironmentMainCallsApi - factory interface
|
|
@@ -19469,14 +19450,6 @@ export declare const EnvironmentMainCallsApiFactory: (configuration?: Configurat
|
|
|
19469
19450
|
* @throws {RequiredError}
|
|
19470
19451
|
*/
|
|
19471
19452
|
getEnvironmentStatus(environmentId: string, options?: any): AxiosPromise<Status>;
|
|
19472
|
-
/**
|
|
19473
|
-
* This will return all the custom domains and Qovery autogenerated domain for all the applications within this environment
|
|
19474
|
-
* @summary List all URLs of the environment
|
|
19475
|
-
* @param {string} environmentId Environment ID
|
|
19476
|
-
* @param {*} [options] Override http request option.
|
|
19477
|
-
* @throws {RequiredError}
|
|
19478
|
-
*/
|
|
19479
|
-
listEnvironmentLinks(environmentId: string, options?: any): AxiosPromise<LinkResponseList>;
|
|
19480
19453
|
};
|
|
19481
19454
|
/**
|
|
19482
19455
|
* EnvironmentMainCallsApi - object-oriented interface
|
|
@@ -19522,15 +19495,6 @@ export declare class EnvironmentMainCallsApi extends BaseAPI {
|
|
|
19522
19495
|
* @memberof EnvironmentMainCallsApi
|
|
19523
19496
|
*/
|
|
19524
19497
|
getEnvironmentStatus(environmentId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Status>>;
|
|
19525
|
-
/**
|
|
19526
|
-
* This will return all the custom domains and Qovery autogenerated domain for all the applications within this environment
|
|
19527
|
-
* @summary List all URLs of the environment
|
|
19528
|
-
* @param {string} environmentId Environment ID
|
|
19529
|
-
* @param {*} [options] Override http request option.
|
|
19530
|
-
* @throws {RequiredError}
|
|
19531
|
-
* @memberof EnvironmentMainCallsApi
|
|
19532
|
-
*/
|
|
19533
|
-
listEnvironmentLinks(environmentId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<LinkResponseList>>;
|
|
19534
19498
|
}
|
|
19535
19499
|
/**
|
|
19536
19500
|
* EnvironmentSecretApi - axios parameter creator
|
package/dist/api.js
CHANGED
|
@@ -416,9 +416,6 @@ var PlanEnum;
|
|
|
416
416
|
var PortProtocolEnum;
|
|
417
417
|
(function (PortProtocolEnum) {
|
|
418
418
|
PortProtocolEnum["HTTP"] = "HTTP";
|
|
419
|
-
PortProtocolEnum["HTTPS"] = "HTTPS";
|
|
420
|
-
PortProtocolEnum["TCP"] = "TCP";
|
|
421
|
-
PortProtocolEnum["UDP"] = "UDP";
|
|
422
419
|
})(PortProtocolEnum = exports.PortProtocolEnum || (exports.PortProtocolEnum = {}));
|
|
423
420
|
/**
|
|
424
421
|
* @export
|
|
@@ -17517,38 +17514,6 @@ const EnvironmentMainCallsApiAxiosParamCreator = function (configuration) {
|
|
|
17517
17514
|
options: localVarRequestOptions,
|
|
17518
17515
|
};
|
|
17519
17516
|
}),
|
|
17520
|
-
/**
|
|
17521
|
-
* This will return all the custom domains and Qovery autogenerated domain for all the applications within this environment
|
|
17522
|
-
* @summary List all URLs of the environment
|
|
17523
|
-
* @param {string} environmentId Environment ID
|
|
17524
|
-
* @param {*} [options] Override http request option.
|
|
17525
|
-
* @throws {RequiredError}
|
|
17526
|
-
*/
|
|
17527
|
-
listEnvironmentLinks: (environmentId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
17528
|
-
// verify required parameter 'environmentId' is not null or undefined
|
|
17529
|
-
(0, common_1.assertParamExists)('listEnvironmentLinks', 'environmentId', environmentId);
|
|
17530
|
-
const localVarPath = `/environment/{environmentId}/link`
|
|
17531
|
-
.replace(`{${"environmentId"}}`, encodeURIComponent(String(environmentId)));
|
|
17532
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
17533
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
17534
|
-
let baseOptions;
|
|
17535
|
-
if (configuration) {
|
|
17536
|
-
baseOptions = configuration.baseOptions;
|
|
17537
|
-
}
|
|
17538
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
17539
|
-
const localVarHeaderParameter = {};
|
|
17540
|
-
const localVarQueryParameter = {};
|
|
17541
|
-
// authentication bearerAuth required
|
|
17542
|
-
// http bearer authentication required
|
|
17543
|
-
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
17544
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
17545
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
17546
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
17547
|
-
return {
|
|
17548
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
17549
|
-
options: localVarRequestOptions,
|
|
17550
|
-
};
|
|
17551
|
-
}),
|
|
17552
17517
|
};
|
|
17553
17518
|
};
|
|
17554
17519
|
exports.EnvironmentMainCallsApiAxiosParamCreator = EnvironmentMainCallsApiAxiosParamCreator;
|
|
@@ -17612,19 +17577,6 @@ const EnvironmentMainCallsApiFp = function (configuration) {
|
|
|
17612
17577
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
17613
17578
|
});
|
|
17614
17579
|
},
|
|
17615
|
-
/**
|
|
17616
|
-
* This will return all the custom domains and Qovery autogenerated domain for all the applications within this environment
|
|
17617
|
-
* @summary List all URLs of the environment
|
|
17618
|
-
* @param {string} environmentId Environment ID
|
|
17619
|
-
* @param {*} [options] Override http request option.
|
|
17620
|
-
* @throws {RequiredError}
|
|
17621
|
-
*/
|
|
17622
|
-
listEnvironmentLinks(environmentId, options) {
|
|
17623
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
17624
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.listEnvironmentLinks(environmentId, options);
|
|
17625
|
-
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
17626
|
-
});
|
|
17627
|
-
},
|
|
17628
17580
|
};
|
|
17629
17581
|
};
|
|
17630
17582
|
exports.EnvironmentMainCallsApiFp = EnvironmentMainCallsApiFp;
|
|
@@ -17676,16 +17628,6 @@ const EnvironmentMainCallsApiFactory = function (configuration, basePath, axios)
|
|
|
17676
17628
|
getEnvironmentStatus(environmentId, options) {
|
|
17677
17629
|
return localVarFp.getEnvironmentStatus(environmentId, options).then((request) => request(axios, basePath));
|
|
17678
17630
|
},
|
|
17679
|
-
/**
|
|
17680
|
-
* This will return all the custom domains and Qovery autogenerated domain for all the applications within this environment
|
|
17681
|
-
* @summary List all URLs of the environment
|
|
17682
|
-
* @param {string} environmentId Environment ID
|
|
17683
|
-
* @param {*} [options] Override http request option.
|
|
17684
|
-
* @throws {RequiredError}
|
|
17685
|
-
*/
|
|
17686
|
-
listEnvironmentLinks(environmentId, options) {
|
|
17687
|
-
return localVarFp.listEnvironmentLinks(environmentId, options).then((request) => request(axios, basePath));
|
|
17688
|
-
},
|
|
17689
17631
|
};
|
|
17690
17632
|
};
|
|
17691
17633
|
exports.EnvironmentMainCallsApiFactory = EnvironmentMainCallsApiFactory;
|
|
@@ -17741,17 +17683,6 @@ class EnvironmentMainCallsApi extends base_1.BaseAPI {
|
|
|
17741
17683
|
getEnvironmentStatus(environmentId, options) {
|
|
17742
17684
|
return (0, exports.EnvironmentMainCallsApiFp)(this.configuration).getEnvironmentStatus(environmentId, options).then((request) => request(this.axios, this.basePath));
|
|
17743
17685
|
}
|
|
17744
|
-
/**
|
|
17745
|
-
* This will return all the custom domains and Qovery autogenerated domain for all the applications within this environment
|
|
17746
|
-
* @summary List all URLs of the environment
|
|
17747
|
-
* @param {string} environmentId Environment ID
|
|
17748
|
-
* @param {*} [options] Override http request option.
|
|
17749
|
-
* @throws {RequiredError}
|
|
17750
|
-
* @memberof EnvironmentMainCallsApi
|
|
17751
|
-
*/
|
|
17752
|
-
listEnvironmentLinks(environmentId, options) {
|
|
17753
|
-
return (0, exports.EnvironmentMainCallsApiFp)(this.configuration).listEnvironmentLinks(environmentId, options).then((request) => request(this.axios, this.basePath));
|
|
17754
|
-
}
|
|
17755
17686
|
}
|
|
17756
17687
|
exports.EnvironmentMainCallsApi = EnvironmentMainCallsApi;
|
|
17757
17688
|
/**
|