@hubs101/js-api-skd-client 1.0.10226 → 1.0.10227

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.
@@ -590,4 +590,112 @@ export type Booking = {
590
590
  order: Order[];
591
591
  invoice: Invoice;
592
592
  };
593
+ export type BookingDetails = {
594
+ accepted_at: string;
595
+ booking: {
596
+ code: string;
597
+ date: string;
598
+ };
599
+ booking_answers: {
600
+ answers: any[];
601
+ count: number;
602
+ };
603
+ booking_questions: any[];
604
+ event: {
605
+ end_date: string;
606
+ id: string;
607
+ name: string;
608
+ images: {
609
+ logo: string;
610
+ logoTransparent: string;
611
+ picture: string;
612
+ thumbnail: string;
613
+ };
614
+ slug: string;
615
+ start_date: string;
616
+ timezone: string;
617
+ };
618
+ id: string;
619
+ onsite: boolean;
620
+ profile: string;
621
+ registration: {
622
+ about: string;
623
+ address: {
624
+ city: string;
625
+ country: string;
626
+ postalCode: string;
627
+ state: string;
628
+ street: string;
629
+ };
630
+ company: {
631
+ about: string;
632
+ facebook: string;
633
+ industry: string;
634
+ instagram: string;
635
+ linkedin: string;
636
+ logo: string;
637
+ name: string;
638
+ size: string;
639
+ thumbnail: string;
640
+ twitter: string;
641
+ typeOfBusiness: string;
642
+ website1: string;
643
+ xing: string;
644
+ };
645
+ contact: {
646
+ email: string;
647
+ facebook: string;
648
+ instagram: string;
649
+ linkedin: string;
650
+ mobile: string;
651
+ phone: string;
652
+ twitter: string;
653
+ website1: string;
654
+ website2: string;
655
+ xing: string;
656
+ };
657
+ first_name: string;
658
+ images: {
659
+ avatar: string;
660
+ picture: string;
661
+ thumbnail: string;
662
+ };
663
+ job: {
664
+ level: string;
665
+ responsibility: string;
666
+ title: string;
667
+ };
668
+ last_name: string;
669
+ salutation: string;
670
+ public_contact: {
671
+ email: string;
672
+ facebook: string;
673
+ instagram: string;
674
+ linkedin: string;
675
+ mobile: string;
676
+ phone: string;
677
+ twitter: string;
678
+ website1: string;
679
+ website2: string;
680
+ xing: string;
681
+ };
682
+ };
683
+ roles: any[];
684
+ ticket: {
685
+ assigned: any;
686
+ attendeeType: string;
687
+ basePrice: number;
688
+ code: string;
689
+ description: string;
690
+ discount: number;
691
+ discountAvailable: boolean;
692
+ extraOptions: any[];
693
+ id: string;
694
+ includedOptions: any[];
695
+ name: string;
696
+ onsite: boolean;
697
+ price: number;
698
+ reference: string;
699
+ };
700
+ };
593
701
  export {};
@@ -2,7 +2,7 @@ import { Attendee, AttendeeInput, AttendeeProfile, Note, NoteUpdateInput, UserNo
2
2
  import { RegisterManagerInput, ResponseAccountEventsType } from "../api/authentication/types";
3
3
  import { CalendarEvent } from "../api/calendar/types";
4
4
  import { LoginResponse, SendResetPasswordBody } from "../api/context/types";
5
- import { Account, AccountInput, Answer, Booking, DocumentType, Event, EventLocation, EventRegistration, EventServerResponse, EventStream, Exhibition, ExhibitionInput, GroupServerResponse, OptionServerResponse, Stream, StreamInput, TicketServerResponse, UserRegistrationsEvent, ZoomParams } from "../api/event/types";
5
+ import { Account, AccountInput, Answer, Booking, BookingDetails, DocumentType, Event, EventLocation, EventRegistration, EventServerResponse, EventStream, Exhibition, ExhibitionInput, GroupServerResponse, OptionServerResponse, Stream, StreamInput, TicketServerResponse, UserRegistrationsEvent, ZoomParams } from "../api/event/types";
6
6
  import { EventMeetingStatisticsItem, MeetingItem } from "../api/meetings/types";
7
7
  import { Page } from "../api/pages/types";
8
8
  import { CommentBody, Post, PostBody, UpdatePostBody } from "../api/posts/types";
@@ -81,7 +81,7 @@ export type BaseAPIType = {
81
81
  pinExhibition: (basePath: string, token: string, exhibitionId: string) => Promise<boolean>;
82
82
  unpinExhibition: (basePath: string, token: string, exhibitionId: string) => Promise<boolean>;
83
83
  fetchEventGroups: (basePath: string, token: string, eventId: string) => Promise<GroupServerResponse[]>;
84
- fetchTicketDetails: (basePath: string, eventId: string, profileId: string, access: string) => Promise<any>;
84
+ fetchTicketDetails: (basePath: string, eventId: string, profileId: string, access: string) => Promise<ResponsePaginationType<BookingDetails>>;
85
85
  fetchEventBookings: (basePath: string, token: string, eventId: string) => Promise<ResponsePaginationType<Booking>>;
86
86
  createFreeTrialAccount: (basePath: string, token: string, data: any) => Promise<any>;
87
87
  eventInvitationRegistration: (basePath: string, token: string, userId: string, data: any) => Promise<any>;
@@ -271,7 +271,7 @@ export type EventAPIType = {
271
271
  pinExhibition: (exhibitionId: string) => Promise<boolean>;
272
272
  unpinExhibition: (exhibitionId: string) => Promise<boolean>;
273
273
  fetchEventGroups: (eventId: string) => Promise<GroupServerResponse[]>;
274
- fetchTicketDetails: (eventId: string, profileId: string, access: string) => Promise<any>;
274
+ fetchTicketDetails: (eventId: string, profileId: string, access: string) => Promise<ResponsePaginationType<BookingDetails>>;
275
275
  fetchEventBookings: (eventId: string) => Promise<ResponsePaginationType<Booking>>;
276
276
  createFreeTrialAccount: (data: any) => Promise<any>;
277
277
  eventInvitationRegistration: (userId: string, data: any) => Promise<any>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hubs101/js-api-skd-client",
3
- "version": "1.0.10226",
3
+ "version": "1.0.10227",
4
4
  "author": "Liveware",
5
5
  "scripts": {
6
6
  "test": "jest --config jestconfig.json",