@feedmepos/mf-inventory-portal 0.0.22-dev.4 → 0.0.22-dev.40
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/dist/{ApprovalView-xF73Z1jN.js → ApprovalView-JOsQBu1z.js} +25 -26
- package/dist/{BindingsDialog-CCSAxGT4.js → BindingsDialog-DG2ZolH1.js} +9 -9
- package/dist/{BindingsPicker-ErFH0uEQ.js → BindingsPicker-B7h_iST8.js} +22 -22
- package/dist/{BindingsTable-D8ffJgIJ.js → BindingsTable-BToh6gcG.js} +1 -1
- package/dist/ClosingTemplateView-BwMJAxuz.js +1688 -0
- package/dist/FmDroppableField-CJNAT3h2.js +152 -0
- package/dist/FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-4NHQdjz7.js +266 -0
- package/dist/FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-Cc_P0kss.js +364 -0
- package/dist/IngredientBindedItem.vue_vue_type_script_setup_true_lang-DMOalXUS.js +51 -0
- package/dist/IngredientsView-ChnCqdWi.js +1611 -0
- package/dist/{IntegrationView-54yz2EqS.js → IntegrationView-NWkc9PLW.js} +71 -71
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-CKvKlCk-.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-BQW6HYyD.js} +1 -1
- package/dist/PremiumBadge.vue_vue_type_script_setup_true_lang-BQqcpZIJ.js +116 -0
- package/dist/{PurchaseOrderPrintPreview-pcpWSfl4.js → PurchaseOrderPrintPreview-BvED8ZbQ.js} +7 -7
- package/dist/ReceiveRequestView-DdxBaqmU.js +4069 -0
- package/dist/RecipeView-YdSRy_yP.js +591 -0
- package/dist/Standalone.vue.d.ts +2 -0
- package/dist/StockView-WF5z4dTF.js +7762 -0
- package/dist/{SupplierView-TYCkPXan.js → SupplierView-H2Vi5lSs.js} +111 -111
- package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-D48gSqHW.js +1137 -0
- package/dist/TransferTemplateView-DeT32cat.js +2054 -0
- package/dist/{UnitView-B9yE4-rc.js → UnitView-qD9JSdHT.js} +18 -18
- package/dist/{WarehouseView-DUtVLTjb.js → WarehouseView-C19Dd53y.js} +176 -177
- package/dist/api/bill.d.ts +84 -238
- package/dist/api/closing-template.d.ts +6 -4
- package/dist/api/inventory.d.ts +72 -85
- package/dist/api/netsuite.d.ts +47 -0
- package/dist/api/purchase-order-template.d.ts +4 -6
- package/dist/{app-w8TOQVZc.js → app-DKE_n9Mo.js} +24520 -23671
- package/dist/app.d.ts +7 -0
- package/dist/app.js +3 -3
- package/dist/components/FmFilterableMenuOptions.vue.d.ts +54 -0
- package/dist/components/FmMinMaxInputRules.d.ts +2 -0
- package/dist/components/FmUnitInputRules.d.ts +2 -0
- package/dist/components/map/GoogleMap.vue.d.ts +4 -4
- package/dist/{decimal-C4q7UMfr.js → decimal-veoPLYim.js} +1 -1
- package/dist/defineDeepModel-u6t3hXU9.js +13 -0
- package/dist/format-time-from-id-8gjg5B98.js +15 -0
- package/dist/helper/rules.d.ts +7 -0
- package/dist/helper/rules.spec.d.ts +1 -0
- package/dist/helper/xlsx.util.d.ts +7 -0
- package/dist/purchase-order-transaction-type-CIDEpjJB.js +348 -0
- package/dist/stores/api.d.ts +1 -0
- package/dist/stores/feature.d.ts +0 -1
- package/dist/stores/helper/core-store-proxy.d.ts +3 -0
- package/dist/stores/helper/generate-backend-urls.d.ts +1 -0
- package/dist/stores/inventory.d.ts +85 -0
- package/dist/stores/location.d.ts +508 -503
- package/dist/stores/netsuite.d.ts +69 -0
- package/dist/stores/route.d.ts +0 -5
- package/dist/stores/supplier.d.ts +120 -3
- package/dist/style.css +1 -1
- package/dist/supplier-DLcmVScz.js +70 -0
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/use-template-enabled-locations-2-CdJVJikY.js +85 -0
- package/dist/views/closing-template/closing-template-import/ClosingTemplateImportItem.vue.d.ts +12 -0
- package/dist/views/closing-template/closing-template-import/ClosingTemplateImportItemProps.d.ts +7 -0
- package/dist/views/closing-template/composables/use-closing-template-actions.d.ts +1093 -1026
- package/dist/views/closing-template/composables/use-closing-template-table.d.ts +1098 -1037
- package/dist/views/closing-template/helpers/import-export.helper.d.ts +58 -0
- package/dist/views/ingredients/composables/use-ingredient-form.d.ts +2 -2
- package/dist/views/receive-request/components/transfer-details/TransferDetailsProps.d.ts +1 -0
- package/dist/views/receive-request/components/transfer-form/NetSuiteField.vue.d.ts +45 -0
- package/dist/views/receive-request/components/transfer-form/TransferForm.vue.d.ts +1944 -82
- package/dist/views/receive-request/components/transfer-form/TransferFormProps.d.ts +1 -0
- package/dist/views/receive-request/composables/use-receive-request-form.d.ts +2351 -284
- package/dist/views/receive-request/composables/use-receive-request-table.d.ts +2300 -233
- package/dist/views/recipe/composables/use-recipe-form.d.ts +2 -2
- package/dist/views/stock/components/StockRecordCard.vue.d.ts +42 -119
- package/dist/views/stock/composables/use-stock-action.d.ts +2 -2
- package/dist/views/transfer-template/components/transfer-template-details/TransferTemplateDetails.vue.d.ts +0 -2
- package/dist/views/transfer-template/components/transfer-template-details/TransferTemplateDetailsProps.d.ts +0 -1
- package/dist/views/transfer-template/components/transfer-template-form/composables/use-template-enabled-locations-2.d.ts +13 -0
- package/dist/views/transfer-template/components/transfer-template-form/composables/use-template-enabled-locations.d.ts +71 -85
- package/dist/views/transfer-template/components/transfer-template-form/composables/use-transfer-locations.d.ts +39 -2
- package/dist/views/transfer-template/components/transfer-template-import/TransferTemplateImport.vue.d.ts +2 -0
- package/dist/views/transfer-template/components/transfer-template-import/TransferTemplateImportItem.vue.d.ts +12 -0
- package/dist/views/transfer-template/components/transfer-template-import/TransferTemplateImportItemProps.d.ts +9 -0
- package/dist/views/transfer-template/composables/use-transfer-template-actions.d.ts +1263 -1466
- package/dist/views/transfer-template/composables/use-transfer-template-table.d.ts +1688 -897
- package/dist/views/transfer-template/helpers/import-export.helper.d.ts +76 -0
- package/dist/views/transfer-template/helpers/remove-deleted-skus.helper.d.ts +1 -0
- package/dist/views/transfer-template/helpers/template-item.error.helper.d.ts +1 -0
- package/dist/views/unit/composables/use-unit-form.d.ts +2 -2
- package/dist/{xlsx-BggStaH1.js → xlsx-CrKrCGZz.js} +1525 -1525
- package/dist/xlsx.util-Bcpkvw1Z.js +78 -0
- package/package.json +5 -5
- package/dist/ClosingTemplateView-DdZlX1ug.js +0 -1030
- package/dist/FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-ZYtBNoaE.js +0 -372
- package/dist/IngredientsView-DnwwQJTN.js +0 -1758
- package/dist/PremiumBadge.vue_vue_type_script_setup_true_lang-Bom_KvXW.js +0 -88
- package/dist/ReceiveRequestView-D5HXMY4Z.js +0 -215
- package/dist/RecipeView-BHkTgm5H.js +0 -581
- package/dist/StockView-iczCFYxn.js +0 -1892
- package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-EN3JgHKF.js +0 -740
- package/dist/TransferDialog.vue_vue_type_script_setup_true_lang-DC0Ss5hi.js +0 -1409
- package/dist/TransferTemplateView-Bbvpuys7.js +0 -1230
- package/dist/defineDeepModel-BOApqV24.js +0 -13
- package/dist/format-time-from-id-Cafjo8fn.js +0 -15
- package/dist/id-to-date-CtSHSVJF.js +0 -30
- package/dist/layout/layout-routes.d.ts +0 -6
- package/dist/purchase-order-transaction-type-CIC5h-6x.js +0 -712
- package/dist/supplier-CM-vZ4bQ.js +0 -69
- package/dist/use-template-enabled-locations-Bm00vEzC.js +0 -57
- package/dist/xlsx.util-CqlYZLKW.js +0 -109
- /package/dist/{layout/InventoryLayout.vue.d.ts → views/closing-template/closing-template-import/ClosingTemplateImport.vue.d.ts} +0 -0
|
@@ -2,6 +2,7 @@ import type { ClosingTemplateDialogProps } from '../components/closing-template-
|
|
|
2
2
|
import { FormMode } from '@/components/form/form-mode.enum';
|
|
3
3
|
import { type Ref } from 'vue';
|
|
4
4
|
import type { ClosingTemplateDetailsProps } from '../components/closing-template-details/ClosingTemplateDetailsProps';
|
|
5
|
+
import type { RevisionIdMeta } from '@feedmepos/inventory-core';
|
|
5
6
|
type ClosingTemplateDialogPropsWithEventBinding = ClosingTemplateDialogProps & {
|
|
6
7
|
'onUpdate:show'?(show: boolean): void;
|
|
7
8
|
'onSubmitted'?(): void;
|
|
@@ -10,105 +11,32 @@ type ClosingTemplateDetailsPropsWithEventBinding = ClosingTemplateDetailsProps &
|
|
|
10
11
|
'onUpdate:show'?(show: boolean): void;
|
|
11
12
|
'onAction:edit'?(): void;
|
|
12
13
|
};
|
|
13
|
-
export declare const useClosingTemplateActions: import("pinia").StoreDefinition<"closingTemplateActions", Pick<{
|
|
14
|
+
export declare const useClosingTemplateActions: import("pinia").StoreDefinition<"closingTemplateActions", import("pinia")._UnwrapAll<Pick<{
|
|
14
15
|
createTemplate: () => void;
|
|
15
16
|
viewTemplate: (template: FdoClosingTemplate) => void;
|
|
16
17
|
updateTemplate: (template: FdoClosingTemplate) => void;
|
|
17
|
-
deleteTemplate: (template: FdoClosingTemplate, loadingRef: Ref<boolean>, onDeleted: () => void) => void;
|
|
18
|
+
deleteTemplate: (template: FdoClosingTemplate & RevisionIdMeta, loadingRef: Ref<boolean>, onDeleted: () => void) => void;
|
|
19
|
+
exportTemplates: () => void;
|
|
20
|
+
importTemplates: () => void;
|
|
18
21
|
templateDialogProps: Ref<{
|
|
19
22
|
mode?: FormMode | undefined;
|
|
20
23
|
modelValue?: {
|
|
21
24
|
ref?: string | null | undefined;
|
|
22
25
|
_rev?: string | null | undefined;
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
type: "restaurant";
|
|
26
|
-
name: string;
|
|
27
|
-
acceptRequest: boolean;
|
|
28
|
-
dbName: string;
|
|
29
|
-
} | {
|
|
30
|
-
type: "warehouse";
|
|
26
|
+
updatedAt?: Date | null | undefined;
|
|
27
|
+
locations?: {
|
|
28
|
+
type: "restaurant" | "warehouse";
|
|
31
29
|
name: string;
|
|
32
30
|
acceptRequest: boolean;
|
|
33
31
|
dbName: string;
|
|
34
32
|
doc: {
|
|
35
|
-
pf_business?: {
|
|
36
|
-
internal?: boolean | null | undefined;
|
|
37
|
-
url?: string | null | undefined;
|
|
38
|
-
expiredAt?: string | null | undefined;
|
|
39
|
-
agentId?: string | null | undefined;
|
|
40
|
-
restaurantTagGroups?: {
|
|
41
|
-
name: string;
|
|
42
|
-
id: string;
|
|
43
|
-
tags: {
|
|
44
|
-
name: string;
|
|
45
|
-
id: string;
|
|
46
|
-
}[];
|
|
47
|
-
}[] | null | undefined;
|
|
48
|
-
pf_agent?: {
|
|
49
|
-
clickupId?: string | null | undefined;
|
|
50
|
-
members?: {
|
|
51
|
-
pf_user?: {
|
|
52
|
-
email?: string | null | undefined;
|
|
53
|
-
phoneNumber?: string | null | undefined;
|
|
54
|
-
birthday?: string | null | undefined;
|
|
55
|
-
gender?: "MALE" | "FEMALE" | null | undefined;
|
|
56
|
-
addresses?: {
|
|
57
|
-
name: string;
|
|
58
|
-
address: string;
|
|
59
|
-
coordinates: number[];
|
|
60
|
-
}[] | null | undefined;
|
|
61
|
-
photoURL?: string | null | undefined;
|
|
62
|
-
displayName?: string | null | undefined;
|
|
63
|
-
imported?: {
|
|
64
|
-
raw: Record<string, any>;
|
|
65
|
-
source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
|
|
66
|
-
} | null | undefined;
|
|
67
|
-
_id: string;
|
|
68
|
-
} | null | undefined;
|
|
69
|
-
role: "ADMIN";
|
|
70
|
-
userId: string;
|
|
71
|
-
}[] | null | undefined;
|
|
72
|
-
code: string;
|
|
73
|
-
name: string;
|
|
74
|
-
_id: string;
|
|
75
|
-
isReseller: boolean;
|
|
76
|
-
} | null | undefined;
|
|
77
|
-
thumbnail?: string | null | undefined;
|
|
78
|
-
billingInfos?: {
|
|
79
|
-
_id?: string | null | undefined;
|
|
80
|
-
name: string;
|
|
81
|
-
address: {
|
|
82
|
-
coordinates?: number[] | null | undefined;
|
|
83
|
-
line2?: string | null | undefined;
|
|
84
|
-
state: string;
|
|
85
|
-
country: string;
|
|
86
|
-
line1: string;
|
|
87
|
-
city: string;
|
|
88
|
-
postcode: string;
|
|
89
|
-
};
|
|
90
|
-
email: string;
|
|
91
|
-
companyName: string;
|
|
92
|
-
contact: string;
|
|
93
|
-
}[] | null | undefined;
|
|
94
|
-
customerDisplayImages?: {
|
|
95
|
-
url: string;
|
|
96
|
-
restaurantIds: string[];
|
|
97
|
-
}[] | null | undefined;
|
|
98
|
-
name: string;
|
|
99
|
-
_id: string;
|
|
100
|
-
ownerId: string;
|
|
101
|
-
restaurantQuota: number;
|
|
102
|
-
warehouseQuota: number;
|
|
103
|
-
menuVersion: string;
|
|
104
|
-
} | null | undefined;
|
|
105
33
|
_id: string;
|
|
106
34
|
businessId: string;
|
|
107
35
|
profile: {
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
name
|
|
111
|
-
address
|
|
36
|
+
code?: string | null | undefined;
|
|
37
|
+
_id?: string | null | undefined;
|
|
38
|
+
name?: string | undefined;
|
|
39
|
+
address?: {
|
|
112
40
|
coordinates?: number[] | null | undefined;
|
|
113
41
|
line2?: string | null | undefined;
|
|
114
42
|
state: string;
|
|
@@ -116,11 +44,91 @@ export declare const useClosingTemplateActions: import("pinia").StoreDefinition<
|
|
|
116
44
|
line1: string;
|
|
117
45
|
city: string;
|
|
118
46
|
postcode: string;
|
|
119
|
-
};
|
|
120
|
-
|
|
47
|
+
} | undefined;
|
|
48
|
+
email?: string | undefined;
|
|
49
|
+
regNo?: string | undefined;
|
|
50
|
+
sstRegNo?: string | null | undefined;
|
|
51
|
+
phoneNo?: string | undefined;
|
|
52
|
+
legalName?: string | null | undefined;
|
|
53
|
+
discovery?: boolean | null | undefined;
|
|
54
|
+
coverPhoto?: string | null | undefined;
|
|
55
|
+
thumbnailPhoto?: string | null | undefined;
|
|
56
|
+
description?: string | null | undefined;
|
|
57
|
+
photos?: string[] | null | undefined;
|
|
58
|
+
operatingHours?: {
|
|
59
|
+
0: {
|
|
60
|
+
hours: {
|
|
61
|
+
end: string;
|
|
62
|
+
start: string;
|
|
63
|
+
}[];
|
|
64
|
+
enable: boolean;
|
|
65
|
+
};
|
|
66
|
+
2: {
|
|
67
|
+
hours: {
|
|
68
|
+
end: string;
|
|
69
|
+
start: string;
|
|
70
|
+
}[];
|
|
71
|
+
enable: boolean;
|
|
72
|
+
};
|
|
73
|
+
1: {
|
|
74
|
+
hours: {
|
|
75
|
+
end: string;
|
|
76
|
+
start: string;
|
|
77
|
+
}[];
|
|
78
|
+
enable: boolean;
|
|
79
|
+
};
|
|
80
|
+
3: {
|
|
81
|
+
hours: {
|
|
82
|
+
end: string;
|
|
83
|
+
start: string;
|
|
84
|
+
}[];
|
|
85
|
+
enable: boolean;
|
|
86
|
+
};
|
|
87
|
+
4: {
|
|
88
|
+
hours: {
|
|
89
|
+
end: string;
|
|
90
|
+
start: string;
|
|
91
|
+
}[];
|
|
92
|
+
enable: boolean;
|
|
93
|
+
};
|
|
94
|
+
5: {
|
|
95
|
+
hours: {
|
|
96
|
+
end: string;
|
|
97
|
+
start: string;
|
|
98
|
+
}[];
|
|
99
|
+
enable: boolean;
|
|
100
|
+
};
|
|
101
|
+
6: {
|
|
102
|
+
hours: {
|
|
103
|
+
end: string;
|
|
104
|
+
start: string;
|
|
105
|
+
}[];
|
|
106
|
+
enable: boolean;
|
|
107
|
+
};
|
|
108
|
+
} | null | undefined;
|
|
109
|
+
tags?: string[] | null | undefined;
|
|
110
|
+
url?: string | null | undefined;
|
|
121
111
|
};
|
|
122
112
|
};
|
|
123
|
-
}
|
|
113
|
+
}[] | null | undefined;
|
|
114
|
+
updatedBy?: {
|
|
115
|
+
email?: string | null | undefined;
|
|
116
|
+
phoneNumber?: string | null | undefined;
|
|
117
|
+
birthday?: string | null | undefined;
|
|
118
|
+
gender?: "MALE" | "FEMALE" | null | undefined;
|
|
119
|
+
addresses?: {
|
|
120
|
+
name: string;
|
|
121
|
+
address: string;
|
|
122
|
+
coordinates: number[];
|
|
123
|
+
}[] | null | undefined;
|
|
124
|
+
photoURL?: string | null | undefined;
|
|
125
|
+
displayName?: string | null | undefined;
|
|
126
|
+
imported?: {
|
|
127
|
+
raw: Record<string, any>;
|
|
128
|
+
source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
|
|
129
|
+
} | null | undefined;
|
|
130
|
+
_id: string;
|
|
131
|
+
} | null | undefined;
|
|
124
132
|
_id: string;
|
|
125
133
|
items: {
|
|
126
134
|
disabledMeasurements?: string[] | null | undefined;
|
|
@@ -198,95 +206,20 @@ export declare const useClosingTemplateActions: import("pinia").StoreDefinition<
|
|
|
198
206
|
modelValue?: {
|
|
199
207
|
ref?: string | null | undefined;
|
|
200
208
|
_rev?: string | null | undefined;
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
type: "restaurant";
|
|
204
|
-
name: string;
|
|
205
|
-
acceptRequest: boolean;
|
|
206
|
-
dbName: string;
|
|
207
|
-
} | {
|
|
208
|
-
type: "warehouse";
|
|
209
|
+
updatedAt?: Date | null | undefined;
|
|
210
|
+
locations?: {
|
|
211
|
+
type: "restaurant" | "warehouse";
|
|
209
212
|
name: string;
|
|
210
213
|
acceptRequest: boolean;
|
|
211
214
|
dbName: string;
|
|
212
215
|
doc: {
|
|
213
|
-
pf_business?: {
|
|
214
|
-
internal?: boolean | null | undefined;
|
|
215
|
-
url?: string | null | undefined;
|
|
216
|
-
expiredAt?: string | null | undefined;
|
|
217
|
-
agentId?: string | null | undefined;
|
|
218
|
-
restaurantTagGroups?: {
|
|
219
|
-
name: string;
|
|
220
|
-
id: string;
|
|
221
|
-
tags: {
|
|
222
|
-
name: string;
|
|
223
|
-
id: string;
|
|
224
|
-
}[];
|
|
225
|
-
}[] | null | undefined;
|
|
226
|
-
pf_agent?: {
|
|
227
|
-
clickupId?: string | null | undefined;
|
|
228
|
-
members?: {
|
|
229
|
-
pf_user?: {
|
|
230
|
-
email?: string | null | undefined;
|
|
231
|
-
phoneNumber?: string | null | undefined;
|
|
232
|
-
birthday?: string | null | undefined;
|
|
233
|
-
gender?: "MALE" | "FEMALE" | null | undefined;
|
|
234
|
-
addresses?: {
|
|
235
|
-
name: string;
|
|
236
|
-
address: string;
|
|
237
|
-
coordinates: number[];
|
|
238
|
-
}[] | null | undefined;
|
|
239
|
-
photoURL?: string | null | undefined;
|
|
240
|
-
displayName?: string | null | undefined;
|
|
241
|
-
imported?: {
|
|
242
|
-
raw: Record<string, any>;
|
|
243
|
-
source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
|
|
244
|
-
} | null | undefined;
|
|
245
|
-
_id: string;
|
|
246
|
-
} | null | undefined;
|
|
247
|
-
role: "ADMIN";
|
|
248
|
-
userId: string;
|
|
249
|
-
}[] | null | undefined;
|
|
250
|
-
code: string;
|
|
251
|
-
name: string;
|
|
252
|
-
_id: string;
|
|
253
|
-
isReseller: boolean;
|
|
254
|
-
} | null | undefined;
|
|
255
|
-
thumbnail?: string | null | undefined;
|
|
256
|
-
billingInfos?: {
|
|
257
|
-
_id?: string | null | undefined;
|
|
258
|
-
name: string;
|
|
259
|
-
address: {
|
|
260
|
-
coordinates?: number[] | null | undefined;
|
|
261
|
-
line2?: string | null | undefined;
|
|
262
|
-
state: string;
|
|
263
|
-
country: string;
|
|
264
|
-
line1: string;
|
|
265
|
-
city: string;
|
|
266
|
-
postcode: string;
|
|
267
|
-
};
|
|
268
|
-
email: string;
|
|
269
|
-
companyName: string;
|
|
270
|
-
contact: string;
|
|
271
|
-
}[] | null | undefined;
|
|
272
|
-
customerDisplayImages?: {
|
|
273
|
-
url: string;
|
|
274
|
-
restaurantIds: string[];
|
|
275
|
-
}[] | null | undefined;
|
|
276
|
-
name: string;
|
|
277
|
-
_id: string;
|
|
278
|
-
ownerId: string;
|
|
279
|
-
restaurantQuota: number;
|
|
280
|
-
warehouseQuota: number;
|
|
281
|
-
menuVersion: string;
|
|
282
|
-
} | null | undefined;
|
|
283
216
|
_id: string;
|
|
284
217
|
businessId: string;
|
|
285
218
|
profile: {
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
name
|
|
289
|
-
address
|
|
219
|
+
code?: string | null | undefined;
|
|
220
|
+
_id?: string | null | undefined;
|
|
221
|
+
name?: string | undefined;
|
|
222
|
+
address?: {
|
|
290
223
|
coordinates?: number[] | null | undefined;
|
|
291
224
|
line2?: string | null | undefined;
|
|
292
225
|
state: string;
|
|
@@ -294,11 +227,91 @@ export declare const useClosingTemplateActions: import("pinia").StoreDefinition<
|
|
|
294
227
|
line1: string;
|
|
295
228
|
city: string;
|
|
296
229
|
postcode: string;
|
|
297
|
-
};
|
|
298
|
-
|
|
230
|
+
} | undefined;
|
|
231
|
+
email?: string | undefined;
|
|
232
|
+
regNo?: string | undefined;
|
|
233
|
+
sstRegNo?: string | null | undefined;
|
|
234
|
+
phoneNo?: string | undefined;
|
|
235
|
+
legalName?: string | null | undefined;
|
|
236
|
+
discovery?: boolean | null | undefined;
|
|
237
|
+
coverPhoto?: string | null | undefined;
|
|
238
|
+
thumbnailPhoto?: string | null | undefined;
|
|
239
|
+
description?: string | null | undefined;
|
|
240
|
+
photos?: string[] | null | undefined;
|
|
241
|
+
operatingHours?: {
|
|
242
|
+
0: {
|
|
243
|
+
hours: {
|
|
244
|
+
end: string;
|
|
245
|
+
start: string;
|
|
246
|
+
}[];
|
|
247
|
+
enable: boolean;
|
|
248
|
+
};
|
|
249
|
+
2: {
|
|
250
|
+
hours: {
|
|
251
|
+
end: string;
|
|
252
|
+
start: string;
|
|
253
|
+
}[];
|
|
254
|
+
enable: boolean;
|
|
255
|
+
};
|
|
256
|
+
1: {
|
|
257
|
+
hours: {
|
|
258
|
+
end: string;
|
|
259
|
+
start: string;
|
|
260
|
+
}[];
|
|
261
|
+
enable: boolean;
|
|
262
|
+
};
|
|
263
|
+
3: {
|
|
264
|
+
hours: {
|
|
265
|
+
end: string;
|
|
266
|
+
start: string;
|
|
267
|
+
}[];
|
|
268
|
+
enable: boolean;
|
|
269
|
+
};
|
|
270
|
+
4: {
|
|
271
|
+
hours: {
|
|
272
|
+
end: string;
|
|
273
|
+
start: string;
|
|
274
|
+
}[];
|
|
275
|
+
enable: boolean;
|
|
276
|
+
};
|
|
277
|
+
5: {
|
|
278
|
+
hours: {
|
|
279
|
+
end: string;
|
|
280
|
+
start: string;
|
|
281
|
+
}[];
|
|
282
|
+
enable: boolean;
|
|
283
|
+
};
|
|
284
|
+
6: {
|
|
285
|
+
hours: {
|
|
286
|
+
end: string;
|
|
287
|
+
start: string;
|
|
288
|
+
}[];
|
|
289
|
+
enable: boolean;
|
|
290
|
+
};
|
|
291
|
+
} | null | undefined;
|
|
292
|
+
tags?: string[] | null | undefined;
|
|
293
|
+
url?: string | null | undefined;
|
|
299
294
|
};
|
|
300
295
|
};
|
|
301
|
-
}
|
|
296
|
+
}[] | null | undefined;
|
|
297
|
+
updatedBy?: {
|
|
298
|
+
email?: string | null | undefined;
|
|
299
|
+
phoneNumber?: string | null | undefined;
|
|
300
|
+
birthday?: string | null | undefined;
|
|
301
|
+
gender?: "MALE" | "FEMALE" | null | undefined;
|
|
302
|
+
addresses?: {
|
|
303
|
+
name: string;
|
|
304
|
+
address: string;
|
|
305
|
+
coordinates: number[];
|
|
306
|
+
}[] | null | undefined;
|
|
307
|
+
photoURL?: string | null | undefined;
|
|
308
|
+
displayName?: string | null | undefined;
|
|
309
|
+
imported?: {
|
|
310
|
+
raw: Record<string, any>;
|
|
311
|
+
source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
|
|
312
|
+
} | null | undefined;
|
|
313
|
+
_id: string;
|
|
314
|
+
} | null | undefined;
|
|
302
315
|
_id: string;
|
|
303
316
|
items: {
|
|
304
317
|
disabledMeasurements?: string[] | null | undefined;
|
|
@@ -376,95 +389,20 @@ export declare const useClosingTemplateActions: import("pinia").StoreDefinition<
|
|
|
376
389
|
template?: {
|
|
377
390
|
ref?: string | null | undefined;
|
|
378
391
|
_rev?: string | null | undefined;
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
type: "restaurant";
|
|
382
|
-
name: string;
|
|
383
|
-
acceptRequest: boolean;
|
|
384
|
-
dbName: string;
|
|
385
|
-
} | {
|
|
386
|
-
type: "warehouse";
|
|
392
|
+
updatedAt?: Date | null | undefined;
|
|
393
|
+
locations?: {
|
|
394
|
+
type: "restaurant" | "warehouse";
|
|
387
395
|
name: string;
|
|
388
396
|
acceptRequest: boolean;
|
|
389
397
|
dbName: string;
|
|
390
398
|
doc: {
|
|
391
|
-
pf_business?: {
|
|
392
|
-
internal?: boolean | null | undefined;
|
|
393
|
-
url?: string | null | undefined;
|
|
394
|
-
expiredAt?: string | null | undefined;
|
|
395
|
-
agentId?: string | null | undefined;
|
|
396
|
-
restaurantTagGroups?: {
|
|
397
|
-
name: string;
|
|
398
|
-
id: string;
|
|
399
|
-
tags: {
|
|
400
|
-
name: string;
|
|
401
|
-
id: string;
|
|
402
|
-
}[];
|
|
403
|
-
}[] | null | undefined;
|
|
404
|
-
pf_agent?: {
|
|
405
|
-
clickupId?: string | null | undefined;
|
|
406
|
-
members?: {
|
|
407
|
-
pf_user?: {
|
|
408
|
-
email?: string | null | undefined;
|
|
409
|
-
phoneNumber?: string | null | undefined;
|
|
410
|
-
birthday?: string | null | undefined;
|
|
411
|
-
gender?: "MALE" | "FEMALE" | null | undefined;
|
|
412
|
-
addresses?: {
|
|
413
|
-
name: string;
|
|
414
|
-
address: string;
|
|
415
|
-
coordinates: number[];
|
|
416
|
-
}[] | null | undefined;
|
|
417
|
-
photoURL?: string | null | undefined;
|
|
418
|
-
displayName?: string | null | undefined;
|
|
419
|
-
imported?: {
|
|
420
|
-
raw: Record<string, any>;
|
|
421
|
-
source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
|
|
422
|
-
} | null | undefined;
|
|
423
|
-
_id: string;
|
|
424
|
-
} | null | undefined;
|
|
425
|
-
role: "ADMIN";
|
|
426
|
-
userId: string;
|
|
427
|
-
}[] | null | undefined;
|
|
428
|
-
code: string;
|
|
429
|
-
name: string;
|
|
430
|
-
_id: string;
|
|
431
|
-
isReseller: boolean;
|
|
432
|
-
} | null | undefined;
|
|
433
|
-
thumbnail?: string | null | undefined;
|
|
434
|
-
billingInfos?: {
|
|
435
|
-
_id?: string | null | undefined;
|
|
436
|
-
name: string;
|
|
437
|
-
address: {
|
|
438
|
-
coordinates?: number[] | null | undefined;
|
|
439
|
-
line2?: string | null | undefined;
|
|
440
|
-
state: string;
|
|
441
|
-
country: string;
|
|
442
|
-
line1: string;
|
|
443
|
-
city: string;
|
|
444
|
-
postcode: string;
|
|
445
|
-
};
|
|
446
|
-
email: string;
|
|
447
|
-
companyName: string;
|
|
448
|
-
contact: string;
|
|
449
|
-
}[] | null | undefined;
|
|
450
|
-
customerDisplayImages?: {
|
|
451
|
-
url: string;
|
|
452
|
-
restaurantIds: string[];
|
|
453
|
-
}[] | null | undefined;
|
|
454
|
-
name: string;
|
|
455
|
-
_id: string;
|
|
456
|
-
ownerId: string;
|
|
457
|
-
restaurantQuota: number;
|
|
458
|
-
warehouseQuota: number;
|
|
459
|
-
menuVersion: string;
|
|
460
|
-
} | null | undefined;
|
|
461
399
|
_id: string;
|
|
462
400
|
businessId: string;
|
|
463
401
|
profile: {
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
name
|
|
467
|
-
address
|
|
402
|
+
code?: string | null | undefined;
|
|
403
|
+
_id?: string | null | undefined;
|
|
404
|
+
name?: string | undefined;
|
|
405
|
+
address?: {
|
|
468
406
|
coordinates?: number[] | null | undefined;
|
|
469
407
|
line2?: string | null | undefined;
|
|
470
408
|
state: string;
|
|
@@ -472,11 +410,91 @@ export declare const useClosingTemplateActions: import("pinia").StoreDefinition<
|
|
|
472
410
|
line1: string;
|
|
473
411
|
city: string;
|
|
474
412
|
postcode: string;
|
|
475
|
-
};
|
|
476
|
-
|
|
413
|
+
} | undefined;
|
|
414
|
+
email?: string | undefined;
|
|
415
|
+
regNo?: string | undefined;
|
|
416
|
+
sstRegNo?: string | null | undefined;
|
|
417
|
+
phoneNo?: string | undefined;
|
|
418
|
+
legalName?: string | null | undefined;
|
|
419
|
+
discovery?: boolean | null | undefined;
|
|
420
|
+
coverPhoto?: string | null | undefined;
|
|
421
|
+
thumbnailPhoto?: string | null | undefined;
|
|
422
|
+
description?: string | null | undefined;
|
|
423
|
+
photos?: string[] | null | undefined;
|
|
424
|
+
operatingHours?: {
|
|
425
|
+
0: {
|
|
426
|
+
hours: {
|
|
427
|
+
end: string;
|
|
428
|
+
start: string;
|
|
429
|
+
}[];
|
|
430
|
+
enable: boolean;
|
|
431
|
+
};
|
|
432
|
+
2: {
|
|
433
|
+
hours: {
|
|
434
|
+
end: string;
|
|
435
|
+
start: string;
|
|
436
|
+
}[];
|
|
437
|
+
enable: boolean;
|
|
438
|
+
};
|
|
439
|
+
1: {
|
|
440
|
+
hours: {
|
|
441
|
+
end: string;
|
|
442
|
+
start: string;
|
|
443
|
+
}[];
|
|
444
|
+
enable: boolean;
|
|
445
|
+
};
|
|
446
|
+
3: {
|
|
447
|
+
hours: {
|
|
448
|
+
end: string;
|
|
449
|
+
start: string;
|
|
450
|
+
}[];
|
|
451
|
+
enable: boolean;
|
|
452
|
+
};
|
|
453
|
+
4: {
|
|
454
|
+
hours: {
|
|
455
|
+
end: string;
|
|
456
|
+
start: string;
|
|
457
|
+
}[];
|
|
458
|
+
enable: boolean;
|
|
459
|
+
};
|
|
460
|
+
5: {
|
|
461
|
+
hours: {
|
|
462
|
+
end: string;
|
|
463
|
+
start: string;
|
|
464
|
+
}[];
|
|
465
|
+
enable: boolean;
|
|
466
|
+
};
|
|
467
|
+
6: {
|
|
468
|
+
hours: {
|
|
469
|
+
end: string;
|
|
470
|
+
start: string;
|
|
471
|
+
}[];
|
|
472
|
+
enable: boolean;
|
|
473
|
+
};
|
|
474
|
+
} | null | undefined;
|
|
475
|
+
tags?: string[] | null | undefined;
|
|
476
|
+
url?: string | null | undefined;
|
|
477
477
|
};
|
|
478
478
|
};
|
|
479
|
-
}
|
|
479
|
+
}[] | null | undefined;
|
|
480
|
+
updatedBy?: {
|
|
481
|
+
email?: string | null | undefined;
|
|
482
|
+
phoneNumber?: string | null | undefined;
|
|
483
|
+
birthday?: string | null | undefined;
|
|
484
|
+
gender?: "MALE" | "FEMALE" | null | undefined;
|
|
485
|
+
addresses?: {
|
|
486
|
+
name: string;
|
|
487
|
+
address: string;
|
|
488
|
+
coordinates: number[];
|
|
489
|
+
}[] | null | undefined;
|
|
490
|
+
photoURL?: string | null | undefined;
|
|
491
|
+
displayName?: string | null | undefined;
|
|
492
|
+
imported?: {
|
|
493
|
+
raw: Record<string, any>;
|
|
494
|
+
source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
|
|
495
|
+
} | null | undefined;
|
|
496
|
+
_id: string;
|
|
497
|
+
} | null | undefined;
|
|
480
498
|
_id: string;
|
|
481
499
|
items: {
|
|
482
500
|
disabledMeasurements?: string[] | null | undefined;
|
|
@@ -553,95 +571,20 @@ export declare const useClosingTemplateActions: import("pinia").StoreDefinition<
|
|
|
553
571
|
template?: {
|
|
554
572
|
ref?: string | null | undefined;
|
|
555
573
|
_rev?: string | null | undefined;
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
type: "restaurant";
|
|
559
|
-
name: string;
|
|
560
|
-
acceptRequest: boolean;
|
|
561
|
-
dbName: string;
|
|
562
|
-
} | {
|
|
563
|
-
type: "warehouse";
|
|
574
|
+
updatedAt?: Date | null | undefined;
|
|
575
|
+
locations?: {
|
|
576
|
+
type: "restaurant" | "warehouse";
|
|
564
577
|
name: string;
|
|
565
578
|
acceptRequest: boolean;
|
|
566
579
|
dbName: string;
|
|
567
580
|
doc: {
|
|
568
|
-
pf_business?: {
|
|
569
|
-
internal?: boolean | null | undefined;
|
|
570
|
-
url?: string | null | undefined;
|
|
571
|
-
expiredAt?: string | null | undefined;
|
|
572
|
-
agentId?: string | null | undefined;
|
|
573
|
-
restaurantTagGroups?: {
|
|
574
|
-
name: string;
|
|
575
|
-
id: string;
|
|
576
|
-
tags: {
|
|
577
|
-
name: string;
|
|
578
|
-
id: string;
|
|
579
|
-
}[];
|
|
580
|
-
}[] | null | undefined;
|
|
581
|
-
pf_agent?: {
|
|
582
|
-
clickupId?: string | null | undefined;
|
|
583
|
-
members?: {
|
|
584
|
-
pf_user?: {
|
|
585
|
-
email?: string | null | undefined;
|
|
586
|
-
phoneNumber?: string | null | undefined;
|
|
587
|
-
birthday?: string | null | undefined;
|
|
588
|
-
gender?: "MALE" | "FEMALE" | null | undefined;
|
|
589
|
-
addresses?: {
|
|
590
|
-
name: string;
|
|
591
|
-
address: string;
|
|
592
|
-
coordinates: number[];
|
|
593
|
-
}[] | null | undefined;
|
|
594
|
-
photoURL?: string | null | undefined;
|
|
595
|
-
displayName?: string | null | undefined;
|
|
596
|
-
imported?: {
|
|
597
|
-
raw: Record<string, any>;
|
|
598
|
-
source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
|
|
599
|
-
} | null | undefined;
|
|
600
|
-
_id: string;
|
|
601
|
-
} | null | undefined;
|
|
602
|
-
role: "ADMIN";
|
|
603
|
-
userId: string;
|
|
604
|
-
}[] | null | undefined;
|
|
605
|
-
code: string;
|
|
606
|
-
name: string;
|
|
607
|
-
_id: string;
|
|
608
|
-
isReseller: boolean;
|
|
609
|
-
} | null | undefined;
|
|
610
|
-
thumbnail?: string | null | undefined;
|
|
611
|
-
billingInfos?: {
|
|
612
|
-
_id?: string | null | undefined;
|
|
613
|
-
name: string;
|
|
614
|
-
address: {
|
|
615
|
-
coordinates?: number[] | null | undefined;
|
|
616
|
-
line2?: string | null | undefined;
|
|
617
|
-
state: string;
|
|
618
|
-
country: string;
|
|
619
|
-
line1: string;
|
|
620
|
-
city: string;
|
|
621
|
-
postcode: string;
|
|
622
|
-
};
|
|
623
|
-
email: string;
|
|
624
|
-
companyName: string;
|
|
625
|
-
contact: string;
|
|
626
|
-
}[] | null | undefined;
|
|
627
|
-
customerDisplayImages?: {
|
|
628
|
-
url: string;
|
|
629
|
-
restaurantIds: string[];
|
|
630
|
-
}[] | null | undefined;
|
|
631
|
-
name: string;
|
|
632
|
-
_id: string;
|
|
633
|
-
ownerId: string;
|
|
634
|
-
restaurantQuota: number;
|
|
635
|
-
warehouseQuota: number;
|
|
636
|
-
menuVersion: string;
|
|
637
|
-
} | null | undefined;
|
|
638
581
|
_id: string;
|
|
639
582
|
businessId: string;
|
|
640
583
|
profile: {
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
name
|
|
644
|
-
address
|
|
584
|
+
code?: string | null | undefined;
|
|
585
|
+
_id?: string | null | undefined;
|
|
586
|
+
name?: string | undefined;
|
|
587
|
+
address?: {
|
|
645
588
|
coordinates?: number[] | null | undefined;
|
|
646
589
|
line2?: string | null | undefined;
|
|
647
590
|
state: string;
|
|
@@ -649,11 +592,91 @@ export declare const useClosingTemplateActions: import("pinia").StoreDefinition<
|
|
|
649
592
|
line1: string;
|
|
650
593
|
city: string;
|
|
651
594
|
postcode: string;
|
|
652
|
-
};
|
|
653
|
-
|
|
595
|
+
} | undefined;
|
|
596
|
+
email?: string | undefined;
|
|
597
|
+
regNo?: string | undefined;
|
|
598
|
+
sstRegNo?: string | null | undefined;
|
|
599
|
+
phoneNo?: string | undefined;
|
|
600
|
+
legalName?: string | null | undefined;
|
|
601
|
+
discovery?: boolean | null | undefined;
|
|
602
|
+
coverPhoto?: string | null | undefined;
|
|
603
|
+
thumbnailPhoto?: string | null | undefined;
|
|
604
|
+
description?: string | null | undefined;
|
|
605
|
+
photos?: string[] | null | undefined;
|
|
606
|
+
operatingHours?: {
|
|
607
|
+
0: {
|
|
608
|
+
hours: {
|
|
609
|
+
end: string;
|
|
610
|
+
start: string;
|
|
611
|
+
}[];
|
|
612
|
+
enable: boolean;
|
|
613
|
+
};
|
|
614
|
+
2: {
|
|
615
|
+
hours: {
|
|
616
|
+
end: string;
|
|
617
|
+
start: string;
|
|
618
|
+
}[];
|
|
619
|
+
enable: boolean;
|
|
620
|
+
};
|
|
621
|
+
1: {
|
|
622
|
+
hours: {
|
|
623
|
+
end: string;
|
|
624
|
+
start: string;
|
|
625
|
+
}[];
|
|
626
|
+
enable: boolean;
|
|
627
|
+
};
|
|
628
|
+
3: {
|
|
629
|
+
hours: {
|
|
630
|
+
end: string;
|
|
631
|
+
start: string;
|
|
632
|
+
}[];
|
|
633
|
+
enable: boolean;
|
|
634
|
+
};
|
|
635
|
+
4: {
|
|
636
|
+
hours: {
|
|
637
|
+
end: string;
|
|
638
|
+
start: string;
|
|
639
|
+
}[];
|
|
640
|
+
enable: boolean;
|
|
641
|
+
};
|
|
642
|
+
5: {
|
|
643
|
+
hours: {
|
|
644
|
+
end: string;
|
|
645
|
+
start: string;
|
|
646
|
+
}[];
|
|
647
|
+
enable: boolean;
|
|
648
|
+
};
|
|
649
|
+
6: {
|
|
650
|
+
hours: {
|
|
651
|
+
end: string;
|
|
652
|
+
start: string;
|
|
653
|
+
}[];
|
|
654
|
+
enable: boolean;
|
|
655
|
+
};
|
|
656
|
+
} | null | undefined;
|
|
657
|
+
tags?: string[] | null | undefined;
|
|
658
|
+
url?: string | null | undefined;
|
|
654
659
|
};
|
|
655
660
|
};
|
|
656
|
-
}
|
|
661
|
+
}[] | null | undefined;
|
|
662
|
+
updatedBy?: {
|
|
663
|
+
email?: string | null | undefined;
|
|
664
|
+
phoneNumber?: string | null | undefined;
|
|
665
|
+
birthday?: string | null | undefined;
|
|
666
|
+
gender?: "MALE" | "FEMALE" | null | undefined;
|
|
667
|
+
addresses?: {
|
|
668
|
+
name: string;
|
|
669
|
+
address: string;
|
|
670
|
+
coordinates: number[];
|
|
671
|
+
}[] | null | undefined;
|
|
672
|
+
photoURL?: string | null | undefined;
|
|
673
|
+
displayName?: string | null | undefined;
|
|
674
|
+
imported?: {
|
|
675
|
+
raw: Record<string, any>;
|
|
676
|
+
source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
|
|
677
|
+
} | null | undefined;
|
|
678
|
+
_id: string;
|
|
679
|
+
} | null | undefined;
|
|
657
680
|
_id: string;
|
|
658
681
|
items: {
|
|
659
682
|
disabledMeasurements?: string[] | null | undefined;
|
|
@@ -727,105 +750,32 @@ export declare const useClosingTemplateActions: import("pinia").StoreDefinition<
|
|
|
727
750
|
'onUpdate:show'?: ((show: boolean) => void) | undefined;
|
|
728
751
|
'onAction:edit'?: (() => void) | undefined;
|
|
729
752
|
}>;
|
|
730
|
-
}, "templateDialogProps" | "templateDetailsProps"
|
|
753
|
+
}, "templateDialogProps" | "templateDetailsProps">>, Pick<{
|
|
731
754
|
createTemplate: () => void;
|
|
732
755
|
viewTemplate: (template: FdoClosingTemplate) => void;
|
|
733
756
|
updateTemplate: (template: FdoClosingTemplate) => void;
|
|
734
|
-
deleteTemplate: (template: FdoClosingTemplate, loadingRef: Ref<boolean>, onDeleted: () => void) => void;
|
|
757
|
+
deleteTemplate: (template: FdoClosingTemplate & RevisionIdMeta, loadingRef: Ref<boolean>, onDeleted: () => void) => void;
|
|
758
|
+
exportTemplates: () => void;
|
|
759
|
+
importTemplates: () => void;
|
|
735
760
|
templateDialogProps: Ref<{
|
|
736
761
|
mode?: FormMode | undefined;
|
|
737
762
|
modelValue?: {
|
|
738
763
|
ref?: string | null | undefined;
|
|
739
764
|
_rev?: string | null | undefined;
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
type: "restaurant";
|
|
743
|
-
name: string;
|
|
744
|
-
acceptRequest: boolean;
|
|
745
|
-
dbName: string;
|
|
746
|
-
} | {
|
|
747
|
-
type: "warehouse";
|
|
765
|
+
updatedAt?: Date | null | undefined;
|
|
766
|
+
locations?: {
|
|
767
|
+
type: "restaurant" | "warehouse";
|
|
748
768
|
name: string;
|
|
749
769
|
acceptRequest: boolean;
|
|
750
770
|
dbName: string;
|
|
751
771
|
doc: {
|
|
752
|
-
pf_business?: {
|
|
753
|
-
internal?: boolean | null | undefined;
|
|
754
|
-
url?: string | null | undefined;
|
|
755
|
-
expiredAt?: string | null | undefined;
|
|
756
|
-
agentId?: string | null | undefined;
|
|
757
|
-
restaurantTagGroups?: {
|
|
758
|
-
name: string;
|
|
759
|
-
id: string;
|
|
760
|
-
tags: {
|
|
761
|
-
name: string;
|
|
762
|
-
id: string;
|
|
763
|
-
}[];
|
|
764
|
-
}[] | null | undefined;
|
|
765
|
-
pf_agent?: {
|
|
766
|
-
clickupId?: string | null | undefined;
|
|
767
|
-
members?: {
|
|
768
|
-
pf_user?: {
|
|
769
|
-
email?: string | null | undefined;
|
|
770
|
-
phoneNumber?: string | null | undefined;
|
|
771
|
-
birthday?: string | null | undefined;
|
|
772
|
-
gender?: "MALE" | "FEMALE" | null | undefined;
|
|
773
|
-
addresses?: {
|
|
774
|
-
name: string;
|
|
775
|
-
address: string;
|
|
776
|
-
coordinates: number[];
|
|
777
|
-
}[] | null | undefined;
|
|
778
|
-
photoURL?: string | null | undefined;
|
|
779
|
-
displayName?: string | null | undefined;
|
|
780
|
-
imported?: {
|
|
781
|
-
raw: Record<string, any>;
|
|
782
|
-
source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
|
|
783
|
-
} | null | undefined;
|
|
784
|
-
_id: string;
|
|
785
|
-
} | null | undefined;
|
|
786
|
-
role: "ADMIN";
|
|
787
|
-
userId: string;
|
|
788
|
-
}[] | null | undefined;
|
|
789
|
-
code: string;
|
|
790
|
-
name: string;
|
|
791
|
-
_id: string;
|
|
792
|
-
isReseller: boolean;
|
|
793
|
-
} | null | undefined;
|
|
794
|
-
thumbnail?: string | null | undefined;
|
|
795
|
-
billingInfos?: {
|
|
796
|
-
_id?: string | null | undefined;
|
|
797
|
-
name: string;
|
|
798
|
-
address: {
|
|
799
|
-
coordinates?: number[] | null | undefined;
|
|
800
|
-
line2?: string | null | undefined;
|
|
801
|
-
state: string;
|
|
802
|
-
country: string;
|
|
803
|
-
line1: string;
|
|
804
|
-
city: string;
|
|
805
|
-
postcode: string;
|
|
806
|
-
};
|
|
807
|
-
email: string;
|
|
808
|
-
companyName: string;
|
|
809
|
-
contact: string;
|
|
810
|
-
}[] | null | undefined;
|
|
811
|
-
customerDisplayImages?: {
|
|
812
|
-
url: string;
|
|
813
|
-
restaurantIds: string[];
|
|
814
|
-
}[] | null | undefined;
|
|
815
|
-
name: string;
|
|
816
|
-
_id: string;
|
|
817
|
-
ownerId: string;
|
|
818
|
-
restaurantQuota: number;
|
|
819
|
-
warehouseQuota: number;
|
|
820
|
-
menuVersion: string;
|
|
821
|
-
} | null | undefined;
|
|
822
772
|
_id: string;
|
|
823
773
|
businessId: string;
|
|
824
774
|
profile: {
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
name
|
|
828
|
-
address
|
|
775
|
+
code?: string | null | undefined;
|
|
776
|
+
_id?: string | null | undefined;
|
|
777
|
+
name?: string | undefined;
|
|
778
|
+
address?: {
|
|
829
779
|
coordinates?: number[] | null | undefined;
|
|
830
780
|
line2?: string | null | undefined;
|
|
831
781
|
state: string;
|
|
@@ -833,11 +783,91 @@ export declare const useClosingTemplateActions: import("pinia").StoreDefinition<
|
|
|
833
783
|
line1: string;
|
|
834
784
|
city: string;
|
|
835
785
|
postcode: string;
|
|
836
|
-
};
|
|
837
|
-
|
|
786
|
+
} | undefined;
|
|
787
|
+
email?: string | undefined;
|
|
788
|
+
regNo?: string | undefined;
|
|
789
|
+
sstRegNo?: string | null | undefined;
|
|
790
|
+
phoneNo?: string | undefined;
|
|
791
|
+
legalName?: string | null | undefined;
|
|
792
|
+
discovery?: boolean | null | undefined;
|
|
793
|
+
coverPhoto?: string | null | undefined;
|
|
794
|
+
thumbnailPhoto?: string | null | undefined;
|
|
795
|
+
description?: string | null | undefined;
|
|
796
|
+
photos?: string[] | null | undefined;
|
|
797
|
+
operatingHours?: {
|
|
798
|
+
0: {
|
|
799
|
+
hours: {
|
|
800
|
+
end: string;
|
|
801
|
+
start: string;
|
|
802
|
+
}[];
|
|
803
|
+
enable: boolean;
|
|
804
|
+
};
|
|
805
|
+
2: {
|
|
806
|
+
hours: {
|
|
807
|
+
end: string;
|
|
808
|
+
start: string;
|
|
809
|
+
}[];
|
|
810
|
+
enable: boolean;
|
|
811
|
+
};
|
|
812
|
+
1: {
|
|
813
|
+
hours: {
|
|
814
|
+
end: string;
|
|
815
|
+
start: string;
|
|
816
|
+
}[];
|
|
817
|
+
enable: boolean;
|
|
818
|
+
};
|
|
819
|
+
3: {
|
|
820
|
+
hours: {
|
|
821
|
+
end: string;
|
|
822
|
+
start: string;
|
|
823
|
+
}[];
|
|
824
|
+
enable: boolean;
|
|
825
|
+
};
|
|
826
|
+
4: {
|
|
827
|
+
hours: {
|
|
828
|
+
end: string;
|
|
829
|
+
start: string;
|
|
830
|
+
}[];
|
|
831
|
+
enable: boolean;
|
|
832
|
+
};
|
|
833
|
+
5: {
|
|
834
|
+
hours: {
|
|
835
|
+
end: string;
|
|
836
|
+
start: string;
|
|
837
|
+
}[];
|
|
838
|
+
enable: boolean;
|
|
839
|
+
};
|
|
840
|
+
6: {
|
|
841
|
+
hours: {
|
|
842
|
+
end: string;
|
|
843
|
+
start: string;
|
|
844
|
+
}[];
|
|
845
|
+
enable: boolean;
|
|
846
|
+
};
|
|
847
|
+
} | null | undefined;
|
|
848
|
+
tags?: string[] | null | undefined;
|
|
849
|
+
url?: string | null | undefined;
|
|
838
850
|
};
|
|
839
851
|
};
|
|
840
|
-
}
|
|
852
|
+
}[] | null | undefined;
|
|
853
|
+
updatedBy?: {
|
|
854
|
+
email?: string | null | undefined;
|
|
855
|
+
phoneNumber?: string | null | undefined;
|
|
856
|
+
birthday?: string | null | undefined;
|
|
857
|
+
gender?: "MALE" | "FEMALE" | null | undefined;
|
|
858
|
+
addresses?: {
|
|
859
|
+
name: string;
|
|
860
|
+
address: string;
|
|
861
|
+
coordinates: number[];
|
|
862
|
+
}[] | null | undefined;
|
|
863
|
+
photoURL?: string | null | undefined;
|
|
864
|
+
displayName?: string | null | undefined;
|
|
865
|
+
imported?: {
|
|
866
|
+
raw: Record<string, any>;
|
|
867
|
+
source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
|
|
868
|
+
} | null | undefined;
|
|
869
|
+
_id: string;
|
|
870
|
+
} | null | undefined;
|
|
841
871
|
_id: string;
|
|
842
872
|
items: {
|
|
843
873
|
disabledMeasurements?: string[] | null | undefined;
|
|
@@ -915,95 +945,20 @@ export declare const useClosingTemplateActions: import("pinia").StoreDefinition<
|
|
|
915
945
|
modelValue?: {
|
|
916
946
|
ref?: string | null | undefined;
|
|
917
947
|
_rev?: string | null | undefined;
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
type: "restaurant";
|
|
921
|
-
name: string;
|
|
922
|
-
acceptRequest: boolean;
|
|
923
|
-
dbName: string;
|
|
924
|
-
} | {
|
|
925
|
-
type: "warehouse";
|
|
948
|
+
updatedAt?: Date | null | undefined;
|
|
949
|
+
locations?: {
|
|
950
|
+
type: "restaurant" | "warehouse";
|
|
926
951
|
name: string;
|
|
927
952
|
acceptRequest: boolean;
|
|
928
953
|
dbName: string;
|
|
929
954
|
doc: {
|
|
930
|
-
pf_business?: {
|
|
931
|
-
internal?: boolean | null | undefined;
|
|
932
|
-
url?: string | null | undefined;
|
|
933
|
-
expiredAt?: string | null | undefined;
|
|
934
|
-
agentId?: string | null | undefined;
|
|
935
|
-
restaurantTagGroups?: {
|
|
936
|
-
name: string;
|
|
937
|
-
id: string;
|
|
938
|
-
tags: {
|
|
939
|
-
name: string;
|
|
940
|
-
id: string;
|
|
941
|
-
}[];
|
|
942
|
-
}[] | null | undefined;
|
|
943
|
-
pf_agent?: {
|
|
944
|
-
clickupId?: string | null | undefined;
|
|
945
|
-
members?: {
|
|
946
|
-
pf_user?: {
|
|
947
|
-
email?: string | null | undefined;
|
|
948
|
-
phoneNumber?: string | null | undefined;
|
|
949
|
-
birthday?: string | null | undefined;
|
|
950
|
-
gender?: "MALE" | "FEMALE" | null | undefined;
|
|
951
|
-
addresses?: {
|
|
952
|
-
name: string;
|
|
953
|
-
address: string;
|
|
954
|
-
coordinates: number[];
|
|
955
|
-
}[] | null | undefined;
|
|
956
|
-
photoURL?: string | null | undefined;
|
|
957
|
-
displayName?: string | null | undefined;
|
|
958
|
-
imported?: {
|
|
959
|
-
raw: Record<string, any>;
|
|
960
|
-
source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
|
|
961
|
-
} | null | undefined;
|
|
962
|
-
_id: string;
|
|
963
|
-
} | null | undefined;
|
|
964
|
-
role: "ADMIN";
|
|
965
|
-
userId: string;
|
|
966
|
-
}[] | null | undefined;
|
|
967
|
-
code: string;
|
|
968
|
-
name: string;
|
|
969
|
-
_id: string;
|
|
970
|
-
isReseller: boolean;
|
|
971
|
-
} | null | undefined;
|
|
972
|
-
thumbnail?: string | null | undefined;
|
|
973
|
-
billingInfos?: {
|
|
974
|
-
_id?: string | null | undefined;
|
|
975
|
-
name: string;
|
|
976
|
-
address: {
|
|
977
|
-
coordinates?: number[] | null | undefined;
|
|
978
|
-
line2?: string | null | undefined;
|
|
979
|
-
state: string;
|
|
980
|
-
country: string;
|
|
981
|
-
line1: string;
|
|
982
|
-
city: string;
|
|
983
|
-
postcode: string;
|
|
984
|
-
};
|
|
985
|
-
email: string;
|
|
986
|
-
companyName: string;
|
|
987
|
-
contact: string;
|
|
988
|
-
}[] | null | undefined;
|
|
989
|
-
customerDisplayImages?: {
|
|
990
|
-
url: string;
|
|
991
|
-
restaurantIds: string[];
|
|
992
|
-
}[] | null | undefined;
|
|
993
|
-
name: string;
|
|
994
|
-
_id: string;
|
|
995
|
-
ownerId: string;
|
|
996
|
-
restaurantQuota: number;
|
|
997
|
-
warehouseQuota: number;
|
|
998
|
-
menuVersion: string;
|
|
999
|
-
} | null | undefined;
|
|
1000
955
|
_id: string;
|
|
1001
956
|
businessId: string;
|
|
1002
957
|
profile: {
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
name
|
|
1006
|
-
address
|
|
958
|
+
code?: string | null | undefined;
|
|
959
|
+
_id?: string | null | undefined;
|
|
960
|
+
name?: string | undefined;
|
|
961
|
+
address?: {
|
|
1007
962
|
coordinates?: number[] | null | undefined;
|
|
1008
963
|
line2?: string | null | undefined;
|
|
1009
964
|
state: string;
|
|
@@ -1011,11 +966,91 @@ export declare const useClosingTemplateActions: import("pinia").StoreDefinition<
|
|
|
1011
966
|
line1: string;
|
|
1012
967
|
city: string;
|
|
1013
968
|
postcode: string;
|
|
1014
|
-
};
|
|
1015
|
-
|
|
969
|
+
} | undefined;
|
|
970
|
+
email?: string | undefined;
|
|
971
|
+
regNo?: string | undefined;
|
|
972
|
+
sstRegNo?: string | null | undefined;
|
|
973
|
+
phoneNo?: string | undefined;
|
|
974
|
+
legalName?: string | null | undefined;
|
|
975
|
+
discovery?: boolean | null | undefined;
|
|
976
|
+
coverPhoto?: string | null | undefined;
|
|
977
|
+
thumbnailPhoto?: string | null | undefined;
|
|
978
|
+
description?: string | null | undefined;
|
|
979
|
+
photos?: string[] | null | undefined;
|
|
980
|
+
operatingHours?: {
|
|
981
|
+
0: {
|
|
982
|
+
hours: {
|
|
983
|
+
end: string;
|
|
984
|
+
start: string;
|
|
985
|
+
}[];
|
|
986
|
+
enable: boolean;
|
|
987
|
+
};
|
|
988
|
+
2: {
|
|
989
|
+
hours: {
|
|
990
|
+
end: string;
|
|
991
|
+
start: string;
|
|
992
|
+
}[];
|
|
993
|
+
enable: boolean;
|
|
994
|
+
};
|
|
995
|
+
1: {
|
|
996
|
+
hours: {
|
|
997
|
+
end: string;
|
|
998
|
+
start: string;
|
|
999
|
+
}[];
|
|
1000
|
+
enable: boolean;
|
|
1001
|
+
};
|
|
1002
|
+
3: {
|
|
1003
|
+
hours: {
|
|
1004
|
+
end: string;
|
|
1005
|
+
start: string;
|
|
1006
|
+
}[];
|
|
1007
|
+
enable: boolean;
|
|
1008
|
+
};
|
|
1009
|
+
4: {
|
|
1010
|
+
hours: {
|
|
1011
|
+
end: string;
|
|
1012
|
+
start: string;
|
|
1013
|
+
}[];
|
|
1014
|
+
enable: boolean;
|
|
1015
|
+
};
|
|
1016
|
+
5: {
|
|
1017
|
+
hours: {
|
|
1018
|
+
end: string;
|
|
1019
|
+
start: string;
|
|
1020
|
+
}[];
|
|
1021
|
+
enable: boolean;
|
|
1022
|
+
};
|
|
1023
|
+
6: {
|
|
1024
|
+
hours: {
|
|
1025
|
+
end: string;
|
|
1026
|
+
start: string;
|
|
1027
|
+
}[];
|
|
1028
|
+
enable: boolean;
|
|
1029
|
+
};
|
|
1030
|
+
} | null | undefined;
|
|
1031
|
+
tags?: string[] | null | undefined;
|
|
1032
|
+
url?: string | null | undefined;
|
|
1016
1033
|
};
|
|
1017
1034
|
};
|
|
1018
|
-
}
|
|
1035
|
+
}[] | null | undefined;
|
|
1036
|
+
updatedBy?: {
|
|
1037
|
+
email?: string | null | undefined;
|
|
1038
|
+
phoneNumber?: string | null | undefined;
|
|
1039
|
+
birthday?: string | null | undefined;
|
|
1040
|
+
gender?: "MALE" | "FEMALE" | null | undefined;
|
|
1041
|
+
addresses?: {
|
|
1042
|
+
name: string;
|
|
1043
|
+
address: string;
|
|
1044
|
+
coordinates: number[];
|
|
1045
|
+
}[] | null | undefined;
|
|
1046
|
+
photoURL?: string | null | undefined;
|
|
1047
|
+
displayName?: string | null | undefined;
|
|
1048
|
+
imported?: {
|
|
1049
|
+
raw: Record<string, any>;
|
|
1050
|
+
source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
|
|
1051
|
+
} | null | undefined;
|
|
1052
|
+
_id: string;
|
|
1053
|
+
} | null | undefined;
|
|
1019
1054
|
_id: string;
|
|
1020
1055
|
items: {
|
|
1021
1056
|
disabledMeasurements?: string[] | null | undefined;
|
|
@@ -1093,95 +1128,20 @@ export declare const useClosingTemplateActions: import("pinia").StoreDefinition<
|
|
|
1093
1128
|
template?: {
|
|
1094
1129
|
ref?: string | null | undefined;
|
|
1095
1130
|
_rev?: string | null | undefined;
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
type: "restaurant";
|
|
1099
|
-
name: string;
|
|
1100
|
-
acceptRequest: boolean;
|
|
1101
|
-
dbName: string;
|
|
1102
|
-
} | {
|
|
1103
|
-
type: "warehouse";
|
|
1131
|
+
updatedAt?: Date | null | undefined;
|
|
1132
|
+
locations?: {
|
|
1133
|
+
type: "restaurant" | "warehouse";
|
|
1104
1134
|
name: string;
|
|
1105
1135
|
acceptRequest: boolean;
|
|
1106
1136
|
dbName: string;
|
|
1107
1137
|
doc: {
|
|
1108
|
-
pf_business?: {
|
|
1109
|
-
internal?: boolean | null | undefined;
|
|
1110
|
-
url?: string | null | undefined;
|
|
1111
|
-
expiredAt?: string | null | undefined;
|
|
1112
|
-
agentId?: string | null | undefined;
|
|
1113
|
-
restaurantTagGroups?: {
|
|
1114
|
-
name: string;
|
|
1115
|
-
id: string;
|
|
1116
|
-
tags: {
|
|
1117
|
-
name: string;
|
|
1118
|
-
id: string;
|
|
1119
|
-
}[];
|
|
1120
|
-
}[] | null | undefined;
|
|
1121
|
-
pf_agent?: {
|
|
1122
|
-
clickupId?: string | null | undefined;
|
|
1123
|
-
members?: {
|
|
1124
|
-
pf_user?: {
|
|
1125
|
-
email?: string | null | undefined;
|
|
1126
|
-
phoneNumber?: string | null | undefined;
|
|
1127
|
-
birthday?: string | null | undefined;
|
|
1128
|
-
gender?: "MALE" | "FEMALE" | null | undefined;
|
|
1129
|
-
addresses?: {
|
|
1130
|
-
name: string;
|
|
1131
|
-
address: string;
|
|
1132
|
-
coordinates: number[];
|
|
1133
|
-
}[] | null | undefined;
|
|
1134
|
-
photoURL?: string | null | undefined;
|
|
1135
|
-
displayName?: string | null | undefined;
|
|
1136
|
-
imported?: {
|
|
1137
|
-
raw: Record<string, any>;
|
|
1138
|
-
source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
|
|
1139
|
-
} | null | undefined;
|
|
1140
|
-
_id: string;
|
|
1141
|
-
} | null | undefined;
|
|
1142
|
-
role: "ADMIN";
|
|
1143
|
-
userId: string;
|
|
1144
|
-
}[] | null | undefined;
|
|
1145
|
-
code: string;
|
|
1146
|
-
name: string;
|
|
1147
|
-
_id: string;
|
|
1148
|
-
isReseller: boolean;
|
|
1149
|
-
} | null | undefined;
|
|
1150
|
-
thumbnail?: string | null | undefined;
|
|
1151
|
-
billingInfos?: {
|
|
1152
|
-
_id?: string | null | undefined;
|
|
1153
|
-
name: string;
|
|
1154
|
-
address: {
|
|
1155
|
-
coordinates?: number[] | null | undefined;
|
|
1156
|
-
line2?: string | null | undefined;
|
|
1157
|
-
state: string;
|
|
1158
|
-
country: string;
|
|
1159
|
-
line1: string;
|
|
1160
|
-
city: string;
|
|
1161
|
-
postcode: string;
|
|
1162
|
-
};
|
|
1163
|
-
email: string;
|
|
1164
|
-
companyName: string;
|
|
1165
|
-
contact: string;
|
|
1166
|
-
}[] | null | undefined;
|
|
1167
|
-
customerDisplayImages?: {
|
|
1168
|
-
url: string;
|
|
1169
|
-
restaurantIds: string[];
|
|
1170
|
-
}[] | null | undefined;
|
|
1171
|
-
name: string;
|
|
1172
|
-
_id: string;
|
|
1173
|
-
ownerId: string;
|
|
1174
|
-
restaurantQuota: number;
|
|
1175
|
-
warehouseQuota: number;
|
|
1176
|
-
menuVersion: string;
|
|
1177
|
-
} | null | undefined;
|
|
1178
1138
|
_id: string;
|
|
1179
1139
|
businessId: string;
|
|
1180
1140
|
profile: {
|
|
1181
|
-
|
|
1182
|
-
|
|
1183
|
-
name
|
|
1184
|
-
address
|
|
1141
|
+
code?: string | null | undefined;
|
|
1142
|
+
_id?: string | null | undefined;
|
|
1143
|
+
name?: string | undefined;
|
|
1144
|
+
address?: {
|
|
1185
1145
|
coordinates?: number[] | null | undefined;
|
|
1186
1146
|
line2?: string | null | undefined;
|
|
1187
1147
|
state: string;
|
|
@@ -1189,11 +1149,91 @@ export declare const useClosingTemplateActions: import("pinia").StoreDefinition<
|
|
|
1189
1149
|
line1: string;
|
|
1190
1150
|
city: string;
|
|
1191
1151
|
postcode: string;
|
|
1192
|
-
};
|
|
1193
|
-
|
|
1152
|
+
} | undefined;
|
|
1153
|
+
email?: string | undefined;
|
|
1154
|
+
regNo?: string | undefined;
|
|
1155
|
+
sstRegNo?: string | null | undefined;
|
|
1156
|
+
phoneNo?: string | undefined;
|
|
1157
|
+
legalName?: string | null | undefined;
|
|
1158
|
+
discovery?: boolean | null | undefined;
|
|
1159
|
+
coverPhoto?: string | null | undefined;
|
|
1160
|
+
thumbnailPhoto?: string | null | undefined;
|
|
1161
|
+
description?: string | null | undefined;
|
|
1162
|
+
photos?: string[] | null | undefined;
|
|
1163
|
+
operatingHours?: {
|
|
1164
|
+
0: {
|
|
1165
|
+
hours: {
|
|
1166
|
+
end: string;
|
|
1167
|
+
start: string;
|
|
1168
|
+
}[];
|
|
1169
|
+
enable: boolean;
|
|
1170
|
+
};
|
|
1171
|
+
2: {
|
|
1172
|
+
hours: {
|
|
1173
|
+
end: string;
|
|
1174
|
+
start: string;
|
|
1175
|
+
}[];
|
|
1176
|
+
enable: boolean;
|
|
1177
|
+
};
|
|
1178
|
+
1: {
|
|
1179
|
+
hours: {
|
|
1180
|
+
end: string;
|
|
1181
|
+
start: string;
|
|
1182
|
+
}[];
|
|
1183
|
+
enable: boolean;
|
|
1184
|
+
};
|
|
1185
|
+
3: {
|
|
1186
|
+
hours: {
|
|
1187
|
+
end: string;
|
|
1188
|
+
start: string;
|
|
1189
|
+
}[];
|
|
1190
|
+
enable: boolean;
|
|
1191
|
+
};
|
|
1192
|
+
4: {
|
|
1193
|
+
hours: {
|
|
1194
|
+
end: string;
|
|
1195
|
+
start: string;
|
|
1196
|
+
}[];
|
|
1197
|
+
enable: boolean;
|
|
1198
|
+
};
|
|
1199
|
+
5: {
|
|
1200
|
+
hours: {
|
|
1201
|
+
end: string;
|
|
1202
|
+
start: string;
|
|
1203
|
+
}[];
|
|
1204
|
+
enable: boolean;
|
|
1205
|
+
};
|
|
1206
|
+
6: {
|
|
1207
|
+
hours: {
|
|
1208
|
+
end: string;
|
|
1209
|
+
start: string;
|
|
1210
|
+
}[];
|
|
1211
|
+
enable: boolean;
|
|
1212
|
+
};
|
|
1213
|
+
} | null | undefined;
|
|
1214
|
+
tags?: string[] | null | undefined;
|
|
1215
|
+
url?: string | null | undefined;
|
|
1194
1216
|
};
|
|
1195
1217
|
};
|
|
1196
|
-
}
|
|
1218
|
+
}[] | null | undefined;
|
|
1219
|
+
updatedBy?: {
|
|
1220
|
+
email?: string | null | undefined;
|
|
1221
|
+
phoneNumber?: string | null | undefined;
|
|
1222
|
+
birthday?: string | null | undefined;
|
|
1223
|
+
gender?: "MALE" | "FEMALE" | null | undefined;
|
|
1224
|
+
addresses?: {
|
|
1225
|
+
name: string;
|
|
1226
|
+
address: string;
|
|
1227
|
+
coordinates: number[];
|
|
1228
|
+
}[] | null | undefined;
|
|
1229
|
+
photoURL?: string | null | undefined;
|
|
1230
|
+
displayName?: string | null | undefined;
|
|
1231
|
+
imported?: {
|
|
1232
|
+
raw: Record<string, any>;
|
|
1233
|
+
source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
|
|
1234
|
+
} | null | undefined;
|
|
1235
|
+
_id: string;
|
|
1236
|
+
} | null | undefined;
|
|
1197
1237
|
_id: string;
|
|
1198
1238
|
items: {
|
|
1199
1239
|
disabledMeasurements?: string[] | null | undefined;
|
|
@@ -1270,95 +1310,20 @@ export declare const useClosingTemplateActions: import("pinia").StoreDefinition<
|
|
|
1270
1310
|
template?: {
|
|
1271
1311
|
ref?: string | null | undefined;
|
|
1272
1312
|
_rev?: string | null | undefined;
|
|
1273
|
-
|
|
1274
|
-
|
|
1275
|
-
type: "restaurant";
|
|
1276
|
-
name: string;
|
|
1277
|
-
acceptRequest: boolean;
|
|
1278
|
-
dbName: string;
|
|
1279
|
-
} | {
|
|
1280
|
-
type: "warehouse";
|
|
1313
|
+
updatedAt?: Date | null | undefined;
|
|
1314
|
+
locations?: {
|
|
1315
|
+
type: "restaurant" | "warehouse";
|
|
1281
1316
|
name: string;
|
|
1282
1317
|
acceptRequest: boolean;
|
|
1283
1318
|
dbName: string;
|
|
1284
1319
|
doc: {
|
|
1285
|
-
pf_business?: {
|
|
1286
|
-
internal?: boolean | null | undefined;
|
|
1287
|
-
url?: string | null | undefined;
|
|
1288
|
-
expiredAt?: string | null | undefined;
|
|
1289
|
-
agentId?: string | null | undefined;
|
|
1290
|
-
restaurantTagGroups?: {
|
|
1291
|
-
name: string;
|
|
1292
|
-
id: string;
|
|
1293
|
-
tags: {
|
|
1294
|
-
name: string;
|
|
1295
|
-
id: string;
|
|
1296
|
-
}[];
|
|
1297
|
-
}[] | null | undefined;
|
|
1298
|
-
pf_agent?: {
|
|
1299
|
-
clickupId?: string | null | undefined;
|
|
1300
|
-
members?: {
|
|
1301
|
-
pf_user?: {
|
|
1302
|
-
email?: string | null | undefined;
|
|
1303
|
-
phoneNumber?: string | null | undefined;
|
|
1304
|
-
birthday?: string | null | undefined;
|
|
1305
|
-
gender?: "MALE" | "FEMALE" | null | undefined;
|
|
1306
|
-
addresses?: {
|
|
1307
|
-
name: string;
|
|
1308
|
-
address: string;
|
|
1309
|
-
coordinates: number[];
|
|
1310
|
-
}[] | null | undefined;
|
|
1311
|
-
photoURL?: string | null | undefined;
|
|
1312
|
-
displayName?: string | null | undefined;
|
|
1313
|
-
imported?: {
|
|
1314
|
-
raw: Record<string, any>;
|
|
1315
|
-
source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
|
|
1316
|
-
} | null | undefined;
|
|
1317
|
-
_id: string;
|
|
1318
|
-
} | null | undefined;
|
|
1319
|
-
role: "ADMIN";
|
|
1320
|
-
userId: string;
|
|
1321
|
-
}[] | null | undefined;
|
|
1322
|
-
code: string;
|
|
1323
|
-
name: string;
|
|
1324
|
-
_id: string;
|
|
1325
|
-
isReseller: boolean;
|
|
1326
|
-
} | null | undefined;
|
|
1327
|
-
thumbnail?: string | null | undefined;
|
|
1328
|
-
billingInfos?: {
|
|
1329
|
-
_id?: string | null | undefined;
|
|
1330
|
-
name: string;
|
|
1331
|
-
address: {
|
|
1332
|
-
coordinates?: number[] | null | undefined;
|
|
1333
|
-
line2?: string | null | undefined;
|
|
1334
|
-
state: string;
|
|
1335
|
-
country: string;
|
|
1336
|
-
line1: string;
|
|
1337
|
-
city: string;
|
|
1338
|
-
postcode: string;
|
|
1339
|
-
};
|
|
1340
|
-
email: string;
|
|
1341
|
-
companyName: string;
|
|
1342
|
-
contact: string;
|
|
1343
|
-
}[] | null | undefined;
|
|
1344
|
-
customerDisplayImages?: {
|
|
1345
|
-
url: string;
|
|
1346
|
-
restaurantIds: string[];
|
|
1347
|
-
}[] | null | undefined;
|
|
1348
|
-
name: string;
|
|
1349
|
-
_id: string;
|
|
1350
|
-
ownerId: string;
|
|
1351
|
-
restaurantQuota: number;
|
|
1352
|
-
warehouseQuota: number;
|
|
1353
|
-
menuVersion: string;
|
|
1354
|
-
} | null | undefined;
|
|
1355
1320
|
_id: string;
|
|
1356
1321
|
businessId: string;
|
|
1357
1322
|
profile: {
|
|
1358
|
-
|
|
1359
|
-
|
|
1360
|
-
name
|
|
1361
|
-
address
|
|
1323
|
+
code?: string | null | undefined;
|
|
1324
|
+
_id?: string | null | undefined;
|
|
1325
|
+
name?: string | undefined;
|
|
1326
|
+
address?: {
|
|
1362
1327
|
coordinates?: number[] | null | undefined;
|
|
1363
1328
|
line2?: string | null | undefined;
|
|
1364
1329
|
state: string;
|
|
@@ -1366,11 +1331,91 @@ export declare const useClosingTemplateActions: import("pinia").StoreDefinition<
|
|
|
1366
1331
|
line1: string;
|
|
1367
1332
|
city: string;
|
|
1368
1333
|
postcode: string;
|
|
1369
|
-
};
|
|
1370
|
-
|
|
1334
|
+
} | undefined;
|
|
1335
|
+
email?: string | undefined;
|
|
1336
|
+
regNo?: string | undefined;
|
|
1337
|
+
sstRegNo?: string | null | undefined;
|
|
1338
|
+
phoneNo?: string | undefined;
|
|
1339
|
+
legalName?: string | null | undefined;
|
|
1340
|
+
discovery?: boolean | null | undefined;
|
|
1341
|
+
coverPhoto?: string | null | undefined;
|
|
1342
|
+
thumbnailPhoto?: string | null | undefined;
|
|
1343
|
+
description?: string | null | undefined;
|
|
1344
|
+
photos?: string[] | null | undefined;
|
|
1345
|
+
operatingHours?: {
|
|
1346
|
+
0: {
|
|
1347
|
+
hours: {
|
|
1348
|
+
end: string;
|
|
1349
|
+
start: string;
|
|
1350
|
+
}[];
|
|
1351
|
+
enable: boolean;
|
|
1352
|
+
};
|
|
1353
|
+
2: {
|
|
1354
|
+
hours: {
|
|
1355
|
+
end: string;
|
|
1356
|
+
start: string;
|
|
1357
|
+
}[];
|
|
1358
|
+
enable: boolean;
|
|
1359
|
+
};
|
|
1360
|
+
1: {
|
|
1361
|
+
hours: {
|
|
1362
|
+
end: string;
|
|
1363
|
+
start: string;
|
|
1364
|
+
}[];
|
|
1365
|
+
enable: boolean;
|
|
1366
|
+
};
|
|
1367
|
+
3: {
|
|
1368
|
+
hours: {
|
|
1369
|
+
end: string;
|
|
1370
|
+
start: string;
|
|
1371
|
+
}[];
|
|
1372
|
+
enable: boolean;
|
|
1373
|
+
};
|
|
1374
|
+
4: {
|
|
1375
|
+
hours: {
|
|
1376
|
+
end: string;
|
|
1377
|
+
start: string;
|
|
1378
|
+
}[];
|
|
1379
|
+
enable: boolean;
|
|
1380
|
+
};
|
|
1381
|
+
5: {
|
|
1382
|
+
hours: {
|
|
1383
|
+
end: string;
|
|
1384
|
+
start: string;
|
|
1385
|
+
}[];
|
|
1386
|
+
enable: boolean;
|
|
1387
|
+
};
|
|
1388
|
+
6: {
|
|
1389
|
+
hours: {
|
|
1390
|
+
end: string;
|
|
1391
|
+
start: string;
|
|
1392
|
+
}[];
|
|
1393
|
+
enable: boolean;
|
|
1394
|
+
};
|
|
1395
|
+
} | null | undefined;
|
|
1396
|
+
tags?: string[] | null | undefined;
|
|
1397
|
+
url?: string | null | undefined;
|
|
1371
1398
|
};
|
|
1372
1399
|
};
|
|
1373
|
-
}
|
|
1400
|
+
}[] | null | undefined;
|
|
1401
|
+
updatedBy?: {
|
|
1402
|
+
email?: string | null | undefined;
|
|
1403
|
+
phoneNumber?: string | null | undefined;
|
|
1404
|
+
birthday?: string | null | undefined;
|
|
1405
|
+
gender?: "MALE" | "FEMALE" | null | undefined;
|
|
1406
|
+
addresses?: {
|
|
1407
|
+
name: string;
|
|
1408
|
+
address: string;
|
|
1409
|
+
coordinates: number[];
|
|
1410
|
+
}[] | null | undefined;
|
|
1411
|
+
photoURL?: string | null | undefined;
|
|
1412
|
+
displayName?: string | null | undefined;
|
|
1413
|
+
imported?: {
|
|
1414
|
+
raw: Record<string, any>;
|
|
1415
|
+
source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
|
|
1416
|
+
} | null | undefined;
|
|
1417
|
+
_id: string;
|
|
1418
|
+
} | null | undefined;
|
|
1374
1419
|
_id: string;
|
|
1375
1420
|
items: {
|
|
1376
1421
|
disabledMeasurements?: string[] | null | undefined;
|
|
@@ -1448,101 +1493,28 @@ export declare const useClosingTemplateActions: import("pinia").StoreDefinition<
|
|
|
1448
1493
|
createTemplate: () => void;
|
|
1449
1494
|
viewTemplate: (template: FdoClosingTemplate) => void;
|
|
1450
1495
|
updateTemplate: (template: FdoClosingTemplate) => void;
|
|
1451
|
-
deleteTemplate: (template: FdoClosingTemplate, loadingRef: Ref<boolean>, onDeleted: () => void) => void;
|
|
1496
|
+
deleteTemplate: (template: FdoClosingTemplate & RevisionIdMeta, loadingRef: Ref<boolean>, onDeleted: () => void) => void;
|
|
1497
|
+
exportTemplates: () => void;
|
|
1498
|
+
importTemplates: () => void;
|
|
1452
1499
|
templateDialogProps: Ref<{
|
|
1453
1500
|
mode?: FormMode | undefined;
|
|
1454
1501
|
modelValue?: {
|
|
1455
1502
|
ref?: string | null | undefined;
|
|
1456
1503
|
_rev?: string | null | undefined;
|
|
1457
|
-
|
|
1458
|
-
|
|
1459
|
-
type: "restaurant";
|
|
1460
|
-
name: string;
|
|
1461
|
-
acceptRequest: boolean;
|
|
1462
|
-
dbName: string;
|
|
1463
|
-
} | {
|
|
1464
|
-
type: "warehouse";
|
|
1504
|
+
updatedAt?: Date | null | undefined;
|
|
1505
|
+
locations?: {
|
|
1506
|
+
type: "restaurant" | "warehouse";
|
|
1465
1507
|
name: string;
|
|
1466
1508
|
acceptRequest: boolean;
|
|
1467
1509
|
dbName: string;
|
|
1468
1510
|
doc: {
|
|
1469
|
-
pf_business?: {
|
|
1470
|
-
internal?: boolean | null | undefined;
|
|
1471
|
-
url?: string | null | undefined;
|
|
1472
|
-
expiredAt?: string | null | undefined;
|
|
1473
|
-
agentId?: string | null | undefined;
|
|
1474
|
-
restaurantTagGroups?: {
|
|
1475
|
-
name: string;
|
|
1476
|
-
id: string;
|
|
1477
|
-
tags: {
|
|
1478
|
-
name: string;
|
|
1479
|
-
id: string;
|
|
1480
|
-
}[];
|
|
1481
|
-
}[] | null | undefined;
|
|
1482
|
-
pf_agent?: {
|
|
1483
|
-
clickupId?: string | null | undefined;
|
|
1484
|
-
members?: {
|
|
1485
|
-
pf_user?: {
|
|
1486
|
-
email?: string | null | undefined;
|
|
1487
|
-
phoneNumber?: string | null | undefined;
|
|
1488
|
-
birthday?: string | null | undefined;
|
|
1489
|
-
gender?: "MALE" | "FEMALE" | null | undefined;
|
|
1490
|
-
addresses?: {
|
|
1491
|
-
name: string;
|
|
1492
|
-
address: string;
|
|
1493
|
-
coordinates: number[];
|
|
1494
|
-
}[] | null | undefined;
|
|
1495
|
-
photoURL?: string | null | undefined;
|
|
1496
|
-
displayName?: string | null | undefined;
|
|
1497
|
-
imported?: {
|
|
1498
|
-
raw: Record<string, any>;
|
|
1499
|
-
source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
|
|
1500
|
-
} | null | undefined;
|
|
1501
|
-
_id: string;
|
|
1502
|
-
} | null | undefined;
|
|
1503
|
-
role: "ADMIN";
|
|
1504
|
-
userId: string;
|
|
1505
|
-
}[] | null | undefined;
|
|
1506
|
-
code: string;
|
|
1507
|
-
name: string;
|
|
1508
|
-
_id: string;
|
|
1509
|
-
isReseller: boolean;
|
|
1510
|
-
} | null | undefined;
|
|
1511
|
-
thumbnail?: string | null | undefined;
|
|
1512
|
-
billingInfos?: {
|
|
1513
|
-
_id?: string | null | undefined;
|
|
1514
|
-
name: string;
|
|
1515
|
-
address: {
|
|
1516
|
-
coordinates?: number[] | null | undefined;
|
|
1517
|
-
line2?: string | null | undefined;
|
|
1518
|
-
state: string;
|
|
1519
|
-
country: string;
|
|
1520
|
-
line1: string;
|
|
1521
|
-
city: string;
|
|
1522
|
-
postcode: string;
|
|
1523
|
-
};
|
|
1524
|
-
email: string;
|
|
1525
|
-
companyName: string;
|
|
1526
|
-
contact: string;
|
|
1527
|
-
}[] | null | undefined;
|
|
1528
|
-
customerDisplayImages?: {
|
|
1529
|
-
url: string;
|
|
1530
|
-
restaurantIds: string[];
|
|
1531
|
-
}[] | null | undefined;
|
|
1532
|
-
name: string;
|
|
1533
|
-
_id: string;
|
|
1534
|
-
ownerId: string;
|
|
1535
|
-
restaurantQuota: number;
|
|
1536
|
-
warehouseQuota: number;
|
|
1537
|
-
menuVersion: string;
|
|
1538
|
-
} | null | undefined;
|
|
1539
1511
|
_id: string;
|
|
1540
1512
|
businessId: string;
|
|
1541
1513
|
profile: {
|
|
1542
|
-
|
|
1543
|
-
|
|
1544
|
-
name
|
|
1545
|
-
address
|
|
1514
|
+
code?: string | null | undefined;
|
|
1515
|
+
_id?: string | null | undefined;
|
|
1516
|
+
name?: string | undefined;
|
|
1517
|
+
address?: {
|
|
1546
1518
|
coordinates?: number[] | null | undefined;
|
|
1547
1519
|
line2?: string | null | undefined;
|
|
1548
1520
|
state: string;
|
|
@@ -1550,11 +1522,91 @@ export declare const useClosingTemplateActions: import("pinia").StoreDefinition<
|
|
|
1550
1522
|
line1: string;
|
|
1551
1523
|
city: string;
|
|
1552
1524
|
postcode: string;
|
|
1553
|
-
};
|
|
1554
|
-
|
|
1525
|
+
} | undefined;
|
|
1526
|
+
email?: string | undefined;
|
|
1527
|
+
regNo?: string | undefined;
|
|
1528
|
+
sstRegNo?: string | null | undefined;
|
|
1529
|
+
phoneNo?: string | undefined;
|
|
1530
|
+
legalName?: string | null | undefined;
|
|
1531
|
+
discovery?: boolean | null | undefined;
|
|
1532
|
+
coverPhoto?: string | null | undefined;
|
|
1533
|
+
thumbnailPhoto?: string | null | undefined;
|
|
1534
|
+
description?: string | null | undefined;
|
|
1535
|
+
photos?: string[] | null | undefined;
|
|
1536
|
+
operatingHours?: {
|
|
1537
|
+
0: {
|
|
1538
|
+
hours: {
|
|
1539
|
+
end: string;
|
|
1540
|
+
start: string;
|
|
1541
|
+
}[];
|
|
1542
|
+
enable: boolean;
|
|
1543
|
+
};
|
|
1544
|
+
2: {
|
|
1545
|
+
hours: {
|
|
1546
|
+
end: string;
|
|
1547
|
+
start: string;
|
|
1548
|
+
}[];
|
|
1549
|
+
enable: boolean;
|
|
1550
|
+
};
|
|
1551
|
+
1: {
|
|
1552
|
+
hours: {
|
|
1553
|
+
end: string;
|
|
1554
|
+
start: string;
|
|
1555
|
+
}[];
|
|
1556
|
+
enable: boolean;
|
|
1557
|
+
};
|
|
1558
|
+
3: {
|
|
1559
|
+
hours: {
|
|
1560
|
+
end: string;
|
|
1561
|
+
start: string;
|
|
1562
|
+
}[];
|
|
1563
|
+
enable: boolean;
|
|
1564
|
+
};
|
|
1565
|
+
4: {
|
|
1566
|
+
hours: {
|
|
1567
|
+
end: string;
|
|
1568
|
+
start: string;
|
|
1569
|
+
}[];
|
|
1570
|
+
enable: boolean;
|
|
1571
|
+
};
|
|
1572
|
+
5: {
|
|
1573
|
+
hours: {
|
|
1574
|
+
end: string;
|
|
1575
|
+
start: string;
|
|
1576
|
+
}[];
|
|
1577
|
+
enable: boolean;
|
|
1578
|
+
};
|
|
1579
|
+
6: {
|
|
1580
|
+
hours: {
|
|
1581
|
+
end: string;
|
|
1582
|
+
start: string;
|
|
1583
|
+
}[];
|
|
1584
|
+
enable: boolean;
|
|
1585
|
+
};
|
|
1586
|
+
} | null | undefined;
|
|
1587
|
+
tags?: string[] | null | undefined;
|
|
1588
|
+
url?: string | null | undefined;
|
|
1555
1589
|
};
|
|
1556
1590
|
};
|
|
1557
|
-
}
|
|
1591
|
+
}[] | null | undefined;
|
|
1592
|
+
updatedBy?: {
|
|
1593
|
+
email?: string | null | undefined;
|
|
1594
|
+
phoneNumber?: string | null | undefined;
|
|
1595
|
+
birthday?: string | null | undefined;
|
|
1596
|
+
gender?: "MALE" | "FEMALE" | null | undefined;
|
|
1597
|
+
addresses?: {
|
|
1598
|
+
name: string;
|
|
1599
|
+
address: string;
|
|
1600
|
+
coordinates: number[];
|
|
1601
|
+
}[] | null | undefined;
|
|
1602
|
+
photoURL?: string | null | undefined;
|
|
1603
|
+
displayName?: string | null | undefined;
|
|
1604
|
+
imported?: {
|
|
1605
|
+
raw: Record<string, any>;
|
|
1606
|
+
source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
|
|
1607
|
+
} | null | undefined;
|
|
1608
|
+
_id: string;
|
|
1609
|
+
} | null | undefined;
|
|
1558
1610
|
_id: string;
|
|
1559
1611
|
items: {
|
|
1560
1612
|
disabledMeasurements?: string[] | null | undefined;
|
|
@@ -1632,95 +1684,20 @@ export declare const useClosingTemplateActions: import("pinia").StoreDefinition<
|
|
|
1632
1684
|
modelValue?: {
|
|
1633
1685
|
ref?: string | null | undefined;
|
|
1634
1686
|
_rev?: string | null | undefined;
|
|
1635
|
-
|
|
1636
|
-
|
|
1637
|
-
type: "restaurant";
|
|
1638
|
-
name: string;
|
|
1639
|
-
acceptRequest: boolean;
|
|
1640
|
-
dbName: string;
|
|
1641
|
-
} | {
|
|
1642
|
-
type: "warehouse";
|
|
1687
|
+
updatedAt?: Date | null | undefined;
|
|
1688
|
+
locations?: {
|
|
1689
|
+
type: "restaurant" | "warehouse";
|
|
1643
1690
|
name: string;
|
|
1644
1691
|
acceptRequest: boolean;
|
|
1645
1692
|
dbName: string;
|
|
1646
1693
|
doc: {
|
|
1647
|
-
pf_business?: {
|
|
1648
|
-
internal?: boolean | null | undefined;
|
|
1649
|
-
url?: string | null | undefined;
|
|
1650
|
-
expiredAt?: string | null | undefined;
|
|
1651
|
-
agentId?: string | null | undefined;
|
|
1652
|
-
restaurantTagGroups?: {
|
|
1653
|
-
name: string;
|
|
1654
|
-
id: string;
|
|
1655
|
-
tags: {
|
|
1656
|
-
name: string;
|
|
1657
|
-
id: string;
|
|
1658
|
-
}[];
|
|
1659
|
-
}[] | null | undefined;
|
|
1660
|
-
pf_agent?: {
|
|
1661
|
-
clickupId?: string | null | undefined;
|
|
1662
|
-
members?: {
|
|
1663
|
-
pf_user?: {
|
|
1664
|
-
email?: string | null | undefined;
|
|
1665
|
-
phoneNumber?: string | null | undefined;
|
|
1666
|
-
birthday?: string | null | undefined;
|
|
1667
|
-
gender?: "MALE" | "FEMALE" | null | undefined;
|
|
1668
|
-
addresses?: {
|
|
1669
|
-
name: string;
|
|
1670
|
-
address: string;
|
|
1671
|
-
coordinates: number[];
|
|
1672
|
-
}[] | null | undefined;
|
|
1673
|
-
photoURL?: string | null | undefined;
|
|
1674
|
-
displayName?: string | null | undefined;
|
|
1675
|
-
imported?: {
|
|
1676
|
-
raw: Record<string, any>;
|
|
1677
|
-
source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
|
|
1678
|
-
} | null | undefined;
|
|
1679
|
-
_id: string;
|
|
1680
|
-
} | null | undefined;
|
|
1681
|
-
role: "ADMIN";
|
|
1682
|
-
userId: string;
|
|
1683
|
-
}[] | null | undefined;
|
|
1684
|
-
code: string;
|
|
1685
|
-
name: string;
|
|
1686
|
-
_id: string;
|
|
1687
|
-
isReseller: boolean;
|
|
1688
|
-
} | null | undefined;
|
|
1689
|
-
thumbnail?: string | null | undefined;
|
|
1690
|
-
billingInfos?: {
|
|
1691
|
-
_id?: string | null | undefined;
|
|
1692
|
-
name: string;
|
|
1693
|
-
address: {
|
|
1694
|
-
coordinates?: number[] | null | undefined;
|
|
1695
|
-
line2?: string | null | undefined;
|
|
1696
|
-
state: string;
|
|
1697
|
-
country: string;
|
|
1698
|
-
line1: string;
|
|
1699
|
-
city: string;
|
|
1700
|
-
postcode: string;
|
|
1701
|
-
};
|
|
1702
|
-
email: string;
|
|
1703
|
-
companyName: string;
|
|
1704
|
-
contact: string;
|
|
1705
|
-
}[] | null | undefined;
|
|
1706
|
-
customerDisplayImages?: {
|
|
1707
|
-
url: string;
|
|
1708
|
-
restaurantIds: string[];
|
|
1709
|
-
}[] | null | undefined;
|
|
1710
|
-
name: string;
|
|
1711
|
-
_id: string;
|
|
1712
|
-
ownerId: string;
|
|
1713
|
-
restaurantQuota: number;
|
|
1714
|
-
warehouseQuota: number;
|
|
1715
|
-
menuVersion: string;
|
|
1716
|
-
} | null | undefined;
|
|
1717
1694
|
_id: string;
|
|
1718
1695
|
businessId: string;
|
|
1719
1696
|
profile: {
|
|
1720
|
-
|
|
1721
|
-
|
|
1722
|
-
name
|
|
1723
|
-
address
|
|
1697
|
+
code?: string | null | undefined;
|
|
1698
|
+
_id?: string | null | undefined;
|
|
1699
|
+
name?: string | undefined;
|
|
1700
|
+
address?: {
|
|
1724
1701
|
coordinates?: number[] | null | undefined;
|
|
1725
1702
|
line2?: string | null | undefined;
|
|
1726
1703
|
state: string;
|
|
@@ -1728,11 +1705,91 @@ export declare const useClosingTemplateActions: import("pinia").StoreDefinition<
|
|
|
1728
1705
|
line1: string;
|
|
1729
1706
|
city: string;
|
|
1730
1707
|
postcode: string;
|
|
1731
|
-
};
|
|
1732
|
-
|
|
1708
|
+
} | undefined;
|
|
1709
|
+
email?: string | undefined;
|
|
1710
|
+
regNo?: string | undefined;
|
|
1711
|
+
sstRegNo?: string | null | undefined;
|
|
1712
|
+
phoneNo?: string | undefined;
|
|
1713
|
+
legalName?: string | null | undefined;
|
|
1714
|
+
discovery?: boolean | null | undefined;
|
|
1715
|
+
coverPhoto?: string | null | undefined;
|
|
1716
|
+
thumbnailPhoto?: string | null | undefined;
|
|
1717
|
+
description?: string | null | undefined;
|
|
1718
|
+
photos?: string[] | null | undefined;
|
|
1719
|
+
operatingHours?: {
|
|
1720
|
+
0: {
|
|
1721
|
+
hours: {
|
|
1722
|
+
end: string;
|
|
1723
|
+
start: string;
|
|
1724
|
+
}[];
|
|
1725
|
+
enable: boolean;
|
|
1726
|
+
};
|
|
1727
|
+
2: {
|
|
1728
|
+
hours: {
|
|
1729
|
+
end: string;
|
|
1730
|
+
start: string;
|
|
1731
|
+
}[];
|
|
1732
|
+
enable: boolean;
|
|
1733
|
+
};
|
|
1734
|
+
1: {
|
|
1735
|
+
hours: {
|
|
1736
|
+
end: string;
|
|
1737
|
+
start: string;
|
|
1738
|
+
}[];
|
|
1739
|
+
enable: boolean;
|
|
1740
|
+
};
|
|
1741
|
+
3: {
|
|
1742
|
+
hours: {
|
|
1743
|
+
end: string;
|
|
1744
|
+
start: string;
|
|
1745
|
+
}[];
|
|
1746
|
+
enable: boolean;
|
|
1747
|
+
};
|
|
1748
|
+
4: {
|
|
1749
|
+
hours: {
|
|
1750
|
+
end: string;
|
|
1751
|
+
start: string;
|
|
1752
|
+
}[];
|
|
1753
|
+
enable: boolean;
|
|
1754
|
+
};
|
|
1755
|
+
5: {
|
|
1756
|
+
hours: {
|
|
1757
|
+
end: string;
|
|
1758
|
+
start: string;
|
|
1759
|
+
}[];
|
|
1760
|
+
enable: boolean;
|
|
1761
|
+
};
|
|
1762
|
+
6: {
|
|
1763
|
+
hours: {
|
|
1764
|
+
end: string;
|
|
1765
|
+
start: string;
|
|
1766
|
+
}[];
|
|
1767
|
+
enable: boolean;
|
|
1768
|
+
};
|
|
1769
|
+
} | null | undefined;
|
|
1770
|
+
tags?: string[] | null | undefined;
|
|
1771
|
+
url?: string | null | undefined;
|
|
1733
1772
|
};
|
|
1734
1773
|
};
|
|
1735
|
-
}
|
|
1774
|
+
}[] | null | undefined;
|
|
1775
|
+
updatedBy?: {
|
|
1776
|
+
email?: string | null | undefined;
|
|
1777
|
+
phoneNumber?: string | null | undefined;
|
|
1778
|
+
birthday?: string | null | undefined;
|
|
1779
|
+
gender?: "MALE" | "FEMALE" | null | undefined;
|
|
1780
|
+
addresses?: {
|
|
1781
|
+
name: string;
|
|
1782
|
+
address: string;
|
|
1783
|
+
coordinates: number[];
|
|
1784
|
+
}[] | null | undefined;
|
|
1785
|
+
photoURL?: string | null | undefined;
|
|
1786
|
+
displayName?: string | null | undefined;
|
|
1787
|
+
imported?: {
|
|
1788
|
+
raw: Record<string, any>;
|
|
1789
|
+
source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
|
|
1790
|
+
} | null | undefined;
|
|
1791
|
+
_id: string;
|
|
1792
|
+
} | null | undefined;
|
|
1736
1793
|
_id: string;
|
|
1737
1794
|
items: {
|
|
1738
1795
|
disabledMeasurements?: string[] | null | undefined;
|
|
@@ -1810,95 +1867,20 @@ export declare const useClosingTemplateActions: import("pinia").StoreDefinition<
|
|
|
1810
1867
|
template?: {
|
|
1811
1868
|
ref?: string | null | undefined;
|
|
1812
1869
|
_rev?: string | null | undefined;
|
|
1813
|
-
|
|
1814
|
-
|
|
1815
|
-
type: "restaurant";
|
|
1816
|
-
name: string;
|
|
1817
|
-
acceptRequest: boolean;
|
|
1818
|
-
dbName: string;
|
|
1819
|
-
} | {
|
|
1820
|
-
type: "warehouse";
|
|
1870
|
+
updatedAt?: Date | null | undefined;
|
|
1871
|
+
locations?: {
|
|
1872
|
+
type: "restaurant" | "warehouse";
|
|
1821
1873
|
name: string;
|
|
1822
1874
|
acceptRequest: boolean;
|
|
1823
1875
|
dbName: string;
|
|
1824
1876
|
doc: {
|
|
1825
|
-
pf_business?: {
|
|
1826
|
-
internal?: boolean | null | undefined;
|
|
1827
|
-
url?: string | null | undefined;
|
|
1828
|
-
expiredAt?: string | null | undefined;
|
|
1829
|
-
agentId?: string | null | undefined;
|
|
1830
|
-
restaurantTagGroups?: {
|
|
1831
|
-
name: string;
|
|
1832
|
-
id: string;
|
|
1833
|
-
tags: {
|
|
1834
|
-
name: string;
|
|
1835
|
-
id: string;
|
|
1836
|
-
}[];
|
|
1837
|
-
}[] | null | undefined;
|
|
1838
|
-
pf_agent?: {
|
|
1839
|
-
clickupId?: string | null | undefined;
|
|
1840
|
-
members?: {
|
|
1841
|
-
pf_user?: {
|
|
1842
|
-
email?: string | null | undefined;
|
|
1843
|
-
phoneNumber?: string | null | undefined;
|
|
1844
|
-
birthday?: string | null | undefined;
|
|
1845
|
-
gender?: "MALE" | "FEMALE" | null | undefined;
|
|
1846
|
-
addresses?: {
|
|
1847
|
-
name: string;
|
|
1848
|
-
address: string;
|
|
1849
|
-
coordinates: number[];
|
|
1850
|
-
}[] | null | undefined;
|
|
1851
|
-
photoURL?: string | null | undefined;
|
|
1852
|
-
displayName?: string | null | undefined;
|
|
1853
|
-
imported?: {
|
|
1854
|
-
raw: Record<string, any>;
|
|
1855
|
-
source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
|
|
1856
|
-
} | null | undefined;
|
|
1857
|
-
_id: string;
|
|
1858
|
-
} | null | undefined;
|
|
1859
|
-
role: "ADMIN";
|
|
1860
|
-
userId: string;
|
|
1861
|
-
}[] | null | undefined;
|
|
1862
|
-
code: string;
|
|
1863
|
-
name: string;
|
|
1864
|
-
_id: string;
|
|
1865
|
-
isReseller: boolean;
|
|
1866
|
-
} | null | undefined;
|
|
1867
|
-
thumbnail?: string | null | undefined;
|
|
1868
|
-
billingInfos?: {
|
|
1869
|
-
_id?: string | null | undefined;
|
|
1870
|
-
name: string;
|
|
1871
|
-
address: {
|
|
1872
|
-
coordinates?: number[] | null | undefined;
|
|
1873
|
-
line2?: string | null | undefined;
|
|
1874
|
-
state: string;
|
|
1875
|
-
country: string;
|
|
1876
|
-
line1: string;
|
|
1877
|
-
city: string;
|
|
1878
|
-
postcode: string;
|
|
1879
|
-
};
|
|
1880
|
-
email: string;
|
|
1881
|
-
companyName: string;
|
|
1882
|
-
contact: string;
|
|
1883
|
-
}[] | null | undefined;
|
|
1884
|
-
customerDisplayImages?: {
|
|
1885
|
-
url: string;
|
|
1886
|
-
restaurantIds: string[];
|
|
1887
|
-
}[] | null | undefined;
|
|
1888
|
-
name: string;
|
|
1889
|
-
_id: string;
|
|
1890
|
-
ownerId: string;
|
|
1891
|
-
restaurantQuota: number;
|
|
1892
|
-
warehouseQuota: number;
|
|
1893
|
-
menuVersion: string;
|
|
1894
|
-
} | null | undefined;
|
|
1895
1877
|
_id: string;
|
|
1896
1878
|
businessId: string;
|
|
1897
1879
|
profile: {
|
|
1898
|
-
|
|
1899
|
-
|
|
1900
|
-
name
|
|
1901
|
-
address
|
|
1880
|
+
code?: string | null | undefined;
|
|
1881
|
+
_id?: string | null | undefined;
|
|
1882
|
+
name?: string | undefined;
|
|
1883
|
+
address?: {
|
|
1902
1884
|
coordinates?: number[] | null | undefined;
|
|
1903
1885
|
line2?: string | null | undefined;
|
|
1904
1886
|
state: string;
|
|
@@ -1906,11 +1888,91 @@ export declare const useClosingTemplateActions: import("pinia").StoreDefinition<
|
|
|
1906
1888
|
line1: string;
|
|
1907
1889
|
city: string;
|
|
1908
1890
|
postcode: string;
|
|
1909
|
-
};
|
|
1910
|
-
|
|
1891
|
+
} | undefined;
|
|
1892
|
+
email?: string | undefined;
|
|
1893
|
+
regNo?: string | undefined;
|
|
1894
|
+
sstRegNo?: string | null | undefined;
|
|
1895
|
+
phoneNo?: string | undefined;
|
|
1896
|
+
legalName?: string | null | undefined;
|
|
1897
|
+
discovery?: boolean | null | undefined;
|
|
1898
|
+
coverPhoto?: string | null | undefined;
|
|
1899
|
+
thumbnailPhoto?: string | null | undefined;
|
|
1900
|
+
description?: string | null | undefined;
|
|
1901
|
+
photos?: string[] | null | undefined;
|
|
1902
|
+
operatingHours?: {
|
|
1903
|
+
0: {
|
|
1904
|
+
hours: {
|
|
1905
|
+
end: string;
|
|
1906
|
+
start: string;
|
|
1907
|
+
}[];
|
|
1908
|
+
enable: boolean;
|
|
1909
|
+
};
|
|
1910
|
+
2: {
|
|
1911
|
+
hours: {
|
|
1912
|
+
end: string;
|
|
1913
|
+
start: string;
|
|
1914
|
+
}[];
|
|
1915
|
+
enable: boolean;
|
|
1916
|
+
};
|
|
1917
|
+
1: {
|
|
1918
|
+
hours: {
|
|
1919
|
+
end: string;
|
|
1920
|
+
start: string;
|
|
1921
|
+
}[];
|
|
1922
|
+
enable: boolean;
|
|
1923
|
+
};
|
|
1924
|
+
3: {
|
|
1925
|
+
hours: {
|
|
1926
|
+
end: string;
|
|
1927
|
+
start: string;
|
|
1928
|
+
}[];
|
|
1929
|
+
enable: boolean;
|
|
1930
|
+
};
|
|
1931
|
+
4: {
|
|
1932
|
+
hours: {
|
|
1933
|
+
end: string;
|
|
1934
|
+
start: string;
|
|
1935
|
+
}[];
|
|
1936
|
+
enable: boolean;
|
|
1937
|
+
};
|
|
1938
|
+
5: {
|
|
1939
|
+
hours: {
|
|
1940
|
+
end: string;
|
|
1941
|
+
start: string;
|
|
1942
|
+
}[];
|
|
1943
|
+
enable: boolean;
|
|
1944
|
+
};
|
|
1945
|
+
6: {
|
|
1946
|
+
hours: {
|
|
1947
|
+
end: string;
|
|
1948
|
+
start: string;
|
|
1949
|
+
}[];
|
|
1950
|
+
enable: boolean;
|
|
1951
|
+
};
|
|
1952
|
+
} | null | undefined;
|
|
1953
|
+
tags?: string[] | null | undefined;
|
|
1954
|
+
url?: string | null | undefined;
|
|
1911
1955
|
};
|
|
1912
1956
|
};
|
|
1913
|
-
}
|
|
1957
|
+
}[] | null | undefined;
|
|
1958
|
+
updatedBy?: {
|
|
1959
|
+
email?: string | null | undefined;
|
|
1960
|
+
phoneNumber?: string | null | undefined;
|
|
1961
|
+
birthday?: string | null | undefined;
|
|
1962
|
+
gender?: "MALE" | "FEMALE" | null | undefined;
|
|
1963
|
+
addresses?: {
|
|
1964
|
+
name: string;
|
|
1965
|
+
address: string;
|
|
1966
|
+
coordinates: number[];
|
|
1967
|
+
}[] | null | undefined;
|
|
1968
|
+
photoURL?: string | null | undefined;
|
|
1969
|
+
displayName?: string | null | undefined;
|
|
1970
|
+
imported?: {
|
|
1971
|
+
raw: Record<string, any>;
|
|
1972
|
+
source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
|
|
1973
|
+
} | null | undefined;
|
|
1974
|
+
_id: string;
|
|
1975
|
+
} | null | undefined;
|
|
1914
1976
|
_id: string;
|
|
1915
1977
|
items: {
|
|
1916
1978
|
disabledMeasurements?: string[] | null | undefined;
|
|
@@ -1987,95 +2049,20 @@ export declare const useClosingTemplateActions: import("pinia").StoreDefinition<
|
|
|
1987
2049
|
template?: {
|
|
1988
2050
|
ref?: string | null | undefined;
|
|
1989
2051
|
_rev?: string | null | undefined;
|
|
1990
|
-
|
|
1991
|
-
|
|
1992
|
-
type: "restaurant";
|
|
1993
|
-
name: string;
|
|
1994
|
-
acceptRequest: boolean;
|
|
1995
|
-
dbName: string;
|
|
1996
|
-
} | {
|
|
1997
|
-
type: "warehouse";
|
|
2052
|
+
updatedAt?: Date | null | undefined;
|
|
2053
|
+
locations?: {
|
|
2054
|
+
type: "restaurant" | "warehouse";
|
|
1998
2055
|
name: string;
|
|
1999
2056
|
acceptRequest: boolean;
|
|
2000
2057
|
dbName: string;
|
|
2001
2058
|
doc: {
|
|
2002
|
-
pf_business?: {
|
|
2003
|
-
internal?: boolean | null | undefined;
|
|
2004
|
-
url?: string | null | undefined;
|
|
2005
|
-
expiredAt?: string | null | undefined;
|
|
2006
|
-
agentId?: string | null | undefined;
|
|
2007
|
-
restaurantTagGroups?: {
|
|
2008
|
-
name: string;
|
|
2009
|
-
id: string;
|
|
2010
|
-
tags: {
|
|
2011
|
-
name: string;
|
|
2012
|
-
id: string;
|
|
2013
|
-
}[];
|
|
2014
|
-
}[] | null | undefined;
|
|
2015
|
-
pf_agent?: {
|
|
2016
|
-
clickupId?: string | null | undefined;
|
|
2017
|
-
members?: {
|
|
2018
|
-
pf_user?: {
|
|
2019
|
-
email?: string | null | undefined;
|
|
2020
|
-
phoneNumber?: string | null | undefined;
|
|
2021
|
-
birthday?: string | null | undefined;
|
|
2022
|
-
gender?: "MALE" | "FEMALE" | null | undefined;
|
|
2023
|
-
addresses?: {
|
|
2024
|
-
name: string;
|
|
2025
|
-
address: string;
|
|
2026
|
-
coordinates: number[];
|
|
2027
|
-
}[] | null | undefined;
|
|
2028
|
-
photoURL?: string | null | undefined;
|
|
2029
|
-
displayName?: string | null | undefined;
|
|
2030
|
-
imported?: {
|
|
2031
|
-
raw: Record<string, any>;
|
|
2032
|
-
source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
|
|
2033
|
-
} | null | undefined;
|
|
2034
|
-
_id: string;
|
|
2035
|
-
} | null | undefined;
|
|
2036
|
-
role: "ADMIN";
|
|
2037
|
-
userId: string;
|
|
2038
|
-
}[] | null | undefined;
|
|
2039
|
-
code: string;
|
|
2040
|
-
name: string;
|
|
2041
|
-
_id: string;
|
|
2042
|
-
isReseller: boolean;
|
|
2043
|
-
} | null | undefined;
|
|
2044
|
-
thumbnail?: string | null | undefined;
|
|
2045
|
-
billingInfos?: {
|
|
2046
|
-
_id?: string | null | undefined;
|
|
2047
|
-
name: string;
|
|
2048
|
-
address: {
|
|
2049
|
-
coordinates?: number[] | null | undefined;
|
|
2050
|
-
line2?: string | null | undefined;
|
|
2051
|
-
state: string;
|
|
2052
|
-
country: string;
|
|
2053
|
-
line1: string;
|
|
2054
|
-
city: string;
|
|
2055
|
-
postcode: string;
|
|
2056
|
-
};
|
|
2057
|
-
email: string;
|
|
2058
|
-
companyName: string;
|
|
2059
|
-
contact: string;
|
|
2060
|
-
}[] | null | undefined;
|
|
2061
|
-
customerDisplayImages?: {
|
|
2062
|
-
url: string;
|
|
2063
|
-
restaurantIds: string[];
|
|
2064
|
-
}[] | null | undefined;
|
|
2065
|
-
name: string;
|
|
2066
|
-
_id: string;
|
|
2067
|
-
ownerId: string;
|
|
2068
|
-
restaurantQuota: number;
|
|
2069
|
-
warehouseQuota: number;
|
|
2070
|
-
menuVersion: string;
|
|
2071
|
-
} | null | undefined;
|
|
2072
2059
|
_id: string;
|
|
2073
2060
|
businessId: string;
|
|
2074
2061
|
profile: {
|
|
2075
|
-
|
|
2076
|
-
|
|
2077
|
-
name
|
|
2078
|
-
address
|
|
2062
|
+
code?: string | null | undefined;
|
|
2063
|
+
_id?: string | null | undefined;
|
|
2064
|
+
name?: string | undefined;
|
|
2065
|
+
address?: {
|
|
2079
2066
|
coordinates?: number[] | null | undefined;
|
|
2080
2067
|
line2?: string | null | undefined;
|
|
2081
2068
|
state: string;
|
|
@@ -2083,11 +2070,91 @@ export declare const useClosingTemplateActions: import("pinia").StoreDefinition<
|
|
|
2083
2070
|
line1: string;
|
|
2084
2071
|
city: string;
|
|
2085
2072
|
postcode: string;
|
|
2086
|
-
};
|
|
2087
|
-
|
|
2073
|
+
} | undefined;
|
|
2074
|
+
email?: string | undefined;
|
|
2075
|
+
regNo?: string | undefined;
|
|
2076
|
+
sstRegNo?: string | null | undefined;
|
|
2077
|
+
phoneNo?: string | undefined;
|
|
2078
|
+
legalName?: string | null | undefined;
|
|
2079
|
+
discovery?: boolean | null | undefined;
|
|
2080
|
+
coverPhoto?: string | null | undefined;
|
|
2081
|
+
thumbnailPhoto?: string | null | undefined;
|
|
2082
|
+
description?: string | null | undefined;
|
|
2083
|
+
photos?: string[] | null | undefined;
|
|
2084
|
+
operatingHours?: {
|
|
2085
|
+
0: {
|
|
2086
|
+
hours: {
|
|
2087
|
+
end: string;
|
|
2088
|
+
start: string;
|
|
2089
|
+
}[];
|
|
2090
|
+
enable: boolean;
|
|
2091
|
+
};
|
|
2092
|
+
2: {
|
|
2093
|
+
hours: {
|
|
2094
|
+
end: string;
|
|
2095
|
+
start: string;
|
|
2096
|
+
}[];
|
|
2097
|
+
enable: boolean;
|
|
2098
|
+
};
|
|
2099
|
+
1: {
|
|
2100
|
+
hours: {
|
|
2101
|
+
end: string;
|
|
2102
|
+
start: string;
|
|
2103
|
+
}[];
|
|
2104
|
+
enable: boolean;
|
|
2105
|
+
};
|
|
2106
|
+
3: {
|
|
2107
|
+
hours: {
|
|
2108
|
+
end: string;
|
|
2109
|
+
start: string;
|
|
2110
|
+
}[];
|
|
2111
|
+
enable: boolean;
|
|
2112
|
+
};
|
|
2113
|
+
4: {
|
|
2114
|
+
hours: {
|
|
2115
|
+
end: string;
|
|
2116
|
+
start: string;
|
|
2117
|
+
}[];
|
|
2118
|
+
enable: boolean;
|
|
2119
|
+
};
|
|
2120
|
+
5: {
|
|
2121
|
+
hours: {
|
|
2122
|
+
end: string;
|
|
2123
|
+
start: string;
|
|
2124
|
+
}[];
|
|
2125
|
+
enable: boolean;
|
|
2126
|
+
};
|
|
2127
|
+
6: {
|
|
2128
|
+
hours: {
|
|
2129
|
+
end: string;
|
|
2130
|
+
start: string;
|
|
2131
|
+
}[];
|
|
2132
|
+
enable: boolean;
|
|
2133
|
+
};
|
|
2134
|
+
} | null | undefined;
|
|
2135
|
+
tags?: string[] | null | undefined;
|
|
2136
|
+
url?: string | null | undefined;
|
|
2088
2137
|
};
|
|
2089
2138
|
};
|
|
2090
|
-
}
|
|
2139
|
+
}[] | null | undefined;
|
|
2140
|
+
updatedBy?: {
|
|
2141
|
+
email?: string | null | undefined;
|
|
2142
|
+
phoneNumber?: string | null | undefined;
|
|
2143
|
+
birthday?: string | null | undefined;
|
|
2144
|
+
gender?: "MALE" | "FEMALE" | null | undefined;
|
|
2145
|
+
addresses?: {
|
|
2146
|
+
name: string;
|
|
2147
|
+
address: string;
|
|
2148
|
+
coordinates: number[];
|
|
2149
|
+
}[] | null | undefined;
|
|
2150
|
+
photoURL?: string | null | undefined;
|
|
2151
|
+
displayName?: string | null | undefined;
|
|
2152
|
+
imported?: {
|
|
2153
|
+
raw: Record<string, any>;
|
|
2154
|
+
source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
|
|
2155
|
+
} | null | undefined;
|
|
2156
|
+
_id: string;
|
|
2157
|
+
} | null | undefined;
|
|
2091
2158
|
_id: string;
|
|
2092
2159
|
items: {
|
|
2093
2160
|
disabledMeasurements?: string[] | null | undefined;
|
|
@@ -2161,5 +2228,5 @@ export declare const useClosingTemplateActions: import("pinia").StoreDefinition<
|
|
|
2161
2228
|
'onUpdate:show'?: ((show: boolean) => void) | undefined;
|
|
2162
2229
|
'onAction:edit'?: (() => void) | undefined;
|
|
2163
2230
|
}>;
|
|
2164
|
-
}, "createTemplate" | "viewTemplate" | "updateTemplate" | "deleteTemplate">>;
|
|
2231
|
+
}, "createTemplate" | "viewTemplate" | "updateTemplate" | "deleteTemplate" | "exportTemplates" | "importTemplates">>;
|
|
2165
2232
|
export {};
|