@yuno-payments/dashboard-api-mfe 1.4.2 → 1.4.3-15460
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/build/cjs/index.js +2 -2
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/types/api/api.d.ts +1 -0
- package/build/cjs/types/queries/index.d.ts +1 -0
- package/build/cjs/types/queries/onboarding/index.d.ts +1 -0
- package/build/cjs/types/queries/onboarding/onboarding.query.d.ts +7 -0
- package/build/cjs/types/queries/onboarding/onboarding.query.test.d.ts +1 -0
- package/build/cjs/types/types/checkout/styling/styling.d.ts +31 -0
- package/build/cjs/types/types/index.d.ts +1 -0
- package/build/cjs/types/types/onboarding/index.d.ts +1 -0
- package/build/cjs/types/types/onboarding/onboarding.d.ts +7 -0
- package/build/esm/index.js +4 -4
- package/build/esm/index.js.map +1 -1
- package/build/esm/types/api/api.d.ts +1 -0
- package/build/esm/types/queries/index.d.ts +1 -0
- package/build/esm/types/queries/onboarding/index.d.ts +1 -0
- package/build/esm/types/queries/onboarding/onboarding.query.d.ts +7 -0
- package/build/esm/types/queries/onboarding/onboarding.query.test.d.ts +1 -0
- package/build/esm/types/types/checkout/styling/styling.d.ts +31 -0
- package/build/esm/types/types/index.d.ts +1 -0
- package/build/esm/types/types/onboarding/index.d.ts +1 -0
- package/build/esm/types/types/onboarding/onboarding.d.ts +7 -0
- package/build/index.d.ts +48 -2
- package/package.json +1 -1
|
@@ -116,6 +116,7 @@ export declare class Api extends HttpClient {
|
|
|
116
116
|
getConnectionsByPaymentMethod<T>(accountCode: string, paymentMethod: string): Promise<AxiosResponse<T>>;
|
|
117
117
|
getHashPylon<T>(): Promise<AxiosResponse<T>>;
|
|
118
118
|
getConnections<T>(): Promise<AxiosResponse<T, any>>;
|
|
119
|
+
getOnboardingStatus<T>(accountCode: string): Promise<AxiosResponse<T, any>>;
|
|
119
120
|
postValidateStatusConnection<T>({ payload, accountCode, }: {
|
|
120
121
|
payload: any;
|
|
121
122
|
accountCode: any;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './onboarding.query';
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Onboarding } from '../../types';
|
|
2
|
+
import { CustomAxiosResponse } from '../../utils/handler-error';
|
|
3
|
+
export interface UseGetOnboardingStatusParams {
|
|
4
|
+
accountCode: string;
|
|
5
|
+
enabled?: boolean;
|
|
6
|
+
}
|
|
7
|
+
export declare function useGetOnboardingStatus({ accountCode, enabled, }: UseGetOnboardingStatusParams): import("@tanstack/react-query").UseQueryResult<Onboarding.OnboardingStatus, CustomAxiosResponse<null>>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -66,6 +66,36 @@ export declare namespace Styling {
|
|
|
66
66
|
}
|
|
67
67
|
export {};
|
|
68
68
|
}
|
|
69
|
+
export interface PaymentLinkStyles {
|
|
70
|
+
panel?: {
|
|
71
|
+
left?: {
|
|
72
|
+
logo_url?: string | null;
|
|
73
|
+
background?: {
|
|
74
|
+
color?: string;
|
|
75
|
+
};
|
|
76
|
+
};
|
|
77
|
+
};
|
|
78
|
+
checkbox?: {
|
|
79
|
+
color?: string;
|
|
80
|
+
};
|
|
81
|
+
border?: {
|
|
82
|
+
color?: string;
|
|
83
|
+
};
|
|
84
|
+
radio_button?: {
|
|
85
|
+
color?: string;
|
|
86
|
+
};
|
|
87
|
+
button?: {
|
|
88
|
+
text?: {
|
|
89
|
+
color?: string;
|
|
90
|
+
};
|
|
91
|
+
background?: {
|
|
92
|
+
color?: string;
|
|
93
|
+
hover?: {
|
|
94
|
+
color?: string;
|
|
95
|
+
};
|
|
96
|
+
};
|
|
97
|
+
};
|
|
98
|
+
}
|
|
69
99
|
export declare namespace StylingSettings {
|
|
70
100
|
interface UpdateSettings {
|
|
71
101
|
styles: {
|
|
@@ -124,6 +154,7 @@ export declare namespace StylingSettings {
|
|
|
124
154
|
flags?: {
|
|
125
155
|
force_default_styles?: boolean;
|
|
126
156
|
};
|
|
157
|
+
payment_link_styles?: PaymentLinkStyles;
|
|
127
158
|
}
|
|
128
159
|
interface UpdateSettingsResponse extends UpdateSettings {
|
|
129
160
|
external_fonts: {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './onboarding';
|