@iblai/iblai-api 4.258.0-ai → 4.259.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.258.0-ai-plus',
113
+ VERSION: '4.259.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.258.0-ai-plus',
111
+ VERSION: '4.259.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.258.0-ai-plus',
117
+ VERSION: '4.259.0-ai-plus',
118
118
  WITH_CREDENTIALS: false,
119
119
  CREDENTIALS: 'include',
120
120
  TOKEN: undefined,
@@ -61,6 +61,10 @@ export type CreditAccountInfo = {
61
61
  * True if the user has a payment method on file (can use manual top-up and auto-recharge).
62
62
  */
63
63
  readonly has_payment_method: boolean;
64
+ /**
65
+ * True if the requesting user is the user that owns this credit account (account.user).
66
+ */
67
+ readonly is_owner: boolean;
64
68
  /**
65
69
  * Message explaining why credits are insufficient (only present when has_credits is False).
66
70
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@iblai/iblai-api",
3
- "version": "4.258.0-ai",
3
+ "version": "4.259.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.258.0-ai-plus
4
+ version: 4.259.0-ai-plus
5
5
  description: API for iblai
6
6
  paths:
7
7
  /access-check/{item_type}/{item_id}/:
@@ -84336,6 +84336,11 @@ components:
84336
84336
  readOnly: true
84337
84337
  description: True if the user has a payment method on file (can use manual
84338
84338
  top-up and auto-recharge).
84339
+ is_owner:
84340
+ type: boolean
84341
+ readOnly: true
84342
+ description: True if the requesting user is the user that owns this credit
84343
+ account (account.user).
84339
84344
  message:
84340
84345
  type: string
84341
84346
  readOnly: true
@@ -84353,6 +84358,7 @@ components:
84353
84358
  - free_trial
84354
84359
  - has_credits
84355
84360
  - has_payment_method
84361
+ - is_owner
84356
84362
  - message
84357
84363
  - platform_key
84358
84364
  - previous_plan
@@ -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.258.0-ai-plus',
24
+ VERSION: '4.259.0-ai-plus',
25
25
  WITH_CREDENTIALS: false,
26
26
  CREDENTIALS: 'include',
27
27
  TOKEN: undefined,
@@ -65,6 +65,10 @@ export type CreditAccountInfo = {
65
65
  * True if the user has a payment method on file (can use manual top-up and auto-recharge).
66
66
  */
67
67
  readonly has_payment_method: boolean;
68
+ /**
69
+ * True if the requesting user is the user that owns this credit account (account.user).
70
+ */
71
+ readonly is_owner: boolean;
68
72
  /**
69
73
  * Message explaining why credits are insufficient (only present when has_credits is False).
70
74
  */