@robosystems/client 1.4.0 → 1.4.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@robosystems/client",
3
- "version": "1.4.0",
3
+ "version": "1.4.1",
4
4
  "description": "TypeScript client library for RoboSystems Financial Knowledge Graph API",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
@@ -7032,7 +7032,7 @@ export type InstanceUsage = {
7032
7032
  /**
7033
7033
  * Usage Percentage
7034
7034
  *
7035
- * Storage usage as percentage of limit (e.g. 105.2)
7035
+ * Storage usage as percentage of limit (e.g. 105.2). Derived from the enforced figure — durable bytes only, excluding `transient` build artifacts — so it can read lower than total_storage_gb/limit_gb while a blue-green rebuild is in flight.
7036
7036
  */
7037
7037
  usage_percentage?: number | null;
7038
7038
  /**
@@ -7050,7 +7050,7 @@ export type InstanceUsage = {
7050
7050
  /**
7051
7051
  * Items
7052
7052
  *
7053
- * Itemized storage by type — graph, memory, subgraph, vectors, staging. Sums to total_storage_gb.
7053
+ * Itemized storage by type — graph, memory, subgraph, vectors, staging, transient, orphan. Sums to total_storage_gb. Only `subgraph` items correspond to live subgraphs, so this is the type to sum when reconciling against the subgraph list.
7054
7054
  */
7055
7055
  items?: Array<StorageItem>;
7056
7056
  };
@@ -8018,6 +8018,12 @@ export type ListSubgraphsResponse = {
8018
8018
  * Maximum allowed subgraphs for this tier (None = unlimited)
8019
8019
  */
8020
8020
  max_subgraphs?: number | null;
8021
+ /**
8022
+ * Total Size Bytes
8023
+ *
8024
+ * Combined on-disk footprint of all subgraphs in bytes
8025
+ */
8026
+ total_size_bytes?: number | null;
8021
8027
  /**
8022
8028
  * Total Size Mb
8023
8029
  *
@@ -13680,7 +13686,7 @@ export type StorageItem = {
13680
13686
  /**
13681
13687
  * Type
13682
13688
  *
13683
- * One of: graph, memory, subgraph, vectors, staging
13689
+ * One of: graph, memory, subgraph, vectors, staging, transient (blue-green build artifact), orphan (a `{parent}_*` database, vector index, or staging file with no row in the graph registry — reclaimable leftover of a deleted subgraph)
13684
13690
  */
13685
13691
  type: string;
13686
13692
  /**
@@ -13932,6 +13938,12 @@ export type SubgraphResponse = {
13932
13938
  * When the subgraph was last updated
13933
13939
  */
13934
13940
  updated_at: string;
13941
+ /**
13942
+ * Size Bytes
13943
+ *
13944
+ * On-disk footprint in bytes — the database, its write-ahead log, and its vector index. Prefer this over size_mb at subgraph scale.
13945
+ */
13946
+ size_bytes?: number | null;
13935
13947
  /**
13936
13948
  * Size Mb
13937
13949
  *
@@ -13999,10 +14011,16 @@ export type SubgraphSummary = {
13999
14011
  * Current status
14000
14012
  */
14001
14013
  status: string;
14014
+ /**
14015
+ * Size Bytes
14016
+ *
14017
+ * On-disk footprint in bytes — the database, its write-ahead log, and its vector index. Prefer this over size_mb at subgraph scale.
14018
+ */
14019
+ size_bytes?: number | null;
14002
14020
  /**
14003
14021
  * Size Mb
14004
14022
  *
14005
- * Size in megabytes
14023
+ * Same footprint in megabytes. Derived from size_bytes; kept for callers that render MB directly.
14006
14024
  */
14007
14025
  size_mb?: number | null;
14008
14026
  /**
package/sdk/types.gen.ts CHANGED
@@ -7204,7 +7204,7 @@ export type InstanceUsage = {
7204
7204
  /**
7205
7205
  * Usage Percentage
7206
7206
  *
7207
- * Storage usage as percentage of limit (e.g. 105.2)
7207
+ * Storage usage as percentage of limit (e.g. 105.2). Derived from the enforced figure — durable bytes only, excluding `transient` build artifacts — so it can read lower than total_storage_gb/limit_gb while a blue-green rebuild is in flight.
7208
7208
  */
7209
7209
  usage_percentage?: number | null;
7210
7210
  /**
@@ -7222,7 +7222,7 @@ export type InstanceUsage = {
7222
7222
  /**
7223
7223
  * Items
7224
7224
  *
7225
- * Itemized storage by type — graph, memory, subgraph, vectors, staging. Sums to total_storage_gb.
7225
+ * Itemized storage by type — graph, memory, subgraph, vectors, staging, transient, orphan. Sums to total_storage_gb. Only `subgraph` items correspond to live subgraphs, so this is the type to sum when reconciling against the subgraph list.
7226
7226
  */
7227
7227
  items?: Array<StorageItem>;
7228
7228
  };
