@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,528 +0,0 @@
|
|
|
1
|
-
import { Schema } from 'mongoose';
|
|
2
|
-
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, ONLINE_ORDERING_DESIGN_TYPE_ENUM, ORDER_COMPLETION_TYPE_ENUM, ORDER_NUMBER_GROUPING_TYPE_ENUM, ORDER_STATUS_ENUM, PLATFORMS_ENUM, RIDER_FEE_TYPE_ENUM, TRACK_ORDER_NUMBER_ENUM } from '../../constants';
|
|
3
|
-
export declare const TenantSchema: Schema<any, import("mongoose").Model<any, any, any, any, any, any>, {}, {}, {}, {}, {
|
|
4
|
-
timestamps: true;
|
|
5
|
-
versionKey: false;
|
|
6
|
-
minimize: false;
|
|
7
|
-
}, {
|
|
8
|
-
createdAt: NativeDate;
|
|
9
|
-
updatedAt: NativeDate;
|
|
10
|
-
} & {
|
|
11
|
-
_id: string;
|
|
12
|
-
name: string;
|
|
13
|
-
createdAt: NativeDate;
|
|
14
|
-
updatedAt: NativeDate;
|
|
15
|
-
image_url: string;
|
|
16
|
-
brand_id: string;
|
|
17
|
-
active: boolean;
|
|
18
|
-
city: string;
|
|
19
|
-
country_code: COUNTRY_CODE_ENUM;
|
|
20
|
-
delivery_free_over: number;
|
|
21
|
-
business_website: string;
|
|
22
|
-
staff_ordering_domain: string;
|
|
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;
|
|
36
|
-
packaging_charges: number;
|
|
37
|
-
support_email: string;
|
|
38
|
-
public_phone_numbers: string[];
|
|
39
|
-
currency_code: CURRENCY_CODE_ENUM;
|
|
40
|
-
currency_symbol: CURRENCY_SYMBOL_ENUM;
|
|
41
|
-
currency_name: CURRENCY_NAME_ENUM;
|
|
42
|
-
country_alpha_2: COUNTRY_ALPHA_2_ENUM;
|
|
43
|
-
country_alpha_3: COUNTRY_ALPHA_3_ENUM;
|
|
44
|
-
country_flag: COUNTRY_FLAG_ENUM;
|
|
45
|
-
tax_business_number: string;
|
|
46
|
-
operational_time_zone_offset_gmt: number;
|
|
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;
|
|
53
|
-
takeaway_time: number;
|
|
54
|
-
delivery_time: number;
|
|
55
|
-
enable_inventory: boolean;
|
|
56
|
-
pay_first_for_dine_in: boolean;
|
|
57
|
-
closed_store_message: string;
|
|
58
|
-
break_time_message: string;
|
|
59
|
-
announcement_message: string;
|
|
60
|
-
review_emails: string[];
|
|
61
|
-
review_phone_numbers: string[];
|
|
62
|
-
enabled_review_platforms: PLATFORMS_ENUM[];
|
|
63
|
-
payment_report_emails: string[];
|
|
64
|
-
pos_enable_internal_auth: boolean;
|
|
65
|
-
pos_enable_takeaway: boolean;
|
|
66
|
-
pos_enable_delivery: boolean;
|
|
67
|
-
pos_enable_dine_in: boolean;
|
|
68
|
-
pos_enable_drive_thru: boolean;
|
|
69
|
-
pos_enable_kiosk: boolean;
|
|
70
|
-
pos_opt_in_for_holiday_surcharge: boolean;
|
|
71
|
-
pos_holiday_surcharge: number;
|
|
72
|
-
pos_enable_card_payments: boolean;
|
|
73
|
-
pos_min_takeaway_order_value: number;
|
|
74
|
-
pos_end_seating_when_order_paid_off: boolean;
|
|
75
|
-
web_charge_customer_for_online_processing: boolean;
|
|
76
|
-
web_allow_ordering_till_closing_time: boolean;
|
|
77
|
-
default_prep_minutes: number;
|
|
78
|
-
web_opt_in_for_holiday_surcharge: boolean;
|
|
79
|
-
web_holiday_surcharge: number;
|
|
80
|
-
web_enable_cash_payments_takeaway: boolean;
|
|
81
|
-
web_enable_cash_payments_delivery: boolean;
|
|
82
|
-
web_enable_cash_payments_dine_in: boolean;
|
|
83
|
-
web_min_takeaway_order_value: number;
|
|
84
|
-
web_max_cash_order_value: number;
|
|
85
|
-
web_stop_taking_orders: {
|
|
86
|
-
date: NativeDate;
|
|
87
|
-
order_types: string[];
|
|
88
|
-
};
|
|
89
|
-
web_unpaid_payment_types: string[];
|
|
90
|
-
opt_in_for_radius_based_delivery: boolean;
|
|
91
|
-
min_delivery_order_value: number;
|
|
92
|
-
delivery_radius: number;
|
|
93
|
-
delivery_min_cost: number;
|
|
94
|
-
delivery_min_cost_distance_mtrs: number;
|
|
95
|
-
delivery_cost_per_meter: number;
|
|
96
|
-
delivery_order_value_per_meter: number;
|
|
97
|
-
static_delivery_cost_multiplier: number;
|
|
98
|
-
rider_revenue_type: RIDER_FEE_TYPE_ENUM;
|
|
99
|
-
rider_revenue_per_meter: number;
|
|
100
|
-
static_rider_revenue_multiplier: number;
|
|
101
|
-
min_service_fee_order_value: number;
|
|
102
|
-
packaging_charges_free_over: number;
|
|
103
|
-
min_packaging_charges_order_value: number;
|
|
104
|
-
cash_in_hand_limit: number;
|
|
105
|
-
track_order_number_by: TRACK_ORDER_NUMBER_ENUM;
|
|
106
|
-
order_number_grouping_type: ORDER_NUMBER_GROUPING_TYPE_ENUM;
|
|
107
|
-
web_show_featured_items: boolean;
|
|
108
|
-
featured_category_name: string;
|
|
109
|
-
card_gst: number;
|
|
110
|
-
cash_gst: number;
|
|
111
|
-
default_gst_type: GST_TYPE_ENUM;
|
|
112
|
-
web_design_type: ONLINE_ORDERING_DESIGN_TYPE_ENUM;
|
|
113
|
-
dinein_service_fee: number;
|
|
114
|
-
send_sms_on_order_status: ORDER_STATUS_ENUM[];
|
|
115
|
-
send_email_on_order_status: ORDER_STATUS_ENUM[];
|
|
116
|
-
auto_sms_platforms: PLATFORMS_ENUM[];
|
|
117
|
-
auto_email_platforms: PLATFORMS_ENUM[];
|
|
118
|
-
auto_accept_order_for_platforms: PLATFORMS_ENUM[];
|
|
119
|
-
custom_payment_types: string[];
|
|
120
|
-
expense_payment_types: string[];
|
|
121
|
-
reservation_enabled: boolean;
|
|
122
|
-
integrations: string[];
|
|
123
|
-
exempt_gst_for_platforms: PLATFORMS_ENUM[];
|
|
124
|
-
enabled_rating_types: import("../../constants").RATING_TYPE_ENUM[];
|
|
125
|
-
order_completion_type: ORDER_COMPLETION_TYPE_ENUM;
|
|
126
|
-
fb_link?: string | null | undefined;
|
|
127
|
-
instagram_link?: string | null | undefined;
|
|
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;
|
|
132
|
-
is_surcharge_percentage?: boolean | null | undefined;
|
|
133
|
-
is_surcharge_taxable?: boolean | null | undefined;
|
|
134
|
-
is_service_fee_percentage?: boolean | null | undefined;
|
|
135
|
-
is_service_fee_taxable?: boolean | null | undefined;
|
|
136
|
-
exclude_discount_from_gst?: boolean | null | undefined;
|
|
137
|
-
apply_service_fee_on_original_price?: boolean | null | undefined;
|
|
138
|
-
is_gst_inclusive?: boolean | null | undefined;
|
|
139
|
-
hide_gst_value?: boolean | null | undefined;
|
|
140
|
-
tax_invoice_provider?: import("../../constants").TAX_INVOICE_PROVIDER_ENUM | null | undefined;
|
|
141
|
-
tax_invoice_generation_id?: string | null | undefined;
|
|
142
|
-
_tax_invoice_generation_token?: string | null | undefined;
|
|
143
|
-
pos_pre_ordering_days?: number | null | undefined;
|
|
144
|
-
pos_accedental_touch_protection_enabled?: boolean | null | undefined;
|
|
145
|
-
web_pre_ordering_days?: number | null | undefined;
|
|
146
|
-
max_preorder_delivery_minutes?: number | null | undefined;
|
|
147
|
-
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
|
-
rider_pickup_food_image_mandatory?: boolean | null | undefined;
|
|
151
|
-
rider_dropoff_food_image_mandatory?: boolean | null | undefined;
|
|
152
|
-
disable_reason_for_discount?: boolean | null | undefined;
|
|
153
|
-
card_processing_provider?: import("../../constants").CARD_PROCESSING_PROVIDERS_ENUM | null | undefined;
|
|
154
|
-
card_processing_account_id?: string | null | undefined;
|
|
155
|
-
_card_processing_account_token?: string | null | undefined;
|
|
156
|
-
sms_processing_provider?: import("../../constants").SMS_PROCESSING_PROVIDERS_ENUM.NONE | null | undefined;
|
|
157
|
-
sms_processing_account_id?: string | null | undefined;
|
|
158
|
-
email_processing_provider?: import("../../constants").EMAIL_PROCESSING_PROVIDERS_ENUM.NONE | null | undefined;
|
|
159
|
-
email_processing_account_id?: string | null | undefined;
|
|
160
|
-
takeaway_is_pickup?: boolean | null | undefined;
|
|
161
|
-
ms_clarity_id?: string | null | undefined;
|
|
162
|
-
fb_pixel_id?: string | null | undefined;
|
|
163
|
-
gtm_id?: string | null | undefined;
|
|
164
|
-
web_hide_order_total_for_staff?: boolean | null | undefined;
|
|
165
|
-
apply_tax_on_complimentary_payment?: boolean | null | undefined;
|
|
166
|
-
web_auth_type?: import("../../constants").WEB_AUTH_TYPE_ENUM | null | undefined;
|
|
167
|
-
edit_settled_order?: boolean | null | undefined;
|
|
168
|
-
omit_offers_for_anonymous?: boolean | null | undefined;
|
|
169
|
-
playstore_url?: string | null | undefined;
|
|
170
|
-
appstore_url?: string | null | undefined;
|
|
171
|
-
subscription_expiry?: NativeDate | null | undefined;
|
|
172
|
-
digital_menu_images?: string[] | null | undefined;
|
|
173
|
-
web_slider_images?: string[] | null | undefined;
|
|
174
|
-
specials_name?: string | null | undefined;
|
|
175
|
-
receipt_qr_type?: import("../../constants").RECEIPT_QR_CODE_TYPE_ENUM | null | undefined;
|
|
176
|
-
menu_source?: string | null | undefined;
|
|
177
|
-
app_version?: string | null | undefined;
|
|
178
|
-
force_isolated_printing?: boolean | null | undefined;
|
|
179
|
-
}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
|
|
180
|
-
createdAt: NativeDate;
|
|
181
|
-
updatedAt: NativeDate;
|
|
182
|
-
} & {
|
|
183
|
-
_id: string;
|
|
184
|
-
name: string;
|
|
185
|
-
createdAt: NativeDate;
|
|
186
|
-
updatedAt: NativeDate;
|
|
187
|
-
image_url: string;
|
|
188
|
-
brand_id: string;
|
|
189
|
-
active: boolean;
|
|
190
|
-
city: string;
|
|
191
|
-
country_code: COUNTRY_CODE_ENUM;
|
|
192
|
-
delivery_free_over: number;
|
|
193
|
-
business_website: string;
|
|
194
|
-
staff_ordering_domain: string;
|
|
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;
|
|
208
|
-
packaging_charges: number;
|
|
209
|
-
support_email: string;
|
|
210
|
-
public_phone_numbers: string[];
|
|
211
|
-
currency_code: CURRENCY_CODE_ENUM;
|
|
212
|
-
currency_symbol: CURRENCY_SYMBOL_ENUM;
|
|
213
|
-
currency_name: CURRENCY_NAME_ENUM;
|
|
214
|
-
country_alpha_2: COUNTRY_ALPHA_2_ENUM;
|
|
215
|
-
country_alpha_3: COUNTRY_ALPHA_3_ENUM;
|
|
216
|
-
country_flag: COUNTRY_FLAG_ENUM;
|
|
217
|
-
tax_business_number: string;
|
|
218
|
-
operational_time_zone_offset_gmt: number;
|
|
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;
|
|
225
|
-
takeaway_time: number;
|
|
226
|
-
delivery_time: number;
|
|
227
|
-
enable_inventory: boolean;
|
|
228
|
-
pay_first_for_dine_in: boolean;
|
|
229
|
-
closed_store_message: string;
|
|
230
|
-
break_time_message: string;
|
|
231
|
-
announcement_message: string;
|
|
232
|
-
review_emails: string[];
|
|
233
|
-
review_phone_numbers: string[];
|
|
234
|
-
enabled_review_platforms: PLATFORMS_ENUM[];
|
|
235
|
-
payment_report_emails: string[];
|
|
236
|
-
pos_enable_internal_auth: boolean;
|
|
237
|
-
pos_enable_takeaway: boolean;
|
|
238
|
-
pos_enable_delivery: boolean;
|
|
239
|
-
pos_enable_dine_in: boolean;
|
|
240
|
-
pos_enable_drive_thru: boolean;
|
|
241
|
-
pos_enable_kiosk: boolean;
|
|
242
|
-
pos_opt_in_for_holiday_surcharge: boolean;
|
|
243
|
-
pos_holiday_surcharge: number;
|
|
244
|
-
pos_enable_card_payments: boolean;
|
|
245
|
-
pos_min_takeaway_order_value: number;
|
|
246
|
-
pos_end_seating_when_order_paid_off: boolean;
|
|
247
|
-
web_charge_customer_for_online_processing: boolean;
|
|
248
|
-
web_allow_ordering_till_closing_time: boolean;
|
|
249
|
-
default_prep_minutes: number;
|
|
250
|
-
web_opt_in_for_holiday_surcharge: boolean;
|
|
251
|
-
web_holiday_surcharge: number;
|
|
252
|
-
web_enable_cash_payments_takeaway: boolean;
|
|
253
|
-
web_enable_cash_payments_delivery: boolean;
|
|
254
|
-
web_enable_cash_payments_dine_in: boolean;
|
|
255
|
-
web_min_takeaway_order_value: number;
|
|
256
|
-
web_max_cash_order_value: number;
|
|
257
|
-
web_stop_taking_orders: {
|
|
258
|
-
date: NativeDate;
|
|
259
|
-
order_types: string[];
|
|
260
|
-
};
|
|
261
|
-
web_unpaid_payment_types: string[];
|
|
262
|
-
opt_in_for_radius_based_delivery: boolean;
|
|
263
|
-
min_delivery_order_value: number;
|
|
264
|
-
delivery_radius: number;
|
|
265
|
-
delivery_min_cost: number;
|
|
266
|
-
delivery_min_cost_distance_mtrs: number;
|
|
267
|
-
delivery_cost_per_meter: number;
|
|
268
|
-
delivery_order_value_per_meter: number;
|
|
269
|
-
static_delivery_cost_multiplier: number;
|
|
270
|
-
rider_revenue_type: RIDER_FEE_TYPE_ENUM;
|
|
271
|
-
rider_revenue_per_meter: number;
|
|
272
|
-
static_rider_revenue_multiplier: number;
|
|
273
|
-
min_service_fee_order_value: number;
|
|
274
|
-
packaging_charges_free_over: number;
|
|
275
|
-
min_packaging_charges_order_value: number;
|
|
276
|
-
cash_in_hand_limit: number;
|
|
277
|
-
track_order_number_by: TRACK_ORDER_NUMBER_ENUM;
|
|
278
|
-
order_number_grouping_type: ORDER_NUMBER_GROUPING_TYPE_ENUM;
|
|
279
|
-
web_show_featured_items: boolean;
|
|
280
|
-
featured_category_name: string;
|
|
281
|
-
card_gst: number;
|
|
282
|
-
cash_gst: number;
|
|
283
|
-
default_gst_type: GST_TYPE_ENUM;
|
|
284
|
-
web_design_type: ONLINE_ORDERING_DESIGN_TYPE_ENUM;
|
|
285
|
-
dinein_service_fee: number;
|
|
286
|
-
send_sms_on_order_status: ORDER_STATUS_ENUM[];
|
|
287
|
-
send_email_on_order_status: ORDER_STATUS_ENUM[];
|
|
288
|
-
auto_sms_platforms: PLATFORMS_ENUM[];
|
|
289
|
-
auto_email_platforms: PLATFORMS_ENUM[];
|
|
290
|
-
auto_accept_order_for_platforms: PLATFORMS_ENUM[];
|
|
291
|
-
custom_payment_types: string[];
|
|
292
|
-
expense_payment_types: string[];
|
|
293
|
-
reservation_enabled: boolean;
|
|
294
|
-
integrations: string[];
|
|
295
|
-
exempt_gst_for_platforms: PLATFORMS_ENUM[];
|
|
296
|
-
enabled_rating_types: import("../../constants").RATING_TYPE_ENUM[];
|
|
297
|
-
order_completion_type: ORDER_COMPLETION_TYPE_ENUM;
|
|
298
|
-
fb_link?: string | null | undefined;
|
|
299
|
-
instagram_link?: string | null | undefined;
|
|
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;
|
|
304
|
-
is_surcharge_percentage?: boolean | null | undefined;
|
|
305
|
-
is_surcharge_taxable?: boolean | null | undefined;
|
|
306
|
-
is_service_fee_percentage?: boolean | null | undefined;
|
|
307
|
-
is_service_fee_taxable?: boolean | null | undefined;
|
|
308
|
-
exclude_discount_from_gst?: boolean | null | undefined;
|
|
309
|
-
apply_service_fee_on_original_price?: boolean | null | undefined;
|
|
310
|
-
is_gst_inclusive?: boolean | null | undefined;
|
|
311
|
-
hide_gst_value?: boolean | null | undefined;
|
|
312
|
-
tax_invoice_provider?: import("../../constants").TAX_INVOICE_PROVIDER_ENUM | null | undefined;
|
|
313
|
-
tax_invoice_generation_id?: string | null | undefined;
|
|
314
|
-
_tax_invoice_generation_token?: string | null | undefined;
|
|
315
|
-
pos_pre_ordering_days?: number | null | undefined;
|
|
316
|
-
pos_accedental_touch_protection_enabled?: boolean | null | undefined;
|
|
317
|
-
web_pre_ordering_days?: number | null | undefined;
|
|
318
|
-
max_preorder_delivery_minutes?: number | null | undefined;
|
|
319
|
-
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
|
-
rider_pickup_food_image_mandatory?: boolean | null | undefined;
|
|
323
|
-
rider_dropoff_food_image_mandatory?: boolean | null | undefined;
|
|
324
|
-
disable_reason_for_discount?: boolean | null | undefined;
|
|
325
|
-
card_processing_provider?: import("../../constants").CARD_PROCESSING_PROVIDERS_ENUM | null | undefined;
|
|
326
|
-
card_processing_account_id?: string | null | undefined;
|
|
327
|
-
_card_processing_account_token?: string | null | undefined;
|
|
328
|
-
sms_processing_provider?: import("../../constants").SMS_PROCESSING_PROVIDERS_ENUM.NONE | null | undefined;
|
|
329
|
-
sms_processing_account_id?: string | null | undefined;
|
|
330
|
-
email_processing_provider?: import("../../constants").EMAIL_PROCESSING_PROVIDERS_ENUM.NONE | null | undefined;
|
|
331
|
-
email_processing_account_id?: string | null | undefined;
|
|
332
|
-
takeaway_is_pickup?: boolean | null | undefined;
|
|
333
|
-
ms_clarity_id?: string | null | undefined;
|
|
334
|
-
fb_pixel_id?: string | null | undefined;
|
|
335
|
-
gtm_id?: string | null | undefined;
|
|
336
|
-
web_hide_order_total_for_staff?: boolean | null | undefined;
|
|
337
|
-
apply_tax_on_complimentary_payment?: boolean | null | undefined;
|
|
338
|
-
web_auth_type?: import("../../constants").WEB_AUTH_TYPE_ENUM | null | undefined;
|
|
339
|
-
edit_settled_order?: boolean | null | undefined;
|
|
340
|
-
omit_offers_for_anonymous?: boolean | null | undefined;
|
|
341
|
-
playstore_url?: string | null | undefined;
|
|
342
|
-
appstore_url?: string | null | undefined;
|
|
343
|
-
subscription_expiry?: NativeDate | null | undefined;
|
|
344
|
-
digital_menu_images?: string[] | null | undefined;
|
|
345
|
-
web_slider_images?: string[] | null | undefined;
|
|
346
|
-
specials_name?: string | null | undefined;
|
|
347
|
-
receipt_qr_type?: import("../../constants").RECEIPT_QR_CODE_TYPE_ENUM | null | undefined;
|
|
348
|
-
menu_source?: string | null | undefined;
|
|
349
|
-
app_version?: string | null | undefined;
|
|
350
|
-
force_isolated_printing?: boolean | null | undefined;
|
|
351
|
-
}>> & import("mongoose").FlatRecord<{
|
|
352
|
-
createdAt: NativeDate;
|
|
353
|
-
updatedAt: NativeDate;
|
|
354
|
-
} & {
|
|
355
|
-
_id: string;
|
|
356
|
-
name: string;
|
|
357
|
-
createdAt: NativeDate;
|
|
358
|
-
updatedAt: NativeDate;
|
|
359
|
-
image_url: string;
|
|
360
|
-
brand_id: string;
|
|
361
|
-
active: boolean;
|
|
362
|
-
city: string;
|
|
363
|
-
country_code: COUNTRY_CODE_ENUM;
|
|
364
|
-
delivery_free_over: number;
|
|
365
|
-
business_website: string;
|
|
366
|
-
staff_ordering_domain: string;
|
|
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;
|
|
380
|
-
packaging_charges: number;
|
|
381
|
-
support_email: string;
|
|
382
|
-
public_phone_numbers: string[];
|
|
383
|
-
currency_code: CURRENCY_CODE_ENUM;
|
|
384
|
-
currency_symbol: CURRENCY_SYMBOL_ENUM;
|
|
385
|
-
currency_name: CURRENCY_NAME_ENUM;
|
|
386
|
-
country_alpha_2: COUNTRY_ALPHA_2_ENUM;
|
|
387
|
-
country_alpha_3: COUNTRY_ALPHA_3_ENUM;
|
|
388
|
-
country_flag: COUNTRY_FLAG_ENUM;
|
|
389
|
-
tax_business_number: string;
|
|
390
|
-
operational_time_zone_offset_gmt: number;
|
|
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;
|
|
397
|
-
takeaway_time: number;
|
|
398
|
-
delivery_time: number;
|
|
399
|
-
enable_inventory: boolean;
|
|
400
|
-
pay_first_for_dine_in: boolean;
|
|
401
|
-
closed_store_message: string;
|
|
402
|
-
break_time_message: string;
|
|
403
|
-
announcement_message: string;
|
|
404
|
-
review_emails: string[];
|
|
405
|
-
review_phone_numbers: string[];
|
|
406
|
-
enabled_review_platforms: PLATFORMS_ENUM[];
|
|
407
|
-
payment_report_emails: string[];
|
|
408
|
-
pos_enable_internal_auth: boolean;
|
|
409
|
-
pos_enable_takeaway: boolean;
|
|
410
|
-
pos_enable_delivery: boolean;
|
|
411
|
-
pos_enable_dine_in: boolean;
|
|
412
|
-
pos_enable_drive_thru: boolean;
|
|
413
|
-
pos_enable_kiosk: boolean;
|
|
414
|
-
pos_opt_in_for_holiday_surcharge: boolean;
|
|
415
|
-
pos_holiday_surcharge: number;
|
|
416
|
-
pos_enable_card_payments: boolean;
|
|
417
|
-
pos_min_takeaway_order_value: number;
|
|
418
|
-
pos_end_seating_when_order_paid_off: boolean;
|
|
419
|
-
web_charge_customer_for_online_processing: boolean;
|
|
420
|
-
web_allow_ordering_till_closing_time: boolean;
|
|
421
|
-
default_prep_minutes: number;
|
|
422
|
-
web_opt_in_for_holiday_surcharge: boolean;
|
|
423
|
-
web_holiday_surcharge: number;
|
|
424
|
-
web_enable_cash_payments_takeaway: boolean;
|
|
425
|
-
web_enable_cash_payments_delivery: boolean;
|
|
426
|
-
web_enable_cash_payments_dine_in: boolean;
|
|
427
|
-
web_min_takeaway_order_value: number;
|
|
428
|
-
web_max_cash_order_value: number;
|
|
429
|
-
web_stop_taking_orders: {
|
|
430
|
-
date: NativeDate;
|
|
431
|
-
order_types: string[];
|
|
432
|
-
};
|
|
433
|
-
web_unpaid_payment_types: string[];
|
|
434
|
-
opt_in_for_radius_based_delivery: boolean;
|
|
435
|
-
min_delivery_order_value: number;
|
|
436
|
-
delivery_radius: number;
|
|
437
|
-
delivery_min_cost: number;
|
|
438
|
-
delivery_min_cost_distance_mtrs: number;
|
|
439
|
-
delivery_cost_per_meter: number;
|
|
440
|
-
delivery_order_value_per_meter: number;
|
|
441
|
-
static_delivery_cost_multiplier: number;
|
|
442
|
-
rider_revenue_type: RIDER_FEE_TYPE_ENUM;
|
|
443
|
-
rider_revenue_per_meter: number;
|
|
444
|
-
static_rider_revenue_multiplier: number;
|
|
445
|
-
min_service_fee_order_value: number;
|
|
446
|
-
packaging_charges_free_over: number;
|
|
447
|
-
min_packaging_charges_order_value: number;
|
|
448
|
-
cash_in_hand_limit: number;
|
|
449
|
-
track_order_number_by: TRACK_ORDER_NUMBER_ENUM;
|
|
450
|
-
order_number_grouping_type: ORDER_NUMBER_GROUPING_TYPE_ENUM;
|
|
451
|
-
web_show_featured_items: boolean;
|
|
452
|
-
featured_category_name: string;
|
|
453
|
-
card_gst: number;
|
|
454
|
-
cash_gst: number;
|
|
455
|
-
default_gst_type: GST_TYPE_ENUM;
|
|
456
|
-
web_design_type: ONLINE_ORDERING_DESIGN_TYPE_ENUM;
|
|
457
|
-
dinein_service_fee: number;
|
|
458
|
-
send_sms_on_order_status: ORDER_STATUS_ENUM[];
|
|
459
|
-
send_email_on_order_status: ORDER_STATUS_ENUM[];
|
|
460
|
-
auto_sms_platforms: PLATFORMS_ENUM[];
|
|
461
|
-
auto_email_platforms: PLATFORMS_ENUM[];
|
|
462
|
-
auto_accept_order_for_platforms: PLATFORMS_ENUM[];
|
|
463
|
-
custom_payment_types: string[];
|
|
464
|
-
expense_payment_types: string[];
|
|
465
|
-
reservation_enabled: boolean;
|
|
466
|
-
integrations: string[];
|
|
467
|
-
exempt_gst_for_platforms: PLATFORMS_ENUM[];
|
|
468
|
-
enabled_rating_types: import("../../constants").RATING_TYPE_ENUM[];
|
|
469
|
-
order_completion_type: ORDER_COMPLETION_TYPE_ENUM;
|
|
470
|
-
fb_link?: string | null | undefined;
|
|
471
|
-
instagram_link?: string | null | undefined;
|
|
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;
|
|
476
|
-
is_surcharge_percentage?: boolean | null | undefined;
|
|
477
|
-
is_surcharge_taxable?: boolean | null | undefined;
|
|
478
|
-
is_service_fee_percentage?: boolean | null | undefined;
|
|
479
|
-
is_service_fee_taxable?: boolean | null | undefined;
|
|
480
|
-
exclude_discount_from_gst?: boolean | null | undefined;
|
|
481
|
-
apply_service_fee_on_original_price?: boolean | null | undefined;
|
|
482
|
-
is_gst_inclusive?: boolean | null | undefined;
|
|
483
|
-
hide_gst_value?: boolean | null | undefined;
|
|
484
|
-
tax_invoice_provider?: import("../../constants").TAX_INVOICE_PROVIDER_ENUM | null | undefined;
|
|
485
|
-
tax_invoice_generation_id?: string | null | undefined;
|
|
486
|
-
_tax_invoice_generation_token?: string | null | undefined;
|
|
487
|
-
pos_pre_ordering_days?: number | null | undefined;
|
|
488
|
-
pos_accedental_touch_protection_enabled?: boolean | null | undefined;
|
|
489
|
-
web_pre_ordering_days?: number | null | undefined;
|
|
490
|
-
max_preorder_delivery_minutes?: number | null | undefined;
|
|
491
|
-
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
|
-
rider_pickup_food_image_mandatory?: boolean | null | undefined;
|
|
495
|
-
rider_dropoff_food_image_mandatory?: boolean | null | undefined;
|
|
496
|
-
disable_reason_for_discount?: boolean | null | undefined;
|
|
497
|
-
card_processing_provider?: import("../../constants").CARD_PROCESSING_PROVIDERS_ENUM | null | undefined;
|
|
498
|
-
card_processing_account_id?: string | null | undefined;
|
|
499
|
-
_card_processing_account_token?: string | null | undefined;
|
|
500
|
-
sms_processing_provider?: import("../../constants").SMS_PROCESSING_PROVIDERS_ENUM.NONE | null | undefined;
|
|
501
|
-
sms_processing_account_id?: string | null | undefined;
|
|
502
|
-
email_processing_provider?: import("../../constants").EMAIL_PROCESSING_PROVIDERS_ENUM.NONE | null | undefined;
|
|
503
|
-
email_processing_account_id?: string | null | undefined;
|
|
504
|
-
takeaway_is_pickup?: boolean | null | undefined;
|
|
505
|
-
ms_clarity_id?: string | null | undefined;
|
|
506
|
-
fb_pixel_id?: string | null | undefined;
|
|
507
|
-
gtm_id?: string | null | undefined;
|
|
508
|
-
web_hide_order_total_for_staff?: boolean | null | undefined;
|
|
509
|
-
apply_tax_on_complimentary_payment?: boolean | null | undefined;
|
|
510
|
-
web_auth_type?: import("../../constants").WEB_AUTH_TYPE_ENUM | null | undefined;
|
|
511
|
-
edit_settled_order?: boolean | null | undefined;
|
|
512
|
-
omit_offers_for_anonymous?: boolean | null | undefined;
|
|
513
|
-
playstore_url?: string | null | undefined;
|
|
514
|
-
appstore_url?: string | null | undefined;
|
|
515
|
-
subscription_expiry?: NativeDate | null | undefined;
|
|
516
|
-
digital_menu_images?: string[] | null | undefined;
|
|
517
|
-
web_slider_images?: string[] | null | undefined;
|
|
518
|
-
specials_name?: string | null | undefined;
|
|
519
|
-
receipt_qr_type?: import("../../constants").RECEIPT_QR_CODE_TYPE_ENUM | null | undefined;
|
|
520
|
-
menu_source?: string | null | undefined;
|
|
521
|
-
app_version?: string | null | undefined;
|
|
522
|
-
force_isolated_printing?: boolean | null | undefined;
|
|
523
|
-
}> & Required<{
|
|
524
|
-
_id: string;
|
|
525
|
-
}> & {
|
|
526
|
-
__v: number;
|
|
527
|
-
}>;
|
|
528
|
-
export declare const TENANTS_COLLECTION_NAME = "tenants";
|