@selfcommunity/types 0.8.0-alpha.0 → 0.8.0-alpha.10
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 +10 -1
- package/lib/cjs/types/billing.d.ts +86 -0
- package/lib/cjs/types/billing.js +2 -0
- package/lib/cjs/types/category.d.ts +2 -1
- package/lib/cjs/types/community.d.ts +19 -0
- package/lib/cjs/types/community.js +2 -0
- package/lib/cjs/types/contactUs.d.ts +25 -0
- package/lib/cjs/types/contactUs.js +2 -0
- package/lib/cjs/types/course.d.ts +8 -2
- package/lib/cjs/types/course.js +1 -0
- package/lib/cjs/types/customAdv.d.ts +2 -1
- package/lib/cjs/types/customAdv.js +1 -0
- package/lib/cjs/types/customMenu.d.ts +8 -0
- package/lib/cjs/types/customMenu.js +10 -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 +1 -1
- package/lib/cjs/types/feature.js +1 -1
- package/lib/cjs/types/feed.d.ts +21 -5
- package/lib/cjs/types/group.d.ts +4 -2
- package/lib/cjs/types/group.js +1 -0
- package/lib/cjs/types/index.d.ts +7 -3
- package/lib/cjs/types/index.js +13 -2
- package/lib/cjs/types/media.d.ts +56 -2
- package/lib/cjs/types/media.js +51 -0
- package/lib/cjs/types/payment.d.ts +226 -0
- package/lib/cjs/types/payment.js +42 -0
- package/lib/cjs/types/preference.d.ts +19 -1
- package/lib/cjs/types/preference.js +18 -0
- package/lib/esm/index.d.ts +4 -4
- package/lib/esm/index.js +2 -2
- package/lib/esm/types/billing.d.ts +86 -0
- package/lib/esm/types/billing.js +1 -0
- package/lib/esm/types/category.d.ts +2 -1
- package/lib/esm/types/community.d.ts +19 -0
- package/lib/esm/types/community.js +1 -0
- package/lib/esm/types/contactUs.d.ts +25 -0
- package/lib/esm/types/contactUs.js +1 -0
- package/lib/esm/types/course.d.ts +8 -2
- package/lib/esm/types/course.js +1 -0
- package/lib/esm/types/customAdv.d.ts +2 -1
- package/lib/esm/types/customAdv.js +1 -0
- package/lib/esm/types/customMenu.d.ts +8 -0
- package/lib/esm/types/customMenu.js +9 -1
- 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 +1 -1
- package/lib/esm/types/feature.js +1 -1
- package/lib/esm/types/feed.d.ts +21 -5
- package/lib/esm/types/group.d.ts +4 -2
- package/lib/esm/types/group.js +1 -0
- package/lib/esm/types/index.d.ts +7 -3
- package/lib/esm/types/index.js +4 -1
- package/lib/esm/types/media.d.ts +56 -2
- package/lib/esm/types/media.js +50 -1
- package/lib/esm/types/payment.d.ts +226 -0
- package/lib/esm/types/payment.js +39 -0
- package/lib/esm/types/preference.d.ts +19 -1
- package/lib/esm/types/preference.js +18 -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 SCNotificationCourseActivityType, 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 } 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 SCNotificationCourseActivityType, 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 SCPaywall, type SCPaymentProduct, type SCPaymentPrice, type SCCheckoutSession, type SCPurchasableContent, type SCCheckoutSessionDetail, type SCCheckoutSessionComplete, type SCPaymentOrder, type SCPaymentsCustomerPortalSession, type SCCommunityType, type SCContactUsRequestType } 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, SCCoursePrivacyType, SCCourseJoinStatusType, SCCourseLessonTypologyType, SCCourseTypologyType, SCCourseLessonStatusType, SCCourseLessonCompletionStatusType, SCLiveStreamConnectionDetailsErrorType, SCLiveStreamViewType, SCCommunitySubscriptionTier, SCCommunityEnvironment, SCCourseOrderingUsersType } 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, SCPaymentProductTemplateType, SCPaymentRecurringInterval, SCCheckoutSessionUIMode, SCCourseOrderingUsersType, SCCustomMenu, SCMimeTypes } 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, SCCoursePrivacyType, SCCourseJoinStatusType, SCCourseLessonTypologyType, SCCourseTypologyType, SCCourseLessonCompletionStatusType, SCCourseLessonStatusType, SCLiveStreamConnectionDetailsErrorType, SCLiveStreamViewType, SCCommunitySubscriptionTier, SCCommunityEnvironment, SCCourseOrderingUsersType };
|
|
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 SCNotificationCourseActivityType, 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 };
|
|
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, SCPaymentRecurringInterval, SCCheckoutSessionUIMode, SCCourseOrderingUsersType, SCCustomMenu, SCMimeTypes };
|
|
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 SCNotificationCourseActivityType, 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 SCPaywall, type SCPaymentProduct, type SCPaymentPrice, type SCCheckoutSession, type SCPurchasableContent, type SCCheckoutSessionDetail, type SCCheckoutSessionComplete, type SCPaymentOrder, type SCPaymentsCustomerPortalSession, type SCCommunityType, type SCContactUsRequestType };
|
package/lib/cjs/index.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
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.SCMimeTypes = exports.SCCustomMenu = exports.SCCourseOrderingUsersType = exports.SCCheckoutSessionUIMode = exports.SCPaymentRecurringInterval = exports.SCPaymentProductTemplateType = exports.SCCheckoutSessionStatus = exports.SCContentType = void 0;
|
|
4
5
|
/**
|
|
5
6
|
* Import enums
|
|
6
7
|
*/
|
|
@@ -54,4 +55,12 @@ Object.defineProperty(exports, "SCLiveStreamConnectionDetailsErrorType", { enume
|
|
|
54
55
|
Object.defineProperty(exports, "SCLiveStreamViewType", { enumerable: true, get: function () { return types_1.SCLiveStreamViewType; } });
|
|
55
56
|
Object.defineProperty(exports, "SCCommunitySubscriptionTier", { enumerable: true, get: function () { return types_1.SCCommunitySubscriptionTier; } });
|
|
56
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; } });
|
|
61
|
+
Object.defineProperty(exports, "SCPaymentProductTemplateType", { enumerable: true, get: function () { return types_1.SCPaymentProductTemplateType; } });
|
|
62
|
+
Object.defineProperty(exports, "SCPaymentRecurringInterval", { enumerable: true, get: function () { return types_1.SCPaymentRecurringInterval; } });
|
|
63
|
+
Object.defineProperty(exports, "SCCheckoutSessionUIMode", { enumerable: true, get: function () { return types_1.SCCheckoutSessionUIMode; } });
|
|
57
64
|
Object.defineProperty(exports, "SCCourseOrderingUsersType", { enumerable: true, get: function () { return types_1.SCCourseOrderingUsersType; } });
|
|
65
|
+
Object.defineProperty(exports, "SCCustomMenu", { enumerable: true, get: function () { return types_1.SCCustomMenu; } });
|
|
66
|
+
Object.defineProperty(exports, "SCMimeTypes", { enumerable: true, get: function () { return types_1.SCMimeTypes; } });
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
export interface SCCustomerBillingInfo {
|
|
2
|
+
/**
|
|
3
|
+
* Full name of the customer for billing purposes.
|
|
4
|
+
*/
|
|
5
|
+
name?: string;
|
|
6
|
+
/**
|
|
7
|
+
* Customer's phone number.
|
|
8
|
+
*/
|
|
9
|
+
phone?: string;
|
|
10
|
+
/**
|
|
11
|
+
* First line of the billing address.
|
|
12
|
+
*/
|
|
13
|
+
address_line1?: string;
|
|
14
|
+
/**
|
|
15
|
+
* Second line of the billing address (optional).
|
|
16
|
+
*/
|
|
17
|
+
address_line2?: string;
|
|
18
|
+
/**
|
|
19
|
+
* Postal code of the billing address.
|
|
20
|
+
*/
|
|
21
|
+
address_postal_code?: string;
|
|
22
|
+
/**
|
|
23
|
+
* City of the billing address.
|
|
24
|
+
*/
|
|
25
|
+
address_city?: string;
|
|
26
|
+
/**
|
|
27
|
+
* State or province of the billing address.
|
|
28
|
+
*/
|
|
29
|
+
address_state?: string;
|
|
30
|
+
/**
|
|
31
|
+
* Country of the billing address.
|
|
32
|
+
*/
|
|
33
|
+
address_country?: SCCountryType;
|
|
34
|
+
/**
|
|
35
|
+
* Customer's tax code or personal tax identification number.
|
|
36
|
+
*/
|
|
37
|
+
tax_code?: string;
|
|
38
|
+
/**
|
|
39
|
+
* Indicates whether the billing information is for a business entity.
|
|
40
|
+
*/
|
|
41
|
+
isBusiness?: boolean;
|
|
42
|
+
/**
|
|
43
|
+
* Additional tax ID data, used for business identification.
|
|
44
|
+
*/
|
|
45
|
+
tax_id_data?: {
|
|
46
|
+
value: string;
|
|
47
|
+
};
|
|
48
|
+
/**
|
|
49
|
+
* Status of the tax ID validation process.
|
|
50
|
+
*/
|
|
51
|
+
taxIdValidationStatus?: string;
|
|
52
|
+
/**
|
|
53
|
+
* SDI (Sistema di Interscambio) code for electronic invoicing in Italy.
|
|
54
|
+
*/
|
|
55
|
+
sdi?: string;
|
|
56
|
+
/**
|
|
57
|
+
* Certified email (PEC) address for electronic invoicing in Italy.
|
|
58
|
+
*/
|
|
59
|
+
pec?: string;
|
|
60
|
+
}
|
|
61
|
+
export interface SCCountryType {
|
|
62
|
+
/**
|
|
63
|
+
* ISO 3166-1 alpha-2 country code (e.g., "IT" for Italy).
|
|
64
|
+
*/
|
|
65
|
+
code: string;
|
|
66
|
+
/**
|
|
67
|
+
* Human-readable country name (e.g., "Italy").
|
|
68
|
+
*/
|
|
69
|
+
label: string;
|
|
70
|
+
/**
|
|
71
|
+
* International dialing code for the country (optional).
|
|
72
|
+
*/
|
|
73
|
+
phone?: string;
|
|
74
|
+
/**
|
|
75
|
+
* Type of tax applicable in the country (e.g., "VAT").
|
|
76
|
+
*/
|
|
77
|
+
taxType?: string;
|
|
78
|
+
/**
|
|
79
|
+
* Identifier for the tax rate used in this country.
|
|
80
|
+
*/
|
|
81
|
+
taxRateId?: string;
|
|
82
|
+
/**
|
|
83
|
+
* Tax rate percentage applied in the country (e.g., 22 for 22% VAT).
|
|
84
|
+
*/
|
|
85
|
+
taxRatePercentage?: number;
|
|
86
|
+
}
|
|
@@ -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
|
*/
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { SCPaymentOrder, SCPaymentProduct, SCPurchasableContent } from './payment';
|
|
2
|
+
export interface SCCommunityType extends SCPurchasableContent {
|
|
3
|
+
/**
|
|
4
|
+
* Id community
|
|
5
|
+
*/
|
|
6
|
+
id: number;
|
|
7
|
+
/**
|
|
8
|
+
* Payment Order
|
|
9
|
+
*/
|
|
10
|
+
payment_order?: SCPaymentOrder;
|
|
11
|
+
/**
|
|
12
|
+
* Paywalls
|
|
13
|
+
*/
|
|
14
|
+
paywalls?: SCPaymentProduct[];
|
|
15
|
+
/**
|
|
16
|
+
* User paywall community status
|
|
17
|
+
*/
|
|
18
|
+
paywall_community_passed?: boolean;
|
|
19
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Interface SCContactUsRequestType
|
|
3
|
+
*/
|
|
4
|
+
export interface SCContactUsRequestType {
|
|
5
|
+
/**
|
|
6
|
+
* Id of the request
|
|
7
|
+
*/
|
|
8
|
+
id?: number;
|
|
9
|
+
/**
|
|
10
|
+
* Message of the request
|
|
11
|
+
*/
|
|
12
|
+
message?: string;
|
|
13
|
+
/**
|
|
14
|
+
* Created at
|
|
15
|
+
*/
|
|
16
|
+
created_at?: Date | string;
|
|
17
|
+
/**
|
|
18
|
+
* Updated at
|
|
19
|
+
*/
|
|
20
|
+
updated_at?: Date | string | null;
|
|
21
|
+
/**
|
|
22
|
+
* Any other properties
|
|
23
|
+
*/
|
|
24
|
+
[p: string]: any;
|
|
25
|
+
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { SCUserType } from './user';
|
|
2
2
|
import { SCCategoryType } from './category';
|
|
3
3
|
import { SCMediaType } from './media';
|
|
4
|
+
import { SCPaymentProduct, SCPurchasableContent } from './payment';
|
|
4
5
|
/**
|
|
5
6
|
* SCCoursePrivacyType enum
|
|
6
7
|
*/
|
|
@@ -26,7 +27,8 @@ export declare enum SCCourseJoinStatusType {
|
|
|
26
27
|
REQUESTED = "requested",
|
|
27
28
|
INVITED = "invited",
|
|
28
29
|
MANAGER = "manager",
|
|
29
|
-
CREATOR = "creator"
|
|
30
|
+
CREATOR = "creator",
|
|
31
|
+
PAYMENT_WAITING = "payment_waiting"
|
|
30
32
|
}
|
|
31
33
|
/**
|
|
32
34
|
* SCCourseOrderingUsersType enum
|
|
@@ -39,7 +41,7 @@ export declare enum SCCourseOrderingUsersType {
|
|
|
39
41
|
* Interface SCCourseType.
|
|
40
42
|
* Course Schema.
|
|
41
43
|
*/
|
|
42
|
-
export interface SCCourseType {
|
|
44
|
+
export interface SCCourseType extends SCPurchasableContent {
|
|
43
45
|
/**
|
|
44
46
|
* The ID of the course.
|
|
45
47
|
*/
|
|
@@ -245,6 +247,10 @@ export interface SCCourseCommentType {
|
|
|
245
247
|
name: string;
|
|
246
248
|
};
|
|
247
249
|
};
|
|
250
|
+
/**
|
|
251
|
+
* Paywalls
|
|
252
|
+
*/
|
|
253
|
+
paywalls?: SCPaymentProduct[];
|
|
248
254
|
}
|
|
249
255
|
/**
|
|
250
256
|
* Interface SCCourseSectionType.
|
package/lib/cjs/types/course.js
CHANGED
|
@@ -30,6 +30,7 @@ var SCCourseJoinStatusType;
|
|
|
30
30
|
SCCourseJoinStatusType["INVITED"] = "invited";
|
|
31
31
|
SCCourseJoinStatusType["MANAGER"] = "manager";
|
|
32
32
|
SCCourseJoinStatusType["CREATOR"] = "creator";
|
|
33
|
+
SCCourseJoinStatusType["PAYMENT_WAITING"] = "payment_waiting";
|
|
33
34
|
})(SCCourseJoinStatusType = exports.SCCourseJoinStatusType || (exports.SCCourseJoinStatusType = {}));
|
|
34
35
|
/**
|
|
35
36
|
* SCCourseOrderingUsersType enum
|
|
@@ -4,7 +4,8 @@ export declare enum SCCustomAdvPosition {
|
|
|
4
4
|
POSITION_IN_COMMENTS = "IN_POST_COMMENTS",
|
|
5
5
|
POSITION_RELATED_POSTS_COLUMN = "RELATED_POSTS_COLUMN",
|
|
6
6
|
POSITION_FEED_SIDEBAR = "TOOLS_COLUMN",
|
|
7
|
-
POSITION_FEED = "IN_STREAM"
|
|
7
|
+
POSITION_FEED = "IN_STREAM",
|
|
8
|
+
POSITION_ABOVE_FEED = "ABOVE_THE_STREAM"
|
|
8
9
|
}
|
|
9
10
|
export interface SCCustomAdvType {
|
|
10
11
|
/**
|
|
@@ -9,4 +9,5 @@ var SCCustomAdvPosition;
|
|
|
9
9
|
SCCustomAdvPosition["POSITION_RELATED_POSTS_COLUMN"] = "RELATED_POSTS_COLUMN";
|
|
10
10
|
SCCustomAdvPosition["POSITION_FEED_SIDEBAR"] = "TOOLS_COLUMN";
|
|
11
11
|
SCCustomAdvPosition["POSITION_FEED"] = "IN_STREAM";
|
|
12
|
+
SCCustomAdvPosition["POSITION_ABOVE_FEED"] = "ABOVE_THE_STREAM";
|
|
12
13
|
})(SCCustomAdvPosition = exports.SCCustomAdvPosition || (exports.SCCustomAdvPosition = {}));
|
|
@@ -1,2 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SCCustomMenu = void 0;
|
|
4
|
+
/**
|
|
5
|
+
* SCCustomMenu enum
|
|
6
|
+
*/
|
|
7
|
+
var SCCustomMenu;
|
|
8
|
+
(function (SCCustomMenu) {
|
|
9
|
+
SCCustomMenu["BASE"] = "base";
|
|
10
|
+
SCCustomMenu["NOT_LOGGED"] = "not_logged";
|
|
11
|
+
SCCustomMenu["USER"] = "user";
|
|
12
|
+
})(SCCustomMenu = exports.SCCustomMenu || (exports.SCCustomMenu = {}));
|
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
|
*/
|
|
@@ -59,7 +60,7 @@ export declare enum SCEventDateFilterType {
|
|
|
59
60
|
NOT_PAST = "not_past",
|
|
60
61
|
PAST = "past"
|
|
61
62
|
}
|
|
62
|
-
export interface SCEventType {
|
|
63
|
+
export interface SCEventType extends SCPurchasableContent {
|
|
63
64
|
/**
|
|
64
65
|
* The ID of the event.
|
|
65
66
|
*/
|
|
@@ -40,10 +40,10 @@ export declare enum SCFeatureName {
|
|
|
40
40
|
CUSTOMIZE_HEADLESS = "customize_headless",
|
|
41
41
|
SYSTEM_PAGES = "system_pages",
|
|
42
42
|
REACTION = "reaction",
|
|
43
|
-
PRIVATE_MESSAGING = "private_messaging",
|
|
44
43
|
GROUPING = "grouping",
|
|
45
44
|
EVENT = "event",
|
|
46
45
|
LIVE_STREAM = "live_stream",
|
|
46
|
+
PAYMENTS = "payments",
|
|
47
47
|
COURSE = "course"
|
|
48
48
|
}
|
|
49
49
|
/**
|
package/lib/cjs/types/feature.js
CHANGED
|
@@ -44,9 +44,9 @@ var SCFeatureName;
|
|
|
44
44
|
SCFeatureName["CUSTOMIZE_HEADLESS"] = "customize_headless";
|
|
45
45
|
SCFeatureName["SYSTEM_PAGES"] = "system_pages";
|
|
46
46
|
SCFeatureName["REACTION"] = "reaction";
|
|
47
|
-
SCFeatureName["PRIVATE_MESSAGING"] = "private_messaging";
|
|
48
47
|
SCFeatureName["GROUPING"] = "grouping";
|
|
49
48
|
SCFeatureName["EVENT"] = "event";
|
|
50
49
|
SCFeatureName["LIVE_STREAM"] = "live_stream";
|
|
50
|
+
SCFeatureName["PAYMENTS"] = "payments";
|
|
51
51
|
SCFeatureName["COURSE"] = "course";
|
|
52
52
|
})(SCFeatureName = exports.SCFeatureName || (exports.SCFeatureName = {}));
|
package/lib/cjs/types/feed.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { SCUserType } from './user';
|
|
1
|
+
import { SCUserAutocompleteType, SCUserType } from './user';
|
|
2
2
|
import { SCCategoryType } from './category';
|
|
3
3
|
import { SCContributionLocation } from './location';
|
|
4
4
|
import { SCPollType } from './poll';
|
|
@@ -42,7 +42,7 @@ export interface SCFeedUnitType {
|
|
|
42
42
|
/**
|
|
43
43
|
* Id of User that have seen this object
|
|
44
44
|
*/
|
|
45
|
-
|
|
45
|
+
seen?: boolean;
|
|
46
46
|
/**
|
|
47
47
|
* True if this object has the visibility boost
|
|
48
48
|
*/
|
|
@@ -82,7 +82,7 @@ export interface SCFeedUnitActivityType {
|
|
|
82
82
|
/**
|
|
83
83
|
* Id of Users that have seen this activity
|
|
84
84
|
*/
|
|
85
|
-
|
|
85
|
+
seen?: boolean;
|
|
86
86
|
}
|
|
87
87
|
/**
|
|
88
88
|
* Interface SCFeedObjectType.
|
|
@@ -122,10 +122,18 @@ export interface SCFeedObjectType {
|
|
|
122
122
|
* Last activity at
|
|
123
123
|
*/
|
|
124
124
|
last_activity_at: Date;
|
|
125
|
+
/**
|
|
126
|
+
* Last edited at
|
|
127
|
+
*/
|
|
128
|
+
last_edited_at: Date;
|
|
125
129
|
/**
|
|
126
130
|
* Added at
|
|
127
131
|
*/
|
|
128
132
|
added_at: Date;
|
|
133
|
+
/**
|
|
134
|
+
* Scheduled at
|
|
135
|
+
*/
|
|
136
|
+
scheduled_at?: Date;
|
|
129
137
|
/**
|
|
130
138
|
* Slug
|
|
131
139
|
*/
|
|
@@ -195,7 +203,7 @@ export interface SCFeedObjectType {
|
|
|
195
203
|
*/
|
|
196
204
|
flag_count: number;
|
|
197
205
|
/**
|
|
198
|
-
* Tags
|
|
206
|
+
* Tags addressing
|
|
199
207
|
*/
|
|
200
208
|
addressing: SCTagType[];
|
|
201
209
|
/**
|
|
@@ -206,6 +214,14 @@ export interface SCFeedObjectType {
|
|
|
206
214
|
* Suspended notification
|
|
207
215
|
*/
|
|
208
216
|
suspended?: boolean;
|
|
217
|
+
/**
|
|
218
|
+
* True if scheduled_posts ddp is enabled and if the feed object is not published yet
|
|
219
|
+
*/
|
|
220
|
+
draft?: boolean;
|
|
221
|
+
/**
|
|
222
|
+
* Users addressing
|
|
223
|
+
*/
|
|
224
|
+
recipients?: SCUserAutocompleteType[];
|
|
209
225
|
}
|
|
210
226
|
/**
|
|
211
227
|
* Interface SCFeedDiscussionType.
|
|
@@ -235,7 +251,7 @@ export interface SCFeedPostType extends SCFeedObjectType {
|
|
|
235
251
|
* Interface SCFeedStatusType.
|
|
236
252
|
* Status Schema.
|
|
237
253
|
*/
|
|
238
|
-
export type SCFeedStatusType = SCFeedObjectType;
|
|
254
|
+
export declare type SCFeedStatusType = SCFeedObjectType;
|
|
239
255
|
/**
|
|
240
256
|
* SCFeedUnseenCountType interface
|
|
241
257
|
*/
|
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
|
*/
|
|
@@ -16,9 +17,10 @@ export declare enum SCGroupPrivacyType {
|
|
|
16
17
|
export declare enum SCGroupSubscriptionStatusType {
|
|
17
18
|
SUBSCRIBED = "subscribed",
|
|
18
19
|
REQUESTED = "requested",
|
|
19
|
-
INVITED = "invited"
|
|
20
|
+
INVITED = "invited",
|
|
21
|
+
PAYMENT_WAITING = "payment_waiting"
|
|
20
22
|
}
|
|
21
|
-
export interface SCGroupType {
|
|
23
|
+
export interface SCGroupType extends SCPurchasableContent {
|
|
22
24
|
/**
|
|
23
25
|
* The ID of the group.
|
|
24
26
|
*/
|
package/lib/cjs/types/group.js
CHANGED
|
@@ -17,4 +17,5 @@ var SCGroupSubscriptionStatusType;
|
|
|
17
17
|
SCGroupSubscriptionStatusType["SUBSCRIBED"] = "subscribed";
|
|
18
18
|
SCGroupSubscriptionStatusType["REQUESTED"] = "requested";
|
|
19
19
|
SCGroupSubscriptionStatusType["INVITED"] = "invited";
|
|
20
|
+
SCGroupSubscriptionStatusType["PAYMENT_WAITING"] = "payment_waiting";
|
|
20
21
|
})(SCGroupSubscriptionStatusType = exports.SCGroupSubscriptionStatusType || (exports.SCGroupSubscriptionStatusType = {}));
|
package/lib/cjs/types/index.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { type SCAuthTokenType } from './auth';
|
|
2
2
|
import { type SCBannerType, SCBroadcastMessageBannerType, type SCBroadcastMessageType } from './broadcastMessage';
|
|
3
3
|
import { SCCustomAdvPosition, type SCCustomAdvType } from './customAdv';
|
|
4
|
-
import { type SCCustomMenuItemType, type SCCustomMenuType } from './customMenu';
|
|
4
|
+
import { SCCustomMenu, type SCCustomMenuItemType, type SCCustomMenuType } from './customMenu';
|
|
5
5
|
import { SCLanguageType } from './locale';
|
|
6
6
|
import { type SCUserAutocompleteType, type SCUserAvatarType, type SCUserBlockedSettingsType, type SCUserChangeEmailType, type SCUserConnectionRequestType, type SCUserConnectionStatusType, type SCUserCounterType, type SCUserEmailTokenType, type SCUserFollowedStatusType, type SCUserFollowerStatusType, type SCUserHiddenByStatusType, type SCUserHiddenStatusType, type SCUserModerationType, type SCUserPermissionType, SCUserReputationType, type SCUserScoreType, type SCUserScoreVariation, type SCUserSettingsType, SCUserStatus, type SCUserType, type SCUserProviderAssociationType } from './user';
|
|
7
7
|
import { type SCTagType } from './tag';
|
|
8
8
|
import { type SCCategoryAudienceType, type SCCategoryFollowedStatusType, type SCCategoryType, SCCategoryAutoFollowType } from './category';
|
|
9
9
|
import { type SCEmbedType } from './embed';
|
|
10
|
-
import { type SCChunkMediaType, type SCMediaType } from './media';
|
|
10
|
+
import { type SCChunkMediaType, type SCMediaType, SCMimeTypes } from './media';
|
|
11
11
|
import { SCMetadataTypeFieldType, type SCMetadataType } from './metadata';
|
|
12
12
|
import { type SCContributionLocation, type SCLocalityType } from './location';
|
|
13
13
|
import { type SCPollChoiceType, type SCPollType, type SCPollVoteType } from './poll';
|
|
@@ -44,7 +44,11 @@ import { type SCLiveStreamType, SCLiveStreamViewType, SCLiveStreamConnectionDeta
|
|
|
44
44
|
import { type SCStepType, SCOnBoardingStepType, SCOnBoardingStepStatusType, SCOnBoardingStepIdType } from './onboarding';
|
|
45
45
|
import { SCCommunitySubscriptionTier } from './tier';
|
|
46
46
|
import { SCCommunityEnvironment } from './environment';
|
|
47
|
+
import { type SCPaymentProduct, type SCPaymentPrice, SCPaymentPriceCurrencyType, SCContentType, type SCCheckoutSession, type SCPurchasableContent, SCCheckoutSessionStatus, type SCCheckoutSessionDetail, type SCCheckoutSessionComplete, type SCPaymentOrder, type SCPaymentsCustomerPortalSession, SCPaymentProductTemplateType, SCCheckoutSessionUIMode, type SCPaywall, SCPaymentRecurringInterval } from './payment';
|
|
48
|
+
import { type SCCustomerBillingInfo, type SCCountryType } from './billing';
|
|
49
|
+
import { type SCCommunityType } from './community';
|
|
50
|
+
import { type SCContactUsRequestType } from './contactUs';
|
|
47
51
|
/**
|
|
48
52
|
* Exports all types
|
|
49
53
|
*/
|
|
50
|
-
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 SCNotificationCourseActivityType, 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, SCCourseOrderingUsersType, type SCLiveStreamType, type SCLiveStreamConnectionDetailsType, type SCLiveStreamSettingsType, type SCLiveStreamConnectionDetailsResponseErrorType, type SCLiveStreamMonthlyDurationType, SCLiveStreamConnectionDetailsErrorType, SCLiveStreamViewType, SCCommunitySubscriptionTier, SCCommunityEnvironment };
|
|
54
|
+
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, SCCustomMenu, type SCCustomMenuItemType, type SCCustomMenuType, type SCEmbedType, type SCMediaType, type SCChunkMediaType, SCMimeTypes, 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 SCNotificationCourseActivityType, 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, SCCourseOrderingUsersType, type SCLiveStreamType, type SCLiveStreamConnectionDetailsType, type SCLiveStreamSettingsType, type SCLiveStreamConnectionDetailsResponseErrorType, type SCLiveStreamMonthlyDurationType, SCLiveStreamConnectionDetailsErrorType, SCLiveStreamViewType, SCCommunitySubscriptionTier, SCCommunityEnvironment, type SCPaywall, type SCPaymentProduct, type SCPaymentPrice, SCPaymentPriceCurrencyType, SCContentType, type SCCheckoutSession, type SCPurchasableContent, SCCheckoutSessionStatus, type SCCheckoutSessionDetail, type SCCheckoutSessionComplete, type SCPaymentOrder, type SCPaymentsCustomerPortalSession, SCPaymentProductTemplateType, SCCheckoutSessionUIMode, SCPaymentRecurringInterval, type SCCommunityType, type SCCustomerBillingInfo, type SCCountryType, type SCContactUsRequestType };
|
package/lib/cjs/types/index.js
CHANGED
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.SCCommunityEnvironment = exports.SCCommunitySubscriptionTier = void 0;
|
|
3
|
+
exports.SCCourseOrderingUsersType = exports.SCCourseLessonCompletionStatusType = exports.SCCourseTypologyType = exports.SCCourseLessonStatusType = exports.SCCourseLessonTypologyType = exports.SCCourseJoinStatusType = exports.SCCoursePrivacyType = exports.SCOnBoardingStepIdType = exports.SCOnBoardingStepStatusType = exports.SCOnBoardingStepType = exports.SCEventLocationFilterType = exports.SCEventDateFilterType = exports.SCEventLocationType = exports.SCEventRecurrenceType = exports.SCEventSubscriptionStatusType = exports.SCEventPrivacyType = exports.SCGroupSubscriptionStatusType = exports.SCGroupPrivacyType = exports.SCDeviceTypeEnum = exports.SCDeviceApnsTypeEnum = exports.SCConnectionStatus = exports.SuggestionType = exports.SCContributeStatusType = exports.SCContributionType = exports.SCLegalPagePoliciesType = exports.SCFeatureName = exports.SCPreferenceName = exports.SCPreferenceSection = exports.SCCustomPageTypeEnum = exports.SCFlagModerationStatusType = exports.SCFlagTypeEnum = exports.SCPrizeUserStatusType = exports.SCIncubatorStatusType = exports.SCNotificationTopicType = exports.SCNotificationTypologyType = exports.SCPrivateMessageType = exports.SCMessageFileType = exports.SCPrivateMessageStatusType = exports.SCCommentsOrderBy = exports.SCFeedTypologyType = exports.SCFeedUnitActivityTypologyType = exports.SCMimeTypes = exports.SCCustomMenu = exports.SCCustomAdvPosition = exports.SCCategoryAutoFollowType = exports.SCMetadataTypeFieldType = exports.SCUserReputationType = exports.SCUserStatus = exports.SCLanguageType = exports.SCBroadcastMessageBannerType = void 0;
|
|
4
|
+
exports.SCPaymentRecurringInterval = exports.SCCheckoutSessionUIMode = exports.SCPaymentProductTemplateType = exports.SCCheckoutSessionStatus = exports.SCContentType = exports.SCPaymentPriceCurrencyType = exports.SCCommunityEnvironment = exports.SCCommunitySubscriptionTier = exports.SCLiveStreamViewType = exports.SCLiveStreamConnectionDetailsErrorType = void 0;
|
|
5
5
|
const broadcastMessage_1 = require("./broadcastMessage");
|
|
6
6
|
Object.defineProperty(exports, "SCBroadcastMessageBannerType", { enumerable: true, get: function () { return broadcastMessage_1.SCBroadcastMessageBannerType; } });
|
|
7
7
|
const customAdv_1 = require("./customAdv");
|
|
8
8
|
Object.defineProperty(exports, "SCCustomAdvPosition", { enumerable: true, get: function () { return customAdv_1.SCCustomAdvPosition; } });
|
|
9
|
+
const customMenu_1 = require("./customMenu");
|
|
10
|
+
Object.defineProperty(exports, "SCCustomMenu", { enumerable: true, get: function () { return customMenu_1.SCCustomMenu; } });
|
|
9
11
|
const locale_1 = require("./locale");
|
|
10
12
|
Object.defineProperty(exports, "SCLanguageType", { enumerable: true, get: function () { return locale_1.SCLanguageType; } });
|
|
11
13
|
const user_1 = require("./user");
|
|
@@ -13,6 +15,8 @@ Object.defineProperty(exports, "SCUserReputationType", { enumerable: true, get:
|
|
|
13
15
|
Object.defineProperty(exports, "SCUserStatus", { enumerable: true, get: function () { return user_1.SCUserStatus; } });
|
|
14
16
|
const category_1 = require("./category");
|
|
15
17
|
Object.defineProperty(exports, "SCCategoryAutoFollowType", { enumerable: true, get: function () { return category_1.SCCategoryAutoFollowType; } });
|
|
18
|
+
const media_1 = require("./media");
|
|
19
|
+
Object.defineProperty(exports, "SCMimeTypes", { enumerable: true, get: function () { return media_1.SCMimeTypes; } });
|
|
16
20
|
const metadata_1 = require("./metadata");
|
|
17
21
|
Object.defineProperty(exports, "SCMetadataTypeFieldType", { enumerable: true, get: function () { return metadata_1.SCMetadataTypeFieldType; } });
|
|
18
22
|
const comment_1 = require("./comment");
|
|
@@ -82,3 +86,10 @@ const tier_1 = require("./tier");
|
|
|
82
86
|
Object.defineProperty(exports, "SCCommunitySubscriptionTier", { enumerable: true, get: function () { return tier_1.SCCommunitySubscriptionTier; } });
|
|
83
87
|
const environment_1 = require("./environment");
|
|
84
88
|
Object.defineProperty(exports, "SCCommunityEnvironment", { enumerable: true, get: function () { return environment_1.SCCommunityEnvironment; } });
|
|
89
|
+
const payment_1 = require("./payment");
|
|
90
|
+
Object.defineProperty(exports, "SCPaymentPriceCurrencyType", { enumerable: true, get: function () { return payment_1.SCPaymentPriceCurrencyType; } });
|
|
91
|
+
Object.defineProperty(exports, "SCContentType", { enumerable: true, get: function () { return payment_1.SCContentType; } });
|
|
92
|
+
Object.defineProperty(exports, "SCCheckoutSessionStatus", { enumerable: true, get: function () { return payment_1.SCCheckoutSessionStatus; } });
|
|
93
|
+
Object.defineProperty(exports, "SCPaymentProductTemplateType", { enumerable: true, get: function () { return payment_1.SCPaymentProductTemplateType; } });
|
|
94
|
+
Object.defineProperty(exports, "SCCheckoutSessionUIMode", { enumerable: true, get: function () { return payment_1.SCCheckoutSessionUIMode; } });
|
|
95
|
+
Object.defineProperty(exports, "SCPaymentRecurringInterval", { enumerable: true, get: function () { return payment_1.SCPaymentRecurringInterval; } });
|