qovery-typescript-axios 1.1.72 → 1.1.74

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 +760 -45
  2. package/dist/api.d.ts +406 -39
  3. package/dist/api.js +650 -36
  4. package/package.json +1 -1
package/api.ts CHANGED
@@ -36,6 +36,20 @@ export enum APIVariableScopeEnum {
36
36
  JOB = 'JOB'
37
37
  }
38
38
 
39
+ /**
40
+ * type of the environment variable (VALUE, FILE, ALIAS, OVERRIDE or BUIT_IN)
41
+ * @export
42
+ * @enum {string}
43
+ */
44
+
45
+ export enum APIVariableTypeEnum {
46
+ VALUE = 'VALUE',
47
+ ALIAS = 'ALIAS',
48
+ OVERRIDE = 'OVERRIDE',
49
+ BUILT_IN = 'BUILT_IN',
50
+ FILE = 'FILE'
51
+ }
52
+
39
53
  /**
40
54
  *
41
55
  * @export
@@ -6769,19 +6783,6 @@ export interface EnvironmentResponseList {
6769
6783
  */
6770
6784
  'results'?: Array<Environment>;
6771
6785
  }
6772
- /**
6773
- *
6774
- * @export
6775
- * @interface EnvironmentRestartRequest
6776
- */
6777
- export interface EnvironmentRestartRequest {
6778
- /**
6779
- *
6780
- * @type {boolean}
6781
- * @memberof EnvironmentRestartRequest
6782
- */
6783
- 'restart_db'?: boolean;
6784
- }
6785
6786
  /**
6786
6787
  *
6787
6788
  * @export
@@ -6865,7 +6866,7 @@ export interface EnvironmentVariable {
6865
6866
  */
6866
6867
  'updated_at'?: string;
6867
6868
  /**
6868
- * key is case sensitive
6869
+ * key is case sensitive.
6869
6870
  * @type {string}
6870
6871
  * @memberof EnvironmentVariable
6871
6872
  */
@@ -6876,6 +6877,12 @@ export interface EnvironmentVariable {
6876
6877
  * @memberof EnvironmentVariable
6877
6878
  */
6878
6879
  'value': string;
6880
+ /**
6881
+ * should be set for file only. variable mount path makes variable a file (where file should be mounted).
6882
+ * @type {string}
6883
+ * @memberof EnvironmentVariable
6884
+ */
6885
+ 'mount_path'?: string | null;
6879
6886
  /**
6880
6887
  *
6881
6888
  * @type {EnvironmentVariableOverride}
@@ -6894,6 +6901,12 @@ export interface EnvironmentVariable {
6894
6901
  * @memberof EnvironmentVariable
6895
6902
  */
6896
6903
  'scope': APIVariableScopeEnum;
6904
+ /**
6905
+ *
6906
+ * @type {APIVariableTypeEnum}
6907
+ * @memberof EnvironmentVariable
6908
+ */
6909
+ 'type'?: APIVariableTypeEnum;
6897
6910
  /**
6898
6911
  * present only for `BUILT_IN` variable
6899
6912
  * @type {string}
@@ -6968,6 +6981,12 @@ export interface EnvironmentVariableAllOf {
6968
6981
  * @memberof EnvironmentVariableAllOf
6969
6982
  */
6970
6983
  'scope': APIVariableScopeEnum;
6984
+ /**
6985
+ *
6986
+ * @type {APIVariableTypeEnum}
6987
+ * @memberof EnvironmentVariableAllOf
6988
+ */
6989
+ 'type'?: APIVariableTypeEnum;
6971
6990
  /**
6972
6991
  * present only for `BUILT_IN` variable
6973
6992
  * @type {string}
@@ -7044,7 +7063,7 @@ export interface EnvironmentVariableOverride {
7044
7063
  */
7045
7064
  export interface EnvironmentVariableRequest {
7046
7065
  /**
7047
- * key is case sensitive
7066
+ * key is case sensitive.
7048
7067
  * @type {string}
7049
7068
  * @memberof EnvironmentVariableRequest
7050
7069
  */
@@ -7055,6 +7074,12 @@ export interface EnvironmentVariableRequest {
7055
7074
  * @memberof EnvironmentVariableRequest
7056
7075
  */
7057
7076
  'value': string;
7077
+ /**
7078
+ * should be set for file only. variable mount path makes variable a file (where file should be mounted).
7079
+ * @type {string}
7080
+ * @memberof EnvironmentVariableRequest
7081
+ */
7082
+ 'mount_path'?: string | null;
7058
7083
  }
7059
7084
  /**
7060
7085
  *
@@ -10952,6 +10977,31 @@ export interface ProjectStatsResponseList {
10952
10977
  */
10953
10978
  'results'?: Array<ProjectStats>;
10954
10979
  }
10980
+ /**
10981
+ *
10982
+ * @export
10983
+ * @interface RebootServicesRequest
10984
+ */
10985
+ export interface RebootServicesRequest {
10986
+ /**
10987
+ *
10988
+ * @type {Array<string>}
10989
+ * @memberof RebootServicesRequest
10990
+ */
10991
+ 'applicationIds'?: Array<string>;
10992
+ /**
10993
+ *
10994
+ * @type {Array<string>}
10995
+ * @memberof RebootServicesRequest
10996
+ */
10997
+ 'databaseIds'?: Array<string>;
10998
+ /**
10999
+ *
11000
+ * @type {Array<string>}
11001
+ * @memberof RebootServicesRequest
11002
+ */
11003
+ 'containerIds'?: Array<string>;
11004
+ }
10955
11005
  /**
10956
11006
  *
10957
11007
  * @export
@@ -11166,6 +11216,12 @@ export interface Secret {
11166
11216
  * @memberof Secret
11167
11217
  */
11168
11218
  'scope': APIVariableScopeEnum;
11219
+ /**
11220
+ *
11221
+ * @type {APIVariableTypeEnum}
11222
+ * @memberof Secret
11223
+ */
11224
+ 'type'?: APIVariableTypeEnum;
11169
11225
  /**
11170
11226
  * present only for `BUILT_IN` variable
11171
11227
  * @type {string}
@@ -11240,6 +11296,12 @@ export interface SecretAllOf {
11240
11296
  * @memberof SecretAllOf
11241
11297
  */
11242
11298
  'scope': APIVariableScopeEnum;
11299
+ /**
11300
+ *
11301
+ * @type {APIVariableTypeEnum}
11302
+ * @memberof SecretAllOf
11303
+ */
11304
+ 'type'?: APIVariableTypeEnum;
11243
11305
  /**
11244
11306
  * present only for `BUILT_IN` variable
11245
11307
  * @type {string}
@@ -11321,6 +11383,12 @@ export interface SecretRequest {
11321
11383
  * @memberof SecretRequest
11322
11384
  */
11323
11385
  'value': string;
11386
+ /**
11387
+ * should be set for file only. variable mount path make secret a file (where file should be mounted).
11388
+ * @type {string}
11389
+ * @memberof SecretRequest
11390
+ */
11391
+ 'mount_path'?: string | null;
11324
11392
  }
