qovery-typescript-axios 1.1.59 → 1.1.61

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 CHANGED
@@ -3666,6 +3666,12 @@ export interface ContainerResponse {
3666
3666
  * @memberof ContainerResponse
3667
3667
  */
3668
3668
  'name': string;
3669
+ /**
3670
+ * give a description to this container
3671
+ * @type {string}
3672
+ * @memberof ContainerResponse
3673
+ */
3674
+ 'description'?: string;
3669
3675
  /**
3670
3676
  * name of the image container
3671
3677
  * @type {string}
@@ -3763,6 +3769,12 @@ export interface ContainerResponseAllOf {
3763
3769
  * @memberof ContainerResponseAllOf
3764
3770
  */
3765
3771
  'name': string;
3772
+ /**
3773
+ * give a description to this container
3774
+ * @type {string}
3775
+ * @memberof ContainerResponseAllOf
3776
+ */
3777
+ 'description'?: string;
3766
3778
  /**
3767
3779
  * name of the image container
3768
3780
  * @type {string}
@@ -33786,6 +33798,54 @@ export const JobMainCallsApiAxiosParamCreator = function (configuration?: Config
33786
33798
 
33787
33799
 
33788
33800
 
33801
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
33802
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
33803
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
33804
+
33805
+ return {
33806
+ url: toPathString(localVarUrlObj),
33807
+ options: localVarRequestOptions,
33808
+ };
33809
+ },
33810
+ /**
33811
+ * Returns list of the last 100 commits made on the repository linked to the job
33812
+ * @summary List last job commits
33813
+ * @param {string} jobId Job ID
33814
+ * @param {string} [startId] Starting point after which to return results
33815
+ * @param {string} [gitCommitId] Git Commit ID
33816
+ * @param {*} [options] Override http request option.
33817
+ * @throws {RequiredError}
33818
+ */
33819
+ listJobCommit: async (jobId: string, startId?: string, gitCommitId?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
33820
+ // verify required parameter 'jobId' is not null or undefined
33821
+ assertParamExists('listJobCommit', 'jobId', jobId)
33822
+ const localVarPath = `/job/{jobId}/commit`
33823
+ .replace(`{${"jobId"}}`, encodeURIComponent(String(jobId)));
33824
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
33825
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
33826
+ let baseOptions;
33827
+ if (configuration) {
33828
+ baseOptions = configuration.baseOptions;
33829
+ }
33830
+
33831
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
33832
+ const localVarHeaderParameter = {} as any;
33833
+ const localVarQueryParameter = {} as any;
33834
+
33835
+ // authentication bearerAuth required
33836
+ // http bearer authentication required
33837
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
33838
+
33839
+ if (startId !== undefined) {
33840
+ localVarQueryParameter['startId'] = startId;
33841
+ }
33842
+
33843
+ if (gitCommitId !== undefined) {
33844
+ localVarQueryParameter['gitCommitId'] = gitCommitId;
33845
+ }
33846
+
33847
+
33848
+
33789
33849
  setSearchParams(localVarUrlObj, localVarQueryParameter);
33790
33850
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
33791
33851
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -33850,6 +33910,19 @@ export const JobMainCallsApiFp = function(configuration?: Configuration) {
33850
33910
  const localVarAxiosArgs = await localVarAxiosParamCreator.getJobStatus(jobId, options);
33851
33911
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
33852
33912
  },
33913
+ /**
33914
+ * Returns list of the last 100 commits made on the repository linked to the job
33915
+ * @summary List last job commits
33916
+ * @param {string} jobId Job ID
33917
+ * @param {string} [startId] Starting point after which to return results
33918
+ * @param {string} [gitCommitId] Git Commit ID
33919
+ * @param {*} [options] Override http request option.
33920
+ * @throws {RequiredError}
33921
+ */
33922
+ async listJobCommit(jobId: string, startId?: string, gitCommitId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommitResponseList>> {
33923
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listJobCommit(jobId, startId, gitCommitId, options);
33924
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
33925
+ },
33853
33926
  }
33854
33927
  };
33855
33928
 
@@ -33901,6 +33974,18 @@ export const JobMainCallsApiFactory = function (configuration?: Configuration, b
33901
33974
  getJobStatus(jobId: string, options?: any): AxiosPromise<Status> {
33902
33975
  return localVarFp.getJobStatus(jobId, options).then((request) => request(axios, basePath));
33903
33976
  },
33977
+ /**
33978
+ * Returns list of the last 100 commits made on the repository linked to the job
33979
+ * @summary List last job commits
33980
+ * @param {string} jobId Job ID
33981
+ * @param {string} [startId] Starting point after which to return results
33982
+ * @param {string} [gitCommitId] Git Commit ID
33983
+ * @param {*} [options] Override http request option.
33984
+ * @throws {RequiredError}
33985
+ */
33986
+ listJobCommit(jobId: string, startId?: string, gitCommitId?: string, options?: any): AxiosPromise<CommitResponseList> {
33987
+ return localVarFp.listJobCommit(jobId, startId, gitCommitId, options).then((request) => request(axios, basePath));
33988
+ },
33904
33989
  };
33905
33990
  };
