UNPKG

bc-node-sdk

Version:

BetterCommerce's NodeJS SDK encapsulates the base framework for all the Next.js applications.

21 lines (20 loc) 908 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.DeviceType = void 0; /** * Enum {@link DeviceType} represents the various types of devices that a user can use to interact with the API. * * @readonly * @enum {number} * @property {number} UNKNOWN - The type of device is unknown. * @property {number} IOS - The device is an iOS device (iPhone or iPad). * @property {number} ANDROID - The device is an Android device (phone or tablet). * @property {number} WINDOWS_PHONE - The device is a Windows Phone device. */ var DeviceType; (function (DeviceType) { DeviceType[DeviceType["UNKNOWN"] = 0] = "UNKNOWN"; DeviceType[DeviceType["IOS"] = 1] = "IOS"; DeviceType[DeviceType["ANDROID"] = 2] = "ANDROID"; DeviceType[DeviceType["WINDOWS_PHONE"] = 3] = "WINDOWS_PHONE"; })(DeviceType = exports.DeviceType || (exports.DeviceType = {}));