qovery-typescript-axios 1.1.182 → 1.1.184
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/api.ts +94 -22
- package/dist/api.d.ts +49 -18
- package/dist/api.js +80 -8
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -92,6 +92,12 @@ export interface AccountInfo {
|
|
|
92
92
|
* @memberof AccountInfo
|
|
93
93
|
*/
|
|
94
94
|
'profile_picture_url'?: string;
|
|
95
|
+
/**
|
|
96
|
+
*
|
|
97
|
+
* @type {string}
|
|
98
|
+
* @memberof AccountInfo
|
|
99
|
+
*/
|
|
100
|
+
'communication_email'?: string;
|
|
95
101
|
}
|
|
96
102
|
/**
|
|
97
103
|
*
|
|
@@ -100,23 +106,11 @@ export interface AccountInfo {
|
|
|
100
106
|
*/
|
|
101
107
|
export interface AccountInfoEditRequest {
|
|
102
108
|
/**
|
|
103
|
-
*
|
|
109
|
+
* The email to be used for official Qovery communications
|
|
104
110
|
* @type {string}
|
|
105
111
|
* @memberof AccountInfoEditRequest
|
|
106
112
|
*/
|
|
107
|
-
'
|
|
108
|
-
/**
|
|
109
|
-
*
|
|
110
|
-
* @type {string}
|
|
111
|
-
* @memberof AccountInfoEditRequest
|
|
112
|
-
*/
|
|
113
|
-
'last_name'?: string;
|
|
114
|
-
/**
|
|
115
|
-
*
|
|
116
|
-
* @type {string}
|
|
117
|
-
* @memberof AccountInfoEditRequest
|
|
118
|
-
*/
|
|
119
|
-
'profile_picture_url'?: string;
|
|
113
|
+
'communication_email'?: string | null;
|
|
120
114
|
}
|
|
121
115
|
/**
|
|
122
116
|
*
|
|
@@ -13663,6 +13657,44 @@ export enum WeekdayEnum {
|
|
|
13663
13657
|
*/
|
|
13664
13658
|
export const AccountInfoApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
13665
13659
|
return {
|
|
13660
|
+
/**
|
|
13661
|
+
*
|
|
13662
|
+
* @summary Edit account information
|
|
13663
|
+
* @param {AccountInfoEditRequest} [accountInfoEditRequest]
|
|
13664
|
+
* @param {*} [options] Override http request option.
|
|
13665
|
+
* @throws {RequiredError}
|
|
13666
|
+
*/
|
|
13667
|
+
editAccountInformation: async (accountInfoEditRequest?: AccountInfoEditRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
13668
|
+
const localVarPath = `/account`;
|
|
13669
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
13670
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
13671
|
+
let baseOptions;
|
|
13672
|
+
if (configuration) {
|
|
13673
|
+
baseOptions = configuration.baseOptions;
|
|
13674
|
+
}
|
|
13675
|
+
|
|
13676
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
13677
|
+
const localVarHeaderParameter = {} as any;
|
|
13678
|
+
const localVarQueryParameter = {} as any;
|
|
13679
|
+
|
|
13680
|
+
// authentication bearerAuth required
|
|
13681
|
+
// http bearer authentication required
|
|
13682
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
13683
|
+
|
|
13684
|
+
|
|
13685
|
+
|
|
13686
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
13687
|
+
|
|
13688
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
13689
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
13690
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
13691
|
+
localVarRequestOptions.data = serializeDataIfNeeded(accountInfoEditRequest, localVarRequestOptions, configuration)
|
|
13692
|
+
|
|
13693
|
+
return {
|
|
13694
|
+
url: toPathString(localVarUrlObj),
|
|
13695
|
+
options: localVarRequestOptions,
|
|
13696
|
+
};
|
|
13697
|
+
},
|
|
13666
13698
|
/**
|
|
13667
13699
|
*
|
|
13668
13700
|
* @summary Get Account information
|
|
@@ -13707,6 +13739,17 @@ export const AccountInfoApiAxiosParamCreator = function (configuration?: Configu
|
|
|
13707
13739
|
export const AccountInfoApiFp = function(configuration?: Configuration) {
|
|
13708
13740
|
const localVarAxiosParamCreator = AccountInfoApiAxiosParamCreator(configuration)
|
|
13709
13741
|
return {
|
|
13742
|
+
/**
|
|
13743
|
+
*
|
|
13744
|
+
* @summary Edit account information
|
|
13745
|
+
* @param {AccountInfoEditRequest} [accountInfoEditRequest]
|
|
13746
|
+
* @param {*} [options] Override http request option.
|
|
13747
|
+
* @throws {RequiredError}
|
|
13748
|
+
*/
|
|
13749
|
+
async editAccountInformation(accountInfoEditRequest?: AccountInfoEditRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AccountInfo>> {
|
|
13750
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.editAccountInformation(accountInfoEditRequest, options);
|
|
13751
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
13752
|
+
},
|
|
13710
13753
|
/**
|
|
13711
13754
|
*
|
|
13712
13755
|
* @summary Get Account information
|
|
@@ -13727,6 +13770,16 @@ export const AccountInfoApiFp = function(configuration?: Configuration) {
|
|
|
13727
13770
|
export const AccountInfoApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
13728
13771
|
const localVarFp = AccountInfoApiFp(configuration)
|
|
13729
13772
|
return {
|
|
13773
|
+
/**
|
|
13774
|
+
*
|
|
13775
|
+
* @summary Edit account information
|
|
13776
|
+
* @param {AccountInfoEditRequest} [accountInfoEditRequest]
|
|
13777
|
+
* @param {*} [options] Override http request option.
|
|
13778
|
+
* @throws {RequiredError}
|
|
13779
|
+
*/
|
|
13780
|
+
editAccountInformation(accountInfoEditRequest?: AccountInfoEditRequest, options?: any): AxiosPromise<AccountInfo> {
|
|
13781
|
+
return localVarFp.editAccountInformation(accountInfoEditRequest, options).then((request) => request(axios, basePath));
|
|
13782
|
+
},
|
|
13730
13783
|
/**
|
|
13731
13784
|
*
|
|
13732
13785
|
* @summary Get Account information
|
|
@@ -13746,6 +13799,18 @@ export const AccountInfoApiFactory = function (configuration?: Configuration, ba
|
|
|
13746
13799
|
* @extends {BaseAPI}
|
|
13747
13800
|
*/
|
|
13748
13801
|
export class AccountInfoApi extends BaseAPI {
|
|
13802
|
+
/**
|
|
13803
|
+
*
|
|
13804
|
+
* @summary Edit account information
|
|
13805
|
+
* @param {AccountInfoEditRequest} [accountInfoEditRequest]
|
|
13806
|
+
* @param {*} [options] Override http request option.
|
|
13807
|
+
* @throws {RequiredError}
|
|
13808
|
+
* @memberof AccountInfoApi
|
|
13809
|
+
*/
|
|
13810
|
+
public editAccountInformation(accountInfoEditRequest?: AccountInfoEditRequest, options?: AxiosRequestConfig) {
|
|
13811
|
+
return AccountInfoApiFp(this.configuration).editAccountInformation(accountInfoEditRequest, options).then((request) => request(this.axios, this.basePath));
|
|
13812
|
+
}
|
|
13813
|
+
|
|
13749
13814
|
/**
|
|
13750
13815
|
*
|
|
13751
13816
|
* @summary Get Account information
|
|
@@ -14664,14 +14729,18 @@ export const ApplicationDeploymentRestrictionApiAxiosParamCreator = function (co
|
|
|
14664
14729
|
* Delete an application deployment restriction
|
|
14665
14730
|
* @summary Delete an application deployment restriction
|
|
14666
14731
|
* @param {string} applicationId Application ID
|
|
14732
|
+
* @param {string} deploymentRestrictionId Deployment Restriction ID
|
|
14667
14733
|
* @param {*} [options] Override http request option.
|
|
14668
14734
|
* @throws {RequiredError}
|
|
14669
14735
|
*/
|
|
14670
|
-
deleteApplicationDeploymentRestriction: async (applicationId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
14736
|
+
deleteApplicationDeploymentRestriction: async (applicationId: string, deploymentRestrictionId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
14671
14737
|
// verify required parameter 'applicationId' is not null or undefined
|
|
14672
14738
|
assertParamExists('deleteApplicationDeploymentRestriction', 'applicationId', applicationId)
|
|
14739
|
+
// verify required parameter 'deploymentRestrictionId' is not null or undefined
|
|
14740
|
+
assertParamExists('deleteApplicationDeploymentRestriction', 'deploymentRestrictionId', deploymentRestrictionId)
|
|
14673
14741
|
const localVarPath = `/application/{applicationId}/deploymentRestriction/{deploymentRestrictionId}`
|
|
14674
|
-
.replace(`{${"applicationId"}}`, encodeURIComponent(String(applicationId)))
|
|
14742
|
+
.replace(`{${"applicationId"}}`, encodeURIComponent(String(applicationId)))
|
|
14743
|
+
.replace(`{${"deploymentRestrictionId"}}`, encodeURIComponent(String(deploymentRestrictionId)));
|
|
14675
14744
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
14676
14745
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
14677
14746
|
let baseOptions;
|
|
@@ -14808,11 +14877,12 @@ export const ApplicationDeploymentRestrictionApiFp = function(configuration?: Co
|
|
|
14808
14877
|
* Delete an application deployment restriction
|
|
14809
14878
|
* @summary Delete an application deployment restriction
|
|
14810
14879
|
* @param {string} applicationId Application ID
|
|
14880
|
+
* @param {string} deploymentRestrictionId Deployment Restriction ID
|
|
14811
14881
|
* @param {*} [options] Override http request option.
|
|
14812
14882
|
* @throws {RequiredError}
|
|
14813
14883
|
*/
|
|
14814
|
-
async deleteApplicationDeploymentRestriction(applicationId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
14815
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteApplicationDeploymentRestriction(applicationId, options);
|
|
14884
|
+
async deleteApplicationDeploymentRestriction(applicationId: string, deploymentRestrictionId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
14885
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteApplicationDeploymentRestriction(applicationId, deploymentRestrictionId, options);
|
|
14816
14886
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
14817
14887
|
},
|
|
14818
14888
|
/**
|
|
@@ -14864,11 +14934,12 @@ export const ApplicationDeploymentRestrictionApiFactory = function (configuratio
|
|
|
14864
14934
|
* Delete an application deployment restriction
|
|
14865
14935
|
* @summary Delete an application deployment restriction
|
|
14866
14936
|
* @param {string} applicationId Application ID
|
|
14937
|
+
* @param {string} deploymentRestrictionId Deployment Restriction ID
|
|
14867
14938
|
* @param {*} [options] Override http request option.
|
|
14868
14939
|
* @throws {RequiredError}
|
|
14869
14940
|
*/
|
|
14870
|
-
deleteApplicationDeploymentRestriction(applicationId: string, options?: any): AxiosPromise<void> {
|
|
14871
|
-
return localVarFp.deleteApplicationDeploymentRestriction(applicationId, options).then((request) => request(axios, basePath));
|
|
14941
|
+
deleteApplicationDeploymentRestriction(applicationId: string, deploymentRestrictionId: string, options?: any): AxiosPromise<void> {
|
|
14942
|
+
return localVarFp.deleteApplicationDeploymentRestriction(applicationId, deploymentRestrictionId, options).then((request) => request(axios, basePath));
|
|
14872
14943
|
},
|
|
14873
14944
|
/**
|
|
14874
14945
|
* Edit an application deployment restriction
|
|
@@ -14919,12 +14990,13 @@ export class ApplicationDeploymentRestrictionApi extends BaseAPI {
|
|
|
14919
14990
|
* Delete an application deployment restriction
|
|
14920
14991
|
* @summary Delete an application deployment restriction
|
|
14921
14992
|
* @param {string} applicationId Application ID
|
|
14993
|
+
* @param {string} deploymentRestrictionId Deployment Restriction ID
|
|
14922
14994
|
* @param {*} [options] Override http request option.
|
|
14923
14995
|
* @throws {RequiredError}
|
|
14924
14996
|
* @memberof ApplicationDeploymentRestrictionApi
|
|
14925
14997
|
*/
|
|
14926
|
-
public deleteApplicationDeploymentRestriction(applicationId: string, options?: AxiosRequestConfig) {
|
|
14927
|
-
return ApplicationDeploymentRestrictionApiFp(this.configuration).deleteApplicationDeploymentRestriction(applicationId, options).then((request) => request(this.axios, this.basePath));
|
|
14998
|
+
public deleteApplicationDeploymentRestriction(applicationId: string, deploymentRestrictionId: string, options?: AxiosRequestConfig) {
|
|
14999
|
+
return ApplicationDeploymentRestrictionApiFp(this.configuration).deleteApplicationDeploymentRestriction(applicationId, deploymentRestrictionId, options).then((request) => request(this.axios, this.basePath));
|
|
14928
15000
|
}
|
|
14929
15001
|
|
|
14930
15002
|
/**
|
package/dist/api.d.ts
CHANGED
|
@@ -79,6 +79,12 @@ export interface AccountInfo {
|
|
|
79
79
|
* @memberof AccountInfo
|
|
80
80
|
*/
|
|
81
81
|
'profile_picture_url'?: string;
|
|
82
|
+
/**
|
|
83
|
+
*
|
|
84
|
+
* @type {string}
|
|
85
|
+
* @memberof AccountInfo
|
|
86
|
+
*/
|
|
87
|
+
'communication_email'?: string;
|
|
82
88
|
}
|
|
83
89
|
/**
|
|
84
90
|
*
|
|
@@ -87,23 +93,11 @@ export interface AccountInfo {
|
|
|
87
93
|
*/
|
|
88
94
|
export interface AccountInfoEditRequest {
|
|
89
95
|
/**
|
|
90
|
-
*
|
|
91
|
-
* @type {string}
|
|
92
|
-
* @memberof AccountInfoEditRequest
|
|
93
|
-
*/
|
|
94
|
-
'first_name'?: string;
|
|
95
|
-
/**
|
|
96
|
-
*
|
|
96
|
+
* The email to be used for official Qovery communications
|
|
97
97
|
* @type {string}
|
|
98
98
|
* @memberof AccountInfoEditRequest
|
|
99
99
|
*/
|
|
100
|
-
'
|
|
101
|
-
/**
|
|
102
|
-
*
|
|
103
|
-
* @type {string}
|
|
104
|
-
* @memberof AccountInfoEditRequest
|
|
105
|
-
*/
|
|
106
|
-
'profile_picture_url'?: string;
|
|
100
|
+
'communication_email'?: string | null;
|
|
107
101
|
}
|
|
108
102
|
/**
|
|
109
103
|
*
|
|
@@ -13562,6 +13556,14 @@ export declare enum WeekdayEnum {
|
|
|
13562
13556
|
* @export
|
|
13563
13557
|
*/
|
|
13564
13558
|
export declare const AccountInfoApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
13559
|
+
/**
|
|
13560
|
+
*
|
|
13561
|
+
* @summary Edit account information
|
|
13562
|
+
* @param {AccountInfoEditRequest} [accountInfoEditRequest]
|
|
13563
|
+
* @param {*} [options] Override http request option.
|
|
13564
|
+
* @throws {RequiredError}
|
|
13565
|
+
*/
|
|
13566
|
+
editAccountInformation: (accountInfoEditRequest?: AccountInfoEditRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
13565
13567
|
/**
|
|
13566
13568
|
*
|
|
13567
13569
|
* @summary Get Account information
|
|
@@ -13575,6 +13577,14 @@ export declare const AccountInfoApiAxiosParamCreator: (configuration?: Configura
|
|
|
13575
13577
|
* @export
|
|
13576
13578
|
*/
|
|
13577
13579
|
export declare const AccountInfoApiFp: (configuration?: Configuration) => {
|
|
13580
|
+
/**
|
|
13581
|
+
*
|
|
13582
|
+
* @summary Edit account information
|
|
13583
|
+
* @param {AccountInfoEditRequest} [accountInfoEditRequest]
|
|
13584
|
+
* @param {*} [options] Override http request option.
|
|
13585
|
+
* @throws {RequiredError}
|
|
13586
|
+
*/
|
|
13587
|
+
editAccountInformation(accountInfoEditRequest?: AccountInfoEditRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AccountInfo>>;
|
|
13578
13588
|
/**
|
|
13579
13589
|
*
|
|
13580
13590
|
* @summary Get Account information
|
|
@@ -13588,6 +13598,14 @@ export declare const AccountInfoApiFp: (configuration?: Configuration) => {
|
|
|
13588
13598
|
* @export
|
|
13589
13599
|
*/
|
|
13590
13600
|
export declare const AccountInfoApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
13601
|
+
/**
|
|
13602
|
+
*
|
|
13603
|
+
* @summary Edit account information
|
|
13604
|
+
* @param {AccountInfoEditRequest} [accountInfoEditRequest]
|
|
13605
|
+
* @param {*} [options] Override http request option.
|
|
13606
|
+
* @throws {RequiredError}
|
|
13607
|
+
*/
|
|
13608
|
+
editAccountInformation(accountInfoEditRequest?: AccountInfoEditRequest, options?: any): AxiosPromise<AccountInfo>;
|
|
13591
13609
|
/**
|
|
13592
13610
|
*
|
|
13593
13611
|
* @summary Get Account information
|
|
@@ -13603,6 +13621,15 @@ export declare const AccountInfoApiFactory: (configuration?: Configuration, base
|
|
|
13603
13621
|
* @extends {BaseAPI}
|
|
13604
13622
|
*/
|
|
13605
13623
|
export declare class AccountInfoApi extends BaseAPI {
|
|
13624
|
+
/**
|
|
13625
|
+
*
|
|
13626
|
+
* @summary Edit account information
|
|
13627
|
+
* @param {AccountInfoEditRequest} [accountInfoEditRequest]
|
|
13628
|
+
* @param {*} [options] Override http request option.
|
|
13629
|
+
* @throws {RequiredError}
|
|
13630
|
+
* @memberof AccountInfoApi
|
|
13631
|
+
*/
|
|
13632
|
+
editAccountInformation(accountInfoEditRequest?: AccountInfoEditRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<AccountInfo>>;
|
|
13606
13633
|
/**
|
|
13607
13634
|
*
|
|
13608
13635
|
* @summary Get Account information
|
|
@@ -14054,10 +14081,11 @@ export declare const ApplicationDeploymentRestrictionApiAxiosParamCreator: (conf
|
|
|
14054
14081
|
* Delete an application deployment restriction
|
|
14055
14082
|
* @summary Delete an application deployment restriction
|
|
14056
14083
|
* @param {string} applicationId Application ID
|
|
14084
|
+
* @param {string} deploymentRestrictionId Deployment Restriction ID
|
|
14057
14085
|
* @param {*} [options] Override http request option.
|
|
14058
14086
|
* @throws {RequiredError}
|
|
14059
14087
|
*/
|
|
14060
|
-
deleteApplicationDeploymentRestriction: (applicationId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
14088
|
+
deleteApplicationDeploymentRestriction: (applicationId: string, deploymentRestrictionId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
14061
14089
|
/**
|
|
14062
14090
|
* Edit an application deployment restriction
|
|
14063
14091
|
* @summary Edit an application deployment restriction
|
|
@@ -14095,10 +14123,11 @@ export declare const ApplicationDeploymentRestrictionApiFp: (configuration?: Con
|
|
|
14095
14123
|
* Delete an application deployment restriction
|
|
14096
14124
|
* @summary Delete an application deployment restriction
|
|
14097
14125
|
* @param {string} applicationId Application ID
|
|
14126
|
+
* @param {string} deploymentRestrictionId Deployment Restriction ID
|
|
14098
14127
|
* @param {*} [options] Override http request option.
|
|
14099
14128
|
* @throws {RequiredError}
|
|
14100
14129
|
*/
|
|
14101
|
-
deleteApplicationDeploymentRestriction(applicationId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
14130
|
+
deleteApplicationDeploymentRestriction(applicationId: string, deploymentRestrictionId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
14102
14131
|
/**
|
|
14103
14132
|
* Edit an application deployment restriction
|
|
14104
14133
|
* @summary Edit an application deployment restriction
|
|
@@ -14136,10 +14165,11 @@ export declare const ApplicationDeploymentRestrictionApiFactory: (configuration?
|
|
|
14136
14165
|
* Delete an application deployment restriction
|
|
14137
14166
|
* @summary Delete an application deployment restriction
|
|
14138
14167
|
* @param {string} applicationId Application ID
|
|
14168
|
+
* @param {string} deploymentRestrictionId Deployment Restriction ID
|
|
14139
14169
|
* @param {*} [options] Override http request option.
|
|
14140
14170
|
* @throws {RequiredError}
|
|
14141
14171
|
*/
|
|
14142
|
-
deleteApplicationDeploymentRestriction(applicationId: string, options?: any): AxiosPromise<void>;
|
|
14172
|
+
deleteApplicationDeploymentRestriction(applicationId: string, deploymentRestrictionId: string, options?: any): AxiosPromise<void>;
|
|
14143
14173
|
/**
|
|
14144
14174
|
* Edit an application deployment restriction
|
|
14145
14175
|
* @summary Edit an application deployment restriction
|
|
@@ -14180,11 +14210,12 @@ export declare class ApplicationDeploymentRestrictionApi extends BaseAPI {
|
|
|
14180
14210
|
* Delete an application deployment restriction
|
|
14181
14211
|
* @summary Delete an application deployment restriction
|
|
14182
14212
|
* @param {string} applicationId Application ID
|
|
14213
|
+
* @param {string} deploymentRestrictionId Deployment Restriction ID
|
|
14183
14214
|
* @param {*} [options] Override http request option.
|
|
14184
14215
|
* @throws {RequiredError}
|
|
14185
14216
|
* @memberof ApplicationDeploymentRestrictionApi
|
|
14186
14217
|
*/
|
|
14187
|
-
deleteApplicationDeploymentRestriction(applicationId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void>>;
|
|
14218
|
+
deleteApplicationDeploymentRestriction(applicationId: string, deploymentRestrictionId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void>>;
|
|
14188
14219
|
/**
|
|
14189
14220
|
* Edit an application deployment restriction
|
|
14190
14221
|
* @summary Edit an application deployment restriction
|
package/dist/api.js
CHANGED
|
@@ -696,6 +696,37 @@ var WeekdayEnum;
|
|
|
696
696
|
*/
|
|
697
697
|
const AccountInfoApiAxiosParamCreator = function (configuration) {
|
|
698
698
|
return {
|
|
699
|
+
/**
|
|
700
|
+
*
|
|
701
|
+
* @summary Edit account information
|
|
702
|
+
* @param {AccountInfoEditRequest} [accountInfoEditRequest]
|
|
703
|
+
* @param {*} [options] Override http request option.
|
|
704
|
+
* @throws {RequiredError}
|
|
705
|
+
*/
|
|
706
|
+
editAccountInformation: (accountInfoEditRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
707
|
+
const localVarPath = `/account`;
|
|
708
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
709
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
710
|
+
let baseOptions;
|
|
711
|
+
if (configuration) {
|
|
712
|
+
baseOptions = configuration.baseOptions;
|
|
713
|
+
}
|
|
714
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
715
|
+
const localVarHeaderParameter = {};
|
|
716
|
+
const localVarQueryParameter = {};
|
|
717
|
+
// authentication bearerAuth required
|
|
718
|
+
// http bearer authentication required
|
|
719
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
720
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
721
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
722
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
723
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
724
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(accountInfoEditRequest, localVarRequestOptions, configuration);
|
|
725
|
+
return {
|
|
726
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
727
|
+
options: localVarRequestOptions,
|
|
728
|
+
};
|
|
729
|
+
}),
|
|
699
730
|
/**
|
|
700
731
|
*
|
|
701
732
|
* @summary Get Account information
|
|
@@ -734,6 +765,19 @@ exports.AccountInfoApiAxiosParamCreator = AccountInfoApiAxiosParamCreator;
|
|
|
734
765
|
const AccountInfoApiFp = function (configuration) {
|
|
735
766
|
const localVarAxiosParamCreator = (0, exports.AccountInfoApiAxiosParamCreator)(configuration);
|
|
736
767
|
return {
|
|
768
|
+
/**
|
|
769
|
+
*
|
|
770
|
+
* @summary Edit account information
|
|
771
|
+
* @param {AccountInfoEditRequest} [accountInfoEditRequest]
|
|
772
|
+
* @param {*} [options] Override http request option.
|
|
773
|
+
* @throws {RequiredError}
|
|
774
|
+
*/
|
|
775
|
+
editAccountInformation(accountInfoEditRequest, options) {
|
|
776
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
777
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.editAccountInformation(accountInfoEditRequest, options);
|
|
778
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
779
|
+
});
|
|
780
|
+
},
|
|
737
781
|
/**
|
|
738
782
|
*
|
|
739
783
|
* @summary Get Account information
|
|
@@ -756,6 +800,16 @@ exports.AccountInfoApiFp = AccountInfoApiFp;
|
|
|
756
800
|
const AccountInfoApiFactory = function (configuration, basePath, axios) {
|
|
757
801
|
const localVarFp = (0, exports.AccountInfoApiFp)(configuration);
|
|
758
802
|
return {
|
|
803
|
+
/**
|
|
804
|
+
*
|
|
805
|
+
* @summary Edit account information
|
|
806
|
+
* @param {AccountInfoEditRequest} [accountInfoEditRequest]
|
|
807
|
+
* @param {*} [options] Override http request option.
|
|
808
|
+
* @throws {RequiredError}
|
|
809
|
+
*/
|
|
810
|
+
editAccountInformation(accountInfoEditRequest, options) {
|
|
811
|
+
return localVarFp.editAccountInformation(accountInfoEditRequest, options).then((request) => request(axios, basePath));
|
|
812
|
+
},
|
|
759
813
|
/**
|
|
760
814
|
*
|
|
761
815
|
* @summary Get Account information
|
|
@@ -775,6 +829,17 @@ exports.AccountInfoApiFactory = AccountInfoApiFactory;
|
|
|
775
829
|
* @extends {BaseAPI}
|
|
776
830
|
*/
|
|
777
831
|
class AccountInfoApi extends base_1.BaseAPI {
|
|
832
|
+
/**
|
|
833
|
+
*
|
|
834
|
+
* @summary Edit account information
|
|
835
|
+
* @param {AccountInfoEditRequest} [accountInfoEditRequest]
|
|
836
|
+
* @param {*} [options] Override http request option.
|
|
837
|
+
* @throws {RequiredError}
|
|
838
|
+
* @memberof AccountInfoApi
|
|
839
|
+
*/
|
|
840
|
+
editAccountInformation(accountInfoEditRequest, options) {
|
|
841
|
+
return (0, exports.AccountInfoApiFp)(this.configuration).editAccountInformation(accountInfoEditRequest, options).then((request) => request(this.axios, this.basePath));
|
|
842
|
+
}
|
|
778
843
|
/**
|
|
779
844
|
*
|
|
780
845
|
* @summary Get Account information
|
|
@@ -1631,14 +1696,18 @@ const ApplicationDeploymentRestrictionApiAxiosParamCreator = function (configura
|
|
|
1631
1696
|
* Delete an application deployment restriction
|
|
1632
1697
|
* @summary Delete an application deployment restriction
|
|
1633
1698
|
* @param {string} applicationId Application ID
|
|
1699
|
+
* @param {string} deploymentRestrictionId Deployment Restriction ID
|
|
1634
1700
|
* @param {*} [options] Override http request option.
|
|
1635
1701
|
* @throws {RequiredError}
|
|
1636
1702
|
*/
|
|
1637
|
-
deleteApplicationDeploymentRestriction: (applicationId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
1703
|
+
deleteApplicationDeploymentRestriction: (applicationId, deploymentRestrictionId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
1638
1704
|
// verify required parameter 'applicationId' is not null or undefined
|
|
1639
1705
|
(0, common_1.assertParamExists)('deleteApplicationDeploymentRestriction', 'applicationId', applicationId);
|
|
1706
|
+
// verify required parameter 'deploymentRestrictionId' is not null or undefined
|
|
1707
|
+
(0, common_1.assertParamExists)('deleteApplicationDeploymentRestriction', 'deploymentRestrictionId', deploymentRestrictionId);
|
|
1640
1708
|
const localVarPath = `/application/{applicationId}/deploymentRestriction/{deploymentRestrictionId}`
|
|
1641
|
-
.replace(`{${"applicationId"}}`, encodeURIComponent(String(applicationId)))
|
|
1709
|
+
.replace(`{${"applicationId"}}`, encodeURIComponent(String(applicationId)))
|
|
1710
|
+
.replace(`{${"deploymentRestrictionId"}}`, encodeURIComponent(String(deploymentRestrictionId)));
|
|
1642
1711
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1643
1712
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1644
1713
|
let baseOptions;
|
|
@@ -1758,12 +1827,13 @@ const ApplicationDeploymentRestrictionApiFp = function (configuration) {
|
|
|
1758
1827
|
* Delete an application deployment restriction
|
|
1759
1828
|
* @summary Delete an application deployment restriction
|
|
1760
1829
|
* @param {string} applicationId Application ID
|
|
1830
|
+
* @param {string} deploymentRestrictionId Deployment Restriction ID
|
|
1761
1831
|
* @param {*} [options] Override http request option.
|
|
1762
1832
|
* @throws {RequiredError}
|
|
1763
1833
|
*/
|
|
1764
|
-
deleteApplicationDeploymentRestriction(applicationId, options) {
|
|
1834
|
+
deleteApplicationDeploymentRestriction(applicationId, deploymentRestrictionId, options) {
|
|
1765
1835
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1766
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteApplicationDeploymentRestriction(applicationId, options);
|
|
1836
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteApplicationDeploymentRestriction(applicationId, deploymentRestrictionId, options);
|
|
1767
1837
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
1768
1838
|
});
|
|
1769
1839
|
},
|
|
@@ -1820,11 +1890,12 @@ const ApplicationDeploymentRestrictionApiFactory = function (configuration, base
|
|
|
1820
1890
|
* Delete an application deployment restriction
|
|
1821
1891
|
* @summary Delete an application deployment restriction
|
|
1822
1892
|
* @param {string} applicationId Application ID
|
|
1893
|
+
* @param {string} deploymentRestrictionId Deployment Restriction ID
|
|
1823
1894
|
* @param {*} [options] Override http request option.
|
|
1824
1895
|
* @throws {RequiredError}
|
|
1825
1896
|
*/
|
|
1826
|
-
deleteApplicationDeploymentRestriction(applicationId, options) {
|
|
1827
|
-
return localVarFp.deleteApplicationDeploymentRestriction(applicationId, options).then((request) => request(axios, basePath));
|
|
1897
|
+
deleteApplicationDeploymentRestriction(applicationId, deploymentRestrictionId, options) {
|
|
1898
|
+
return localVarFp.deleteApplicationDeploymentRestriction(applicationId, deploymentRestrictionId, options).then((request) => request(axios, basePath));
|
|
1828
1899
|
},
|
|
1829
1900
|
/**
|
|
1830
1901
|
* Edit an application deployment restriction
|
|
@@ -1874,12 +1945,13 @@ class ApplicationDeploymentRestrictionApi extends base_1.BaseAPI {
|
|
|
1874
1945
|
* Delete an application deployment restriction
|
|
1875
1946
|
* @summary Delete an application deployment restriction
|
|
1876
1947
|
* @param {string} applicationId Application ID
|
|
1948
|
+
* @param {string} deploymentRestrictionId Deployment Restriction ID
|
|
1877
1949
|
* @param {*} [options] Override http request option.
|
|
1878
1950
|
* @throws {RequiredError}
|
|
1879
1951
|
* @memberof ApplicationDeploymentRestrictionApi
|
|
1880
1952
|
*/
|
|
1881
|
-
deleteApplicationDeploymentRestriction(applicationId, options) {
|
|
1882
|
-
return (0, exports.ApplicationDeploymentRestrictionApiFp)(this.configuration).deleteApplicationDeploymentRestriction(applicationId, options).then((request) => request(this.axios, this.basePath));
|
|
1953
|
+
deleteApplicationDeploymentRestriction(applicationId, deploymentRestrictionId, options) {
|
|
1954
|
+
return (0, exports.ApplicationDeploymentRestrictionApiFp)(this.configuration).deleteApplicationDeploymentRestriction(applicationId, deploymentRestrictionId, options).then((request) => request(this.axios, this.basePath));
|
|
1883
1955
|
}
|
|
1884
1956
|
/**
|
|
1885
1957
|
* Edit an application deployment restriction
|