@robosystems/client 0.2.30 → 0.2.32
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/README.md +1 -1
- package/index.ts +2 -2
- package/package.json +1 -1
- package/sdk/index.d.ts +2 -2
- package/sdk/index.js +12 -3
- package/sdk/index.ts +2 -2
- package/sdk/sdk.gen.d.ts +194 -11
- package/sdk/sdk.gen.js +257 -21
- package/sdk/sdk.gen.ts +255 -20
- package/sdk/types.gen.d.ts +769 -40
- package/sdk/types.gen.ts +830 -51
- package/sdk.gen.d.ts +194 -11
- package/sdk.gen.js +257 -21
- package/sdk.gen.ts +255 -20
- package/types.gen.d.ts +769 -40
- package/types.gen.ts +830 -51
package/sdk/types.gen.ts
CHANGED
|
@@ -975,6 +975,164 @@ export type CheckoutStatusResponse = {
|
|
|
975
975
|
error?: string | null;
|
|
976
976
|
};
|
|
977
977
|
|
|
978
|
+
/**
|
|
979
|
+
* ConnectionOptionsResponse
|
|
980
|
+
*
|
|
981
|
+
* Response with all available connection options.
|
|
982
|
+
*/
|
|
983
|
+
export type ConnectionOptionsResponse = {
|
|
984
|
+
/**
|
|
985
|
+
* Providers
|
|
986
|
+
*
|
|
987
|
+
* Available connection providers
|
|
988
|
+
*/
|
|
989
|
+
providers: Array<ConnectionProviderInfo>;
|
|
990
|
+
/**
|
|
991
|
+
* Total Providers
|
|
992
|
+
*
|
|
993
|
+
* Total number of providers
|
|
994
|
+
*/
|
|
995
|
+
total_providers: number;
|
|
996
|
+
};
|
|
997
|
+
|
|
998
|
+
/**
|
|
999
|
+
* ConnectionProviderInfo
|
|
1000
|
+
*
|
|
1001
|
+
* Information about a connection provider.
|
|
1002
|
+
*/
|
|
1003
|
+
export type ConnectionProviderInfo = {
|
|
1004
|
+
/**
|
|
1005
|
+
* Provider
|
|
1006
|
+
*
|
|
1007
|
+
* Provider identifier
|
|
1008
|
+
*/
|
|
1009
|
+
provider: 'sec' | 'quickbooks' | 'plaid';
|
|
1010
|
+
/**
|
|
1011
|
+
* Display Name
|
|
1012
|
+
*
|
|
1013
|
+
* Human-readable provider name
|
|
1014
|
+
*/
|
|
1015
|
+
display_name: string;
|
|
1016
|
+
/**
|
|
1017
|
+
* Description
|
|
1018
|
+
*
|
|
1019
|
+
* Provider description
|
|
1020
|
+
*/
|
|
1021
|
+
description: string;
|
|
1022
|
+
/**
|
|
1023
|
+
* Auth Type
|
|
1024
|
+
*
|
|
1025
|
+
* Authentication type
|
|
1026
|
+
*/
|
|
1027
|
+
auth_type: 'none' | 'oauth' | 'link' | 'api_key';
|
|
1028
|
+
/**
|
|
1029
|
+
* Auth Flow
|
|
1030
|
+
*
|
|
1031
|
+
* Description of authentication flow
|
|
1032
|
+
*/
|
|
1033
|
+
auth_flow?: string | null;
|
|
1034
|
+
/**
|
|
1035
|
+
* Required Config
|
|
1036
|
+
*
|
|
1037
|
+
* Required configuration fields
|
|
1038
|
+
*/
|
|
1039
|
+
required_config: Array<string>;
|
|
1040
|
+
/**
|
|
1041
|
+
* Optional Config
|
|
1042
|
+
*
|
|
1043
|
+
* Optional configuration fields
|
|
1044
|
+
*/
|
|
1045
|
+
optional_config?: Array<string>;
|
|
1046
|
+
/**
|
|
1047
|
+
* Features
|
|
1048
|
+
*
|
|
1049
|
+
* Supported features
|
|
1050
|
+
*/
|
|
1051
|
+
features: Array<string>;
|
|
1052
|
+
/**
|
|
1053
|
+
* Sync Frequency
|
|
1054
|
+
*
|
|
1055
|
+
* Typical sync frequency
|
|
1056
|
+
*/
|
|
1057
|
+
sync_frequency?: string | null;
|
|
1058
|
+
/**
|
|
1059
|
+
* Data Types
|
|
1060
|
+
*
|
|
1061
|
+
* Types of data available
|
|
1062
|
+
*/
|
|
1063
|
+
data_types: Array<string>;
|
|
1064
|
+
/**
|
|
1065
|
+
* Setup Instructions
|
|
1066
|
+
*
|
|
1067
|
+
* Setup instructions
|
|
1068
|
+
*/
|
|
1069
|
+
setup_instructions?: string | null;
|
|
1070
|
+
/**
|
|
1071
|
+
* Documentation Url
|
|
1072
|
+
*
|
|
1073
|
+
* Link to documentation
|
|
1074
|
+
*/
|
|
1075
|
+
documentation_url?: string | null;
|
|
1076
|
+
};
|
|
1077
|
+
|
|
1078
|
+
/**
|
|
1079
|
+
* ConnectionResponse
|
|
1080
|
+
*
|
|
1081
|
+
* Connection response model.
|
|
1082
|
+
*/
|
|
1083
|
+
export type ConnectionResponse = {
|
|
1084
|
+
/**
|
|
1085
|
+
* Connection Id
|
|
1086
|
+
*
|
|
1087
|
+
* Unique connection identifier
|
|
1088
|
+
*/
|
|
1089
|
+
connection_id: string;
|
|
1090
|
+
/**
|
|
1091
|
+
* Provider
|
|
1092
|
+
*
|
|
1093
|
+
* Connection provider type
|
|
1094
|
+
*/
|
|
1095
|
+
provider: string;
|
|
1096
|
+
/**
|
|
1097
|
+
* Entity Id
|
|
1098
|
+
*
|
|
1099
|
+
* Entity identifier
|
|
1100
|
+
*/
|
|
1101
|
+
entity_id: string;
|
|
1102
|
+
/**
|
|
1103
|
+
* Status
|
|
1104
|
+
*
|
|
1105
|
+
* Connection status
|
|
1106
|
+
*/
|
|
1107
|
+
status: string;
|
|
1108
|
+
/**
|
|
1109
|
+
* Created At
|
|
1110
|
+
*
|
|
1111
|
+
* Creation timestamp
|
|
1112
|
+
*/
|
|
1113
|
+
created_at: string;
|
|
1114
|
+
/**
|
|
1115
|
+
* Updated At
|
|
1116
|
+
*
|
|
1117
|
+
* Last update timestamp
|
|
1118
|
+
*/
|
|
1119
|
+
updated_at?: string | null;
|
|
1120
|
+
/**
|
|
1121
|
+
* Last Sync
|
|
1122
|
+
*
|
|
1123
|
+
* Last sync timestamp
|
|
1124
|
+
*/
|
|
1125
|
+
last_sync?: string | null;
|
|
1126
|
+
/**
|
|
1127
|
+
* Metadata
|
|
1128
|
+
*
|
|
1129
|
+
* Provider-specific metadata
|
|
1130
|
+
*/
|
|
1131
|
+
metadata: {
|
|
1132
|
+
[key: string]: unknown;
|
|
1133
|
+
};
|
|
1134
|
+
};
|
|
1135
|
+
|
|
978
1136
|
/**
|
|
979
1137
|
* ContentLimits
|
|
980
1138
|
*
|
|
@@ -1147,6 +1305,29 @@ export type CreateCheckoutRequest = {
|
|
|
1147
1305
|
};
|
|
1148
1306
|
};
|
|
1149
1307
|
|
|
1308
|
+
/**
|
|
1309
|
+
* CreateConnectionRequest
|
|
1310
|
+
*
|
|
1311
|
+
* Request to create a new connection.
|
|
1312
|
+
*/
|
|
1313
|
+
export type CreateConnectionRequest = {
|
|
1314
|
+
/**
|
|
1315
|
+
* Provider
|
|
1316
|
+
*
|
|
1317
|
+
* Connection provider type
|
|
1318
|
+
*/
|
|
1319
|
+
provider: 'sec' | 'quickbooks' | 'plaid';
|
|
1320
|
+
/**
|
|
1321
|
+
* Entity Id
|
|
1322
|
+
*
|
|
1323
|
+
* Entity identifier
|
|
1324
|
+
*/
|
|
1325
|
+
entity_id: string;
|
|
1326
|
+
sec_config?: SecConnectionConfig | null;
|
|
1327
|
+
quickbooks_config?: QuickBooksConnectionConfig | null;
|
|
1328
|
+
plaid_config?: PlaidConnectionConfig | null;
|
|
1329
|
+
};
|
|
1330
|
+
|
|
1150
1331
|
/**
|
|
1151
1332
|
* CreateGraphRequest
|
|
1152
1333
|
*
|
|
@@ -1189,19 +1370,6 @@ export type CreateGraphRequest = {
|
|
|
1189
1370
|
tags?: Array<string>;
|
|
1190
1371
|
};
|
|
1191
1372
|
|
|
1192
|
-
/**
|
|
1193
|
-
* CreateOrgRequest
|
|
1194
|
-
*
|
|
1195
|
-
* Request to create an organization.
|
|
1196
|
-
*/
|
|
1197
|
-
export type CreateOrgRequest = {
|
|
1198
|
-
/**
|
|
1199
|
-
* Name
|
|
1200
|
-
*/
|
|
1201
|
-
name: string;
|
|
1202
|
-
org_type?: OrgType;
|
|
1203
|
-
};
|
|
1204
|
-
|
|
1205
1373
|
/**
|
|
1206
1374
|
* CreateRepositorySubscriptionRequest
|
|
1207
1375
|
*
|
|
@@ -1783,27 +1951,27 @@ export type DetailedTransactionsResponse = {
|
|
|
1783
1951
|
*/
|
|
1784
1952
|
export type DownloadQuota = {
|
|
1785
1953
|
/**
|
|
1786
|
-
* Limit Per
|
|
1954
|
+
* Limit Per Month
|
|
1787
1955
|
*
|
|
1788
|
-
* Maximum downloads allowed per
|
|
1956
|
+
* Maximum downloads allowed per month
|
|
1789
1957
|
*/
|
|
1790
|
-
|
|
1958
|
+
limit_per_month: number;
|
|
1791
1959
|
/**
|
|
1792
|
-
* Used
|
|
1960
|
+
* Used This Month
|
|
1793
1961
|
*
|
|
1794
|
-
* Number of downloads used
|
|
1962
|
+
* Number of downloads used this month
|
|
1795
1963
|
*/
|
|
1796
|
-
|
|
1964
|
+
used_this_month: number;
|
|
1797
1965
|
/**
|
|
1798
1966
|
* Remaining
|
|
1799
1967
|
*
|
|
1800
|
-
* Downloads remaining
|
|
1968
|
+
* Downloads remaining this month
|
|
1801
1969
|
*/
|
|
1802
1970
|
remaining: number;
|
|
1803
1971
|
/**
|
|
1804
1972
|
* Resets At
|
|
1805
1973
|
*
|
|
1806
|
-
* When the
|
|
1974
|
+
* When the monthly limit resets (UTC)
|
|
1807
1975
|
*/
|
|
1808
1976
|
resets_at: string;
|
|
1809
1977
|
};
|
|
@@ -2195,6 +2363,20 @@ export type GetFileInfoResponse = {
|
|
|
2195
2363
|
layers?: EnhancedFileStatusLayers | null;
|
|
2196
2364
|
};
|
|
2197
2365
|
|
|
2366
|
+
/**
|
|
2367
|
+
* GraphCapacityResponse
|
|
2368
|
+
*
|
|
2369
|
+
* Response containing capacity status for all customer-facing tiers.
|
|
2370
|
+
*/
|
|
2371
|
+
export type GraphCapacityResponse = {
|
|
2372
|
+
/**
|
|
2373
|
+
* Tiers
|
|
2374
|
+
*
|
|
2375
|
+
* Capacity status per tier
|
|
2376
|
+
*/
|
|
2377
|
+
tiers: Array<TierCapacity>;
|
|
2378
|
+
};
|
|
2379
|
+
|
|
2198
2380
|
/**
|
|
2199
2381
|
* GraphInfo
|
|
2200
2382
|
*
|
|
@@ -2267,6 +2449,12 @@ export type GraphInfo = {
|
|
|
2267
2449
|
* Type of graph: generic, entity, or repository
|
|
2268
2450
|
*/
|
|
2269
2451
|
graphType?: string;
|
|
2452
|
+
/**
|
|
2453
|
+
* Status
|
|
2454
|
+
*
|
|
2455
|
+
* Graph lifecycle status: queued, provisioning, active, suspended
|
|
2456
|
+
*/
|
|
2457
|
+
status?: string;
|
|
2270
2458
|
};
|
|
2271
2459
|
|
|
2272
2460
|
/**
|
|
@@ -3446,6 +3634,98 @@ export type MaterializeStatusResponse = {
|
|
|
3446
3634
|
message: string;
|
|
3447
3635
|
};
|
|
3448
3636
|
|
|
3637
|
+
/**
|
|
3638
|
+
* OAuthCallbackRequest
|
|
3639
|
+
*
|
|
3640
|
+
* OAuth callback parameters.
|
|
3641
|
+
*/
|
|
3642
|
+
export type OAuthCallbackRequest = {
|
|
3643
|
+
/**
|
|
3644
|
+
* Code
|
|
3645
|
+
*
|
|
3646
|
+
* Authorization code from OAuth provider
|
|
3647
|
+
*/
|
|
3648
|
+
code: string;
|
|
3649
|
+
/**
|
|
3650
|
+
* State
|
|
3651
|
+
*
|
|
3652
|
+
* OAuth state for verification
|
|
3653
|
+
*/
|
|
3654
|
+
state: string;
|
|
3655
|
+
/**
|
|
3656
|
+
* Realm Id
|
|
3657
|
+
*
|
|
3658
|
+
* QuickBooks-specific realm ID
|
|
3659
|
+
*/
|
|
3660
|
+
realm_id?: string | null;
|
|
3661
|
+
/**
|
|
3662
|
+
* Error
|
|
3663
|
+
*
|
|
3664
|
+
* OAuth error if authorization failed
|
|
3665
|
+
*/
|
|
3666
|
+
error?: string | null;
|
|
3667
|
+
/**
|
|
3668
|
+
* Error Description
|
|
3669
|
+
*
|
|
3670
|
+
* OAuth error details
|
|
3671
|
+
*/
|
|
3672
|
+
error_description?: string | null;
|
|
3673
|
+
};
|
|
3674
|
+
|
|
3675
|
+
/**
|
|
3676
|
+
* OAuthInitRequest
|
|
3677
|
+
*
|
|
3678
|
+
* Request to initiate OAuth flow.
|
|
3679
|
+
*/
|
|
3680
|
+
export type OAuthInitRequest = {
|
|
3681
|
+
/**
|
|
3682
|
+
* Connection Id
|
|
3683
|
+
*
|
|
3684
|
+
* Connection ID to link OAuth to
|
|
3685
|
+
*/
|
|
3686
|
+
connection_id: string;
|
|
3687
|
+
/**
|
|
3688
|
+
* Redirect Uri
|
|
3689
|
+
*
|
|
3690
|
+
* Override default redirect URI
|
|
3691
|
+
*/
|
|
3692
|
+
redirect_uri?: string | null;
|
|
3693
|
+
/**
|
|
3694
|
+
* Additional Params
|
|
3695
|
+
*
|
|
3696
|
+
* Provider-specific parameters
|
|
3697
|
+
*/
|
|
3698
|
+
additional_params?: {
|
|
3699
|
+
[key: string]: string;
|
|
3700
|
+
} | null;
|
|
3701
|
+
};
|
|
3702
|
+
|
|
3703
|
+
/**
|
|
3704
|
+
* OAuthInitResponse
|
|
3705
|
+
*
|
|
3706
|
+
* Response with OAuth authorization URL.
|
|
3707
|
+
*/
|
|
3708
|
+
export type OAuthInitResponse = {
|
|
3709
|
+
/**
|
|
3710
|
+
* Auth Url
|
|
3711
|
+
*
|
|
3712
|
+
* URL to redirect user for authorization
|
|
3713
|
+
*/
|
|
3714
|
+
auth_url: string;
|
|
3715
|
+
/**
|
|
3716
|
+
* State
|
|
3717
|
+
*
|
|
3718
|
+
* OAuth state for security
|
|
3719
|
+
*/
|
|
3720
|
+
state: string;
|
|
3721
|
+
/**
|
|
3722
|
+
* Expires At
|
|
3723
|
+
*
|
|
3724
|
+
* When this OAuth request expires
|
|
3725
|
+
*/
|
|
3726
|
+
expires_at: string;
|
|
3727
|
+
};
|
|
3728
|
+
|
|
3449
3729
|
/**
|
|
3450
3730
|
* OfferingRepositoryPlan
|
|
3451
3731
|
*
|
|
@@ -3986,6 +4266,48 @@ export type PerformanceInsights = {
|
|
|
3986
4266
|
performance_score: number;
|
|
3987
4267
|
};
|
|
3988
4268
|
|
|
4269
|
+
/**
|
|
4270
|
+
* PlaidConnectionConfig
|
|
4271
|
+
*
|
|
4272
|
+
* Plaid-specific connection configuration.
|
|
4273
|
+
*/
|
|
4274
|
+
export type PlaidConnectionConfig = {
|
|
4275
|
+
/**
|
|
4276
|
+
* Public Token
|
|
4277
|
+
*
|
|
4278
|
+
* Plaid public token for exchange
|
|
4279
|
+
*/
|
|
4280
|
+
public_token?: string | null;
|
|
4281
|
+
/**
|
|
4282
|
+
* Access Token
|
|
4283
|
+
*
|
|
4284
|
+
* Plaid access token (set after exchange)
|
|
4285
|
+
*/
|
|
4286
|
+
access_token?: string | null;
|
|
4287
|
+
/**
|
|
4288
|
+
* Item Id
|
|
4289
|
+
*
|
|
4290
|
+
* Plaid item ID
|
|
4291
|
+
*/
|
|
4292
|
+
item_id?: string | null;
|
|
4293
|
+
/**
|
|
4294
|
+
* Institution
|
|
4295
|
+
*
|
|
4296
|
+
* Institution information
|
|
4297
|
+
*/
|
|
4298
|
+
institution?: {
|
|
4299
|
+
[key: string]: unknown;
|
|
4300
|
+
} | null;
|
|
4301
|
+
/**
|
|
4302
|
+
* Accounts
|
|
4303
|
+
*
|
|
4304
|
+
* Connected accounts
|
|
4305
|
+
*/
|
|
4306
|
+
accounts?: Array<{
|
|
4307
|
+
[key: string]: unknown;
|
|
4308
|
+
}> | null;
|
|
4309
|
+
};
|
|
4310
|
+
|
|
3989
4311
|
/**
|
|
3990
4312
|
* PortalSessionResponse
|
|
3991
4313
|
*
|
|
@@ -4032,6 +4354,26 @@ export type QueryLimits = {
|
|
|
4032
4354
|
concurrent_queries: number;
|
|
4033
4355
|
};
|
|
4034
4356
|
|
|
4357
|
+
/**
|
|
4358
|
+
* QuickBooksConnectionConfig
|
|
4359
|
+
*
|
|
4360
|
+
* QuickBooks-specific connection configuration.
|
|
4361
|
+
*/
|
|
4362
|
+
export type QuickBooksConnectionConfig = {
|
|
4363
|
+
/**
|
|
4364
|
+
* Realm Id
|
|
4365
|
+
*
|
|
4366
|
+
* QuickBooks Realm ID
|
|
4367
|
+
*/
|
|
4368
|
+
realm_id?: string | null;
|
|
4369
|
+
/**
|
|
4370
|
+
* Refresh Token
|
|
4371
|
+
*
|
|
4372
|
+
* OAuth refresh token
|
|
4373
|
+
*/
|
|
4374
|
+
refresh_token?: string | null;
|
|
4375
|
+
};
|
|
4376
|
+
|
|
4035
4377
|
/**
|
|
4036
4378
|
* RateLimits
|
|
4037
4379
|
*
|
|
@@ -4216,6 +4558,26 @@ export type ResetPasswordValidateResponse = {
|
|
|
4216
4558
|
*/
|
|
4217
4559
|
export type ResponseMode = 'auto' | 'sync' | 'async' | 'stream';
|
|
4218
4560
|
|
|
4561
|
+
/**
|
|
4562
|
+
* SECConnectionConfig
|
|
4563
|
+
*
|
|
4564
|
+
* SEC-specific connection configuration.
|
|
4565
|
+
*/
|
|
4566
|
+
export type SecConnectionConfig = {
|
|
4567
|
+
/**
|
|
4568
|
+
* Cik
|
|
4569
|
+
*
|
|
4570
|
+
* 10-digit CIK number
|
|
4571
|
+
*/
|
|
4572
|
+
cik: string;
|
|
4573
|
+
/**
|
|
4574
|
+
* Entity Name
|
|
4575
|
+
*
|
|
4576
|
+
* Entity name from SEC
|
|
4577
|
+
*/
|
|
4578
|
+
entity_name?: string | null;
|
|
4579
|
+
};
|
|
4580
|
+
|
|
4219
4581
|
/**
|
|
4220
4582
|
* SSOCompleteRequest
|
|
4221
4583
|
*
|
|
@@ -4900,6 +5262,28 @@ export type SuccessResponse = {
|
|
|
4900
5262
|
} | null;
|
|
4901
5263
|
};
|
|
4902
5264
|
|
|
5265
|
+
/**
|
|
5266
|
+
* SyncConnectionRequest
|
|
5267
|
+
*
|
|
5268
|
+
* Request to sync a connection.
|
|
5269
|
+
*/
|
|
5270
|
+
export type SyncConnectionRequest = {
|
|
5271
|
+
/**
|
|
5272
|
+
* Full Sync
|
|
5273
|
+
*
|
|
5274
|
+
* Perform full sync vs incremental
|
|
5275
|
+
*/
|
|
5276
|
+
full_sync?: boolean;
|
|
5277
|
+
/**
|
|
5278
|
+
* Sync Options
|
|
5279
|
+
*
|
|
5280
|
+
* Provider-specific sync options
|
|
5281
|
+
*/
|
|
5282
|
+
sync_options?: {
|
|
5283
|
+
[key: string]: unknown;
|
|
5284
|
+
} | null;
|
|
5285
|
+
};
|
|
5286
|
+
|
|
4903
5287
|
/**
|
|
4904
5288
|
* TableInfo
|
|
4905
5289
|
*/
|
|
@@ -5003,15 +5387,47 @@ export type TableQueryResponse = {
|
|
|
5003
5387
|
};
|
|
5004
5388
|
|
|
5005
5389
|
/**
|
|
5006
|
-
*
|
|
5390
|
+
* TierCapacity
|
|
5007
5391
|
*
|
|
5008
|
-
*
|
|
5392
|
+
* Capacity status for a single tier.
|
|
5009
5393
|
*/
|
|
5010
|
-
export type
|
|
5394
|
+
export type TierCapacity = {
|
|
5011
5395
|
/**
|
|
5012
|
-
*
|
|
5396
|
+
* Tier
|
|
5013
5397
|
*
|
|
5014
|
-
*
|
|
5398
|
+
* Tier identifier (e.g. ladybug-standard)
|
|
5399
|
+
*/
|
|
5400
|
+
tier: string;
|
|
5401
|
+
/**
|
|
5402
|
+
* Display Name
|
|
5403
|
+
*
|
|
5404
|
+
* Human-readable tier name
|
|
5405
|
+
*/
|
|
5406
|
+
display_name: string;
|
|
5407
|
+
/**
|
|
5408
|
+
* Status
|
|
5409
|
+
*
|
|
5410
|
+
* Capacity status: ready, scalable, or at_capacity
|
|
5411
|
+
*/
|
|
5412
|
+
status: string;
|
|
5413
|
+
/**
|
|
5414
|
+
* Message
|
|
5415
|
+
*
|
|
5416
|
+
* Human-readable status message for frontend display
|
|
5417
|
+
*/
|
|
5418
|
+
message: string;
|
|
5419
|
+
};
|
|
5420
|
+
|
|
5421
|
+
/**
|
|
5422
|
+
* TokenPricing
|
|
5423
|
+
*
|
|
5424
|
+
* AI token pricing for a specific model.
|
|
5425
|
+
*/
|
|
5426
|
+
export type TokenPricing = {
|
|
5427
|
+
/**
|
|
5428
|
+
* Input Per 1K Tokens
|
|
5429
|
+
*
|
|
5430
|
+
* Credits per 1K input tokens
|
|
5015
5431
|
*/
|
|
5016
5432
|
input_per_1k_tokens: number;
|
|
5017
5433
|
/**
|
|
@@ -5949,31 +6365,6 @@ export type ListUserOrgsResponses = {
|
|
|
5949
6365
|
|
|
5950
6366
|
export type ListUserOrgsResponse = ListUserOrgsResponses[keyof ListUserOrgsResponses];
|
|
5951
6367
|
|
|
5952
|
-
export type CreateOrgData = {
|
|
5953
|
-
body: CreateOrgRequest;
|
|
5954
|
-
path?: never;
|
|
5955
|
-
query?: never;
|
|
5956
|
-
url: '/v1/orgs';
|
|
5957
|
-
};
|
|
5958
|
-
|
|
5959
|
-
export type CreateOrgErrors = {
|
|
5960
|
-
/**
|
|
5961
|
-
* Validation Error
|
|
5962
|
-
*/
|
|
5963
|
-
422: HttpValidationError;
|
|
5964
|
-
};
|
|
5965
|
-
|
|
5966
|
-
export type CreateOrgError = CreateOrgErrors[keyof CreateOrgErrors];
|
|
5967
|
-
|
|
5968
|
-
export type CreateOrgResponses = {
|
|
5969
|
-
/**
|
|
5970
|
-
* Successful Response
|
|
5971
|
-
*/
|
|
5972
|
-
201: OrgDetailResponse;
|
|
5973
|
-
};
|
|
5974
|
-
|
|
5975
|
-
export type CreateOrgResponse = CreateOrgResponses[keyof CreateOrgResponses];
|
|
5976
|
-
|
|
5977
6368
|
export type GetOrgData = {
|
|
5978
6369
|
body?: never;
|
|
5979
6370
|
path: {
|
|
@@ -6261,6 +6652,371 @@ export type GetOrgUsageResponses = {
|
|
|
6261
6652
|
|
|
6262
6653
|
export type GetOrgUsageResponse = GetOrgUsageResponses[keyof GetOrgUsageResponses];
|
|
6263
6654
|
|
|
6655
|
+
export type ListConnectionsData = {
|
|
6656
|
+
body?: never;
|
|
6657
|
+
path: {
|
|
6658
|
+
/**
|
|
6659
|
+
* Graph Id
|
|
6660
|
+
*/
|
|
6661
|
+
graph_id: string;
|
|
6662
|
+
};
|
|
6663
|
+
query?: {
|
|
6664
|
+
/**
|
|
6665
|
+
* Entity Id
|
|
6666
|
+
*
|
|
6667
|
+
* Filter by entity ID
|
|
6668
|
+
*/
|
|
6669
|
+
entity_id?: string | null;
|
|
6670
|
+
/**
|
|
6671
|
+
* Provider
|
|
6672
|
+
*
|
|
6673
|
+
* Filter by provider type
|
|
6674
|
+
*/
|
|
6675
|
+
provider?: 'sec' | 'quickbooks' | 'plaid' | null;
|
|
6676
|
+
};
|
|
6677
|
+
url: '/v1/graphs/{graph_id}/connections';
|
|
6678
|
+
};
|
|
6679
|
+
|
|
6680
|
+
export type ListConnectionsErrors = {
|
|
6681
|
+
/**
|
|
6682
|
+
* Access denied to graph
|
|
6683
|
+
*/
|
|
6684
|
+
403: ErrorResponse;
|
|
6685
|
+
/**
|
|
6686
|
+
* Validation Error
|
|
6687
|
+
*/
|
|
6688
|
+
422: HttpValidationError;
|
|
6689
|
+
/**
|
|
6690
|
+
* Failed to list connections
|
|
6691
|
+
*/
|
|
6692
|
+
500: ErrorResponse;
|
|
6693
|
+
};
|
|
6694
|
+
|
|
6695
|
+
export type ListConnectionsError = ListConnectionsErrors[keyof ListConnectionsErrors];
|
|
6696
|
+
|
|
6697
|
+
export type ListConnectionsResponses = {
|
|
6698
|
+
/**
|
|
6699
|
+
* Response Listconnections
|
|
6700
|
+
*
|
|
6701
|
+
* Connections retrieved successfully
|
|
6702
|
+
*/
|
|
6703
|
+
200: Array<ConnectionResponse>;
|
|
6704
|
+
};
|
|
6705
|
+
|
|
6706
|
+
export type ListConnectionsResponse = ListConnectionsResponses[keyof ListConnectionsResponses];
|
|
6707
|
+
|
|
6708
|
+
export type CreateConnectionData = {
|
|
6709
|
+
body: CreateConnectionRequest;
|
|
6710
|
+
path: {
|
|
6711
|
+
/**
|
|
6712
|
+
* Graph Id
|
|
6713
|
+
*/
|
|
6714
|
+
graph_id: string;
|
|
6715
|
+
};
|
|
6716
|
+
query?: never;
|
|
6717
|
+
url: '/v1/graphs/{graph_id}/connections';
|
|
6718
|
+
};
|
|
6719
|
+
|
|
6720
|
+
export type CreateConnectionErrors = {
|
|
6721
|
+
/**
|
|
6722
|
+
* Invalid connection configuration
|
|
6723
|
+
*/
|
|
6724
|
+
400: ErrorResponse;
|
|
6725
|
+
/**
|
|
6726
|
+
* Access denied - admin role required
|
|
6727
|
+
*/
|
|
6728
|
+
403: ErrorResponse;
|
|
6729
|
+
/**
|
|
6730
|
+
* Connection already exists
|
|
6731
|
+
*/
|
|
6732
|
+
409: ErrorResponse;
|
|
6733
|
+
/**
|
|
6734
|
+
* Validation Error
|
|
6735
|
+
*/
|
|
6736
|
+
422: HttpValidationError;
|
|
6737
|
+
/**
|
|
6738
|
+
* Failed to create connection
|
|
6739
|
+
*/
|
|
6740
|
+
500: ErrorResponse;
|
|
6741
|
+
};
|
|
6742
|
+
|
|
6743
|
+
export type CreateConnectionError = CreateConnectionErrors[keyof CreateConnectionErrors];
|
|
6744
|
+
|
|
6745
|
+
export type CreateConnectionResponses = {
|
|
6746
|
+
/**
|
|
6747
|
+
* Connection created successfully
|
|
6748
|
+
*/
|
|
6749
|
+
201: ConnectionResponse;
|
|
6750
|
+
};
|
|
6751
|
+
|
|
6752
|
+
export type CreateConnectionResponse = CreateConnectionResponses[keyof CreateConnectionResponses];
|
|
6753
|
+
|
|
6754
|
+
export type GetConnectionOptionsData = {
|
|
6755
|
+
body?: never;
|
|
6756
|
+
path: {
|
|
6757
|
+
/**
|
|
6758
|
+
* Graph Id
|
|
6759
|
+
*/
|
|
6760
|
+
graph_id: string;
|
|
6761
|
+
};
|
|
6762
|
+
query?: never;
|
|
6763
|
+
url: '/v1/graphs/{graph_id}/connections/options';
|
|
6764
|
+
};
|
|
6765
|
+
|
|
6766
|
+
export type GetConnectionOptionsErrors = {
|
|
6767
|
+
/**
|
|
6768
|
+
* Access denied to graph
|
|
6769
|
+
*/
|
|
6770
|
+
403: ErrorResponse;
|
|
6771
|
+
/**
|
|
6772
|
+
* Validation Error
|
|
6773
|
+
*/
|
|
6774
|
+
422: HttpValidationError;
|
|
6775
|
+
/**
|
|
6776
|
+
* Failed to retrieve options
|
|
6777
|
+
*/
|
|
6778
|
+
500: ErrorResponse;
|
|
6779
|
+
};
|
|
6780
|
+
|
|
6781
|
+
export type GetConnectionOptionsError = GetConnectionOptionsErrors[keyof GetConnectionOptionsErrors];
|
|
6782
|
+
|
|
6783
|
+
export type GetConnectionOptionsResponses = {
|
|
6784
|
+
/**
|
|
6785
|
+
* Connection options retrieved successfully
|
|
6786
|
+
*/
|
|
6787
|
+
200: ConnectionOptionsResponse;
|
|
6788
|
+
};
|
|
6789
|
+
|
|
6790
|
+
export type GetConnectionOptionsResponse = GetConnectionOptionsResponses[keyof GetConnectionOptionsResponses];
|
|
6791
|
+
|
|
6792
|
+
export type InitOAuthData = {
|
|
6793
|
+
body: OAuthInitRequest;
|
|
6794
|
+
path: {
|
|
6795
|
+
/**
|
|
6796
|
+
* Graph Id
|
|
6797
|
+
*/
|
|
6798
|
+
graph_id: string;
|
|
6799
|
+
};
|
|
6800
|
+
query?: never;
|
|
6801
|
+
url: '/v1/graphs/{graph_id}/connections/oauth/init';
|
|
6802
|
+
};
|
|
6803
|
+
|
|
6804
|
+
export type InitOAuthErrors = {
|
|
6805
|
+
/**
|
|
6806
|
+
* Validation Error
|
|
6807
|
+
*/
|
|
6808
|
+
422: HttpValidationError;
|
|
6809
|
+
};
|
|
6810
|
+
|
|
6811
|
+
export type InitOAuthError = InitOAuthErrors[keyof InitOAuthErrors];
|
|
6812
|
+
|
|
6813
|
+
export type InitOAuthResponses = {
|
|
6814
|
+
/**
|
|
6815
|
+
* Successful Response
|
|
6816
|
+
*/
|
|
6817
|
+
200: OAuthInitResponse;
|
|
6818
|
+
};
|
|
6819
|
+
|
|
6820
|
+
export type InitOAuthResponse = InitOAuthResponses[keyof InitOAuthResponses];
|
|
6821
|
+
|
|
6822
|
+
export type OauthCallbackData = {
|
|
6823
|
+
body: OAuthCallbackRequest;
|
|
6824
|
+
path: {
|
|
6825
|
+
/**
|
|
6826
|
+
* Provider
|
|
6827
|
+
*
|
|
6828
|
+
* OAuth provider name
|
|
6829
|
+
*/
|
|
6830
|
+
provider: string;
|
|
6831
|
+
/**
|
|
6832
|
+
* Graph Id
|
|
6833
|
+
*/
|
|
6834
|
+
graph_id: string;
|
|
6835
|
+
};
|
|
6836
|
+
query?: never;
|
|
6837
|
+
url: '/v1/graphs/{graph_id}/connections/oauth/callback/{provider}';
|
|
6838
|
+
};
|
|
6839
|
+
|
|
6840
|
+
export type OauthCallbackErrors = {
|
|
6841
|
+
/**
|
|
6842
|
+
* OAuth error or invalid state
|
|
6843
|
+
*/
|
|
6844
|
+
400: ErrorResponse;
|
|
6845
|
+
/**
|
|
6846
|
+
* State does not match user
|
|
6847
|
+
*/
|
|
6848
|
+
403: ErrorResponse;
|
|
6849
|
+
/**
|
|
6850
|
+
* Connection not found
|
|
6851
|
+
*/
|
|
6852
|
+
404: ErrorResponse;
|
|
6853
|
+
/**
|
|
6854
|
+
* Validation Error
|
|
6855
|
+
*/
|
|
6856
|
+
422: HttpValidationError;
|
|
6857
|
+
/**
|
|
6858
|
+
* OAuth callback processing failed
|
|
6859
|
+
*/
|
|
6860
|
+
500: ErrorResponse;
|
|
6861
|
+
};
|
|
6862
|
+
|
|
6863
|
+
export type OauthCallbackError = OauthCallbackErrors[keyof OauthCallbackErrors];
|
|
6864
|
+
|
|
6865
|
+
export type OauthCallbackResponses = {
|
|
6866
|
+
/**
|
|
6867
|
+
* OAuth flow completed successfully
|
|
6868
|
+
*/
|
|
6869
|
+
200: unknown;
|
|
6870
|
+
};
|
|
6871
|
+
|
|
6872
|
+
export type DeleteConnectionData = {
|
|
6873
|
+
body?: never;
|
|
6874
|
+
path: {
|
|
6875
|
+
/**
|
|
6876
|
+
* Graph Id
|
|
6877
|
+
*/
|
|
6878
|
+
graph_id: string;
|
|
6879
|
+
/**
|
|
6880
|
+
* Connection Id
|
|
6881
|
+
*
|
|
6882
|
+
* Connection identifier
|
|
6883
|
+
*/
|
|
6884
|
+
connection_id: string;
|
|
6885
|
+
};
|
|
6886
|
+
query?: never;
|
|
6887
|
+
url: '/v1/graphs/{graph_id}/connections/{connection_id}';
|
|
6888
|
+
};
|
|
6889
|
+
|
|
6890
|
+
export type DeleteConnectionErrors = {
|
|
6891
|
+
/**
|
|
6892
|
+
* Access denied - admin role required
|
|
6893
|
+
*/
|
|
6894
|
+
403: ErrorResponse;
|
|
6895
|
+
/**
|
|
6896
|
+
* Connection not found
|
|
6897
|
+
*/
|
|
6898
|
+
404: ErrorResponse;
|
|
6899
|
+
/**
|
|
6900
|
+
* Validation Error
|
|
6901
|
+
*/
|
|
6902
|
+
422: HttpValidationError;
|
|
6903
|
+
/**
|
|
6904
|
+
* Failed to delete connection
|
|
6905
|
+
*/
|
|
6906
|
+
500: ErrorResponse;
|
|
6907
|
+
};
|
|
6908
|
+
|
|
6909
|
+
export type DeleteConnectionError = DeleteConnectionErrors[keyof DeleteConnectionErrors];
|
|
6910
|
+
|
|
6911
|
+
export type DeleteConnectionResponses = {
|
|
6912
|
+
/**
|
|
6913
|
+
* Connection deleted successfully
|
|
6914
|
+
*/
|
|
6915
|
+
200: SuccessResponse;
|
|
6916
|
+
};
|
|
6917
|
+
|
|
6918
|
+
export type DeleteConnectionResponse = DeleteConnectionResponses[keyof DeleteConnectionResponses];
|
|
6919
|
+
|
|
6920
|
+
export type GetConnectionData = {
|
|
6921
|
+
body?: never;
|
|
6922
|
+
path: {
|
|
6923
|
+
/**
|
|
6924
|
+
* Graph Id
|
|
6925
|
+
*/
|
|
6926
|
+
graph_id: string;
|
|
6927
|
+
/**
|
|
6928
|
+
* Connection Id
|
|
6929
|
+
*
|
|
6930
|
+
* Unique connection identifier
|
|
6931
|
+
*/
|
|
6932
|
+
connection_id: string;
|
|
6933
|
+
};
|
|
6934
|
+
query?: never;
|
|
6935
|
+
url: '/v1/graphs/{graph_id}/connections/{connection_id}';
|
|
6936
|
+
};
|
|
6937
|
+
|
|
6938
|
+
export type GetConnectionErrors = {
|
|
6939
|
+
/**
|
|
6940
|
+
* Access denied to connection
|
|
6941
|
+
*/
|
|
6942
|
+
403: ErrorResponse;
|
|
6943
|
+
/**
|
|
6944
|
+
* Connection not found
|
|
6945
|
+
*/
|
|
6946
|
+
404: ErrorResponse;
|
|
6947
|
+
/**
|
|
6948
|
+
* Validation Error
|
|
6949
|
+
*/
|
|
6950
|
+
422: HttpValidationError;
|
|
6951
|
+
/**
|
|
6952
|
+
* Failed to retrieve connection
|
|
6953
|
+
*/
|
|
6954
|
+
500: ErrorResponse;
|
|
6955
|
+
};
|
|
6956
|
+
|
|
6957
|
+
export type GetConnectionError = GetConnectionErrors[keyof GetConnectionErrors];
|
|
6958
|
+
|
|
6959
|
+
export type GetConnectionResponses = {
|
|
6960
|
+
/**
|
|
6961
|
+
* Connection details retrieved successfully
|
|
6962
|
+
*/
|
|
6963
|
+
200: ConnectionResponse;
|
|
6964
|
+
};
|
|
6965
|
+
|
|
6966
|
+
export type GetConnectionResponse = GetConnectionResponses[keyof GetConnectionResponses];
|
|
6967
|
+
|
|
6968
|
+
export type SyncConnectionData = {
|
|
6969
|
+
body: SyncConnectionRequest;
|
|
6970
|
+
path: {
|
|
6971
|
+
/**
|
|
6972
|
+
* Graph Id
|
|
6973
|
+
*/
|
|
6974
|
+
graph_id: string;
|
|
6975
|
+
/**
|
|
6976
|
+
* Connection Id
|
|
6977
|
+
*
|
|
6978
|
+
* Connection identifier
|
|
6979
|
+
*/
|
|
6980
|
+
connection_id: string;
|
|
6981
|
+
};
|
|
6982
|
+
query?: never;
|
|
6983
|
+
url: '/v1/graphs/{graph_id}/connections/{connection_id}/sync';
|
|
6984
|
+
};
|
|
6985
|
+
|
|
6986
|
+
export type SyncConnectionErrors = {
|
|
6987
|
+
/**
|
|
6988
|
+
* Access denied - admin role required
|
|
6989
|
+
*/
|
|
6990
|
+
403: ErrorResponse;
|
|
6991
|
+
/**
|
|
6992
|
+
* Connection not found
|
|
6993
|
+
*/
|
|
6994
|
+
404: ErrorResponse;
|
|
6995
|
+
/**
|
|
6996
|
+
* Validation Error
|
|
6997
|
+
*/
|
|
6998
|
+
422: HttpValidationError;
|
|
6999
|
+
/**
|
|
7000
|
+
* Failed to start sync
|
|
7001
|
+
*/
|
|
7002
|
+
500: ErrorResponse;
|
|
7003
|
+
};
|
|
7004
|
+
|
|
7005
|
+
export type SyncConnectionError = SyncConnectionErrors[keyof SyncConnectionErrors];
|
|
7006
|
+
|
|
7007
|
+
export type SyncConnectionResponses = {
|
|
7008
|
+
/**
|
|
7009
|
+
* Response Syncconnection
|
|
7010
|
+
*
|
|
7011
|
+
* Sync started successfully
|
|
7012
|
+
*/
|
|
7013
|
+
200: {
|
|
7014
|
+
[key: string]: unknown;
|
|
7015
|
+
};
|
|
7016
|
+
};
|
|
7017
|
+
|
|
7018
|
+
export type SyncConnectionResponse = SyncConnectionResponses[keyof SyncConnectionResponses];
|
|
7019
|
+
|
|
6264
7020
|
export type ListAgentsData = {
|
|
6265
7021
|
body?: never;
|
|
6266
7022
|
path: {
|
|
@@ -8526,6 +9282,29 @@ export type GetAvailableGraphTiersResponses = {
|
|
|
8526
9282
|
|
|
8527
9283
|
export type GetAvailableGraphTiersResponse = GetAvailableGraphTiersResponses[keyof GetAvailableGraphTiersResponses];
|
|
8528
9284
|
|
|
9285
|
+
export type GetGraphCapacityData = {
|
|
9286
|
+
body?: never;
|
|
9287
|
+
path?: never;
|
|
9288
|
+
query?: never;
|
|
9289
|
+
url: '/v1/graphs/capacity';
|
|
9290
|
+
};
|
|
9291
|
+
|
|
9292
|
+
export type GetGraphCapacityErrors = {
|
|
9293
|
+
/**
|
|
9294
|
+
* Failed to check capacity
|
|
9295
|
+
*/
|
|
9296
|
+
500: unknown;
|
|
9297
|
+
};
|
|
9298
|
+
|
|
9299
|
+
export type GetGraphCapacityResponses = {
|
|
9300
|
+
/**
|
|
9301
|
+
* Capacity status retrieved successfully
|
|
9302
|
+
*/
|
|
9303
|
+
200: GraphCapacityResponse;
|
|
9304
|
+
};
|
|
9305
|
+
|
|
9306
|
+
export type GetGraphCapacityResponse = GetGraphCapacityResponses[keyof GetGraphCapacityResponses];
|
|
9307
|
+
|
|
8529
9308
|
export type SelectGraphData = {
|
|
8530
9309
|
body?: never;
|
|
8531
9310
|
path: {
|