tf-checkout-react 1.4.16 → 1.4.18-beta.0

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.
@@ -43,7 +43,40 @@ export declare const sendRSVPInfo: (eventId: number, data: any) => Promise<Axios
43
43
  export declare const validatePhoneNumber: (phone: string) => Promise<any>;
44
44
  export declare const getAddons: (eventId: string) => Promise<any>;
45
45
  export declare const selectAddons: (data: any) => void;
46
- export declare const getCheckoutPageConfigs: () => Promise<any>;
46
+ export interface AttributesConfig {
47
+ has_add_on: boolean;
48
+ names_required: boolean;
49
+ phone_required: boolean;
50
+ minimum_age?: any;
51
+ age_required: boolean;
52
+ hide_phone_field: boolean;
53
+ event_id: string;
54
+ free_ticket: boolean;
55
+ collect_mandatory_wallet_address: boolean;
56
+ collect_optional_wallet_address: boolean;
57
+ collect_mandatory_company: boolean;
58
+ collect_optional_company: boolean;
59
+ collect_mandatory_job_title: boolean;
60
+ collect_optional_job_title: boolean;
61
+ collect_mandatory_business_category: boolean;
62
+ collect_optional_business_category: boolean;
63
+ collect_mandatory_instagram: boolean;
64
+ collect_optional_instagram: boolean;
65
+ skip_billing_page: boolean;
66
+ }
67
+ export interface ConfigsData {
68
+ attributes: AttributesConfig;
69
+ relationships: any[];
70
+ type: string;
71
+ }
72
+ export interface ResponseConfigs {
73
+ data: ConfigsData;
74
+ success: boolean;
75
+ error: boolean;
76
+ message: string;
77
+ status: number;
78
+ }
79
+ export declare const getCheckoutPageConfigs: () => Promise<ResponseConfigs>;
47
80
  export declare const getSeatMapData: (eventId: string | number) => Promise<SeatMapDataResponse>;
48
81
  export declare const getSeatMapStatuses: (eventId: string | number) => Promise<SeatMapStatusesResponse>;
49
82
  export declare const reserveSeat: (eventId: string | number, tierId: string, seatId: string) => Promise<any>;