@feedmepos/mf-mdm 1.5.4-beta.178 → 1.5.4-beta.180

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.
@@ -1,4 +1,4 @@
1
- import type { Business, CreateSubDeviceDto, FdoRestaurantFeature, UpdateCustomerDisplayImagesDto } from '@/utils/types';
1
+ import type { Business, CreateSubDeviceDto, FdoLogs, FdoRestaurantFeature, FdtoLogs, UpdateCustomerDisplayImagesDto } from '@/utils/types';
2
2
  import { FdoCounter, FdoRemoteSupport, FdoRestaurant } from '@feedmepos/core/entity';
3
3
  import type { FdoPrinterInfo } from '@feedmepos/kitchen/entity';
4
4
  import { FdoDeviceConfiguration, FdtoDeviceConfig, type FdoDevice, type FdtoRemoteSupport } from '@feedmepos/mdm-package';
@@ -25,4 +25,15 @@ export declare const deviceApi: {
25
25
  checkBusinessPlan(restaurantId: string): Promise<FdoRestaurantFeature>;
26
26
  getDeviceConfig(deviceId: string): Promise<FdoDeviceConfiguration>;
27
27
  updateDeviceConfig(deviceId: string, dto: FdtoDeviceConfig): Promise<FdoDeviceConfiguration>;
28
+ checkDeviceStatus(machineId: string): Promise<string>;
29
+ getLogRequest(params: {
30
+ machineId: string;
31
+ userId: string;
32
+ }): Promise<FdoLogs>;
33
+ createLogRequest(dto: {
34
+ machineId: string;
35
+ userId: string;
36
+ }): Promise<FdoLogs>;
37
+ updateLogRequestStatus(requestId: string, updateData: FdtoLogs): Promise<boolean>;
38
+ deleteLogRequest(requestId: string): Promise<boolean>;
28
39
  };
package/dist/app.js CHANGED
@@ -542,12 +542,12 @@ const r = {
542
542
  {
543
543
  path: "/",
544
544
  name: "$devices",
545
- component: e(() => import("./DeviceList-18849de9.js"))
545
+ component: e(() => import("./DeviceList-c4cf7372.js"))
546
546
  }
547
547
  ], c = {
548
548
  "en-US": i,
549
549
  "zh-CN": t
550
- }, d = e(() => import("./App-44d70250.js"));
550
+ }, d = e(() => import("./App-9c71053a.js"));
551
551
  export {
552
552
  d as FmApp,
553
553
  c as i18nMessages,
@@ -0,0 +1,12 @@
1
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
+ machineId: {
3
+ type: StringConstructor;
4
+ required: true;
5
+ };
6
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
7
+ machineId: {
8
+ type: StringConstructor;
9
+ required: true;
10
+ };
11
+ }>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
12
+ export default _default;