@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.
Files changed (62) hide show
  1. package/lib/cjs/index.d.ts +4 -4
  2. package/lib/cjs/index.js +10 -1
  3. package/lib/cjs/types/billing.d.ts +86 -0
  4. package/lib/cjs/types/billing.js +2 -0
  5. package/lib/cjs/types/category.d.ts +2 -1
  6. package/lib/cjs/types/community.d.ts +19 -0
  7. package/lib/cjs/types/community.js +2 -0
  8. package/lib/cjs/types/contactUs.d.ts +25 -0
  9. package/lib/cjs/types/contactUs.js +2 -0
  10. package/lib/cjs/types/course.d.ts +8 -2
  11. package/lib/cjs/types/course.js +1 -0
  12. package/lib/cjs/types/customAdv.d.ts +2 -1
  13. package/lib/cjs/types/customAdv.js +1 -0
  14. package/lib/cjs/types/customMenu.d.ts +8 -0
  15. package/lib/cjs/types/customMenu.js +10 -0
  16. package/lib/cjs/types/device.d.ts +1 -1
  17. package/lib/cjs/types/event.d.ts +2 -1
  18. package/lib/cjs/types/feature.d.ts +1 -1
  19. package/lib/cjs/types/feature.js +1 -1
  20. package/lib/cjs/types/feed.d.ts +21 -5
  21. package/lib/cjs/types/group.d.ts +4 -2
  22. package/lib/cjs/types/group.js +1 -0
  23. package/lib/cjs/types/index.d.ts +7 -3
  24. package/lib/cjs/types/index.js +13 -2
  25. package/lib/cjs/types/media.d.ts +56 -2
  26. package/lib/cjs/types/media.js +51 -0
  27. package/lib/cjs/types/payment.d.ts +226 -0
  28. package/lib/cjs/types/payment.js +42 -0
  29. package/lib/cjs/types/preference.d.ts +19 -1
  30. package/lib/cjs/types/preference.js +18 -0
  31. package/lib/esm/index.d.ts +4 -4
  32. package/lib/esm/index.js +2 -2
  33. package/lib/esm/types/billing.d.ts +86 -0
  34. package/lib/esm/types/billing.js +1 -0
  35. package/lib/esm/types/category.d.ts +2 -1
  36. package/lib/esm/types/community.d.ts +19 -0
  37. package/lib/esm/types/community.js +1 -0
  38. package/lib/esm/types/contactUs.d.ts +25 -0
  39. package/lib/esm/types/contactUs.js +1 -0
  40. package/lib/esm/types/course.d.ts +8 -2
  41. package/lib/esm/types/course.js +1 -0
  42. package/lib/esm/types/customAdv.d.ts +2 -1
  43. package/lib/esm/types/customAdv.js +1 -0
  44. package/lib/esm/types/customMenu.d.ts +8 -0
  45. package/lib/esm/types/customMenu.js +9 -1
  46. package/lib/esm/types/device.d.ts +1 -1
  47. package/lib/esm/types/event.d.ts +2 -1
  48. package/lib/esm/types/feature.d.ts +1 -1
  49. package/lib/esm/types/feature.js +1 -1
  50. package/lib/esm/types/feed.d.ts +21 -5
  51. package/lib/esm/types/group.d.ts +4 -2
  52. package/lib/esm/types/group.js +1 -0
  53. package/lib/esm/types/index.d.ts +7 -3
  54. package/lib/esm/types/index.js +4 -1
  55. package/lib/esm/types/media.d.ts +56 -2
  56. package/lib/esm/types/media.js +50 -1
  57. package/lib/esm/types/payment.d.ts +226 -0
  58. package/lib/esm/types/payment.js +39 -0
  59. package/lib/esm/types/preference.d.ts +19 -1
  60. package/lib/esm/types/preference.js +18 -0
  61. package/lib/umd/types.js +1 -1
  62. package/package.json +2 -2
@@ -1,4 +1,46 @@
1
1
  import { SCEmbedType } from './embed';
