@feedmepos/mf-order-setting 0.0.53 → 0.0.56

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.
@@ -223,22 +223,22 @@ export declare const FdoExternalOrderPickup: z.ZodObject<{
223
223
  contactNumber: z.ZodString;
224
224
  customerName: z.ZodString;
225
225
  }, "strip", z.ZodTypeAny, {
226
+ contactNumber: string;
227
+ pickupAt: string;
226
228
  pickupPoint: {
227
229
  name: string;
228
230
  address: string;
229
231
  coordinates: number[];
230
232
  };
231
- contactNumber: string;
232
- pickupAt: string;
233
233
  customerName: string;
234
234
  }, {
235
+ contactNumber: string;
236
+ pickupAt: string;
235
237
  pickupPoint: {
236
238
  name: string;
237
239
  address: string;
238
240
  coordinates: number[];
239
241
  };
240
- contactNumber: string;
241
- pickupAt: string;
242
242
  customerName: string;
243
243
  }>;
244
244
  export declare const FdoExternalOrderPrice: z.ZodObject<{
@@ -744,22 +744,22 @@ export declare const FdoExternalOrder: z.ZodObject<{
744
744
  contactNumber: z.ZodString;
745
745
  customerName: z.ZodString;
746
746
  }, "strip", z.ZodTypeAny, {
747
+ contactNumber: string;
748
+ pickupAt: string;
747
749
  pickupPoint: {
748
750
  name: string;
749
751
  address: string;
750
752
  coordinates: number[];
751
753
  };
752
- contactNumber: string;
753
- pickupAt: string;
754
754
  customerName: string;
755
755
  }, {
756
+ contactNumber: string;
757
+ pickupAt: string;
756
758
  pickupPoint: {
757
759
  name: string;
758
760
  address: string;
759
761
  coordinates: number[];
760
762
  };
761
- contactNumber: string;
762
- pickupAt: string;
763
763
  customerName: string;
764
764
  }>>>;
765
765
  dineIn: z.ZodNullable<z.ZodOptional<z.ZodObject<{
@@ -1150,13 +1150,13 @@ export declare const FdoExternalOrder: z.ZodObject<{
1150
1150
  billId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1151
1151
  }, "strip", z.ZodTypeAny, {
1152
1152
  pickup?: {
1153
+ contactNumber: string;
1154
+ pickupAt: string;
1153
1155
  pickupPoint: {
1154
1156
  name: string;
1155
1157
  address: string;
1156
1158
  coordinates: number[];
1157
1159
  };
1158
- contactNumber: string;
1159
- pickupAt: string;
1160
1160
  customerName: string;
1161
1161
  } | null | undefined;
1162
1162
  remark?: string | null | undefined;
@@ -1287,13 +1287,13 @@ export declare const FdoExternalOrder: z.ZodObject<{
1287
1287
  };
1288
1288
  }, {
1289
1289
  pickup?: {
1290
+ contactNumber: string;
1291
+ pickupAt: string;
1290
1292
  pickupPoint: {
1291
1293
  name: string;
1292
1294
  address: string;
1293
1295
  coordinates: number[];
1294
1296
  };
1295
- contactNumber: string;
1296
- pickupAt: string;
1297
1297
  customerName: string;
1298
1298
  } | null | undefined;
1299
1299
  remark?: string | null | undefined;
@@ -124,22 +124,22 @@ export declare const FdtoExternalOrderCreate: z.ZodObject<Omit<{
124
124
  contactNumber: z.ZodString;
125
125
  customerName: z.ZodString;
126
126
  }, "strip", z.ZodTypeAny, {
127
+ contactNumber: string;
128
+ pickupAt: string;
127
129
  pickupPoint: {
128
130
  name: string;
129
131
  address: string;
130
132
  coordinates: number[];
131
133
  };
132
- contactNumber: string;
133
- pickupAt: string;
134
134
  customerName: string;
135
135
  }, {
136
+ contactNumber: string;
137
+ pickupAt: string;
136
138
  pickupPoint: {
137
139
  name: string;
138
140
  address: string;
139
141
  coordinates: number[];
140
142
  };
141
- contactNumber: string;
142
- pickupAt: string;
143
143
  customerName: string;
144
144
  }>>>;
145
145
  dineIn: z.ZodNullable<z.ZodOptional<z.ZodObject<{
@@ -530,13 +530,13 @@ export declare const FdtoExternalOrderCreate: z.ZodObject<Omit<{
530
530
  billId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
531
531
  }, "_id" | "orderStatus" | "billId" | "eInvoiceUrl">, "strip", z.ZodTypeAny, {
532
532
  pickup?: {
533
+ contactNumber: string;
534
+ pickupAt: string;
533
535
  pickupPoint: {
534
536
  name: string;
535
537
  address: string;
536
538
  coordinates: number[];
537
539
  };
538
- contactNumber: string;
539
- pickupAt: string;
540
540
  customerName: string;
541
541
  } | null | undefined;
542
542
  remark?: string | null | undefined;
@@ -660,13 +660,13 @@ export declare const FdtoExternalOrderCreate: z.ZodObject<Omit<{
660
660
  };
661
661
  }, {
662
662
  pickup?: {
663
+ contactNumber: string;
664
+ pickupAt: string;
663
665
  pickupPoint: {
664
666
  name: string;
665
667
  address: string;
666
668
  coordinates: number[];
667
669
  };
668
- contactNumber: string;
669
- pickupAt: string;
670
670
  customerName: string;
671
671
  } | null | undefined;
672
672
  remark?: string | null | undefined;
@@ -915,22 +915,22 @@ export declare const FdtoExternalOrderUpdate: z.ZodObject<{
915
915
  contactNumber: z.ZodString;
916
916
  customerName: z.ZodString;
917
917
  }, "strip", z.ZodTypeAny, {
918
+ contactNumber: string;
919
+ pickupAt: string;
918
920
  pickupPoint: {
919
921
  name: string;
920
922
  address: string;
921
923
  coordinates: number[];
922
924
  };
923
- contactNumber: string;
924
- pickupAt: string;
925
925
  customerName: string;
926
926
  }, {
927
+ contactNumber: string;
928
+ pickupAt: string;
927
929
  pickupPoint: {
928
930
  name: string;
929
931
  address: string;
930
932
  coordinates: number[];
931
933
  };
932
- contactNumber: string;
933
- pickupAt: string;
934
934
  customerName: string;
935
935
  }>>>>;
936
936
  orderId: z.ZodOptional<z.ZodString>;
@@ -1340,13 +1340,13 @@ export declare const FdtoExternalOrderUpdate: z.ZodObject<{
1340
1340
  };
1341
1341
  } | undefined;
1342
1342
  pickup?: {
1343
+ contactNumber: string;
1344
+ pickupAt: string;
1343
1345
  pickupPoint: {
1344
1346
  name: string;
1345
1347
  address: string;
1346
1348
  coordinates: number[];
1347
1349
  };
1348
- contactNumber: string;
1349
- pickupAt: string;
1350
1350
  customerName: string;
1351
1351
  } | null | undefined;
1352
1352
  orderId?: string | undefined;
@@ -1470,13 +1470,13 @@ export declare const FdtoExternalOrderUpdate: z.ZodObject<{
1470
1470
  };
1471
1471
  } | undefined;
1472
1472
  pickup?: {
1473
+ contactNumber: string;
1474
+ pickupAt: string;
1473
1475
  pickupPoint: {
1474
1476
  name: string;
1475
1477
  address: string;
1476
1478
  coordinates: number[];
1477
1479
  };
1478
- contactNumber: string;
1479
- pickupAt: string;
1480
1480
  customerName: string;
1481
1481
  } | null | undefined;
1482
1482
  orderId?: string | undefined;
@@ -1603,13 +1603,13 @@ export declare const FdtoExternalOrderUpdate: z.ZodObject<{
1603
1603
  };
1604
1604
  } | undefined;
1605
1605
  pickup?: {
1606
+ contactNumber: string;
1607
+ pickupAt: string;
1606
1608
  pickupPoint: {
1607
1609
  name: string;
1608
1610
  address: string;
1609
1611
  coordinates: number[];
1610
1612
  };
1611
- contactNumber: string;
1612
- pickupAt: string;
1613
1613
  customerName: string;
1614
1614
  } | null | undefined;
1615
1615
  orderId?: string | undefined;
@@ -1736,13 +1736,13 @@ export declare const FdtoExternalOrderUpdate: z.ZodObject<{
1736
1736
  };
1737
1737
  } | undefined;
1738
1738
  pickup?: {
1739
+ contactNumber: string;
1740
+ pickupAt: string;
1739
1741
  pickupPoint: {
1740
1742
  name: string;
1741
1743
  address: string;
1742
1744
  coordinates: number[];
1743
1745
  };
1744
- contactNumber: string;
1745
- pickupAt: string;
1746
1746
  customerName: string;
1747
1747
  } | null | undefined;
1748
1748
  orderId?: string | undefined;
@@ -2029,22 +2029,22 @@ export declare const FdtoExternalOrderGetRes: z.ZodObject<{
2029
2029
  contactNumber: z.ZodString;
2030
2030
  customerName: z.ZodString;
2031
2031
  }, "strip", z.ZodTypeAny, {
2032
+ contactNumber: string;
2033
+ pickupAt: string;
2032
2034
  pickupPoint: {
2033
2035
  name: string;
2034
2036
  address: string;
2035
2037
  coordinates: number[];
2036
2038
  };
2037
- contactNumber: string;
2038
- pickupAt: string;
2039
2039
  customerName: string;
2040
2040
  }, {
2041
+ contactNumber: string;
2042
+ pickupAt: string;
2041
2043
  pickupPoint: {
2042
2044
  name: string;
2043
2045
  address: string;
2044
2046
  coordinates: number[];
2045
2047
  };
2046
- contactNumber: string;
2047
- pickupAt: string;
2048
2048
  customerName: string;
2049
2049
  }>>>;
2050
2050
  dineIn: z.ZodNullable<z.ZodOptional<z.ZodObject<{
@@ -2435,13 +2435,13 @@ export declare const FdtoExternalOrderGetRes: z.ZodObject<{
2435
2435
  billId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2436
2436
  }, "strip", z.ZodTypeAny, {
2437
2437
  pickup?: {
2438
+ contactNumber: string;
2439
+ pickupAt: string;
2438
2440
  pickupPoint: {
2439
2441
  name: string;
2440
2442
  address: string;
2441
2443
  coordinates: number[];
2442
2444
  };
2443
- contactNumber: string;
2444
- pickupAt: string;
2445
2445
  customerName: string;
2446
2446
  } | null | undefined;
2447
2447
  remark?: string | null | undefined;
@@ -2572,13 +2572,13 @@ export declare const FdtoExternalOrderGetRes: z.ZodObject<{
2572
2572
  };
2573
2573
  }, {
2574
2574
  pickup?: {
2575
+ contactNumber: string;
2576
+ pickupAt: string;
2575
2577
  pickupPoint: {
2576
2578
  name: string;
2577
2579
  address: string;
2578
2580
  coordinates: number[];
2579
2581
  };
2580
- contactNumber: string;
2581
- pickupAt: string;
2582
2582
  customerName: string;
2583
2583
  } | null | undefined;
2584
2584
  remark?: string | null | undefined;
@@ -2712,13 +2712,13 @@ export declare const FdtoExternalOrderGetRes: z.ZodObject<{
2712
2712
  }, "strip", z.ZodTypeAny, {
2713
2713
  orders: {
2714
2714
  pickup?: {
2715
+ contactNumber: string;
2716
+ pickupAt: string;
2715
2717
  pickupPoint: {
2716
2718
  name: string;
2717
2719
  address: string;
2718
2720
  coordinates: number[];
2719
2721
  };
2720
- contactNumber: string;
2721
- pickupAt: string;
2722
2722
  customerName: string;
2723
2723
  } | null | undefined;
2724
2724
  remark?: string | null | undefined;
@@ -2852,13 +2852,13 @@ export declare const FdtoExternalOrderGetRes: z.ZodObject<{
2852
2852
  }, {
2853
2853
  orders: {
2854
2854
  pickup?: {
2855
+ contactNumber: string;
2856
+ pickupAt: string;
2855
2857
  pickupPoint: {
2856
2858
  name: string;
2857
2859
  address: string;
2858
2860
  coordinates: number[];
2859
2861
  };
2860
- contactNumber: string;
2861
- pickupAt: string;
2862
2862
  customerName: string;
2863
2863
  } | null | undefined;
2864
2864
  remark?: string | null | undefined;
@@ -104,13 +104,13 @@ export declare const FdoExternalSetting: z.ZodObject<{
104
104
  lastSynchronize?: string | null | undefined;
105
105
  _id: string;
106
106
  enable: boolean;
107
- platform: "IN_HOUSE" | "FEEDME" | "DELIVEROO" | "FOOD_PANDA" | "GRAB_FOOD" | "SHOPEE_FOOD" | "ZUS";
108
107
  config: {
109
108
  printReceiptAfterClose?: boolean | null | undefined;
110
109
  autoAccept: boolean;
111
110
  autoSend: boolean;
112
111
  autoCloseBill: boolean;
113
112
  };
113
+ platform: "IN_HOUSE" | "FEEDME" | "DELIVEROO" | "FOOD_PANDA" | "GRAB_FOOD" | "SHOPEE_FOOD" | "ZUS";
114
114
  }, {
115
115
  pickup?: {
116
116
  catalogId?: string | null | undefined;
@@ -127,12 +127,12 @@ export declare const FdoExternalSetting: z.ZodObject<{
127
127
  lastSynchronize?: string | null | undefined;
128
128
  _id: string;
129
129
  enable: boolean;
130
- platform: "IN_HOUSE" | "FEEDME" | "DELIVEROO" | "FOOD_PANDA" | "GRAB_FOOD" | "SHOPEE_FOOD" | "ZUS";
131
130
  config: {
132
131
  printReceiptAfterClose?: boolean | null | undefined;
133
132
  autoAccept: boolean;
134
133
  autoSend: boolean;
135
134
  autoCloseBill: boolean;
136
135
  };
136
+ platform: "IN_HOUSE" | "FEEDME" | "DELIVEROO" | "FOOD_PANDA" | "GRAB_FOOD" | "SHOPEE_FOOD" | "ZUS";
137
137
  }>;
138
138
  export type FdoExternalSetting = z.infer<typeof FdoExternalSetting>;
@@ -73,13 +73,13 @@ export declare const FdtoExternalSettingCreateOrUpdate: z.ZodObject<Omit<{
73
73
  updatedAt?: string | null | undefined;
74
74
  lastSynchronize?: string | null | undefined;
75
75
  enable: boolean;
76
- platform: "IN_HOUSE" | "FEEDME" | "DELIVEROO" | "FOOD_PANDA" | "GRAB_FOOD" | "SHOPEE_FOOD" | "ZUS";
77
76
  config: {
78
77
  printReceiptAfterClose?: boolean | null | undefined;
79
78
  autoAccept: boolean;
80
79
  autoSend: boolean;
81
80
  autoCloseBill: boolean;
82
81
  };
82
+ platform: "IN_HOUSE" | "FEEDME" | "DELIVEROO" | "FOOD_PANDA" | "GRAB_FOOD" | "SHOPEE_FOOD" | "ZUS";
83
83
  }, {
84
84
  pickup?: {
85
85
  catalogId?: string | null | undefined;
@@ -95,12 +95,12 @@ export declare const FdtoExternalSettingCreateOrUpdate: z.ZodObject<Omit<{
95
95
  updatedAt?: string | null | undefined;
96
96
  lastSynchronize?: string | null | undefined;
97
97
  enable: boolean;
98
- platform: "IN_HOUSE" | "FEEDME" | "DELIVEROO" | "FOOD_PANDA" | "GRAB_FOOD" | "SHOPEE_FOOD" | "ZUS";
99
98
  config: {
100
99
  printReceiptAfterClose?: boolean | null | undefined;
101
100
  autoAccept: boolean;
102
101
  autoSend: boolean;
103
102
  autoCloseBill: boolean;
104
103
  };
104
+ platform: "IN_HOUSE" | "FEEDME" | "DELIVEROO" | "FOOD_PANDA" | "GRAB_FOOD" | "SHOPEE_FOOD" | "ZUS";
105
105
  }>;
106
106
  export type FdtoExternalSettingCreateOrUpdate = z.infer<typeof FdtoExternalSettingCreateOrUpdate>;
@@ -6464,8 +6464,8 @@ export declare const FdtoIntegrationUpdateOrderRequest: z.ZodObject<z.extendShap
6464
6464
  status: "COMPLETED" | "CANCELLED" | "ACCEPT" | "REJECT" | "DONE_PREPARED" | "COLLECTED" | "REFUND";
6465
6465
  orderId: string;
6466
6466
  action: "SYNC_MENU" | "UPDATE_ORDER" | "GET_OR_UPDATE_SETTING";
6467
- platform: string;
6468
6467
  billId: string;
6468
+ platform: string;
6469
6469
  }, {
6470
6470
  reason?: string | null | undefined;
6471
6471
  bill?: {
@@ -7335,8 +7335,8 @@ export declare const FdtoIntegrationUpdateOrderRequest: z.ZodObject<z.extendShap
7335
7335
  status: "COMPLETED" | "CANCELLED" | "ACCEPT" | "REJECT" | "DONE_PREPARED" | "COLLECTED" | "REFUND";
7336
7336
  orderId: string;
7337
7337
  action: "SYNC_MENU" | "UPDATE_ORDER" | "GET_OR_UPDATE_SETTING";
7338
- platform: string;
7339
7338
  billId: string;
7339
+ platform: string;
7340
7340
  }>;
7341
7341
  export declare const FdtoUpdateOrderPlatformSettingReq: z.ZodObject<z.extendShape<{
7342
7342
  platform: z.ZodString;
@@ -51,9 +51,6 @@ export declare const FdoTimeSetting: z.ZodObject<{
51
51
  }>, "many">;
52
52
  }, "strip", z.ZodTypeAny, {
53
53
  hours: {
54
- /**
55
- * @deprecated
56
- */
57
54
  end: string;
58
55
  start: string;
59
56
  }[];
@@ -1709,9 +1706,7 @@ export declare const FdoRestaurantQueueCart: z.ZodObject<{
1709
1706
  coordinates: number[];
1710
1707
  }>, "many">>>;
1711
1708
  email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1712
- photoURL: z.ZodNullable<z.ZodOptional<z.ZodString>>; /**
1713
- * @deprecated
1714
- */
1709
+ photoURL: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1715
1710
  displayName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1716
1711
  phoneNumber: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1717
1712
  imported: z.ZodNullable<z.ZodOptional<z.ZodObject<{
@@ -3455,7 +3450,7 @@ export declare const FdoRestaurantQueueCart: z.ZodObject<{
3455
3450
  };
3456
3451
  }>;
3457
3452
  export type FdoRestaurantQueueCart = z.infer<typeof FdoRestaurantQueueCart>;
3458
- export declare const FdoRestaurantQueue: z.AnyZodObject;
3459
- export declare const FdoRestaurantQueues: z.AnyZodObject;
3453
+ export declare const FdoRestaurantQueue: any;
3454
+ export declare const FdoRestaurantQueues: any;
3460
3455
  export type FdoRestaurantQueue = z.infer<typeof FdoRestaurantQueue>;
3461
3456
  export type FdoRestaurantQueues = z.infer<typeof FdoRestaurantQueues>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@feedmepos/mf-order-setting",
3
- "version": "0.0.53",
3
+ "version": "0.0.56",
4
4
  "type": "module",
5
5
  "module": "./dist/app.js",
6
6
  "license": "UNLICENSED",
@@ -156,6 +156,7 @@
156
156
  v-if="!getCoverImagePreview('coverImageLandscape')"
157
157
  accept="image/*"
158
158
  :max-file-size="MAX_IMAGE_FILE_SIZE"
159
+ content-class="w-full max-w-[400px] aspect-video"
159
160
  @file-upload="uploadCoverImage('coverImageLandscape', $event)"
160
161
  @file-rejected="handleCoverImageRejected('coverImageLandscape', $event)"
161
162
  />
@@ -163,13 +164,13 @@
163
164
  <img
164
165
  :src="getCoverImagePreview('coverImageLandscape')!"
165
166
  :alt="t('order.coverImageLandscape')"
166
- class="w-full max-w-[360px] max-h-[200px] object-cover rounded-md border border-fm-color-neutral-gray-200"
167
- />
168
- <FmButton
169
- variant="tertiary"
170
- class="mr-auto"
171
- :label="t('common.delete')"
172
- @click="clearCoverImage('coverImageLandscape')"
167
+ class="max-w-[400px] aspect-video object-cover rounded-md border border-fm-color-neutral-gray-200"
168
+ />
169
+ <FmButton
170
+ variant="tertiary"
171
+ class="mr-auto"
172
+ :label="t('common.delete')"
173
+ @click="clearCoverImage('coverImageLandscape')"
173
174
  />
174
175
  </div>
175
176
  </div>
@@ -183,6 +184,7 @@
183
184
  v-if="!getCoverImagePreview('coverImagePortrait')"
184
185
  accept="image/*"
185
186
  :max-file-size="MAX_IMAGE_FILE_SIZE"
187
+ content-class="w-[240px] aspect-[9/16]"
186
188
  @file-upload="uploadCoverImage('coverImagePortrait', $event)"
187
189
  @file-rejected="handleCoverImageRejected('coverImagePortrait', $event)"
188
190
  />
@@ -190,13 +192,13 @@
190
192
  <img
191
193
  :src="getCoverImagePreview('coverImagePortrait')!"
192
194
  :alt="t('order.coverImagePortrait')"
193
- class="w-full max-w-[360px] max-h-[200px] object-cover rounded-md border border-fm-color-neutral-gray-200"
194
- />
195
- <FmButton
196
- variant="tertiary"
197
- class="mr-auto"
198
- :label="t('common.delete')"
199
- @click="clearCoverImage('coverImagePortrait')"
195
+ class="max-w-[200px] aspect-[9/16] object-cover rounded-md border border-fm-color-neutral-gray-200"
196
+ />
197
+ <FmButton
198
+ variant="tertiary"
199
+ class="mr-auto"
200
+ :label="t('common.delete')"
201
+ @click="clearCoverImage('coverImagePortrait')"
200
202
  />
201
203
  </div>
202
204
  </div>