@robosystems/client 0.2.44 → 0.2.45

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.d.ts CHANGED
@@ -1374,33 +1374,9 @@ export type ConnectionResponse = {
1374
1374
  /**
1375
1375
  * ContentLimits
1376
1376
  *
1377
- * Graph content limits (nodes, relationships, rows).
1377
+ * Per-operation materialization limits.
1378
1378
  */
1379
1379
  export type ContentLimits = {
1380
- /**
1381
- * Max Nodes
1382
- *
1383
- * Maximum nodes allowed
1384
- */
1385
- max_nodes: number;
1386
- /**
1387
- * Current Nodes
1388
- *
1389
- * Current node count
1390
- */
1391
- current_nodes?: number | null;
1392
- /**
1393
- * Max Relationships
1394
- *
1395
- * Maximum relationships allowed
1396
- */
1397
- max_relationships: number;
1398
- /**
1399
- * Current Relationships
1400
- *
1401
- * Current relationship count
1402
- */
1403
- current_relationships?: number | null;
1404
1380
  /**
1405
1381
  * Max Rows Per Copy
1406
1382
  *
@@ -1419,12 +1395,6 @@ export type ContentLimits = {
1419
1395
  * Rows per materialization chunk
1420
1396
  */
1421
1397
  chunk_size_rows: number;
1422
- /**
1423
- * Approaching Limits
1424
- *
1425
- * List of limits being approached (>80%)
1426
- */
1427
- approaching_limits?: Array<string>;
1428
1398
  };
1429
1399
  /**
1430
1400
  * CopyOperationLimits
@@ -2428,6 +2398,31 @@ export type DatabaseInfoResponse = {
2428
2398
  */
2429
2399
  last_backup_date?: string | null;
2430
2400
  };
2401
+ /**
2402
+ * DatabaseStorageEntry
2403
+ *
2404
+ * Storage for a single database on the instance.
2405
+ */
2406
+ export type DatabaseStorageEntry = {
2407
+ /**
2408
+ * Graph Id
2409
+ *
2410
+ * Database identifier
2411
+ */
2412
+ graph_id: string;
2413
+ /**
2414
+ * Is Parent
2415
+ *
2416
+ * Whether this is the parent graph
2417
+ */
2418
+ is_parent?: boolean;
2419
+ /**
2420
+ * Size Mb
2421
+ *
2422
+ * Database size in MB
2423
+ */
2424
+ size_mb?: number | null;
2425
+ };
2431
2426
  /**
2432
2427
  * DeleteFileResponse
2433
2428
  */
@@ -3513,7 +3508,7 @@ export type GraphInfo = {
3513
3508
  /**
3514
3509
  * Status
3515
3510
  *
3516
- * Graph lifecycle status: queued, provisioning, active, suspended
3511
+ * Graph lifecycle status: active, suspended, deprovisioned
3517
3512
  */
3518
3513
  status?: string;
3519
3514
  };
@@ -3572,9 +3567,13 @@ export type GraphLimitsResponse = {
3572
3567
  */
3573
3568
  credits?: CreditLimits | null;
3574
3569
  /**
3575
- * Graph content limits (if applicable)
3570
+ * Per-operation materialization limits (if applicable)
3576
3571
  */
3577
3572
  content?: ContentLimits | null;
3573
+ /**
3574
+ * Aggregate instance storage usage (user graphs only)
3575
+ */
3576
+ instance?: InstanceUsage | null;
3578
3577
  };
3579
3578
  /**
3580
3579
  * GraphMetadata
@@ -3836,12 +3835,6 @@ export type GraphSubscriptionTier = {
3836
3835
  * Whether priority support is included
3837
3836
  */
3838
3837
  priority_support: boolean;
3839
- /**
3840
- * Max Queries Per Hour
3841
- *
3842
- * Maximum queries per hour
3843
- */
3844
- max_queries_per_hour?: number | null;
3845
3838
  /**
3846
3839
  * Max Subgraphs
3847
3840
  *
@@ -4325,6 +4318,52 @@ export type InitialEntityData = {
4325
4318
  */
4326
4319
  ein?: string | null;
4327
4320
  };
4321
+ /**
4322
+ * InstanceUsage
4323
+ *
4324
+ * Aggregate storage usage across the dedicated instance.
4325
+ *
4326
+ * Covers the parent graph, all subgraphs, DuckDB staging, and
4327
+ * future LanceDB vector indexes.
4328
+ */
4329
+ export type InstanceUsage = {
4330
+ /**
4331
+ * Node Count
4332
+ *
4333
+ * Current node count (informational, no limit enforced)
4334
+ */
4335
+ node_count?: number | null;
4336
+ /**
4337
+ * Total Storage Gb
4338
+ *
4339
+ * Total storage used across all databases in GB
4340
+ */
4341
+ total_storage_gb?: number | null;
4342
+ /**
4343
+ * Limit Gb
4344
+ *
4345
+ * Soft storage limit for this tier in GB
4346
+ */
4347
+ limit_gb: number;
4348
+ /**
4349
+ * Usage Percentage
4350
+ *
4351
+ * Storage usage as percentage of limit (e.g. 105.2)
4352
+ */
4353
+ usage_percentage?: number | null;
4354
+ /**
4355
+ * Status
4356
+ *
4357
+ * Instance status: 'healthy' (<80%), 'approaching' (80-100%), 'over_limit' (>100%)
4358
+ */
4359
+ status: string;
4360
+ /**
4361
+ * Databases
4362
+ *
4363
+ * Per-database storage breakdown
4364
+ */
4365
+ databases?: Array<DatabaseStorageEntry>;
4366
+ };
4328
4367
  /**
4329
4368
  * InviteMemberRequest
4330
4369
  *
@@ -7055,6 +7094,12 @@ export type SearchRequest = {
7055
7094
  * Filter filings on or before date (YYYY-MM-DD)
7056
7095
  */
