@feedmepos/mf-common 1.2.0 → 1.4.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,6 +1,9 @@
1
- import { FdoBusiness, FdoPermissionRule, FdoRestaurant } from '@feedmepos/core/entity';
1
+ import { FdoAgent, FdoBusiness, FdoPermissionRule, FdoRestaurant } from '@feedmepos/core/entity';
2
+ import { type AxiosInstance } from 'axios';
2
3
  export declare function readUserAdminPermission(): Promise<FdoPermissionRule[]>;
3
4
  export declare function readUserBusinessPermission(businessId: string): Promise<FdoPermissionRule[]>;
4
5
  export declare function readManagableBusinesses(): Promise<FdoBusiness[]>;
5
6
  export declare function readBusinessRestaurants(businessId: string): Promise<FdoRestaurant[]>;
6
7
  export declare function readBusinessRestaurant(restaurantId: string): Promise<FdoRestaurant>;
8
+ export declare function readAvailableAgents(): Promise<FdoAgent[]>;
9
+ export declare const baseClientInstance: (url: string) => AxiosInstance;