@robosystems/client 0.2.44 → 0.2.46

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/types.gen.ts CHANGED
@@ -1417,33 +1417,9 @@ export type ConnectionResponse = {
1417
1417
  /**
1418
1418
  * ContentLimits
1419
1419
  *
1420
- * Graph content limits (nodes, relationships, rows).
1420
+ * Per-operation materialization limits.
1421
1421
  */
1422
1422
  export type ContentLimits = {
1423
- /**
1424
- * Max Nodes
1425
- *
1426
- * Maximum nodes allowed
1427
- */
1428
- max_nodes: number;
1429
- /**
1430
- * Current Nodes
1431
- *
1432
- * Current node count
1433
- */
1434
- current_nodes?: number | null;
1435
- /**
1436
- * Max Relationships
1437
- *
1438
- * Maximum relationships allowed
1439
- */
1440
- max_relationships: number;
1441
- /**
1442
- * Current Relationships
1443
- *
1444
- * Current relationship count
1445
- */
1446
- current_relationships?: number | null;
1447
1423
  /**
1448
1424
  * Max Rows Per Copy
1449
1425
  *
@@ -1462,12 +1438,6 @@ export type ContentLimits = {
1462
1438
  * Rows per materialization chunk
1463
1439
  */
1464
1440
  chunk_size_rows: number;
1465
- /**
1466
- * Approaching Limits
1467
- *
1468
- * List of limits being approached (>80%)
1469
- */
1470
- approaching_limits?: Array<string>;
1471
1441
  };
1472
1442
 
1473
1443
  /**
@@ -2498,6 +2468,32 @@ export type DatabaseInfoResponse = {
2498
2468
  last_backup_date?: string | null;
2499
2469
  };
2500
2470
 
2471
+ /**
2472
+ * DatabaseStorageEntry
2473
+ *
2474
+ * Storage for a single database on the instance.
2475
+ */
2476
+ export type DatabaseStorageEntry = {
2477
+ /**
2478
+ * Graph Id
2479
+ *
2480
+ * Database identifier
2481
+ */
2482
+ graph_id: string;
2483
+ /**
2484
+ * Is Parent
2485
+ *
2486
+ * Whether this is the parent graph
2487
+ */
2488
+ is_parent?: boolean;
2489
+ /**
2490
+ * Size Mb
2491
+ *
2492
+ * Database size in MB
2493
+ */
2494
+ size_mb?: number | null;
2495
+ };
2496
+
2501
2497
  /**
2502
2498
  * DeleteFileResponse
2503
2499
  */
@@ -3611,7 +3607,7 @@ export type GraphInfo = {
3611
3607
  /**
3612
3608
  * Status
3613
3609
  *
3614
- * Graph lifecycle status: queued, provisioning, active, suspended
3610
+ * Graph lifecycle status: active, suspended, deprovisioned
3615
3611
  */
3616
3612
  status?: string;
3617
3613
  };
@@ -3671,9 +3667,13 @@ export type GraphLimitsResponse = {
3671
3667
  */
3672
3668
  credits?: CreditLimits | null;
3673
3669
  /**
3674
- * Graph content limits (if applicable)
3670
+ * Per-operation materialization limits (if applicable)
3675
3671
  */
3676
3672
  content?: ContentLimits | null;
3673
+ /**
3674
+ * Aggregate instance storage usage (user graphs only)
3675
+ */
3676
+ instance?: InstanceUsage | null;
3677
3677
  };
3678
3678
 
3679
3679
  /**
@@ -3939,12 +3939,6 @@ export type GraphSubscriptionTier = {
3939
3939
  * Whether priority support is included
3940
3940
  */
3941
3941
  priority_support: boolean;
3942
- /**
3943
- * Max Queries Per Hour
3944
- *
3945
- * Maximum queries per hour
3946
- */
3947
- max_queries_per_hour?: number | null;
3948
3942
  /**
3949
3943
  * Max Subgraphs
3950
3944
  *
@@ -4442,6 +4436,53 @@ export type InitialEntityData = {
4442
4436
  ein?: string | null;
4443
4437
  };
4444
4438
 
4439
+ /**
4440
+ * InstanceUsage
4441
+ *
4442
+ * Aggregate storage usage across the dedicated instance.
4443
+ *
4444
+ * Covers the parent graph, all subgraphs, DuckDB staging, and
4445
+ * future LanceDB vector indexes.
4446
+ */
4447
+ export type InstanceUsage = {
4448
+ /**
4449
+ * Node Count
4450
+ *
4451
+ * Current node count (informational, no limit enforced)
4452
+ */
4453
+ node_count?: number | null;
4454
+ /**
4455
+ * Total Storage Gb
4456
+ *
4457
+ * Total storage used across all databases in GB
4458
+ */
4459
+ total_storage_gb?: number | null;
4460
+ /**
4461
+ * Limit Gb
4462
+ *
4463
+ * Soft storage limit for this tier in GB
4464
+ */
4465
+ limit_gb: number;
4466
+ /**
4467
+ * Usage Percentage
4468
+ *
4469
+ * Storage usage as percentage of limit (e.g. 105.2)
4470
+ */
4471
+ usage_percentage?: number | null;
4472
+ /**
4473
+ * Status
4474
+ *
4475
+ * Instance status: 'healthy' (<80%), 'approaching' (80-100%), 'over_limit' (>100%)
4476
+ */
4477
+ status: string;
4478
+ /**
4479
+ * Databases
4480
+ *
4481
+ * Per-database storage breakdown
4482
+ */
4483
+ databases?: Array<DatabaseStorageEntry>;
4484
+ };
4485
+
4445
4486
  /**
4446
4487
  * InviteMemberRequest
4447
4488
  *
@@ -7254,6 +7295,12 @@ export type SearchRequest = {
7254
7295
  * Filter filings on or before date (YYYY-MM-DD)
7255
7296
  */
7256
7297
  date_to?: string | null;
7298
+ /**
7299
+ * Semantic
7300
+ *
7301
+ * Enable hybrid semantic search (BM25 + KNN). Default is BM25-only for speed.
7302
+ */
7303
+ semantic?: boolean;
7257
7304
  /**
7258
7305
  * Size
7259
7306
  *
@@ -7546,50 +7593,6 @@ export type StatementResponse = {
7546
7593
  unmapped_count?: number;
7547
7594
  };
7548
7595
 
7549
- /**
7550
- * StorageLimitResponse
7551
- *
7552
- * Storage limit information response.
7553
- */
7554
- export type StorageLimitResponse = {
7555
- /**
7556
- * Graph Id
7557
- */
7558
- graph_id: string;
7559
- /**
7560
- * Current Storage Gb
7561
- */
7562
- current_storage_gb: number;
7563
- /**
7564
- * Effective Limit Gb
7565
- */
7566
- effective_limit_gb: number;
7567
- /**
7568
- * Usage Percentage
7569
- */
7570
- usage_percentage: number;
7571
- /**
7572
- * Within Limit
7573
- */
7574
- within_limit: boolean;
7575
- /**
7576
- * Approaching Limit
7577
- */
7578
- approaching_limit: boolean;
7579
- /**
7580
- * Needs Warning
7581
- */
7582
- needs_warning: boolean;
7583
- /**
7584
- * Has Override
7585
- */
7586
- has_override: boolean;
7587
- /**
7588
- * Recommendations
7589
- */
7590
- recommendations?: Array<string> | null;
7591
- };
7592
-
7593
7596
  /**
7594
7597
  * StorageLimits
7595
7598
  *
@@ -11203,7 +11206,7 @@ export type GetCreditSummaryData = {
11203
11206
  graph_id: string;
11204
11207
  };
11205
11208
  query?: never;
11206
- url: '/v1/graphs/{graph_id}/credits/summary';
11209
+ url: '/v1/graphs/{graph_id}/credits';
11207
11210
  };
11208
11211
 
11209
11212
  export type GetCreditSummaryErrors = {
@@ -11317,162 +11320,6 @@ export type ListCreditTransactionsResponses = {
11317
11320
 
11318
11321
  export type ListCreditTransactionsResponse = ListCreditTransactionsResponses[keyof ListCreditTransactionsResponses];
11319
11322
 
11320
- export type CheckCreditBalanceData = {
11321
- body?: never;
11322
- path: {
11323
- /**
11324
- * Graph Id
11325
- *
11326
- * Graph database identifier
11327
- */
11328
- graph_id: string;
11329
- };
11330
- query: {
11331
- /**
11332
- * Operation Type
11333
- *
11334
- * Type of operation to check
11335
- */
11336
- operation_type: string;
11337
- /**
11338
- * Base Cost
11339
- *
11340
- * Custom base cost (uses default if not provided)
11341
- */
11342
- base_cost?: number | string | null;
11343
- };
11344
- url: '/v1/graphs/{graph_id}/credits/balance/check';
11345
- };
11346
-
11347
- export type CheckCreditBalanceErrors = {
11348
- /**
11349
- * Access denied to graph
11350
- */
11351
- 403: ErrorResponse;
11352
- /**
11353
- * Credit pool not found
11354
- */
11355
- 404: ErrorResponse;
11356
- /**
11357
- * Validation Error
11358
- */
11359
- 422: HttpValidationError;
11360
- /**
11361
- * Credit check failed
11362
- */
11363
- 500: ErrorResponse;
11364
- };
11365
-
11366
- export type CheckCreditBalanceError = CheckCreditBalanceErrors[keyof CheckCreditBalanceErrors];
11367
-
11368
- export type CheckCreditBalanceResponses = {
11369
- /**
11370
- * Response Checkcreditbalance
11371
- *
11372
- * Credit check completed
11373
- */
11374
- 200: {
11375
- [key: string]: unknown;
11376
- };
11377
- };
11378
-
11379
- export type CheckCreditBalanceResponse = CheckCreditBalanceResponses[keyof CheckCreditBalanceResponses];
11380
-
11381
- export type GetStorageUsageData = {
11382
- body?: never;
11383
- path: {
11384
- /**
11385
- * Graph Id
11386
- *
11387
- * Graph database identifier
11388
- */
11389
- graph_id: string;
11390
- };
11391
- query?: {
11392
- /**
11393
- * Days
11394
- *
11395
- * Number of days of history to return
11396
- */
11397
- days?: number;
11398
- };
11399
- url: '/v1/graphs/{graph_id}/credits/storage/usage';
11400
- };
11401
-
11402
- export type GetStorageUsageErrors = {
11403
- /**
11404
- * Access denied to graph
11405
- */
11406
- 403: ErrorResponse;
11407
- /**
11408
- * Validation Error
11409
- */
11410
- 422: HttpValidationError;
11411
- /**
11412
- * Failed to retrieve storage usage
11413
- */
11414
- 500: ErrorResponse;
11415
- };
11416
-
11417
- export type GetStorageUsageError = GetStorageUsageErrors[keyof GetStorageUsageErrors];
11418
-
11419
- export type GetStorageUsageResponses = {
11420
- /**
11421
- * Response Getstorageusage
11422
- *
11423
- * Storage usage retrieved successfully
11424
- */
11425
- 200: {
11426
- [key: string]: unknown;
11427
- };
11428
- };
11429
-
11430
- export type GetStorageUsageResponse = GetStorageUsageResponses[keyof GetStorageUsageResponses];
11431
-
11432
- export type CheckStorageLimitsData = {
11433
- body?: never;
11434
- path: {
11435
- /**
11436
- * Graph Id
11437
- *
11438
- * Graph database identifier
11439
- */
11440
- graph_id: string;
11441
- };
11442
- query?: never;
11443
- url: '/v1/graphs/{graph_id}/credits/storage/limits';
11444
- };
11445
-
11446
- export type CheckStorageLimitsErrors = {
11447
- /**
11448
- * Access denied to graph
11449
- */
11450
- 403: ErrorResponse;
11451
- /**
11452
- * No credit pool found for graph
11453
- */
11454
- 404: ErrorResponse;
11455
- /**
11456
- * Validation Error
11457
- */
11458
- 422: HttpValidationError;
11459
- /**
11460
- * Failed to retrieve storage limits
11461
- */
11462
- 500: ErrorResponse;
11463
- };
11464
-
11465
- export type CheckStorageLimitsError = CheckStorageLimitsErrors[keyof CheckStorageLimitsErrors];
11466
-
11467
- export type CheckStorageLimitsResponses = {
11468
- /**
11469
- * Storage limit information retrieved successfully
11470
- */
11471
- 200: StorageLimitResponse;
11472
- };
11473
-
11474
- export type CheckStorageLimitsResponse = CheckStorageLimitsResponses[keyof CheckStorageLimitsResponses];
11475
-
11476
11323
  export type GetDatabaseHealthData = {
11477
11324
  body?: never;
11478
11325
  path: {
@@ -12336,7 +12183,7 @@ export type GetMaterializationStatusData = {
12336
12183
  graph_id: string;
12337
12184
  };
12338
12185
  query?: never;
12339
- url: '/v1/graphs/{graph_id}/materialize/status';
12186
+ url: '/v1/graphs/{graph_id}/materialize';
12340
12187
  };
12341
12188
 
12342
12189
  export type GetMaterializationStatusErrors = {