Properties
Private
client
client: AxiosInstance
Methods
delete
- delete(rateCardId: string): Promise<AxiosResponse<any, any>>
-
Returns Promise<AxiosResponse<any, any>>
download
- download(rateCardId: string): Promise<AxiosResponse<Blob, any>>
-
Returns Promise<AxiosResponse<Blob, any>>
get
- get(rateCardId: string): Promise<AxiosResponse<SE.RateCard, any>>
-
Returns Promise<AxiosResponse<SE.RateCard, any>>
list
- list(carrierIds: string[]): Promise<AxiosResponse<{
rateCards: SE.RateCard[];
}, any>>
-
Returns Promise<AxiosResponse<{
rateCards: SE.RateCard[];
}, any>>
publish
- publish(rateCardId: string): Promise<AxiosResponse<any, any>>
-
Returns Promise<AxiosResponse<any, any>>
upload
- upload(rateCardId: string, file: File): Promise<AxiosResponse<SE.RateCard, any>>
-
Parameters
-
rateCardId: string
-
file: File
Returns Promise<AxiosResponse<SE.RateCard, any>>
Rate Cards API module - /v1/rate_cards