@hubs101/js-api-skd-client 1.0.10623 → 1.0.10624
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/event/index.d.ts
CHANGED
|
@@ -17,7 +17,7 @@ export declare const _fetchEventNotifications: (basePath: string, token: string,
|
|
|
17
17
|
export declare const _fetchEventTemplates: (basePath: string, token: string, eventId: string) => Promise<any>;
|
|
18
18
|
export declare const _updateEventTemplates: (basePath: string, token: string, templateId: string, eventId: string, data: any) => Promise<any>;
|
|
19
19
|
export declare const _fetchAttendeesAvailabilities: (basePath: string, token: string, eventId: string, date: string) => Promise<any>;
|
|
20
|
-
export declare const _importAgenda: (basePath: string, token: string, eventId: string,
|
|
20
|
+
export declare const _importAgenda: (basePath: string, token: string, eventId: string, eventSource: string) => Promise<any>;
|
|
21
21
|
export declare const _createGroup: (basePath: string, token: string, data: any) => Promise<any>;
|
|
22
22
|
export declare const _updateGroup: (basePath: string, token: string, groupId: string, data: any) => Promise<any>;
|
|
23
23
|
export declare const _updateSpeakerRole: (basePath: string, token: string, attendeeId: string, data: any) => Promise<any>;
|
package/lib/api/event/index.js
CHANGED
|
@@ -88,9 +88,9 @@ const _fetchAttendeesAvailabilities = (basePath, token, eventId, date) => __awai
|
|
|
88
88
|
return response;
|
|
89
89
|
});
|
|
90
90
|
exports._fetchAttendeesAvailabilities = _fetchAttendeesAvailabilities;
|
|
91
|
-
const _importAgenda = (basePath, token, eventId,
|
|
91
|
+
const _importAgenda = (basePath, token, eventId, eventSource) => __awaiter(void 0, void 0, void 0, function* () {
|
|
92
92
|
const base = (0, base_1.getBasePath)(basePath);
|
|
93
|
-
const response = yield (0, api_1.postRequestWE)(`${base.EVENTS}/${eventId}/import/agenda`, {
|
|
93
|
+
const response = yield (0, api_1.postRequestWE)(`${base.EVENTS}/${eventId}/import/agenda`, { event_source: eventSource }, token);
|
|
94
94
|
return response;
|
|
95
95
|
});
|
|
96
96
|
exports._importAgenda = _importAgenda;
|