qovery-typescript-axios 1.1.21 → 1.1.23
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 +36 -16
- package/dist/api.d.ts +22 -8
- package/dist/api.js +30 -16
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -8453,6 +8453,12 @@ export interface OrganizationCurrentCostAllOf {
|
|
|
8453
8453
|
* @interface OrganizationCustomRole
|
|
8454
8454
|
*/
|
|
8455
8455
|
export interface OrganizationCustomRole {
|
|
8456
|
+
/**
|
|
8457
|
+
*
|
|
8458
|
+
* @type {string}
|
|
8459
|
+
* @memberof OrganizationCustomRole
|
|
8460
|
+
*/
|
|
8461
|
+
'id'?: string;
|
|
8456
8462
|
/**
|
|
8457
8463
|
*
|
|
8458
8464
|
* @type {string}
|
|
@@ -33727,14 +33733,18 @@ export const OrganizationCustomRoleApiAxiosParamCreator = function (configuratio
|
|
|
33727
33733
|
* Delete organization custom role
|
|
33728
33734
|
* @summary Delete organization custom role
|
|
33729
33735
|
* @param {string} organizationId Organization ID
|
|
33736
|
+
* @param {string} customRoleId Custom Role ID
|
|
33730
33737
|
* @param {*} [options] Override http request option.
|
|
33731
33738
|
* @throws {RequiredError}
|
|
33732
33739
|
*/
|
|
33733
|
-
deleteOrganizationCustomRole: async (organizationId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
33740
|
+
deleteOrganizationCustomRole: async (organizationId: string, customRoleId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
33734
33741
|
// verify required parameter 'organizationId' is not null or undefined
|
|
33735
33742
|
assertParamExists('deleteOrganizationCustomRole', 'organizationId', organizationId)
|
|
33743
|
+
// verify required parameter 'customRoleId' is not null or undefined
|
|
33744
|
+
assertParamExists('deleteOrganizationCustomRole', 'customRoleId', customRoleId)
|
|
33736
33745
|
const localVarPath = `/organization/{organizationId}/customRole/{customRoleId}`
|
|
33737
|
-
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
|
|
33746
|
+
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
|
|
33747
|
+
.replace(`{${"customRoleId"}}`, encodeURIComponent(String(customRoleId)));
|
|
33738
33748
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
33739
33749
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
33740
33750
|
let baseOptions;
|
|
@@ -33765,15 +33775,19 @@ export const OrganizationCustomRoleApiAxiosParamCreator = function (configuratio
|
|
|
33765
33775
|
* Edit an organization custom role
|
|
33766
33776
|
* @summary Edit an organization custom role
|
|
33767
33777
|
* @param {string} organizationId Organization ID
|
|
33778
|
+
* @param {string} customRoleId Custom Role ID
|
|
33768
33779
|
* @param {OrganizationCustomRoleUpdateRequest} [organizationCustomRoleUpdateRequest]
|
|
33769
33780
|
* @param {*} [options] Override http request option.
|
|
33770
33781
|
* @throws {RequiredError}
|
|
33771
33782
|
*/
|
|
33772
|
-
editOrganizationCustomRole: async (organizationId: string, organizationCustomRoleUpdateRequest?: OrganizationCustomRoleUpdateRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
33783
|
+
editOrganizationCustomRole: async (organizationId: string, customRoleId: string, organizationCustomRoleUpdateRequest?: OrganizationCustomRoleUpdateRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
33773
33784
|
// verify required parameter 'organizationId' is not null or undefined
|
|
33774
33785
|
assertParamExists('editOrganizationCustomRole', 'organizationId', organizationId)
|
|
33786
|
+
// verify required parameter 'customRoleId' is not null or undefined
|
|
33787
|
+
assertParamExists('editOrganizationCustomRole', 'customRoleId', customRoleId)
|
|
33775
33788
|
const localVarPath = `/organization/{organizationId}/customRole/{customRoleId}`
|
|
33776
|
-
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
|
|
33789
|
+
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
|
|
33790
|
+
.replace(`{${"customRoleId"}}`, encodeURIComponent(String(customRoleId)));
|
|
33777
33791
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
33778
33792
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
33779
33793
|
let baseOptions;
|
|
@@ -33909,23 +33923,25 @@ export const OrganizationCustomRoleApiFp = function(configuration?: Configuratio
|
|
|
33909
33923
|
* Delete organization custom role
|
|
33910
33924
|
* @summary Delete organization custom role
|
|
33911
33925
|
* @param {string} organizationId Organization ID
|
|
33926
|
+
* @param {string} customRoleId Custom Role ID
|
|
33912
33927
|
* @param {*} [options] Override http request option.
|
|
33913
33928
|
* @throws {RequiredError}
|
|
33914
33929
|
*/
|
|
33915
|
-
async deleteOrganizationCustomRole(organizationId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
33916
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteOrganizationCustomRole(organizationId, options);
|
|
33930
|
+
async deleteOrganizationCustomRole(organizationId: string, customRoleId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
33931
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteOrganizationCustomRole(organizationId, customRoleId, options);
|
|
33917
33932
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
33918
33933
|
},
|
|
33919
33934
|
/**
|
|
33920
33935
|
* Edit an organization custom role
|
|
33921
33936
|
* @summary Edit an organization custom role
|
|
33922
33937
|
* @param {string} organizationId Organization ID
|
|
33938
|
+
* @param {string} customRoleId Custom Role ID
|
|
33923
33939
|
* @param {OrganizationCustomRoleUpdateRequest} [organizationCustomRoleUpdateRequest]
|
|
33924
33940
|
* @param {*} [options] Override http request option.
|
|
33925
33941
|
* @throws {RequiredError}
|
|
33926
33942
|
*/
|
|
33927
|
-
async editOrganizationCustomRole(organizationId: string, organizationCustomRoleUpdateRequest?: OrganizationCustomRoleUpdateRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrganizationCustomRole>> {
|
|
33928
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.editOrganizationCustomRole(organizationId, organizationCustomRoleUpdateRequest, options);
|
|
33943
|
+
async editOrganizationCustomRole(organizationId: string, customRoleId: string, organizationCustomRoleUpdateRequest?: OrganizationCustomRoleUpdateRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrganizationCustomRole>> {
|
|
33944
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.editOrganizationCustomRole(organizationId, customRoleId, organizationCustomRoleUpdateRequest, options);
|
|
33929
33945
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
33930
33946
|
},
|
|
33931
33947
|
/**
|
|
@@ -33976,22 +33992,24 @@ export const OrganizationCustomRoleApiFactory = function (configuration?: Config
|
|
|
33976
33992
|
* Delete organization custom role
|
|
33977
33993
|
* @summary Delete organization custom role
|
|
33978
33994
|
* @param {string} organizationId Organization ID
|
|
33995
|
+
* @param {string} customRoleId Custom Role ID
|
|
33979
33996
|
* @param {*} [options] Override http request option.
|
|
33980
33997
|
* @throws {RequiredError}
|
|
33981
33998
|
*/
|
|
33982
|
-
deleteOrganizationCustomRole(organizationId: string, options?: any): AxiosPromise<void> {
|
|
33983
|
-
return localVarFp.deleteOrganizationCustomRole(organizationId, options).then((request) => request(axios, basePath));
|
|
33999
|
+
deleteOrganizationCustomRole(organizationId: string, customRoleId: string, options?: any): AxiosPromise<void> {
|
|
34000
|
+
return localVarFp.deleteOrganizationCustomRole(organizationId, customRoleId, options).then((request) => request(axios, basePath));
|
|
33984
34001
|
},
|
|
33985
34002
|
/**
|
|
33986
34003
|
* Edit an organization custom role
|
|
33987
34004
|
* @summary Edit an organization custom role
|
|
33988
34005
|
* @param {string} organizationId Organization ID
|
|
34006
|
+
* @param {string} customRoleId Custom Role ID
|
|
33989
34007
|
* @param {OrganizationCustomRoleUpdateRequest} [organizationCustomRoleUpdateRequest]
|
|
33990
34008
|
* @param {*} [options] Override http request option.
|
|
33991
34009
|
* @throws {RequiredError}
|
|
33992
34010
|
*/
|
|
33993
|
-
editOrganizationCustomRole(organizationId: string, organizationCustomRoleUpdateRequest?: OrganizationCustomRoleUpdateRequest, options?: any): AxiosPromise<OrganizationCustomRole> {
|
|
33994
|
-
return localVarFp.editOrganizationCustomRole(organizationId, organizationCustomRoleUpdateRequest, options).then((request) => request(axios, basePath));
|
|
34011
|
+
editOrganizationCustomRole(organizationId: string, customRoleId: string, organizationCustomRoleUpdateRequest?: OrganizationCustomRoleUpdateRequest, options?: any): AxiosPromise<OrganizationCustomRole> {
|
|
34012
|
+
return localVarFp.editOrganizationCustomRole(organizationId, customRoleId, organizationCustomRoleUpdateRequest, options).then((request) => request(axios, basePath));
|
|
33995
34013
|
},
|
|
33996
34014
|
/**
|
|
33997
34015
|
* Get an organization custom role
|
|
@@ -34041,25 +34059,27 @@ export class OrganizationCustomRoleApi extends BaseAPI {
|
|
|
34041
34059
|
* Delete organization custom role
|
|
34042
34060
|
* @summary Delete organization custom role
|
|
34043
34061
|
* @param {string} organizationId Organization ID
|
|
34062
|
+
* @param {string} customRoleId Custom Role ID
|
|
34044
34063
|
* @param {*} [options] Override http request option.
|
|
34045
34064
|
* @throws {RequiredError}
|
|
34046
34065
|
* @memberof OrganizationCustomRoleApi
|
|
34047
34066
|
*/
|
|
34048
|
-
public deleteOrganizationCustomRole(organizationId: string, options?: AxiosRequestConfig) {
|
|
34049
|
-
return OrganizationCustomRoleApiFp(this.configuration).deleteOrganizationCustomRole(organizationId, options).then((request) => request(this.axios, this.basePath));
|
|
34067
|
+
public deleteOrganizationCustomRole(organizationId: string, customRoleId: string, options?: AxiosRequestConfig) {
|
|
34068
|
+
return OrganizationCustomRoleApiFp(this.configuration).deleteOrganizationCustomRole(organizationId, customRoleId, options).then((request) => request(this.axios, this.basePath));
|
|
34050
34069
|
}
|
|
34051
34070
|
|
|
34052
34071
|
/**
|
|
34053
34072
|
* Edit an organization custom role
|
|
34054
34073
|
* @summary Edit an organization custom role
|
|
34055
34074
|
* @param {string} organizationId Organization ID
|
|
34075
|
+
* @param {string} customRoleId Custom Role ID
|
|
34056
34076
|
* @param {OrganizationCustomRoleUpdateRequest} [organizationCustomRoleUpdateRequest]
|
|
34057
34077
|
* @param {*} [options] Override http request option.
|
|
34058
34078
|
* @throws {RequiredError}
|
|
34059
34079
|
* @memberof OrganizationCustomRoleApi
|
|
34060
34080
|
*/
|
|
34061
|
-
public editOrganizationCustomRole(organizationId: string, organizationCustomRoleUpdateRequest?: OrganizationCustomRoleUpdateRequest, options?: AxiosRequestConfig) {
|
|
34062
|
-
return OrganizationCustomRoleApiFp(this.configuration).editOrganizationCustomRole(organizationId, organizationCustomRoleUpdateRequest, options).then((request) => request(this.axios, this.basePath));
|
|
34081
|
+
public editOrganizationCustomRole(organizationId: string, customRoleId: string, organizationCustomRoleUpdateRequest?: OrganizationCustomRoleUpdateRequest, options?: AxiosRequestConfig) {
|
|
34082
|
+
return OrganizationCustomRoleApiFp(this.configuration).editOrganizationCustomRole(organizationId, customRoleId, organizationCustomRoleUpdateRequest, options).then((request) => request(this.axios, this.basePath));
|
|
34063
34083
|
}
|
|
34064
34084
|
|
|
34065
34085
|
/**
|
package/dist/api.d.ts
CHANGED
|
@@ -8390,6 +8390,12 @@ export interface OrganizationCurrentCostAllOf {
|
|
|
8390
8390
|
* @interface OrganizationCustomRole
|
|
8391
8391
|
*/
|
|
8392
8392
|
export interface OrganizationCustomRole {
|
|
8393
|
+
/**
|
|
8394
|
+
*
|
|
8395
|
+
* @type {string}
|
|
8396
|
+
* @memberof OrganizationCustomRole
|
|
8397
|
+
*/
|
|
8398
|
+
'id'?: string;
|
|
8393
8399
|
/**
|
|
8394
8400
|
*
|
|
8395
8401
|
* @type {string}
|
|
@@ -22053,19 +22059,21 @@ export declare const OrganizationCustomRoleApiAxiosParamCreator: (configuration?
|
|
|
22053
22059
|
* Delete organization custom role
|
|
22054
22060
|
* @summary Delete organization custom role
|
|
22055
22061
|
* @param {string} organizationId Organization ID
|
|
22062
|
+
* @param {string} customRoleId Custom Role ID
|
|
22056
22063
|
* @param {*} [options] Override http request option.
|
|
22057
22064
|
* @throws {RequiredError}
|
|
22058
22065
|
*/
|
|
22059
|
-
deleteOrganizationCustomRole: (organizationId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
22066
|
+
deleteOrganizationCustomRole: (organizationId: string, customRoleId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
22060
22067
|
/**
|
|
22061
22068
|
* Edit an organization custom role
|
|
22062
22069
|
* @summary Edit an organization custom role
|
|
22063
22070
|
* @param {string} organizationId Organization ID
|
|
22071
|
+
* @param {string} customRoleId Custom Role ID
|
|
22064
22072
|
* @param {OrganizationCustomRoleUpdateRequest} [organizationCustomRoleUpdateRequest]
|
|
22065
22073
|
* @param {*} [options] Override http request option.
|
|
22066
22074
|
* @throws {RequiredError}
|
|
22067
22075
|
*/
|
|
22068
|
-
editOrganizationCustomRole: (organizationId: string, organizationCustomRoleUpdateRequest?: OrganizationCustomRoleUpdateRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
22076
|
+
editOrganizationCustomRole: (organizationId: string, customRoleId: string, organizationCustomRoleUpdateRequest?: OrganizationCustomRoleUpdateRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
22069
22077
|
/**
|
|
22070
22078
|
* Get an organization custom role
|
|
22071
22079
|
* @summary Get an organization custom role
|
|
@@ -22102,19 +22110,21 @@ export declare const OrganizationCustomRoleApiFp: (configuration?: Configuration
|
|
|
22102
22110
|
* Delete organization custom role
|
|
22103
22111
|
* @summary Delete organization custom role
|
|
22104
22112
|
* @param {string} organizationId Organization ID
|
|
22113
|
+
* @param {string} customRoleId Custom Role ID
|
|
22105
22114
|
* @param {*} [options] Override http request option.
|
|
22106
22115
|
* @throws {RequiredError}
|
|
22107
22116
|
*/
|
|
22108
|
-
deleteOrganizationCustomRole(organizationId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
22117
|
+
deleteOrganizationCustomRole(organizationId: string, customRoleId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
22109
22118
|
/**
|
|
22110
22119
|
* Edit an organization custom role
|
|
22111
22120
|
* @summary Edit an organization custom role
|
|
22112
22121
|
* @param {string} organizationId Organization ID
|
|
22122
|
+
* @param {string} customRoleId Custom Role ID
|
|
22113
22123
|
* @param {OrganizationCustomRoleUpdateRequest} [organizationCustomRoleUpdateRequest]
|
|
22114
22124
|
* @param {*} [options] Override http request option.
|
|
22115
22125
|
* @throws {RequiredError}
|
|
22116
22126
|
*/
|
|
22117
|
-
editOrganizationCustomRole(organizationId: string, organizationCustomRoleUpdateRequest?: OrganizationCustomRoleUpdateRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrganizationCustomRole>>;
|
|
22127
|
+
editOrganizationCustomRole(organizationId: string, customRoleId: string, organizationCustomRoleUpdateRequest?: OrganizationCustomRoleUpdateRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrganizationCustomRole>>;
|
|
22118
22128
|
/**
|
|
22119
22129
|
* Get an organization custom role
|
|
22120
22130
|
* @summary Get an organization custom role
|
|
@@ -22151,19 +22161,21 @@ export declare const OrganizationCustomRoleApiFactory: (configuration?: Configur
|
|
|
22151
22161
|
* Delete organization custom role
|
|
22152
22162
|
* @summary Delete organization custom role
|
|
22153
22163
|
* @param {string} organizationId Organization ID
|
|
22164
|
+
* @param {string} customRoleId Custom Role ID
|
|
22154
22165
|
* @param {*} [options] Override http request option.
|
|
22155
22166
|
* @throws {RequiredError}
|
|
22156
22167
|
*/
|
|
22157
|
-
deleteOrganizationCustomRole(organizationId: string, options?: any): AxiosPromise<void>;
|
|
22168
|
+
deleteOrganizationCustomRole(organizationId: string, customRoleId: string, options?: any): AxiosPromise<void>;
|
|
22158
22169
|
/**
|
|
22159
22170
|
* Edit an organization custom role
|
|
22160
22171
|
* @summary Edit an organization custom role
|
|
22161
22172
|
* @param {string} organizationId Organization ID
|
|
22173
|
+
* @param {string} customRoleId Custom Role ID
|
|
22162
22174
|
* @param {OrganizationCustomRoleUpdateRequest} [organizationCustomRoleUpdateRequest]
|
|
22163
22175
|
* @param {*} [options] Override http request option.
|
|
22164
22176
|
* @throws {RequiredError}
|
|
22165
22177
|
*/
|
|
22166
|
-
editOrganizationCustomRole(organizationId: string, organizationCustomRoleUpdateRequest?: OrganizationCustomRoleUpdateRequest, options?: any): AxiosPromise<OrganizationCustomRole>;
|
|
22178
|
+
editOrganizationCustomRole(organizationId: string, customRoleId: string, organizationCustomRoleUpdateRequest?: OrganizationCustomRoleUpdateRequest, options?: any): AxiosPromise<OrganizationCustomRole>;
|
|
22167
22179
|
/**
|
|
22168
22180
|
* Get an organization custom role
|
|
22169
22181
|
* @summary Get an organization custom role
|
|
@@ -22203,21 +22215,23 @@ export declare class OrganizationCustomRoleApi extends BaseAPI {
|
|
|
22203
22215
|
* Delete organization custom role
|
|
22204
22216
|
* @summary Delete organization custom role
|
|
22205
22217
|
* @param {string} organizationId Organization ID
|
|
22218
|
+
* @param {string} customRoleId Custom Role ID
|
|
22206
22219
|
* @param {*} [options] Override http request option.
|
|
22207
22220
|
* @throws {RequiredError}
|
|
22208
22221
|
* @memberof OrganizationCustomRoleApi
|
|
22209
22222
|
*/
|
|
22210
|
-
deleteOrganizationCustomRole(organizationId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void>>;
|
|
22223
|
+
deleteOrganizationCustomRole(organizationId: string, customRoleId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void>>;
|
|
22211
22224
|
/**
|
|
22212
22225
|
* Edit an organization custom role
|
|
22213
22226
|
* @summary Edit an organization custom role
|
|
22214
22227
|
* @param {string} organizationId Organization ID
|
|
22228
|
+
* @param {string} customRoleId Custom Role ID
|
|
22215
22229
|
* @param {OrganizationCustomRoleUpdateRequest} [organizationCustomRoleUpdateRequest]
|
|
22216
22230
|
* @param {*} [options] Override http request option.
|
|
22217
22231
|
* @throws {RequiredError}
|
|
22218
22232
|
* @memberof OrganizationCustomRoleApi
|
|
22219
22233
|
*/
|
|
22220
|
-
editOrganizationCustomRole(organizationId: string, organizationCustomRoleUpdateRequest?: OrganizationCustomRoleUpdateRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<OrganizationCustomRole>>;
|
|
22234
|
+
editOrganizationCustomRole(organizationId: string, customRoleId: string, organizationCustomRoleUpdateRequest?: OrganizationCustomRoleUpdateRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<OrganizationCustomRole>>;
|
|
22221
22235
|
/**
|
|
22222
22236
|
* Get an organization custom role
|
|
22223
22237
|
* @summary Get an organization custom role
|
package/dist/api.js
CHANGED
|
@@ -21777,14 +21777,18 @@ const OrganizationCustomRoleApiAxiosParamCreator = function (configuration) {
|
|
|
21777
21777
|
* Delete organization custom role
|
|
21778
21778
|
* @summary Delete organization custom role
|
|
21779
21779
|
* @param {string} organizationId Organization ID
|
|
21780
|
+
* @param {string} customRoleId Custom Role ID
|
|
21780
21781
|
* @param {*} [options] Override http request option.
|
|
21781
21782
|
* @throws {RequiredError}
|
|
21782
21783
|
*/
|
|
21783
|
-
deleteOrganizationCustomRole: (organizationId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
21784
|
+
deleteOrganizationCustomRole: (organizationId, customRoleId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
21784
21785
|
// verify required parameter 'organizationId' is not null or undefined
|
|
21785
21786
|
(0, common_1.assertParamExists)('deleteOrganizationCustomRole', 'organizationId', organizationId);
|
|
21787
|
+
// verify required parameter 'customRoleId' is not null or undefined
|
|
21788
|
+
(0, common_1.assertParamExists)('deleteOrganizationCustomRole', 'customRoleId', customRoleId);
|
|
21786
21789
|
const localVarPath = `/organization/{organizationId}/customRole/{customRoleId}`
|
|
21787
|
-
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
|
|
21790
|
+
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
|
|
21791
|
+
.replace(`{${"customRoleId"}}`, encodeURIComponent(String(customRoleId)));
|
|
21788
21792
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
21789
21793
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
21790
21794
|
let baseOptions;
|
|
@@ -21809,15 +21813,19 @@ const OrganizationCustomRoleApiAxiosParamCreator = function (configuration) {
|
|
|
21809
21813
|
* Edit an organization custom role
|
|
21810
21814
|
* @summary Edit an organization custom role
|
|
21811
21815
|
* @param {string} organizationId Organization ID
|
|
21816
|
+
* @param {string} customRoleId Custom Role ID
|
|
21812
21817
|
* @param {OrganizationCustomRoleUpdateRequest} [organizationCustomRoleUpdateRequest]
|
|
21813
21818
|
* @param {*} [options] Override http request option.
|
|
21814
21819
|
* @throws {RequiredError}
|
|
21815
21820
|
*/
|
|
21816
|
-
editOrganizationCustomRole: (organizationId, organizationCustomRoleUpdateRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
21821
|
+
editOrganizationCustomRole: (organizationId, customRoleId, organizationCustomRoleUpdateRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
21817
21822
|
// verify required parameter 'organizationId' is not null or undefined
|
|
21818
21823
|
(0, common_1.assertParamExists)('editOrganizationCustomRole', 'organizationId', organizationId);
|
|
21824
|
+
// verify required parameter 'customRoleId' is not null or undefined
|
|
21825
|
+
(0, common_1.assertParamExists)('editOrganizationCustomRole', 'customRoleId', customRoleId);
|
|
21819
21826
|
const localVarPath = `/organization/{organizationId}/customRole/{customRoleId}`
|
|
21820
|
-
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
|
|
21827
|
+
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
|
|
21828
|
+
.replace(`{${"customRoleId"}}`, encodeURIComponent(String(customRoleId)));
|
|
21821
21829
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
21822
21830
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
21823
21831
|
let baseOptions;
|
|
@@ -21936,12 +21944,13 @@ const OrganizationCustomRoleApiFp = function (configuration) {
|
|
|
21936
21944
|
* Delete organization custom role
|
|
21937
21945
|
* @summary Delete organization custom role
|
|
21938
21946
|
* @param {string} organizationId Organization ID
|
|
21947
|
+
* @param {string} customRoleId Custom Role ID
|
|
21939
21948
|
* @param {*} [options] Override http request option.
|
|
21940
21949
|
* @throws {RequiredError}
|
|
21941
21950
|
*/
|
|
21942
|
-
deleteOrganizationCustomRole(organizationId, options) {
|
|
21951
|
+
deleteOrganizationCustomRole(organizationId, customRoleId, options) {
|
|
21943
21952
|
return __awaiter(this, void 0, void 0, function* () {
|
|
21944
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteOrganizationCustomRole(organizationId, options);
|
|
21953
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteOrganizationCustomRole(organizationId, customRoleId, options);
|
|
21945
21954
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
21946
21955
|
});
|
|
21947
21956
|
},
|
|
@@ -21949,13 +21958,14 @@ const OrganizationCustomRoleApiFp = function (configuration) {
|
|
|
21949
21958
|
* Edit an organization custom role
|
|
21950
21959
|
* @summary Edit an organization custom role
|
|
21951
21960
|
* @param {string} organizationId Organization ID
|
|
21961
|
+
* @param {string} customRoleId Custom Role ID
|
|
21952
21962
|
* @param {OrganizationCustomRoleUpdateRequest} [organizationCustomRoleUpdateRequest]
|
|
21953
21963
|
* @param {*} [options] Override http request option.
|
|
21954
21964
|
* @throws {RequiredError}
|
|
21955
21965
|
*/
|
|
21956
|
-
editOrganizationCustomRole(organizationId, organizationCustomRoleUpdateRequest, options) {
|
|
21966
|
+
editOrganizationCustomRole(organizationId, customRoleId, organizationCustomRoleUpdateRequest, options) {
|
|
21957
21967
|
return __awaiter(this, void 0, void 0, function* () {
|
|
21958
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.editOrganizationCustomRole(organizationId, organizationCustomRoleUpdateRequest, options);
|
|
21968
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.editOrganizationCustomRole(organizationId, customRoleId, organizationCustomRoleUpdateRequest, options);
|
|
21959
21969
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
21960
21970
|
});
|
|
21961
21971
|
},
|
|
@@ -22011,22 +22021,24 @@ const OrganizationCustomRoleApiFactory = function (configuration, basePath, axio
|
|
|
22011
22021
|
* Delete organization custom role
|
|
22012
22022
|
* @summary Delete organization custom role
|
|
22013
22023
|
* @param {string} organizationId Organization ID
|
|
22024
|
+
* @param {string} customRoleId Custom Role ID
|
|
22014
22025
|
* @param {*} [options] Override http request option.
|
|
22015
22026
|
* @throws {RequiredError}
|
|
22016
22027
|
*/
|
|
22017
|
-
deleteOrganizationCustomRole(organizationId, options) {
|
|
22018
|
-
return localVarFp.deleteOrganizationCustomRole(organizationId, options).then((request) => request(axios, basePath));
|
|
22028
|
+
deleteOrganizationCustomRole(organizationId, customRoleId, options) {
|
|
22029
|
+
return localVarFp.deleteOrganizationCustomRole(organizationId, customRoleId, options).then((request) => request(axios, basePath));
|
|
22019
22030
|
},
|
|
22020
22031
|
/**
|
|
22021
22032
|
* Edit an organization custom role
|
|
22022
22033
|
* @summary Edit an organization custom role
|
|
22023
22034
|
* @param {string} organizationId Organization ID
|
|
22035
|
+
* @param {string} customRoleId Custom Role ID
|
|
22024
22036
|
* @param {OrganizationCustomRoleUpdateRequest} [organizationCustomRoleUpdateRequest]
|
|
22025
22037
|
* @param {*} [options] Override http request option.
|
|
22026
22038
|
* @throws {RequiredError}
|
|
22027
22039
|
*/
|
|
22028
|
-
editOrganizationCustomRole(organizationId, organizationCustomRoleUpdateRequest, options) {
|
|
22029
|
-
return localVarFp.editOrganizationCustomRole(organizationId, organizationCustomRoleUpdateRequest, options).then((request) => request(axios, basePath));
|
|
22040
|
+
editOrganizationCustomRole(organizationId, customRoleId, organizationCustomRoleUpdateRequest, options) {
|
|
22041
|
+
return localVarFp.editOrganizationCustomRole(organizationId, customRoleId, organizationCustomRoleUpdateRequest, options).then((request) => request(axios, basePath));
|
|
22030
22042
|
},
|
|
22031
22043
|
/**
|
|
22032
22044
|
* Get an organization custom role
|
|
@@ -22075,24 +22087,26 @@ class OrganizationCustomRoleApi extends base_1.BaseAPI {
|
|
|
22075
22087
|
* Delete organization custom role
|
|
22076
22088
|
* @summary Delete organization custom role
|
|
22077
22089
|
* @param {string} organizationId Organization ID
|
|
22090
|
+
* @param {string} customRoleId Custom Role ID
|
|
22078
22091
|
* @param {*} [options] Override http request option.
|
|
22079
22092
|
* @throws {RequiredError}
|
|
22080
22093
|
* @memberof OrganizationCustomRoleApi
|
|
22081
22094
|
*/
|
|
22082
|
-
deleteOrganizationCustomRole(organizationId, options) {
|
|
22083
|
-
return (0, exports.OrganizationCustomRoleApiFp)(this.configuration).deleteOrganizationCustomRole(organizationId, options).then((request) => request(this.axios, this.basePath));
|
|
22095
|
+
deleteOrganizationCustomRole(organizationId, customRoleId, options) {
|
|
22096
|
+
return (0, exports.OrganizationCustomRoleApiFp)(this.configuration).deleteOrganizationCustomRole(organizationId, customRoleId, options).then((request) => request(this.axios, this.basePath));
|
|
22084
22097
|
}
|
|
22085
22098
|
/**
|
|
22086
22099
|
* Edit an organization custom role
|
|
22087
22100
|
* @summary Edit an organization custom role
|
|
22088
22101
|
* @param {string} organizationId Organization ID
|
|
22102
|
+
* @param {string} customRoleId Custom Role ID
|
|
22089
22103
|
* @param {OrganizationCustomRoleUpdateRequest} [organizationCustomRoleUpdateRequest]
|
|
22090
22104
|
* @param {*} [options] Override http request option.
|
|
22091
22105
|
* @throws {RequiredError}
|
|
22092
22106
|
* @memberof OrganizationCustomRoleApi
|
|
22093
22107
|
*/
|
|
22094
|
-
editOrganizationCustomRole(organizationId, organizationCustomRoleUpdateRequest, options) {
|
|
22095
|
-
return (0, exports.OrganizationCustomRoleApiFp)(this.configuration).editOrganizationCustomRole(organizationId, organizationCustomRoleUpdateRequest, options).then((request) => request(this.axios, this.basePath));
|
|
22108
|
+
editOrganizationCustomRole(organizationId, customRoleId, organizationCustomRoleUpdateRequest, options) {
|
|
22109
|
+
return (0, exports.OrganizationCustomRoleApiFp)(this.configuration).editOrganizationCustomRole(organizationId, customRoleId, organizationCustomRoleUpdateRequest, options).then((request) => request(this.axios, this.basePath));
|
|
22096
22110
|
}
|
|
22097
22111
|
/**
|
|
22098
22112
|
* Get an organization custom role
|