Class WaterContractsApi

Hierarchy (view full)

Constructors

Properties

Methods

deleteProjectsWithOfficeContractTypesWithDisplayValue deleteProjectsWithOfficeContractTypesWithDisplayValueRaw deleteProjectsWithOfficeWithProjectIdWaterUserWithWaterUser deleteProjectsWithOfficeWithProjectIdWaterUserWithWaterUserContractsWithContractName deleteProjectsWithOfficeWithProjectIdWaterUserWithWaterUserContractsWithContractNamePumpsWithName deleteProjectsWithOfficeWithProjectIdWaterUserWithWaterUserContractsWithContractNamePumpsWithNameRaw deleteProjectsWithOfficeWithProjectIdWaterUserWithWaterUserContractsWithContractNameRaw deleteProjectsWithOfficeWithProjectIdWaterUserWithWaterUserRaw getProjectsWithOfficeContractTypes getProjectsWithOfficeContractTypesRaw getProjectsWithOfficeWithProjectIdWaterUser getProjectsWithOfficeWithProjectIdWaterUserRaw getProjectsWithOfficeWithProjectIdWaterUserWithWaterUser getProjectsWithOfficeWithProjectIdWaterUserWithWaterUserContracts getProjectsWithOfficeWithProjectIdWaterUserWithWaterUserContractsRaw getProjectsWithOfficeWithProjectIdWaterUserWithWaterUserContractsWithContractName getProjectsWithOfficeWithProjectIdWaterUserWithWaterUserContractsWithContractNameRaw getProjectsWithOfficeWithProjectIdWaterUserWithWaterUserRaw isJsonMime patchProjectsWithOfficeWithProjectIdWaterUserWithWaterUser patchProjectsWithOfficeWithProjectIdWaterUserWithWaterUserContractsWithContractName patchProjectsWithOfficeWithProjectIdWaterUserWithWaterUserContractsWithContractNameRaw patchProjectsWithOfficeWithProjectIdWaterUserWithWaterUserRaw postProjectsWithOfficeContractTypes postProjectsWithOfficeContractTypesRaw postProjectsWithOfficeWithProjectIdWaterUser postProjectsWithOfficeWithProjectIdWaterUserRaw postProjectsWithOfficeWithProjectIdWaterUserWithWaterUserContracts postProjectsWithOfficeWithProjectIdWaterUserWithWaterUserContractsRaw request withMiddleware withPostMiddleware withPreMiddleware

Constructors

Properties

configuration: Configuration = DefaultConfig

Methods

  • Delete a water contract type Delete cwmsData projects with office contractTypes with displayValue

    Parameters

    Returns Promise<void>

  • Deletes a water user from CWMS. Delete cwmsData projects with office with projectId waterUser with waterUser

    Parameters

    Returns Promise<void>

  • Check if the given MIME is a JSON MIME. JSON MIME examples: application/json application/json; charset=UTF8 APPLICATION/JSON application/vnd.company+json

    Parameters

    • mime: string

      MIME (Multipurpose Internet Mail Extensions)

    Returns boolean

    True if the given MIME is JSON, false otherwise.

  • Updates a water user in CWMS. Patch cwmsData projects with office with projectId waterUser with waterUser

    Parameters

    Returns Promise<void>

  • Create a new water contract type Post cwmsData projects with office contractTypes

    Parameters

    Returns Promise<void>

  • Stores a water user to CWMS. Post cwmsData projects with office with projectId waterUser

    Parameters

    Returns Promise<void>

  • Parameters

    Returns Promise<Response>

  • Type Parameters

    Parameters

    • this: T
    • Rest ...postMiddlewares: ((context) => Promise<void | Response>)[]

    Returns T

  • Type Parameters

    Parameters

    • this: T
    • Rest ...preMiddlewares: ((context) => Promise<void | FetchParams>)[]

    Returns T