@selfcommunity/api-services 0.6.7-alpha.3 → 0.6.7-payments.143
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/cjs/client/index.d.ts +3 -3
- package/lib/cjs/client/index.js +3 -3
- package/lib/cjs/constants/Endpoints.js +198 -0
- package/lib/cjs/index.d.ts +4 -2
- package/lib/cjs/index.js +8 -1
- package/lib/cjs/services/course/index.d.ts +449 -0
- package/lib/cjs/services/course/index.js +643 -0
- package/lib/cjs/services/payment/index.d.ts +117 -0
- package/lib/cjs/services/payment/index.js +120 -0
- package/lib/cjs/services/suggestion/index.d.ts +9 -1
- package/lib/cjs/services/suggestion/index.js +13 -0
- package/lib/cjs/services/user/index.d.ts +19 -0
- package/lib/cjs/services/user/index.js +29 -0
- package/lib/cjs/types/course.d.ts +123 -0
- package/lib/cjs/types/course.js +12 -0
- package/lib/cjs/types/index.d.ts +2 -1
- package/lib/cjs/types/index.js +3 -1
- package/lib/cjs/types/payment.d.ts +39 -0
- package/lib/cjs/types/payment.js +2 -0
- package/lib/esm/client/index.d.ts +3 -3
- package/lib/esm/client/index.js +3 -3
- package/lib/esm/constants/Endpoints.js +198 -0
- package/lib/esm/index.d.ts +4 -2
- package/lib/esm/index.js +4 -2
- package/lib/esm/services/course/index.d.ts +449 -0
- package/lib/esm/services/course/index.js +638 -0
- package/lib/esm/services/payment/index.d.ts +117 -0
- package/lib/esm/services/payment/index.js +115 -0
- package/lib/esm/services/suggestion/index.d.ts +9 -1
- package/lib/esm/services/suggestion/index.js +13 -0
- package/lib/esm/services/user/index.d.ts +19 -0
- package/lib/esm/services/user/index.js +29 -0
- package/lib/esm/types/course.d.ts +123 -0
- package/lib/esm/types/course.js +9 -0
- package/lib/esm/types/index.d.ts +2 -1
- package/lib/esm/types/index.js +2 -1
- package/lib/esm/types/payment.d.ts +39 -0
- package/lib/esm/types/payment.js +1 -0
- package/lib/umd/api-services.js +1 -1
- package/package.json +4 -4
|
@@ -519,6 +519,14 @@ const Endpoints = {
|
|
|
519
519
|
url: urlReplacer('/api/v2/user/$(id)/live_stream/'),
|
|
520
520
|
method: 'GET'
|
|
521
521
|
},
|
|
522
|
+
GetOrderHistory: {
|
|
523
|
+
url: urlReplacer('/api/v2/user/$(id)/order/'),
|
|
524
|
+
method: 'GET'
|
|
525
|
+
},
|
|
526
|
+
GetOrderDetail: {
|
|
527
|
+
url: urlReplacer('/api/v2/user/$(id)/order/$(order)/'),
|
|
528
|
+
method: 'GET'
|
|
529
|
+
},
|
|
522
530
|
/**
|
|
523
531
|
* Broadcast Messages
|
|
524
532
|
*/
|
|
@@ -580,6 +588,10 @@ const Endpoints = {
|
|
|
580
588
|
url: urlReplacer('/api/v2/suggestion/category/'),
|
|
581
589
|
method: 'GET'
|
|
582
590
|
},
|
|
591
|
+
CourseSuggestion: {
|
|
592
|
+
url: urlReplacer('/api/v2/suggestion/course/'),
|
|
593
|
+
method: 'GET'
|
|
594
|
+
},
|
|
583
595
|
GetIncubatorSuggestion: {
|
|
584
596
|
url: urlReplacer('/api/v2/suggestion/incubator/'),
|
|
585
597
|
method: 'GET'
|
|
@@ -1403,6 +1415,192 @@ const Endpoints = {
|
|
|
1403
1415
|
CompleteAStep: {
|
|
1404
1416
|
url: urlReplacer('/api/v2/onboarding/$(step)/complete/'),
|
|
1405
1417
|
method: 'POST'
|
|
1418
|
+
},
|
|
1419
|
+
/**
|
|
1420
|
+
* Courses
|
|
1421
|
+
*/
|
|
1422
|
+
ChangeCourseUserRole: {
|
|
1423
|
+
url: urlReplacer('/api/v2/course/$(id)/role/'),
|
|
1424
|
+
method: 'POST'
|
|
1425
|
+
},
|
|
1426
|
+
CreateCourse: {
|
|
1427
|
+
url: urlReplacer('/api/v2/course/'),
|
|
1428
|
+
method: 'POST'
|
|
1429
|
+
},
|
|
1430
|
+
CreateCourseComment: {
|
|
1431
|
+
url: urlReplacer('/api/v2/course/$(id)/section/$(section_id)/lesson/$(lesson_id)/comment/'),
|
|
1432
|
+
method: 'POST'
|
|
1433
|
+
},
|
|
1434
|
+
CreateCourseLesson: {
|
|
1435
|
+
url: urlReplacer('/api/v2/course/$(id)/section/$(section_id)/lesson/'),
|
|
1436
|
+
method: 'POST'
|
|
1437
|
+
},
|
|
1438
|
+
CreateCourseSection: {
|
|
1439
|
+
url: urlReplacer('/api/v2/course/$(id)/section/'),
|
|
1440
|
+
method: 'POST'
|
|
1441
|
+
},
|
|
1442
|
+
DeleteCourse: {
|
|
1443
|
+
url: urlReplacer('/api/v2/course/$(id)/'),
|
|
1444
|
+
method: 'DELETE'
|
|
1445
|
+
},
|
|
1446
|
+
DeleteCourseComment: {
|
|
1447
|
+
url: urlReplacer('/api/v2/course/$(id)/section/$(section_id)/lesson/$(lesson_id)/comment/$(comment_id)/'),
|
|
1448
|
+
method: 'DELETE'
|
|
1449
|
+
},
|
|
1450
|
+
DeleteCourseLesson: {
|
|
1451
|
+
url: urlReplacer('/api/v2/course/$(id)/section/$(section_id)/lesson/$(lesson_id)/'),
|
|
1452
|
+
method: 'DELETE'
|
|
1453
|
+
},
|
|
1454
|
+
DeleteCourseSection: {
|
|
1455
|
+
url: urlReplacer('/api/v2/course/$(id)/section/$(section_id)/'),
|
|
1456
|
+
method: 'DELETE'
|
|
1457
|
+
},
|
|
1458
|
+
GetCourseComments: {
|
|
1459
|
+
url: urlReplacer('/api/v2/course/$(id)/comment/'),
|
|
1460
|
+
method: 'GET'
|
|
1461
|
+
},
|
|
1462
|
+
GetCourseDashboardUsers: {
|
|
1463
|
+
url: urlReplacer('/api/v2/course/$(id)/users/'),
|
|
1464
|
+
method: 'GET'
|
|
1465
|
+
},
|
|
1466
|
+
GetCourseInfo: {
|
|
1467
|
+
url: urlReplacer('/api/v2/course/$(id)/'),
|
|
1468
|
+
method: 'GET'
|
|
1469
|
+
},
|
|
1470
|
+
GetCourseInvitedUsers: {
|
|
1471
|
+
url: urlReplacer('/api/v2/course/$(id)/invite/'),
|
|
1472
|
+
method: 'GET'
|
|
1473
|
+
},
|
|
1474
|
+
GetCourseJoinedUsers: {
|
|
1475
|
+
url: urlReplacer('/api/v2/course/$(id)/join/'),
|
|
1476
|
+
method: 'GET'
|
|
1477
|
+
},
|
|
1478
|
+
GetCourseLesson: {
|
|
1479
|
+
url: urlReplacer('/api/v2/course/$(id)/section/$(section_id)/lesson/$(lesson_id)/'),
|
|
1480
|
+
method: 'GET'
|
|
1481
|
+
},
|
|
1482
|
+
GetCourseLessonComment: {
|
|
1483
|
+
url: urlReplacer('/api/v2/course/$(id)/section/$(section_id)/lesson/$(lesson_id)/comment/$(comment_id)/'),
|
|
1484
|
+
method: 'GET'
|
|
1485
|
+
},
|
|
1486
|
+
GetCourseLessonComments: {
|
|
1487
|
+
url: urlReplacer('/api/v2/course/$(id)/section/$(section_id)/lesson/$(lesson_id)/comment/'),
|
|
1488
|
+
method: 'GET'
|
|
1489
|
+
},
|
|
1490
|
+
GetCourseLessons: {
|
|
1491
|
+
url: urlReplacer('/api/v2/course/$(id)/section/$(section_id)/lesson/'),
|
|
1492
|
+
method: 'GET'
|
|
1493
|
+
},
|
|
1494
|
+
GetCourseSection: {
|
|
1495
|
+
url: urlReplacer('/api/v2/course/$(id)/section/$(section_id)/'),
|
|
1496
|
+
method: 'GET'
|
|
1497
|
+
},
|
|
1498
|
+
GetCourseSections: {
|
|
1499
|
+
url: urlReplacer('/api/v2/course/$(id)/section/'),
|
|
1500
|
+
method: 'GET'
|
|
1501
|
+
},
|
|
1502
|
+
GetCourseStatus: {
|
|
1503
|
+
url: urlReplacer('/api/v2/course/$(id)/status/'),
|
|
1504
|
+
method: 'GET'
|
|
1505
|
+
},
|
|
1506
|
+
GetCourseWaitingApproval: {
|
|
1507
|
+
url: urlReplacer('/api/v2/course/$(id)/request_join/'),
|
|
1508
|
+
method: 'GET'
|
|
1509
|
+
},
|
|
1510
|
+
GetJoinedCourses: {
|
|
1511
|
+
url: urlReplacer('/api/v2/course/'),
|
|
1512
|
+
method: 'GET'
|
|
1513
|
+
},
|
|
1514
|
+
InviteOrAcceptUsersToCourse: {
|
|
1515
|
+
url: urlReplacer('/api/v2/course/$(id)/invite/'),
|
|
1516
|
+
method: 'POST'
|
|
1517
|
+
},
|
|
1518
|
+
JoinOrAcceptInviteToCourse: {
|
|
1519
|
+
url: urlReplacer('/api/v2/course/$(id)/join/'),
|
|
1520
|
+
method: 'POST'
|
|
1521
|
+
},
|
|
1522
|
+
LeaveOrRemoveCourseRequest: {
|
|
1523
|
+
url: urlReplacer('/api/v2/course/$(id)/join/'),
|
|
1524
|
+
method: 'DELETE'
|
|
1525
|
+
},
|
|
1526
|
+
MarkLessonComplete: {
|
|
1527
|
+
url: urlReplacer('/api/v2/course/$(id)/section/$(section_id)/lesson/$(lesson_id)/complete/'),
|
|
1528
|
+
method: 'POST'
|
|
1529
|
+
},
|
|
1530
|
+
MarkLessonIncomplete: {
|
|
1531
|
+
url: urlReplacer('/api/v2/course/$(id)/section/$(section_id)/lesson/$(lesson_id)/incomplete/'),
|
|
1532
|
+
method: 'POST'
|
|
1533
|
+
},
|
|
1534
|
+
PatchCourse: {
|
|
1535
|
+
url: urlReplacer('/api/v2/course/$(id)/'),
|
|
1536
|
+
method: 'PATCH'
|
|
1537
|
+
},
|
|
1538
|
+
PatchCourseComment: {
|
|
1539
|
+
url: urlReplacer('/api/v2/course/$(id)/section/$(section_id)/lesson/$(lesson_id)/comment/$(comment_id)/'),
|
|
1540
|
+
method: 'PATCH'
|
|
1541
|
+
},
|
|
1542
|
+
PatchCourseLesson: {
|
|
1543
|
+
url: urlReplacer('/api/v2/course/$(id)/section/$(section_id)/lesson/$(lesson_id)/'),
|
|
1544
|
+
method: 'PATCH'
|
|
1545
|
+
},
|
|
1546
|
+
PatchCourseSection: {
|
|
1547
|
+
url: urlReplacer('/api/v2/course/$(id)/section/$(section_id)/'),
|
|
1548
|
+
method: 'PATCH'
|
|
1549
|
+
},
|
|
1550
|
+
RemoveInvitationToCourse: {
|
|
1551
|
+
url: urlReplacer('/api/v2/course/$(id)/invite/'),
|
|
1552
|
+
method: 'DELETE'
|
|
1553
|
+
},
|
|
1554
|
+
SearchCourses: {
|
|
1555
|
+
url: urlReplacer('/api/v2/course/search/'),
|
|
1556
|
+
method: 'GET'
|
|
1557
|
+
},
|
|
1558
|
+
GetCourseSuggestedUsers: {
|
|
1559
|
+
url: urlReplacer('/api/v2/course/$(id)/user/'),
|
|
1560
|
+
method: 'GET'
|
|
1561
|
+
},
|
|
1562
|
+
UpdateCourse: {
|
|
1563
|
+
url: urlReplacer('/api/v2/course/$(id)/'),
|
|
1564
|
+
method: 'PUT'
|
|
1565
|
+
},
|
|
1566
|
+
UpdateCourseComment: {
|
|
1567
|
+
url: urlReplacer('/api/v2/course/$(id)/section/$(section_id)/lesson/$(lesson_id)/comment/$(comment_id)/'),
|
|
1568
|
+
method: 'PUT'
|
|
1569
|
+
},
|
|
1570
|
+
UpdateCourseLesson: {
|
|
1571
|
+
url: urlReplacer('/api/v2/course/$(id)/section/$(section_id)/lesson/$(lesson_id)/'),
|
|
1572
|
+
method: 'PUT'
|
|
1573
|
+
},
|
|
1574
|
+
UpdateCourseSection: {
|
|
1575
|
+
url: urlReplacer('/api/v2/course/$(id)/section/$(section_id)/'),
|
|
1576
|
+
method: 'PUT'
|
|
1577
|
+
},
|
|
1578
|
+
GetUserJoinedCourses: {
|
|
1579
|
+
url: urlReplacer('/api/v2/user/$(id)/courses/'),
|
|
1580
|
+
method: 'GET'
|
|
1581
|
+
},
|
|
1582
|
+
/**
|
|
1583
|
+
* Payments/Paywalls
|
|
1584
|
+
*/
|
|
1585
|
+
GetContentProducts: {
|
|
1586
|
+
url: urlReplacer('/api/v2/payments/products/'),
|
|
1587
|
+
method: 'GET'
|
|
1588
|
+
},
|
|
1589
|
+
GetProductPrices: {
|
|
1590
|
+
url: urlReplacer('/api/v2/payments/product/$(id)/prices/'),
|
|
1591
|
+
method: 'GET'
|
|
1592
|
+
},
|
|
1593
|
+
GetCheckoutSession: {
|
|
1594
|
+
url: urlReplacer('/api/v2/payments/checkout_session/'),
|
|
1595
|
+
method: 'GET'
|
|
1596
|
+
},
|
|
1597
|
+
CheckoutCreateSession: {
|
|
1598
|
+
url: urlReplacer('/api/v2/payments/checkout_session/'),
|
|
1599
|
+
method: 'POST'
|
|
1600
|
+
},
|
|
1601
|
+
CheckoutSessionComplete: {
|
|
1602
|
+
url: urlReplacer('/api/v2/payments/checkout_session/complete/'),
|
|
1603
|
+
method: 'POST'
|
|
1406
1604
|
}
|
|
1407
1605
|
};
|
|
1408
1606
|
export default Endpoints;
|
package/lib/esm/index.d.ts
CHANGED
|
@@ -50,11 +50,13 @@ import GroupService, { GroupApiClient, GroupApiClientInterface } from './service
|
|
|
50
50
|
import EventService, { EventApiClient, EventApiClientInterface } from './services/event';
|
|
51
51
|
import LiveStreamService, { LiveStreamApiClient, LiveStreamApiClientInterface } from './services/live_stream';
|
|
52
52
|
import OnBoardingService, { OnBoardingApiClient, OnBoardingApiClientInterface } from './services/onboarding';
|
|
53
|
+
import CourseService, { CourseApiClient, CourseApiClientInterface } from './services/course';
|
|
54
|
+
import PaymentService, { PaymentApiClient, PaymentApiClientInterface } from './services/payment';
|
|
53
55
|
/**
|
|
54
56
|
* Types
|
|
55
57
|
*/
|
|
56
|
-
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 } from './types';
|
|
58
|
+
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';
|
|
57
59
|
/**
|
|
58
60
|
* Export all
|
|
59
61
|
*/
|
|
60
|
-
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 };
|
|
62
|
+
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, PaymentService, PaymentApiClientInterface, PaymentApiClient };
|
package/lib/esm/index.js
CHANGED
|
@@ -50,11 +50,13 @@ import GroupService, { GroupApiClient } from './services/group';
|
|
|
50
50
|
import EventService, { EventApiClient } from './services/event';
|
|
51
51
|
import LiveStreamService, { LiveStreamApiClient } from './services/live_stream';
|
|
52
52
|
import OnBoardingService, { OnBoardingApiClient } from './services/onboarding';
|
|
53
|
+
import CourseService, { CourseApiClient } from './services/course';
|
|
54
|
+
import PaymentService, { PaymentApiClient } from './services/payment';
|
|
53
55
|
/**
|
|
54
56
|
* Types
|
|
55
57
|
*/
|
|
56
|
-
import { MediaTypes, OnBoardingStep } from './types';
|
|
58
|
+
import { MediaTypes, OnBoardingStep, CourseInfoViewType } from './types';
|
|
57
59
|
/**
|
|
58
60
|
* Export all
|
|
59
61
|
*/
|
|
60
|
-
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 };
|
|
62
|
+
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, PaymentService, PaymentApiClient };
|