cwmsjs
Version:
CWMS Data API Library for JavaScript/TypeScript created with OpenAPI generator for use with browser webapps
66 lines (65 loc) • 2.38 kB
TypeScript
/**
* CWMS Data API
* CWMS REST API for Data Retrieval
*
* The version of the OpenAPI document: 2.4.0-2026.3.16
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import * as runtime from '../runtime';
import { LockRevokerRights } from '../models';
export interface GetProjectLockRightsRequest {
officeMask: string;
projectMask?: string;
applicationMask?: string;
}
export interface PostProjectLockRightsRemoveAllRequest {
office: string;
applicationId: string;
userId: string;
}
export interface PostProjectLockRightsUpdateRequest {
office: string;
applicationId: string;
userId: string;
allow: boolean;
projectMask?: string;
}
/**
*
*/
export declare class ProjectLockRevokerRightsApi extends runtime.BaseAPI {
/**
* Get a list of project lock revoker rights
* Get projectLockRights
*/
getProjectLockRightsRaw(requestParameters: GetProjectLockRightsRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<Array<LockRevokerRights>>>;
/**
* Get a list of project lock revoker rights
* Get projectLockRights
*/
getProjectLockRights(requestParameters: GetProjectLockRightsRequest, initOverrides?: RequestInit): Promise<Array<LockRevokerRights>>;
/**
* Revokes a project lock, if successful the lock is deleted
* Post projectLockRights removeAll
*/
postProjectLockRightsRemoveAllRaw(requestParameters: PostProjectLockRightsRemoveAllRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<void>>;
/**
* Revokes a project lock, if successful the lock is deleted
* Post projectLockRights removeAll
*/
postProjectLockRightsRemoveAll(requestParameters: PostProjectLockRightsRemoveAllRequest, initOverrides?: RequestInit): Promise<void>;
/**
* Update Lock Revoker Rights.
* Post projectLockRights update
*/
postProjectLockRightsUpdateRaw(requestParameters: PostProjectLockRightsUpdateRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<void>>;
/**
* Update Lock Revoker Rights.
* Post projectLockRights update
*/
postProjectLockRightsUpdate(requestParameters: PostProjectLockRightsUpdateRequest, initOverrides?: RequestInit): Promise<void>;
}