@causalfoundry/js-sdk
Version:
Causal Foundry WEB SDK (JS/TS)
118 lines • 4.95 kB
JavaScript
;
exports.__esModule = true;
exports.CancelType = exports.DeliveryAction = exports.ShopMode = exports.ListType = exports.ListAction = exports.ScanType = exports.ScanChannel = exports.CartAction = exports.SubscriptionType = exports.SubscriptionStatus = exports.StockStatus = exports.ItemType = exports.ItemAction = exports.ECommerceTypes = void 0;
var ECommerceTypes;
(function (ECommerceTypes) {
ECommerceTypes["CancelCheckout"] = "cancel_checkout";
ECommerceTypes["Cart"] = "cart";
ECommerceTypes["Checkout"] = "checkout";
ECommerceTypes["Delivery"] = "delivery";
ECommerceTypes["Item"] = "item";
ECommerceTypes["ItemReport"] = "item_report";
ECommerceTypes["ItemRequest"] = "item_request";
ECommerceTypes["ItemVerification"] = "item_verification";
})(ECommerceTypes = exports.ECommerceTypes || (exports.ECommerceTypes = {}));
var ItemAction;
(function (ItemAction) {
ItemAction["View"] = "view";
ItemAction["Detail"] = "detail";
ItemAction["Impression"] = "impression";
ItemAction["TopUp"] = "top_up";
ItemAction["Cancel"] = "cancel";
ItemAction["Update"] = "update";
ItemAction["Remove"] = "remove";
ItemAction["Add"] = "add";
ItemAction["Select"] = "select";
ItemAction["AddFavorite"] = "add_favorite";
ItemAction["RemoveFavorite"] = "remove_favorite";
ItemAction["AddReminder"] = "add_reminder";
ItemAction["RemoveReminder"] = "remove_reminder";
ItemAction["RemoveReminderAuto"] = "remove_reminder_auto";
ItemAction["Other"] = "other";
})(ItemAction = exports.ItemAction || (exports.ItemAction = {}));
var ItemType;
(function (ItemType) {
ItemType["Blood"] = "blood";
ItemType["Book"] = "book";
ItemType["Clothing"] = "clothing";
ItemType["Drug"] = "drug";
ItemType["Grocery"] = "grocery";
ItemType["Subscription"] = "subscription";
ItemType["Facility"] = "facility";
ItemType["Electronics"] = "electronics";
ItemType["MedicalEquipment"] = "medical_equipment";
ItemType["Misc"] = "misc";
ItemType["Oxygen"] = "oxygen";
ItemType["ItemVerification"] = "item_verification";
ItemType["ItemReport"] = "item_report";
ItemType["Reward"] = "reward";
ItemType["Survey"] = "survey";
ItemType["Other"] = "other";
})(ItemType = exports.ItemType || (exports.ItemType = {}));
var StockStatus;
(function (StockStatus) {
StockStatus["InStock"] = "in_stock";
StockStatus["LowStock"] = "low_stock";
StockStatus["OutOfStock"] = "out_of_stock";
})(StockStatus = exports.StockStatus || (exports.StockStatus = {}));
var SubscriptionStatus;
(function (SubscriptionStatus) {
SubscriptionStatus["Active"] = "active";
SubscriptionStatus["Inactive"] = "inactive";
SubscriptionStatus["Paused"] = "paused";
SubscriptionStatus["Other"] = "other";
})(SubscriptionStatus = exports.SubscriptionStatus || (exports.SubscriptionStatus = {}));
var SubscriptionType;
(function (SubscriptionType) {
SubscriptionType["PayAsYouSell"] = "pay_as_you_sell";
SubscriptionType["PayAsYouGo"] = "pay_as_you_go";
SubscriptionType["Other"] = "other";
})(SubscriptionType = exports.SubscriptionType || (exports.SubscriptionType = {}));
var CartAction;
(function (CartAction) {
CartAction["AddItem"] = "add_item";
CartAction["RemoveItem"] = "remove_item";
})(CartAction = exports.CartAction || (exports.CartAction = {}));
var ScanChannel;
(function (ScanChannel) {
ScanChannel["App"] = "app";
ScanChannel["Ussd"] = "ussd";
})(ScanChannel = exports.ScanChannel || (exports.ScanChannel = {}));
var ScanType;
(function (ScanType) {
ScanType["Pin"] = "pin";
ScanType["QrCode"] = "qr_code";
})(ScanType = exports.ScanType || (exports.ScanType = {}));
var ListAction;
(function (ListAction) {
ListAction["Add"] = "add_item";
ListAction["Discard"] = "discard";
ListAction["Edit"] = "edit_item";
ListAction["Remove"] = "remove_item";
ListAction["View"] = "view";
})(ListAction = exports.ListAction || (exports.ListAction = {}));
var ListType;
(function (ListType) {
ListType["Cart"] = "cart";
ListType["Favourite"] = "favourite";
ListType["Order"] = "order";
ListType["Reminder"] = "reminder";
})(ListType = exports.ListType || (exports.ListType = {}));
var ShopMode;
(function (ShopMode) {
ShopMode["Delivery"] = "delivery";
ShopMode["Pickup"] = "pickup";
})(ShopMode = exports.ShopMode || (exports.ShopMode = {}));
var DeliveryAction;
(function (DeliveryAction) {
DeliveryAction["Schedule"] = "schedule";
DeliveryAction["Update"] = "update";
DeliveryAction["Dispatch"] = "dispatch";
DeliveryAction["Delivered"] = "delivered";
})(DeliveryAction = exports.DeliveryAction || (exports.DeliveryAction = {}));
var CancelType;
(function (CancelType) {
CancelType["Cart"] = "cart";
CancelType["Order"] = "order";
})(CancelType = exports.CancelType || (exports.CancelType = {}));
//# sourceMappingURL=typings.js.map