@robosystems/client 0.2.8 → 0.2.10
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 +146 -163
- package/sdk/sdk.gen.js +412 -469
- package/sdk/sdk.gen.ts +412 -469
- package/sdk/types.gen.d.ts +971 -1028
- package/sdk/types.gen.ts +1210 -1278
- package/sdk.gen.d.ts +146 -163
- package/sdk.gen.js +412 -469
- package/sdk.gen.ts +412 -469
- package/types.gen.d.ts +971 -1028
- package/types.gen.ts +1210 -1278
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.
|
|
@@ -779,6 +732,43 @@ export type BatchAgentResponse = {
|
|
|
779
732
|
parallel_processed: boolean;
|
|
780
733
|
};
|
|
781
734
|
|
|
735
|
+
/**
|
|
736
|
+
* BillingCustomer
|
|
737
|
+
* Billing customer information.
|
|
738
|
+
*/
|
|
739
|
+
export type BillingCustomer = {
|
|
740
|
+
/**
|
|
741
|
+
* User Id
|
|
742
|
+
* User ID
|
|
743
|
+
*/
|
|
744
|
+
user_id: string;
|
|
745
|
+
/**
|
|
746
|
+
* Has Payment Method
|
|
747
|
+
* Whether customer has a payment method on file
|
|
748
|
+
*/
|
|
749
|
+
has_payment_method: boolean;
|
|
750
|
+
/**
|
|
751
|
+
* Invoice Billing Enabled
|
|
752
|
+
* Whether invoice billing is enabled (enterprise customers)
|
|
753
|
+
*/
|
|
754
|
+
invoice_billing_enabled: boolean;
|
|
755
|
+
/**
|
|
756
|
+
* Payment Methods
|
|
757
|
+
* List of payment methods on file
|
|
758
|
+
*/
|
|
759
|
+
payment_methods: Array<PaymentMethod>;
|
|
760
|
+
/**
|
|
761
|
+
* Stripe Customer Id
|
|
762
|
+
* Stripe customer ID if applicable
|
|
763
|
+
*/
|
|
764
|
+
stripe_customer_id?: string | null;
|
|
765
|
+
/**
|
|
766
|
+
* Created At
|
|
767
|
+
* Customer creation timestamp (ISO format)
|
|
768
|
+
*/
|
|
769
|
+
created_at: string;
|
|
770
|
+
};
|
|
771
|
+
|
|
782
772
|
/**
|
|
783
773
|
* BulkIngestRequest
|
|
784
774
|
*/
|
|
@@ -868,6 +858,65 @@ export type CancellationResponse = {
|
|
|
868
858
|
cancelled_at: string;
|
|
869
859
|
};
|
|
870
860
|
|
|
861
|
+
/**
|
|
862
|
+
* CheckoutResponse
|
|
863
|
+
* Response from checkout session creation.
|
|
864
|
+
*/
|
|
865
|
+
export type CheckoutResponse = {
|
|
866
|
+
/**
|
|
867
|
+
* Checkout Url
|
|
868
|
+
* URL to redirect user to for payment
|
|
869
|
+
*/
|
|
870
|
+
checkout_url: string;
|
|
871
|
+
/**
|
|
872
|
+
* Session Id
|
|
873
|
+
* Checkout session ID for status polling
|
|
874
|
+
*/
|
|
875
|
+
session_id: string;
|
|
876
|
+
/**
|
|
877
|
+
* Subscription Id
|
|
878
|
+
* Internal subscription ID
|
|
879
|
+
*/
|
|
880
|
+
subscription_id: string;
|
|
881
|
+
/**
|
|
882
|
+
* Requires Checkout
|
|
883
|
+
* Whether checkout is required
|
|
884
|
+
*/
|
|
885
|
+
requires_checkout?: boolean;
|
|
886
|
+
};
|
|
887
|
+
|
|
888
|
+
/**
|
|
889
|
+
* CheckoutStatusResponse
|
|
890
|
+
* Status of a checkout session.
|
|
891
|
+
*/
|
|
892
|
+
export type CheckoutStatusResponse = {
|
|
893
|
+
/**
|
|
894
|
+
* Status
|
|
895
|
+
* Checkout status: 'pending_payment', 'provisioning', 'completed', 'failed'
|
|
896
|
+
*/
|
|
897
|
+
status: string;
|
|
898
|
+
/**
|
|
899
|
+
* Subscription Id
|
|
900
|
+
* Internal subscription ID
|
|
901
|
+
*/
|
|
902
|
+
subscription_id: string;
|
|
903
|
+
/**
|
|
904
|
+
* Resource Id
|
|
905
|
+
* Resource ID (graph_id or repository name) once provisioned
|
|
906
|
+
*/
|
|
907
|
+
resource_id?: string | null;
|
|
908
|
+
/**
|
|
909
|
+
* Operation Id
|
|
910
|
+
* SSE operation ID for monitoring provisioning progress
|
|
911
|
+
*/
|
|
912
|
+
operation_id?: string | null;
|
|
913
|
+
/**
|
|
914
|
+
* Error
|
|
915
|
+
* Error message if checkout failed
|
|
916
|
+
*/
|
|
917
|
+
error?: string | null;
|
|
918
|
+
};
|
|
919
|
+
|
|
871
920
|
/**
|
|
872
921
|
* ConnectionOptionsResponse
|
|
873
922
|
* Response with all available connection options.
|
|
@@ -1076,6 +1125,30 @@ export type CreateApiKeyResponse = {
|
|
|
1076
1125
|
key: string;
|
|
1077
1126
|
};
|
|
1078
1127
|
|
|
1128
|
+
/**
|
|
1129
|
+
* CreateCheckoutRequest
|
|
1130
|
+
* Request to create a checkout session for payment collection.
|
|
1131
|
+
*/
|
|
1132
|
+
export type CreateCheckoutRequest = {
|
|
1133
|
+
/**
|
|
1134
|
+
* Plan Name
|
|
1135
|
+
* Billing plan name (e.g., 'kuzu-standard')
|
|
1136
|
+
*/
|
|
1137
|
+
plan_name: string;
|
|
1138
|
+
/**
|
|
1139
|
+
* Resource Type
|
|
1140
|
+
* Resource type ('graph' or 'repository')
|
|
1141
|
+
*/
|
|
1142
|
+
resource_type: string;
|
|
1143
|
+
/**
|
|
1144
|
+
* Resource Config
|
|
1145
|
+
* Configuration for the resource to be provisioned
|
|
1146
|
+
*/
|
|
1147
|
+
resource_config: {
|
|
1148
|
+
[key: string]: unknown;
|
|
1149
|
+
};
|
|
1150
|
+
};
|
|
1151
|
+
|
|
1079
1152
|
/**
|
|
1080
1153
|
* CreateConnectionRequest
|
|
1081
1154
|
* Request to create a new connection.
|
|
@@ -1134,6 +1207,18 @@ export type CreateGraphRequest = {
|
|
|
1134
1207
|
tags?: Array<string>;
|
|
1135
1208
|
};
|
|
1136
1209
|
|
|
1210
|
+
/**
|
|
1211
|
+
* CreateRepositorySubscriptionRequest
|
|
1212
|
+
* Request to create a repository subscription.
|
|
1213
|
+
*/
|
|
1214
|
+
export type CreateRepositorySubscriptionRequest = {
|
|
1215
|
+
/**
|
|
1216
|
+
* Plan Name
|
|
1217
|
+
* Plan name for the repository subscription
|
|
1218
|
+
*/
|
|
1219
|
+
plan_name: string;
|
|
1220
|
+
};
|
|
1221
|
+
|
|
1137
1222
|
/**
|
|
1138
1223
|
* CreateSubgraphRequest
|
|
1139
1224
|
* Request model for creating a subgraph.
|
|
@@ -1201,54 +1286,46 @@ export type CreditLimits = {
|
|
|
1201
1286
|
|
|
1202
1287
|
/**
|
|
1203
1288
|
* CreditSummary
|
|
1204
|
-
* Credit
|
|
1289
|
+
* Credit consumption summary.
|
|
1205
1290
|
*/
|
|
1206
1291
|
export type CreditSummary = {
|
|
1207
1292
|
/**
|
|
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
|
|
1293
|
+
* Graph Tier
|
|
1294
|
+
* Subscription tier
|
|
1220
1295
|
*/
|
|
1221
|
-
|
|
1296
|
+
graph_tier: string;
|
|
1222
1297
|
/**
|
|
1223
|
-
*
|
|
1224
|
-
*
|
|
1298
|
+
* Total Credits Consumed
|
|
1299
|
+
* Total credits consumed
|
|
1225
1300
|
*/
|
|
1226
|
-
|
|
1301
|
+
total_credits_consumed: number;
|
|
1227
1302
|
/**
|
|
1228
|
-
*
|
|
1229
|
-
*
|
|
1303
|
+
* Total Base Cost
|
|
1304
|
+
* Total base cost before multipliers
|
|
1230
1305
|
*/
|
|
1231
|
-
|
|
1306
|
+
total_base_cost: number;
|
|
1232
1307
|
/**
|
|
1233
|
-
*
|
|
1234
|
-
*
|
|
1308
|
+
* Operation Breakdown
|
|
1309
|
+
* Credit usage by operation type
|
|
1235
1310
|
*/
|
|
1236
|
-
|
|
1311
|
+
operation_breakdown: {
|
|
1312
|
+
[key: string]: unknown;
|
|
1313
|
+
};
|
|
1237
1314
|
/**
|
|
1238
|
-
*
|
|
1239
|
-
*
|
|
1315
|
+
* Cached Operations
|
|
1316
|
+
* Number of cached operations
|
|
1240
1317
|
*/
|
|
1241
|
-
|
|
1318
|
+
cached_operations: number;
|
|
1242
1319
|
/**
|
|
1243
|
-
*
|
|
1244
|
-
*
|
|
1320
|
+
* Billable Operations
|
|
1321
|
+
* Number of billable operations
|
|
1245
1322
|
*/
|
|
1246
|
-
|
|
1323
|
+
billable_operations: number;
|
|
1247
1324
|
/**
|
|
1248
|
-
*
|
|
1249
|
-
*
|
|
1325
|
+
* Transaction Count
|
|
1326
|
+
* Total transaction count
|
|
1250
1327
|
*/
|
|
1251
|
-
|
|
1328
|
+
transaction_count: number;
|
|
1252
1329
|
};
|
|
1253
1330
|
|
|
1254
1331
|
/**
|
|
@@ -1290,36 +1367,6 @@ export type CreditSummaryResponse = {
|
|
|
1290
1367
|
last_allocation_date?: string | null;
|
|
1291
1368
|
};
|
|
1292
1369
|
|
|
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
1370
|
/**
|
|
1324
1371
|
* CustomSchemaDefinition
|
|
1325
1372
|
* Custom schema definition for generic graphs.
|
|
@@ -2138,6 +2185,73 @@ export type GraphMetricsResponse = {
|
|
|
2138
2185
|
};
|
|
2139
2186
|
};
|
|
2140
2187
|
|
|
2188
|
+
/**
|
|
2189
|
+
* GraphSubscriptionResponse
|
|
2190
|
+
* Response for graph or repository subscription details.
|
|
2191
|
+
*/
|
|
2192
|
+
export type GraphSubscriptionResponse = {
|
|
2193
|
+
/**
|
|
2194
|
+
* Id
|
|
2195
|
+
* Subscription ID
|
|
2196
|
+
*/
|
|
2197
|
+
id: string;
|
|
2198
|
+
/**
|
|
2199
|
+
* Resource Type
|
|
2200
|
+
* Resource type (graph or repository)
|
|
2201
|
+
*/
|
|
2202
|
+
resource_type: string;
|
|
2203
|
+
/**
|
|
2204
|
+
* Resource Id
|
|
2205
|
+
* Resource identifier
|
|
2206
|
+
*/
|
|
2207
|
+
resource_id: string;
|
|
2208
|
+
/**
|
|
2209
|
+
* Plan Name
|
|
2210
|
+
* Current plan name
|
|
2211
|
+
*/
|
|
2212
|
+
plan_name: string;
|
|
2213
|
+
/**
|
|
2214
|
+
* Billing Interval
|
|
2215
|
+
* Billing interval
|
|
2216
|
+
*/
|
|
2217
|
+
billing_interval: string;
|
|
2218
|
+
/**
|
|
2219
|
+
* Status
|
|
2220
|
+
* Subscription status
|
|
2221
|
+
*/
|
|
2222
|
+
status: string;
|
|
2223
|
+
/**
|
|
2224
|
+
* Base Price Cents
|
|
2225
|
+
* Base price in cents
|
|
2226
|
+
*/
|
|
2227
|
+
base_price_cents: number;
|
|
2228
|
+
/**
|
|
2229
|
+
* Current Period Start
|
|
2230
|
+
* Current billing period start
|
|
2231
|
+
*/
|
|
2232
|
+
current_period_start?: string | null;
|
|
2233
|
+
/**
|
|
2234
|
+
* Current Period End
|
|
2235
|
+
* Current billing period end
|
|
2236
|
+
*/
|
|
2237
|
+
current_period_end?: string | null;
|
|
2238
|
+
/**
|
|
2239
|
+
* Started At
|
|
2240
|
+
* Subscription start date
|
|
2241
|
+
*/
|
|
2242
|
+
started_at?: string | null;
|
|
2243
|
+
/**
|
|
2244
|
+
* Canceled At
|
|
2245
|
+
* Cancellation date
|
|
2246
|
+
*/
|
|
2247
|
+
canceled_at?: string | null;
|
|
2248
|
+
/**
|
|
2249
|
+
* Created At
|
|
2250
|
+
* Creation timestamp
|
|
2251
|
+
*/
|
|
2252
|
+
created_at: string;
|
|
2253
|
+
};
|
|
2254
|
+
|
|
2141
2255
|
/**
|
|
2142
2256
|
* GraphSubscriptionTier
|
|
2143
2257
|
* Information about a graph subscription tier.
|
|
@@ -2443,26 +2557,29 @@ export type GraphUsageResponse = {
|
|
|
2443
2557
|
*/
|
|
2444
2558
|
graph_id: string;
|
|
2445
2559
|
/**
|
|
2446
|
-
*
|
|
2447
|
-
*
|
|
2560
|
+
* Time Range
|
|
2561
|
+
* Time range for usage data
|
|
2448
2562
|
*/
|
|
2449
|
-
|
|
2450
|
-
[key: string]: unknown;
|
|
2451
|
-
};
|
|
2563
|
+
time_range: string;
|
|
2452
2564
|
/**
|
|
2453
|
-
*
|
|
2454
|
-
* Query statistics
|
|
2565
|
+
* Storage usage summary
|
|
2455
2566
|
*/
|
|
2456
|
-
|
|
2457
|
-
|
|
2458
|
-
|
|
2567
|
+
storage_summary?: StorageSummary | null;
|
|
2568
|
+
/**
|
|
2569
|
+
* Credit consumption summary
|
|
2570
|
+
*/
|
|
2571
|
+
credit_summary?: CreditSummary | null;
|
|
2572
|
+
/**
|
|
2573
|
+
* Performance analytics
|
|
2574
|
+
*/
|
|
2575
|
+
performance_insights?: PerformanceInsights | null;
|
|
2459
2576
|
/**
|
|
2460
|
-
* Recent
|
|
2461
|
-
* Recent
|
|
2577
|
+
* Recent Events
|
|
2578
|
+
* Recent usage events
|
|
2462
2579
|
*/
|
|
2463
|
-
|
|
2580
|
+
recent_events?: Array<{
|
|
2464
2581
|
[key: string]: unknown;
|
|
2465
|
-
}
|
|
2582
|
+
}>;
|
|
2466
2583
|
/**
|
|
2467
2584
|
* Timestamp
|
|
2468
2585
|
* Usage collection timestamp
|
|
@@ -2559,6 +2676,132 @@ export type InitialEntityData = {
|
|
|
2559
2676
|
ein?: string | null;
|
|
2560
2677
|
};
|
|
2561
2678
|
|
|
2679
|
+
/**
|
|
2680
|
+
* Invoice
|
|
2681
|
+
* Invoice information.
|
|
2682
|
+
*/
|
|
2683
|
+
export type Invoice = {
|
|
2684
|
+
/**
|
|
2685
|
+
* Id
|
|
2686
|
+
* Invoice ID
|
|
2687
|
+
*/
|
|
2688
|
+
id: string;
|
|
2689
|
+
/**
|
|
2690
|
+
* Number
|
|
2691
|
+
* Invoice number
|
|
2692
|
+
*/
|
|
2693
|
+
number?: string | null;
|
|
2694
|
+
/**
|
|
2695
|
+
* Status
|
|
2696
|
+
* Invoice status (paid, open, void, uncollectible)
|
|
2697
|
+
*/
|
|
2698
|
+
status: string;
|
|
2699
|
+
/**
|
|
2700
|
+
* Amount Due
|
|
2701
|
+
* Amount due in cents
|
|
2702
|
+
*/
|
|
2703
|
+
amount_due: number;
|
|
2704
|
+
/**
|
|
2705
|
+
* Amount Paid
|
|
2706
|
+
* Amount paid in cents
|
|
2707
|
+
*/
|
|
2708
|
+
amount_paid: number;
|
|
2709
|
+
/**
|
|
2710
|
+
* Currency
|
|
2711
|
+
* Currency code (usd)
|
|
2712
|
+
*/
|
|
2713
|
+
currency: string;
|
|
2714
|
+
/**
|
|
2715
|
+
* Created
|
|
2716
|
+
* Invoice creation date (ISO format)
|
|
2717
|
+
*/
|
|
2718
|
+
created: string;
|
|
2719
|
+
/**
|
|
2720
|
+
* Due Date
|
|
2721
|
+
* Invoice due date (ISO format)
|
|
2722
|
+
*/
|
|
2723
|
+
due_date?: string | null;
|
|
2724
|
+
/**
|
|
2725
|
+
* Paid At
|
|
2726
|
+
* Payment date (ISO format)
|
|
2727
|
+
*/
|
|
2728
|
+
paid_at?: string | null;
|
|
2729
|
+
/**
|
|
2730
|
+
* Invoice Pdf
|
|
2731
|
+
* PDF download URL
|
|
2732
|
+
*/
|
|
2733
|
+
invoice_pdf?: string | null;
|
|
2734
|
+
/**
|
|
2735
|
+
* Hosted Invoice Url
|
|
2736
|
+
* Hosted invoice URL
|
|
2737
|
+
*/
|
|
2738
|
+
hosted_invoice_url?: string | null;
|
|
2739
|
+
/**
|
|
2740
|
+
* Line Items
|
|
2741
|
+
* Invoice line items
|
|
2742
|
+
*/
|
|
2743
|
+
line_items: Array<InvoiceLineItem>;
|
|
2744
|
+
/**
|
|
2745
|
+
* Subscription Id
|
|
2746
|
+
* Associated subscription ID
|
|
2747
|
+
*/
|
|
2748
|
+
subscription_id?: string | null;
|
|
2749
|
+
};
|
|
2750
|
+
|
|
2751
|
+
/**
|
|
2752
|
+
* InvoiceLineItem
|
|
2753
|
+
* Invoice line item.
|
|
2754
|
+
*/
|
|
2755
|
+
export type InvoiceLineItem = {
|
|
2756
|
+
/**
|
|
2757
|
+
* Description
|
|
2758
|
+
* Line item description
|
|
2759
|
+
*/
|
|
2760
|
+
description: string;
|
|
2761
|
+
/**
|
|
2762
|
+
* Amount
|
|
2763
|
+
* Amount in cents
|
|
2764
|
+
*/
|
|
2765
|
+
amount: number;
|
|
2766
|
+
/**
|
|
2767
|
+
* Quantity
|
|
2768
|
+
* Quantity
|
|
2769
|
+
*/
|
|
2770
|
+
quantity: number;
|
|
2771
|
+
/**
|
|
2772
|
+
* Period Start
|
|
2773
|
+
* Billing period start
|
|
2774
|
+
*/
|
|
2775
|
+
period_start?: string | null;
|
|
2776
|
+
/**
|
|
2777
|
+
* Period End
|
|
2778
|
+
* Billing period end
|
|
2779
|
+
*/
|
|
2780
|
+
period_end?: string | null;
|
|
2781
|
+
};
|
|
2782
|
+
|
|
2783
|
+
/**
|
|
2784
|
+
* InvoicesResponse
|
|
2785
|
+
* Response for invoice list.
|
|
2786
|
+
*/
|
|
2787
|
+
export type InvoicesResponse = {
|
|
2788
|
+
/**
|
|
2789
|
+
* Invoices
|
|
2790
|
+
* List of invoices
|
|
2791
|
+
*/
|
|
2792
|
+
invoices: Array<Invoice>;
|
|
2793
|
+
/**
|
|
2794
|
+
* Total Count
|
|
2795
|
+
* Total number of invoices
|
|
2796
|
+
*/
|
|
2797
|
+
total_count: number;
|
|
2798
|
+
/**
|
|
2799
|
+
* Has More
|
|
2800
|
+
* Whether more invoices are available
|
|
2801
|
+
*/
|
|
2802
|
+
has_more: boolean;
|
|
2803
|
+
};
|
|
2804
|
+
|
|
2562
2805
|
/**
|
|
2563
2806
|
* LinkTokenRequest
|
|
2564
2807
|
* Request to create a link token for embedded authentication.
|
|
@@ -2944,6 +3187,84 @@ export type PasswordPolicyResponse = {
|
|
|
2944
3187
|
};
|
|
2945
3188
|
};
|
|
2946
3189
|
|
|
3190
|
+
/**
|
|
3191
|
+
* PaymentMethod
|
|
3192
|
+
* Payment method information.
|
|
3193
|
+
*/
|
|
3194
|
+
export type PaymentMethod = {
|
|
3195
|
+
/**
|
|
3196
|
+
* Id
|
|
3197
|
+
* Payment method ID
|
|
3198
|
+
*/
|
|
3199
|
+
id: string;
|
|
3200
|
+
/**
|
|
3201
|
+
* Type
|
|
3202
|
+
* Payment method type (card, bank_account, etc.)
|
|
3203
|
+
*/
|
|
3204
|
+
type: string;
|
|
3205
|
+
/**
|
|
3206
|
+
* Brand
|
|
3207
|
+
* Card brand (visa, mastercard, etc.)
|
|
3208
|
+
*/
|
|
3209
|
+
brand?: string | null;
|
|
3210
|
+
/**
|
|
3211
|
+
* Last4
|
|
3212
|
+
* Last 4 digits
|
|
3213
|
+
*/
|
|
3214
|
+
last4?: string | null;
|
|
3215
|
+
/**
|
|
3216
|
+
* Exp Month
|
|
3217
|
+
* Expiration month
|
|
3218
|
+
*/
|
|
3219
|
+
exp_month?: number | null;
|
|
3220
|
+
/**
|
|
3221
|
+
* Exp Year
|
|
3222
|
+
* Expiration year
|
|
3223
|
+
*/
|
|
3224
|
+
exp_year?: number | null;
|
|
3225
|
+
/**
|
|
3226
|
+
* Is Default
|
|
3227
|
+
* Whether this is the default payment method
|
|
3228
|
+
*/
|
|
3229
|
+
is_default: boolean;
|
|
3230
|
+
};
|
|
3231
|
+
|
|
3232
|
+
/**
|
|
3233
|
+
* PerformanceInsights
|
|
3234
|
+
* Performance analytics.
|
|
3235
|
+
*/
|
|
3236
|
+
export type PerformanceInsights = {
|
|
3237
|
+
/**
|
|
3238
|
+
* Analysis Period Days
|
|
3239
|
+
* Analysis period in days
|
|
3240
|
+
*/
|
|
3241
|
+
analysis_period_days: number;
|
|
3242
|
+
/**
|
|
3243
|
+
* Total Operations
|
|
3244
|
+
* Total operations analyzed
|
|
3245
|
+
*/
|
|
3246
|
+
total_operations: number;
|
|
3247
|
+
/**
|
|
3248
|
+
* Operation Stats
|
|
3249
|
+
* Performance stats by operation type
|
|
3250
|
+
*/
|
|
3251
|
+
operation_stats: {
|
|
3252
|
+
[key: string]: unknown;
|
|
3253
|
+
};
|
|
3254
|
+
/**
|
|
3255
|
+
* Slow Queries
|
|
3256
|
+
* Top slow queries (over 5 seconds)
|
|
3257
|
+
*/
|
|
3258
|
+
slow_queries: Array<{
|
|
3259
|
+
[key: string]: unknown;
|
|
3260
|
+
}>;
|
|
3261
|
+
/**
|
|
3262
|
+
* Performance Score
|
|
3263
|
+
* Performance score (0-100)
|
|
3264
|
+
*/
|
|
3265
|
+
performance_score: number;
|
|
3266
|
+
};
|
|
3267
|
+
|
|
2947
3268
|
/**
|
|
2948
3269
|
* PlaidConnectionConfig
|
|
2949
3270
|
* Plaid-specific connection configuration.
|
|
@@ -3073,32 +3394,6 @@ export type RegisterRequest = {
|
|
|
3073
3394
|
captcha_token?: string | null;
|
|
3074
3395
|
};
|
|
3075
3396
|
|
|
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
3397
|
/**
|
|
3103
3398
|
* RepositoryInfo
|
|
3104
3399
|
* Information about a shared repository.
|
|
@@ -3136,12 +3431,6 @@ export type RepositoryInfo = {
|
|
|
3136
3431
|
plans: Array<OfferingRepositoryPlan>;
|
|
3137
3432
|
};
|
|
3138
3433
|
|
|
3139
|
-
/**
|
|
3140
|
-
* RepositoryPlan
|
|
3141
|
-
* Repository access plans for shared data.
|
|
3142
|
-
*/
|
|
3143
|
-
export type RepositoryPlan = 'starter' | 'advanced' | 'unlimited';
|
|
3144
|
-
|
|
3145
3434
|
/**
|
|
3146
3435
|
* RepositorySubscriptions
|
|
3147
3436
|
* Repository subscription offerings.
|
|
@@ -3164,12 +3453,6 @@ export type RepositorySubscriptions = {
|
|
|
3164
3453
|
notes: Array<string>;
|
|
3165
3454
|
};
|
|
3166
3455
|
|
|
3167
|
-
/**
|
|
3168
|
-
* RepositoryType
|
|
3169
|
-
* Types of shared repositories.
|
|
3170
|
-
*/
|
|
3171
|
-
export type RepositoryType = 'sec' | 'industry' | 'economic';
|
|
3172
|
-
|
|
3173
3456
|
/**
|
|
3174
3457
|
* ResetPasswordRequest
|
|
3175
3458
|
* Reset password request model.
|
|
@@ -3595,6 +3878,43 @@ export type StorageLimits = {
|
|
|
3595
3878
|
approaching_limit: boolean;
|
|
3596
3879
|
};
|
|
3597
3880
|
|
|
3881
|
+
/**
|
|
3882
|
+
* StorageSummary
|
|
3883
|
+
* Storage usage summary.
|
|
3884
|
+
*/
|
|
3885
|
+
export type StorageSummary = {
|
|
3886
|
+
/**
|
|
3887
|
+
* Graph Tier
|
|
3888
|
+
* Subscription tier
|
|
3889
|
+
*/
|
|
3890
|
+
graph_tier: string;
|
|
3891
|
+
/**
|
|
3892
|
+
* Avg Storage Gb
|
|
3893
|
+
* Average storage in GB
|
|
3894
|
+
*/
|
|
3895
|
+
avg_storage_gb: number;
|
|
3896
|
+
/**
|
|
3897
|
+
* Max Storage Gb
|
|
3898
|
+
* Peak storage in GB
|
|
3899
|
+
*/
|
|
3900
|
+
max_storage_gb: number;
|
|
3901
|
+
/**
|
|
3902
|
+
* Min Storage Gb
|
|
3903
|
+
* Minimum storage in GB
|
|
3904
|
+
*/
|
|
3905
|
+
min_storage_gb: number;
|
|
3906
|
+
/**
|
|
3907
|
+
* Total Gb Hours
|
|
3908
|
+
* Total GB-hours for billing
|
|
3909
|
+
*/
|
|
3910
|
+
total_gb_hours: number;
|
|
3911
|
+
/**
|
|
3912
|
+
* Measurement Count
|
|
3913
|
+
* Number of measurements taken
|
|
3914
|
+
*/
|
|
3915
|
+
measurement_count: number;
|
|
3916
|
+
};
|
|
3917
|
+
|
|
3598
3918
|
/**
|
|
3599
3919
|
* SubgraphQuotaResponse
|
|
3600
3920
|
* Response model for subgraph quota information.
|
|
@@ -3772,96 +4092,6 @@ export type SubgraphSummary = {
|
|
|
3772
4092
|
*/
|
|
3773
4093
|
export type SubgraphType = 'static' | 'temporal' | 'versioned' | 'memory';
|
|
3774
4094
|
|
|
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
4095
|
/**
|
|
3866
4096
|
* SuccessResponse
|
|
3867
4097
|
* Standard success response for operations without specific return data.
|
|
@@ -4025,17 +4255,6 @@ export type TableQueryResponse = {
|
|
|
4025
4255
|
execution_time_ms: number;
|
|
4026
4256
|
};
|
|
4027
4257
|
|
|
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
4258
|
/**
|
|
4040
4259
|
* TokenPricing
|
|
4041
4260
|
* AI token pricing for a specific model.
|
|
@@ -4084,6 +4303,43 @@ export type TransactionSummaryResponse = {
|
|
|
4084
4303
|
last_transaction?: string | null;
|
|
4085
4304
|
};
|
|
4086
4305
|
|
|
4306
|
+
/**
|
|
4307
|
+
* UpcomingInvoice
|
|
4308
|
+
* Upcoming invoice preview.
|
|
4309
|
+
*/
|
|
4310
|
+
export type UpcomingInvoice = {
|
|
4311
|
+
/**
|
|
4312
|
+
* Amount Due
|
|
4313
|
+
* Estimated amount due in cents
|
|
4314
|
+
*/
|
|
4315
|
+
amount_due: number;
|
|
4316
|
+
/**
|
|
4317
|
+
* Currency
|
|
4318
|
+
* Currency code
|
|
4319
|
+
*/
|
|
4320
|
+
currency: string;
|
|
4321
|
+
/**
|
|
4322
|
+
* Period Start
|
|
4323
|
+
* Billing period start
|
|
4324
|
+
*/
|
|
4325
|
+
period_start: string;
|
|
4326
|
+
/**
|
|
4327
|
+
* Period End
|
|
4328
|
+
* Billing period end
|
|
4329
|
+
*/
|
|
4330
|
+
period_end: string;
|
|
4331
|
+
/**
|
|
4332
|
+
* Line Items
|
|
4333
|
+
* Estimated line items
|
|
4334
|
+
*/
|
|
4335
|
+
line_items: Array<InvoiceLineItem>;
|
|
4336
|
+
/**
|
|
4337
|
+
* Subscription Id
|
|
4338
|
+
* Associated subscription ID
|
|
4339
|
+
*/
|
|
4340
|
+
subscription_id?: string | null;
|
|
4341
|
+
};
|
|
4342
|
+
|
|
4087
4343
|
/**
|
|
4088
4344
|
* UpdateAPIKeyRequest
|
|
4089
4345
|
* Request model for updating an API key.
|
|
@@ -4124,109 +4380,60 @@ export type UpdatePasswordRequest = {
|
|
|
4124
4380
|
};
|
|
4125
4381
|
|
|
4126
4382
|
/**
|
|
4127
|
-
*
|
|
4128
|
-
* Request
|
|
4383
|
+
* UpdatePaymentMethodRequest
|
|
4384
|
+
* Request to update default payment method.
|
|
4129
4385
|
*/
|
|
4130
|
-
export type
|
|
4386
|
+
export type UpdatePaymentMethodRequest = {
|
|
4131
4387
|
/**
|
|
4132
|
-
*
|
|
4133
|
-
*
|
|
4134
|
-
*/
|
|
4135
|
-
name?: string | null;
|
|
4136
|
-
/**
|
|
4137
|
-
* Email
|
|
4138
|
-
* User's email address
|
|
4388
|
+
* Payment Method Id
|
|
4389
|
+
* Payment method ID to set as default
|
|
4139
4390
|
*/
|
|
4140
|
-
|
|
4391
|
+
payment_method_id: string;
|
|
4141
4392
|
};
|
|
4142
4393
|
|
|
4143
4394
|
/**
|
|
4144
|
-
*
|
|
4145
|
-
* Response
|
|
4395
|
+
* UpdatePaymentMethodResponse
|
|
4396
|
+
* Response for payment method update.
|
|
4146
4397
|
*/
|
|
4147
|
-
export type
|
|
4148
|
-
/**
|
|
4149
|
-
* User Info
|
|
4150
|
-
* User information
|
|
4151
|
-
*/
|
|
4152
|
-
user_info: {
|
|
4153
|
-
[key: string]: unknown;
|
|
4154
|
-
};
|
|
4155
|
-
/**
|
|
4156
|
-
* Graph Usage
|
|
4157
|
-
* Graph usage statistics
|
|
4158
|
-
*/
|
|
4159
|
-
graph_usage: {
|
|
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
|
-
};
|
|
4398
|
+
export type UpdatePaymentMethodResponse = {
|
|
4176
4399
|
/**
|
|
4177
|
-
*
|
|
4178
|
-
*
|
|
4400
|
+
* Message
|
|
4401
|
+
* Success message
|
|
4179
4402
|
*/
|
|
4180
|
-
|
|
4181
|
-
[key: string]: unknown;
|
|
4182
|
-
}>;
|
|
4403
|
+
message: string;
|
|
4183
4404
|
/**
|
|
4184
|
-
*
|
|
4185
|
-
* Analytics generation timestamp
|
|
4405
|
+
* Updated payment method
|
|
4186
4406
|
*/
|
|
4187
|
-
|
|
4407
|
+
payment_method: PaymentMethod;
|
|
4188
4408
|
};
|
|
4189
4409
|
|
|
4190
4410
|
/**
|
|
4191
|
-
*
|
|
4192
|
-
*
|
|
4411
|
+
* UpdateUserRequest
|
|
4412
|
+
* Request model for updating user profile.
|
|
4193
4413
|
*/
|
|
4194
|
-
export type
|
|
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;
|
|
4414
|
+
export type UpdateUserRequest = {
|
|
4215
4415
|
/**
|
|
4216
|
-
*
|
|
4217
|
-
*
|
|
4416
|
+
* Name
|
|
4417
|
+
* User's display name
|
|
4218
4418
|
*/
|
|
4219
|
-
|
|
4419
|
+
name?: string | null;
|
|
4220
4420
|
/**
|
|
4221
|
-
*
|
|
4222
|
-
*
|
|
4421
|
+
* Email
|
|
4422
|
+
* User's email address
|
|
4223
4423
|
*/
|
|
4224
|
-
|
|
4424
|
+
email?: string | null;
|
|
4425
|
+
};
|
|
4426
|
+
|
|
4427
|
+
/**
|
|
4428
|
+
* UpgradeSubscriptionRequest
|
|
4429
|
+
* Request to upgrade a subscription.
|
|
4430
|
+
*/
|
|
4431
|
+
export type UpgradeSubscriptionRequest = {
|
|
4225
4432
|
/**
|
|
4226
|
-
*
|
|
4227
|
-
*
|
|
4433
|
+
* New Plan Name
|
|
4434
|
+
* New plan name to upgrade to
|
|
4228
4435
|
*/
|
|
4229
|
-
|
|
4436
|
+
new_plan_name: string;
|
|
4230
4437
|
};
|
|
4231
4438
|
|
|
4232
4439
|
/**
|
|
@@ -4308,28 +4515,6 @@ export type UserResponse = {
|
|
|
4308
4515
|
accounts?: Array<AccountInfo>;
|
|
4309
4516
|
};
|
|
4310
4517
|
|
|
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
4518
|
/**
|
|
4334
4519
|
* UserUsageResponse
|
|
4335
4520
|
* Response model for user usage statistics.
|
|
@@ -4357,55 +4542,11 @@ export type UserUsageResponse = {
|
|
|
4357
4542
|
};
|
|
4358
4543
|
|
|
4359
4544
|
/**
|
|
4360
|
-
*
|
|
4361
|
-
* Response model for user usage summary.
|
|
4545
|
+
* ValidationError
|
|
4362
4546
|
*/
|
|
4363
|
-
export type
|
|
4547
|
+
export type ValidationError = {
|
|
4364
4548
|
/**
|
|
4365
|
-
*
|
|
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
|
-
/**
|
|
4404
|
-
* ValidationError
|
|
4405
|
-
*/
|
|
4406
|
-
export type ValidationError = {
|
|
4407
|
-
/**
|
|
4408
|
-
* Location
|
|
4549
|
+
* Location
|
|
4409
4550
|
*/
|
|
4410
4551
|
loc: Array<string | number>;
|
|
4411
4552
|
/**
|
|
@@ -4920,34 +5061,6 @@ export type UpdateUserResponses = {
|
|
|
4920
5061
|
|
|
4921
5062
|
export type UpdateUserResponse = UpdateUserResponses[keyof UpdateUserResponses];
|
|
4922
5063
|
|
|
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
5064
|
export type UpdateUserPasswordData = {
|
|
4952
5065
|
body: UpdatePasswordRequest;
|
|
4953
5066
|
path?: never;
|
|
@@ -5101,613 +5214,258 @@ export type GetUserLimitsData = {
|
|
|
5101
5214
|
url: '/v1/user/limits';
|
|
5102
5215
|
};
|
|
5103
5216
|
|
|
5104
|
-
export type GetUserLimitsErrors = {
|
|
5105
|
-
/**
|
|
5106
|
-
* User limits not found
|
|
5107
|
-
*/
|
|
5108
|
-
404: unknown;
|
|
5109
|
-
};
|
|
5110
|
-
|
|
5111
5217
|
export type GetUserLimitsResponses = {
|
|
5112
5218
|
/**
|
|
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
|
|
5219
|
+
* User limits and usage retrieved successfully
|
|
5130
5220
|
*/
|
|
5131
5221
|
200: UserUsageResponse;
|
|
5132
5222
|
};
|
|
5133
5223
|
|
|
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];
|
|
5224
|
+
export type GetUserLimitsResponse = GetUserLimitsResponses[keyof GetUserLimitsResponses];
|
|
5154
5225
|
|
|
5155
|
-
export type
|
|
5226
|
+
export type ListConnectionsData = {
|
|
5156
5227
|
body?: never;
|
|
5157
5228
|
path: {
|
|
5158
5229
|
/**
|
|
5159
|
-
*
|
|
5160
|
-
* Repository name (e.g., 'sec')
|
|
5230
|
+
* Graph Id
|
|
5161
5231
|
*/
|
|
5162
|
-
|
|
5232
|
+
graph_id: string;
|
|
5163
5233
|
};
|
|
5164
|
-
query?:
|
|
5165
|
-
|
|
5234
|
+
query?: {
|
|
5235
|
+
/**
|
|
5236
|
+
* Entity Id
|
|
5237
|
+
* Filter by entity ID
|
|
5238
|
+
*/
|
|
5239
|
+
entity_id?: string | null;
|
|
5240
|
+
/**
|
|
5241
|
+
* Provider
|
|
5242
|
+
* Filter by provider type
|
|
5243
|
+
*/
|
|
5244
|
+
provider?: ('sec' | 'quickbooks' | 'plaid') | null;
|
|
5245
|
+
};
|
|
5246
|
+
url: '/v1/graphs/{graph_id}/connections';
|
|
5166
5247
|
};
|
|
5167
5248
|
|
|
5168
|
-
export type
|
|
5249
|
+
export type ListConnectionsErrors = {
|
|
5250
|
+
/**
|
|
5251
|
+
* Access denied to graph
|
|
5252
|
+
*/
|
|
5253
|
+
403: ErrorResponse;
|
|
5169
5254
|
/**
|
|
5170
5255
|
* Validation Error
|
|
5171
5256
|
*/
|
|
5172
5257
|
422: HttpValidationError;
|
|
5173
|
-
};
|
|
5174
|
-
|
|
5175
|
-
export type GetSharedRepositoryLimitsError = GetSharedRepositoryLimitsErrors[keyof GetSharedRepositoryLimitsErrors];
|
|
5176
|
-
|
|
5177
|
-
export type GetSharedRepositoryLimitsResponses = {
|
|
5178
5258
|
/**
|
|
5179
|
-
*
|
|
5180
|
-
* Successful Response
|
|
5259
|
+
* Failed to list connections
|
|
5181
5260
|
*/
|
|
5182
|
-
|
|
5183
|
-
[key: string]: unknown;
|
|
5184
|
-
};
|
|
5261
|
+
500: ErrorResponse;
|
|
5185
5262
|
};
|
|
5186
5263
|
|
|
5187
|
-
export type
|
|
5188
|
-
|
|
5189
|
-
export type GetUserUsageOverviewData = {
|
|
5190
|
-
body?: never;
|
|
5191
|
-
path?: never;
|
|
5192
|
-
query?: never;
|
|
5193
|
-
url: '/v1/user/analytics/overview';
|
|
5194
|
-
};
|
|
5264
|
+
export type ListConnectionsError = ListConnectionsErrors[keyof ListConnectionsErrors];
|
|
5195
5265
|
|
|
5196
|
-
export type
|
|
5266
|
+
export type ListConnectionsResponses = {
|
|
5197
5267
|
/**
|
|
5198
|
-
*
|
|
5268
|
+
* Response Listconnections
|
|
5269
|
+
* Connections retrieved successfully
|
|
5199
5270
|
*/
|
|
5200
|
-
200:
|
|
5271
|
+
200: Array<ConnectionResponse>;
|
|
5201
5272
|
};
|
|
5202
5273
|
|
|
5203
|
-
export type
|
|
5274
|
+
export type ListConnectionsResponse = ListConnectionsResponses[keyof ListConnectionsResponses];
|
|
5204
5275
|
|
|
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;
|
|
5276
|
+
export type CreateConnectionData = {
|
|
5277
|
+
body: CreateConnectionRequest;
|
|
5278
|
+
path: {
|
|
5214
5279
|
/**
|
|
5215
|
-
*
|
|
5216
|
-
* Include recent activity
|
|
5280
|
+
* Graph Id
|
|
5217
5281
|
*/
|
|
5218
|
-
|
|
5282
|
+
graph_id: string;
|
|
5219
5283
|
};
|
|
5220
|
-
|
|
5284
|
+
query?: never;
|
|
5285
|
+
url: '/v1/graphs/{graph_id}/connections';
|
|
5221
5286
|
};
|
|
5222
5287
|
|
|
5223
|
-
export type
|
|
5288
|
+
export type CreateConnectionErrors = {
|
|
5289
|
+
/**
|
|
5290
|
+
* Invalid connection configuration
|
|
5291
|
+
*/
|
|
5292
|
+
400: ErrorResponse;
|
|
5293
|
+
/**
|
|
5294
|
+
* Access denied - admin role required
|
|
5295
|
+
*/
|
|
5296
|
+
403: ErrorResponse;
|
|
5297
|
+
/**
|
|
5298
|
+
* Connection already exists
|
|
5299
|
+
*/
|
|
5300
|
+
409: ErrorResponse;
|
|
5224
5301
|
/**
|
|
5225
5302
|
* Validation Error
|
|
5226
5303
|
*/
|
|
5227
5304
|
422: HttpValidationError;
|
|
5305
|
+
/**
|
|
5306
|
+
* Failed to create connection
|
|
5307
|
+
*/
|
|
5308
|
+
500: ErrorResponse;
|
|
5228
5309
|
};
|
|
5229
5310
|
|
|
5230
|
-
export type
|
|
5311
|
+
export type CreateConnectionError = CreateConnectionErrors[keyof CreateConnectionErrors];
|
|
5231
5312
|
|
|
5232
|
-
export type
|
|
5313
|
+
export type CreateConnectionResponses = {
|
|
5233
5314
|
/**
|
|
5234
|
-
*
|
|
5315
|
+
* Connection created successfully
|
|
5235
5316
|
*/
|
|
5236
|
-
|
|
5317
|
+
201: ConnectionResponse;
|
|
5237
5318
|
};
|
|
5238
5319
|
|
|
5239
|
-
export type
|
|
5320
|
+
export type CreateConnectionResponse = CreateConnectionResponses[keyof CreateConnectionResponses];
|
|
5240
5321
|
|
|
5241
|
-
export type
|
|
5322
|
+
export type GetConnectionOptionsData = {
|
|
5242
5323
|
body?: never;
|
|
5243
|
-
path
|
|
5244
|
-
query?: {
|
|
5324
|
+
path: {
|
|
5245
5325
|
/**
|
|
5246
|
-
*
|
|
5247
|
-
* Only return active subscriptions
|
|
5326
|
+
* Graph Id
|
|
5248
5327
|
*/
|
|
5249
|
-
|
|
5328
|
+
graph_id: string;
|
|
5250
5329
|
};
|
|
5251
|
-
|
|
5330
|
+
query?: never;
|
|
5331
|
+
url: '/v1/graphs/{graph_id}/connections/options';
|
|
5252
5332
|
};
|
|
5253
5333
|
|
|
5254
|
-
export type
|
|
5334
|
+
export type GetConnectionOptionsErrors = {
|
|
5255
5335
|
/**
|
|
5256
|
-
*
|
|
5336
|
+
* Access denied to graph
|
|
5257
5337
|
*/
|
|
5258
|
-
|
|
5338
|
+
403: ErrorResponse;
|
|
5259
5339
|
/**
|
|
5260
5340
|
* Validation Error
|
|
5261
5341
|
*/
|
|
5262
5342
|
422: HttpValidationError;
|
|
5263
5343
|
/**
|
|
5264
|
-
*
|
|
5344
|
+
* Failed to retrieve options
|
|
5265
5345
|
*/
|
|
5266
|
-
500:
|
|
5346
|
+
500: ErrorResponse;
|
|
5267
5347
|
};
|
|
5268
5348
|
|
|
5269
|
-
export type
|
|
5349
|
+
export type GetConnectionOptionsError = GetConnectionOptionsErrors[keyof GetConnectionOptionsErrors];
|
|
5270
5350
|
|
|
5271
|
-
export type
|
|
5351
|
+
export type GetConnectionOptionsResponses = {
|
|
5272
5352
|
/**
|
|
5273
|
-
*
|
|
5353
|
+
* Connection options retrieved successfully
|
|
5274
5354
|
*/
|
|
5275
|
-
200:
|
|
5355
|
+
200: ConnectionOptionsResponse;
|
|
5276
5356
|
};
|
|
5277
5357
|
|
|
5278
|
-
export type
|
|
5358
|
+
export type GetConnectionOptionsResponse = GetConnectionOptionsResponses[keyof GetConnectionOptionsResponses];
|
|
5279
5359
|
|
|
5280
|
-
export type
|
|
5281
|
-
body:
|
|
5282
|
-
path
|
|
5360
|
+
export type ExchangeLinkTokenData = {
|
|
5361
|
+
body: ExchangeTokenRequest;
|
|
5362
|
+
path: {
|
|
5363
|
+
/**
|
|
5364
|
+
* Graph Id
|
|
5365
|
+
*/
|
|
5366
|
+
graph_id: string;
|
|
5367
|
+
};
|
|
5283
5368
|
query?: never;
|
|
5284
|
-
url: '/v1/
|
|
5369
|
+
url: '/v1/graphs/{graph_id}/connections/link/exchange';
|
|
5285
5370
|
};
|
|
5286
5371
|
|
|
5287
|
-
export type
|
|
5372
|
+
export type ExchangeLinkTokenErrors = {
|
|
5288
5373
|
/**
|
|
5289
|
-
* Invalid
|
|
5374
|
+
* Invalid token or provider
|
|
5290
5375
|
*/
|
|
5291
|
-
400:
|
|
5376
|
+
400: ErrorResponse;
|
|
5292
5377
|
/**
|
|
5293
|
-
*
|
|
5378
|
+
* Connection not found
|
|
5294
5379
|
*/
|
|
5295
|
-
|
|
5380
|
+
404: ErrorResponse;
|
|
5296
5381
|
/**
|
|
5297
5382
|
* Validation Error
|
|
5298
5383
|
*/
|
|
5299
5384
|
422: HttpValidationError;
|
|
5300
5385
|
/**
|
|
5301
|
-
*
|
|
5386
|
+
* Token exchange failed
|
|
5302
5387
|
*/
|
|
5303
|
-
500:
|
|
5388
|
+
500: ErrorResponse;
|
|
5304
5389
|
};
|
|
5305
5390
|
|
|
5306
|
-
export type
|
|
5391
|
+
export type ExchangeLinkTokenError = ExchangeLinkTokenErrors[keyof ExchangeLinkTokenErrors];
|
|
5307
5392
|
|
|
5308
|
-
export type
|
|
5393
|
+
export type ExchangeLinkTokenResponses = {
|
|
5309
5394
|
/**
|
|
5310
|
-
*
|
|
5395
|
+
* Token exchanged successfully
|
|
5311
5396
|
*/
|
|
5312
|
-
|
|
5397
|
+
200: unknown;
|
|
5313
5398
|
};
|
|
5314
5399
|
|
|
5315
|
-
export type
|
|
5316
|
-
|
|
5317
|
-
export type UpgradeSharedRepositorySubscriptionData = {
|
|
5318
|
-
body: TierUpgradeRequest;
|
|
5400
|
+
export type CreateLinkTokenData = {
|
|
5401
|
+
body: LinkTokenRequest;
|
|
5319
5402
|
path: {
|
|
5320
5403
|
/**
|
|
5321
|
-
*
|
|
5404
|
+
* Graph Id
|
|
5322
5405
|
*/
|
|
5323
|
-
|
|
5406
|
+
graph_id: string;
|
|
5324
5407
|
};
|
|
5325
5408
|
query?: never;
|
|
5326
|
-
url: '/v1/
|
|
5409
|
+
url: '/v1/graphs/{graph_id}/connections/link/token';
|
|
5327
5410
|
};
|
|
5328
5411
|
|
|
5329
|
-
export type
|
|
5330
|
-
/**
|
|
5331
|
-
* Invalid tier for add-on type
|
|
5332
|
-
*/
|
|
5333
|
-
400: unknown;
|
|
5412
|
+
export type CreateLinkTokenErrors = {
|
|
5334
5413
|
/**
|
|
5335
|
-
*
|
|
5414
|
+
* Invalid provider or request
|
|
5336
5415
|
*/
|
|
5337
|
-
|
|
5416
|
+
400: ErrorResponse;
|
|
5338
5417
|
/**
|
|
5339
|
-
*
|
|
5418
|
+
* Entity not found
|
|
5340
5419
|
*/
|
|
5341
|
-
404:
|
|
5420
|
+
404: ErrorResponse;
|
|
5342
5421
|
/**
|
|
5343
5422
|
* Validation Error
|
|
5344
5423
|
*/
|
|
5345
5424
|
422: HttpValidationError;
|
|
5346
5425
|
/**
|
|
5347
|
-
*
|
|
5426
|
+
* Failed to create link token
|
|
5348
5427
|
*/
|
|
5349
|
-
500:
|
|
5428
|
+
500: ErrorResponse;
|
|
5350
5429
|
};
|
|
5351
5430
|
|
|
5352
|
-
export type
|
|
5431
|
+
export type CreateLinkTokenError = CreateLinkTokenErrors[keyof CreateLinkTokenErrors];
|
|
5353
5432
|
|
|
5354
|
-
export type
|
|
5433
|
+
export type CreateLinkTokenResponses = {
|
|
5355
5434
|
/**
|
|
5356
|
-
*
|
|
5435
|
+
* Link token created successfully
|
|
5357
5436
|
*/
|
|
5358
5437
|
200: unknown;
|
|
5359
5438
|
};
|
|
5360
5439
|
|
|
5361
|
-
export type
|
|
5362
|
-
body
|
|
5440
|
+
export type InitOAuthData = {
|
|
5441
|
+
body: OAuthInitRequest;
|
|
5363
5442
|
path: {
|
|
5364
5443
|
/**
|
|
5365
|
-
*
|
|
5444
|
+
* Graph Id
|
|
5366
5445
|
*/
|
|
5367
|
-
|
|
5446
|
+
graph_id: string;
|
|
5368
5447
|
};
|
|
5369
5448
|
query?: never;
|
|
5370
|
-
url: '/v1/
|
|
5449
|
+
url: '/v1/graphs/{graph_id}/connections/oauth/init';
|
|
5371
5450
|
};
|
|
5372
5451
|
|
|
5373
|
-
export type
|
|
5374
|
-
/**
|
|
5375
|
-
* Authentication required
|
|
5376
|
-
*/
|
|
5377
|
-
401: unknown;
|
|
5378
|
-
/**
|
|
5379
|
-
* Subscription not found or not owned by user
|
|
5380
|
-
*/
|
|
5381
|
-
404: unknown;
|
|
5452
|
+
export type InitOAuthErrors = {
|
|
5382
5453
|
/**
|
|
5383
5454
|
* Validation Error
|
|
5384
5455
|
*/
|
|
5385
5456
|
422: HttpValidationError;
|
|
5386
|
-
/**
|
|
5387
|
-
* Internal server error
|
|
5388
|
-
*/
|
|
5389
|
-
500: unknown;
|
|
5390
5457
|
};
|
|
5391
5458
|
|
|
5392
|
-
export type
|
|
5459
|
+
export type InitOAuthError = InitOAuthErrors[keyof InitOAuthErrors];
|
|
5393
5460
|
|
|
5394
|
-
export type
|
|
5461
|
+
export type InitOAuthResponses = {
|
|
5395
5462
|
/**
|
|
5396
|
-
*
|
|
5463
|
+
* Successful Response
|
|
5397
5464
|
*/
|
|
5398
|
-
200:
|
|
5465
|
+
200: OAuthInitResponse;
|
|
5399
5466
|
};
|
|
5400
5467
|
|
|
5401
|
-
export type
|
|
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];
|
|
5601
|
-
|
|
5602
|
-
export type ExchangeLinkTokenData = {
|
|
5603
|
-
body: ExchangeTokenRequest;
|
|
5604
|
-
path: {
|
|
5605
|
-
/**
|
|
5606
|
-
* Graph Id
|
|
5607
|
-
*/
|
|
5608
|
-
graph_id: string;
|
|
5609
|
-
};
|
|
5610
|
-
query?: never;
|
|
5611
|
-
url: '/v1/graphs/{graph_id}/connections/link/exchange';
|
|
5612
|
-
};
|
|
5613
|
-
|
|
5614
|
-
export type ExchangeLinkTokenErrors = {
|
|
5615
|
-
/**
|
|
5616
|
-
* Invalid token or provider
|
|
5617
|
-
*/
|
|
5618
|
-
400: ErrorResponse;
|
|
5619
|
-
/**
|
|
5620
|
-
* Connection not found
|
|
5621
|
-
*/
|
|
5622
|
-
404: ErrorResponse;
|
|
5623
|
-
/**
|
|
5624
|
-
* Validation Error
|
|
5625
|
-
*/
|
|
5626
|
-
422: HttpValidationError;
|
|
5627
|
-
/**
|
|
5628
|
-
* Token exchange failed
|
|
5629
|
-
*/
|
|
5630
|
-
500: ErrorResponse;
|
|
5631
|
-
};
|
|
5632
|
-
|
|
5633
|
-
export type ExchangeLinkTokenError = ExchangeLinkTokenErrors[keyof ExchangeLinkTokenErrors];
|
|
5634
|
-
|
|
5635
|
-
export type ExchangeLinkTokenResponses = {
|
|
5636
|
-
/**
|
|
5637
|
-
* Token exchanged successfully
|
|
5638
|
-
*/
|
|
5639
|
-
200: unknown;
|
|
5640
|
-
};
|
|
5641
|
-
|
|
5642
|
-
export type CreateLinkTokenData = {
|
|
5643
|
-
body: LinkTokenRequest;
|
|
5644
|
-
path: {
|
|
5645
|
-
/**
|
|
5646
|
-
* Graph Id
|
|
5647
|
-
*/
|
|
5648
|
-
graph_id: string;
|
|
5649
|
-
};
|
|
5650
|
-
query?: never;
|
|
5651
|
-
url: '/v1/graphs/{graph_id}/connections/link/token';
|
|
5652
|
-
};
|
|
5653
|
-
|
|
5654
|
-
export type CreateLinkTokenErrors = {
|
|
5655
|
-
/**
|
|
5656
|
-
* Invalid provider or request
|
|
5657
|
-
*/
|
|
5658
|
-
400: ErrorResponse;
|
|
5659
|
-
/**
|
|
5660
|
-
* Entity not found
|
|
5661
|
-
*/
|
|
5662
|
-
404: ErrorResponse;
|
|
5663
|
-
/**
|
|
5664
|
-
* Validation Error
|
|
5665
|
-
*/
|
|
5666
|
-
422: HttpValidationError;
|
|
5667
|
-
/**
|
|
5668
|
-
* Failed to create link token
|
|
5669
|
-
*/
|
|
5670
|
-
500: ErrorResponse;
|
|
5671
|
-
};
|
|
5672
|
-
|
|
5673
|
-
export type CreateLinkTokenError = CreateLinkTokenErrors[keyof CreateLinkTokenErrors];
|
|
5674
|
-
|
|
5675
|
-
export type CreateLinkTokenResponses = {
|
|
5676
|
-
/**
|
|
5677
|
-
* Link token created successfully
|
|
5678
|
-
*/
|
|
5679
|
-
200: unknown;
|
|
5680
|
-
};
|
|
5681
|
-
|
|
5682
|
-
export type InitOAuthData = {
|
|
5683
|
-
body: OAuthInitRequest;
|
|
5684
|
-
path: {
|
|
5685
|
-
/**
|
|
5686
|
-
* Graph Id
|
|
5687
|
-
*/
|
|
5688
|
-
graph_id: string;
|
|
5689
|
-
};
|
|
5690
|
-
query?: never;
|
|
5691
|
-
url: '/v1/graphs/{graph_id}/connections/oauth/init';
|
|
5692
|
-
};
|
|
5693
|
-
|
|
5694
|
-
export type InitOAuthErrors = {
|
|
5695
|
-
/**
|
|
5696
|
-
* Validation Error
|
|
5697
|
-
*/
|
|
5698
|
-
422: HttpValidationError;
|
|
5699
|
-
};
|
|
5700
|
-
|
|
5701
|
-
export type InitOAuthError = InitOAuthErrors[keyof InitOAuthErrors];
|
|
5702
|
-
|
|
5703
|
-
export type InitOAuthResponses = {
|
|
5704
|
-
/**
|
|
5705
|
-
* Successful Response
|
|
5706
|
-
*/
|
|
5707
|
-
200: OAuthInitResponse;
|
|
5708
|
-
};
|
|
5709
|
-
|
|
5710
|
-
export type InitOAuthResponse = InitOAuthResponses[keyof InitOAuthResponses];
|
|
5468
|
+
export type InitOAuthResponse = InitOAuthResponses[keyof InitOAuthResponses];
|
|
5711
5469
|
|
|
5712
5470
|
export type OauthCallbackData = {
|
|
5713
5471
|
body: OAuthCallbackRequest;
|
|
@@ -6525,7 +6283,7 @@ export type GetGraphMetricsResponses = {
|
|
|
6525
6283
|
|
|
6526
6284
|
export type GetGraphMetricsResponse = GetGraphMetricsResponses[keyof GetGraphMetricsResponses];
|
|
6527
6285
|
|
|
6528
|
-
export type
|
|
6286
|
+
export type GetGraphUsageAnalyticsData = {
|
|
6529
6287
|
body?: never;
|
|
6530
6288
|
path: {
|
|
6531
6289
|
/**
|
|
@@ -6535,15 +6293,35 @@ export type GetGraphUsageStatsData = {
|
|
|
6535
6293
|
};
|
|
6536
6294
|
query?: {
|
|
6537
6295
|
/**
|
|
6538
|
-
*
|
|
6539
|
-
*
|
|
6296
|
+
* Time Range
|
|
6297
|
+
* Time range: 24h, 7d, 30d, current_month, last_month
|
|
6298
|
+
*/
|
|
6299
|
+
time_range?: string;
|
|
6300
|
+
/**
|
|
6301
|
+
* Include Storage
|
|
6302
|
+
* Include storage usage summary
|
|
6540
6303
|
*/
|
|
6541
|
-
|
|
6304
|
+
include_storage?: boolean;
|
|
6305
|
+
/**
|
|
6306
|
+
* Include Credits
|
|
6307
|
+
* Include credit consumption summary
|
|
6308
|
+
*/
|
|
6309
|
+
include_credits?: boolean;
|
|
6310
|
+
/**
|
|
6311
|
+
* Include Performance
|
|
6312
|
+
* Include performance insights (may be slower)
|
|
6313
|
+
*/
|
|
6314
|
+
include_performance?: boolean;
|
|
6315
|
+
/**
|
|
6316
|
+
* Include Events
|
|
6317
|
+
* Include recent usage events
|
|
6318
|
+
*/
|
|
6319
|
+
include_events?: boolean;
|
|
6542
6320
|
};
|
|
6543
6321
|
url: '/v1/graphs/{graph_id}/analytics/usage';
|
|
6544
6322
|
};
|
|
6545
6323
|
|
|
6546
|
-
export type
|
|
6324
|
+
export type GetGraphUsageAnalyticsErrors = {
|
|
6547
6325
|
/**
|
|
6548
6326
|
* Access denied to graph
|
|
6549
6327
|
*/
|
|
@@ -6553,21 +6331,21 @@ export type GetGraphUsageStatsErrors = {
|
|
|
6553
6331
|
*/
|
|
6554
6332
|
422: HttpValidationError;
|
|
6555
6333
|
/**
|
|
6556
|
-
* Failed to retrieve usage
|
|
6334
|
+
* Failed to retrieve usage analytics
|
|
6557
6335
|
*/
|
|
6558
6336
|
500: ErrorResponse;
|
|
6559
6337
|
};
|
|
6560
6338
|
|
|
6561
|
-
export type
|
|
6339
|
+
export type GetGraphUsageAnalyticsError = GetGraphUsageAnalyticsErrors[keyof GetGraphUsageAnalyticsErrors];
|
|
6562
6340
|
|
|
6563
|
-
export type
|
|
6341
|
+
export type GetGraphUsageAnalyticsResponses = {
|
|
6564
6342
|
/**
|
|
6565
|
-
* Usage
|
|
6343
|
+
* Usage analytics retrieved successfully
|
|
6566
6344
|
*/
|
|
6567
6345
|
200: GraphUsageResponse;
|
|
6568
6346
|
};
|
|
6569
6347
|
|
|
6570
|
-
export type
|
|
6348
|
+
export type GetGraphUsageAnalyticsResponse = GetGraphUsageAnalyticsResponses[keyof GetGraphUsageAnalyticsResponses];
|
|
6571
6349
|
|
|
6572
6350
|
export type ExecuteCypherQueryData = {
|
|
6573
6351
|
body: CypherQueryRequest;
|
|
@@ -6679,226 +6457,23 @@ export type GetGraphSchemaErrors = {
|
|
|
6679
6457
|
*/
|
|
6680
6458
|
500: unknown;
|
|
6681
6459
|
/**
|
|
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: {
|
|
6701
|
-
/**
|
|
6702
|
-
* Graph Id
|
|
6703
|
-
*/
|
|
6704
|
-
graph_id: string;
|
|
6705
|
-
};
|
|
6706
|
-
query?: {
|
|
6707
|
-
/**
|
|
6708
|
-
* Format
|
|
6709
|
-
* Export format: json, yaml, or cypher
|
|
6710
|
-
*/
|
|
6711
|
-
format?: string;
|
|
6712
|
-
/**
|
|
6713
|
-
* Include Data Stats
|
|
6714
|
-
* Include statistics about actual data in the graph (node counts, relationship counts)
|
|
6715
|
-
*/
|
|
6716
|
-
include_data_stats?: boolean;
|
|
6717
|
-
};
|
|
6718
|
-
url: '/v1/graphs/{graph_id}/schema/export';
|
|
6719
|
-
};
|
|
6720
|
-
|
|
6721
|
-
export type ExportGraphSchemaErrors = {
|
|
6722
|
-
/**
|
|
6723
|
-
* Access denied to graph
|
|
6724
|
-
*/
|
|
6725
|
-
403: unknown;
|
|
6726
|
-
/**
|
|
6727
|
-
* Schema not found for graph
|
|
6728
|
-
*/
|
|
6729
|
-
404: unknown;
|
|
6730
|
-
/**
|
|
6731
|
-
* Validation Error
|
|
6732
|
-
*/
|
|
6733
|
-
422: HttpValidationError;
|
|
6734
|
-
/**
|
|
6735
|
-
* Failed to export schema
|
|
6736
|
-
*/
|
|
6737
|
-
500: unknown;
|
|
6738
|
-
};
|
|
6739
|
-
|
|
6740
|
-
export type ExportGraphSchemaError = ExportGraphSchemaErrors[keyof ExportGraphSchemaErrors];
|
|
6741
|
-
|
|
6742
|
-
export type ExportGraphSchemaResponses = {
|
|
6743
|
-
/**
|
|
6744
|
-
* Schema exported successfully
|
|
6745
|
-
*/
|
|
6746
|
-
200: SchemaExportResponse;
|
|
6747
|
-
};
|
|
6748
|
-
|
|
6749
|
-
export type ExportGraphSchemaResponse = ExportGraphSchemaResponses[keyof ExportGraphSchemaResponses];
|
|
6750
|
-
|
|
6751
|
-
export type ValidateSchemaData = {
|
|
6752
|
-
/**
|
|
6753
|
-
* Schema definition to validate
|
|
6754
|
-
*/
|
|
6755
|
-
body: SchemaValidationRequest;
|
|
6756
|
-
path: {
|
|
6757
|
-
/**
|
|
6758
|
-
* Graph Id
|
|
6759
|
-
*/
|
|
6760
|
-
graph_id: string;
|
|
6761
|
-
};
|
|
6762
|
-
query?: never;
|
|
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: {
|
|
6799
|
-
/**
|
|
6800
|
-
* Graph Id
|
|
6801
|
-
*/
|
|
6802
|
-
graph_id: string;
|
|
6803
|
-
};
|
|
6804
|
-
query?: never;
|
|
6805
|
-
url: '/v1/graphs/{graph_id}/billing/current';
|
|
6806
|
-
};
|
|
6807
|
-
|
|
6808
|
-
export type GetCurrentGraphBillErrors = {
|
|
6809
|
-
/**
|
|
6810
|
-
* Access denied to graph
|
|
6811
|
-
*/
|
|
6812
|
-
403: ErrorResponse;
|
|
6813
|
-
/**
|
|
6814
|
-
* Graph not found
|
|
6815
|
-
*/
|
|
6816
|
-
404: ErrorResponse;
|
|
6817
|
-
/**
|
|
6818
|
-
* Validation Error
|
|
6819
|
-
*/
|
|
6820
|
-
422: HttpValidationError;
|
|
6821
|
-
/**
|
|
6822
|
-
* Failed to calculate bill
|
|
6823
|
-
*/
|
|
6824
|
-
500: ErrorResponse;
|
|
6825
|
-
};
|
|
6826
|
-
|
|
6827
|
-
export type GetCurrentGraphBillError = GetCurrentGraphBillErrors[keyof GetCurrentGraphBillErrors];
|
|
6828
|
-
|
|
6829
|
-
export type GetCurrentGraphBillResponses = {
|
|
6830
|
-
/**
|
|
6831
|
-
* Response Getcurrentgraphbill
|
|
6832
|
-
* Current bill retrieved successfully
|
|
6833
|
-
*/
|
|
6834
|
-
200: {
|
|
6835
|
-
[key: string]: unknown;
|
|
6836
|
-
};
|
|
6837
|
-
};
|
|
6838
|
-
|
|
6839
|
-
export type GetCurrentGraphBillResponse = GetCurrentGraphBillResponses[keyof GetCurrentGraphBillResponses];
|
|
6840
|
-
|
|
6841
|
-
export type GetGraphUsageDetailsData = {
|
|
6842
|
-
body?: never;
|
|
6843
|
-
path: {
|
|
6844
|
-
/**
|
|
6845
|
-
* Graph Id
|
|
6846
|
-
*/
|
|
6847
|
-
graph_id: string;
|
|
6848
|
-
};
|
|
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';
|
|
6862
|
-
};
|
|
6863
|
-
|
|
6864
|
-
export type GetGraphUsageDetailsErrors = {
|
|
6865
|
-
/**
|
|
6866
|
-
* Invalid year or month
|
|
6867
|
-
*/
|
|
6868
|
-
400: ErrorResponse;
|
|
6869
|
-
/**
|
|
6870
|
-
* Access denied to graph
|
|
6871
|
-
*/
|
|
6872
|
-
403: ErrorResponse;
|
|
6873
|
-
/**
|
|
6874
|
-
* Graph not found
|
|
6875
|
-
*/
|
|
6876
|
-
404: ErrorResponse;
|
|
6877
|
-
/**
|
|
6878
|
-
* Validation Error
|
|
6879
|
-
*/
|
|
6880
|
-
422: HttpValidationError;
|
|
6881
|
-
/**
|
|
6882
|
-
* Failed to retrieve usage
|
|
6460
|
+
* Schema operation timed out
|
|
6883
6461
|
*/
|
|
6884
|
-
|
|
6462
|
+
504: unknown;
|
|
6885
6463
|
};
|
|
6886
6464
|
|
|
6887
|
-
export type
|
|
6465
|
+
export type GetGraphSchemaError = GetGraphSchemaErrors[keyof GetGraphSchemaErrors];
|
|
6888
6466
|
|
|
6889
|
-
export type
|
|
6467
|
+
export type GetGraphSchemaResponses = {
|
|
6890
6468
|
/**
|
|
6891
|
-
*
|
|
6892
|
-
* Usage details retrieved successfully
|
|
6469
|
+
* Schema information retrieved successfully
|
|
6893
6470
|
*/
|
|
6894
|
-
200:
|
|
6895
|
-
[key: string]: unknown;
|
|
6896
|
-
};
|
|
6471
|
+
200: SchemaInfoResponse;
|
|
6897
6472
|
};
|
|
6898
6473
|
|
|
6899
|
-
export type
|
|
6474
|
+
export type GetGraphSchemaResponse = GetGraphSchemaResponses[keyof GetGraphSchemaResponses];
|
|
6900
6475
|
|
|
6901
|
-
export type
|
|
6476
|
+
export type ExportGraphSchemaData = {
|
|
6902
6477
|
body?: never;
|
|
6903
6478
|
path: {
|
|
6904
6479
|
/**
|
|
@@ -6908,72 +6483,67 @@ export type GetGraphBillingHistoryData = {
|
|
|
6908
6483
|
};
|
|
6909
6484
|
query?: {
|
|
6910
6485
|
/**
|
|
6911
|
-
*
|
|
6912
|
-
*
|
|
6486
|
+
* Format
|
|
6487
|
+
* Export format: json, yaml, or cypher
|
|
6488
|
+
*/
|
|
6489
|
+
format?: string;
|
|
6490
|
+
/**
|
|
6491
|
+
* Include Data Stats
|
|
6492
|
+
* Include statistics about actual data in the graph (node counts, relationship counts)
|
|
6913
6493
|
*/
|
|
6914
|
-
|
|
6494
|
+
include_data_stats?: boolean;
|
|
6915
6495
|
};
|
|
6916
|
-
url: '/v1/graphs/{graph_id}/
|
|
6496
|
+
url: '/v1/graphs/{graph_id}/schema/export';
|
|
6917
6497
|
};
|
|
6918
6498
|
|
|
6919
|
-
export type
|
|
6499
|
+
export type ExportGraphSchemaErrors = {
|
|
6920
6500
|
/**
|
|
6921
6501
|
* Access denied to graph
|
|
6922
6502
|
*/
|
|
6923
|
-
403:
|
|
6503
|
+
403: unknown;
|
|
6924
6504
|
/**
|
|
6925
|
-
*
|
|
6505
|
+
* Schema not found for graph
|
|
6926
6506
|
*/
|
|
6927
|
-
404:
|
|
6507
|
+
404: unknown;
|
|
6928
6508
|
/**
|
|
6929
6509
|
* Validation Error
|
|
6930
6510
|
*/
|
|
6931
6511
|
422: HttpValidationError;
|
|
6932
6512
|
/**
|
|
6933
|
-
* Failed to
|
|
6513
|
+
* Failed to export schema
|
|
6934
6514
|
*/
|
|
6935
|
-
500:
|
|
6515
|
+
500: unknown;
|
|
6936
6516
|
};
|
|
6937
6517
|
|
|
6938
|
-
export type
|
|
6518
|
+
export type ExportGraphSchemaError = ExportGraphSchemaErrors[keyof ExportGraphSchemaErrors];
|
|
6939
6519
|
|
|
6940
|
-
export type
|
|
6520
|
+
export type ExportGraphSchemaResponses = {
|
|
6941
6521
|
/**
|
|
6942
|
-
*
|
|
6943
|
-
* Billing history retrieved successfully
|
|
6522
|
+
* Schema exported successfully
|
|
6944
6523
|
*/
|
|
6945
|
-
200:
|
|
6946
|
-
[key: string]: unknown;
|
|
6947
|
-
};
|
|
6524
|
+
200: SchemaExportResponse;
|
|
6948
6525
|
};
|
|
6949
6526
|
|
|
6950
|
-
export type
|
|
6527
|
+
export type ExportGraphSchemaResponse = ExportGraphSchemaResponses[keyof ExportGraphSchemaResponses];
|
|
6951
6528
|
|
|
6952
|
-
export type
|
|
6953
|
-
|
|
6529
|
+
export type ValidateSchemaData = {
|
|
6530
|
+
/**
|
|
6531
|
+
* Schema definition to validate
|
|
6532
|
+
*/
|
|
6533
|
+
body: SchemaValidationRequest;
|
|
6954
6534
|
path: {
|
|
6955
|
-
/**
|
|
6956
|
-
* Year
|
|
6957
|
-
* Year (2024-2030)
|
|
6958
|
-
*/
|
|
6959
|
-
year: number;
|
|
6960
|
-
/**
|
|
6961
|
-
* Month
|
|
6962
|
-
* Month (1-12)
|
|
6963
|
-
*/
|
|
6964
|
-
month: number;
|
|
6965
6535
|
/**
|
|
6966
6536
|
* Graph Id
|
|
6967
6537
|
*/
|
|
6968
6538
|
graph_id: string;
|
|
6969
6539
|
};
|
|
6970
6540
|
query?: never;
|
|
6971
|
-
url: '/v1/graphs/{graph_id}/
|
|
6541
|
+
url: '/v1/graphs/{graph_id}/schema/validate';
|
|
6972
6542
|
};
|
|
6973
6543
|
|
|
6974
|
-
export type
|
|
6544
|
+
export type ValidateSchemaErrors = {
|
|
6975
6545
|
/**
|
|
6976
|
-
* Invalid
|
|
6546
|
+
* Invalid schema format
|
|
6977
6547
|
*/
|
|
6978
6548
|
400: ErrorResponse;
|
|
6979
6549
|
/**
|
|
@@ -6981,32 +6551,25 @@ export type GetGraphMonthlyBillErrors = {
|
|
|
6981
6551
|
*/
|
|
6982
6552
|
403: ErrorResponse;
|
|
6983
6553
|
/**
|
|
6984
|
-
*
|
|
6985
|
-
*/
|
|
6986
|
-
404: ErrorResponse;
|
|
6987
|
-
/**
|
|
6988
|
-
* Validation Error
|
|
6554
|
+
* Schema validation failed
|
|
6989
6555
|
*/
|
|
6990
|
-
422:
|
|
6556
|
+
422: ErrorResponse;
|
|
6991
6557
|
/**
|
|
6992
|
-
*
|
|
6558
|
+
* Validation error
|
|
6993
6559
|
*/
|
|
6994
6560
|
500: ErrorResponse;
|
|
6995
6561
|
};
|
|
6996
6562
|
|
|
6997
|
-
export type
|
|
6563
|
+
export type ValidateSchemaError = ValidateSchemaErrors[keyof ValidateSchemaErrors];
|
|
6998
6564
|
|
|
6999
|
-
export type
|
|
6565
|
+
export type ValidateSchemaResponses = {
|
|
7000
6566
|
/**
|
|
7001
|
-
*
|
|
7002
|
-
* Monthly bill retrieved successfully
|
|
6567
|
+
* Schema validation completed
|
|
7003
6568
|
*/
|
|
7004
|
-
200:
|
|
7005
|
-
[key: string]: unknown;
|
|
7006
|
-
};
|
|
6569
|
+
200: SchemaValidationResponse;
|
|
7007
6570
|
};
|
|
7008
6571
|
|
|
7009
|
-
export type
|
|
6572
|
+
export type ValidateSchemaResponse = ValidateSchemaResponses[keyof ValidateSchemaResponses];
|
|
7010
6573
|
|
|
7011
6574
|
export type GetCreditSummaryData = {
|
|
7012
6575
|
body?: never;
|
|
@@ -7447,176 +7010,324 @@ export type CreateSubgraphErrors = {
|
|
|
7447
7010
|
422: HttpValidationError;
|
|
7448
7011
|
};
|
|
7449
7012
|
|
|
7450
|
-
export type CreateSubgraphError = CreateSubgraphErrors[keyof CreateSubgraphErrors];
|
|
7013
|
+
export type CreateSubgraphError = CreateSubgraphErrors[keyof CreateSubgraphErrors];
|
|
7014
|
+
|
|
7015
|
+
export type CreateSubgraphResponses = {
|
|
7016
|
+
/**
|
|
7017
|
+
* Successful Response
|
|
7018
|
+
*/
|
|
7019
|
+
201: SubgraphResponse;
|
|
7020
|
+
};
|
|
7021
|
+
|
|
7022
|
+
export type CreateSubgraphResponse = CreateSubgraphResponses[keyof CreateSubgraphResponses];
|
|
7023
|
+
|
|
7024
|
+
export type DeleteSubgraphData = {
|
|
7025
|
+
body: DeleteSubgraphRequest;
|
|
7026
|
+
path: {
|
|
7027
|
+
/**
|
|
7028
|
+
* Graph Id
|
|
7029
|
+
*/
|
|
7030
|
+
graph_id: string;
|
|
7031
|
+
/**
|
|
7032
|
+
* Subgraph Id
|
|
7033
|
+
* Subgraph identifier to delete
|
|
7034
|
+
*/
|
|
7035
|
+
subgraph_id: string;
|
|
7036
|
+
};
|
|
7037
|
+
query?: never;
|
|
7038
|
+
url: '/v1/graphs/{graph_id}/subgraphs/{subgraph_id}';
|
|
7039
|
+
};
|
|
7040
|
+
|
|
7041
|
+
export type DeleteSubgraphErrors = {
|
|
7042
|
+
/**
|
|
7043
|
+
* Invalid subgraph identifier
|
|
7044
|
+
*/
|
|
7045
|
+
400: unknown;
|
|
7046
|
+
/**
|
|
7047
|
+
* Not authenticated
|
|
7048
|
+
*/
|
|
7049
|
+
401: unknown;
|
|
7050
|
+
/**
|
|
7051
|
+
* Insufficient permissions
|
|
7052
|
+
*/
|
|
7053
|
+
403: unknown;
|
|
7054
|
+
/**
|
|
7055
|
+
* Subgraph not found
|
|
7056
|
+
*/
|
|
7057
|
+
404: unknown;
|
|
7058
|
+
/**
|
|
7059
|
+
* Subgraph contains data (use force=true)
|
|
7060
|
+
*/
|
|
7061
|
+
409: unknown;
|
|
7062
|
+
/**
|
|
7063
|
+
* Validation Error
|
|
7064
|
+
*/
|
|
7065
|
+
422: HttpValidationError;
|
|
7066
|
+
/**
|
|
7067
|
+
* Internal server error
|
|
7068
|
+
*/
|
|
7069
|
+
500: unknown;
|
|
7070
|
+
};
|
|
7071
|
+
|
|
7072
|
+
export type DeleteSubgraphError = DeleteSubgraphErrors[keyof DeleteSubgraphErrors];
|
|
7073
|
+
|
|
7074
|
+
export type DeleteSubgraphResponses = {
|
|
7075
|
+
/**
|
|
7076
|
+
* Subgraph deleted successfully
|
|
7077
|
+
*/
|
|
7078
|
+
200: DeleteSubgraphResponse;
|
|
7079
|
+
};
|
|
7080
|
+
|
|
7081
|
+
export type DeleteSubgraphResponse2 = DeleteSubgraphResponses[keyof DeleteSubgraphResponses];
|
|
7082
|
+
|
|
7083
|
+
export type GetSubgraphInfoData = {
|
|
7084
|
+
body?: never;
|
|
7085
|
+
path: {
|
|
7086
|
+
/**
|
|
7087
|
+
* Graph Id
|
|
7088
|
+
*/
|
|
7089
|
+
graph_id: string;
|
|
7090
|
+
/**
|
|
7091
|
+
* Subgraph Id
|
|
7092
|
+
* Subgraph identifier
|
|
7093
|
+
*/
|
|
7094
|
+
subgraph_id: string;
|
|
7095
|
+
};
|
|
7096
|
+
query?: never;
|
|
7097
|
+
url: '/v1/graphs/{graph_id}/subgraphs/{subgraph_id}/info';
|
|
7098
|
+
};
|
|
7099
|
+
|
|
7100
|
+
export type GetSubgraphInfoErrors = {
|
|
7101
|
+
/**
|
|
7102
|
+
* Not a valid subgraph
|
|
7103
|
+
*/
|
|
7104
|
+
400: unknown;
|
|
7105
|
+
/**
|
|
7106
|
+
* Not authenticated
|
|
7107
|
+
*/
|
|
7108
|
+
401: unknown;
|
|
7109
|
+
/**
|
|
7110
|
+
* Access denied
|
|
7111
|
+
*/
|
|
7112
|
+
403: unknown;
|
|
7113
|
+
/**
|
|
7114
|
+
* Subgraph not found
|
|
7115
|
+
*/
|
|
7116
|
+
404: unknown;
|
|
7117
|
+
/**
|
|
7118
|
+
* Validation Error
|
|
7119
|
+
*/
|
|
7120
|
+
422: HttpValidationError;
|
|
7121
|
+
/**
|
|
7122
|
+
* Internal server error
|
|
7123
|
+
*/
|
|
7124
|
+
500: unknown;
|
|
7125
|
+
};
|
|
7126
|
+
|
|
7127
|
+
export type GetSubgraphInfoError = GetSubgraphInfoErrors[keyof GetSubgraphInfoErrors];
|
|
7128
|
+
|
|
7129
|
+
export type GetSubgraphInfoResponses = {
|
|
7130
|
+
/**
|
|
7131
|
+
* Subgraph information retrieved
|
|
7132
|
+
*/
|
|
7133
|
+
200: SubgraphResponse;
|
|
7134
|
+
};
|
|
7135
|
+
|
|
7136
|
+
export type GetSubgraphInfoResponse = GetSubgraphInfoResponses[keyof GetSubgraphInfoResponses];
|
|
7137
|
+
|
|
7138
|
+
export type GetSubgraphQuotaData = {
|
|
7139
|
+
body?: never;
|
|
7140
|
+
path: {
|
|
7141
|
+
/**
|
|
7142
|
+
* Graph Id
|
|
7143
|
+
*/
|
|
7144
|
+
graph_id: string;
|
|
7145
|
+
};
|
|
7146
|
+
query?: never;
|
|
7147
|
+
url: '/v1/graphs/{graph_id}/subgraphs/quota';
|
|
7148
|
+
};
|
|
7149
|
+
|
|
7150
|
+
export type GetSubgraphQuotaErrors = {
|
|
7151
|
+
/**
|
|
7152
|
+
* Not authenticated
|
|
7153
|
+
*/
|
|
7154
|
+
401: unknown;
|
|
7155
|
+
/**
|
|
7156
|
+
* Access denied to parent graph
|
|
7157
|
+
*/
|
|
7158
|
+
403: unknown;
|
|
7159
|
+
/**
|
|
7160
|
+
* Parent graph not found
|
|
7161
|
+
*/
|
|
7162
|
+
404: unknown;
|
|
7163
|
+
/**
|
|
7164
|
+
* Validation Error
|
|
7165
|
+
*/
|
|
7166
|
+
422: HttpValidationError;
|
|
7167
|
+
/**
|
|
7168
|
+
* Internal server error
|
|
7169
|
+
*/
|
|
7170
|
+
500: unknown;
|
|
7171
|
+
};
|
|
7172
|
+
|
|
7173
|
+
export type GetSubgraphQuotaError = GetSubgraphQuotaErrors[keyof GetSubgraphQuotaErrors];
|
|
7174
|
+
|
|
7175
|
+
export type GetSubgraphQuotaResponses = {
|
|
7176
|
+
/**
|
|
7177
|
+
* Quota information retrieved
|
|
7178
|
+
*/
|
|
7179
|
+
200: SubgraphQuotaResponse;
|
|
7180
|
+
};
|
|
7181
|
+
|
|
7182
|
+
export type GetSubgraphQuotaResponse = GetSubgraphQuotaResponses[keyof GetSubgraphQuotaResponses];
|
|
7183
|
+
|
|
7184
|
+
export type CancelSubscriptionData = {
|
|
7185
|
+
body?: never;
|
|
7186
|
+
path: {
|
|
7187
|
+
/**
|
|
7188
|
+
* Graph Id
|
|
7189
|
+
* Graph ID or repository name
|
|
7190
|
+
*/
|
|
7191
|
+
graph_id: string;
|
|
7192
|
+
};
|
|
7193
|
+
query?: never;
|
|
7194
|
+
url: '/v1/graphs/{graph_id}/subscriptions';
|
|
7195
|
+
};
|
|
7196
|
+
|
|
7197
|
+
export type CancelSubscriptionErrors = {
|
|
7198
|
+
/**
|
|
7199
|
+
* Cannot cancel graph subscriptions directly
|
|
7200
|
+
*/
|
|
7201
|
+
400: unknown;
|
|
7202
|
+
/**
|
|
7203
|
+
* No subscription found
|
|
7204
|
+
*/
|
|
7205
|
+
404: unknown;
|
|
7206
|
+
/**
|
|
7207
|
+
* Validation Error
|
|
7208
|
+
*/
|
|
7209
|
+
422: HttpValidationError;
|
|
7210
|
+
};
|
|
7211
|
+
|
|
7212
|
+
export type CancelSubscriptionError = CancelSubscriptionErrors[keyof CancelSubscriptionErrors];
|
|
7451
7213
|
|
|
7452
|
-
export type
|
|
7214
|
+
export type CancelSubscriptionResponses = {
|
|
7453
7215
|
/**
|
|
7454
|
-
*
|
|
7216
|
+
* Subscription canceled successfully
|
|
7455
7217
|
*/
|
|
7456
|
-
|
|
7218
|
+
200: CancellationResponse;
|
|
7457
7219
|
};
|
|
7458
7220
|
|
|
7459
|
-
export type
|
|
7221
|
+
export type CancelSubscriptionResponse = CancelSubscriptionResponses[keyof CancelSubscriptionResponses];
|
|
7460
7222
|
|
|
7461
|
-
export type
|
|
7462
|
-
body
|
|
7223
|
+
export type GetGraphSubscriptionData = {
|
|
7224
|
+
body?: never;
|
|
7463
7225
|
path: {
|
|
7464
7226
|
/**
|
|
7465
7227
|
* Graph Id
|
|
7228
|
+
* Graph ID or repository name
|
|
7466
7229
|
*/
|
|
7467
7230
|
graph_id: string;
|
|
7468
|
-
/**
|
|
7469
|
-
* Subgraph Id
|
|
7470
|
-
* Subgraph identifier to delete
|
|
7471
|
-
*/
|
|
7472
|
-
subgraph_id: string;
|
|
7473
7231
|
};
|
|
7474
7232
|
query?: never;
|
|
7475
|
-
url: '/v1/graphs/{graph_id}/
|
|
7233
|
+
url: '/v1/graphs/{graph_id}/subscriptions';
|
|
7476
7234
|
};
|
|
7477
7235
|
|
|
7478
|
-
export type
|
|
7479
|
-
/**
|
|
7480
|
-
* Invalid subgraph identifier
|
|
7481
|
-
*/
|
|
7482
|
-
400: unknown;
|
|
7483
|
-
/**
|
|
7484
|
-
* Not authenticated
|
|
7485
|
-
*/
|
|
7486
|
-
401: unknown;
|
|
7487
|
-
/**
|
|
7488
|
-
* Insufficient permissions
|
|
7489
|
-
*/
|
|
7490
|
-
403: unknown;
|
|
7236
|
+
export type GetGraphSubscriptionErrors = {
|
|
7491
7237
|
/**
|
|
7492
|
-
*
|
|
7238
|
+
* No subscription found
|
|
7493
7239
|
*/
|
|
7494
7240
|
404: unknown;
|
|
7495
|
-
/**
|
|
7496
|
-
* Subgraph contains data (use force=true)
|
|
7497
|
-
*/
|
|
7498
|
-
409: unknown;
|
|
7499
7241
|
/**
|
|
7500
7242
|
* Validation Error
|
|
7501
7243
|
*/
|
|
7502
7244
|
422: HttpValidationError;
|
|
7503
|
-
/**
|
|
7504
|
-
* Internal server error
|
|
7505
|
-
*/
|
|
7506
|
-
500: unknown;
|
|
7507
7245
|
};
|
|
7508
7246
|
|
|
7509
|
-
export type
|
|
7247
|
+
export type GetGraphSubscriptionError = GetGraphSubscriptionErrors[keyof GetGraphSubscriptionErrors];
|
|
7510
7248
|
|
|
7511
|
-
export type
|
|
7249
|
+
export type GetGraphSubscriptionResponses = {
|
|
7512
7250
|
/**
|
|
7513
|
-
*
|
|
7251
|
+
* Subscription retrieved successfully
|
|
7514
7252
|
*/
|
|
7515
|
-
200:
|
|
7253
|
+
200: GraphSubscriptionResponse;
|
|
7516
7254
|
};
|
|
7517
7255
|
|
|
7518
|
-
export type
|
|
7256
|
+
export type GetGraphSubscriptionResponse = GetGraphSubscriptionResponses[keyof GetGraphSubscriptionResponses];
|
|
7519
7257
|
|
|
7520
|
-
export type
|
|
7521
|
-
body
|
|
7258
|
+
export type CreateRepositorySubscriptionData = {
|
|
7259
|
+
body: CreateRepositorySubscriptionRequest;
|
|
7522
7260
|
path: {
|
|
7523
7261
|
/**
|
|
7524
7262
|
* Graph Id
|
|
7263
|
+
* Repository name (e.g., 'sec', 'industry')
|
|
7525
7264
|
*/
|
|
7526
7265
|
graph_id: string;
|
|
7527
|
-
/**
|
|
7528
|
-
* Subgraph Id
|
|
7529
|
-
* Subgraph identifier
|
|
7530
|
-
*/
|
|
7531
|
-
subgraph_id: string;
|
|
7532
7266
|
};
|
|
7533
7267
|
query?: never;
|
|
7534
|
-
url: '/v1/graphs/{graph_id}/
|
|
7268
|
+
url: '/v1/graphs/{graph_id}/subscriptions';
|
|
7535
7269
|
};
|
|
7536
7270
|
|
|
7537
|
-
export type
|
|
7271
|
+
export type CreateRepositorySubscriptionErrors = {
|
|
7538
7272
|
/**
|
|
7539
|
-
*
|
|
7273
|
+
* Invalid request - cannot create subscription for user graphs
|
|
7540
7274
|
*/
|
|
7541
7275
|
400: unknown;
|
|
7542
7276
|
/**
|
|
7543
|
-
*
|
|
7544
|
-
*/
|
|
7545
|
-
401: unknown;
|
|
7546
|
-
/**
|
|
7547
|
-
* Access denied
|
|
7548
|
-
*/
|
|
7549
|
-
403: unknown;
|
|
7550
|
-
/**
|
|
7551
|
-
* Subgraph not found
|
|
7277
|
+
* User already has a subscription to this repository
|
|
7552
7278
|
*/
|
|
7553
|
-
|
|
7279
|
+
409: unknown;
|
|
7554
7280
|
/**
|
|
7555
7281
|
* Validation Error
|
|
7556
7282
|
*/
|
|
7557
7283
|
422: HttpValidationError;
|
|
7558
|
-
/**
|
|
7559
|
-
* Internal server error
|
|
7560
|
-
*/
|
|
7561
|
-
500: unknown;
|
|
7562
7284
|
};
|
|
7563
7285
|
|
|
7564
|
-
export type
|
|
7286
|
+
export type CreateRepositorySubscriptionError = CreateRepositorySubscriptionErrors[keyof CreateRepositorySubscriptionErrors];
|
|
7565
7287
|
|
|
7566
|
-
export type
|
|
7288
|
+
export type CreateRepositorySubscriptionResponses = {
|
|
7567
7289
|
/**
|
|
7568
|
-
*
|
|
7290
|
+
* Repository subscription created successfully
|
|
7569
7291
|
*/
|
|
7570
|
-
|
|
7292
|
+
201: GraphSubscriptionResponse;
|
|
7571
7293
|
};
|
|
7572
7294
|
|
|
7573
|
-
export type
|
|
7295
|
+
export type CreateRepositorySubscriptionResponse = CreateRepositorySubscriptionResponses[keyof CreateRepositorySubscriptionResponses];
|
|
7574
7296
|
|
|
7575
|
-
export type
|
|
7576
|
-
body
|
|
7297
|
+
export type UpgradeSubscriptionData = {
|
|
7298
|
+
body: UpgradeSubscriptionRequest;
|
|
7577
7299
|
path: {
|
|
7578
7300
|
/**
|
|
7579
7301
|
* Graph Id
|
|
7302
|
+
* Graph ID or repository name
|
|
7580
7303
|
*/
|
|
7581
7304
|
graph_id: string;
|
|
7582
7305
|
};
|
|
7583
7306
|
query?: never;
|
|
7584
|
-
url: '/v1/graphs/{graph_id}/
|
|
7307
|
+
url: '/v1/graphs/{graph_id}/subscriptions/upgrade';
|
|
7585
7308
|
};
|
|
7586
7309
|
|
|
7587
|
-
export type
|
|
7588
|
-
/**
|
|
7589
|
-
* Not authenticated
|
|
7590
|
-
*/
|
|
7591
|
-
401: unknown;
|
|
7592
|
-
/**
|
|
7593
|
-
* Access denied to parent graph
|
|
7594
|
-
*/
|
|
7595
|
-
403: unknown;
|
|
7310
|
+
export type UpgradeSubscriptionErrors = {
|
|
7596
7311
|
/**
|
|
7597
|
-
*
|
|
7312
|
+
* No subscription found
|
|
7598
7313
|
*/
|
|
7599
7314
|
404: unknown;
|
|
7600
7315
|
/**
|
|
7601
7316
|
* Validation Error
|
|
7602
7317
|
*/
|
|
7603
7318
|
422: HttpValidationError;
|
|
7604
|
-
/**
|
|
7605
|
-
* Internal server error
|
|
7606
|
-
*/
|
|
7607
|
-
500: unknown;
|
|
7608
7319
|
};
|
|
7609
7320
|
|
|
7610
|
-
export type
|
|
7321
|
+
export type UpgradeSubscriptionError = UpgradeSubscriptionErrors[keyof UpgradeSubscriptionErrors];
|
|
7611
7322
|
|
|
7612
|
-
export type
|
|
7323
|
+
export type UpgradeSubscriptionResponses = {
|
|
7613
7324
|
/**
|
|
7614
|
-
*
|
|
7325
|
+
* Subscription upgraded successfully
|
|
7615
7326
|
*/
|
|
7616
|
-
200:
|
|
7327
|
+
200: GraphSubscriptionResponse;
|
|
7617
7328
|
};
|
|
7618
7329
|
|
|
7619
|
-
export type
|
|
7330
|
+
export type UpgradeSubscriptionResponse = UpgradeSubscriptionResponses[keyof UpgradeSubscriptionResponses];
|
|
7620
7331
|
|
|
7621
7332
|
export type ListTablesData = {
|
|
7622
7333
|
body?: never;
|
|
@@ -8370,6 +8081,227 @@ export type CancelOperationResponses = {
|
|
|
8370
8081
|
|
|
8371
8082
|
export type CancelOperationResponse = CancelOperationResponses[keyof CancelOperationResponses];
|
|
8372
8083
|
|
|
8084
|
+
export type CreateCheckoutSessionData = {
|
|
8085
|
+
body: CreateCheckoutRequest;
|
|
8086
|
+
path?: never;
|
|
8087
|
+
query?: never;
|
|
8088
|
+
url: '/v1/billing/checkout';
|
|
8089
|
+
};
|
|
8090
|
+
|
|
8091
|
+
export type CreateCheckoutSessionErrors = {
|
|
8092
|
+
/**
|
|
8093
|
+
* Validation Error
|
|
8094
|
+
*/
|
|
8095
|
+
422: HttpValidationError;
|
|
8096
|
+
};
|
|
8097
|
+
|
|
8098
|
+
export type CreateCheckoutSessionError = CreateCheckoutSessionErrors[keyof CreateCheckoutSessionErrors];
|
|
8099
|
+
|
|
8100
|
+
export type CreateCheckoutSessionResponses = {
|
|
8101
|
+
/**
|
|
8102
|
+
* Successful Response
|
|
8103
|
+
*/
|
|
8104
|
+
201: CheckoutResponse;
|
|
8105
|
+
};
|
|
8106
|
+
|
|
8107
|
+
export type CreateCheckoutSessionResponse = CreateCheckoutSessionResponses[keyof CreateCheckoutSessionResponses];
|
|
8108
|
+
|
|
8109
|
+
export type GetCheckoutStatusData = {
|
|
8110
|
+
body?: never;
|
|
8111
|
+
path: {
|
|
8112
|
+
/**
|
|
8113
|
+
* Session Id
|
|
8114
|
+
*/
|
|
8115
|
+
session_id: string;
|
|
8116
|
+
};
|
|
8117
|
+
query?: never;
|
|
8118
|
+
url: '/v1/billing/checkout/{session_id}/status';
|
|
8119
|
+
};
|
|
8120
|
+
|
|
8121
|
+
export type GetCheckoutStatusErrors = {
|
|
8122
|
+
/**
|
|
8123
|
+
* Validation Error
|
|
8124
|
+
*/
|
|
8125
|
+
422: HttpValidationError;
|
|
8126
|
+
};
|
|
8127
|
+
|
|
8128
|
+
export type GetCheckoutStatusError = GetCheckoutStatusErrors[keyof GetCheckoutStatusErrors];
|
|
8129
|
+
|
|
8130
|
+
export type GetCheckoutStatusResponses = {
|
|
8131
|
+
/**
|
|
8132
|
+
* Successful Response
|
|
8133
|
+
*/
|
|
8134
|
+
200: CheckoutStatusResponse;
|
|
8135
|
+
};
|
|
8136
|
+
|
|
8137
|
+
export type GetCheckoutStatusResponse = GetCheckoutStatusResponses[keyof GetCheckoutStatusResponses];
|
|
8138
|
+
|
|
8139
|
+
export type GetBillingCustomerData = {
|
|
8140
|
+
body?: never;
|
|
8141
|
+
path?: never;
|
|
8142
|
+
query?: never;
|
|
8143
|
+
url: '/v1/billing/customer';
|
|
8144
|
+
};
|
|
8145
|
+
|
|
8146
|
+
export type GetBillingCustomerResponses = {
|
|
8147
|
+
/**
|
|
8148
|
+
* Successful Response
|
|
8149
|
+
*/
|
|
8150
|
+
200: BillingCustomer;
|
|
8151
|
+
};
|
|
8152
|
+
|
|
8153
|
+
export type GetBillingCustomerResponse = GetBillingCustomerResponses[keyof GetBillingCustomerResponses];
|
|
8154
|
+
|
|
8155
|
+
export type UpdatePaymentMethodData = {
|
|
8156
|
+
body: UpdatePaymentMethodRequest;
|
|
8157
|
+
path?: never;
|
|
8158
|
+
query?: never;
|
|
8159
|
+
url: '/v1/billing/customer/payment-method';
|
|
8160
|
+
};
|
|
8161
|
+
|
|
8162
|
+
export type UpdatePaymentMethodErrors = {
|
|
8163
|
+
/**
|
|
8164
|
+
* Validation Error
|
|
8165
|
+
*/
|
|
8166
|
+
422: HttpValidationError;
|
|
8167
|
+
};
|
|
8168
|
+
|
|
8169
|
+
export type UpdatePaymentMethodError = UpdatePaymentMethodErrors[keyof UpdatePaymentMethodErrors];
|
|
8170
|
+
|
|
8171
|
+
export type UpdatePaymentMethodResponses = {
|
|
8172
|
+
/**
|
|
8173
|
+
* Successful Response
|
|
8174
|
+
*/
|
|
8175
|
+
200: UpdatePaymentMethodResponse;
|
|
8176
|
+
};
|
|
8177
|
+
|
|
8178
|
+
export type UpdatePaymentMethodResponse2 = UpdatePaymentMethodResponses[keyof UpdatePaymentMethodResponses];
|
|
8179
|
+
|
|
8180
|
+
export type ListInvoicesData = {
|
|
8181
|
+
body?: never;
|
|
8182
|
+
path?: never;
|
|
8183
|
+
query?: {
|
|
8184
|
+
/**
|
|
8185
|
+
* Limit
|
|
8186
|
+
* Number of invoices to return
|
|
8187
|
+
*/
|
|
8188
|
+
limit?: number;
|
|
8189
|
+
};
|
|
8190
|
+
url: '/v1/billing/invoices';
|
|
8191
|
+
};
|
|
8192
|
+
|
|
8193
|
+
export type ListInvoicesErrors = {
|
|
8194
|
+
/**
|
|
8195
|
+
* Validation Error
|
|
8196
|
+
*/
|
|
8197
|
+
422: HttpValidationError;
|
|
8198
|
+
};
|
|
8199
|
+
|
|
8200
|
+
export type ListInvoicesError = ListInvoicesErrors[keyof ListInvoicesErrors];
|
|
8201
|
+
|
|
8202
|
+
export type ListInvoicesResponses = {
|
|
8203
|
+
/**
|
|
8204
|
+
* Successful Response
|
|
8205
|
+
*/
|
|
8206
|
+
200: InvoicesResponse;
|
|
8207
|
+
};
|
|
8208
|
+
|
|
8209
|
+
export type ListInvoicesResponse = ListInvoicesResponses[keyof ListInvoicesResponses];
|
|
8210
|
+
|
|
8211
|
+
export type GetUpcomingInvoiceData = {
|
|
8212
|
+
body?: never;
|
|
8213
|
+
path?: never;
|
|
8214
|
+
query?: never;
|
|
8215
|
+
url: '/v1/billing/invoices/upcoming';
|
|
8216
|
+
};
|
|
8217
|
+
|
|
8218
|
+
export type GetUpcomingInvoiceResponses = {
|
|
8219
|
+
/**
|
|
8220
|
+
* Response Getupcominginvoice
|
|
8221
|
+
* Successful Response
|
|
8222
|
+
*/
|
|
8223
|
+
200: UpcomingInvoice | null;
|
|
8224
|
+
};
|
|
8225
|
+
|
|
8226
|
+
export type GetUpcomingInvoiceResponse = GetUpcomingInvoiceResponses[keyof GetUpcomingInvoiceResponses];
|
|
8227
|
+
|
|
8228
|
+
export type ListSubscriptionsData = {
|
|
8229
|
+
body?: never;
|
|
8230
|
+
path?: never;
|
|
8231
|
+
query?: never;
|
|
8232
|
+
url: '/v1/billing/subscriptions';
|
|
8233
|
+
};
|
|
8234
|
+
|
|
8235
|
+
export type ListSubscriptionsResponses = {
|
|
8236
|
+
/**
|
|
8237
|
+
* Response Listsubscriptions
|
|
8238
|
+
* Successful Response
|
|
8239
|
+
*/
|
|
8240
|
+
200: Array<GraphSubscriptionResponse>;
|
|
8241
|
+
};
|
|
8242
|
+
|
|
8243
|
+
export type ListSubscriptionsResponse = ListSubscriptionsResponses[keyof ListSubscriptionsResponses];
|
|
8244
|
+
|
|
8245
|
+
export type GetSubscriptionData = {
|
|
8246
|
+
body?: never;
|
|
8247
|
+
path: {
|
|
8248
|
+
/**
|
|
8249
|
+
* Subscription Id
|
|
8250
|
+
*/
|
|
8251
|
+
subscription_id: string;
|
|
8252
|
+
};
|
|
8253
|
+
query?: never;
|
|
8254
|
+
url: '/v1/billing/subscriptions/{subscription_id}';
|
|
8255
|
+
};
|
|
8256
|
+
|
|
8257
|
+
export type GetSubscriptionErrors = {
|
|
8258
|
+
/**
|
|
8259
|
+
* Validation Error
|
|
8260
|
+
*/
|
|
8261
|
+
422: HttpValidationError;
|
|
8262
|
+
};
|
|
8263
|
+
|
|
8264
|
+
export type GetSubscriptionError = GetSubscriptionErrors[keyof GetSubscriptionErrors];
|
|
8265
|
+
|
|
8266
|
+
export type GetSubscriptionResponses = {
|
|
8267
|
+
/**
|
|
8268
|
+
* Successful Response
|
|
8269
|
+
*/
|
|
8270
|
+
200: GraphSubscriptionResponse;
|
|
8271
|
+
};
|
|
8272
|
+
|
|
8273
|
+
export type GetSubscriptionResponse = GetSubscriptionResponses[keyof GetSubscriptionResponses];
|
|
8274
|
+
|
|
8275
|
+
export type CancelSubscription2Data = {
|
|
8276
|
+
body?: never;
|
|
8277
|
+
path: {
|
|
8278
|
+
/**
|
|
8279
|
+
* Subscription Id
|
|
8280
|
+
*/
|
|
8281
|
+
subscription_id: string;
|
|
8282
|
+
};
|
|
8283
|
+
query?: never;
|
|
8284
|
+
url: '/v1/billing/subscriptions/{subscription_id}/cancel';
|
|
8285
|
+
};
|
|
8286
|
+
|
|
8287
|
+
export type CancelSubscription2Errors = {
|
|
8288
|
+
/**
|
|
8289
|
+
* Validation Error
|
|
8290
|
+
*/
|
|
8291
|
+
422: HttpValidationError;
|
|
8292
|
+
};
|
|
8293
|
+
|
|
8294
|
+
export type CancelSubscription2Error = CancelSubscription2Errors[keyof CancelSubscription2Errors];
|
|
8295
|
+
|
|
8296
|
+
export type CancelSubscription2Responses = {
|
|
8297
|
+
/**
|
|
8298
|
+
* Successful Response
|
|
8299
|
+
*/
|
|
8300
|
+
200: GraphSubscriptionResponse;
|
|
8301
|
+
};
|
|
8302
|
+
|
|
8303
|
+
export type CancelSubscription2Response = CancelSubscription2Responses[keyof CancelSubscription2Responses];
|
|
8304
|
+
|
|
8373
8305
|
export type ClientOptions = {
|
|
8374
8306
|
baseUrl: 'http://localhost:8000';
|
|
8375
8307
|
};
|