Function ContractsApiFactory Contracts Api Factory ( configuration ? , basePath ? , axios ? ) : { apiContractsContractIdGet ( contractId : string , revision ?: number , options ?: RawAxiosRequestConfig ) : AxiosPromise < Contract > ; apiContractsDelete ( id ?: number , options ?: RawAxiosRequestConfig ) : AxiosPromise < void > ; apiContractsPost ( contract ?: Contract , options ?: RawAxiosRequestConfig ) : AxiosPromise < Contract > ; apiContractsPut ( id ?: number , contract ?: Contract , options ?: RawAxiosRequestConfig ) : AxiosPromise < Contract > ; contractPayments ( id : string , limit ?: number , page ?: number , userId ?: string , options ?: RawAxiosRequestConfig ) : AxiosPromise < PaymentCycleListResponse > ; contractPaymentTotals ( id : string , options ?: RawAxiosRequestConfig ) : AxiosPromise < PaymentCycleListResponse > ; contractsGetAll ( activeOnly ?: boolean , options ?: RawAxiosRequestConfig ) : AxiosPromise < Contract [] > ; } Parameters Optional
configuration : Configuration Optional
basePath : string Optional
axios : AxiosInstance Returns { apiContractsContractIdGet ( contractId : string , revision ?: number , options ?: RawAxiosRequestConfig ) : AxiosPromise < Contract > ; apiContractsDelete ( id ?: number , options ?: RawAxiosRequestConfig ) : AxiosPromise < void > ; apiContractsPost ( contract ?: Contract , options ?: RawAxiosRequestConfig ) : AxiosPromise < Contract > ; apiContractsPut ( id ?: number , contract ?: Contract , options ?: RawAxiosRequestConfig ) : AxiosPromise < Contract > ; contractPayments ( id : string , limit ?: number , page ?: number , userId ?: string , options ?: RawAxiosRequestConfig ) : AxiosPromise < PaymentCycleListResponse > ; contractPaymentTotals ( id : string , options ?: RawAxiosRequestConfig ) : AxiosPromise < PaymentCycleListResponse > ; contractsGetAll ( activeOnly ?: boolean , options ?: RawAxiosRequestConfig ) : AxiosPromise < Contract [] > ; } api Contracts Contract Id Get : functionapi Contracts Contract Id Get ( contractId , revision ? , options ? ) : AxiosPromise < Contract > Parameters contractId : string Optional
revision : number Optional
options : RawAxiosRequestConfig Returns AxiosPromise < Contract > api Contracts Delete : functionapi Contracts Delete ( id ? , options ? ) : AxiosPromise < void > Parameters Optional
id : number Optional
options : RawAxiosRequestConfig Returns AxiosPromise < void > api Contracts Post : functionapi Contracts Post ( contract ? , options ? ) : AxiosPromise < Contract > Parameters Optional
contract : Contract Optional
options : RawAxiosRequestConfig Returns AxiosPromise < Contract > api Contracts Put : functionapi Contracts Put ( id ? , contract ? , options ? ) : AxiosPromise < Contract > Parameters Optional
id : number Optional
contract : Contract Optional
options : RawAxiosRequestConfig Returns AxiosPromise < Contract > contract Payments : functioncontract Payments ( id , limit ? , page ? , userId ? , options ? ) : AxiosPromise < PaymentCycleListResponse > Parameters id : string Optional
limit : number Optional
page : number Optional
userId : string Optional
options : RawAxiosRequestConfig contract Payment Totals : functioncontract Payment Totals ( id , options ? ) : AxiosPromise < PaymentCycleListResponse > Parameters id : string Optional
options : RawAxiosRequestConfig contracts Get All : functioncontracts Get All ( activeOnly ? , options ? ) : AxiosPromise < Contract [] > Parameters Optional
activeOnly : boolean Optional
options : RawAxiosRequestConfig Returns AxiosPromise < Contract [] >
ContractsApi - factory interface export