@feedmepos/mf-inventory-portal 0.0.22-dev.4 → 0.0.22-dev.40

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (106) hide show
  1. package/dist/{ApprovalView-xF73Z1jN.js → ApprovalView-JOsQBu1z.js} +25 -26
  2. package/dist/{BindingsDialog-CCSAxGT4.js → BindingsDialog-DG2ZolH1.js} +9 -9
  3. package/dist/{BindingsPicker-ErFH0uEQ.js → BindingsPicker-B7h_iST8.js} +22 -22
  4. package/dist/{BindingsTable-D8ffJgIJ.js → BindingsTable-BToh6gcG.js} +1 -1
  5. package/dist/ClosingTemplateView-BwMJAxuz.js +1688 -0
  6. package/dist/FmDroppableField-CJNAT3h2.js +152 -0
  7. package/dist/FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-4NHQdjz7.js +266 -0
  8. package/dist/FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-Cc_P0kss.js +364 -0
  9. package/dist/IngredientBindedItem.vue_vue_type_script_setup_true_lang-DMOalXUS.js +51 -0
  10. package/dist/IngredientsView-ChnCqdWi.js +1611 -0
  11. package/dist/{IntegrationView-54yz2EqS.js → IntegrationView-NWkc9PLW.js} +71 -71
  12. package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-CKvKlCk-.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-BQW6HYyD.js} +1 -1
  13. package/dist/PremiumBadge.vue_vue_type_script_setup_true_lang-BQqcpZIJ.js +116 -0
  14. package/dist/{PurchaseOrderPrintPreview-pcpWSfl4.js → PurchaseOrderPrintPreview-BvED8ZbQ.js} +7 -7
  15. package/dist/ReceiveRequestView-DdxBaqmU.js +4069 -0
  16. package/dist/RecipeView-YdSRy_yP.js +591 -0
  17. package/dist/Standalone.vue.d.ts +2 -0
  18. package/dist/StockView-WF5z4dTF.js +7762 -0
  19. package/dist/{SupplierView-TYCkPXan.js → SupplierView-H2Vi5lSs.js} +111 -111
  20. package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-D48gSqHW.js +1137 -0
  21. package/dist/TransferTemplateView-DeT32cat.js +2054 -0
  22. package/dist/{UnitView-B9yE4-rc.js → UnitView-qD9JSdHT.js} +18 -18
  23. package/dist/{WarehouseView-DUtVLTjb.js → WarehouseView-C19Dd53y.js} +176 -177
  24. package/dist/api/bill.d.ts +84 -238
  25. package/dist/api/closing-template.d.ts +6 -4
  26. package/dist/api/inventory.d.ts +72 -85
  27. package/dist/api/netsuite.d.ts +47 -0
  28. package/dist/api/purchase-order-template.d.ts +4 -6
  29. package/dist/{app-w8TOQVZc.js → app-DKE_n9Mo.js} +24520 -23671
  30. package/dist/app.d.ts +7 -0
  31. package/dist/app.js +3 -3
  32. package/dist/components/FmFilterableMenuOptions.vue.d.ts +54 -0
  33. package/dist/components/FmMinMaxInputRules.d.ts +2 -0
  34. package/dist/components/FmUnitInputRules.d.ts +2 -0
  35. package/dist/components/map/GoogleMap.vue.d.ts +4 -4
  36. package/dist/{decimal-C4q7UMfr.js → decimal-veoPLYim.js} +1 -1
  37. package/dist/defineDeepModel-u6t3hXU9.js +13 -0
  38. package/dist/format-time-from-id-8gjg5B98.js +15 -0
  39. package/dist/helper/rules.d.ts +7 -0
  40. package/dist/helper/rules.spec.d.ts +1 -0
  41. package/dist/helper/xlsx.util.d.ts +7 -0
  42. package/dist/purchase-order-transaction-type-CIDEpjJB.js +348 -0
  43. package/dist/stores/api.d.ts +1 -0
  44. package/dist/stores/feature.d.ts +0 -1
  45. package/dist/stores/helper/core-store-proxy.d.ts +3 -0
  46. package/dist/stores/helper/generate-backend-urls.d.ts +1 -0
  47. package/dist/stores/inventory.d.ts +85 -0
  48. package/dist/stores/location.d.ts +508 -503
  49. package/dist/stores/netsuite.d.ts +69 -0
  50. package/dist/stores/route.d.ts +0 -5
  51. package/dist/stores/supplier.d.ts +120 -3
  52. package/dist/style.css +1 -1
  53. package/dist/supplier-DLcmVScz.js +70 -0
  54. package/dist/tsconfig.app.tsbuildinfo +1 -1
  55. package/dist/use-template-enabled-locations-2-CdJVJikY.js +85 -0
  56. package/dist/views/closing-template/closing-template-import/ClosingTemplateImportItem.vue.d.ts +12 -0
  57. package/dist/views/closing-template/closing-template-import/ClosingTemplateImportItemProps.d.ts +7 -0
  58. package/dist/views/closing-template/composables/use-closing-template-actions.d.ts +1093 -1026
  59. package/dist/views/closing-template/composables/use-closing-template-table.d.ts +1098 -1037
  60. package/dist/views/closing-template/helpers/import-export.helper.d.ts +58 -0
  61. package/dist/views/ingredients/composables/use-ingredient-form.d.ts +2 -2
  62. package/dist/views/receive-request/components/transfer-details/TransferDetailsProps.d.ts +1 -0
  63. package/dist/views/receive-request/components/transfer-form/NetSuiteField.vue.d.ts +45 -0
  64. package/dist/views/receive-request/components/transfer-form/TransferForm.vue.d.ts +1944 -82
  65. package/dist/views/receive-request/components/transfer-form/TransferFormProps.d.ts +1 -0
  66. package/dist/views/receive-request/composables/use-receive-request-form.d.ts +2351 -284
  67. package/dist/views/receive-request/composables/use-receive-request-table.d.ts +2300 -233
  68. package/dist/views/recipe/composables/use-recipe-form.d.ts +2 -2
  69. package/dist/views/stock/components/StockRecordCard.vue.d.ts +42 -119
  70. package/dist/views/stock/composables/use-stock-action.d.ts +2 -2
  71. package/dist/views/transfer-template/components/transfer-template-details/TransferTemplateDetails.vue.d.ts +0 -2
  72. package/dist/views/transfer-template/components/transfer-template-details/TransferTemplateDetailsProps.d.ts +0 -1
  73. package/dist/views/transfer-template/components/transfer-template-form/composables/use-template-enabled-locations-2.d.ts +13 -0
  74. package/dist/views/transfer-template/components/transfer-template-form/composables/use-template-enabled-locations.d.ts +71 -85
  75. package/dist/views/transfer-template/components/transfer-template-form/composables/use-transfer-locations.d.ts +39 -2
  76. package/dist/views/transfer-template/components/transfer-template-import/TransferTemplateImport.vue.d.ts +2 -0
  77. package/dist/views/transfer-template/components/transfer-template-import/TransferTemplateImportItem.vue.d.ts +12 -0
  78. package/dist/views/transfer-template/components/transfer-template-import/TransferTemplateImportItemProps.d.ts +9 -0
  79. package/dist/views/transfer-template/composables/use-transfer-template-actions.d.ts +1263 -1466
  80. package/dist/views/transfer-template/composables/use-transfer-template-table.d.ts +1688 -897
  81. package/dist/views/transfer-template/helpers/import-export.helper.d.ts +76 -0
  82. package/dist/views/transfer-template/helpers/remove-deleted-skus.helper.d.ts +1 -0
  83. package/dist/views/transfer-template/helpers/template-item.error.helper.d.ts +1 -0
  84. package/dist/views/unit/composables/use-unit-form.d.ts +2 -2
  85. package/dist/{xlsx-BggStaH1.js → xlsx-CrKrCGZz.js} +1525 -1525
  86. package/dist/xlsx.util-Bcpkvw1Z.js +78 -0
  87. package/package.json +5 -5
  88. package/dist/ClosingTemplateView-DdZlX1ug.js +0 -1030
  89. package/dist/FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-ZYtBNoaE.js +0 -372
  90. package/dist/IngredientsView-DnwwQJTN.js +0 -1758
  91. package/dist/PremiumBadge.vue_vue_type_script_setup_true_lang-Bom_KvXW.js +0 -88
  92. package/dist/ReceiveRequestView-D5HXMY4Z.js +0 -215
  93. package/dist/RecipeView-BHkTgm5H.js +0 -581
  94. package/dist/StockView-iczCFYxn.js +0 -1892
  95. package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-EN3JgHKF.js +0 -740
  96. package/dist/TransferDialog.vue_vue_type_script_setup_true_lang-DC0Ss5hi.js +0 -1409
  97. package/dist/TransferTemplateView-Bbvpuys7.js +0 -1230
  98. package/dist/defineDeepModel-BOApqV24.js +0 -13
  99. package/dist/format-time-from-id-Cafjo8fn.js +0 -15
  100. package/dist/id-to-date-CtSHSVJF.js +0 -30
  101. package/dist/layout/layout-routes.d.ts +0 -6
  102. package/dist/purchase-order-transaction-type-CIC5h-6x.js +0 -712
  103. package/dist/supplier-CM-vZ4bQ.js +0 -69
  104. package/dist/use-template-enabled-locations-Bm00vEzC.js +0 -57
  105. package/dist/xlsx.util-CqlYZLKW.js +0 -109
  106. /package/dist/{layout/InventoryLayout.vue.d.ts → views/closing-template/closing-template-import/ClosingTemplateImport.vue.d.ts} +0 -0
@@ -2,6 +2,7 @@ import type { TransferTemplateDialogProps } from '../components/transfer-templat
2
2
  import { FormMode } from '@/components/form/form-mode.enum';
3
3
  import { type Ref } from 'vue';
4
4
  import type { TransferTemplateDetailsProps } from '../components/transfer-template-details/TransferTemplateDetailsProps';
5
+ import type { RevisionIdMeta } from '@feedmepos/inventory-core';
5
6
  type POTemplate = FdoPurchaseOrderTemplate;
6
7
  type TransferTemplateDialogPropsWithEventBinding = TransferTemplateDialogProps & {
7
8
  'onUpdate:show'?(show: boolean): void;
@@ -12,105 +13,30 @@ type TransferTemplateDetailsPropsWithEventBinding = TransferTemplateDetailsProps
12
13
  'onAction:use'?(locationId: string): void;
13
14
  'onAction:edit'?(): void;
14
15
  };
15
- export declare const useTransferTemplateActions: import("pinia").StoreDefinition<"transferTemplateActions", Pick<{
16
+ export declare const useTransferTemplateActions: import("pinia").StoreDefinition<"transferTemplateActions", import("pinia")._UnwrapAll<Pick<{
16
17
  createTemplate: () => void;
17
18
  viewTemplate: (template: POTemplate) => void;
18
19
  updateTemplate: (template: POTemplate) => void;
19
20
  deleteTemplate: (template: POTemplate, loadingRef: Ref<boolean>, onDeleted: () => void) => void;
20
- useTemplate: (template: POTemplate) => void;
21
+ getTemplateId: () => Promise<string | undefined>;
22
+ importTemplates: (templates: Array<(FdoPurchaseOrderTemplate & RevisionIdMeta) | Omit<FdoPurchaseOrderTemplate, '_id'>>) => Promise<void>;
21
23
  templateDialogProps: Ref<{
22
24
  mode?: FormMode | undefined;
23
25
  modelValue?: {
24
26
  _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";
27
+ locations?: {
28
+ type: "restaurant" | "warehouse";
33
29
  name: string;
34
30
  acceptRequest: boolean;
35
31
  dbName: string;
36
32
  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
33
  _id: string;
108
34
  businessId: string;
109
35
  profile: {
110
- email?: string | null | undefined;
111
- phoneNo?: string | null | undefined;
112
- name: string;
113
- address: {
36
+ code?: string | null | undefined;
37
+ _id?: string | null | undefined;
38
+ name?: string | undefined;
39
+ address?: {
114
40
  coordinates?: number[] | null | undefined;
115
41
  line2?: string | null | undefined;
116
42
  state: string;
@@ -118,56 +44,78 @@ export declare const useTransferTemplateActions: import("pinia").StoreDefinition
118
44
  line1: string;
119
45
  city: string;
120
46
  postcode: string;
121
- };
122
- regNo: string;
47
+ } | undefined;
48
+ email?: string | undefined;
49
+ regNo?: string | undefined;
50
+ sstRegNo?: string | null | undefined;
51
+ phoneNo?: string | undefined;
52
+ legalName?: string | null | undefined;
53
+ discovery?: boolean | null | undefined;
54
+ coverPhoto?: string | null | undefined;
55
+ thumbnailPhoto?: string | null | undefined;
56
+ description?: string | null | undefined;
57
+ photos?: string[] | null | undefined;
58
+ operatingHours?: {
59
+ 0: {
60
+ hours: {
61
+ end: string;
62
+ start: string;
63
+ }[];
64
+ enable: boolean;
65
+ };
66
+ 2: {
67
+ hours: {
68
+ end: string;
69
+ start: string;
70
+ }[];
71
+ enable: boolean;
72
+ };
73
+ 1: {
74
+ hours: {
75
+ end: string;
76
+ start: string;
77
+ }[];
78
+ enable: boolean;
79
+ };
80
+ 3: {
81
+ hours: {
82
+ end: string;
83
+ start: string;
84
+ }[];
85
+ enable: boolean;
86
+ };
87
+ 4: {
88
+ hours: {
89
+ end: string;
90
+ start: string;
91
+ }[];
92
+ enable: boolean;
93
+ };
94
+ 5: {
95
+ hours: {
96
+ end: string;
97
+ start: string;
98
+ }[];
99
+ enable: boolean;
100
+ };
101
+ 6: {
102
+ hours: {
103
+ end: string;
104
+ start: string;
105
+ }[];
106
+ enable: boolean;
107
+ };
108
+ } | null | undefined;
109
+ tags?: string[] | null | undefined;
110
+ url?: string | null | undefined;
123
111
  };
124
112
  };
125
- })[] | null | undefined;
113
+ }[] | null | undefined;
126
114
  _id: string;
127
115
  name: string;
128
116
  purchaseOrder: {
129
117
  remark?: string | null | undefined;
130
118
  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
119
  items: {
172
120
  measurement?: {
173
121
  id: string;
@@ -265,122 +213,7 @@ export declare const useTransferTemplateActions: import("pinia").StoreDefinition
265
213
  precision: number;
266
214
  };
267
215
  }[];
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?: {
216
+ supplier: {
384
217
  phoneNumber?: string | null | undefined;
385
218
  email?: string | null | undefined;
386
219
  _rev?: string | null | undefined;
@@ -416,10 +249,108 @@ export declare const useTransferTemplateActions: import("pinia").StoreDefinition
416
249
  postcode: string;
417
250
  country: string;
418
251
  };
419
- } | undefined;
420
- template?: string | null | undefined;
421
- stockSnapshotId?: string | null | undefined;
422
- effectiveAt?: string | null | undefined;
252
+ };
253
+ };
254
+ } | undefined;
255
+ show?: boolean | undefined;
256
+ 'onUpdate:show'?: ((show: boolean) => void) | undefined;
257
+ onSubmitted?: (() => void) | undefined;
258
+ }, TransferTemplateDialogPropsWithEventBinding | {
259
+ mode?: FormMode | undefined;
260
+ modelValue?: {
261
+ _rev?: string | null | undefined;
262
+ locations?: {
263
+ type: "restaurant" | "warehouse";
264
+ name: string;
265
+ acceptRequest: boolean;
266
+ dbName: string;
267
+ doc: {
268
+ _id: string;
269
+ businessId: string;
270
+ profile: {
271
+ code?: string | null | undefined;
272
+ _id?: string | null | undefined;
273
+ name?: string | undefined;
274
+ address?: {
275
+ coordinates?: number[] | null | undefined;
276
+ line2?: string | null | undefined;
277
+ state: string;
278
+ country: string;
279
+ line1: string;
280
+ city: string;
281
+ postcode: string;
282
+ } | undefined;
283
+ email?: string | undefined;
284
+ regNo?: string | undefined;
285
+ sstRegNo?: string | null | undefined;
286
+ phoneNo?: string | undefined;
287
+ legalName?: string | null | undefined;
288
+ discovery?: boolean | null | undefined;
289
+ coverPhoto?: string | null | undefined;
290
+ thumbnailPhoto?: string | null | undefined;
291
+ description?: string | null | undefined;
292
+ photos?: string[] | null | undefined;
293
+ operatingHours?: {
294
+ 0: {
295
+ hours: {
296
+ end: string;
297
+ start: string;
298
+ }[];
299
+ enable: boolean;
300
+ };
301
+ 2: {
302
+ hours: {
303
+ end: string;
304
+ start: string;
305
+ }[];
306
+ enable: boolean;
307
+ };
308
+ 1: {
309
+ hours: {
310
+ end: string;
311
+ start: string;
312
+ }[];
313
+ enable: boolean;
314
+ };
315
+ 3: {
316
+ hours: {
317
+ end: string;
318
+ start: string;
319
+ }[];
320
+ enable: boolean;
321
+ };
322
+ 4: {
323
+ hours: {
324
+ end: string;
325
+ start: string;
326
+ }[];
327
+ enable: boolean;
328
+ };
329
+ 5: {
330
+ hours: {
331
+ end: string;
332
+ start: string;
333
+ }[];
334
+ enable: boolean;
335
+ };
336
+ 6: {
337
+ hours: {
338
+ end: string;
339
+ start: string;
340
+ }[];
341
+ enable: boolean;
342
+ };
343
+ } | null | undefined;
344
+ tags?: string[] | null | undefined;
345
+ url?: string | null | undefined;
346
+ };
347
+ };
348
+ }[] | null | undefined;
349
+ _id: string;
350
+ name: string;
351
+ purchaseOrder: {
352
+ remark?: string | null | undefined;
353
+ ref?: string | null | undefined;
423
354
  items: {
424
355
  measurement?: {
425
356
  id: string;
@@ -517,122 +448,7 @@ export declare const useTransferTemplateActions: import("pinia").StoreDefinition
517
448
  precision: number;
518
449
  };
519
450
  }[];
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?: {
451
+ supplier: {
636
452
  phoneNumber?: string | null | undefined;
637
453
  email?: string | null | undefined;
638
454
  _rev?: string | null | undefined;
@@ -668,10 +484,108 @@ export declare const useTransferTemplateActions: import("pinia").StoreDefinition
668
484
  postcode: string;
669
485
  country: string;
670
486
  };
671
- } | undefined;
672
- template?: string | null | undefined;
673
- stockSnapshotId?: string | null | undefined;
674
- effectiveAt?: string | null | undefined;
487
+ };
488
+ };
489
+ } | undefined;
490
+ show?: boolean | undefined;
491
+ 'onUpdate:show'?: ((show: boolean) => void) | undefined;
492
+ onSubmitted?: (() => void) | undefined;
493
+ }>;
494
+ templateDetailsProps: Ref<{
495
+ template?: {
496
+ _rev?: string | null | undefined;
497
+ locations?: {
498
+ type: "restaurant" | "warehouse";
499
+ name: string;
500
+ acceptRequest: boolean;
501
+ dbName: string;
502
+ doc: {
503
+ _id: string;
504
+ businessId: string;
505
+ profile: {
506
+ code?: string | null | undefined;
507
+ _id?: string | null | undefined;
508
+ name?: string | undefined;
509
+ address?: {
510
+ coordinates?: number[] | null | undefined;
511
+ line2?: string | null | undefined;
512
+ state: string;
513
+ country: string;
514
+ line1: string;
515
+ city: string;
516
+ postcode: string;
517
+ } | undefined;
518
+ email?: string | undefined;
519
+ regNo?: string | undefined;
520
+ sstRegNo?: string | null | undefined;
521
+ phoneNo?: string | undefined;
522
+ legalName?: string | null | undefined;
523
+ discovery?: boolean | null | undefined;
524
+ coverPhoto?: string | null | undefined;
525
+ thumbnailPhoto?: string | null | undefined;
526
+ description?: string | null | undefined;
527
+ photos?: string[] | null | undefined;
528
+ operatingHours?: {
529
+ 0: {
530
+ hours: {
531
+ end: string;
532
+ start: string;
533
+ }[];
534
+ enable: boolean;
535
+ };
536
+ 2: {
537
+ hours: {
538
+ end: string;
539
+ start: string;
540
+ }[];
541
+ enable: boolean;
542
+ };
543
+ 1: {
544
+ hours: {
545
+ end: string;
546
+ start: string;
547
+ }[];
548
+ enable: boolean;
549
+ };
550
+ 3: {
551
+ hours: {
552
+ end: string;
553
+ start: string;
554
+ }[];
555
+ enable: boolean;
556
+ };
557
+ 4: {
558
+ hours: {
559
+ end: string;
560
+ start: string;
561
+ }[];
562
+ enable: boolean;
563
+ };
564
+ 5: {
565
+ hours: {
566
+ end: string;
567
+ start: string;
568
+ }[];
569
+ enable: boolean;
570
+ };
571
+ 6: {
572
+ hours: {
573
+ end: string;
574
+ start: string;
575
+ }[];
576
+ enable: boolean;
577
+ };
578
+ } | null | undefined;
579
+ tags?: string[] | null | undefined;
580
+ url?: string | null | undefined;
581
+ };
582
+ };
583
+ }[] | null | undefined;
584
+ _id: string;
585
+ name: string;
586
+ purchaseOrder: {
587
+ remark?: string | null | undefined;
588
+ ref?: string | null | undefined;
675
589
  items: {
676
590
  measurement?: {
677
591
  id: string;
@@ -769,122 +683,7 @@ export declare const useTransferTemplateActions: import("pinia").StoreDefinition
769
683
  precision: number;
770
684
  };
771
685
  }[];
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?: {
686
+ supplier: {
888
687
  phoneNumber?: string | null | undefined;
889
688
  email?: string | null | undefined;
890
689
  _rev?: string | null | undefined;
@@ -920,10 +719,108 @@ export declare const useTransferTemplateActions: import("pinia").StoreDefinition
920
719
  postcode: string;
921
720
  country: string;
922
721
  };
923
- } | undefined;
924
- template?: string | null | undefined;
925
- stockSnapshotId?: string | null | undefined;
926
- effectiveAt?: string | null | undefined;
722
+ };
723
+ };
724
+ } | undefined;
725
+ show?: boolean | undefined;
726
+ 'onUpdate:show'?: ((show: boolean) => void) | undefined;
727
+ 'onAction:use'?: ((locationId: string) => void) | undefined;
728
+ 'onAction:edit'?: (() => void) | undefined;
729
+ }, TransferTemplateDetailsPropsWithEventBinding | {
730
+ template?: {
731
+ _rev?: string | null | undefined;
732
+ locations?: {
733
+ type: "restaurant" | "warehouse";
734
+ name: string;
735
+ acceptRequest: boolean;
736
+ dbName: string;
737
+ doc: {
738
+ _id: string;
739
+ businessId: string;
740
+ profile: {
741
+ code?: string | null | undefined;
742
+ _id?: string | null | undefined;
743
+ name?: string | undefined;
744
+ address?: {
745
+ coordinates?: number[] | null | undefined;
746
+ line2?: string | null | undefined;
747
+ state: string;
748
+ country: string;
749
+ line1: string;
750
+ city: string;
751
+ postcode: string;
752
+ } | undefined;
753
+ email?: string | undefined;
754
+ regNo?: string | undefined;
755
+ sstRegNo?: string | null | undefined;
756
+ phoneNo?: string | undefined;
757
+ legalName?: string | null | undefined;
758
+ discovery?: boolean | null | undefined;
759
+ coverPhoto?: string | null | undefined;
760
+ thumbnailPhoto?: string | null | undefined;
761
+ description?: string | null | undefined;
762
+ photos?: string[] | null | undefined;
763
+ operatingHours?: {
764
+ 0: {
765
+ hours: {
766
+ end: string;
767
+ start: string;
768
+ }[];
769
+ enable: boolean;
770
+ };
771
+ 2: {
772
+ hours: {
773
+ end: string;
774
+ start: string;
775
+ }[];
776
+ enable: boolean;
777
+ };
778
+ 1: {
779
+ hours: {
780
+ end: string;
781
+ start: string;
782
+ }[];
783
+ enable: boolean;
784
+ };
785
+ 3: {
786
+ hours: {
787
+ end: string;
788
+ start: string;
789
+ }[];
790
+ enable: boolean;
791
+ };
792
+ 4: {
793
+ hours: {
794
+ end: string;
795
+ start: string;
796
+ }[];
797
+ enable: boolean;
798
+ };
799
+ 5: {
800
+ hours: {
801
+ end: string;
802
+ start: string;
803
+ }[];
804
+ enable: boolean;
805
+ };
806
+ 6: {
807
+ hours: {
808
+ end: string;
809
+ start: string;
810
+ }[];
811
+ enable: boolean;
812
+ };
813
+ } | null | undefined;
814
+ tags?: string[] | null | undefined;
815
+ url?: string | null | undefined;
816
+ };
817
+ };
818
+ }[] | null | undefined;
819
+ _id: string;
820
+ name: string;
821
+ purchaseOrder: {
822
+ remark?: string | null | undefined;
823
+ ref?: string | null | undefined;
927
824
  items: {
928
825
  measurement?: {
929
826
  id: string;
@@ -1021,6 +918,43 @@ export declare const useTransferTemplateActions: import("pinia").StoreDefinition
1021
918
  precision: number;
1022
919
  };
1023
920
  }[];
921
+ supplier: {
922
+ phoneNumber?: string | null | undefined;
923
+ email?: string | null | undefined;
924
+ _rev?: string | null | undefined;
925
+ internal?: "restaurant" | "warehouse" | null | undefined;
926
+ contactName?: string | null | undefined;
927
+ registrationNumber?: string | undefined;
928
+ supplyItems?: {
929
+ defaultCost: {
930
+ measurement?: {
931
+ id: string;
932
+ name: string;
933
+ abbrev: string;
934
+ conversion: {
935
+ amount: number;
936
+ precision: number;
937
+ };
938
+ } | null | undefined;
939
+ costPerUnit: {
940
+ 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";
941
+ amount: number;
942
+ precision: number;
943
+ };
944
+ };
945
+ skuId: string;
946
+ }[] | null | undefined;
947
+ _id: string;
948
+ name: string;
949
+ address: {
950
+ line2?: string | null | undefined;
951
+ line1: string;
952
+ state: string;
953
+ city: string;
954
+ postcode: string;
955
+ country: string;
956
+ };
957
+ };
1024
958
  };
1025
959
  } | undefined;
1026
960
  show?: boolean | undefined;
@@ -1028,106 +962,30 @@ export declare const useTransferTemplateActions: import("pinia").StoreDefinition
1028
962
  'onAction:use'?: ((locationId: string) => void) | undefined;
1029
963
  'onAction:edit'?: (() => void) | undefined;
1030
964
  }>;
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<{
965
+ }, "templateDialogProps" | "templateDetailsProps">>, Pick<{
1033
966
  createTemplate: () => void;
1034
967
  viewTemplate: (template: POTemplate) => void;
1035
968
  updateTemplate: (template: POTemplate) => void;
1036
969
  deleteTemplate: (template: POTemplate, loadingRef: Ref<boolean>, onDeleted: () => void) => void;
1037
- useTemplate: (template: POTemplate) => void;
970
+ getTemplateId: () => Promise<string | undefined>;
971
+ importTemplates: (templates: Array<(FdoPurchaseOrderTemplate & RevisionIdMeta) | Omit<FdoPurchaseOrderTemplate, '_id'>>) => Promise<void>;
1038
972
  templateDialogProps: Ref<{
1039
973
  mode?: FormMode | undefined;
1040
974
  modelValue?: {
1041
975
  _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";
976
+ locations?: {
977
+ type: "restaurant" | "warehouse";
1050
978
  name: string;
1051
979
  acceptRequest: boolean;
1052
980
  dbName: string;
1053
981
  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
982
  _id: string;
1125
983
  businessId: string;
1126
984
  profile: {
1127
- email?: string | null | undefined;
1128
- phoneNo?: string | null | undefined;
1129
- name: string;
1130
- address: {
985
+ code?: string | null | undefined;
986
+ _id?: string | null | undefined;
987
+ name?: string | undefined;
988
+ address?: {
1131
989
  coordinates?: number[] | null | undefined;
1132
990
  line2?: string | null | undefined;
1133
991
  state: string;
@@ -1135,56 +993,78 @@ export declare const useTransferTemplateActions: import("pinia").StoreDefinition
1135
993
  line1: string;
1136
994
  city: string;
1137
995
  postcode: string;
1138
- };
1139
- regNo: string;
996
+ } | undefined;
997
+ email?: string | undefined;
998
+ regNo?: string | undefined;
999
+ sstRegNo?: string | null | undefined;
1000
+ phoneNo?: string | undefined;
1001
+ legalName?: string | null | undefined;
1002
+ discovery?: boolean | null | undefined;
1003
+ coverPhoto?: string | null | undefined;
1004
+ thumbnailPhoto?: string | null | undefined;
1005
+ description?: string | null | undefined;
1006
+ photos?: string[] | null | undefined;
1007
+ operatingHours?: {
1008
+ 0: {
1009
+ hours: {
1010
+ end: string;
1011
+ start: string;
1012
+ }[];
1013
+ enable: boolean;
1014
+ };
1015
+ 2: {
1016
+ hours: {
1017
+ end: string;
1018
+ start: string;
1019
+ }[];
1020
+ enable: boolean;
1021
+ };
1022
+ 1: {
1023
+ hours: {
1024
+ end: string;
1025
+ start: string;
1026
+ }[];
1027
+ enable: boolean;
1028
+ };
1029
+ 3: {
1030
+ hours: {
1031
+ end: string;
1032
+ start: string;
1033
+ }[];
1034
+ enable: boolean;
1035
+ };
1036
+ 4: {
1037
+ hours: {
1038
+ end: string;
1039
+ start: string;
1040
+ }[];
1041
+ enable: boolean;
1042
+ };
1043
+ 5: {
1044
+ hours: {
1045
+ end: string;
1046
+ start: string;
1047
+ }[];
1048
+ enable: boolean;
1049
+ };
1050
+ 6: {
1051
+ hours: {
1052
+ end: string;
1053
+ start: string;
1054
+ }[];
1055
+ enable: boolean;
1056
+ };
1057
+ } | null | undefined;
1058
+ tags?: string[] | null | undefined;
1059
+ url?: string | null | undefined;
1140
1060
  };
1141
1061
  };
1142
- })[] | null | undefined;
1062
+ }[] | null | undefined;
1143
1063
  _id: string;
1144
1064
  name: string;
1145
1065
  purchaseOrder: {
1146
1066
  remark?: string | null | undefined;
1147
1067
  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
1068
  items: {
1189
1069
  measurement?: {
1190
1070
  id: string;
@@ -1282,122 +1162,7 @@ export declare const useTransferTemplateActions: import("pinia").StoreDefinition
1282
1162
  precision: number;
1283
1163
  };
1284
1164
  }[];
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?: {
1165
+ supplier: {
1401
1166
  phoneNumber?: string | null | undefined;
1402
1167
  email?: string | null | undefined;
1403
1168
  _rev?: string | null | undefined;
@@ -1433,10 +1198,108 @@ export declare const useTransferTemplateActions: import("pinia").StoreDefinition
1433
1198
  postcode: string;
1434
1199
  country: string;
1435
1200
  };
1436
- } | undefined;
1437
- template?: string | null | undefined;
1438
- stockSnapshotId?: string | null | undefined;
1439
- effectiveAt?: string | null | undefined;
1201
+ };
1202
+ };
1203
+ } | undefined;
1204
+ show?: boolean | undefined;
1205
+ 'onUpdate:show'?: ((show: boolean) => void) | undefined;
1206
+ onSubmitted?: (() => void) | undefined;
1207
+ }, TransferTemplateDialogPropsWithEventBinding | {
1208
+ mode?: FormMode | undefined;
1209
+ modelValue?: {
1210
+ _rev?: string | null | undefined;
1211
+ locations?: {
1212
+ type: "restaurant" | "warehouse";
1213
+ name: string;
1214
+ acceptRequest: boolean;
1215
+ dbName: string;
1216
+ doc: {
1217
+ _id: string;
1218
+ businessId: string;
1219
+ profile: {
1220
+ code?: string | null | undefined;
1221
+ _id?: string | null | undefined;
1222
+ name?: string | undefined;
1223
+ address?: {
1224
+ coordinates?: number[] | null | undefined;
1225
+ line2?: string | null | undefined;
1226
+ state: string;
1227
+ country: string;
1228
+ line1: string;
1229
+ city: string;
1230
+ postcode: string;
1231
+ } | undefined;
1232
+ email?: string | undefined;
1233
+ regNo?: string | undefined;
1234
+ sstRegNo?: string | null | undefined;
1235
+ phoneNo?: string | undefined;
1236
+ legalName?: string | null | undefined;
1237
+ discovery?: boolean | null | undefined;
1238
+ coverPhoto?: string | null | undefined;
1239
+ thumbnailPhoto?: string | null | undefined;
1240
+ description?: string | null | undefined;
1241
+ photos?: string[] | null | undefined;
1242
+ operatingHours?: {
1243
+ 0: {
1244
+ hours: {
1245
+ end: string;
1246
+ start: string;
1247
+ }[];
1248
+ enable: boolean;
1249
+ };
1250
+ 2: {
1251
+ hours: {
1252
+ end: string;
1253
+ start: string;
1254
+ }[];
1255
+ enable: boolean;
1256
+ };
1257
+ 1: {
1258
+ hours: {
1259
+ end: string;
1260
+ start: string;
1261
+ }[];
1262
+ enable: boolean;
1263
+ };
1264
+ 3: {
1265
+ hours: {
1266
+ end: string;
1267
+ start: string;
1268
+ }[];
1269
+ enable: boolean;
1270
+ };
1271
+ 4: {
1272
+ hours: {
1273
+ end: string;
1274
+ start: string;
1275
+ }[];
1276
+ enable: boolean;
1277
+ };
1278
+ 5: {
1279
+ hours: {
1280
+ end: string;
1281
+ start: string;
1282
+ }[];
1283
+ enable: boolean;
1284
+ };
1285
+ 6: {
1286
+ hours: {
1287
+ end: string;
1288
+ start: string;
1289
+ }[];
1290
+ enable: boolean;
1291
+ };
1292
+ } | null | undefined;
1293
+ tags?: string[] | null | undefined;
1294
+ url?: string | null | undefined;
1295
+ };
1296
+ };
1297
+ }[] | null | undefined;
1298
+ _id: string;
1299
+ name: string;
1300
+ purchaseOrder: {
1301
+ remark?: string | null | undefined;
1302
+ ref?: string | null | undefined;
1440
1303
  items: {
1441
1304
  measurement?: {
1442
1305
  id: string;
@@ -1534,122 +1397,7 @@ export declare const useTransferTemplateActions: import("pinia").StoreDefinition
1534
1397
  precision: number;
1535
1398
  };
1536
1399
  }[];
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?: {
1400
+ supplier: {
1653
1401
  phoneNumber?: string | null | undefined;
1654
1402
  email?: string | null | undefined;
1655
1403
  _rev?: string | null | undefined;
@@ -1685,10 +1433,108 @@ export declare const useTransferTemplateActions: import("pinia").StoreDefinition
1685
1433
  postcode: string;
1686
1434
  country: string;
1687
1435
  };
1688
- } | undefined;
1689
- template?: string | null | undefined;
1690
- stockSnapshotId?: string | null | undefined;
1691
- effectiveAt?: string | null | undefined;
1436
+ };
1437
+ };
1438
+ } | undefined;
1439
+ show?: boolean | undefined;
1440
+ 'onUpdate:show'?: ((show: boolean) => void) | undefined;
1441
+ onSubmitted?: (() => void) | undefined;
1442
+ }>;
1443
+ templateDetailsProps: Ref<{
1444
+ template?: {
1445
+ _rev?: string | null | undefined;
1446
+ locations?: {
1447
+ type: "restaurant" | "warehouse";
1448
+ name: string;
1449
+ acceptRequest: boolean;
1450
+ dbName: string;
1451
+ doc: {
1452
+ _id: string;
1453
+ businessId: string;
1454
+ profile: {
1455
+ code?: string | null | undefined;
1456
+ _id?: string | null | undefined;
1457
+ name?: string | undefined;
1458
+ address?: {
1459
+ coordinates?: number[] | null | undefined;
1460
+ line2?: string | null | undefined;
1461
+ state: string;
1462
+ country: string;
1463
+ line1: string;
1464
+ city: string;
1465
+ postcode: string;
1466
+ } | undefined;
1467
+ email?: string | undefined;
1468
+ regNo?: string | undefined;
1469
+ sstRegNo?: string | null | undefined;
1470
+ phoneNo?: string | undefined;
1471
+ legalName?: string | null | undefined;
1472
+ discovery?: boolean | null | undefined;
1473
+ coverPhoto?: string | null | undefined;
1474
+ thumbnailPhoto?: string | null | undefined;
1475
+ description?: string | null | undefined;
1476
+ photos?: string[] | null | undefined;
1477
+ operatingHours?: {
1478
+ 0: {
1479
+ hours: {
1480
+ end: string;
1481
+ start: string;
1482
+ }[];
1483
+ enable: boolean;
1484
+ };
1485
+ 2: {
1486
+ hours: {
1487
+ end: string;
1488
+ start: string;
1489
+ }[];
1490
+ enable: boolean;
1491
+ };
1492
+ 1: {
1493
+ hours: {
1494
+ end: string;
1495
+ start: string;
1496
+ }[];
1497
+ enable: boolean;
1498
+ };
1499
+ 3: {
1500
+ hours: {
1501
+ end: string;
1502
+ start: string;
1503
+ }[];
1504
+ enable: boolean;
1505
+ };
1506
+ 4: {
1507
+ hours: {
1508
+ end: string;
1509
+ start: string;
1510
+ }[];
1511
+ enable: boolean;
1512
+ };
1513
+ 5: {
1514
+ hours: {
1515
+ end: string;
1516
+ start: string;
1517
+ }[];
1518
+ enable: boolean;
1519
+ };
1520
+ 6: {
1521
+ hours: {
1522
+ end: string;
1523
+ start: string;
1524
+ }[];
1525
+ enable: boolean;
1526
+ };
1527
+ } | null | undefined;
1528
+ tags?: string[] | null | undefined;
1529
+ url?: string | null | undefined;
1530
+ };
1531
+ };
1532
+ }[] | null | undefined;
1533
+ _id: string;
1534
+ name: string;
1535
+ purchaseOrder: {
1536
+ remark?: string | null | undefined;
1537
+ ref?: string | null | undefined;
1692
1538
  items: {
1693
1539
  measurement?: {
1694
1540
  id: string;
@@ -1786,122 +1632,7 @@ export declare const useTransferTemplateActions: import("pinia").StoreDefinition
1786
1632
  precision: number;
1787
1633
  };
1788
1634
  }[];
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?: {
1635
+ supplier: {
1905
1636
  phoneNumber?: string | null | undefined;
1906
1637
  email?: string | null | undefined;
1907
1638
  _rev?: string | null | undefined;
@@ -1937,10 +1668,108 @@ export declare const useTransferTemplateActions: import("pinia").StoreDefinition
1937
1668
  postcode: string;
1938
1669
  country: string;
1939
1670
  };
1940
- } | undefined;
1941
- template?: string | null | undefined;
1942
- stockSnapshotId?: string | null | undefined;
1943
- effectiveAt?: string | null | undefined;
1671
+ };
1672
+ };
1673
+ } | undefined;
1674
+ show?: boolean | undefined;
1675
+ 'onUpdate:show'?: ((show: boolean) => void) | undefined;
1676
+ 'onAction:use'?: ((locationId: string) => void) | undefined;
1677
+ 'onAction:edit'?: (() => void) | undefined;
1678
+ }, TransferTemplateDetailsPropsWithEventBinding | {
1679
+ template?: {
1680
+ _rev?: string | null | undefined;
1681
+ locations?: {
1682
+ type: "restaurant" | "warehouse";
1683
+ name: string;
1684
+ acceptRequest: boolean;
1685
+ dbName: string;
1686
+ doc: {
1687
+ _id: string;
1688
+ businessId: string;
1689
+ profile: {
1690
+ code?: string | null | undefined;
1691
+ _id?: string | null | undefined;
1692
+ name?: string | undefined;
1693
+ address?: {
1694
+ coordinates?: number[] | null | undefined;
1695
+ line2?: string | null | undefined;
1696
+ state: string;
1697
+ country: string;
1698
+ line1: string;
1699
+ city: string;
1700
+ postcode: string;
1701
+ } | undefined;
1702
+ email?: string | undefined;
1703
+ regNo?: string | undefined;
1704
+ sstRegNo?: string | null | undefined;
1705
+ phoneNo?: string | undefined;
1706
+ legalName?: string | null | undefined;
1707
+ discovery?: boolean | null | undefined;
1708
+ coverPhoto?: string | null | undefined;
1709
+ thumbnailPhoto?: string | null | undefined;
1710
+ description?: string | null | undefined;
1711
+ photos?: string[] | null | undefined;
1712
+ operatingHours?: {
1713
+ 0: {
1714
+ hours: {
1715
+ end: string;
1716
+ start: string;
1717
+ }[];
1718
+ enable: boolean;
1719
+ };
1720
+ 2: {
1721
+ hours: {
1722
+ end: string;
1723
+ start: string;
1724
+ }[];
1725
+ enable: boolean;
1726
+ };
1727
+ 1: {
1728
+ hours: {
1729
+ end: string;
1730
+ start: string;
1731
+ }[];
1732
+ enable: boolean;
1733
+ };
1734
+ 3: {
1735
+ hours: {
1736
+ end: string;
1737
+ start: string;
1738
+ }[];
1739
+ enable: boolean;
1740
+ };
1741
+ 4: {
1742
+ hours: {
1743
+ end: string;
1744
+ start: string;
1745
+ }[];
1746
+ enable: boolean;
1747
+ };
1748
+ 5: {
1749
+ hours: {
1750
+ end: string;
1751
+ start: string;
1752
+ }[];
1753
+ enable: boolean;
1754
+ };
1755
+ 6: {
1756
+ hours: {
1757
+ end: string;
1758
+ start: string;
1759
+ }[];
1760
+ enable: boolean;
1761
+ };
1762
+ } | null | undefined;
1763
+ tags?: string[] | null | undefined;
1764
+ url?: string | null | undefined;
1765
+ };
1766
+ };
1767
+ }[] | null | undefined;
1768
+ _id: string;
1769
+ name: string;
1770
+ purchaseOrder: {
1771
+ remark?: string | null | undefined;
1772
+ ref?: string | null | undefined;
1944
1773
  items: {
1945
1774
  measurement?: {
1946
1775
  id: string;
@@ -2038,6 +1867,43 @@ export declare const useTransferTemplateActions: import("pinia").StoreDefinition
2038
1867
  precision: number;
2039
1868
  };
2040
1869
  }[];
1870
+ supplier: {
1871
+ phoneNumber?: string | null | undefined;
1872
+ email?: string | null | undefined;
1873
+ _rev?: string | null | undefined;
1874
+ internal?: "restaurant" | "warehouse" | null | undefined;
1875
+ contactName?: string | null | undefined;
1876
+ registrationNumber?: string | undefined;
1877
+ supplyItems?: {
1878
+ defaultCost: {
1879
+ measurement?: {
1880
+ id: string;
1881
+ name: string;
1882
+ abbrev: string;
1883
+ conversion: {
1884
+ amount: number;
1885
+ precision: number;
1886
+ };
1887
+ } | null | undefined;
1888
+ costPerUnit: {
1889
+ 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";
1890
+ amount: number;
1891
+ precision: number;
1892
+ };
1893
+ };
1894
+ skuId: string;
1895
+ }[] | null | undefined;
1896
+ _id: string;
1897
+ name: string;
1898
+ address: {
1899
+ line2?: string | null | undefined;
1900
+ line1: string;
1901
+ state: string;
1902
+ city: string;
1903
+ postcode: string;
1904
+ country: string;
1905
+ };
1906
+ };
2041
1907
  };
2042
1908
  } | undefined;
2043
1909
  show?: boolean | undefined;
@@ -2045,106 +1911,30 @@ export declare const useTransferTemplateActions: import("pinia").StoreDefinition
2045
1911
  'onAction:use'?: ((locationId: string) => void) | undefined;
2046
1912
  'onAction:edit'?: (() => void) | undefined;
2047
1913
  }>;
2048
- transferFormDialogProps: Ref<import("../../receive-request/components/transfer-dialog/TransferDialogProps").TransferDialogProps | undefined, import("../../receive-request/components/transfer-dialog/TransferDialogProps").TransferDialogProps | undefined>;
2049
1914
  }, never>, Pick<{
2050
1915
  createTemplate: () => void;
2051
1916
  viewTemplate: (template: POTemplate) => void;
2052
1917
  updateTemplate: (template: POTemplate) => void;
2053
1918
  deleteTemplate: (template: POTemplate, loadingRef: Ref<boolean>, onDeleted: () => void) => void;
2054
- useTemplate: (template: POTemplate) => void;
1919
+ getTemplateId: () => Promise<string | undefined>;
1920
+ importTemplates: (templates: Array<(FdoPurchaseOrderTemplate & RevisionIdMeta) | Omit<FdoPurchaseOrderTemplate, '_id'>>) => Promise<void>;
2055
1921
  templateDialogProps: Ref<{
2056
1922
  mode?: FormMode | undefined;
2057
1923
  modelValue?: {
2058
1924
  _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";
1925
+ locations?: {
1926
+ type: "restaurant" | "warehouse";
2067
1927
  name: string;
2068
1928
  acceptRequest: boolean;
2069
1929
  dbName: string;
2070
1930
  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
1931
  _id: string;
2142
1932
  businessId: string;
2143
1933
  profile: {
2144
- email?: string | null | undefined;
2145
- phoneNo?: string | null | undefined;
2146
- name: string;
2147
- address: {
1934
+ code?: string | null | undefined;
1935
+ _id?: string | null | undefined;
1936
+ name?: string | undefined;
1937
+ address?: {
2148
1938
  coordinates?: number[] | null | undefined;
2149
1939
  line2?: string | null | undefined;
2150
1940
  state: string;
@@ -2152,56 +1942,78 @@ export declare const useTransferTemplateActions: import("pinia").StoreDefinition
2152
1942
  line1: string;
2153
1943
  city: string;
2154
1944
  postcode: string;
2155
- };
2156
- regNo: string;
1945
+ } | undefined;
1946
+ email?: string | undefined;
1947
+ regNo?: string | undefined;
1948
+ sstRegNo?: string | null | undefined;
1949
+ phoneNo?: string | undefined;
1950
+ legalName?: string | null | undefined;
1951
+ discovery?: boolean | null | undefined;
1952
+ coverPhoto?: string | null | undefined;
1953
+ thumbnailPhoto?: string | null | undefined;
1954
+ description?: string | null | undefined;
1955
+ photos?: string[] | null | undefined;
1956
+ operatingHours?: {
1957
+ 0: {
1958
+ hours: {
1959
+ end: string;
1960
+ start: string;
1961
+ }[];
1962
+ enable: boolean;
1963
+ };
1964
+ 2: {
1965
+ hours: {
1966
+ end: string;
1967
+ start: string;
1968
+ }[];
1969
+ enable: boolean;
1970
+ };
1971
+ 1: {
1972
+ hours: {
1973
+ end: string;
1974
+ start: string;
1975
+ }[];
1976
+ enable: boolean;
1977
+ };
1978
+ 3: {
1979
+ hours: {
1980
+ end: string;
1981
+ start: string;
1982
+ }[];
1983
+ enable: boolean;
1984
+ };
1985
+ 4: {
1986
+ hours: {
1987
+ end: string;
1988
+ start: string;
1989
+ }[];
1990
+ enable: boolean;
1991
+ };
1992
+ 5: {
1993
+ hours: {
1994
+ end: string;
1995
+ start: string;
1996
+ }[];
1997
+ enable: boolean;
1998
+ };
1999
+ 6: {
2000
+ hours: {
2001
+ end: string;
2002
+ start: string;
2003
+ }[];
2004
+ enable: boolean;
2005
+ };
2006
+ } | null | undefined;
2007
+ tags?: string[] | null | undefined;
2008
+ url?: string | null | undefined;
2157
2009
  };
2158
2010
  };
2159
- })[] | null | undefined;
2011
+ }[] | null | undefined;
2160
2012
  _id: string;
2161
2013
  name: string;
2162
2014
  purchaseOrder: {
2163
2015
  remark?: string | null | undefined;
2164
2016
  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
2017
  items: {
2206
2018
  measurement?: {
2207
2019
  id: string;
@@ -2297,124 +2109,9 @@ export declare const useTransferTemplateActions: import("pinia").StoreDefinition
2297
2109
  maximumQuantity: {
2298
2110
  amount: number;
2299
2111
  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?: {
2112
+ };
2113
+ }[];
2114
+ supplier: {
2418
2115
  phoneNumber?: string | null | undefined;
2419
2116
  email?: string | null | undefined;
2420
2117
  _rev?: string | null | undefined;
@@ -2450,10 +2147,108 @@ export declare const useTransferTemplateActions: import("pinia").StoreDefinition
2450
2147
  postcode: string;
2451
2148
  country: string;
2452
2149
  };
2453
- } | undefined;
2454
- template?: string | null | undefined;
2455
- stockSnapshotId?: string | null | undefined;
2456
- effectiveAt?: string | null | undefined;
2150
+ };
2151
+ };
2152
+ } | undefined;
2153
+ show?: boolean | undefined;
2154
+ 'onUpdate:show'?: ((show: boolean) => void) | undefined;
2155
+ onSubmitted?: (() => void) | undefined;
2156
+ }, TransferTemplateDialogPropsWithEventBinding | {
2157
+ mode?: FormMode | undefined;
2158
+ modelValue?: {
2159
+ _rev?: string | null | undefined;
2160
+ locations?: {
2161
+ type: "restaurant" | "warehouse";
2162
+ name: string;
2163
+ acceptRequest: boolean;
2164
+ dbName: string;
2165
+ doc: {
2166
+ _id: string;
2167
+ businessId: string;
2168
+ profile: {
2169
+ code?: string | null | undefined;
2170
+ _id?: string | null | undefined;
2171
+ name?: string | undefined;
2172
+ address?: {
2173
+ coordinates?: number[] | null | undefined;
2174
+ line2?: string | null | undefined;
2175
+ state: string;
2176
+ country: string;
2177
+ line1: string;
2178
+ city: string;
2179
+ postcode: string;
2180
+ } | undefined;
2181
+ email?: string | undefined;
2182
+ regNo?: string | undefined;
2183
+ sstRegNo?: string | null | undefined;
2184
+ phoneNo?: string | undefined;
2185
+ legalName?: string | null | undefined;
2186
+ discovery?: boolean | null | undefined;
2187
+ coverPhoto?: string | null | undefined;
2188
+ thumbnailPhoto?: string | null | undefined;
2189
+ description?: string | null | undefined;
2190
+ photos?: string[] | null | undefined;
2191
+ operatingHours?: {
2192
+ 0: {
2193
+ hours: {
2194
+ end: string;
2195
+ start: string;
2196
+ }[];
2197
+ enable: boolean;
2198
+ };
2199
+ 2: {
2200
+ hours: {
2201
+ end: string;
2202
+ start: string;
2203
+ }[];
2204
+ enable: boolean;
2205
+ };
2206
+ 1: {
2207
+ hours: {
2208
+ end: string;
2209
+ start: string;
2210
+ }[];
2211
+ enable: boolean;
2212
+ };
2213
+ 3: {
2214
+ hours: {
2215
+ end: string;
2216
+ start: string;
2217
+ }[];
2218
+ enable: boolean;
2219
+ };
2220
+ 4: {
2221
+ hours: {
2222
+ end: string;
2223
+ start: string;
2224
+ }[];
2225
+ enable: boolean;
2226
+ };
2227
+ 5: {
2228
+ hours: {
2229
+ end: string;
2230
+ start: string;
2231
+ }[];
2232
+ enable: boolean;
2233
+ };
2234
+ 6: {
2235
+ hours: {
2236
+ end: string;
2237
+ start: string;
2238
+ }[];
2239
+ enable: boolean;
2240
+ };
2241
+ } | null | undefined;
2242
+ tags?: string[] | null | undefined;
2243
+ url?: string | null | undefined;
2244
+ };
2245
+ };
2246
+ }[] | null | undefined;
2247
+ _id: string;
2248
+ name: string;
2249
+ purchaseOrder: {
2250
+ remark?: string | null | undefined;
2251
+ ref?: string | null | undefined;
2457
2252
  items: {
2458
2253
  measurement?: {
2459
2254
  id: string;
@@ -2551,122 +2346,7 @@ export declare const useTransferTemplateActions: import("pinia").StoreDefinition
2551
2346
  precision: number;
2552
2347
  };
2553
2348
  }[];
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?: {
2349
+ supplier: {
2670
2350
  phoneNumber?: string | null | undefined;
2671
2351
  email?: string | null | undefined;
2672
2352
  _rev?: string | null | undefined;
@@ -2702,10 +2382,108 @@ export declare const useTransferTemplateActions: import("pinia").StoreDefinition
2702
2382
  postcode: string;
2703
2383
  country: string;
2704
2384
  };
2705
- } | undefined;
2706
- template?: string | null | undefined;
2707
- stockSnapshotId?: string | null | undefined;
2708
- effectiveAt?: string | null | undefined;
2385
+ };
2386
+ };
2387
+ } | undefined;
2388
+ show?: boolean | undefined;
2389
+ 'onUpdate:show'?: ((show: boolean) => void) | undefined;
2390
+ onSubmitted?: (() => void) | undefined;
2391
+ }>;
2392
+ templateDetailsProps: Ref<{
2393
+ template?: {
2394
+ _rev?: string | null | undefined;
2395
+ locations?: {
2396
+ type: "restaurant" | "warehouse";
2397
+ name: string;
2398
+ acceptRequest: boolean;
2399
+ dbName: string;
2400
+ doc: {
2401
+ _id: string;
2402
+ businessId: string;
2403
+ profile: {
2404
+ code?: string | null | undefined;
2405
+ _id?: string | null | undefined;
2406
+ name?: string | undefined;
2407
+ address?: {
2408
+ coordinates?: number[] | null | undefined;
2409
+ line2?: string | null | undefined;
2410
+ state: string;
2411
+ country: string;
2412
+ line1: string;
2413
+ city: string;
2414
+ postcode: string;
2415
+ } | undefined;
2416
+ email?: string | undefined;
2417
+ regNo?: string | undefined;
2418
+ sstRegNo?: string | null | undefined;
2419
+ phoneNo?: string | undefined;
2420
+ legalName?: string | null | undefined;
2421
+ discovery?: boolean | null | undefined;
2422
+ coverPhoto?: string | null | undefined;
2423
+ thumbnailPhoto?: string | null | undefined;
2424
+ description?: string | null | undefined;
2425
+ photos?: string[] | null | undefined;
2426
+ operatingHours?: {
2427
+ 0: {
2428
+ hours: {
2429
+ end: string;
2430
+ start: string;
2431
+ }[];
2432
+ enable: boolean;
2433
+ };
2434
+ 2: {
2435
+ hours: {
2436
+ end: string;
2437
+ start: string;
2438
+ }[];
2439
+ enable: boolean;
2440
+ };
2441
+ 1: {
2442
+ hours: {
2443
+ end: string;
2444
+ start: string;
2445
+ }[];
2446
+ enable: boolean;
2447
+ };
2448
+ 3: {
2449
+ hours: {
2450
+ end: string;
2451
+ start: string;
2452
+ }[];
2453
+ enable: boolean;
2454
+ };
2455
+ 4: {
2456
+ hours: {
2457
+ end: string;
2458
+ start: string;
2459
+ }[];
2460
+ enable: boolean;
2461
+ };
2462
+ 5: {
2463
+ hours: {
2464
+ end: string;
2465
+ start: string;
2466
+ }[];
2467
+ enable: boolean;
2468
+ };
2469
+ 6: {
2470
+ hours: {
2471
+ end: string;
2472
+ start: string;
2473
+ }[];
2474
+ enable: boolean;
2475
+ };
2476
+ } | null | undefined;
2477
+ tags?: string[] | null | undefined;
2478
+ url?: string | null | undefined;
2479
+ };
2480
+ };
2481
+ }[] | null | undefined;
2482
+ _id: string;
2483
+ name: string;
2484
+ purchaseOrder: {
2485
+ remark?: string | null | undefined;
2486
+ ref?: string | null | undefined;
2709
2487
  items: {
2710
2488
  measurement?: {
2711
2489
  id: string;
@@ -2803,122 +2581,7 @@ export declare const useTransferTemplateActions: import("pinia").StoreDefinition
2803
2581
  precision: number;
2804
2582
  };
2805
2583
  }[];
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?: {
2584
+ supplier: {
2922
2585
  phoneNumber?: string | null | undefined;
2923
2586
  email?: string | null | undefined;
2924
2587
  _rev?: string | null | undefined;
@@ -2954,10 +2617,108 @@ export declare const useTransferTemplateActions: import("pinia").StoreDefinition
2954
2617
  postcode: string;
2955
2618
  country: string;
2956
2619
  };
2957
- } | undefined;
2958
- template?: string | null | undefined;
2959
- stockSnapshotId?: string | null | undefined;
2960
- effectiveAt?: string | null | undefined;
2620
+ };
2621
+ };
2622
+ } | undefined;
2623
+ show?: boolean | undefined;
2624
+ 'onUpdate:show'?: ((show: boolean) => void) | undefined;
2625
+ 'onAction:use'?: ((locationId: string) => void) | undefined;
2626
+ 'onAction:edit'?: (() => void) | undefined;
2627
+ }, TransferTemplateDetailsPropsWithEventBinding | {
2628
+ template?: {
2629
+ _rev?: string | null | undefined;
2630
+ locations?: {
2631
+ type: "restaurant" | "warehouse";
2632
+ name: string;
2633
+ acceptRequest: boolean;
2634
+ dbName: string;
2635
+ doc: {
2636
+ _id: string;
2637
+ businessId: string;
2638
+ profile: {
2639
+ code?: string | null | undefined;
2640
+ _id?: string | null | undefined;
2641
+ name?: string | undefined;
2642
+ address?: {
2643
+ coordinates?: number[] | null | undefined;
2644
+ line2?: string | null | undefined;
2645
+ state: string;
2646
+ country: string;
2647
+ line1: string;
2648
+ city: string;
2649
+ postcode: string;
2650
+ } | undefined;
2651
+ email?: string | undefined;
2652
+ regNo?: string | undefined;
2653
+ sstRegNo?: string | null | undefined;
2654
+ phoneNo?: string | undefined;
2655
+ legalName?: string | null | undefined;
2656
+ discovery?: boolean | null | undefined;
2657
+ coverPhoto?: string | null | undefined;
2658
+ thumbnailPhoto?: string | null | undefined;
2659
+ description?: string | null | undefined;
2660
+ photos?: string[] | null | undefined;
2661
+ operatingHours?: {
2662
+ 0: {
2663
+ hours: {
2664
+ end: string;
2665
+ start: string;
2666
+ }[];
2667
+ enable: boolean;
2668
+ };
2669
+ 2: {
2670
+ hours: {
2671
+ end: string;
2672
+ start: string;
2673
+ }[];
2674
+ enable: boolean;
2675
+ };
2676
+ 1: {
2677
+ hours: {
2678
+ end: string;
2679
+ start: string;
2680
+ }[];
2681
+ enable: boolean;
2682
+ };
2683
+ 3: {
2684
+ hours: {
2685
+ end: string;
2686
+ start: string;
2687
+ }[];
2688
+ enable: boolean;
2689
+ };
2690
+ 4: {
2691
+ hours: {
2692
+ end: string;
2693
+ start: string;
2694
+ }[];
2695
+ enable: boolean;
2696
+ };
2697
+ 5: {
2698
+ hours: {
2699
+ end: string;
2700
+ start: string;
2701
+ }[];
2702
+ enable: boolean;
2703
+ };
2704
+ 6: {
2705
+ hours: {
2706
+ end: string;
2707
+ start: string;
2708
+ }[];
2709
+ enable: boolean;
2710
+ };
2711
+ } | null | undefined;
2712
+ tags?: string[] | null | undefined;
2713
+ url?: string | null | undefined;
2714
+ };
2715
+ };
2716
+ }[] | null | undefined;
2717
+ _id: string;
2718
+ name: string;
2719
+ purchaseOrder: {
2720
+ remark?: string | null | undefined;
2721
+ ref?: string | null | undefined;
2961
2722
  items: {
2962
2723
  measurement?: {
2963
2724
  id: string;
@@ -3055,6 +2816,43 @@ export declare const useTransferTemplateActions: import("pinia").StoreDefinition
3055
2816
  precision: number;
3056
2817
  };
3057
2818
  }[];
2819
+ supplier: {
2820
+ phoneNumber?: string | null | undefined;
2821
+ email?: string | null | undefined;
2822
+ _rev?: string | null | undefined;
2823
+ internal?: "restaurant" | "warehouse" | null | undefined;
2824
+ contactName?: string | null | undefined;
2825
+ registrationNumber?: string | undefined;
2826
+ supplyItems?: {
2827
+ defaultCost: {
2828
+ measurement?: {
2829
+ id: string;
2830
+ name: string;
2831
+ abbrev: string;
2832
+ conversion: {
2833
+ amount: number;
2834
+ precision: number;
2835
+ };
2836
+ } | null | undefined;
2837
+ costPerUnit: {
2838
+ 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";
2839
+ amount: number;
2840
+ precision: number;
2841
+ };
2842
+ };
2843
+ skuId: string;
2844
+ }[] | null | undefined;
2845
+ _id: string;
2846
+ name: string;
2847
+ address: {
2848
+ line2?: string | null | undefined;
2849
+ line1: string;
2850
+ state: string;
2851
+ city: string;
2852
+ postcode: string;
2853
+ country: string;
2854
+ };
2855
+ };
3058
2856
  };
3059
2857
  } | undefined;
3060
2858
  show?: boolean | undefined;
@@ -3062,6 +2860,5 @@ export declare const useTransferTemplateActions: import("pinia").StoreDefinition
3062
2860
  'onAction:use'?: ((locationId: string) => void) | undefined;
3063
2861
  'onAction:edit'?: (() => void) | undefined;
3064
2862
  }>;
3065
- transferFormDialogProps: Ref<import("../../receive-request/components/transfer-dialog/TransferDialogProps").TransferDialogProps | undefined, import("../../receive-request/components/transfer-dialog/TransferDialogProps").TransferDialogProps | undefined>;
3066
- }, "createTemplate" | "viewTemplate" | "updateTemplate" | "deleteTemplate" | "useTemplate">>;
2863
+ }, "createTemplate" | "viewTemplate" | "updateTemplate" | "deleteTemplate" | "importTemplates" | "getTemplateId">>;
3067
2864
  export {};