@selfcommunity/types 0.8.0-alpha.0 → 0.8.0-alpha.1
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 +8 -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/course.d.ts +8 -2
- package/lib/cjs/types/course.js +1 -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 +13 -1
- package/lib/cjs/types/group.d.ts +4 -2
- package/lib/cjs/types/group.js +1 -0
- package/lib/cjs/types/index.d.ts +4 -1
- package/lib/cjs/types/index.js +8 -1
- package/lib/cjs/types/media.d.ts +4 -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 +15 -1
- package/lib/cjs/types/preference.js +14 -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/course.d.ts +8 -2
- package/lib/esm/types/course.js +1 -0
- package/lib/esm/types/device.d.ts +1 -1
- package/lib/esm/types/event.d.ts +2 -1
- package/lib/esm/types/feature.d.ts +1 -1
- package/lib/esm/types/feature.js +1 -1
- package/lib/esm/types/feed.d.ts +13 -1
- package/lib/esm/types/group.d.ts +4 -2
- package/lib/esm/types/group.js +1 -0
- package/lib/esm/types/index.d.ts +4 -1
- package/lib/esm/types/index.js +2 -1
- package/lib/esm/types/media.d.ts +4 -0
- package/lib/esm/types/payment.d.ts +226 -0
- package/lib/esm/types/payment.js +39 -0
- package/lib/esm/types/preference.d.ts +15 -1
- package/lib/esm/types/preference.js +14 -0
- package/lib/umd/types.js +1 -1
- package/package.json +2 -2
|
@@ -0,0 +1,226 @@
|
|
|
1
|
+
import { SCUserType } from './user';
|
|
2
|
+
import { SCEventType } from './event';
|
|
3
|
+
import { SCCourseType } from './course';
|
|
4
|
+
import { SCGroupType } from './group';
|
|
5
|
+
import { SCCategoryType } from './category';
|
|
6
|
+
import { SCCommunityType } from './community';
|
|
7
|
+
export interface SCPaywall {
|
|
8
|
+
/**
|
|
9
|
+
* Id product
|
|
10
|
+
*/
|
|
11
|
+
id: number;
|
|
12
|
+
/**
|
|
13
|
+
* Content type
|
|
14
|
+
*/
|
|
15
|
+
content_type: SCContentType;
|
|
16
|
+
/**
|
|
17
|
+
* Content event
|
|
18
|
+
*/
|
|
19
|
+
event?: SCEventType;
|
|
20
|
+
/**
|
|
21
|
+
* Content course
|
|
22
|
+
*/
|
|
23
|
+
course?: SCCourseType;
|
|
24
|
+
/**
|
|
25
|
+
* Content group
|
|
26
|
+
*/
|
|
27
|
+
group?: SCGroupType;
|
|
28
|
+
/**
|
|
29
|
+
* Content category
|
|
30
|
+
*/
|
|
31
|
+
category?: SCCategoryType;
|
|
32
|
+
/**
|
|
33
|
+
* Content community
|
|
34
|
+
*/
|
|
35
|
+
community?: SCCommunityType;
|
|
36
|
+
/**
|
|
37
|
+
* Active or not
|
|
38
|
+
*/
|
|
39
|
+
active?: boolean;
|
|
40
|
+
/**
|
|
41
|
+
* Payment product
|
|
42
|
+
*/
|
|
43
|
+
payment_product: SCPaymentProduct;
|
|
44
|
+
}
|
|
45
|
+
export interface SCPaymentProduct {
|
|
46
|
+
/**
|
|
47
|
+
* Id product
|
|
48
|
+
*/
|
|
49
|
+
id: number;
|
|
50
|
+
/**
|
|
51
|
+
* Product name
|
|
52
|
+
*/
|
|
53
|
+
name: string;
|
|
54
|
+
/**
|
|
55
|
+
* Description name
|
|
56
|
+
*/
|
|
57
|
+
description?: string;
|
|
58
|
+
/**
|
|
59
|
+
* Active or not
|
|
60
|
+
*/
|
|
61
|
+
active?: boolean;
|
|
62
|
+
/**
|
|
63
|
+
* Stripe product id
|
|
64
|
+
*/
|
|
65
|
+
stripe_product_id: string;
|
|
66
|
+
/**
|
|
67
|
+
* Stripe default price id
|
|
68
|
+
*/
|
|
69
|
+
stripe_default_price_id?: string;
|
|
70
|
+
/**
|
|
71
|
+
* Stripe prices
|
|
72
|
+
*/
|
|
73
|
+
payment_prices: SCPaymentPrice[];
|
|
74
|
+
}
|
|
75
|
+
export declare enum SCPaymentProductTemplateType {
|
|
76
|
+
DETAIL = "detail"
|
|
77
|
+
}
|
|
78
|
+
export declare enum SCPaymentRecurringInterval {
|
|
79
|
+
WEEK = "week",
|
|
80
|
+
MONTH = "month",
|
|
81
|
+
YEAR = "year"
|
|
82
|
+
}
|
|
83
|
+
export interface SCPaymentPrice {
|
|
84
|
+
/**
|
|
85
|
+
* Id product
|
|
86
|
+
*/
|
|
87
|
+
id: number;
|
|
88
|
+
/**
|
|
89
|
+
* Description name
|
|
90
|
+
*/
|
|
91
|
+
description?: string;
|
|
92
|
+
/**
|
|
93
|
+
* Active or not
|
|
94
|
+
*/
|
|
95
|
+
active?: boolean;
|
|
96
|
+
/**
|
|
97
|
+
* Stripe price id
|
|
98
|
+
*/
|
|
99
|
+
stripe_price_id: string;
|
|
100
|
+
/**
|
|
101
|
+
* Price
|
|
102
|
+
*/
|
|
103
|
+
unit_amount?: number;
|
|
104
|
+
/**
|
|
105
|
+
* Currency
|
|
106
|
+
*/
|
|
107
|
+
currency?: SCPaymentPriceCurrencyType;
|
|
108
|
+
/**
|
|
109
|
+
* Recurring interval
|
|
110
|
+
*/
|
|
111
|
+
recurring_interval?: SCPaymentRecurringInterval;
|
|
112
|
+
/**
|
|
113
|
+
* Payment product id associated
|
|
114
|
+
*/
|
|
115
|
+
payment_product_id?: number;
|
|
116
|
+
/**
|
|
117
|
+
* Payment product associated
|
|
118
|
+
*/
|
|
119
|
+
payment_product?: SCPaymentProduct;
|
|
120
|
+
}
|
|
121
|
+
/**
|
|
122
|
+
* SCCurrencyPriceType enum
|
|
123
|
+
*/
|
|
124
|
+
export declare enum SCPaymentPriceCurrencyType {
|
|
125
|
+
EUR = "EUR"
|
|
126
|
+
}
|
|
127
|
+
/**
|
|
128
|
+
* Paywalls Content types
|
|
129
|
+
*/
|
|
130
|
+
export declare enum SCContentType {
|
|
131
|
+
ALL = "all",
|
|
132
|
+
EVENT = "event",
|
|
133
|
+
COURSE = "course",
|
|
134
|
+
CATEGORY = "category",
|
|
135
|
+
GROUP = "group",
|
|
136
|
+
COMMUNITY = "community"
|
|
137
|
+
}
|
|
138
|
+
export interface SCPurchasableContent {
|
|
139
|
+
id?: number;
|
|
140
|
+
payment_order?: SCPaymentOrder;
|
|
141
|
+
paywalls?: SCPaymentProduct[];
|
|
142
|
+
product_ids?: number[];
|
|
143
|
+
}
|
|
144
|
+
export interface SCCheckoutSessionDetail {
|
|
145
|
+
status?: string;
|
|
146
|
+
metadata?: {
|
|
147
|
+
content_id: string;
|
|
148
|
+
content_type: SCContentType;
|
|
149
|
+
};
|
|
150
|
+
}
|
|
151
|
+
export interface SCCheckoutSessionComplete {
|
|
152
|
+
id: number;
|
|
153
|
+
content_id: number;
|
|
154
|
+
content_type: SCContentType;
|
|
155
|
+
event?: SCEventType;
|
|
156
|
+
course?: SCCourseType;
|
|
157
|
+
group?: SCGroupType;
|
|
158
|
+
category?: SCCategoryType;
|
|
159
|
+
created_at: Date;
|
|
160
|
+
expire_at: Date;
|
|
161
|
+
payment_price: SCPaymentPrice;
|
|
162
|
+
user: SCUserType;
|
|
163
|
+
}
|
|
164
|
+
export interface SCCheckoutSession {
|
|
165
|
+
/**
|
|
166
|
+
* Session id
|
|
167
|
+
*/
|
|
168
|
+
id?: string;
|
|
169
|
+
/**
|
|
170
|
+
* Client secret
|
|
171
|
+
*/
|
|
172
|
+
client_secret: string;
|
|
173
|
+
}
|
|
174
|
+
export declare enum SCCheckoutSessionStatus {
|
|
175
|
+
COMPLETE = "complete",
|
|
176
|
+
OPEN = "open"
|
|
177
|
+
}
|
|
178
|
+
export declare enum SCCheckoutSessionUIMode {
|
|
179
|
+
HOSTED = "hosted",
|
|
180
|
+
EMBEDDED = "embedded"
|
|
181
|
+
}
|
|
182
|
+
export interface SCPaymentOrder {
|
|
183
|
+
/**
|
|
184
|
+
* Order id
|
|
185
|
+
*/
|
|
186
|
+
id: number;
|
|
187
|
+
/**
|
|
188
|
+
* Price
|
|
189
|
+
*/
|
|
190
|
+
payment_price?: SCPaymentPrice;
|
|
191
|
+
/**
|
|
192
|
+
* Content type
|
|
193
|
+
*/
|
|
194
|
+
content_type: SCContentType;
|
|
195
|
+
/**
|
|
196
|
+
* Content event
|
|
197
|
+
*/
|
|
198
|
+
event?: SCEventType;
|
|
199
|
+
/**
|
|
200
|
+
* Content course
|
|
201
|
+
*/
|
|
202
|
+
course?: SCCourseType;
|
|
203
|
+
/**
|
|
204
|
+
* Content group
|
|
205
|
+
*/
|
|
206
|
+
group?: SCGroupType;
|
|
207
|
+
/**
|
|
208
|
+
* Content category
|
|
209
|
+
*/
|
|
210
|
+
category?: SCCategoryType;
|
|
211
|
+
/**
|
|
212
|
+
* Content community
|
|
213
|
+
*/
|
|
214
|
+
community?: SCCommunityType;
|
|
215
|
+
/**
|
|
216
|
+
* Created at
|
|
217
|
+
*/
|
|
218
|
+
created_at?: Date;
|
|
219
|
+
/**
|
|
220
|
+
* Expired at
|
|
221
|
+
*/
|
|
222
|
+
expire_at?: Date;
|
|
223
|
+
}
|
|
224
|
+
export interface SCPaymentsCustomerPortalSession {
|
|
225
|
+
url: string;
|
|
226
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SCCheckoutSessionUIMode = exports.SCCheckoutSessionStatus = exports.SCContentType = exports.SCPaymentPriceCurrencyType = exports.SCPaymentRecurringInterval = exports.SCPaymentProductTemplateType = void 0;
|
|
4
|
+
var SCPaymentProductTemplateType;
|
|
5
|
+
(function (SCPaymentProductTemplateType) {
|
|
6
|
+
SCPaymentProductTemplateType["DETAIL"] = "detail";
|
|
7
|
+
})(SCPaymentProductTemplateType = exports.SCPaymentProductTemplateType || (exports.SCPaymentProductTemplateType = {}));
|
|
8
|
+
var SCPaymentRecurringInterval;
|
|
9
|
+
(function (SCPaymentRecurringInterval) {
|
|
10
|
+
SCPaymentRecurringInterval["WEEK"] = "week";
|
|
11
|
+
SCPaymentRecurringInterval["MONTH"] = "month";
|
|
12
|
+
SCPaymentRecurringInterval["YEAR"] = "year";
|
|
13
|
+
})(SCPaymentRecurringInterval = exports.SCPaymentRecurringInterval || (exports.SCPaymentRecurringInterval = {}));
|
|
14
|
+
/**
|
|
15
|
+
* SCCurrencyPriceType enum
|
|
16
|
+
*/
|
|
17
|
+
var SCPaymentPriceCurrencyType;
|
|
18
|
+
(function (SCPaymentPriceCurrencyType) {
|
|
19
|
+
SCPaymentPriceCurrencyType["EUR"] = "EUR";
|
|
20
|
+
})(SCPaymentPriceCurrencyType = exports.SCPaymentPriceCurrencyType || (exports.SCPaymentPriceCurrencyType = {}));
|
|
21
|
+
/**
|
|
22
|
+
* Paywalls Content types
|
|
23
|
+
*/
|
|
24
|
+
var SCContentType;
|
|
25
|
+
(function (SCContentType) {
|
|
26
|
+
SCContentType["ALL"] = "all";
|
|
27
|
+
SCContentType["EVENT"] = "event";
|
|
28
|
+
SCContentType["COURSE"] = "course";
|
|
29
|
+
SCContentType["CATEGORY"] = "category";
|
|
30
|
+
SCContentType["GROUP"] = "group";
|
|
31
|
+
SCContentType["COMMUNITY"] = "community";
|
|
32
|
+
})(SCContentType = exports.SCContentType || (exports.SCContentType = {}));
|
|
33
|
+
var SCCheckoutSessionStatus;
|
|
34
|
+
(function (SCCheckoutSessionStatus) {
|
|
35
|
+
SCCheckoutSessionStatus["COMPLETE"] = "complete";
|
|
36
|
+
SCCheckoutSessionStatus["OPEN"] = "open";
|
|
37
|
+
})(SCCheckoutSessionStatus = exports.SCCheckoutSessionStatus || (exports.SCCheckoutSessionStatus = {}));
|
|
38
|
+
var SCCheckoutSessionUIMode;
|
|
39
|
+
(function (SCCheckoutSessionUIMode) {
|
|
40
|
+
SCCheckoutSessionUIMode["HOSTED"] = "hosted";
|
|
41
|
+
SCCheckoutSessionUIMode["EMBEDDED"] = "embedded";
|
|
42
|
+
})(SCCheckoutSessionUIMode = exports.SCCheckoutSessionUIMode || (exports.SCCheckoutSessionUIMode = {}));
|
|
@@ -76,6 +76,7 @@ export declare enum SCPreferenceName {
|
|
|
76
76
|
CUSTOM_NAVBAR_ITEM_TEXT = "custom_navbar_item_text",
|
|
77
77
|
CUSTOM_NAVBAR_ITEM_URL = "custom_navbar_item_url",
|
|
78
78
|
CUSTOM_NAVBAR_ITEM_IMAGE = "custom_navbar_item_image",
|
|
79
|
+
CONNECTION_ENABLED = "connection_enabled",
|
|
79
80
|
FOLLOW_ENABLED = "follow_enabled",
|
|
80
81
|
EXPLORE_STREAM_ENABLED = "explore_stream_enabled",
|
|
81
82
|
EXPLORE_STREAM_ORDER_BY = "explore_stream_order_by",
|
|
@@ -149,8 +150,21 @@ export declare enum SCPreferenceName {
|
|
|
149
150
|
ONBOARDING_ENABLED = "onboarding_enabled",
|
|
150
151
|
ONBOARDING_HIDDEN = "onboarding_hidden",
|
|
151
152
|
SUBSCRIPTION_TIER = "subscription_tier",
|
|
153
|
+
PAYMENTS_ENABLED = "payments_enabled",
|
|
154
|
+
STRIPE_CONNECTED_ACCOUNT_ID = "stripe_connected_account_id",
|
|
152
155
|
ENVIRONMENT = "env",
|
|
153
|
-
STACK_ID = "stackid"
|
|
156
|
+
STACK_ID = "stackid",
|
|
157
|
+
STRIPE_PUBLIC_KEY = "stripe_public_key",
|
|
158
|
+
PRIVATE_MESSAGES_ENABLED = "private_messages_enabled",
|
|
159
|
+
CONTEXT_MENU_ENABLED = "context_menu_enabled",
|
|
160
|
+
CATEGORY_FOLLOW_ENABLED = "category_follow_enabled",
|
|
161
|
+
SHARE_POST_ENABLED = "share_post_enabled",
|
|
162
|
+
COMMENTS_ENABLED = "comments_enabled",
|
|
163
|
+
SIDEBAR_SHOW_ALL_CATEGORIES_ENABLED = "sidebar_show_all_categories_enabled",
|
|
164
|
+
VIDEO_AUTOPLAY_ENABLED = "video_autoplay_enabled",
|
|
165
|
+
SCHEDULED_POSTS_ENABLED = "scheduled_posts_enabled",
|
|
166
|
+
POST_CATEGORY_REQUIRED_ENABLED = "post_category_required_enabled",
|
|
167
|
+
POST_ADDRESSING_REQUIRED_ENABLED = "post_addressing_required_enabled"
|
|
154
168
|
}
|
|
155
169
|
/**
|
|
156
170
|
* SCPreferenceType interface
|
|
@@ -81,6 +81,7 @@ var SCPreferenceName;
|
|
|
81
81
|
SCPreferenceName["CUSTOM_NAVBAR_ITEM_TEXT"] = "custom_navbar_item_text";
|
|
82
82
|
SCPreferenceName["CUSTOM_NAVBAR_ITEM_URL"] = "custom_navbar_item_url";
|
|
83
83
|
SCPreferenceName["CUSTOM_NAVBAR_ITEM_IMAGE"] = "custom_navbar_item_image";
|
|
84
|
+
SCPreferenceName["CONNECTION_ENABLED"] = "connection_enabled";
|
|
84
85
|
SCPreferenceName["FOLLOW_ENABLED"] = "follow_enabled";
|
|
85
86
|
SCPreferenceName["EXPLORE_STREAM_ENABLED"] = "explore_stream_enabled";
|
|
86
87
|
SCPreferenceName["EXPLORE_STREAM_ORDER_BY"] = "explore_stream_order_by";
|
|
@@ -154,6 +155,19 @@ var SCPreferenceName;
|
|
|
154
155
|
SCPreferenceName["ONBOARDING_ENABLED"] = "onboarding_enabled";
|
|
155
156
|
SCPreferenceName["ONBOARDING_HIDDEN"] = "onboarding_hidden";
|
|
156
157
|
SCPreferenceName["SUBSCRIPTION_TIER"] = "subscription_tier";
|
|
158
|
+
SCPreferenceName["PAYMENTS_ENABLED"] = "payments_enabled";
|
|
159
|
+
SCPreferenceName["STRIPE_CONNECTED_ACCOUNT_ID"] = "stripe_connected_account_id";
|
|
157
160
|
SCPreferenceName["ENVIRONMENT"] = "env";
|
|
158
161
|
SCPreferenceName["STACK_ID"] = "stackid";
|
|
162
|
+
SCPreferenceName["STRIPE_PUBLIC_KEY"] = "stripe_public_key";
|
|
163
|
+
SCPreferenceName["PRIVATE_MESSAGES_ENABLED"] = "private_messages_enabled";
|
|
164
|
+
SCPreferenceName["CONTEXT_MENU_ENABLED"] = "context_menu_enabled";
|
|
165
|
+
SCPreferenceName["CATEGORY_FOLLOW_ENABLED"] = "category_follow_enabled";
|
|
166
|
+
SCPreferenceName["SHARE_POST_ENABLED"] = "share_post_enabled";
|
|
167
|
+
SCPreferenceName["COMMENTS_ENABLED"] = "comments_enabled";
|
|
168
|
+
SCPreferenceName["SIDEBAR_SHOW_ALL_CATEGORIES_ENABLED"] = "sidebar_show_all_categories_enabled";
|
|
169
|
+
SCPreferenceName["VIDEO_AUTOPLAY_ENABLED"] = "video_autoplay_enabled";
|
|
170
|
+
SCPreferenceName["SCHEDULED_POSTS_ENABLED"] = "scheduled_posts_enabled";
|
|
171
|
+
SCPreferenceName["POST_CATEGORY_REQUIRED_ENABLED"] = "post_category_required_enabled";
|
|
172
|
+
SCPreferenceName["POST_ADDRESSING_REQUIRED_ENABLED"] = "post_addressing_required_enabled";
|
|
159
173
|
})(SCPreferenceName = exports.SCPreferenceName || (exports.SCPreferenceName = {}));
|
package/lib/esm/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 } 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 } 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 };
|
|
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 };
|
package/lib/esm/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Import enums
|
|
3
3
|
*/
|
|
4
|
-
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';
|
|
4
|
+
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 } from './types';
|
|
5
5
|
/**
|
|
6
6
|
* List all exports enums and types
|
|
7
7
|
*/
|
|
8
|
-
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 };
|
|
8
|
+
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 };
|
|
@@ -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
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -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 @@
|
|
|
1
|
+
export {};
|
|
@@ -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/esm/types/course.js
CHANGED
|
@@ -27,6 +27,7 @@ export var SCCourseJoinStatusType;
|
|
|
27
27
|
SCCourseJoinStatusType["INVITED"] = "invited";
|
|
28
28
|
SCCourseJoinStatusType["MANAGER"] = "manager";
|
|
29
29
|
SCCourseJoinStatusType["CREATOR"] = "creator";
|
|
30
|
+
SCCourseJoinStatusType["PAYMENT_WAITING"] = "payment_waiting";
|
|
30
31
|
})(SCCourseJoinStatusType || (SCCourseJoinStatusType = {}));
|
|
31
32
|
/**
|
|
32
33
|
* SCCourseOrderingUsersType enum
|
package/lib/esm/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/esm/types/feature.js
CHANGED
|
@@ -41,9 +41,9 @@ export var SCFeatureName;
|
|
|
41
41
|
SCFeatureName["CUSTOMIZE_HEADLESS"] = "customize_headless";
|
|
42
42
|
SCFeatureName["SYSTEM_PAGES"] = "system_pages";
|
|
43
43
|
SCFeatureName["REACTION"] = "reaction";
|
|
44
|
-
SCFeatureName["PRIVATE_MESSAGING"] = "private_messaging";
|
|
45
44
|
SCFeatureName["GROUPING"] = "grouping";
|
|
46
45
|
SCFeatureName["EVENT"] = "event";
|
|
47
46
|
SCFeatureName["LIVE_STREAM"] = "live_stream";
|
|
47
|
+
SCFeatureName["PAYMENTS"] = "payments";
|
|
48
48
|
SCFeatureName["COURSE"] = "course";
|
|
49
49
|
})(SCFeatureName || (SCFeatureName = {}));
|
package/lib/esm/types/feed.d.ts
CHANGED
|
@@ -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
|
*/
|
|
@@ -206,6 +214,10 @@ 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;
|
|
209
221
|
}
|
|
210
222
|
/**
|
|
211
223
|
* Interface SCFeedDiscussionType.
|
|
@@ -235,7 +247,7 @@ export interface SCFeedPostType extends SCFeedObjectType {
|
|
|
235
247
|
* Interface SCFeedStatusType.
|
|
236
248
|
* Status Schema.
|
|
237
249
|
*/
|
|
238
|
-
export type SCFeedStatusType = SCFeedObjectType;
|
|
250
|
+
export declare type SCFeedStatusType = SCFeedObjectType;
|
|
239
251
|
/**
|
|
240
252
|
* SCFeedUnseenCountType interface
|
|
241
253
|
*/
|