@selfcommunity/types 0.7.7-payments.156 → 0.7.7-payments.161
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 +2 -2
- package/lib/cjs/types/community.d.ts +1 -1
- package/lib/cjs/types/course.d.ts +4 -0
- package/lib/cjs/types/index.d.ts +2 -2
- package/lib/cjs/types/payment.d.ts +33 -0
- package/lib/esm/index.d.ts +2 -2
- package/lib/esm/types/community.d.ts +1 -1
- package/lib/esm/types/course.d.ts +4 -0
- package/lib/esm/types/index.d.ts +2 -2
- package/lib/esm/types/payment.d.ts +33 -0
- package/package.json +2 -2
package/lib/cjs/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
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 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, type SCCheckoutSessionComplete, type SCPaymentOrder, type SCPaymentsCustomerPortalSession, type
|
|
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, type SCCheckoutSessionComplete, type SCPaymentOrder, type SCPaymentsCustomerPortalSession, type SCCommunityType } from './types';
|
|
5
5
|
/**
|
|
6
6
|
* Import enums
|
|
7
7
|
*/
|
|
@@ -10,4 +10,4 @@ import { SCContributionType, SCBroadcastMessageBannerType, SCCategoryAutoFollowT
|
|
|
10
10
|
* List all exports enums and types
|
|
11
11
|
*/
|
|
12
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, SCPaymentProductTemplateType, SCCheckoutSessionUIMode };
|
|
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, type SCCheckoutSessionComplete, type SCPaymentOrder, type SCPaymentsCustomerPortalSession, type
|
|
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, type SCCheckoutSessionComplete, type SCPaymentOrder, type SCPaymentsCustomerPortalSession, type SCCommunityType };
|
|
@@ -155,6 +155,10 @@ export interface SCCourseType extends SCPurchasableContent {
|
|
|
155
155
|
* Users completion rate of the course (percentage)
|
|
156
156
|
*/
|
|
157
157
|
avg_completion_rate?: number;
|
|
158
|
+
/**
|
|
159
|
+
* Users doing the course
|
|
160
|
+
*/
|
|
161
|
+
member_count?: number;
|
|
158
162
|
}
|
|
159
163
|
/**
|
|
160
164
|
* Interface SCCourseCommentType.
|
package/lib/cjs/types/index.d.ts
CHANGED
|
@@ -45,8 +45,8 @@ import { type SCStepType, SCOnBoardingStepType, SCOnBoardingStepStatusType, SCOn
|
|
|
45
45
|
import { SCCommunitySubscriptionTier } from './tier';
|
|
46
46
|
import { SCCommunityEnvironment } from './environment';
|
|
47
47
|
import { type SCPaymentProduct, type SCPaymentPrice, SCPaymentPriceCurrencyType, SCContentType, type SCCheckoutSession, type SCPurchasableContent, SCCheckoutSessionStatus, type SCCheckoutSessionDetail, type SCCheckoutSessionComplete, type SCPaymentOrder, type SCPaymentsCustomerPortalSession, SCPaymentProductTemplateType, SCCheckoutSessionUIMode } from './payment';
|
|
48
|
-
import { type
|
|
48
|
+
import { type SCCommunityType } from './community';
|
|
49
49
|
/**
|
|
50
50
|
* Exports all types
|
|
51
51
|
*/
|
|
52
|
-
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, type SCCheckoutSessionComplete, type SCPaymentOrder, type SCPaymentsCustomerPortalSession, SCPaymentProductTemplateType, SCCheckoutSessionUIMode, type
|
|
52
|
+
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, type SCCheckoutSessionComplete, type SCPaymentOrder, type SCPaymentsCustomerPortalSession, SCPaymentProductTemplateType, SCCheckoutSessionUIMode, type SCCommunityType };
|
|
@@ -3,6 +3,7 @@ import { SCEventType } from './event';
|
|
|
3
3
|
import { SCCourseType } from './course';
|
|
4
4
|
import { SCGroupType } from './group';
|
|
5
5
|
import { SCCategoryType } from './category';
|
|
6
|
+
import { SCCommunityType } from './community';
|
|
6
7
|
export interface SCPaymentProduct {
|
|
7
8
|
/**
|
|
8
9
|
* Id product
|
|
@@ -142,6 +143,38 @@ export interface SCPaymentOrder {
|
|
|
142
143
|
* Price
|
|
143
144
|
*/
|
|
144
145
|
payment_price?: SCPaymentPrice;
|
|
146
|
+
/**
|
|
147
|
+
* Content type
|
|
148
|
+
*/
|
|
149
|
+
content_type: SCContentType;
|
|
150
|
+
/**
|
|
151
|
+
* Content event
|
|
152
|
+
*/
|
|
153
|
+
event?: SCEventType;
|
|
154
|
+
/**
|
|
155
|
+
* Content course
|
|
156
|
+
*/
|
|
157
|
+
course?: SCCourseType;
|
|
158
|
+
/**
|
|
159
|
+
* Content group
|
|
160
|
+
*/
|
|
161
|
+
group?: SCGroupType;
|
|
162
|
+
/**
|
|
163
|
+
* Content category
|
|
164
|
+
*/
|
|
165
|
+
category?: SCCategoryType;
|
|
166
|
+
/**
|
|
167
|
+
* Content community
|
|
168
|
+
*/
|
|
169
|
+
community?: SCCommunityType;
|
|
170
|
+
/**
|
|
171
|
+
* Created at
|
|
172
|
+
*/
|
|
173
|
+
created_at?: Date;
|
|
174
|
+
/**
|
|
175
|
+
* Expired at
|
|
176
|
+
*/
|
|
177
|
+
expire_at?: Date;
|
|
145
178
|
}
|
|
146
179
|
export interface SCPaymentsCustomerPortalSession {
|
|
147
180
|
url: string;
|
package/lib/esm/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
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 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, type SCCheckoutSessionComplete, type SCPaymentOrder, type SCPaymentsCustomerPortalSession, type
|
|
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, type SCCheckoutSessionComplete, type SCPaymentOrder, type SCPaymentsCustomerPortalSession, type SCCommunityType } from './types';
|
|
5
5
|
/**
|
|
6
6
|
* Import enums
|
|
7
7
|
*/
|
|
@@ -10,4 +10,4 @@ import { SCContributionType, SCBroadcastMessageBannerType, SCCategoryAutoFollowT
|
|
|
10
10
|
* List all exports enums and types
|
|
11
11
|
*/
|
|
12
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, SCPaymentProductTemplateType, SCCheckoutSessionUIMode };
|
|
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, type SCCheckoutSessionComplete, type SCPaymentOrder, type SCPaymentsCustomerPortalSession, type
|
|
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, type SCCheckoutSessionComplete, type SCPaymentOrder, type SCPaymentsCustomerPortalSession, type SCCommunityType };
|
|
@@ -155,6 +155,10 @@ export interface SCCourseType extends SCPurchasableContent {
|
|
|
155
155
|
* Users completion rate of the course (percentage)
|
|
156
156
|
*/
|
|
157
157
|
avg_completion_rate?: number;
|
|
158
|
+
/**
|
|
159
|
+
* Users doing the course
|
|
160
|
+
*/
|
|
161
|
+
member_count?: number;
|
|
158
162
|
}
|
|
159
163
|
/**
|
|
160
164
|
* Interface SCCourseCommentType.
|
package/lib/esm/types/index.d.ts
CHANGED
|
@@ -45,8 +45,8 @@ import { type SCStepType, SCOnBoardingStepType, SCOnBoardingStepStatusType, SCOn
|
|
|
45
45
|
import { SCCommunitySubscriptionTier } from './tier';
|
|
46
46
|
import { SCCommunityEnvironment } from './environment';
|
|
47
47
|
import { type SCPaymentProduct, type SCPaymentPrice, SCPaymentPriceCurrencyType, SCContentType, type SCCheckoutSession, type SCPurchasableContent, SCCheckoutSessionStatus, type SCCheckoutSessionDetail, type SCCheckoutSessionComplete, type SCPaymentOrder, type SCPaymentsCustomerPortalSession, SCPaymentProductTemplateType, SCCheckoutSessionUIMode } from './payment';
|
|
48
|
-
import { type
|
|
48
|
+
import { type SCCommunityType } from './community';
|
|
49
49
|
/**
|
|
50
50
|
* Exports all types
|
|
51
51
|
*/
|
|
52
|
-
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, type SCCheckoutSessionComplete, type SCPaymentOrder, type SCPaymentsCustomerPortalSession, SCPaymentProductTemplateType, SCCheckoutSessionUIMode, type
|
|
52
|
+
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, type SCCheckoutSessionComplete, type SCPaymentOrder, type SCPaymentsCustomerPortalSession, SCPaymentProductTemplateType, SCCheckoutSessionUIMode, type SCCommunityType };
|
|
@@ -3,6 +3,7 @@ import { SCEventType } from './event';
|
|
|
3
3
|
import { SCCourseType } from './course';
|
|
4
4
|
import { SCGroupType } from './group';
|
|
5
5
|
import { SCCategoryType } from './category';
|
|
6
|
+
import { SCCommunityType } from './community';
|
|
6
7
|
export interface SCPaymentProduct {
|
|
7
8
|
/**
|
|
8
9
|
* Id product
|
|
@@ -142,6 +143,38 @@ export interface SCPaymentOrder {
|
|
|
142
143
|
* Price
|
|
143
144
|
*/
|
|
144
145
|
payment_price?: SCPaymentPrice;
|
|
146
|
+
/**
|
|
147
|
+
* Content type
|
|
148
|
+
*/
|
|
149
|
+
content_type: SCContentType;
|
|
150
|
+
/**
|
|
151
|
+
* Content event
|
|
152
|
+
*/
|
|
153
|
+
event?: SCEventType;
|
|
154
|
+
/**
|
|
155
|
+
* Content course
|
|
156
|
+
*/
|
|
157
|
+
course?: SCCourseType;
|
|
158
|
+
/**
|
|
159
|
+
* Content group
|
|
160
|
+
*/
|
|
161
|
+
group?: SCGroupType;
|
|
162
|
+
/**
|
|
163
|
+
* Content category
|
|
164
|
+
*/
|
|
165
|
+
category?: SCCategoryType;
|
|
166
|
+
/**
|
|
167
|
+
* Content community
|
|
168
|
+
*/
|
|
169
|
+
community?: SCCommunityType;
|
|
170
|
+
/**
|
|
171
|
+
* Created at
|
|
172
|
+
*/
|
|
173
|
+
created_at?: Date;
|
|
174
|
+
/**
|
|
175
|
+
* Expired at
|
|
176
|
+
*/
|
|
177
|
+
expire_at?: Date;
|
|
145
178
|
}
|
|
146
179
|
export interface SCPaymentsCustomerPortalSession {
|
|
147
180
|
url: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@selfcommunity/types",
|
|
3
|
-
"version": "0.7.7-payments.
|
|
3
|
+
"version": "0.7.7-payments.161+2e34b0192",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"private": false,
|
|
6
6
|
"main": "./lib/cjs/index.js",
|
|
@@ -106,5 +106,5 @@
|
|
|
106
106
|
"bugs": {
|
|
107
107
|
"url": "https://github.com/selfcommunity/community-js/issues"
|
|
108
108
|
},
|
|
109
|
-
"gitHead": "
|
|
109
|
+
"gitHead": "2e34b0192220438c8cccc293ba5ca5856a233623"
|
|
110
110
|
}
|