@feedmepos/mf-order-setting 0.0.28 → 0.0.29

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 (28) hide show
  1. package/dist/{KioskDevicesView-BgXkmJ7v.js → KioskDevicesView-Dvr4RUmt.js} +1 -1
  2. package/dist/{KioskDevicesView.vue_vue_type_script_setup_true_lang-DZT0BuUN.js → KioskDevicesView.vue_vue_type_script_setup_true_lang-CJ-xAR8i.js} +2 -2
  3. package/dist/{KioskSettingView-DyX3Wv_2.js → KioskSettingView-DaJz8ZZi.js} +1 -1
  4. package/dist/{KioskView-Bgff7QPc.js → KioskView-v8Yl4x4R.js} +4 -4
  5. package/dist/{OrderSettingsView-C63s4uCD.js → OrderSettingsView-CN1PFwX_.js} +10911 -10700
  6. package/dist/{app-Dp79Gu_F.js → app-d1Lptg6A.js} +36 -15
  7. package/dist/app.js +1 -1
  8. package/dist/{dayjs.min-B2ZkfNUH.js → dayjs.min-BLlPHZkl.js} +1 -1
  9. package/dist/frontend/mf-order/src/api/remoteOrder/index.d.ts +1 -0
  10. package/dist/frontend/mf-order/src/app.d.ts +21 -0
  11. package/dist/frontend/mf-order/src/main.d.ts +21 -0
  12. package/dist/frontend/mf-order/src/stores/menu/menu.d.ts +1 -0
  13. package/dist/frontend/mf-order/tsconfig.app.tsbuildinfo +1 -1
  14. package/dist/{index-DzQn92Tp.js → index-Cg9kSeyn.js} +2 -2
  15. package/dist/package/entity/incoming-order/incoming-order.dto.d.ts +3 -0
  16. package/dist/package/entity/order/pickup/pickup.dto.d.ts +37 -0
  17. package/dist/package/entity/order-platform/grabfood/grabfood.dto.d.ts +40 -0
  18. package/dist/package/entity/order-platform/grabfood/grabfood.enum.d.ts +2 -0
  19. package/dist/package/entity/queue/queue.dto.d.ts +11446 -93
  20. package/dist/package/entity/user/user.do.d.ts +129 -18
  21. package/dist/{queue.do-BUtcyDk3.js → queue.do-zk6sqriQ.js} +4543 -4509
  22. package/package.json +2 -2
  23. package/src/api/remoteOrder/index.ts +3 -0
  24. package/src/locales/en-US.json +8 -1
  25. package/src/locales/th-TH.json +8 -1
  26. package/src/locales/zh-CN.json +8 -1
  27. package/src/views/order-settings/delivery/integrated-delivery/GrabfoodSetting.vue +38 -1
  28. package/src/views/order-settings/discount-rule/DiscountRuleSetting.vue +40 -22
@@ -1,5 +1,5 @@
1
- import { g as i, s as _, S as p, r as o } from "./dayjs.min-B2ZkfNUH.js";
2
- import "./queue.do-BUtcyDk3.js";
1
+ import { g as i, s as _, S as p, r as o } from "./dayjs.min-BLlPHZkl.js";
2
+ import "./queue.do-zk6sqriQ.js";
3
3
  async function C() {
4
4
  const r = await o().get("/order-settings");
5
5
  return i(r);
@@ -4397,7 +4397,9 @@ export declare const FdtoCreateIncomingOrder: z.ZodObject<{
4397
4397
  autoSend: boolean;
4398
4398
  autoCloseBill: boolean;
4399
4399
  }>;
4400
+ shouldNotifyPos: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
4400
4401
  }, "strip", z.ZodTypeAny, {
4402
+ shouldNotifyPos?: boolean | null | undefined;
4401
4403
  order: {
4402
4404
  remark?: string | null | undefined;
4403
4405
  user?: {
@@ -4965,6 +4967,7 @@ export declare const FdtoCreateIncomingOrder: z.ZodObject<{
4965
4967
  autoCloseBill: boolean;
4966
4968
  };
4967
4969
  }, {
4970
+ shouldNotifyPos?: boolean | null | undefined;
4968
4971
  order: {
4969
4972
  remark?: string | null | undefined;
4970
4973
  user?: {
@@ -12,4 +12,41 @@ export declare const OrderPickupPointDto: z.ZodObject<{
12
12
  address: string;
13
13
  coordinates: number[];
14
14
  }>;
15
+ export declare const FdtoPickupReadyNotify: z.ZodObject<{
16
+ orderNumber: z.ZodString;
17
+ customerName: z.ZodString;
18
+ phoneNumber: z.ZodString;
19
+ pickupPoint: z.ZodNullable<z.ZodOptional<z.ZodObject<{
20
+ name: z.ZodString;
21
+ address: z.ZodString;
22
+ coordinates: z.ZodArray<z.ZodNumber, "many">;
23
+ }, "strip", z.ZodTypeAny, {
24
+ name: string;
25
+ address: string;
26
+ coordinates: number[];
27
+ }, {
28
+ name: string;
29
+ address: string;
30
+ coordinates: number[];
31
+ }>>>;
32
+ }, "strip", z.ZodTypeAny, {
33
+ pickupPoint?: {
34
+ name: string;
35
+ address: string;
36
+ coordinates: number[];
37
+ } | null | undefined;
38
+ phoneNumber: string;
39
+ orderNumber: string;
40
+ customerName: string;
41
+ }, {
42
+ pickupPoint?: {
43
+ name: string;
44
+ address: string;
45
+ coordinates: number[];
46
+ } | null | undefined;
47
+ phoneNumber: string;
48
+ orderNumber: string;
49
+ customerName: string;
50
+ }>;
15
51
  export type OrderPickupPointDto = z.infer<typeof OrderPickupPointDto>;
52
+ export type FdtoPickupReadyNotify = z.infer<typeof FdtoPickupReadyNotify>;
@@ -4489,6 +4489,46 @@ export declare const FdtoGrabfoodSyncDataDto: z.ZodObject<{
4489
4489
  jobID: string;
4490
4490
  errors: (string | null)[] | null;
4491
4491
  }>;
4492
+ export declare const FdtoGrabfoodGetIntegrationUrl: z.ZodObject<{
4493
+ partner: z.ZodObject<{
4494
+ merchantID: z.ZodString;
4495
+ }, "strip", z.ZodTypeAny, {
4496
+ merchantID: string;
4497
+ }, {
4498
+ merchantID: string;
4499
+ }>;
4500
+ }, "strip", z.ZodTypeAny, {
4501
+ partner: {
4502
+ merchantID: string;
4503
+ };
4504
+ }, {
4505
+ partner: {
4506
+ merchantID: string;
4507
+ };
4508
+ }>;
4509
+ export declare const FdtoGrabfoodIntegrationUrlResp: z.ZodObject<{
4510
+ activationUrl: z.ZodString;
4511
+ }, "strip", z.ZodTypeAny, {
4512
+ activationUrl: string;
4513
+ }, {
4514
+ activationUrl: string;
4515
+ }>;
4516
+ export declare const FdtoGrabfoodIntegrationStatusDto: z.ZodObject<{
4517
+ partnerMerchantID: z.ZodString;
4518
+ grabMerchantID: z.ZodString;
4519
+ integrationStatus: z.ZodEnum<["INACTIVE", "ACTIVE", "SYNCING", "FAILED"]>;
4520
+ }, "strip", z.ZodTypeAny, {
4521
+ partnerMerchantID: string;
4522
+ grabMerchantID: string;
4523
+ integrationStatus: "FAILED" | "ACTIVE" | "INACTIVE" | "SYNCING";
4524
+ }, {
4525
+ partnerMerchantID: string;
4526
+ grabMerchantID: string;
4527
+ integrationStatus: "FAILED" | "ACTIVE" | "INACTIVE" | "SYNCING";
4528
+ }>;
4529
+ export type FdtoGrabfoodIntegrationStatusDto = z.infer<typeof FdtoGrabfoodIntegrationStatusDto>;
4530
+ export type FdtoGrabfoodIntegrationUrlResp = z.infer<typeof FdtoGrabfoodIntegrationUrlResp>;
4531
+ export type FdtoGrabfoodGetIntegrationUrl = z.infer<typeof FdtoGrabfoodGetIntegrationUrl>;
4492
4532
  export type GFCampaignQuota = z.infer<typeof GFCampaignQuota>;
4493
4533
  export type GFCampaignWorkingPeriod = z.infer<typeof GFCampaignWorkingPeriod>;
4494
4534
  export type GFCampaignWorkingHour = z.infer<typeof GFCampaignWorkingHour>;
@@ -23,9 +23,11 @@ export declare const GF_ORDER_TYPE: z.ZodEnum<["TakeAway", "DeliveredByGrab", "D
23
23
  export declare const GF_CAMPAIGN_TYPE: z.ZodEnum<["percentage", "net", "delivery", "freeItem"]>;
24
24
  export declare const GF_CAMPAIGN_DEDUCTED_PART: z.ZodEnum<["basket_amount", "delivery_fee"]>;
25
25
  export declare const GF_POI_SOURCE: z.ZodEnum<["GRAB", "GOOGLE"]>;
26
+ export declare const GF_INTEGRATION_STATUS: z.ZodEnum<["INACTIVE", "ACTIVE", "SYNCING", "FAILED"]>;
26
27
  export declare const GF_MARK_ORDER_STATUS: z.ZodNativeEnum<{
27
28
  prepared: number;
28
29
  }>;
30
+ export type GF_INTEGRATION_STATUS = z.infer<typeof GF_INTEGRATION_STATUS>;
29
31
  export type GF_CAMPAIGN_CREATED_BY = z.infer<typeof GF_CAMPAIGN_CREATED_BY>;
30
32
  export type GF_REPORT_DELIVERY_FROM_STATE = z.infer<typeof GF_REPORT_DELIVERY_FROM_STATE>;
31
33
  export type GF_CAMPAIGN_LEVEL = z.infer<typeof GF_CAMPAIGN_LEVEL>;