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.
- package/dist/api/index.d.ts +34 -1
- package/dist/tf-checkout-react.cjs.development.js +244 -142
- package/dist/tf-checkout-react.cjs.development.js.map +1 -1
- package/dist/tf-checkout-react.cjs.production.min.js +1 -1
- package/dist/tf-checkout-react.cjs.production.min.js.map +1 -1
- package/dist/tf-checkout-react.esm.js +244 -142
- package/dist/tf-checkout-react.esm.js.map +1 -1
- package/package.json +3 -3
- package/src/api/index.ts +37 -1
- package/src/components/billing-info-container/index.tsx +120 -21
- package/src/components/myTicketsContainer/index.tsx +4 -3
- package/src/components/myTicketsContainer/tableConfig.tsx +1 -1
- package/src/components/seatMapContainer/SeatMapComponent.tsx +26 -22
- package/src/components/seatMapContainer/index.tsx +64 -71
- package/src/components/ticketsContainer/index.tsx +1 -0
- package/src/types/seatMap.d.ts +1 -0
package/dist/api/index.d.ts
CHANGED
|
@@ -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
|
|
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>;
|