RoleApi - functional programming interface

  • Parameters

    • Optionalconfiguration: Configuration

    Returns {
        roleControllerCreate(roleCreateInputDTO?: RoleCreateInputDTO, options?: RawAxiosRequestConfig): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<RoleOutputDTOAPI>)>;
        roleControllerGetOne(id: string, options?: RawAxiosRequestConfig): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<RoleOutputDTOAPI>)>;
        roleControllerGetPermissions(options?: RawAxiosRequestConfig): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<PermissionOutputDTOAPI>)>;
        roleControllerRemove(id: string, options?: RawAxiosRequestConfig): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<APIOutput>)>;
        roleControllerSearch(roleSearchInputDTO?: RoleSearchInputDTO, options?: RawAxiosRequestConfig): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<RoleOutputArrayDTOAPI>)>;
        roleControllerUpdate(id: string, roleUpdateInputDTO?: RoleUpdateInputDTO, options?: RawAxiosRequestConfig): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<RoleOutputDTOAPI>)>;
    }

    • roleControllerCreate:function
    • roleControllerGetOne:function
      • Required permissions: READ_ROLES

        Parameters

        • id: string
        • Optionaloptions: RawAxiosRequestConfig

          Override http request option.

        Returns Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<RoleOutputDTOAPI>)>

        Get one

    • roleControllerGetPermissions:function
    • roleControllerRemove:function
      • Required permissions: MANAGE_ROLES

        Parameters

        • id: string
        • Optionaloptions: RawAxiosRequestConfig

          Override http request option.

        Returns Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<APIOutput>)>

        Remove

    • roleControllerSearch:function
    • roleControllerUpdate:function
      • Required permissions: MANAGE_ROLES

        Parameters

        • id: string
        • OptionalroleUpdateInputDTO: RoleUpdateInputDTO

          RoleUpdateInputDTO

        • Optionaloptions: RawAxiosRequestConfig

          Override http request option.

        Returns Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<RoleOutputDTOAPI>)>

        Update