gotrip-fx-transaction-form 1.0.296-dev → 1.0.298-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/index.js +17035 -17039
- package/package.json +1 -1
- package/types/components/Insurance/FxInsuranceCouponBox.d.ts +8 -1
- package/types/hooks/useConfirmTransaction.d.ts +1 -0
- package/types/hooks/useCreateAutoCoupon.d.ts +5 -3
- package/types/hooks/useFxCrossSellEnabled.d.ts +1 -0
- package/types/types/response.dto.d.ts +1 -0
- package/types/types/user.d.ts +1 -0
package/package.json
CHANGED
|
@@ -5,6 +5,13 @@ interface FxInsuranceCouponBoxProps {
|
|
|
5
5
|
countryNameDes?: string | null;
|
|
6
6
|
discountPercent?: number;
|
|
7
7
|
maxDiscountAmount?: number;
|
|
8
|
+
/**
|
|
9
|
+
* Code of the tenant that sold the FX order. Becomes the `utm_source` of the
|
|
10
|
+
* cross-sell links so an insurance order can be traced back to the exact
|
|
11
|
+
* tenant that referred it, not just to "an FX order". Falls back to `fx`
|
|
12
|
+
* when the backend could not resolve the tenant.
|
|
13
|
+
*/
|
|
14
|
+
tenantCode?: string | null;
|
|
8
15
|
}
|
|
9
|
-
export declare const FxInsuranceCouponBox: ({ couponCode, transactionPublicId, countryCodeDes, countryNameDes, discountPercent, maxDiscountAmount, }: FxInsuranceCouponBoxProps) => import("react/jsx-runtime").JSX.Element;
|
|
16
|
+
export declare const FxInsuranceCouponBox: ({ couponCode, transactionPublicId, countryCodeDes, countryNameDes, discountPercent, maxDiscountAmount, tenantCode, }: FxInsuranceCouponBoxProps) => import("react/jsx-runtime").JSX.Element;
|
|
10
17
|
export {};
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
+
export type AutoCouponResult = {
|
|
2
|
+
couponCode: string | null;
|
|
3
|
+
tenantCode: string | null;
|
|
4
|
+
};
|
|
1
5
|
export declare const useCreateAutoCoupon: () => {
|
|
2
|
-
createAutoCoupon: (publicId: string) => Promise<
|
|
3
|
-
couponCode: string | null;
|
|
4
|
-
}>;
|
|
6
|
+
createAutoCoupon: (publicId: string) => Promise<AutoCouponResult>;
|
|
5
7
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const useFxCrossSellEnabled: () => boolean;
|
package/types/types/user.d.ts
CHANGED
|
@@ -62,6 +62,7 @@ export declare enum EPermissionKey {
|
|
|
62
62
|
SEND_EMAILS_TO_CUSTOMER = "SEND_EMAILS_TO_CUSTOMER",
|
|
63
63
|
VIEW_SENT_EMAIL_HISTORY = "VIEW_SENT_EMAIL_HISTORY",
|
|
64
64
|
SEND_EMAIL = "SEND_EMAIL",
|
|
65
|
+
CHAT_SUPPORT = "CHAT_SUPPORT",
|
|
65
66
|
VIEW_DEBT_REPORT_LIST = "VIEW_DEBT_REPORT_LIST",
|
|
66
67
|
VIEW_DEBT_REPORT_DETAIL = "VIEW_DEBT_REPORT_DETAIL",
|
|
67
68
|
UPDATE_DEBT_REPORT = "UPDATE_DEBT_REPORT",
|