qovery-typescript-axios 1.1.21 → 1.1.22
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 +30 -16
- package/dist/api.d.ts +16 -8
- package/dist/api.js +30 -16
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -33727,14 +33727,18 @@ export const OrganizationCustomRoleApiAxiosParamCreator = function (configuratio
|
|
|
33727
33727
|
* Delete organization custom role
|
|
33728
33728
|
* @summary Delete organization custom role
|
|
33729
33729
|
* @param {string} organizationId Organization ID
|
|
33730
|
+
* @param {string} customRoleId Custom Role ID
|
|
33730
33731
|
* @param {*} [options] Override http request option.
|
|
33731
33732
|
* @throws {RequiredError}
|
|
33732
33733
|
*/
|
|
33733
|
-
deleteOrganizationCustomRole: async (organizationId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
33734
|
+
deleteOrganizationCustomRole: async (organizationId: string, customRoleId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
33734
33735
|
// verify required parameter 'organizationId' is not null or undefined
|
|
33735
33736
|
assertParamExists('deleteOrganizationCustomRole', 'organizationId', organizationId)
|
|
33737
|
+
// verify required parameter 'customRoleId' is not null or undefined
|
|
33738
|
+
assertParamExists('deleteOrganizationCustomRole', 'customRoleId', customRoleId)
|
|
33736
33739
|
const localVarPath = `/organization/{organizationId}/customRole/{customRoleId}`
|
|
33737
|
-
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
|
|
33740
|
+
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
|
|
33741
|
+
.replace(`{${"customRoleId"}}`, encodeURIComponent(String(customRoleId)));
|
|
33738
33742
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
33739
33743
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
33740
33744
|
let baseOptions;
|
|
@@ -33765,15 +33769,19 @@ export const OrganizationCustomRoleApiAxiosParamCreator = function (configuratio
|
|
|
33765
33769
|
* Edit an organization custom role
|
|
33766
33770
|
* @summary Edit an organization custom role
|
|
33767
33771
|
* @param {string} organizationId Organization ID
|
|
33772
|
+
* @param {string} customRoleId Custom Role ID
|
|
33768
33773
|
* @param {OrganizationCustomRoleUpdateRequest} [organizationCustomRoleUpdateRequest]
|
|
33769
33774
|
* @param {*} [options] Override http request option.
|
|
33770
33775
|
* @throws {RequiredError}
|
|
33771
33776
|
*/
|
|
33772
|
-
editOrganizationCustomRole: async (organizationId: string, organizationCustomRoleUpdateRequest?: OrganizationCustomRoleUpdateRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
33777
|
+
editOrganizationCustomRole: async (organizationId: string, customRoleId: string, organizationCustomRoleUpdateRequest?: OrganizationCustomRoleUpdateRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
33773
33778
|
// verify required parameter 'organizationId' is not null or undefined
|
|
33774
33779
|
assertParamExists('editOrganizationCustomRole', 'organizationId', organizationId)
|
|
33780
|
+
// verify required parameter 'customRoleId' is not null or undefined
|
|
33781
|
+
assertParamExists('editOrganizationCustomRole', 'customRoleId', customRoleId)
|
|
33775
33782
|
const localVarPath = `/organization/{organizationId}/customRole/{customRoleId}`
|
|
33776
|
-
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
|
|
33783
|
+
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
|
|
33784
|
+
.replace(`{${"customRoleId"}}`, encodeURIComponent(String(customRoleId)));
|
|
33777
33785
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
33778
33786
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
33779
33787
|
let baseOptions;
|
|
@@ -33909,23 +33917,25 @@ export const OrganizationCustomRoleApiFp = function(configuration?: Configuratio
|
|
|
33909
33917
|
* Delete organization custom role
|
|
33910
33918
|
* @summary Delete organization custom role
|
|
33911
33919
|
* @param {string} organizationId Organization ID
|
|
33920
|
+
* @param {string} customRoleId Custom Role ID
|
|
33912
33921
|
* @param {*} [options] Override http request option.
|
|
33913
33922
|
* @throws {RequiredError}
|
|
33914
33923
|
*/
|
|
33915
|
-
async deleteOrganizationCustomRole(organizationId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
33916
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteOrganizationCustomRole(organizationId, options);
|
|
33924
|
+
async deleteOrganizationCustomRole(organizationId: string, customRoleId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
33925
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteOrganizationCustomRole(organizationId, customRoleId, options);
|
|
33917
33926
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
33918
33927
|
},
|
|
33919
33928
|
/**
|
|
33920
33929
|
* Edit an organization custom role
|
|
33921
33930
|
* @summary Edit an organization custom role
|
|
33922
33931
|
* @param {string} organizationId Organization ID
|
|
33932
|
+
* @param {string} customRoleId Custom Role ID
|
|
33923
33933
|
* @param {OrganizationCustomRoleUpdateRequest} [organizationCustomRoleUpdateRequest]
|
|
33924
33934
|
* @param {*} [options] Override http request option.
|
|
33925
33935
|
* @throws {RequiredError}
|
|
33926
33936
|
*/
|
|
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);
|
|
33937
|
+
async editOrganizationCustomRole(organizationId: string, customRoleId: string, organizationCustomRoleUpdateRequest?: OrganizationCustomRoleUpdateRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrganizationCustomRole>> {
|
|
33938
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.editOrganizationCustomRole(organizationId, customRoleId, organizationCustomRoleUpdateRequest, options);
|
|
33929
33939
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
33930
33940
|
},
|
|
33931
33941
|
/**
|
|
@@ -33976,22 +33986,24 @@ export const OrganizationCustomRoleApiFactory = function (configuration?: Config
|
|
|
33976
33986
|
* Delete organization custom role
|
|
33977
33987
|
* @summary Delete organization custom role
|
|
33978
33988
|
* @param {string} organizationId Organization ID
|
|
33989
|
+
* @param {string} customRoleId Custom Role ID
|
|
33979
33990
|
* @param {*} [options] Override http request option.
|
|
33980
33991
|
* @throws {RequiredError}
|
|
33981
33992
|
*/
|
|
33982
|
-
deleteOrganizationCustomRole(organizationId: string, options?: any): AxiosPromise<void> {
|
|
33983
|
-
return localVarFp.deleteOrganizationCustomRole(organizationId, options).then((request) => request(axios, basePath));
|
|
33993
|
+
deleteOrganizationCustomRole(organizationId: string, customRoleId: string, options?: any): AxiosPromise<void> {
|
|
33994
|
+
return localVarFp.deleteOrganizationCustomRole(organizationId, customRoleId, options).then((request) => request(axios, basePath));
|
|
33984
33995
|
},
|
|
33985
33996
|
/**
|
|
33986
33997
|
* Edit an organization custom role
|
|
33987
33998
|
* @summary Edit an organization custom role
|
|
33988
33999
|
* @param {string} organizationId Organization ID
|
|
34000
|
+
* @param {string} customRoleId Custom Role ID
|
|
33989
34001
|
* @param {OrganizationCustomRoleUpdateRequest} [organizationCustomRoleUpdateRequest]
|
|
33990
34002
|
* @param {*} [options] Override http request option.
|
|
33991
34003
|
* @throws {RequiredError}
|
|
33992
34004
|
*/
|
|
33993
|
-
editOrganizationCustomRole(organizationId: string, organizationCustomRoleUpdateRequest?: OrganizationCustomRoleUpdateRequest, options?: any): AxiosPromise<OrganizationCustomRole> {
|
|
33994
|
-
return localVarFp.editOrganizationCustomRole(organizationId, organizationCustomRoleUpdateRequest, options).then((request) => request(axios, basePath));
|
|
34005
|
+
editOrganizationCustomRole(organizationId: string, customRoleId: string, organizationCustomRoleUpdateRequest?: OrganizationCustomRoleUpdateRequest, options?: any): AxiosPromise<OrganizationCustomRole> {
|
|
34006
|
+
return localVarFp.editOrganizationCustomRole(organizationId, customRoleId, organizationCustomRoleUpdateRequest, options).then((request) => request(axios, basePath));
|
|
33995
34007
|
},
|
|
33996
34008
|
/**
|
|
33997
34009
|
* Get an organization custom role
|
|
@@ -34041,25 +34053,27 @@ export class OrganizationCustomRoleApi extends BaseAPI {
|
|
|
34041
34053
|
* Delete organization custom role
|
|
34042
34054
|
* @summary Delete organization custom role
|
|
34043
34055
|
* @param {string} organizationId Organization ID
|
|
34056
|
+
* @param {string} customRoleId Custom Role ID
|
|
34044
34057
|
* @param {*} [options] Override http request option.
|
|
34045
34058
|
* @throws {RequiredError}
|
|
34046
34059
|
* @memberof OrganizationCustomRoleApi
|
|
34047
34060
|
*/
|
|
34048
|
-
public deleteOrganizationCustomRole(organizationId: string, options?: AxiosRequestConfig) {
|
|
34049
|
-
return OrganizationCustomRoleApiFp(this.configuration).deleteOrganizationCustomRole(organizationId, options).then((request) => request(this.axios, this.basePath));
|
|
34061
|
+
public deleteOrganizationCustomRole(organizationId: string, customRoleId: string, options?: AxiosRequestConfig) {
|
|
34062
|
+
return OrganizationCustomRoleApiFp(this.configuration).deleteOrganizationCustomRole(organizationId, customRoleId, options).then((request) => request(this.axios, this.basePath));
|
|
34050
34063
|
}
|
|
34051
34064
|
|
|
34052
34065
|
/**
|
|
34053
34066
|
* Edit an organization custom role
|
|
34054
34067
|
* @summary Edit an organization custom role
|
|
34055
34068
|
* @param {string} organizationId Organization ID
|
|
34069
|
+
* @param {string} customRoleId Custom Role ID
|
|
34056
34070
|
* @param {OrganizationCustomRoleUpdateRequest} [organizationCustomRoleUpdateRequest]
|
|
34057
34071
|
* @param {*} [options] Override http request option.
|
|
34058
34072
|
* @throws {RequiredError}
|
|
34059
34073
|
* @memberof OrganizationCustomRoleApi
|
|
34060
34074
|
*/
|
|
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));
|
|
34075
|
+
public editOrganizationCustomRole(organizationId: string, customRoleId: string, organizationCustomRoleUpdateRequest?: OrganizationCustomRoleUpdateRequest, options?: AxiosRequestConfig) {
|
|
34076
|
+
return OrganizationCustomRoleApiFp(this.configuration).editOrganizationCustomRole(organizationId, customRoleId, organizationCustomRoleUpdateRequest, options).then((request) => request(this.axios, this.basePath));
|
|
34063
34077
|
}
|
|
34064
34078
|
|
|
34065
34079
|
/**
|
package/dist/api.d.ts
CHANGED
|
@@ -22053,19 +22053,21 @@ export declare const OrganizationCustomRoleApiAxiosParamCreator: (configuration?
|
|
|
22053
22053
|
* Delete organization custom role
|
|
22054
22054
|
* @summary Delete organization custom role
|
|
22055
22055
|
* @param {string} organizationId Organization ID
|
|
22056
|
+
* @param {string} customRoleId Custom Role ID
|
|
22056
22057
|
* @param {*} [options] Override http request option.
|
|
22057
22058
|
* @throws {RequiredError}
|
|
22058
22059
|
*/
|
|
22059
|
-
deleteOrganizationCustomRole: (organizationId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
22060
|
+
deleteOrganizationCustomRole: (organizationId: string, customRoleId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
22060
22061
|
/**
|
|
22061
22062
|
* Edit an organization custom role
|
|
22062
22063
|
* @summary Edit an organization custom role
|
|
22063
22064
|
* @param {string} organizationId Organization ID
|
|
22065
|
+
* @param {string} customRoleId Custom Role ID
|
|
22064
22066
|
* @param {OrganizationCustomRoleUpdateRequest} [organizationCustomRoleUpdateRequest]
|
|
22065
22067
|
* @param {*} [options] Override http request option.
|
|
22066
22068
|
* @throws {RequiredError}
|
|
22067
22069
|
*/
|
|
22068
|
-
editOrganizationCustomRole: (organizationId: string, organizationCustomRoleUpdateRequest?: OrganizationCustomRoleUpdateRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
22070
|
+
editOrganizationCustomRole: (organizationId: string, customRoleId: string, organizationCustomRoleUpdateRequest?: OrganizationCustomRoleUpdateRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
22069
22071
|
/**
|
|
22070
22072
|
* Get an organization custom role
|
|
22071
22073
|
* @summary Get an organization custom role
|
|
@@ -22102,19 +22104,21 @@ export declare const OrganizationCustomRoleApiFp: (configuration?: Configuration
|
|
|
22102
22104
|
* Delete organization custom role
|
|
22103
22105
|
* @summary Delete organization custom role
|
|
22104
22106
|
* @param {string} organizationId Organization ID
|
|
22107
|
+
* @param {string} customRoleId Custom Role ID
|
|
22105
22108
|
* @param {*} [options] Override http request option.
|
|
22106
22109
|
* @throws {RequiredError}
|
|
22107
22110
|
*/
|
|
22108
|
-
deleteOrganizationCustomRole(organizationId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
22111
|
+
deleteOrganizationCustomRole(organizationId: string, customRoleId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
22109
22112
|
/**
|
|
22110
22113
|
* Edit an organization custom role
|
|
22111
22114
|
* @summary Edit an organization custom role
|
|
22112
22115
|
* @param {string} organizationId Organization ID
|
|
22116
|
+
* @param {string} customRoleId Custom Role ID
|
|
22113
22117
|
* @param {OrganizationCustomRoleUpdateRequest} [organizationCustomRoleUpdateRequest]
|
|
22114
22118
|
* @param {*} [options] Override http request option.
|
|
22115
22119
|
* @throws {RequiredError}
|
|
22116
22120
|
*/
|
|
22117
|
-
editOrganizationCustomRole(organizationId: string, organizationCustomRoleUpdateRequest?: OrganizationCustomRoleUpdateRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrganizationCustomRole>>;
|
|
22121
|
+
editOrganizationCustomRole(organizationId: string, customRoleId: string, organizationCustomRoleUpdateRequest?: OrganizationCustomRoleUpdateRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrganizationCustomRole>>;
|
|
22118
22122
|
/**
|
|
22119
22123
|
* Get an organization custom role
|
|
22120
22124
|
* @summary Get an organization custom role
|
|
@@ -22151,19 +22155,21 @@ export declare const OrganizationCustomRoleApiFactory: (configuration?: Configur
|
|
|
22151
22155
|
* Delete organization custom role
|
|
22152
22156
|
* @summary Delete organization custom role
|
|
22153
22157
|
* @param {string} organizationId Organization ID
|
|
22158
|
+
* @param {string} customRoleId Custom Role ID
|
|
22154
22159
|
* @param {*} [options] Override http request option.
|
|
22155
22160
|
* @throws {RequiredError}
|
|
22156
22161
|
*/
|
|
22157
|
-
deleteOrganizationCustomRole(organizationId: string, options?: any): AxiosPromise<void>;
|
|
22162
|
+
deleteOrganizationCustomRole(organizationId: string, customRoleId: string, options?: any): AxiosPromise<void>;
|
|
22158
22163
|
/**
|
|
22159
22164
|
* Edit an organization custom role
|
|
22160
22165
|
* @summary Edit an organization custom role
|
|
22161
22166
|
* @param {string} organizationId Organization ID
|
|
22167
|
+
* @param {string} customRoleId Custom Role ID
|
|
22162
22168
|
* @param {OrganizationCustomRoleUpdateRequest} [organizationCustomRoleUpdateRequest]
|
|
22163
22169
|
* @param {*} [options] Override http request option.
|
|
22164
22170
|
* @throws {RequiredError}
|
|
22165
22171
|
*/
|
|
22166
|
-
editOrganizationCustomRole(organizationId: string, organizationCustomRoleUpdateRequest?: OrganizationCustomRoleUpdateRequest, options?: any): AxiosPromise<OrganizationCustomRole>;
|
|
22172
|
+
editOrganizationCustomRole(organizationId: string, customRoleId: string, organizationCustomRoleUpdateRequest?: OrganizationCustomRoleUpdateRequest, options?: any): AxiosPromise<OrganizationCustomRole>;
|
|
22167
22173
|
/**
|
|
22168
22174
|
* Get an organization custom role
|
|
22169
22175
|
* @summary Get an organization custom role
|
|
@@ -22203,21 +22209,23 @@ export declare class OrganizationCustomRoleApi extends BaseAPI {
|
|
|
22203
22209
|
* Delete organization custom role
|
|
22204
22210
|
* @summary Delete organization custom role
|
|
22205
22211
|
* @param {string} organizationId Organization ID
|
|
22212
|
+
* @param {string} customRoleId Custom Role ID
|
|
22206
22213
|
* @param {*} [options] Override http request option.
|
|
22207
22214
|
* @throws {RequiredError}
|
|
22208
22215
|
* @memberof OrganizationCustomRoleApi
|
|
22209
22216
|
*/
|
|
22210
|
-
deleteOrganizationCustomRole(organizationId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void>>;
|
|
22217
|
+
deleteOrganizationCustomRole(organizationId: string, customRoleId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void>>;
|
|
22211
22218
|
/**
|
|
22212
22219
|
* Edit an organization custom role
|
|
22213
22220
|
* @summary Edit an organization custom role
|
|
22214
22221
|
* @param {string} organizationId Organization ID
|
|
22222
|
+
* @param {string} customRoleId Custom Role ID
|
|
22215
22223
|
* @param {OrganizationCustomRoleUpdateRequest} [organizationCustomRoleUpdateRequest]
|
|
22216
22224
|
* @param {*} [options] Override http request option.
|
|
22217
22225
|
* @throws {RequiredError}
|
|
22218
22226
|
* @memberof OrganizationCustomRoleApi
|
|
22219
22227
|
*/
|
|
22220
|
-
editOrganizationCustomRole(organizationId: string, organizationCustomRoleUpdateRequest?: OrganizationCustomRoleUpdateRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<OrganizationCustomRole>>;
|
|
22228
|
+
editOrganizationCustomRole(organizationId: string, customRoleId: string, organizationCustomRoleUpdateRequest?: OrganizationCustomRoleUpdateRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<OrganizationCustomRole>>;
|
|
22221
22229
|
/**
|
|
22222
22230
|
* Get an organization custom role
|
|
22223
22231
|
* @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
|