cwmsjs
Version:
CWMS Data API Library for JavaScript/TypeScript created with OpenAPI generator for use with browser webapps
74 lines (73 loc) • 2.84 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 { LocationCategory } from '../models';
export interface DeleteLocationCategoryWithCategoryIdRequest {
categoryId: string;
office: string;
cascadeDelete?: boolean;
}
export interface GetLocationCategoryRequest {
office?: string;
}
export interface GetLocationCategoryWithCategoryIdRequest {
categoryId: string;
office: string;
}
export interface PostLocationCategoryRequest {
locationCategory: LocationCategory;
}
/**
*
*/
export declare class LocationCategoriesApi extends runtime.BaseAPI {
/**
* Deletes requested location category
* Delete location category with categoryId
*/
deleteLocationCategoryWithCategoryIdRaw(requestParameters: DeleteLocationCategoryWithCategoryIdRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<void>>;
/**
* Deletes requested location category
* Delete location category with categoryId
*/
deleteLocationCategoryWithCategoryId(requestParameters: DeleteLocationCategoryWithCategoryIdRequest, initOverrides?: RequestInit): Promise<void>;
/**
* Returns CWMS Location Category Data
* Get location category
*/
getLocationCategoryRaw(requestParameters: GetLocationCategoryRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<Array<LocationCategory>>>;
/**
* Returns CWMS Location Category Data
* Get location category
*/
getLocationCategory(requestParameters?: GetLocationCategoryRequest, initOverrides?: RequestInit): Promise<Array<LocationCategory>>;
/**
* Retrieves requested Location Category
* Get location category with categoryId
*/
getLocationCategoryWithCategoryIdRaw(requestParameters: GetLocationCategoryWithCategoryIdRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<LocationCategory>>;
/**
* Retrieves requested Location Category
* Get location category with categoryId
*/
getLocationCategoryWithCategoryId(requestParameters: GetLocationCategoryWithCategoryIdRequest, initOverrides?: RequestInit): Promise<LocationCategory>;
/**
* Create new LocationCategory
* Post location category
*/
postLocationCategoryRaw(requestParameters: PostLocationCategoryRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<void>>;
/**
* Create new LocationCategory
* Post location category
*/
postLocationCategory(requestParameters: PostLocationCategoryRequest, initOverrides?: RequestInit): Promise<void>;
}