UNPKG

cwmsjs

Version:

CWMS Data API Library for JavaScript/TypeScript created with OpenAPI generator for use with browser webapps

76 lines (75 loc) 2.91 kB
/** * 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 { DeleteMethod, StandardTextCatalog, StandardTextValue } from '../models'; export interface DeleteStandardTextIdWithStandardTextIdRequest { standardTextId: string; office: string; method: DeleteMethod; } export interface GetStandardTextIdRequest { officeMask?: string; standardTextIdMask?: string; } export interface GetStandardTextIdWithStandardTextIdRequest { standardTextId: string; office: string; } export interface PostStandardTextIdRequest { standardTextValue: StandardTextValue; failIfExists?: boolean; } /** * */ export declare class StandardTextApi extends runtime.BaseAPI { /** * Delete a single Standard Text value * Delete standardTextId with standardTextId */ deleteStandardTextIdWithStandardTextIdRaw(requestParameters: DeleteStandardTextIdWithStandardTextIdRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<void>>; /** * Delete a single Standard Text value * Delete standardTextId with standardTextId */ deleteStandardTextIdWithStandardTextId(requestParameters: DeleteStandardTextIdWithStandardTextIdRequest, initOverrides?: RequestInit): Promise<void>; /** * Retrieve a Standard Text catalog * Get standardTextId */ getStandardTextIdRaw(requestParameters: GetStandardTextIdRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<StandardTextCatalog>>; /** * Retrieve a Standard Text catalog * Get standardTextId */ getStandardTextId(requestParameters?: GetStandardTextIdRequest, initOverrides?: RequestInit): Promise<StandardTextCatalog>; /** * Retrieve a single Standard Text value * Get standardTextId with standardTextId */ getStandardTextIdWithStandardTextIdRaw(requestParameters: GetStandardTextIdWithStandardTextIdRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<StandardTextValue>>; /** * Retrieve a single Standard Text value * Get standardTextId with standardTextId */ getStandardTextIdWithStandardTextId(requestParameters: GetStandardTextIdWithStandardTextIdRequest, initOverrides?: RequestInit): Promise<StandardTextValue>; /** * Create new Standard Text * Post standardTextId */ postStandardTextIdRaw(requestParameters: PostStandardTextIdRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<void>>; /** * Create new Standard Text * Post standardTextId */ postStandardTextId(requestParameters: PostStandardTextIdRequest, initOverrides?: RequestInit): Promise<void>; }