2
+ /**
3
+ * SCMimeTypes
4
+ */
5
+ export declare enum SCMimeTypes {
6
+ JPEG = "image/jpeg",
7
+ PNG = "image/png",
8
+ GIF = "image/gif",
9
+ WEBP = "image/webp",
10
+ PLAIN_TEXT = "text/plain",
11
+ CSV = "text/csv",
12
+ PDF = "application/pdf",
13
+ DOC = "application/msword",
14
+ DOCX = "application/vnd.openxmlformats-officedocument.wordprocessingml.document",
15
+ DOTX = "application/vnd.openxmlformats-officedocument.wordprocessingml.template",
16
+ DOCM = "application/vnd.ms-word.document.macroEnabled.12",
17
+ DOTM = "application/vnd.ms-word.template.macroEnabled.12",
18
+ XLS = "application/vnd.ms-excel",
19
+ XLSX = "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
20
+ XLTX = "application/vnd.openxmlformats-officedocument.spreadsheetml.template",
21
+ XLSM = "application/vnd.ms-excel.sheet.macroEnabled.12",
22
+ XLTM = "application/vnd.ms-excel.template.macroEnabled.12",
23
+ XLAM = "application/vnd.ms-excel.addin.macroEnabled.12",
24
+ XLSB = "application/vnd.ms-excel.sheet.binary.macroEnabled.12",
25
+ PPT = "application/vnd.ms-powerpoint",
26
+ PPTX = "application/vnd.openxmlformats-officedocument.presentationml.presentation",
27
+ POTX = "application/vnd.openxmlformats-officedocument.presentationml.template",
28
+ PPSX = "application/vnd.openxmlformats-officedocument.presentationml.slideshow",
29
+ PPAM = "application/vnd.ms-powerpoint.addin.macroEnabled.12",
30
+ PPTM = "application/vnd.ms-powerpoint.presentation.macroEnabled.12",
31
+ POTM = "application/vnd.ms-powerpoint.template.macroEnabled.12",
32
+ PPSM = "application/vnd.ms-powerpoint.slideshow.macroEnabled.12",
33
+ ODT = "application/vnd.oasis.opendocument.text",
34
+ ODS = "application/vnd.oasis.opendocument.spreadsheet",
35
+ ODP = "application/vnd.oasis.opendocument.presentation",
36
+ ODG = "application/vnd.oasis.opendocument.graphics",
37
+ ODB = "application/vnd.oasis.opendocument.database",
38
+ ODF = "application/vnd.oasis.opendocument.formula",
39
+ OTT = "application/vnd.oasis.opendocument.text-template",
40
+ OTS = "application/vnd.oasis.opendocument.spreadsheet-template",
41
+ OTP = "application/vnd.oasis.opendocument.presentation-template",
42
+ OTG = "application/vnd.oasis.opendocument.graphics-template"
43
+ }
2
44
  /**
3
45
  * Interface SCMediaType.
4
46
  * Media Schema.
@@ -40,14 +82,18 @@ export interface SCMediaType {
40
82
  * Media image height
41
83
  */
42
84
  image_height?: number;
85
+ /**
86
+ * Mimetype image
87
+ */
88
+ image_mimetype?: SCMimeTypes;
43
89
  /**
44
90
  * Media image thumbnail
45
91
  */
46
92
  image_thumbnail?: {
47
- color?: string | null;
93
+ url: string;
48
94
  width: number;
49
95
  height: number;
50
- url: string;
96
+ color?: string | null;
51
97
  };
52
98
  /**
53
99
  * Order in the list of medias
@@ -57,6 +103,14 @@ export interface SCMediaType {
57
103
  * Embed associated
58
104
  */
59
105
  embed?: SCEmbedType;
106
+ /**
107
+ * File size
108
+ */
109
+ size?: number | null;
110
+ /**
111
+ * Mimetype
112
+ */
113
+ mimetype?: SCMimeTypes;
60
114
  }
