@robosystems/client 0.3.41 → 0.3.42

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
@@ -6706,6 +6706,12 @@ export type McpToolsResponse = {
6706
6706
  tools: Array<{
6707
6707
  [key: string]: unknown;
6708
6708
  }>;
6709
+ /**
6710
+ * Instructions
6711
+ *
6712
+ * Per-graph routing guidance for MCP clients, tailored to the graph's category and live tool set. Clients should pass this to the MCP server's `instructions` handshake field so it is always in the agent's context.
6713
+ */
6714
+ instructions?: string | null;
6709
6715
  };
6710
6716
 
6711
6717
  /**
@@ -15632,32 +15638,31 @@ export type GetOrgUsageResponses = {
15632
15638
 
15633
15639
  export type GetOrgUsageResponse = GetOrgUsageResponses[keyof GetOrgUsageResponses];
15634
15640
 
15635
- export type ListConnectionsData = {
15636
- body?: never;
15637
- path: {
15641
+ export type SyncConnectionData = {
15642
+ body: SyncConnectionRequest;
15643
+ headers?: {
15638
15644
  /**
15639
- * Graph Id
15645
+ * Idempotency-Key
15640
15646
  */
15641
- graph_id: string;
15647
+ 'Idempotency-Key'?: string | null;
15642
15648
  };
15643
- query?: {
15649
+ path: {
15644
15650
  /**
15645
- * Entity Id
15646
- *
15647
- * Filter by entity ID
15651
+ * Graph Id
15648
15652
  */
15649
- entity_id?: string | null;
15653
+ graph_id: string;
15650
15654
  /**
15651
- * Provider
15655
+ * Connection Id
15652
15656
  *
15653
- * Filter by provider type
15657
+ * Connection identifier
15654
15658
  */
15655
- provider?: 'sec' | 'quickbooks' | null;
15659
+ connection_id: string;
15656
15660
  };
15657
- url: '/v1/graphs/{graph_id}/connections';
15661
+ query?: never;
15662
+ url: '/v1/graphs/{graph_id}/connections/{connection_id}/sync';
15658
15663
  };
15659
15664
 