@@ -8208,6 +8208,12 @@ export type ListSubgraphsResponse = {
8208
8208
  * Maximum allowed subgraphs for this tier (None = unlimited)
8209
8209
  */
8210
8210
  max_subgraphs?: number | null;
8211
+ /**
8212
+ * Total Size Bytes
8213
+ *
8214
+ * Combined on-disk footprint of all subgraphs in bytes
8215
+ */
8216
+ total_size_bytes?: number | null;
8211
8217
  /**
8212
8218
  * Total Size Mb
8213
8219
  *
@@ -14020,7 +14026,7 @@ export type StorageItem = {
14020
14026
  /**
14021
14027
  * Type
14022
14028
  *
14023
- * One of: graph, memory, subgraph, vectors, staging
14029
+ * One of: graph, memory, subgraph, vectors, staging, transient (blue-green build artifact), orphan (a `{parent}_*` database, vector index, or staging file with no row in the graph registry — reclaimable leftover of a deleted subgraph)
14024
14030
  */
14025
14031
  type: string;
14026
14032
  /**
@@ -14278,6 +14284,12 @@ export type SubgraphResponse = {
14278
14284
  * When the subgraph was last updated
14279
14285
  */
14280
14286
  updated_at: string;
14287
+ /**
14288
+ * Size Bytes
14289
+ *
14290
+ * On-disk footprint in bytes — the database, its write-ahead log, and its vector index. Prefer this over size_mb at subgraph scale.
14291
+ */
14292
+ size_bytes?: number | null;
14281
14293
  /**
14282
14294
  * Size Mb
14283
14295
  *
@@ -14346,10 +14358,16 @@ export type SubgraphSummary = {
14346
14358
  * Current status
14347
14359
  */
14348
14360
  status: string;
14361
+ /**
14362
+ * Size Bytes
14363
+ *
14364
+ * On-disk footprint in bytes — the database, its write-ahead log, and its vector index. Prefer this over size_mb at subgraph scale.
14365
+ */
14366
+ size_bytes?: number | null;
14349
14367
  /**
14350
14368
  * Size Mb
14351
14369
  *
14352
- * Size in megabytes
14370
+ * Same footprint in megabytes. Derived from size_bytes; kept for callers that render MB directly.
14353
14371
  */
14354
14372
  size_mb?: number | null;
14355
14373
  /**
package/types.gen.d.ts CHANGED
@@ -7032,7 +7032,7 @@ export type InstanceUsage = {
7032
7032
  /**
7033
7033
  * Usage Percentage
7034
7034
  *
7035
- * Storage usage as percentage of limit (e.g. 105.2)
7035
+ * Storage usage as percentage of limit (e.g. 105.2). Derived from the enforced figure — durable bytes only, excluding `transient` build artifacts — so it can read lower than total_storage_gb/limit_gb while a blue-green rebuild is in flight.
7036
7036
  */
7037
7037
  usage_percentage?: number | null;
7038
7038
  /**
@@ -7050,7 +7050,7 @@ export type InstanceUsage = {
7050
7050
  /**
7051
7051
  * Items
7052
7052
  *
7053
- * Itemized storage by type — graph, memory, subgraph, vectors, staging. Sums to total_storage_gb.
7053
+ * Itemized storage by type — graph, memory, subgraph, vectors, staging, transient, orphan. Sums to total_storage_gb. Only `subgraph` items correspond to live subgraphs, so this is the type to sum when reconciling against the subgraph list.
7054
7054
  */
7055
7055
  items?: Array<StorageItem>;
7056
7056
  };
