@selfcommunity/types 0.7.7-alpha.2 → 0.7.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/index.d.ts +4 -4
- package/lib/cjs/index.js +11 -1
- package/lib/cjs/types/category.d.ts +6 -1
- package/lib/cjs/types/course.d.ts +374 -0
- package/lib/cjs/types/course.js +58 -0
- package/lib/cjs/types/device.d.ts +1 -1
- package/lib/cjs/types/event.d.ts +2 -1
- package/lib/cjs/types/feature.d.ts +3 -1
- package/lib/cjs/types/feature.js +2 -0
- package/lib/cjs/types/feed.d.ts +1 -1
- package/lib/cjs/types/group.d.ts +2 -1
- package/lib/cjs/types/index.d.ts +3 -1
- package/lib/cjs/types/index.js +13 -1
- package/lib/cjs/types/notification.d.ts +5 -1
- package/lib/cjs/types/notification.js +4 -0
- package/lib/cjs/types/payment.d.ts +100 -0
- package/lib/cjs/types/payment.js +25 -0
- package/lib/cjs/types/preference.d.ts +8 -1
- package/lib/cjs/types/preference.js +7 -0
- package/lib/esm/index.d.ts +4 -4
- package/lib/esm/index.js +2 -2
- package/lib/esm/types/category.d.ts +6 -1
- package/lib/esm/types/course.d.ts +374 -0
- package/lib/esm/types/course.js +55 -0
- package/lib/esm/types/device.d.ts +1 -1
- package/lib/esm/types/event.d.ts +2 -1
- package/lib/esm/types/feature.d.ts +3 -1
- package/lib/esm/types/feature.js +2 -0
- package/lib/esm/types/feed.d.ts +1 -1
- package/lib/esm/types/group.d.ts +2 -1
- package/lib/esm/types/index.d.ts +3 -1
- package/lib/esm/types/index.js +3 -1
- package/lib/esm/types/notification.d.ts +5 -1
- package/lib/esm/types/notification.js +4 -0
- package/lib/esm/types/payment.d.ts +100 -0
- package/lib/esm/types/payment.js +22 -0
- package/lib/esm/types/preference.d.ts +8 -1
- package/lib/esm/types/preference.js +7 -0
- package/lib/umd/types.js +1 -1
- package/package.json +2 -2
package/lib/cjs/index.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Types
|
|
3
3
|
*/
|
|
4
|
-
import { type SCBannerType, type SCBroadcastMessageType, type SCAuthTokenType, type SCCustomAdvType, type SCCustomMenuItemType, type SCCustomMenuType, type SCUserType, type SCUserSettingsType, type SCUserBlockedSettingsType, type SCUserModerationType, type SCUserScoreVariation, type SCUserScoreType, type SCUserReputationType, type SCUserAutocompleteType, type SCUserCounterType, type SCUserChangeEmailType, type SCUserAvatarType, type SCUserPermissionType, type SCUserFollowedStatusType, type SCUserFollowerStatusType, type SCUserConnectionStatusType, type SCUserHiddenStatusType, type SCUserHiddenByStatusType, type SCUserConnectionRequestType, type SCUserEmailTokenType, type SCUserProviderAssociationType, type SCMetadataType, type SCTagType, type SCCategoryType, type SCCategoryAudienceType, type SCCategoryFollowedStatusType, type SCEmbedType, type SCMediaType, type SCChunkMediaType, type SCContributionLocation, type SCLocalityType, type SCPollChoiceType, type SCPollType, type SCPollVoteType, type SCFeedUnitType, type SCFeedUnitActivityType, type SCFeedObjectType, type SCFeedPostType, type SCFeedDiscussionType, type SCFeedStatusType, type SCFeedUnseenCountType, type SCFeedObjectSuspendedStatusType, type SCFeedObjectHideStatusType, type SCFeedObjectFollowingStatusType, type SCCommentType, type SCPrivateMessageThreadType, type SCPrivateMessageSnippetType, type SCPrivateMessageFileType, type SCPrivateMessageUploadMediaType, type SCPrivateMessageUploadThumbnailType, type SCPrivateMessageUploadMediaChunkType, type SCNotificationAggregatedType, type SCNotificationCommentType, type SCNotificationConnectionAcceptType, type SCNotificationConnectionRequestType, type SCNotificationPrivateMessageType, type SCNotificationMentionType, type SCNotificationType, type SCNotificationBlockedUserType, type SCNotificationCollapsedForType, type SCNotificationCustomNotificationType, type SCNotificationDeletedForType, type SCNotificationFollowType, type SCNotificationKindlyNoticeType, type SCNotificationUnBlockedUserType, type SCNotificationUnDeletedForType, type SCNotificationUserFollowType, type SCNotificationVoteUpType, type SCCustomNotificationType, type SCNotificationUnseenCountType, type SCNotificationContributionType, type SCNotificationGroupActivityType, type SCNotificationEventActivityType, type SCNotificationLiveStreamActivityType, type SCIncubatorType, type SCIncubatorSubscriptionType, type SCInviteType, type SCNotificationIncubatorType, type SCPrizeType, type SCPrizeUserType, type SCPromoType, type SCUserLoyaltyPointsType, type SCWebhookEndpointType, type SCWebhookEndpointAttemptType, type SCWebhookEndpointSecretType, type SCWebhookEventsType, type SCVoteType, type SCFlagType, type SCCustomPageType, type SCDataPortabilityType, type SCPreferenceType, type SCFeatureType, type SSOSignInType, type SSOSignUpType, type SCLegalPageType, type SCLegalPageAckType, type SCContributionInsightCountersType, type SCContributionInsightType, type SCEmbedInsightType, type SCEmbedInsightCountersType, type SCUsersInsightType, type SCUsersInsightCountersType, type SCFlaggedContributionType, type SCPlatformType, type SCAvatarType, type SCReactionType, type SCDeviceType, type SCApnsDeviceType, type SCGcmDeviceType, type SCSuggestionType, type SCContributionStatus, type SCGroupType, type SCEventType, type SCStepType, type SCLiveStreamType, type SCLiveStreamConnectionDetailsType, type SCLiveStreamMonthlyDurationType, type SCLiveStreamSettingsType, type SCLiveStreamConnectionDetailsResponseErrorType } from './types';
|
|
4
|
+
import { type SCBannerType, type SCBroadcastMessageType, type SCAuthTokenType, type SCCustomAdvType, type SCCustomMenuItemType, type SCCustomMenuType, type SCUserType, type SCUserSettingsType, type SCUserBlockedSettingsType, type SCUserModerationType, type SCUserScoreVariation, type SCUserScoreType, type SCUserReputationType, type SCUserAutocompleteType, type SCUserCounterType, type SCUserChangeEmailType, type SCUserAvatarType, type SCUserPermissionType, type SCUserFollowedStatusType, type SCUserFollowerStatusType, type SCUserConnectionStatusType, type SCUserHiddenStatusType, type SCUserHiddenByStatusType, type SCUserConnectionRequestType, type SCUserEmailTokenType, type SCUserProviderAssociationType, type SCMetadataType, type SCTagType, type SCCategoryType, type SCCategoryAudienceType, type SCCategoryFollowedStatusType, type SCEmbedType, type SCMediaType, type SCChunkMediaType, type SCContributionLocation, type SCLocalityType, type SCPollChoiceType, type SCPollType, type SCPollVoteType, type SCFeedUnitType, type SCFeedUnitActivityType, type SCFeedObjectType, type SCFeedPostType, type SCFeedDiscussionType, type SCFeedStatusType, type SCFeedUnseenCountType, type SCFeedObjectSuspendedStatusType, type SCFeedObjectHideStatusType, type SCFeedObjectFollowingStatusType, type SCCommentType, type SCPrivateMessageThreadType, type SCPrivateMessageSnippetType, type SCPrivateMessageFileType, type SCPrivateMessageUploadMediaType, type SCPrivateMessageUploadThumbnailType, type SCPrivateMessageUploadMediaChunkType, type SCNotificationAggregatedType, type SCNotificationCommentType, type SCNotificationConnectionAcceptType, type SCNotificationConnectionRequestType, type SCNotificationPrivateMessageType, type SCNotificationMentionType, type SCNotificationType, type SCNotificationBlockedUserType, type SCNotificationCollapsedForType, type SCNotificationCustomNotificationType, type SCNotificationDeletedForType, type SCNotificationFollowType, type SCNotificationKindlyNoticeType, type SCNotificationUnBlockedUserType, type SCNotificationUnDeletedForType, type SCNotificationUserFollowType, type SCNotificationVoteUpType, type SCCustomNotificationType, type SCNotificationUnseenCountType, type SCNotificationContributionType, type SCNotificationGroupActivityType, type SCNotificationEventActivityType, type SCNotificationLiveStreamActivityType, type SCIncubatorType, type SCIncubatorSubscriptionType, type SCInviteType, type SCNotificationIncubatorType, type SCPrizeType, type SCPrizeUserType, type SCPromoType, type SCUserLoyaltyPointsType, type SCWebhookEndpointType, type SCWebhookEndpointAttemptType, type SCWebhookEndpointSecretType, type SCWebhookEventsType, type SCVoteType, type SCFlagType, type SCCustomPageType, type SCDataPortabilityType, type SCPreferenceType, type SCFeatureType, type SSOSignInType, type SSOSignUpType, type SCLegalPageType, type SCLegalPageAckType, type SCContributionInsightCountersType, type SCContributionInsightType, type SCEmbedInsightType, type SCEmbedInsightCountersType, type SCUsersInsightType, type SCUsersInsightCountersType, type SCFlaggedContributionType, type SCPlatformType, type SCAvatarType, type SCReactionType, type SCDeviceType, type SCApnsDeviceType, type SCGcmDeviceType, type SCSuggestionType, type SCContributionStatus, type SCGroupType, type SCEventType, type SCStepType, type SCCourseType, type SCCourseCommentType, type SCCourseLessonType, type SCCourseSectionType, type SCLiveStreamType, type SCLiveStreamConnectionDetailsType, type SCLiveStreamMonthlyDurationType, type SCLiveStreamSettingsType, type SCLiveStreamConnectionDetailsResponseErrorType, type SCPaymentProduct, type SCPaymentPrice, type SCCheckoutSession, type SCPurchasableContent, type SCCheckoutSessionDetail } from './types';
|
|
5
5
|
/**
|
|
6
6
|
* Import enums
|
|
7
7
|
*/
|
|
8
|
-
import { SCContributionType, SCBroadcastMessageBannerType, SCCategoryAutoFollowType, SCCommentsOrderBy, SCCustomAdvPosition, SCCustomPageTypeEnum, SCDeviceTypeEnum, SCDeviceApnsTypeEnum, SCFeatureName, SCFeedTypologyType, SCFeedUnitActivityTypologyType, SCFlagTypeEnum, SCFlagModerationStatusType, SCConnectionStatus, SCIncubatorStatusType, SCLegalPagePoliciesType, SCLanguageType, SCNotificationTypologyType, SCNotificationTopicType, SCPreferenceSection, SCPreferenceName, SCMessageFileType, SCPrizeUserStatusType, SCUserStatus, SuggestionType, SCPrivateMessageStatusType, SCMetadataTypeFieldType, SCGroupPrivacyType, SCGroupSubscriptionStatusType, SCPrivateMessageType, SCEventPrivacyType, SCEventSubscriptionStatusType, SCEventRecurrenceType, SCEventLocationType, SCEventLocationFilterType, SCEventDateFilterType, SCOnBoardingStepType, SCOnBoardingStepStatusType, SCOnBoardingStepIdType, SCLiveStreamConnectionDetailsErrorType, SCLiveStreamViewType, SCCommunitySubscriptionTier, SCCommunityEnvironment } from './types';
|
|
8
|
+
import { SCContributionType, SCBroadcastMessageBannerType, SCCategoryAutoFollowType, SCCommentsOrderBy, SCCustomAdvPosition, SCCustomPageTypeEnum, SCDeviceTypeEnum, SCDeviceApnsTypeEnum, SCFeatureName, SCFeedTypologyType, SCFeedUnitActivityTypologyType, SCFlagTypeEnum, SCFlagModerationStatusType, SCConnectionStatus, SCIncubatorStatusType, SCLegalPagePoliciesType, SCLanguageType, SCNotificationTypologyType, SCNotificationTopicType, SCPreferenceSection, SCPreferenceName, SCMessageFileType, SCPrizeUserStatusType, SCUserStatus, SuggestionType, SCPrivateMessageStatusType, SCMetadataTypeFieldType, SCGroupPrivacyType, SCGroupSubscriptionStatusType, SCPrivateMessageType, SCEventPrivacyType, SCEventSubscriptionStatusType, SCEventRecurrenceType, SCEventLocationType, SCEventLocationFilterType, SCEventDateFilterType, SCOnBoardingStepType, SCOnBoardingStepStatusType, SCOnBoardingStepIdType, SCCoursePrivacyType, SCCourseJoinStatusType, SCCourseLessonTypologyType, SCCourseTypologyType, SCCourseLessonStatusType, SCCourseLessonCompletionStatusType, SCLiveStreamConnectionDetailsErrorType, SCLiveStreamViewType, SCCommunitySubscriptionTier, SCCommunityEnvironment, SCPaymentPriceCurrencyType, SCContentType, SCCheckoutSessionStatus } from './types';
|
|
9
9
|
/**
|
|
10
10
|
* List all exports enums and types
|
|
11
11
|
*/
|
|
12
|
-
export { SCContributionType, SCBroadcastMessageBannerType, SCCategoryAutoFollowType, SCCommentsOrderBy, SCCustomAdvPosition, SCCustomPageTypeEnum, SCDeviceTypeEnum, SCDeviceApnsTypeEnum, SCFeatureName, SCFeedTypologyType, SCFeedUnitActivityTypologyType, SCFlagTypeEnum, SCFlagModerationStatusType, SCConnectionStatus, SCIncubatorStatusType, SCLegalPagePoliciesType, SCLanguageType, SCNotificationTypologyType, SCNotificationTopicType, SCPreferenceSection, SCPreferenceName, SCMessageFileType, SCPrizeUserStatusType, SCUserStatus, SuggestionType, SCPrivateMessageStatusType, SCMetadataTypeFieldType, SCGroupPrivacyType, SCGroupSubscriptionStatusType, SCPrivateMessageType, SCEventPrivacyType, SCEventSubscriptionStatusType, SCEventRecurrenceType, SCEventLocationType, SCEventLocationFilterType, SCEventDateFilterType, SCOnBoardingStepType, SCOnBoardingStepStatusType, SCOnBoardingStepIdType, SCLiveStreamConnectionDetailsErrorType, SCLiveStreamViewType, SCCommunitySubscriptionTier, SCCommunityEnvironment };
|
|
13
|
-
export { type SCBannerType, type SCBroadcastMessageType, type SCCustomAdvType, type SCCustomMenuItemType, type SCCustomMenuType, type SCAuthTokenType, type SCUserType, type SCUserSettingsType, type SCUserBlockedSettingsType, type SCUserModerationType, type SCUserScoreVariation, type SCUserScoreType, type SCUserReputationType, type SCUserAutocompleteType, type SCUserCounterType, type SCUserAvatarType, type SCUserChangeEmailType, type SCUserPermissionType, type SCUserFollowedStatusType, type SCUserFollowerStatusType, type SCUserConnectionStatusType, type SCUserHiddenStatusType, type SCUserHiddenByStatusType, type SCUserConnectionRequestType, type SCUserEmailTokenType, type SCUserProviderAssociationType, type SCMetadataType, type SCTagType, type SCCategoryType, type SCCategoryAudienceType, type SCCategoryFollowedStatusType, type SCEmbedType, type SCMediaType, type SCChunkMediaType, type SCContributionLocation, type SCLocalityType, type SCPollChoiceType, type SCPollType, type SCPollVoteType, type SCFeedUnitType, type SCFeedUnitActivityType, type SCFeedObjectType, type SCFeedPostType, type SCFeedDiscussionType, type SCFeedStatusType, type SCFeedUnseenCountType, type SCFeedObjectSuspendedStatusType, type SCFeedObjectHideStatusType, type SCFeedObjectFollowingStatusType, type SCCommentType, type SCPrivateMessageThreadType, type SCPrivateMessageSnippetType, type SCPrivateMessageFileType, type SCPrivateMessageUploadMediaType, type SCPrivateMessageUploadThumbnailType, type SCPrivateMessageUploadMediaChunkType, type SCPromoType, type SCNotificationAggregatedType, type SCNotificationCommentType, type SCNotificationConnectionAcceptType, type SCNotificationConnectionRequestType, type SCNotificationPrivateMessageType, type SCNotificationMentionType, type SCNotificationType, type SCNotificationBlockedUserType, type SCNotificationCollapsedForType, type SCNotificationCustomNotificationType, type SCNotificationDeletedForType, type SCNotificationFollowType, type SCNotificationKindlyNoticeType, type SCNotificationUnBlockedUserType, type SCNotificationUnDeletedForType, type SCNotificationUserFollowType, type SCNotificationVoteUpType, type SCCustomNotificationType, type SCNotificationContributionType, type SCNotificationGroupActivityType, type SCNotificationEventActivityType, type SCNotificationLiveStreamActivityType, type SCIncubatorType, type SCIncubatorSubscriptionType, type SCInviteType, type SCNotificationIncubatorType, type SCNotificationUnseenCountType, type SCPrizeType, type SCPrizeUserType, type SCUserLoyaltyPointsType, type SCWebhookEndpointType, type SCWebhookEndpointAttemptType, type SCWebhookEndpointSecretType, type SCWebhookEventsType, type SCContributionStatus, type SCVoteType, type SCFlagType, type SCCustomPageType, type SCDataPortabilityType, type SCPreferenceType, type SCFeatureType, type SSOSignInType, type SSOSignUpType, type SCLegalPageType, type SCLegalPageAckType, type SCContributionInsightCountersType, type SCContributionInsightType, type SCEmbedInsightType, type SCEmbedInsightCountersType, type SCUsersInsightType, type SCUsersInsightCountersType, type SCFlaggedContributionType, type SCPlatformType, type SCAvatarType, type SCReactionType, type SCDeviceType, type SCApnsDeviceType, type SCGcmDeviceType, type SCSuggestionType, type SCGroupType, type SCEventType, type SCStepType, type SCLiveStreamType, type SCLiveStreamConnectionDetailsType, type SCLiveStreamMonthlyDurationType, type SCLiveStreamSettingsType, type SCLiveStreamConnectionDetailsResponseErrorType };
|
|
12
|
+
export { SCContributionType, SCBroadcastMessageBannerType, SCCategoryAutoFollowType, SCCommentsOrderBy, SCCustomAdvPosition, SCCustomPageTypeEnum, SCDeviceTypeEnum, SCDeviceApnsTypeEnum, SCFeatureName, SCFeedTypologyType, SCFeedUnitActivityTypologyType, SCFlagTypeEnum, SCFlagModerationStatusType, SCConnectionStatus, SCIncubatorStatusType, SCLegalPagePoliciesType, SCLanguageType, SCNotificationTypologyType, SCNotificationTopicType, SCPreferenceSection, SCPreferenceName, SCMessageFileType, SCPrizeUserStatusType, SCUserStatus, SuggestionType, SCPrivateMessageStatusType, SCMetadataTypeFieldType, SCGroupPrivacyType, SCGroupSubscriptionStatusType, SCPrivateMessageType, SCEventPrivacyType, SCEventSubscriptionStatusType, SCEventRecurrenceType, SCEventLocationType, SCEventLocationFilterType, SCEventDateFilterType, SCOnBoardingStepType, SCOnBoardingStepStatusType, SCOnBoardingStepIdType, SCCoursePrivacyType, SCCourseJoinStatusType, SCCourseLessonTypologyType, SCCourseTypologyType, SCCourseLessonCompletionStatusType, SCCourseLessonStatusType, SCLiveStreamConnectionDetailsErrorType, SCLiveStreamViewType, SCCommunitySubscriptionTier, SCCommunityEnvironment, SCPaymentPriceCurrencyType, SCContentType, SCCheckoutSessionStatus };
|
|
13
|
+
export { type SCBannerType, type SCBroadcastMessageType, type SCCustomAdvType, type SCCustomMenuItemType, type SCCustomMenuType, type SCAuthTokenType, type SCUserType, type SCUserSettingsType, type SCUserBlockedSettingsType, type SCUserModerationType, type SCUserScoreVariation, type SCUserScoreType, type SCUserReputationType, type SCUserAutocompleteType, type SCUserCounterType, type SCUserAvatarType, type SCUserChangeEmailType, type SCUserPermissionType, type SCUserFollowedStatusType, type SCUserFollowerStatusType, type SCUserConnectionStatusType, type SCUserHiddenStatusType, type SCUserHiddenByStatusType, type SCUserConnectionRequestType, type SCUserEmailTokenType, type SCUserProviderAssociationType, type SCMetadataType, type SCTagType, type SCCategoryType, type SCCategoryAudienceType, type SCCategoryFollowedStatusType, type SCEmbedType, type SCMediaType, type SCChunkMediaType, type SCContributionLocation, type SCLocalityType, type SCPollChoiceType, type SCPollType, type SCPollVoteType, type SCFeedUnitType, type SCFeedUnitActivityType, type SCFeedObjectType, type SCFeedPostType, type SCFeedDiscussionType, type SCFeedStatusType, type SCFeedUnseenCountType, type SCFeedObjectSuspendedStatusType, type SCFeedObjectHideStatusType, type SCFeedObjectFollowingStatusType, type SCCommentType, type SCPrivateMessageThreadType, type SCPrivateMessageSnippetType, type SCPrivateMessageFileType, type SCPrivateMessageUploadMediaType, type SCPrivateMessageUploadThumbnailType, type SCPrivateMessageUploadMediaChunkType, type SCPromoType, type SCNotificationAggregatedType, type SCNotificationCommentType, type SCNotificationConnectionAcceptType, type SCNotificationConnectionRequestType, type SCNotificationPrivateMessageType, type SCNotificationMentionType, type SCNotificationType, type SCNotificationBlockedUserType, type SCNotificationCollapsedForType, type SCNotificationCustomNotificationType, type SCNotificationDeletedForType, type SCNotificationFollowType, type SCNotificationKindlyNoticeType, type SCNotificationUnBlockedUserType, type SCNotificationUnDeletedForType, type SCNotificationUserFollowType, type SCNotificationVoteUpType, type SCCustomNotificationType, type SCNotificationContributionType, type SCNotificationGroupActivityType, type SCNotificationEventActivityType, type SCNotificationLiveStreamActivityType, type SCIncubatorType, type SCIncubatorSubscriptionType, type SCInviteType, type SCNotificationIncubatorType, type SCNotificationUnseenCountType, type SCPrizeType, type SCPrizeUserType, type SCUserLoyaltyPointsType, type SCWebhookEndpointType, type SCWebhookEndpointAttemptType, type SCWebhookEndpointSecretType, type SCWebhookEventsType, type SCContributionStatus, type SCVoteType, type SCFlagType, type SCCustomPageType, type SCDataPortabilityType, type SCPreferenceType, type SCFeatureType, type SSOSignInType, type SSOSignUpType, type SCLegalPageType, type SCLegalPageAckType, type SCContributionInsightCountersType, type SCContributionInsightType, type SCEmbedInsightType, type SCEmbedInsightCountersType, type SCUsersInsightType, type SCUsersInsightCountersType, type SCFlaggedContributionType, type SCPlatformType, type SCAvatarType, type SCReactionType, type SCDeviceType, type SCApnsDeviceType, type SCGcmDeviceType, type SCSuggestionType, type SCGroupType, type SCEventType, type SCStepType, type SCCourseType, type SCCourseCommentType, type SCCourseSectionType, type SCCourseLessonType, type SCLiveStreamType, type SCLiveStreamConnectionDetailsType, type SCLiveStreamMonthlyDurationType, type SCLiveStreamSettingsType, type SCLiveStreamConnectionDetailsResponseErrorType, type SCPaymentProduct, type SCPaymentPrice, type SCCheckoutSession, type SCPurchasableContent, type SCCheckoutSessionDetail };
|
package/lib/cjs/index.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.SCCommunityEnvironment = exports.SCCommunitySubscriptionTier = exports.SCLiveStreamViewType = exports.SCLiveStreamConnectionDetailsErrorType = exports.SCOnBoardingStepIdType = exports.SCOnBoardingStepStatusType = exports.SCOnBoardingStepType = exports.SCEventDateFilterType = exports.SCEventLocationFilterType = exports.SCEventLocationType = exports.SCEventRecurrenceType = exports.SCEventSubscriptionStatusType = exports.SCEventPrivacyType = exports.SCPrivateMessageType = exports.SCGroupSubscriptionStatusType = exports.SCGroupPrivacyType = exports.SCMetadataTypeFieldType = exports.SCPrivateMessageStatusType = exports.SuggestionType = exports.SCUserStatus = exports.SCPrizeUserStatusType = exports.SCMessageFileType = exports.SCPreferenceName = exports.SCPreferenceSection = exports.SCNotificationTopicType = exports.SCNotificationTypologyType = exports.SCLanguageType = exports.SCLegalPagePoliciesType = exports.SCIncubatorStatusType = exports.SCConnectionStatus = exports.SCFlagModerationStatusType = exports.SCFlagTypeEnum = exports.SCFeedUnitActivityTypologyType = exports.SCFeedTypologyType = exports.SCFeatureName = exports.SCDeviceApnsTypeEnum = exports.SCDeviceTypeEnum = exports.SCCustomPageTypeEnum = exports.SCCustomAdvPosition = exports.SCCommentsOrderBy = exports.SCCategoryAutoFollowType = exports.SCBroadcastMessageBannerType = exports.SCContributionType = void 0;
|
|
3
|
+
exports.SCPaymentPriceCurrencyType = exports.SCCommunityEnvironment = exports.SCCommunitySubscriptionTier = exports.SCLiveStreamViewType = exports.SCLiveStreamConnectionDetailsErrorType = exports.SCCourseLessonStatusType = exports.SCCourseLessonCompletionStatusType = exports.SCCourseTypologyType = exports.SCCourseLessonTypologyType = exports.SCCourseJoinStatusType = exports.SCCoursePrivacyType = exports.SCOnBoardingStepIdType = exports.SCOnBoardingStepStatusType = exports.SCOnBoardingStepType = exports.SCEventDateFilterType = exports.SCEventLocationFilterType = exports.SCEventLocationType = exports.SCEventRecurrenceType = exports.SCEventSubscriptionStatusType = exports.SCEventPrivacyType = exports.SCPrivateMessageType = exports.SCGroupSubscriptionStatusType = exports.SCGroupPrivacyType = exports.SCMetadataTypeFieldType = exports.SCPrivateMessageStatusType = exports.SuggestionType = exports.SCUserStatus = exports.SCPrizeUserStatusType = exports.SCMessageFileType = exports.SCPreferenceName = exports.SCPreferenceSection = exports.SCNotificationTopicType = exports.SCNotificationTypologyType = exports.SCLanguageType = exports.SCLegalPagePoliciesType = exports.SCIncubatorStatusType = exports.SCConnectionStatus = exports.SCFlagModerationStatusType = exports.SCFlagTypeEnum = exports.SCFeedUnitActivityTypologyType = exports.SCFeedTypologyType = exports.SCFeatureName = exports.SCDeviceApnsTypeEnum = exports.SCDeviceTypeEnum = exports.SCCustomPageTypeEnum = exports.SCCustomAdvPosition = exports.SCCommentsOrderBy = exports.SCCategoryAutoFollowType = exports.SCBroadcastMessageBannerType = exports.SCContributionType = void 0;
|
|
4
|
+
exports.SCCheckoutSessionStatus = exports.SCContentType = void 0;
|
|
4
5
|
/**
|
|
5
6
|
* Import enums
|
|
6
7
|
*/
|
|
@@ -44,7 +45,16 @@ Object.defineProperty(exports, "SCEventDateFilterType", { enumerable: true, get:
|
|
|
44
45
|
Object.defineProperty(exports, "SCOnBoardingStepType", { enumerable: true, get: function () { return types_1.SCOnBoardingStepType; } });
|
|
45
46
|
Object.defineProperty(exports, "SCOnBoardingStepStatusType", { enumerable: true, get: function () { return types_1.SCOnBoardingStepStatusType; } });
|
|
46
47
|
Object.defineProperty(exports, "SCOnBoardingStepIdType", { enumerable: true, get: function () { return types_1.SCOnBoardingStepIdType; } });
|
|
48
|
+
Object.defineProperty(exports, "SCCoursePrivacyType", { enumerable: true, get: function () { return types_1.SCCoursePrivacyType; } });
|
|
49
|
+
Object.defineProperty(exports, "SCCourseJoinStatusType", { enumerable: true, get: function () { return types_1.SCCourseJoinStatusType; } });
|
|
50
|
+
Object.defineProperty(exports, "SCCourseLessonTypologyType", { enumerable: true, get: function () { return types_1.SCCourseLessonTypologyType; } });
|
|
51
|
+
Object.defineProperty(exports, "SCCourseTypologyType", { enumerable: true, get: function () { return types_1.SCCourseTypologyType; } });
|
|
52
|
+
Object.defineProperty(exports, "SCCourseLessonStatusType", { enumerable: true, get: function () { return types_1.SCCourseLessonStatusType; } });
|
|
53
|
+
Object.defineProperty(exports, "SCCourseLessonCompletionStatusType", { enumerable: true, get: function () { return types_1.SCCourseLessonCompletionStatusType; } });
|
|
47
54
|
Object.defineProperty(exports, "SCLiveStreamConnectionDetailsErrorType", { enumerable: true, get: function () { return types_1.SCLiveStreamConnectionDetailsErrorType; } });
|
|
48
55
|
Object.defineProperty(exports, "SCLiveStreamViewType", { enumerable: true, get: function () { return types_1.SCLiveStreamViewType; } });
|
|
49
56
|
Object.defineProperty(exports, "SCCommunitySubscriptionTier", { enumerable: true, get: function () { return types_1.SCCommunitySubscriptionTier; } });
|
|
50
57
|
Object.defineProperty(exports, "SCCommunityEnvironment", { enumerable: true, get: function () { return types_1.SCCommunityEnvironment; } });
|
|
58
|
+
Object.defineProperty(exports, "SCPaymentPriceCurrencyType", { enumerable: true, get: function () { return types_1.SCPaymentPriceCurrencyType; } });
|
|
59
|
+
Object.defineProperty(exports, "SCContentType", { enumerable: true, get: function () { return types_1.SCContentType; } });
|
|
60
|
+
Object.defineProperty(exports, "SCCheckoutSessionStatus", { enumerable: true, get: function () { return types_1.SCCheckoutSessionStatus; } });
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { SCTagType } from './tag';
|
|
2
|
+
import { SCPurchasableContent } from './payment';
|
|
2
3
|
/**
|
|
3
4
|
* Interface SCCategoryType.
|
|
4
5
|
* Category Schema.
|
|
5
6
|
*/
|
|
6
|
-
export interface SCCategoryType {
|
|
7
|
+
export interface SCCategoryType extends SCPurchasableContent {
|
|
7
8
|
/**
|
|
8
9
|
* The ID of the category.
|
|
9
10
|
*/
|
|
@@ -100,6 +101,10 @@ export interface SCCategoryType {
|
|
|
100
101
|
* If the category is followed by the authenticated user
|
|
101
102
|
*/
|
|
102
103
|
followed?: boolean;
|
|
104
|
+
/**
|
|
105
|
+
* Indicates who has permission to post content
|
|
106
|
+
*/
|
|
107
|
+
content_only_staff?: boolean;
|
|
103
108
|
}
|
|
104
109
|
export interface SCCategoryAudienceType {
|
|
105
110
|
category_audience: number;
|
|
@@ -0,0 +1,374 @@
|
|
|
1
|
+
import { SCUserType } from './user';
|
|
2
|
+
import { SCCategoryType } from './category';
|
|
3
|
+
import { SCMediaType } from './media';
|
|
4
|
+
import { SCPaymentProduct, SCPurchasableContent } from './payment';
|
|
5
|
+
/**
|
|
6
|
+
* SCCoursePrivacyType enum
|
|
7
|
+
*/
|
|
8
|
+
export declare enum SCCoursePrivacyType {
|
|
9
|
+
OPEN = "open",
|
|
10
|
+
PRIVATE = "private",
|
|
11
|
+
SECRET = "secret",
|
|
12
|
+
DRAFT = ""
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* SCCourseTypologyType enum
|
|
16
|
+
*/
|
|
17
|
+
export declare enum SCCourseTypologyType {
|
|
18
|
+
SELF = "self-paced",
|
|
19
|
+
SCHEDULED = "scheduled",
|
|
20
|
+
STRUCTURED = "structured"
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* SCCourseSubscriptionStatusType enum
|
|
24
|
+
*/
|
|
25
|
+
export declare enum SCCourseJoinStatusType {
|
|
26
|
+
JOINED = "joined",
|
|
27
|
+
REQUESTED = "requested",
|
|
28
|
+
INVITED = "invited",
|
|
29
|
+
MANAGER = "manager",
|
|
30
|
+
CREATOR = "creator"
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Interface SCCourseType.
|
|
34
|
+
* Course Schema.
|
|
35
|
+
*/
|
|
36
|
+
export interface SCCourseType extends SCPurchasableContent {
|
|
37
|
+
/**
|
|
38
|
+
* The ID of the course.
|
|
39
|
+
*/
|
|
40
|
+
id: number;
|
|
41
|
+
/**
|
|
42
|
+
* The name of the course.
|
|
43
|
+
*/
|
|
44
|
+
name?: string;
|
|
45
|
+
/**
|
|
46
|
+
* The slug for the course.
|
|
47
|
+
*/
|
|
48
|
+
slug?: string;
|
|
49
|
+
/**
|
|
50
|
+
* The description of the course.
|
|
51
|
+
*/
|
|
52
|
+
description?: string;
|
|
53
|
+
/**
|
|
54
|
+
* The course type
|
|
55
|
+
*/
|
|
56
|
+
type?: SCCourseTypologyType;
|
|
57
|
+
/**
|
|
58
|
+
* The course privacy.
|
|
59
|
+
*/
|
|
60
|
+
privacy?: SCCoursePrivacyType;
|
|
61
|
+
/**
|
|
62
|
+
* The lesson order enforcement
|
|
63
|
+
*/
|
|
64
|
+
enforce_lessons_order?: boolean;
|
|
65
|
+
/**
|
|
66
|
+
* Notifies course admins about new lesson comments
|
|
67
|
+
*/
|
|
68
|
+
new_comment_notification_enabled?: boolean;
|
|
69
|
+
/**
|
|
70
|
+
* Hide member count (default: false).
|
|
71
|
+
* If enabled, only managers can see the member count
|
|
72
|
+
*/
|
|
73
|
+
hide_member_count?: boolean;
|
|
74
|
+
/**
|
|
75
|
+
* The course meta title
|
|
76
|
+
*/
|
|
77
|
+
meta_title?: string;
|
|
78
|
+
/**
|
|
79
|
+
* The course meta description
|
|
80
|
+
*/
|
|
81
|
+
meta_description?: string;
|
|
82
|
+
/**
|
|
83
|
+
* The course Open Graph title
|
|
84
|
+
*/
|
|
85
|
+
og_title?: string;
|
|
86
|
+
/**
|
|
87
|
+
* The course Open Graph description
|
|
88
|
+
*/
|
|
89
|
+
og_description?: string;
|
|
90
|
+
/**
|
|
91
|
+
* The course Open Graph image
|
|
92
|
+
*/
|
|
93
|
+
og_image?: string;
|
|
94
|
+
/**
|
|
95
|
+
* The list of all section IDs belonging to the current course
|
|
96
|
+
*/
|
|
97
|
+
sections_order?: number[];
|
|
98
|
+
/**
|
|
99
|
+
* The course image, original format.
|
|
100
|
+
*/
|
|
101
|
+
image_original?: string;
|
|
102
|
+
/**
|
|
103
|
+
* The course image, bigger format.
|
|
104
|
+
*/
|
|
105
|
+
image_bigger?: string;
|
|
106
|
+
/**
|
|
107
|
+
* The course image, big format.
|
|
108
|
+
*/
|
|
109
|
+
image_big?: string;
|
|
110
|
+
/**
|
|
111
|
+
* The course image, medium format.
|
|
112
|
+
*/
|
|
113
|
+
image_medium?: string;
|
|
114
|
+
/**
|
|
115
|
+
* The course image, small format.
|
|
116
|
+
*/
|
|
117
|
+
image_small?: string;
|
|
118
|
+
/**
|
|
119
|
+
* The course subscription status.
|
|
120
|
+
*/
|
|
121
|
+
join_status?: SCCourseJoinStatusType | null;
|
|
122
|
+
/**
|
|
123
|
+
* The course creation date.
|
|
124
|
+
*/
|
|
125
|
+
created_at?: string;
|
|
126
|
+
/**
|
|
127
|
+
* The course creator.
|
|
128
|
+
*/
|
|
129
|
+
created_by?: SCUserType;
|
|
130
|
+
/**
|
|
131
|
+
* The categories list ids
|
|
132
|
+
*/
|
|
133
|
+
categories?: SCCategoryType[];
|
|
134
|
+
/**
|
|
135
|
+
* The course sections
|
|
136
|
+
*/
|
|
137
|
+
sections?: SCCourseSectionType[] | any;
|
|
138
|
+
/**
|
|
139
|
+
* Total number of published lessons of the course
|
|
140
|
+
*/
|
|
141
|
+
num_lessons?: number;
|
|
142
|
+
/**
|
|
143
|
+
* Total number of sections with at least one lesson
|
|
144
|
+
*/
|
|
145
|
+
num_sections?: number;
|
|
146
|
+
/**
|
|
147
|
+
* Number of lessons completed by the user
|
|
148
|
+
*/
|
|
149
|
+
num_lessons_completed?: number;
|
|
150
|
+
/**
|
|
151
|
+
* User completion rate of the course (percentage)
|
|
152
|
+
*/
|
|
153
|
+
user_completion_rate?: number;
|
|
154
|
+
/**
|
|
155
|
+
* Users completion rate of the course (percentage)
|
|
156
|
+
*/
|
|
157
|
+
avg_completion_rate?: number;
|
|
158
|
+
}
|
|
159
|
+
/**
|
|
160
|
+
* Interface SCCourseCommentType.
|
|
161
|
+
* Course Comment Schema.
|
|
162
|
+
*/
|
|
163
|
+
export interface SCCourseCommentType {
|
|
164
|
+
/**
|
|
165
|
+
* The unique integer value identifying this comment on a specific course
|
|
166
|
+
*/
|
|
167
|
+
id: number;
|
|
168
|
+
/**
|
|
169
|
+
* The comment text.
|
|
170
|
+
* @default empty string.
|
|
171
|
+
* Only available when creating or updating a comment
|
|
172
|
+
*/
|
|
173
|
+
text: string;
|
|
174
|
+
/**
|
|
175
|
+
* The comment text.
|
|
176
|
+
* Only available when getting a comment
|
|
177
|
+
*/
|
|
178
|
+
html: string;
|
|
179
|
+
/**
|
|
180
|
+
* The Id of the parent comment
|
|
181
|
+
*/
|
|
182
|
+
parent: number;
|
|
183
|
+
/**
|
|
184
|
+
* The Id of the reply comment.
|
|
185
|
+
* It must have the same parent
|
|
186
|
+
*/
|
|
187
|
+
in_reply_to: number;
|
|
188
|
+
/**
|
|
189
|
+
* Datetime of comment creation
|
|
190
|
+
*/
|
|
191
|
+
created_at: string;
|
|
192
|
+
/**
|
|
193
|
+
* The comment creator
|
|
194
|
+
*/
|
|
195
|
+
created_by: SCUserType;
|
|
196
|
+
/**
|
|
197
|
+
* List of id of Media for this comment
|
|
198
|
+
*/
|
|
199
|
+
medias: SCMediaType[];
|
|
200
|
+
/**
|
|
201
|
+
* The last comment in reply to (with parent) this comment.
|
|
202
|
+
* Not available if replies are presents.
|
|
203
|
+
*/
|
|
204
|
+
latest_reply: SCCourseCommentType | null;
|
|
205
|
+
/**
|
|
206
|
+
* The list of comments in reply to (with parent) this comment.
|
|
207
|
+
* Not available if latest_reply are presents.
|
|
208
|
+
* Only available on the route: Get Course Comments
|
|
209
|
+
*/
|
|
210
|
+
replies: SCCourseCommentType[];
|
|
211
|
+
/**
|
|
212
|
+
* Some extra useful data for the call that retrieves all the comments received within the entire course.
|
|
213
|
+
* Only available on the route: Get Course Comments
|
|
214
|
+
*/
|
|
215
|
+
extras: {
|
|
216
|
+
/**
|
|
217
|
+
* The course object associated to this comment
|
|
218
|
+
*/
|
|
219
|
+
course: {
|
|
220
|
+
id: number;
|
|
221
|
+
slug: string;
|
|
222
|
+
};
|
|
223
|
+
/**
|
|
224
|
+
* The section object associated to this comment
|
|
225
|
+
*/
|
|
226
|
+
section: {
|
|
227
|
+
id: number;
|
|
228
|
+
name: string;
|
|
229
|
+
};
|
|
230
|
+
/**
|
|
231
|
+
* The lesson object associated to this comment
|
|
232
|
+
*/
|
|
233
|
+
lesson: {
|
|
234
|
+
id: number;
|
|
235
|
+
name: string;
|
|
236
|
+
};
|
|
237
|
+
};
|
|
238
|
+
/**
|
|
239
|
+
* Paywalls
|
|
240
|
+
*/
|
|
241
|
+
paywalls?: SCPaymentProduct[];
|
|
242
|
+
}
|
|
243
|
+
/**
|
|
244
|
+
* Interface SCCourseSectionType.
|
|
245
|
+
* Course Schema.
|
|
246
|
+
*/
|
|
247
|
+
export interface SCCourseSectionType {
|
|
248
|
+
/**
|
|
249
|
+
* The ID of the course section.
|
|
250
|
+
*/
|
|
251
|
+
id?: number;
|
|
252
|
+
/**
|
|
253
|
+
* The name of the section course
|
|
254
|
+
*/
|
|
255
|
+
name?: string;
|
|
256
|
+
/**
|
|
257
|
+
* Sections are dripped relative to this date; used only id course type is scheduled
|
|
258
|
+
*/
|
|
259
|
+
dripped_at?: Date | string;
|
|
260
|
+
/**
|
|
261
|
+
* Sections are dripped relative to the enrollment date of the current user; used only if the course type is structured .
|
|
262
|
+
*/
|
|
263
|
+
drip_delay?: number;
|
|
264
|
+
/**
|
|
265
|
+
* The list of all lesson IDs belonging to the current section course
|
|
266
|
+
*/
|
|
267
|
+
lessons_order?: number[];
|
|
268
|
+
/**
|
|
269
|
+
* The lessons associated to the course section
|
|
270
|
+
*/
|
|
271
|
+
lessons?: SCCourseLessonType[];
|
|
272
|
+
/**
|
|
273
|
+
* Determines when the current section will be available for the user.
|
|
274
|
+
* The value will be null if the course type is self-paced
|
|
275
|
+
*/
|
|
276
|
+
available_date?: string;
|
|
277
|
+
/**
|
|
278
|
+
* Determines whether the current section is locked for the user based on the section availability strategy.
|
|
279
|
+
* The value will not be considered if the course type is self-paced
|
|
280
|
+
*/
|
|
281
|
+
locked?: boolean;
|
|
282
|
+
/**
|
|
283
|
+
* Total number of published lessons of the current course section
|
|
284
|
+
*/
|
|
285
|
+
num_lessons?: number;
|
|
286
|
+
/**
|
|
287
|
+
* Number of lessons completed by the user in the current course section
|
|
288
|
+
*/
|
|
289
|
+
num_lessons_completed?: number;
|
|
290
|
+
}
|
|
291
|
+
/**
|
|
292
|
+
* SCCourseLessonTypologyType enum
|
|
293
|
+
*/
|
|
294
|
+
export declare enum SCCourseLessonTypologyType {
|
|
295
|
+
LESSON = "lesson",
|
|
296
|
+
QUIZ = "quiz"
|
|
297
|
+
}
|
|
298
|
+
/**
|
|
299
|
+
* SCCourseLessonStatusType enum
|
|
300
|
+
*/
|
|
301
|
+
export declare enum SCCourseLessonStatusType {
|
|
302
|
+
DRAFT = "draft",
|
|
303
|
+
PUBLISHED = "published"
|
|
304
|
+
}
|
|
305
|
+
/**
|
|
306
|
+
* SCCourseLessonCompletionStatusType enum
|
|
307
|
+
*/
|
|
308
|
+
export declare enum SCCourseLessonCompletionStatusType {
|
|
309
|
+
UNCOMPLETED = "uncompleted",
|
|
310
|
+
COMPLETED = "completed",
|
|
311
|
+
FAILED = "failed"
|
|
312
|
+
}
|
|
313
|
+
/**
|
|
314
|
+
* Interface SCCourseLessonType.
|
|
315
|
+
* Course Schema.
|
|
316
|
+
*/
|
|
317
|
+
export interface SCCourseLessonType {
|
|
318
|
+
/**
|
|
319
|
+
* The ID of the lesson.
|
|
320
|
+
*/
|
|
321
|
+
id: number;
|
|
322
|
+
/**
|
|
323
|
+
* The ID of the course the lesson belongs to.
|
|
324
|
+
*/
|
|
325
|
+
course_id?: number;
|
|
326
|
+
/**
|
|
327
|
+
* The ID of the section within the course the lesson belongs to,
|
|
328
|
+
*/
|
|
329
|
+
section_id?: number;
|
|
330
|
+
/**
|
|
331
|
+
* The name of the lesson
|
|
332
|
+
*/
|
|
333
|
+
name: string;
|
|
334
|
+
/**
|
|
335
|
+
* The type of the lesson.
|
|
336
|
+
*/
|
|
337
|
+
type: SCCourseLessonTypologyType;
|
|
338
|
+
/**
|
|
339
|
+
* The status of the lesson.
|
|
340
|
+
*/
|
|
341
|
+
status?: SCCourseLessonStatusType;
|
|
342
|
+
/**
|
|
343
|
+
* Enable the comments on the current lesson.
|
|
344
|
+
*/
|
|
345
|
+
comments_enabled?: boolean;
|
|
346
|
+
/**
|
|
347
|
+
* The lesson course text.
|
|
348
|
+
*/
|
|
349
|
+
text?: string;
|
|
350
|
+
/**
|
|
351
|
+
* The lesson course html.
|
|
352
|
+
*/
|
|
353
|
+
html?: string;
|
|
354
|
+
/**
|
|
355
|
+
* Datetime of lesson course creation.
|
|
356
|
+
*/
|
|
357
|
+
created_at?: string;
|
|
358
|
+
/**
|
|
359
|
+
* The lesson course creator.
|
|
360
|
+
*/
|
|
361
|
+
created_by?: SCUserType;
|
|
362
|
+
/**
|
|
363
|
+
* The list of Media ids for the lesson course
|
|
364
|
+
*/
|
|
365
|
+
medias?: SCMediaType[];
|
|
366
|
+
/**
|
|
367
|
+
* Determines whether the current lesson is locked for the user based on the user and on the course property: type and enforce_lessons_order
|
|
368
|
+
*/
|
|
369
|
+
locked?: boolean;
|
|
370
|
+
/**
|
|
371
|
+
* Enum to define the course lesson completion status for the user
|
|
372
|
+
*/
|
|
373
|
+
completion_status?: SCCourseLessonCompletionStatusType;
|
|
374
|
+
}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SCCourseLessonCompletionStatusType = exports.SCCourseLessonStatusType = exports.SCCourseLessonTypologyType = exports.SCCourseJoinStatusType = exports.SCCourseTypologyType = exports.SCCoursePrivacyType = void 0;
|
|
4
|
+
/**
|
|
5
|
+
* SCCoursePrivacyType enum
|
|
6
|
+
*/
|
|
7
|
+
var SCCoursePrivacyType;
|
|
8
|
+
(function (SCCoursePrivacyType) {
|
|
9
|
+
SCCoursePrivacyType["OPEN"] = "open";
|
|
10
|
+
SCCoursePrivacyType["PRIVATE"] = "private";
|
|
11
|
+
SCCoursePrivacyType["SECRET"] = "secret";
|
|
12
|
+
SCCoursePrivacyType["DRAFT"] = "";
|
|
13
|
+
})(SCCoursePrivacyType = exports.SCCoursePrivacyType || (exports.SCCoursePrivacyType = {}));
|
|
14
|
+
/**
|
|
15
|
+
* SCCourseTypologyType enum
|
|
16
|
+
*/
|
|
17
|
+
var SCCourseTypologyType;
|
|
18
|
+
(function (SCCourseTypologyType) {
|
|
19
|
+
SCCourseTypologyType["SELF"] = "self-paced";
|
|
20
|
+
SCCourseTypologyType["SCHEDULED"] = "scheduled";
|
|
21
|
+
SCCourseTypologyType["STRUCTURED"] = "structured";
|
|
22
|
+
})(SCCourseTypologyType = exports.SCCourseTypologyType || (exports.SCCourseTypologyType = {}));
|
|
23
|
+
/**
|
|
24
|
+
* SCCourseSubscriptionStatusType enum
|
|
25
|
+
*/
|
|
26
|
+
var SCCourseJoinStatusType;
|
|
27
|
+
(function (SCCourseJoinStatusType) {
|
|
28
|
+
SCCourseJoinStatusType["JOINED"] = "joined";
|
|
29
|
+
SCCourseJoinStatusType["REQUESTED"] = "requested";
|
|
30
|
+
SCCourseJoinStatusType["INVITED"] = "invited";
|
|
31
|
+
SCCourseJoinStatusType["MANAGER"] = "manager";
|
|
32
|
+
SCCourseJoinStatusType["CREATOR"] = "creator";
|
|
33
|
+
})(SCCourseJoinStatusType = exports.SCCourseJoinStatusType || (exports.SCCourseJoinStatusType = {}));
|
|
34
|
+
/**
|
|
35
|
+
* SCCourseLessonTypologyType enum
|
|
36
|
+
*/
|
|
37
|
+
var SCCourseLessonTypologyType;
|
|
38
|
+
(function (SCCourseLessonTypologyType) {
|
|
39
|
+
SCCourseLessonTypologyType["LESSON"] = "lesson";
|
|
40
|
+
SCCourseLessonTypologyType["QUIZ"] = "quiz";
|
|
41
|
+
})(SCCourseLessonTypologyType = exports.SCCourseLessonTypologyType || (exports.SCCourseLessonTypologyType = {}));
|
|
42
|
+
/**
|
|
43
|
+
* SCCourseLessonStatusType enum
|
|
44
|
+
*/
|
|
45
|
+
var SCCourseLessonStatusType;
|
|
46
|
+
(function (SCCourseLessonStatusType) {
|
|
47
|
+
SCCourseLessonStatusType["DRAFT"] = "draft";
|
|
48
|
+
SCCourseLessonStatusType["PUBLISHED"] = "published";
|
|
49
|
+
})(SCCourseLessonStatusType = exports.SCCourseLessonStatusType || (exports.SCCourseLessonStatusType = {}));
|
|
50
|
+
/**
|
|
51
|
+
* SCCourseLessonCompletionStatusType enum
|
|
52
|
+
*/
|
|
53
|
+
var SCCourseLessonCompletionStatusType;
|
|
54
|
+
(function (SCCourseLessonCompletionStatusType) {
|
|
55
|
+
SCCourseLessonCompletionStatusType["UNCOMPLETED"] = "uncompleted";
|
|
56
|
+
SCCourseLessonCompletionStatusType["COMPLETED"] = "completed";
|
|
57
|
+
SCCourseLessonCompletionStatusType["FAILED"] = "failed";
|
|
58
|
+
})(SCCourseLessonCompletionStatusType = exports.SCCourseLessonCompletionStatusType || (exports.SCCourseLessonCompletionStatusType = {}));
|
package/lib/cjs/types/event.d.ts
CHANGED
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import { SCUserType } from './user';
|
|
6
6
|
import { SCLiveStreamType } from './liveStream';
|
|
7
|
+
import { SCPurchasableContent } from './payment';
|
|
7
8
|
/**
|
|
8
9
|
* SCEventPrivacyType enum
|
|
9
10
|
*/
|
|
@@ -58,7 +59,7 @@ export declare enum SCEventDateFilterType {
|
|
|
58
59
|
THIS_MONTH = "this_month",
|
|
59
60
|
PAST = "past"
|
|
60
61
|
}
|
|
61
|
-
export interface SCEventType {
|
|
62
|
+
export interface SCEventType extends SCPurchasableContent {
|
|
62
63
|
/**
|
|
63
64
|
* The ID of the event.
|
|
64
65
|
*/
|
|
@@ -43,7 +43,9 @@ export declare enum SCFeatureName {
|
|
|
43
43
|
PRIVATE_MESSAGING = "private_messaging",
|
|
44
44
|
GROUPING = "grouping",
|
|
45
45
|
EVENT = "event",
|
|
46
|
-
LIVE_STREAM = "live_stream"
|
|
46
|
+
LIVE_STREAM = "live_stream",
|
|
47
|
+
PAYMENTS = "payments",
|
|
48
|
+
COURSE = "course"
|
|
47
49
|
}
|
|
48
50
|
/**
|
|
49
51
|
* SCFeatureType interface
|
package/lib/cjs/types/feature.js
CHANGED
|
@@ -48,4 +48,6 @@ var SCFeatureName;
|
|
|
48
48
|
SCFeatureName["GROUPING"] = "grouping";
|
|
49
49
|
SCFeatureName["EVENT"] = "event";
|
|
50
50
|
SCFeatureName["LIVE_STREAM"] = "live_stream";
|
|
51
|
+
SCFeatureName["PAYMENTS"] = "payments";
|
|
52
|
+
SCFeatureName["COURSE"] = "course";
|
|
51
53
|
})(SCFeatureName = exports.SCFeatureName || (exports.SCFeatureName = {}));
|
package/lib/cjs/types/feed.d.ts
CHANGED
|
@@ -235,7 +235,7 @@ export interface SCFeedPostType extends SCFeedObjectType {
|
|
|
235
235
|
* Interface SCFeedStatusType.
|
|
236
236
|
* Status Schema.
|
|
237
237
|
*/
|
|
238
|
-
export type SCFeedStatusType = SCFeedObjectType;
|
|
238
|
+
export declare type SCFeedStatusType = SCFeedObjectType;
|
|
239
239
|
/**
|
|
240
240
|
* SCFeedUnseenCountType interface
|
|
241
241
|
*/
|
package/lib/cjs/types/group.d.ts
CHANGED
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
* Group Schema.
|
|
4
4
|
*/
|
|
5
5
|
import { SCUserType } from './user';
|
|
6
|
+
import { SCPurchasableContent } from './payment';
|
|
6
7
|
/**
|
|
7
8
|
* SCGroupPrivacyType enum
|
|
8
9
|
*/
|
|
@@ -18,7 +19,7 @@ export declare enum SCGroupSubscriptionStatusType {
|
|
|
18
19
|
REQUESTED = "requested",
|
|
19
20
|
INVITED = "invited"
|
|
20
21
|
}
|
|
21
|
-
export interface SCGroupType {
|
|
22
|
+
export interface SCGroupType extends SCPurchasableContent {
|
|
22
23
|
/**
|
|
23
24
|
* The ID of the group.
|
|
24
25
|
*/
|
package/lib/cjs/types/index.d.ts
CHANGED
|
@@ -39,11 +39,13 @@ import { SCConnectionStatus } from './friendship';
|
|
|
39
39
|
import { type SCDeviceType, type SCApnsDeviceType, type SCGcmDeviceType, SCDeviceApnsTypeEnum, type SCDeviceGcmTypeEnum, SCDeviceTypeEnum } from './device';
|
|
40
40
|
import { type SCGroupType, SCGroupPrivacyType, SCGroupSubscriptionStatusType } from './group';
|
|
41
41
|
import { type SCEventType, SCEventPrivacyType, SCEventRecurrenceType, SCEventLocationType, SCEventDateFilterType, SCEventLocationFilterType, SCEventSubscriptionStatusType } from './event';
|
|
42
|
+
import { type SCCourseType, type SCCourseLessonType, type SCCourseSectionType, type SCCourseCommentType, SCCoursePrivacyType, SCCourseJoinStatusType, SCCourseLessonTypologyType, SCCourseLessonStatusType, SCCourseTypologyType, SCCourseLessonCompletionStatusType } from './course';
|
|
42
43
|
import { type SCLiveStreamType, SCLiveStreamViewType, SCLiveStreamConnectionDetailsType, SCLiveStreamSettingsType, SCLiveStreamMonthlyDurationType, SCLiveStreamConnectionDetailsResponseErrorType, SCLiveStreamConnectionDetailsErrorType } from './liveStream';
|
|
43
44
|
import { type SCStepType, SCOnBoardingStepType, SCOnBoardingStepStatusType, SCOnBoardingStepIdType } from './onboarding';
|
|
44
45
|
import { SCCommunitySubscriptionTier } from './tier';
|
|
45
46
|
import { SCCommunityEnvironment } from './environment';
|
|
47
|
+
import { type SCPaymentProduct, type SCPaymentPrice, SCPaymentPriceCurrencyType, SCContentType, type SCCheckoutSession, type SCPurchasableContent, SCCheckoutSessionStatus, type SCCheckoutSessionDetail } from './payment';
|
|
46
48
|
/**
|
|
47
49
|
* Exports all types
|
|
48
50
|
*/
|
|
49
|
-
export { type SCBannerType, SCBroadcastMessageBannerType, type SCBroadcastMessageType, type SCAuthTokenType, SCLanguageType, type SCUserType, type SCUserSettingsType, SCUserStatus, type SCUserBlockedSettingsType, type SCUserModerationType, type SCUserScoreVariation, type SCUserScoreType, SCUserReputationType, type SCUserAutocompleteType, type SCUserCounterType, type SCUserChangeEmailType, type SCUserAvatarType, type SCUserPermissionType, type SCUserFollowedStatusType, type SCUserFollowerStatusType, type SCUserConnectionStatusType, type SCUserHiddenStatusType, type SCUserHiddenByStatusType, type SCUserConnectionRequestType, type SCUserEmailTokenType, type SCUserProviderAssociationType, SCMetadataTypeFieldType, type SCMetadataType, type SCTagType, type SCCategoryType, SCCategoryAutoFollowType, type SCCategoryAudienceType, type SCCategoryFollowedStatusType, SCCustomAdvPosition, type SCCustomAdvType, type SCCustomMenuItemType, type SCCustomMenuType, type SCEmbedType, type SCMediaType, type SCChunkMediaType, type SCContributionLocation, type SCLocalityType, type SCPollChoiceType, type SCPollType, type SCPollVoteType, type SCFeedUnitType, type SCFeedUnitActivityType, type SCFeedObjectType, type SCFeedPostType, type SCFeedDiscussionType, type SCFeedStatusType, SCFeedUnitActivityTypologyType, SCFeedTypologyType, type SCFeedUnseenCountType, type SCFeedObjectSuspendedStatusType, type SCFeedObjectHideStatusType, type SCFeedObjectFollowingStatusType, type SCCountByCategoryType, SCCommentsOrderBy, type SCCommentType, type SCPrivateMessageThreadType, type SCPrivateMessageSnippetType, SCPrivateMessageStatusType, type SCPrivateMessageFileType, SCMessageFileType, type SCPrivateMessageUploadMediaType, type SCPrivateMessageUploadThumbnailType, type SCPrivateMessageUploadMediaChunkType, SCPrivateMessageType, type SCPromoType, SCNotificationTypologyType, type SCNotificationAggregatedType, type SCNotificationCommentType, type SCNotificationConnectionAcceptType, type SCNotificationConnectionRequestType, type SCNotificationPrivateMessageType, type SCNotificationMentionType, type SCNotificationType, type SCNotificationBlockedUserType, type SCNotificationCollapsedForType, type SCNotificationCustomNotificationType, type SCNotificationDeletedForType, type SCNotificationFollowType, type SCNotificationKindlyNoticeType, type SCNotificationUnBlockedUserType, type SCNotificationUnDeletedForType, type SCNotificationUserFollowType, type SCNotificationVoteUpType, type SCCustomNotificationType, SCNotificationTopicType, type SCNotificationUnseenCountType, type SCIncubatorType, type SCIncubatorSubscriptionType, SCIncubatorStatusType, type SCInviteType, type SCNotificationIncubatorType, type SCNotificationContributionType, type SCNotificationGroupActivityType, type SCNotificationEventActivityType, type SCNotificationLiveStreamActivityType, type SCPrizeType, type SCPrizeUserType, SCPrizeUserStatusType, type SCUserLoyaltyPointsType, type SCWebhookEndpointType, type SCWebhookEndpointAttemptType, type SCWebhookEndpointSecretType, type SCWebhookEventsType, type SCVoteType, type SCFlagType, SCFlagTypeEnum, SCFlagModerationStatusType, SCCustomPageTypeEnum, type SCCustomPageType, type SCDataPortabilityType, SCPreferenceSection, SCPreferenceName, type SCPreferenceType, SCFeatureName, type SCFeatureType, type SSOSignInType, type SSOSignUpType, type SCLegalPageType, SCLegalPagePoliciesType, type SCLegalPageAckType, type SCContributionInsightCountersType, type SCContributionInsightType, type SCEmbedInsightType, type SCEmbedInsightCountersType, type SCUsersInsightType, type SCUsersInsightCountersType, type SCFlaggedContributionType, SCContributionType, type SCContributionStatus, SCContributeStatusType, type SCPlatformType, type SCAvatarType, type SCReactionType, type SCSuggestionType, SuggestionType, SCConnectionStatus, type SCDeviceType, type SCApnsDeviceType, type SCGcmDeviceType, SCDeviceApnsTypeEnum, type SCDeviceGcmTypeEnum, SCDeviceTypeEnum, type SCGroupType, SCGroupPrivacyType, SCGroupSubscriptionStatusType, type SCEventType, SCEventPrivacyType, SCEventSubscriptionStatusType, SCEventRecurrenceType, SCEventLocationType, SCEventDateFilterType, SCEventLocationFilterType, type SCStepType, SCOnBoardingStepType, SCOnBoardingStepStatusType, type SCLiveStreamType, type SCLiveStreamConnectionDetailsType, type SCLiveStreamSettingsType, type SCLiveStreamConnectionDetailsResponseErrorType, type SCLiveStreamMonthlyDurationType, SCLiveStreamConnectionDetailsErrorType, SCLiveStreamViewType,
|
|
51
|
+
export { type SCBannerType, SCBroadcastMessageBannerType, type SCBroadcastMessageType, type SCAuthTokenType, SCLanguageType, type SCUserType, type SCUserSettingsType, SCUserStatus, type SCUserBlockedSettingsType, type SCUserModerationType, type SCUserScoreVariation, type SCUserScoreType, SCUserReputationType, type SCUserAutocompleteType, type SCUserCounterType, type SCUserChangeEmailType, type SCUserAvatarType, type SCUserPermissionType, type SCUserFollowedStatusType, type SCUserFollowerStatusType, type SCUserConnectionStatusType, type SCUserHiddenStatusType, type SCUserHiddenByStatusType, type SCUserConnectionRequestType, type SCUserEmailTokenType, type SCUserProviderAssociationType, SCMetadataTypeFieldType, type SCMetadataType, type SCTagType, type SCCategoryType, SCCategoryAutoFollowType, type SCCategoryAudienceType, type SCCategoryFollowedStatusType, SCCustomAdvPosition, type SCCustomAdvType, type SCCustomMenuItemType, type SCCustomMenuType, type SCEmbedType, type SCMediaType, type SCChunkMediaType, type SCContributionLocation, type SCLocalityType, type SCPollChoiceType, type SCPollType, type SCPollVoteType, type SCFeedUnitType, type SCFeedUnitActivityType, type SCFeedObjectType, type SCFeedPostType, type SCFeedDiscussionType, type SCFeedStatusType, SCFeedUnitActivityTypologyType, SCFeedTypologyType, type SCFeedUnseenCountType, type SCFeedObjectSuspendedStatusType, type SCFeedObjectHideStatusType, type SCFeedObjectFollowingStatusType, type SCCountByCategoryType, SCCommentsOrderBy, type SCCommentType, type SCPrivateMessageThreadType, type SCPrivateMessageSnippetType, SCPrivateMessageStatusType, type SCPrivateMessageFileType, SCMessageFileType, type SCPrivateMessageUploadMediaType, type SCPrivateMessageUploadThumbnailType, type SCPrivateMessageUploadMediaChunkType, SCPrivateMessageType, type SCPromoType, SCNotificationTypologyType, type SCNotificationAggregatedType, type SCNotificationCommentType, type SCNotificationConnectionAcceptType, type SCNotificationConnectionRequestType, type SCNotificationPrivateMessageType, type SCNotificationMentionType, type SCNotificationType, type SCNotificationBlockedUserType, type SCNotificationCollapsedForType, type SCNotificationCustomNotificationType, type SCNotificationDeletedForType, type SCNotificationFollowType, type SCNotificationKindlyNoticeType, type SCNotificationUnBlockedUserType, type SCNotificationUnDeletedForType, type SCNotificationUserFollowType, type SCNotificationVoteUpType, type SCCustomNotificationType, SCNotificationTopicType, type SCNotificationUnseenCountType, type SCIncubatorType, type SCIncubatorSubscriptionType, SCIncubatorStatusType, type SCInviteType, type SCNotificationIncubatorType, type SCNotificationContributionType, type SCNotificationGroupActivityType, type SCNotificationEventActivityType, type SCNotificationLiveStreamActivityType, type SCPrizeType, type SCPrizeUserType, SCPrizeUserStatusType, type SCUserLoyaltyPointsType, type SCWebhookEndpointType, type SCWebhookEndpointAttemptType, type SCWebhookEndpointSecretType, type SCWebhookEventsType, type SCVoteType, type SCFlagType, SCFlagTypeEnum, SCFlagModerationStatusType, SCCustomPageTypeEnum, type SCCustomPageType, type SCDataPortabilityType, SCPreferenceSection, SCPreferenceName, type SCPreferenceType, SCFeatureName, type SCFeatureType, type SSOSignInType, type SSOSignUpType, type SCLegalPageType, SCLegalPagePoliciesType, type SCLegalPageAckType, type SCContributionInsightCountersType, type SCContributionInsightType, type SCEmbedInsightType, type SCEmbedInsightCountersType, type SCUsersInsightType, type SCUsersInsightCountersType, type SCFlaggedContributionType, SCContributionType, type SCContributionStatus, SCContributeStatusType, type SCPlatformType, type SCAvatarType, type SCReactionType, type SCSuggestionType, SuggestionType, SCConnectionStatus, type SCDeviceType, type SCApnsDeviceType, type SCGcmDeviceType, SCDeviceApnsTypeEnum, type SCDeviceGcmTypeEnum, SCDeviceTypeEnum, type SCGroupType, SCGroupPrivacyType, SCGroupSubscriptionStatusType, type SCEventType, SCEventPrivacyType, SCEventSubscriptionStatusType, SCEventRecurrenceType, SCEventLocationType, SCEventDateFilterType, SCEventLocationFilterType, type SCStepType, SCOnBoardingStepType, SCOnBoardingStepStatusType, SCOnBoardingStepIdType, type SCCourseType, type SCCourseCommentType, type SCCourseSectionType, type SCCourseLessonType, SCCoursePrivacyType, SCCourseJoinStatusType, SCCourseLessonTypologyType, SCCourseLessonStatusType, SCCourseTypologyType, SCCourseLessonCompletionStatusType, type SCLiveStreamType, type SCLiveStreamConnectionDetailsType, type SCLiveStreamSettingsType, type SCLiveStreamConnectionDetailsResponseErrorType, type SCLiveStreamMonthlyDurationType, SCLiveStreamConnectionDetailsErrorType, SCLiveStreamViewType, SCCommunitySubscriptionTier, SCCommunityEnvironment, type SCPaymentProduct, type SCPaymentPrice, SCPaymentPriceCurrencyType, SCContentType, type SCCheckoutSession, type SCPurchasableContent, SCCheckoutSessionStatus, type SCCheckoutSessionDetail };
|