@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.
@@ -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;
@@ -31,5 +31,6 @@ export * from './smart-recovery';
31
31
  export * from './network-tokens';
32
32
  export * from './template-reporting';
33
33
  export * from './organization-config';
34
+ export * from './onboarding';
34
35
  export * from './recipients';
35
36
  export * from './installments';
@@ -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>>;
@@ -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: {
@@ -32,5 +32,6 @@ export * from './ai';
32
32
  export * from './smart-recovery';
33
33
  export * from './template-reporting';
34
34
  export * from './organization-config';
35
+ export * from './onboarding';
35
36
  export * from './recipients';
36
37
  export * from './installments';
@@ -0,0 +1 @@
1
+ export * from './onboarding';
@@ -0,0 +1,7 @@
1
+ export declare namespace Onboarding {
2
+ interface OnboardingStatus {
3
+ has_connection: boolean;
4
+ has_routing: boolean;
5
+ has_checkout_active: boolean;
6
+ }
7
+ }