@favid-inc/api
Advanced tools
Comparing version
export declare const ARTIST = "artist"; | ||
export declare const ARTIST_SEARCH_BY_MAIN_CATEGORY = "artist_search_by_main_category"; | ||
export declare const ARTIST_SEARCH_BY_TERM = "artist_search_by_main_category"; | ||
export declare const ARTIST_SEARCH_BY_TERM = "artist_search_by_term"; |
@@ -5,2 +5,2 @@ "use strict"; | ||
exports.ARTIST_SEARCH_BY_MAIN_CATEGORY = "artist_search_by_main_category"; | ||
exports.ARTIST_SEARCH_BY_TERM = "artist_search_by_main_category"; | ||
exports.ARTIST_SEARCH_BY_TERM = "artist_search_by_term"; |
export declare const ORDER = "order"; | ||
export declare const ORDER_FLOW_CREATE = "order_flow_create"; | ||
export declare const ORDER_FLOW_DECLINE = "order_flow_decline"; | ||
export declare enum OrderFlow { | ||
CREATE = "order_flow_create", | ||
DECLINE = "order_flow_decline" | ||
} | ||
export declare enum OrderStatus { | ||
OPENED = "OP", | ||
DECLINED_BY_ARTIST = "DA", | ||
DONE = "DN" | ||
} |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.ORDER = "order"; | ||
exports.ORDER_FLOW_CREATE = "order_flow_create"; | ||
exports.ORDER_FLOW_DECLINE = "order_flow_decline"; | ||
var OrderFlow; | ||
(function (OrderFlow) { | ||
OrderFlow["CREATE"] = "order_flow_create"; | ||
OrderFlow["DECLINE"] = "order_flow_decline"; | ||
})(OrderFlow = exports.OrderFlow || (exports.OrderFlow = {})); | ||
var OrderStatus; | ||
(function (OrderStatus) { | ||
OrderStatus["OPENED"] = "OP"; | ||
OrderStatus["DECLINED_BY_ARTIST"] = "DA"; | ||
OrderStatus["DONE"] = "DN"; | ||
})(OrderStatus = exports.OrderStatus || (exports.OrderStatus = {})); |
import { Model } from "../Model"; | ||
import { OrderStatus } from "./constants"; | ||
export interface OrderModel extends Model { | ||
customerId?: string; | ||
artistId?: string; | ||
status?: "OP" | "RA" | "DO"; | ||
status?: OrderStatus; | ||
myName?: string; | ||
@@ -7,0 +8,0 @@ isGift?: boolean; |
{ | ||
"name": "@favid-inc/api", | ||
"version": "2.4.2", | ||
"version": "2.5.0", | ||
"description": "API for Favid Project", | ||
@@ -5,0 +5,0 @@ "homepage": "https://github.com/favid-inc/api#readme", |
7242
6.14%224
8.21%