qovery-typescript-axios 1.1.60 → 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
@@ -33798,6 +33798,54 @@ export const JobMainCallsApiAxiosParamCreator = function (configuration?: Config
33798
33798
 
33799
33799
 
33800
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
+
33801
33849
  setSearchParams(localVarUrlObj, localVarQueryParameter);
33802
33850
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
33803
33851
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -33862,6 +33910,19 @@ export const JobMainCallsApiFp = function(configuration?: Configuration) {
33862
33910
  const localVarAxiosArgs = await localVarAxiosParamCreator.getJobStatus(jobId, options);
33863
33911
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
33864
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
+ },
33865
33926
  }
33866
33927
  };
33867
33928
 
@@ -33913,6 +33974,18 @@ export const JobMainCallsApiFactory = function (configuration?: Configuration, b
33913
33974
  getJobStatus(jobId: string, options?: any): AxiosPromise<Status> {
33914
33975
  return localVarFp.getJobStatus(jobId, options).then((request) => request(axios, basePath));
33915
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
+ },
33916
33989
  };
33917
33990
  };
33918
33991
 
@@ -33971,6 +34044,20 @@ export class JobMainCallsApi extends BaseAPI {
33971
34044
  public getJobStatus(jobId: string, options?: AxiosRequestConfig) {
33972
34045
  return JobMainCallsApiFp(this.configuration).getJobStatus(jobId, options).then((request) => request(this.axios, this.basePath));
33973
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
+ }
33974
34061
  }
33975
34062
 
33976
34063
 
package/dist/api.d.ts CHANGED
@@ -22695,6 +22695,16 @@ export declare const JobMainCallsApiAxiosParamCreator: (configuration?: Configur
22695
22695
  * @throws {RequiredError}
22696
22696
  */
22697
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>;
22698
22708
  };
22699
22709
  /**
22700
22710
  * JobMainCallsApi - functional programming interface
@@ -22734,6 +22744,16 @@ export declare const JobMainCallsApiFp: (configuration?: Configuration) => {
22734
22744
  * @throws {RequiredError}
22735
22745
  */
22736
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>>;
22737
22757
  };
22738
22758
  /**
22739
22759
  * JobMainCallsApi - factory interface
@@ -22773,6 +22793,16 @@ export declare const JobMainCallsApiFactory: (configuration?: Configuration, bas
22773
22793
  * @throws {RequiredError}
22774
22794
  */
22775
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>;
22776
22806
  };
22777
22807
  /**
22778
22808
  * JobMainCallsApi - object-oriented interface
@@ -22818,6 +22848,17 @@ export declare class JobMainCallsApi extends BaseAPI {
22818
22848
  * @memberof JobMainCallsApi
22819
22849
  */
22820
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>>;
22821
22862
  }
22822
22863
  /**
22823
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.60",
3
+ "version": "v1.1.61",
4
4
  "description": "OpenAPI client for qovery-typescript-axios",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [