@feedmepos/mf-inventory-portal 0.0.20-dev.1 → 0.0.21-dev.1

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 (58) hide show
  1. package/dist/{ApprovalView-CF-RhtHH.js → ApprovalView-DW0_5glj.js} +5 -5
  2. package/dist/{BindingsDialog-0_fCmf7t.js → BindingsDialog-Czx4IaxD.js} +1 -1
  3. package/dist/{BindingsPicker-CT-56t-W.js → BindingsPicker-C25wyJ5c.js} +1 -1
  4. package/dist/BindingsTable-DypE3NR_.js +145 -0
  5. package/dist/{FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-6yg6_JPe.js → FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-CHNBnuDM.js} +1 -1
  6. package/dist/IngredientsView-B-Hwi7zE.js +1751 -0
  7. package/dist/{IntegrationView-D7hqf0P5.js → IntegrationView-BrsjpHwN.js} +2 -2
  8. package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-HcOKpAlW.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-DZOs6wE2.js} +1 -1
  9. package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-BTOE1vFl.js → PremiumBadge.vue_vue_type_script_setup_true_lang-Y3A-wRZm.js} +1 -1
  10. package/dist/{PurchaseOrderPrintPreview-C92PdleC.js → PurchaseOrderPrintPreview-BYxCDtxN.js} +1 -1
  11. package/dist/{ReceiveRequestView-BaxEQWOD.js → ReceiveRequestView-Da81c19A.js} +7 -7
  12. package/dist/{RecipeView-CDgZpLPk.js → RecipeView-21VHawYH.js} +4 -4
  13. package/dist/{StockView-B77CrARl.js → StockView-BRxg62Jk.js} +499 -487
  14. package/dist/{SupplierView-DQ3hB7q2.js → SupplierView-BR7mmuKe.js} +4 -4
  15. package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-lsyakQIl.js → TransferDetails.vue_vue_type_script_setup_true_lang-BixtDHmX.js} +88 -87
  16. package/dist/{TransferDialog.vue_vue_type_script_setup_true_lang-DN7NCT72.js → TransferDialog.vue_vue_type_script_setup_true_lang-q75hFaSf.js} +473 -475
  17. package/dist/TransferTemplateView-BXNj1QDe.js +1381 -0
  18. package/dist/{UnitView-DlmlVNOx.js → UnitView-bO2BhUFj.js} +5 -5
  19. package/dist/{WarehouseView-DXWls5vv.js → WarehouseView-CmB2drN4.js} +3 -3
  20. package/dist/api/inventory.d.ts +104 -5
  21. package/dist/api/stock.d.ts +8 -0
  22. package/dist/{app-P7rGzGsF.js → app-CmxCdDLB.js} +5169 -5113
  23. package/dist/app.d.ts +6 -0
  24. package/dist/app.js +3 -3
  25. package/dist/components/FmUnitInputProps.d.ts +1 -0
  26. package/dist/components/inventory-binding/InventoryBinding.vue.d.ts +1 -1
  27. package/dist/components/shell/inventory/binding-ui.vue.d.ts +1 -1
  28. package/dist/{decimal-4ONRlhOO.js → decimal-jg7WewgV.js} +1 -1
  29. package/dist/{id-to-date-D8Ey2CVj.js → id-to-date-5ySGvt_H.js} +1 -1
  30. package/dist/{layout-D-zXtsSp.js → layout-DTjCHRyt.js} +6 -6
  31. package/dist/purchase-order-transaction-type-B9KguKXt.js +723 -0
  32. package/dist/stores/inventory.d.ts +4 -4
  33. package/dist/stores/location.d.ts +308 -1612
  34. package/dist/style.css +1 -1
  35. package/dist/{supplier-DsUIjl-L.js → supplier-D1iKgl2Z.js} +1 -1
  36. package/dist/tsconfig.app.tsbuildinfo +1 -1
  37. package/dist/views/ingredients/components/ingredient-form/IngredientForm.vue.d.ts +2 -2
  38. package/dist/views/ingredients/composables/use-ingredient-table.d.ts +1 -1
  39. package/dist/views/receive-request/components/transfer-form/TransferForm.vue.d.ts +5 -5
  40. package/dist/views/receive-request/components/transfer-form/components/ForecastStock.vue.d.ts +2 -2
  41. package/dist/views/receive-request/components/transfer-form/composables/use-transfer-items.d.ts +1 -1
  42. package/dist/views/receive-request/composables/use-receive-request-form.d.ts +12 -12
  43. package/dist/views/receive-request/composables/use-receive-request-table.d.ts +12 -12
  44. package/dist/views/stock/components/StockRecalculateDialog.vue.d.ts +9 -0
  45. package/dist/views/stock/components/dialog/AdjustedItemForm.vue.d.ts +2 -2
  46. package/dist/views/transfer-template/components/transfer-template-details/TransferTemplateDetails.vue.d.ts +2 -2
  47. package/dist/views/transfer-template/components/transfer-template-details/TransferTemplateDetailsProps.d.ts +1 -1
  48. package/dist/views/transfer-template/components/transfer-template-form/composables/use-template-enabled-locations.d.ts +109 -0
  49. package/dist/views/transfer-template/components/transfer-template-form/composables/use-transfer-template-items.d.ts +2 -2
  50. package/dist/views/transfer-template/composables/use-transfer-template-actions.d.ts +1461 -249
  51. package/dist/views/transfer-template/composables/use-transfer-template-table.d.ts +926 -118
  52. package/dist/{xlsx-zfERRe6K.js → xlsx-DE-wX-rr.js} +1 -1
  53. package/dist/{xlsx.util-DnbiJzsk.js → xlsx.util-ktlEcFIy.js} +2 -2
  54. package/package.json +3 -3
  55. package/dist/BindingsTable-DEftAnTN.js +0 -120
  56. package/dist/IngredientsView-Au6oRwF2.js +0 -1663
  57. package/dist/TransferTemplateView-Dt04xMCK.js +0 -1290
  58. package/dist/format-unit-display-DJpElzu_.js +0 -707
@@ -9,7 +9,7 @@ type TransferTemplateDialogPropsWithEventBinding = TransferTemplateDialogProps &
9
9
  };
10
10
  type TransferTemplateDetailsPropsWithEventBinding = TransferTemplateDetailsProps & {
11
11
  'onUpdate:show'?(show: boolean): void;
12
- 'onAction:use'?(): void;
12
+ 'onAction:use'?(locationId: string): void;
13
13
  'onAction:edit'?(): void;
14
14
  };
15
15
  export declare const useTransferTemplateActions: import("pinia").StoreDefinition<"transferTemplateActions", Pick<{
@@ -22,11 +22,149 @@ 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";
33
+ name: string;
34
+ acceptRequest: boolean;
35
+ dbName: string;
36
+ 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
+ _id: string;
108
+ businessId: string;
109
+ profile: {
110
+ email?: string | null | undefined;
111
+ phoneNo?: string | null | undefined;
112
+ name: string;
113
+ address: {
114
+ coordinates?: number[] | null | undefined;
115
+ line2?: string | null | undefined;
116
+ state: string;
117
+ country: string;
118
+ line1: string;
119
+ city: string;
120
+ postcode: string;
121
+ };
122
+ regNo: string;
123
+ };
124
+ };
125
+ })[] | null | undefined;
25
126
  _id: string;
26
127
  name: string;
27
128
  purchaseOrder: {
28
129
  remark?: string | null | undefined;
29
130
  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;
30
168
  template?: string | null | undefined;
31
169
  stockSnapshotId?: string | null | undefined;
32
170
  effectiveAt?: string | null | undefined;
@@ -84,11 +222,11 @@ export declare const useTransferTemplateActions: import("pinia").StoreDefinition
84
222
  precision: number;
85
223
  };
86
224
  } | null | undefined;
87
- operationalGroup?: string | null | undefined;
88
225
  thresholds?: {
89
226
  low: number;
90
227
  mid: number;
91
228
  } | null | undefined;
229
+ operationalGroup?: string | null | undefined;
92
230
  unit: {
93
231
  _id: string;
94
232
  name: string;
@@ -127,7 +265,122 @@ export declare const useTransferTemplateActions: import("pinia").StoreDefinition
127
265
  precision: number;
128
266
  };
129
267
  }[];
130
- supplier: {
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?: {
131
384
  phoneNumber?: string | null | undefined;
132
385
  email?: string | null | undefined;
133
386
  _rev?: string | null | undefined;
@@ -163,21 +416,7 @@ export declare const useTransferTemplateActions: import("pinia").StoreDefinition
163
416
  postcode: string;
164
417
  country: string;
165
418
  };
166
- };
167
- };
168
- } | undefined;
169
- show?: boolean | undefined;
170
- 'onUpdate:show'?: ((show: boolean) => void) | undefined;
171
- onSubmitted?: (() => void) | undefined;
172
- }, TransferTemplateDialogPropsWithEventBinding | {
173
- mode?: FormMode | undefined;
174
- modelValue?: {
175
- _rev?: string | null | undefined;
176
- _id: string;
177
- name: string;
178
- purchaseOrder: {
179
- remark?: string | null | undefined;
180
- ref?: string | null | undefined;
419
+ } | undefined;
181
420
  template?: string | null | undefined;
182
421
  stockSnapshotId?: string | null | undefined;
183
422
  effectiveAt?: string | null | undefined;
@@ -235,11 +474,11 @@ export declare const useTransferTemplateActions: import("pinia").StoreDefinition
235
474
  precision: number;
236
475
  };
237
476
  } | null | undefined;
238
- operationalGroup?: string | null | undefined;
239
477
  thresholds?: {
240
478
  low: number;
241
479
  mid: number;
242
480
  } | null | undefined;
481
+ operationalGroup?: string | null | undefined;
243
482
  unit: {
244
483
  _id: string;
245
484
  name: string;
@@ -278,7 +517,122 @@ export declare const useTransferTemplateActions: import("pinia").StoreDefinition
278
517
  precision: number;
279
518
  };
280
519
  }[];
281
- supplier: {
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?: {
282
636
  phoneNumber?: string | null | undefined;
283
637
  email?: string | null | undefined;
284
638
  _rev?: string | null | undefined;
@@ -314,21 +668,7 @@ export declare const useTransferTemplateActions: import("pinia").StoreDefinition
314
668
  postcode: string;
315
669
  country: string;
316
670
  };
317
- };
318
- };
319
- } | undefined;
320
- show?: boolean | undefined;
321
- 'onUpdate:show'?: ((show: boolean) => void) | undefined;
322
- onSubmitted?: (() => void) | undefined;
323
- }>;
324
- templateDetailsProps: Ref<{
325
- template?: {
326
- _rev?: string | null | undefined;
327
- _id: string;
328
- name: string;
329
- purchaseOrder: {
330
- remark?: string | null | undefined;
331
- ref?: string | null | undefined;
671
+ } | undefined;
332
672
  template?: string | null | undefined;
333
673
  stockSnapshotId?: string | null | undefined;
334
674
  effectiveAt?: string | null | undefined;
@@ -386,11 +726,11 @@ export declare const useTransferTemplateActions: import("pinia").StoreDefinition
386
726
  precision: number;
387
727
  };
388
728
  } | null | undefined;
389
- operationalGroup?: string | null | undefined;
390
729
  thresholds?: {
391
730
  low: number;
392
731
  mid: number;
393
732
  } | null | undefined;
733
+ operationalGroup?: string | null | undefined;
394
734
  unit: {
395
735
  _id: string;
396
736
  name: string;
@@ -429,7 +769,122 @@ export declare const useTransferTemplateActions: import("pinia").StoreDefinition
429
769
  precision: number;
430
770
  };
431
771
  }[];
432
- supplier: {
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?: {
433
888
  phoneNumber?: string | null | undefined;
434
889
  email?: string | null | undefined;
435
890
  _rev?: string | null | undefined;
@@ -465,21 +920,7 @@ export declare const useTransferTemplateActions: import("pinia").StoreDefinition
465
920
  postcode: string;
466
921
  country: string;
467
922
  };
468
- };
469
- };
470
- } | undefined;
471
- show?: boolean | undefined;
472
- 'onUpdate:show'?: ((show: boolean) => void) | undefined;
473
- 'onAction:use'?: (() => void) | undefined;
474
- 'onAction:edit'?: (() => void) | undefined;
475
- }, TransferTemplateDetailsPropsWithEventBinding | {
476
- template?: {
477
- _rev?: string | null | undefined;
478
- _id: string;
479
- name: string;
480
- purchaseOrder: {
481
- remark?: string | null | undefined;
482
- ref?: string | null | undefined;
923
+ } | undefined;
483
924
  template?: string | null | undefined;
484
925
  stockSnapshotId?: string | null | undefined;
485
926
  effectiveAt?: string | null | undefined;
@@ -537,11 +978,11 @@ export declare const useTransferTemplateActions: import("pinia").StoreDefinition
537
978
  precision: number;
538
979
  };
539
980
  } | null | undefined;
540
- operationalGroup?: string | null | undefined;
541
981
  thresholds?: {
542
982
  low: number;
543
983
  mid: number;
544
984
  } | null | undefined;
985
+ operationalGroup?: string | null | undefined;
545
986
  unit: {
546
987
  _id: string;
547
988
  name: string;
@@ -580,7 +1021,131 @@ export declare const useTransferTemplateActions: import("pinia").StoreDefinition
580
1021
  precision: number;
581
1022
  };
582
1023
  }[];
583
- supplier: {
1024
+ };
1025
+ } | undefined;
1026
+ show?: boolean | undefined;
1027
+ 'onUpdate:show'?: ((show: boolean) => void) | undefined;
1028
+ 'onAction:use'?: ((locationId: string) => void) | undefined;
1029
+ 'onAction:edit'?: (() => void) | undefined;
1030
+ }>;
1031
+ transferFormDialogProps: Ref<import("../../receive-request/components/transfer-dialog/TransferDialogProps").TransferDialogProps | undefined, import("../../receive-request/components/transfer-dialog/TransferDialogProps").TransferDialogProps | undefined>;
1032
+ }, "templateDialogProps" | "templateDetailsProps" | "transferFormDialogProps">, Pick<{
1033
+ createTemplate: () => void;
1034
+ viewTemplate: (template: POTemplate) => void;
1035
+ updateTemplate: (template: POTemplate) => void;
1036
+ deleteTemplate: (template: POTemplate, loadingRef: Ref<boolean>, onDeleted: () => void) => void;
1037
+ useTemplate: (template: POTemplate) => void;
1038
+ templateDialogProps: Ref<{
1039
+ mode?: FormMode | undefined;
1040
+ modelValue?: {
1041
+ _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";
1050
+ name: string;
1051
+ acceptRequest: boolean;
1052
+ dbName: string;
1053
+ 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
+ _id: string;
1125
+ businessId: string;
1126
+ profile: {
1127
+ email?: string | null | undefined;
1128
+ phoneNo?: string | null | undefined;
1129
+ name: string;
1130
+ address: {
1131
+ coordinates?: number[] | null | undefined;
1132
+ line2?: string | null | undefined;
1133
+ state: string;
1134
+ country: string;
1135
+ line1: string;
1136
+ city: string;
1137
+ postcode: string;
1138
+ };
1139
+ regNo: string;
1140
+ };
1141
+ };
1142
+ })[] | null | undefined;
1143
+ _id: string;
1144
+ name: string;
1145
+ purchaseOrder: {
1146
+ remark?: string | null | undefined;
1147
+ ref?: string | null | undefined;
1148
+ supplier?: {
584
1149
  phoneNumber?: string | null | undefined;
585
1150
  email?: string | null | undefined;
586
1151
  _rev?: string | null | undefined;
@@ -616,30 +1181,7 @@ export declare const useTransferTemplateActions: import("pinia").StoreDefinition
616
1181
  postcode: string;
617
1182
  country: string;
618
1183
  };
619
- };
620
- };
621
- } | undefined;
622
- show?: boolean | undefined;
623
- 'onUpdate:show'?: ((show: boolean) => void) | undefined;
624
- 'onAction:use'?: (() => void) | undefined;
625
- 'onAction:edit'?: (() => void) | undefined;
626
- }>;
627
- transferFormDialogProps: Ref<import("../../receive-request/components/transfer-dialog/TransferDialogProps").TransferDialogProps | undefined, import("../../receive-request/components/transfer-dialog/TransferDialogProps").TransferDialogProps | undefined>;
628
- }, "templateDialogProps" | "templateDetailsProps" | "transferFormDialogProps">, Pick<{
629
- createTemplate: () => void;
630
- viewTemplate: (template: POTemplate) => void;
631
- updateTemplate: (template: POTemplate) => void;
632
- deleteTemplate: (template: POTemplate, loadingRef: Ref<boolean>, onDeleted: () => void) => void;
633
- useTemplate: (template: POTemplate) => void;
634
- templateDialogProps: Ref<{
635
- mode?: FormMode | undefined;
636
- modelValue?: {
637
- _rev?: string | null | undefined;
638
- _id: string;
639
- name: string;
640
- purchaseOrder: {
641
- remark?: string | null | undefined;
642
- ref?: string | null | undefined;
1184
+ } | undefined;
643
1185
  template?: string | null | undefined;
644
1186
  stockSnapshotId?: string | null | undefined;
645
1187
  effectiveAt?: string | null | undefined;
@@ -697,11 +1239,11 @@ export declare const useTransferTemplateActions: import("pinia").StoreDefinition
697
1239
  precision: number;
698
1240
  };
699
1241
  } | null | undefined;
700
- operationalGroup?: string | null | undefined;
701
1242
  thresholds?: {
702
1243
  low: number;
703
1244
  mid: number;
704
1245
  } | null | undefined;
1246
+ operationalGroup?: string | null | undefined;
705
1247
  unit: {
706
1248
  _id: string;
707
1249
  name: string;
@@ -740,7 +1282,122 @@ export declare const useTransferTemplateActions: import("pinia").StoreDefinition
740
1282
  precision: number;
741
1283
  };
742
1284
  }[];
743
- supplier: {
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?: {
744
1401
  phoneNumber?: string | null | undefined;
745
1402
  email?: string | null | undefined;
746
1403
  _rev?: string | null | undefined;
@@ -776,21 +1433,7 @@ export declare const useTransferTemplateActions: import("pinia").StoreDefinition
776
1433
  postcode: string;
777
1434
  country: string;
778
1435
  };
779
- };
780
- };
781
- } | undefined;
782
- show?: boolean | undefined;
783
- 'onUpdate:show'?: ((show: boolean) => void) | undefined;
784
- onSubmitted?: (() => void) | undefined;
785
- }, TransferTemplateDialogPropsWithEventBinding | {
786
- mode?: FormMode | undefined;
787
- modelValue?: {
788
- _rev?: string | null | undefined;
789
- _id: string;
790
- name: string;
791
- purchaseOrder: {
792
- remark?: string | null | undefined;
793
- ref?: string | null | undefined;
1436
+ } | undefined;
794
1437
  template?: string | null | undefined;
795
1438
  stockSnapshotId?: string | null | undefined;
796
1439
  effectiveAt?: string | null | undefined;
@@ -848,11 +1491,11 @@ export declare const useTransferTemplateActions: import("pinia").StoreDefinition
848
1491
  precision: number;
849
1492
  };
850
1493
  } | null | undefined;
851
- operationalGroup?: string | null | undefined;
852
1494
  thresholds?: {
853
1495
  low: number;
854
1496
  mid: number;
855
1497
  } | null | undefined;
1498
+ operationalGroup?: string | null | undefined;
856
1499
  unit: {
857
1500
  _id: string;
858
1501
  name: string;
@@ -891,7 +1534,122 @@ export declare const useTransferTemplateActions: import("pinia").StoreDefinition
891
1534
  precision: number;
892
1535
  };
893
1536
  }[];
894
- supplier: {
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?: {
895
1653
  phoneNumber?: string | null | undefined;
896
1654
  email?: string | null | undefined;
897
1655
  _rev?: string | null | undefined;
@@ -927,21 +1685,7 @@ export declare const useTransferTemplateActions: import("pinia").StoreDefinition
927
1685
  postcode: string;
928
1686
  country: string;
929
1687
  };
930
- };
931
- };
932
- } | undefined;
933
- show?: boolean | undefined;
934
- 'onUpdate:show'?: ((show: boolean) => void) | undefined;
935
- onSubmitted?: (() => void) | undefined;
936
- }>;
937
- templateDetailsProps: Ref<{
938
- template?: {
939
- _rev?: string | null | undefined;
940
- _id: string;
941
- name: string;
942
- purchaseOrder: {
943
- remark?: string | null | undefined;
944
- ref?: string | null | undefined;
1688
+ } | undefined;
945
1689
  template?: string | null | undefined;
946
1690
  stockSnapshotId?: string | null | undefined;
947
1691
  effectiveAt?: string | null | undefined;
@@ -999,11 +1743,11 @@ export declare const useTransferTemplateActions: import("pinia").StoreDefinition
999
1743
  precision: number;
1000
1744
  };
1001
1745
  } | null | undefined;
1002
- operationalGroup?: string | null | undefined;
1003
1746
  thresholds?: {
1004
1747
  low: number;
1005
1748
  mid: number;
1006
1749
  } | null | undefined;
1750
+ operationalGroup?: string | null | undefined;
1007
1751
  unit: {
1008
1752
  _id: string;
1009
1753
  name: string;
@@ -1042,7 +1786,122 @@ export declare const useTransferTemplateActions: import("pinia").StoreDefinition
1042
1786
  precision: number;
1043
1787
  };
1044
1788
  }[];
