@robosystems/client 0.2.11 → 0.2.13

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
@@ -843,28 +843,6 @@ export type BulkIngestResponse = {
843
843
  results: Array<TableIngestResult>;
844
844
  };
845
845
 
846
- /**
847
- * CancellationResponse
848
- * Response for subscription cancellation.
849
- */
850
- export type CancellationResponse = {
851
- /**
852
- * Message
853
- * Cancellation confirmation message
854
- */
855
- message: string;
856
- /**
857
- * Subscription Id
858
- * ID of the cancelled subscription
859
- */
860
- subscription_id: string;
861
- /**
862
- * Cancelled At
863
- * Cancellation timestamp (ISO format)
864
- */
865
- cancelled_at: string;
866
- };
867
-
868
846
  /**
869
847
  * CheckoutResponse
870
848
  * Response from checkout session creation.
@@ -914,7 +892,7 @@ export type CheckoutStatusResponse = {
914
892
  subscription_id: string;
915
893
  /**
916
894
  * Resource Id
917
- * Resource ID (graph_id or repository name) once provisioned
895
+ * Resource ID (graph_id for both graphs and repositories) once provisioned. For repositories, this is the repository slug (e.g., 'sec')
918
896
  */
919
897
  resource_id?: string | null;
920
898
  /**
@@ -1154,7 +1132,7 @@ export type CreateCheckoutRequest = {
1154
1132
  resource_type: string;
1155
1133
  /**
1156
1134
  * Resource Config
1157
- * Configuration for the resource to be provisioned
1135
+ * Configuration for the resource to be provisioned. For repositories: {'repository_name': 'graph_id'} where graph_id is the repository slug (e.g., 'sec')
1158
1136
  */
