@managesome/eposmatic-toolkit 0.2.431 → 0.2.432
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/ENUMS.d.ts +0 -289
- package/lib/constants/ENUMS.js +2 -393
- package/lib/constants/PURCHASE_ORDER.d.ts +5 -3
- package/lib/constants/PURCHASE_ORDER.js +58 -20
- package/lib/constants/WAREHOUSE_ANALYTICS.d.ts +41 -41
- package/lib/constants/WAREHOUSE_ANALYTICS.js +28 -28
- package/lib/constants/WAREHOUSE_ENUMS.d.ts +289 -0
- package/lib/constants/WAREHOUSE_ENUMS.js +392 -0
- package/lib/constants/WAREHOUSE_INVOICE.js +10 -10
- package/lib/constants/index.d.ts +1 -0
- package/lib/constants/index.js +1 -0
- package/lib/helpers/order/generate-purchase-order-rfq.d.ts +3 -3
- package/lib/helpers/order/generate-purchase-order-rfq.js +2 -2
- package/lib/helpers/order/generate-purchase-order.d.ts +8 -8
- package/lib/helpers/order/generate-purchase-order.js +2 -2
- package/lib/helpers/order/generate-warehouse-purchase-order-rfq.d.ts +3 -0
- package/lib/helpers/order/generate-warehouse-purchase-order-rfq.js +64 -0
- package/lib/helpers/order/generate-warehouse-purchase-order.d.ts +11 -0
- package/lib/helpers/order/generate-warehouse-purchase-order.js +196 -0
- package/lib/helpers/order/index.d.ts +2 -2
- package/lib/helpers/order/index.js +2 -2
- package/lib/helpers/store/all-purchase-orders-actions.d.ts +7 -7
- package/lib/helpers/store/all-purchase-orders-actions.js +2 -2
- package/lib/helpers/store/all-sale-orders-actions.d.ts +2 -2
- package/lib/helpers/store/all-warehouse-purchase-orders-actions.d.ts +13 -0
- package/lib/helpers/store/all-warehouse-purchase-orders-actions.js +56 -0
- package/lib/helpers/store/all-warehouse-sale-orders-actions.d.ts +2 -0
- package/lib/helpers/store/all-warehouse-sale-orders-actions.js +8 -0
- package/lib/helpers/store/common-purchase-order-actions.d.ts +15 -15
- package/lib/helpers/store/common-sale-order-actions.d.ts +5 -5
- package/lib/helpers/store/common-warehouse-purchase-order-actions.d.ts +31 -0
- package/lib/helpers/store/common-warehouse-purchase-order-actions.js +545 -0
- package/lib/helpers/store/common-warehouse-sale-order-actions.d.ts +5 -0
- package/lib/helpers/store/common-warehouse-sale-order-actions.js +65 -0
- package/lib/helpers/store/index.d.ts +6 -6
- package/lib/helpers/store/index.js +6 -6
- package/lib/helpers/store/purchase-order-rfq-cart-actions.d.ts +11 -11
- package/lib/helpers/store/purchase-order-rfq-cart-actions.js +3 -3
- package/lib/helpers/store/purchase-orders-cart-actions.d.ts +18 -18
- package/lib/helpers/store/purchase-orders-cart-actions.js +1 -1
- package/lib/helpers/store/warehouse-purchase-order-rfq-cart-actions.d.ts +19 -0
- package/lib/helpers/store/warehouse-purchase-order-rfq-cart-actions.js +373 -0
- package/lib/helpers/store/warehouse-purchase-orders-cart-actions.d.ts +57 -0
- package/lib/helpers/store/warehouse-purchase-orders-cart-actions.js +486 -0
- package/lib/helpers/types/index.d.ts +1 -1
- package/lib/helpers/types/index.js +1 -1
- package/lib/helpers/types/purchase-order-cart-actions.d.ts +2 -2
- package/lib/helpers/types/warehouse-purchase-order-cart-actions.d.ts +26 -0
- package/lib/helpers/types/warehouse-purchase-order-cart-actions.js +2 -0
- package/lib/helpers/types/workers.d.ts +18 -18
- package/lib/helpers/utils/index.d.ts +8 -8
- package/lib/helpers/utils/index.js +8 -11
- package/lib/helpers/utils/invoice-x-report-helpers.d.ts +2 -2
- package/lib/helpers/utils/invoice-x-report-helpers.js +14 -14
- package/lib/helpers/utils/purchase-order-engine.d.ts +4 -4
- package/lib/helpers/utils/purchase-order-receipt-engine.d.ts +5 -5
- package/lib/helpers/utils/purchase-order-receipt-engine.js +2 -2
- package/lib/helpers/utils/purchase-order-x-report-helpers.js +2 -2
- package/lib/helpers/utils/sale-x-report-helpers.js +2 -2
- package/lib/helpers/utils/void-purchase-order-items-helpers.d.ts +3 -3
- package/lib/helpers/utils/void-purchase-order-items-report-helpers.d.ts +2 -2
- package/lib/helpers/utils/void-warehouse-invoice-items-helpers.d.ts +3 -3
- package/lib/helpers/utils/void-warehouse-invoice-items-helpers.js +2 -2
- package/lib/helpers/utils/void-warehouse-invoice-items-report-helpers.d.ts +5 -5
- package/lib/helpers/utils/warehouse-catalog-conversion.d.ts +3 -3
- package/lib/helpers/utils/warehouse-catalog-conversion.js +9 -7
- package/lib/helpers/utils/warehouse-invoice-order-engine.js +1 -1
- package/lib/helpers/utils/warehouse-invoice-x-report-helpers.d.ts +58 -0
- package/lib/helpers/utils/warehouse-invoice-x-report-helpers.js +1432 -0
- package/lib/helpers/utils/warehouse-purchase-order-engine.d.ts +9 -0
- package/lib/helpers/utils/warehouse-purchase-order-engine.js +34 -0
- package/lib/helpers/utils/warehouse-purchase-order-receipt-engine.d.ts +149 -0
- package/lib/helpers/utils/warehouse-purchase-order-receipt-engine.js +214 -0
- package/lib/helpers/utils/warehouse-purchase-order-x-report-helpers.d.ts +58 -0
- package/lib/helpers/utils/warehouse-purchase-order-x-report-helpers.js +1440 -0
- package/lib/helpers/utils/warehouse-sale-order-x-report-helpers.d.ts +30 -0
- package/lib/helpers/utils/warehouse-sale-order-x-report-helpers.js +2 -0
- package/lib/helpers/utils/warehouse-sale-x-report-helpers.d.ts +58 -0
- package/lib/helpers/utils/warehouse-sale-x-report-helpers.js +1456 -0
- package/lib/helpers/utils/warehouse-void-purchase-order-items-helpers.d.ts +3 -0
- package/lib/helpers/utils/warehouse-void-purchase-order-items-helpers.js +38 -0
- package/lib/helpers/utils/warehouse-void-purchase-order-items-report-helpers.d.ts +13 -0
- package/lib/helpers/utils/warehouse-void-purchase-order-items-report-helpers.js +22 -0
- package/lib/schemas/models/gift_cards.d.ts +108 -108
- package/lib/schemas/models/halfhalf_setup.d.ts +3 -3
- package/lib/schemas/models/index.d.ts +7 -7
- package/lib/schemas/models/index.js +7 -7
- package/lib/schemas/models/internal_invoices.d.ts +6 -6
- package/lib/schemas/models/inventory_lot_serial_numbers.d.ts +6 -6
- package/lib/schemas/models/inventory_transactions.d.ts +3 -3
- package/lib/schemas/models/item_transactions.d.ts +6 -6
- package/lib/schemas/models/offers.d.ts +146 -146
- package/lib/schemas/models/orders.d.ts +2573 -2573
- package/lib/schemas/models/printer_settings.d.ts +12 -12
- package/lib/schemas/models/reservations.d.ts +6 -6
- package/lib/schemas/models/rewards_usage.d.ts +6 -6
- package/lib/schemas/models/riders.d.ts +3 -3
- package/lib/schemas/models/tenants.d.ts +135 -135
- package/lib/schemas/models/void_order_items.d.ts +15 -15
- package/lib/schemas/models/void_warehouse_invoice_items.d.ts +25 -25
- package/lib/schemas/models/void_warehouse_invoice_items.js +2 -2
- package/lib/schemas/models/vouchers.d.ts +9 -9
- package/lib/schemas/models/warehouse-activity-logs.d.ts +13 -13
- package/lib/schemas/models/warehouse-activity-logs.js +4 -4
- package/lib/schemas/models/warehouse_categories.d.ts +4 -4
- package/lib/schemas/models/warehouse_categories.js +2 -2
- package/lib/schemas/models/warehouse_communications.d.ts +21 -21
- package/lib/schemas/models/warehouse_internal_movements.d.ts +33 -33
- package/lib/schemas/models/warehouse_internal_movements.js +8 -8
- package/lib/schemas/models/warehouse_inventory_lot_serial_numbers.d.ts +154 -0
- package/lib/schemas/models/warehouse_inventory_lot_serial_numbers.js +193 -0
- package/lib/schemas/models/warehouse_inventory_transactions.d.ts +6 -6
- package/lib/schemas/models/warehouse_invoices.d.ts +351 -351
- package/lib/schemas/models/warehouse_item_transactions.d.ts +9 -9
- package/lib/schemas/models/warehouse_items.d.ts +13 -13
- package/lib/schemas/models/warehouse_items.js +2 -2
- package/lib/schemas/models/warehouse_operational_roles.d.ts +3 -3
- package/lib/schemas/models/warehouse_purchase_order_receipts.d.ts +165 -0
- package/lib/schemas/models/warehouse_purchase_order_receipts.js +151 -0
- package/lib/schemas/models/warehouse_purchase_order_rfqs.d.ts +1959 -0
- package/lib/schemas/models/warehouse_purchase_order_rfqs.js +328 -0
- package/lib/schemas/models/warehouse_purchase_order_vendor_returns.d.ts +234 -0
- package/lib/schemas/models/warehouse_purchase_order_vendor_returns.js +188 -0
- package/lib/schemas/models/warehouse_purchase_orders.d.ts +2678 -0
- package/lib/schemas/models/warehouse_purchase_orders.js +336 -0
- package/lib/schemas/models/warehouse_sale_deliveries.d.ts +15 -15
- package/lib/schemas/models/warehouse_sale_deliveries.js +7 -4
- package/lib/schemas/models/warehouse_sale_invoices.d.ts +30 -30
- package/lib/schemas/models/warehouse_sale_invoices.js +8 -5
- package/lib/schemas/models/warehouse_sale_order_rfqs.d.ts +362 -362
- package/lib/schemas/models/warehouse_sale_order_rfqs.js +5 -5
- package/lib/schemas/models/warehouse_sale_orders.d.ts +367 -367
- package/lib/schemas/models/warehouse_sale_orders.js +5 -5
- package/lib/schemas/models/warehouse_void_invoice_items.d.ts +176 -0
- package/lib/schemas/models/warehouse_void_invoice_items.js +176 -0
- package/lib/schemas/models/warehouse_void_purchase_order_items.d.ts +176 -0
- package/lib/schemas/models/warehouse_void_purchase_order_items.js +177 -0
- package/lib/schemas/models/warehouses.d.ts +52 -52
- package/lib/schemas/models/warehouses.js +2 -2
- package/lib/schemas/types/index.d.ts +9 -9
- package/lib/schemas/types/index.js +9 -9
- package/lib/schemas/types/inventory_lot_serial_numbers.d.ts +5 -5
- package/lib/schemas/types/warehouse-activity-logs.d.ts +7 -7
- package/lib/schemas/types/warehouse_categories.d.ts +2 -2
- package/lib/schemas/types/warehouse_internal_movements.d.ts +9 -9
- package/lib/schemas/types/warehouse_inventory_lot_serial_numbers.d.ts +85 -0
- package/lib/schemas/types/warehouse_inventory_lot_serial_numbers.js +4 -0
- package/lib/schemas/types/warehouse_items.d.ts +2 -2
- package/lib/schemas/types/warehouse_purchase_order_common.d.ts +39 -0
- package/lib/schemas/types/warehouse_purchase_order_common.js +2 -0
- package/lib/schemas/types/warehouse_purchase_order_receipts.d.ts +39 -0
- package/lib/schemas/types/warehouse_purchase_order_receipts.js +21 -0
- package/lib/schemas/types/warehouse_purchase_order_rfqs.d.ts +33 -0
- package/lib/schemas/types/warehouse_purchase_order_rfqs.js +2 -0
- package/lib/schemas/types/warehouse_purchase_order_vendor_returns.d.ts +48 -0
- package/lib/schemas/types/warehouse_purchase_order_vendor_returns.js +2 -0
- package/lib/schemas/types/warehouse_purchase_orders.d.ts +33 -0
- package/lib/schemas/types/warehouse_purchase_orders.js +2 -0
- package/lib/schemas/types/warehouse_sale_deliveries.d.ts +29 -29
- package/lib/schemas/types/warehouse_sale_invoices.d.ts +17 -17
- package/lib/schemas/types/warehouse_sale_order_common.d.ts +39 -0
- package/lib/schemas/types/warehouse_sale_order_common.js +2 -0
- package/lib/schemas/types/warehouse_sale_order_rfqs.d.ts +7 -7
- package/lib/schemas/types/warehouse_sale_orders.d.ts +7 -7
- package/lib/schemas/types/warehouse_void_invoice_items.d.ts +37 -0
- package/lib/schemas/types/warehouse_void_invoice_items.js +2 -0
- package/lib/schemas/types/warehouse_void_purchase_order_items.d.ts +37 -0
- package/lib/schemas/types/warehouse_void_purchase_order_items.js +2 -0
- package/lib/schemas/types/warehouses.d.ts +2 -2
- package/package.json +1 -1
|
@@ -18,38 +18,23 @@ export declare const TenantSchema: Schema<any, import("mongoose").Model<any, any
|
|
|
18
18
|
city: string;
|
|
19
19
|
country_code: COUNTRY_CODE_ENUM;
|
|
20
20
|
delivery_free_over: number;
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
public_business_name: string;
|
|
24
|
-
restaurant_address: string;
|
|
25
|
-
store_description: string;
|
|
26
|
-
web_favicon: string;
|
|
27
|
-
brand_color: string;
|
|
28
|
-
business_type: string;
|
|
29
|
-
web_enable_takeaway: boolean;
|
|
30
|
-
web_enable_delivery: boolean;
|
|
31
|
-
web_enable_dine_in: boolean;
|
|
32
|
-
country_name: COUNTRY_NAME_ENUM;
|
|
33
|
-
coordinates: number[];
|
|
34
|
-
web_cover_image: string;
|
|
35
|
-
provider_id: string;
|
|
21
|
+
currency_symbol: CURRENCY_SYMBOL_ENUM;
|
|
22
|
+
country_alpha_2: COUNTRY_ALPHA_2_ENUM;
|
|
36
23
|
packaging_charges: number;
|
|
37
|
-
|
|
24
|
+
delivery_min_cost: number;
|
|
25
|
+
restaurant_address: string;
|
|
38
26
|
support_email: string;
|
|
39
27
|
public_phone_numbers: string[];
|
|
28
|
+
tax_business_number: string;
|
|
29
|
+
business_website: string;
|
|
30
|
+
google_review_link: string;
|
|
31
|
+
provider_id: string;
|
|
40
32
|
currency_code: CURRENCY_CODE_ENUM;
|
|
41
|
-
currency_symbol: CURRENCY_SYMBOL_ENUM;
|
|
42
33
|
currency_name: CURRENCY_NAME_ENUM;
|
|
43
|
-
country_alpha_2: COUNTRY_ALPHA_2_ENUM;
|
|
44
34
|
country_alpha_3: COUNTRY_ALPHA_3_ENUM;
|
|
35
|
+
country_name: COUNTRY_NAME_ENUM;
|
|
45
36
|
country_flag: COUNTRY_FLAG_ENUM;
|
|
46
|
-
|
|
47
|
-
operational_start_time: number;
|
|
48
|
-
operational_end_time: number;
|
|
49
|
-
alert_phone_numbers: string[];
|
|
50
|
-
alert_email_addresses: string[];
|
|
51
|
-
alert_when: string[];
|
|
52
|
-
google_review_link: string;
|
|
37
|
+
coordinates: number[];
|
|
53
38
|
takeaway_time: number;
|
|
54
39
|
delivery_time: number;
|
|
55
40
|
enable_inventory: boolean;
|
|
@@ -74,6 +59,9 @@ export declare const TenantSchema: Schema<any, import("mongoose").Model<any, any
|
|
|
74
59
|
pos_end_seating_when_order_paid_off: boolean;
|
|
75
60
|
web_charge_customer_for_online_processing: boolean;
|
|
76
61
|
web_allow_ordering_till_closing_time: boolean;
|
|
62
|
+
web_enable_takeaway: boolean;
|
|
63
|
+
web_enable_delivery: boolean;
|
|
64
|
+
web_enable_dine_in: boolean;
|
|
77
65
|
default_prep_minutes: number;
|
|
78
66
|
web_opt_in_for_holiday_surcharge: boolean;
|
|
79
67
|
web_holiday_surcharge: number;
|
|
@@ -87,10 +75,10 @@ export declare const TenantSchema: Schema<any, import("mongoose").Model<any, any
|
|
|
87
75
|
order_types: string[];
|
|
88
76
|
};
|
|
89
77
|
web_unpaid_payment_types: string[];
|
|
78
|
+
dinein_service_fee: number;
|
|
90
79
|
opt_in_for_radius_based_delivery: boolean;
|
|
91
|
-
min_delivery_order_value: number;
|
|
92
80
|
delivery_radius: number;
|
|
93
|
-
|
|
81
|
+
min_delivery_order_value: number;
|
|
94
82
|
delivery_min_cost_distance_mtrs: number;
|
|
95
83
|
delivery_cost_per_meter: number;
|
|
96
84
|
delivery_order_value_per_meter: number;
|
|
@@ -102,6 +90,10 @@ export declare const TenantSchema: Schema<any, import("mongoose").Model<any, any
|
|
|
102
90
|
packaging_charges_free_over: number;
|
|
103
91
|
min_packaging_charges_order_value: number;
|
|
104
92
|
cash_in_hand_limit: number;
|
|
93
|
+
brand_color: string;
|
|
94
|
+
public_business_name: string;
|
|
95
|
+
staff_ordering_domain: string;
|
|
96
|
+
business_type: string;
|
|
105
97
|
track_order_number_by: TRACK_ORDER_NUMBER_ENUM;
|
|
106
98
|
order_number_grouping_type: ORDER_NUMBER_GROUPING_TYPE_ENUM;
|
|
107
99
|
web_show_featured_items: boolean;
|
|
@@ -109,12 +101,20 @@ export declare const TenantSchema: Schema<any, import("mongoose").Model<any, any
|
|
|
109
101
|
card_gst: number;
|
|
110
102
|
cash_gst: number;
|
|
111
103
|
default_gst_type: GST_TYPE_ENUM;
|
|
104
|
+
web_cover_image: string;
|
|
105
|
+
web_favicon: string;
|
|
112
106
|
web_design_type: ONLINE_ORDERING_DESIGN_TYPE_ENUM;
|
|
113
|
-
|
|
107
|
+
store_description: string;
|
|
108
|
+
operational_time_zone_offset_gmt: number;
|
|
109
|
+
operational_start_time: number;
|
|
110
|
+
operational_end_time: number;
|
|
114
111
|
send_sms_on_order_status: ORDER_STATUS_ENUM[];
|
|
115
112
|
send_email_on_order_status: ORDER_STATUS_ENUM[];
|
|
116
113
|
auto_sms_platforms: PLATFORMS_ENUM[];
|
|
117
114
|
auto_email_platforms: PLATFORMS_ENUM[];
|
|
115
|
+
alert_phone_numbers: string[];
|
|
116
|
+
alert_email_addresses: string[];
|
|
117
|
+
alert_when: string[];
|
|
118
118
|
auto_accept_order_for_platforms: PLATFORMS_ENUM[];
|
|
119
119
|
custom_payment_types: string[];
|
|
120
120
|
expense_payment_types: string[];
|
|
@@ -123,30 +123,30 @@ export declare const TenantSchema: Schema<any, import("mongoose").Model<any, any
|
|
|
123
123
|
exempt_gst_for_platforms: PLATFORMS_ENUM[];
|
|
124
124
|
enabled_rating_types: import("../../constants").RATING_TYPE_ENUM[];
|
|
125
125
|
order_completion_type: ORDER_COMPLETION_TYPE_ENUM;
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
twitter_link?: string | null | undefined;
|
|
129
|
-
tiktok_link?: string | null | undefined;
|
|
130
|
-
dark_mode?: boolean | null | undefined;
|
|
131
|
-
delivery_areas_search_type?: import("../../constants").DELIVERY_AREAS_SEARCH_TYPE_ENUM | null | undefined;
|
|
126
|
+
tax_invoice_provider?: import("../../constants").TAX_INVOICE_PROVIDER_ENUM | null | undefined;
|
|
127
|
+
is_gst_inclusive?: boolean | null | undefined;
|
|
132
128
|
is_surcharge_percentage?: boolean | null | undefined;
|
|
133
129
|
is_surcharge_taxable?: boolean | null | undefined;
|
|
134
130
|
is_service_fee_percentage?: boolean | null | undefined;
|
|
135
131
|
is_service_fee_taxable?: boolean | null | undefined;
|
|
136
132
|
exclude_discount_from_gst?: boolean | null | undefined;
|
|
137
133
|
apply_service_fee_on_original_price?: boolean | null | undefined;
|
|
138
|
-
|
|
134
|
+
takeaway_is_pickup?: boolean | null | undefined;
|
|
139
135
|
hide_gst_value?: boolean | null | undefined;
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
136
|
+
receipt_qr_type?: import("../../constants").RECEIPT_QR_CODE_TYPE_ENUM | null | undefined;
|
|
137
|
+
playstore_url?: string | null | undefined;
|
|
138
|
+
appstore_url?: string | null | undefined;
|
|
139
|
+
fb_link?: string | null | undefined;
|
|
140
|
+
instagram_link?: string | null | undefined;
|
|
141
|
+
twitter_link?: string | null | undefined;
|
|
142
|
+
tiktok_link?: string | null | undefined;
|
|
143
143
|
pos_pre_ordering_days?: number | null | undefined;
|
|
144
144
|
pos_accedental_touch_protection_enabled?: boolean | null | undefined;
|
|
145
|
+
web_enable_pre_ordering?: boolean | null | undefined;
|
|
146
|
+
web_pre_ordering_visibility_minutes?: number | null | undefined;
|
|
145
147
|
web_pre_ordering_days?: number | null | undefined;
|
|
146
148
|
max_preorder_delivery_minutes?: number | null | undefined;
|
|
147
149
|
max_preorder_takeaway_minutes?: number | null | undefined;
|
|
148
|
-
web_enable_pre_ordering?: boolean | null | undefined;
|
|
149
|
-
web_pre_ordering_visibility_minutes?: number | null | undefined;
|
|
150
150
|
rider_pickup_food_image_mandatory?: boolean | null | undefined;
|
|
151
151
|
rider_dropoff_food_image_mandatory?: boolean | null | undefined;
|
|
152
152
|
disable_reason_for_discount?: boolean | null | undefined;
|
|
@@ -157,22 +157,22 @@ export declare const TenantSchema: Schema<any, import("mongoose").Model<any, any
|
|
|
157
157
|
sms_processing_account_id?: string | null | undefined;
|
|
158
158
|
email_processing_provider?: import("../../constants").EMAIL_PROCESSING_PROVIDERS_ENUM.NONE | null | undefined;
|
|
159
159
|
email_processing_account_id?: string | null | undefined;
|
|
160
|
-
takeaway_is_pickup?: boolean | null | undefined;
|
|
161
160
|
ms_clarity_id?: string | null | undefined;
|
|
162
161
|
fb_pixel_id?: string | null | undefined;
|
|
163
162
|
gtm_id?: string | null | undefined;
|
|
163
|
+
tax_invoice_generation_id?: string | null | undefined;
|
|
164
|
+
_tax_invoice_generation_token?: string | null | undefined;
|
|
164
165
|
web_hide_order_total_for_staff?: boolean | null | undefined;
|
|
165
166
|
apply_tax_on_complimentary_payment?: boolean | null | undefined;
|
|
166
167
|
web_auth_type?: import("../../constants").WEB_AUTH_TYPE_ENUM | null | undefined;
|
|
167
|
-
|
|
168
|
+
delivery_areas_search_type?: import("../../constants").DELIVERY_AREAS_SEARCH_TYPE_ENUM | null | undefined;
|
|
168
169
|
omit_offers_for_anonymous?: boolean | null | undefined;
|
|
169
|
-
|
|
170
|
-
|
|
170
|
+
edit_settled_order?: boolean | null | undefined;
|
|
171
|
+
dark_mode?: boolean | null | undefined;
|
|
171
172
|
subscription_expiry?: NativeDate | null | undefined;
|
|
172
173
|
digital_menu_images?: string[] | null | undefined;
|
|
173
174
|
web_slider_images?: string[] | null | undefined;
|
|
174
175
|
specials_name?: string | null | undefined;
|
|
175
|
-
receipt_qr_type?: import("../../constants").RECEIPT_QR_CODE_TYPE_ENUM | null | undefined;
|
|
176
176
|
menu_source?: string | null | undefined;
|
|
177
177
|
app_version?: string | null | undefined;
|
|
178
178
|
force_isolated_printing?: boolean | null | undefined;
|
|
@@ -190,38 +190,23 @@ export declare const TenantSchema: Schema<any, import("mongoose").Model<any, any
|
|
|
190
190
|
city: string;
|
|
191
191
|
country_code: COUNTRY_CODE_ENUM;
|
|
192
192
|
delivery_free_over: number;
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
public_business_name: string;
|
|
196
|
-
restaurant_address: string;
|
|
197
|
-
store_description: string;
|
|
198
|
-
web_favicon: string;
|
|
199
|
-
brand_color: string;
|
|
200
|
-
business_type: string;
|
|
201
|
-
web_enable_takeaway: boolean;
|
|
202
|
-
web_enable_delivery: boolean;
|
|
203
|
-
web_enable_dine_in: boolean;
|
|
204
|
-
country_name: COUNTRY_NAME_ENUM;
|
|
205
|
-
coordinates: number[];
|
|
206
|
-
web_cover_image: string;
|
|
207
|
-
provider_id: string;
|
|
193
|
+
currency_symbol: CURRENCY_SYMBOL_ENUM;
|
|
194
|
+
country_alpha_2: COUNTRY_ALPHA_2_ENUM;
|
|
208
195
|
packaging_charges: number;
|
|
209
|
-
|
|
196
|
+
delivery_min_cost: number;
|
|
197
|
+
restaurant_address: string;
|
|
210
198
|
support_email: string;
|
|
211
199
|
public_phone_numbers: string[];
|
|
200
|
+
tax_business_number: string;
|
|
201
|
+
business_website: string;
|
|
202
|
+
google_review_link: string;
|
|
203
|
+
provider_id: string;
|
|
212
204
|
currency_code: CURRENCY_CODE_ENUM;
|
|
213
|
-
currency_symbol: CURRENCY_SYMBOL_ENUM;
|
|
214
205
|
currency_name: CURRENCY_NAME_ENUM;
|
|
215
|
-
country_alpha_2: COUNTRY_ALPHA_2_ENUM;
|
|
216
206
|
country_alpha_3: COUNTRY_ALPHA_3_ENUM;
|
|
207
|
+
country_name: COUNTRY_NAME_ENUM;
|
|
217
208
|
country_flag: COUNTRY_FLAG_ENUM;
|
|
218
|
-
|
|
219
|
-
operational_start_time: number;
|
|
220
|
-
operational_end_time: number;
|
|
221
|
-
alert_phone_numbers: string[];
|
|
222
|
-
alert_email_addresses: string[];
|
|
223
|
-
alert_when: string[];
|
|
224
|
-
google_review_link: string;
|
|
209
|
+
coordinates: number[];
|
|
225
210
|
takeaway_time: number;
|
|
226
211
|
delivery_time: number;
|
|
227
212
|
enable_inventory: boolean;
|
|
@@ -246,6 +231,9 @@ export declare const TenantSchema: Schema<any, import("mongoose").Model<any, any
|
|
|
246
231
|
pos_end_seating_when_order_paid_off: boolean;
|
|
247
232
|
web_charge_customer_for_online_processing: boolean;
|
|
248
233
|
web_allow_ordering_till_closing_time: boolean;
|
|
234
|
+
web_enable_takeaway: boolean;
|
|
235
|
+
web_enable_delivery: boolean;
|
|
236
|
+
web_enable_dine_in: boolean;
|
|
249
237
|
default_prep_minutes: number;
|
|
250
238
|
web_opt_in_for_holiday_surcharge: boolean;
|
|
251
239
|
web_holiday_surcharge: number;
|
|
@@ -259,10 +247,10 @@ export declare const TenantSchema: Schema<any, import("mongoose").Model<any, any
|
|
|
259
247
|
order_types: string[];
|
|
260
248
|
};
|
|
261
249
|
web_unpaid_payment_types: string[];
|
|
250
|
+
dinein_service_fee: number;
|
|
262
251
|
opt_in_for_radius_based_delivery: boolean;
|
|
263
|
-
min_delivery_order_value: number;
|
|
264
252
|
delivery_radius: number;
|
|
265
|
-
|
|
253
|
+
min_delivery_order_value: number;
|
|
266
254
|
delivery_min_cost_distance_mtrs: number;
|
|
267
255
|
delivery_cost_per_meter: number;
|
|
268
256
|
delivery_order_value_per_meter: number;
|
|
@@ -274,6 +262,10 @@ export declare const TenantSchema: Schema<any, import("mongoose").Model<any, any
|
|
|
274
262
|
packaging_charges_free_over: number;
|
|
275
263
|
min_packaging_charges_order_value: number;
|
|
276
264
|
cash_in_hand_limit: number;
|
|
265
|
+
brand_color: string;
|
|
266
|
+
public_business_name: string;
|
|
267
|
+
staff_ordering_domain: string;
|
|
268
|
+
business_type: string;
|
|
277
269
|
track_order_number_by: TRACK_ORDER_NUMBER_ENUM;
|
|
278
270
|
order_number_grouping_type: ORDER_NUMBER_GROUPING_TYPE_ENUM;
|
|
279
271
|
web_show_featured_items: boolean;
|
|
@@ -281,12 +273,20 @@ export declare const TenantSchema: Schema<any, import("mongoose").Model<any, any
|
|
|
281
273
|
card_gst: number;
|
|
282
274
|
cash_gst: number;
|
|
283
275
|
default_gst_type: GST_TYPE_ENUM;
|
|
276
|
+
web_cover_image: string;
|
|
277
|
+
web_favicon: string;
|
|
284
278
|
web_design_type: ONLINE_ORDERING_DESIGN_TYPE_ENUM;
|
|
285
|
-
|
|
279
|
+
store_description: string;
|
|
280
|
+
operational_time_zone_offset_gmt: number;
|
|
281
|
+
operational_start_time: number;
|
|
282
|
+
operational_end_time: number;
|
|
286
283
|
send_sms_on_order_status: ORDER_STATUS_ENUM[];
|
|
287
284
|
send_email_on_order_status: ORDER_STATUS_ENUM[];
|
|
288
285
|
auto_sms_platforms: PLATFORMS_ENUM[];
|
|
289
286
|
auto_email_platforms: PLATFORMS_ENUM[];
|
|
287
|
+
alert_phone_numbers: string[];
|
|
288
|
+
alert_email_addresses: string[];
|
|
289
|
+
alert_when: string[];
|
|
290
290
|
auto_accept_order_for_platforms: PLATFORMS_ENUM[];
|
|
291
291
|
custom_payment_types: string[];
|
|
292
292
|
expense_payment_types: string[];
|
|
@@ -295,30 +295,30 @@ export declare const TenantSchema: Schema<any, import("mongoose").Model<any, any
|
|
|
295
295
|
exempt_gst_for_platforms: PLATFORMS_ENUM[];
|
|
296
296
|
enabled_rating_types: import("../../constants").RATING_TYPE_ENUM[];
|
|
297
297
|
order_completion_type: ORDER_COMPLETION_TYPE_ENUM;
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
twitter_link?: string | null | undefined;
|
|
301
|
-
tiktok_link?: string | null | undefined;
|
|
302
|
-
dark_mode?: boolean | null | undefined;
|
|
303
|
-
delivery_areas_search_type?: import("../../constants").DELIVERY_AREAS_SEARCH_TYPE_ENUM | null | undefined;
|
|
298
|
+
tax_invoice_provider?: import("../../constants").TAX_INVOICE_PROVIDER_ENUM | null | undefined;
|
|
299
|
+
is_gst_inclusive?: boolean | null | undefined;
|
|
304
300
|
is_surcharge_percentage?: boolean | null | undefined;
|
|
305
301
|
is_surcharge_taxable?: boolean | null | undefined;
|
|
306
302
|
is_service_fee_percentage?: boolean | null | undefined;
|
|
307
303
|
is_service_fee_taxable?: boolean | null | undefined;
|
|
308
304
|
exclude_discount_from_gst?: boolean | null | undefined;
|
|
309
305
|
apply_service_fee_on_original_price?: boolean | null | undefined;
|
|
310
|
-
|
|
306
|
+
takeaway_is_pickup?: boolean | null | undefined;
|
|
311
307
|
hide_gst_value?: boolean | null | undefined;
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
308
|
+
receipt_qr_type?: import("../../constants").RECEIPT_QR_CODE_TYPE_ENUM | null | undefined;
|
|
309
|
+
playstore_url?: string | null | undefined;
|
|
310
|
+
appstore_url?: string | null | undefined;
|
|
311
|
+
fb_link?: string | null | undefined;
|
|
312
|
+
instagram_link?: string | null | undefined;
|
|
313
|
+
twitter_link?: string | null | undefined;
|
|
314
|
+
tiktok_link?: string | null | undefined;
|
|
315
315
|
pos_pre_ordering_days?: number | null | undefined;
|
|
316
316
|
pos_accedental_touch_protection_enabled?: boolean | null | undefined;
|
|
317
|
+
web_enable_pre_ordering?: boolean | null | undefined;
|
|
318
|
+
web_pre_ordering_visibility_minutes?: number | null | undefined;
|
|
317
319
|
web_pre_ordering_days?: number | null | undefined;
|
|
318
320
|
max_preorder_delivery_minutes?: number | null | undefined;
|
|
319
321
|
max_preorder_takeaway_minutes?: number | null | undefined;
|
|
320
|
-
web_enable_pre_ordering?: boolean | null | undefined;
|
|
321
|
-
web_pre_ordering_visibility_minutes?: number | null | undefined;
|
|
322
322
|
rider_pickup_food_image_mandatory?: boolean | null | undefined;
|
|
323
323
|
rider_dropoff_food_image_mandatory?: boolean | null | undefined;
|
|
324
324
|
disable_reason_for_discount?: boolean | null | undefined;
|
|
@@ -329,22 +329,22 @@ export declare const TenantSchema: Schema<any, import("mongoose").Model<any, any
|
|
|
329
329
|
sms_processing_account_id?: string | null | undefined;
|
|
330
330
|
email_processing_provider?: import("../../constants").EMAIL_PROCESSING_PROVIDERS_ENUM.NONE | null | undefined;
|
|
331
331
|
email_processing_account_id?: string | null | undefined;
|
|
332
|
-
takeaway_is_pickup?: boolean | null | undefined;
|
|
333
332
|
ms_clarity_id?: string | null | undefined;
|
|
334
333
|
fb_pixel_id?: string | null | undefined;
|
|
335
334
|
gtm_id?: string | null | undefined;
|
|
335
|
+
tax_invoice_generation_id?: string | null | undefined;
|
|
336
|
+
_tax_invoice_generation_token?: string | null | undefined;
|
|
336
337
|
web_hide_order_total_for_staff?: boolean | null | undefined;
|
|
337
338
|
apply_tax_on_complimentary_payment?: boolean | null | undefined;
|
|
338
339
|
web_auth_type?: import("../../constants").WEB_AUTH_TYPE_ENUM | null | undefined;
|
|
339
|
-
|
|
340
|
+
delivery_areas_search_type?: import("../../constants").DELIVERY_AREAS_SEARCH_TYPE_ENUM | null | undefined;
|
|
340
341
|
omit_offers_for_anonymous?: boolean | null | undefined;
|
|
341
|
-
|
|
342
|
-
|
|
342
|
+
edit_settled_order?: boolean | null | undefined;
|
|
343
|
+
dark_mode?: boolean | null | undefined;
|
|
343
344
|
subscription_expiry?: NativeDate | null | undefined;
|
|
344
345
|
digital_menu_images?: string[] | null | undefined;
|
|
345
346
|
web_slider_images?: string[] | null | undefined;
|
|
346
347
|
specials_name?: string | null | undefined;
|
|
347
|
-
receipt_qr_type?: import("../../constants").RECEIPT_QR_CODE_TYPE_ENUM | null | undefined;
|
|
348
348
|
menu_source?: string | null | undefined;
|
|
349
349
|
app_version?: string | null | undefined;
|
|
350
350
|
force_isolated_printing?: boolean | null | undefined;
|
|
@@ -362,38 +362,23 @@ export declare const TenantSchema: Schema<any, import("mongoose").Model<any, any
|
|
|
362
362
|
city: string;
|
|
363
363
|
country_code: COUNTRY_CODE_ENUM;
|
|
364
364
|
delivery_free_over: number;
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
public_business_name: string;
|
|
368
|
-
restaurant_address: string;
|
|
369
|
-
store_description: string;
|
|
370
|
-
web_favicon: string;
|
|
371
|
-
brand_color: string;
|
|
372
|
-
business_type: string;
|
|
373
|
-
web_enable_takeaway: boolean;
|
|
374
|
-
web_enable_delivery: boolean;
|
|
375
|
-
web_enable_dine_in: boolean;
|
|
376
|
-
country_name: COUNTRY_NAME_ENUM;
|
|
377
|
-
coordinates: number[];
|
|
378
|
-
web_cover_image: string;
|
|
379
|
-
provider_id: string;
|
|
365
|
+
currency_symbol: CURRENCY_SYMBOL_ENUM;
|
|
366
|
+
country_alpha_2: COUNTRY_ALPHA_2_ENUM;
|
|
380
367
|
packaging_charges: number;
|
|
381
|
-
|
|
368
|
+
delivery_min_cost: number;
|
|
369
|
+
restaurant_address: string;
|
|
382
370
|
support_email: string;
|
|
383
371
|
public_phone_numbers: string[];
|
|
372
|
+
tax_business_number: string;
|
|
373
|
+
business_website: string;
|
|
374
|
+
google_review_link: string;
|
|
375
|
+
provider_id: string;
|
|
384
376
|
currency_code: CURRENCY_CODE_ENUM;
|
|
385
|
-
currency_symbol: CURRENCY_SYMBOL_ENUM;
|
|
386
377
|
currency_name: CURRENCY_NAME_ENUM;
|
|
387
|
-
country_alpha_2: COUNTRY_ALPHA_2_ENUM;
|
|
388
378
|
country_alpha_3: COUNTRY_ALPHA_3_ENUM;
|
|
379
|
+
country_name: COUNTRY_NAME_ENUM;
|
|
389
380
|
country_flag: COUNTRY_FLAG_ENUM;
|
|
390
|
-
|
|
391
|
-
operational_start_time: number;
|
|
392
|
-
operational_end_time: number;
|
|
393
|
-
alert_phone_numbers: string[];
|
|
394
|
-
alert_email_addresses: string[];
|
|
395
|
-
alert_when: string[];
|
|
396
|
-
google_review_link: string;
|
|
381
|
+
coordinates: number[];
|
|
397
382
|
takeaway_time: number;
|
|
398
383
|
delivery_time: number;
|
|
399
384
|
enable_inventory: boolean;
|
|
@@ -418,6 +403,9 @@ export declare const TenantSchema: Schema<any, import("mongoose").Model<any, any
|
|
|
418
403
|
pos_end_seating_when_order_paid_off: boolean;
|
|
419
404
|
web_charge_customer_for_online_processing: boolean;
|
|
420
405
|
web_allow_ordering_till_closing_time: boolean;
|
|
406
|
+
web_enable_takeaway: boolean;
|
|
407
|
+
web_enable_delivery: boolean;
|
|
408
|
+
web_enable_dine_in: boolean;
|
|
421
409
|
default_prep_minutes: number;
|
|
422
410
|
web_opt_in_for_holiday_surcharge: boolean;
|
|
423
411
|
web_holiday_surcharge: number;
|
|
@@ -431,10 +419,10 @@ export declare const TenantSchema: Schema<any, import("mongoose").Model<any, any
|
|
|
431
419
|
order_types: string[];
|
|
432
420
|
};
|
|
433
421
|
web_unpaid_payment_types: string[];
|
|
422
|
+
dinein_service_fee: number;
|
|
434
423
|
opt_in_for_radius_based_delivery: boolean;
|
|
435
|
-
min_delivery_order_value: number;
|
|
436
424
|
delivery_radius: number;
|
|
437
|
-
|
|
425
|
+
min_delivery_order_value: number;
|
|
438
426
|
delivery_min_cost_distance_mtrs: number;
|
|
439
427
|
delivery_cost_per_meter: number;
|
|
440
428
|
delivery_order_value_per_meter: number;
|
|
@@ -446,6 +434,10 @@ export declare const TenantSchema: Schema<any, import("mongoose").Model<any, any
|
|
|
446
434
|
packaging_charges_free_over: number;
|
|
447
435
|
min_packaging_charges_order_value: number;
|
|
448
436
|
cash_in_hand_limit: number;
|
|
437
|
+
brand_color: string;
|
|
438
|
+
public_business_name: string;
|
|
439
|
+
staff_ordering_domain: string;
|
|
440
|
+
business_type: string;
|
|
449
441
|
track_order_number_by: TRACK_ORDER_NUMBER_ENUM;
|
|
450
442
|
order_number_grouping_type: ORDER_NUMBER_GROUPING_TYPE_ENUM;
|
|
451
443
|
web_show_featured_items: boolean;
|
|
@@ -453,12 +445,20 @@ export declare const TenantSchema: Schema<any, import("mongoose").Model<any, any
|
|
|
453
445
|
card_gst: number;
|
|
454
446
|
cash_gst: number;
|
|
455
447
|
default_gst_type: GST_TYPE_ENUM;
|
|
448
|
+
web_cover_image: string;
|
|
449
|
+
web_favicon: string;
|
|
456
450
|
web_design_type: ONLINE_ORDERING_DESIGN_TYPE_ENUM;
|
|
457
|
-
|
|
451
|
+
store_description: string;
|
|
452
|
+
operational_time_zone_offset_gmt: number;
|
|
453
|
+
operational_start_time: number;
|
|
454
|
+
operational_end_time: number;
|
|
458
455
|
send_sms_on_order_status: ORDER_STATUS_ENUM[];
|
|
459
456
|
send_email_on_order_status: ORDER_STATUS_ENUM[];
|
|
460
457
|
auto_sms_platforms: PLATFORMS_ENUM[];
|
|
461
458
|
auto_email_platforms: PLATFORMS_ENUM[];
|
|
459
|
+
alert_phone_numbers: string[];
|
|
460
|
+
alert_email_addresses: string[];
|
|
461
|
+
alert_when: string[];
|
|
462
462
|
auto_accept_order_for_platforms: PLATFORMS_ENUM[];
|
|
463
463
|
custom_payment_types: string[];
|
|
464
464
|
expense_payment_types: string[];
|
|
@@ -467,30 +467,30 @@ export declare const TenantSchema: Schema<any, import("mongoose").Model<any, any
|
|
|
467
467
|
exempt_gst_for_platforms: PLATFORMS_ENUM[];
|
|
468
468
|
enabled_rating_types: import("../../constants").RATING_TYPE_ENUM[];
|
|
469
469
|
order_completion_type: ORDER_COMPLETION_TYPE_ENUM;
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
twitter_link?: string | null | undefined;
|
|
473
|
-
tiktok_link?: string | null | undefined;
|
|
474
|
-
dark_mode?: boolean | null | undefined;
|
|
475
|
-
delivery_areas_search_type?: import("../../constants").DELIVERY_AREAS_SEARCH_TYPE_ENUM | null | undefined;
|
|
470
|
+
tax_invoice_provider?: import("../../constants").TAX_INVOICE_PROVIDER_ENUM | null | undefined;
|
|
471
|
+
is_gst_inclusive?: boolean | null | undefined;
|
|
476
472
|
is_surcharge_percentage?: boolean | null | undefined;
|
|
477
473
|
is_surcharge_taxable?: boolean | null | undefined;
|
|
478
474
|
is_service_fee_percentage?: boolean | null | undefined;
|
|
479
475
|
is_service_fee_taxable?: boolean | null | undefined;
|
|
480
476
|
exclude_discount_from_gst?: boolean | null | undefined;
|
|
481
477
|
apply_service_fee_on_original_price?: boolean | null | undefined;
|
|
482
|
-
|
|
478
|
+
takeaway_is_pickup?: boolean | null | undefined;
|
|
483
479
|
hide_gst_value?: boolean | null | undefined;
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
480
|
+
receipt_qr_type?: import("../../constants").RECEIPT_QR_CODE_TYPE_ENUM | null | undefined;
|
|
481
|
+
playstore_url?: string | null | undefined;
|
|
482
|
+
appstore_url?: string | null | undefined;
|
|
483
|
+
fb_link?: string | null | undefined;
|
|
484
|
+
instagram_link?: string | null | undefined;
|
|
485
|
+
twitter_link?: string | null | undefined;
|
|
486
|
+
tiktok_link?: string | null | undefined;
|
|
487
487
|
pos_pre_ordering_days?: number | null | undefined;
|
|
488
488
|
pos_accedental_touch_protection_enabled?: boolean | null | undefined;
|
|
489
|
+
web_enable_pre_ordering?: boolean | null | undefined;
|
|
490
|
+
web_pre_ordering_visibility_minutes?: number | null | undefined;
|
|
489
491
|
web_pre_ordering_days?: number | null | undefined;
|
|
490
492
|
max_preorder_delivery_minutes?: number | null | undefined;
|
|
491
493
|
max_preorder_takeaway_minutes?: number | null | undefined;
|
|
492
|
-
web_enable_pre_ordering?: boolean | null | undefined;
|
|
493
|
-
web_pre_ordering_visibility_minutes?: number | null | undefined;
|
|
494
494
|
rider_pickup_food_image_mandatory?: boolean | null | undefined;
|
|
495
495
|
rider_dropoff_food_image_mandatory?: boolean | null | undefined;
|
|
496
496
|
disable_reason_for_discount?: boolean | null | undefined;
|
|
@@ -501,22 +501,22 @@ export declare const TenantSchema: Schema<any, import("mongoose").Model<any, any
|
|
|
501
501
|
sms_processing_account_id?: string | null | undefined;
|
|
502
502
|
email_processing_provider?: import("../../constants").EMAIL_PROCESSING_PROVIDERS_ENUM.NONE | null | undefined;
|
|
503
503
|
email_processing_account_id?: string | null | undefined;
|
|
504
|
-
takeaway_is_pickup?: boolean | null | undefined;
|
|
505
504
|
ms_clarity_id?: string | null | undefined;
|
|
506
505
|
fb_pixel_id?: string | null | undefined;
|
|
507
506
|
gtm_id?: string | null | undefined;
|
|
507
|
+
tax_invoice_generation_id?: string | null | undefined;
|
|
508
|
+
_tax_invoice_generation_token?: string | null | undefined;
|
|
508
509
|
web_hide_order_total_for_staff?: boolean | null | undefined;
|
|
509
510
|
apply_tax_on_complimentary_payment?: boolean | null | undefined;
|
|
510
511
|
web_auth_type?: import("../../constants").WEB_AUTH_TYPE_ENUM | null | undefined;
|
|
511
|
-
|
|
512
|
+
delivery_areas_search_type?: import("../../constants").DELIVERY_AREAS_SEARCH_TYPE_ENUM | null | undefined;
|
|
512
513
|
omit_offers_for_anonymous?: boolean | null | undefined;
|
|
513
|
-
|
|
514
|
-
|
|
514
|
+
edit_settled_order?: boolean | null | undefined;
|
|
515
|
+
dark_mode?: boolean | null | undefined;
|
|
515
516
|
subscription_expiry?: NativeDate | null | undefined;
|
|
516
517
|
digital_menu_images?: string[] | null | undefined;
|
|
517
518
|
web_slider_images?: string[] | null | undefined;
|
|
518
519
|
specials_name?: string | null | undefined;
|
|
519
|
-
receipt_qr_type?: import("../../constants").RECEIPT_QR_CODE_TYPE_ENUM | null | undefined;
|
|
520
520
|
menu_source?: string | null | undefined;
|
|
521
521
|
app_version?: string | null | undefined;
|
|
522
522
|
force_isolated_printing?: boolean | null | undefined;
|
|
@@ -19,10 +19,10 @@ export declare const VoidOrderItemSchema: Schema<any, import("mongoose").Model<a
|
|
|
19
19
|
updatedAt: NativeDate;
|
|
20
20
|
description: string;
|
|
21
21
|
order_number: number;
|
|
22
|
-
quantity: number;
|
|
23
|
-
item_id: import("mongoose").Types.ObjectId;
|
|
24
22
|
subtotal: number;
|
|
23
|
+
item_id: import("mongoose").Types.ObjectId;
|
|
25
24
|
void_reason: string;
|
|
25
|
+
quantity: number;
|
|
26
26
|
order_item_id: import("mongoose").Types.ObjectId;
|
|
27
27
|
void_type: import("../../constants").VOID_ORDER_ITEM_TYPE_ENUM;
|
|
28
28
|
iteration: number;
|
|
@@ -35,8 +35,8 @@ export declare const VoidOrderItemSchema: Schema<any, import("mongoose").Model<a
|
|
|
35
35
|
staff_id: string;
|
|
36
36
|
staff_name: string;
|
|
37
37
|
order_number: number;
|
|
38
|
-
quantity: number;
|
|
39
38
|
subtotal: number;
|
|
39
|
+
quantity: number;
|
|
40
40
|
order_item_id: import("mongoose").Types.ObjectId;
|
|
41
41
|
}, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
|
|
42
42
|
_id: import("mongoose").Types.ObjectId;
|
|
@@ -44,8 +44,8 @@ export declare const VoidOrderItemSchema: Schema<any, import("mongoose").Model<a
|
|
|
44
44
|
staff_id: string;
|
|
45
45
|
staff_name: string;
|
|
46
46
|
order_number: number;
|
|
47
|
-
quantity: number;
|
|
48
47
|
subtotal: number;
|
|
48
|
+
quantity: number;
|
|
49
49
|
order_item_id: import("mongoose").Types.ObjectId;
|
|
50
50
|
}> & {
|
|
51
51
|
_id: import("mongoose").Types.ObjectId;
|
|
@@ -53,8 +53,8 @@ export declare const VoidOrderItemSchema: Schema<any, import("mongoose").Model<a
|
|
|
53
53
|
staff_id: string;
|
|
54
54
|
staff_name: string;
|
|
55
55
|
order_number: number;
|
|
56
|
-
quantity: number;
|
|
57
56
|
subtotal: number;
|
|
57
|
+
quantity: number;
|
|
58
58
|
order_item_id: import("mongoose").Types.ObjectId;
|
|
59
59
|
}> | null | undefined;
|
|
60
60
|
}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
|
|
@@ -73,10 +73,10 @@ export declare const VoidOrderItemSchema: Schema<any, import("mongoose").Model<a
|
|
|
73
73
|
updatedAt: NativeDate;
|
|
74
74
|
description: string;
|
|
75
75
|
order_number: number;
|
|
76
|
-
quantity: number;
|
|
77
|
-
item_id: import("mongoose").Types.ObjectId;
|
|
78
76
|
subtotal: number;
|
|
77
|
+
item_id: import("mongoose").Types.ObjectId;
|
|
79
78
|
void_reason: string;
|
|
79
|
+
quantity: number;
|
|
80
80
|
order_item_id: import("mongoose").Types.ObjectId;
|
|
81
81
|
void_type: import("../../constants").VOID_ORDER_ITEM_TYPE_ENUM;
|
|
82
82
|
iteration: number;
|
|
@@ -89,8 +89,8 @@ export declare const VoidOrderItemSchema: Schema<any, import("mongoose").Model<a
|
|
|
89
89
|
staff_id: string;
|
|
90
90
|
staff_name: string;
|
|
91
91
|
order_number: number;
|
|
92
|
-
quantity: number;
|
|
93
92
|
subtotal: number;
|
|
93
|
+
quantity: number;
|
|
94
94
|
order_item_id: import("mongoose").Types.ObjectId;
|
|
95
95
|
}, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
|
|
96
96
|
_id: import("mongoose").Types.ObjectId;
|
|
@@ -98,8 +98,8 @@ export declare const VoidOrderItemSchema: Schema<any, import("mongoose").Model<a
|
|
|
98
98
|
staff_id: string;
|
|
99
99
|
staff_name: string;
|
|
100
100
|
order_number: number;
|
|
101
|
-
quantity: number;
|
|
102
101
|
subtotal: number;
|
|
102
|
+
quantity: number;
|
|
103
103
|
order_item_id: import("mongoose").Types.ObjectId;
|
|
104
104
|
}> & {
|
|
105
105
|
_id: import("mongoose").Types.ObjectId;
|
|
@@ -107,8 +107,8 @@ export declare const VoidOrderItemSchema: Schema<any, import("mongoose").Model<a
|
|
|
107
107
|
staff_id: string;
|
|
108
108
|
staff_name: string;
|
|
109
109
|
order_number: number;
|
|
110
|
-
quantity: number;
|
|
111
110
|
subtotal: number;
|
|
111
|
+
quantity: number;
|
|
112
112
|
order_item_id: import("mongoose").Types.ObjectId;
|
|
113
113
|
}> | null | undefined;
|
|
114
114
|
}>> & import("mongoose").FlatRecord<{
|
|
@@ -127,10 +127,10 @@ export declare const VoidOrderItemSchema: Schema<any, import("mongoose").Model<a
|
|
|
127
127
|
updatedAt: NativeDate;
|
|
128
128
|
description: string;
|
|
129
129
|
order_number: number;
|
|
130
|
-
quantity: number;
|
|
131
|
-
item_id: import("mongoose").Types.ObjectId;
|
|
132
130
|
subtotal: number;
|
|
131
|
+
item_id: import("mongoose").Types.ObjectId;
|
|
133
132
|
void_reason: string;
|
|
133
|
+
quantity: number;
|
|
134
134
|
order_item_id: import("mongoose").Types.ObjectId;
|
|
135
135
|
void_type: import("../../constants").VOID_ORDER_ITEM_TYPE_ENUM;
|
|
136
136
|
iteration: number;
|
|
@@ -143,8 +143,8 @@ export declare const VoidOrderItemSchema: Schema<any, import("mongoose").Model<a
|
|
|
143
143
|
staff_id: string;
|
|
144
144
|
staff_name: string;
|
|
145
145
|
order_number: number;
|
|
146
|
-
quantity: number;
|
|
147
146
|
subtotal: number;
|
|
147
|
+
quantity: number;
|
|
148
148
|
order_item_id: import("mongoose").Types.ObjectId;
|
|
149
149
|
}, import("mongoose").Types.Subdocument<import("mongoose").Types.ObjectId, any, {
|
|
150
150
|
_id: import("mongoose").Types.ObjectId;
|
|
@@ -152,8 +152,8 @@ export declare const VoidOrderItemSchema: Schema<any, import("mongoose").Model<a
|
|
|
152
152
|
staff_id: string;
|
|
153
153
|
staff_name: string;
|
|
154
154
|
order_number: number;
|
|
155
|
-
quantity: number;
|
|
156
155
|
subtotal: number;
|
|
156
|
+
quantity: number;
|
|
157
157
|
order_item_id: import("mongoose").Types.ObjectId;
|
|
158
158
|
}> & {
|
|
159
159
|
_id: import("mongoose").Types.ObjectId;
|
|
@@ -161,8 +161,8 @@ export declare const VoidOrderItemSchema: Schema<any, import("mongoose").Model<a
|
|
|
161
161
|
staff_id: string;
|
|
162
162
|
staff_name: string;
|
|
163
163
|
order_number: number;
|
|
164
|
-
quantity: number;
|
|
165
164
|
subtotal: number;
|
|
165
|
+
quantity: number;
|
|
166
166
|
order_item_id: import("mongoose").Types.ObjectId;
|
|
167
167
|
}> | null | undefined;
|
|
168
168
|
}> & Required<{
|