1045
- supplier: {
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?: {
1046
1905
  phoneNumber?: string | null | undefined;
1047
1906
  email?: string | null | undefined;
1048
1907
  _rev?: string | null | undefined;
@@ -1074,25 +1933,11 @@ export declare const useTransferTemplateActions: import("pinia").StoreDefinition
1074
1933
  line2?: string | null | undefined;
1075
1934
  line1: string;
1076
1935
  state: string;
1077
- city: string;
1078
- postcode: string;
1079
- country: string;
1080
- };
1081
- };
1082
- };
1083
- } | undefined;
1084
- show?: boolean | undefined;
1085
- 'onUpdate:show'?: ((show: boolean) => void) | undefined;
1086
- 'onAction:use'?: (() => void) | undefined;
1087
- 'onAction:edit'?: (() => void) | undefined;
1088
- }, TransferTemplateDetailsPropsWithEventBinding | {
1089
- template?: {
1090
- _rev?: string | null | undefined;
1091
- _id: string;
1092
- name: string;
1093
- purchaseOrder: {
1094
- remark?: string | null | undefined;
1095
- ref?: string | null | undefined;
1936
+ city: string;
1937
+ postcode: string;
1938
+ country: string;
1939
+ };
1940
+ } | undefined;
1096
1941
  template?: string | null | undefined;
1097
1942
  stockSnapshotId?: string | null | undefined;
1098
1943
  effectiveAt?: string | null | undefined;
@@ -1150,11 +1995,11 @@ export declare const useTransferTemplateActions: import("pinia").StoreDefinition
1150
1995
  precision: number;
1151
1996
  };
1152
1997
  } | null | undefined;
1153
- operationalGroup?: string | null | undefined;
1154
1998
  thresholds?: {
1155
1999
  low: number;
1156
2000
  mid: number;
1157
2001
  } | null | undefined;
2002
+ operationalGroup?: string | null | undefined;
1158
2003
  unit: {
1159
2004
  _id: string;
1160
2005
  name: string;
@@ -1193,7 +2038,131 @@ export declare const useTransferTemplateActions: import("pinia").StoreDefinition
1193
2038
  precision: number;
1194
2039
  };
1195
2040
  }[];
1196
- supplier: {
2041
+ };
2042
+ } | undefined;
2043
+ show?: boolean | undefined;
2044
+ 'onUpdate:show'?: ((show: boolean) => void) | undefined;
2045
+ 'onAction:use'?: ((locationId: string) => void) | undefined;
2046
+ 'onAction:edit'?: (() => void) | undefined;
2047
+ }>;
2048
+ transferFormDialogProps: Ref<import("../../receive-request/components/transfer-dialog/TransferDialogProps").TransferDialogProps | undefined, import("../../receive-request/components/transfer-dialog/TransferDialogProps").TransferDialogProps | undefined>;
2049
+ }, never>, Pick<{
2050
+ createTemplate: () => void;
2051
+ viewTemplate: (template: POTemplate) => void;
2052
+ updateTemplate: (template: POTemplate) => void;
2053
+ deleteTemplate: (template: POTemplate, loadingRef: Ref<boolean>, onDeleted: () => void) => void;
2054
+ useTemplate: (template: POTemplate) => void;
2055
+ templateDialogProps: Ref<{
2056
+ mode?: FormMode | undefined;
2057
+ modelValue?: {
2058
+ _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";
2067
+ name: string;
2068
+ acceptRequest: boolean;
2069
+ dbName: string;
2070
+ 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
+ _id: string;
2142
+ businessId: string;
2143
+ profile: {
2144
+ email?: string | null | undefined;
2145
+ phoneNo?: string | null | undefined;
2146
+ name: string;
2147
+ address: {
2148
+ coordinates?: number[] | null | undefined;
2149
+ line2?: string | null | undefined;
2150
+ state: string;
2151
+ country: string;
2152
+ line1: string;
2153
+ city: string;
2154
+ postcode: string;
2155
+ };
2156
+ regNo: string;
2157
+ };
2158
+ };
2159
+ })[] | null | undefined;
2160
+ _id: string;
2161
+ name: string;
2162
+ purchaseOrder: {
2163
+ remark?: string | null | undefined;
2164
+ ref?: string | null | undefined;
2165
+ supplier?: {
1197
2166
  phoneNumber?: string | null | undefined;
1198
2167
  email?: string | null | undefined;
1199
2168
  _rev?: string | null | undefined;
@@ -1229,30 +2198,7 @@ export declare const useTransferTemplateActions: import("pinia").StoreDefinition
1229
2198
  postcode: string;
1230
2199
  country: string;
1231
2200
  };
1232
- };
1233
- };
1234
- } | undefined;
1235
- show?: boolean | undefined;
1236
- 'onUpdate:show'?: ((show: boolean) => void) | undefined;
1237
- 'onAction:use'?: (() => void) | undefined;
1238
- 'onAction:edit'?: (() => void) | undefined;
1239
- }>;
1240
- transferFormDialogProps: Ref<import("../../receive-request/components/transfer-dialog/TransferDialogProps").TransferDialogProps | undefined, import("../../receive-request/components/transfer-dialog/TransferDialogProps").TransferDialogProps | undefined>;
1241
- }, never>, Pick<{
1242
- createTemplate: () => void;
1243
- viewTemplate: (template: POTemplate) => void;
1244
- updateTemplate: (template: POTemplate) => void;
1245
- deleteTemplate: (template: POTemplate, loadingRef: Ref<boolean>, onDeleted: () => void) => void;
1246
- useTemplate: (template: POTemplate) => void;
1247
- templateDialogProps: Ref<{
1248
- mode?: FormMode | undefined;
1249
- modelValue?: {
1250
- _rev?: string | null | undefined;
1251
- _id: string;
1252
- name: string;
1253
- purchaseOrder: {
1254
- remark?: string | null | undefined;
1255
- ref?: string | null | undefined;
2201
+ } | undefined;
1256
2202
  template?: string | null | undefined;
1257
2203
  stockSnapshotId?: string | null | undefined;
1258
2204
  effectiveAt?: string | null | undefined;
@@ -1310,11 +2256,11 @@ export declare const useTransferTemplateActions: import("pinia").StoreDefinition
1310
2256
  precision: number;
1311
2257
  };
1312
2258
  } | null | undefined;
1313
- operationalGroup?: string | null | undefined;
1314
2259
  thresholds?: {
1315
2260
  low: number;
1316
2261
  mid: number;
1317
2262
  } | null | undefined;
2263
+ operationalGroup?: string | null | undefined;
1318
2264
  unit: {
1319
2265
  _id: string;
1320
2266
  name: string;
@@ -1353,7 +2299,122 @@ export declare const useTransferTemplateActions: import("pinia").StoreDefinition
1353
2299
  precision: number;
1354
2300
  };
1355
2301
  }[];
