@iblai/iblai-api 4.258.0-core → 4.259.0-core
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
package/dist/index.esm.js
CHANGED
package/dist/index.umd.js
CHANGED
|
@@ -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
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.
|
|
4
|
+
version: 4.259.0-core
|
|
5
5
|
description: API for iblai
|
|
6
6
|
paths:
|
|
7
7
|
/access-check/{item_type}/{item_id}/:
|
|
@@ -40266,6 +40266,11 @@ components:
|
|
|
40266
40266
|
readOnly: true
|
|
40267
40267
|
description: True if the user has a payment method on file (can use manual
|
|
40268
40268
|
top-up and auto-recharge).
|
|
40269
|
+
is_owner:
|
|
40270
|
+
type: boolean
|
|
40271
|
+
readOnly: true
|
|
40272
|
+
description: True if the requesting user is the user that owns this credit
|
|
40273
|
+
account (account.user).
|
|
40269
40274
|
message:
|
|
40270
40275
|
type: string
|
|
40271
40276
|
readOnly: true
|
|
@@ -40283,6 +40288,7 @@ components:
|
|
|
40283
40288
|
- free_trial
|
|
40284
40289
|
- has_credits
|
|
40285
40290
|
- has_payment_method
|
|
40291
|
+
- is_owner
|
|
40286
40292
|
- message
|
|
40287
40293
|
- platform_key
|
|
40288
40294
|
- previous_plan
|
package/src/core/OpenAPI.ts
CHANGED
|
@@ -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
|
*/
|