qovery-typescript-axios 1.1.208 → 1.1.210

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.
Files changed (4) hide show
  1. package/api.ts +479 -0
  2. package/dist/api.d.ts +291 -0
  3. package/dist/api.js +338 -2
  4. package/package.json +1 -1
package/api.ts CHANGED
@@ -389,6 +389,18 @@ export interface ApplicationAdvancedSettings {
389
389
  * @memberof ApplicationAdvancedSettings
390
390
  */
391
391
  'network.ingress.proxy_read_timeout_seconds'?: number;
392
+ /**
393
+ * Allows to enable or disable nginx `proxy-buffering`
394
+ * @type {string}
395
+ * @memberof ApplicationAdvancedSettings
396
+ */
397
+ 'network.ingress.proxy_buffering'?: string;
398
+ /**
399
+ * Allows to enable or disable nginx `proxy-request-buffering`
400
+ * @type {string}
401
+ * @memberof ApplicationAdvancedSettings
402
+ */
403
+ 'network.ingress.proxy_request_buffering'?: string;
392
404
  /**
393
405
  * list of source ranges to allow access to ingress proxy. This property can be used to whitelist source IP ranges for ingress proxy. The value is a comma separated list of CIDRs, e.g. 10.0.0.0/24,172.10.0.1 To allow all source ranges, set 0.0.0.0/0.
394
406
  * @type {string}
@@ -425,6 +437,12 @@ export interface ApplicationAdvancedSettings {
425
437
  * @memberof ApplicationAdvancedSettings
426
438
  */
427
439
  'network.ingress.grpc_read_timeout_seconds'?: number;
440
+ /**
441
+ * Allows to define response headers
442
+ * @type {string}
443
+ * @memberof ApplicationAdvancedSettings
444
+ */
445
+ 'network.ingress.extra_headers'?: string;
428
446
  /**
429
447
  * Percentage value of cpu usage at which point pods should scale up.
430
448
  * @type {number}
@@ -3302,6 +3320,18 @@ export interface ContainerAdvancedSettings {
3302
3320
  * @memberof ContainerAdvancedSettings
3303
3321
  */
3304
3322
  'network.ingress.proxy_read_timeout_seconds'?: number;
3323
+ /**
3324
+ * Allows to enable or disable nginx `proxy-buffering`
3325
+ * @type {string}
3326
+ * @memberof ContainerAdvancedSettings
3327
+ */
3328
+ 'network.ingress.proxy_buffering'?: string;
3329
+ /**
3330
+ * Allows to enable or disable nginx `proxy-request-buffering`
3331
+ * @type {string}
3332
+ * @memberof ContainerAdvancedSettings
3333
+ */
3334
+ 'network.ingress.proxy_request_buffering'?: string;
3305
3335
  /**
3306
3336
  * Sets a timeout (in seconds) for transmitting a request to the grpc server
3307
3337
  * @type {number}
@@ -3326,6 +3356,12 @@ export interface ContainerAdvancedSettings {
3326
3356
  * @memberof ContainerAdvancedSettings
3327
3357
  */
3328
3358
  'network.ingress.denylist_source_range'?: string;
3359
+ /**
3360
+ * Allows to define response headers
3361
+ * @type {string}
3362
+ * @memberof ContainerAdvancedSettings
3363
+ */
3364
+ 'network.ingress.extra_headers'?: string;
3329
3365
  /**
3330
3366
  * Set the name of an environment variable to use as a basic authentication (`login:crypted_password`) from `htpasswd` command. You can add multiples comma separated values.
3331
3367
  * @type {string}
@@ -8498,6 +8534,87 @@ export interface JobDeployRequest {
8498
8534
  */
8499
8535
  'git_commit_id'?: string;
8500
8536
  }