1356
- supplier: {
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?: {
1357
2418
  phoneNumber?: string | null | undefined;
1358
2419
  email?: string | null | undefined;
1359
2420
  _rev?: string | null | undefined;
@@ -1389,21 +2450,7 @@ export declare const useTransferTemplateActions: import("pinia").StoreDefinition
1389
2450
  postcode: string;
1390
2451
  country: string;
1391
2452
  };
1392
- };
1393
- };
1394
- } | undefined;
1395
- show?: boolean | undefined;
1396
- 'onUpdate:show'?: ((show: boolean) => void) | undefined;
1397
- onSubmitted?: (() => void) | undefined;
1398
- }, TransferTemplateDialogPropsWithEventBinding | {
1399
- mode?: FormMode | undefined;
1400
- modelValue?: {
1401
- _rev?: string | null | undefined;
1402
- _id: string;
1403
- name: string;
1404
- purchaseOrder: {
1405
- remark?: string | null | undefined;
1406
- ref?: string | null | undefined;
2453
+ } | undefined;
1407
2454
  template?: string | null | undefined;
1408
2455
  stockSnapshotId?: string | null | undefined;
1409
2456
  effectiveAt?: string | null | undefined;
@@ -1461,11 +2508,11 @@ export declare const useTransferTemplateActions: import("pinia").StoreDefinition
1461
2508
  precision: number;
1462
2509
  };
1463
2510
  } | null | undefined;
1464
- operationalGroup?: string | null | undefined;
1465
2511
  thresholds?: {
1466
2512
  low: number;
1467
2513
  mid: number;
1468
2514
  } | null | undefined;
2515
+ operationalGroup?: string | null | undefined;
1469
2516
  unit: {
1470
2517
  _id: string;
1471
2518
  name: string;
@@ -1504,7 +2551,122 @@ export declare const useTransferTemplateActions: import("pinia").StoreDefinition
1504
2551
  precision: number;
1505
2552
  };
1506
2553
  }[];
1507
- supplier: {
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?: {
1508
2670
  phoneNumber?: string | null | undefined;
1509
2671
  email?: string | null | undefined;
1510
2672
  _rev?: string | null | undefined;
@@ -1540,21 +2702,7 @@ export declare const useTransferTemplateActions: import("pinia").StoreDefinition
1540
2702
  postcode: string;
1541
2703
  country: string;
1542
2704
  };
1543
- };
1544
- };
1545
- } | undefined;
1546
- show?: boolean | undefined;
1547
- 'onUpdate:show'?: ((show: boolean) => void) | undefined;
1548
- onSubmitted?: (() => void) | undefined;
1549
- }>;
1550
- templateDetailsProps: Ref<{
1551
- template?: {
1552
- _rev?: string | null | undefined;
1553
- _id: string;
1554
- name: string;
1555
- purchaseOrder: {
1556
- remark?: string | null | undefined;
1557
- ref?: string | null | undefined;
2705
+ } | undefined;
1558
2706
  template?: string | null | undefined;
1559
2707
  stockSnapshotId?: string | null | undefined;
1560
2708
  effectiveAt?: string | null | undefined;
@@ -1612,11 +2760,11 @@ export declare const useTransferTemplateActions: import("pinia").StoreDefinition
1612
2760
  precision: number;
1613
2761
  };
1614
2762
  } | null | undefined;
1615
- operationalGroup?: string | null | undefined;
1616
2763
  thresholds?: {
1617
2764
  low: number;
1618
2765
  mid: number;
1619
2766
  } | null | undefined;
2767
+ operationalGroup?: string | null | undefined;
1620
2768
  unit: {
1621
2769
  _id: string;
1622
2770
  name: string;
@@ -1655,7 +2803,122 @@ export declare const useTransferTemplateActions: import("pinia").StoreDefinition
1655
2803
  precision: number;
1656
2804
  };
1657
2805
  }[];
1658
- supplier: {
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?: {
1659
2922
  phoneNumber?: string | null | undefined;
1660
2923
  email?: string | null | undefined;
1661
2924
  _rev?: string | null | undefined;
@@ -1691,21 +2954,7 @@ export declare const useTransferTemplateActions: import("pinia").StoreDefinition
1691
2954
  postcode: string;
1692
2955
  country: string;
1693
2956
  };
1694
- };
1695
- };
1696
- } | undefined;
1697
- show?: boolean | undefined;
1698
- 'onUpdate:show'?: ((show: boolean) => void) | undefined;
1699
- 'onAction:use'?: (() => void) | undefined;
1700
- 'onAction:edit'?: (() => void) | undefined;
1701
- }, TransferTemplateDetailsPropsWithEventBinding | {
1702
- template?: {
1703
- _rev?: string | null | undefined;
1704
- _id: string;
1705
- name: string;
1706
- purchaseOrder: {
1707
- remark?: string | null | undefined;
1708
- ref?: string | null | undefined;
2957
+ } | undefined;
1709
2958
  template?: string | null | undefined;
1710
2959
  stockSnapshotId?: string | null | undefined;
1711
2960
  effectiveAt?: string | null | undefined;
@@ -1763,11 +3012,11 @@ export declare const useTransferTemplateActions: import("pinia").StoreDefinition
1763
3012
  precision: number;
1764
3013
  };
1765
3014
  } | null | undefined;
1766
- operationalGroup?: string | null | undefined;
1767
3015
  thresholds?: {
1768
3016
  low: number;
1769
3017
  mid: number;
1770
3018
  } | null | undefined;
3019
+ operationalGroup?: string | null | undefined;
1771
3020
  unit: {
1772
3021
  _id: string;
1773
3022
  name: string;
@@ -1806,48 +3055,11 @@ export declare const useTransferTemplateActions: import("pinia").StoreDefinition
1806
3055
  precision: number;
1807
3056
  };
1808
3057
  }[];
1809
- supplier: {
1810
- phoneNumber?: string | null | undefined;
1811
- email?: string | null | undefined;
1812
- _rev?: string | null | undefined;
1813
- internal?: "restaurant" | "warehouse" | null | undefined;
1814
- contactName?: string | null | undefined;
1815
- registrationNumber?: string | undefined;
1816
- supplyItems?: {
1817
- defaultCost: {
1818
- measurement?: {
1819
- id: string;
1820
- name: string;
1821
- abbrev: string;
1822
- conversion: {
1823
- amount: number;
1824
- precision: number;
1825
- };
1826
- } | null | undefined;
1827
- costPerUnit: {
1828
- 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";
1829
- amount: number;
1830
- precision: number;
1831
- };
1832
- };
1833
- skuId: string;
1834
- }[] | null | undefined;
1835
- _id: string;
1836
- name: string;
1837
- address: {
1838
- line2?: string | null | undefined;
1839
- line1: string;
1840
- state: string;
1841
- city: string;
1842
- postcode: string;
1843
- country: string;
1844
- };
1845
- };
1846
3058
  };
1847
3059
  } | undefined;
1848
3060
  show?: boolean | undefined;
1849
3061
  'onUpdate:show'?: ((show: boolean) => void) | undefined;
1850
- 'onAction:use'?: (() => void) | undefined;
3062
+ 'onAction:use'?: ((locationId: string) => void) | undefined;
1851
3063
  'onAction:edit'?: (() => void) | undefined;
1852
3064
  }>;
1853
3065
  transferFormDialogProps: Ref<import("../../receive-request/components/transfer-dialog/TransferDialogProps").TransferDialogProps | undefined, import("../../receive-request/components/transfer-dialog/TransferDialogProps").TransferDialogProps | undefined>;