@feedmepos/mf-inventory-portal 0.0.22-dev.3 → 0.0.22-dev.31

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.
Files changed (79) hide show
  1. package/dist/App.vue.d.ts +2 -0
  2. package/dist/{ApprovalView-BnkFRJgX.js → ApprovalView-DURCoP6_.js} +26 -26
  3. package/dist/{BindingsDialog-BDzmf8Wr.js → BindingsDialog-Cgf5MuLY.js} +1 -1
  4. package/dist/{BindingsPicker-CRGFd-d8.js → BindingsPicker-DvcjRma9.js} +8 -8
  5. package/dist/{BindingsTable-BnHju77G.js → BindingsTable-BPrs04hn.js} +1 -1
  6. package/dist/ClosingTemplateView-DU_OX_KS.js +1072 -0
  7. package/dist/Entry.vue.d.ts +0 -2
  8. package/dist/{FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-BRV9dZhu.js → FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-BNhYJdT-.js} +8 -8
  9. package/dist/IngredientsView-BGB-So1n.js +1817 -0
  10. package/dist/{IntegrationView-UySDEAnh.js → IntegrationView-tOw9GGXr.js} +120 -120
  11. package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-Cxy6vo9D.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-CWz2vOzD.js} +1 -1
  12. package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-ChrCZc0C.js → PremiumBadge.vue_vue_type_script_setup_true_lang-Qqp3wJ2n.js} +1 -1
  13. package/dist/{PurchaseOrderPrintPreview-CGxMILW0.js → PurchaseOrderPrintPreview-PnIeMMrq.js} +1 -1
  14. package/dist/{ReceiveRequestView-BHOC-ZLV.js → ReceiveRequestView-WjoI68r_.js} +20 -21
  15. package/dist/RecipeView-B2KynG4H.js +590 -0
  16. package/dist/{StockView-BcXcQZpl.js → StockView-DsutlmVn.js} +602 -585
  17. package/dist/{SupplierView-Bl13ZM-9.js → SupplierView-BuyFY-tF.js} +108 -108
  18. package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-BoGGbhJi.js +858 -0
  19. package/dist/TransferDialog.vue_vue_type_script_setup_true_lang-8yMFTCo1.js +1678 -0
  20. package/dist/TransferTemplateView-BSn-HKWr.js +1232 -0
  21. package/dist/{UnitView-DG8PGv5Y.js → UnitView-Bx-dS9Nv.js} +6 -6
  22. package/dist/{WarehouseView-CeS8jrgw.js → WarehouseView-DpMvmi_A.js} +17 -17
  23. package/dist/api/inventory.d.ts +72 -85
  24. package/dist/api/netsuite.d.ts +47 -0
  25. package/dist/api/purchase-order-template.d.ts +0 -4
  26. package/dist/{app-DYhspC_r.js → app-B6CTWYqZ.js} +21877 -20978
  27. package/dist/app.d.ts +7 -0
  28. package/dist/app.js +3 -3
  29. package/dist/components/FmFilterableMenuOptions.vue.d.ts +54 -0
  30. package/dist/components/FmMinMaxInputRules.d.ts +2 -0
  31. package/dist/components/FmUnitInputRules.d.ts +2 -0
  32. package/dist/{decimal-DwEh3AcZ.js → decimal-DDNJiEl8.js} +1 -1
  33. package/dist/{defineDeepModel-htf7zxRR.js → defineDeepModel-CjoZrLbV.js} +3 -3
  34. package/dist/{format-time-from-id-1BxShIsX.js → format-time-from-id-CNRJtPZY.js} +3 -3
  35. package/dist/helper/rules.d.ts +7 -0
  36. package/dist/helper/rules.spec.d.ts +1 -0
  37. package/dist/{id-to-date-CzSDsYm2.js → id-to-date-DJcRYNGy.js} +1 -1
  38. package/dist/purchase-order-transaction-type-Cew6w60I.js +678 -0
  39. package/dist/stores/api.d.ts +1 -0
  40. package/dist/stores/feature.d.ts +0 -1
  41. package/dist/stores/helper/core-store-proxy.d.ts +3 -0
  42. package/dist/stores/helper/generate-backend-urls.d.ts +1 -0
  43. package/dist/stores/inventory.d.ts +22 -0
  44. package/dist/stores/location.d.ts +420 -504
  45. package/dist/stores/netsuite.d.ts +68 -0
  46. package/dist/stores/route.d.ts +0 -5
  47. package/dist/stores/warehouse.d.ts +4 -7
  48. package/dist/style.css +1 -1
  49. package/dist/{supplier-DegAxD_n.js → supplier-bvsRMnxk.js} +1 -1
  50. package/dist/tsconfig.app.tsbuildinfo +1 -1
  51. package/dist/use-template-enabled-locations-2-DSlNJ-VP.js +85 -0
  52. package/dist/views/closing-template/composables/use-closing-template-actions.d.ts +1080 -1020
  53. package/dist/views/closing-template/composables/use-closing-template-table.d.ts +1080 -1020
  54. package/dist/views/receive-request/components/transfer-details/TransferDetailsProps.d.ts +1 -0
  55. package/dist/views/receive-request/components/transfer-form/TransferForm.vue.d.ts +1854 -0
  56. package/dist/views/receive-request/components/transfer-form/TransferFormProps.d.ts +1 -0
  57. package/dist/views/receive-request/composables/use-receive-request-form.d.ts +2329 -286
  58. package/dist/views/receive-request/composables/use-receive-request-table.d.ts +2213 -170
  59. package/dist/views/transfer-template/components/transfer-template-form/composables/use-template-enabled-locations-2.d.ts +13 -0
  60. package/dist/views/transfer-template/components/transfer-template-form/composables/use-template-enabled-locations.d.ts +71 -85
  61. package/dist/views/transfer-template/components/transfer-template-form/composables/use-transfer-locations.d.ts +39 -2
  62. package/dist/views/transfer-template/composables/use-transfer-template-actions.d.ts +1253 -1457
  63. package/dist/views/transfer-template/composables/use-transfer-template-table.d.ts +420 -1474
  64. package/dist/views/transfer-template/helpers/remove-deleted-skus.helper.d.ts +230 -0
  65. package/dist/views/warehouse/components/WarehouseForm.vue.d.ts +8 -14
  66. package/dist/{xlsx-CSS2klUs.js → xlsx-CnMhXCRI.js} +1 -1
  67. package/dist/{xlsx.util-CeY18XxV.js → xlsx.util-CV-IkG_3.js} +2 -2
  68. package/package.json +7 -7
  69. package/dist/ClosingTemplateView-D2EIa9YG.js +0 -1030
  70. package/dist/IngredientsView-CiUpjKmC.js +0 -1759
  71. package/dist/RecipeView-lgrm1J9x.js +0 -581
  72. package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-SXFiNrtm.js +0 -740
  73. package/dist/TransferDialog.vue_vue_type_script_setup_true_lang-DSBEn-Mt.js +0 -1409
  74. package/dist/TransferTemplateView-C_eqQ9a8.js +0 -1230
  75. package/dist/array-ClJzD_Lt.js +0 -30
  76. package/dist/layout/InventoryLayout.vue.d.ts +0 -2
  77. package/dist/layout/layout-routes.d.ts +0 -6
  78. package/dist/purchase-order-transaction-type-lwIoC03T.js +0 -712
  79. package/dist/use-template-enabled-locations-B2ZtZAoX.js +0 -57
@@ -22,95 +22,19 @@ export declare const useTransferTemplateActions: import("pinia").StoreDefinition
22
22
  mode?: FormMode | undefined;