7057
7096
  date_to?: string | null;
7097
+ /**
7098
+ * Semantic
7099
+ *
7100
+ * Enable hybrid semantic search (BM25 + KNN). Default is BM25-only for speed.
7101
+ */
7102
+ semantic?: boolean;
7058
7103
  /**
7059
7104
  * Size
7060
7105
  *
@@ -7336,49 +7381,6 @@ export type StatementResponse = {
7336
7381
  */
7337
7382
  unmapped_count?: number;
7338
7383
  };
7339
- /**
7340
- * StorageLimitResponse
7341
- *
7342
- * Storage limit information response.
7343
- */
7344
- export type StorageLimitResponse = {
7345
- /**
7346
- * Graph Id
7347
- */
7348
- graph_id: string;
7349
- /**
7350
- * Current Storage Gb
7351
- */
7352
- current_storage_gb: number;
7353
- /**
7354
- * Effective Limit Gb
7355
- */
7356
- effective_limit_gb: number;
7357
- /**
7358
- * Usage Percentage
7359
- */
7360
- usage_percentage: number;
7361
- /**
7362
- * Within Limit
7363
- */
7364
- within_limit: boolean;
7365
- /**
7366
- * Approaching Limit
7367
- */
7368
- approaching_limit: boolean;
7369
- /**
7370
- * Needs Warning
7371
- */
7372
- needs_warning: boolean;
7373
- /**
7374
- * Has Override
7375
- */
7376
- has_override: boolean;
7377
- /**
7378
- * Recommendations
7379
- */
7380
- recommendations?: Array<string> | null;
7381
- };
7382
7384
  /**
7383
7385
  * StorageLimits
7384
7386
  *
@@ -10824,91 +10826,6 @@ export type CheckCreditBalanceResponses = {
10824
10826
  };
10825
10827
  };
10826
10828
  export type CheckCreditBalanceResponse = CheckCreditBalanceResponses[keyof CheckCreditBalanceResponses];
10827
- export type GetStorageUsageData = {
10828
- body?: never;
10829
- path: {
10830
- /**
10831
- * Graph Id
10832
- *
10833
- * Graph database identifier
10834
- */
10835
- graph_id: string;
10836
- };
10837
- query?: {
10838
- /**
10839
- * Days
10840
- *
10841
- * Number of days of history to return
10842
- */
10843
- days?: number;
10844
- };
10845
- url: '/v1/graphs/{graph_id}/credits/storage/usage';
10846
- };
10847
- export type GetStorageUsageErrors = {
10848
- /**
10849
- * Access denied to graph
10850
- */
10851
- 403: ErrorResponse;
10852
- /**
10853
- * Validation Error
10854
- */
10855
- 422: HttpValidationError;
10856
- /**
10857
- * Failed to retrieve storage usage
10858
- */
10859
- 500: ErrorResponse;
10860
- };
10861
- export type GetStorageUsageError = GetStorageUsageErrors[keyof GetStorageUsageErrors];
10862
- export type GetStorageUsageResponses = {
10863
- /**
10864
- * Response Getstorageusage
10865
- *
10866
- * Storage usage retrieved successfully
10867
- */
10868
- 200: {
10869
- [key: string]: unknown;
10870
- };
10871
- };
10872
- export type GetStorageUsageResponse = GetStorageUsageResponses[keyof GetStorageUsageResponses];
10873
- export type CheckStorageLimitsData = {
10874
- body?: never;
10875
- path: {
10876
- /**
10877
- * Graph Id
10878
- *
10879
- * Graph database identifier
10880
- */
10881
- graph_id: string;
10882
- };
10883
- query?: never;
10884
- url: '/v1/graphs/{graph_id}/credits/storage/limits';
10885
- };
10886
- export type CheckStorageLimitsErrors = {
10887
- /**
10888
- * Access denied to graph
10889
- */
10890
- 403: ErrorResponse;
10891
- /**
10892
- * No credit pool found for graph
10893
- */
10894
- 404: ErrorResponse;
10895
- /**
10896
- * Validation Error
10897
- */
10898
- 422: HttpValidationError;
10899
- /**
10900
- * Failed to retrieve storage limits
10901
- */
10902
- 500: ErrorResponse;
10903
- };
10904
- export type CheckStorageLimitsError = CheckStorageLimitsErrors[keyof CheckStorageLimitsErrors];
10905
- export type CheckStorageLimitsResponses = {
10906
- /**
10907
- * Storage limit information retrieved successfully
10908
- */
10909
- 200: StorageLimitResponse;
10910
- };
10911
- export type CheckStorageLimitsResponse = CheckStorageLimitsResponses[keyof CheckStorageLimitsResponses];
10912
10829
  export type GetDatabaseHealthData = {
10913
10830
  body?: never;
10914
10831
  path: {
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
  *
@@ -11378,101 +11381,6 @@ export type CheckCreditBalanceResponses = {
11378
11381
 
11379
11382
  export type CheckCreditBalanceResponse = CheckCreditBalanceResponses[keyof CheckCreditBalanceResponses];
11380
11383
 
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
11384
  export type GetDatabaseHealthData = {
11477
11385
  body?: never;
11478
11386
  path: {