11325
11393
  /**
11326
11394
  *
@@ -12516,7 +12584,83 @@ export const ApplicationActionsApiAxiosParamCreator = function (configuration?:
12516
12584
  },
12517
12585
  /**
12518
12586
  *
12519
- * @summary Restart application
12587
+ * @summary Reboot application
12588
+ * @param {string} applicationId Application ID
12589
+ * @param {*} [options] Override http request option.
12590
+ * @throws {RequiredError}
12591
+ */
12592
+ rebootApplication: async (applicationId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
12593
+ // verify required parameter 'applicationId' is not null or undefined
12594
+ assertParamExists('rebootApplication', 'applicationId', applicationId)
12595
+ const localVarPath = `/application/{applicationId}/restart-service`
12596
+ .replace(`{${"applicationId"}}`, encodeURIComponent(String(applicationId)));
12597
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
12598
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
12599
+ let baseOptions;
12600
+ if (configuration) {
12601
+ baseOptions = configuration.baseOptions;
12602
+ }
12603
+
12604
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
12605
+ const localVarHeaderParameter = {} as any;
12606
+ const localVarQueryParameter = {} as any;
12607
+
12608
+ // authentication bearerAuth required
12609
+ // http bearer authentication required
12610
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
12611
+
12612
+
12613
+
12614
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
12615
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
12616
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
12617
+
12618
+ return {
12619
+ url: toPathString(localVarUrlObj),
12620
+ options: localVarRequestOptions,
12621
+ };
12622
+ },
12623
+ /**
12624
+ *
12625
+ * @summary Redeploy application
12626
+ * @param {string} applicationId Application ID
12627
+ * @param {*} [options] Override http request option.
12628
+ * @throws {RequiredError}
12629
+ */
12630
+ redeployApplication: async (applicationId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
12631
+ // verify required parameter 'applicationId' is not null or undefined
12632
+ assertParamExists('redeployApplication', 'applicationId', applicationId)
12633
+ const localVarPath = `/application/{applicationId}/redeploy`
12634
+ .replace(`{${"applicationId"}}`, encodeURIComponent(String(applicationId)));
12635
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
12636
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
12637
+ let baseOptions;
12638
+ if (configuration) {
12639
+ baseOptions = configuration.baseOptions;
12640
+ }
12641
+
12642
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
12643
+ const localVarHeaderParameter = {} as any;
12644
+ const localVarQueryParameter = {} as any;
12645
+
12646
+ // authentication bearerAuth required
12647
+ // http bearer authentication required
12648
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
12649
+
12650
+
12651
+
12652
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
12653
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
12654
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
12655
+
12656
+ return {
12657
+ url: toPathString(localVarUrlObj),
12658
+ options: localVarRequestOptions,
12659
+ };
12660
+ },
12661
+ /**
12662
+ * **Deprecated** - Please use the \"Redeploy application\" endpoint now
12663
+ * @summary Deprecated - Restart application
12520
12664
  * @param {string} applicationId Application ID
12521
12665
  * @param {*} [options] Override http request option.
12522
12666
  * @throws {RequiredError}
@@ -12614,7 +12758,29 @@ export const ApplicationActionsApiFp = function(configuration?: Configuration) {
12614
12758
  },
12615
12759
  /**
12616
12760
  *
12617
- * @summary Restart application
12761
+ * @summary Reboot application
12762
+ * @param {string} applicationId Application ID
12763
+ * @param {*} [options] Override http request option.
12764
+ * @throws {RequiredError}
12765
+ */
12766
+ async rebootApplication(applicationId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Status>> {
12767
+ const localVarAxiosArgs = await localVarAxiosParamCreator.rebootApplication(applicationId, options);
12768
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
12769
+ },
12770
+ /**
12771
+ *
12772
+ * @summary Redeploy application
12773
+ * @param {string} applicationId Application ID
12774
+ * @param {*} [options] Override http request option.
12775
+ * @throws {RequiredError}
12776
+ */
12777
+ async redeployApplication(applicationId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Status>> {
12778
+ const localVarAxiosArgs = await localVarAxiosParamCreator.redeployApplication(applicationId, options);
12779
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
12780
+ },
12781
+ /**
12782
+ * **Deprecated** - Please use the \"Redeploy application\" endpoint now
12783
+ * @summary Deprecated - Restart application
12618
12784
  * @param {string} applicationId Application ID
12619
12785
  * @param {*} [options] Override http request option.
12620
12786
  * @throws {RequiredError}
@@ -12657,7 +12823,27 @@ export const ApplicationActionsApiFactory = function (configuration?: Configurat
12657
12823
  },
12658
12824
  /**
12659
12825
  *
12660
- * @summary Restart application
12826
+ * @summary Reboot application
12827
+ * @param {string} applicationId Application ID
12828
+ * @param {*} [options] Override http request option.
12829
+ * @throws {RequiredError}
12830
+ */
12831
+ rebootApplication(applicationId: string, options?: any): AxiosPromise<Status> {
12832
+ return localVarFp.rebootApplication(applicationId, options).then((request) => request(axios, basePath));
12833
+ },
12834
+ /**
12835
+ *
12836
+ * @summary Redeploy application
12837
+ * @param {string} applicationId Application ID
12838
+ * @param {*} [options] Override http request option.
12839
+ * @throws {RequiredError}
12840
+ */
12841
+ redeployApplication(applicationId: string, options?: any): AxiosPromise<Status> {
12842
+ return localVarFp.redeployApplication(applicationId, options).then((request) => request(axios, basePath));
12843
+ },
12844
+ /**
12845
+ * **Deprecated** - Please use the \"Redeploy application\" endpoint now
12846
+ * @summary Deprecated - Restart application
12661
12847
  * @param {string} applicationId Application ID
12662
12848
  * @param {*} [options] Override http request option.
12663
12849
  * @throws {RequiredError}
@@ -12700,7 +12886,31 @@ export class ApplicationActionsApi extends BaseAPI {
12700
12886
 
12701
12887
  /**
12702
12888
  *
12703
- * @summary Restart application
12889
+ * @summary Reboot application
12890
+ * @param {string} applicationId Application ID
12891
+ * @param {*} [options] Override http request option.
12892
+ * @throws {RequiredError}
12893
+ * @memberof ApplicationActionsApi
12894
+ */
12895
+ public rebootApplication(applicationId: string, options?: AxiosRequestConfig) {
12896
+ return ApplicationActionsApiFp(this.configuration).rebootApplication(applicationId, options).then((request) => request(this.axios, this.basePath));
12897
+ }
12898
+
12899
+ /**
12900
+ *
12901
+ * @summary Redeploy application
12902
+ * @param {string} applicationId Application ID
12903
+ * @param {*} [options] Override http request option.
12904
+ * @throws {RequiredError}
12905
+ * @memberof ApplicationActionsApi
12906
+ */
12907
+ public redeployApplication(applicationId: string, options?: AxiosRequestConfig) {
12908
+ return ApplicationActionsApiFp(this.configuration).redeployApplication(applicationId, options).then((request) => request(this.axios, this.basePath));
12909
+ }
12910
+
12911
+ /**
12912
+ * **Deprecated** - Please use the \"Redeploy application\" endpoint now
12913
+ * @summary Deprecated - Restart application
12704
12914
  * @param {string} applicationId Application ID
12705
12915
  * @param {*} [options] Override http request option.
12706
12916
  * @throws {RequiredError}
@@ -21725,7 +21935,83 @@ export const ContainerActionsApiAxiosParamCreator = function (configuration?: Co
21725
21935
  },
21726
21936
  /**
21727
21937
  *
21728
- * @summary Restart container
21938
+ * @summary Reboot container
21939
+ * @param {string} containerId Container ID
21940
+ * @param {*} [options] Override http request option.
21941
+ * @throws {RequiredError}
21942
+ */
21943
+ rebootContainer: async (containerId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
21944
+ // verify required parameter 'containerId' is not null or undefined
21945
+ assertParamExists('rebootContainer', 'containerId', containerId)
21946
+ const localVarPath = `/container/{containerId}/restart-service`
21947
+ .replace(`{${"containerId"}}`, encodeURIComponent(String(containerId)));
21948
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
21949
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
21950
+ let baseOptions;
21951
+ if (configuration) {
21952
+ baseOptions = configuration.baseOptions;
21953
+ }
21954
+
21955
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
21956
+ const localVarHeaderParameter = {} as any;
21957
+ const localVarQueryParameter = {} as any;
21958
+
21959
+ // authentication bearerAuth required
21960
+ // http bearer authentication required
21961
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
21962
+
21963
+
21964
+
21965
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
21966
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
21967
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
21968
+
21969
+ return {
21970
+ url: toPathString(localVarUrlObj),
21971
+ options: localVarRequestOptions,
21972
+ };
21973
+ },
21974
+ /**
21975
+ *
21976
+ * @summary Redeploy container
21977
+ * @param {string} containerId Container ID
21978
+ * @param {*} [options] Override http request option.
21979
+ * @throws {RequiredError}
21980
+ */
21981
+ redeployContainer: async (containerId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
21982
+ // verify required parameter 'containerId' is not null or undefined
21983
+ assertParamExists('redeployContainer', 'containerId', containerId)
21984
+ const localVarPath = `/container/{containerId}/redeploy`
21985
+ .replace(`{${"containerId"}}`, encodeURIComponent(String(containerId)));
21986
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
21987
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
21988
+ let baseOptions;
21989
+ if (configuration) {
21990
+ baseOptions = configuration.baseOptions;
21991
+ }
21992
+
21993
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
21994
+ const localVarHeaderParameter = {} as any;
21995
+ const localVarQueryParameter = {} as any;
21996
+
21997
+ // authentication bearerAuth required
21998
+ // http bearer authentication required
21999
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
22000
+
22001
+
22002
+
22003
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
22004
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
22005
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
22006
+
22007
+ return {
22008
+ url: toPathString(localVarUrlObj),
22009
+ options: localVarRequestOptions,
22010
+ };
22011
+ },
22012
+ /**
22013
+ * **Deprecated** - Please use the \"Redeploy container\" endpoint now
22014
+ * @summary Deprecated - Restart container
21729
22015
  * @param {string} containerId Container ID
21730
22016
  * @param {*} [options] Override http request option.
21731
22017
  * @throws {RequiredError}
@@ -21823,7 +22109,29 @@ export const ContainerActionsApiFp = function(configuration?: Configuration) {
21823
22109
  },
21824
22110
  /**
21825
22111
  *
21826
- * @summary Restart container
22112
+ * @summary Reboot container
22113
+ * @param {string} containerId Container ID
22114
+ * @param {*} [options] Override http request option.
22115
+ * @throws {RequiredError}
22116
+ */
22117
+ async rebootContainer(containerId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Status>> {
22118
+ const localVarAxiosArgs = await localVarAxiosParamCreator.rebootContainer(containerId, options);
22119
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
22120
+ },
22121
+ /**
22122
+ *
22123
+ * @summary Redeploy container
22124
+ * @param {string} containerId Container ID
22125
+ * @param {*} [options] Override http request option.
22126
+ * @throws {RequiredError}
22127
+ */
22128
+ async redeployContainer(containerId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Status>> {
22129
+ const localVarAxiosArgs = await localVarAxiosParamCreator.redeployContainer(containerId, options);
22130
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
22131
+ },
22132
+ /**
22133
+ * **Deprecated** - Please use the \"Redeploy container\" endpoint now
22134
+ * @summary Deprecated - Restart container
21827
22135
  * @param {string} containerId Container ID
21828
22136
  * @param {*} [options] Override http request option.
21829
22137
  * @throws {RequiredError}
@@ -21866,7 +22174,27 @@ export const ContainerActionsApiFactory = function (configuration?: Configuratio
21866
22174
  },
21867
22175
  /**
21868
22176
  *
21869
- * @summary Restart container
22177
+ * @summary Reboot container
22178
+ * @param {string} containerId Container ID
22179
+ * @param {*} [options] Override http request option.
22180
+ * @throws {RequiredError}
22181
+ */
22182
+ rebootContainer(containerId: string, options?: any): AxiosPromise<Status> {
22183
+ return localVarFp.rebootContainer(containerId, options).then((request) => request(axios, basePath));
22184
+ },
22185
+ /**
22186
+ *
22187
+ * @summary Redeploy container
22188
+ * @param {string} containerId Container ID
22189
+ * @param {*} [options] Override http request option.
22190
+ * @throws {RequiredError}
22191
+ */
22192
+ redeployContainer(containerId: string, options?: any): AxiosPromise<Status> {
22193
+ return localVarFp.redeployContainer(containerId, options).then((request) => request(axios, basePath));
22194
+ },
22195
+ /**
22196
+ * **Deprecated** - Please use the \"Redeploy container\" endpoint now
22197
+ * @summary Deprecated - Restart container
21870
22198
  * @param {string} containerId Container ID
21871
22199
  * @param {*} [options] Override http request option.
21872
22200
  * @throws {RequiredError}
@@ -21909,7 +22237,31 @@ export class ContainerActionsApi extends BaseAPI {
21909
22237
 
21910
22238
  /**
21911
22239
  *
21912
- * @summary Restart container
22240
+ * @summary Reboot container
22241
+ * @param {string} containerId Container ID
22242
+ * @param {*} [options] Override http request option.
22243
+ * @throws {RequiredError}
22244
+ * @memberof ContainerActionsApi
22245
+ */
22246
+ public rebootContainer(containerId: string, options?: AxiosRequestConfig) {
22247
+ return ContainerActionsApiFp(this.configuration).rebootContainer(containerId, options).then((request) => request(this.axios, this.basePath));
22248
+ }
22249
+
22250
+ /**
22251
+ *
22252
+ * @summary Redeploy container
22253
+ * @param {string} containerId Container ID
22254
+ * @param {*} [options] Override http request option.
22255
+ * @throws {RequiredError}
22256
+ * @memberof ContainerActionsApi
22257
+ */
22258
+ public redeployContainer(containerId: string, options?: AxiosRequestConfig) {
22259
+ return ContainerActionsApiFp(this.configuration).redeployContainer(containerId, options).then((request) => request(this.axios, this.basePath));
22260
+ }
22261
+
22262
+ /**
22263
+ * **Deprecated** - Please use the \"Redeploy container\" endpoint now
22264
+ * @summary Deprecated - Restart container
21913
22265
  * @param {string} containerId Container ID
21914
22266
  * @param {*} [options] Override http request option.
21915
22267
  * @throws {RequiredError}
@@ -26615,6 +26967,82 @@ export const DatabaseActionsApiAxiosParamCreator = function (configuration?: Con
26615
26967
  * @param {*} [options] Override http request option.
26616
26968
  * @throws {RequiredError}
26617
26969
  */
26970
+ rebootDatabase: async (databaseId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
26971
+ // verify required parameter 'databaseId' is not null or undefined
26972
+ assertParamExists('rebootDatabase', 'databaseId', databaseId)
26973
+ const localVarPath = `/database/{databaseId}/restart-service`
26974
+ .replace(`{${"databaseId"}}`, encodeURIComponent(String(databaseId)));
26975
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
26976
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
26977
+ let baseOptions;
26978
+ if (configuration) {
26979
+ baseOptions = configuration.baseOptions;
26980
+ }
26981
+
26982
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
26983
+ const localVarHeaderParameter = {} as any;
26984
+ const localVarQueryParameter = {} as any;
26985
+
26986
+ // authentication bearerAuth required
26987
+ // http bearer authentication required
26988
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
26989
+
26990
+
26991
+
26992
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
26993
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
26994
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
26995
+
26996
+ return {
26997
+ url: toPathString(localVarUrlObj),
26998
+ options: localVarRequestOptions,
26999
+ };
27000
+ },
27001
+ /**
27002
+ *
27003
+ * @summary Redeploy database
27004
+ * @param {string} databaseId Database ID
27005
+ * @param {*} [options] Override http request option.
27006
+ * @throws {RequiredError}
27007
+ */
27008
+ redeployDatabase: async (databaseId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
27009
+ // verify required parameter 'databaseId' is not null or undefined
27010
+ assertParamExists('redeployDatabase', 'databaseId', databaseId)
27011
+ const localVarPath = `/database/{databaseId}/redeploy`
27012
+ .replace(`{${"databaseId"}}`, encodeURIComponent(String(databaseId)));
27013
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
27014
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
27015
+ let baseOptions;
27016
+ if (configuration) {
27017
+ baseOptions = configuration.baseOptions;
27018
+ }
27019
+
27020
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
27021
+ const localVarHeaderParameter = {} as any;
27022
+ const localVarQueryParameter = {} as any;
27023
+
27024
+ // authentication bearerAuth required
27025
+ // http bearer authentication required
27026
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
27027
+
27028
+
27029
+
27030
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
27031
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
27032
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
27033
+
27034
+ return {
27035
+ url: toPathString(localVarUrlObj),
27036
+ options: localVarRequestOptions,
27037
+ };
27038
+ },
27039
+ /**
27040
+ * **Deprecated** - Please use the \"Redeploy database\" endpoint now
27041
+ * @summary Deprecated - Restart database
27042
+ * @param {string} databaseId Database ID
27043
+ * @param {*} [options] Override http request option.
27044
+ * @throws {RequiredError}
27045
+ */
26618
27046
  restartDatabase: async (databaseId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
26619
27047
  // verify required parameter 'databaseId' is not null or undefined
26620
27048
  assertParamExists('restartDatabase', 'databaseId', databaseId)
@@ -26712,6 +27140,28 @@ export const DatabaseActionsApiFp = function(configuration?: Configuration) {
26712
27140
  * @param {*} [options] Override http request option.
26713
27141
  * @throws {RequiredError}
26714
27142
  */
27143
+ async rebootDatabase(databaseId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Status>> {
27144
+ const localVarAxiosArgs = await localVarAxiosParamCreator.rebootDatabase(databaseId, options);
27145
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
27146
+ },
27147
+ /**
27148
+ *
27149
+ * @summary Redeploy database
27150
+ * @param {string} databaseId Database ID
27151
+ * @param {*} [options] Override http request option.
27152
+ * @throws {RequiredError}
27153
+ */
27154
+ async redeployDatabase(databaseId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Status>> {
27155
+ const localVarAxiosArgs = await localVarAxiosParamCreator.redeployDatabase(databaseId, options);
27156
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
27157
+ },
27158
+ /**
27159
+ * **Deprecated** - Please use the \"Redeploy database\" endpoint now
27160
+ * @summary Deprecated - Restart database
27161
+ * @param {string} databaseId Database ID
27162
+ * @param {*} [options] Override http request option.
27163
+ * @throws {RequiredError}
27164
+ */
26715
27165
  async restartDatabase(databaseId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Status>> {
26716
27166
  const localVarAxiosArgs = await localVarAxiosParamCreator.restartDatabase(databaseId, options);
26717
27167
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
@@ -26754,6 +27204,26 @@ export const DatabaseActionsApiFactory = function (configuration?: Configuration
26754
27204
  * @param {*} [options] Override http request option.
26755
27205
  * @throws {RequiredError}
26756
27206
  */
27207
+ rebootDatabase(databaseId: string, options?: any): AxiosPromise<Status> {
27208
+ return localVarFp.rebootDatabase(databaseId, options).then((request) => request(axios, basePath));
27209
+ },
27210
+ /**
27211
+ *
27212
+ * @summary Redeploy database
27213
+ * @param {string} databaseId Database ID
27214
+ * @param {*} [options] Override http request option.
27215
+ * @throws {RequiredError}
27216
+ */
27217
+ redeployDatabase(databaseId: string, options?: any): AxiosPromise<Status> {
27218
+ return localVarFp.redeployDatabase(databaseId, options).then((request) => request(axios, basePath));
27219
+ },
27220
+ /**
27221
+ * **Deprecated** - Please use the \"Redeploy database\" endpoint now
27222
+ * @summary Deprecated - Restart database
27223
+ * @param {string} databaseId Database ID
27224
+ * @param {*} [options] Override http request option.
27225
+ * @throws {RequiredError}
27226
+ */
26757
27227
  restartDatabase(databaseId: string, options?: any): AxiosPromise<Status> {
26758
27228
  return localVarFp.restartDatabase(databaseId, options).then((request) => request(axios, basePath));
26759
27229
  },
@@ -26797,6 +27267,30 @@ export class DatabaseActionsApi extends BaseAPI {
26797
27267
  * @throws {RequiredError}
26798
27268
  * @memberof DatabaseActionsApi
26799
27269
  */
27270
+ public rebootDatabase(databaseId: string, options?: AxiosRequestConfig) {
27271
+ return DatabaseActionsApiFp(this.configuration).rebootDatabase(databaseId, options).then((request) => request(this.axios, this.basePath));
27272
+ }
27273
+
27274
+ /**
27275
+ *
27276
+ * @summary Redeploy database
27277
+ * @param {string} databaseId Database ID
27278
+ * @param {*} [options] Override http request option.
27279
+ * @throws {RequiredError}
27280
+ * @memberof DatabaseActionsApi
27281
+ */
27282
+ public redeployDatabase(databaseId: string, options?: AxiosRequestConfig) {
27283
+ return DatabaseActionsApiFp(this.configuration).redeployDatabase(databaseId, options).then((request) => request(this.axios, this.basePath));
27284
+ }
27285
+
27286
+ /**
27287
+ * **Deprecated** - Please use the \"Redeploy database\" endpoint now
27288
+ * @summary Deprecated - Restart database
27289
+ * @param {string} databaseId Database ID
27290
+ * @param {*} [options] Override http request option.
27291
+ * @throws {RequiredError}
27292
+ * @memberof DatabaseActionsApi
27293
+ */
26800
27294
  public restartDatabase(databaseId: string, options?: AxiosRequestConfig) {
26801
27295
  return DatabaseActionsApiFp(this.configuration).restartDatabase(databaseId, options).then((request) => request(this.axios, this.basePath));
26802
27296
  }
@@ -29246,15 +29740,94 @@ export const EnvironmentActionsApiAxiosParamCreator = function (configuration?:
29246
29740
  options: localVarRequestOptions,
29247
29741
  };
29248
29742
  },
29743
+ /**
29744
+ * Update and reboot the selected services
29745
+ * @summary Reboot services
29746
+ * @param {string} environmentId Environment ID
29747
+ * @param {RebootServicesRequest} [rebootServicesRequest]
29748
+ * @param {*} [options] Override http request option.
29749
+ * @throws {RequiredError}
29750
+ */
29751
+ rebootServices: async (environmentId: string, rebootServicesRequest?: RebootServicesRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
29752
+ // verify required parameter 'environmentId' is not null or undefined
29753
+ assertParamExists('rebootServices', 'environmentId', environmentId)
29754
+ const localVarPath = `/environment/{environmentId}/service/restart-service`
29755
+ .replace(`{${"environmentId"}}`, encodeURIComponent(String(environmentId)));
29756
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
29757
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
29758
+ let baseOptions;
29759
+ if (configuration) {
29760
+ baseOptions = configuration.baseOptions;
29761
+ }
29762
+
29763
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
29764
+ const localVarHeaderParameter = {} as any;
29765
+ const localVarQueryParameter = {} as any;
29766
+
29767
+ // authentication bearerAuth required
29768
+ // http bearer authentication required
29769
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
29770
+
29771
+
29772
+
29773
+ localVarHeaderParameter['Content-Type'] = 'application/json';
29774
+
29775
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
29776
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
29777
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
29778
+ localVarRequestOptions.data = serializeDataIfNeeded(rebootServicesRequest, localVarRequestOptions, configuration)
29779
+
29780
+ return {
29781
+ url: toPathString(localVarUrlObj),
29782
+ options: localVarRequestOptions,
29783
+ };
29784
+ },
29249
29785
  /**
29250
29786
  *
29251
- * @summary Restart environment
29787
+ * @summary Redeploy environment
29252
29788
  * @param {string} environmentId Environment ID
29253
- * @param {EnvironmentRestartRequest} [environmentRestartRequest]
29254
29789
  * @param {*} [options] Override http request option.
29255
29790
  * @throws {RequiredError}
29256
29791
  */
29257
- restartEnvironment: async (environmentId: string, environmentRestartRequest?: EnvironmentRestartRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
29792
+ redeployEnvironment: async (environmentId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
29793
+ // verify required parameter 'environmentId' is not null or undefined
29794
+ assertParamExists('redeployEnvironment', 'environmentId', environmentId)
29795
+ const localVarPath = `/environment/{environmentId}/redeploy`
29796
+ .replace(`{${"environmentId"}}`, encodeURIComponent(String(environmentId)));
29797
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
29798
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
29799
+ let baseOptions;
29800
+ if (configuration) {
29801
+ baseOptions = configuration.baseOptions;
29802
+ }
29803
+
29804
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
29805
+ const localVarHeaderParameter = {} as any;
29806
+ const localVarQueryParameter = {} as any;
29807
+
29808
+ // authentication bearerAuth required
29809
+ // http bearer authentication required
29810
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
29811
+
29812
+
29813
+
29814
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
29815
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
29816
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
29817
+
29818
+ return {
29819
+ url: toPathString(localVarUrlObj),
29820
+ options: localVarRequestOptions,
29821
+ };
29822
+ },
29823
+ /**
29824
+ * **Deprecated** - Please use the \"Redeploy environment\" endpoint now
29825
+ * @summary Deprecated - Restart environment
29826
+ * @param {string} environmentId Environment ID
29827
+ * @param {*} [options] Override http request option.
29828
+ * @throws {RequiredError}
29829
+ */
29830
+ restartEnvironment: async (environmentId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
29258
29831
  // verify required parameter 'environmentId' is not null or undefined
29259
29832
  assertParamExists('restartEnvironment', 'environmentId', environmentId)
29260
29833
  const localVarPath = `/environment/{environmentId}/restart`
@@ -29276,12 +29849,9 @@ export const EnvironmentActionsApiAxiosParamCreator = function (configuration?:
29276
29849
 
29277
29850
 
29278
29851
 
29279
- localVarHeaderParameter['Content-Type'] = 'application/json';
29280
-
29281
29852
  setSearchParams(localVarUrlObj, localVarQueryParameter);
29282
29853
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
29283
29854
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
29284
- localVarRequestOptions.data = serializeDataIfNeeded(environmentRestartRequest, localVarRequestOptions, configuration)
29285
29855
 
29286
29856
  return {
29287
29857
  url: toPathString(localVarUrlObj),
@@ -29382,16 +29952,38 @@ export const EnvironmentActionsApiFp = function(configuration?: Configuration) {
29382
29952
  const localVarAxiosArgs = await localVarAxiosParamCreator.deployEnvironment(environmentId, options);
29383
29953
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
29384
29954
  },
29955
+ /**
29956
+ * Update and reboot the selected services
29957
+ * @summary Reboot services
29958
+ * @param {string} environmentId Environment ID
29959
+ * @param {RebootServicesRequest} [rebootServicesRequest]
29960
+ * @param {*} [options] Override http request option.
29961
+ * @throws {RequiredError}
29962
+ */
29963
+ async rebootServices(environmentId: string, rebootServicesRequest?: RebootServicesRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Status>> {
29964
+ const localVarAxiosArgs = await localVarAxiosParamCreator.rebootServices(environmentId, rebootServicesRequest, options);
29965
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
29966
+ },
29385
29967
  /**
29386
29968
  *
29387
- * @summary Restart environment
29969
+ * @summary Redeploy environment
29970
+ * @param {string} environmentId Environment ID
29971
+ * @param {*} [options] Override http request option.
29972
+ * @throws {RequiredError}
29973
+ */
29974
+ async redeployEnvironment(environmentId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Status>> {
29975
+ const localVarAxiosArgs = await localVarAxiosParamCreator.redeployEnvironment(environmentId, options);
29976
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
29977
+ },
29978
+ /**
29979
+ * **Deprecated** - Please use the \"Redeploy environment\" endpoint now
29980
+ * @summary Deprecated - Restart environment
29388
29981
  * @param {string} environmentId Environment ID
29389
- * @param {EnvironmentRestartRequest} [environmentRestartRequest]
29390
29982
  * @param {*} [options] Override http request option.
29391
29983
  * @throws {RequiredError}
29392
29984
  */
29393
- async restartEnvironment(environmentId: string, environmentRestartRequest?: EnvironmentRestartRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Status>> {
29394
- const localVarAxiosArgs = await localVarAxiosParamCreator.restartEnvironment(environmentId, environmentRestartRequest, options);
29985
+ async restartEnvironment(environmentId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Status>> {
29986
+ const localVarAxiosArgs = await localVarAxiosParamCreator.restartEnvironment(environmentId, options);
29395
29987
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
29396
29988
  },
29397
29989
  /**
@@ -29457,16 +30049,36 @@ export const EnvironmentActionsApiFactory = function (configuration?: Configurat
29457
30049
  deployEnvironment(environmentId: string, options?: any): AxiosPromise<Status> {
29458
30050
  return localVarFp.deployEnvironment(environmentId, options).then((request) => request(axios, basePath));
29459
30051
  },
30052
+ /**
30053
+ * Update and reboot the selected services
30054
+ * @summary Reboot services
30055
+ * @param {string} environmentId Environment ID
30056
+ * @param {RebootServicesRequest} [rebootServicesRequest]
30057
+ * @param {*} [options] Override http request option.
30058
+ * @throws {RequiredError}
30059
+ */
30060
+ rebootServices(environmentId: string, rebootServicesRequest?: RebootServicesRequest, options?: any): AxiosPromise<Status> {
30061
+ return localVarFp.rebootServices(environmentId, rebootServicesRequest, options).then((request) => request(axios, basePath));
30062
+ },
29460
30063
  /**
29461
30064
  *
29462
- * @summary Restart environment
30065
+ * @summary Redeploy environment
30066
+ * @param {string} environmentId Environment ID
30067
+ * @param {*} [options] Override http request option.
30068
+ * @throws {RequiredError}
30069
+ */
30070
+ redeployEnvironment(environmentId: string, options?: any): AxiosPromise<Status> {
30071
+ return localVarFp.redeployEnvironment(environmentId, options).then((request) => request(axios, basePath));
30072
+ },
30073
+ /**
30074
+ * **Deprecated** - Please use the \"Redeploy environment\" endpoint now
30075
+ * @summary Deprecated - Restart environment
29463
30076
  * @param {string} environmentId Environment ID
29464
- * @param {EnvironmentRestartRequest} [environmentRestartRequest]
29465
30077
  * @param {*} [options] Override http request option.
29466
30078
  * @throws {RequiredError}
29467
30079
  */
29468
- restartEnvironment(environmentId: string, environmentRestartRequest?: EnvironmentRestartRequest, options?: any): AxiosPromise<Status> {
29469
- return localVarFp.restartEnvironment(environmentId, environmentRestartRequest, options).then((request) => request(axios, basePath));
30080
+ restartEnvironment(environmentId: string, options?: any): AxiosPromise<Status> {
30081
+ return localVarFp.restartEnvironment(environmentId, options).then((request) => request(axios, basePath));
29470
30082
  },
29471
30083
  /**
29472
30084
  *
@@ -29538,17 +30150,41 @@ export class EnvironmentActionsApi extends BaseAPI {
29538
30150
  return EnvironmentActionsApiFp(this.configuration).deployEnvironment(environmentId, options).then((request) => request(this.axios, this.basePath));
29539
30151
  }
29540
30152
 
30153
+ /**
30154
+ * Update and reboot the selected services
30155
+ * @summary Reboot services
30156
+ * @param {string} environmentId Environment ID
30157
+ * @param {RebootServicesRequest} [rebootServicesRequest]
30158
+ * @param {*} [options] Override http request option.
30159
+ * @throws {RequiredError}
30160
+ * @memberof EnvironmentActionsApi
30161
+ */
30162
+ public rebootServices(environmentId: string, rebootServicesRequest?: RebootServicesRequest, options?: AxiosRequestConfig) {
30163
+ return EnvironmentActionsApiFp(this.configuration).rebootServices(environmentId, rebootServicesRequest, options).then((request) => request(this.axios, this.basePath));
30164
+ }
30165
+
29541
30166
  /**
29542
30167
  *
29543
- * @summary Restart environment
30168
+ * @summary Redeploy environment
30169
+ * @param {string} environmentId Environment ID
30170
+ * @param {*} [options] Override http request option.
30171
+ * @throws {RequiredError}
30172
+ * @memberof EnvironmentActionsApi
30173
+ */
30174
+ public redeployEnvironment(environmentId: string, options?: AxiosRequestConfig) {
30175
+ return EnvironmentActionsApiFp(this.configuration).redeployEnvironment(environmentId, options).then((request) => request(this.axios, this.basePath));
30176
+ }
30177
+
30178
+ /**
30179
+ * **Deprecated** - Please use the \"Redeploy environment\" endpoint now
30180
+ * @summary Deprecated - Restart environment
29544
30181
  * @param {string} environmentId Environment ID
29545
- * @param {EnvironmentRestartRequest} [environmentRestartRequest]
29546
30182
  * @param {*} [options] Override http request option.
29547
30183
  * @throws {RequiredError}
29548
30184
  * @memberof EnvironmentActionsApi
29549
30185
  */
29550
- public restartEnvironment(environmentId: string, environmentRestartRequest?: EnvironmentRestartRequest, options?: AxiosRequestConfig) {
29551
- return EnvironmentActionsApiFp(this.configuration).restartEnvironment(environmentId, environmentRestartRequest, options).then((request) => request(this.axios, this.basePath));
30186
+ public restartEnvironment(environmentId: string, options?: AxiosRequestConfig) {
30187
+ return EnvironmentActionsApiFp(this.configuration).restartEnvironment(environmentId, options).then((request) => request(this.axios, this.basePath));
29552
30188
  }
29553
30189
 
29554
30190
  /**
@@ -32617,7 +33253,50 @@ export const JobActionsApiAxiosParamCreator = function (configuration?: Configur
32617
33253
  },
32618
33254
  /**
32619
33255
  *
32620
- * @summary Restart job
33256
+ * @summary Redeploy job
33257
+ * @param {string} jobId Job ID
33258
+ * @param {JobForceEvent} [forceEvent] When filled, it indicates the target event to be deployed. If the concerned job hasn\&#39;t the target event provided, the job won\&#39;t be deployed.
33259
+ * @param {*} [options] Override http request option.
33260
+ * @throws {RequiredError}
33261
+ */
33262
+ redeployJob: async (jobId: string, forceEvent?: JobForceEvent, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
33263
+ // verify required parameter 'jobId' is not null or undefined
33264
+ assertParamExists('redeployJob', 'jobId', jobId)
33265
+ const localVarPath = `/job/{jobId}/redeploy`
33266
+ .replace(`{${"jobId"}}`, encodeURIComponent(String(jobId)));
33267
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
33268
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
33269
+ let baseOptions;
33270
+ if (configuration) {
33271
+ baseOptions = configuration.baseOptions;
33272
+ }
33273
+
33274
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
33275
+ const localVarHeaderParameter = {} as any;
33276
+ const localVarQueryParameter = {} as any;
33277
+
33278
+ // authentication bearerAuth required
33279
+ // http bearer authentication required
33280
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
33281
+
33282
+ if (forceEvent !== undefined) {
33283
+ localVarQueryParameter['forceEvent'] = forceEvent;
33284
+ }
33285
+
33286
+
33287
+
33288
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
33289
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
33290
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
33291
+
33292
+ return {
33293
+ url: toPathString(localVarUrlObj),
33294
+ options: localVarRequestOptions,
33295
+ };
33296
+ },
33297
+ /**
33298
+ * **Deprecated** - Please use the \"Redeploy job\" endpoint now
33299
+ * @summary Deprecated - Restart job
32621
33300
  * @param {string} jobId Job ID
32622
33301
  * @param {JobForceEvent} [forceEvent] When filled, it indicates the target event to be deployed. If the concerned job hasn\&#39;t the target event provided, the job won\&#39;t be deployed.
32623
33302
  * @param {*} [options] Override http request option.
@@ -32721,7 +33400,19 @@ export const JobActionsApiFp = function(configuration?: Configuration) {
32721
33400
  },
32722
33401
  /**
32723
33402
  *
32724
- * @summary Restart job
33403
+ * @summary Redeploy job
33404
+ * @param {string} jobId Job ID
33405
+ * @param {JobForceEvent} [forceEvent] When filled, it indicates the target event to be deployed. If the concerned job hasn\&#39;t the target event provided, the job won\&#39;t be deployed.
33406
+ * @param {*} [options] Override http request option.
33407
+ * @throws {RequiredError}
33408
+ */
33409
+ async redeployJob(jobId: string, forceEvent?: JobForceEvent, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Status>> {
33410
+ const localVarAxiosArgs = await localVarAxiosParamCreator.redeployJob(jobId, forceEvent, options);
33411
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
33412
+ },
33413
+ /**
33414
+ * **Deprecated** - Please use the \"Redeploy job\" endpoint now
33415
+ * @summary Deprecated - Restart job
32725
33416
  * @param {string} jobId Job ID
32726
33417
  * @param {JobForceEvent} [forceEvent] When filled, it indicates the target event to be deployed. If the concerned job hasn\&#39;t the target event provided, the job won\&#39;t be deployed.
32727
33418
  * @param {*} [options] Override http request option.
@@ -32766,7 +33457,18 @@ export const JobActionsApiFactory = function (configuration?: Configuration, bas
32766
33457
  },
32767
33458
  /**
32768
33459
  *
32769
- * @summary Restart job
33460
+ * @summary Redeploy job
33461
+ * @param {string} jobId Job ID
33462
+ * @param {JobForceEvent} [forceEvent] When filled, it indicates the target event to be deployed. If the concerned job hasn\&#39;t the target event provided, the job won\&#39;t be deployed.
33463
+ * @param {*} [options] Override http request option.
33464
+ * @throws {RequiredError}
33465
+ */
33466
+ redeployJob(jobId: string, forceEvent?: JobForceEvent, options?: any): AxiosPromise<Status> {
33467
+ return localVarFp.redeployJob(jobId, forceEvent, options).then((request) => request(axios, basePath));
33468
+ },
33469
+ /**
33470
+ * **Deprecated** - Please use the \"Redeploy job\" endpoint now
33471
+ * @summary Deprecated - Restart job
32770
33472
  * @param {string} jobId Job ID
32771
33473
  * @param {JobForceEvent} [forceEvent] When filled, it indicates the target event to be deployed. If the concerned job hasn\&#39;t the target event provided, the job won\&#39;t be deployed.
32772
33474
  * @param {*} [options] Override http request option.
@@ -32811,7 +33513,20 @@ export class JobActionsApi extends BaseAPI {
32811
33513
 
32812
33514
  /**
32813
33515
  *
32814
- * @summary Restart job
33516
+ * @summary Redeploy job
33517
+ * @param {string} jobId Job ID
33518
+ * @param {JobForceEvent} [forceEvent] When filled, it indicates the target event to be deployed. If the concerned job hasn\&#39;t the target event provided, the job won\&#39;t be deployed.
33519
+ * @param {*} [options] Override http request option.
33520
+ * @throws {RequiredError}
33521
+ * @memberof JobActionsApi
33522
+ */
33523
+ public redeployJob(jobId: string, forceEvent?: JobForceEvent, options?: AxiosRequestConfig) {
33524
+ return JobActionsApiFp(this.configuration).redeployJob(jobId, forceEvent, options).then((request) => request(this.axios, this.basePath));
33525
+ }
33526
+
33527
+ /**
33528
+ * **Deprecated** - Please use the \"Redeploy job\" endpoint now
33529
+ * @summary Deprecated - Restart job
32815
33530
  * @param {string} jobId Job ID
32816
33531
  * @param {JobForceEvent} [forceEvent] When filled, it indicates the target event to be deployed. If the concerned job hasn\&#39;t the target event provided, the job won\&#39;t be deployed.
32817
33532
  * @param {*} [options] Override http request option.