33906
33991
 
@@ -33959,6 +34044,20 @@ export class JobMainCallsApi extends BaseAPI {
33959
34044
  public getJobStatus(jobId: string, options?: AxiosRequestConfig) {
33960
34045
  return JobMainCallsApiFp(this.configuration).getJobStatus(jobId, options).then((request) => request(this.axios, this.basePath));
33961
34046
  }
34047
+
34048
+ /**
34049
+ * Returns list of the last 100 commits made on the repository linked to the job
34050
+ * @summary List last job commits
34051
+ * @param {string} jobId Job ID
34052
+ * @param {string} [startId] Starting point after which to return results
34053
+ * @param {string} [gitCommitId] Git Commit ID
34054
+ * @param {*} [options] Override http request option.
34055
+ * @throws {RequiredError}
34056
+ * @memberof JobMainCallsApi
34057
+ */
34058
+ public listJobCommit(jobId: string, startId?: string, gitCommitId?: string, options?: AxiosRequestConfig) {
34059
+ return JobMainCallsApiFp(this.configuration).listJobCommit(jobId, startId, gitCommitId, options).then((request) => request(this.axios, this.basePath));
34060
+ }
33962
34061
  }
33963
34062
 
33964
34063
 
package/dist/api.d.ts CHANGED
@@ -3639,6 +3639,12 @@ export interface ContainerResponse {
3639
3639
  * @memberof ContainerResponse
3640
3640
  */
3641
3641
  'name': string;
3642
+ /**
3643
+ * give a description to this container
3644
+ * @type {string}
3645
+ * @memberof ContainerResponse
3646
+ */
3647
+ 'description'?: string;
3642
3648
  /**
3643
3649
  * name of the image container
3644
3650
  * @type {string}
@@ -3736,6 +3742,12 @@ export interface ContainerResponseAllOf {
3736
3742
  * @memberof ContainerResponseAllOf
3737
3743
  */
3738
3744
  'name': string;
3745
+ /**
3746
+ * give a description to this container
3747
+ * @type {string}
3748
+ * @memberof ContainerResponseAllOf
3749
+ */
3750
+ 'description'?: string;
3739
3751
  /**
3740
3752
  * name of the image container
3741
3753
  * @type {string}
@@ -22683,6 +22695,16 @@ export declare const JobMainCallsApiAxiosParamCreator: (configuration?: Configur
22683
22695
  * @throws {RequiredError}
22684
22696
  */
22685
22697
  getJobStatus: (jobId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
22698
+ /**
22699
+ * Returns list of the last 100 commits made on the repository linked to the job
22700
+ * @summary List last job commits
22701
+ * @param {string} jobId Job ID
22702
+ * @param {string} [startId] Starting point after which to return results
22703
+ * @param {string} [gitCommitId] Git Commit ID
22704
+ * @param {*} [options] Override http request option.
22705
+ * @throws {RequiredError}
22706
+ */
22707
+ listJobCommit: (jobId: string, startId?: string, gitCommitId?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
22686
22708
  };
22687
22709
  /**
22688
22710
  * JobMainCallsApi - functional programming interface
@@ -22722,6 +22744,16 @@ export declare const JobMainCallsApiFp: (configuration?: Configuration) => {
22722
22744
  * @throws {RequiredError}
22723
22745
  */
22724
22746
  getJobStatus(jobId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Status>>;
22747
+ /**
22748
+ * Returns list of the last 100 commits made on the repository linked to the job
22749
+ * @summary List last job commits
22750
+ * @param {string} jobId Job ID
22751
+ * @param {string} [startId] Starting point after which to return results
22752
+ * @param {string} [gitCommitId] Git Commit ID
22753
+ * @param {*} [options] Override http request option.
22754
+ * @throws {RequiredError}
22755
+ */
22756
+ listJobCommit(jobId: string, startId?: string, gitCommitId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommitResponseList>>;
22725
22757
  };
22726
22758
  /**
22727
22759
  * JobMainCallsApi - factory interface
@@ -22761,6 +22793,16 @@ export declare const JobMainCallsApiFactory: (configuration?: Configuration, bas
22761
22793
  * @throws {RequiredError}
22762
22794
  */
22763
22795
  getJobStatus(jobId: string, options?: any): AxiosPromise<Status>;
22796
+ /**
22797
+ * Returns list of the last 100 commits made on the repository linked to the job
22798
+ * @summary List last job commits
22799
+ * @param {string} jobId Job ID
22800
+ * @param {string} [startId] Starting point after which to return results
22801
+ * @param {string} [gitCommitId] Git Commit ID
22802
+ * @param {*} [options] Override http request option.
22803
+ * @throws {RequiredError}
22804
+ */
22805
+ listJobCommit(jobId: string, startId?: string, gitCommitId?: string, options?: any): AxiosPromise<CommitResponseList>;
22764
22806
  };
22765
22807
  /**
22766
22808
  * JobMainCallsApi - object-oriented interface
@@ -22806,6 +22848,17 @@ export declare class JobMainCallsApi extends BaseAPI {
22806
22848
  * @memberof JobMainCallsApi
22807
22849
  */
22808
22850
  getJobStatus(jobId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Status>>;
22851
+ /**
22852
+ * Returns list of the last 100 commits made on the repository linked to the job
22853
+ * @summary List last job commits
22854
+ * @param {string} jobId Job ID
22855
+ * @param {string} [startId] Starting point after which to return results
22856
+ * @param {string} [gitCommitId] Git Commit ID
22857
+ * @param {*} [options] Override http request option.
22858
+ * @throws {RequiredError}
22859
+ * @memberof JobMainCallsApi
22860
+ */
22861
+ listJobCommit(jobId: string, startId?: string, gitCommitId?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CommitResponseList>>;
22809
22862
  }
22810
22863
  /**
22811
22864
  * JobMetricsApi - axios parameter creator
package/dist/api.js CHANGED
@@ -20720,6 +20720,46 @@ const JobMainCallsApiAxiosParamCreator = function (configuration) {
20720
20720
  options: localVarRequestOptions,
20721
20721
  };
20722
20722
  }),
20723
+ /**
20724
+ * Returns list of the last 100 commits made on the repository linked to the job
20725
+ * @summary List last job commits
20726
+ * @param {string} jobId Job ID
20727
+ * @param {string} [startId] Starting point after which to return results
20728
+ * @param {string} [gitCommitId] Git Commit ID
20729
+ * @param {*} [options] Override http request option.
20730
+ * @throws {RequiredError}
20731
+ */
20732
+ listJobCommit: (jobId, startId, gitCommitId, options = {}) => __awaiter(this, void 0, void 0, function* () {
20733
+ // verify required parameter 'jobId' is not null or undefined
20734
+ (0, common_1.assertParamExists)('listJobCommit', 'jobId', jobId);
20735
+ const localVarPath = `/job/{jobId}/commit`
20736
+ .replace(`{${"jobId"}}`, encodeURIComponent(String(jobId)));
20737
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
20738
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
20739
+ let baseOptions;
20740
+ if (configuration) {
20741
+ baseOptions = configuration.baseOptions;
20742
+ }
20743
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
20744
+ const localVarHeaderParameter = {};
20745
+ const localVarQueryParameter = {};
20746
+ // authentication bearerAuth required
20747
+ // http bearer authentication required
20748
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
20749
+ if (startId !== undefined) {
20750
+ localVarQueryParameter['startId'] = startId;
20751
+ }
20752
+ if (gitCommitId !== undefined) {
20753
+ localVarQueryParameter['gitCommitId'] = gitCommitId;
20754
+ }
20755
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
20756
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
20757
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
20758
+ return {
20759
+ url: (0, common_1.toPathString)(localVarUrlObj),
20760
+ options: localVarRequestOptions,
20761
+ };
20762
+ }),
20723
20763
  };
20724
20764
  };
20725
20765
  exports.JobMainCallsApiAxiosParamCreator = JobMainCallsApiAxiosParamCreator;
@@ -20783,6 +20823,21 @@ const JobMainCallsApiFp = function (configuration) {
20783
20823
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
20784
20824
  });
