gotrip-fx-transaction-form 1.0.204-dev → 1.0.205-dev

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gotrip-fx-transaction-form",
3
- "version": "1.0.204-dev",
3
+ "version": "1.0.205-dev",
4
4
  "description": "FX Transaction Form ES6 module",
5
5
  "main": "index.js",
6
6
  "types": "types/index.d.ts",
@@ -161,7 +161,9 @@ export declare const ApiUrls: {
161
161
  updateTenantCommissionPolicies: (tenantId: number, policyGroupId: number) => string;
162
162
  updateTenantCommissionPoliciesLegacy: (tenantId: number) => string;
163
163
  getMemberCommissionPoliciesByMemberId: (memberId: number) => string;
164
- updateMemberCommissionPoliciesByMemberId: (memberId: number) => string;
164
+ createMemberCommissionPoliciesByMemberId: (memberId: number) => string;
165
+ updateMemberCommissionPoliciesByMemberId: (memberId: number, policyGroupId: number) => string;
166
+ updateMemberCommissionPoliciesByMemberIdLegacy: (memberId: number) => string;
165
167
  create: string;
166
168
  update: (id: number) => string;
167
169
  };
@@ -1,9 +1,8 @@
1
- import { ITenant } from '../types/response.dto';
2
1
  export declare const useTenantList: (options?: {
3
2
  skipFetch?: boolean;
4
3
  }) => {
5
- tenants: ITenant[];
4
+ tenants: import('../types/response.dto').ITenant[];
6
5
  loading: boolean;
7
- refetchData: () => void;
6
+ refetchData: () => Promise<void>;
8
7
  removeTenant: (tenantId: number) => Promise<void>;
9
8
  };
@@ -0,0 +1,12 @@
1
+ import { ITenant } from '../types/response.dto';
2
+ interface TenantStoreState {
3
+ tenants: ITenant[];
4
+ loading: boolean;
5
+ isFetching: boolean;
6
+ lastFetched: number | null;
7
+ fetchTenants: () => Promise<void>;
8
+ refetchTenants: () => Promise<void>;
9
+ removeTenant: (tenantId: number) => Promise<void>;
10
+ }
11
+ export declare const useTenantStore: import('zustand').UseBoundStore<import('zustand').StoreApi<TenantStoreState>>;
12
+ export {};