UNPKG

@hotwax/oms-api

Version:

The OMS API package comes with prebuilt methods that helps communicate with HotWax Commerce OMS using Rest API

15 lines (14 loc) 1.35 kB
import { Response, User } from "../../types"; declare function getProfile(): Promise<User | Response>; declare function omsSetProductIdentificationPref(eComStoreId: string, productIdentificationPref: any): Promise<any>; declare function omsGetProductIdentificationPref(eComStoreId: string): Promise<any>; declare function logout(): Promise<any>; declare function omsGetUserFacilities(token: any, baseURL: string, partyId: string, facilityGroupId: any, isAdminUser?: boolean, payload?: any): Promise<any>; declare function omsGetUserPreference(token: any, baseURL: string, userPrefTypeId: string): Promise<any>; declare function omsSetUserPreference(payload: any): Promise<any>; declare const setUserLocale: (payload: any) => Promise<any>; declare const setUserTimeZone: (payload: any) => Promise<any>; declare const omsGetAvailableTimeZones: () => Promise<any>; declare function omsGetEComStoresByFacility(token: any, baseURL: string, vSize?: number, facilityId?: string): Promise<Response>; declare function omsGetEComStores(token: any, baseURL: string, vSize?: number): Promise<any>; export { getProfile, logout, omsGetAvailableTimeZones, omsGetUserFacilities, omsGetEComStoresByFacility, omsGetEComStores, omsGetProductIdentificationPref, omsGetUserPreference, omsSetProductIdentificationPref, omsSetUserPreference, setUserLocale, setUserTimeZone };