@robosystems/client 0.3.2 → 0.3.4

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
@@ -2321,6 +2321,36 @@ export type DatabaseHealthResponse = {
2321
2321
  * Active alerts or warnings
2322
2322
  */
2323
2323
  alerts?: Array<string>;
2324
+ /**
2325
+ * Is Stale
2326
+ *
2327
+ * Whether the graph has staged changes not yet materialized
2328
+ */
2329
+ is_stale?: boolean;
2330
+ /**
2331
+ * Stale Reason
2332
+ *
2333
+ * Reason the graph was marked stale (e.g. 'file_deleted: data.parquet')
2334
+ */
2335
+ stale_reason?: string | null;
2336
+ /**
2337
+ * Stale Since
2338
+ *
2339
+ * ISO timestamp when the graph became stale
2340
+ */
2341
+ stale_since?: string | null;
2342
+ /**
2343
+ * Last Materialized At
2344
+ *
2345
+ * ISO timestamp of the last successful materialization
2346
+ */
2347
+ last_materialized_at?: string | null;
2348
+ /**
2349
+ * Hours Since Materialization
2350
+ *
2351
+ * Hours elapsed since last materialization
2352
+ */
2353
+ hours_since_materialization?: number | null;
2324
2354
  };
2325
2355
  /**
2326
2356
  * DatabaseInfoResponse
@@ -4703,6 +4733,49 @@ export type ManualLineItemRequest = {
4703
4733
  */
4704
4734
  description?: string | null;
4705
4735
  };
4736
+ /**
4737
+ * MaterializeOp
4738
+ *
4739
+ * Body for the materialize operation.
4740
+ */
4741
+ export type MaterializeOp = {
4742
+ /**
4743
+ * Force
4744
+ *
4745
+ * Force materialization even if already up to date
4746
+ */
4747
+ force?: boolean;
4748
+ /**
4749
+ * Rebuild
4750
+ *
4751
+ * Rebuild the graph from scratch, dropping existing data
4752
+ */
4753
+ rebuild?: boolean;
4754
+ /**
4755
+ * Ignore Errors
4756
+ *
4757
+ * Continue past non-fatal row errors
4758
+ */
4759
+ ignore_errors?: boolean;
4760
+ /**
4761
+ * Dry Run
4762
+ *
4763
+ * Validate tables without writing to the graph
4764
+ */
4765
+ dry_run?: boolean;
4766
+ /**
4767
+ * Source
4768
+ *
4769
+ * Materialization source: 'extensions' for OLTP, omit for DuckDB staging tables
4770
+ */
4771
+ source?: string | null;
4772
+ /**
4773
+ * Materialize Embeddings
4774
+ *
4775
+ * Generate vector embeddings during materialization
4776
+ */
4777
+ materialize_embeddings?: boolean;
4778
+ };
4706
4779
  /**
4707
4780
  * OAuthCallbackRequest
4708
4781
  *
@@ -7442,9 +7515,9 @@ export type UpgradeTierOp = {
7442
7515
  /**
7443
7516
  * New Tier
7444
7517
  *
7445
- * Target tier: ladybug-standard, ladybug-large, ladybug-xlarge
7518
+ * Target infrastructure tier
7446
7519
  */
7447
- new_tier: string;
7520
+ new_tier: 'ladybug-standard' | 'ladybug-large' | 'ladybug-xlarge';
7448
7521
  };
