gotrip-fx-transaction-form 1.0.195-dev → 1.0.196-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.195-dev",
3
+ "version": "1.0.196-dev",
4
4
  "description": "FX Transaction Form ES6 module",
5
5
  "main": "index.js",
6
6
  "types": "types/index.d.ts",
@@ -1,5 +1,5 @@
1
1
  import { default as React } from 'react';
2
- import { EDepartmentType, IRole } from '../../types/response.dto';
2
+ import { EDepartmentType, IRole, ITenant } from '../../types/response.dto';
3
3
  export interface Department {
4
4
  id: number;
5
5
  name: string;
@@ -11,6 +11,8 @@ export interface Department {
11
11
  transferName?: string;
12
12
  transferNumber?: string;
13
13
  users: DepartmentMember[];
14
+ tenantId?: number;
15
+ tenant?: Pick<ITenant, 'id' | 'name' | 'shortName' | 'type'>;
14
16
  }
15
17
  export interface DepartmentMember {
16
18
  id: number;
@@ -40,6 +40,7 @@ export declare const ApiUrls: {
40
40
  createEsimTransaction: string;
41
41
  sendESimEmail: string;
42
42
  validateTransactionTiming: string;
43
+ calculateCommission: (publicId: string) => string;
43
44
  };
44
45
  role: {
45
46
  list: string;
@@ -87,6 +88,8 @@ export declare const ApiUrls: {
87
88
  removeMembers: string;
88
89
  organizationTree: string;
89
90
  abbankList: string;
91
+ departmentsByTenantTypes: (types: string) => string;
92
+ usersByTenantTypes: (types: string) => string;
90
93
  };
91
94
  balance: {
92
95
  getBalanceByUserId: (userId: number) => string;
@@ -159,6 +162,8 @@ export declare const ApiUrls: {
159
162
  updateTenantCommissionPoliciesLegacy: (tenantId: number) => string;
160
163
  getMemberCommissionPoliciesByMemberId: (memberId: number) => string;
161
164
  updateMemberCommissionPoliciesByMemberId: (memberId: number) => string;
165
+ create: string;
166
+ update: (id: number) => string;
162
167
  };
163
168
  esimHandlers: {
164
169
  list: string;
@@ -0,0 +1 @@
1
+ export declare const FxCommissionPolicyManagement: () => import("react/jsx-runtime").JSX.Element;