23
23
  modelValue?: {
24
24
  _rev?: string | null | undefined;
25
- locations?: ({
26
- doc?: any;
27
- type: "restaurant";
28
- name: string;
29
- acceptRequest: boolean;
30
- dbName: string;
31
- } | {
32
- type: "warehouse";
25
+ locations?: {
26
+ type: "restaurant" | "warehouse";
33
27
  name: string;
34
28
  acceptRequest: boolean;
35
29
  dbName: string;
36
30
  doc: {
37
- pf_business?: {
38
- internal?: boolean | null | undefined;
39
- url?: string | null | undefined;
40
- expiredAt?: string | null | undefined;
41
- agentId?: string | null | undefined;
42
- restaurantTagGroups?: {
43
- name: string;
44
- id: string;
45
- tags: {
46
- name: string;
47
- id: string;
48
- }[];
49
- }[] | null | undefined;
50
- pf_agent?: {
51
- clickupId?: string | null | undefined;
52
- members?: {
53
- pf_user?: {
54
- email?: string | null | undefined;
55
- phoneNumber?: string | null | undefined;
56
- birthday?: string | null | undefined;
57
- gender?: "MALE" | "FEMALE" | null | undefined;
58
- addresses?: {
59
- name: string;
60
- address: string;
61
- coordinates: number[];
62
- }[] | null | undefined;
63
- photoURL?: string | null | undefined;
64
- displayName?: string | null | undefined;
65
- imported?: {
66
- raw: Record<string, any>;
67
- source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
68
- } | null | undefined;
69
- _id: string;
70
- } | null | undefined;
71
- role: "ADMIN";
72
- userId: string;
73
- }[] | null | undefined;
74
- code: string;
75
- name: string;
76
- _id: string;
77
- isReseller: boolean;
78
- } | null | undefined;
79
- thumbnail?: string | null | undefined;
80
- billingInfos?: {
81
- _id?: string | null | undefined;
82
- name: string;
83
- address: {
84
- coordinates?: number[] | null | undefined;
85
- line2?: string | null | undefined;
86
- state: string;
87
- country: string;
88
- line1: string;
89
- city: string;
90
- postcode: string;
91
- };
92
- email: string;
93
- companyName: string;
94
- contact: string;
95
- }[] | null | undefined;
96
- customerDisplayImages?: {
97
- url: string;
98
- restaurantIds: string[];
99
- }[] | null | undefined;
100
- name: string;
101
- _id: string;
102
- ownerId: string;
103
- restaurantQuota: number;
104
- warehouseQuota: number;
105
- menuVersion: string;
106
- } | null | undefined;
107
31
  _id: string;
108
32
  businessId: string;
109
33
  profile: {
110
- email?: string | null | undefined;
111
- phoneNo?: string | null | undefined;
112
- name: string;
113
- address: {
34
+ code?: string | null | undefined;
35
+ _id?: string | null | undefined;
36
+ name?: string | undefined;
37
+ address?: {
114
38
  coordinates?: number[] | null | undefined;
115
39
  line2?: string | null | undefined;
116
40
  state: string;
@@ -118,56 +42,78 @@ export declare const useTransferTemplateActions: import("pinia").StoreDefinition
118
42
  line1: string;
119
43
  city: string;
120
44
  postcode: string;
121
- };
122
- regNo: string;
45
+ } | undefined;
46
+ email?: string | undefined;
47
+ regNo?: string | undefined;
48
+ sstRegNo?: string | null | undefined;
49
+ phoneNo?: string | undefined;
50
+ legalName?: string | null | undefined;
51
+ discovery?: boolean | null | undefined;
52
+ coverPhoto?: string | null | undefined;
53
+ thumbnailPhoto?: string | null | undefined;
54
+ description?: string | null | undefined;
55
+ photos?: string[] | null | undefined;
56
+ operatingHours?: {
57
+ 0: {
58
+ hours: {
59
+ end: string;
60
+ start: string;
61
+ }[];
62
+ enable: boolean;
63
+ };
64
+ 2: {
65
+ hours: {
66
+ end: string;
67
+ start: string;
68
+ }[];
69
+ enable: boolean;
70
+ };
71
+ 1: {
72
+ hours: {
73
+ end: string;
74
+ start: string;
75
+ }[];
76
+ enable: boolean;
77
+ };
78
+ 3: {
79
+ hours: {
80
+ end: string;
81
+ start: string;
82
+ }[];
83
+ enable: boolean;
84
+ };
85
+ 4: {
86
+ hours: {
87
+ end: string;
88
+ start: string;
89
+ }[];
90
+ enable: boolean;
91
+ };
92
+ 5: {
93
+ hours: {
94
+ end: string;
95
+ start: string;
96
+ }[];
97
+ enable: boolean;
98
+ };
99
+ 6: {
100
+ hours: {
101
+ end: string;
102
+ start: string;
103
+ }[];
104
+ enable: boolean;
105
+ };
106
+ } | null | undefined;
107
+ tags?: string[] | null | undefined;
108
+ url?: string | null | undefined;
123
109
  };
124
110
  };
125
- })[] | null | undefined;
111
+ }[] | null | undefined;
126
112
  _id: string;
127
113
  name: string;
128
114
  purchaseOrder: {
129
115
  remark?: string | null | undefined;
130
116
  ref?: string | null | undefined;
131
- supplier?: {
132
- phoneNumber?: string | null | undefined;
133
- email?: string | null | undefined;
134
- _rev?: string | null | undefined;
135
- internal?: "restaurant" | "warehouse" | null | undefined;
136
- contactName?: string | null | undefined;
137
- registrationNumber?: string | undefined;
138
- supplyItems?: {
139
- defaultCost: {
140
- measurement?: {
141
- id: string;
142
- name: string;
143
- abbrev: string;
144
- conversion: {
145
- amount: number;
146
- precision: number;
147
- };
148
- } | null | undefined;
149
- costPerUnit: {
150
- currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
151
- amount: number;
152
- precision: number;
153
- };
154
- };
155
- skuId: string;
156
- }[] | null | undefined;
157
- _id: string;
158
- name: string;
159
- address: {
160
- line2?: string | null | undefined;
161
- line1: string;
162
- state: string;
163
- city: string;
164
- postcode: string;
165
- country: string;
166
- };
167
- } | undefined;
168
- template?: string | null | undefined;
169
- stockSnapshotId?: string | null | undefined;
170
- effectiveAt?: string | null | undefined;
171
117
  items: {
172
118
  measurement?: {
173
119
  id: string;
@@ -265,122 +211,7 @@ export declare const useTransferTemplateActions: import("pinia").StoreDefinition
265
211
  precision: number;
266
212
  };
267
213
  }[];
268
- };
269
- } | undefined;
270
- show?: boolean | undefined;
271
- 'onUpdate:show'?: ((show: boolean) => void) | undefined;
272
- onSubmitted?: (() => void) | undefined;
273
- }, TransferTemplateDialogPropsWithEventBinding | {
274
- mode?: FormMode | undefined;
275
- modelValue?: {
276
- _rev?: string | null | undefined;
277
- locations?: ({
278
- doc?: any;
279
- type: "restaurant";
280
- name: string;
281
- acceptRequest: boolean;
282
- dbName: string;
283
- } | {
284
- type: "warehouse";
285
- name: string;
286
- acceptRequest: boolean;
287
- dbName: string;
288
- doc: {
289
- pf_business?: {
290
- internal?: boolean | null | undefined;
291
- url?: string | null | undefined;
292
- expiredAt?: string | null | undefined;
293
- agentId?: string | null | undefined;
294
- restaurantTagGroups?: {
295
- name: string;
296
- id: string;
297
- tags: {
298
- name: string;
299
- id: string;
300
- }[];
301
- }[] | null | undefined;
302
- pf_agent?: {
303
- clickupId?: string | null | undefined;
304
- members?: {
305
- pf_user?: {
306
- email?: string | null | undefined;
307
- phoneNumber?: string | null | undefined;
308
- birthday?: string | null | undefined;
309
- gender?: "MALE" | "FEMALE" | null | undefined;
310
- addresses?: {
311
- name: string;
312
- address: string;
313
- coordinates: number[];
314
- }[] | null | undefined;
315
- photoURL?: string | null | undefined;
316
- displayName?: string | null | undefined;
317
- imported?: {
318
- raw: Record<string, any>;
319
- source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
320
- } | null | undefined;
321
- _id: string;
322
- } | null | undefined;
323
- role: "ADMIN";
324
- userId: string;
325
- }[] | null | undefined;
326
- code: string;
327
- name: string;
328
- _id: string;
329
- isReseller: boolean;
330
- } | null | undefined;
331
- thumbnail?: string | null | undefined;
332
- billingInfos?: {
333
- _id?: string | null | undefined;
334
- name: string;
335
- address: {
336
- coordinates?: number[] | null | undefined;
337
- line2?: string | null | undefined;
338
- state: string;
339
- country: string;
340
- line1: string;
341
- city: string;
342
- postcode: string;
343
- };
344
- email: string;
345
- companyName: string;
346
- contact: string;
347
- }[] | null | undefined;
348
- customerDisplayImages?: {
349
- url: string;
350
- restaurantIds: string[];
351
- }[] | null | undefined;
352
- name: string;
353
- _id: string;
354
- ownerId: string;
355
- restaurantQuota: number;
356
- warehouseQuota: number;
357
- menuVersion: string;
358
- } | null | undefined;
359
- _id: string;
360
- businessId: string;
361
- profile: {
362
- email?: string | null | undefined;
363
- phoneNo?: string | null | undefined;
364
- name: string;
365
- address: {
366
- coordinates?: number[] | null | undefined;
367
- line2?: string | null | undefined;
368
- state: string;
369
- country: string;
370
- line1: string;
371
- city: string;
372
- postcode: string;
373
- };
374
- regNo: string;
375
- };
376
- };
377
- })[] | null | undefined;
378
- _id: string;
379
- name: string;
380
- purchaseOrder: {
381
- remark?: string | null | undefined;
382
- ref?: string | null | undefined;
383
- supplier?: {
214
+ supplier: {
384
215
  phoneNumber?: string | null | undefined;
385
216
  email?: string | null | undefined;
386
217
  _rev?: string | null | undefined;
@@ -416,10 +247,108 @@ export declare const useTransferTemplateActions: import("pinia").StoreDefinition
416
247
  postcode: string;
417
248
  country: string;
418
249
  };
419
- } | undefined;
420
- template?: string | null | undefined;
421
- stockSnapshotId?: string | null | undefined;
422
- effectiveAt?: string | null | undefined;
250
+ };
251
+ };
252
+ } | undefined;
253
+ show?: boolean | undefined;
254
+ 'onUpdate:show'?: ((show: boolean) => void) | undefined;
255
+ onSubmitted?: (() => void) | undefined;
256
+ }, TransferTemplateDialogPropsWithEventBinding | {
257
+ mode?: FormMode | undefined;
258
+ modelValue?: {
259
+ _rev?: string | null | undefined;
260
+ locations?: {
261
+ type: "restaurant" | "warehouse";
262
+ name: string;
263
+ acceptRequest: boolean;
264
+ dbName: string;
265
+ doc: {
266
+ _id: string;
267
+ businessId: string;
268
+ profile: {
269
+ code?: string | null | undefined;
270
+ _id?: string | null | undefined;
271
+ name?: string | undefined;
272
+ address?: {
273
+ coordinates?: number[] | null | undefined;
274
+ line2?: string | null | undefined;
275
+ state: string;
276
+ country: string;
277
+ line1: string;
278
+ city: string;
279
+ postcode: string;
280
+ } | undefined;
281
+ email?: string | undefined;
282
+ regNo?: string | undefined;
283
+ sstRegNo?: string | null | undefined;
284
+ phoneNo?: string | undefined;
285
+ legalName?: string | null | undefined;
286
+ discovery?: boolean | null | undefined;
287
+ coverPhoto?: string | null | undefined;
288
+ thumbnailPhoto?: string | null | undefined;
289
+ description?: string | null | undefined;
290
+ photos?: string[] | null | undefined;
291
+ operatingHours?: {
292
+ 0: {
293
+ hours: {
294
+ end: string;
295
+ start: string;
296
+ }[];
297
+ enable: boolean;
298
+ };
299
+ 2: {
300
+ hours: {
301
+ end: string;
302
+ start: string;
303
+ }[];
304
+ enable: boolean;
305
+ };
306
+ 1: {
307
+ hours: {
308
+ end: string;
309
+ start: string;
310
+ }[];
311
+ enable: boolean;
312
+ };
313
+ 3: {
314
+ hours: {
315
+ end: string;
316
+ start: string;
317
+ }[];
318
+ enable: boolean;
319
+ };
320
+ 4: {
321
+ hours: {
322
+ end: string;
323
+ start: string;
324
+ }[];
325
+ enable: boolean;
326
+ };
327
+ 5: {
328
+ hours: {
329
+ end: string;
330
+ start: string;
331
+ }[];
332
+ enable: boolean;
333
+ };
334
+ 6: {
335
+ hours: {
336
+ end: string;
337
+ start: string;
338
+ }[];
339
+ enable: boolean;
340
+ };
341
+ } | null | undefined;
342
+ tags?: string[] | null | undefined;
343
+ url?: string | null | undefined;
344
+ };
345
+ };
346
+ }[] | null | undefined;
347
+ _id: string;
348
+ name: string;
349
+ purchaseOrder: {
350
+ remark?: string | null | undefined;
351
+ ref?: string | null | undefined;
423
352
  items: {
424
353
  measurement?: {
425
354
  id: string;
@@ -517,122 +446,7 @@ export declare const useTransferTemplateActions: import("pinia").StoreDefinition
517
446
  precision: number;
518
447
  };
519
448
  }[];
520
- };
521
- } | undefined;
522
- show?: boolean | undefined;
523
- 'onUpdate:show'?: ((show: boolean) => void) | undefined;
524
- onSubmitted?: (() => void) | undefined;
525
- }>;
526
- templateDetailsProps: Ref<{
527
- template?: {
528
- _rev?: string | null | undefined;
529
- locations?: ({
530
- doc?: any;
531
- type: "restaurant";
532
- name: string;
533
- acceptRequest: boolean;
534
- dbName: string;
535
- } | {
536
- type: "warehouse";
537
- name: string;
538
- acceptRequest: boolean;
539
- dbName: string;
540
- doc: {
541
- pf_business?: {
542
- internal?: boolean | null | undefined;
543
- url?: string | null | undefined;
544
- expiredAt?: string | null | undefined;
545
- agentId?: string | null | undefined;
546
- restaurantTagGroups?: {
547
- name: string;
548
- id: string;
549
- tags: {
550
- name: string;
551
- id: string;
552
- }[];
553
- }[] | null | undefined;
554
- pf_agent?: {
555
- clickupId?: string | null | undefined;
556
- members?: {
557
- pf_user?: {
558
- email?: string | null | undefined;
559
- phoneNumber?: string | null | undefined;
560
- birthday?: string | null | undefined;
561
- gender?: "MALE" | "FEMALE" | null | undefined;
562
- addresses?: {
563
- name: string;
564
- address: string;
565
- coordinates: number[];
566
- }[] | null | undefined;
567
- photoURL?: string | null | undefined;
568
- displayName?: string | null | undefined;
569
- imported?: {
570
- raw: Record<string, any>;
571
- source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
572
- } | null | undefined;
573
- _id: string;
574
- } | null | undefined;
575
- role: "ADMIN";
576
- userId: string;
577
- }[] | null | undefined;
578
- code: string;
579
- name: string;
580
- _id: string;
581
- isReseller: boolean;
582
- } | null | undefined;
583
- thumbnail?: string | null | undefined;
584
- billingInfos?: {
585
- _id?: string | null | undefined;
586
- name: string;
587
- address: {
588
- coordinates?: number[] | null | undefined;
589
- line2?: string | null | undefined;
590
- state: string;
591
- country: string;
592
- line1: string;
593
- city: string;
594
- postcode: string;
595
- };
596
- email: string;
597
- companyName: string;
598
- contact: string;
599
- }[] | null | undefined;
600
- customerDisplayImages?: {
601
- url: string;
602
- restaurantIds: string[];
603
- }[] | null | undefined;
604
- name: string;
605
- _id: string;
606
- ownerId: string;
607
- restaurantQuota: number;
608
- warehouseQuota: number;
609
- menuVersion: string;
610
- } | null | undefined;
611
- _id: string;
612
- businessId: string;
613
- profile: {
614
- email?: string | null | undefined;
615
- phoneNo?: string | null | undefined;
616
- name: string;
617
- address: {
618
- coordinates?: number[] | null | undefined;
619
- line2?: string | null | undefined;
620
- state: string;
621
- country: string;
622
- line1: string;
623
- city: string;
624
- postcode: string;
625
- };
626
- regNo: string;
627
- };
628
- };
629
- })[] | null | undefined;
630
- _id: string;
631
- name: string;
632
- purchaseOrder: {
633
- remark?: string | null | undefined;
634
- ref?: string | null | undefined;
635
- supplier?: {
449
+ supplier: {
636
450
  phoneNumber?: string | null | undefined;
637
451
  email?: string | null | undefined;
638
452
  _rev?: string | null | undefined;
@@ -668,10 +482,108 @@ export declare const useTransferTemplateActions: import("pinia").StoreDefinition
668
482
  postcode: string;
669
483
  country: string;
670
484
  };
671
- } | undefined;
672
- template?: string | null | undefined;
673
- stockSnapshotId?: string | null | undefined;
674
- effectiveAt?: string | null | undefined;
485
+ };
486
+ };
487
+ } | undefined;
488
+ show?: boolean | undefined;
489
+ 'onUpdate:show'?: ((show: boolean) => void) | undefined;
490
+ onSubmitted?: (() => void) | undefined;
491
+ }>;
492
+ templateDetailsProps: Ref<{
493
+ template?: {
494
+ _rev?: string | null | undefined;
495
+ locations?: {
496
+ type: "restaurant" | "warehouse";
497
+ name: string;
498
+ acceptRequest: boolean;
499
+ dbName: string;
500
+ doc: {
501
+ _id: string;
502
+ businessId: string;
503
+ profile: {
504
+ code?: string | null | undefined;
505
+ _id?: string | null | undefined;
506
+ name?: string | undefined;
507
+ address?: {
508
+ coordinates?: number[] | null | undefined;
509
+ line2?: string | null | undefined;
510
+ state: string;
511
+ country: string;
512
+ line1: string;
513
+ city: string;
514
+ postcode: string;
515
+ } | undefined;
516
+ email?: string | undefined;
517
+ regNo?: string | undefined;
518
+ sstRegNo?: string | null | undefined;
519
+ phoneNo?: string | undefined;
520
+ legalName?: string | null | undefined;
521
+ discovery?: boolean | null | undefined;
522
+ coverPhoto?: string | null | undefined;
523
+ thumbnailPhoto?: string | null | undefined;
524
+ description?: string | null | undefined;
525
+ photos?: string[] | null | undefined;
526
+ operatingHours?: {
527
+ 0: {
528
+ hours: {
529
+ end: string;
530
+ start: string;
531
+ }[];
532
+ enable: boolean;
533
+ };
534
+ 2: {
535
+ hours: {
536
+ end: string;
537
+ start: string;
538
+ }[];
539
+ enable: boolean;
540
+ };
541
+ 1: {
542
+ hours: {
543
+ end: string;
544
+ start: string;
545
+ }[];
546
+ enable: boolean;
547
+ };
548
+ 3: {
549
+ hours: {
550
+ end: string;
551
+ start: string;
552
+ }[];
553
+ enable: boolean;
554
+ };
555
+ 4: {
556
+ hours: {
557
+ end: string;
558
+ start: string;
559
+ }[];
560
+ enable: boolean;
561
+ };
562
+ 5: {
563
+ hours: {
564
+ end: string;
565
+ start: string;
566
+ }[];
567
+ enable: boolean;
568
+ };
569
+ 6: {
570
+ hours: {
571
+ end: string;
572
+ start: string;
573
+ }[];
574
+ enable: boolean;
575
+ };
576
+ } | null | undefined;
577
+ tags?: string[] | null | undefined;
578
+ url?: string | null | undefined;
579
+ };
580
+ };
581
+ }[] | null | undefined;
582
+ _id: string;
583
+ name: string;
584
+ purchaseOrder: {
585
+ remark?: string | null | undefined;
586
+ ref?: string | null | undefined;
675
587
  items: {
676
588
  measurement?: {
677
589
  id: string;
@@ -769,122 +681,7 @@ export declare const useTransferTemplateActions: import("pinia").StoreDefinition
769
681
  precision: number;
770
682
  };
771
683
  }[];
772
- };
773
- } | undefined;
774
- show?: boolean | undefined;
775
- 'onUpdate:show'?: ((show: boolean) => void) | undefined;
776
- 'onAction:use'?: ((locationId: string) => void) | undefined;
777
- 'onAction:edit'?: (() => void) | undefined;
778
- }, TransferTemplateDetailsPropsWithEventBinding | {
779
- template?: {
780
- _rev?: string | null | undefined;
781
- locations?: ({
782
- doc?: any;
783
- type: "restaurant";
784
- name: string;
785
- acceptRequest: boolean;
786
- dbName: string;
787
- } | {
788
- type: "warehouse";
789
- name: string;
790
- acceptRequest: boolean;
791
- dbName: string;
792
- doc: {
793
- pf_business?: {
794
- internal?: boolean | null | undefined;
795
- url?: string | null | undefined;
796
- expiredAt?: string | null | undefined;
797
- agentId?: string | null | undefined;
798
- restaurantTagGroups?: {
799
- name: string;
800
- id: string;
801
- tags: {
802
- name: string;
803
- id: string;
804
- }[];
805
- }[] | null | undefined;
806
- pf_agent?: {
807
- clickupId?: string | null | undefined;
808
- members?: {
809
- pf_user?: {
810
- email?: string | null | undefined;
811
- phoneNumber?: string | null | undefined;
812
- birthday?: string | null | undefined;
813
- gender?: "MALE" | "FEMALE" | null | undefined;
814
- addresses?: {
815
- name: string;
816
- address: string;
817
- coordinates: number[];
818
- }[] | null | undefined;
819
- photoURL?: string | null | undefined;
820
- displayName?: string | null | undefined;
821
- imported?: {
822
- raw: Record<string, any>;
823
- source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
824
- } | null | undefined;
825
- _id: string;
826
- } | null | undefined;
827
- role: "ADMIN";
828
- userId: string;
829
- }[] | null | undefined;
830
- code: string;
831
- name: string;
832
- _id: string;
833
- isReseller: boolean;
834
- } | null | undefined;
835
- thumbnail?: string | null | undefined;
836
- billingInfos?: {
837
- _id?: string | null | undefined;
838
- name: string;
839
- address: {
840
- coordinates?: number[] | null | undefined;
841
- line2?: string | null | undefined;
842
- state: string;
843
- country: string;
844
- line1: string;
845
- city: string;
846
- postcode: string;
847
- };
848
- email: string;
849
- companyName: string;
850
- contact: string;
851
- }[] | null | undefined;
852
- customerDisplayImages?: {
853
- url: string;
854
- restaurantIds: string[];
855
- }[] | null | undefined;
856
- name: string;
857
- _id: string;
858
- ownerId: string;
859
- restaurantQuota: number;
860
- warehouseQuota: number;
861
- menuVersion: string;
862
- } | null | undefined;
863
- _id: string;
864
- businessId: string;
865
- profile: {
866
- email?: string | null | undefined;
867
- phoneNo?: string | null | undefined;
868
- name: string;
869
- address: {
870
- coordinates?: number[] | null | undefined;
871
- line2?: string | null | undefined;
872
- state: string;
873
- country: string;
874
- line1: string;
875
- city: string;
876
- postcode: string;
877
- };
878
- regNo: string;
879
- };
880
- };
881
- })[] | null | undefined;
882
- _id: string;
883
- name: string;
884
- purchaseOrder: {
885
- remark?: string | null | undefined;
886
- ref?: string | null | undefined;
887
- supplier?: {
684
+ supplier: {
888
685
  phoneNumber?: string | null | undefined;
889
686
  email?: string | null | undefined;
890
687
  _rev?: string | null | undefined;
@@ -920,10 +717,108 @@ export declare const useTransferTemplateActions: import("pinia").StoreDefinition
920
717
  postcode: string;
921
718
  country: string;
922
719
  };
923
- } | undefined;
924
- template?: string | null | undefined;
925
- stockSnapshotId?: string | null | undefined;
926
- effectiveAt?: string | null | undefined;
720
+ };
721
+ };
722
+ } | undefined;
723
+ show?: boolean | undefined;
724
+ 'onUpdate:show'?: ((show: boolean) => void) | undefined;
725
+ 'onAction:use'?: ((locationId: string) => void) | undefined;
726
+ 'onAction:edit'?: (() => void) | undefined;
727
+ }, TransferTemplateDetailsPropsWithEventBinding | {
728
+ template?: {
729
+ _rev?: string | null | undefined;
730
+ locations?: {
731
+ type: "restaurant" | "warehouse";
732
+ name: string;
733
+ acceptRequest: boolean;
734
+ dbName: string;
735
+ doc: {
736
+ _id: string;
737
+ businessId: string;
738
+ profile: {
739
+ code?: string | null | undefined;
740
+ _id?: string | null | undefined;
741
+ name?: string | undefined;
742
+ address?: {
743
+ coordinates?: number[] | null | undefined;
744
+ line2?: string | null | undefined;
745
+ state: string;
746
+ country: string;
747
+ line1: string;
748
+ city: string;
749
+ postcode: string;
750
+ } | undefined;
751
+ email?: string | undefined;
752
+ regNo?: string | undefined;
753
+ sstRegNo?: string | null | undefined;
754
+ phoneNo?: string | undefined;
755
+ legalName?: string | null | undefined;
756
+ discovery?: boolean | null | undefined;
757
+ coverPhoto?: string | null | undefined;
758
+ thumbnailPhoto?: string | null | undefined;
759
+ description?: string | null | undefined;
760
+ photos?: string[] | null | undefined;
761
+ operatingHours?: {
762
+ 0: {
763
+ hours: {
764
+ end: string;
765
+ start: string;
766
+ }[];
767
+ enable: boolean;
768
+ };
769
+ 2: {
770
+ hours: {
771
+ end: string;
772
+ start: string;
773
+ }[];
774
+ enable: boolean;
775
+ };
776
+ 1: {
777
+ hours: {
778
+ end: string;
779
+ start: string;
780
+ }[];
781
+ enable: boolean;
782
+ };
783
+ 3: {
784
+ hours: {
785
+ end: string;
786
+ start: string;
787
+ }[];
788
+ enable: boolean;
789
+ };
790
+ 4: {
791
+ hours: {
792
+ end: string;
793
+ start: string;
794
+ }[];
795
+ enable: boolean;
796
+ };
797
+ 5: {
798
+ hours: {
799
+ end: string;
800
+ start: string;
801
+ }[];
802
+ enable: boolean;
803
+ };
804
+ 6: {
805
+ hours: {
806
+ end: string;
807
+ start: string;
808
+ }[];
809
+ enable: boolean;
810
+ };
811
+ } | null | undefined;
812
+ tags?: string[] | null | undefined;
813
+ url?: string | null | undefined;
814
+ };
815
+ };
816
+ }[] | null | undefined;
817
+ _id: string;
818
+ name: string;
819
+ purchaseOrder: {
820
+ remark?: string | null | undefined;
821
+ ref?: string | null | undefined;
927
822
  items: {
928
823
  measurement?: {
929
824
  id: string;
@@ -1021,6 +916,43 @@ export declare const useTransferTemplateActions: import("pinia").StoreDefinition
1021
916
  precision: number;
1022
917
  };
1023
918
  }[];
919
+ supplier: {
920
+ phoneNumber?: string | null | undefined;
921
+ email?: string | null | undefined;
922
+ _rev?: string | null | undefined;
923
+ internal?: "restaurant" | "warehouse" | null | undefined;
924
+ contactName?: string | null | undefined;
925
+ registrationNumber?: string | undefined;
926
+ supplyItems?: {
927
+ defaultCost: {
928
+ measurement?: {
929
+ id: string;
930
+ name: string;
931
+ abbrev: string;
932
+ conversion: {
933
+ amount: number;
934
+ precision: number;
935
+ };
936
+ } | null | undefined;
937
+ costPerUnit: {
938
+ currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
939
+ amount: number;
940
+ precision: number;
941
+ };
942
+ };
943
+ skuId: string;
944
+ }[] | null | undefined;
945
+ _id: string;
946
+ name: string;
947
+ address: {
948
+ line2?: string | null | undefined;
949
+ line1: string;
950
+ state: string;
951
+ city: string;
952
+ postcode: string;
953
+ country: string;
954
+ };
955
+ };
1024
956
  };
1025
957
  } | undefined;
1026
958
  show?: boolean | undefined;
@@ -1039,95 +971,19 @@ export declare const useTransferTemplateActions: import("pinia").StoreDefinition
1039
971
  mode?: FormMode | undefined;
1040
972
  modelValue?: {
1041
973
  _rev?: string | null | undefined;
1042
- locations?: ({
1043
- doc?: any;
1044
- type: "restaurant";
1045
- name: string;
1046
- acceptRequest: boolean;
1047
- dbName: string;
1048
- } | {
1049
- type: "warehouse";
974
+ locations?: {
975
+ type: "restaurant" | "warehouse";
1050
976
  name: string;
1051
977
  acceptRequest: boolean;
1052
978
  dbName: string;
1053
979
  doc: {
1054
- pf_business?: {
1055
- internal?: boolean | null | undefined;
1056
- url?: string | null | undefined;
1057
- expiredAt?: string | null | undefined;
1058
- agentId?: string | null | undefined;
1059
- restaurantTagGroups?: {
1060
- name: string;
1061
- id: string;
1062
- tags: {
1063
- name: string;
1064
- id: string;
1065
- }[];
1066
- }[] | null | undefined;
1067
- pf_agent?: {
1068
- clickupId?: string | null | undefined;
1069
- members?: {
1070
- pf_user?: {
1071
- email?: string | null | undefined;
1072
- phoneNumber?: string | null | undefined;
1073
- birthday?: string | null | undefined;
1074
- gender?: "MALE" | "FEMALE" | null | undefined;
1075
- addresses?: {
1076
- name: string;
1077
- address: string;
1078
- coordinates: number[];
1079
- }[] | null | undefined;
1080
- photoURL?: string | null | undefined;
1081
- displayName?: string | null | undefined;
1082
- imported?: {
1083
- raw: Record<string, any>;
1084
- source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
1085
- } | null | undefined;
1086
- _id: string;
1087
- } | null | undefined;
1088
- role: "ADMIN";
1089
- userId: string;
1090
- }[] | null | undefined;
1091
- code: string;
1092
- name: string;
1093
- _id: string;
1094
- isReseller: boolean;
1095
- } | null | undefined;
1096
- thumbnail?: string | null | undefined;
1097
- billingInfos?: {
1098
- _id?: string | null | undefined;
1099
- name: string;
1100
- address: {
1101
- coordinates?: number[] | null | undefined;
1102
- line2?: string | null | undefined;
1103
- state: string;
1104
- country: string;
1105
- line1: string;
1106
- city: string;
1107
- postcode: string;
1108
- };
1109
- email: string;
1110
- companyName: string;
1111
- contact: string;
1112
- }[] | null | undefined;
1113
- customerDisplayImages?: {
1114
- url: string;
1115
- restaurantIds: string[];
1116
- }[] | null | undefined;
1117
- name: string;
1118
- _id: string;
1119
- ownerId: string;
1120
- restaurantQuota: number;
1121
- warehouseQuota: number;
1122
- menuVersion: string;
1123
- } | null | undefined;
1124
980
  _id: string;
1125
981
  businessId: string;
1126
982
  profile: {
1127
- email?: string | null | undefined;
1128
- phoneNo?: string | null | undefined;
1129
- name: string;
1130
- address: {
983
+ code?: string | null | undefined;
984
+ _id?: string | null | undefined;
985
+ name?: string | undefined;
986
+ address?: {
1131
987
  coordinates?: number[] | null | undefined;
1132
988
  line2?: string | null | undefined;
1133
989
  state: string;
@@ -1135,56 +991,78 @@ export declare const useTransferTemplateActions: import("pinia").StoreDefinition
1135
991
  line1: string;
1136
992
  city: string;
1137
993
  postcode: string;
1138
- };
1139
- regNo: string;
994
+ } | undefined;
995
+ email?: string | undefined;
996
+ regNo?: string | undefined;
997
+ sstRegNo?: string | null | undefined;
998
+ phoneNo?: string | undefined;
999
+ legalName?: string | null | undefined;
1000
+ discovery?: boolean | null | undefined;
1001
+ coverPhoto?: string | null | undefined;
1002
+ thumbnailPhoto?: string | null | undefined;
1003
+ description?: string | null | undefined;
1004
+ photos?: string[] | null | undefined;
1005
+ operatingHours?: {
1006
+ 0: {
1007
+ hours: {
1008
+ end: string;
1009
+ start: string;
1010
+ }[];
1011
+ enable: boolean;
1012
+ };
1013
+ 2: {
1014
+ hours: {
1015
+ end: string;
1016
+ start: string;
1017
+ }[];
1018
+ enable: boolean;
1019
+ };
1020
+ 1: {
1021
+ hours: {
1022
+ end: string;
1023
+ start: string;
1024
+ }[];
1025
+ enable: boolean;
1026
+ };
1027
+ 3: {
1028
+ hours: {
1029
+ end: string;
1030
+ start: string;
1031
+ }[];
1032
+ enable: boolean;
1033
+ };
1034
+ 4: {
1035
+ hours: {
1036
+ end: string;
1037
+ start: string;
1038
+ }[];
1039
+ enable: boolean;
1040
+ };
1041
+ 5: {
1042
+ hours: {
1043
+ end: string;
1044
+ start: string;
1045
+ }[];
1046
+ enable: boolean;
1047
+ };
1048
+ 6: {
1049
+ hours: {
1050
+ end: string;
1051
+ start: string;
1052
+ }[];
1053
+ enable: boolean;
1054
+ };
1055
+ } | null | undefined;
1056
+ tags?: string[] | null | undefined;
1057
+ url?: string | null | undefined;
1140
1058
  };
1141
1059
  };
1142
- })[] | null | undefined;
1060
+ }[] | null | undefined;
1143
1061
  _id: string;
1144
1062
  name: string;
1145
1063
  purchaseOrder: {
1146
1064
  remark?: string | null | undefined;
1147
1065
  ref?: string | null | undefined;
1148
- supplier?: {
1149
- phoneNumber?: string | null | undefined;
1150
- email?: string | null | undefined;
1151
- _rev?: string | null | undefined;
1152
- internal?: "restaurant" | "warehouse" | null | undefined;
1153
- contactName?: string | null | undefined;
1154
- registrationNumber?: string | undefined;
1155
- supplyItems?: {
1156
- defaultCost: {
1157
- measurement?: {
1158
- id: string;
1159
- name: string;
1160
- abbrev: string;
1161
- conversion: {
1162
- amount: number;
1163
- precision: number;
1164
- };
1165
- } | null | undefined;
1166
- costPerUnit: {
1167
- currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
1168
- amount: number;
1169
- precision: number;
1170
- };
1171
- };
1172
- skuId: string;
1173
- }[] | null | undefined;
1174
- _id: string;
1175
- name: string;
1176
- address: {
1177
- line2?: string | null | undefined;
1178
- line1: string;
1179
- state: string;
1180
- city: string;
1181
- postcode: string;
1182
- country: string;
1183
- };
1184
- } | undefined;
1185
- template?: string | null | undefined;
1186
- stockSnapshotId?: string | null | undefined;
1187
- effectiveAt?: string | null | undefined;
1188
1066
  items: {
1189
1067
  measurement?: {
1190
1068
  id: string;
@@ -1282,122 +1160,7 @@ export declare const useTransferTemplateActions: import("pinia").StoreDefinition
1282
1160
  precision: number;
1283
1161
  };
1284
1162
  }[];
1285
- };
1286
- } | undefined;
1287
- show?: boolean | undefined;
1288
- 'onUpdate:show'?: ((show: boolean) => void) | undefined;
1289
- onSubmitted?: (() => void) | undefined;
1290
- }, TransferTemplateDialogPropsWithEventBinding | {
1291
- mode?: FormMode | undefined;
1292
- modelValue?: {
1293
- _rev?: string | null | undefined;
1294
- locations?: ({
1295
- doc?: any;
1296
- type: "restaurant";
1297
- name: string;
1298
- acceptRequest: boolean;
1299
- dbName: string;
1300
- } | {
1301
- type: "warehouse";
1302
- name: string;
1303
- acceptRequest: boolean;
1304
- dbName: string;
1305
- doc: {
1306
- pf_business?: {
1307
- internal?: boolean | null | undefined;
1308
- url?: string | null | undefined;
1309
- expiredAt?: string | null | undefined;
1310
- agentId?: string | null | undefined;
1311
- restaurantTagGroups?: {
1312
- name: string;
1313
- id: string;
1314
- tags: {
1315
- name: string;
1316
- id: string;
1317
- }[];
1318
- }[] | null | undefined;
1319
- pf_agent?: {
1320
- clickupId?: string | null | undefined;
1321
- members?: {
1322
- pf_user?: {
1323
- email?: string | null | undefined;
1324
- phoneNumber?: string | null | undefined;
1325
- birthday?: string | null | undefined;
1326
- gender?: "MALE" | "FEMALE" | null | undefined;
1327
- addresses?: {
1328
- name: string;
1329
- address: string;
1330
- coordinates: number[];
1331
- }[] | null | undefined;
1332
- photoURL?: string | null | undefined;
1333
- displayName?: string | null | undefined;
1334
- imported?: {
1335
- raw: Record<string, any>;
1336
- source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
1337
- } | null | undefined;
1338
- _id: string;
1339
- } | null | undefined;
1340
- role: "ADMIN";
1341
- userId: string;
1342
- }[] | null | undefined;
1343
- code: string;
1344
- name: string;
1345
- _id: string;
1346
- isReseller: boolean;
1347
- } | null | undefined;
1348
- thumbnail?: string | null | undefined;
1349
- billingInfos?: {
1350
- _id?: string | null | undefined;
1351
- name: string;
1352
- address: {
1353
- coordinates?: number[] | null | undefined;
1354
- line2?: string | null | undefined;
1355
- state: string;
1356
- country: string;
1357
- line1: string;
1358
- city: string;
1359
- postcode: string;
1360
- };
1361
- email: string;
1362
- companyName: string;
1363
- contact: string;
1364
- }[] | null | undefined;
1365
- customerDisplayImages?: {
1366
- url: string;
1367
- restaurantIds: string[];
1368
- }[] | null | undefined;
1369
- name: string;
1370
- _id: string;
1371
- ownerId: string;
1372
- restaurantQuota: number;
1373
- warehouseQuota: number;
1374
- menuVersion: string;
1375
- } | null | undefined;
1376
- _id: string;
1377
- businessId: string;
1378
- profile: {
1379
- email?: string | null | undefined;
1380
- phoneNo?: string | null | undefined;
1381
- name: string;
1382
- address: {
1383
- coordinates?: number[] | null | undefined;
1384
- line2?: string | null | undefined;
1385
- state: string;
1386
- country: string;
1387
- line1: string;
1388
- city: string;
1389
- postcode: string;
1390
- };
1391
- regNo: string;
1392
- };
1393
- };
1394
- })[] | null | undefined;
1395
- _id: string;
1396
- name: string;
1397
- purchaseOrder: {
1398
- remark?: string | null | undefined;
1399
- ref?: string | null | undefined;
1400
- supplier?: {
1163
+ supplier: {
1401
1164
  phoneNumber?: string | null | undefined;
1402
1165
  email?: string | null | undefined;
1403
1166
  _rev?: string | null | undefined;
@@ -1433,10 +1196,108 @@ export declare const useTransferTemplateActions: import("pinia").StoreDefinition
1433
1196
  postcode: string;
1434
1197
  country: string;
1435
1198
  };
1436
- } | undefined;
1437
- template?: string | null | undefined;
1438
- stockSnapshotId?: string | null | undefined;
1439
- effectiveAt?: string | null | undefined;
1199
+ };
1200
+ };
1201
+ } | undefined;
1202
+ show?: boolean | undefined;
1203
+ 'onUpdate:show'?: ((show: boolean) => void) | undefined;
1204
+ onSubmitted?: (() => void) | undefined;
1205
+ }, TransferTemplateDialogPropsWithEventBinding | {
1206
+ mode?: FormMode | undefined;
1207
+ modelValue?: {
1208
+ _rev?: string | null | undefined;
1209
+ locations?: {
1210
+ type: "restaurant" | "warehouse";
1211
+ name: string;
1212
+ acceptRequest: boolean;
1213
+ dbName: string;
1214
+ doc: {
1215
+ _id: string;
1216
+ businessId: string;
1217
+ profile: {
1218
+ code?: string | null | undefined;
1219
+ _id?: string | null | undefined;
1220
+ name?: string | undefined;
1221
+ address?: {
1222
+ coordinates?: number[] | null | undefined;
1223
+ line2?: string | null | undefined;
1224
+ state: string;
1225
+ country: string;
1226
+ line1: string;
1227
+ city: string;
1228
+ postcode: string;
1229
+ } | undefined;
1230
+ email?: string | undefined;
1231
+ regNo?: string | undefined;
1232
+ sstRegNo?: string | null | undefined;
1233
+ phoneNo?: string | undefined;
1234
+ legalName?: string | null | undefined;
1235
+ discovery?: boolean | null | undefined;
1236
+ coverPhoto?: string | null | undefined;
1237
+ thumbnailPhoto?: string | null | undefined;
1238
+ description?: string | null | undefined;
1239
+ photos?: string[] | null | undefined;
1240
+ operatingHours?: {
1241
+ 0: {
1242
+ hours: {
1243
+ end: string;
1244
+ start: string;
1245
+ }[];
1246
+ enable: boolean;
1247
+ };
1248
+ 2: {
1249
+ hours: {
1250
+ end: string;
1251
+ start: string;
1252
+ }[];
1253
+ enable: boolean;
1254
+ };
1255
+ 1: {
1256
+ hours: {
1257
+ end: string;
1258
+ start: string;
1259
+ }[];
1260
+ enable: boolean;
1261
+ };
1262
+ 3: {
1263
+ hours: {
1264
+ end: string;
1265
+ start: string;
1266
+ }[];
1267
+ enable: boolean;
1268
+ };
1269
+ 4: {
1270
+ hours: {
1271
+ end: string;
1272
+ start: string;
1273
+ }[];
1274
+ enable: boolean;
1275
+ };
1276
+ 5: {
1277
+ hours: {
1278
+ end: string;
1279
+ start: string;
1280
+ }[];
1281
+ enable: boolean;
1282
+ };
1283
+ 6: {
1284
+ hours: {
1285
+ end: string;
1286
+ start: string;
1287
+ }[];
1288
+ enable: boolean;
1289
+ };
1290
+ } | null | undefined;
1291
+ tags?: string[] | null | undefined;
1292
+ url?: string | null | undefined;
1293
+ };
1294
+ };
1295
+ }[] | null | undefined;
1296
+ _id: string;
1297
+ name: string;
1298
+ purchaseOrder: {
1299
+ remark?: string | null | undefined;
1300
+ ref?: string | null | undefined;
1440
1301
  items: {
1441
1302
  measurement?: {
1442
1303
  id: string;
@@ -1534,122 +1395,7 @@ export declare const useTransferTemplateActions: import("pinia").StoreDefinition
1534
1395
  precision: number;
1535
1396
  };
1536
1397
  }[];
1537
- };
1538
- } | undefined;
1539
- show?: boolean | undefined;
1540
- 'onUpdate:show'?: ((show: boolean) => void) | undefined;
1541
- onSubmitted?: (() => void) | undefined;
1542
- }>;
1543
- templateDetailsProps: Ref<{
1544
- template?: {
1545
- _rev?: string | null | undefined;
1546
- locations?: ({
1547
- doc?: any;
1548
- type: "restaurant";
1549
- name: string;
1550
- acceptRequest: boolean;
1551
- dbName: string;
1552
- } | {
1553
- type: "warehouse";
1554
- name: string;
1555
- acceptRequest: boolean;
1556
- dbName: string;
1557
- doc: {
1558
- pf_business?: {
1559
- internal?: boolean | null | undefined;
1560
- url?: string | null | undefined;
1561
- expiredAt?: string | null | undefined;
1562
- agentId?: string | null | undefined;
1563
- restaurantTagGroups?: {
1564
- name: string;
1565
- id: string;
1566
- tags: {
1567
- name: string;
1568
- id: string;
1569
- }[];
1570
- }[] | null | undefined;
1571
- pf_agent?: {
1572
- clickupId?: string | null | undefined;
1573
- members?: {
1574
- pf_user?: {
1575
- email?: string | null | undefined;
1576
- phoneNumber?: string | null | undefined;
1577
- birthday?: string | null | undefined;
1578
- gender?: "MALE" | "FEMALE" | null | undefined;
1579
- addresses?: {
1580
- name: string;
1581
- address: string;
1582
- coordinates: number[];
1583
- }[] | null | undefined;
1584
- photoURL?: string | null | undefined;
1585
- displayName?: string | null | undefined;
1586
- imported?: {
1587
- raw: Record<string, any>;
1588
- source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
1589
- } | null | undefined;
1590
- _id: string;
1591
- } | null | undefined;
1592
- role: "ADMIN";
1593
- userId: string;
1594
- }[] | null | undefined;
1595
- code: string;
1596
- name: string;
1597
- _id: string;
1598
- isReseller: boolean;
1599
- } | null | undefined;
1600
- thumbnail?: string | null | undefined;
1601
- billingInfos?: {
1602
- _id?: string | null | undefined;
1603
- name: string;
1604
- address: {
1605
- coordinates?: number[] | null | undefined;
1606
- line2?: string | null | undefined;
1607
- state: string;
1608
- country: string;
1609
- line1: string;
1610
- city: string;
1611
- postcode: string;
1612
- };
1613
- email: string;
1614
- companyName: string;
1615
- contact: string;
1616
- }[] | null | undefined;
1617
- customerDisplayImages?: {
1618
- url: string;
1619
- restaurantIds: string[];
1620
- }[] | null | undefined;
1621
- name: string;
1622
- _id: string;
1623
- ownerId: string;
1624
- restaurantQuota: number;
1625
- warehouseQuota: number;
1626
- menuVersion: string;
1627
- } | null | undefined;
1628
- _id: string;
1629
- businessId: string;
1630
- profile: {
1631
- email?: string | null | undefined;
1632
- phoneNo?: string | null | undefined;
1633
- name: string;
1634
- address: {
1635
- coordinates?: number[] | null | undefined;
1636
- line2?: string | null | undefined;
1637
- state: string;
1638
- country: string;
1639
- line1: string;
1640
- city: string;
1641
- postcode: string;
1642
- };
1643
- regNo: string;
1644
- };
1645
- };
1646
- })[] | null | undefined;
1647
- _id: string;
1648
- name: string;
1649
- purchaseOrder: {
1650
- remark?: string | null | undefined;
1651
- ref?: string | null | undefined;
1652
- supplier?: {
1398
+ supplier: {
1653
1399
  phoneNumber?: string | null | undefined;
1654
1400
  email?: string | null | undefined;
1655
1401
  _rev?: string | null | undefined;
@@ -1685,10 +1431,108 @@ export declare const useTransferTemplateActions: import("pinia").StoreDefinition
1685
1431
  postcode: string;
1686
1432
  country: string;
1687
1433
  };
1688
- } | undefined;
1689
- template?: string | null | undefined;
1690
- stockSnapshotId?: string | null | undefined;
1691
- effectiveAt?: string | null | undefined;
1434
+ };
1435
+ };
1436
+ } | undefined;
1437
+ show?: boolean | undefined;
1438
+ 'onUpdate:show'?: ((show: boolean) => void) | undefined;
1439
+ onSubmitted?: (() => void) | undefined;
1440
+ }>;
1441
+ templateDetailsProps: Ref<{
1442
+ template?: {
1443
+ _rev?: string | null | undefined;
1444
+ locations?: {
1445
+ type: "restaurant" | "warehouse";
1446
+ name: string;
1447
+ acceptRequest: boolean;
1448
+ dbName: string;
1449
+ doc: {
1450
+ _id: string;
1451
+ businessId: string;
1452
+ profile: {
1453
+ code?: string | null | undefined;
1454
+ _id?: string | null | undefined;
1455
+ name?: string | undefined;
1456
+ address?: {
1457
+ coordinates?: number[] | null | undefined;
1458
+ line2?: string | null | undefined;
1459
+ state: string;
1460
+ country: string;
1461
+ line1: string;
1462
+ city: string;
1463
+ postcode: string;
1464
+ } | undefined;
1465
+ email?: string | undefined;
1466
+ regNo?: string | undefined;
1467
+ sstRegNo?: string | null | undefined;
1468
+ phoneNo?: string | undefined;
1469
+ legalName?: string | null | undefined;
1470
+ discovery?: boolean | null | undefined;
1471
+ coverPhoto?: string | null | undefined;
1472
+ thumbnailPhoto?: string | null | undefined;
1473
+ description?: string | null | undefined;
1474
+ photos?: string[] | null | undefined;
1475
+ operatingHours?: {
1476
+ 0: {
1477
+ hours: {
1478
+ end: string;
1479
+ start: string;
1480
+ }[];
1481
+ enable: boolean;
1482
+ };
1483
+ 2: {
1484
+ hours: {
1485
+ end: string;
1486
+ start: string;
1487
+ }[];
1488
+ enable: boolean;
1489
+ };
1490
+ 1: {
1491
+ hours: {
1492
+ end: string;
1493
+ start: string;
1494
+ }[];
1495
+ enable: boolean;
1496
+ };
1497
+ 3: {
1498
+ hours: {
1499
+ end: string;
1500
+ start: string;
1501
+ }[];
1502
+ enable: boolean;
1503
+ };
1504
+ 4: {
1505
+ hours: {
1506
+ end: string;
1507
+ start: string;
1508
+ }[];
1509
+ enable: boolean;
1510
+ };
1511
+ 5: {
1512
+ hours: {
1513
+ end: string;
1514
+ start: string;
1515
+ }[];
1516
+ enable: boolean;
1517
+ };
1518
+ 6: {
1519
+ hours: {
1520
+ end: string;
1521
+ start: string;
1522
+ }[];
1523
+ enable: boolean;
1524
+ };
1525
+ } | null | undefined;
1526
+ tags?: string[] | null | undefined;
1527
+ url?: string | null | undefined;
1528
+ };
1529
+ };
1530
+ }[] | null | undefined;
1531
+ _id: string;
1532
+ name: string;
1533
+ purchaseOrder: {
1534
+ remark?: string | null | undefined;
1535
+ ref?: string | null | undefined;
1692
1536
  items: {
1693
1537
  measurement?: {
1694
1538
  id: string;
@@ -1786,122 +1630,7 @@ export declare const useTransferTemplateActions: import("pinia").StoreDefinition
1786
1630
  precision: number;
1787
1631
  };
1788
1632
  }[];
1789
- };
1790
- } | undefined;
1791
- show?: boolean | undefined;
1792
- 'onUpdate:show'?: ((show: boolean) => void) | undefined;
1793
- 'onAction:use'?: ((locationId: string) => void) | undefined;
1794
- 'onAction:edit'?: (() => void) | undefined;
1795
- }, TransferTemplateDetailsPropsWithEventBinding | {
1796
- template?: {
1797
- _rev?: string | null | undefined;
1798
- locations?: ({
1799
- doc?: any;
1800
- type: "restaurant";
1801
- name: string;
1802
- acceptRequest: boolean;
1803
- dbName: string;
1804
- } | {
1805
- type: "warehouse";
1806
- name: string;
1807
- acceptRequest: boolean;
1808
- dbName: string;
1809
- doc: {
1810
- pf_business?: {
1811
- internal?: boolean | null | undefined;
1812
- url?: string | null | undefined;
1813
- expiredAt?: string | null | undefined;
1814
- agentId?: string | null | undefined;
1815
- restaurantTagGroups?: {
1816
- name: string;
1817
- id: string;
1818
- tags: {
1819
- name: string;
1820
- id: string;
1821
- }[];
1822
- }[] | null | undefined;
1823
- pf_agent?: {
1824
- clickupId?: string | null | undefined;
1825
- members?: {
1826
- pf_user?: {
1827
- email?: string | null | undefined;
1828
- phoneNumber?: string | null | undefined;
1829
- birthday?: string | null | undefined;
1830
- gender?: "MALE" | "FEMALE" | null | undefined;
1831
- addresses?: {
1832
- name: string;
1833
- address: string;
1834
- coordinates: number[];
1835
- }[] | null | undefined;
1836
- photoURL?: string | null | undefined;
1837
- displayName?: string | null | undefined;
1838
- imported?: {
1839
- raw: Record<string, any>;
1840
- source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
1841
- } | null | undefined;
1842
- _id: string;
1843
- } | null | undefined;
1844
- role: "ADMIN";
1845
- userId: string;
1846
- }[] | null | undefined;
1847
- code: string;
1848
- name: string;
1849
- _id: string;
1850
- isReseller: boolean;
1851
- } | null | undefined;
1852
- thumbnail?: string | null | undefined;
1853
- billingInfos?: {
1854
- _id?: string | null | undefined;
1855
- name: string;
1856
- address: {
1857
- coordinates?: number[] | null | undefined;
1858
- line2?: string | null | undefined;
1859
- state: string;
1860
- country: string;
1861
- line1: string;
1862
- city: string;
1863
- postcode: string;
1864
- };
1865
- email: string;
1866
- companyName: string;
1867
- contact: string;
1868
- }[] | null | undefined;
1869
- customerDisplayImages?: {
1870
- url: string;
1871
- restaurantIds: string[];
1872
- }[] | null | undefined;
1873
- name: string;
1874
- _id: string;
1875
- ownerId: string;
1876
- restaurantQuota: number;
1877
- warehouseQuota: number;
1878
- menuVersion: string;
1879
- } | null | undefined;
1880
- _id: string;
1881
- businessId: string;
1882
- profile: {
1883
- email?: string | null | undefined;
1884
- phoneNo?: string | null | undefined;
1885
- name: string;
1886
- address: {
1887
- coordinates?: number[] | null | undefined;
1888
- line2?: string | null | undefined;
1889
- state: string;
1890
- country: string;
1891
- line1: string;
1892
- city: string;
1893
- postcode: string;
1894
- };
1895
- regNo: string;
1896
- };
1897
- };
1898
- })[] | null | undefined;
1899
- _id: string;
1900
- name: string;
1901
- purchaseOrder: {
1902
- remark?: string | null | undefined;
1903
- ref?: string | null | undefined;
1904
- supplier?: {
1633
+ supplier: {
1905
1634
  phoneNumber?: string | null | undefined;
1906
1635
  email?: string | null | undefined;
1907
1636
  _rev?: string | null | undefined;
@@ -1937,10 +1666,108 @@ export declare const useTransferTemplateActions: import("pinia").StoreDefinition
1937
1666
  postcode: string;
1938
1667
  country: string;
1939
1668
  };
1940
- } | undefined;
1941
- template?: string | null | undefined;
1942
- stockSnapshotId?: string | null | undefined;
1943
- effectiveAt?: string | null | undefined;
1669
+ };
1670
+ };
1671
+ } | undefined;
1672
+ show?: boolean | undefined;
1673
+ 'onUpdate:show'?: ((show: boolean) => void) | undefined;
1674
+ 'onAction:use'?: ((locationId: string) => void) | undefined;
1675
+ 'onAction:edit'?: (() => void) | undefined;
1676
+ }, TransferTemplateDetailsPropsWithEventBinding | {
1677
+ template?: {
1678
+ _rev?: string | null | undefined;
1679
+ locations?: {
1680
+ type: "restaurant" | "warehouse";
1681
+ name: string;
1682
+ acceptRequest: boolean;
1683
+ dbName: string;
1684
+ doc: {
1685
+ _id: string;
1686
+ businessId: string;
1687
+ profile: {
1688
+ code?: string | null | undefined;
1689
+ _id?: string | null | undefined;
1690
+ name?: string | undefined;
1691
+ address?: {
1692
+ coordinates?: number[] | null | undefined;
1693
+ line2?: string | null | undefined;
1694
+ state: string;
1695
+ country: string;
1696
+ line1: string;
1697
+ city: string;
1698
+ postcode: string;
1699
+ } | undefined;
1700
+ email?: string | undefined;
1701
+ regNo?: string | undefined;
1702
+ sstRegNo?: string | null | undefined;
1703
+ phoneNo?: string | undefined;
1704
+ legalName?: string | null | undefined;
1705
+ discovery?: boolean | null | undefined;
1706
+ coverPhoto?: string | null | undefined;
1707
+ thumbnailPhoto?: string | null | undefined;
1708
+ description?: string | null | undefined;
1709
+ photos?: string[] | null | undefined;
1710
+ operatingHours?: {
1711
+ 0: {
1712
+ hours: {
1713
+ end: string;
1714
+ start: string;
1715
+ }[];
1716
+ enable: boolean;
1717
+ };
1718
+ 2: {
1719
+ hours: {
1720
+ end: string;
1721
+ start: string;
1722
+ }[];
1723
+ enable: boolean;
1724
+ };
1725
+ 1: {
1726
+ hours: {
1727
+ end: string;
1728
+ start: string;
1729
+ }[];
1730
+ enable: boolean;
1731
+ };
1732
+ 3: {
1733
+ hours: {
1734
+ end: string;
1735
+ start: string;
1736
+ }[];
1737
+ enable: boolean;
1738
+ };
1739
+ 4: {
1740
+ hours: {
1741
+ end: string;
1742
+ start: string;
1743
+ }[];
1744
+ enable: boolean;
1745
+ };
1746
+ 5: {
1747
+ hours: {
1748
+ end: string;
1749
+ start: string;
1750
+ }[];
1751
+ enable: boolean;
1752
+ };
1753
+ 6: {
1754
+ hours: {
1755
+ end: string;
1756
+ start: string;
1757
+ }[];
1758
+ enable: boolean;
1759
+ };
1760
+ } | null | undefined;
1761
+ tags?: string[] | null | undefined;
1762
+ url?: string | null | undefined;
1763
+ };
1764
+ };
1765
+ }[] | null | undefined;
1766
+ _id: string;
1767
+ name: string;
1768
+ purchaseOrder: {
1769
+ remark?: string | null | undefined;
1770
+ ref?: string | null | undefined;
1944
1771
  items: {
1945
1772
  measurement?: {
1946
1773
  id: string;
@@ -2038,6 +1865,43 @@ export declare const useTransferTemplateActions: import("pinia").StoreDefinition
2038
1865
  precision: number;
2039
1866
  };
2040
1867
  }[];
1868
+ supplier: {
1869
+ phoneNumber?: string | null | undefined;
1870
+ email?: string | null | undefined;
1871
+ _rev?: string | null | undefined;
1872
+ internal?: "restaurant" | "warehouse" | null | undefined;
1873
+ contactName?: string | null | undefined;
1874
+ registrationNumber?: string | undefined;
1875
+ supplyItems?: {
1876
+ defaultCost: {
1877
+ measurement?: {
1878
+ id: string;
1879
+ name: string;
1880
+ abbrev: string;
1881
+ conversion: {
1882
+ amount: number;
1883
+ precision: number;
1884
+ };
1885
+ } | null | undefined;
1886
+ costPerUnit: {
1887
+ currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
1888
+ amount: number;
1889
+ precision: number;
1890
+ };
1891
+ };
1892
+ skuId: string;
1893
+ }[] | null | undefined;
1894
+ _id: string;
1895
+ name: string;
1896
+ address: {
1897
+ line2?: string | null | undefined;
1898
+ line1: string;
1899
+ state: string;
1900
+ city: string;
1901
+ postcode: string;
1902
+ country: string;
1903
+ };
1904
+ };
2041
1905
  };
2042
1906
  } | undefined;
2043
1907
  show?: boolean | undefined;
@@ -2056,95 +1920,19 @@ export declare const useTransferTemplateActions: import("pinia").StoreDefinition
2056
1920
  mode?: FormMode | undefined;
2057
1921
  modelValue?: {
2058
1922
  _rev?: string | null | undefined;
2059
- locations?: ({
2060
- doc?: any;
2061
- type: "restaurant";
2062
- name: string;
2063
- acceptRequest: boolean;
2064
- dbName: string;
2065
- } | {
2066
- type: "warehouse";
1923
+ locations?: {
1924
+ type: "restaurant" | "warehouse";
2067
1925
  name: string;
2068
1926
  acceptRequest: boolean;
2069
1927
  dbName: string;
2070
1928
  doc: {
2071
- pf_business?: {
2072
- internal?: boolean | null | undefined;
2073
- url?: string | null | undefined;
2074
- expiredAt?: string | null | undefined;
2075
- agentId?: string | null | undefined;
2076
- restaurantTagGroups?: {
2077
- name: string;
2078
- id: string;
2079
- tags: {
2080
- name: string;
2081
- id: string;
2082
- }[];
2083
- }[] | null | undefined;
2084
- pf_agent?: {
2085
- clickupId?: string | null | undefined;
2086
- members?: {
2087
- pf_user?: {
2088
- email?: string | null | undefined;
2089
- phoneNumber?: string | null | undefined;
2090
- birthday?: string | null | undefined;
2091
- gender?: "MALE" | "FEMALE" | null | undefined;
2092
- addresses?: {
2093
- name: string;
2094
- address: string;
2095
- coordinates: number[];
2096
- }[] | null | undefined;
2097
- photoURL?: string | null | undefined;
2098
- displayName?: string | null | undefined;
2099
- imported?: {
2100
- raw: Record<string, any>;
2101
- source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
2102
- } | null | undefined;
2103
- _id: string;
2104
- } | null | undefined;
2105
- role: "ADMIN";
2106
- userId: string;
2107
- }[] | null | undefined;
2108
- code: string;
2109
- name: string;
2110
- _id: string;
2111
- isReseller: boolean;
2112
- } | null | undefined;
2113
- thumbnail?: string | null | undefined;
2114
- billingInfos?: {
2115
- _id?: string | null | undefined;
2116
- name: string;
2117
- address: {
2118
- coordinates?: number[] | null | undefined;
2119
- line2?: string | null | undefined;
2120
- state: string;
2121
- country: string;
2122
- line1: string;
2123
- city: string;
2124
- postcode: string;
2125
- };
2126
- email: string;
2127
- companyName: string;
2128
- contact: string;
2129
- }[] | null | undefined;
2130
- customerDisplayImages?: {
2131
- url: string;
2132
- restaurantIds: string[];
2133
- }[] | null | undefined;
2134
- name: string;
2135
- _id: string;
2136
- ownerId: string;
2137
- restaurantQuota: number;
2138
- warehouseQuota: number;
2139
- menuVersion: string;
2140
- } | null | undefined;
2141
1929
  _id: string;
2142
1930
  businessId: string;
2143
1931
  profile: {
2144
- email?: string | null | undefined;
2145
- phoneNo?: string | null | undefined;
2146
- name: string;
2147
- address: {
1932
+ code?: string | null | undefined;
1933
+ _id?: string | null | undefined;
1934
+ name?: string | undefined;
1935
+ address?: {
2148
1936
  coordinates?: number[] | null | undefined;
2149
1937
  line2?: string | null | undefined;
2150
1938
  state: string;
@@ -2152,56 +1940,78 @@ export declare const useTransferTemplateActions: import("pinia").StoreDefinition
2152
1940
  line1: string;
2153
1941
  city: string;
2154
1942
  postcode: string;
2155
- };
2156
- regNo: string;
1943
+ } | undefined;
1944
+ email?: string | undefined;
1945
+ regNo?: string | undefined;
1946
+ sstRegNo?: string | null | undefined;
1947
+ phoneNo?: string | undefined;
1948
+ legalName?: string | null | undefined;
1949
+ discovery?: boolean | null | undefined;
1950
+ coverPhoto?: string | null | undefined;
1951
+ thumbnailPhoto?: string | null | undefined;
1952
+ description?: string | null | undefined;
1953
+ photos?: string[] | null | undefined;
1954
+ operatingHours?: {
1955
+ 0: {
1956
+ hours: {
1957
+ end: string;
1958
+ start: string;
1959
+ }[];
1960
+ enable: boolean;
1961
+ };
1962
+ 2: {
1963
+ hours: {
1964
+ end: string;
1965
+ start: string;
1966
+ }[];
1967
+ enable: boolean;
1968
+ };
1969
+ 1: {
1970
+ hours: {
1971
+ end: string;
1972
+ start: string;
1973
+ }[];
1974
+ enable: boolean;
1975
+ };
1976
+ 3: {
1977
+ hours: {
1978
+ end: string;
1979
+ start: string;
1980
+ }[];
1981
+ enable: boolean;
1982
+ };
1983
+ 4: {
1984
+ hours: {
1985
+ end: string;
1986
+ start: string;
1987
+ }[];
1988
+ enable: boolean;
1989
+ };
1990
+ 5: {
1991
+ hours: {
1992
+ end: string;
1993
+ start: string;
1994
+ }[];
1995
+ enable: boolean;
1996
+ };
1997
+ 6: {
1998
+ hours: {
1999
+ end: string;
2000
+ start: string;
2001
+ }[];
2002
+ enable: boolean;
2003
+ };
2004
+ } | null | undefined;
2005
+ tags?: string[] | null | undefined;
2006
+ url?: string | null | undefined;
2157
2007
  };
2158
2008
  };
2159
- })[] | null | undefined;
2009
+ }[] | null | undefined;
2160
2010
  _id: string;
2161
2011
  name: string;
2162
2012
  purchaseOrder: {
2163
2013
  remark?: string | null | undefined;
2164
2014
  ref?: string | null | undefined;
2165
- supplier?: {
2166
- phoneNumber?: string | null | undefined;
2167
- email?: string | null | undefined;
2168
- _rev?: string | null | undefined;
2169
- internal?: "restaurant" | "warehouse" | null | undefined;
2170
- contactName?: string | null | undefined;
2171
- registrationNumber?: string | undefined;
2172
- supplyItems?: {
2173
- defaultCost: {
2174
- measurement?: {
2175
- id: string;
2176
- name: string;
2177
- abbrev: string;
2178
- conversion: {
2179
- amount: number;
2180
- precision: number;
2181
- };
2182
- } | null | undefined;
2183
- costPerUnit: {
2184
- currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
2185
- amount: number;
2186
- precision: number;
2187
- };
2188
- };
2189
- skuId: string;
2190
- }[] | null | undefined;
2191
- _id: string;
2192
- name: string;
2193
- address: {
2194
- line2?: string | null | undefined;
2195
- line1: string;
2196
- state: string;
2197
- city: string;
2198
- postcode: string;
2199
- country: string;
2200
- };
2201
- } | undefined;
2202
- template?: string | null | undefined;
2203
- stockSnapshotId?: string | null | undefined;
2204
- effectiveAt?: string | null | undefined;
2205
2015
  items: {
2206
2016
  measurement?: {
2207
2017
  id: string;
@@ -2297,124 +2107,9 @@ export declare const useTransferTemplateActions: import("pinia").StoreDefinition
2297
2107
  maximumQuantity: {
2298
2108
  amount: number;
2299
2109
  precision: number;
2300
- };
2301
- }[];
2302
- };
2303
- } | undefined;
2304
- show?: boolean | undefined;
2305
- 'onUpdate:show'?: ((show: boolean) => void) | undefined;
2306
- onSubmitted?: (() => void) | undefined;
2307
- }, TransferTemplateDialogPropsWithEventBinding | {
2308
- mode?: FormMode | undefined;
2309
- modelValue?: {
2310
- _rev?: string | null | undefined;
2311
- locations?: ({
2312
- doc?: any;
2313
- type: "restaurant";
2314
- name: string;
2315
- acceptRequest: boolean;
2316
- dbName: string;
2317
- } | {
2318
- type: "warehouse";
2319
- name: string;
2320
- acceptRequest: boolean;
2321
- dbName: string;
2322
- doc: {
2323
- pf_business?: {
2324
- internal?: boolean | null | undefined;
2325
- url?: string | null | undefined;
2326
- expiredAt?: string | null | undefined;
2327
- agentId?: string | null | undefined;
2328
- restaurantTagGroups?: {
2329
- name: string;
2330
- id: string;
2331
- tags: {
2332
- name: string;
2333
- id: string;
2334
- }[];
2335
- }[] | null | undefined;
2336
- pf_agent?: {
2337
- clickupId?: string | null | undefined;
2338
- members?: {
2339
- pf_user?: {
2340
- email?: string | null | undefined;
2341
- phoneNumber?: string | null | undefined;
2342
- birthday?: string | null | undefined;
2343
- gender?: "MALE" | "FEMALE" | null | undefined;
2344
- addresses?: {
2345
- name: string;
2346
- address: string;
2347
- coordinates: number[];
2348
- }[] | null | undefined;
2349
- photoURL?: string | null | undefined;
2350
- displayName?: string | null | undefined;
2351
- imported?: {
2352
- raw: Record<string, any>;
2353
- source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
2354
- } | null | undefined;
2355
- _id: string;
2356
- } | null | undefined;
2357
- role: "ADMIN";
2358
- userId: string;
2359
- }[] | null | undefined;
2360
- code: string;
2361
- name: string;
2362
- _id: string;
2363
- isReseller: boolean;
2364
- } | null | undefined;
2365
- thumbnail?: string | null | undefined;
2366
- billingInfos?: {
2367
- _id?: string | null | undefined;
2368
- name: string;
2369
- address: {
2370
- coordinates?: number[] | null | undefined;
2371
- line2?: string | null | undefined;
2372
- state: string;
2373
- country: string;
2374
- line1: string;
2375
- city: string;
2376
- postcode: string;
2377
- };
2378
- email: string;
2379
- companyName: string;
2380
- contact: string;
2381
- }[] | null | undefined;
2382
- customerDisplayImages?: {
2383
- url: string;
2384
- restaurantIds: string[];
2385
- }[] | null | undefined;
2386
- name: string;
2387
- _id: string;
2388
- ownerId: string;
2389
- restaurantQuota: number;
2390
- warehouseQuota: number;
2391
- menuVersion: string;
2392
- } | null | undefined;
2393
- _id: string;
2394
- businessId: string;
2395
- profile: {
2396
- email?: string | null | undefined;
2397
- phoneNo?: string | null | undefined;
2398
- name: string;
2399
- address: {
2400
- coordinates?: number[] | null | undefined;
2401
- line2?: string | null | undefined;
2402
- state: string;
2403
- country: string;
2404
- line1: string;
2405
- city: string;
2406
- postcode: string;
2407
- };
2408
- regNo: string;
2409
- };
2410
- };
2411
- })[] | null | undefined;
2412
- _id: string;
2413
- name: string;
2414
- purchaseOrder: {
2415
- remark?: string | null | undefined;
2416
- ref?: string | null | undefined;
2417
- supplier?: {
2110
+ };
2111
+ }[];
2112
+ supplier: {
2418
2113
  phoneNumber?: string | null | undefined;
2419
2114
  email?: string | null | undefined;
2420
2115
  _rev?: string | null | undefined;
@@ -2450,10 +2145,108 @@ export declare const useTransferTemplateActions: import("pinia").StoreDefinition
2450
2145
  postcode: string;
2451
2146
  country: string;
2452
2147
  };
2453
- } | undefined;
2454
- template?: string | null | undefined;
2455
- stockSnapshotId?: string | null | undefined;
2456
- effectiveAt?: string | null | undefined;
2148
+ };
2149
+ };
2150
+ } | undefined;
2151
+ show?: boolean | undefined;
2152
+ 'onUpdate:show'?: ((show: boolean) => void) | undefined;
2153
+ onSubmitted?: (() => void) | undefined;
2154
+ }, TransferTemplateDialogPropsWithEventBinding | {
2155
+ mode?: FormMode | undefined;
2156
+ modelValue?: {
2157
+ _rev?: string | null | undefined;
2158
+ locations?: {
2159
+ type: "restaurant" | "warehouse";
2160
+ name: string;
2161
+ acceptRequest: boolean;
2162
+ dbName: string;
2163
+ doc: {
2164
+ _id: string;
2165
+ businessId: string;
2166
+ profile: {
2167
+ code?: string | null | undefined;
2168
+ _id?: string | null | undefined;
2169
+ name?: string | undefined;
2170
+ address?: {
2171
+ coordinates?: number[] | null | undefined;
2172
+ line2?: string | null | undefined;
2173
+ state: string;
2174
+ country: string;
2175
+ line1: string;
2176
+ city: string;
2177
+ postcode: string;
2178
+ } | undefined;
2179
+ email?: string | undefined;
2180
+ regNo?: string | undefined;
2181
+ sstRegNo?: string | null | undefined;
2182
+ phoneNo?: string | undefined;
2183
+ legalName?: string | null | undefined;
2184
+ discovery?: boolean | null | undefined;
2185
+ coverPhoto?: string | null | undefined;
2186
+ thumbnailPhoto?: string | null | undefined;
2187
+ description?: string | null | undefined;
2188
+ photos?: string[] | null | undefined;
2189
+ operatingHours?: {
2190
+ 0: {
2191
+ hours: {
2192
+ end: string;
2193
+ start: string;
2194
+ }[];
2195
+ enable: boolean;
2196
+ };
2197
+ 2: {
2198
+ hours: {
2199
+ end: string;
2200
+ start: string;
2201
+ }[];
2202
+ enable: boolean;
2203
+ };
2204
+ 1: {
2205
+ hours: {
2206
+ end: string;
2207
+ start: string;
2208
+ }[];
2209
+ enable: boolean;
2210
+ };
2211
+ 3: {
2212
+ hours: {
2213
+ end: string;
2214
+ start: string;
2215
+ }[];
2216
+ enable: boolean;
2217
+ };
2218
+ 4: {
2219
+ hours: {
2220
+ end: string;
2221
+ start: string;
2222
+ }[];
2223
+ enable: boolean;
2224
+ };
2225
+ 5: {
2226
+ hours: {
2227
+ end: string;
2228
+ start: string;
2229
+ }[];
2230
+ enable: boolean;
2231
+ };
2232
+ 6: {
2233
+ hours: {
2234
+ end: string;
2235
+ start: string;
2236
+ }[];
2237
+ enable: boolean;
2238
+ };
2239
+ } | null | undefined;
2240
+ tags?: string[] | null | undefined;
2241
+ url?: string | null | undefined;
2242
+ };
2243
+ };
2244
+ }[] | null | undefined;
2245
+ _id: string;
2246
+ name: string;
2247
+ purchaseOrder: {
2248
+ remark?: string | null | undefined;
2249
+ ref?: string | null | undefined;
2457
2250
  items: {
2458
2251
  measurement?: {
2459
2252
  id: string;
@@ -2551,122 +2344,7 @@ export declare const useTransferTemplateActions: import("pinia").StoreDefinition
2551
2344
  precision: number;
2552
2345
  };
2553
2346
  }[];
2554
- };
2555
- } | undefined;
2556
- show?: boolean | undefined;
2557
- 'onUpdate:show'?: ((show: boolean) => void) | undefined;
2558
- onSubmitted?: (() => void) | undefined;
2559
- }>;
2560
- templateDetailsProps: Ref<{
2561
- template?: {
2562
- _rev?: string | null | undefined;
2563
- locations?: ({
2564
- doc?: any;
2565
- type: "restaurant";
2566
- name: string;
2567
- acceptRequest: boolean;
2568
- dbName: string;
2569
- } | {
2570
- type: "warehouse";
2571
- name: string;
2572
- acceptRequest: boolean;
2573
- dbName: string;
2574
- doc: {
2575
- pf_business?: {
2576
- internal?: boolean | null | undefined;
2577
- url?: string | null | undefined;
2578
- expiredAt?: string | null | undefined;
2579
- agentId?: string | null | undefined;
2580
- restaurantTagGroups?: {
2581
- name: string;
2582
- id: string;
2583
- tags: {
2584
- name: string;
2585
- id: string;
2586
- }[];
2587
- }[] | null | undefined;
2588
- pf_agent?: {
2589
- clickupId?: string | null | undefined;
2590
- members?: {
2591
- pf_user?: {
2592
- email?: string | null | undefined;
2593
- phoneNumber?: string | null | undefined;
2594
- birthday?: string | null | undefined;
2595
- gender?: "MALE" | "FEMALE" | null | undefined;
2596
- addresses?: {
2597
- name: string;
2598
- address: string;
2599
- coordinates: number[];
2600
- }[] | null | undefined;
2601
- photoURL?: string | null | undefined;
2602
- displayName?: string | null | undefined;
2603
- imported?: {
2604
- raw: Record<string, any>;
2605
- source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
2606
- } | null | undefined;
2607
- _id: string;
2608
- } | null | undefined;
2609
- role: "ADMIN";
2610
- userId: string;
2611
- }[] | null | undefined;
2612
- code: string;
2613
- name: string;
2614
- _id: string;
2615
- isReseller: boolean;
2616
- } | null | undefined;
2617
- thumbnail?: string | null | undefined;
2618
- billingInfos?: {
2619
- _id?: string | null | undefined;
2620
- name: string;
2621
- address: {
2622
- coordinates?: number[] | null | undefined;
2623
- line2?: string | null | undefined;
2624
- state: string;
2625
- country: string;
2626
- line1: string;
2627
- city: string;
2628
- postcode: string;
2629
- };
2630
- email: string;
2631
- companyName: string;
2632
- contact: string;
2633
- }[] | null | undefined;
2634
- customerDisplayImages?: {
2635
- url: string;
2636
- restaurantIds: string[];
2637
- }[] | null | undefined;
2638
- name: string;
2639
- _id: string;
2640
- ownerId: string;
2641
- restaurantQuota: number;
2642
- warehouseQuota: number;
2643
- menuVersion: string;
2644
- } | null | undefined;
2645
- _id: string;
2646
- businessId: string;
2647
- profile: {
2648
- email?: string | null | undefined;
2649
- phoneNo?: string | null | undefined;
2650
- name: string;
2651
- address: {
2652
- coordinates?: number[] | null | undefined;
2653
- line2?: string | null | undefined;
2654
- state: string;
2655
- country: string;
2656
- line1: string;
2657
- city: string;
2658
- postcode: string;
2659
- };
2660
- regNo: string;
2661
- };
2662
- };
2663
- })[] | null | undefined;
2664
- _id: string;
2665
- name: string;
2666
- purchaseOrder: {
2667
- remark?: string | null | undefined;
2668
- ref?: string | null | undefined;
2669
- supplier?: {
2347
+ supplier: {
2670
2348
  phoneNumber?: string | null | undefined;
2671
2349
  email?: string | null | undefined;
2672
2350
  _rev?: string | null | undefined;
@@ -2702,10 +2380,108 @@ export declare const useTransferTemplateActions: import("pinia").StoreDefinition
2702
2380
  postcode: string;
2703
2381
  country: string;
2704
2382
  };
2705
- } | undefined;
2706
- template?: string | null | undefined;
2707
- stockSnapshotId?: string | null | undefined;
2708
- effectiveAt?: string | null | undefined;
2383
+ };
2384
+ };
2385
+ } | undefined;
2386
+ show?: boolean | undefined;
2387
+ 'onUpdate:show'?: ((show: boolean) => void) | undefined;
2388
+ onSubmitted?: (() => void) | undefined;
2389
+ }>;
2390
+ templateDetailsProps: Ref<{
2391
+ template?: {
2392
+ _rev?: string | null | undefined;
2393
+ locations?: {
2394
+ type: "restaurant" | "warehouse";
2395
+ name: string;
2396
+ acceptRequest: boolean;
2397
+ dbName: string;
2398
+ doc: {
2399
+ _id: string;
2400
+ businessId: string;
2401
+ profile: {
2402
+ code?: string | null | undefined;
2403
+ _id?: string | null | undefined;
2404
+ name?: string | undefined;
2405
+ address?: {
2406
+ coordinates?: number[] | null | undefined;
2407
+ line2?: string | null | undefined;
2408
+ state: string;
2409
+ country: string;
2410
+ line1: string;
2411
+ city: string;
2412
+ postcode: string;
2413
+ } | undefined;
2414
+ email?: string | undefined;
2415
+ regNo?: string | undefined;
2416
+ sstRegNo?: string | null | undefined;
2417
+ phoneNo?: string | undefined;
2418
+ legalName?: string | null | undefined;
2419
+ discovery?: boolean | null | undefined;
2420
+ coverPhoto?: string | null | undefined;
2421
+ thumbnailPhoto?: string | null | undefined;
2422
+ description?: string | null | undefined;
2423
+ photos?: string[] | null | undefined;
2424
+ operatingHours?: {
2425
+ 0: {
2426
+ hours: {
2427
+ end: string;
2428
+ start: string;
2429
+ }[];
2430
+ enable: boolean;
2431
+ };
2432
+ 2: {
2433
+ hours: {
2434
+ end: string;
2435
+ start: string;
2436
+ }[];
2437
+ enable: boolean;
2438
+ };
2439
+ 1: {
2440
+ hours: {
2441
+ end: string;
2442
+ start: string;
2443
+ }[];
2444
+ enable: boolean;
2445
+ };
2446
+ 3: {
2447
+ hours: {
2448
+ end: string;
2449
+ start: string;
2450
+ }[];
2451
+ enable: boolean;
2452
+ };
2453
+ 4: {
2454
+ hours: {
2455
+ end: string;
2456
+ start: string;
2457
+ }[];
2458
+ enable: boolean;
2459
+ };
2460
+ 5: {
2461
+ hours: {
2462
+ end: string;
2463
+ start: string;
2464
+ }[];
2465
+ enable: boolean;
2466
+ };
2467
+ 6: {
2468
+ hours: {
2469
+ end: string;
2470
+ start: string;
2471
+ }[];
2472
+ enable: boolean;
2473
+ };
2474
+ } | null | undefined;
2475
+ tags?: string[] | null | undefined;
2476
+ url?: string | null | undefined;
2477
+ };
2478
+ };
2479
+ }[] | null | undefined;
2480
+ _id: string;
2481
+ name: string;
2482
+ purchaseOrder: {
2483
+ remark?: string | null | undefined;
2484
+ ref?: string | null | undefined;
2709
2485
  items: {
2710
2486
  measurement?: {
2711
2487
  id: string;
@@ -2803,122 +2579,7 @@ export declare const useTransferTemplateActions: import("pinia").StoreDefinition
2803
2579
  precision: number;
2804
2580
  };
2805
2581
  }[];
2806
- };
2807
- } | undefined;
2808
- show?: boolean | undefined;
2809
- 'onUpdate:show'?: ((show: boolean) => void) | undefined;
2810
- 'onAction:use'?: ((locationId: string) => void) | undefined;
2811
- 'onAction:edit'?: (() => void) | undefined;
2812
- }, TransferTemplateDetailsPropsWithEventBinding | {
2813
- template?: {
2814
- _rev?: string | null | undefined;
2815
- locations?: ({
2816
- doc?: any;
2817
- type: "restaurant";
2818
- name: string;
2819
- acceptRequest: boolean;
2820
- dbName: string;
2821
- } | {
2822
- type: "warehouse";
2823
- name: string;
2824
- acceptRequest: boolean;
2825
- dbName: string;
2826
- doc: {
2827
- pf_business?: {
2828
- internal?: boolean | null | undefined;
2829
- url?: string | null | undefined;
2830
- expiredAt?: string | null | undefined;
2831
- agentId?: string | null | undefined;
2832
- restaurantTagGroups?: {
2833
- name: string;
2834
- id: string;
2835
- tags: {
2836
- name: string;
2837
- id: string;
2838
- }[];
2839
- }[] | null | undefined;
2840
- pf_agent?: {
2841
- clickupId?: string | null | undefined;
2842
- members?: {
2843
- pf_user?: {
2844
- email?: string | null | undefined;
2845
- phoneNumber?: string | null | undefined;
2846
- birthday?: string | null | undefined;
2847
- gender?: "MALE" | "FEMALE" | null | undefined;
2848
- addresses?: {
2849
- name: string;
2850
- address: string;
2851
- coordinates: number[];
2852
- }[] | null | undefined;
2853
- photoURL?: string | null | undefined;
2854
- displayName?: string | null | undefined;
2855
- imported?: {
2856
- raw: Record<string, any>;
2857
- source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
2858
- } | null | undefined;
2859
- _id: string;
2860
- } | null | undefined;
2861
- role: "ADMIN";
2862
- userId: string;
2863
- }[] | null | undefined;
2864
- code: string;
2865
- name: string;
2866
- _id: string;
2867
- isReseller: boolean;
2868
- } | null | undefined;
2869
- thumbnail?: string | null | undefined;
2870
- billingInfos?: {
2871
- _id?: string | null | undefined;
2872
- name: string;
2873
- address: {
2874
- coordinates?: number[] | null | undefined;
2875
- line2?: string | null | undefined;
2876
- state: string;
2877
- country: string;
2878
- line1: string;
2879
- city: string;
2880
- postcode: string;
2881
- };
2882
- email: string;
2883
- companyName: string;
2884
- contact: string;
2885
- }[] | null | undefined;
2886
- customerDisplayImages?: {
2887
- url: string;
2888
- restaurantIds: string[];
2889
- }[] | null | undefined;
2890
- name: string;
2891
- _id: string;
2892
- ownerId: string;
2893
- restaurantQuota: number;
2894
- warehouseQuota: number;
2895
- menuVersion: string;
2896
- } | null | undefined;
2897
- _id: string;
2898
- businessId: string;
2899
- profile: {
2900
- email?: string | null | undefined;
2901
- phoneNo?: string | null | undefined;
2902
- name: string;
2903
- address: {
2904
- coordinates?: number[] | null | undefined;
2905
- line2?: string | null | undefined;
2906
- state: string;
2907
- country: string;
2908
- line1: string;
2909
- city: string;
2910
- postcode: string;
2911
- };
2912
- regNo: string;
2913
- };
2914
- };
2915
- })[] | null | undefined;
2916
- _id: string;
2917
- name: string;
2918
- purchaseOrder: {
2919
- remark?: string | null | undefined;
2920
- ref?: string | null | undefined;
2921
- supplier?: {
2582
+ supplier: {
2922
2583
  phoneNumber?: string | null | undefined;
2923
2584
  email?: string | null | undefined;
2924
2585
  _rev?: string | null | undefined;
@@ -2954,10 +2615,108 @@ export declare const useTransferTemplateActions: import("pinia").StoreDefinition
2954
2615
  postcode: string;
2955
2616
  country: string;
2956
2617
  };
2957
- } | undefined;
2958
- template?: string | null | undefined;
2959
- stockSnapshotId?: string | null | undefined;
2960
- effectiveAt?: string | null | undefined;
2618
+ };
2619
+ };
2620
+ } | undefined;
2621
+ show?: boolean | undefined;
2622
+ 'onUpdate:show'?: ((show: boolean) => void) | undefined;
2623
+ 'onAction:use'?: ((locationId: string) => void) | undefined;
2624
+ 'onAction:edit'?: (() => void) | undefined;
2625
+ }, TransferTemplateDetailsPropsWithEventBinding | {
2626
+ template?: {
2627
+ _rev?: string | null | undefined;
2628
+ locations?: {
2629
+ type: "restaurant" | "warehouse";
2630
+ name: string;
2631
+ acceptRequest: boolean;
2632
+ dbName: string;
2633
+ doc: {
2634
+ _id: string;
2635
+ businessId: string;
2636
+ profile: {
2637
+ code?: string | null | undefined;
2638
+ _id?: string | null | undefined;
2639
+ name?: string | undefined;
2640
+ address?: {
2641
+ coordinates?: number[] | null | undefined;
2642
+ line2?: string | null | undefined;
2643
+ state: string;
2644
+ country: string;
2645
+ line1: string;
2646
+ city: string;
2647
+ postcode: string;
2648
+ } | undefined;
2649
+ email?: string | undefined;
2650
+ regNo?: string | undefined;
2651
+ sstRegNo?: string | null | undefined;
2652
+ phoneNo?: string | undefined;
2653
+ legalName?: string | null | undefined;
2654
+ discovery?: boolean | null | undefined;
2655
+ coverPhoto?: string | null | undefined;
2656
+ thumbnailPhoto?: string | null | undefined;
2657
+ description?: string | null | undefined;
2658
+ photos?: string[] | null | undefined;
2659
+ operatingHours?: {
2660
+ 0: {
2661
+ hours: {
2662
+ end: string;
2663
+ start: string;
2664
+ }[];
2665
+ enable: boolean;
2666
+ };
2667
+ 2: {
2668
+ hours: {
2669
+ end: string;
2670
+ start: string;
2671
+ }[];
2672
+ enable: boolean;
2673
+ };
2674
+ 1: {
2675
+ hours: {
2676
+ end: string;
2677
+ start: string;
2678
+ }[];
2679
+ enable: boolean;
2680
+ };
2681
+ 3: {
2682
+ hours: {
2683
+ end: string;
2684
+ start: string;
2685
+ }[];
2686
+ enable: boolean;
2687
+ };
2688
+ 4: {
2689
+ hours: {
2690
+ end: string;
2691
+ start: string;
2692
+ }[];
2693
+ enable: boolean;
2694
+ };
2695
+ 5: {
2696
+ hours: {
2697
+ end: string;
2698
+ start: string;
2699
+ }[];
2700
+ enable: boolean;
2701
+ };
2702
+ 6: {
2703
+ hours: {
2704
+ end: string;
2705
+ start: string;
2706
+ }[];
2707
+ enable: boolean;
2708
+ };
2709
+ } | null | undefined;
2710
+ tags?: string[] | null | undefined;
2711
+ url?: string | null | undefined;
2712
+ };
2713
+ };
2714
+ }[] | null | undefined;
2715
+ _id: string;
2716
+ name: string;
2717
+ purchaseOrder: {
2718
+ remark?: string | null | undefined;
2719
+ ref?: string | null | undefined;
2961
2720
  items: {
2962
2721
  measurement?: {
2963
2722
  id: string;
@@ -3055,6 +2814,43 @@ export declare const useTransferTemplateActions: import("pinia").StoreDefinition
3055
2814
  precision: number;
3056
2815
  };
3057
2816
  }[];
2817
+ supplier: {
2818
+ phoneNumber?: string | null | undefined;
2819
+ email?: string | null | undefined;
2820
+ _rev?: string | null | undefined;
2821
+ internal?: "restaurant" | "warehouse" | null | undefined;
2822
+ contactName?: string | null | undefined;
2823
+ registrationNumber?: string | undefined;
2824
+ supplyItems?: {
2825
+ defaultCost: {
2826
+ measurement?: {
2827
+ id: string;
2828
+ name: string;
2829
+ abbrev: string;
2830
+ conversion: {
2831
+ amount: number;
2832
+ precision: number;
2833
+ };
2834
+ } | null | undefined;
2835
+ costPerUnit: {
2836
+ currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
2837
+ amount: number;
2838
+ precision: number;
2839
+ };
2840
+ };
2841
+ skuId: string;
2842
+ }[] | null | undefined;
2843
+ _id: string;
2844
+ name: string;
2845
+ address: {
2846
+ line2?: string | null | undefined;
2847
+ line1: string;
2848
+ state: string;
2849
+ city: string;
2850
+ postcode: string;
2851
+ country: string;
2852
+ };
2853
+ };
3058
2854
  };
3059
2855
  } | undefined;
3060
2856
  show?: boolean | undefined;