qovery-typescript-axios 1.1.61 → 1.1.63
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 +72 -2
- package/dist/api.d.ts +37 -2
- package/dist/api.js +59 -0
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -7922,11 +7922,17 @@ export enum JobAdvancedSettingsLivenessProbeTypeEnum {
|
|
|
7922
7922
|
*/
|
|
7923
7923
|
export interface JobDeployRequest {
|
|
7924
7924
|
/**
|
|
7925
|
-
* Image tag to deploy
|
|
7925
|
+
* Image tag to deploy. Cannot be set if `git_commit_id` is defined
|
|
7926
7926
|
* @type {string}
|
|
7927
7927
|
* @memberof JobDeployRequest
|
|
7928
7928
|
*/
|
|
7929
|
-
'image_tag'
|
|
7929
|
+
'image_tag'?: string;
|
|
7930
|
+
/**
|
|
7931
|
+
* Commit to deploy Cannot be set if `image_tag` is defined
|
|
7932
|
+
* @type {string}
|
|
7933
|
+
* @memberof JobDeployRequest
|
|
7934
|
+
*/
|
|
7935
|
+
'git_commit_id'?: string;
|
|
7930
7936
|
}
|
|
7931
7937
|
/**
|
|
7932
7938
|
*
|
|
@@ -34740,6 +34746,40 @@ export const JobsApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
34740
34746
|
options: localVarRequestOptions,
|
|
34741
34747
|
};
|
|
34742
34748
|
},
|
|
34749
|
+
/**
|
|
34750
|
+
*
|
|
34751
|
+
* @summary List default job advanced settings
|
|
34752
|
+
* @param {*} [options] Override http request option.
|
|
34753
|
+
* @throws {RequiredError}
|
|
34754
|
+
*/
|
|
34755
|
+
getDefaultJobAdvancedSettings: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
34756
|
+
const localVarPath = `/defaultJobAdvancedSettings`;
|
|
34757
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
34758
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
34759
|
+
let baseOptions;
|
|
34760
|
+
if (configuration) {
|
|
34761
|
+
baseOptions = configuration.baseOptions;
|
|
34762
|
+
}
|
|
34763
|
+
|
|
34764
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
34765
|
+
const localVarHeaderParameter = {} as any;
|
|
34766
|
+
const localVarQueryParameter = {} as any;
|
|
34767
|
+
|
|
34768
|
+
// authentication bearerAuth required
|
|
34769
|
+
// http bearer authentication required
|
|
34770
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
34771
|
+
|
|
34772
|
+
|
|
34773
|
+
|
|
34774
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
34775
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
34776
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
34777
|
+
|
|
34778
|
+
return {
|
|
34779
|
+
url: toPathString(localVarUrlObj),
|
|
34780
|
+
options: localVarRequestOptions,
|
|
34781
|
+
};
|
|
34782
|
+
},
|
|
34743
34783
|
/**
|
|
34744
34784
|
* Returns a list of jobs with only their id and status.
|
|
34745
34785
|
* @summary List all environment job statuses
|
|
@@ -34843,6 +34883,16 @@ export const JobsApiFp = function(configuration?: Configuration) {
|
|
|
34843
34883
|
const localVarAxiosArgs = await localVarAxiosParamCreator.createJob(environmentId, jobRequest, options);
|
|
34844
34884
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
34845
34885
|
},
|
|
34886
|
+
/**
|
|
34887
|
+
*
|
|
34888
|
+
* @summary List default job advanced settings
|
|
34889
|
+
* @param {*} [options] Override http request option.
|
|
34890
|
+
* @throws {RequiredError}
|
|
34891
|
+
*/
|
|
34892
|
+
async getDefaultJobAdvancedSettings(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JobAdvancedSettings>> {
|
|
34893
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getDefaultJobAdvancedSettings(options);
|
|
34894
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
34895
|
+
},
|
|
34846
34896
|
/**
|
|
34847
34897
|
* Returns a list of jobs with only their id and status.
|
|
34848
34898
|
* @summary List all environment job statuses
|
|
@@ -34887,6 +34937,15 @@ export const JobsApiFactory = function (configuration?: Configuration, basePath?
|
|
|
34887
34937
|
createJob(environmentId: string, jobRequest?: JobRequest, options?: any): AxiosPromise<JobResponse> {
|
|
34888
34938
|
return localVarFp.createJob(environmentId, jobRequest, options).then((request) => request(axios, basePath));
|
|
34889
34939
|
},
|
|
34940
|
+
/**
|
|
34941
|
+
*
|
|
34942
|
+
* @summary List default job advanced settings
|
|
34943
|
+
* @param {*} [options] Override http request option.
|
|
34944
|
+
* @throws {RequiredError}
|
|
34945
|
+
*/
|
|
34946
|
+
getDefaultJobAdvancedSettings(options?: any): AxiosPromise<JobAdvancedSettings> {
|
|
34947
|
+
return localVarFp.getDefaultJobAdvancedSettings(options).then((request) => request(axios, basePath));
|
|
34948
|
+
},
|
|
34890
34949
|
/**
|
|
34891
34950
|
* Returns a list of jobs with only their id and status.
|
|
34892
34951
|
* @summary List all environment job statuses
|
|
@@ -34931,6 +34990,17 @@ export class JobsApi extends BaseAPI {
|
|
|
34931
34990
|
return JobsApiFp(this.configuration).createJob(environmentId, jobRequest, options).then((request) => request(this.axios, this.basePath));
|
|
34932
34991
|
}
|
|
34933
34992
|
|
|
34993
|
+
/**
|
|
34994
|
+
*
|
|
34995
|
+
* @summary List default job advanced settings
|
|
34996
|
+
* @param {*} [options] Override http request option.
|
|
34997
|
+
* @throws {RequiredError}
|
|
34998
|
+
* @memberof JobsApi
|
|
34999
|
+
*/
|
|
35000
|
+
public getDefaultJobAdvancedSettings(options?: AxiosRequestConfig) {
|
|
35001
|
+
return JobsApiFp(this.configuration).getDefaultJobAdvancedSettings(options).then((request) => request(this.axios, this.basePath));
|
|
35002
|
+
}
|
|
35003
|
+
|
|
34934
35004
|
/**
|
|
34935
35005
|
* Returns a list of jobs with only their id and status.
|
|
34936
35006
|
* @summary List all environment job statuses
|
package/dist/api.d.ts
CHANGED
|
@@ -7863,11 +7863,17 @@ export declare enum JobAdvancedSettingsLivenessProbeTypeEnum {
|
|
|
7863
7863
|
*/
|
|
7864
7864
|
export interface JobDeployRequest {
|
|
7865
7865
|
/**
|
|
7866
|
-
* Image tag to deploy
|
|
7866
|
+
* Image tag to deploy. Cannot be set if `git_commit_id` is defined
|
|
7867
7867
|
* @type {string}
|
|
7868
7868
|
* @memberof JobDeployRequest
|
|
7869
7869
|
*/
|
|
7870
|
-
'image_tag'
|
|
7870
|
+
'image_tag'?: string;
|
|
7871
|
+
/**
|
|
7872
|
+
* Commit to deploy Cannot be set if `image_tag` is defined
|
|
7873
|
+
* @type {string}
|
|
7874
|
+
* @memberof JobDeployRequest
|
|
7875
|
+
*/
|
|
7876
|
+
'git_commit_id'?: string;
|
|
7871
7877
|
}
|
|
7872
7878
|
/**
|
|
7873
7879
|
*
|
|
@@ -23189,6 +23195,13 @@ export declare const JobsApiAxiosParamCreator: (configuration?: Configuration) =
|
|
|
23189
23195
|
* @throws {RequiredError}
|
|
23190
23196
|
*/
|
|
23191
23197
|
createJob: (environmentId: string, jobRequest?: JobRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
23198
|
+
/**
|
|
23199
|
+
*
|
|
23200
|
+
* @summary List default job advanced settings
|
|
23201
|
+
* @param {*} [options] Override http request option.
|
|
23202
|
+
* @throws {RequiredError}
|
|
23203
|
+
*/
|
|
23204
|
+
getDefaultJobAdvancedSettings: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
23192
23205
|
/**
|
|
23193
23206
|
* Returns a list of jobs with only their id and status.
|
|
23194
23207
|
* @summary List all environment job statuses
|
|
@@ -23221,6 +23234,13 @@ export declare const JobsApiFp: (configuration?: Configuration) => {
|
|
|
23221
23234
|
* @throws {RequiredError}
|
|
23222
23235
|
*/
|
|
23223
23236
|
createJob(environmentId: string, jobRequest?: JobRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JobResponse>>;
|
|
23237
|
+
/**
|
|
23238
|
+
*
|
|
23239
|
+
* @summary List default job advanced settings
|
|
23240
|
+
* @param {*} [options] Override http request option.
|
|
23241
|
+
* @throws {RequiredError}
|
|
23242
|
+
*/
|
|
23243
|
+
getDefaultJobAdvancedSettings(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JobAdvancedSettings>>;
|
|
23224
23244
|
/**
|
|
23225
23245
|
* Returns a list of jobs with only their id and status.
|
|
23226
23246
|
* @summary List all environment job statuses
|
|
@@ -23253,6 +23273,13 @@ export declare const JobsApiFactory: (configuration?: Configuration, basePath?:
|
|
|
23253
23273
|
* @throws {RequiredError}
|
|
23254
23274
|
*/
|
|
23255
23275
|
createJob(environmentId: string, jobRequest?: JobRequest, options?: any): AxiosPromise<JobResponse>;
|
|
23276
|
+
/**
|
|
23277
|
+
*
|
|
23278
|
+
* @summary List default job advanced settings
|
|
23279
|
+
* @param {*} [options] Override http request option.
|
|
23280
|
+
* @throws {RequiredError}
|
|
23281
|
+
*/
|
|
23282
|
+
getDefaultJobAdvancedSettings(options?: any): AxiosPromise<JobAdvancedSettings>;
|
|
23256
23283
|
/**
|
|
23257
23284
|
* Returns a list of jobs with only their id and status.
|
|
23258
23285
|
* @summary List all environment job statuses
|
|
@@ -23288,6 +23315,14 @@ export declare class JobsApi extends BaseAPI {
|
|
|
23288
23315
|
* @memberof JobsApi
|
|
23289
23316
|
*/
|
|
23290
23317
|
createJob(environmentId: string, jobRequest?: JobRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<JobResponse>>;
|
|
23318
|
+
/**
|
|
23319
|
+
*
|
|
23320
|
+
* @summary List default job advanced settings
|
|
23321
|
+
* @param {*} [options] Override http request option.
|
|
23322
|
+
* @throws {RequiredError}
|
|
23323
|
+
* @memberof JobsApi
|
|
23324
|
+
*/
|
|
23325
|
+
getDefaultJobAdvancedSettings(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<JobAdvancedSettings>>;
|
|
23291
23326
|
/**
|
|
23292
23327
|
* Returns a list of jobs with only their id and status.
|
|
23293
23328
|
* @summary List all environment job statuses
|
package/dist/api.js
CHANGED
|
@@ -21604,6 +21604,34 @@ const JobsApiAxiosParamCreator = function (configuration) {
|
|
|
21604
21604
|
options: localVarRequestOptions,
|
|
21605
21605
|
};
|
|
21606
21606
|
}),
|
|
21607
|
+
/**
|
|
21608
|
+
*
|
|
21609
|
+
* @summary List default job advanced settings
|
|
21610
|
+
* @param {*} [options] Override http request option.
|
|
21611
|
+
* @throws {RequiredError}
|
|
21612
|
+
*/
|
|
21613
|
+
getDefaultJobAdvancedSettings: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
21614
|
+
const localVarPath = `/defaultJobAdvancedSettings`;
|
|
21615
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
21616
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
21617
|
+
let baseOptions;
|
|
21618
|
+
if (configuration) {
|
|
21619
|
+
baseOptions = configuration.baseOptions;
|
|
21620
|
+
}
|
|
21621
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
21622
|
+
const localVarHeaderParameter = {};
|
|
21623
|
+
const localVarQueryParameter = {};
|
|
21624
|
+
// authentication bearerAuth required
|
|
21625
|
+
// http bearer authentication required
|
|
21626
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
21627
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
21628
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
21629
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
21630
|
+
return {
|
|
21631
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
21632
|
+
options: localVarRequestOptions,
|
|
21633
|
+
};
|
|
21634
|
+
}),
|
|
21607
21635
|
/**
|
|
21608
21636
|
* Returns a list of jobs with only their id and status.
|
|
21609
21637
|
* @summary List all environment job statuses
|
|
@@ -21696,6 +21724,18 @@ const JobsApiFp = function (configuration) {
|
|
|
21696
21724
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
21697
21725
|
});
|
|
21698
21726
|
},
|
|
21727
|
+
/**
|
|
21728
|
+
*
|
|
21729
|
+
* @summary List default job advanced settings
|
|
21730
|
+
* @param {*} [options] Override http request option.
|
|
21731
|
+
* @throws {RequiredError}
|
|
21732
|
+
*/
|
|
21733
|
+
getDefaultJobAdvancedSettings(options) {
|
|
21734
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
21735
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getDefaultJobAdvancedSettings(options);
|
|
21736
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
21737
|
+
});
|
|
21738
|
+
},
|
|
21699
21739
|
/**
|
|
21700
21740
|
* Returns a list of jobs with only their id and status.
|
|
21701
21741
|
* @summary List all environment job statuses
|
|
@@ -21744,6 +21784,15 @@ const JobsApiFactory = function (configuration, basePath, axios) {
|
|
|
21744
21784
|
createJob(environmentId, jobRequest, options) {
|
|
21745
21785
|
return localVarFp.createJob(environmentId, jobRequest, options).then((request) => request(axios, basePath));
|
|
21746
21786
|
},
|
|
21787
|
+
/**
|
|
21788
|
+
*
|
|
21789
|
+
* @summary List default job advanced settings
|
|
21790
|
+
* @param {*} [options] Override http request option.
|
|
21791
|
+
* @throws {RequiredError}
|
|
21792
|
+
*/
|
|
21793
|
+
getDefaultJobAdvancedSettings(options) {
|
|
21794
|
+
return localVarFp.getDefaultJobAdvancedSettings(options).then((request) => request(axios, basePath));
|
|
21795
|
+
},
|
|
21747
21796
|
/**
|
|
21748
21797
|
* Returns a list of jobs with only their id and status.
|
|
21749
21798
|
* @summary List all environment job statuses
|
|
@@ -21787,6 +21836,16 @@ class JobsApi extends base_1.BaseAPI {
|
|
|
21787
21836
|
createJob(environmentId, jobRequest, options) {
|
|
21788
21837
|
return (0, exports.JobsApiFp)(this.configuration).createJob(environmentId, jobRequest, options).then((request) => request(this.axios, this.basePath));
|
|
21789
21838
|
}
|
|
21839
|
+
/**
|
|
21840
|
+
*
|
|
21841
|
+
* @summary List default job advanced settings
|
|
21842
|
+
* @param {*} [options] Override http request option.
|
|
21843
|
+
* @throws {RequiredError}
|
|
21844
|
+
* @memberof JobsApi
|
|
21845
|
+
*/
|
|
21846
|
+
getDefaultJobAdvancedSettings(options) {
|
|
21847
|
+
return (0, exports.JobsApiFp)(this.configuration).getDefaultJobAdvancedSettings(options).then((request) => request(this.axios, this.basePath));
|
|
21848
|
+
}
|
|
21790
21849
|
/**
|
|
21791
21850
|
* Returns a list of jobs with only their id and status.
|
|
21792
21851
|
* @summary List all environment job statuses
|