cwmsjs
Version:
CWMS Data API Library for JavaScript/TypeScript created with OpenAPI generator for use with browser webapps
92 lines (91 loc) • 3.86 kB
TypeScript
/**
* CWMS Data API
* CWMS REST API for Data Retrieval
*
* The version of the OpenAPI document: 2.3.2-2025.03.19
*
*
* 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 type { Clob, Clobs } from '../models/index';
export interface DeleteClobsWithClobIdRequest {
clobId: string;
office: string;
}
export interface GetClobsRequest {
office?: string;
page?: string;
pageSize?: number;
includeValues?: boolean;
like?: string;
}
export interface GetClobsWithClobIdRequest {
clobId: string;
office?: string;
clobId2?: string;
}
export interface PatchClobsWithClobIdRequest {
clobId: string;
clob: Clob;
ignoreNulls?: boolean;
}
export interface PostClobsRequest {
clob: Clob;
failIfExists?: boolean;
}
/**
*
*/
export declare class ClobApi extends runtime.BaseAPI {
/**
* Delete clob
* Delete cwmsData clobs with clobId
*/
deleteClobsWithClobIdRaw(requestParameters: DeleteClobsWithClobIdRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
/**
* Delete clob
* Delete cwmsData clobs with clobId
*/
deleteClobsWithClobId(requestParameters: DeleteClobsWithClobIdRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
/**
* Get cwmsData clobs
*/
getClobsRaw(requestParameters: GetClobsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Clobs>>;
/**
* Get cwmsData clobs
*/
getClobs(requestParameters?: GetClobsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Clobs>;
/**
* Get a single clob. If the accept header is set to text/plain, the raw value is returned as the response body. Responses to text/plain requests are streamed and support the Range header. When the accept header is set to application/json;version=2 the clob will be returned as a serialized Clob object with fields for office-id, id, description and value.
* Get cwmsData clobs with clobId
*/
getClobsWithClobIdRaw(requestParameters: GetClobsWithClobIdRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Clob>>;
/**
* Get a single clob. If the accept header is set to text/plain, the raw value is returned as the response body. Responses to text/plain requests are streamed and support the Range header. When the accept header is set to application/json;version=2 the clob will be returned as a serialized Clob object with fields for office-id, id, description and value.
* Get cwmsData clobs with clobId
*/
getClobsWithClobId(requestParameters: GetClobsWithClobIdRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Clob>;
/**
* Update clob
* Patch cwmsData clobs with clobId
*/
patchClobsWithClobIdRaw(requestParameters: PatchClobsWithClobIdRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
/**
* Update clob
* Patch cwmsData clobs with clobId
*/
patchClobsWithClobId(requestParameters: PatchClobsWithClobIdRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
/**
* Create new Clob
* Post cwmsData clobs
*/
postClobsRaw(requestParameters: PostClobsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
/**
* Create new Clob
* Post cwmsData clobs
*/
postClobs(requestParameters: PostClobsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
}