@managesome/eposmatic-toolkit 0.2.455 → 0.2.458
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/constants/WORKER_ENDPOINTS.d.ts +1 -0
- package/lib/constants/WORKER_ENDPOINTS.js +2 -0
- package/lib/helpers/types/workers.d.ts +15 -1
- package/package.json +1 -1
- package/lib/constants/PURCHASE_ORDER.d.ts +0 -16
- package/lib/constants/PURCHASE_ORDER.js +0 -100
- package/lib/constants/RFQ.d.ts +0 -0
- package/lib/constants/RFQ.js +0 -1
- package/lib/helpers/order/generate-purchase-order-rfq.d.ts +0 -3
- package/lib/helpers/order/generate-purchase-order-rfq.js +0 -64
- package/lib/helpers/order/generate-purchase-order.d.ts +0 -11
- package/lib/helpers/order/generate-purchase-order.js +0 -196
- package/lib/helpers/store/all-purchase-orders-actions.d.ts +0 -13
- package/lib/helpers/store/all-purchase-orders-actions.js +0 -56
- package/lib/helpers/store/all-sale-orders-actions.d.ts +0 -2
- package/lib/helpers/store/all-sale-orders-actions.js +0 -8
- package/lib/helpers/store/all-warehouse-sale-orders-actions.d.ts +0 -2
- package/lib/helpers/store/all-warehouse-sale-orders-actions.js +0 -8
- package/lib/helpers/store/common-purchase-order-actions.d.ts +0 -31
- package/lib/helpers/store/common-purchase-order-actions.js +0 -543
- package/lib/helpers/store/common-sale-order-actions.d.ts +0 -5
- package/lib/helpers/store/common-sale-order-actions.js +0 -65
- package/lib/helpers/store/purchase-order-rfq-cart-actions.d.ts +0 -19
- package/lib/helpers/store/purchase-order-rfq-cart-actions.js +0 -373
- package/lib/helpers/store/purchase-orders-cart-actions.d.ts +0 -57
- package/lib/helpers/store/purchase-orders-cart-actions.js +0 -486
- package/lib/helpers/types/purchase-order-cart-actions.d.ts +0 -26
- package/lib/helpers/types/purchase-order-cart-actions.js +0 -2
- package/lib/helpers/utils/invoice-x-report-helpers.d.ts +0 -58
- package/lib/helpers/utils/invoice-x-report-helpers.js +0 -1432
- package/lib/helpers/utils/purchase-order-engine.d.ts +0 -9
- package/lib/helpers/utils/purchase-order-engine.js +0 -34
- package/lib/helpers/utils/purchase-order-receipt-engine.d.ts +0 -149
- package/lib/helpers/utils/purchase-order-receipt-engine.js +0 -214
- package/lib/helpers/utils/purchase-order-x-report-helpers.d.ts +0 -58
- package/lib/helpers/utils/purchase-order-x-report-helpers.js +0 -1440
- package/lib/helpers/utils/sale-order-x-report-helpers.d.ts +0 -44
- package/lib/helpers/utils/sale-order-x-report-helpers.js +0 -22
- package/lib/helpers/utils/sale-x-report-helpers.d.ts +0 -58
- package/lib/helpers/utils/sale-x-report-helpers.js +0 -1456
- package/lib/helpers/utils/terminal-devices-helpers.d.ts +0 -2
- package/lib/helpers/utils/terminal-devices-helpers.js +0 -13
- package/lib/helpers/utils/void-purchase-order-items-helpers.d.ts +0 -3
- package/lib/helpers/utils/void-purchase-order-items-helpers.js +0 -38
- package/lib/helpers/utils/void-purchase-order-items-report-helpers.d.ts +0 -13
- package/lib/helpers/utils/void-purchase-order-items-report-helpers.js +0 -22
- package/lib/schemas/models/applied-order-discounts.d.ts +0 -80
- package/lib/schemas/models/applied-order-discounts.js +0 -106
- package/lib/schemas/models/brand.d.ts +0 -45
- package/lib/schemas/models/brand.js +0 -45
- package/lib/schemas/models/category.d.ts +0 -60
- package/lib/schemas/models/category.js +0 -67
- package/lib/schemas/models/dinein_table_fingerprints.d.ts +0 -65
- package/lib/schemas/models/dinein_table_fingerprints.js +0 -85
- package/lib/schemas/models/expense_category.d.ts +0 -83
- package/lib/schemas/models/expense_category.js +0 -64
- package/lib/schemas/models/internal_movements.d.ts +0 -357
- package/lib/schemas/models/internal_movements.js +0 -323
- package/lib/schemas/models/inventory.d.ts +0 -99
- package/lib/schemas/models/inventory.js +0 -87
- package/lib/schemas/models/inventory_lot_serial_numbers.d.ts +0 -154
- package/lib/schemas/models/inventory_lot_serial_numbers.js +0 -193
- package/lib/schemas/models/item.d.ts +0 -11269
- package/lib/schemas/models/item.js +0 -333
- package/lib/schemas/models/menu.d.ts +0 -941
- package/lib/schemas/models/menu.js +0 -69
- package/lib/schemas/models/order.d.ts +0 -15437
- package/lib/schemas/models/order.js +0 -891
- package/lib/schemas/models/purchase_order_receipts.d.ts +0 -165
- package/lib/schemas/models/purchase_order_receipts.js +0 -151
- package/lib/schemas/models/purchase_order_rfq.d.ts +0 -1959
- package/lib/schemas/models/purchase_order_rfq.js +0 -328
- package/lib/schemas/models/purchase_order_rfqs.d.ts +0 -1959
- package/lib/schemas/models/purchase_order_rfqs.js +0 -328
- package/lib/schemas/models/purchase_order_vendor_returns.d.ts +0 -234
- package/lib/schemas/models/purchase_order_vendor_returns.js +0 -188
- package/lib/schemas/models/purchase_orders.d.ts +0 -2678
- package/lib/schemas/models/purchase_orders.js +0 -336
- package/lib/schemas/models/rider.d.ts +0 -65
- package/lib/schemas/models/rider.js +0 -74
- package/lib/schemas/models/sale_order_deliveries.d.ts +0 -167
- package/lib/schemas/models/sale_order_deliveries.js +0 -155
- package/lib/schemas/models/sale_order_invoices.d.ts +0 -227
- package/lib/schemas/models/sale_order_invoices.js +0 -206
- package/lib/schemas/models/sale_order_rfq.d.ts +0 -1938
- package/lib/schemas/models/sale_order_rfq.js +0 -309
- package/lib/schemas/models/sale_orders.d.ts +0 -1943
- package/lib/schemas/models/sale_orders.js +0 -324
- package/lib/schemas/models/tenant.d.ts +0 -528
- package/lib/schemas/models/tenant.js +0 -755
- package/lib/schemas/models/tenant_staff.d.ts +0 -932
- package/lib/schemas/models/tenant_staff.js +0 -96
- package/lib/schemas/models/track_order_number.d.ts +0 -413
- package/lib/schemas/models/track_order_number.js +0 -45
- package/lib/schemas/models/void_purchase_order_items.d.ts +0 -176
- package/lib/schemas/models/void_purchase_order_items.js +0 -177
- package/lib/schemas/models/void_warehouse_invoice_items.d.ts +0 -176
- package/lib/schemas/models/void_warehouse_invoice_items.js +0 -176
- package/lib/schemas/models/wallet.d.ts +0 -38
- package/lib/schemas/models/wallet.js +0 -37
- package/lib/schemas/models/warehouse-communications.d.ts +0 -228
- package/lib/schemas/models/warehouse-communications.js +0 -216
- package/lib/schemas/models/warehouse.d.ts +0 -162
- package/lib/schemas/models/warehouse.js +0 -222
- package/lib/schemas/models/warehouse_staff.d.ts +0 -65
- package/lib/schemas/models/warehouse_staff.js +0 -78
- package/lib/schemas/models/warehouse_track_order_number.d.ts +0 -50
- package/lib/schemas/models/warehouse_track_order_number.js +0 -52
- package/lib/schemas/types/applied-order-discounts.d.ts +0 -22
- package/lib/schemas/types/applied-order-discounts.js +0 -2
- package/lib/schemas/types/brand.d.ts +0 -32
- package/lib/schemas/types/brand.js +0 -2
- package/lib/schemas/types/category.d.ts +0 -15
- package/lib/schemas/types/category.js +0 -2
- package/lib/schemas/types/expense_category.d.ts +0 -20
- package/lib/schemas/types/expense_category.js +0 -2
- package/lib/schemas/types/internal_movements.d.ts +0 -73
- package/lib/schemas/types/internal_movements.js +0 -2
- package/lib/schemas/types/inventory.d.ts +0 -48
- package/lib/schemas/types/inventory.js +0 -2
- package/lib/schemas/types/inventory_lot_serial_numbers.d.ts +0 -85
- package/lib/schemas/types/inventory_lot_serial_numbers.js +0 -4
- package/lib/schemas/types/item.d.ts +0 -89
- package/lib/schemas/types/item.js +0 -2
- package/lib/schemas/types/menu.d.ts +0 -17
- package/lib/schemas/types/menu.js +0 -2
- package/lib/schemas/types/order.d.ts +0 -242
- package/lib/schemas/types/order.js +0 -2
- package/lib/schemas/types/purchase_order_common.d.ts +0 -39
- package/lib/schemas/types/purchase_order_common.js +0 -2
- package/lib/schemas/types/purchase_order_receipts.d.ts +0 -39
- package/lib/schemas/types/purchase_order_receipts.js +0 -21
- package/lib/schemas/types/purchase_order_rfq.d.ts +0 -33
- package/lib/schemas/types/purchase_order_rfq.js +0 -2
- package/lib/schemas/types/purchase_order_rfqs.d.ts +0 -33
- package/lib/schemas/types/purchase_order_rfqs.js +0 -2
- package/lib/schemas/types/purchase_order_vendor_returns.d.ts +0 -49
- package/lib/schemas/types/purchase_order_vendor_returns.js +0 -42
- package/lib/schemas/types/purchase_orders.d.ts +0 -33
- package/lib/schemas/types/purchase_orders.js +0 -2
- package/lib/schemas/types/rider.d.ts +0 -16
- package/lib/schemas/types/rider.js +0 -2
- package/lib/schemas/types/sale_order_common.d.ts +0 -39
- package/lib/schemas/types/sale_order_common.js +0 -2
- package/lib/schemas/types/sale_order_deliveries.d.ts +0 -67
- package/lib/schemas/types/sale_order_deliveries.js +0 -2
- package/lib/schemas/types/sale_order_invoices.d.ts +0 -49
- package/lib/schemas/types/sale_order_invoices.js +0 -2
- package/lib/schemas/types/sale_order_rfq.d.ts +0 -25
- package/lib/schemas/types/sale_order_rfq.js +0 -2
- package/lib/schemas/types/sale_orders.d.ts +0 -30
- package/lib/schemas/types/sale_orders.js +0 -2
- package/lib/schemas/types/tenant.d.ts +0 -205
- package/lib/schemas/types/tenant.js +0 -2
- package/lib/schemas/types/tenant_staff.d.ts +0 -22
- package/lib/schemas/types/tenant_staff.js +0 -2
- package/lib/schemas/types/track_order_number.d.ts +0 -10
- package/lib/schemas/types/track_order_number.js +0 -2
- package/lib/schemas/types/void_purchase_order_items.d.ts +0 -37
- package/lib/schemas/types/void_purchase_order_items.js +0 -2
- package/lib/schemas/types/void_warehouse_invoice_items.d.ts +0 -37
- package/lib/schemas/types/void_warehouse_invoice_items.js +0 -2
- package/lib/schemas/types/wallet.d.ts +0 -7
- package/lib/schemas/types/wallet.js +0 -2
- package/lib/schemas/types/warehouse-communications.d.ts +0 -54
- package/lib/schemas/types/warehouse-communications.js +0 -2
- package/lib/schemas/types/warehouse.d.ts +0 -49
- package/lib/schemas/types/warehouse.js +0 -2
- package/lib/schemas/types/warehouse_purchase_order_common.d.ts +0 -39
- package/lib/schemas/types/warehouse_purchase_order_common.js +0 -2
- package/lib/schemas/types/warehouse_sale_order_common.d.ts +0 -39
- package/lib/schemas/types/warehouse_sale_order_common.js +0 -2
- package/lib/schemas/types/warehouse_staff.d.ts +0 -17
- package/lib/schemas/types/warehouse_staff.js +0 -2
- package/lib/schemas/types/warehouse_track_order_number.d.ts +0 -11
- package/lib/schemas/types/warehouse_track_order_number.js +0 -2
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { VOID_WAREHOUSE_INVOICE_ITEM_TYPE_ENUM } from '../../constants';
|
|
2
|
-
export interface IVoidWarehouseInvoiceItemAdjustment {
|
|
3
|
-
_id: string;
|
|
4
|
-
order_id: string;
|
|
5
|
-
order_number: number | null;
|
|
6
|
-
order_item_id: string;
|
|
7
|
-
quantity: number;
|
|
8
|
-
subtotal: number;
|
|
9
|
-
staff_id: string;
|
|
10
|
-
staff_name: string;
|
|
11
|
-
}
|
|
12
|
-
export interface IVoidWarehouseInvoiceItem {
|
|
13
|
-
_id: string;
|
|
14
|
-
warehouse_id: string;
|
|
15
|
-
order_id: string;
|
|
16
|
-
order_number: number | null;
|
|
17
|
-
item_id: string;
|
|
18
|
-
order_item_id: string;
|
|
19
|
-
void_type: VOID_WAREHOUSE_INVOICE_ITEM_TYPE_ENUM;
|
|
20
|
-
client_id: string;
|
|
21
|
-
client_name: string;
|
|
22
|
-
staff_id: string;
|
|
23
|
-
staff_name: string;
|
|
24
|
-
void_reason: string;
|
|
25
|
-
iteration: number;
|
|
26
|
-
name: string;
|
|
27
|
-
quantity: number;
|
|
28
|
-
subtotal: number;
|
|
29
|
-
description: string;
|
|
30
|
-
total_adjusted_quantity: number;
|
|
31
|
-
total_adjusted_subtotal: number;
|
|
32
|
-
adjustments?: IVoidWarehouseInvoiceItemAdjustment[] | null;
|
|
33
|
-
order_punched_at: Date;
|
|
34
|
-
createdAt_mins: number;
|
|
35
|
-
createdAt: Date;
|
|
36
|
-
updatedAt: Date;
|
|
37
|
-
}
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
import { COMMUNICATION_CHANNEL_ENUM, EMAIL_DOCUMENT_KIND_ENUM } from '../../constants';
|
|
2
|
-
export type TWarehouseCommunicationDocumentKind = EMAIL_DOCUMENT_KIND_ENUM;
|
|
3
|
-
export type TWarehouseCommunicationChannel = COMMUNICATION_CHANNEL_ENUM;
|
|
4
|
-
interface IWarehouseCommunicationActionButton {
|
|
5
|
-
title: string;
|
|
6
|
-
url: string;
|
|
7
|
-
button_color: string;
|
|
8
|
-
button_text_color: string;
|
|
9
|
-
icon?: string;
|
|
10
|
-
}
|
|
11
|
-
interface IWarehouseCommunicationLineItem {
|
|
12
|
-
name: string;
|
|
13
|
-
quantity: number;
|
|
14
|
-
price: number;
|
|
15
|
-
subtotal: number;
|
|
16
|
-
currency_symbol?: string;
|
|
17
|
-
}
|
|
18
|
-
export interface IWarehouseCommunicationMetadata {
|
|
19
|
-
warehouse_name: string;
|
|
20
|
-
warehouse_logo_url: string;
|
|
21
|
-
support_email: string;
|
|
22
|
-
counterparty_name: string;
|
|
23
|
-
counterparty_email: string;
|
|
24
|
-
reference_number?: string | null;
|
|
25
|
-
order_number?: number | null;
|
|
26
|
-
issued_date: string;
|
|
27
|
-
expected_deadline?: string | null;
|
|
28
|
-
payment_terms_days?: number | null;
|
|
29
|
-
currency_symbol: string;
|
|
30
|
-
subtotal: number;
|
|
31
|
-
gst?: number | null;
|
|
32
|
-
gst_amount?: number | null;
|
|
33
|
-
is_gst_inclusive?: boolean | null;
|
|
34
|
-
grand_total: number;
|
|
35
|
-
line_items: IWarehouseCommunicationLineItem[];
|
|
36
|
-
notes?: string | null;
|
|
37
|
-
action_buttons?: IWarehouseCommunicationActionButton[];
|
|
38
|
-
theme_color?: string | null;
|
|
39
|
-
}
|
|
40
|
-
export interface IWarehouseCommunication {
|
|
41
|
-
_id: string;
|
|
42
|
-
warehouse_id: string;
|
|
43
|
-
document_kind: TWarehouseCommunicationDocumentKind;
|
|
44
|
-
document_id: string;
|
|
45
|
-
communication_channel: TWarehouseCommunicationChannel;
|
|
46
|
-
to: string;
|
|
47
|
-
subject: string;
|
|
48
|
-
description: string;
|
|
49
|
-
metadata: IWarehouseCommunicationMetadata;
|
|
50
|
-
sent_at?: Date | null;
|
|
51
|
-
createdAt: Date;
|
|
52
|
-
updatedAt: Date;
|
|
53
|
-
}
|
|
54
|
-
export {};
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
import { COUNTRY_ALPHA_2_ENUM, COUNTRY_ALPHA_3_ENUM, COUNTRY_CODE_ENUM, COUNTRY_FLAG_ENUM, COUNTRY_NAME_ENUM, CURRENCY_CODE_ENUM, CURRENCY_NAME_ENUM, CURRENCY_SYMBOL_ENUM, GST_TYPE_ENUM, REMOVAL_STRATEGY_ENUM, TAX_INVOICE_PROVIDER_ENUM, TRACK_ORDER_NUMBER_ENUM } from '../../constants';
|
|
2
|
-
export interface IWarehouse {
|
|
3
|
-
_id: string;
|
|
4
|
-
brand_id: string;
|
|
5
|
-
name: string;
|
|
6
|
-
warehouse_address: string;
|
|
7
|
-
public_business_name: string;
|
|
8
|
-
support_email: string;
|
|
9
|
-
public_phone_numbers: string[];
|
|
10
|
-
image_url: string;
|
|
11
|
-
currency_code: CURRENCY_CODE_ENUM;
|
|
12
|
-
currency_symbol: CURRENCY_SYMBOL_ENUM;
|
|
13
|
-
currency_name: CURRENCY_NAME_ENUM;
|
|
14
|
-
country_code: COUNTRY_CODE_ENUM;
|
|
15
|
-
country_alpha_2: COUNTRY_ALPHA_2_ENUM;
|
|
16
|
-
country_alpha_3: COUNTRY_ALPHA_3_ENUM;
|
|
17
|
-
country_name: COUNTRY_NAME_ENUM;
|
|
18
|
-
country_flag: COUNTRY_FLAG_ENUM;
|
|
19
|
-
is_gst_inclusive?: boolean;
|
|
20
|
-
hide_gst_value?: boolean;
|
|
21
|
-
exclude_discount_from_gst?: boolean;
|
|
22
|
-
po_card_gst: number;
|
|
23
|
-
po_cash_gst: number;
|
|
24
|
-
invoice_card_gst: number;
|
|
25
|
-
invoice_cash_gst: number;
|
|
26
|
-
default_po_gst_type: GST_TYPE_ENUM;
|
|
27
|
-
default_invoice_gst_type: GST_TYPE_ENUM;
|
|
28
|
-
tax_business_number: string;
|
|
29
|
-
tax_invoice_provider?: TAX_INVOICE_PROVIDER_ENUM;
|
|
30
|
-
tax_invoice_generation_id?: string | null;
|
|
31
|
-
_tax_invoice_generation_token?: string | null;
|
|
32
|
-
track_purchase_order_number_by: TRACK_ORDER_NUMBER_ENUM;
|
|
33
|
-
track_invoice_number_by: TRACK_ORDER_NUMBER_ENUM;
|
|
34
|
-
operational_time_zone_offset_gmt: number;
|
|
35
|
-
operational_start_time: number;
|
|
36
|
-
operational_end_time: number;
|
|
37
|
-
coordinates: number[];
|
|
38
|
-
brand_color: string;
|
|
39
|
-
alert_phone_numbers: string[];
|
|
40
|
-
alert_email_addresses: string[];
|
|
41
|
-
alert_when: string[];
|
|
42
|
-
enable_lot_serial_tracking: boolean;
|
|
43
|
-
default_removal_strategy: REMOVAL_STRATEGY_ENUM;
|
|
44
|
-
po_custom_payment_types: string[];
|
|
45
|
-
invoice_custom_payment_types: string[];
|
|
46
|
-
active: boolean;
|
|
47
|
-
createdAt: Date;
|
|
48
|
-
updatedAt: Date;
|
|
49
|
-
}
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import { IStaffDetails } from './orders';
|
|
2
|
-
export interface IWarehousePurchaseOrderCommonItem {
|
|
3
|
-
_id: string;
|
|
4
|
-
item_id: string;
|
|
5
|
-
is_ready?: boolean;
|
|
6
|
-
void_reason?: string | null;
|
|
7
|
-
name: string;
|
|
8
|
-
price: number;
|
|
9
|
-
subtotal: number;
|
|
10
|
-
quantity: number;
|
|
11
|
-
_net_amount: number;
|
|
12
|
-
_gross_amount: number;
|
|
13
|
-
_gst_amount: number;
|
|
14
|
-
_discount_amount: number;
|
|
15
|
-
special_instructions: string;
|
|
16
|
-
}
|
|
17
|
-
export interface IWarehousePurchaseOrderCommonCategoryByCategoryId {
|
|
18
|
-
name: string;
|
|
19
|
-
category_id: string;
|
|
20
|
-
items: IWarehousePurchaseOrderCommonItem[];
|
|
21
|
-
}
|
|
22
|
-
export interface IWarehousePurchaseOrderCommonCategoryById {
|
|
23
|
-
_id: string;
|
|
24
|
-
name: string;
|
|
25
|
-
items: IWarehousePurchaseOrderCommonItem[];
|
|
26
|
-
}
|
|
27
|
-
export interface IWarehousePurchaseOrderCommonIterationBase<TCategory, TStatus> {
|
|
28
|
-
categories: TCategory[];
|
|
29
|
-
staff_details: IStaffDetails;
|
|
30
|
-
is_gst_inclusive?: boolean;
|
|
31
|
-
gst?: number | null;
|
|
32
|
-
gst_amount?: number | null;
|
|
33
|
-
special_instructions: string;
|
|
34
|
-
price: number;
|
|
35
|
-
amount_earned: number;
|
|
36
|
-
grand_total: number;
|
|
37
|
-
order_status: TStatus;
|
|
38
|
-
updatedAt: Date;
|
|
39
|
-
}
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import { IStaffDetails } from './orders';
|
|
2
|
-
export interface IWarehouseSaleOrderCommonItem {
|
|
3
|
-
_id: string;
|
|
4
|
-
item_id: string;
|
|
5
|
-
is_ready?: boolean;
|
|
6
|
-
void_reason?: string | null;
|
|
7
|
-
name: string;
|
|
8
|
-
price: number;
|
|
9
|
-
subtotal: number;
|
|
10
|
-
quantity: number;
|
|
11
|
-
_net_amount: number;
|
|
12
|
-
_gross_amount: number;
|
|
13
|
-
_gst_amount: number;
|
|
14
|
-
_discount_amount: number;
|
|
15
|
-
special_instructions: string;
|
|
16
|
-
}
|
|
17
|
-
export interface IWarehouseSaleOrderCommonCategoryByCategoryId {
|
|
18
|
-
name: string;
|
|
19
|
-
category_id: string;
|
|
20
|
-
items: IWarehouseSaleOrderCommonItem[];
|
|
21
|
-
}
|
|
22
|
-
export interface IWarehouseSaleOrderCommonCategoryById {
|
|
23
|
-
_id: string;
|
|
24
|
-
name: string;
|
|
25
|
-
items: IWarehouseSaleOrderCommonItem[];
|
|
26
|
-
}
|
|
27
|
-
export interface IWarehouseSaleOrderCommonIterationBase<TCategory, TStatus> {
|
|
28
|
-
categories: TCategory[];
|
|
29
|
-
staff_details: IStaffDetails;
|
|
30
|
-
is_gst_inclusive?: boolean;
|
|
31
|
-
gst?: number | null;
|
|
32
|
-
gst_amount?: number | null;
|
|
33
|
-
special_instructions: string;
|
|
34
|
-
price: number;
|
|
35
|
-
amount_earned: number;
|
|
36
|
-
grand_total: number;
|
|
37
|
-
order_status: TStatus;
|
|
38
|
-
updatedAt: Date;
|
|
39
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { USER_ROLES_ENUM } from '../../constants';
|
|
2
|
-
export interface IWarehouseStaff {
|
|
3
|
-
_id: string;
|
|
4
|
-
uid: string;
|
|
5
|
-
warehouse_id: string;
|
|
6
|
-
staff_auth_code: string | null;
|
|
7
|
-
email: string | null;
|
|
8
|
-
email_verified: boolean;
|
|
9
|
-
display_name: string | null;
|
|
10
|
-
image_url: string | null;
|
|
11
|
-
is_disabled: boolean;
|
|
12
|
-
phone_number: string;
|
|
13
|
-
phone_number_verified: boolean;
|
|
14
|
-
role: USER_ROLES_ENUM;
|
|
15
|
-
createdAt: Date;
|
|
16
|
-
updatedAt: Date;
|
|
17
|
-
}
|