@tripian/model 9.1.28 → 9.1.31
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/api/v4/enums/PROVIDER_ID.d.ts +2 -1
- package/api/v4/enums/PROVIDER_NAME.d.ts +2 -1
- package/api/v4/models/TourAndTickets.d.ts +2 -0
- package/helper/index.d.ts +2 -2
- package/index.js +1 -1
- package/index.js.map +1 -1
- package/package.json +1 -1
- package/providers/index.d.ts +3 -1
- package/providers/toristy/CancellationPolicy.d.ts +5 -0
- package/providers/toristy/CatalogGroup.d.ts +6 -0
- package/providers/toristy/Category.d.ts +4 -0
- package/providers/toristy/Image.d.ts +6 -0
- package/providers/toristy/Location.d.ts +10 -0
- package/providers/toristy/Meta.d.ts +3 -0
- package/providers/toristy/Price.d.ts +6 -0
- package/providers/toristy/Product.d.ts +32 -0
- package/providers/toristy/ProductDetails.d.ts +32 -0
- package/providers/toristy/ProductDetailsResponse.d.ts +12 -0
- package/providers/toristy/Service.d.ts +32 -0
- package/providers/toristy/ServiceDetails.d.ts +32 -0
- package/providers/toristy/ServiceDetailsResponse.d.ts +12 -0
- package/providers/toristy/ServiceProvider.d.ts +6 -0
- package/providers/toristy/ServiceResponse.d.ts +8 -0
- package/providers/toristy/ServiceVariant.d.ts +4 -0
- package/providers/toristy/index.d.ts +13 -0
- package/providers/victory/Address.d.ts +13 -0
- package/providers/victory/CatalogGroup.d.ts +6 -0
- package/providers/victory/Category.d.ts +9 -0
- package/providers/victory/Configuration.d.ts +9 -0
- package/providers/victory/Event.d.ts +36 -0
- package/providers/victory/EventDetail.d.ts +5 -0
- package/providers/victory/EventsResponse.d.ts +7 -0
- package/providers/victory/Meta.d.ts +13 -0
- package/providers/victory/ParentCategory.d.ts +8 -0
- package/providers/victory/Performance.d.ts +5 -0
- package/providers/victory/Performer.d.ts +7 -0
- package/providers/victory/Requirements.d.ts +5 -0
- package/providers/victory/SeatingChart.d.ts +4 -0
- package/providers/victory/TicketGroup.d.ts +29 -0
- package/providers/victory/TicketResponse.d.ts +5 -0
- package/providers/victory/UpcomingEvents.d.ts +4 -0
- package/providers/victory/Venue.d.ts +18 -0
- package/providers/victory/index.d.ts +17 -0
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { CancellationPolicy } from './CancellationPolicy';
|
|
2
|
+
import { Location } from './Location';
|
|
3
|
+
import { Image } from './Image';
|
|
4
|
+
import { Price } from './Price';
|
|
5
|
+
import { Category } from './Category';
|
|
6
|
+
import { ServiceProvider } from './ServiceProvider';
|
|
7
|
+
export type ServiceDetails = {
|
|
8
|
+
id: string;
|
|
9
|
+
systemtype: string;
|
|
10
|
+
name: string;
|
|
11
|
+
shortdescription: string;
|
|
12
|
+
description: string;
|
|
13
|
+
included: string;
|
|
14
|
+
excluded: string;
|
|
15
|
+
requirements: string;
|
|
16
|
+
attention: string;
|
|
17
|
+
location: Location;
|
|
18
|
+
images: Image[];
|
|
19
|
+
strength_channel: string;
|
|
20
|
+
servicetypeid: string;
|
|
21
|
+
serviceType: string;
|
|
22
|
+
categories: Category[];
|
|
23
|
+
serviceprovider: ServiceProvider;
|
|
24
|
+
lineOfBusinessId: string;
|
|
25
|
+
starting_price: Price;
|
|
26
|
+
cancellation_policy: CancellationPolicy[];
|
|
27
|
+
cancellation_text: string;
|
|
28
|
+
fullinformationbookinglink: string;
|
|
29
|
+
onlybookinglink: string;
|
|
30
|
+
onlybookingwithreviewslink: string;
|
|
31
|
+
apiurl: string;
|
|
32
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Meta } from './Meta';
|
|
2
|
+
import { ServiceDetails } from './ServiceDetails';
|
|
3
|
+
import { ServiceVariant } from './ServiceVariant';
|
|
4
|
+
export type ServiceDetailsResponse = {
|
|
5
|
+
service: ServiceDetails;
|
|
6
|
+
fullinformationbookinglink: string;
|
|
7
|
+
onlybookinglink: string;
|
|
8
|
+
onlybookingwithreviewslink: string;
|
|
9
|
+
apiurl: string;
|
|
10
|
+
serviceVariants: ServiceVariant[];
|
|
11
|
+
meta: Meta;
|
|
12
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export * from './CancellationPolicy';
|
|
2
|
+
export * from './CatalogGroup';
|
|
3
|
+
export * from './Category';
|
|
4
|
+
export * from './Image';
|
|
5
|
+
export * from './Location';
|
|
6
|
+
export * from './Meta';
|
|
7
|
+
export * from './Price';
|
|
8
|
+
export * from './Product';
|
|
9
|
+
export * from './ProductDetails';
|
|
10
|
+
export * from './ProductDetailsResponse';
|
|
11
|
+
export * from './ServiceProvider';
|
|
12
|
+
export * from './ServiceResponse';
|
|
13
|
+
export * from './ServiceVariant';
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export type Address = {
|
|
2
|
+
street_address: string;
|
|
3
|
+
extended_address: string;
|
|
4
|
+
locality: string;
|
|
5
|
+
region: string;
|
|
6
|
+
postal_code: string;
|
|
7
|
+
country_code: string;
|
|
8
|
+
location: string;
|
|
9
|
+
latitude: number;
|
|
10
|
+
longitude: number;
|
|
11
|
+
label: string | null;
|
|
12
|
+
created_at: string;
|
|
13
|
+
};
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { Address } from './Address';
|
|
2
|
+
import { Category } from './Category';
|
|
3
|
+
import { Configuration } from './Configuration';
|
|
4
|
+
import { Requirements } from './Requirements';
|
|
5
|
+
export type Event = {
|
|
6
|
+
available_count: number;
|
|
7
|
+
category: Category;
|
|
8
|
+
configuration: Configuration;
|
|
9
|
+
id: number;
|
|
10
|
+
long_term_popularity_score: number;
|
|
11
|
+
name: string;
|
|
12
|
+
notes: string | null;
|
|
13
|
+
occurs_at_local: string;
|
|
14
|
+
occurs_at: string;
|
|
15
|
+
owned_by_office: boolean;
|
|
16
|
+
performances: Performance[];
|
|
17
|
+
popularity_score: number;
|
|
18
|
+
products_count: number;
|
|
19
|
+
products_eticket_count: number;
|
|
20
|
+
promotion_label: string | null;
|
|
21
|
+
state: string;
|
|
22
|
+
tbd: boolean;
|
|
23
|
+
updated_at: string;
|
|
24
|
+
url: string;
|
|
25
|
+
venue: {
|
|
26
|
+
id: number;
|
|
27
|
+
slug: string;
|
|
28
|
+
url: string;
|
|
29
|
+
slug_url: string;
|
|
30
|
+
name: string;
|
|
31
|
+
location: string;
|
|
32
|
+
time_zone: string | null;
|
|
33
|
+
address: Address;
|
|
34
|
+
};
|
|
35
|
+
requirements: Requirements;
|
|
36
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export type Meta = {
|
|
2
|
+
meta_description: string | null;
|
|
3
|
+
meta_keywords: string | null;
|
|
4
|
+
nofollow: boolean;
|
|
5
|
+
noindex: boolean;
|
|
6
|
+
canonical_url: string | null;
|
|
7
|
+
page_title: string | null;
|
|
8
|
+
header_title: string | null;
|
|
9
|
+
paragraph_1: string | null;
|
|
10
|
+
paragraph_2: string | null;
|
|
11
|
+
paragraph_3: string | null;
|
|
12
|
+
image: string;
|
|
13
|
+
};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
export type TicketGroup = {
|
|
2
|
+
automated: boolean;
|
|
3
|
+
available_quantity: number;
|
|
4
|
+
discounted: boolean;
|
|
5
|
+
eticket: boolean;
|
|
6
|
+
featured: boolean;
|
|
7
|
+
format: string;
|
|
8
|
+
id: number;
|
|
9
|
+
in_hand: boolean;
|
|
10
|
+
in_hand_on: string;
|
|
11
|
+
instant_delivery: boolean;
|
|
12
|
+
owned: boolean;
|
|
13
|
+
public_notes: string;
|
|
14
|
+
quantity: number;
|
|
15
|
+
retail_price: number;
|
|
16
|
+
retail_price_inclusive: number;
|
|
17
|
+
row: string;
|
|
18
|
+
section: string;
|
|
19
|
+
service_fee: number;
|
|
20
|
+
signature?: string;
|
|
21
|
+
splits: number[];
|
|
22
|
+
tevo_section_name: string;
|
|
23
|
+
type: string;
|
|
24
|
+
view_type: string | null;
|
|
25
|
+
wheelchair: boolean;
|
|
26
|
+
wholesale_price: number;
|
|
27
|
+
face_value: number | null;
|
|
28
|
+
seller_cost: number | null;
|
|
29
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { Address } from './Address';
|
|
2
|
+
import { Meta } from './Meta';
|
|
3
|
+
import { UpcomingEvents } from './UpcomingEvents';
|
|
4
|
+
export type Venue = {
|
|
5
|
+
id: number;
|
|
6
|
+
name: string;
|
|
7
|
+
keywords: string;
|
|
8
|
+
popularity_score: string;
|
|
9
|
+
url: string;
|
|
10
|
+
slug_url: string;
|
|
11
|
+
location: string;
|
|
12
|
+
country_code: string;
|
|
13
|
+
updated_at: string;
|
|
14
|
+
address: Address;
|
|
15
|
+
upcoming_events: UpcomingEvents;
|
|
16
|
+
slug: string;
|
|
17
|
+
meta: Meta;
|
|
18
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export * from './Address';
|
|
2
|
+
export * from './CatalogGroup';
|
|
3
|
+
export * from './Category';
|
|
4
|
+
export * from './Configuration';
|
|
5
|
+
export * from './Event';
|
|
6
|
+
export * from './EventDetail';
|
|
7
|
+
export * from './EventsResponse';
|
|
8
|
+
export * from './Meta';
|
|
9
|
+
export * from './ParentCategory';
|
|
10
|
+
export * from './Performance';
|
|
11
|
+
export * from './Performer';
|
|
12
|
+
export * from './Requirements';
|
|
13
|
+
export * from './SeatingChart';
|
|
14
|
+
export * from './TicketGroup';
|
|
15
|
+
export * from './TicketResponse';
|
|
16
|
+
export * from './UpcomingEvents';
|
|
17
|
+
export * from './Venue';
|