qovery-typescript-axios 1.1.16 → 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 +137 -198
- package/dist/api.d.ts +128 -151
- package/dist/api.js +36 -105
- 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
|
*
|
|
@@ -1167,6 +1167,19 @@ export interface AvailableContainerRegistryResponse {
|
|
|
1167
1167
|
*/
|
|
1168
1168
|
'required_config'?: { [key: string]: object; };
|
|
1169
1169
|
}
|
|
1170
|
+
/**
|
|
1171
|
+
*
|
|
1172
|
+
* @export
|
|
1173
|
+
* @interface AvailableContainerRegistryResponseList
|
|
1174
|
+
*/
|
|
1175
|
+
export interface AvailableContainerRegistryResponseList {
|
|
1176
|
+
/**
|
|
1177
|
+
*
|
|
1178
|
+
* @type {Array<AvailableContainerRegistryResponse>}
|
|
1179
|
+
* @memberof AvailableContainerRegistryResponseList
|
|
1180
|
+
*/
|
|
1181
|
+
'results'?: Array<AvailableContainerRegistryResponse>;
|
|
1182
|
+
}
|
|
1170
1183
|
/**
|
|
1171
1184
|
*
|
|
1172
1185
|
* @export
|
|
@@ -2426,6 +2439,19 @@ export interface ClusterLogsMessage {
|
|
|
2426
2439
|
*/
|
|
2427
2440
|
'safe_message'?: string;
|
|
2428
2441
|
}
|
|
2442
|
+
/**
|
|
2443
|
+
*
|
|
2444
|
+
* @export
|
|
2445
|
+
* @interface ClusterLogsResponseList
|
|
2446
|
+
*/
|
|
2447
|
+
export interface ClusterLogsResponseList {
|
|
2448
|
+
/**
|
|
2449
|
+
*
|
|
2450
|
+
* @type {Array<ClusterLogs>}
|
|
2451
|
+
* @memberof ClusterLogsResponseList
|
|
2452
|
+
*/
|
|
2453
|
+
'results'?: Array<ClusterLogs>;
|
|
2454
|
+
}
|
|
2429
2455
|
/**
|
|
2430
2456
|
*
|
|
2431
2457
|
* @export
|
|
@@ -3312,6 +3338,19 @@ export interface ContainerRegistryResponseAllOf {
|
|
|
3312
3338
|
*/
|
|
3313
3339
|
'url'?: string;
|
|
3314
3340
|
}
|
|
3341
|
+
/**
|
|
3342
|
+
*
|
|
3343
|
+
* @export
|
|
3344
|
+
* @interface ContainerRegistryResponseList
|
|
3345
|
+
*/
|
|
3346
|
+
export interface ContainerRegistryResponseList {
|
|
3347
|
+
/**
|
|
3348
|
+
*
|
|
3349
|
+
* @type {Array<ContainerRegistryResponse>}
|
|
3350
|
+
* @memberof ContainerRegistryResponseList
|
|
3351
|
+
*/
|
|
3352
|
+
'results'?: Array<ContainerRegistryResponse>;
|
|
3353
|
+
}
|
|
3315
3354
|
/**
|
|
3316
3355
|
*
|
|
3317
3356
|
* @export
|
|
@@ -6795,83 +6834,6 @@ export enum HealthcheckProtocolEnum {
|
|
|
6795
6834
|
NONE = 'None'
|
|
6796
6835
|
}
|
|
6797
6836
|
|
|
6798
|
-
/**
|
|
6799
|
-
*
|
|
6800
|
-
* @export
|
|
6801
|
-
* @interface InlineObject
|
|
6802
|
-
*/
|
|
6803
|
-
export interface InlineObject {
|
|
6804
|
-
/**
|
|
6805
|
-
*
|
|
6806
|
-
* @type {string}
|
|
6807
|
-
* @memberof InlineObject
|
|
6808
|
-
*/
|
|
6809
|
-
'plan'?: string;
|
|
6810
|
-
}
|
|
6811
|
-
/**
|
|
6812
|
-
*
|
|
6813
|
-
* @export
|
|
6814
|
-
* @interface InlineObject1
|
|
6815
|
-
*/
|
|
6816
|
-
export interface InlineObject1 {
|
|
6817
|
-
/**
|
|
6818
|
-
* the container image name to deploy
|
|
6819
|
-
* @type {string}
|
|
6820
|
-
* @memberof InlineObject1
|
|
6821
|
-
*/
|
|
6822
|
-
'image_name'?: string;
|
|
6823
|
-
/**
|
|
6824
|
-
* the new tag to deploy
|
|
6825
|
-
* @type {string}
|
|
6826
|
-
* @memberof InlineObject1
|
|
6827
|
-
*/
|
|
6828
|
-
'tag'?: string;
|
|
6829
|
-
}
|
|
6830
|
-
/**
|
|
6831
|
-
*
|
|
6832
|
-
* @export
|
|
6833
|
-
* @interface InlineObject2
|
|
6834
|
-
*/
|
|
6835
|
-
export interface InlineObject2 {
|
|
6836
|
-
/**
|
|
6837
|
-
* the container image name to trigger preview environment
|
|
6838
|
-
* @type {string}
|
|
6839
|
-
* @memberof InlineObject2
|
|
6840
|
-
*/
|
|
6841
|
-
'image_name'?: string;
|
|
6842
|
-
/**
|
|
6843
|
-
* the tag to be used in the preview environment
|
|
6844
|
-
* @type {string}
|
|
6845
|
-
* @memberof InlineObject2
|
|
6846
|
-
*/
|
|
6847
|
-
'tag'?: string;
|
|
6848
|
-
}
|
|
6849
|
-
/**
|
|
6850
|
-
*
|
|
6851
|
-
* @export
|
|
6852
|
-
* @interface InlineResponse200
|
|
6853
|
-
*/
|
|
6854
|
-
export interface InlineResponse200 {
|
|
6855
|
-
/**
|
|
6856
|
-
*
|
|
6857
|
-
* @type {Array<ClusterLogs>}
|
|
6858
|
-
* @memberof InlineResponse200
|
|
6859
|
-
*/
|
|
6860
|
-
'results'?: Array<ClusterLogs>;
|
|
6861
|
-
}
|
|
6862
|
-
/**
|
|
6863
|
-
*
|
|
6864
|
-
* @export
|
|
6865
|
-
* @interface InlineResponse2001
|
|
6866
|
-
*/
|
|
6867
|
-
export interface InlineResponse2001 {
|
|
6868
|
-
/**
|
|
6869
|
-
*
|
|
6870
|
-
* @type {Array<ContainerRegistryResponse>}
|
|
6871
|
-
* @memberof InlineResponse2001
|
|
6872
|
-
*/
|
|
6873
|
-
'results'?: Array<ContainerRegistryResponse>;
|
|
6874
|
-
}
|
|
6875
6837
|
/**
|
|
6876
6838
|
*
|
|
6877
6839
|
* @export
|
|
@@ -8182,6 +8144,57 @@ export enum OrganizationApiTokenScope {
|
|
|
8182
8144
|
ADMIN = 'ADMIN'
|
|
8183
8145
|
}
|
|
8184
8146
|
|
|
8147
|
+
/**
|
|
8148
|
+
*
|
|
8149
|
+
* @export
|
|
8150
|
+
* @interface OrganizationChangePlanRequest
|
|
8151
|
+
*/
|
|
8152
|
+
export interface OrganizationChangePlanRequest {
|
|
8153
|
+
/**
|
|
8154
|
+
*
|
|
8155
|
+
* @type {string}
|
|
8156
|
+
* @memberof OrganizationChangePlanRequest
|
|
8157
|
+
*/
|
|
8158
|
+
'plan'?: string;
|
|
8159
|
+
}
|
|
8160
|
+
/**
|
|
8161
|
+
*
|
|
8162
|
+
* @export
|
|
8163
|
+
* @interface OrganizationContainerAutoDeployRequest
|
|
8164
|
+
*/
|
|
8165
|
+
export interface OrganizationContainerAutoDeployRequest {
|
|
8166
|
+
/**
|
|
8167
|
+
* the container image name to deploy
|
|
8168
|
+
* @type {string}
|
|
8169
|
+
* @memberof OrganizationContainerAutoDeployRequest
|
|
8170
|
+
*/
|
|
8171
|
+
'image_name'?: string;
|
|
8172
|
+
/**
|
|
8173
|
+
* the new tag to deploy
|
|
8174
|
+
* @type {string}
|
|
8175
|
+
* @memberof OrganizationContainerAutoDeployRequest
|
|
8176
|
+
*/
|
|
8177
|
+
'tag'?: string;
|
|
8178
|
+
}
|
|
8179
|
+
/**
|
|
8180
|
+
*
|
|
8181
|
+
* @export
|
|
8182
|
+
* @interface OrganizationContainerPreviewRequest
|
|
8183
|
+
*/
|
|
8184
|
+
export interface OrganizationContainerPreviewRequest {
|
|
8185
|
+
/**
|
|
8186
|
+
* the container image name to trigger preview environment
|
|
8187
|
+
* @type {string}
|
|
8188
|
+
* @memberof OrganizationContainerPreviewRequest
|
|
8189
|
+
*/
|
|
8190
|
+
'image_name'?: string;
|
|
8191
|
+
/**
|
|
8192
|
+
* the tag to be used in the preview environment
|
|
8193
|
+
* @type {string}
|
|
8194
|
+
* @memberof OrganizationContainerPreviewRequest
|
|
8195
|
+
*/
|
|
8196
|
+
'tag'?: string;
|
|
8197
|
+
}
|
|
8185
8198
|
/**
|
|
8186
8199
|
*
|
|
8187
8200
|
* @export
|
|
@@ -8762,10 +8775,7 @@ export enum PlanEnum {
|
|
|
8762
8775
|
*/
|
|
8763
8776
|
|
|
8764
8777
|
export enum PortProtocolEnum {
|
|
8765
|
-
HTTP = 'HTTP'
|
|
8766
|
-
HTTPS = 'HTTPS',
|
|
8767
|
-
TCP = 'TCP',
|
|
8768
|
-
UDP = 'UDP'
|
|
8778
|
+
HTTP = 'HTTP'
|
|
8769
8779
|
}
|
|
8770
8780
|
|
|
8771
8781
|
/**
|
|
@@ -16019,11 +16029,11 @@ export const BillingApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
16019
16029
|
*
|
|
16020
16030
|
* @summary Change organization plan
|
|
16021
16031
|
* @param {string} organizationId Organization ID
|
|
16022
|
-
* @param {
|
|
16032
|
+
* @param {OrganizationChangePlanRequest} [organizationChangePlanRequest]
|
|
16023
16033
|
* @param {*} [options] Override http request option.
|
|
16024
16034
|
* @throws {RequiredError}
|
|
16025
16035
|
*/
|
|
16026
|
-
changePlan: async (organizationId: string,
|
|
16036
|
+
changePlan: async (organizationId: string, organizationChangePlanRequest?: OrganizationChangePlanRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
16027
16037
|
// verify required parameter 'organizationId' is not null or undefined
|
|
16028
16038
|
assertParamExists('changePlan', 'organizationId', organizationId)
|
|
16029
16039
|
const localVarPath = `/organization/{organizationId}/changePlan`
|
|
@@ -16050,7 +16060,7 @@ export const BillingApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
16050
16060
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
16051
16061
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
16052
16062
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
16053
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
16063
|
+
localVarRequestOptions.data = serializeDataIfNeeded(organizationChangePlanRequest, localVarRequestOptions, configuration)
|
|
16054
16064
|
|
|
16055
16065
|
return {
|
|
16056
16066
|
url: toPathString(localVarUrlObj),
|
|
@@ -16533,12 +16543,12 @@ export const BillingApiFp = function(configuration?: Configuration) {
|
|
|
16533
16543
|
*
|
|
16534
16544
|
* @summary Change organization plan
|
|
16535
16545
|
* @param {string} organizationId Organization ID
|
|
16536
|
-
* @param {
|
|
16546
|
+
* @param {OrganizationChangePlanRequest} [organizationChangePlanRequest]
|
|
16537
16547
|
* @param {*} [options] Override http request option.
|
|
16538
16548
|
* @throws {RequiredError}
|
|
16539
16549
|
*/
|
|
16540
|
-
async changePlan(organizationId: string,
|
|
16541
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.changePlan(organizationId,
|
|
16550
|
+
async changePlan(organizationId: string, organizationChangePlanRequest?: OrganizationChangePlanRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Organization>> {
|
|
16551
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.changePlan(organizationId, organizationChangePlanRequest, options);
|
|
16542
16552
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
16543
16553
|
},
|
|
16544
16554
|
/**
|
|
@@ -16703,12 +16713,12 @@ export const BillingApiFactory = function (configuration?: Configuration, basePa
|
|
|
16703
16713
|
*
|
|
16704
16714
|
* @summary Change organization plan
|
|
16705
16715
|
* @param {string} organizationId Organization ID
|
|
16706
|
-
* @param {
|
|
16716
|
+
* @param {OrganizationChangePlanRequest} [organizationChangePlanRequest]
|
|
16707
16717
|
* @param {*} [options] Override http request option.
|
|
16708
16718
|
* @throws {RequiredError}
|
|
16709
16719
|
*/
|
|
16710
|
-
changePlan(organizationId: string,
|
|
16711
|
-
return localVarFp.changePlan(organizationId,
|
|
16720
|
+
changePlan(organizationId: string, organizationChangePlanRequest?: OrganizationChangePlanRequest, options?: any): AxiosPromise<Organization> {
|
|
16721
|
+
return localVarFp.changePlan(organizationId, organizationChangePlanRequest, options).then((request) => request(axios, basePath));
|
|
16712
16722
|
},
|
|
16713
16723
|
/**
|
|
16714
16724
|
*
|
|
@@ -16865,13 +16875,13 @@ export class BillingApi extends BaseAPI {
|
|
|
16865
16875
|
*
|
|
16866
16876
|
* @summary Change organization plan
|
|
16867
16877
|
* @param {string} organizationId Organization ID
|
|
16868
|
-
* @param {
|
|
16878
|
+
* @param {OrganizationChangePlanRequest} [organizationChangePlanRequest]
|
|
16869
16879
|
* @param {*} [options] Override http request option.
|
|
16870
16880
|
* @throws {RequiredError}
|
|
16871
16881
|
* @memberof BillingApi
|
|
16872
16882
|
*/
|
|
16873
|
-
public changePlan(organizationId: string,
|
|
16874
|
-
return BillingApiFp(this.configuration).changePlan(organizationId,
|
|
16883
|
+
public changePlan(organizationId: string, organizationChangePlanRequest?: OrganizationChangePlanRequest, options?: AxiosRequestConfig) {
|
|
16884
|
+
return BillingApiFp(this.configuration).changePlan(organizationId, organizationChangePlanRequest, options).then((request) => request(this.axios, this.basePath));
|
|
16875
16885
|
}
|
|
16876
16886
|
|
|
16877
16887
|
/**
|
|
@@ -19791,7 +19801,7 @@ export const ClustersApiFp = function(configuration?: Configuration) {
|
|
|
19791
19801
|
* @param {*} [options] Override http request option.
|
|
19792
19802
|
* @throws {RequiredError}
|
|
19793
19803
|
*/
|
|
19794
|
-
async listClusterLogs(organizationId: string, clusterId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
19804
|
+
async listClusterLogs(organizationId: string, clusterId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterLogsResponseList>> {
|
|
19795
19805
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listClusterLogs(organizationId, clusterId, options);
|
|
19796
19806
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
19797
19807
|
},
|
|
@@ -19995,7 +20005,7 @@ export const ClustersApiFactory = function (configuration?: Configuration, baseP
|
|
|
19995
20005
|
* @param {*} [options] Override http request option.
|
|
19996
20006
|
* @throws {RequiredError}
|
|
19997
20007
|
*/
|
|
19998
|
-
listClusterLogs(organizationId: string, clusterId: string, options?: any): AxiosPromise<
|
|
20008
|
+
listClusterLogs(organizationId: string, clusterId: string, options?: any): AxiosPromise<ClusterLogsResponseList> {
|
|
19999
20009
|
return localVarFp.listClusterLogs(organizationId, clusterId, options).then((request) => request(axios, basePath));
|
|
20000
20010
|
},
|
|
20001
20011
|
/**
|
|
@@ -23606,7 +23616,7 @@ export const ContainerRegistriesApiFp = function(configuration?: Configuration)
|
|
|
23606
23616
|
* @param {*} [options] Override http request option.
|
|
23607
23617
|
* @throws {RequiredError}
|
|
23608
23618
|
*/
|
|
23609
|
-
async listAvailableContainerRegistry(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
23619
|
+
async listAvailableContainerRegistry(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AvailableContainerRegistryResponseList>> {
|
|
23610
23620
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listAvailableContainerRegistry(options);
|
|
23611
23621
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
23612
23622
|
},
|
|
@@ -23617,7 +23627,7 @@ export const ContainerRegistriesApiFp = function(configuration?: Configuration)
|
|
|
23617
23627
|
* @param {*} [options] Override http request option.
|
|
23618
23628
|
* @throws {RequiredError}
|
|
23619
23629
|
*/
|
|
23620
|
-
async listContainerRegistry(organizationId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
23630
|
+
async listContainerRegistry(organizationId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ContainerRegistryResponseList>> {
|
|
23621
23631
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listContainerRegistry(organizationId, options);
|
|
23622
23632
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
23623
23633
|
},
|
|
@@ -23682,7 +23692,7 @@ export const ContainerRegistriesApiFactory = function (configuration?: Configura
|
|
|
23682
23692
|
* @param {*} [options] Override http request option.
|
|
23683
23693
|
* @throws {RequiredError}
|
|
23684
23694
|
*/
|
|
23685
|
-
listAvailableContainerRegistry(options?: any): AxiosPromise<
|
|
23695
|
+
listAvailableContainerRegistry(options?: any): AxiosPromise<AvailableContainerRegistryResponseList> {
|
|
23686
23696
|
return localVarFp.listAvailableContainerRegistry(options).then((request) => request(axios, basePath));
|
|
23687
23697
|
},
|
|
23688
23698
|
/**
|
|
@@ -23692,7 +23702,7 @@ export const ContainerRegistriesApiFactory = function (configuration?: Configura
|
|
|
23692
23702
|
* @param {*} [options] Override http request option.
|
|
23693
23703
|
* @throws {RequiredError}
|
|
23694
23704
|
*/
|
|
23695
|
-
listContainerRegistry(organizationId: string, options?: any): AxiosPromise<
|
|
23705
|
+
listContainerRegistry(organizationId: string, options?: any): AxiosPromise<ContainerRegistryResponseList> {
|
|
23696
23706
|
return localVarFp.listContainerRegistry(organizationId, options).then((request) => request(axios, basePath));
|
|
23697
23707
|
},
|
|
23698
23708
|
};
|
|
@@ -24315,11 +24325,11 @@ export const ContainersApiAxiosParamCreator = function (configuration?: Configur
|
|
|
24315
24325
|
* Triggers a new container deploy in each environment matching the following conditions - environment should have the auto-deploy enabled - the container should have the same image name and a different tag
|
|
24316
24326
|
* @summary Auto deploy containers
|
|
24317
24327
|
* @param {string} organizationId Organization ID
|
|
24318
|
-
* @param {
|
|
24328
|
+
* @param {OrganizationContainerAutoDeployRequest} [organizationContainerAutoDeployRequest]
|
|
24319
24329
|
* @param {*} [options] Override http request option.
|
|
24320
24330
|
* @throws {RequiredError}
|
|
24321
24331
|
*/
|
|
24322
|
-
autoDeployContainerEnvironments: async (organizationId: string,
|
|
24332
|
+
autoDeployContainerEnvironments: async (organizationId: string, organizationContainerAutoDeployRequest?: OrganizationContainerAutoDeployRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
24323
24333
|
// verify required parameter 'organizationId' is not null or undefined
|
|
24324
24334
|
assertParamExists('autoDeployContainerEnvironments', 'organizationId', organizationId)
|
|
24325
24335
|
const localVarPath = `/organization/{organizationId}/container/deploy`
|
|
@@ -24346,7 +24356,7 @@ export const ContainersApiAxiosParamCreator = function (configuration?: Configur
|
|
|
24346
24356
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
24347
24357
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
24348
24358
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
24349
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
24359
|
+
localVarRequestOptions.data = serializeDataIfNeeded(organizationContainerAutoDeployRequest, localVarRequestOptions, configuration)
|
|
24350
24360
|
|
|
24351
24361
|
return {
|
|
24352
24362
|
url: toPathString(localVarUrlObj),
|
|
@@ -24598,11 +24608,11 @@ export const ContainersApiAxiosParamCreator = function (configuration?: Configur
|
|
|
24598
24608
|
* Triggers a new container preview for each environment matching the following conditions - preview environment feature should be enabled for the container - the container should have the same image name and a different tag
|
|
24599
24609
|
* @summary Preview container environments
|
|
24600
24610
|
* @param {string} organizationId Organization ID
|
|
24601
|
-
* @param {
|
|
24611
|
+
* @param {OrganizationContainerPreviewRequest} [organizationContainerPreviewRequest]
|
|
24602
24612
|
* @param {*} [options] Override http request option.
|
|
24603
24613
|
* @throws {RequiredError}
|
|
24604
24614
|
*/
|
|
24605
|
-
previewContainerEnvironments: async (organizationId: string,
|
|
24615
|
+
previewContainerEnvironments: async (organizationId: string, organizationContainerPreviewRequest?: OrganizationContainerPreviewRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
24606
24616
|
// verify required parameter 'organizationId' is not null or undefined
|
|
24607
24617
|
assertParamExists('previewContainerEnvironments', 'organizationId', organizationId)
|
|
24608
24618
|
const localVarPath = `/organization/{organizationId}/container/preview`
|
|
@@ -24629,7 +24639,7 @@ export const ContainersApiAxiosParamCreator = function (configuration?: Configur
|
|
|
24629
24639
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
24630
24640
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
24631
24641
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
24632
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
24642
|
+
localVarRequestOptions.data = serializeDataIfNeeded(organizationContainerPreviewRequest, localVarRequestOptions, configuration)
|
|
24633
24643
|
|
|
24634
24644
|
return {
|
|
24635
24645
|
url: toPathString(localVarUrlObj),
|
|
@@ -24650,12 +24660,12 @@ export const ContainersApiFp = function(configuration?: Configuration) {
|
|
|
24650
24660
|
* Triggers a new container deploy in each environment matching the following conditions - environment should have the auto-deploy enabled - the container should have the same image name and a different tag
|
|
24651
24661
|
* @summary Auto deploy containers
|
|
24652
24662
|
* @param {string} organizationId Organization ID
|
|
24653
|
-
* @param {
|
|
24663
|
+
* @param {OrganizationContainerAutoDeployRequest} [organizationContainerAutoDeployRequest]
|
|
24654
24664
|
* @param {*} [options] Override http request option.
|
|
24655
24665
|
* @throws {RequiredError}
|
|
24656
24666
|
*/
|
|
24657
|
-
async autoDeployContainerEnvironments(organizationId: string,
|
|
24658
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.autoDeployContainerEnvironments(organizationId,
|
|
24667
|
+
async autoDeployContainerEnvironments(organizationId: string, organizationContainerAutoDeployRequest?: OrganizationContainerAutoDeployRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Status>> {
|
|
24668
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.autoDeployContainerEnvironments(organizationId, organizationContainerAutoDeployRequest, options);
|
|
24659
24669
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
24660
24670
|
},
|
|
24661
24671
|
/**
|
|
@@ -24731,12 +24741,12 @@ export const ContainersApiFp = function(configuration?: Configuration) {
|
|
|
24731
24741
|
* Triggers a new container preview for each environment matching the following conditions - preview environment feature should be enabled for the container - the container should have the same image name and a different tag
|
|
24732
24742
|
* @summary Preview container environments
|
|
24733
24743
|
* @param {string} organizationId Organization ID
|
|
24734
|
-
* @param {
|
|
24744
|
+
* @param {OrganizationContainerPreviewRequest} [organizationContainerPreviewRequest]
|
|
24735
24745
|
* @param {*} [options] Override http request option.
|
|
24736
24746
|
* @throws {RequiredError}
|
|
24737
24747
|
*/
|
|
24738
|
-
async previewContainerEnvironments(organizationId: string,
|
|
24739
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.previewContainerEnvironments(organizationId,
|
|
24748
|
+
async previewContainerEnvironments(organizationId: string, organizationContainerPreviewRequest?: OrganizationContainerPreviewRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Status>> {
|
|
24749
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.previewContainerEnvironments(organizationId, organizationContainerPreviewRequest, options);
|
|
24740
24750
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
24741
24751
|
},
|
|
24742
24752
|
}
|
|
@@ -24753,12 +24763,12 @@ export const ContainersApiFactory = function (configuration?: Configuration, bas
|
|
|
24753
24763
|
* Triggers a new container deploy in each environment matching the following conditions - environment should have the auto-deploy enabled - the container should have the same image name and a different tag
|
|
24754
24764
|
* @summary Auto deploy containers
|
|
24755
24765
|
* @param {string} organizationId Organization ID
|
|
24756
|
-
* @param {
|
|
24766
|
+
* @param {OrganizationContainerAutoDeployRequest} [organizationContainerAutoDeployRequest]
|
|
24757
24767
|
* @param {*} [options] Override http request option.
|
|
24758
24768
|
* @throws {RequiredError}
|
|
24759
24769
|
*/
|
|
24760
|
-
autoDeployContainerEnvironments(organizationId: string,
|
|
24761
|
-
return localVarFp.autoDeployContainerEnvironments(organizationId,
|
|
24770
|
+
autoDeployContainerEnvironments(organizationId: string, organizationContainerAutoDeployRequest?: OrganizationContainerAutoDeployRequest, options?: any): AxiosPromise<Status> {
|
|
24771
|
+
return localVarFp.autoDeployContainerEnvironments(organizationId, organizationContainerAutoDeployRequest, options).then((request) => request(axios, basePath));
|
|
24762
24772
|
},
|
|
24763
24773
|
/**
|
|
24764
24774
|
*
|
|
@@ -24827,12 +24837,12 @@ export const ContainersApiFactory = function (configuration?: Configuration, bas
|
|
|
24827
24837
|
* Triggers a new container preview for each environment matching the following conditions - preview environment feature should be enabled for the container - the container should have the same image name and a different tag
|
|
24828
24838
|
* @summary Preview container environments
|
|
24829
24839
|
* @param {string} organizationId Organization ID
|
|
24830
|
-
* @param {
|
|
24840
|
+
* @param {OrganizationContainerPreviewRequest} [organizationContainerPreviewRequest]
|
|
24831
24841
|
* @param {*} [options] Override http request option.
|
|
24832
24842
|
* @throws {RequiredError}
|
|
24833
24843
|
*/
|
|
24834
|
-
previewContainerEnvironments(organizationId: string,
|
|
24835
|
-
return localVarFp.previewContainerEnvironments(organizationId,
|
|
24844
|
+
previewContainerEnvironments(organizationId: string, organizationContainerPreviewRequest?: OrganizationContainerPreviewRequest, options?: any): AxiosPromise<Status> {
|
|
24845
|
+
return localVarFp.previewContainerEnvironments(organizationId, organizationContainerPreviewRequest, options).then((request) => request(axios, basePath));
|
|
24836
24846
|
},
|
|
24837
24847
|
};
|
|
24838
24848
|
};
|
|
@@ -24848,13 +24858,13 @@ export class ContainersApi extends BaseAPI {
|
|
|
24848
24858
|
* Triggers a new container deploy in each environment matching the following conditions - environment should have the auto-deploy enabled - the container should have the same image name and a different tag
|
|
24849
24859
|
* @summary Auto deploy containers
|
|
24850
24860
|
* @param {string} organizationId Organization ID
|
|
24851
|
-
* @param {
|
|
24861
|
+
* @param {OrganizationContainerAutoDeployRequest} [organizationContainerAutoDeployRequest]
|
|
24852
24862
|
* @param {*} [options] Override http request option.
|
|
24853
24863
|
* @throws {RequiredError}
|
|
24854
24864
|
* @memberof ContainersApi
|
|
24855
24865
|
*/
|
|
24856
|
-
public autoDeployContainerEnvironments(organizationId: string,
|
|
24857
|
-
return ContainersApiFp(this.configuration).autoDeployContainerEnvironments(organizationId,
|
|
24866
|
+
public autoDeployContainerEnvironments(organizationId: string, organizationContainerAutoDeployRequest?: OrganizationContainerAutoDeployRequest, options?: AxiosRequestConfig) {
|
|
24867
|
+
return ContainersApiFp(this.configuration).autoDeployContainerEnvironments(organizationId, organizationContainerAutoDeployRequest, options).then((request) => request(this.axios, this.basePath));
|
|
24858
24868
|
}
|
|
24859
24869
|
|
|
24860
24870
|
/**
|
|
@@ -24936,13 +24946,13 @@ export class ContainersApi extends BaseAPI {
|
|
|
24936
24946
|
* Triggers a new container preview for each environment matching the following conditions - preview environment feature should be enabled for the container - the container should have the same image name and a different tag
|
|
24937
24947
|
* @summary Preview container environments
|
|
24938
24948
|
* @param {string} organizationId Organization ID
|
|
24939
|
-
* @param {
|
|
24949
|
+
* @param {OrganizationContainerPreviewRequest} [organizationContainerPreviewRequest]
|
|
24940
24950
|
* @param {*} [options] Override http request option.
|
|
24941
24951
|
* @throws {RequiredError}
|
|
24942
24952
|
* @memberof ContainersApi
|
|
24943
24953
|
*/
|
|
24944
|
-
public previewContainerEnvironments(organizationId: string,
|
|
24945
|
-
return ContainersApiFp(this.configuration).previewContainerEnvironments(organizationId,
|
|
24954
|
+
public previewContainerEnvironments(organizationId: string, organizationContainerPreviewRequest?: OrganizationContainerPreviewRequest, options?: AxiosRequestConfig) {
|
|
24955
|
+
return ContainersApiFp(this.configuration).previewContainerEnvironments(organizationId, organizationContainerPreviewRequest, options).then((request) => request(this.axios, this.basePath));
|
|
24946
24956
|
}
|
|
24947
24957
|
}
|
|
24948
24958
|
|
|
@@ -28755,44 +28765,6 @@ export const EnvironmentMainCallsApiAxiosParamCreator = function (configuration?
|
|
|
28755
28765
|
|
|
28756
28766
|
|
|
28757
28767
|
|
|
28758
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
28759
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
28760
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
28761
|
-
|
|
28762
|
-
return {
|
|
28763
|
-
url: toPathString(localVarUrlObj),
|
|
28764
|
-
options: localVarRequestOptions,
|
|
28765
|
-
};
|
|
28766
|
-
},
|
|
28767
|
-
/**
|
|
28768
|
-
* This will return all the custom domains and Qovery autogenerated domain for all the applications within this environment
|
|
28769
|
-
* @summary List all URLs of the environment
|
|
28770
|
-
* @param {string} environmentId Environment ID
|
|
28771
|
-
* @param {*} [options] Override http request option.
|
|
28772
|
-
* @throws {RequiredError}
|
|
28773
|
-
*/
|
|
28774
|
-
listEnvironmentLinks: async (environmentId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
28775
|
-
// verify required parameter 'environmentId' is not null or undefined
|
|
28776
|
-
assertParamExists('listEnvironmentLinks', 'environmentId', environmentId)
|
|
28777
|
-
const localVarPath = `/environment/{environmentId}/link`
|
|
28778
|
-
.replace(`{${"environmentId"}}`, encodeURIComponent(String(environmentId)));
|
|
28779
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
28780
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
28781
|
-
let baseOptions;
|
|
28782
|
-
if (configuration) {
|
|
28783
|
-
baseOptions = configuration.baseOptions;
|
|
28784
|
-
}
|
|
28785
|
-
|
|
28786
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
28787
|
-
const localVarHeaderParameter = {} as any;
|
|
28788
|
-
const localVarQueryParameter = {} as any;
|
|
28789
|
-
|
|
28790
|
-
// authentication bearerAuth required
|
|
28791
|
-
// http bearer authentication required
|
|
28792
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
28793
|
-
|
|
28794
|
-
|
|
28795
|
-
|
|
28796
28768
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
28797
28769
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
28798
28770
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -28857,17 +28829,6 @@ export const EnvironmentMainCallsApiFp = function(configuration?: Configuration)
|
|
|
28857
28829
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getEnvironmentStatus(environmentId, options);
|
|
28858
28830
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
28859
28831
|
},
|
|
28860
|
-
/**
|
|
28861
|
-
* This will return all the custom domains and Qovery autogenerated domain for all the applications within this environment
|
|
28862
|
-
* @summary List all URLs of the environment
|
|
28863
|
-
* @param {string} environmentId Environment ID
|
|
28864
|
-
* @param {*} [options] Override http request option.
|
|
28865
|
-
* @throws {RequiredError}
|
|
28866
|
-
*/
|
|
28867
|
-
async listEnvironmentLinks(environmentId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LinkResponseList>> {
|
|
28868
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listEnvironmentLinks(environmentId, options);
|
|
28869
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
28870
|
-
},
|
|
28871
28832
|
}
|
|
28872
28833
|
};
|
|
28873
28834
|
|
|
@@ -28919,16 +28880,6 @@ export const EnvironmentMainCallsApiFactory = function (configuration?: Configur
|
|
|
28919
28880
|
getEnvironmentStatus(environmentId: string, options?: any): AxiosPromise<Status> {
|
|
28920
28881
|
return localVarFp.getEnvironmentStatus(environmentId, options).then((request) => request(axios, basePath));
|
|
28921
28882
|
},
|
|
28922
|
-
/**
|
|
28923
|
-
* This will return all the custom domains and Qovery autogenerated domain for all the applications within this environment
|
|
28924
|
-
* @summary List all URLs of the environment
|
|
28925
|
-
* @param {string} environmentId Environment ID
|
|
28926
|
-
* @param {*} [options] Override http request option.
|
|
28927
|
-
* @throws {RequiredError}
|
|
28928
|
-
*/
|
|
28929
|
-
listEnvironmentLinks(environmentId: string, options?: any): AxiosPromise<LinkResponseList> {
|
|
28930
|
-
return localVarFp.listEnvironmentLinks(environmentId, options).then((request) => request(axios, basePath));
|
|
28931
|
-
},
|
|
28932
28883
|
};
|
|
28933
28884
|
};
|
|
28934
28885
|
|
|
@@ -28987,18 +28938,6 @@ export class EnvironmentMainCallsApi extends BaseAPI {
|
|
|
28987
28938
|
public getEnvironmentStatus(environmentId: string, options?: AxiosRequestConfig) {
|
|
28988
28939
|
return EnvironmentMainCallsApiFp(this.configuration).getEnvironmentStatus(environmentId, options).then((request) => request(this.axios, this.basePath));
|
|
28989
28940
|
}
|
|
28990
|
-
|
|
28991
|
-
/**
|
|
28992
|
-
* This will return all the custom domains and Qovery autogenerated domain for all the applications within this environment
|
|
28993
|
-
* @summary List all URLs of the environment
|
|
28994
|
-
* @param {string} environmentId Environment ID
|
|
28995
|
-
* @param {*} [options] Override http request option.
|
|
28996
|
-
* @throws {RequiredError}
|
|
28997
|
-
* @memberof EnvironmentMainCallsApi
|
|
28998
|
-
*/
|
|
28999
|
-
public listEnvironmentLinks(environmentId: string, options?: AxiosRequestConfig) {
|
|
29000
|
-
return EnvironmentMainCallsApiFp(this.configuration).listEnvironmentLinks(environmentId, options).then((request) => request(this.axios, this.basePath));
|
|
29001
|
-
}
|
|
29002
28941
|
}
|
|
29003
28942
|
|
|
29004
28943
|
|