@robosystems/client 0.2.8 → 0.2.9
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/package.json +1 -1
- package/sdk/sdk.gen.d.ts +62 -163
- package/sdk/sdk.gen.js +135 -428
- package/sdk/sdk.gen.ts +135 -428
- package/sdk/types.gen.d.ts +382 -963
- package/sdk/types.gen.ts +562 -1204
- package/sdk.gen.d.ts +62 -163
- package/sdk.gen.js +135 -428
- package/sdk.gen.ts +135 -428
- package/types.gen.d.ts +382 -963
- package/types.gen.ts +562 -1204
package/sdk/types.gen.ts
CHANGED
|
@@ -81,53 +81,6 @@ export type AccountInfo = {
|
|
|
81
81
|
provider_account_id: string;
|
|
82
82
|
};
|
|
83
83
|
|
|
84
|
-
/**
|
|
85
|
-
* AddOnCreditInfo
|
|
86
|
-
* Credit information for a specific add-on.
|
|
87
|
-
*/
|
|
88
|
-
export type AddOnCreditInfo = {
|
|
89
|
-
/**
|
|
90
|
-
* Subscription Id
|
|
91
|
-
* Subscription ID
|
|
92
|
-
*/
|
|
93
|
-
subscription_id: string;
|
|
94
|
-
/**
|
|
95
|
-
* Addon Type
|
|
96
|
-
* Add-on type (e.g., sec_data)
|
|
97
|
-
*/
|
|
98
|
-
addon_type: string;
|
|
99
|
-
/**
|
|
100
|
-
* Name
|
|
101
|
-
* Display name of the add-on
|
|
102
|
-
*/
|
|
103
|
-
name: string;
|
|
104
|
-
/**
|
|
105
|
-
* Tier
|
|
106
|
-
* Subscription tier
|
|
107
|
-
*/
|
|
108
|
-
tier: string;
|
|
109
|
-
/**
|
|
110
|
-
* Credits Remaining
|
|
111
|
-
* Credits remaining
|
|
112
|
-
*/
|
|
113
|
-
credits_remaining: number;
|
|
114
|
-
/**
|
|
115
|
-
* Credits Allocated
|
|
116
|
-
* Monthly credit allocation
|
|
117
|
-
*/
|
|
118
|
-
credits_allocated: number;
|
|
119
|
-
/**
|
|
120
|
-
* Credits Consumed
|
|
121
|
-
* Credits consumed this month
|
|
122
|
-
*/
|
|
123
|
-
credits_consumed: number;
|
|
124
|
-
/**
|
|
125
|
-
* Rollover Amount
|
|
126
|
-
* Credits rolled over from previous month
|
|
127
|
-
*/
|
|
128
|
-
rollover_amount?: number;
|
|
129
|
-
};
|
|
130
|
-
|
|
131
84
|
/**
|
|
132
85
|
* AgentListResponse
|
|
133
86
|
* Response for listing available agents.
|
|
@@ -1134,6 +1087,18 @@ export type CreateGraphRequest = {
|
|
|
1134
1087
|
tags?: Array<string>;
|
|
1135
1088
|
};
|
|
1136
1089
|
|
|
1090
|
+
/**
|
|
1091
|
+
* CreateRepositorySubscriptionRequest
|
|
1092
|
+
* Request to create a repository subscription.
|
|
1093
|
+
*/
|
|
1094
|
+
export type CreateRepositorySubscriptionRequest = {
|
|
1095
|
+
/**
|
|
1096
|
+
* Plan Name
|
|
1097
|
+
* Plan name for the repository subscription
|
|
1098
|
+
*/
|
|
1099
|
+
plan_name: string;
|
|
1100
|
+
};
|
|
1101
|
+
|
|
1137
1102
|
/**
|
|
1138
1103
|
* CreateSubgraphRequest
|
|
1139
1104
|
* Request model for creating a subgraph.
|
|
@@ -1201,54 +1166,46 @@ export type CreditLimits = {
|
|
|
1201
1166
|
|
|
1202
1167
|
/**
|
|
1203
1168
|
* CreditSummary
|
|
1204
|
-
* Credit
|
|
1169
|
+
* Credit consumption summary.
|
|
1205
1170
|
*/
|
|
1206
1171
|
export type CreditSummary = {
|
|
1207
1172
|
/**
|
|
1208
|
-
*
|
|
1209
|
-
*
|
|
1210
|
-
*/
|
|
1211
|
-
current_balance: number;
|
|
1212
|
-
/**
|
|
1213
|
-
* Monthly Allocation
|
|
1214
|
-
* Monthly credit allocation
|
|
1215
|
-
*/
|
|
1216
|
-
monthly_allocation: number;
|
|
1217
|
-
/**
|
|
1218
|
-
* Consumed This Month
|
|
1219
|
-
* Credits consumed this month
|
|
1173
|
+
* Graph Tier
|
|
1174
|
+
* Subscription tier
|
|
1220
1175
|
*/
|
|
1221
|
-
|
|
1176
|
+
graph_tier: string;
|
|
1222
1177
|
/**
|
|
1223
|
-
*
|
|
1224
|
-
*
|
|
1178
|
+
* Total Credits Consumed
|
|
1179
|
+
* Total credits consumed
|
|
1225
1180
|
*/
|
|
1226
|
-
|
|
1181
|
+
total_credits_consumed: number;
|
|
1227
1182
|
/**
|
|
1228
|
-
*
|
|
1229
|
-
*
|
|
1183
|
+
* Total Base Cost
|
|
1184
|
+
* Total base cost before multipliers
|
|
1230
1185
|
*/
|
|
1231
|
-
|
|
1186
|
+
total_base_cost: number;
|
|
1232
1187
|
/**
|
|
1233
|
-
*
|
|
1234
|
-
*
|
|
1188
|
+
* Operation Breakdown
|
|
1189
|
+
* Credit usage by operation type
|
|
1235
1190
|
*/
|
|
1236
|
-
|
|
1191
|
+
operation_breakdown: {
|
|
1192
|
+
[key: string]: unknown;
|
|
1193
|
+
};
|
|
1237
1194
|
/**
|
|
1238
|
-
*
|
|
1239
|
-
*
|
|
1195
|
+
* Cached Operations
|
|
1196
|
+
* Number of cached operations
|
|
1240
1197
|
*/
|
|
1241
|
-
|
|
1198
|
+
cached_operations: number;
|
|
1242
1199
|
/**
|
|
1243
|
-
*
|
|
1244
|
-
*
|
|
1200
|
+
* Billable Operations
|
|
1201
|
+
* Number of billable operations
|
|
1245
1202
|
*/
|
|
1246
|
-
|
|
1203
|
+
billable_operations: number;
|
|
1247
1204
|
/**
|
|
1248
|
-
*
|
|
1249
|
-
*
|
|
1205
|
+
* Transaction Count
|
|
1206
|
+
* Total transaction count
|
|
1250
1207
|
*/
|
|
1251
|
-
|
|
1208
|
+
transaction_count: number;
|
|
1252
1209
|
};
|
|
1253
1210
|
|
|
1254
1211
|
/**
|
|
@@ -1290,36 +1247,6 @@ export type CreditSummaryResponse = {
|
|
|
1290
1247
|
last_allocation_date?: string | null;
|
|
1291
1248
|
};
|
|
1292
1249
|
|
|
1293
|
-
/**
|
|
1294
|
-
* CreditsSummaryResponse
|
|
1295
|
-
* Response for credits summary.
|
|
1296
|
-
*/
|
|
1297
|
-
export type CreditsSummaryResponse = {
|
|
1298
|
-
/**
|
|
1299
|
-
* Add Ons
|
|
1300
|
-
* Credits breakdown by add-on
|
|
1301
|
-
*/
|
|
1302
|
-
add_ons: Array<AddOnCreditInfo>;
|
|
1303
|
-
/**
|
|
1304
|
-
* Total Credits
|
|
1305
|
-
* Total credits remaining across all subscriptions
|
|
1306
|
-
*/
|
|
1307
|
-
total_credits: number;
|
|
1308
|
-
/**
|
|
1309
|
-
* Credits By Addon
|
|
1310
|
-
* Legacy field - Credits breakdown by add-on
|
|
1311
|
-
* @deprecated
|
|
1312
|
-
*/
|
|
1313
|
-
credits_by_addon?: Array<{
|
|
1314
|
-
[key: string]: unknown;
|
|
1315
|
-
}> | null;
|
|
1316
|
-
/**
|
|
1317
|
-
* Addon Count
|
|
1318
|
-
* Number of active add-ons
|
|
1319
|
-
*/
|
|
1320
|
-
addon_count: number;
|
|
1321
|
-
};
|
|
1322
|
-
|
|
1323
1250
|
/**
|
|
1324
1251
|
* CustomSchemaDefinition
|
|
1325
1252
|
* Custom schema definition for generic graphs.
|
|
@@ -2138,6 +2065,73 @@ export type GraphMetricsResponse = {
|
|
|
2138
2065
|
};
|
|
2139
2066
|
};
|
|
2140
2067
|
|
|
2068
|
+
/**
|
|
2069
|
+
* GraphSubscriptionResponse
|
|
2070
|
+
* Response for graph or repository subscription details.
|
|
2071
|
+
*/
|
|
2072
|
+
export type GraphSubscriptionResponse = {
|
|
2073
|
+
/**
|
|
2074
|
+
* Id
|
|
2075
|
+
* Subscription ID
|
|
2076
|
+
*/
|
|
2077
|
+
id: string;
|
|
2078
|
+
/**
|
|
2079
|
+
* Resource Type
|
|
2080
|
+
* Resource type (graph or repository)
|
|
2081
|
+
*/
|
|
2082
|
+
resource_type: string;
|
|
2083
|
+
/**
|
|
2084
|
+
* Resource Id
|
|
2085
|
+
* Resource identifier
|
|
2086
|
+
*/
|
|
2087
|
+
resource_id: string;
|
|
2088
|
+
/**
|
|
2089
|
+
* Plan Name
|
|
2090
|
+
* Current plan name
|
|
2091
|
+
*/
|
|
2092
|
+
plan_name: string;
|
|
2093
|
+
/**
|
|
2094
|
+
* Billing Interval
|
|
2095
|
+
* Billing interval
|
|
2096
|
+
*/
|
|
2097
|
+
billing_interval: string;
|
|
2098
|
+
/**
|
|
2099
|
+
* Status
|
|
2100
|
+
* Subscription status
|
|
2101
|
+
*/
|
|
2102
|
+
status: string;
|
|
2103
|
+
/**
|
|
2104
|
+
* Base Price Cents
|
|
2105
|
+
* Base price in cents
|
|
2106
|
+
*/
|
|
2107
|
+
base_price_cents: number;
|
|
2108
|
+
/**
|
|
2109
|
+
* Current Period Start
|
|
2110
|
+
* Current billing period start
|
|
2111
|
+
*/
|
|
2112
|
+
current_period_start?: string | null;
|
|
2113
|
+
/**
|
|
2114
|
+
* Current Period End
|
|
2115
|
+
* Current billing period end
|
|
2116
|
+
*/
|
|
2117
|
+
current_period_end?: string | null;
|
|
2118
|
+
/**
|
|
2119
|
+
* Started At
|
|
2120
|
+
* Subscription start date
|
|
2121
|
+
*/
|
|
2122
|
+
started_at?: string | null;
|
|
2123
|
+
/**
|
|
2124
|
+
* Canceled At
|
|
2125
|
+
* Cancellation date
|
|
2126
|
+
*/
|
|
2127
|
+
canceled_at?: string | null;
|
|
2128
|
+
/**
|
|
2129
|
+
* Created At
|
|
2130
|
+
* Creation timestamp
|
|
2131
|
+
*/
|
|
2132
|
+
created_at: string;
|
|
2133
|
+
};
|
|
2134
|
+
|
|
2141
2135
|
/**
|
|
2142
2136
|
* GraphSubscriptionTier
|
|
2143
2137
|
* Information about a graph subscription tier.
|
|
@@ -2443,26 +2437,29 @@ export type GraphUsageResponse = {
|
|
|
2443
2437
|
*/
|
|
2444
2438
|
graph_id: string;
|
|
2445
2439
|
/**
|
|
2446
|
-
*
|
|
2447
|
-
*
|
|
2440
|
+
* Time Range
|
|
2441
|
+
* Time range for usage data
|
|
2448
2442
|
*/
|
|
2449
|
-
|
|
2450
|
-
[key: string]: unknown;
|
|
2451
|
-
};
|
|
2443
|
+
time_range: string;
|
|
2452
2444
|
/**
|
|
2453
|
-
*
|
|
2454
|
-
* Query statistics
|
|
2445
|
+
* Storage usage summary
|
|
2455
2446
|
*/
|
|
2456
|
-
|
|
2457
|
-
|
|
2458
|
-
|
|
2447
|
+
storage_summary?: StorageSummary | null;
|
|
2448
|
+
/**
|
|
2449
|
+
* Credit consumption summary
|
|
2450
|
+
*/
|
|
2451
|
+
credit_summary?: CreditSummary | null;
|
|
2459
2452
|
/**
|
|
2460
|
-
*
|
|
2461
|
-
* Recent activity summary
|
|
2453
|
+
* Performance analytics
|
|
2462
2454
|
*/
|
|
2463
|
-
|
|
2455
|
+
performance_insights?: PerformanceInsights | null;
|
|
2456
|
+
/**
|
|
2457
|
+
* Recent Events
|
|
2458
|
+
* Recent usage events
|
|
2459
|
+
*/
|
|
2460
|
+
recent_events?: Array<{
|
|
2464
2461
|
[key: string]: unknown;
|
|
2465
|
-
}
|
|
2462
|
+
}>;
|
|
2466
2463
|
/**
|
|
2467
2464
|
* Timestamp
|
|
2468
2465
|
* Usage collection timestamp
|
|
@@ -2944,6 +2941,42 @@ export type PasswordPolicyResponse = {
|
|
|
2944
2941
|
};
|
|
2945
2942
|
};
|
|
2946
2943
|
|
|
2944
|
+
/**
|
|
2945
|
+
* PerformanceInsights
|
|
2946
|
+
* Performance analytics.
|
|
2947
|
+
*/
|
|
2948
|
+
export type PerformanceInsights = {
|
|
2949
|
+
/**
|
|
2950
|
+
* Analysis Period Days
|
|
2951
|
+
* Analysis period in days
|
|
2952
|
+
*/
|
|
2953
|
+
analysis_period_days: number;
|
|
2954
|
+
/**
|
|
2955
|
+
* Total Operations
|
|
2956
|
+
* Total operations analyzed
|
|
2957
|
+
*/
|
|
2958
|
+
total_operations: number;
|
|
2959
|
+
/**
|
|
2960
|
+
* Operation Stats
|
|
2961
|
+
* Performance stats by operation type
|
|
2962
|
+
*/
|
|
2963
|
+
operation_stats: {
|
|
2964
|
+
[key: string]: unknown;
|
|
2965
|
+
};
|
|
2966
|
+
/**
|
|
2967
|
+
* Slow Queries
|
|
2968
|
+
* Top slow queries (over 5 seconds)
|
|
2969
|
+
*/
|
|
2970
|
+
slow_queries: Array<{
|
|
2971
|
+
[key: string]: unknown;
|
|
2972
|
+
}>;
|
|
2973
|
+
/**
|
|
2974
|
+
* Performance Score
|
|
2975
|
+
* Performance score (0-100)
|
|
2976
|
+
*/
|
|
2977
|
+
performance_score: number;
|
|
2978
|
+
};
|
|
2979
|
+
|
|
2947
2980
|
/**
|
|
2948
2981
|
* PlaidConnectionConfig
|
|
2949
2982
|
* Plaid-specific connection configuration.
|
|
@@ -3073,32 +3106,6 @@ export type RegisterRequest = {
|
|
|
3073
3106
|
captcha_token?: string | null;
|
|
3074
3107
|
};
|
|
3075
3108
|
|
|
3076
|
-
/**
|
|
3077
|
-
* RepositoryCreditsResponse
|
|
3078
|
-
* Response for repository-specific credits.
|
|
3079
|
-
*/
|
|
3080
|
-
export type RepositoryCreditsResponse = {
|
|
3081
|
-
/**
|
|
3082
|
-
* Repository
|
|
3083
|
-
* Repository identifier
|
|
3084
|
-
*/
|
|
3085
|
-
repository: string;
|
|
3086
|
-
/**
|
|
3087
|
-
* Has Access
|
|
3088
|
-
* Whether user has access
|
|
3089
|
-
*/
|
|
3090
|
-
has_access: boolean;
|
|
3091
|
-
/**
|
|
3092
|
-
* Message
|
|
3093
|
-
* Access message
|
|
3094
|
-
*/
|
|
3095
|
-
message?: string | null;
|
|
3096
|
-
/**
|
|
3097
|
-
* Credit summary if access available
|
|
3098
|
-
*/
|
|
3099
|
-
credits?: CreditSummary | null;
|
|
3100
|
-
};
|
|
3101
|
-
|
|
3102
3109
|
/**
|
|
3103
3110
|
* RepositoryInfo
|
|
3104
3111
|
* Information about a shared repository.
|
|
@@ -3136,12 +3143,6 @@ export type RepositoryInfo = {
|
|
|
3136
3143
|
plans: Array<OfferingRepositoryPlan>;
|
|
3137
3144
|
};
|
|
3138
3145
|
|
|
3139
|
-
/**
|
|
3140
|
-
* RepositoryPlan
|
|
3141
|
-
* Repository access plans for shared data.
|
|
3142
|
-
*/
|
|
3143
|
-
export type RepositoryPlan = 'starter' | 'advanced' | 'unlimited';
|
|
3144
|
-
|
|
3145
3146
|
/**
|
|
3146
3147
|
* RepositorySubscriptions
|
|
3147
3148
|
* Repository subscription offerings.
|
|
@@ -3164,12 +3165,6 @@ export type RepositorySubscriptions = {
|
|
|
3164
3165
|
notes: Array<string>;
|
|
3165
3166
|
};
|
|
3166
3167
|
|
|
3167
|
-
/**
|
|
3168
|
-
* RepositoryType
|
|
3169
|
-
* Types of shared repositories.
|
|
3170
|
-
*/
|
|
3171
|
-
export type RepositoryType = 'sec' | 'industry' | 'economic';
|
|
3172
|
-
|
|
3173
3168
|
/**
|
|
3174
3169
|
* ResetPasswordRequest
|
|
3175
3170
|
* Reset password request model.
|
|
@@ -3595,6 +3590,43 @@ export type StorageLimits = {
|
|
|
3595
3590
|
approaching_limit: boolean;
|
|
3596
3591
|
};
|
|
3597
3592
|
|
|
3593
|
+
/**
|
|
3594
|
+
* StorageSummary
|
|
3595
|
+
* Storage usage summary.
|
|
3596
|
+
*/
|
|
3597
|
+
export type StorageSummary = {
|
|
3598
|
+
/**
|
|
3599
|
+
* Graph Tier
|
|
3600
|
+
* Subscription tier
|
|
3601
|
+
*/
|
|
3602
|
+
graph_tier: string;
|
|
3603
|
+
/**
|
|
3604
|
+
* Avg Storage Gb
|
|
3605
|
+
* Average storage in GB
|
|
3606
|
+
*/
|
|
3607
|
+
avg_storage_gb: number;
|
|
3608
|
+
/**
|
|
3609
|
+
* Max Storage Gb
|
|
3610
|
+
* Peak storage in GB
|
|
3611
|
+
*/
|
|
3612
|
+
max_storage_gb: number;
|
|
3613
|
+
/**
|
|
3614
|
+
* Min Storage Gb
|
|
3615
|
+
* Minimum storage in GB
|
|
3616
|
+
*/
|
|
3617
|
+
min_storage_gb: number;
|
|
3618
|
+
/**
|
|
3619
|
+
* Total Gb Hours
|
|
3620
|
+
* Total GB-hours for billing
|
|
3621
|
+
*/
|
|
3622
|
+
total_gb_hours: number;
|
|
3623
|
+
/**
|
|
3624
|
+
* Measurement Count
|
|
3625
|
+
* Number of measurements taken
|
|
3626
|
+
*/
|
|
3627
|
+
measurement_count: number;
|
|
3628
|
+
};
|
|
3629
|
+
|
|
3598
3630
|
/**
|
|
3599
3631
|
* SubgraphQuotaResponse
|
|
3600
3632
|
* Response model for subgraph quota information.
|
|
@@ -3772,96 +3804,6 @@ export type SubgraphSummary = {
|
|
|
3772
3804
|
*/
|
|
3773
3805
|
export type SubgraphType = 'static' | 'temporal' | 'versioned' | 'memory';
|
|
3774
3806
|
|
|
3775
|
-
/**
|
|
3776
|
-
* SubscriptionInfo
|
|
3777
|
-
* User subscription information.
|
|
3778
|
-
*/
|
|
3779
|
-
export type SubscriptionInfo = {
|
|
3780
|
-
/**
|
|
3781
|
-
* Id
|
|
3782
|
-
* Subscription ID
|
|
3783
|
-
*/
|
|
3784
|
-
id: string;
|
|
3785
|
-
/**
|
|
3786
|
-
* User Id
|
|
3787
|
-
* User ID
|
|
3788
|
-
*/
|
|
3789
|
-
user_id: string;
|
|
3790
|
-
/**
|
|
3791
|
-
* Addon Type
|
|
3792
|
-
* Add-on type
|
|
3793
|
-
*/
|
|
3794
|
-
addon_type: string;
|
|
3795
|
-
/**
|
|
3796
|
-
* Addon Tier
|
|
3797
|
-
* Subscription tier
|
|
3798
|
-
*/
|
|
3799
|
-
addon_tier: string;
|
|
3800
|
-
/**
|
|
3801
|
-
* Is Active
|
|
3802
|
-
* Whether subscription is active
|
|
3803
|
-
*/
|
|
3804
|
-
is_active: boolean;
|
|
3805
|
-
/**
|
|
3806
|
-
* Activated At
|
|
3807
|
-
* Activation date (ISO format)
|
|
3808
|
-
*/
|
|
3809
|
-
activated_at: string;
|
|
3810
|
-
/**
|
|
3811
|
-
* Expires At
|
|
3812
|
-
* Expiration date (ISO format)
|
|
3813
|
-
*/
|
|
3814
|
-
expires_at?: string | null;
|
|
3815
|
-
/**
|
|
3816
|
-
* Monthly Price Cents
|
|
3817
|
-
* Monthly price in cents
|
|
3818
|
-
*/
|
|
3819
|
-
monthly_price_cents: number;
|
|
3820
|
-
/**
|
|
3821
|
-
* Features
|
|
3822
|
-
* List of features
|
|
3823
|
-
*/
|
|
3824
|
-
features: Array<string>;
|
|
3825
|
-
/**
|
|
3826
|
-
* Metadata
|
|
3827
|
-
* Additional metadata
|
|
3828
|
-
*/
|
|
3829
|
-
metadata: {
|
|
3830
|
-
[key: string]: unknown;
|
|
3831
|
-
};
|
|
3832
|
-
};
|
|
3833
|
-
|
|
3834
|
-
/**
|
|
3835
|
-
* SubscriptionRequest
|
|
3836
|
-
* Request to create a new subscription.
|
|
3837
|
-
*/
|
|
3838
|
-
export type SubscriptionRequest = {
|
|
3839
|
-
/**
|
|
3840
|
-
* Type of repository to subscribe to
|
|
3841
|
-
*/
|
|
3842
|
-
repository_type: RepositoryType;
|
|
3843
|
-
/**
|
|
3844
|
-
* Repository plan
|
|
3845
|
-
*/
|
|
3846
|
-
repository_plan?: RepositoryPlan;
|
|
3847
|
-
};
|
|
3848
|
-
|
|
3849
|
-
/**
|
|
3850
|
-
* SubscriptionResponse
|
|
3851
|
-
* Response for subscription creation.
|
|
3852
|
-
*/
|
|
3853
|
-
export type SubscriptionResponse = {
|
|
3854
|
-
/**
|
|
3855
|
-
* Message
|
|
3856
|
-
* Success message
|
|
3857
|
-
*/
|
|
3858
|
-
message: string;
|
|
3859
|
-
/**
|
|
3860
|
-
* Created subscription details
|
|
3861
|
-
*/
|
|
3862
|
-
subscription: SubscriptionInfo;
|
|
3863
|
-
};
|
|
3864
|
-
|
|
3865
3807
|
/**
|
|
3866
3808
|
* SuccessResponse
|
|
3867
3809
|
* Standard success response for operations without specific return data.
|
|
@@ -4025,17 +3967,6 @@ export type TableQueryResponse = {
|
|
|
4025
3967
|
execution_time_ms: number;
|
|
4026
3968
|
};
|
|
4027
3969
|
|
|
4028
|
-
/**
|
|
4029
|
-
* TierUpgradeRequest
|
|
4030
|
-
* Request to upgrade subscription tier.
|
|
4031
|
-
*/
|
|
4032
|
-
export type TierUpgradeRequest = {
|
|
4033
|
-
/**
|
|
4034
|
-
* New repository plan
|
|
4035
|
-
*/
|
|
4036
|
-
new_plan: RepositoryPlan;
|
|
4037
|
-
};
|
|
4038
|
-
|
|
4039
3970
|
/**
|
|
4040
3971
|
* TokenPricing
|
|
4041
3972
|
* AI token pricing for a specific model.
|
|
@@ -4141,99 +4072,22 @@ export type UpdateUserRequest = {
|
|
|
4141
4072
|
};
|
|
4142
4073
|
|
|
4143
4074
|
/**
|
|
4144
|
-
*
|
|
4145
|
-
*
|
|
4075
|
+
* UpgradeSubscriptionRequest
|
|
4076
|
+
* Request to upgrade a subscription.
|
|
4146
4077
|
*/
|
|
4147
|
-
export type
|
|
4078
|
+
export type UpgradeSubscriptionRequest = {
|
|
4148
4079
|
/**
|
|
4149
|
-
*
|
|
4150
|
-
*
|
|
4080
|
+
* New Plan Name
|
|
4081
|
+
* New plan name to upgrade to
|
|
4151
4082
|
*/
|
|
4152
|
-
|
|
4153
|
-
|
|
4154
|
-
|
|
4155
|
-
|
|
4156
|
-
|
|
4157
|
-
|
|
4158
|
-
|
|
4159
|
-
|
|
4160
|
-
[key: string]: unknown;
|
|
4161
|
-
};
|
|
4162
|
-
/**
|
|
4163
|
-
* Api Usage
|
|
4164
|
-
* API usage statistics
|
|
4165
|
-
*/
|
|
4166
|
-
api_usage: {
|
|
4167
|
-
[key: string]: unknown;
|
|
4168
|
-
};
|
|
4169
|
-
/**
|
|
4170
|
-
* Limits
|
|
4171
|
-
* Current limits and restrictions
|
|
4172
|
-
*/
|
|
4173
|
-
limits: {
|
|
4174
|
-
[key: string]: unknown;
|
|
4175
|
-
};
|
|
4176
|
-
/**
|
|
4177
|
-
* Recent Activity
|
|
4178
|
-
* Recent user activity
|
|
4179
|
-
*/
|
|
4180
|
-
recent_activity: Array<{
|
|
4181
|
-
[key: string]: unknown;
|
|
4182
|
-
}>;
|
|
4183
|
-
/**
|
|
4184
|
-
* Timestamp
|
|
4185
|
-
* Analytics generation timestamp
|
|
4186
|
-
*/
|
|
4187
|
-
timestamp: string;
|
|
4188
|
-
};
|
|
4189
|
-
|
|
4190
|
-
/**
|
|
4191
|
-
* UserGraphSummary
|
|
4192
|
-
* Summary of a single graph for user analytics.
|
|
4193
|
-
*/
|
|
4194
|
-
export type UserGraphSummary = {
|
|
4195
|
-
/**
|
|
4196
|
-
* Graph Id
|
|
4197
|
-
* Graph database identifier
|
|
4198
|
-
*/
|
|
4199
|
-
graph_id: string;
|
|
4200
|
-
/**
|
|
4201
|
-
* Graph Name
|
|
4202
|
-
* Display name for the graph
|
|
4203
|
-
*/
|
|
4204
|
-
graph_name?: string | null;
|
|
4205
|
-
/**
|
|
4206
|
-
* Role
|
|
4207
|
-
* User's role in this graph
|
|
4208
|
-
*/
|
|
4209
|
-
role: string;
|
|
4210
|
-
/**
|
|
4211
|
-
* Total Nodes
|
|
4212
|
-
* Total number of nodes
|
|
4213
|
-
*/
|
|
4214
|
-
total_nodes: number;
|
|
4215
|
-
/**
|
|
4216
|
-
* Total Relationships
|
|
4217
|
-
* Total number of relationships
|
|
4218
|
-
*/
|
|
4219
|
-
total_relationships: number;
|
|
4220
|
-
/**
|
|
4221
|
-
* Estimated Size Mb
|
|
4222
|
-
* Estimated database size in MB
|
|
4223
|
-
*/
|
|
4224
|
-
estimated_size_mb: number;
|
|
4225
|
-
/**
|
|
4226
|
-
* Last Accessed
|
|
4227
|
-
* Last access timestamp
|
|
4228
|
-
*/
|
|
4229
|
-
last_accessed?: string | null;
|
|
4230
|
-
};
|
|
4231
|
-
|
|
4232
|
-
/**
|
|
4233
|
-
* UserGraphsResponse
|
|
4234
|
-
* User graphs response model.
|
|
4235
|
-
*/
|
|
4236
|
-
export type UserGraphsResponse = {
|
|
4083
|
+
new_plan_name: string;
|
|
4084
|
+
};
|
|
4085
|
+
|
|
4086
|
+
/**
|
|
4087
|
+
* UserGraphsResponse
|
|
4088
|
+
* User graphs response model.
|
|
4089
|
+
*/
|
|
4090
|
+
export type UserGraphsResponse = {
|
|
4237
4091
|
/**
|
|
4238
4092
|
* Graphs
|
|
4239
4093
|
* List of accessible graphs
|
|
@@ -4308,28 +4162,6 @@ export type UserResponse = {
|
|
|
4308
4162
|
accounts?: Array<AccountInfo>;
|
|
4309
4163
|
};
|
|
4310
4164
|
|
|
4311
|
-
/**
|
|
4312
|
-
* UserSubscriptionsResponse
|
|
4313
|
-
* Response for user subscriptions.
|
|
4314
|
-
*/
|
|
4315
|
-
export type UserSubscriptionsResponse = {
|
|
4316
|
-
/**
|
|
4317
|
-
* Subscriptions
|
|
4318
|
-
* List of user subscriptions
|
|
4319
|
-
*/
|
|
4320
|
-
subscriptions: Array<SubscriptionInfo>;
|
|
4321
|
-
/**
|
|
4322
|
-
* Total Count
|
|
4323
|
-
* Total number of subscriptions
|
|
4324
|
-
*/
|
|
4325
|
-
total_count: number;
|
|
4326
|
-
/**
|
|
4327
|
-
* Active Count
|
|
4328
|
-
* Number of active subscriptions
|
|
4329
|
-
*/
|
|
4330
|
-
active_count: number;
|
|
4331
|
-
};
|
|
4332
|
-
|
|
4333
4165
|
/**
|
|
4334
4166
|
* UserUsageResponse
|
|
4335
4167
|
* Response model for user usage statistics.
|
|
@@ -4356,50 +4188,6 @@ export type UserUsageResponse = {
|
|
|
4356
4188
|
limits: UserLimitsResponse;
|
|
4357
4189
|
};
|
|
4358
4190
|
|
|
4359
|
-
/**
|
|
4360
|
-
* UserUsageSummaryResponse
|
|
4361
|
-
* Response model for user usage summary.
|
|
4362
|
-
*/
|
|
4363
|
-
export type UserUsageSummaryResponse = {
|
|
4364
|
-
/**
|
|
4365
|
-
* User Id
|
|
4366
|
-
* User identifier
|
|
4367
|
-
*/
|
|
4368
|
-
user_id: string;
|
|
4369
|
-
/**
|
|
4370
|
-
* Graph Count
|
|
4371
|
-
* Number of accessible graphs
|
|
4372
|
-
*/
|
|
4373
|
-
graph_count: number;
|
|
4374
|
-
/**
|
|
4375
|
-
* Total Nodes
|
|
4376
|
-
* Total nodes across all graphs
|
|
4377
|
-
*/
|
|
4378
|
-
total_nodes: number;
|
|
4379
|
-
/**
|
|
4380
|
-
* Total Relationships
|
|
4381
|
-
* Total relationships across all graphs
|
|
4382
|
-
*/
|
|
4383
|
-
total_relationships: number;
|
|
4384
|
-
/**
|
|
4385
|
-
* Usage Vs Limits
|
|
4386
|
-
* Usage compared to limits
|
|
4387
|
-
*/
|
|
4388
|
-
usage_vs_limits: {
|
|
4389
|
-
[key: string]: unknown;
|
|
4390
|
-
};
|
|
4391
|
-
/**
|
|
4392
|
-
* Graphs
|
|
4393
|
-
* Summary of each graph
|
|
4394
|
-
*/
|
|
4395
|
-
graphs: Array<UserGraphSummary>;
|
|
4396
|
-
/**
|
|
4397
|
-
* Timestamp
|
|
4398
|
-
* Summary generation timestamp
|
|
4399
|
-
*/
|
|
4400
|
-
timestamp: string;
|
|
4401
|
-
};
|
|
4402
|
-
|
|
4403
4191
|
/**
|
|
4404
4192
|
* ValidationError
|
|
4405
4193
|
*/
|
|
@@ -4920,34 +4708,6 @@ export type UpdateUserResponses = {
|
|
|
4920
4708
|
|
|
4921
4709
|
export type UpdateUserResponse = UpdateUserResponses[keyof UpdateUserResponses];
|
|
4922
4710
|
|
|
4923
|
-
export type GetAllCreditSummariesData = {
|
|
4924
|
-
body?: never;
|
|
4925
|
-
path?: never;
|
|
4926
|
-
query?: never;
|
|
4927
|
-
url: '/v1/user/credits';
|
|
4928
|
-
};
|
|
4929
|
-
|
|
4930
|
-
export type GetAllCreditSummariesErrors = {
|
|
4931
|
-
/**
|
|
4932
|
-
* Failed to retrieve credit summaries
|
|
4933
|
-
*/
|
|
4934
|
-
500: ErrorResponse;
|
|
4935
|
-
};
|
|
4936
|
-
|
|
4937
|
-
export type GetAllCreditSummariesError = GetAllCreditSummariesErrors[keyof GetAllCreditSummariesErrors];
|
|
4938
|
-
|
|
4939
|
-
export type GetAllCreditSummariesResponses = {
|
|
4940
|
-
/**
|
|
4941
|
-
* Response Getallcreditsummaries
|
|
4942
|
-
* Credit summaries retrieved successfully
|
|
4943
|
-
*/
|
|
4944
|
-
200: {
|
|
4945
|
-
[key: string]: unknown;
|
|
4946
|
-
};
|
|
4947
|
-
};
|
|
4948
|
-
|
|
4949
|
-
export type GetAllCreditSummariesResponse = GetAllCreditSummariesResponses[keyof GetAllCreditSummariesResponses];
|
|
4950
|
-
|
|
4951
4711
|
export type UpdateUserPasswordData = {
|
|
4952
4712
|
body: UpdatePasswordRequest;
|
|
4953
4713
|
path?: never;
|
|
@@ -5101,503 +4861,148 @@ export type GetUserLimitsData = {
|
|
|
5101
4861
|
url: '/v1/user/limits';
|
|
5102
4862
|
};
|
|
5103
4863
|
|
|
5104
|
-
export type GetUserLimitsErrors = {
|
|
5105
|
-
/**
|
|
5106
|
-
* User limits not found
|
|
5107
|
-
*/
|
|
5108
|
-
404: unknown;
|
|
5109
|
-
};
|
|
5110
|
-
|
|
5111
4864
|
export type GetUserLimitsResponses = {
|
|
5112
4865
|
/**
|
|
5113
|
-
* User limits retrieved successfully
|
|
5114
|
-
*/
|
|
5115
|
-
200: UserLimitsResponse;
|
|
5116
|
-
};
|
|
5117
|
-
|
|
5118
|
-
export type GetUserLimitsResponse = GetUserLimitsResponses[keyof GetUserLimitsResponses];
|
|
5119
|
-
|
|
5120
|
-
export type GetUserUsageData = {
|
|
5121
|
-
body?: never;
|
|
5122
|
-
path?: never;
|
|
5123
|
-
query?: never;
|
|
5124
|
-
url: '/v1/user/limits/usage';
|
|
5125
|
-
};
|
|
5126
|
-
|
|
5127
|
-
export type GetUserUsageResponses = {
|
|
5128
|
-
/**
|
|
5129
|
-
* User usage statistics retrieved successfully
|
|
4866
|
+
* User limits and usage retrieved successfully
|
|
5130
4867
|
*/
|
|
5131
4868
|
200: UserUsageResponse;
|
|
5132
4869
|
};
|
|
5133
4870
|
|
|
5134
|
-
export type
|
|
5135
|
-
|
|
5136
|
-
export type GetAllSharedRepositoryLimitsData = {
|
|
5137
|
-
body?: never;
|
|
5138
|
-
path?: never;
|
|
5139
|
-
query?: never;
|
|
5140
|
-
url: '/v1/user/limits/shared-repositories/summary';
|
|
5141
|
-
};
|
|
5142
|
-
|
|
5143
|
-
export type GetAllSharedRepositoryLimitsResponses = {
|
|
5144
|
-
/**
|
|
5145
|
-
* Response Getallsharedrepositorylimits
|
|
5146
|
-
* Successful Response
|
|
5147
|
-
*/
|
|
5148
|
-
200: {
|
|
5149
|
-
[key: string]: unknown;
|
|
5150
|
-
};
|
|
5151
|
-
};
|
|
5152
|
-
|
|
5153
|
-
export type GetAllSharedRepositoryLimitsResponse = GetAllSharedRepositoryLimitsResponses[keyof GetAllSharedRepositoryLimitsResponses];
|
|
4871
|
+
export type GetUserLimitsResponse = GetUserLimitsResponses[keyof GetUserLimitsResponses];
|
|
5154
4872
|
|
|
5155
|
-
export type
|
|
4873
|
+
export type ListConnectionsData = {
|
|
5156
4874
|
body?: never;
|
|
5157
4875
|
path: {
|
|
5158
4876
|
/**
|
|
5159
|
-
*
|
|
5160
|
-
* Repository name (e.g., 'sec')
|
|
4877
|
+
* Graph Id
|
|
5161
4878
|
*/
|
|
5162
|
-
|
|
4879
|
+
graph_id: string;
|
|
5163
4880
|
};
|
|
5164
|
-
query?:
|
|
5165
|
-
|
|
4881
|
+
query?: {
|
|
4882
|
+
/**
|
|
4883
|
+
* Entity Id
|
|
4884
|
+
* Filter by entity ID
|
|
4885
|
+
*/
|
|
4886
|
+
entity_id?: string | null;
|
|
4887
|
+
/**
|
|
4888
|
+
* Provider
|
|
4889
|
+
* Filter by provider type
|
|
4890
|
+
*/
|
|
4891
|
+
provider?: ('sec' | 'quickbooks' | 'plaid') | null;
|
|
4892
|
+
};
|
|
4893
|
+
url: '/v1/graphs/{graph_id}/connections';
|
|
5166
4894
|
};
|
|
5167
4895
|
|
|
5168
|
-
export type
|
|
4896
|
+
export type ListConnectionsErrors = {
|
|
4897
|
+
/**
|
|
4898
|
+
* Access denied to graph
|
|
4899
|
+
*/
|
|
4900
|
+
403: ErrorResponse;
|
|
5169
4901
|
/**
|
|
5170
4902
|
* Validation Error
|
|
5171
4903
|
*/
|
|
5172
4904
|
422: HttpValidationError;
|
|
5173
|
-
};
|
|
5174
|
-
|
|
5175
|
-
export type GetSharedRepositoryLimitsError = GetSharedRepositoryLimitsErrors[keyof GetSharedRepositoryLimitsErrors];
|
|
5176
|
-
|
|
5177
|
-
export type GetSharedRepositoryLimitsResponses = {
|
|
5178
4905
|
/**
|
|
5179
|
-
*
|
|
5180
|
-
* Successful Response
|
|
4906
|
+
* Failed to list connections
|
|
5181
4907
|
*/
|
|
5182
|
-
|
|
5183
|
-
[key: string]: unknown;
|
|
5184
|
-
};
|
|
4908
|
+
500: ErrorResponse;
|
|
5185
4909
|
};
|
|
5186
4910
|
|
|
5187
|
-
export type
|
|
5188
|
-
|
|
5189
|
-
export type GetUserUsageOverviewData = {
|
|
5190
|
-
body?: never;
|
|
5191
|
-
path?: never;
|
|
5192
|
-
query?: never;
|
|
5193
|
-
url: '/v1/user/analytics/overview';
|
|
5194
|
-
};
|
|
4911
|
+
export type ListConnectionsError = ListConnectionsErrors[keyof ListConnectionsErrors];
|
|
5195
4912
|
|
|
5196
|
-
export type
|
|
4913
|
+
export type ListConnectionsResponses = {
|
|
5197
4914
|
/**
|
|
5198
|
-
*
|
|
4915
|
+
* Response Listconnections
|
|
4916
|
+
* Connections retrieved successfully
|
|
5199
4917
|
*/
|
|
5200
|
-
200:
|
|
4918
|
+
200: Array<ConnectionResponse>;
|
|
5201
4919
|
};
|
|
5202
4920
|
|
|
5203
|
-
export type
|
|
4921
|
+
export type ListConnectionsResponse = ListConnectionsResponses[keyof ListConnectionsResponses];
|
|
5204
4922
|
|
|
5205
|
-
export type
|
|
5206
|
-
body
|
|
5207
|
-
path
|
|
5208
|
-
query?: {
|
|
5209
|
-
/**
|
|
5210
|
-
* Include Api Stats
|
|
5211
|
-
* Include API usage statistics
|
|
5212
|
-
*/
|
|
5213
|
-
include_api_stats?: boolean;
|
|
4923
|
+
export type CreateConnectionData = {
|
|
4924
|
+
body: CreateConnectionRequest;
|
|
4925
|
+
path: {
|
|
5214
4926
|
/**
|
|
5215
|
-
*
|
|
5216
|
-
* Include recent activity
|
|
4927
|
+
* Graph Id
|
|
5217
4928
|
*/
|
|
5218
|
-
|
|
4929
|
+
graph_id: string;
|
|
5219
4930
|
};
|
|
5220
|
-
|
|
4931
|
+
query?: never;
|
|
4932
|
+
url: '/v1/graphs/{graph_id}/connections';
|
|
5221
4933
|
};
|
|
5222
4934
|
|
|
5223
|
-
export type
|
|
4935
|
+
export type CreateConnectionErrors = {
|
|
4936
|
+
/**
|
|
4937
|
+
* Invalid connection configuration
|
|
4938
|
+
*/
|
|
4939
|
+
400: ErrorResponse;
|
|
4940
|
+
/**
|
|
4941
|
+
* Access denied - admin role required
|
|
4942
|
+
*/
|
|
4943
|
+
403: ErrorResponse;
|
|
4944
|
+
/**
|
|
4945
|
+
* Connection already exists
|
|
4946
|
+
*/
|
|
4947
|
+
409: ErrorResponse;
|
|
5224
4948
|
/**
|
|
5225
4949
|
* Validation Error
|
|
5226
4950
|
*/
|
|
5227
4951
|
422: HttpValidationError;
|
|
4952
|
+
/**
|
|
4953
|
+
* Failed to create connection
|
|
4954
|
+
*/
|
|
4955
|
+
500: ErrorResponse;
|
|
5228
4956
|
};
|
|
5229
4957
|
|
|
5230
|
-
export type
|
|
4958
|
+
export type CreateConnectionError = CreateConnectionErrors[keyof CreateConnectionErrors];
|
|
5231
4959
|
|
|
5232
|
-
export type
|
|
4960
|
+
export type CreateConnectionResponses = {
|
|
5233
4961
|
/**
|
|
5234
|
-
*
|
|
4962
|
+
* Connection created successfully
|
|
5235
4963
|
*/
|
|
5236
|
-
|
|
4964
|
+
201: ConnectionResponse;
|
|
5237
4965
|
};
|
|
5238
4966
|
|
|
5239
|
-
export type
|
|
4967
|
+
export type CreateConnectionResponse = CreateConnectionResponses[keyof CreateConnectionResponses];
|
|
5240
4968
|
|
|
5241
|
-
export type
|
|
4969
|
+
export type GetConnectionOptionsData = {
|
|
5242
4970
|
body?: never;
|
|
5243
|
-
path
|
|
5244
|
-
query?: {
|
|
4971
|
+
path: {
|
|
5245
4972
|
/**
|
|
5246
|
-
*
|
|
5247
|
-
* Only return active subscriptions
|
|
4973
|
+
* Graph Id
|
|
5248
4974
|
*/
|
|
5249
|
-
|
|
4975
|
+
graph_id: string;
|
|
5250
4976
|
};
|
|
5251
|
-
|
|
4977
|
+
query?: never;
|
|
4978
|
+
url: '/v1/graphs/{graph_id}/connections/options';
|
|
5252
4979
|
};
|
|
5253
4980
|
|
|
5254
|
-
export type
|
|
4981
|
+
export type GetConnectionOptionsErrors = {
|
|
5255
4982
|
/**
|
|
5256
|
-
*
|
|
4983
|
+
* Access denied to graph
|
|
5257
4984
|
*/
|
|
5258
|
-
|
|
4985
|
+
403: ErrorResponse;
|
|
5259
4986
|
/**
|
|
5260
4987
|
* Validation Error
|
|
5261
4988
|
*/
|
|
5262
4989
|
422: HttpValidationError;
|
|
5263
4990
|
/**
|
|
5264
|
-
*
|
|
4991
|
+
* Failed to retrieve options
|
|
5265
4992
|
*/
|
|
5266
|
-
500:
|
|
4993
|
+
500: ErrorResponse;
|
|
5267
4994
|
};
|
|
5268
4995
|
|
|
5269
|
-
export type
|
|
4996
|
+
export type GetConnectionOptionsError = GetConnectionOptionsErrors[keyof GetConnectionOptionsErrors];
|
|
5270
4997
|
|
|
5271
|
-
export type
|
|
4998
|
+
export type GetConnectionOptionsResponses = {
|
|
5272
4999
|
/**
|
|
5273
|
-
*
|
|
5000
|
+
* Connection options retrieved successfully
|
|
5274
5001
|
*/
|
|
5275
|
-
200:
|
|
5002
|
+
200: ConnectionOptionsResponse;
|
|
5276
5003
|
};
|
|
5277
5004
|
|
|
5278
|
-
export type
|
|
5279
|
-
|
|
5280
|
-
export type SubscribeToSharedRepositoryData = {
|
|
5281
|
-
body: SubscriptionRequest;
|
|
5282
|
-
path?: never;
|
|
5283
|
-
query?: never;
|
|
5284
|
-
url: '/v1/user/subscriptions/shared-repositories/subscribe';
|
|
5285
|
-
};
|
|
5286
|
-
|
|
5287
|
-
export type SubscribeToSharedRepositoryErrors = {
|
|
5288
|
-
/**
|
|
5289
|
-
* Invalid add-on type or tier, or user already has active subscription
|
|
5290
|
-
*/
|
|
5291
|
-
400: unknown;
|
|
5292
|
-
/**
|
|
5293
|
-
* Authentication required
|
|
5294
|
-
*/
|
|
5295
|
-
401: unknown;
|
|
5296
|
-
/**
|
|
5297
|
-
* Validation Error
|
|
5298
|
-
*/
|
|
5299
|
-
422: HttpValidationError;
|
|
5300
|
-
/**
|
|
5301
|
-
* Internal server error
|
|
5302
|
-
*/
|
|
5303
|
-
500: unknown;
|
|
5304
|
-
};
|
|
5305
|
-
|
|
5306
|
-
export type SubscribeToSharedRepositoryError = SubscribeToSharedRepositoryErrors[keyof SubscribeToSharedRepositoryErrors];
|
|
5307
|
-
|
|
5308
|
-
export type SubscribeToSharedRepositoryResponses = {
|
|
5309
|
-
/**
|
|
5310
|
-
* Successfully subscribed to shared repository
|
|
5311
|
-
*/
|
|
5312
|
-
201: SubscriptionResponse;
|
|
5313
|
-
};
|
|
5314
|
-
|
|
5315
|
-
export type SubscribeToSharedRepositoryResponse = SubscribeToSharedRepositoryResponses[keyof SubscribeToSharedRepositoryResponses];
|
|
5316
|
-
|
|
5317
|
-
export type UpgradeSharedRepositorySubscriptionData = {
|
|
5318
|
-
body: TierUpgradeRequest;
|
|
5319
|
-
path: {
|
|
5320
|
-
/**
|
|
5321
|
-
* Subscription Id
|
|
5322
|
-
*/
|
|
5323
|
-
subscription_id: string;
|
|
5324
|
-
};
|
|
5325
|
-
query?: never;
|
|
5326
|
-
url: '/v1/user/subscriptions/shared-repositories/{subscription_id}/upgrade';
|
|
5327
|
-
};
|
|
5328
|
-
|
|
5329
|
-
export type UpgradeSharedRepositorySubscriptionErrors = {
|
|
5330
|
-
/**
|
|
5331
|
-
* Invalid tier for add-on type
|
|
5332
|
-
*/
|
|
5333
|
-
400: unknown;
|
|
5334
|
-
/**
|
|
5335
|
-
* Authentication required
|
|
5336
|
-
*/
|
|
5337
|
-
401: unknown;
|
|
5338
|
-
/**
|
|
5339
|
-
* Subscription not found or not owned by user
|
|
5340
|
-
*/
|
|
5341
|
-
404: unknown;
|
|
5342
|
-
/**
|
|
5343
|
-
* Validation Error
|
|
5344
|
-
*/
|
|
5345
|
-
422: HttpValidationError;
|
|
5346
|
-
/**
|
|
5347
|
-
* Internal server error
|
|
5348
|
-
*/
|
|
5349
|
-
500: unknown;
|
|
5350
|
-
};
|
|
5351
|
-
|
|
5352
|
-
export type UpgradeSharedRepositorySubscriptionError = UpgradeSharedRepositorySubscriptionErrors[keyof UpgradeSharedRepositorySubscriptionErrors];
|
|
5353
|
-
|
|
5354
|
-
export type UpgradeSharedRepositorySubscriptionResponses = {
|
|
5355
|
-
/**
|
|
5356
|
-
* Successfully upgraded subscription tier
|
|
5357
|
-
*/
|
|
5358
|
-
200: unknown;
|
|
5359
|
-
};
|
|
5360
|
-
|
|
5361
|
-
export type CancelSharedRepositorySubscriptionData = {
|
|
5362
|
-
body?: never;
|
|
5363
|
-
path: {
|
|
5364
|
-
/**
|
|
5365
|
-
* Subscription Id
|
|
5366
|
-
*/
|
|
5367
|
-
subscription_id: string;
|
|
5368
|
-
};
|
|
5369
|
-
query?: never;
|
|
5370
|
-
url: '/v1/user/subscriptions/shared-repositories/{subscription_id}';
|
|
5371
|
-
};
|
|
5372
|
-
|
|
5373
|
-
export type CancelSharedRepositorySubscriptionErrors = {
|
|
5374
|
-
/**
|
|
5375
|
-
* Authentication required
|
|
5376
|
-
*/
|
|
5377
|
-
401: unknown;
|
|
5378
|
-
/**
|
|
5379
|
-
* Subscription not found or not owned by user
|
|
5380
|
-
*/
|
|
5381
|
-
404: unknown;
|
|
5382
|
-
/**
|
|
5383
|
-
* Validation Error
|
|
5384
|
-
*/
|
|
5385
|
-
422: HttpValidationError;
|
|
5386
|
-
/**
|
|
5387
|
-
* Internal server error
|
|
5388
|
-
*/
|
|
5389
|
-
500: unknown;
|
|
5390
|
-
};
|
|
5391
|
-
|
|
5392
|
-
export type CancelSharedRepositorySubscriptionError = CancelSharedRepositorySubscriptionErrors[keyof CancelSharedRepositorySubscriptionErrors];
|
|
5393
|
-
|
|
5394
|
-
export type CancelSharedRepositorySubscriptionResponses = {
|
|
5395
|
-
/**
|
|
5396
|
-
* Successfully cancelled subscription
|
|
5397
|
-
*/
|
|
5398
|
-
200: CancellationResponse;
|
|
5399
|
-
};
|
|
5400
|
-
|
|
5401
|
-
export type CancelSharedRepositorySubscriptionResponse = CancelSharedRepositorySubscriptionResponses[keyof CancelSharedRepositorySubscriptionResponses];
|
|
5402
|
-
|
|
5403
|
-
export type GetSharedRepositoryCreditsData = {
|
|
5404
|
-
body?: never;
|
|
5405
|
-
path?: never;
|
|
5406
|
-
query?: never;
|
|
5407
|
-
url: '/v1/user/subscriptions/shared-repositories/credits';
|
|
5408
|
-
};
|
|
5409
|
-
|
|
5410
|
-
export type GetSharedRepositoryCreditsErrors = {
|
|
5411
|
-
/**
|
|
5412
|
-
* Authentication required
|
|
5413
|
-
*/
|
|
5414
|
-
401: unknown;
|
|
5415
|
-
/**
|
|
5416
|
-
* Internal server error
|
|
5417
|
-
*/
|
|
5418
|
-
500: unknown;
|
|
5419
|
-
};
|
|
5420
|
-
|
|
5421
|
-
export type GetSharedRepositoryCreditsResponses = {
|
|
5422
|
-
/**
|
|
5423
|
-
* Successfully retrieved credit balances
|
|
5424
|
-
*/
|
|
5425
|
-
200: CreditsSummaryResponse;
|
|
5426
|
-
};
|
|
5427
|
-
|
|
5428
|
-
export type GetSharedRepositoryCreditsResponse = GetSharedRepositoryCreditsResponses[keyof GetSharedRepositoryCreditsResponses];
|
|
5429
|
-
|
|
5430
|
-
export type GetRepositoryCreditsData = {
|
|
5431
|
-
body?: never;
|
|
5432
|
-
path: {
|
|
5433
|
-
/**
|
|
5434
|
-
* Repository
|
|
5435
|
-
*/
|
|
5436
|
-
repository: string;
|
|
5437
|
-
};
|
|
5438
|
-
query?: never;
|
|
5439
|
-
url: '/v1/user/subscriptions/shared-repositories/credits/{repository}';
|
|
5440
|
-
};
|
|
5441
|
-
|
|
5442
|
-
export type GetRepositoryCreditsErrors = {
|
|
5443
|
-
/**
|
|
5444
|
-
* Authentication required
|
|
5445
|
-
*/
|
|
5446
|
-
401: unknown;
|
|
5447
|
-
/**
|
|
5448
|
-
* Validation Error
|
|
5449
|
-
*/
|
|
5450
|
-
422: HttpValidationError;
|
|
5451
|
-
/**
|
|
5452
|
-
* Internal server error
|
|
5453
|
-
*/
|
|
5454
|
-
500: unknown;
|
|
5455
|
-
};
|
|
5456
|
-
|
|
5457
|
-
export type GetRepositoryCreditsError = GetRepositoryCreditsErrors[keyof GetRepositoryCreditsErrors];
|
|
5458
|
-
|
|
5459
|
-
export type GetRepositoryCreditsResponses = {
|
|
5460
|
-
/**
|
|
5461
|
-
* Successfully retrieved repository credits
|
|
5462
|
-
*/
|
|
5463
|
-
200: RepositoryCreditsResponse;
|
|
5464
|
-
};
|
|
5465
|
-
|
|
5466
|
-
export type GetRepositoryCreditsResponse = GetRepositoryCreditsResponses[keyof GetRepositoryCreditsResponses];
|
|
5467
|
-
|
|
5468
|
-
export type ListConnectionsData = {
|
|
5469
|
-
body?: never;
|
|
5470
|
-
path: {
|
|
5471
|
-
/**
|
|
5472
|
-
* Graph Id
|
|
5473
|
-
*/
|
|
5474
|
-
graph_id: string;
|
|
5475
|
-
};
|
|
5476
|
-
query?: {
|
|
5477
|
-
/**
|
|
5478
|
-
* Entity Id
|
|
5479
|
-
* Filter by entity ID
|
|
5480
|
-
*/
|
|
5481
|
-
entity_id?: string | null;
|
|
5482
|
-
/**
|
|
5483
|
-
* Provider
|
|
5484
|
-
* Filter by provider type
|
|
5485
|
-
*/
|
|
5486
|
-
provider?: ('sec' | 'quickbooks' | 'plaid') | null;
|
|
5487
|
-
};
|
|
5488
|
-
url: '/v1/graphs/{graph_id}/connections';
|
|
5489
|
-
};
|
|
5490
|
-
|
|
5491
|
-
export type ListConnectionsErrors = {
|
|
5492
|
-
/**
|
|
5493
|
-
* Access denied to graph
|
|
5494
|
-
*/
|
|
5495
|
-
403: ErrorResponse;
|
|
5496
|
-
/**
|
|
5497
|
-
* Validation Error
|
|
5498
|
-
*/
|
|
5499
|
-
422: HttpValidationError;
|
|
5500
|
-
/**
|
|
5501
|
-
* Failed to list connections
|
|
5502
|
-
*/
|
|
5503
|
-
500: ErrorResponse;
|
|
5504
|
-
};
|
|
5505
|
-
|
|
5506
|
-
export type ListConnectionsError = ListConnectionsErrors[keyof ListConnectionsErrors];
|
|
5507
|
-
|
|
5508
|
-
export type ListConnectionsResponses = {
|
|
5509
|
-
/**
|
|
5510
|
-
* Response Listconnections
|
|
5511
|
-
* Connections retrieved successfully
|
|
5512
|
-
*/
|
|
5513
|
-
200: Array<ConnectionResponse>;
|
|
5514
|
-
};
|
|
5515
|
-
|
|
5516
|
-
export type ListConnectionsResponse = ListConnectionsResponses[keyof ListConnectionsResponses];
|
|
5517
|
-
|
|
5518
|
-
export type CreateConnectionData = {
|
|
5519
|
-
body: CreateConnectionRequest;
|
|
5520
|
-
path: {
|
|
5521
|
-
/**
|
|
5522
|
-
* Graph Id
|
|
5523
|
-
*/
|
|
5524
|
-
graph_id: string;
|
|
5525
|
-
};
|
|
5526
|
-
query?: never;
|
|
5527
|
-
url: '/v1/graphs/{graph_id}/connections';
|
|
5528
|
-
};
|
|
5529
|
-
|
|
5530
|
-
export type CreateConnectionErrors = {
|
|
5531
|
-
/**
|
|
5532
|
-
* Invalid connection configuration
|
|
5533
|
-
*/
|
|
5534
|
-
400: ErrorResponse;
|
|
5535
|
-
/**
|
|
5536
|
-
* Access denied - admin role required
|
|
5537
|
-
*/
|
|
5538
|
-
403: ErrorResponse;
|
|
5539
|
-
/**
|
|
5540
|
-
* Connection already exists
|
|
5541
|
-
*/
|
|
5542
|
-
409: ErrorResponse;
|
|
5543
|
-
/**
|
|
5544
|
-
* Validation Error
|
|
5545
|
-
*/
|
|
5546
|
-
422: HttpValidationError;
|
|
5547
|
-
/**
|
|
5548
|
-
* Failed to create connection
|
|
5549
|
-
*/
|
|
5550
|
-
500: ErrorResponse;
|
|
5551
|
-
};
|
|
5552
|
-
|
|
5553
|
-
export type CreateConnectionError = CreateConnectionErrors[keyof CreateConnectionErrors];
|
|
5554
|
-
|
|
5555
|
-
export type CreateConnectionResponses = {
|
|
5556
|
-
/**
|
|
5557
|
-
* Connection created successfully
|
|
5558
|
-
*/
|
|
5559
|
-
201: ConnectionResponse;
|
|
5560
|
-
};
|
|
5561
|
-
|
|
5562
|
-
export type CreateConnectionResponse = CreateConnectionResponses[keyof CreateConnectionResponses];
|
|
5563
|
-
|
|
5564
|
-
export type GetConnectionOptionsData = {
|
|
5565
|
-
body?: never;
|
|
5566
|
-
path: {
|
|
5567
|
-
/**
|
|
5568
|
-
* Graph Id
|
|
5569
|
-
*/
|
|
5570
|
-
graph_id: string;
|
|
5571
|
-
};
|
|
5572
|
-
query?: never;
|
|
5573
|
-
url: '/v1/graphs/{graph_id}/connections/options';
|
|
5574
|
-
};
|
|
5575
|
-
|
|
5576
|
-
export type GetConnectionOptionsErrors = {
|
|
5577
|
-
/**
|
|
5578
|
-
* Access denied to graph
|
|
5579
|
-
*/
|
|
5580
|
-
403: ErrorResponse;
|
|
5581
|
-
/**
|
|
5582
|
-
* Validation Error
|
|
5583
|
-
*/
|
|
5584
|
-
422: HttpValidationError;
|
|
5585
|
-
/**
|
|
5586
|
-
* Failed to retrieve options
|
|
5587
|
-
*/
|
|
5588
|
-
500: ErrorResponse;
|
|
5589
|
-
};
|
|
5590
|
-
|
|
5591
|
-
export type GetConnectionOptionsError = GetConnectionOptionsErrors[keyof GetConnectionOptionsErrors];
|
|
5592
|
-
|
|
5593
|
-
export type GetConnectionOptionsResponses = {
|
|
5594
|
-
/**
|
|
5595
|
-
* Connection options retrieved successfully
|
|
5596
|
-
*/
|
|
5597
|
-
200: ConnectionOptionsResponse;
|
|
5598
|
-
};
|
|
5599
|
-
|
|
5600
|
-
export type GetConnectionOptionsResponse = GetConnectionOptionsResponses[keyof GetConnectionOptionsResponses];
|
|
5005
|
+
export type GetConnectionOptionsResponse = GetConnectionOptionsResponses[keyof GetConnectionOptionsResponses];
|
|
5601
5006
|
|
|
5602
5007
|
export type ExchangeLinkTokenData = {
|
|
5603
5008
|
body: ExchangeTokenRequest;
|
|
@@ -6525,7 +5930,7 @@ export type GetGraphMetricsResponses = {
|
|
|
6525
5930
|
|
|
6526
5931
|
export type GetGraphMetricsResponse = GetGraphMetricsResponses[keyof GetGraphMetricsResponses];
|
|
6527
5932
|
|
|
6528
|
-
export type
|
|
5933
|
+
export type GetGraphUsageAnalyticsData = {
|
|
6529
5934
|
body?: never;
|
|
6530
5935
|
path: {
|
|
6531
5936
|
/**
|
|
@@ -6535,310 +5940,145 @@ export type GetGraphUsageStatsData = {
|
|
|
6535
5940
|
};
|
|
6536
5941
|
query?: {
|
|
6537
5942
|
/**
|
|
6538
|
-
*
|
|
6539
|
-
*
|
|
6540
|
-
*/
|
|
6541
|
-
include_details?: boolean;
|
|
6542
|
-
};
|
|
6543
|
-
url: '/v1/graphs/{graph_id}/analytics/usage';
|
|
6544
|
-
};
|
|
6545
|
-
|
|
6546
|
-
export type GetGraphUsageStatsErrors = {
|
|
6547
|
-
/**
|
|
6548
|
-
* Access denied to graph
|
|
6549
|
-
*/
|
|
6550
|
-
403: ErrorResponse;
|
|
6551
|
-
/**
|
|
6552
|
-
* Validation Error
|
|
6553
|
-
*/
|
|
6554
|
-
422: HttpValidationError;
|
|
6555
|
-
/**
|
|
6556
|
-
* Failed to retrieve usage statistics
|
|
6557
|
-
*/
|
|
6558
|
-
500: ErrorResponse;
|
|
6559
|
-
};
|
|
6560
|
-
|
|
6561
|
-
export type GetGraphUsageStatsError = GetGraphUsageStatsErrors[keyof GetGraphUsageStatsErrors];
|
|
6562
|
-
|
|
6563
|
-
export type GetGraphUsageStatsResponses = {
|
|
6564
|
-
/**
|
|
6565
|
-
* Usage statistics retrieved successfully
|
|
6566
|
-
*/
|
|
6567
|
-
200: GraphUsageResponse;
|
|
6568
|
-
};
|
|
6569
|
-
|
|
6570
|
-
export type GetGraphUsageStatsResponse = GetGraphUsageStatsResponses[keyof GetGraphUsageStatsResponses];
|
|
6571
|
-
|
|
6572
|
-
export type ExecuteCypherQueryData = {
|
|
6573
|
-
body: CypherQueryRequest;
|
|
6574
|
-
path: {
|
|
6575
|
-
/**
|
|
6576
|
-
* Graph Id
|
|
6577
|
-
*/
|
|
6578
|
-
graph_id: string;
|
|
6579
|
-
};
|
|
6580
|
-
query?: {
|
|
6581
|
-
/**
|
|
6582
|
-
* Mode
|
|
6583
|
-
* Response mode override
|
|
6584
|
-
*/
|
|
6585
|
-
mode?: ResponseMode | null;
|
|
6586
|
-
/**
|
|
6587
|
-
* Chunk Size
|
|
6588
|
-
* Rows per chunk for streaming
|
|
6589
|
-
*/
|
|
6590
|
-
chunk_size?: number | null;
|
|
6591
|
-
/**
|
|
6592
|
-
* Test Mode
|
|
6593
|
-
* Enable test mode for better debugging
|
|
5943
|
+
* Time Range
|
|
5944
|
+
* Time range: 24h, 7d, 30d, current_month, last_month
|
|
6594
5945
|
*/
|
|
6595
|
-
|
|
6596
|
-
};
|
|
6597
|
-
url: '/v1/graphs/{graph_id}/query';
|
|
6598
|
-
};
|
|
6599
|
-
|
|
6600
|
-
export type ExecuteCypherQueryErrors = {
|
|
6601
|
-
/**
|
|
6602
|
-
* Invalid query or parameters
|
|
6603
|
-
*/
|
|
6604
|
-
400: unknown;
|
|
6605
|
-
/**
|
|
6606
|
-
* Access denied
|
|
6607
|
-
*/
|
|
6608
|
-
403: unknown;
|
|
6609
|
-
/**
|
|
6610
|
-
* Query timeout
|
|
6611
|
-
*/
|
|
6612
|
-
408: unknown;
|
|
6613
|
-
/**
|
|
6614
|
-
* Validation Error
|
|
6615
|
-
*/
|
|
6616
|
-
422: HttpValidationError;
|
|
6617
|
-
/**
|
|
6618
|
-
* Rate limit exceeded
|
|
6619
|
-
*/
|
|
6620
|
-
429: unknown;
|
|
6621
|
-
/**
|
|
6622
|
-
* Internal error
|
|
6623
|
-
*/
|
|
6624
|
-
500: unknown;
|
|
6625
|
-
/**
|
|
6626
|
-
* Service unavailable
|
|
6627
|
-
*/
|
|
6628
|
-
503: unknown;
|
|
6629
|
-
};
|
|
6630
|
-
|
|
6631
|
-
export type ExecuteCypherQueryError = ExecuteCypherQueryErrors[keyof ExecuteCypherQueryErrors];
|
|
6632
|
-
|
|
6633
|
-
export type ExecuteCypherQueryResponses = {
|
|
6634
|
-
/**
|
|
6635
|
-
* Query executed successfully
|
|
6636
|
-
*/
|
|
6637
|
-
200: {
|
|
6638
|
-
success?: boolean;
|
|
6639
|
-
data?: Array<{
|
|
6640
|
-
[key: string]: unknown;
|
|
6641
|
-
}>;
|
|
6642
|
-
columns?: Array<string>;
|
|
6643
|
-
row_count?: number;
|
|
6644
|
-
execution_time_ms?: number;
|
|
6645
|
-
graph_id?: string;
|
|
6646
|
-
timestamp?: string;
|
|
6647
|
-
};
|
|
6648
|
-
/**
|
|
6649
|
-
* Query queued for execution
|
|
6650
|
-
*/
|
|
6651
|
-
202: unknown;
|
|
6652
|
-
};
|
|
6653
|
-
|
|
6654
|
-
export type ExecuteCypherQueryResponse = ExecuteCypherQueryResponses[keyof ExecuteCypherQueryResponses];
|
|
6655
|
-
|
|
6656
|
-
export type GetGraphSchemaData = {
|
|
6657
|
-
body?: never;
|
|
6658
|
-
path: {
|
|
5946
|
+
time_range?: string;
|
|
6659
5947
|
/**
|
|
6660
|
-
*
|
|
5948
|
+
* Include Storage
|
|
5949
|
+
* Include storage usage summary
|
|
6661
5950
|
*/
|
|
6662
|
-
|
|
6663
|
-
};
|
|
6664
|
-
query?: never;
|
|
6665
|
-
url: '/v1/graphs/{graph_id}/schema';
|
|
6666
|
-
};
|
|
6667
|
-
|
|
6668
|
-
export type GetGraphSchemaErrors = {
|
|
6669
|
-
/**
|
|
6670
|
-
* Access denied to graph
|
|
6671
|
-
*/
|
|
6672
|
-
403: unknown;
|
|
6673
|
-
/**
|
|
6674
|
-
* Validation Error
|
|
6675
|
-
*/
|
|
6676
|
-
422: HttpValidationError;
|
|
6677
|
-
/**
|
|
6678
|
-
* Failed to retrieve schema
|
|
6679
|
-
*/
|
|
6680
|
-
500: unknown;
|
|
6681
|
-
/**
|
|
6682
|
-
* Schema operation timed out
|
|
6683
|
-
*/
|
|
6684
|
-
504: unknown;
|
|
6685
|
-
};
|
|
6686
|
-
|
|
6687
|
-
export type GetGraphSchemaError = GetGraphSchemaErrors[keyof GetGraphSchemaErrors];
|
|
6688
|
-
|
|
6689
|
-
export type GetGraphSchemaResponses = {
|
|
6690
|
-
/**
|
|
6691
|
-
* Schema information retrieved successfully
|
|
6692
|
-
*/
|
|
6693
|
-
200: SchemaInfoResponse;
|
|
6694
|
-
};
|
|
6695
|
-
|
|
6696
|
-
export type GetGraphSchemaResponse = GetGraphSchemaResponses[keyof GetGraphSchemaResponses];
|
|
6697
|
-
|
|
6698
|
-
export type ExportGraphSchemaData = {
|
|
6699
|
-
body?: never;
|
|
6700
|
-
path: {
|
|
5951
|
+
include_storage?: boolean;
|
|
6701
5952
|
/**
|
|
6702
|
-
*
|
|
5953
|
+
* Include Credits
|
|
5954
|
+
* Include credit consumption summary
|
|
6703
5955
|
*/
|
|
6704
|
-
|
|
6705
|
-
};
|
|
6706
|
-
query?: {
|
|
5956
|
+
include_credits?: boolean;
|
|
6707
5957
|
/**
|
|
6708
|
-
*
|
|
6709
|
-
*
|
|
5958
|
+
* Include Performance
|
|
5959
|
+
* Include performance insights (may be slower)
|
|
6710
5960
|
*/
|
|
6711
|
-
|
|
5961
|
+
include_performance?: boolean;
|
|
6712
5962
|
/**
|
|
6713
|
-
* Include
|
|
6714
|
-
* Include
|
|
5963
|
+
* Include Events
|
|
5964
|
+
* Include recent usage events
|
|
6715
5965
|
*/
|
|
6716
|
-
|
|
5966
|
+
include_events?: boolean;
|
|
6717
5967
|
};
|
|
6718
|
-
url: '/v1/graphs/{graph_id}/
|
|
5968
|
+
url: '/v1/graphs/{graph_id}/analytics/usage';
|
|
6719
5969
|
};
|
|
6720
5970
|
|
|
6721
|
-
export type
|
|
5971
|
+
export type GetGraphUsageAnalyticsErrors = {
|
|
6722
5972
|
/**
|
|
6723
5973
|
* Access denied to graph
|
|
6724
5974
|
*/
|
|
6725
|
-
403:
|
|
6726
|
-
/**
|
|
6727
|
-
* Schema not found for graph
|
|
6728
|
-
*/
|
|
6729
|
-
404: unknown;
|
|
5975
|
+
403: ErrorResponse;
|
|
6730
5976
|
/**
|
|
6731
5977
|
* Validation Error
|
|
6732
5978
|
*/
|
|
6733
5979
|
422: HttpValidationError;
|
|
6734
5980
|
/**
|
|
6735
|
-
* Failed to
|
|
5981
|
+
* Failed to retrieve usage analytics
|
|
6736
5982
|
*/
|
|
6737
|
-
500:
|
|
5983
|
+
500: ErrorResponse;
|
|
6738
5984
|
};
|
|
6739
5985
|
|
|
6740
|
-
export type
|
|
5986
|
+
export type GetGraphUsageAnalyticsError = GetGraphUsageAnalyticsErrors[keyof GetGraphUsageAnalyticsErrors];
|
|
6741
5987
|
|
|
6742
|
-
export type
|
|
5988
|
+
export type GetGraphUsageAnalyticsResponses = {
|
|
6743
5989
|
/**
|
|
6744
|
-
*
|
|
5990
|
+
* Usage analytics retrieved successfully
|
|
6745
5991
|
*/
|
|
6746
|
-
200:
|
|
5992
|
+
200: GraphUsageResponse;
|
|
6747
5993
|
};
|
|
6748
5994
|
|
|
6749
|
-
export type
|
|
5995
|
+
export type GetGraphUsageAnalyticsResponse = GetGraphUsageAnalyticsResponses[keyof GetGraphUsageAnalyticsResponses];
|
|
6750
5996
|
|
|
6751
|
-
export type
|
|
6752
|
-
|
|
6753
|
-
* Schema definition to validate
|
|
6754
|
-
*/
|
|
6755
|
-
body: SchemaValidationRequest;
|
|
5997
|
+
export type ExecuteCypherQueryData = {
|
|
5998
|
+
body: CypherQueryRequest;
|
|
6756
5999
|
path: {
|
|
6757
6000
|
/**
|
|
6758
6001
|
* Graph Id
|
|
6759
6002
|
*/
|
|
6760
6003
|
graph_id: string;
|
|
6761
6004
|
};
|
|
6762
|
-
query?:
|
|
6763
|
-
url: '/v1/graphs/{graph_id}/schema/validate';
|
|
6764
|
-
};
|
|
6765
|
-
|
|
6766
|
-
export type ValidateSchemaErrors = {
|
|
6767
|
-
/**
|
|
6768
|
-
* Invalid schema format
|
|
6769
|
-
*/
|
|
6770
|
-
400: ErrorResponse;
|
|
6771
|
-
/**
|
|
6772
|
-
* Access denied to graph
|
|
6773
|
-
*/
|
|
6774
|
-
403: ErrorResponse;
|
|
6775
|
-
/**
|
|
6776
|
-
* Schema validation failed
|
|
6777
|
-
*/
|
|
6778
|
-
422: ErrorResponse;
|
|
6779
|
-
/**
|
|
6780
|
-
* Validation error
|
|
6781
|
-
*/
|
|
6782
|
-
500: ErrorResponse;
|
|
6783
|
-
};
|
|
6784
|
-
|
|
6785
|
-
export type ValidateSchemaError = ValidateSchemaErrors[keyof ValidateSchemaErrors];
|
|
6786
|
-
|
|
6787
|
-
export type ValidateSchemaResponses = {
|
|
6788
|
-
/**
|
|
6789
|
-
* Schema validation completed
|
|
6790
|
-
*/
|
|
6791
|
-
200: SchemaValidationResponse;
|
|
6792
|
-
};
|
|
6793
|
-
|
|
6794
|
-
export type ValidateSchemaResponse = ValidateSchemaResponses[keyof ValidateSchemaResponses];
|
|
6795
|
-
|
|
6796
|
-
export type GetCurrentGraphBillData = {
|
|
6797
|
-
body?: never;
|
|
6798
|
-
path: {
|
|
6005
|
+
query?: {
|
|
6799
6006
|
/**
|
|
6800
|
-
*
|
|
6007
|
+
* Mode
|
|
6008
|
+
* Response mode override
|
|
6801
6009
|
*/
|
|
6802
|
-
|
|
6010
|
+
mode?: ResponseMode | null;
|
|
6011
|
+
/**
|
|
6012
|
+
* Chunk Size
|
|
6013
|
+
* Rows per chunk for streaming
|
|
6014
|
+
*/
|
|
6015
|
+
chunk_size?: number | null;
|
|
6016
|
+
/**
|
|
6017
|
+
* Test Mode
|
|
6018
|
+
* Enable test mode for better debugging
|
|
6019
|
+
*/
|
|
6020
|
+
test_mode?: boolean;
|
|
6803
6021
|
};
|
|
6804
|
-
query
|
|
6805
|
-
url: '/v1/graphs/{graph_id}/billing/current';
|
|
6022
|
+
url: '/v1/graphs/{graph_id}/query';
|
|
6806
6023
|
};
|
|
6807
6024
|
|
|
6808
|
-
export type
|
|
6025
|
+
export type ExecuteCypherQueryErrors = {
|
|
6809
6026
|
/**
|
|
6810
|
-
*
|
|
6027
|
+
* Invalid query or parameters
|
|
6811
6028
|
*/
|
|
6812
|
-
|
|
6029
|
+
400: unknown;
|
|
6813
6030
|
/**
|
|
6814
|
-
*
|
|
6031
|
+
* Access denied
|
|
6815
6032
|
*/
|
|
6816
|
-
|
|
6033
|
+
403: unknown;
|
|
6034
|
+
/**
|
|
6035
|
+
* Query timeout
|
|
6036
|
+
*/
|
|
6037
|
+
408: unknown;
|
|
6817
6038
|
/**
|
|
6818
6039
|
* Validation Error
|
|
6819
6040
|
*/
|
|
6820
6041
|
422: HttpValidationError;
|
|
6821
6042
|
/**
|
|
6822
|
-
*
|
|
6043
|
+
* Rate limit exceeded
|
|
6044
|
+
*/
|
|
6045
|
+
429: unknown;
|
|
6046
|
+
/**
|
|
6047
|
+
* Internal error
|
|
6823
6048
|
*/
|
|
6824
|
-
500:
|
|
6049
|
+
500: unknown;
|
|
6050
|
+
/**
|
|
6051
|
+
* Service unavailable
|
|
6052
|
+
*/
|
|
6053
|
+
503: unknown;
|
|
6825
6054
|
};
|
|
6826
6055
|
|
|
6827
|
-
export type
|
|
6056
|
+
export type ExecuteCypherQueryError = ExecuteCypherQueryErrors[keyof ExecuteCypherQueryErrors];
|
|
6828
6057
|
|
|
6829
|
-
export type
|
|
6058
|
+
export type ExecuteCypherQueryResponses = {
|
|
6830
6059
|
/**
|
|
6831
|
-
*
|
|
6832
|
-
* Current bill retrieved successfully
|
|
6060
|
+
* Query executed successfully
|
|
6833
6061
|
*/
|
|
6834
6062
|
200: {
|
|
6835
|
-
|
|
6063
|
+
success?: boolean;
|
|
6064
|
+
data?: Array<{
|
|
6065
|
+
[key: string]: unknown;
|
|
6066
|
+
}>;
|
|
6067
|
+
columns?: Array<string>;
|
|
6068
|
+
row_count?: number;
|
|
6069
|
+
execution_time_ms?: number;
|
|
6070
|
+
graph_id?: string;
|
|
6071
|
+
timestamp?: string;
|
|
6836
6072
|
};
|
|
6073
|
+
/**
|
|
6074
|
+
* Query queued for execution
|
|
6075
|
+
*/
|
|
6076
|
+
202: unknown;
|
|
6837
6077
|
};
|
|
6838
6078
|
|
|
6839
|
-
export type
|
|
6079
|
+
export type ExecuteCypherQueryResponse = ExecuteCypherQueryResponses[keyof ExecuteCypherQueryResponses];
|
|
6840
6080
|
|
|
6841
|
-
export type
|
|
6081
|
+
export type GetGraphSchemaData = {
|
|
6842
6082
|
body?: never;
|
|
6843
6083
|
path: {
|
|
6844
6084
|
/**
|
|
@@ -6846,59 +6086,41 @@ export type GetGraphUsageDetailsData = {
|
|
|
6846
6086
|
*/
|
|
6847
6087
|
graph_id: string;
|
|
6848
6088
|
};
|
|
6849
|
-
query?:
|
|
6850
|
-
|
|
6851
|
-
* Year
|
|
6852
|
-
* Year (defaults to current)
|
|
6853
|
-
*/
|
|
6854
|
-
year?: number | null;
|
|
6855
|
-
/**
|
|
6856
|
-
* Month
|
|
6857
|
-
* Month (defaults to current)
|
|
6858
|
-
*/
|
|
6859
|
-
month?: number | null;
|
|
6860
|
-
};
|
|
6861
|
-
url: '/v1/graphs/{graph_id}/billing/usage';
|
|
6089
|
+
query?: never;
|
|
6090
|
+
url: '/v1/graphs/{graph_id}/schema';
|
|
6862
6091
|
};
|
|
6863
6092
|
|
|
6864
|
-
export type
|
|
6865
|
-
/**
|
|
6866
|
-
* Invalid year or month
|
|
6867
|
-
*/
|
|
6868
|
-
400: ErrorResponse;
|
|
6093
|
+
export type GetGraphSchemaErrors = {
|
|
6869
6094
|
/**
|
|
6870
6095
|
* Access denied to graph
|
|
6871
6096
|
*/
|
|
6872
|
-
403:
|
|
6873
|
-
/**
|
|
6874
|
-
* Graph not found
|
|
6875
|
-
*/
|
|
6876
|
-
404: ErrorResponse;
|
|
6097
|
+
403: unknown;
|
|
6877
6098
|
/**
|
|
6878
6099
|
* Validation Error
|
|
6879
6100
|
*/
|
|
6880
6101
|
422: HttpValidationError;
|
|
6881
6102
|
/**
|
|
6882
|
-
* Failed to retrieve
|
|
6103
|
+
* Failed to retrieve schema
|
|
6104
|
+
*/
|
|
6105
|
+
500: unknown;
|
|
6106
|
+
/**
|
|
6107
|
+
* Schema operation timed out
|
|
6883
6108
|
*/
|
|
6884
|
-
|
|
6109
|
+
504: unknown;
|
|
6885
6110
|
};
|
|
6886
6111
|
|
|
6887
|
-
export type
|
|
6112
|
+
export type GetGraphSchemaError = GetGraphSchemaErrors[keyof GetGraphSchemaErrors];
|
|
6888
6113
|
|
|
6889
|
-
export type
|
|
6114
|
+
export type GetGraphSchemaResponses = {
|
|
6890
6115
|
/**
|
|
6891
|
-
*
|
|
6892
|
-
* Usage details retrieved successfully
|
|
6116
|
+
* Schema information retrieved successfully
|
|
6893
6117
|
*/
|
|
6894
|
-
200:
|
|
6895
|
-
[key: string]: unknown;
|
|
6896
|
-
};
|
|
6118
|
+
200: SchemaInfoResponse;
|
|
6897
6119
|
};
|
|
6898
6120
|
|
|
6899
|
-
export type
|
|
6121
|
+
export type GetGraphSchemaResponse = GetGraphSchemaResponses[keyof GetGraphSchemaResponses];
|
|
6900
6122
|
|
|
6901
|
-
export type
|
|
6123
|
+
export type ExportGraphSchemaData = {
|
|
6902
6124
|
body?: never;
|
|
6903
6125
|
path: {
|
|
6904
6126
|
/**
|
|
@@ -6908,72 +6130,67 @@ export type GetGraphBillingHistoryData = {
|
|
|
6908
6130
|
};
|
|
6909
6131
|
query?: {
|
|
6910
6132
|
/**
|
|
6911
|
-
*
|
|
6912
|
-
*
|
|
6133
|
+
* Format
|
|
6134
|
+
* Export format: json, yaml, or cypher
|
|
6135
|
+
*/
|
|
6136
|
+
format?: string;
|
|
6137
|
+
/**
|
|
6138
|
+
* Include Data Stats
|
|
6139
|
+
* Include statistics about actual data in the graph (node counts, relationship counts)
|
|
6913
6140
|
*/
|
|
6914
|
-
|
|
6141
|
+
include_data_stats?: boolean;
|
|
6915
6142
|
};
|
|
6916
|
-
url: '/v1/graphs/{graph_id}/
|
|
6143
|
+
url: '/v1/graphs/{graph_id}/schema/export';
|
|
6917
6144
|
};
|
|
6918
6145
|
|
|
6919
|
-
export type
|
|
6146
|
+
export type ExportGraphSchemaErrors = {
|
|
6920
6147
|
/**
|
|
6921
6148
|
* Access denied to graph
|
|
6922
6149
|
*/
|
|
6923
|
-
403:
|
|
6150
|
+
403: unknown;
|
|
6924
6151
|
/**
|
|
6925
|
-
*
|
|
6152
|
+
* Schema not found for graph
|
|
6926
6153
|
*/
|
|
6927
|
-
404:
|
|
6154
|
+
404: unknown;
|
|
6928
6155
|
/**
|
|
6929
6156
|
* Validation Error
|
|
6930
6157
|
*/
|
|
6931
6158
|
422: HttpValidationError;
|
|
6932
6159
|
/**
|
|
6933
|
-
* Failed to
|
|
6160
|
+
* Failed to export schema
|
|
6934
6161
|
*/
|
|
6935
|
-
500:
|
|
6162
|
+
500: unknown;
|
|
6936
6163
|
};
|
|
6937
6164
|
|
|
6938
|
-
export type
|
|
6165
|
+
export type ExportGraphSchemaError = ExportGraphSchemaErrors[keyof ExportGraphSchemaErrors];
|
|
6939
6166
|
|
|
6940
|
-
export type
|
|
6167
|
+
export type ExportGraphSchemaResponses = {
|
|
6941
6168
|
/**
|
|
6942
|
-
*
|
|
6943
|
-
* Billing history retrieved successfully
|
|
6169
|
+
* Schema exported successfully
|
|
6944
6170
|
*/
|
|
6945
|
-
200:
|
|
6946
|
-
[key: string]: unknown;
|
|
6947
|
-
};
|
|
6171
|
+
200: SchemaExportResponse;
|
|
6948
6172
|
};
|
|
6949
6173
|
|
|
6950
|
-
export type
|
|
6174
|
+
export type ExportGraphSchemaResponse = ExportGraphSchemaResponses[keyof ExportGraphSchemaResponses];
|
|
6951
6175
|
|
|
6952
|
-
export type
|
|
6953
|
-
|
|
6176
|
+
export type ValidateSchemaData = {
|
|
6177
|
+
/**
|
|
6178
|
+
* Schema definition to validate
|
|
6179
|
+
*/
|
|
6180
|
+
body: SchemaValidationRequest;
|
|
6954
6181
|
path: {
|
|
6955
|
-
/**
|
|
6956
|
-
* Year
|
|
6957
|
-
* Year (2024-2030)
|
|
6958
|
-
*/
|
|
6959
|
-
year: number;
|
|
6960
|
-
/**
|
|
6961
|
-
* Month
|
|
6962
|
-
* Month (1-12)
|
|
6963
|
-
*/
|
|
6964
|
-
month: number;
|
|
6965
6182
|
/**
|
|
6966
6183
|
* Graph Id
|
|
6967
6184
|
*/
|
|
6968
6185
|
graph_id: string;
|
|
6969
6186
|
};
|
|
6970
6187
|
query?: never;
|
|
6971
|
-
url: '/v1/graphs/{graph_id}/
|
|
6188
|
+
url: '/v1/graphs/{graph_id}/schema/validate';
|
|
6972
6189
|
};
|
|
6973
6190
|
|
|
6974
|
-
export type
|
|
6191
|
+
export type ValidateSchemaErrors = {
|
|
6975
6192
|
/**
|
|
6976
|
-
* Invalid
|
|
6193
|
+
* Invalid schema format
|
|
6977
6194
|
*/
|
|
6978
6195
|
400: ErrorResponse;
|
|
6979
6196
|
/**
|
|
@@ -6981,32 +6198,25 @@ export type GetGraphMonthlyBillErrors = {
|
|
|
6981
6198
|
*/
|
|
6982
6199
|
403: ErrorResponse;
|
|
6983
6200
|
/**
|
|
6984
|
-
*
|
|
6985
|
-
*/
|
|
6986
|
-
404: ErrorResponse;
|
|
6987
|
-
/**
|
|
6988
|
-
* Validation Error
|
|
6201
|
+
* Schema validation failed
|
|
6989
6202
|
*/
|
|
6990
|
-
422:
|
|
6203
|
+
422: ErrorResponse;
|
|
6991
6204
|
/**
|
|
6992
|
-
*
|
|
6205
|
+
* Validation error
|
|
6993
6206
|
*/
|
|
6994
6207
|
500: ErrorResponse;
|
|
6995
6208
|
};
|
|
6996
6209
|
|
|
6997
|
-
export type
|
|
6210
|
+
export type ValidateSchemaError = ValidateSchemaErrors[keyof ValidateSchemaErrors];
|
|
6998
6211
|
|
|
6999
|
-
export type
|
|
6212
|
+
export type ValidateSchemaResponses = {
|
|
7000
6213
|
/**
|
|
7001
|
-
*
|
|
7002
|
-
* Monthly bill retrieved successfully
|
|
6214
|
+
* Schema validation completed
|
|
7003
6215
|
*/
|
|
7004
|
-
200:
|
|
7005
|
-
[key: string]: unknown;
|
|
7006
|
-
};
|
|
6216
|
+
200: SchemaValidationResponse;
|
|
7007
6217
|
};
|
|
7008
6218
|
|
|
7009
|
-
export type
|
|
6219
|
+
export type ValidateSchemaResponse = ValidateSchemaResponses[keyof ValidateSchemaResponses];
|
|
7010
6220
|
|
|
7011
6221
|
export type GetCreditSummaryData = {
|
|
7012
6222
|
body?: never;
|
|
@@ -7618,6 +6828,154 @@ export type GetSubgraphQuotaResponses = {
|
|
|
7618
6828
|
|
|
7619
6829
|
export type GetSubgraphQuotaResponse = GetSubgraphQuotaResponses[keyof GetSubgraphQuotaResponses];
|
|
7620
6830
|
|
|
6831
|
+
export type CancelSubscriptionData = {
|
|
6832
|
+
body?: never;
|
|
6833
|
+
path: {
|
|
6834
|
+
/**
|
|
6835
|
+
* Graph Id
|
|
6836
|
+
* Graph ID or repository name
|
|
6837
|
+
*/
|
|
6838
|
+
graph_id: string;
|
|
6839
|
+
};
|
|
6840
|
+
query?: never;
|
|
6841
|
+
url: '/v1/graphs/{graph_id}/subscriptions';
|
|
6842
|
+
};
|
|
6843
|
+
|
|
6844
|
+
export type CancelSubscriptionErrors = {
|
|
6845
|
+
/**
|
|
6846
|
+
* Cannot cancel graph subscriptions directly
|
|
6847
|
+
*/
|
|
6848
|
+
400: unknown;
|
|
6849
|
+
/**
|
|
6850
|
+
* No subscription found
|
|
6851
|
+
*/
|
|
6852
|
+
404: unknown;
|
|
6853
|
+
/**
|
|
6854
|
+
* Validation Error
|
|
6855
|
+
*/
|
|
6856
|
+
422: HttpValidationError;
|
|
6857
|
+
};
|
|
6858
|
+
|
|
6859
|
+
export type CancelSubscriptionError = CancelSubscriptionErrors[keyof CancelSubscriptionErrors];
|
|
6860
|
+
|
|
6861
|
+
export type CancelSubscriptionResponses = {
|
|
6862
|
+
/**
|
|
6863
|
+
* Subscription canceled successfully
|
|
6864
|
+
*/
|
|
6865
|
+
200: CancellationResponse;
|
|
6866
|
+
};
|
|
6867
|
+
|
|
6868
|
+
export type CancelSubscriptionResponse = CancelSubscriptionResponses[keyof CancelSubscriptionResponses];
|
|
6869
|
+
|
|
6870
|
+
export type GetGraphSubscriptionData = {
|
|
6871
|
+
body?: never;
|
|
6872
|
+
path: {
|
|
6873
|
+
/**
|
|
6874
|
+
* Graph Id
|
|
6875
|
+
* Graph ID or repository name
|
|
6876
|
+
*/
|
|
6877
|
+
graph_id: string;
|
|
6878
|
+
};
|
|
6879
|
+
query?: never;
|
|
6880
|
+
url: '/v1/graphs/{graph_id}/subscriptions';
|
|
6881
|
+
};
|
|
6882
|
+
|
|
6883
|
+
export type GetGraphSubscriptionErrors = {
|
|
6884
|
+
/**
|
|
6885
|
+
* No subscription found
|
|
6886
|
+
*/
|
|
6887
|
+
404: unknown;
|
|
6888
|
+
/**
|
|
6889
|
+
* Validation Error
|
|
6890
|
+
*/
|
|
6891
|
+
422: HttpValidationError;
|
|
6892
|
+
};
|
|
6893
|
+
|
|
6894
|
+
export type GetGraphSubscriptionError = GetGraphSubscriptionErrors[keyof GetGraphSubscriptionErrors];
|
|
6895
|
+
|
|
6896
|
+
export type GetGraphSubscriptionResponses = {
|
|
6897
|
+
/**
|
|
6898
|
+
* Subscription retrieved successfully
|
|
6899
|
+
*/
|
|
6900
|
+
200: GraphSubscriptionResponse;
|
|
6901
|
+
};
|
|
6902
|
+
|
|
6903
|
+
export type GetGraphSubscriptionResponse = GetGraphSubscriptionResponses[keyof GetGraphSubscriptionResponses];
|
|
6904
|
+
|
|
6905
|
+
export type CreateRepositorySubscriptionData = {
|
|
6906
|
+
body: CreateRepositorySubscriptionRequest;
|
|
6907
|
+
path: {
|
|
6908
|
+
/**
|
|
6909
|
+
* Graph Id
|
|
6910
|
+
* Repository name (e.g., 'sec', 'industry')
|
|
6911
|
+
*/
|
|
6912
|
+
graph_id: string;
|
|
6913
|
+
};
|
|
6914
|
+
query?: never;
|
|
6915
|
+
url: '/v1/graphs/{graph_id}/subscriptions';
|
|
6916
|
+
};
|
|
6917
|
+
|
|
6918
|
+
export type CreateRepositorySubscriptionErrors = {
|
|
6919
|
+
/**
|
|
6920
|
+
* Invalid request - cannot create subscription for user graphs
|
|
6921
|
+
*/
|
|
6922
|
+
400: unknown;
|
|
6923
|
+
/**
|
|
6924
|
+
* User already has a subscription to this repository
|
|
6925
|
+
*/
|
|
6926
|
+
409: unknown;
|
|
6927
|
+
/**
|
|
6928
|
+
* Validation Error
|
|
6929
|
+
*/
|
|
6930
|
+
422: HttpValidationError;
|
|
6931
|
+
};
|
|
6932
|
+
|
|
6933
|
+
export type CreateRepositorySubscriptionError = CreateRepositorySubscriptionErrors[keyof CreateRepositorySubscriptionErrors];
|
|
6934
|
+
|
|
6935
|
+
export type CreateRepositorySubscriptionResponses = {
|
|
6936
|
+
/**
|
|
6937
|
+
* Repository subscription created successfully
|
|
6938
|
+
*/
|
|
6939
|
+
201: GraphSubscriptionResponse;
|
|
6940
|
+
};
|
|
6941
|
+
|
|
6942
|
+
export type CreateRepositorySubscriptionResponse = CreateRepositorySubscriptionResponses[keyof CreateRepositorySubscriptionResponses];
|
|
6943
|
+
|
|
6944
|
+
export type UpgradeSubscriptionData = {
|
|
6945
|
+
body: UpgradeSubscriptionRequest;
|
|
6946
|
+
path: {
|
|
6947
|
+
/**
|
|
6948
|
+
* Graph Id
|
|
6949
|
+
* Graph ID or repository name
|
|
6950
|
+
*/
|
|
6951
|
+
graph_id: string;
|
|
6952
|
+
};
|
|
6953
|
+
query?: never;
|
|
6954
|
+
url: '/v1/graphs/{graph_id}/subscriptions/upgrade';
|
|
6955
|
+
};
|
|
6956
|
+
|
|
6957
|
+
export type UpgradeSubscriptionErrors = {
|
|
6958
|
+
/**
|
|
6959
|
+
* No subscription found
|
|
6960
|
+
*/
|
|
6961
|
+
404: unknown;
|
|
6962
|
+
/**
|
|
6963
|
+
* Validation Error
|
|
6964
|
+
*/
|
|
6965
|
+
422: HttpValidationError;
|
|
6966
|
+
};
|
|
6967
|
+
|
|
6968
|
+
export type UpgradeSubscriptionError = UpgradeSubscriptionErrors[keyof UpgradeSubscriptionErrors];
|
|
6969
|
+
|
|
6970
|
+
export type UpgradeSubscriptionResponses = {
|
|
6971
|
+
/**
|
|
6972
|
+
* Subscription upgraded successfully
|
|
6973
|
+
*/
|
|
6974
|
+
200: GraphSubscriptionResponse;
|
|
6975
|
+
};
|
|
6976
|
+
|
|
6977
|
+
export type UpgradeSubscriptionResponse = UpgradeSubscriptionResponses[keyof UpgradeSubscriptionResponses];
|
|
6978
|
+
|
|
7621
6979
|
export type ListTablesData = {
|
|
7622
6980
|
body?: never;
|
|
7623
6981
|
path: {
|