@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/extensions/AgentClient.d.ts +82 -0
- package/extensions/AgentClient.js +218 -0
- package/extensions/AgentClient.ts +321 -0
- package/extensions/QueryClient.js +85 -37
- package/extensions/QueryClient.ts +82 -34
- package/extensions/index.d.ts +8 -1
- package/extensions/index.js +19 -1
- package/extensions/index.ts +22 -1
- package/package.json +1 -1
- package/sdk/sdk.gen.d.ts +63 -49
- package/sdk/sdk.gen.js +100 -106
- package/sdk/sdk.gen.ts +98 -104
- package/sdk/types.gen.d.ts +124 -163
- package/sdk/types.gen.ts +135 -181
- package/sdk-extensions/AgentClient.d.ts +82 -0
- package/sdk-extensions/AgentClient.js +218 -0
- package/sdk-extensions/AgentClient.ts +321 -0
- package/sdk-extensions/QueryClient.js +85 -37
- package/sdk-extensions/QueryClient.ts +82 -34
- package/sdk-extensions/index.d.ts +8 -1
- package/sdk-extensions/index.js +19 -1
- package/sdk-extensions/index.ts +22 -1
- package/sdk.gen.d.ts +63 -49
- package/sdk.gen.js +100 -106
- package/sdk.gen.ts +98 -104
- package/types.gen.d.ts +124 -163
- package/types.gen.ts +135 -181
package/sdk/types.gen.d.ts
CHANGED
|
@@ -813,27 +813,6 @@ export type BulkIngestResponse = {
|
|
|
813
813
|
*/
|
|
814
814
|
results: Array<TableIngestResult>;
|
|
815
815
|
};
|
|
816
|
-
/**
|
|
817
|
-
* CancellationResponse
|
|
818
|
-
* Response for subscription cancellation.
|
|
819
|
-
*/
|
|
820
|
-
export type CancellationResponse = {
|
|
821
|
-
/**
|
|
822
|
-
* Message
|
|
823
|
-
* Cancellation confirmation message
|
|
824
|
-
*/
|
|
825
|
-
message: string;
|
|
826
|
-
/**
|
|
827
|
-
* Subscription Id
|
|
828
|
-
* ID of the cancelled subscription
|
|
829
|
-
*/
|
|
830
|
-
subscription_id: string;
|
|
831
|
-
/**
|
|
832
|
-
* Cancelled At
|
|
833
|
-
* Cancellation timestamp (ISO format)
|
|
834
|
-
*/
|
|
835
|
-
cancelled_at: string;
|
|
836
|
-
};
|
|
837
816
|
/**
|
|
838
817
|
* CheckoutResponse
|
|
839
818
|
* Response from checkout session creation.
|
|
@@ -882,7 +861,7 @@ export type CheckoutStatusResponse = {
|
|
|
882
861
|
subscription_id: string;
|
|
883
862
|
/**
|
|
884
863
|
* Resource Id
|
|
885
|
-
* Resource ID (graph_id
|
|
864
|
+
* Resource ID (graph_id for both graphs and repositories) once provisioned. For repositories, this is the repository slug (e.g., 'sec')
|
|
886
865
|
*/
|
|
887
866
|
resource_id?: string | null;
|
|
888
867
|
/**
|
|
@@ -1115,7 +1094,7 @@ export type CreateCheckoutRequest = {
|
|
|
1115
1094
|
resource_type: string;
|
|
1116
1095
|
/**
|
|
1117
1096
|
* Resource Config
|
|
1118
|
-
* Configuration for the resource to be provisioned
|
|
1097
|
+
* Configuration for the resource to be provisioned. For repositories: {'repository_name': 'graph_id'} where graph_id is the repository slug (e.g., 'sec')
|
|
1119
1098
|
*/
|
|
1120
1099
|
resource_config: {
|
|
1121
1100
|
[key: string]: unknown;
|
|
@@ -1223,7 +1202,7 @@ export type CreateSubgraphRequest = {
|
|
|
1223
1202
|
* Schema Extensions
|
|
1224
1203
|
* Schema extensions to include (inherits from parent by default)
|
|
1225
1204
|
*/
|
|
1226
|
-
schema_extensions?: Array<string
|
|
1205
|
+
schema_extensions?: Array<string>;
|
|
1227
1206
|
/**
|
|
1228
1207
|
* Type of subgraph (currently only 'static' is supported)
|
|
1229
1208
|
*/
|
|
@@ -2199,6 +2178,11 @@ export type GraphSubscriptionResponse = {
|
|
|
2199
2178
|
* Cancellation date
|
|
2200
2179
|
*/
|
|
2201
2180
|
canceled_at?: string | null;
|
|
2181
|
+
/**
|
|
2182
|
+
* Ends At
|
|
2183
|
+
* Subscription end date (when access will be revoked, especially relevant for cancelled subscriptions)
|
|
2184
|
+
*/
|
|
2185
|
+
ends_at?: string | null;
|
|
2202
2186
|
/**
|
|
2203
2187
|
* Created At
|
|
2204
2188
|
* Creation timestamp
|
|
@@ -2817,6 +2801,11 @@ export type ListSubgraphsResponse = {
|
|
|
2817
2801
|
* Parent graph tier
|
|
2818
2802
|
*/
|
|
2819
2803
|
parent_graph_tier: string;
|
|
2804
|
+
/**
|
|
2805
|
+
* Subgraphs Enabled
|
|
2806
|
+
* Whether subgraphs are enabled for this tier (requires Kuzu Large/XLarge or Neo4j Enterprise XLarge)
|
|
2807
|
+
*/
|
|
2808
|
+
subgraphs_enabled: boolean;
|
|
2820
2809
|
/**
|
|
2821
2810
|
* Subgraph Count
|
|
2822
2811
|
* Total number of subgraphs
|
|
@@ -3500,6 +3489,17 @@ export type PlaidConnectionConfig = {
|
|
|
3500
3489
|
[key: string]: unknown;
|
|
3501
3490
|
}> | null;
|
|
3502
3491
|
};
|
|
3492
|
+
/**
|
|
3493
|
+
* PortalSessionResponse
|
|
3494
|
+
* Response for customer portal session creation.
|
|
3495
|
+
*/
|
|
3496
|
+
export type PortalSessionResponse = {
|
|
3497
|
+
/**
|
|
3498
|
+
* Portal Url
|
|
3499
|
+
* Stripe Customer Portal URL where user can manage payment methods
|
|
3500
|
+
*/
|
|
3501
|
+
portal_url: string;
|
|
3502
|
+
};
|
|
3503
3503
|
/**
|
|
3504
3504
|
* QueryLimits
|
|
3505
3505
|
* Query operation limits.
|
|
@@ -4568,32 +4568,6 @@ export type UpdatePasswordRequest = {
|
|
|
4568
4568
|
*/
|
|
4569
4569
|
confirm_password: string;
|
|
4570
4570
|
};
|
|
4571
|
-
/**
|
|
4572
|
-
* UpdatePaymentMethodRequest
|
|
4573
|
-
* Request to update default payment method.
|
|
4574
|
-
*/
|
|
4575
|
-
export type UpdatePaymentMethodRequest = {
|
|
4576
|
-
/**
|
|
4577
|
-
* Payment Method Id
|
|
4578
|
-
* Payment method ID to set as default
|
|
4579
|
-
*/
|
|
4580
|
-
payment_method_id: string;
|
|
4581
|
-
};
|
|
4582
|
-
/**
|
|
4583
|
-
* UpdatePaymentMethodResponse
|
|
4584
|
-
* Response for payment method update.
|
|
4585
|
-
*/
|
|
4586
|
-
export type UpdatePaymentMethodResponse = {
|
|
4587
|
-
/**
|
|
4588
|
-
* Message
|
|
4589
|
-
* Success message
|
|
4590
|
-
*/
|
|
4591
|
-
message: string;
|
|
4592
|
-
/**
|
|
4593
|
-
* Updated payment method
|
|
4594
|
-
*/
|
|
4595
|
-
payment_method: PaymentMethod;
|
|
4596
|
-
};
|
|
4597
4571
|
/**
|
|
4598
4572
|
* UpdateUserRequest
|
|
4599
4573
|
* Request model for updating user profile.
|
|
@@ -5885,6 +5859,41 @@ export type SyncConnectionResponses = {
|
|
|
5885
5859
|
};
|
|
5886
5860
|
};
|
|
5887
5861
|
export type SyncConnectionResponse = SyncConnectionResponses[keyof SyncConnectionResponses];
|
|
5862
|
+
export type ListAgentsData = {
|
|
5863
|
+
body?: never;
|
|
5864
|
+
path: {
|
|
5865
|
+
/**
|
|
5866
|
+
* Graph Id
|
|
5867
|
+
*/
|
|
5868
|
+
graph_id: string;
|
|
5869
|
+
};
|
|
5870
|
+
query?: {
|
|
5871
|
+
/**
|
|
5872
|
+
* Capability
|
|
5873
|
+
* Filter by capability (e.g., 'financial_analysis', 'rag_search')
|
|
5874
|
+
*/
|
|
5875
|
+
capability?: string | null;
|
|
5876
|
+
};
|
|
5877
|
+
url: '/v1/graphs/{graph_id}/agent';
|
|
5878
|
+
};
|
|
5879
|
+
export type ListAgentsErrors = {
|
|
5880
|
+
/**
|
|
5881
|
+
* Unauthorized - Invalid or missing authentication
|
|
5882
|
+
*/
|
|
5883
|
+
401: unknown;
|
|
5884
|
+
/**
|
|
5885
|
+
* Validation Error
|
|
5886
|
+
*/
|
|
5887
|
+
422: HttpValidationError;
|
|
5888
|
+
};
|
|
5889
|
+
export type ListAgentsError = ListAgentsErrors[keyof ListAgentsErrors];
|
|
5890
|
+
export type ListAgentsResponses = {
|
|
5891
|
+
/**
|
|
5892
|
+
* List of agents retrieved successfully
|
|
5893
|
+
*/
|
|
5894
|
+
200: AgentListResponse;
|
|
5895
|
+
};
|
|
5896
|
+
export type ListAgentsResponse = ListAgentsResponses[keyof ListAgentsResponses];
|
|
5888
5897
|
export type AutoSelectAgentData = {
|
|
5889
5898
|
body: AgentRequest;
|
|
5890
5899
|
path: {
|
|
@@ -5893,7 +5902,13 @@ export type AutoSelectAgentData = {
|
|
|
5893
5902
|
*/
|
|
5894
5903
|
graph_id: string;
|
|
5895
5904
|
};
|
|
5896
|
-
query?:
|
|
5905
|
+
query?: {
|
|
5906
|
+
/**
|
|
5907
|
+
* Mode
|
|
5908
|
+
* Override execution mode: sync, async, stream, or auto
|
|
5909
|
+
*/
|
|
5910
|
+
mode?: ResponseMode | null;
|
|
5911
|
+
};
|
|
5897
5912
|
url: '/v1/graphs/{graph_id}/agent';
|
|
5898
5913
|
};
|
|
5899
5914
|
export type AutoSelectAgentErrors = {
|
|
@@ -5924,8 +5939,46 @@ export type AutoSelectAgentResponses = {
|
|
|
5924
5939
|
* Query successfully processed by selected agent
|
|
5925
5940
|
*/
|
|
5926
5941
|
200: AgentResponse;
|
|
5942
|
+
/**
|
|
5943
|
+
* Query queued for async processing with operation tracking
|
|
5944
|
+
*/
|
|
5945
|
+
202: unknown;
|
|
5927
5946
|
};
|
|
5928
5947
|
export type AutoSelectAgentResponse = AutoSelectAgentResponses[keyof AutoSelectAgentResponses];
|
|
5948
|
+
export type GetAgentMetadataData = {
|
|
5949
|
+
body?: never;
|
|
5950
|
+
path: {
|
|
5951
|
+
/**
|
|
5952
|
+
* Graph Id
|
|
5953
|
+
*/
|
|
5954
|
+
graph_id: string;
|
|
5955
|
+
/**
|
|
5956
|
+
* Agent Type
|
|
5957
|
+
* Agent type identifier (e.g., 'financial', 'research', 'rag')
|
|
5958
|
+
*/
|
|
5959
|
+
agent_type: string;
|
|
5960
|
+
};
|
|
5961
|
+
query?: never;
|
|
5962
|
+
url: '/v1/graphs/{graph_id}/agent/{agent_type}';
|
|
5963
|
+
};
|
|
5964
|
+
export type GetAgentMetadataErrors = {
|
|
5965
|
+
/**
|
|
5966
|
+
* Agent type not found
|
|
5967
|
+
*/
|
|
5968
|
+
404: unknown;
|
|
5969
|
+
/**
|
|
5970
|
+
* Validation Error
|
|
5971
|
+
*/
|
|
5972
|
+
422: HttpValidationError;
|
|
5973
|
+
};
|
|
5974
|
+
export type GetAgentMetadataError = GetAgentMetadataErrors[keyof GetAgentMetadataErrors];
|
|
5975
|
+
export type GetAgentMetadataResponses = {
|
|
5976
|
+
/**
|
|
5977
|
+
* Agent metadata retrieved successfully
|
|
5978
|
+
*/
|
|
5979
|
+
200: AgentMetadataResponse;
|
|
5980
|
+
};
|
|
5981
|
+
export type GetAgentMetadataResponse = GetAgentMetadataResponses[keyof GetAgentMetadataResponses];
|
|
5929
5982
|
export type ExecuteSpecificAgentData = {
|
|
5930
5983
|
body: AgentRequest;
|
|
5931
5984
|
path: {
|
|
@@ -5938,7 +5991,13 @@ export type ExecuteSpecificAgentData = {
|
|
|
5938
5991
|
*/
|
|
5939
5992
|
graph_id: string;
|
|
5940
5993
|
};
|
|
5941
|
-
query?:
|
|
5994
|
+
query?: {
|
|
5995
|
+
/**
|
|
5996
|
+
* Mode
|
|
5997
|
+
* Override execution mode: sync, async, stream, or auto
|
|
5998
|
+
*/
|
|
5999
|
+
mode?: ResponseMode | null;
|
|
6000
|
+
};
|
|
5942
6001
|
url: '/v1/graphs/{graph_id}/agent/{agent_type}';
|
|
5943
6002
|
};
|
|
5944
6003
|
export type ExecuteSpecificAgentErrors = {
|
|
@@ -5973,6 +6032,10 @@ export type ExecuteSpecificAgentResponses = {
|
|
|
5973
6032
|
* Query successfully processed by specified agent
|
|
5974
6033
|
*/
|
|
5975
6034
|
200: AgentResponse;
|
|
6035
|
+
/**
|
|
6036
|
+
* Query queued for async processing with operation tracking
|
|
6037
|
+
*/
|
|
6038
|
+
202: unknown;
|
|
5976
6039
|
};
|
|
5977
6040
|
export type ExecuteSpecificAgentResponse = ExecuteSpecificAgentResponses[keyof ExecuteSpecificAgentResponses];
|
|
5978
6041
|
export type BatchProcessQueriesData = {
|
|
@@ -6012,75 +6075,6 @@ export type BatchProcessQueriesResponses = {
|
|
|
6012
6075
|
200: BatchAgentResponse;
|
|
6013
6076
|
};
|
|
6014
6077
|
export type BatchProcessQueriesResponse = BatchProcessQueriesResponses[keyof BatchProcessQueriesResponses];
|
|
6015
|
-
export type ListAgentsData = {
|
|
6016
|
-
body?: never;
|
|
6017
|
-
path: {
|
|
6018
|
-
/**
|
|
6019
|
-
* Graph Id
|
|
6020
|
-
*/
|
|
6021
|
-
graph_id: string;
|
|
6022
|
-
};
|
|
6023
|
-
query?: {
|
|
6024
|
-
/**
|
|
6025
|
-
* Capability
|
|
6026
|
-
* Filter by capability (e.g., 'financial_analysis', 'rag_search')
|
|
6027
|
-
*/
|
|
6028
|
-
capability?: string | null;
|
|
6029
|
-
};
|
|
6030
|
-
url: '/v1/graphs/{graph_id}/agent/list';
|
|
6031
|
-
};
|
|
6032
|
-
export type ListAgentsErrors = {
|
|
6033
|
-
/**
|
|
6034
|
-
* Unauthorized - Invalid or missing authentication
|
|
6035
|
-
*/
|
|
6036
|
-
401: unknown;
|
|
6037
|
-
/**
|
|
6038
|
-
* Validation Error
|
|
6039
|
-
*/
|
|
6040
|
-
422: HttpValidationError;
|
|
6041
|
-
};
|
|
6042
|
-
export type ListAgentsError = ListAgentsErrors[keyof ListAgentsErrors];
|
|
6043
|
-
export type ListAgentsResponses = {
|
|
6044
|
-
/**
|
|
6045
|
-
* List of agents retrieved successfully
|
|
6046
|
-
*/
|
|
6047
|
-
200: AgentListResponse;
|
|
6048
|
-
};
|
|
6049
|
-
export type ListAgentsResponse = ListAgentsResponses[keyof ListAgentsResponses];
|
|
6050
|
-
export type GetAgentMetadataData = {
|
|
6051
|
-
body?: never;
|
|
6052
|
-
path: {
|
|
6053
|
-
/**
|
|
6054
|
-
* Graph Id
|
|
6055
|
-
*/
|
|
6056
|
-
graph_id: string;
|
|
6057
|
-
/**
|
|
6058
|
-
* Agent Type
|
|
6059
|
-
* Agent type identifier (e.g., 'financial', 'research', 'rag')
|
|
6060
|
-
*/
|
|
6061
|
-
agent_type: string;
|
|
6062
|
-
};
|
|
6063
|
-
query?: never;
|
|
6064
|
-
url: '/v1/graphs/{graph_id}/agent/{agent_type}/metadata';
|
|
6065
|
-
};
|
|
6066
|
-
export type GetAgentMetadataErrors = {
|
|
6067
|
-
/**
|
|
6068
|
-
* Agent type not found
|
|
6069
|
-
*/
|
|
6070
|
-
404: unknown;
|
|
6071
|
-
/**
|
|
6072
|
-
* Validation Error
|
|
6073
|
-
*/
|
|
6074
|
-
422: HttpValidationError;
|
|
6075
|
-
};
|
|
6076
|
-
export type GetAgentMetadataError = GetAgentMetadataErrors[keyof GetAgentMetadataErrors];
|
|
6077
|
-
export type GetAgentMetadataResponses = {
|
|
6078
|
-
/**
|
|
6079
|
-
* Agent metadata retrieved successfully
|
|
6080
|
-
*/
|
|
6081
|
-
200: AgentMetadataResponse;
|
|
6082
|
-
};
|
|
6083
|
-
export type GetAgentMetadataResponse = GetAgentMetadataResponses[keyof GetAgentMetadataResponses];
|
|
6084
6078
|
export type RecommendAgentData = {
|
|
6085
6079
|
body: AgentRecommendationRequest;
|
|
6086
6080
|
path: {
|
|
@@ -6747,6 +6741,7 @@ export type ListCreditTransactionsData = {
|
|
|
6747
6741
|
path: {
|
|
6748
6742
|
/**
|
|
6749
6743
|
* Graph Id
|
|
6744
|
+
* Graph database identifier
|
|
6750
6745
|
*/
|
|
6751
6746
|
graph_id: string;
|
|
6752
6747
|
};
|
|
@@ -7249,40 +7244,6 @@ export type GetSubgraphQuotaResponses = {
|
|
|
7249
7244
|
200: SubgraphQuotaResponse;
|
|
7250
7245
|
};
|
|
7251
7246
|
export type GetSubgraphQuotaResponse = GetSubgraphQuotaResponses[keyof GetSubgraphQuotaResponses];
|
|
7252
|
-
export type CancelSubscriptionData = {
|
|
7253
|
-
body?: never;
|
|
7254
|
-
path: {
|
|
7255
|
-
/**
|
|
7256
|
-
* Graph Id
|
|
7257
|
-
* Graph ID or repository name
|
|
7258
|
-
*/
|
|
7259
|
-
graph_id: string;
|
|
7260
|
-
};
|
|
7261
|
-
query?: never;
|
|
7262
|
-
url: '/v1/graphs/{graph_id}/subscriptions';
|
|
7263
|
-
};
|
|
7264
|
-
export type CancelSubscriptionErrors = {
|
|
7265
|
-
/**
|
|
7266
|
-
* Cannot cancel graph subscriptions directly
|
|
7267
|
-
*/
|
|
7268
|
-
400: unknown;
|
|
7269
|
-
/**
|
|
7270
|
-
* No subscription found
|
|
7271
|
-
*/
|
|
7272
|
-
404: unknown;
|
|
7273
|
-
/**
|
|
7274
|
-
* Validation Error
|
|
7275
|
-
*/
|
|
7276
|
-
422: HttpValidationError;
|
|
7277
|
-
};
|
|
7278
|
-
export type CancelSubscriptionError = CancelSubscriptionErrors[keyof CancelSubscriptionErrors];
|
|
7279
|
-
export type CancelSubscriptionResponses = {
|
|
7280
|
-
/**
|
|
7281
|
-
* Subscription canceled successfully
|
|
7282
|
-
*/
|
|
7283
|
-
200: CancellationResponse;
|
|
7284
|
-
};
|
|
7285
|
-
export type CancelSubscriptionResponse = CancelSubscriptionResponses[keyof CancelSubscriptionResponses];
|
|
7286
7247
|
export type GetGraphSubscriptionData = {
|
|
7287
7248
|
body?: never;
|
|
7288
7249
|
path: {
|
|
@@ -8073,8 +8034,8 @@ export type GetOrgBillingCustomerResponses = {
|
|
|
8073
8034
|
200: BillingCustomer;
|
|
8074
8035
|
};
|
|
8075
8036
|
export type GetOrgBillingCustomerResponse = GetOrgBillingCustomerResponses[keyof GetOrgBillingCustomerResponses];
|
|
8076
|
-
export type
|
|
8077
|
-
body
|
|
8037
|
+
export type CreatePortalSessionData = {
|
|
8038
|
+
body?: never;
|
|
8078
8039
|
path: {
|
|
8079
8040
|
/**
|
|
8080
8041
|
* Org Id
|
|
@@ -8082,22 +8043,22 @@ export type UpdateOrgPaymentMethodData = {
|
|
|
8082
8043
|
org_id: string;
|
|
8083
8044
|
};
|
|
8084
8045
|
query?: never;
|
|
8085
|
-
url: '/v1/billing/customer/{org_id}/
|
|
8046
|
+
url: '/v1/billing/customer/{org_id}/portal';
|
|
8086
8047
|
};
|
|
8087
|
-
export type
|
|
8048
|
+
export type CreatePortalSessionErrors = {
|
|
8088
8049
|
/**
|
|
8089
8050
|
* Validation Error
|
|
8090
8051
|
*/
|
|
8091
8052
|
422: HttpValidationError;
|
|
8092
8053
|
};
|
|
8093
|
-
export type
|
|
8094
|
-
export type
|
|
8054
|
+
export type CreatePortalSessionError = CreatePortalSessionErrors[keyof CreatePortalSessionErrors];
|
|
8055
|
+
export type CreatePortalSessionResponses = {
|
|
8095
8056
|
/**
|
|
8096
8057
|
* Successful Response
|
|
8097
8058
|
*/
|
|
8098
|
-
200:
|
|
8059
|
+
200: PortalSessionResponse;
|
|
8099
8060
|
};
|
|
8100
|
-
export type
|
|
8061
|
+
export type CreatePortalSessionResponse = CreatePortalSessionResponses[keyof CreatePortalSessionResponses];
|
|
8101
8062
|
export type ListOrgSubscriptionsData = {
|
|
8102
8063
|
body?: never;
|
|
8103
8064
|
path: {
|