1159
1137
  resource_config: {
1160
1138
  [key: string]: unknown;
@@ -1267,7 +1245,7 @@ export type CreateSubgraphRequest = {
1267
1245
  * Schema Extensions
1268
1246
  * Schema extensions to include (inherits from parent by default)
1269
1247
  */
1270
- schema_extensions?: Array<string> | null;
1248
+ schema_extensions?: Array<string>;
1271
1249
  /**
1272
1250
  * Type of subgraph (currently only 'static' is supported)
1273
1251
  */
@@ -2269,6 +2247,11 @@ export type GraphSubscriptionResponse = {
2269
2247
  * Cancellation date
2270
2248
  */
2271
2249
  canceled_at?: string | null;
2250
+ /**
2251
+ * Ends At
2252
+ * Subscription end date (when access will be revoked, especially relevant for cancelled subscriptions)
2253
+ */
2254
+ ends_at?: string | null;
2272
2255
  /**
2273
2256
  * Created At
2274
2257
  * Creation timestamp
@@ -2904,6 +2887,11 @@ export type ListSubgraphsResponse = {
2904
2887
  * Parent graph tier
2905
2888
  */
2906
2889
  parent_graph_tier: string;
2890
+ /**
2891
+ * Subgraphs Enabled
2892
+ * Whether subgraphs are enabled for this tier (requires Kuzu Large/XLarge or Neo4j Enterprise XLarge)
2893
+ */
2894
+ subgraphs_enabled: boolean;
2907
2895
  /**
2908
2896
  * Subgraph Count
2909
2897
  * Total number of subgraphs
@@ -3613,6 +3601,18 @@ export type PlaidConnectionConfig = {
3613
3601
  }> | null;
3614
3602
  };
3615
3603
 
3604
+ /**
3605
+ * PortalSessionResponse
3606
+ * Response for customer portal session creation.
3607
+ */
3608
+ export type PortalSessionResponse = {
3609
+ /**
3610
+ * Portal Url
3611
+ * Stripe Customer Portal URL where user can manage payment methods
3612
+ */
3613
+ portal_url: string;
3614
+ };
3615
+
3616
3616
  /**
3617
3617
  * QueryLimits
3618
3618
  * Query operation limits.
@@ -4724,34 +4724,6 @@ export type UpdatePasswordRequest = {
4724
4724
  confirm_password: string;
4725
4725
  };
4726
4726
 
4727
- /**
4728
- * UpdatePaymentMethodRequest
4729
- * Request to update default payment method.
4730
- */
4731
- export type UpdatePaymentMethodRequest = {
4732
- /**
4733
- * Payment Method Id
4734
- * Payment method ID to set as default
4735
- */
4736
- payment_method_id: string;
4737
- };
4738
-
4739
- /**
4740
- * UpdatePaymentMethodResponse
4741
- * Response for payment method update.
4742
- */
4743
- export type UpdatePaymentMethodResponse = {
4744
- /**
4745
- * Message
4746
- * Success message
4747
- */
4748
- message: string;
4749
- /**
4750
- * Updated payment method
4751
- */
4752
- payment_method: PaymentMethod;
4753
- };
4754
-
4755
4727
  /**
4756
4728
  * UpdateUserRequest
4757
4729
  * Request model for updating user profile.
@@ -6255,6 +6227,46 @@ export type SyncConnectionResponses = {
6255
6227
 
6256
6228
  export type SyncConnectionResponse = SyncConnectionResponses[keyof SyncConnectionResponses];
6257
6229
 
6230
+ export type ListAgentsData = {
6231
+ body?: never;
6232
+ path: {
6233
+ /**
6234
+ * Graph Id
6235
+ */
6236
+ graph_id: string;
6237
+ };
6238
+ query?: {
6239
+ /**
6240
+ * Capability
6241
+ * Filter by capability (e.g., 'financial_analysis', 'rag_search')
6242
+ */
6243
+ capability?: string | null;
6244
+ };
6245
+ url: '/v1/graphs/{graph_id}/agent';
6246
+ };
6247
+
6248
+ export type ListAgentsErrors = {
6249
+ /**
6250
+ * Unauthorized - Invalid or missing authentication
6251
+ */
6252
+ 401: unknown;
6253
+ /**
6254
+ * Validation Error
6255
+ */
6256
+ 422: HttpValidationError;
6257
+ };
6258
+
6259
+ export type ListAgentsError = ListAgentsErrors[keyof ListAgentsErrors];
6260
+
6261
+ export type ListAgentsResponses = {
6262
+ /**
6263
+ * List of agents retrieved successfully
6264
+ */
6265
+ 200: AgentListResponse;
6266
+ };
6267
+
6268
+ export type ListAgentsResponse = ListAgentsResponses[keyof ListAgentsResponses];
6269
+
6258
6270
  export type AutoSelectAgentData = {
6259
6271
  body: AgentRequest;
6260
6272
  path: {
@@ -6263,7 +6275,13 @@ export type AutoSelectAgentData = {
6263
6275
  */
6264
6276
  graph_id: string;
6265
6277
  };
6266
- query?: never;
6278
+ query?: {
6279
+ /**
6280
+ * Mode
6281
+ * Override execution mode: sync, async, stream, or auto
6282
+ */
6283
+ mode?: ResponseMode | null;
6284
+ };
6267
6285
  url: '/v1/graphs/{graph_id}/agent';
6268
6286
  };
6269
6287
 
@@ -6297,10 +6315,53 @@ export type AutoSelectAgentResponses = {
6297
6315
  * Query successfully processed by selected agent
6298
6316
  */
6299
6317
  200: AgentResponse;
6318
+ /**
6319
+ * Query queued for async processing with operation tracking
6320
+ */
6321
+ 202: unknown;
6300
6322
  };
6301
6323
 
6302
6324
  export type AutoSelectAgentResponse = AutoSelectAgentResponses[keyof AutoSelectAgentResponses];
6303
6325
 
6326
+ export type GetAgentMetadataData = {
6327
+ body?: never;
6328
+ path: {
6329
+ /**
6330
+ * Graph Id
6331
+ */
6332
+ graph_id: string;
6333
+ /**
6334
+ * Agent Type
6335
+ * Agent type identifier (e.g., 'financial', 'research', 'rag')
6336
+ */
6337
+ agent_type: string;
6338
+ };
6339
+ query?: never;
6340
+ url: '/v1/graphs/{graph_id}/agent/{agent_type}';
6341
+ };
6342
+
6343
+ export type GetAgentMetadataErrors = {
6344
+ /**
6345
+ * Agent type not found
6346
+ */
6347
+ 404: unknown;
6348
+ /**
6349
+ * Validation Error
6350
+ */
6351
+ 422: HttpValidationError;
6352
+ };
6353
+
6354
+ export type GetAgentMetadataError = GetAgentMetadataErrors[keyof GetAgentMetadataErrors];
6355
+
6356
+ export type GetAgentMetadataResponses = {
6357
+ /**
6358
+ * Agent metadata retrieved successfully
6359
+ */
6360
+ 200: AgentMetadataResponse;
6361
+ };
6362
+
6363
+ export type GetAgentMetadataResponse = GetAgentMetadataResponses[keyof GetAgentMetadataResponses];
6364
+
6304
6365
  export type ExecuteSpecificAgentData = {
6305
6366
  body: AgentRequest;
6306
6367
  path: {
@@ -6313,7 +6374,13 @@ export type ExecuteSpecificAgentData = {
6313
6374
  */
6314
6375
  graph_id: string;
6315
6376
  };
6316
- query?: never;
6377
+ query?: {
6378
+ /**
6379
+ * Mode
6380
+ * Override execution mode: sync, async, stream, or auto
6381
+ */
6382
+ mode?: ResponseMode | null;
6383
+ };
6317
6384
  url: '/v1/graphs/{graph_id}/agent/{agent_type}';
6318
6385
  };
6319
6386
 
@@ -6351,6 +6418,10 @@ export type ExecuteSpecificAgentResponses = {
6351
6418
  * Query successfully processed by specified agent
6352
6419
  */
6353
6420
  200: AgentResponse;
6421
+ /**
6422
+ * Query queued for async processing with operation tracking
6423
+ */
6424
+ 202: unknown;
6354
6425
  };
6355
6426
 
6356
6427
  export type ExecuteSpecificAgentResponse = ExecuteSpecificAgentResponses[keyof ExecuteSpecificAgentResponses];
@@ -6397,85 +6468,6 @@ export type BatchProcessQueriesResponses = {
6397
6468
 
6398
6469
  export type BatchProcessQueriesResponse = BatchProcessQueriesResponses[keyof BatchProcessQueriesResponses];
6399
6470
 
6400
- export type ListAgentsData = {
6401
- body?: never;
6402
- path: {
6403
- /**
6404
- * Graph Id
6405
- */
6406
- graph_id: string;
6407
- };
6408
- query?: {
6409
- /**
6410
- * Capability
6411
- * Filter by capability (e.g., 'financial_analysis', 'rag_search')
6412
- */
6413
- capability?: string | null;
6414
- };
6415
- url: '/v1/graphs/{graph_id}/agent/list';
6416
- };
6417
-
6418
- export type ListAgentsErrors = {
6419
- /**
6420
- * Unauthorized - Invalid or missing authentication
6421
- */
6422
- 401: unknown;
6423
- /**
6424
- * Validation Error
6425
- */
6426
- 422: HttpValidationError;
6427
- };
6428
-
6429
- export type ListAgentsError = ListAgentsErrors[keyof ListAgentsErrors];
6430
-
6431
- export type ListAgentsResponses = {
6432
- /**
6433
- * List of agents retrieved successfully
6434
- */
6435
- 200: AgentListResponse;
6436
- };
6437
-
6438
- export type ListAgentsResponse = ListAgentsResponses[keyof ListAgentsResponses];
6439
-
6440
- export type GetAgentMetadataData = {
6441
- body?: never;
6442
- path: {
6443
- /**
6444
- * Graph Id
6445
- */
6446
- graph_id: string;
6447
- /**
6448
- * Agent Type
6449
- * Agent type identifier (e.g., 'financial', 'research', 'rag')
6450
- */
6451
- agent_type: string;
6452
- };
6453
- query?: never;
6454
- url: '/v1/graphs/{graph_id}/agent/{agent_type}/metadata';
6455
- };
6456
-
6457
- export type GetAgentMetadataErrors = {
6458
- /**
6459
- * Agent type not found
6460
- */
6461
- 404: unknown;
6462
- /**
6463
- * Validation Error
6464
- */
6465
- 422: HttpValidationError;
6466
- };
6467
-
6468
- export type GetAgentMetadataError = GetAgentMetadataErrors[keyof GetAgentMetadataErrors];
6469
-
6470
- export type GetAgentMetadataResponses = {
6471
- /**
6472
- * Agent metadata retrieved successfully
6473
- */
6474
- 200: AgentMetadataResponse;
6475
- };
6476
-
6477
- export type GetAgentMetadataResponse = GetAgentMetadataResponses[keyof GetAgentMetadataResponses];
6478
-
6479
6471
  export type RecommendAgentData = {
6480
6472
  body: AgentRecommendationRequest;
6481
6473
  path: {
@@ -7214,6 +7206,7 @@ export type ListCreditTransactionsData = {
7214
7206
  path: {
7215
7207
  /**
7216
7208
  * Graph Id
7209
+ * Graph database identifier
7217
7210
  */
7218
7211
  graph_id: string;
7219
7212
  };
@@ -7776,45 +7769,6 @@ export type GetSubgraphQuotaResponses = {
7776
7769
 
7777
7770
  export type GetSubgraphQuotaResponse = GetSubgraphQuotaResponses[keyof GetSubgraphQuotaResponses];
7778
7771
 
7779
- export type CancelSubscriptionData = {
7780
- body?: never;
7781
- path: {
7782
- /**
7783
- * Graph Id
7784
- * Graph ID or repository name
7785
- */
7786
- graph_id: string;
7787
- };
7788
- query?: never;
7789
- url: '/v1/graphs/{graph_id}/subscriptions';
7790
- };
7791
-
7792
- export type CancelSubscriptionErrors = {
7793
- /**
7794
- * Cannot cancel graph subscriptions directly
7795
- */
7796
- 400: unknown;
7797
- /**
7798
- * No subscription found
7799
- */
7800
- 404: unknown;
7801
- /**
7802
- * Validation Error
7803
- */
7804
- 422: HttpValidationError;
7805
- };
7806
-
7807
- export type CancelSubscriptionError = CancelSubscriptionErrors[keyof CancelSubscriptionErrors];
7808
-
7809
- export type CancelSubscriptionResponses = {
7810
- /**
7811
- * Subscription canceled successfully
7812
- */
7813
- 200: CancellationResponse;
7814
- };
7815
-
7816
- export type CancelSubscriptionResponse = CancelSubscriptionResponses[keyof CancelSubscriptionResponses];
7817
-
7818
7772
  export type GetGraphSubscriptionData = {
7819
7773
  body?: never;
7820
7774
  path: {
@@ -8706,8 +8660,8 @@ export type GetOrgBillingCustomerResponses = {
8706
8660
 
8707
8661
  export type GetOrgBillingCustomerResponse = GetOrgBillingCustomerResponses[keyof GetOrgBillingCustomerResponses];
8708
8662
 
8709
- export type UpdateOrgPaymentMethodData = {
8710
- body: UpdatePaymentMethodRequest;
8663
+ export type CreatePortalSessionData = {
8664
+ body?: never;
8711
8665
  path: {
8712
8666
  /**
8713
8667
  * Org Id
@@ -8715,26 +8669,26 @@ export type UpdateOrgPaymentMethodData = {
8715
8669
  org_id: string;
8716
8670
  };
8717
8671
  query?: never;
8718
- url: '/v1/billing/customer/{org_id}/payment-method';
8672
+ url: '/v1/billing/customer/{org_id}/portal';
8719
8673
  };
8720
8674
 
8721
- export type UpdateOrgPaymentMethodErrors = {
8675
+ export type CreatePortalSessionErrors = {
8722
8676
  /**
8723
8677
  * Validation Error
8724
8678
  */
8725
8679
  422: HttpValidationError;
8726
8680
  };
8727
8681
 
8728
- export type UpdateOrgPaymentMethodError = UpdateOrgPaymentMethodErrors[keyof UpdateOrgPaymentMethodErrors];
8682
+ export type CreatePortalSessionError = CreatePortalSessionErrors[keyof CreatePortalSessionErrors];
8729
8683
 
8730
- export type UpdateOrgPaymentMethodResponses = {
8684
+ export type CreatePortalSessionResponses = {
8731
8685
  /**
8732
8686
  * Successful Response
8733
8687
  */
8734
- 200: UpdatePaymentMethodResponse;
8688
+ 200: PortalSessionResponse;
8735
8689
  };
8736
8690
 
8737
- export type UpdateOrgPaymentMethodResponse = UpdateOrgPaymentMethodResponses[keyof UpdateOrgPaymentMethodResponses];
8691
+ export type CreatePortalSessionResponse = CreatePortalSessionResponses[keyof CreatePortalSessionResponses];
8738
8692
 
8739
8693
  export type ListOrgSubscriptionsData = {
8740
8694
  body?: never;