@iblai/iblai-api 4.254.0-ai → 4.255.0-ai

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/dist/index.cjs.js CHANGED
@@ -110,7 +110,7 @@ class CancelablePromise {
110
110
 
111
111
  const OpenAPI = {
112
112
  BASE: 'https://base.manager.iblai.app',
113
- VERSION: '4.254.0-ai-plus',
113
+ VERSION: '4.255.0-ai-plus',
114
114
  WITH_CREDENTIALS: false,
115
115
  CREDENTIALS: 'include',
116
116
  TOKEN: undefined,
package/dist/index.esm.js CHANGED
@@ -108,7 +108,7 @@ class CancelablePromise {
108
108
 
109
109
  const OpenAPI = {
110
110
  BASE: 'https://base.manager.iblai.app',
111
- VERSION: '4.254.0-ai-plus',
111
+ VERSION: '4.255.0-ai-plus',
112
112
  WITH_CREDENTIALS: false,
113
113
  CREDENTIALS: 'include',
114
114
  TOKEN: undefined,
package/dist/index.umd.js CHANGED
@@ -114,7 +114,7 @@
114
114
 
115
115
  const OpenAPI = {
116
116
  BASE: 'https://base.manager.iblai.app',
117
- VERSION: '4.254.0-ai-plus',
117
+ VERSION: '4.255.0-ai-plus',
118
118
  WITH_CREDENTIALS: false,
119
119
  CREDENTIALS: 'include',
120
120
  TOKEN: undefined,
@@ -35,4 +35,8 @@ export type Platform = {
35
35
  * If True, billing status/credit checks are enforced for this platform's users
36
36
  */
37
37
  readonly show_paywall: boolean;
38
+ /**
39
+ * If True, this platform can resell via Stripe Connect (act as a merchant of record). Separate from show_paywall, which controls billing/credits enforcement.
40
+ */
41
+ readonly enable_monetization: boolean;
38
42
  };
@@ -17,4 +17,5 @@ export type UserPlatformLink = {
17
17
  active?: boolean;
18
18
  readonly is_enterprise: string;
19
19
  readonly show_paywall: boolean;
20
+ readonly enable_monetization: boolean;
20
21
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@iblai/iblai-api",
3
- "version": "4.254.0-ai",
3
+ "version": "4.255.0-ai",
4
4
  "main": "dist/index.cjs.js",
5
5
  "module": "dist/index.esm.js",
6
6
  "type": "module",
package/sdk_schema.yml CHANGED
@@ -1,7 +1,7 @@
1
1
  openapi: 3.0.3
2
2
  info:
3
3
  title: ibl-data-manager
4
- version: 4.254.0-ai-plus
4
+ version: 4.255.0-ai-plus
5
5
  description: API for iblai
6
6
  paths:
7
7
  /access-check/{item_type}/{item_id}/:
@@ -98868,7 +98868,14 @@ components:
98868
98868
  readOnly: true
98869
98869
  description: If True, billing status/credit checks are enforced for this
98870
98870
  platform's users
98871
+ enable_monetization:
98872
+ type: boolean
98873
+ readOnly: true
98874
+ description: If True, this platform can resell via Stripe Connect (act as
98875
+ a merchant of record). Separate from show_paywall, which controls billing/credits
98876
+ enforcement.
98871
98877
  required:
98878
+ - enable_monetization
98872
98879
  - is_enterprise
98873
98880
  - key
98874
98881
  - show_paywall
@@ -107240,9 +107247,13 @@ components:
107240
107247
  show_paywall:
107241
107248
  type: boolean
107242
107249
  readOnly: true
107250
+ enable_monetization:
107251
+ type: boolean
107252
+ readOnly: true
107243
107253
  required:
107244
107254
  - cms_url
107245
107255
  - email
107256
+ - enable_monetization
107246
107257
  - is_enterprise
107247
107258
  - key
107248
107259
  - lms_url
@@ -21,7 +21,7 @@ export type OpenAPIConfig = {
21
21
 
22
22
  export const OpenAPI: OpenAPIConfig = {
23
23
  BASE: 'https://base.manager.iblai.app',
24
- VERSION: '4.254.0-ai-plus',
24
+ VERSION: '4.255.0-ai-plus',
25
25
  WITH_CREDENTIALS: false,
26
26
  CREDENTIALS: 'include',
27
27
  TOKEN: undefined,
@@ -39,5 +39,9 @@ export type Platform = {
39
39
  * If True, billing status/credit checks are enforced for this platform's users
40
40
  */
41
41
  readonly show_paywall: boolean;
42
+ /**
43
+ * If True, this platform can resell via Stripe Connect (act as a merchant of record). Separate from show_paywall, which controls billing/credits enforcement.
44
+ */
45
+ readonly enable_monetization: boolean;
42
46
  };
43
47
 
@@ -21,5 +21,6 @@ export type UserPlatformLink = {
21
21
  active?: boolean;
22
22
  readonly is_enterprise: string;
23
23
  readonly show_paywall: boolean;
24
+ readonly enable_monetization: boolean;
24
25
  };
25
26