@hubs101/js-api-skd-client 1.0.10408 → 1.0.10410
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/lib/types/base.d.ts +3 -2
- package/lib/utils/base.js +1 -1
- package/package.json +1 -1
package/lib/types/base.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Attendee, AttendeeInput, AttendeeProfile, Note, NoteUpdateInput, UserNotification } from "../api/attendee/types";
|
|
2
|
-
import { GroupInputType, GroupResponseType, RegisterManagerInput, ResponseAccountEventsType } from "../api/authentication/types";
|
|
2
|
+
import { GroupInputType, GroupResponseType, PublicGroupResponseType, RegisterManagerInput, ResponseAccountEventsType } from "../api/authentication/types";
|
|
3
3
|
import { LoginResponse, SendResetPasswordBody } from "../api/context/types";
|
|
4
4
|
import { Account, AccountInput, Answer, BlogPage, BlogPageInput, Booking, BookingDetails, DiscountServerResponse, DocumentType, Event, EventLocation, EventRegistration, EventServerResponse, EventStream, Exhibition, ExhibitionInput, GroupServerResponse, GroupType, OptionServerResponse, Portfolio, PortfolioInput, Stream, StreamInput, TicketServerResponse, UserRegistrationsEvent, ZoomParams } from "../api/event/types";
|
|
5
5
|
import { EventMeetingStatisticsItem, MeetingItem } from "../api/meetings/types";
|
|
@@ -300,7 +300,7 @@ export type BaseAPIType = {
|
|
|
300
300
|
}[]) => Promise<BlogPage>;
|
|
301
301
|
fetchBlogPages: (basePath: string, token: string, accountId: string, portfolioId?: string) => Promise<BlogPage[]>;
|
|
302
302
|
createAccountGroup: (basePath: string, token: string, accountId: string, data: GroupInputType) => Promise<GroupResponseType>;
|
|
303
|
-
getPublicGroupDetails: (basePath: string, groupId: string) => Promise<
|
|
303
|
+
getPublicGroupDetails: <T>(basePath: string, groupId: string) => Promise<PublicGroupResponseType<T>>;
|
|
304
304
|
};
|
|
305
305
|
export type EventAPIType = {
|
|
306
306
|
config: BaseAPIConfigType;
|
|
@@ -529,6 +529,7 @@ export type EventAPIType = {
|
|
|
529
529
|
}[]) => Promise<BlogPage>;
|
|
530
530
|
fetchBlogPages: (accountId: string, portfolioId?: string) => Promise<BlogPage[]>;
|
|
531
531
|
createAccountGroup: (accountId: string, data: GroupInputType) => Promise<GroupResponseType>;
|
|
532
|
+
getPublicGroupDetails: <T>(groupId: string) => Promise<PublicGroupResponseType<T>>;
|
|
532
533
|
};
|
|
533
534
|
export type BaseAPIConfigType = {
|
|
534
535
|
baseUrl?: string;
|
package/lib/utils/base.js
CHANGED
|
@@ -65,7 +65,7 @@ const getBasePath = (basePath) => {
|
|
|
65
65
|
PUBLIC_TICKETS: `${publicBasePath}/tickets`,
|
|
66
66
|
BOOKINGS: `${authorizedBasePath}/bookings`,
|
|
67
67
|
PUBLIC_BOOKINGS: `${unauthorizedBasePath}/bookings`,
|
|
68
|
-
PUBLIC_GROUPS: `${
|
|
68
|
+
PUBLIC_GROUPS: `${publicBasePath}/groups`,
|
|
69
69
|
ACTIONS_EVENTS: `${authorizedBasePath}/actions/events`,
|
|
70
70
|
ACTIONS_ATTENDEE: `${authorizedBasePath}/actions/attendees`,
|
|
71
71
|
});
|