@@ -8018,6 +8018,12 @@ export type ListSubgraphsResponse = {
8018
8018
  * Maximum allowed subgraphs for this tier (None = unlimited)
8019
8019
  */
8020
8020
  max_subgraphs?: number | null;
8021
+ /**
8022
+ * Total Size Bytes
8023
+ *
8024
+ * Combined on-disk footprint of all subgraphs in bytes
8025
+ */
8026
+ total_size_bytes?: number | null;
8021
8027
  /**
8022
8028
  * Total Size Mb
8023
8029
  *
@@ -13680,7 +13686,7 @@ export type StorageItem = {
13680
13686
  /**
13681
13687
  * Type
13682
13688
  *
13683
- * One of: graph, memory, subgraph, vectors, staging
13689
+ * One of: graph, memory, subgraph, vectors, staging, transient (blue-green build artifact), orphan (a `{parent}_*` database, vector index, or staging file with no row in the graph registry — reclaimable leftover of a deleted subgraph)
13684
13690
  */
13685
13691
  type: string;
13686
13692
  /**
@@ -13932,6 +13938,12 @@ export type SubgraphResponse = {
13932
13938
  * When the subgraph was last updated
13933
13939
  */
13934
13940
  updated_at: string;
13941
+ /**
13942
+ * Size Bytes
13943
+ *
13944
+ * On-disk footprint in bytes — the database, its write-ahead log, and its vector index. Prefer this over size_mb at subgraph scale.
13945
+ */
13946
+ size_bytes?: number | null;
13935
13947
  /**
13936
13948
  * Size Mb
13937
13949
  *
@@ -13999,10 +14011,16 @@ export type SubgraphSummary = {
13999
14011
  * Current status
14000
14012
  */
14001
14013
  status: string;
14014
+ /**
14015
+ * Size Bytes
14016
+ *
14017
+ * On-disk footprint in bytes — the database, its write-ahead log, and its vector index. Prefer this over size_mb at subgraph scale.
14018
+ */
14019
+ size_bytes?: number | null;
14002
14020
  /**
14003
14021
  * Size Mb
14004
14022
  *
14005
- * Size in megabytes
14023
+ * Same footprint in megabytes. Derived from size_bytes; kept for callers that render MB directly.
14006
14024
  */
14007
14025
  size_mb?: number | null;
14008
14026
  /**
package/types.gen.ts CHANGED
@@ -7204,7 +7204,7 @@ export type InstanceUsage = {
7204
7204
  /**
7205
7205
  * Usage Percentage
7206
7206
  *
7207
- * Storage usage as percentage of limit (e.g. 105.2)
7207
+ * Storage usage as percentage of limit (e.g. 105.2). Derived from the enforced figure — durable bytes only, excluding `transient` build artifacts — so it can read lower than total_storage_gb/limit_gb while a blue-green rebuild is in flight.
7208
7208
  */
7209
7209
  usage_percentage?: number | null;
7210
7210
  /**
@@ -7222,7 +7222,7 @@ export type InstanceUsage = {
7222
7222
  /**
7223
7223
  * Items
7224
7224
  *
7225
- * Itemized storage by type — graph, memory, subgraph, vectors, staging. Sums to total_storage_gb.
7225
+ * Itemized storage by type — graph, memory, subgraph, vectors, staging, transient, orphan. Sums to total_storage_gb. Only `subgraph` items correspond to live subgraphs, so this is the type to sum when reconciling against the subgraph list.
7226
7226
  */
7227
7227
  items?: Array<StorageItem>;
7228
7228
  };
@@ -8208,6 +8208,12 @@ export type ListSubgraphsResponse = {
8208
8208
  * Maximum allowed subgraphs for this tier (None = unlimited)
8209
8209
  */
8210
8210
  max_subgraphs?: number | null;
8211
+ /**
8212
+ * Total Size Bytes
8213
+ *
8214
+ * Combined on-disk footprint of all subgraphs in bytes
8215
+ */
8216
+ total_size_bytes?: number | null;
8211
8217
  /**
8212
8218
  * Total Size Mb
8213
8219
  *
@@ -14020,7 +14026,7 @@ export type StorageItem = {
14020
14026
  /**
14021
14027
  * Type
14022
14028
  *
14023
- * One of: graph, memory, subgraph, vectors, staging
14029
+ * One of: graph, memory, subgraph, vectors, staging, transient (blue-green build artifact), orphan (a `{parent}_*` database, vector index, or staging file with no row in the graph registry — reclaimable leftover of a deleted subgraph)
14024
14030
  */
14025
14031
  type: string;
14026
14032
  /**
@@ -14278,6 +14284,12 @@ export type SubgraphResponse = {
14278
14284
  * When the subgraph was last updated
14279
14285
  */
14280
14286
  updated_at: string;
14287
+ /**
14288
+ * Size Bytes
14289
+ *
14290
+ * On-disk footprint in bytes — the database, its write-ahead log, and its vector index. Prefer this over size_mb at subgraph scale.
14291
+ */
14292
+ size_bytes?: number | null;
14281
14293
  /**
14282
14294
  * Size Mb
14283
14295
  *
@@ -14346,10 +14358,16 @@ export type SubgraphSummary = {
14346
14358
  * Current status
14347
14359
  */
14348
14360
  status: string;
14361
+ /**
14362
+ * Size Bytes
14363
+ *
14364
+ * On-disk footprint in bytes — the database, its write-ahead log, and its vector index. Prefer this over size_mb at subgraph scale.
14365
+ */
14366
+ size_bytes?: number | null;
14349
14367
  /**
14350
14368
  * Size Mb
14351
14369
  *
14352
- * Size in megabytes
14370
+ * Same footprint in megabytes. Derived from size_bytes; kept for callers that render MB directly.
14353
14371
  */
14354
14372
  size_mb?: number | null;
14355
14373
  /**