61
115
  /**
62
116
  * SCChunkMediaType interface
@@ -1,2 +1,53 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SCMimeTypes = void 0;
4
+ /**
5
+ * SCMimeTypes
6
+ */
7
+ var SCMimeTypes;
8
+ (function (SCMimeTypes) {
9
+ // Images
10
+ SCMimeTypes["JPEG"] = "image/jpeg";
11
+ SCMimeTypes["PNG"] = "image/png";
12
+ SCMimeTypes["GIF"] = "image/gif";
13
+ SCMimeTypes["WEBP"] = "image/webp";
14
+ // TEXTS
15
+ SCMimeTypes["PLAIN_TEXT"] = "text/plain";
16
+ SCMimeTypes["CSV"] = "text/csv";
17
+ // PDF
18
+ SCMimeTypes["PDF"] = "application/pdf";
19
+ // Microsoft Word
20
+ SCMimeTypes["DOC"] = "application/msword";
21
+ SCMimeTypes["DOCX"] = "application/vnd.openxmlformats-officedocument.wordprocessingml.document";
22
+ SCMimeTypes["DOTX"] = "application/vnd.openxmlformats-officedocument.wordprocessingml.template";
23
+ SCMimeTypes["DOCM"] = "application/vnd.ms-word.document.macroEnabled.12";
24
+ SCMimeTypes["DOTM"] = "application/vnd.ms-word.template.macroEnabled.12";
25
+ // Microsoft Excel
26
+ SCMimeTypes["XLS"] = "application/vnd.ms-excel";
27
+ SCMimeTypes["XLSX"] = "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet";
28
+ SCMimeTypes["XLTX"] = "application/vnd.openxmlformats-officedocument.spreadsheetml.template";
29
+ SCMimeTypes["XLSM"] = "application/vnd.ms-excel.sheet.macroEnabled.12";
30
+ SCMimeTypes["XLTM"] = "application/vnd.ms-excel.template.macroEnabled.12";
31
+ SCMimeTypes["XLAM"] = "application/vnd.ms-excel.addin.macroEnabled.12";
32
+ SCMimeTypes["XLSB"] = "application/vnd.ms-excel.sheet.binary.macroEnabled.12";
33
+ // Microsoft PowerPoint
34
+ SCMimeTypes["PPT"] = "application/vnd.ms-powerpoint";
35
+ SCMimeTypes["PPTX"] = "application/vnd.openxmlformats-officedocument.presentationml.presentation";
36
+ SCMimeTypes["POTX"] = "application/vnd.openxmlformats-officedocument.presentationml.template";
37
+ SCMimeTypes["PPSX"] = "application/vnd.openxmlformats-officedocument.presentationml.slideshow";
38
+ SCMimeTypes["PPAM"] = "application/vnd.ms-powerpoint.addin.macroEnabled.12";
39
+ SCMimeTypes["PPTM"] = "application/vnd.ms-powerpoint.presentation.macroEnabled.12";
40
+ SCMimeTypes["POTM"] = "application/vnd.ms-powerpoint.template.macroEnabled.12";
41
+ SCMimeTypes["PPSM"] = "application/vnd.ms-powerpoint.slideshow.macroEnabled.12";
42
+ // OpenDocument
43
+ SCMimeTypes["ODT"] = "application/vnd.oasis.opendocument.text";
44
+ SCMimeTypes["ODS"] = "application/vnd.oasis.opendocument.spreadsheet";
45
+ SCMimeTypes["ODP"] = "application/vnd.oasis.opendocument.presentation";
46
+ SCMimeTypes["ODG"] = "application/vnd.oasis.opendocument.graphics";
47
+ SCMimeTypes["ODB"] = "application/vnd.oasis.opendocument.database";
48
+ SCMimeTypes["ODF"] = "application/vnd.oasis.opendocument.formula";
49
+ SCMimeTypes["OTT"] = "application/vnd.oasis.opendocument.text-template";
50
+ SCMimeTypes["OTS"] = "application/vnd.oasis.opendocument.spreadsheet-template";
51
+ SCMimeTypes["OTP"] = "application/vnd.oasis.opendocument.presentation-template";
52
+ SCMimeTypes["OTG"] = "application/vnd.oasis.opendocument.graphics-template";
53
+ })(SCMimeTypes = exports.SCMimeTypes || (exports.SCMimeTypes = {}));
@@ -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,25 @@ 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
+ VIDEO_PLAY_TRACKING_DELAY_SECONDS = "video_play_tracking_delay_seconds",
166
+ SCHEDULED_POSTS_ENABLED = "scheduled_posts_enabled",
167
+ POST_CATEGORY_REQUIRED_ENABLED = "post_category_required_enabled",
168
+ POST_ADDRESSING_REQUIRED_ENABLED = "post_addressing_required_enabled",
169
+ POST_USER_ADDRESSING_ENABLED = "post_user_addressing_enabled",
170
+ CONTACT_API_ENABLED = "contact_api_enabled",
171
+ ACCEPTED_MEDIA_MIMETYPES = "accepted_media_mimetypes"
154
172
  }
155
173
  /**
156
174
  * 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,23 @@ 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["VIDEO_PLAY_TRACKING_DELAY_SECONDS"] = "video_play_tracking_delay_seconds";
171
+ SCPreferenceName["SCHEDULED_POSTS_ENABLED"] = "scheduled_posts_enabled";
172
+ SCPreferenceName["POST_CATEGORY_REQUIRED_ENABLED"] = "post_category_required_enabled";
173
+ SCPreferenceName["POST_ADDRESSING_REQUIRED_ENABLED"] = "post_addressing_required_enabled";
174
+ SCPreferenceName["POST_USER_ADDRESSING_ENABLED"] = "post_user_addressing_enabled";
175
+ SCPreferenceName["CONTACT_API_ENABLED"] = "contact_api_enabled";
176
+ SCPreferenceName["ACCEPTED_MEDIA_MIMETYPES"] = "accepted_media_mimetypes";
159
177
  })(SCPreferenceName = exports.SCPreferenceName || (exports.SCPreferenceName = {}));
@@ -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/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, SCCustomMenu, SCMimeTypes } 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, SCCustomMenu, 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
+ }
@@ -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
  */