20785
20825
  },
20826
+ /**
20827
+ * Returns list of the last 100 commits made on the repository linked to the job
20828
+ * @summary List last job commits
20829
+ * @param {string} jobId Job ID
20830
+ * @param {string} [startId] Starting point after which to return results
20831
+ * @param {string} [gitCommitId] Git Commit ID
20832
+ * @param {*} [options] Override http request option.
20833
+ * @throws {RequiredError}
20834
+ */
20835
+ listJobCommit(jobId, startId, gitCommitId, options) {
20836
+ return __awaiter(this, void 0, void 0, function* () {
20837
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.listJobCommit(jobId, startId, gitCommitId, options);
20838
+ return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
20839
+ });
20840
+ },
20786
20841
  };
20787
20842
  };
20788
20843
  exports.JobMainCallsApiFp = JobMainCallsApiFp;
@@ -20834,6 +20889,18 @@ const JobMainCallsApiFactory = function (configuration, basePath, axios) {
20834
20889
  getJobStatus(jobId, options) {
20835
20890
  return localVarFp.getJobStatus(jobId, options).then((request) => request(axios, basePath));
20836
20891
  },
20892
+ /**
20893
+ * Returns list of the last 100 commits made on the repository linked to the job
20894
+ * @summary List last job commits
20895
+ * @param {string} jobId Job ID
20896
+ * @param {string} [startId] Starting point after which to return results
20897
+ * @param {string} [gitCommitId] Git Commit ID
20898
+ * @param {*} [options] Override http request option.
20899
+ * @throws {RequiredError}
20900
+ */
20901
+ listJobCommit(jobId, startId, gitCommitId, options) {
20902
+ return localVarFp.listJobCommit(jobId, startId, gitCommitId, options).then((request) => request(axios, basePath));
20903
+ },
20837
20904
  };
