@@ -6,65 +6,6 @@ import type {
66} from './schemas/payment.js'
77import type { z } from 'zod/v4'
88
9- export interface ConfigVersions {
10- [ key : string ] : ElementConfigType
11- }
12-
13- export interface ElementConfigType {
14- // general config
15- css : string
16- walletAddress : string
17-
18- // button specific
19- buttonFontName : string
20- buttonText : string
21- buttonBorder : CornerType
22- buttonTextColor : string
23- buttonBackgroundColor : string
24- buttonDescriptionText ?: string
25-
26- // banner specific
27- bannerFontName : string
28- bannerFontSize : number
29- bannerTitleText : string
30- bannerDescriptionText : string
31- bannerSlideAnimation : SlideAnimationType
32- bannerPosition : PositionType
33- bannerBorder : CornerType
34- bannerTextColor : string
35- bannerBackgroundColor : string
36-
37- // widget specific
38- widgetFontName : string
39- widgetFontSize : number
40- widgetTitleText : string
41- widgetDescriptionText : string
42- widgetButtonText : string
43- widgetButtonBorder : CornerType
44- widgetTextColor : string
45- widgetBackgroundColor : string
46- widgetButtonTextColor : string
47- widgetButtonBackgroundColor : string
48- widgetTriggerBackgroundColor : string
49- widgetTriggerIcon : string
50- }
51-
52- export enum CornerType {
53- None = 'None' ,
54- Light = 'Light' ,
55- Pill = 'Pill'
56- }
57-
58- export enum SlideAnimationType {
59- None = 'None' ,
60- Down = 'Down'
61- }
62-
63- export enum PositionType {
64- Top = 'Top' ,
65- Bottom = 'Bottom'
66- }
67-
689export type PaymentQuoteInput = z . infer < typeof PaymentQuoteSchema >
6910export type PaymentGrantInput = z . infer < typeof PaymentGrantSchema >
7011export type PaymentFinalizeInput = z . infer < typeof PaymentFinalizeSchema >
0 commit comments