15660
- export type ListConnectionsErrors = {
15665
+ export type SyncConnectionErrors = {
15661
15666
  /**
15662
15667
  * Invalid request
15663
15668
  */
@@ -15675,9 +15680,13 @@ export type ListConnectionsErrors = {
15675
15680
  */
15676
15681
  404: ErrorResponse;
15677
15682
  /**
15678
- * Validation Error
15683
+ * Idempotency-Key conflict — key reused with different body
15679
15684
  */
15680
- 422: HttpValidationError;
15685
+ 409: ErrorResponse;
15686
+ /**
15687
+ * Validation error
15688
+ */
15689
+ 422: ErrorResponse;
15681
15690
  /**
15682
15691
  * Rate limit exceeded
15683
15692
  */
@@ -15686,23 +15695,25 @@ export type ListConnectionsErrors = {
15686
15695
  * Internal server error
15687
15696
  */
15688
15697
  500: ErrorResponse;
15698
+ /**
15699
+ * Sync request timed out
15700
+ */
15701
+ 504: unknown;
15689
15702
  };
15690
15703
 
15691
- export type ListConnectionsError = ListConnectionsErrors[keyof ListConnectionsErrors];
15704
+ export type SyncConnectionError = SyncConnectionErrors[keyof SyncConnectionErrors];
15692
15705
 
15693
- export type ListConnectionsResponses = {
15706
+ export type SyncConnectionResponses = {
15694
15707
  /**
15695
- * Response Listconnections
15696
- *
15697
15708
  * Successful Response
15698
15709
  */
15699
- 200: Array<ConnectionResponse>;
15710
+ 202: OperationEnvelope;
15700
15711
  };
15701
15712
 
15702
- export type ListConnectionsResponse = ListConnectionsResponses[keyof ListConnectionsResponses];
15713
+ export type SyncConnectionResponse = SyncConnectionResponses[keyof SyncConnectionResponses];
15703
15714
 
15704
- export type CreateConnectionData = {
15705
- body: CreateConnectionRequest;
15715
+ export type GetConnectionOptionsData = {
15716
+ body?: never;
15706
15717
  path: {
15707
15718
  /**
15708
15719
  * Graph Id
@@ -15710,10 +15721,10 @@ export type CreateConnectionData = {
15710
15721
  graph_id: string;
15711
15722
  };
15712
15723
  query?: never;
15713
- url: '/v1/graphs/{graph_id}/connections';
15724
+ url: '/v1/graphs/{graph_id}/connections/options';
15714
15725
  };
15715
15726
 
15716
- export type CreateConnectionErrors = {
15727
+ export type GetConnectionOptionsErrors = {
15717
15728
  /**
15718
15729
  * Invalid request
15719
15730
  */
@@ -15730,10 +15741,6 @@ export type CreateConnectionErrors = {
15730
15741
  * Resource not found
15731
15742
  */
15732
15743
  404: ErrorResponse;
15733
- /**
15734
- * Connection already exists for this provider
15735
- */
15736
- 409: unknown;
15737
15744
  /**
15738
15745
  * Validation Error
15739
15746
  */
@@ -15748,19 +15755,19 @@ export type CreateConnectionErrors = {
15748
15755
  500: ErrorResponse;
15749
15756
  };
15750
15757
 
15751
- export type CreateConnectionError = CreateConnectionErrors[keyof CreateConnectionErrors];
15758
+ export type GetConnectionOptionsError = GetConnectionOptionsErrors[keyof GetConnectionOptionsErrors];
15752
15759
 
15753
- export type CreateConnectionResponses = {
15760
+ export type GetConnectionOptionsResponses = {
15754
15761
  /**
15755
15762
  * Successful Response
15756
15763
  */
15757
- 201: ConnectionResponse;
15764
+ 200: ConnectionOptionsResponse;
15758
15765
  };
15759
15766
 
15760
- export type CreateConnectionResponse = CreateConnectionResponses[keyof CreateConnectionResponses];
15767
+ export type GetConnectionOptionsResponse = GetConnectionOptionsResponses[keyof GetConnectionOptionsResponses];
15761
15768
 
15762
- export type GetConnectionOptionsData = {
15763
- body?: never;
15769
+ export type InitOAuthData = {
15770
+ body: OAuthInitRequest;
15764
15771
  path: {
15765
15772
  /**
15766
15773
  * Graph Id
@@ -15768,10 +15775,10 @@ export type GetConnectionOptionsData = {
15768
15775
  graph_id: string;
15769
15776
  };
15770
15777
  query?: never;
15771
- url: '/v1/graphs/{graph_id}/connections/options';
15778
+ url: '/v1/graphs/{graph_id}/connections/oauth/init';
15772
15779
  };
15773
15780
 
15774
- export type GetConnectionOptionsErrors = {
15781
+ export type InitOAuthErrors = {
15775
15782
  /**
15776
15783
  * Invalid request
15777
15784
  */
@@ -15802,30 +15809,36 @@ export type GetConnectionOptionsErrors = {
15802
15809
  500: ErrorResponse;
15803
15810
  };
15804
15811
 
15805
- export type GetConnectionOptionsError = GetConnectionOptionsErrors[keyof GetConnectionOptionsErrors];
15812
+ export type InitOAuthError = InitOAuthErrors[keyof InitOAuthErrors];
15806
15813
 
15807
- export type GetConnectionOptionsResponses = {
15814
+ export type InitOAuthResponses = {
15808
15815
  /**
15809
15816
  * Successful Response
15810
15817
  */
15811
- 200: ConnectionOptionsResponse;
15818
+ 200: OAuthInitResponse;
15812
15819
  };
15813
15820
 
15814
- export type GetConnectionOptionsResponse = GetConnectionOptionsResponses[keyof GetConnectionOptionsResponses];
15821
+ export type InitOAuthResponse = InitOAuthResponses[keyof InitOAuthResponses];
15815
15822
 
15816
- export type InitOAuthData = {
15817
- body: OAuthInitRequest;
15823
+ export type OauthCallbackData = {
15824
+ body: OAuthCallbackRequest;
15818
15825
  path: {
15826
+ /**
15827
+ * Provider
15828
+ *
15829
+ * OAuth provider name
15830
+ */
15831
+ provider: string;
15819
15832
  /**
15820
15833
  * Graph Id
15821
15834
  */
15822
15835
  graph_id: string;
15823
15836
  };
15824
15837
  query?: never;
15825
- url: '/v1/graphs/{graph_id}/connections/oauth/init';
15838
+ url: '/v1/graphs/{graph_id}/connections/oauth/callback/{provider}';
15826
15839
  };
15827
15840
 
15828
- export type InitOAuthErrors = {
15841
+ export type OauthCallbackErrors = {
15829
15842
  /**
15830
15843
  * Invalid request
15831
15844
  */
@@ -15856,36 +15869,41 @@ export type InitOAuthErrors = {
15856
15869
  500: ErrorResponse;
15857
15870
  };
15858
15871
 
15859
- export type InitOAuthError = InitOAuthErrors[keyof InitOAuthErrors];
15872
+ export type OauthCallbackError = OauthCallbackErrors[keyof OauthCallbackErrors];
15860
15873
 
15861
- export type InitOAuthResponses = {
15874
+ export type OauthCallbackResponses = {
15862
15875
  /**
15863
15876
  * Successful Response
15864
15877
  */
15865
- 200: OAuthInitResponse;
15878
+ 200: unknown;
15866
15879
  };
15867
15880
 
15868
- export type InitOAuthResponse = InitOAuthResponses[keyof InitOAuthResponses];
15869
-
15870
- export type OauthCallbackData = {
15871
- body: OAuthCallbackRequest;
15881
+ export type ListConnectionsData = {
15882
+ body?: never;
15872
15883
  path: {
15873
15884
  /**
15874
- * Provider
15885
+ * Graph Id
15886
+ */
15887
+ graph_id: string;
15888
+ };
15889
+ query?: {
15890
+ /**
15891
+ * Entity Id
15875
15892
  *
15876
- * OAuth provider name
15893
+ * Filter by entity ID
15877
15894
  */
15878
- provider: string;
15895
+ entity_id?: string | null;
15879
15896
  /**
15880
- * Graph Id
15897
+ * Provider
15898
+ *
15899
+ * Filter by provider type
15881
15900
  */
15882
- graph_id: string;
15901
+ provider?: 'sec' | 'quickbooks' | null;
15883
15902
  };
15884
- query?: never;
15885
- url: '/v1/graphs/{graph_id}/connections/oauth/callback/{provider}';
15903
+ url: '/v1/graphs/{graph_id}/connections';
15886
15904
  };
15887
15905
 
15888
- export type OauthCallbackErrors = {
15906
+ export type ListConnectionsErrors = {
15889
15907
  /**
15890
15908
  * Invalid request
15891
15909
  */
@@ -15916,34 +15934,32 @@ export type OauthCallbackErrors = {
15916
15934
  500: ErrorResponse;
15917
15935
  };
15918
15936
 
15919
- export type OauthCallbackError = OauthCallbackErrors[keyof OauthCallbackErrors];
15937
+ export type ListConnectionsError = ListConnectionsErrors[keyof ListConnectionsErrors];
15920
15938
 
15921
- export type OauthCallbackResponses = {
15939
+ export type ListConnectionsResponses = {
15922
15940
  /**
15941
+ * Response Listconnections
15942
+ *
15923
15943
  * Successful Response
15924
15944
  */
15925
- 200: unknown;
15945
+ 200: Array<ConnectionResponse>;
15926
15946
  };
15927
15947
 
15928
- export type DeleteConnectionData = {
15929
- body?: never;
15948
+ export type ListConnectionsResponse = ListConnectionsResponses[keyof ListConnectionsResponses];
15949
+
15950
+ export type CreateConnectionData = {
15951
+ body: CreateConnectionRequest;
15930
15952
  path: {
15931
15953
  /**
15932
15954
  * Graph Id
15933
15955
  */
15934
15956
  graph_id: string;
15935
- /**
15936
- * Connection Id
15937
- *
15938
- * Connection identifier
15939
- */
15940
- connection_id: string;
15941
15957
  };
15942
15958
  query?: never;
15943
- url: '/v1/graphs/{graph_id}/connections/{connection_id}';
15959
+ url: '/v1/graphs/{graph_id}/connections';
15944
15960
  };
15945
15961
 
15946
- export type DeleteConnectionErrors = {
15962
+ export type CreateConnectionErrors = {
15947
15963
  /**
15948
15964
  * Invalid request
15949
15965
  */
@@ -15960,6 +15976,10 @@ export type DeleteConnectionErrors = {
15960
15976
  * Resource not found
15961
15977
  */
15962
15978
  404: ErrorResponse;
15979
+ /**
15980
+ * Connection already exists for this provider
15981
+ */
15982
+ 409: unknown;
15963
15983
  /**
15964
15984
  * Validation Error
15965
15985
  */
@@ -15974,18 +15994,18 @@ export type DeleteConnectionErrors = {
15974
15994
  500: ErrorResponse;
15975
15995
  };
15976
15996
 
15977
- export type DeleteConnectionError = DeleteConnectionErrors[keyof DeleteConnectionErrors];
15997
+ export type CreateConnectionError = CreateConnectionErrors[keyof CreateConnectionErrors];
15978
15998
 
15979
- export type DeleteConnectionResponses = {
15999
+ export type CreateConnectionResponses = {
15980
16000
  /**
15981
16001
  * Successful Response
15982
16002
  */
15983
- 200: SuccessResponse;
16003
+ 201: ConnectionResponse;
15984
16004
  };
15985
16005
 
15986
- export type DeleteConnectionResponse = DeleteConnectionResponses[keyof DeleteConnectionResponses];
16006
+ export type CreateConnectionResponse = CreateConnectionResponses[keyof CreateConnectionResponses];
15987
16007
 
15988
- export type GetConnectionData = {
16008
+ export type DeleteConnectionData = {
15989
16009
  body?: never;
15990
16010
  path: {
15991
16011
  /**
@@ -15995,7 +16015,7 @@ export type GetConnectionData = {
15995
16015
  /**
15996
16016
  * Connection Id
15997
16017
  *
15998
- * Unique connection identifier
16018
+ * Connection identifier
15999
16019
  */
16000
16020
  connection_id: string;
16001
16021
  };
@@ -16003,7 +16023,7 @@ export type GetConnectionData = {
16003
16023
  url: '/v1/graphs/{graph_id}/connections/{connection_id}';
16004
16024
  };
16005
16025
 
16006
- export type GetConnectionErrors = {
16026
+ export type DeleteConnectionErrors = {
16007
16027
  /**
16008
16028
  * Invalid request
16009
16029
  */
@@ -16034,25 +16054,19 @@ export type GetConnectionErrors = {
16034
16054
  500: ErrorResponse;
16035
16055
  };
16036
16056
 
16037
- export type GetConnectionError = GetConnectionErrors[keyof GetConnectionErrors];
16057
+ export type DeleteConnectionError = DeleteConnectionErrors[keyof DeleteConnectionErrors];
16038
16058
 
16039
- export type GetConnectionResponses = {
16059
+ export type DeleteConnectionResponses = {
16040
16060
  /**
16041
16061
  * Successful Response
16042
16062
  */
16043
- 200: ConnectionResponse;
16063
+ 200: SuccessResponse;
16044
16064
  };
16045
16065
 
16046
- export type GetConnectionResponse = GetConnectionResponses[keyof GetConnectionResponses];
16066
+ export type DeleteConnectionResponse = DeleteConnectionResponses[keyof DeleteConnectionResponses];
16047
16067
 
16048
- export type SyncConnectionData = {
16049
- body: SyncConnectionRequest;
16050
- headers?: {
16051
- /**
16052
- * Idempotency-Key
16053
- */
16054
- 'Idempotency-Key'?: string | null;
16055
- };
16068
+ export type GetConnectionData = {
16069
+ body?: never;
16056
16070
  path: {
16057
16071
  /**
16058
16072
  * Graph Id
@@ -16061,15 +16075,15 @@ export type SyncConnectionData = {
16061
16075
  /**
16062
16076
  * Connection Id
16063
16077
  *
16064
- * Connection identifier
16078
+ * Unique connection identifier
16065
16079
  */
16066
16080
  connection_id: string;
16067
16081
  };
16068
16082
  query?: never;
16069
- url: '/v1/graphs/{graph_id}/connections/{connection_id}/sync';
16083
+ url: '/v1/graphs/{graph_id}/connections/{connection_id}';
16070
16084
  };
16071
16085
 
16072
- export type SyncConnectionErrors = {
16086
+ export type GetConnectionErrors = {
16073
16087
  /**
16074
16088
  * Invalid request
16075
16089
  */
@@ -16087,13 +16101,9 @@ export type SyncConnectionErrors = {
16087
16101
  */
16088
16102
  404: ErrorResponse;
16089
16103
  /**
16090
- * Idempotency-Key conflict — key reused with different body
16091
- */
16092
- 409: ErrorResponse;
16093
- /**
16094
- * Validation error
16104
+ * Validation Error
16095
16105
  */
16096
- 422: ErrorResponse;
16106
+ 422: HttpValidationError;
16097
16107
  /**
16098
16108
  * Rate limit exceeded
16099
16109
  */
@@ -16102,22 +16112,18 @@ export type SyncConnectionErrors = {
16102
16112
  * Internal server error
16103
16113
  */
16104
16114
  500: ErrorResponse;
16105
- /**
16106
- * Sync request timed out
16107
- */
16108
- 504: unknown;
16109
16115
  };
16110
16116
 
16111
- export type SyncConnectionError = SyncConnectionErrors[keyof SyncConnectionErrors];
16117
+ export type GetConnectionError = GetConnectionErrors[keyof GetConnectionErrors];
16112
16118
 
16113
- export type SyncConnectionResponses = {
16119
+ export type GetConnectionResponses = {
16114
16120
  /**
16115
16121
  * Successful Response
16116
16122
  */
16117
- 202: OperationEnvelope;
16123
+ 200: ConnectionResponse;
16118
16124
  };
16119
16125
 
16120
- export type SyncConnectionResponse = SyncConnectionResponses[keyof SyncConnectionResponses];
16126
+ export type GetConnectionResponse = GetConnectionResponses[keyof GetConnectionResponses];
16121
16127
 
16122
16128
  export type SetConnectionWritePolicyData = {
16123
16129
  body: SetWritePolicyRequest;