@hubs101/js-api-skd-client 1.0.10505 → 1.0.10509
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/api/attendee/index.d.ts +1 -0
- package/lib/api/attendee/index.js +8 -1
- package/lib/api/authentication/index.d.ts +0 -1
- package/lib/api/authentication/index.js +1 -7
- package/lib/api/event/index.d.ts +3 -2
- package/lib/api/event/index.js +9 -3
- package/lib/index.js +15 -3
- package/lib/types/base.d.ts +8 -4
- package/package.json +1 -1
|
@@ -40,3 +40,4 @@ export declare const _resendWelcomeEmail: (basePath: string, token: string, atte
|
|
|
40
40
|
export declare const _hideAttendee: (basePath: string, token: string, attendeeId: string) => Promise<any>;
|
|
41
41
|
export declare const _showAttendee: (basePath: string, token: string, attendeeId: string) => Promise<any>;
|
|
42
42
|
export declare const _updateVisibilityAttendee: (basePath: string, token: string, attendeeId: string, visibility: string) => Promise<SuccessResponse>;
|
|
43
|
+
export declare const _fetchAttendeeDetails: (basePath: string, token: string, attendeeId: string) => Promise<AttendeeProfile>;
|
|
@@ -9,7 +9,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
9
9
|
});
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports._updateVisibilityAttendee = exports._showAttendee = exports._hideAttendee = exports._resendWelcomeEmail = exports._addOnsiteAttendee = exports._removeOnsiteAttendee = exports._checkAvailabilityAttendee = exports._resendConfirmationEmail = exports._confirmAttendee = exports._deleteAllUserNotifications = exports._deleteUserNotification = exports._markUserNotificationAsRead = exports._fetchUserNotifications = exports._deleteNote = exports._updateNote = exports._createNote = exports._fetchMyNotes = exports._reportAttendeeAction = exports._importProfileFromLinkedIn = exports._createAttendee = exports._sendAttendeeOnboardingAnswers = exports._checkout = exports._checkIn = exports._confirmMyEventInvitation = exports._unpinAttendee = exports._pinAttendee = exports._removeConnection = exports._addConnection = exports._fetchMyConnections = exports._updateGlobalAttendee = exports._updateGlobalAttendeeImage = exports._updateAttendee = exports._updateAttendeeImage = exports._fetchMyUser = exports._fetchAttendees = exports._fetchAttendeeProfile = void 0;
|
|
12
|
+
exports._fetchAttendeeDetails = exports._updateVisibilityAttendee = exports._showAttendee = exports._hideAttendee = exports._resendWelcomeEmail = exports._addOnsiteAttendee = exports._removeOnsiteAttendee = exports._checkAvailabilityAttendee = exports._resendConfirmationEmail = exports._confirmAttendee = exports._deleteAllUserNotifications = exports._deleteUserNotification = exports._markUserNotificationAsRead = exports._fetchUserNotifications = exports._deleteNote = exports._updateNote = exports._createNote = exports._fetchMyNotes = exports._reportAttendeeAction = exports._importProfileFromLinkedIn = exports._createAttendee = exports._sendAttendeeOnboardingAnswers = exports._checkout = exports._checkIn = exports._confirmMyEventInvitation = exports._unpinAttendee = exports._pinAttendee = exports._removeConnection = exports._addConnection = exports._fetchMyConnections = exports._updateGlobalAttendee = exports._updateGlobalAttendeeImage = exports._updateAttendee = exports._updateAttendeeImage = exports._fetchMyUser = exports._fetchAttendees = exports._fetchAttendeeProfile = void 0;
|
|
13
13
|
const api_1 = require("../../utils/api");
|
|
14
14
|
const base_1 = require("../../utils/base");
|
|
15
15
|
const _fetchAttendeeProfile = (basePath, token, attendeeId) => __awaiter(void 0, void 0, void 0, function* () {
|
|
@@ -247,3 +247,10 @@ const _updateVisibilityAttendee = (basePath, token, attendeeId, visibility) => _
|
|
|
247
247
|
return response;
|
|
248
248
|
});
|
|
249
249
|
exports._updateVisibilityAttendee = _updateVisibilityAttendee;
|
|
250
|
+
const _fetchAttendeeDetails = (basePath, token, attendeeId) => __awaiter(void 0, void 0, void 0, function* () {
|
|
251
|
+
var _a;
|
|
252
|
+
const base = (0, base_1.getBasePath)(basePath);
|
|
253
|
+
const attendee = yield (0, api_1.getRequest)(`${base.ATTENDEES}/${attendeeId}`, token);
|
|
254
|
+
return ((_a = attendee === null || attendee === void 0 ? void 0 : attendee.data) === null || _a === void 0 ? void 0 : _a.data) || (attendee === null || attendee === void 0 ? void 0 : attendee.data) || attendee;
|
|
255
|
+
});
|
|
256
|
+
exports._fetchAttendeeDetails = _fetchAttendeeDetails;
|
|
@@ -28,4 +28,3 @@ export declare const _fetchColocatedEvents: (basePath: string, token: string, ac
|
|
|
28
28
|
export declare const _createColocatedEvents: (basePath: string, token: string, accountId: string, data: ColocatedEventsGroupInputType) => Promise<ColocatedEventsGroupType>;
|
|
29
29
|
export declare const _editColocatedEvents: (basePath: string, token: string, id: string, data: ColocatedEventsGroupInputType) => Promise<ColocatedEventsGroupType>;
|
|
30
30
|
export declare const _deleteColocatedEvents: (basePath: string, token: string, id: string) => Promise<string>;
|
|
31
|
-
export declare const _editPackages: (basePath: string, token: string, accountId: string, data: any) => Promise<any>;
|
|
@@ -9,7 +9,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
9
9
|
});
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.
|
|
12
|
+
exports._deleteColocatedEvents = exports._editColocatedEvents = exports._createColocatedEvents = exports._fetchColocatedEvents = exports._updateAccountGroup = exports._createAccountGroup = exports._fetchAccountGroups = exports._fetchAccountEvents = exports._deletePaymentAccount = exports._deleteFinanceManager = exports._inviteFinanceManager = exports._confirmManagerNative = exports._confirmManager = exports._registerManagerNative = exports._registerManager = exports._deleteContentManager = exports._inviteContentManager = exports._updatePaymentAccount = exports._createPaymentAccount = exports._fetchPaymentAccounts = exports._fetchPaymentAccount = exports._sendNewPassword = exports._resetPassword = exports._logout = exports._login = void 0;
|
|
13
13
|
const api_1 = require("../../utils/api");
|
|
14
14
|
const base_1 = require("../../utils/base");
|
|
15
15
|
const _login = (basePath, email, password) => __awaiter(void 0, void 0, void 0, function* () {
|
|
@@ -169,9 +169,3 @@ const _deleteColocatedEvents = (basePath, token, id) => __awaiter(void 0, void 0
|
|
|
169
169
|
return response;
|
|
170
170
|
});
|
|
171
171
|
exports._deleteColocatedEvents = _deleteColocatedEvents;
|
|
172
|
-
const _editPackages = (basePath, token, accountId, data) => __awaiter(void 0, void 0, void 0, function* () {
|
|
173
|
-
const base = (0, base_1.getBasePath)(basePath);
|
|
174
|
-
const res = yield (0, api_1.putRequest)(`${base.ACCOUNTS}/${accountId}/packages`, token, data);
|
|
175
|
-
return res;
|
|
176
|
-
});
|
|
177
|
-
exports._editPackages = _editPackages;
|
package/lib/api/event/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Account, AccountInput, BlogPage, BlogPageInput, Booking, BookingDetails, Directory, DirectoryFiles, DiscountServerResponse, DocumentType, Event, EventLocation, EventRegistration, EventServerResponse, EventStream, Exhibition, ExhibitionInput, FileDetails, GroupServerResponse, OptionServerResponse, Portfolio, PortfolioInput, Stream, StreamInput, TicketServerResponse, UserRegistrationsEvent, ZoomParams } from "./types";
|
|
2
|
-
import { ExhibitionReport, FetchCurrentEventAttendeesActionsResponse } from "../types";
|
|
3
1
|
import { GenericResponseServerType, ResponsePaginationType, ResponseServerType } from "../public/types";
|
|
2
|
+
import { ExhibitionReport, FetchCurrentEventAttendeesActionsResponse } from "../types";
|
|
3
|
+
import { Account, AccountInput, BlogPage, BlogPageInput, Booking, BookingDetails, Directory, DirectoryFiles, DiscountServerResponse, DocumentType, Event, EventLocation, EventRegistration, EventServerResponse, EventStream, Exhibition, ExhibitionInput, FileDetails, GroupServerResponse, OptionServerResponse, Portfolio, PortfolioInput, Stream, StreamInput, TicketServerResponse, UserRegistrationsEvent, ZoomParams } from "./types";
|
|
4
4
|
import { APIResponse } from "../../types/base";
|
|
5
5
|
import { Page } from "../pages/types";
|
|
6
6
|
export declare const _fetchEventRegistrations: (basePath: string, token: string, eventId: string) => Promise<EventRegistration[]>;
|
|
@@ -41,6 +41,7 @@ export declare const _fetchUserRegistrationsEvents: (basePath: string, token: st
|
|
|
41
41
|
export declare const _fetchEventDocuments: (basePath: string, token: string, eventId: string) => Promise<DocumentType[]>;
|
|
42
42
|
export declare const _assignDocumentToEvent: (basePath: string, token: string, eventId: string, documentId: string) => Promise<any>;
|
|
43
43
|
export declare const _createDocument: (basePath: string, token: string, files: any, data: any) => Promise<any>;
|
|
44
|
+
export declare const _createExhibitionDocument: (basePath: string, token: string, exhibitionId: string, files: any, data: any) => Promise<any>;
|
|
44
45
|
export declare const _updateDocument: (basePath: string, token: string, documentId: string, data: any) => Promise<any>;
|
|
45
46
|
export declare const _deleteDocument: (basePath: string, token: string, documentId: string) => Promise<any>;
|
|
46
47
|
export declare const _reportExhibitionAction: (basePath: string, token: string, exhibitionId: string, requestData: ExhibitionReport) => Promise<void>;
|
package/lib/api/event/index.js
CHANGED
|
@@ -9,9 +9,9 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
9
9
|
});
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.
|
|
13
|
-
exports.
|
|
14
|
-
exports._updateEventWebsite = exports._addMediaFolder = exports._deleteMediaDirectoryFiles = exports._deleteMediaDirectories = exports._renameFolder = exports._uploadImageToFolder = exports._fetchMediaFileDetails = exports._fetchMediaDirectoryFiles = exports._fetchMediaDirectories = exports._deletePortfolioBlogPage = void 0;
|
|
12
|
+
exports._resendBookingEmail = exports._resendTicketEmail = exports._fetchEventAttendeeActions = exports._fetchEventGroups = exports._unpinExhibition = exports._pinExhibition = exports._unpinDocument = exports._pinDocument = exports._reportExhibitionAction = exports._deleteDocument = exports._updateDocument = exports._createExhibitionDocument = exports._createDocument = exports._assignDocumentToEvent = exports._fetchEventDocuments = exports._fetchUserRegistrationsEvents = exports._fetchEventStreams = exports._fetchEventLocations = exports._deleteLocation = exports._updateLocation = exports._createLocation = exports._fetchExhibitionDetails = exports._deleteDiscount = exports._updateDiscount = exports._createDiscount = exports._fetchEventDiscounts = exports._deleteTicket = exports._updateTicket = exports._createTicket = exports._deleteOption = exports._updateOption = exports._createOption = exports._deleteGroup = exports._deleteSpeakerRole = exports._updateSpeakerRole = exports._updateGroup = exports._createGroup = exports._importAgenda = exports._fetchAttendeesAvailabilities = exports._updateEventTemplates = exports._fetchEventTemplates = exports._fetchEventNotifications = exports._sendSingleNotification = exports._sendNotification = exports._fetchEventDetails = exports._fetchExhibitions = exports._fetchEventsForAccount = exports._fetchTickets = exports._fetchAccounts = exports._fetchEventRegistrations = void 0;
|
|
13
|
+
exports._createBlogPage = exports._fetchBlogPages = exports._fetchPortfolioEvents = exports._fetchPortfolioDetails = exports._updatePortfolio = exports._createPortfolio = exports._unassignPortfolio = exports._assignPortfolio = exports._deletePortfolio = exports._fetchPortfolios = exports._deleteExhibition = exports._updateExhibition = exports._importExhibition = exports._createExhibition = exports._fetchMyExhibitions = exports._fetchAllExhibitions = exports._deleteStream = exports._updateStream = exports._createStream = exports._fetchYoutubeContent = exports._fetchZoomContent = exports._createEvent = exports._unassignPaymentAccount = exports._assignPaymentAccount = exports._fetchEventOptions = exports._fetchEventTickets = exports._updateEvent = exports._deletePage = exports._updatePage = exports._createPage = exports._fetchEventPages = exports._updateAccountWithFiles = exports._fetchMySessions = exports._fetchEditableEvents = exports._fetchSpeakers = exports._fetchAccountDetails = exports._eventInvitationRegistration = exports._createFreeTrialAccount = exports._fetchEventOrderedTickets = exports._confirmBooking = exports._fetchEventBookings = exports._acceptInternTicket = exports._acceptTicket = exports._postTicketDetails = exports._fetchTicketDetails = exports._assignTicket = exports._fetchAccountBookings = exports._fetchMyBookings = exports._createBooking = exports._checkBooking = void 0;
|
|
14
|
+
exports._updateEventWebsite = exports._addMediaFolder = exports._deleteMediaDirectoryFiles = exports._deleteMediaDirectories = exports._renameFolder = exports._uploadImageToFolder = exports._fetchMediaFileDetails = exports._fetchMediaDirectoryFiles = exports._fetchMediaDirectories = exports._deletePortfolioBlogPage = exports._updatePortfolioBlogPage = void 0;
|
|
15
15
|
const api_1 = require("../../utils/api");
|
|
16
16
|
const base_1 = require("../../utils/base");
|
|
17
17
|
const _fetchEventRegistrations = (basePath, token, eventId) => __awaiter(void 0, void 0, void 0, function* () {
|
|
@@ -252,6 +252,12 @@ const _createDocument = (basePath, token, files, data) => __awaiter(void 0, void
|
|
|
252
252
|
return response;
|
|
253
253
|
});
|
|
254
254
|
exports._createDocument = _createDocument;
|
|
255
|
+
const _createExhibitionDocument = (basePath, token, exhibitionId, files, data) => __awaiter(void 0, void 0, void 0, function* () {
|
|
256
|
+
const base = (0, base_1.getBasePath)(basePath);
|
|
257
|
+
const { data: response } = yield (0, api_1.postFilesAndDataRequest)(`${base.EXHIBITIONS}/${exhibitionId}/documents`, data, files, token);
|
|
258
|
+
return response;
|
|
259
|
+
});
|
|
260
|
+
exports._createExhibitionDocument = _createExhibitionDocument;
|
|
255
261
|
const _updateDocument = (basePath, token, documentId, data) => __awaiter(void 0, void 0, void 0, function* () {
|
|
256
262
|
const base = (0, base_1.getBasePath)(basePath);
|
|
257
263
|
const response = yield (0, api_1.postFilesAndDataRequest)(`${base.DOCUMENTS}/${documentId}`, data, [], token, "put");
|
package/lib/index.js
CHANGED
|
@@ -51,15 +51,15 @@ const event_1 = require("./api/event");
|
|
|
51
51
|
const posts_1 = require("./api/posts");
|
|
52
52
|
// index.ts
|
|
53
53
|
const attendee_1 = require("./api/attendee");
|
|
54
|
+
const authentication_1 = require("./api/authentication");
|
|
54
55
|
const calendar_1 = require("./api/calendar");
|
|
55
56
|
const meetings_1 = require("./api/meetings");
|
|
56
|
-
const
|
|
57
|
+
const public_1 = require("./api/public");
|
|
57
58
|
const sessions_1 = require("./api/sessions");
|
|
58
59
|
const tracks_1 = require("./api/tracks");
|
|
59
|
-
const public_1 = require("./api/public");
|
|
60
60
|
const pages_1 = require("./api/pages");
|
|
61
|
-
const hooks_1 = require("./utils/hooks");
|
|
62
61
|
const api_1 = require("./utils/api");
|
|
62
|
+
const hooks_1 = require("./utils/hooks");
|
|
63
63
|
function EventAPIProvider(props) {
|
|
64
64
|
const [config, setConfig] = (0, hooks_1.useSetState)({});
|
|
65
65
|
const init = react_1.default.useCallback((baseUrl, email, password) => __awaiter(this, void 0, void 0, function* () {
|
|
@@ -391,6 +391,10 @@ function EventAPIProvider(props) {
|
|
|
391
391
|
(0, api_1.validateConfig)(config);
|
|
392
392
|
return (0, event_1._createDocument)(config.baseUrl, config.token, files, data);
|
|
393
393
|
}), [config, config.baseUrl, config.token]);
|
|
394
|
+
const createExhibitionDocument = (0, react_1.useCallback)((exhibitionId, files, data) => __awaiter(this, void 0, void 0, function* () {
|
|
395
|
+
(0, api_1.validateConfig)(config);
|
|
396
|
+
return (0, event_1._createExhibitionDocument)(config.baseUrl, config.token, exhibitionId, files, data);
|
|
397
|
+
}), [config, config.baseUrl, config.token]);
|
|
394
398
|
const createTrack = (0, react_1.useCallback)((data) => __awaiter(this, void 0, void 0, function* () {
|
|
395
399
|
(0, api_1.validateConfig)(config);
|
|
396
400
|
return (0, tracks_1._createTrack)(config.baseUrl, config.token, data);
|
|
@@ -976,6 +980,10 @@ function EventAPIProvider(props) {
|
|
|
976
980
|
(0, api_1.validateConfig)(config);
|
|
977
981
|
return (0, event_1._renameFolder)(config.baseUrl, config.token, accountId, path, name_old, name_new);
|
|
978
982
|
}), [config, config.baseUrl, config.token]);
|
|
983
|
+
const fetchAttendeeDetails = (0, react_1.useCallback)((attendeeId) => __awaiter(this, void 0, void 0, function* () {
|
|
984
|
+
(0, api_1.validateConfig)(config);
|
|
985
|
+
return (0, attendee_1._fetchAttendeeDetails)(config.baseUrl, config.token, attendeeId);
|
|
986
|
+
}), [config, config.baseUrl, config.token]);
|
|
979
987
|
return (react_1.default.createElement(EventAPIContext_1.default.Provider, { value: {
|
|
980
988
|
config,
|
|
981
989
|
init,
|
|
@@ -1051,6 +1059,7 @@ function EventAPIProvider(props) {
|
|
|
1051
1059
|
createLocation,
|
|
1052
1060
|
deleteDocument,
|
|
1053
1061
|
createDocument,
|
|
1062
|
+
createExhibitionDocument,
|
|
1054
1063
|
assignDocumentToEvent,
|
|
1055
1064
|
updateDocument,
|
|
1056
1065
|
createTrack,
|
|
@@ -1202,6 +1211,7 @@ function EventAPIProvider(props) {
|
|
|
1202
1211
|
fetchMediaFileDetails,
|
|
1203
1212
|
uploadImageToFolder,
|
|
1204
1213
|
renameFolder,
|
|
1214
|
+
fetchAttendeeDetails,
|
|
1205
1215
|
} }, props.children));
|
|
1206
1216
|
}
|
|
1207
1217
|
exports.BaseAPI = {
|
|
@@ -1274,6 +1284,7 @@ exports.BaseAPI = {
|
|
|
1274
1284
|
deleteLocation: event_1._deleteLocation,
|
|
1275
1285
|
deleteDocument: event_1._deleteDocument,
|
|
1276
1286
|
createDocument: event_1._createDocument,
|
|
1287
|
+
createExhibitionDocument: event_1._createExhibitionDocument,
|
|
1277
1288
|
assignDocumentToEvent: event_1._assignDocumentToEvent,
|
|
1278
1289
|
updateDocument: event_1._updateDocument,
|
|
1279
1290
|
createTrack: tracks_1._createTrack,
|
|
@@ -1428,5 +1439,6 @@ exports.BaseAPI = {
|
|
|
1428
1439
|
fetchMediaFileDetails: event_1._fetchMediaFileDetails,
|
|
1429
1440
|
uploadImageToFolder: event_1._uploadImageToFolder,
|
|
1430
1441
|
renameFolder: event_1._renameFolder,
|
|
1442
|
+
fetchAttendeeDetails: attendee_1._fetchAttendeeDetails,
|
|
1431
1443
|
};
|
|
1432
1444
|
exports.useAPIContext = EventAPIContext_1.useAPIContext;
|
package/lib/types/base.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { Account, AccountInput, BlogPage, BlogPageInput, Booking, BookingDetails, Directory, DirectoryFiles, DiscountServerResponse, DocumentType, Event, EventLocation, EventRegistration, EventServerResponse, EventStream, Exhibition, ExhibitionInput, FileDetails, GroupServerResponse, GroupType, OptionServerResponse, Portfolio, PortfolioInput, Stream, StreamInput, TicketServerResponse, UserRegistrationsEvent, ZoomParams } from "../api/event/types";
|
|
2
1
|
import { Attendee, AttendeeInput, AttendeeProfile, Note, NoteUpdateInput, UserNotification } from "../api/attendee/types";
|
|
3
|
-
import { AttendeeReport, ExhibitionReport, FetchCurrentEventAttendeesActionsResponse, SessionReport, SuccessResponse } from "../api/types";
|
|
4
2
|
import { ColocatedEventsGroupInputType, ColocatedEventsGroupType, GroupInputType, GroupResponseType, PublicGroupResponseType, RegisterManagerInput, ResponseAccountEventsType } from "../api/authentication/types";
|
|
5
|
-
import {
|
|
3
|
+
import { LoginResponse, SendResetPasswordBody } from "../api/context/types";
|
|
4
|
+
import { Account, AccountInput, BlogPage, BlogPageInput, Booking, BookingDetails, Directory, DirectoryFiles, DiscountServerResponse, DocumentType, Event, EventLocation, EventRegistration, EventServerResponse, EventStream, Exhibition, ExhibitionInput, FileDetails, GroupServerResponse, GroupType, OptionServerResponse, Portfolio, PortfolioInput, Stream, StreamInput, TicketServerResponse, UserRegistrationsEvent, ZoomParams } from "../api/event/types";
|
|
6
5
|
import { EventMeetingStatisticsItem, MeetingItem } from "../api/meetings/types";
|
|
6
|
+
import { CommentBody, Post, PostBody, UpdatePostBody } from "../api/posts/types";
|
|
7
7
|
import { GenericResponseServerType, PublicEventItem, ResponsePaginationType, ResponseServerType } from "../api/public/types";
|
|
8
|
-
import { LoginResponse, SendResetPasswordBody } from "../api/context/types";
|
|
9
8
|
import { Session, SessionFull, SessionInput } from "../api/sessions/types";
|
|
9
|
+
import { AttendeeReport, ExhibitionReport, FetchCurrentEventAttendeesActionsResponse, SessionReport, SuccessResponse } from "../api/types";
|
|
10
10
|
import { CalendarEvent } from "../api/calendar/types";
|
|
11
11
|
import { Page } from "../api/pages/types";
|
|
12
12
|
import { Track } from "../api/tracks/types";
|
|
@@ -145,6 +145,7 @@ export type BaseAPIType = {
|
|
|
145
145
|
deleteDocument: (basePath: string, token: string, documentId: string) => Promise<any>;
|
|
146
146
|
updateDocument: (basePath: string, token: string, documentId: string, data: any) => Promise<any>;
|
|
147
147
|
createDocument: (basePath: string, token: string, files: any, data: any) => Promise<any>;
|
|
148
|
+
createExhibitionDocument: (basePath: string, token: string, exhibitionId: string, files: any, data: any) => Promise<any>;
|
|
148
149
|
assignDocumentToEvent: (basePath: string, token: string, eventId: string, documentId: string) => Promise<any>;
|
|
149
150
|
createTrack: (basePath: string, token: string, data: any) => Promise<any>;
|
|
150
151
|
updateTrack: (basePath: string, token: string, trackId: string, data: any) => Promise<any>;
|
|
@@ -323,6 +324,7 @@ export type BaseAPIType = {
|
|
|
323
324
|
fetchMediaFileDetails: (basePath: string, token: string, accountId: string, filepath: string) => Promise<FileDetails>;
|
|
324
325
|
uploadImageToFolder: (basePath: string, token: string, accountId: string, folderPath: string, fileName: string, blob: Blob) => Promise<APIResponse>;
|
|
325
326
|
renameFolder: (basePath: string, token: string, accountId: string, path: string, name_old: string, name_new: string) => Promise<APIResponse>;
|
|
327
|
+
fetchAttendeeDetails: (basePath: string, token: string, attendeeId: string) => Promise<AttendeeProfile>;
|
|
326
328
|
};
|
|
327
329
|
export type EventAPIType = {
|
|
328
330
|
config: BaseAPIConfigType;
|
|
@@ -399,6 +401,7 @@ export type EventAPIType = {
|
|
|
399
401
|
deleteDocument: (documentId: string) => Promise<any>;
|
|
400
402
|
updateDocument: (documentId: string, data: any) => Promise<any>;
|
|
401
403
|
createDocument: (files: any, data: any) => Promise<any>;
|
|
404
|
+
createExhibitionDocument: (exhibitionId: string, files: any, data: any) => Promise<any>;
|
|
402
405
|
assignDocumentToEvent: (eventId: string, documentId: string) => Promise<any>;
|
|
403
406
|
createTrack: (data: any) => Promise<any>;
|
|
404
407
|
updateTrack: (trackId: string, data: any) => Promise<any>;
|
|
@@ -574,6 +577,7 @@ export type EventAPIType = {
|
|
|
574
577
|
fetchMediaFileDetails: (accountId: string, filepath: string) => Promise<FileDetails>;
|
|
575
578
|
uploadImageToFolder: (accountId: string, folderPath: string, fileName: string, blob: Blob) => Promise<APIResponse>;
|
|
576
579
|
renameFolder: (accountId: string, path: string, name_old: string, name_new: string) => Promise<APIResponse>;
|
|
580
|
+
fetchAttendeeDetails: (attendeeId: string) => Promise<AttendeeProfile>;
|
|
577
581
|
};
|
|
578
582
|
export type BaseAPIConfigType = {
|
|
579
583
|
baseUrl?: string;
|