8537
+ /**
8538
+ *
8539
+ * @export
8540
+ * @interface JobDeploymentRestrictionRequest
8541
+ */
8542
+ export interface JobDeploymentRestrictionRequest {
8543
+ /**
8544
+ *
8545
+ * @type {DeploymentRestrictionModeEnum}
8546
+ * @memberof JobDeploymentRestrictionRequest
8547
+ */
8548
+ 'mode': DeploymentRestrictionModeEnum;
8549
+ /**
8550
+ *
8551
+ * @type {DeploymentRestrictionTypeEnum}
8552
+ * @memberof JobDeploymentRestrictionRequest
8553
+ */
8554
+ 'type': DeploymentRestrictionTypeEnum;
8555
+ /**
8556
+ * For `PATH` restrictions, the value must not start with `/`
8557
+ * @type {string}
8558
+ * @memberof JobDeploymentRestrictionRequest
8559
+ */
8560
+ 'value': string;
8561
+ }
8562
+ /**
8563
+ *
8564
+ * @export
8565
+ * @interface JobDeploymentRestrictionResponse
8566
+ */
8567
+ export interface JobDeploymentRestrictionResponse {
8568
+ /**
8569
+ *
8570
+ * @type {string}
8571
+ * @memberof JobDeploymentRestrictionResponse
8572
+ */
8573
+ 'id': string;
8574
+ /**
8575
+ *
8576
+ * @type {string}
8577
+ * @memberof JobDeploymentRestrictionResponse
8578
+ */
8579
+ 'created_at': string;
8580
+ /**
8581
+ *
8582
+ * @type {string}
8583
+ * @memberof JobDeploymentRestrictionResponse
8584
+ */
8585
+ 'updated_at'?: string;
8586
+ /**
8587
+ *
8588
+ * @type {DeploymentRestrictionModeEnum}
8589
+ * @memberof JobDeploymentRestrictionResponse
8590
+ */
8591
+ 'mode': DeploymentRestrictionModeEnum;
8592
+ /**
8593
+ *
8594
+ * @type {DeploymentRestrictionTypeEnum}
8595
+ * @memberof JobDeploymentRestrictionResponse
8596
+ */
8597
+ 'type': DeploymentRestrictionTypeEnum;
8598
+ /**
8599
+ * For `PATH` restrictions, the value must not start with `/`
8600
+ * @type {string}
8601
+ * @memberof JobDeploymentRestrictionResponse
8602
+ */
8603
+ 'value': string;
8604
+ }
8605
+ /**
8606
+ *
8607
+ * @export
8608
+ * @interface JobDeploymentRestrictionResponseList
8609
+ */
8610
+ export interface JobDeploymentRestrictionResponseList {
8611
+ /**
8612
+ *
8613
+ * @type {Array<JobDeploymentRestrictionResponse>}
8614
+ * @memberof JobDeploymentRestrictionResponseList
8615
+ */
8616
+ 'results'?: Array<JobDeploymentRestrictionResponse>;
8617
+ }
8501
8618
  /**
8502
8619
  *
8503
8620
  * @export
@@ -36545,6 +36662,368 @@ export class JobDeploymentHistoryApi extends BaseAPI {
36545
36662
  }
36546
36663
 
36547
36664
 
36665
+ /**
36666
+ * JobDeploymentRestrictionApi - axios parameter creator
36667
+ * @export
36668
+ */
36669
+ export const JobDeploymentRestrictionApiAxiosParamCreator = function (configuration?: Configuration) {
36670
+ return {
36671
+ /**
36672
+ * Create a job deployment restriction
36673
+ * @summary Create a job deployment restriction
36674
+ * @param {string} jobId Job ID
36675
+ * @param {JobDeploymentRestrictionRequest} [jobDeploymentRestrictionRequest]
36676
+ * @param {*} [options] Override http request option.
36677
+ * @throws {RequiredError}
36678
+ */
36679
+ createJobDeploymentRestriction: async (jobId: string, jobDeploymentRestrictionRequest?: JobDeploymentRestrictionRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
36680
+ // verify required parameter 'jobId' is not null or undefined
36681
+ assertParamExists('createJobDeploymentRestriction', 'jobId', jobId)
36682
+ const localVarPath = `/job/{jobId}/deploymentRestriction`
36683
+ .replace(`{${"jobId"}}`, encodeURIComponent(String(jobId)));
36684
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
36685
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
36686
+ let baseOptions;
36687
+ if (configuration) {
36688
+ baseOptions = configuration.baseOptions;
36689
+ }
36690
+
36691
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
36692
+ const localVarHeaderParameter = {} as any;
36693
+ const localVarQueryParameter = {} as any;
36694
+
36695
+ // authentication ApiKeyAuth required
36696
+ await setApiKeyToObject(localVarHeaderParameter, "Token", configuration)
36697
+
36698
+ // authentication bearerAuth required
36699
+ // http bearer authentication required
36700
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
36701
+
36702
+
36703
+
36704
+ localVarHeaderParameter['Content-Type'] = 'application/json';
36705
+
36706
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
36707
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
36708
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
36709
+ localVarRequestOptions.data = serializeDataIfNeeded(jobDeploymentRestrictionRequest, localVarRequestOptions, configuration)
36710
+
36711
+ return {
36712
+ url: toPathString(localVarUrlObj),
36713
+ options: localVarRequestOptions,
36714
+ };
36715
+ },
36716
+ /**
36717
+ * Delete a job deployment restriction
36718
+ * @summary Delete a job deployment restriction
36719
+ * @param {string} jobId Job ID
36720
+ * @param {string} deploymentRestrictionId Deployment Restriction ID
36721
+ * @param {*} [options] Override http request option.
36722
+ * @throws {RequiredError}
36723
+ */
36724
+ deleteJobDeploymentRestriction: async (jobId: string, deploymentRestrictionId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
36725
+ // verify required parameter 'jobId' is not null or undefined
36726
+ assertParamExists('deleteJobDeploymentRestriction', 'jobId', jobId)
36727
+ // verify required parameter 'deploymentRestrictionId' is not null or undefined
36728
+ assertParamExists('deleteJobDeploymentRestriction', 'deploymentRestrictionId', deploymentRestrictionId)
36729
+ const localVarPath = `/job/{jobId}/deploymentRestriction/{deploymentRestrictionId}`
36730
+ .replace(`{${"jobId"}}`, encodeURIComponent(String(jobId)))
36731
+ .replace(`{${"deploymentRestrictionId"}}`, encodeURIComponent(String(deploymentRestrictionId)));
36732
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
36733
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
36734
+ let baseOptions;
36735
+ if (configuration) {
36736
+ baseOptions = configuration.baseOptions;
36737
+ }
36738
+
36739
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
36740
+ const localVarHeaderParameter = {} as any;
36741
+ const localVarQueryParameter = {} as any;
36742
+
36743
+ // authentication ApiKeyAuth required
36744
+ await setApiKeyToObject(localVarHeaderParameter, "Token", configuration)
36745
+
36746
+ // authentication bearerAuth required
36747
+ // http bearer authentication required
36748
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
36749
+
36750
+
36751
+
36752
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
36753
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
36754
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
36755
+
36756
+ return {
36757
+ url: toPathString(localVarUrlObj),
36758
+ options: localVarRequestOptions,
36759
+ };
36760
+ },
36761
+ /**
36762
+ * Edit a job deployment restriction
36763
+ * @summary Edit a job deployment restriction
36764
+ * @param {string} jobId Job ID
36765
+ * @param {string} deploymentRestrictionId Deployment Restriction ID
36766
+ * @param {JobDeploymentRestrictionRequest} [jobDeploymentRestrictionRequest]
36767
+ * @param {*} [options] Override http request option.
36768
+ * @throws {RequiredError}
36769
+ */
36770
+ editJobDeploymentRestriction: async (jobId: string, deploymentRestrictionId: string, jobDeploymentRestrictionRequest?: JobDeploymentRestrictionRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
36771
+ // verify required parameter 'jobId' is not null or undefined
36772
+ assertParamExists('editJobDeploymentRestriction', 'jobId', jobId)
36773
+ // verify required parameter 'deploymentRestrictionId' is not null or undefined
36774
+ assertParamExists('editJobDeploymentRestriction', 'deploymentRestrictionId', deploymentRestrictionId)
36775
+ const localVarPath = `/job/{jobId}/deploymentRestriction/{deploymentRestrictionId}`
36776
+ .replace(`{${"jobId"}}`, encodeURIComponent(String(jobId)))
36777
+ .replace(`{${"deploymentRestrictionId"}}`, encodeURIComponent(String(deploymentRestrictionId)));
36778
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
36779
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
36780
+ let baseOptions;
36781
+ if (configuration) {
36782
+ baseOptions = configuration.baseOptions;
36783
+ }
36784
+
36785
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
36786
+ const localVarHeaderParameter = {} as any;
36787
+ const localVarQueryParameter = {} as any;
36788
+
36789
+ // authentication ApiKeyAuth required
36790
+ await setApiKeyToObject(localVarHeaderParameter, "Token", configuration)
36791
+
36792
+ // authentication bearerAuth required
36793
+ // http bearer authentication required
36794
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
36795
+
36796
+
36797
+
36798
+ localVarHeaderParameter['Content-Type'] = 'application/json';
36799
+
36800
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
36801
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
36802
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
36803
+ localVarRequestOptions.data = serializeDataIfNeeded(jobDeploymentRestrictionRequest, localVarRequestOptions, configuration)
36804
+
36805
+ return {
36806
+ url: toPathString(localVarUrlObj),
36807
+ options: localVarRequestOptions,
36808
+ };
36809
+ },
36810
+ /**
36811
+ * Get job deployment restrictions
36812
+ * @summary Get job deployment restrictions
36813
+ * @param {string} jobId Job ID
36814
+ * @param {*} [options] Override http request option.
36815
+ * @throws {RequiredError}
36816
+ */
36817
+ getJobDeploymentRestrictions: async (jobId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
36818
+ // verify required parameter 'jobId' is not null or undefined
36819
+ assertParamExists('getJobDeploymentRestrictions', 'jobId', jobId)
36820
+ const localVarPath = `/job/{jobId}/deploymentRestriction`
36821
+ .replace(`{${"jobId"}}`, encodeURIComponent(String(jobId)));
36822
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
36823
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
36824
+ let baseOptions;
36825
+ if (configuration) {
36826
+ baseOptions = configuration.baseOptions;
36827
+ }
36828
+
36829
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
36830
+ const localVarHeaderParameter = {} as any;
36831
+ const localVarQueryParameter = {} as any;
36832
+
36833
+ // authentication ApiKeyAuth required
36834
+ await setApiKeyToObject(localVarHeaderParameter, "Token", configuration)
36835
+
36836
+ // authentication bearerAuth required
36837
+ // http bearer authentication required
36838
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
36839
+
36840
+
36841
+
36842
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
36843
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
36844
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
36845
+
36846
+ return {
36847
+ url: toPathString(localVarUrlObj),
36848
+ options: localVarRequestOptions,
36849
+ };
36850
+ },
36851
+ }
36852
+ };
36853
+
36854
+ /**
36855
+ * JobDeploymentRestrictionApi - functional programming interface
36856
+ * @export
36857
+ */
36858
+ export const JobDeploymentRestrictionApiFp = function(configuration?: Configuration) {
36859
+ const localVarAxiosParamCreator = JobDeploymentRestrictionApiAxiosParamCreator(configuration)
36860
+ return {
36861
+ /**
36862
+ * Create a job deployment restriction
36863
+ * @summary Create a job deployment restriction
36864
+ * @param {string} jobId Job ID
36865
+ * @param {JobDeploymentRestrictionRequest} [jobDeploymentRestrictionRequest]
36866
+ * @param {*} [options] Override http request option.
36867
+ * @throws {RequiredError}
36868
+ */
36869
+ async createJobDeploymentRestriction(jobId: string, jobDeploymentRestrictionRequest?: JobDeploymentRestrictionRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JobDeploymentRestrictionResponse>> {
36870
+ const localVarAxiosArgs = await localVarAxiosParamCreator.createJobDeploymentRestriction(jobId, jobDeploymentRestrictionRequest, options);
36871
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
36872
+ },
36873
+ /**
36874
+ * Delete a job deployment restriction
36875
+ * @summary Delete a job deployment restriction
36876
+ * @param {string} jobId Job ID
36877
+ * @param {string} deploymentRestrictionId Deployment Restriction ID
36878
+ * @param {*} [options] Override http request option.
36879
+ * @throws {RequiredError}
36880
+ */
36881
+ async deleteJobDeploymentRestriction(jobId: string, deploymentRestrictionId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
36882
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deleteJobDeploymentRestriction(jobId, deploymentRestrictionId, options);
36883
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
36884
+ },
36885
+ /**
36886
+ * Edit a job deployment restriction
36887
+ * @summary Edit a job deployment restriction
36888
+ * @param {string} jobId Job ID
36889
+ * @param {string} deploymentRestrictionId Deployment Restriction ID
36890
+ * @param {JobDeploymentRestrictionRequest} [jobDeploymentRestrictionRequest]
36891
+ * @param {*} [options] Override http request option.
36892
+ * @throws {RequiredError}
36893
+ */
36894
+ async editJobDeploymentRestriction(jobId: string, deploymentRestrictionId: string, jobDeploymentRestrictionRequest?: JobDeploymentRestrictionRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JobDeploymentRestrictionResponse>> {
36895
+ const localVarAxiosArgs = await localVarAxiosParamCreator.editJobDeploymentRestriction(jobId, deploymentRestrictionId, jobDeploymentRestrictionRequest, options);
36896
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
36897
+ },
36898
+ /**
36899
+ * Get job deployment restrictions
36900
+ * @summary Get job deployment restrictions
36901
+ * @param {string} jobId Job ID
36902
+ * @param {*} [options] Override http request option.
36903
+ * @throws {RequiredError}
36904
+ */
36905
+ async getJobDeploymentRestrictions(jobId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JobDeploymentRestrictionResponseList>> {
36906
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getJobDeploymentRestrictions(jobId, options);
36907
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
36908
+ },
36909
+ }
36910
+ };
36911
+
36912
+ /**
36913
+ * JobDeploymentRestrictionApi - factory interface
36914
+ * @export
36915
+ */
36916
+ export const JobDeploymentRestrictionApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
36917
+ const localVarFp = JobDeploymentRestrictionApiFp(configuration)
36918
+ return {
36919
+ /**
36920
+ * Create a job deployment restriction
36921
+ * @summary Create a job deployment restriction
36922
+ * @param {string} jobId Job ID
36923
+ * @param {JobDeploymentRestrictionRequest} [jobDeploymentRestrictionRequest]
36924
+ * @param {*} [options] Override http request option.
36925
+ * @throws {RequiredError}
36926
+ */
36927
+ createJobDeploymentRestriction(jobId: string, jobDeploymentRestrictionRequest?: JobDeploymentRestrictionRequest, options?: any): AxiosPromise<JobDeploymentRestrictionResponse> {
36928
+ return localVarFp.createJobDeploymentRestriction(jobId, jobDeploymentRestrictionRequest, options).then((request) => request(axios, basePath));
36929
+ },
36930
+ /**
36931
+ * Delete a job deployment restriction
36932
+ * @summary Delete a job deployment restriction
36933
+ * @param {string} jobId Job ID
36934
+ * @param {string} deploymentRestrictionId Deployment Restriction ID
36935
+ * @param {*} [options] Override http request option.
36936
+ * @throws {RequiredError}
36937
+ */
36938
+ deleteJobDeploymentRestriction(jobId: string, deploymentRestrictionId: string, options?: any): AxiosPromise<void> {
36939
+ return localVarFp.deleteJobDeploymentRestriction(jobId, deploymentRestrictionId, options).then((request) => request(axios, basePath));
36940
+ },
36941
+ /**
36942
+ * Edit a job deployment restriction
36943
+ * @summary Edit a job deployment restriction
36944
+ * @param {string} jobId Job ID
36945
+ * @param {string} deploymentRestrictionId Deployment Restriction ID
36946
+ * @param {JobDeploymentRestrictionRequest} [jobDeploymentRestrictionRequest]
36947
+ * @param {*} [options] Override http request option.
36948
+ * @throws {RequiredError}
36949
+ */
36950
+ editJobDeploymentRestriction(jobId: string, deploymentRestrictionId: string, jobDeploymentRestrictionRequest?: JobDeploymentRestrictionRequest, options?: any): AxiosPromise<JobDeploymentRestrictionResponse> {
36951
+ return localVarFp.editJobDeploymentRestriction(jobId, deploymentRestrictionId, jobDeploymentRestrictionRequest, options).then((request) => request(axios, basePath));
36952
+ },
36953
+ /**
36954
+ * Get job deployment restrictions
36955
+ * @summary Get job deployment restrictions
36956
+ * @param {string} jobId Job ID
36957
+ * @param {*} [options] Override http request option.
36958
+ * @throws {RequiredError}
36959
+ */
36960
+ getJobDeploymentRestrictions(jobId: string, options?: any): AxiosPromise<JobDeploymentRestrictionResponseList> {
36961
+ return localVarFp.getJobDeploymentRestrictions(jobId, options).then((request) => request(axios, basePath));
36962
+ },
36963
+ };
36964
+ };
36965
+
36966
+ /**
36967
+ * JobDeploymentRestrictionApi - object-oriented interface
36968
+ * @export
36969
+ * @class JobDeploymentRestrictionApi
36970
+ * @extends {BaseAPI}
36971
+ */
36972
+ export class JobDeploymentRestrictionApi extends BaseAPI {
36973
+ /**
36974
+ * Create a job deployment restriction
36975
+ * @summary Create a job deployment restriction
36976
+ * @param {string} jobId Job ID
36977
+ * @param {JobDeploymentRestrictionRequest} [jobDeploymentRestrictionRequest]
36978
+ * @param {*} [options] Override http request option.
36979
+ * @throws {RequiredError}
36980
+ * @memberof JobDeploymentRestrictionApi
36981
+ */
36982
+ public createJobDeploymentRestriction(jobId: string, jobDeploymentRestrictionRequest?: JobDeploymentRestrictionRequest, options?: AxiosRequestConfig) {
36983
+ return JobDeploymentRestrictionApiFp(this.configuration).createJobDeploymentRestriction(jobId, jobDeploymentRestrictionRequest, options).then((request) => request(this.axios, this.basePath));
36984
+ }
36985
+
36986
+ /**
36987
+ * Delete a job deployment restriction
36988
+ * @summary Delete a job deployment restriction
36989
+ * @param {string} jobId Job ID
36990
+ * @param {string} deploymentRestrictionId Deployment Restriction ID
36991
+ * @param {*} [options] Override http request option.
36992
+ * @throws {RequiredError}
36993
+ * @memberof JobDeploymentRestrictionApi
36994
+ */
36995
+ public deleteJobDeploymentRestriction(jobId: string, deploymentRestrictionId: string, options?: AxiosRequestConfig) {
36996
+ return JobDeploymentRestrictionApiFp(this.configuration).deleteJobDeploymentRestriction(jobId, deploymentRestrictionId, options).then((request) => request(this.axios, this.basePath));
36997
+ }
36998
+
36999
+ /**
37000
+ * Edit a job deployment restriction
37001
+ * @summary Edit a job deployment restriction
37002
+ * @param {string} jobId Job ID
37003
+ * @param {string} deploymentRestrictionId Deployment Restriction ID
37004
+ * @param {JobDeploymentRestrictionRequest} [jobDeploymentRestrictionRequest]
37005
+ * @param {*} [options] Override http request option.
37006
+ * @throws {RequiredError}
37007
+ * @memberof JobDeploymentRestrictionApi
37008
+ */
37009
+ public editJobDeploymentRestriction(jobId: string, deploymentRestrictionId: string, jobDeploymentRestrictionRequest?: JobDeploymentRestrictionRequest, options?: AxiosRequestConfig) {
37010
+ return JobDeploymentRestrictionApiFp(this.configuration).editJobDeploymentRestriction(jobId, deploymentRestrictionId, jobDeploymentRestrictionRequest, options).then((request) => request(this.axios, this.basePath));
37011
+ }
37012
+
37013
+ /**
37014
+ * Get job deployment restrictions
37015
+ * @summary Get job deployment restrictions
37016
+ * @param {string} jobId Job ID
37017
+ * @param {*} [options] Override http request option.
37018
+ * @throws {RequiredError}
37019
+ * @memberof JobDeploymentRestrictionApi
37020
+ */
37021
+ public getJobDeploymentRestrictions(jobId: string, options?: AxiosRequestConfig) {
37022
+ return JobDeploymentRestrictionApiFp(this.configuration).getJobDeploymentRestrictions(jobId, options).then((request) => request(this.axios, this.basePath));
37023
+ }
37024
+ }
37025
+
37026
+
36548
37027
  /**
36549
37028
  * JobEnvironmentVariableApi - axios parameter creator
36550
37029
  * @export
package/dist/api.d.ts CHANGED
@@ -378,6 +378,18 @@ export interface ApplicationAdvancedSettings {
378
378
  * @memberof ApplicationAdvancedSettings
379
379
  */
380
380
  'network.ingress.proxy_read_timeout_seconds'?: number;
381
+ /**
382
+ * Allows to enable or disable nginx `proxy-buffering`
383
+ * @type {string}
384
+ * @memberof ApplicationAdvancedSettings
385
+ */
386
+ 'network.ingress.proxy_buffering'?: string;
387
+ /**
388
+ * Allows to enable or disable nginx `proxy-request-buffering`
389
+ * @type {string}
390
+ * @memberof ApplicationAdvancedSettings
391
+ */
392
+ 'network.ingress.proxy_request_buffering'?: string;
381
393
  /**
382
394
  * list of source ranges to allow access to ingress proxy. This property can be used to whitelist source IP ranges for ingress proxy. The value is a comma separated list of CIDRs, e.g. 10.0.0.0/24,172.10.0.1 To allow all source ranges, set 0.0.0.0/0.
383
395
  * @type {string}
@@ -414,6 +426,12 @@ export interface ApplicationAdvancedSettings {
414
426
  * @memberof ApplicationAdvancedSettings
415
427
  */
416
428
  'network.ingress.grpc_read_timeout_seconds'?: number;
429
+ /**
430
+ * Allows to define response headers
431
+ * @type {string}
432
+ * @memberof ApplicationAdvancedSettings
433
+ */
434
+ 'network.ingress.extra_headers'?: string;
417
435
  /**
418
436
  * Percentage value of cpu usage at which point pods should scale up.
419
437
  * @type {number}
@@ -3281,6 +3299,18 @@ export interface ContainerAdvancedSettings {
3281
3299
  * @memberof ContainerAdvancedSettings
3282
3300
  */
3283
3301
  'network.ingress.proxy_read_timeout_seconds'?: number;
3302
+ /**
3303
+ * Allows to enable or disable nginx `proxy-buffering`
3304
+ * @type {string}
3305
+ * @memberof ContainerAdvancedSettings
3306
+ */
3307
+ 'network.ingress.proxy_buffering'?: string;
3308
+ /**
3309
+ * Allows to enable or disable nginx `proxy-request-buffering`
3310
+ * @type {string}
3311
+ * @memberof ContainerAdvancedSettings
3312
+ */
3313
+ 'network.ingress.proxy_request_buffering'?: string;
3284
3314
  /**
3285
3315
  * Sets a timeout (in seconds) for transmitting a request to the grpc server
3286
3316
  * @type {number}
@@ -3305,6 +3335,12 @@ export interface ContainerAdvancedSettings {
3305
3335
  * @memberof ContainerAdvancedSettings
3306
3336
  */
3307
3337
  'network.ingress.denylist_source_range'?: string;
3338
+ /**
3339
+ * Allows to define response headers
3340
+ * @type {string}
3341
+ * @memberof ContainerAdvancedSettings
3342
+ */
3343
+ 'network.ingress.extra_headers'?: string;
3308
3344
  /**
3309
3345
  * Set the name of an environment variable to use as a basic authentication (`login:crypted_password`) from `htpasswd` command. You can add multiples comma separated values.
3310
3346
  * @type {string}
@@ -8447,6 +8483,87 @@ export interface JobDeployRequest {
8447
8483
  */
8448
8484
  'git_commit_id'?: string;
8449
8485
  }
8486
+ /**
8487
+ *
8488
+ * @export
8489
+ * @interface JobDeploymentRestrictionRequest
8490
+ */
8491
+ export interface JobDeploymentRestrictionRequest {
8492
+ /**
8493
+ *
8494
+ * @type {DeploymentRestrictionModeEnum}
8495
+ * @memberof JobDeploymentRestrictionRequest
8496
+ */
8497
+ 'mode': DeploymentRestrictionModeEnum;
8498
+ /**
8499
+ *
8500
+ * @type {DeploymentRestrictionTypeEnum}
8501
+ * @memberof JobDeploymentRestrictionRequest
8502
+ */
8503
+ 'type': DeploymentRestrictionTypeEnum;
8504
+ /**
8505
+ * For `PATH` restrictions, the value must not start with `/`
8506
+ * @type {string}
8507
+ * @memberof JobDeploymentRestrictionRequest
8508
+ */
8509
+ 'value': string;
8510
+ }
8511
+ /**
8512
+ *
8513
+ * @export
8514
+ * @interface JobDeploymentRestrictionResponse
8515
+ */
8516
+ export interface JobDeploymentRestrictionResponse {
8517
+ /**
8518
+ *
8519
+ * @type {string}
8520
+ * @memberof JobDeploymentRestrictionResponse
8521
+ */
8522
+ 'id': string;
8523
+ /**
8524
+ *
8525
+ * @type {string}
8526
+ * @memberof JobDeploymentRestrictionResponse
8527
+ */
8528
+ 'created_at': string;
8529
+ /**
8530
+ *
8531
+ * @type {string}
8532
+ * @memberof JobDeploymentRestrictionResponse
8533
+ */
8534
+ 'updated_at'?: string;
8535
+ /**
8536
+ *
8537
+ * @type {DeploymentRestrictionModeEnum}
8538
+ * @memberof JobDeploymentRestrictionResponse
8539
+ */
8540
+ 'mode': DeploymentRestrictionModeEnum;
8541
+ /**
8542
+ *
8543
+ * @type {DeploymentRestrictionTypeEnum}
8544
+ * @memberof JobDeploymentRestrictionResponse
8545
+ */
8546
+ 'type': DeploymentRestrictionTypeEnum;
8547
+ /**
8548
+ * For `PATH` restrictions, the value must not start with `/`
8549
+ * @type {string}
8550
+ * @memberof JobDeploymentRestrictionResponse
8551
+ */
8552
+ 'value': string;
8553
+ }
8554
+ /**
8555
+ *
8556
+ * @export
8557
+ * @interface JobDeploymentRestrictionResponseList
8558
+ */
8559
+ export interface JobDeploymentRestrictionResponseList {
8560
+ /**
8561
+ *
8562
+ * @type {Array<JobDeploymentRestrictionResponse>}
8563
+ * @memberof JobDeploymentRestrictionResponseList
8564
+ */
8565
+ 'results'?: Array<JobDeploymentRestrictionResponse>;
8566
+ }
8450
8567
  /**
8451
8568
  *
8452
8569
  * @export
@@ -24330,6 +24447,180 @@ export declare class JobDeploymentHistoryApi extends BaseAPI {
24330
24447
  */
24331
24448
  listJobDeploymentHistory(jobId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PaginationData & object>>;
24332
24449
  }
24450
+ /**
24451
+ * JobDeploymentRestrictionApi - axios parameter creator
24452
+ * @export
24453
+ */
24454
+ export declare const JobDeploymentRestrictionApiAxiosParamCreator: (configuration?: Configuration) => {
24455
+ /**
24456
+ * Create a job deployment restriction
24457
+ * @summary Create a job deployment restriction
24458
+ * @param {string} jobId Job ID
24459
+ * @param {JobDeploymentRestrictionRequest} [jobDeploymentRestrictionRequest]
24460
+ * @param {*} [options] Override http request option.
24461
+ * @throws {RequiredError}
24462
+ */
24463
+ createJobDeploymentRestriction: (jobId: string, jobDeploymentRestrictionRequest?: JobDeploymentRestrictionRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
24464
+ /**
24465
+ * Delete a job deployment restriction
24466
+ * @summary Delete a job deployment restriction
24467
+ * @param {string} jobId Job ID
24468
+ * @param {string} deploymentRestrictionId Deployment Restriction ID
24469
+ * @param {*} [options] Override http request option.
24470
+ * @throws {RequiredError}
24471
+ */
24472
+ deleteJobDeploymentRestriction: (jobId: string, deploymentRestrictionId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
24473
+ /**
24474
+ * Edit a job deployment restriction
24475
+ * @summary Edit a job deployment restriction
24476
+ * @param {string} jobId Job ID
24477
+ * @param {string} deploymentRestrictionId Deployment Restriction ID
24478
+ * @param {JobDeploymentRestrictionRequest} [jobDeploymentRestrictionRequest]
24479
+ * @param {*} [options] Override http request option.
24480
+ * @throws {RequiredError}
24481
+ */
24482
+ editJobDeploymentRestriction: (jobId: string, deploymentRestrictionId: string, jobDeploymentRestrictionRequest?: JobDeploymentRestrictionRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
24483
+ /**
24484
+ * Get job deployment restrictions
24485
+ * @summary Get job deployment restrictions
24486
+ * @param {string} jobId Job ID
24487
+ * @param {*} [options] Override http request option.
24488
+ * @throws {RequiredError}
24489
+ */
24490
+ getJobDeploymentRestrictions: (jobId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
24491
+ };
24492
+ /**
24493
+ * JobDeploymentRestrictionApi - functional programming interface
24494
+ * @export
24495
+ */
24496
+ export declare const JobDeploymentRestrictionApiFp: (configuration?: Configuration) => {
24497
+ /**
24498
+ * Create a job deployment restriction
24499
+ * @summary Create a job deployment restriction
24500
+ * @param {string} jobId Job ID
24501
+ * @param {JobDeploymentRestrictionRequest} [jobDeploymentRestrictionRequest]
24502
+ * @param {*} [options] Override http request option.
24503
+ * @throws {RequiredError}
24504
+ */
24505
+ createJobDeploymentRestriction(jobId: string, jobDeploymentRestrictionRequest?: JobDeploymentRestrictionRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JobDeploymentRestrictionResponse>>;
24506
+ /**
24507
+ * Delete a job deployment restriction
24508
+ * @summary Delete a job deployment restriction
24509
+ * @param {string} jobId Job ID
24510
+ * @param {string} deploymentRestrictionId Deployment Restriction ID
24511
+ * @param {*} [options] Override http request option.
24512
+ * @throws {RequiredError}
24513
+ */
24514
+ deleteJobDeploymentRestriction(jobId: string, deploymentRestrictionId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
24515
+ /**
24516
+ * Edit a job deployment restriction
24517
+ * @summary Edit a job deployment restriction
24518
+ * @param {string} jobId Job ID
24519
+ * @param {string} deploymentRestrictionId Deployment Restriction ID
24520
+ * @param {JobDeploymentRestrictionRequest} [jobDeploymentRestrictionRequest]
24521
+ * @param {*} [options] Override http request option.
24522
+ * @throws {RequiredError}
24523
+ */
24524
+ editJobDeploymentRestriction(jobId: string, deploymentRestrictionId: string, jobDeploymentRestrictionRequest?: JobDeploymentRestrictionRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JobDeploymentRestrictionResponse>>;
24525
+ /**
24526
+ * Get job deployment restrictions
24527
+ * @summary Get job deployment restrictions
24528
+ * @param {string} jobId Job ID
24529
+ * @param {*} [options] Override http request option.
24530
+ * @throws {RequiredError}
24531
+ */
24532
+ getJobDeploymentRestrictions(jobId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JobDeploymentRestrictionResponseList>>;
24533
+ };
24534
+ /**
24535
+ * JobDeploymentRestrictionApi - factory interface
24536
+ * @export
24537
+ */
24538
+ export declare const JobDeploymentRestrictionApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
24539
+ /**
24540
+ * Create a job deployment restriction
24541
+ * @summary Create a job deployment restriction
24542
+ * @param {string} jobId Job ID
24543
+ * @param {JobDeploymentRestrictionRequest} [jobDeploymentRestrictionRequest]
24544
+ * @param {*} [options] Override http request option.
24545
+ * @throws {RequiredError}
24546
+ */
24547
+ createJobDeploymentRestriction(jobId: string, jobDeploymentRestrictionRequest?: JobDeploymentRestrictionRequest, options?: any): AxiosPromise<JobDeploymentRestrictionResponse>;
24548
+ /**
24549
+ * Delete a job deployment restriction
24550
+ * @summary Delete a job deployment restriction
24551
+ * @param {string} jobId Job ID
24552
+ * @param {string} deploymentRestrictionId Deployment Restriction ID
24553
+ * @param {*} [options] Override http request option.
24554
+ * @throws {RequiredError}
24555
+ */
24556
+ deleteJobDeploymentRestriction(jobId: string, deploymentRestrictionId: string, options?: any): AxiosPromise<void>;
24557
+ /**
24558
+ * Edit a job deployment restriction
24559
+ * @summary Edit a job deployment restriction
24560
+ * @param {string} jobId Job ID
24561
+ * @param {string} deploymentRestrictionId Deployment Restriction ID
24562
+ * @param {JobDeploymentRestrictionRequest} [jobDeploymentRestrictionRequest]
24563
+ * @param {*} [options] Override http request option.
24564
+ * @throws {RequiredError}
24565
+ */
24566
+ editJobDeploymentRestriction(jobId: string, deploymentRestrictionId: string, jobDeploymentRestrictionRequest?: JobDeploymentRestrictionRequest, options?: any): AxiosPromise<JobDeploymentRestrictionResponse>;
24567
+ /**
24568
+ * Get job deployment restrictions
24569
+ * @summary Get job deployment restrictions
24570
+ * @param {string} jobId Job ID
24571
+ * @param {*} [options] Override http request option.
24572
+ * @throws {RequiredError}
24573
+ */
24574
+ getJobDeploymentRestrictions(jobId: string, options?: any): AxiosPromise<JobDeploymentRestrictionResponseList>;
24575
+ };
24576
+ /**
24577
+ * JobDeploymentRestrictionApi - object-oriented interface
24578
+ * @export
24579
+ * @class JobDeploymentRestrictionApi
24580
+ * @extends {BaseAPI}
24581
+ */
24582
+ export declare class JobDeploymentRestrictionApi extends BaseAPI {
24583
+ /**
24584
+ * Create a job deployment restriction
24585
+ * @summary Create a job deployment restriction
24586
+ * @param {string} jobId Job ID
24587
+ * @param {JobDeploymentRestrictionRequest} [jobDeploymentRestrictionRequest]
24588
+ * @param {*} [options] Override http request option.
24589
+ * @throws {RequiredError}
24590
+ * @memberof JobDeploymentRestrictionApi
24591
+ */
24592
+ createJobDeploymentRestriction(jobId: string, jobDeploymentRestrictionRequest?: JobDeploymentRestrictionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<JobDeploymentRestrictionResponse>>;
24593
+ /**
24594
+ * Delete a job deployment restriction
24595
+ * @summary Delete a job deployment restriction
24596
+ * @param {string} jobId Job ID
24597
+ * @param {string} deploymentRestrictionId Deployment Restriction ID
24598
+ * @param {*} [options] Override http request option.
24599
+ * @throws {RequiredError}
24600
+ * @memberof JobDeploymentRestrictionApi
24601
+ */
24602
+ deleteJobDeploymentRestriction(jobId: string, deploymentRestrictionId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void>>;
24603
+ /**
24604
+ * Edit a job deployment restriction
24605
+ * @summary Edit a job deployment restriction
24606
+ * @param {string} jobId Job ID
24607
+ * @param {string} deploymentRestrictionId Deployment Restriction ID
24608
+ * @param {JobDeploymentRestrictionRequest} [jobDeploymentRestrictionRequest]
24609
+ * @param {*} [options] Override http request option.
24610
+ * @throws {RequiredError}
24611
+ * @memberof JobDeploymentRestrictionApi
24612
+ */
24613
+ editJobDeploymentRestriction(jobId: string, deploymentRestrictionId: string, jobDeploymentRestrictionRequest?: JobDeploymentRestrictionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<JobDeploymentRestrictionResponse>>;
24614
+ /**
24615
+ * Get job deployment restrictions
24616
+ * @summary Get job deployment restrictions
24617
+ * @param {string} jobId Job ID
24618
+ * @param {*} [options] Override http request option.
24619
+ * @throws {RequiredError}
24620
+ * @memberof JobDeploymentRestrictionApi
24621
+ */
24622
+ getJobDeploymentRestrictions(jobId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<JobDeploymentRestrictionResponseList>>;
24623
+ }
24333
24624
  /**
24334
24625
  * JobEnvironmentVariableApi - axios parameter creator
24335
24626
  * @export
package/dist/api.js CHANGED
@@ -27,8 +27,8 @@ exports.ApplicationsApi = exports.ApplicationsApiFactory = exports.ApplicationsA
27
27
  exports.ContainerMetricsApiFp = exports.ContainerMetricsApiAxiosParamCreator = exports.ContainerMainCallsApi = exports.ContainerMainCallsApiFactory = exports.ContainerMainCallsApiFp = exports.ContainerMainCallsApiAxiosParamCreator = exports.ContainerLogsApi = exports.ContainerLogsApiFactory = exports.ContainerLogsApiFp = exports.ContainerLogsApiAxiosParamCreator = exports.ContainerEnvironmentVariableApi = exports.ContainerEnvironmentVariableApiFactory = exports.ContainerEnvironmentVariableApiFp = exports.ContainerEnvironmentVariableApiAxiosParamCreator = exports.ContainerDeploymentHistoryApi = exports.ContainerDeploymentHistoryApiFactory = exports.ContainerDeploymentHistoryApiFp = exports.ContainerDeploymentHistoryApiAxiosParamCreator = exports.ContainerCustomDomainApi = exports.ContainerCustomDomainApiFactory = exports.ContainerCustomDomainApiFp = exports.ContainerCustomDomainApiAxiosParamCreator = exports.ContainerConfigurationApi = exports.ContainerConfigurationApiFactory = exports.ContainerConfigurationApiFp = exports.ContainerConfigurationApiAxiosParamCreator = exports.ContainerActionsApi = exports.ContainerActionsApiFactory = exports.ContainerActionsApiFp = exports.ContainerActionsApiAxiosParamCreator = exports.ClustersApi = exports.ClustersApiFactory = exports.ClustersApiFp = exports.ClustersApiAxiosParamCreator = exports.CloudProviderCredentialsApi = exports.CloudProviderCredentialsApiFactory = exports.CloudProviderCredentialsApiFp = exports.CloudProviderCredentialsApiAxiosParamCreator = exports.CloudProviderApi = exports.CloudProviderApiFactory = exports.CloudProviderApiFp = exports.CloudProviderApiAxiosParamCreator = exports.BillingApi = exports.BillingApiFactory = exports.BillingApiFp = exports.BillingApiAxiosParamCreator = exports.BackupsApi = exports.BackupsApiFactory = exports.BackupsApiFp = exports.BackupsApiAxiosParamCreator = void 0;
28
28
  exports.DeploymentStageMainCallsApi = exports.DeploymentStageMainCallsApiFactory = exports.DeploymentStageMainCallsApiFp = exports.DeploymentStageMainCallsApiAxiosParamCreator = exports.DatabasesApi = exports.DatabasesApiFactory = exports.DatabasesApiFp = exports.DatabasesApiAxiosParamCreator = exports.DatabaseMetricsApi = exports.DatabaseMetricsApiFactory = exports.DatabaseMetricsApiFp = exports.DatabaseMetricsApiAxiosParamCreator = exports.DatabaseMainCallsApi = exports.DatabaseMainCallsApiFactory = exports.DatabaseMainCallsApiFp = exports.DatabaseMainCallsApiAxiosParamCreator = exports.DatabaseEventApi = exports.DatabaseEventApiFactory = exports.DatabaseEventApiFp = exports.DatabaseEventApiAxiosParamCreator = exports.DatabaseDeploymentHistoryApi = exports.DatabaseDeploymentHistoryApiFactory = exports.DatabaseDeploymentHistoryApiFp = exports.DatabaseDeploymentHistoryApiAxiosParamCreator = exports.DatabaseApplicationApi = exports.DatabaseApplicationApiFactory = exports.DatabaseApplicationApiFp = exports.DatabaseApplicationApiAxiosParamCreator = exports.DatabaseActionsApi = exports.DatabaseActionsApiFactory = exports.DatabaseActionsApiFp = exports.DatabaseActionsApiAxiosParamCreator = exports.CustomDomainApi = exports.CustomDomainApiFactory = exports.CustomDomainApiFp = exports.CustomDomainApiAxiosParamCreator = exports.ContainersApi = exports.ContainersApiFactory = exports.ContainersApiFp = exports.ContainersApiAxiosParamCreator = exports.ContainerSecretApi = exports.ContainerSecretApiFactory = exports.ContainerSecretApiFp = exports.ContainerSecretApiAxiosParamCreator = exports.ContainerRegistriesApi = exports.ContainerRegistriesApiFactory = exports.ContainerRegistriesApiFp = exports.ContainerRegistriesApiAxiosParamCreator = exports.ContainerMetricsApi = exports.ContainerMetricsApiFactory = void 0;
29
29
  exports.JobActionsApiFp = exports.JobActionsApiAxiosParamCreator = exports.GithubAppApi = exports.GithubAppApiFactory = exports.GithubAppApiFp = exports.GithubAppApiAxiosParamCreator = exports.GitRepositoriesApi = exports.GitRepositoriesApiFactory = exports.GitRepositoriesApiFp = exports.GitRepositoriesApiAxiosParamCreator = exports.EnvironmentsApi = exports.EnvironmentsApiFactory = exports.EnvironmentsApiFp = exports.EnvironmentsApiAxiosParamCreator = exports.EnvironmentVariableApi = exports.EnvironmentVariableApiFactory = exports.EnvironmentVariableApiFp = exports.EnvironmentVariableApiAxiosParamCreator = exports.EnvironmentSecretApi = exports.EnvironmentSecretApiFactory = exports.EnvironmentSecretApiFp = exports.EnvironmentSecretApiAxiosParamCreator = exports.EnvironmentMainCallsApi = exports.EnvironmentMainCallsApiFactory = exports.EnvironmentMainCallsApiFp = exports.EnvironmentMainCallsApiAxiosParamCreator = exports.EnvironmentLogsApi = exports.EnvironmentLogsApiFactory = exports.EnvironmentLogsApiFp = exports.EnvironmentLogsApiAxiosParamCreator = exports.EnvironmentExportApi = exports.EnvironmentExportApiFactory = exports.EnvironmentExportApiFp = exports.EnvironmentExportApiAxiosParamCreator = exports.EnvironmentDeploymentRuleApi = exports.EnvironmentDeploymentRuleApiFactory = exports.EnvironmentDeploymentRuleApiFp = exports.EnvironmentDeploymentRuleApiAxiosParamCreator = exports.EnvironmentDeploymentHistoryApi = exports.EnvironmentDeploymentHistoryApiFactory = exports.EnvironmentDeploymentHistoryApiFp = exports.EnvironmentDeploymentHistoryApiAxiosParamCreator = exports.EnvironmentActionsApi = exports.EnvironmentActionsApiFactory = exports.EnvironmentActionsApiFp = exports.EnvironmentActionsApiAxiosParamCreator = exports.EnvironmentApi = exports.EnvironmentApiFactory = exports.EnvironmentApiFp = exports.EnvironmentApiAxiosParamCreator = void 0;
30
- exports.OrganizationEventApi = exports.OrganizationEventApiFactory = exports.OrganizationEventApiFp = exports.OrganizationEventApiAxiosParamCreator = exports.OrganizationCustomRoleApi = exports.OrganizationCustomRoleApiFactory = exports.OrganizationCustomRoleApiFp = exports.OrganizationCustomRoleApiAxiosParamCreator = exports.OrganizationApiTokenApi = exports.OrganizationApiTokenApiFactory = exports.OrganizationApiTokenApiFp = exports.OrganizationApiTokenApiAxiosParamCreator = exports.OrganizationAccountGitRepositoriesApi = exports.OrganizationAccountGitRepositoriesApiFactory = exports.OrganizationAccountGitRepositoriesApiFp = exports.OrganizationAccountGitRepositoriesApiAxiosParamCreator = exports.MembersApi = exports.MembersApiFactory = exports.MembersApiFp = exports.MembersApiAxiosParamCreator = exports.JobsApi = exports.JobsApiFactory = exports.JobsApiFp = exports.JobsApiAxiosParamCreator = exports.JobSecretApi = exports.JobSecretApiFactory = exports.JobSecretApiFp = exports.JobSecretApiAxiosParamCreator = exports.JobMetricsApi = exports.JobMetricsApiFactory = exports.JobMetricsApiFp = exports.JobMetricsApiAxiosParamCreator = exports.JobMainCallsApi = exports.JobMainCallsApiFactory = exports.JobMainCallsApiFp = exports.JobMainCallsApiAxiosParamCreator = exports.JobEnvironmentVariableApi = exports.JobEnvironmentVariableApiFactory = exports.JobEnvironmentVariableApiFp = exports.JobEnvironmentVariableApiAxiosParamCreator = exports.JobDeploymentHistoryApi = exports.JobDeploymentHistoryApiFactory = exports.JobDeploymentHistoryApiFp = exports.JobDeploymentHistoryApiAxiosParamCreator = exports.JobConfigurationApi = exports.JobConfigurationApiFactory = exports.JobConfigurationApiFp = exports.JobConfigurationApiAxiosParamCreator = exports.JobActionsApi = exports.JobActionsApiFactory = void 0;
31
- exports.VariableMainCallsApi = exports.VariableMainCallsApiFactory = exports.VariableMainCallsApiFp = exports.VariableMainCallsApiAxiosParamCreator = exports.UserSignUpApi = exports.UserSignUpApiFactory = exports.UserSignUpApiFp = exports.UserSignUpApiAxiosParamCreator = exports.ReferralRewardsApi = exports.ReferralRewardsApiFactory = exports.ReferralRewardsApiFp = exports.ReferralRewardsApiAxiosParamCreator = exports.ProjectsApi = exports.ProjectsApiFactory = exports.ProjectsApiFp = exports.ProjectsApiAxiosParamCreator = exports.ProjectSecretApi = exports.ProjectSecretApiFactory = exports.ProjectSecretApiFp = exports.ProjectSecretApiAxiosParamCreator = exports.ProjectMainCallsApi = exports.ProjectMainCallsApiFactory = exports.ProjectMainCallsApiFp = exports.ProjectMainCallsApiAxiosParamCreator = exports.ProjectEnvironmentVariableApi = exports.ProjectEnvironmentVariableApiFactory = exports.ProjectEnvironmentVariableApiFp = exports.ProjectEnvironmentVariableApiAxiosParamCreator = exports.ProjectDeploymentRuleApi = exports.ProjectDeploymentRuleApiFactory = exports.ProjectDeploymentRuleApiFp = exports.ProjectDeploymentRuleApiAxiosParamCreator = exports.OrganizationWebhookApi = exports.OrganizationWebhookApiFactory = exports.OrganizationWebhookApiFp = exports.OrganizationWebhookApiAxiosParamCreator = exports.OrganizationMainCallsApi = exports.OrganizationMainCallsApiFactory = exports.OrganizationMainCallsApiFp = exports.OrganizationMainCallsApiAxiosParamCreator = void 0;
30
+ exports.OrganizationCustomRoleApi = exports.OrganizationCustomRoleApiFactory = exports.OrganizationCustomRoleApiFp = exports.OrganizationCustomRoleApiAxiosParamCreator = exports.OrganizationApiTokenApi = exports.OrganizationApiTokenApiFactory = exports.OrganizationApiTokenApiFp = exports.OrganizationApiTokenApiAxiosParamCreator = exports.OrganizationAccountGitRepositoriesApi = exports.OrganizationAccountGitRepositoriesApiFactory = exports.OrganizationAccountGitRepositoriesApiFp = exports.OrganizationAccountGitRepositoriesApiAxiosParamCreator = exports.MembersApi = exports.MembersApiFactory = exports.MembersApiFp = exports.MembersApiAxiosParamCreator = exports.JobsApi = exports.JobsApiFactory = exports.JobsApiFp = exports.JobsApiAxiosParamCreator = exports.JobSecretApi = exports.JobSecretApiFactory = exports.JobSecretApiFp = exports.JobSecretApiAxiosParamCreator = exports.JobMetricsApi = exports.JobMetricsApiFactory = exports.JobMetricsApiFp = exports.JobMetricsApiAxiosParamCreator = exports.JobMainCallsApi = exports.JobMainCallsApiFactory = exports.JobMainCallsApiFp = exports.JobMainCallsApiAxiosParamCreator = exports.JobEnvironmentVariableApi = exports.JobEnvironmentVariableApiFactory = exports.JobEnvironmentVariableApiFp = exports.JobEnvironmentVariableApiAxiosParamCreator = exports.JobDeploymentRestrictionApi = exports.JobDeploymentRestrictionApiFactory = exports.JobDeploymentRestrictionApiFp = exports.JobDeploymentRestrictionApiAxiosParamCreator = exports.JobDeploymentHistoryApi = exports.JobDeploymentHistoryApiFactory = exports.JobDeploymentHistoryApiFp = exports.JobDeploymentHistoryApiAxiosParamCreator = exports.JobConfigurationApi = exports.JobConfigurationApiFactory = exports.JobConfigurationApiFp = exports.JobConfigurationApiAxiosParamCreator = exports.JobActionsApi = exports.JobActionsApiFactory = void 0;
31
+ exports.VariableMainCallsApi = exports.VariableMainCallsApiFactory = exports.VariableMainCallsApiFp = exports.VariableMainCallsApiAxiosParamCreator = exports.UserSignUpApi = exports.UserSignUpApiFactory = exports.UserSignUpApiFp = exports.UserSignUpApiAxiosParamCreator = exports.ReferralRewardsApi = exports.ReferralRewardsApiFactory = exports.ReferralRewardsApiFp = exports.ReferralRewardsApiAxiosParamCreator = exports.ProjectsApi = exports.ProjectsApiFactory = exports.ProjectsApiFp = exports.ProjectsApiAxiosParamCreator = exports.ProjectSecretApi = exports.ProjectSecretApiFactory = exports.ProjectSecretApiFp = exports.ProjectSecretApiAxiosParamCreator = exports.ProjectMainCallsApi = exports.ProjectMainCallsApiFactory = exports.ProjectMainCallsApiFp = exports.ProjectMainCallsApiAxiosParamCreator = exports.ProjectEnvironmentVariableApi = exports.ProjectEnvironmentVariableApiFactory = exports.ProjectEnvironmentVariableApiFp = exports.ProjectEnvironmentVariableApiAxiosParamCreator = exports.ProjectDeploymentRuleApi = exports.ProjectDeploymentRuleApiFactory = exports.ProjectDeploymentRuleApiFp = exports.ProjectDeploymentRuleApiAxiosParamCreator = exports.OrganizationWebhookApi = exports.OrganizationWebhookApiFactory = exports.OrganizationWebhookApiFp = exports.OrganizationWebhookApiAxiosParamCreator = exports.OrganizationMainCallsApi = exports.OrganizationMainCallsApiFactory = exports.OrganizationMainCallsApiFp = exports.OrganizationMainCallsApiAxiosParamCreator = exports.OrganizationEventApi = exports.OrganizationEventApiFactory = exports.OrganizationEventApiFp = exports.OrganizationEventApiAxiosParamCreator = void 0;
32
32
  const axios_1 = require("axios");
33
33
  // Some imports not used depending on template conditions
34
34
  // @ts-ignore
@@ -21915,6 +21915,342 @@ class JobDeploymentHistoryApi extends base_1.BaseAPI {
21915
21915
  }
21916
21916
  }
21917
21917
  exports.JobDeploymentHistoryApi = JobDeploymentHistoryApi;
21918
+ /**
21919
+ * JobDeploymentRestrictionApi - axios parameter creator
21920
+ * @export
21921
+ */
21922
+ const JobDeploymentRestrictionApiAxiosParamCreator = function (configuration) {
21923
+ return {
21924
+ /**
21925
+ * Create a job deployment restriction
21926
+ * @summary Create a job deployment restriction
21927
+ * @param {string} jobId Job ID
21928
+ * @param {JobDeploymentRestrictionRequest} [jobDeploymentRestrictionRequest]
21929
+ * @param {*} [options] Override http request option.
21930
+ * @throws {RequiredError}
21931
+ */
21932
+ createJobDeploymentRestriction: (jobId, jobDeploymentRestrictionRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
21933
+ // verify required parameter 'jobId' is not null or undefined
21934
+ (0, common_1.assertParamExists)('createJobDeploymentRestriction', 'jobId', jobId);
21935
+ const localVarPath = `/job/{jobId}/deploymentRestriction`
21936
+ .replace(`{${"jobId"}}`, encodeURIComponent(String(jobId)));
21937
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
21938
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
21939
+ let baseOptions;
21940
+ if (configuration) {
21941
+ baseOptions = configuration.baseOptions;
21942
+ }
21943
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
21944
+ const localVarHeaderParameter = {};
21945
+ const localVarQueryParameter = {};
21946
+ // authentication ApiKeyAuth required
21947
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Token", configuration);
21948
+ // authentication bearerAuth required
21949
+ // http bearer authentication required
21950
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
21951
+ localVarHeaderParameter['Content-Type'] = 'application/json';
21952
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
21953
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
21954
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
21955
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(jobDeploymentRestrictionRequest, localVarRequestOptions, configuration);
21956
+ return {
21957
+ url: (0, common_1.toPathString)(localVarUrlObj),
21958
+ options: localVarRequestOptions,
21959
+ };
21960
+ }),
21961
+ /**
21962
+ * Delete a job deployment restriction
21963
+ * @summary Delete a job deployment restriction
21964
+ * @param {string} jobId Job ID
21965
+ * @param {string} deploymentRestrictionId Deployment Restriction ID
21966
+ * @param {*} [options] Override http request option.
21967
+ * @throws {RequiredError}
21968
+ */
21969
+ deleteJobDeploymentRestriction: (jobId, deploymentRestrictionId, options = {}) => __awaiter(this, void 0, void 0, function* () {
21970
+ // verify required parameter 'jobId' is not null or undefined
21971
+ (0, common_1.assertParamExists)('deleteJobDeploymentRestriction', 'jobId', jobId);
21972
+ // verify required parameter 'deploymentRestrictionId' is not null or undefined
21973
+ (0, common_1.assertParamExists)('deleteJobDeploymentRestriction', 'deploymentRestrictionId', deploymentRestrictionId);
21974
+ const localVarPath = `/job/{jobId}/deploymentRestriction/{deploymentRestrictionId}`
21975
+ .replace(`{${"jobId"}}`, encodeURIComponent(String(jobId)))
21976
+ .replace(`{${"deploymentRestrictionId"}}`, encodeURIComponent(String(deploymentRestrictionId)));
21977
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
21978
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
21979
+ let baseOptions;
21980
+ if (configuration) {
21981
+ baseOptions = configuration.baseOptions;
21982
+ }
21983
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
21984
+ const localVarHeaderParameter = {};
21985
+ const localVarQueryParameter = {};
21986
+ // authentication ApiKeyAuth required
21987
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Token", configuration);
21988
+ // authentication bearerAuth required
21989
+ // http bearer authentication required
21990
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
21991
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
21992
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
21993
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
21994
+ return {
21995
+ url: (0, common_1.toPathString)(localVarUrlObj),
21996
+ options: localVarRequestOptions,
21997
+ };
21998
+ }),
21999
+ /**
22000
+ * Edit a job deployment restriction
22001
+ * @summary Edit a job deployment restriction
22002
+ * @param {string} jobId Job ID
22003
+ * @param {string} deploymentRestrictionId Deployment Restriction ID
22004
+ * @param {JobDeploymentRestrictionRequest} [jobDeploymentRestrictionRequest]
22005
+ * @param {*} [options] Override http request option.
22006
+ * @throws {RequiredError}
22007
+ */
22008
+ editJobDeploymentRestriction: (jobId, deploymentRestrictionId, jobDeploymentRestrictionRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
22009
+ // verify required parameter 'jobId' is not null or undefined
22010
+ (0, common_1.assertParamExists)('editJobDeploymentRestriction', 'jobId', jobId);
22011
+ // verify required parameter 'deploymentRestrictionId' is not null or undefined
22012
+ (0, common_1.assertParamExists)('editJobDeploymentRestriction', 'deploymentRestrictionId', deploymentRestrictionId);
22013
+ const localVarPath = `/job/{jobId}/deploymentRestriction/{deploymentRestrictionId}`
22014
+ .replace(`{${"jobId"}}`, encodeURIComponent(String(jobId)))
22015
+ .replace(`{${"deploymentRestrictionId"}}`, encodeURIComponent(String(deploymentRestrictionId)));
22016
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
22017
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
22018
+ let baseOptions;
22019
+ if (configuration) {
22020
+ baseOptions = configuration.baseOptions;
22021
+ }
22022
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
22023
+ const localVarHeaderParameter = {};
22024
+ const localVarQueryParameter = {};
22025
+ // authentication ApiKeyAuth required
22026
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Token", configuration);
22027
+ // authentication bearerAuth required
22028
+ // http bearer authentication required
22029
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
22030
+ localVarHeaderParameter['Content-Type'] = 'application/json';
22031
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
22032
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
22033
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
22034
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(jobDeploymentRestrictionRequest, localVarRequestOptions, configuration);
22035
+ return {
22036
+ url: (0, common_1.toPathString)(localVarUrlObj),
22037
+ options: localVarRequestOptions,
22038
+ };
22039
+ }),
22040
+ /**
22041
+ * Get job deployment restrictions
22042
+ * @summary Get job deployment restrictions
22043
+ * @param {string} jobId Job ID
22044
+ * @param {*} [options] Override http request option.
22045
+ * @throws {RequiredError}
22046
+ */
22047
+ getJobDeploymentRestrictions: (jobId, options = {}) => __awaiter(this, void 0, void 0, function* () {
22048
+ // verify required parameter 'jobId' is not null or undefined
22049
+ (0, common_1.assertParamExists)('getJobDeploymentRestrictions', 'jobId', jobId);
22050
+ const localVarPath = `/job/{jobId}/deploymentRestriction`
22051
+ .replace(`{${"jobId"}}`, encodeURIComponent(String(jobId)));
22052
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
22053
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
22054
+ let baseOptions;
22055
+ if (configuration) {
22056
+ baseOptions = configuration.baseOptions;
22057
+ }
22058
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
22059
+ const localVarHeaderParameter = {};
22060
+ const localVarQueryParameter = {};
22061
+ // authentication ApiKeyAuth required
22062
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Token", configuration);
22063
+ // authentication bearerAuth required
22064
+ // http bearer authentication required
22065
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
22066
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
22067
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
22068
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
22069
+ return {
22070
+ url: (0, common_1.toPathString)(localVarUrlObj),
22071
+ options: localVarRequestOptions,
22072
+ };
22073
+ }),
22074
+ };
22075
+ };
22076
+ exports.JobDeploymentRestrictionApiAxiosParamCreator = JobDeploymentRestrictionApiAxiosParamCreator;
22077
+ /**
22078
+ * JobDeploymentRestrictionApi - functional programming interface
22079
+ * @export
22080
+ */
22081
+ const JobDeploymentRestrictionApiFp = function (configuration) {
22082
+ const localVarAxiosParamCreator = (0, exports.JobDeploymentRestrictionApiAxiosParamCreator)(configuration);
22083
+ return {
22084
+ /**
22085
+ * Create a job deployment restriction
22086
+ * @summary Create a job deployment restriction
22087
+ * @param {string} jobId Job ID
22088
+ * @param {JobDeploymentRestrictionRequest} [jobDeploymentRestrictionRequest]
22089
+ * @param {*} [options] Override http request option.
22090
+ * @throws {RequiredError}
22091
+ */
22092
+ createJobDeploymentRestriction(jobId, jobDeploymentRestrictionRequest, options) {
22093
+ return __awaiter(this, void 0, void 0, function* () {
22094
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.createJobDeploymentRestriction(jobId, jobDeploymentRestrictionRequest, options);
22095
+ return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
22096
+ });
22097
+ },
22098
+ /**
22099
+ * Delete a job deployment restriction
22100
+ * @summary Delete a job deployment restriction
22101
+ * @param {string} jobId Job ID
22102
+ * @param {string} deploymentRestrictionId Deployment Restriction ID
22103
+ * @param {*} [options] Override http request option.
22104
+ * @throws {RequiredError}
22105
+ */
22106
+ deleteJobDeploymentRestriction(jobId, deploymentRestrictionId, options) {
22107
+ return __awaiter(this, void 0, void 0, function* () {
22108
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteJobDeploymentRestriction(jobId, deploymentRestrictionId, options);
22109
+ return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
22110
+ });
22111
+ },
22112
+ /**
22113
+ * Edit a job deployment restriction
22114
+ * @summary Edit a job deployment restriction
22115
+ * @param {string} jobId Job ID
22116
+ * @param {string} deploymentRestrictionId Deployment Restriction ID
22117
+ * @param {JobDeploymentRestrictionRequest} [jobDeploymentRestrictionRequest]
22118
+ * @param {*} [options] Override http request option.
22119
+ * @throws {RequiredError}
22120
+ */
22121
+ editJobDeploymentRestriction(jobId, deploymentRestrictionId, jobDeploymentRestrictionRequest, options) {
22122
+ return __awaiter(this, void 0, void 0, function* () {
22123
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.editJobDeploymentRestriction(jobId, deploymentRestrictionId, jobDeploymentRestrictionRequest, options);
22124
+ return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
22125
+ });
22126
+ },
22127
+ /**
22128
+ * Get job deployment restrictions
22129
+ * @summary Get job deployment restrictions
22130
+ * @param {string} jobId Job ID
22131
+ * @param {*} [options] Override http request option.
22132
+ * @throws {RequiredError}
22133
+ */
22134
+ getJobDeploymentRestrictions(jobId, options) {
22135
+ return __awaiter(this, void 0, void 0, function* () {
22136
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getJobDeploymentRestrictions(jobId, options);
22137
+ return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
22138
+ });
22139
+ },
22140
+ };
22141
+ };
22142
+ exports.JobDeploymentRestrictionApiFp = JobDeploymentRestrictionApiFp;
22143
+ /**
22144
+ * JobDeploymentRestrictionApi - factory interface
22145
+ * @export
22146
+ */
22147
+ const JobDeploymentRestrictionApiFactory = function (configuration, basePath, axios) {
22148
+ const localVarFp = (0, exports.JobDeploymentRestrictionApiFp)(configuration);
22149
+ return {
22150
+ /**
22151
+ * Create a job deployment restriction
22152
+ * @summary Create a job deployment restriction
22153
+ * @param {string} jobId Job ID
22154
+ * @param {JobDeploymentRestrictionRequest} [jobDeploymentRestrictionRequest]
22155
+ * @param {*} [options] Override http request option.
22156
+ * @throws {RequiredError}
22157
+ */
22158
+ createJobDeploymentRestriction(jobId, jobDeploymentRestrictionRequest, options) {
22159
+ return localVarFp.createJobDeploymentRestriction(jobId, jobDeploymentRestrictionRequest, options).then((request) => request(axios, basePath));
22160
+ },
22161
+ /**
22162
+ * Delete a job deployment restriction
22163
+ * @summary Delete a job deployment restriction
22164
+ * @param {string} jobId Job ID
22165
+ * @param {string} deploymentRestrictionId Deployment Restriction ID
22166
+ * @param {*} [options] Override http request option.
22167
+ * @throws {RequiredError}
22168
+ */
22169
+ deleteJobDeploymentRestriction(jobId, deploymentRestrictionId, options) {
22170
+ return localVarFp.deleteJobDeploymentRestriction(jobId, deploymentRestrictionId, options).then((request) => request(axios, basePath));
22171
+ },
22172
+ /**
22173
+ * Edit a job deployment restriction
22174
+ * @summary Edit a job deployment restriction
22175
+ * @param {string} jobId Job ID
22176
+ * @param {string} deploymentRestrictionId Deployment Restriction ID
22177
+ * @param {JobDeploymentRestrictionRequest} [jobDeploymentRestrictionRequest]
22178
+ * @param {*} [options] Override http request option.
22179
+ * @throws {RequiredError}
22180
+ */
22181
+ editJobDeploymentRestriction(jobId, deploymentRestrictionId, jobDeploymentRestrictionRequest, options) {
22182
+ return localVarFp.editJobDeploymentRestriction(jobId, deploymentRestrictionId, jobDeploymentRestrictionRequest, options).then((request) => request(axios, basePath));
22183
+ },
22184
+ /**
22185
+ * Get job deployment restrictions
22186
+ * @summary Get job deployment restrictions
22187
+ * @param {string} jobId Job ID
22188
+ * @param {*} [options] Override http request option.
22189
+ * @throws {RequiredError}
22190
+ */
22191
+ getJobDeploymentRestrictions(jobId, options) {
22192
+ return localVarFp.getJobDeploymentRestrictions(jobId, options).then((request) => request(axios, basePath));
22193
+ },
22194
+ };
22195
+ };
22196
+ exports.JobDeploymentRestrictionApiFactory = JobDeploymentRestrictionApiFactory;
22197
+ /**
22198
+ * JobDeploymentRestrictionApi - object-oriented interface
22199
+ * @export
22200
+ * @class JobDeploymentRestrictionApi
22201
+ * @extends {BaseAPI}
22202
+ */
22203
+ class JobDeploymentRestrictionApi extends base_1.BaseAPI {
22204
+ /**
22205
+ * Create a job deployment restriction
22206
+ * @summary Create a job deployment restriction
22207
+ * @param {string} jobId Job ID
22208
+ * @param {JobDeploymentRestrictionRequest} [jobDeploymentRestrictionRequest]
22209
+ * @param {*} [options] Override http request option.
22210
+ * @throws {RequiredError}
22211
+ * @memberof JobDeploymentRestrictionApi
22212
+ */
22213
+ createJobDeploymentRestriction(jobId, jobDeploymentRestrictionRequest, options) {
22214
+ return (0, exports.JobDeploymentRestrictionApiFp)(this.configuration).createJobDeploymentRestriction(jobId, jobDeploymentRestrictionRequest, options).then((request) => request(this.axios, this.basePath));
22215
+ }
22216
+ /**
22217
+ * Delete a job deployment restriction
22218
+ * @summary Delete a job deployment restriction
22219
+ * @param {string} jobId Job ID
22220
+ * @param {string} deploymentRestrictionId Deployment Restriction ID
22221
+ * @param {*} [options] Override http request option.
22222
+ * @throws {RequiredError}
22223
+ * @memberof JobDeploymentRestrictionApi
22224
+ */
22225
+ deleteJobDeploymentRestriction(jobId, deploymentRestrictionId, options) {
22226
+ return (0, exports.JobDeploymentRestrictionApiFp)(this.configuration).deleteJobDeploymentRestriction(jobId, deploymentRestrictionId, options).then((request) => request(this.axios, this.basePath));
22227
+ }
22228
+ /**
22229
+ * Edit a job deployment restriction
22230
+ * @summary Edit a job deployment restriction
22231
+ * @param {string} jobId Job ID
22232
+ * @param {string} deploymentRestrictionId Deployment Restriction ID
22233
+ * @param {JobDeploymentRestrictionRequest} [jobDeploymentRestrictionRequest]
22234
+ * @param {*} [options] Override http request option.
22235
+ * @throws {RequiredError}
22236
+ * @memberof JobDeploymentRestrictionApi
22237
+ */
22238
+ editJobDeploymentRestriction(jobId, deploymentRestrictionId, jobDeploymentRestrictionRequest, options) {
22239
+ return (0, exports.JobDeploymentRestrictionApiFp)(this.configuration).editJobDeploymentRestriction(jobId, deploymentRestrictionId, jobDeploymentRestrictionRequest, options).then((request) => request(this.axios, this.basePath));
22240
+ }
22241
+ /**
22242
+ * Get job deployment restrictions
22243
+ * @summary Get job deployment restrictions
22244
+ * @param {string} jobId Job ID
22245
+ * @param {*} [options] Override http request option.
22246
+ * @throws {RequiredError}
22247
+ * @memberof JobDeploymentRestrictionApi
22248
+ */
22249
+ getJobDeploymentRestrictions(jobId, options) {
22250
+ return (0, exports.JobDeploymentRestrictionApiFp)(this.configuration).getJobDeploymentRestrictions(jobId, options).then((request) => request(this.axios, this.basePath));
22251
+ }
22252
+ }
22253
+ exports.JobDeploymentRestrictionApi = JobDeploymentRestrictionApi;
21918
22254
  /**
21919
22255
  * JobEnvironmentVariableApi - axios parameter creator
21920
22256
  * @export
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "qovery-typescript-axios",
3
- "version": "v1.1.208",
3
+ "version": "v1.1.210",
4
4
  "description": "OpenAPI client for qovery-typescript-axios",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [