@feedmepos/mf-common 1.12.1 → 1.12.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,4 +1,4 @@
1
- import { FdoAgent, FdoBusiness, FdoPermissionRule, FdoRestaurant, FdoRestaurantSetting, type FdoUser } from "@feedmepos/core/entity";
1
+ import { FdoAgent, FdoBusiness, FdoPermissionRule, FdoRestaurant, FdoRestaurantSetting, type FdoUser, type FdoPublicSetting } from "@feedmepos/core/entity";
2
2
  import { type AxiosInstance } from "axios";
3
3
  export declare function readUserAdminPermission(): Promise<FdoPermissionRule[]>;
4
4
  export declare function readUserBusinessPermission(businessId: string): Promise<FdoPermissionRule[]>;
@@ -9,6 +9,14 @@ export declare function readBusinessRestaurant(restaurantId: string): Promise<Fd
9
9
  export declare function readAvailableAgents(): Promise<FdoAgent[]>;
10
10
  export declare function debugUser(phoneNumber: string): Promise<string>;
11
11
  export declare function stopDebugUser(): Promise<string>;
12
+ export type PublicSettingApi = FdoPublicSetting & {
13
+ aiSettings: {
14
+ remy: {
15
+ enable: boolean;
16
+ };
17
+ };
18
+ };
19
+ export declare function getPublicSetting(): Promise<PublicSettingApi>;
12
20
  export declare const baseClientInstance: (url: string) => AxiosInstance;
13
21
  export declare const accountService: {
14
22
  updateUserProfile(profile: {
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/api/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,QAAQ,EACR,WAAW,EACX,iBAAiB,EACjB,aAAa,EACb,oBAAoB,EACpB,KAAK,OAAO,EACb,MAAM,wBAAwB,CAAA;AAC/B,OAAc,EAAc,KAAK,aAAa,EAAsB,MAAM,OAAO,CAAA;AAIjF,wBAAsB,uBAAuB,IAAI,OAAO,CAAC,iBAAiB,EAAE,CAAC,CAE5E;AAED,wBAAsB,0BAA0B,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC,iBAAiB,EAAE,CAAC,CAOjG;AAED,wBAAsB,uBAAuB,IAAI,OAAO,CAAC,WAA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