gotrip-fx-transaction-form 1.0.195-dev → 1.0.197-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.197-dev",
4
4
  "description": "FX Transaction Form ES6 module",
5
5
  "main": "index.js",
6
6
  "types": "types/index.d.ts",
@@ -6,5 +6,6 @@ export type EmbededIndividualAppProps = {
6
6
  defaultBank?: string;
7
7
  displayDefaultBankLogo?: boolean;
8
8
  type?: ESdkFormType;
9
+ scrollable?: boolean;
9
10
  };
10
- export declare const EmbededIndividualApp: ({ apiKey, externalCssUrl, hide, defaultBank, displayDefaultBankLogo, type, }: EmbededIndividualAppProps) => import("react/jsx-runtime").JSX.Element;
11
+ export declare const EmbededIndividualApp: ({ apiKey, externalCssUrl, hide, defaultBank, displayDefaultBankLogo, type, scrollable, }: EmbededIndividualAppProps) => import("react/jsx-runtime").JSX.Element;
@@ -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;
@@ -1,10 +1,8 @@
1
1
  export interface CreateInsuranceTransactionFormProps {
2
2
  storageKey: string;
3
3
  title?: string;
4
- backButtonText?: string;
5
4
  onBack?: () => void;
6
5
  onSuccess?: (transactionData: any) => void;
7
- containerMaxWidth?: string;
8
- showBackButton?: boolean;
6
+ scrollable?: boolean;
9
7
  }
10
- export declare const CreateInsuranceTransactionForm: ({ storageKey, title, backButtonText, onBack, onSuccess, containerMaxWidth, showBackButton, }: CreateInsuranceTransactionFormProps) => import("react/jsx-runtime").JSX.Element;
8
+ export declare const CreateInsuranceTransactionForm: ({ storageKey, title, onBack, onSuccess, scrollable, }: CreateInsuranceTransactionFormProps) => import("react/jsx-runtime").JSX.Element;
@@ -5,6 +5,7 @@ type Step = {
5
5
  interface StepIndicatorHorizontalProps {
6
6
  currentStep: number;
7
7
  steps: Step[];
8
+ onStepClick?: (stepNumber: number) => void;
8
9
  }
9
- export declare const StepIndicatorHorizontal: ({ currentStep, steps }: StepIndicatorHorizontalProps) => import("react/jsx-runtime").JSX.Element;
10
+ export declare const StepIndicatorHorizontal: ({ currentStep, steps, onStepClick, }: StepIndicatorHorizontalProps) => import("react/jsx-runtime").JSX.Element;
10
11
  export {};
@@ -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;
@@ -4,6 +4,7 @@ type InitProps = {
4
4
  container?: HTMLElement;
5
5
  apiKey: string;
6
6
  type?: ESdkFormType;
7
+ scrollable?: boolean;
7
8
  };
8
9
  interface GoTripSDKProps {
9
10
  init: (props: InitProps) => void;
@@ -0,0 +1 @@
1
+ export declare const FxCommissionPolicyManagement: () => import("react/jsx-runtime").JSX.Element;
@@ -1 +1,5 @@
1
- export declare const CreateGuestInsuranceTransactionPage: () => import("react/jsx-runtime").JSX.Element;
1
+ interface CreateGuestInsuranceTransactionPageProps {
2
+ scrollable?: boolean;
3
+ }
4
+ export declare const CreateGuestInsuranceTransactionPage: ({ scrollable, }: CreateGuestInsuranceTransactionPageProps) => import("react/jsx-runtime").JSX.Element;
5
+ export {};