7449
7522
  /**
7450
7523
  * UserGraphsResponse
@@ -8718,6 +8791,12 @@ export type GetConnectionResponses = {
8718
8791
  export type GetConnectionResponse = GetConnectionResponses[keyof GetConnectionResponses];
8719
8792
  export type SyncConnectionData = {
8720
8793
  body: SyncConnectionRequest;
8794
+ headers?: {
8795
+ /**
8796
+ * Idempotency-Key
8797
+ */
8798
+ 'Idempotency-Key'?: string | null;
8799
+ };
8721
8800
  path: {
8722
8801
  /**
8723
8802
  * Graph Id
@@ -8735,13 +8814,17 @@ export type SyncConnectionData = {
8735
8814
  };
8736
8815
  export type SyncConnectionErrors = {
8737
8816
  /**
8738
- * Access denied - admin role required
8817
+ * Access denied or provider not available
8739
8818
  */
8740
8819
  403: ErrorResponse;
8741
8820
  /**
8742
8821
  * Connection not found
8743
8822
  */
8744
8823
  404: ErrorResponse;
8824
+ /**
8825
+ * Idempotency key reused with different request body
8826
+ */
8827
+ 409: ErrorResponse;
8745
8828
  /**
8746
8829
  * Validation Error
8747
8830
  */
@@ -8750,17 +8833,17 @@ export type SyncConnectionErrors = {
8750
8833
  * Failed to start sync
8751
8834
  */
8752
8835
  500: ErrorResponse;
8836
+ /**
8837
+ * Sync request timed out
8838
+ */
8839
+ 504: ErrorResponse;
8753
8840
  };
8754
8841
  export type SyncConnectionError = SyncConnectionErrors[keyof SyncConnectionErrors];
8755
8842
  export type SyncConnectionResponses = {
8756
8843
  /**
8757
- * Response Syncconnection
8758
- *
8759
- * Sync started successfully
8844
+ * Successful Response
8760
8845
  */
8761
- 200: {
8762
- [key: string]: unknown;
8763
- };
8846
+ 202: OperationEnvelope;
8764
8847
  };
8765
8848
  export type SyncConnectionResponse = SyncConnectionResponses[keyof SyncConnectionResponses];
8766
8849
  export type ListAgentsData = {
@@ -10591,7 +10674,7 @@ export type OpUpgradeTierResponses = {
10591
10674
  };
10592
10675
  export type OpUpgradeTierResponse = OpUpgradeTierResponses[keyof OpUpgradeTierResponses];
10593
10676
  export type OpMaterializeData = {
10594
- body?: never;
10677
+ body: MaterializeOp;
10595
10678
  headers?: {
10596
10679
  /**
10597
10680
  * Idempotency-Key
@@ -10604,32 +10687,7 @@ export type OpMaterializeData = {
10604
10687
  */
10605
10688
  graph_id: string;
10606
10689
  };
10607
- query?: {
10608
- /**
10609
- * Force
10610
- */
10611
- force?: boolean;
10612
- /**
10613
- * Rebuild
10614
- */
10615
- rebuild?: boolean;
10616
- /**
10617
- * Ignore Errors
10618
- */
10619
- ignore_errors?: boolean;
10620
- /**
10621
- * Dry Run
10622
- */
10623
- dry_run?: boolean;
10624
- /**
10625
- * Source
10626
- */
10627
- source?: string | null;
10628
- /**
10629
- * Materialize Embeddings
10630
- */
10631
- materialize_embeddings?: boolean;
10632
- };
10690
+ query?: never;
10633
10691
  url: '/v1/graphs/{graph_id}/operations/materialize';
10634
10692
  };
10635
10693
  export type OpMaterializeErrors = {
@@ -10936,6 +10994,12 @@ export type GetGraphsResponses = {
10936
10994
  export type GetGraphsResponse = GetGraphsResponses[keyof GetGraphsResponses];
10937
10995
  export type CreateGraphData = {
10938
10996
  body: CreateGraphRequest;
10997
+ headers?: {
10998
+ /**
10999
+ * Idempotency-Key
11000
+ */
11001
+ 'Idempotency-Key'?: string | null;
11002
+ };
10939
11003
  path?: never;
10940
11004
  query?: never;
10941
11005
  url: '/v1/graphs';
@@ -10951,8 +11015,9 @@ export type CreateGraphResponses = {
10951
11015
  /**
10952
11016
  * Successful Response
10953
11017
  */
10954
- 202: unknown;
11018
+ 202: OperationEnvelope;
10955
11019
  };
11020
+ export type CreateGraphResponse = CreateGraphResponses[keyof CreateGraphResponses];
10956
11021
  export type GetAvailableExtensionsData = {
10957
11022
  body?: never;
10958
11023
  path?: never;
package/types.gen.ts CHANGED
@@ -2389,6 +2389,36 @@ export type DatabaseHealthResponse = {
2389
2389
  * Active alerts or warnings
2390
2390
  */
2391
2391
  alerts?: Array<string>;
2392
+ /**
2393
+ * Is Stale
2394
+ *
2395
+ * Whether the graph has staged changes not yet materialized
2396
+ */
2397
+ is_stale?: boolean;
2398
+ /**
2399
+ * Stale Reason
2400
+ *
2401
+ * Reason the graph was marked stale (e.g. 'file_deleted: data.parquet')
2402
+ */
2403
+ stale_reason?: string | null;
2404
+ /**
2405
+ * Stale Since
2406
+ *
2407
+ * ISO timestamp when the graph became stale
2408
+ */
2409
+ stale_since?: string | null;
2410
+ /**
2411
+ * Last Materialized At
2412
+ *
2413
+ * ISO timestamp of the last successful materialization
2414
+ */
2415
+ last_materialized_at?: string | null;
2416
+ /**
2417
+ * Hours Since Materialization
2418
+ *
2419
+ * Hours elapsed since last materialization
2420
+ */
2421
+ hours_since_materialization?: number | null;
2392
2422
  };
2393
2423
 
2394
2424
  /**
@@ -4840,6 +4870,50 @@ export type ManualLineItemRequest = {
4840
4870
  description?: string | null;
4841
4871
  };
4842
4872
 
4873
+ /**
4874
+ * MaterializeOp
4875
+ *
4876
+ * Body for the materialize operation.
4877
+ */
4878
+ export type MaterializeOp = {
4879
+ /**
4880
+ * Force
4881
+ *
4882
+ * Force materialization even if already up to date
4883
+ */
4884
+ force?: boolean;
4885
+ /**
4886
+ * Rebuild
4887
+ *
4888
+ * Rebuild the graph from scratch, dropping existing data
4889
+ */
4890
+ rebuild?: boolean;
4891
+ /**
4892
+ * Ignore Errors
4893
+ *
4894
+ * Continue past non-fatal row errors
4895
+ */
4896
+ ignore_errors?: boolean;
4897
+ /**
4898
+ * Dry Run
4899
+ *
4900
+ * Validate tables without writing to the graph
4901
+ */
4902
+ dry_run?: boolean;
4903
+ /**
4904
+ * Source
4905
+ *
4906
+ * Materialization source: 'extensions' for OLTP, omit for DuckDB staging tables
4907
+ */
4908
+ source?: string | null;
4909
+ /**
4910
+ * Materialize Embeddings
4911
+ *
4912
+ * Generate vector embeddings during materialization
4913
+ */
4914
+ materialize_embeddings?: boolean;
4915
+ };
4916
+
4843
4917
  /**
4844
4918
  * OAuthCallbackRequest
4845
4919
  *
@@ -7668,9 +7742,9 @@ export type UpgradeTierOp = {
7668
7742
  /**
7669
7743
  * New Tier
7670
7744
  *
7671
- * Target tier: ladybug-standard, ladybug-large, ladybug-xlarge
7745
+ * Target infrastructure tier
7672
7746
  */
7673
- new_tier: string;
7747
+ new_tier: 'ladybug-standard' | 'ladybug-large' | 'ladybug-xlarge';
7674
7748
  };
7675
7749
 
7676
7750
  /**
@@ -9140,6 +9214,12 @@ export type GetConnectionResponse = GetConnectionResponses[keyof GetConnectionRe
9140
9214
 
9141
9215
  export type SyncConnectionData = {
9142
9216
  body: SyncConnectionRequest;
9217
+ headers?: {
9218
+ /**
9219
+ * Idempotency-Key
9220
+ */
9221
+ 'Idempotency-Key'?: string | null;
9222
+ };
9143
9223
  path: {
9144
9224
  /**
9145
9225
  * Graph Id
@@ -9158,13 +9238,17 @@ export type SyncConnectionData = {
9158
9238
 
9159
9239
  export type SyncConnectionErrors = {
9160
9240
  /**
9161
- * Access denied - admin role required
9241
+ * Access denied or provider not available
9162
9242
  */
9163
9243
  403: ErrorResponse;
9164
9244
  /**
9165
9245
  * Connection not found
9166
9246
  */
9167
9247
  404: ErrorResponse;
9248
+ /**
9249
+ * Idempotency key reused with different request body
9250
+ */
9251
+ 409: ErrorResponse;
9168
9252
  /**
9169
9253
  * Validation Error
9170
9254
  */
@@ -9173,19 +9257,19 @@ export type SyncConnectionErrors = {
9173
9257
  * Failed to start sync
9174
9258
  */
9175
9259
  500: ErrorResponse;
9260
+ /**
9261
+ * Sync request timed out
9262
+ */
9263
+ 504: ErrorResponse;
9176
9264
  };
9177
9265
 
9178
9266
  export type SyncConnectionError = SyncConnectionErrors[keyof SyncConnectionErrors];
9179
9267
 
9180
9268
  export type SyncConnectionResponses = {
9181
9269
  /**
9182
- * Response Syncconnection
9183
- *
9184
- * Sync started successfully
9270
+ * Successful Response
9185
9271
  */
9186
- 200: {
9187
- [key: string]: unknown;
9188
- };
9272
+ 202: OperationEnvelope;
9189
9273
  };
9190
9274
 
9191
9275
  export type SyncConnectionResponse = SyncConnectionResponses[keyof SyncConnectionResponses];
@@ -11232,7 +11316,7 @@ export type OpUpgradeTierResponses = {
11232
11316
  export type OpUpgradeTierResponse = OpUpgradeTierResponses[keyof OpUpgradeTierResponses];
11233
11317
 
11234
11318
  export type OpMaterializeData = {
11235
- body?: never;
11319
+ body: MaterializeOp;
11236
11320
  headers?: {
11237
11321
  /**
11238
11322
  * Idempotency-Key
@@ -11245,32 +11329,7 @@ export type OpMaterializeData = {
11245
11329
  */
11246
11330
  graph_id: string;
11247
11331
  };
11248
- query?: {
11249
- /**
11250
- * Force
11251
- */
11252
- force?: boolean;
11253
- /**
11254
- * Rebuild
11255
- */
11256
- rebuild?: boolean;
11257
- /**
11258
- * Ignore Errors
11259
- */
11260
- ignore_errors?: boolean;
11261
- /**
11262
- * Dry Run
11263
- */
11264
- dry_run?: boolean;
11265
- /**
11266
- * Source
11267
- */
11268
- source?: string | null;
11269
- /**
11270
- * Materialize Embeddings
11271
- */
11272
- materialize_embeddings?: boolean;
11273
- };
11332
+ query?: never;
11274
11333
  url: '/v1/graphs/{graph_id}/operations/materialize';
11275
11334
  };
11276
11335
 
@@ -11611,6 +11670,12 @@ export type GetGraphsResponse = GetGraphsResponses[keyof GetGraphsResponses];
11611
11670
 
11612
11671
  export type CreateGraphData = {
11613
11672
  body: CreateGraphRequest;
11673
+ headers?: {
11674
+ /**
11675
+ * Idempotency-Key
11676
+ */
11677
+ 'Idempotency-Key'?: string | null;
11678
+ };
11614
11679
  path?: never;
11615
11680
  query?: never;
11616
11681
  url: '/v1/graphs';
@@ -11629,9 +11694,11 @@ export type CreateGraphResponses = {
11629
11694
  /**
11630
11695
  * Successful Response
11631
11696
  */
11632
- 202: unknown;
11697
+ 202: OperationEnvelope;
11633
11698
  };
11634
11699
 
11700
+ export type CreateGraphResponse = CreateGraphResponses[keyof CreateGraphResponses];
11701
+
11635
11702
  export type GetAvailableExtensionsData = {
11636
11703
  body?: never;
11637
11704
  path?: never;