@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.
Files changed (43) hide show
  1. package/api/v4/enums/PROVIDER_ID.d.ts +2 -1
  2. package/api/v4/enums/PROVIDER_NAME.d.ts +2 -1
  3. package/api/v4/models/TourAndTickets.d.ts +2 -0
  4. package/helper/index.d.ts +2 -2
  5. package/index.js +1 -1
  6. package/index.js.map +1 -1
  7. package/package.json +1 -1
  8. package/providers/index.d.ts +3 -1
  9. package/providers/toristy/CancellationPolicy.d.ts +5 -0
  10. package/providers/toristy/CatalogGroup.d.ts +6 -0
  11. package/providers/toristy/Category.d.ts +4 -0
  12. package/providers/toristy/Image.d.ts +6 -0
  13. package/providers/toristy/Location.d.ts +10 -0
  14. package/providers/toristy/Meta.d.ts +3 -0
  15. package/providers/toristy/Price.d.ts +6 -0
  16. package/providers/toristy/Product.d.ts +32 -0
  17. package/providers/toristy/ProductDetails.d.ts +32 -0
  18. package/providers/toristy/ProductDetailsResponse.d.ts +12 -0
  19. package/providers/toristy/Service.d.ts +32 -0
  20. package/providers/toristy/ServiceDetails.d.ts +32 -0
  21. package/providers/toristy/ServiceDetailsResponse.d.ts +12 -0
  22. package/providers/toristy/ServiceProvider.d.ts +6 -0
  23. package/providers/toristy/ServiceResponse.d.ts +8 -0
  24. package/providers/toristy/ServiceVariant.d.ts +4 -0
  25. package/providers/toristy/index.d.ts +13 -0
  26. package/providers/victory/Address.d.ts +13 -0
  27. package/providers/victory/CatalogGroup.d.ts +6 -0
  28. package/providers/victory/Category.d.ts +9 -0
  29. package/providers/victory/Configuration.d.ts +9 -0
  30. package/providers/victory/Event.d.ts +36 -0
  31. package/providers/victory/EventDetail.d.ts +5 -0
  32. package/providers/victory/EventsResponse.d.ts +7 -0
  33. package/providers/victory/Meta.d.ts +13 -0
  34. package/providers/victory/ParentCategory.d.ts +8 -0
  35. package/providers/victory/Performance.d.ts +5 -0
  36. package/providers/victory/Performer.d.ts +7 -0
  37. package/providers/victory/Requirements.d.ts +5 -0
  38. package/providers/victory/SeatingChart.d.ts +4 -0
  39. package/providers/victory/TicketGroup.d.ts +29 -0
  40. package/providers/victory/TicketResponse.d.ts +5 -0
  41. package/providers/victory/UpcomingEvents.d.ts +4 -0
  42. package/providers/victory/Venue.d.ts +18 -0
  43. 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,6 @@
1
+ export type ServiceProvider = {
2
+ id: string;
3
+ name: string;
4
+ total_reviews: string;
5
+ rating?: string;
6
+ };
@@ -0,0 +1,8 @@
1
+ import { Meta } from './Meta';
2
+ import { Product } from './Product';
3
+ export type ServiceResponse = {
4
+ services: Product[];
5
+ nextPage: boolean;
6
+ totalServices: string;
7
+ meta: Meta;
8
+ };
@@ -0,0 +1,4 @@
1
+ export type ServiceVariant = {
2
+ id: string;
3
+ name: string;
4
+ };
@@ -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,6 @@
1
+ import { Event } from './Event';
2
+ export type CatalogGroup = {
3
+ title: string;
4
+ items: Event[];
5
+ parentTagIds: number[];
6
+ };
@@ -0,0 +1,9 @@
1
+ import { ParentCategory } from './ParentCategory';
2
+ export type Category = {
3
+ id: string;
4
+ name: string;
5
+ slug: string;
6
+ url: string;
7
+ slug_url: string;
8
+ parent: ParentCategory | null;
9
+ };
@@ -0,0 +1,9 @@
1
+ import { SeatingChart } from './SeatingChart';
2
+ export type Configuration = {
3
+ id: number;
4
+ url: string;
5
+ name: string;
6
+ fanvenues_key: string;
7
+ ticket_utils_id: number | null;
8
+ seating_chart: SeatingChart;
9
+ };
@@ -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,5 @@
1
+ import { Meta } from './Meta';
2
+ import { Event } from './Event';
3
+ export type EventDetail = Event & {
4
+ meta: Meta;
5
+ };
@@ -0,0 +1,7 @@
1
+ import { Event } from './Event';
2
+ export type EventsResponse = {
3
+ current_page: number;
4
+ per_page: number;
5
+ total_entries: number;
6
+ events: Event[];
7
+ };
@@ -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,8 @@
1
+ export type ParentCategory = {
2
+ id: string;
3
+ name: string;
4
+ slug: string;
5
+ url: string;
6
+ slug_url: string;
7
+ parent: null;
8
+ };
@@ -0,0 +1,5 @@
1
+ import { Performer } from './Performer';
2
+ export type Performance = {
3
+ performer: Performer;
4
+ primary: boolean;
5
+ };
@@ -0,0 +1,7 @@
1
+ export type Performer = {
2
+ id: number;
3
+ slug: string;
4
+ slug_url: string;
5
+ url: string;
6
+ name: string;
7
+ };
@@ -0,0 +1,5 @@
1
+ export type Requirements = {
2
+ face_value_display: boolean;
3
+ inclusive_pricing: boolean;
4
+ seat_number_display: boolean;
5
+ };
@@ -0,0 +1,4 @@
1
+ export type SeatingChart = {
2
+ medium: string;
3
+ large: string;
4
+ };
@@ -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,5 @@
1
+ import { TicketGroup } from './TicketGroup';
2
+ export type TicketResponse = {
3
+ total_entries: number;
4
+ ticket_groups: TicketGroup[];
5
+ };
@@ -0,0 +1,4 @@
1
+ export type UpcomingEvents = {
2
+ first: string;
3
+ last: string;
4
+ };
@@ -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';