20838
20905
  };
20839
20906
  exports.JobMainCallsApiFactory = JobMainCallsApiFactory;
@@ -20889,6 +20956,19 @@ class JobMainCallsApi extends base_1.BaseAPI {
20889
20956
  getJobStatus(jobId, options) {
20890
20957
  return (0, exports.JobMainCallsApiFp)(this.configuration).getJobStatus(jobId, options).then((request) => request(this.axios, this.basePath));
20891
20958
  }
20959
+ /**
20960
+ * Returns list of the last 100 commits made on the repository linked to the job
20961
+ * @summary List last job commits
20962
+ * @param {string} jobId Job ID
20963
+ * @param {string} [startId] Starting point after which to return results
20964
+ * @param {string} [gitCommitId] Git Commit ID
20965
+ * @param {*} [options] Override http request option.
20966
+ * @throws {RequiredError}
20967
+ * @memberof JobMainCallsApi
20968
+ */
20969
+ listJobCommit(jobId, startId, gitCommitId, options) {
20970
+ return (0, exports.JobMainCallsApiFp)(this.configuration).listJobCommit(jobId, startId, gitCommitId, options).then((request) => request(this.axios, this.basePath));
20971
+ }
20892
20972
  }
20893
20973
  exports.JobMainCallsApi = JobMainCallsApi;
20894
20974
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "qovery-typescript-axios",
3
- "version": "v1.1.59",
3
+ "version": "v1.1.61",
4
4
  "description": "OpenAPI client for qovery-typescript-axios",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [