@selfcommunity/api-services 0.6.4-alpha.1 → 0.6.4-courses.148

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 (37) hide show
  1. package/lib/cjs/constants/Endpoints.js +214 -0
  2. package/lib/cjs/index.d.ts +4 -2
  3. package/lib/cjs/index.js +8 -1
  4. package/lib/cjs/services/course/index.d.ts +449 -0
  5. package/lib/cjs/services/course/index.js +643 -0
  6. package/lib/cjs/services/live_stream/index.d.ts +140 -0
  7. package/lib/cjs/services/live_stream/index.js +199 -0
  8. package/lib/cjs/services/suggestion/index.d.ts +9 -1
  9. package/lib/cjs/services/suggestion/index.js +13 -0
  10. package/lib/cjs/services/user/index.d.ts +10 -1
  11. package/lib/cjs/services/user/index.js +14 -0
  12. package/lib/cjs/types/course.d.ts +123 -0
  13. package/lib/cjs/types/course.js +12 -0
  14. package/lib/cjs/types/index.d.ts +3 -1
  15. package/lib/cjs/types/index.js +3 -1
  16. package/lib/cjs/types/liveStream.d.ts +54 -0
  17. package/lib/cjs/types/liveStream.js +2 -0
  18. package/lib/esm/constants/Endpoints.js +214 -0
  19. package/lib/esm/index.d.ts +4 -2
  20. package/lib/esm/index.js +4 -2
  21. package/lib/esm/services/course/index.d.ts +449 -0
  22. package/lib/esm/services/course/index.js +638 -0
  23. package/lib/esm/services/live_stream/index.d.ts +140 -0
  24. package/lib/esm/services/live_stream/index.js +194 -0
  25. package/lib/esm/services/suggestion/index.d.ts +9 -1
  26. package/lib/esm/services/suggestion/index.js +13 -0
  27. package/lib/esm/services/user/index.d.ts +10 -1
  28. package/lib/esm/services/user/index.js +14 -0
  29. package/lib/esm/types/course.d.ts +123 -0
  30. package/lib/esm/types/course.js +9 -0
  31. package/lib/esm/types/index.d.ts +3 -1
  32. package/lib/esm/types/index.js +2 -1
  33. package/lib/esm/types/liveStream.d.ts +54 -0
  34. package/lib/esm/types/liveStream.js +1 -0
  35. package/lib/umd/api-services.js +1 -1
  36. package/lib/umd/api-services.js.LICENSE.txt +2 -0
  37. package/package.json +117 -112
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -515,6 +515,10 @@ const Endpoints = {
515
515
  url: urlReplacer('/api/v2/user/$(id)/provider/'),
516
516
  method: 'DELETE'
517
517
  },
518
+ GetLiveStream: {
519
+ url: urlReplacer('/api/v2/user/$(id)/live_stream/'),
520
+ method: 'GET'
521
+ },
518
522
  /**
519
523
  * Broadcast Messages
520
524
  */
@@ -576,6 +580,10 @@ const Endpoints = {
576
580
  url: urlReplacer('/api/v2/suggestion/category/'),
577
581
  method: 'GET'
578
582
  },
583
+ CourseSuggestion: {
584
+ url: urlReplacer('/api/v2/suggestion/course/'),
585
+ method: 'GET'
586
+ },
579
587
  GetIncubatorSuggestion: {
580
588
  url: urlReplacer('/api/v2/suggestion/incubator/'),
581
589
  method: 'GET'
@@ -1338,6 +1346,49 @@ const Endpoints = {
1338
1346
  url: urlReplacer('/api/v2/event/$(id)/gallery/'),
1339
1347
  method: 'DELETE'
1340
1348
  },
1349
+ /**
1350
+ * LiveStream
1351
+ */
1352
+ GetLiveStreamInfo: {
1353
+ url: urlReplacer('/api/v2/live_stream/$(id)/'),
1354
+ method: 'GET'
1355
+ },
1356
+ SearchLiveStream: {
1357
+ url: urlReplacer('/api/v2/live_stream/search/'),
1358
+ method: 'GET'
1359
+ },
1360
+ CreateLiveStream: {
1361
+ url: urlReplacer('/api/v2/live_stream/'),
1362
+ method: 'POST'
1363
+ },
1364
+ UpdateLiveStream: {
1365
+ url: urlReplacer('/api/v2/live_stream/$(id)/'),
1366
+ method: 'PUT'
1367
+ },
1368
+ DeleteLiveStream: {
1369
+ url: urlReplacer('/api/v2/live_stream/$(id)/'),
1370
+ method: 'DELETE'
1371
+ },
1372
+ PatchLiveStream: {
1373
+ url: urlReplacer('/api/v2/live_stream/$(id)/'),
1374
+ method: 'PATCH'
1375
+ },
1376
+ CloseLiveStream: {
1377
+ url: urlReplacer('/api/v2/live_stream/$(id)/close/'),
1378
+ method: 'POST'
1379
+ },
1380
+ JoinLiveStream: {
1381
+ url: urlReplacer('/api/v2/live_stream/$(id)/join/'),
1382
+ method: 'POST'
1383
+ },
1384
+ RemoveParticipant: {
1385
+ url: urlReplacer('/api/v2/live_stream/$(id)/remove_participant/'),
1386
+ method: 'POST'
1387
+ },
1388
+ GetLiveStreamMonthlyDuration: {
1389
+ url: urlReplacer('/api/v2/live_stream/monthly_duration/'),
1390
+ method: 'GET'
1391
+ },
1341
1392
  /**
1342
1393
  * OnBoarding
1343
1394
  */
@@ -1356,6 +1407,169 @@ const Endpoints = {
1356
1407
  CompleteAStep: {
1357
1408
  url: urlReplacer('/api/v2/onboarding/$(step)/complete/'),
1358
1409
  method: 'POST'
1410
+ },
1411
+ /**
1412
+ * Courses
1413
+ */
1414
+ ChangeCourseUserRole: {
1415
+ url: urlReplacer('/api/v2/course/$(id)/role/'),
1416
+ method: 'POST'
1417
+ },
1418
+ CreateCourse: {
1419
+ url: urlReplacer('/api/v2/course/'),
1420
+ method: 'POST'
1421
+ },
1422
+ CreateCourseComment: {
1423
+ url: urlReplacer('/api/v2/course/$(id)/section/$(section_id)/lesson/$(lesson_id)/comment/'),
1424
+ method: 'POST'
1425
+ },
1426
+ CreateCourseLesson: {
1427
+ url: urlReplacer('/api/v2/course/$(id)/section/$(section_id)/lesson/'),
1428
+ method: 'POST'
1429
+ },
1430
+ CreateCourseSection: {
1431
+ url: urlReplacer('/api/v2/course/$(id)/section/'),
1432
+ method: 'POST'
1433
+ },
1434
+ DeleteCourse: {
1435
+ url: urlReplacer('/api/v2/course/$(id)/'),
1436
+ method: 'DELETE'
1437
+ },
1438
+ DeleteCourseComment: {
1439
+ url: urlReplacer('/api/v2/course/$(id)/section/$(section_id)/lesson/$(lesson_id)/comment/$(comment_id)/'),
1440
+ method: 'DELETE'
1441
+ },
1442
+ DeleteCourseLesson: {
1443
+ url: urlReplacer('/api/v2/course/$(id)/section/$(section_id)/lesson/$(lesson_id)/'),
1444
+ method: 'DELETE'
1445
+ },
1446
+ DeleteCourseSection: {
1447
+ url: urlReplacer('/api/v2/course/$(id)/section/$(section_id)/'),
1448
+ method: 'DELETE'
1449
+ },
1450
+ GetCourseComments: {
1451
+ url: urlReplacer('/api/v2/course/$(id)/comment/'),
1452
+ method: 'GET'
1453
+ },
1454
+ GetCourseDashboardUsers: {
1455
+ url: urlReplacer('/api/v2/course/$(id)/users/'),
1456
+ method: 'GET'
1457
+ },
1458
+ GetCourseInfo: {
1459
+ url: urlReplacer('/api/v2/course/$(id)/'),
1460
+ method: 'GET'
1461
+ },
1462
+ GetCourseInvitedUsers: {
1463
+ url: urlReplacer('/api/v2/course/$(id)/invite/'),
1464
+ method: 'GET'
1465
+ },
1466
+ GetCourseJoinedUsers: {
1467
+ url: urlReplacer('/api/v2/course/$(id)/join/'),
1468
+ method: 'GET'
1469
+ },
1470
+ GetCourseLesson: {
1471
+ url: urlReplacer('/api/v2/course/$(id)/section/$(section_id)/lesson/$(lesson_id)/'),
1472
+ method: 'GET'
1473
+ },
1474
+ GetCourseLessonComment: {
1475
+ url: urlReplacer('/api/v2/course/$(id)/section/$(section_id)/lesson/$(lesson_id)/comment/$(comment_id)/'),
1476
+ method: 'GET'
1477
+ },
1478
+ GetCourseLessonComments: {
1479
+ url: urlReplacer('/api/v2/course/$(id)/section/$(section_id)/lesson/$(lesson_id)/comment/'),
1480
+ method: 'GET'
1481
+ },
1482
+ GetCourseLessons: {
1483
+ url: urlReplacer('/api/v2/course/$(id)/section/$(section_id)/lesson/'),
1484
+ method: 'GET'
1485
+ },
1486
+ GetCourseSection: {
1487
+ url: urlReplacer('/api/v2/course/$(id)/section/$(section_id)/'),
1488
+ method: 'GET'
1489
+ },
1490
+ GetCourseSections: {
1491
+ url: urlReplacer('/api/v2/course/$(id)/section/'),
1492
+ method: 'GET'
1493
+ },
1494
+ GetCourseStatus: {
1495
+ url: urlReplacer('/api/v2/course/$(id)/status/'),
1496
+ method: 'GET'
1497
+ },
1498
+ GetCourseWaitingApproval: {
1499
+ url: urlReplacer('/api/v2/course/$(id)/request_join/'),
1500
+ method: 'GET'
1501
+ },
1502
+ GetJoinedCourses: {
1503
+ url: urlReplacer('/api/v2/course/'),
1504
+ method: 'GET'
1505
+ },
1506
+ InviteOrAcceptUsersToCourse: {
1507
+ url: urlReplacer('/api/v2/course/$(id)/invite/'),
1508
+ method: 'POST'
1509
+ },
1510
+ JoinOrAcceptInviteToCourse: {
1511
+ url: urlReplacer('/api/v2/course/$(id)/join/'),
1512
+ method: 'POST'
1513
+ },
1514
+ LeaveOrRemoveCourseRequest: {
1515
+ url: urlReplacer('/api/v2/course/$(id)/join/'),
1516
+ method: 'DELETE'
1517
+ },
1518
+ MarkLessonComplete: {
1519
+ url: urlReplacer('/api/v2/course/$(id)/section/$(section_id)/lesson/$(lesson_id)/complete/'),
1520
+ method: 'POST'
1521
+ },
1522
+ MarkLessonIncomplete: {
1523
+ url: urlReplacer('/api/v2/course/$(id)/section/$(section_id)/lesson/$(lesson_id)/incomplete/'),
1524
+ method: 'POST'
1525
+ },
1526
+ PatchCourse: {
1527
+ url: urlReplacer('/api/v2/course/$(id)/'),
1528
+ method: 'PATCH'
1529
+ },
1530
+ PatchCourseComment: {
1531
+ url: urlReplacer('/api/v2/course/$(id)/section/$(section_id)/lesson/$(lesson_id)/comment/$(comment_id)/'),
1532
+ method: 'PATCH'
1533
+ },
1534
+ PatchCourseLesson: {
1535
+ url: urlReplacer('/api/v2/course/$(id)/section/$(section_id)/lesson/$(lesson_id)/'),
1536
+ method: 'PATCH'
1537
+ },
1538
+ PatchCourseSection: {
1539
+ url: urlReplacer('/api/v2/course/$(id)/section/$(section_id)/'),
1540
+ method: 'PATCH'
1541
+ },
1542
+ RemoveInvitationToCourse: {
1543
+ url: urlReplacer('/api/v2/course/$(id)/invite/'),
1544
+ method: 'DELETE'
1545
+ },
1546
+ SearchCourses: {
1547
+ url: urlReplacer('/api/v2/course/search/'),
1548
+ method: 'GET'
1549
+ },
1550
+ GetCourseSuggestedUsers: {
1551
+ url: urlReplacer('/api/v2/course/$(id)/user/'),
1552
+ method: 'GET'
1553
+ },
1554
+ UpdateCourse: {
1555
+ url: urlReplacer('/api/v2/course/$(id)/'),
1556
+ method: 'PUT'
1557
+ },
1558
+ UpdateCourseComment: {
1559
+ url: urlReplacer('/api/v2/course/$(id)/section/$(section_id)/lesson/$(lesson_id)/comment/$(comment_id)/'),
1560
+ method: 'PUT'
1561
+ },
1562
+ UpdateCourseLesson: {
1563
+ url: urlReplacer('/api/v2/course/$(id)/section/$(section_id)/lesson/$(lesson_id)/'),
1564
+ method: 'PUT'
1565
+ },
1566
+ UpdateCourseSection: {
1567
+ url: urlReplacer('/api/v2/course/$(id)/section/$(section_id)/'),
1568
+ method: 'PUT'
1569
+ },
1570
+ GetUserJoinedCourses: {
1571
+ url: urlReplacer('/api/v2/user/$(id)/courses/'),
1572
+ method: 'GET'
1359
1573
  }
1360
1574
  };
1361
1575
  export default Endpoints;
@@ -48,12 +48,14 @@ import WebhookService, { WebhookApiClient, WebhookApiClientInterface } from './s
48
48
  import ReactionService, { ReactionApiClient, ReactionApiClientInterface } from './services/reactions';
49
49
  import GroupService, { GroupApiClient, GroupApiClientInterface } from './services/group';
50
50
  import EventService, { EventApiClient, EventApiClientInterface } from './services/event';
51
+ import LiveStreamService, { LiveStreamApiClient, LiveStreamApiClientInterface } from './services/live_stream';
51
52
  import OnBoardingService, { OnBoardingApiClient, OnBoardingApiClientInterface } from './services/onboarding';
53
+ import CourseService, { CourseApiClient, CourseApiClientInterface } from './services/course';
52
54
  /**
53
55
  * Types
54
56
  */
55
- import { AccountCreateParams, AccountVerifyParams, AccountResetParams, AccountRecoverParams, AccountSearchParams, SCPaginatedResponse, WebhookParamType, WebhookEventsType, SSOSignUpParams, CommentListParams, CommentCreateParams, IncubatorCreateParams, IncubatorSearchParams, LoyaltyPrizeParams, LoyaltyGetPrizeParams, ModerationParams, ModerateContributionParams, FlaggedContributionParams, CustomNotificationParams, UserAutocompleteParams, UserScoreParams, UserSearchParams, TagParams, TagGetParams, MediaCreateParams, MediaTypes, ChunkUploadParams, ChunkUploadCompleteParams, ThreadParams, MessageCreateParams, MessageMediaUploadParams, MessageThumbnailUploadParams, MessageChunkUploadDoneParams, MessageMediaChunksParams, CategoryParams, CustomAdvParams, CustomPageParams, CustomPageSearchParams, EmbedUpdateParams, EmbedSearchParams, BaseGetParams, BaseSearchParams, FeedObjGetParams, FeedObjCreateParams, FeedObjectPollVotesSearch, FeedParams, LegalPageFilterParams, FeatureParams, ScoreParams, InsightContributionParams, InsightUserParams, InsightEmbedParams, InsightCommonParams, ReactionParams, GroupCreateParams, GroupFeedParams, EventCreateParams, EventFeedParams, EventSearchParams, StartStepParams, OnBoardingStep } from './types';
57
+ import { AccountCreateParams, AccountVerifyParams, AccountResetParams, AccountRecoverParams, AccountSearchParams, SCPaginatedResponse, WebhookParamType, WebhookEventsType, SSOSignUpParams, CommentListParams, CommentCreateParams, IncubatorCreateParams, IncubatorSearchParams, LoyaltyPrizeParams, LoyaltyGetPrizeParams, ModerationParams, ModerateContributionParams, FlaggedContributionParams, CustomNotificationParams, UserAutocompleteParams, UserScoreParams, UserSearchParams, TagParams, TagGetParams, MediaCreateParams, MediaTypes, ChunkUploadParams, ChunkUploadCompleteParams, ThreadParams, MessageCreateParams, MessageMediaUploadParams, MessageThumbnailUploadParams, MessageChunkUploadDoneParams, MessageMediaChunksParams, CategoryParams, CustomAdvParams, CustomPageParams, CustomPageSearchParams, EmbedUpdateParams, EmbedSearchParams, BaseGetParams, BaseSearchParams, FeedObjGetParams, FeedObjCreateParams, FeedObjectPollVotesSearch, FeedParams, LegalPageFilterParams, FeatureParams, ScoreParams, InsightContributionParams, InsightUserParams, InsightEmbedParams, InsightCommonParams, ReactionParams, GroupCreateParams, GroupFeedParams, EventCreateParams, EventFeedParams, EventSearchParams, LiveStreamCreateParams, LiveStreamSearchParams, LiveStreamRemoveParticipantParams, StartStepParams, OnBoardingStep, CourseCreateParams, CourseSearchParams, CourseInfoViewType, CourseInfoParams, CourseLessonCommentsParams, CourseUserRoleParams, CourseUsersParams, CourseDashboardUsersParams } from './types';
56
58
  /**
57
59
  * Export all
58
60
  */
59
- export { http, HttpResponse, HttpMethod, apiRequest, formatHttpError, formatHttpErrorCode, getCancelTokenSourceRequest, generateJWTToken, parseJwt, urlParams, Endpoints, EndpointType, AccountService, AccountApiClient, AccountApiClientInterface, PreferenceService, PreferenceApiClient, PreferenceApiClientInterface, UserService, UserApiClient, UserApiClientInterface, FeatureService, FeatureApiClient, FeatureApiClientInterface, CategoryService, CategoryApiClient, CategoryApiClientInterface, CommentService, CommentApiClient, CommentApiClientInterface, CustomAdvService, CustomAdvApiClient, CustomAdvApiClientInterface, CustomMenuService, CustomMenuApiClient, CustomMenuApiClientInterface, CustomPageService, CustomPageApiClient, CustomPageApiClientInterface, DataPortabilityService, DataPortabilityApiClient, DataPortabilityApiClientInterface, EmbedService, EmbedApiClient, EmbedApiClientInterface, FeedService, FeedApiClient, FeedApiClientInterface, FeedObjectService, FeedObjectApiClient, FeedObjectApiClientInterface, IncubatorService, IncubatorApiClient, IncubatorApiClientInterface, InsightService, InsightApiClient, InsightApiClientInterface, InviteService, InviteApiClient, InviteApiClientInterface, LegalPageService, LegalPageApiClient, LegalPageApiClientInterface, LocalityService, LocalityApiClient, LocalityApiClientInterface, LoyaltyService, LoyaltyApiClient, LoyaltyApiClientInterface, MediaService, MediaApiClient, MediaApiClientInterface, ModerationService, ModerationApiClient, ModerationApiClientInterface, NotificationService, NotificationApiClient, NotificationApiClientInterface, PrivateMessageService, PrivateMessageApiClient, PrivateMessageApiClientInterface, PromoService, PromoApiClient, PromoApiClientInterface, ScoreService, ScoreApiClient, ScoreApiClientInterface, SSOService, SSOApiClient, SSOApiClientInterface, SuggestionService, SuggestionApiClient, SuggestionApiClientInterface, TagService, TagApiClient, TagApiClientInterface, WebhookService, WebhookApiClient, WebhookApiClientInterface, SCPaginatedResponse, WebhookParamType, WebhookEventsType, AccountSearchParams, AccountCreateParams, AccountVerifyParams, AccountResetParams, AccountRecoverParams, CommentCreateParams, IncubatorCreateParams, IncubatorSearchParams, SSOSignUpParams, CommentListParams, LoyaltyPrizeParams, LoyaltyGetPrizeParams, ModerationParams, FlaggedContributionParams, ModerateContributionParams, CustomNotificationParams, UserAutocompleteParams, UserScoreParams, UserSearchParams, TagParams, TagGetParams, MediaCreateParams, MediaTypes, ChunkUploadParams, ChunkUploadCompleteParams, ThreadParams, MessageCreateParams, MessageMediaUploadParams, MessageThumbnailUploadParams, MessageChunkUploadDoneParams, MessageMediaChunksParams, CategoryParams, CustomAdvParams, CustomPageParams, CustomPageSearchParams, EmbedUpdateParams, EmbedSearchParams, BaseGetParams, BaseSearchParams, FeedObjGetParams, FeedObjCreateParams, FeedObjectPollVotesSearch, FeedParams, LegalPageFilterParams, FeatureParams, ScoreParams, InsightContributionParams, InsightUserParams, InsightEmbedParams, InsightCommonParams, ReactionParams, ReactionService, ReactionApiClient, ReactionApiClientInterface, GroupCreateParams, GroupFeedParams, GroupService, GroupApiClient, GroupApiClientInterface, EventCreateParams, EventFeedParams, EventSearchParams, EventService, EventApiClient, EventApiClientInterface, OnBoardingService, OnBoardingApiClientInterface, OnBoardingApiClient, StartStepParams, OnBoardingStep };
61
+ export { http, HttpResponse, HttpMethod, apiRequest, formatHttpError, formatHttpErrorCode, getCancelTokenSourceRequest, generateJWTToken, parseJwt, urlParams, Endpoints, EndpointType, AccountService, AccountApiClient, AccountApiClientInterface, PreferenceService, PreferenceApiClient, PreferenceApiClientInterface, UserService, UserApiClient, UserApiClientInterface, FeatureService, FeatureApiClient, FeatureApiClientInterface, CategoryService, CategoryApiClient, CategoryApiClientInterface, CommentService, CommentApiClient, CommentApiClientInterface, CustomAdvService, CustomAdvApiClient, CustomAdvApiClientInterface, CustomMenuService, CustomMenuApiClient, CustomMenuApiClientInterface, CustomPageService, CustomPageApiClient, CustomPageApiClientInterface, DataPortabilityService, DataPortabilityApiClient, DataPortabilityApiClientInterface, EmbedService, EmbedApiClient, EmbedApiClientInterface, FeedService, FeedApiClient, FeedApiClientInterface, FeedObjectService, FeedObjectApiClient, FeedObjectApiClientInterface, IncubatorService, IncubatorApiClient, IncubatorApiClientInterface, InsightService, InsightApiClient, InsightApiClientInterface, InviteService, InviteApiClient, InviteApiClientInterface, LegalPageService, LegalPageApiClient, LegalPageApiClientInterface, LocalityService, LocalityApiClient, LocalityApiClientInterface, LoyaltyService, LoyaltyApiClient, LoyaltyApiClientInterface, MediaService, MediaApiClient, MediaApiClientInterface, ModerationService, ModerationApiClient, ModerationApiClientInterface, NotificationService, NotificationApiClient, NotificationApiClientInterface, PrivateMessageService, PrivateMessageApiClient, PrivateMessageApiClientInterface, PromoService, PromoApiClient, PromoApiClientInterface, ScoreService, ScoreApiClient, ScoreApiClientInterface, SSOService, SSOApiClient, SSOApiClientInterface, SuggestionService, SuggestionApiClient, SuggestionApiClientInterface, TagService, TagApiClient, TagApiClientInterface, WebhookService, WebhookApiClient, WebhookApiClientInterface, SCPaginatedResponse, WebhookParamType, WebhookEventsType, AccountSearchParams, AccountCreateParams, AccountVerifyParams, AccountResetParams, AccountRecoverParams, CommentCreateParams, IncubatorCreateParams, IncubatorSearchParams, SSOSignUpParams, CommentListParams, LoyaltyPrizeParams, LoyaltyGetPrizeParams, ModerationParams, FlaggedContributionParams, ModerateContributionParams, CustomNotificationParams, UserAutocompleteParams, UserScoreParams, UserSearchParams, TagParams, TagGetParams, MediaCreateParams, MediaTypes, ChunkUploadParams, ChunkUploadCompleteParams, ThreadParams, MessageCreateParams, MessageMediaUploadParams, MessageThumbnailUploadParams, MessageChunkUploadDoneParams, MessageMediaChunksParams, CategoryParams, CustomAdvParams, CustomPageParams, CustomPageSearchParams, EmbedUpdateParams, EmbedSearchParams, BaseGetParams, BaseSearchParams, FeedObjGetParams, FeedObjCreateParams, FeedObjectPollVotesSearch, FeedParams, LegalPageFilterParams, FeatureParams, ScoreParams, InsightContributionParams, InsightUserParams, InsightEmbedParams, InsightCommonParams, ReactionParams, ReactionService, ReactionApiClient, ReactionApiClientInterface, GroupCreateParams, GroupFeedParams, GroupService, GroupApiClient, GroupApiClientInterface, EventCreateParams, EventFeedParams, EventSearchParams, EventService, EventApiClient, EventApiClientInterface, LiveStreamService, LiveStreamApiClient, LiveStreamApiClientInterface, LiveStreamCreateParams, LiveStreamSearchParams, LiveStreamRemoveParticipantParams, OnBoardingService, OnBoardingApiClientInterface, OnBoardingApiClient, StartStepParams, OnBoardingStep, CourseCreateParams, CourseSearchParams, CourseInfoParams, CourseInfoViewType, CourseService, CourseApiClientInterface, CourseApiClient, CourseLessonCommentsParams, CourseUserRoleParams, CourseUsersParams, CourseDashboardUsersParams };
package/lib/esm/index.js CHANGED
@@ -48,12 +48,14 @@ import WebhookService, { WebhookApiClient } from './services/webhook';
48
48
  import ReactionService, { ReactionApiClient } from './services/reactions';
49
49
  import GroupService, { GroupApiClient } from './services/group';
50
50
  import EventService, { EventApiClient } from './services/event';
51
+ import LiveStreamService, { LiveStreamApiClient } from './services/live_stream';
51
52
  import OnBoardingService, { OnBoardingApiClient } from './services/onboarding';
53
+ import CourseService, { CourseApiClient } from './services/course';
52
54
  /**
53
55
  * Types
54
56
  */
55
- import { MediaTypes, OnBoardingStep } from './types';
57
+ import { MediaTypes, OnBoardingStep, CourseInfoViewType } from './types';
56
58
  /**
57
59
  * Export all
58
60
  */
59
- export { http, apiRequest, formatHttpError, formatHttpErrorCode, getCancelTokenSourceRequest, generateJWTToken, parseJwt, urlParams, Endpoints, AccountService, AccountApiClient, PreferenceService, PreferenceApiClient, UserService, UserApiClient, FeatureService, FeatureApiClient, CategoryService, CategoryApiClient, CommentService, CommentApiClient, CustomAdvService, CustomAdvApiClient, CustomMenuService, CustomMenuApiClient, CustomPageService, CustomPageApiClient, DataPortabilityService, DataPortabilityApiClient, EmbedService, EmbedApiClient, FeedService, FeedApiClient, FeedObjectService, FeedObjectApiClient, IncubatorService, IncubatorApiClient, InsightService, InsightApiClient, InviteService, InviteApiClient, LegalPageService, LegalPageApiClient, LocalityService, LocalityApiClient, LoyaltyService, LoyaltyApiClient, MediaService, MediaApiClient, ModerationService, ModerationApiClient, NotificationService, NotificationApiClient, PrivateMessageService, PrivateMessageApiClient, PromoService, PromoApiClient, ScoreService, ScoreApiClient, SSOService, SSOApiClient, SuggestionService, SuggestionApiClient, TagService, TagApiClient, WebhookService, WebhookApiClient, MediaTypes, ReactionService, ReactionApiClient, GroupService, GroupApiClient, EventService, EventApiClient, OnBoardingService, OnBoardingApiClient, OnBoardingStep };
61
+ export { http, apiRequest, formatHttpError, formatHttpErrorCode, getCancelTokenSourceRequest, generateJWTToken, parseJwt, urlParams, Endpoints, AccountService, AccountApiClient, PreferenceService, PreferenceApiClient, UserService, UserApiClient, FeatureService, FeatureApiClient, CategoryService, CategoryApiClient, CommentService, CommentApiClient, CustomAdvService, CustomAdvApiClient, CustomMenuService, CustomMenuApiClient, CustomPageService, CustomPageApiClient, DataPortabilityService, DataPortabilityApiClient, EmbedService, EmbedApiClient, FeedService, FeedApiClient, FeedObjectService, FeedObjectApiClient, IncubatorService, IncubatorApiClient, InsightService, InsightApiClient, InviteService, InviteApiClient, LegalPageService, LegalPageApiClient, LocalityService, LocalityApiClient, LoyaltyService, LoyaltyApiClient, MediaService, MediaApiClient, ModerationService, ModerationApiClient, NotificationService, NotificationApiClient, PrivateMessageService, PrivateMessageApiClient, PromoService, PromoApiClient, ScoreService, ScoreApiClient, SSOService, SSOApiClient, SuggestionService, SuggestionApiClient, TagService, TagApiClient, WebhookService, WebhookApiClient, MediaTypes, ReactionService, ReactionApiClient, GroupService, GroupApiClient, EventService, EventApiClient, LiveStreamService, LiveStreamApiClient, OnBoardingService, OnBoardingApiClient, OnBoardingStep, CourseInfoViewType, CourseService, CourseApiClient };