@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.d.ts
CHANGED
|
@@ -76,52 +76,6 @@ export type AccountInfo = {
|
|
|
76
76
|
*/
|
|
77
77
|
provider_account_id: string;
|
|
78
78
|
};
|
|
79
|
-
/**
|
|
80
|
-
* AddOnCreditInfo
|
|
81
|
-
* Credit information for a specific add-on.
|
|
82
|
-
*/
|
|
83
|
-
export type AddOnCreditInfo = {
|
|
84
|
-
/**
|
|
85
|
-
* Subscription Id
|
|
86
|
-
* Subscription ID
|
|
87
|
-
*/
|
|
88
|
-
subscription_id: string;
|
|
89
|
-
/**
|
|
90
|
-
* Addon Type
|
|
91
|
-
* Add-on type (e.g., sec_data)
|
|
92
|
-
*/
|
|
93
|
-
addon_type: string;
|
|
94
|
-
/**
|
|
95
|
-
* Name
|
|
96
|
-
* Display name of the add-on
|
|
97
|
-
*/
|
|
98
|
-
name: string;
|
|
99
|
-
/**
|
|
100
|
-
* Tier
|
|
101
|
-
* Subscription tier
|
|
102
|
-
*/
|
|
103
|
-
tier: string;
|
|
104
|
-
/**
|
|
105
|
-
* Credits Remaining
|
|
106
|
-
* Credits remaining
|
|
107
|
-
*/
|
|
108
|
-
credits_remaining: number;
|
|
109
|
-
/**
|
|
110
|
-
* Credits Allocated
|
|
111
|
-
* Monthly credit allocation
|
|
112
|
-
*/
|
|
113
|
-
credits_allocated: number;
|
|
114
|
-
/**
|
|
115
|
-
* Credits Consumed
|
|
116
|
-
* Credits consumed this month
|
|
117
|
-
*/
|
|
118
|
-
credits_consumed: number;
|
|
119
|
-
/**
|
|
120
|
-
* Rollover Amount
|
|
121
|
-
* Credits rolled over from previous month
|
|
122
|
-
*/
|
|
123
|
-
rollover_amount?: number;
|
|
124
|
-
};
|
|
125
79
|
/**
|
|
126
80
|
* AgentListResponse
|
|
127
81
|
* Response for listing available agents.
|
|
@@ -751,6 +705,42 @@ export type BatchAgentResponse = {
|
|
|
751
705
|
*/
|
|
752
706
|
parallel_processed: boolean;
|
|
753
707
|
};
|
|
708
|
+
/**
|
|
709
|
+
* BillingCustomer
|
|
710
|
+
* Billing customer information.
|
|
711
|
+
*/
|
|
712
|
+
export type BillingCustomer = {
|
|
713
|
+
/**
|
|
714
|
+
* User Id
|
|
715
|
+
* User ID
|
|
716
|
+
*/
|
|
717
|
+
user_id: string;
|
|
718
|
+
/**
|
|
719
|
+
* Has Payment Method
|
|
720
|
+
* Whether customer has a payment method on file
|
|
721
|
+
*/
|
|
722
|
+
has_payment_method: boolean;
|
|
723
|
+
/**
|
|
724
|
+
* Invoice Billing Enabled
|
|
725
|
+
* Whether invoice billing is enabled (enterprise customers)
|
|
726
|
+
*/
|
|
727
|
+
invoice_billing_enabled: boolean;
|
|
728
|
+
/**
|
|
729
|
+
* Payment Methods
|
|
730
|
+
* List of payment methods on file
|
|
731
|
+
*/
|
|
732
|
+
payment_methods: Array<PaymentMethod>;
|
|
733
|
+
/**
|
|
734
|
+
* Stripe Customer Id
|
|
735
|
+
* Stripe customer ID if applicable
|
|
736
|
+
*/
|
|
737
|
+
stripe_customer_id?: string | null;
|
|
738
|
+
/**
|
|
739
|
+
* Created At
|
|
740
|
+
* Customer creation timestamp (ISO format)
|
|
741
|
+
*/
|
|
742
|
+
created_at: string;
|
|
743
|
+
};
|
|
754
744
|
/**
|
|
755
745
|
* BulkIngestRequest
|
|
756
746
|
*/
|
|
@@ -837,6 +827,63 @@ export type CancellationResponse = {
|
|
|
837
827
|
*/
|
|
838
828
|
cancelled_at: string;
|
|
839
829
|
};
|
|
830
|
+
/**
|
|
831
|
+
* CheckoutResponse
|
|
832
|
+
* Response from checkout session creation.
|
|
833
|
+
*/
|
|
834
|
+
export type CheckoutResponse = {
|
|
835
|
+
/**
|
|
836
|
+
* Checkout Url
|
|
837
|
+
* URL to redirect user to for payment
|
|
838
|
+
*/
|
|
839
|
+
checkout_url: string;
|
|
840
|
+
/**
|
|
841
|
+
* Session Id
|
|
842
|
+
* Checkout session ID for status polling
|
|
843
|
+
*/
|
|
844
|
+
session_id: string;
|
|
845
|
+
/**
|
|
846
|
+
* Subscription Id
|
|
847
|
+
* Internal subscription ID
|
|
848
|
+
*/
|
|
849
|
+
subscription_id: string;
|
|
850
|
+
/**
|
|
851
|
+
* Requires Checkout
|
|
852
|
+
* Whether checkout is required
|
|
853
|
+
*/
|
|
854
|
+
requires_checkout?: boolean;
|
|
855
|
+
};
|
|
856
|
+
/**
|
|
857
|
+
* CheckoutStatusResponse
|
|
858
|
+
* Status of a checkout session.
|
|
859
|
+
*/
|
|
860
|
+
export type CheckoutStatusResponse = {
|
|
861
|
+
/**
|
|
862
|
+
* Status
|
|
863
|
+
* Checkout status: 'pending_payment', 'provisioning', 'completed', 'failed'
|
|
864
|
+
*/
|
|
865
|
+
status: string;
|
|
866
|
+
/**
|
|
867
|
+
* Subscription Id
|
|
868
|
+
* Internal subscription ID
|
|
869
|
+
*/
|
|
870
|
+
subscription_id: string;
|
|
871
|
+
/**
|
|
872
|
+
* Resource Id
|
|
873
|
+
* Resource ID (graph_id or repository name) once provisioned
|
|
874
|
+
*/
|
|
875
|
+
resource_id?: string | null;
|
|
876
|
+
/**
|
|
877
|
+
* Operation Id
|
|
878
|
+
* SSE operation ID for monitoring provisioning progress
|
|
879
|
+
*/
|
|
880
|
+
operation_id?: string | null;
|
|
881
|
+
/**
|
|
882
|
+
* Error
|
|
883
|
+
* Error message if checkout failed
|
|
884
|
+
*/
|
|
885
|
+
error?: string | null;
|
|
886
|
+
};
|
|
840
887
|
/**
|
|
841
888
|
* ConnectionOptionsResponse
|
|
842
889
|
* Response with all available connection options.
|
|
@@ -1039,6 +1086,29 @@ export type CreateApiKeyResponse = {
|
|
|
1039
1086
|
*/
|
|
1040
1087
|
key: string;
|
|
1041
1088
|
};
|
|
1089
|
+
/**
|
|
1090
|
+
* CreateCheckoutRequest
|
|
1091
|
+
* Request to create a checkout session for payment collection.
|
|
1092
|
+
*/
|
|
1093
|
+
export type CreateCheckoutRequest = {
|
|
1094
|
+
/**
|
|
1095
|
+
* Plan Name
|
|
1096
|
+
* Billing plan name (e.g., 'kuzu-standard')
|
|
1097
|
+
*/
|
|
1098
|
+
plan_name: string;
|
|
1099
|
+
/**
|
|
1100
|
+
* Resource Type
|
|
1101
|
+
* Resource type ('graph' or 'repository')
|
|
1102
|
+
*/
|
|
1103
|
+
resource_type: string;
|
|
1104
|
+
/**
|
|
1105
|
+
* Resource Config
|
|
1106
|
+
* Configuration for the resource to be provisioned
|
|
1107
|
+
*/
|
|
1108
|
+
resource_config: {
|
|
1109
|
+
[key: string]: unknown;
|
|
1110
|
+
};
|
|
1111
|
+
};
|
|
1042
1112
|
/**
|
|
1043
1113
|
* CreateConnectionRequest
|
|
1044
1114
|
* Request to create a new connection.
|
|
@@ -1095,6 +1165,17 @@ export type CreateGraphRequest = {
|
|
|
1095
1165
|
*/
|
|
1096
1166
|
tags?: Array<string>;
|
|
1097
1167
|
};
|
|
1168
|
+
/**
|
|
1169
|
+
* CreateRepositorySubscriptionRequest
|
|
1170
|
+
* Request to create a repository subscription.
|
|
1171
|
+
*/
|
|
1172
|
+
export type CreateRepositorySubscriptionRequest = {
|
|
1173
|
+
/**
|
|
1174
|
+
* Plan Name
|
|
1175
|
+
* Plan name for the repository subscription
|
|
1176
|
+
*/
|
|
1177
|
+
plan_name: string;
|
|
1178
|
+
};
|
|
1098
1179
|
/**
|
|
1099
1180
|
* CreateSubgraphRequest
|
|
1100
1181
|
* Request model for creating a subgraph.
|
|
@@ -1160,54 +1241,46 @@ export type CreditLimits = {
|
|
|
1160
1241
|
};
|
|
1161
1242
|
/**
|
|
1162
1243
|
* CreditSummary
|
|
1163
|
-
* Credit
|
|
1244
|
+
* Credit consumption summary.
|
|
1164
1245
|
*/
|
|
1165
1246
|
export type CreditSummary = {
|
|
1166
1247
|
/**
|
|
1167
|
-
*
|
|
1168
|
-
*
|
|
1169
|
-
*/
|
|
1170
|
-
current_balance: number;
|
|
1171
|
-
/**
|
|
1172
|
-
* Monthly Allocation
|
|
1173
|
-
* Monthly credit allocation
|
|
1174
|
-
*/
|
|
1175
|
-
monthly_allocation: number;
|
|
1176
|
-
/**
|
|
1177
|
-
* Consumed This Month
|
|
1178
|
-
* Credits consumed this month
|
|
1248
|
+
* Graph Tier
|
|
1249
|
+
* Subscription tier
|
|
1179
1250
|
*/
|
|
1180
|
-
|
|
1251
|
+
graph_tier: string;
|
|
1181
1252
|
/**
|
|
1182
|
-
*
|
|
1183
|
-
*
|
|
1253
|
+
* Total Credits Consumed
|
|
1254
|
+
* Total credits consumed
|
|
1184
1255
|
*/
|
|
1185
|
-
|
|
1256
|
+
total_credits_consumed: number;
|
|
1186
1257
|
/**
|
|
1187
|
-
*
|
|
1188
|
-
*
|
|
1258
|
+
* Total Base Cost
|
|
1259
|
+
* Total base cost before multipliers
|
|
1189
1260
|
*/
|
|
1190
|
-
|
|
1261
|
+
total_base_cost: number;
|
|
1191
1262
|
/**
|
|
1192
|
-
*
|
|
1193
|
-
*
|
|
1263
|
+
* Operation Breakdown
|
|
1264
|
+
* Credit usage by operation type
|
|
1194
1265
|
*/
|
|
1195
|
-
|
|
1266
|
+
operation_breakdown: {
|
|
1267
|
+
[key: string]: unknown;
|
|
1268
|
+
};
|
|
1196
1269
|
/**
|
|
1197
|
-
*
|
|
1198
|
-
*
|
|
1270
|
+
* Cached Operations
|
|
1271
|
+
* Number of cached operations
|
|
1199
1272
|
*/
|
|
1200
|
-
|
|
1273
|
+
cached_operations: number;
|
|
1201
1274
|
/**
|
|
1202
|
-
*
|
|
1203
|
-
*
|
|
1275
|
+
* Billable Operations
|
|
1276
|
+
* Number of billable operations
|
|
1204
1277
|
*/
|
|
1205
|
-
|
|
1278
|
+
billable_operations: number;
|
|
1206
1279
|
/**
|
|
1207
|
-
*
|
|
1208
|
-
*
|
|
1280
|
+
* Transaction Count
|
|
1281
|
+
* Total transaction count
|
|
1209
1282
|
*/
|
|
1210
|
-
|
|
1283
|
+
transaction_count: number;
|
|
1211
1284
|
};
|
|
1212
1285
|
/**
|
|
1213
1286
|
* CreditSummaryResponse
|
|
@@ -1247,35 +1320,6 @@ export type CreditSummaryResponse = {
|
|
|
1247
1320
|
*/
|
|
1248
1321
|
last_allocation_date?: string | null;
|
|
1249
1322
|
};
|
|
1250
|
-
/**
|
|
1251
|
-
* CreditsSummaryResponse
|
|
1252
|
-
* Response for credits summary.
|
|
1253
|
-
*/
|
|
1254
|
-
export type CreditsSummaryResponse = {
|
|
1255
|
-
/**
|
|
1256
|
-
* Add Ons
|
|
1257
|
-
* Credits breakdown by add-on
|
|
1258
|
-
*/
|
|
1259
|
-
add_ons: Array<AddOnCreditInfo>;
|
|
1260
|
-
/**
|
|
1261
|
-
* Total Credits
|
|
1262
|
-
* Total credits remaining across all subscriptions
|
|
1263
|
-
*/
|
|
1264
|
-
total_credits: number;
|
|
1265
|
-
/**
|
|
1266
|
-
* Credits By Addon
|
|
1267
|
-
* Legacy field - Credits breakdown by add-on
|
|
1268
|
-
* @deprecated
|
|
1269
|
-
*/
|
|
1270
|
-
credits_by_addon?: Array<{
|
|
1271
|
-
[key: string]: unknown;
|
|
1272
|
-
}> | null;
|
|
1273
|
-
/**
|
|
1274
|
-
* Addon Count
|
|
1275
|
-
* Number of active add-ons
|
|
1276
|
-
*/
|
|
1277
|
-
addon_count: number;
|
|
1278
|
-
};
|
|
1279
1323
|
/**
|
|
1280
1324
|
* CustomSchemaDefinition
|
|
1281
1325
|
* Custom schema definition for generic graphs.
|
|
@@ -2072,6 +2116,72 @@ export type GraphMetricsResponse = {
|
|
|
2072
2116
|
[key: string]: unknown;
|
|
2073
2117
|
};
|
|
2074
2118
|
};
|
|
2119
|
+
/**
|
|
2120
|
+
* GraphSubscriptionResponse
|
|
2121
|
+
* Response for graph or repository subscription details.
|
|
2122
|
+
*/
|
|
2123
|
+
export type GraphSubscriptionResponse = {
|
|
2124
|
+
/**
|
|
2125
|
+
* Id
|
|
2126
|
+
* Subscription ID
|
|
2127
|
+
*/
|
|
2128
|
+
id: string;
|
|
2129
|
+
/**
|
|
2130
|
+
* Resource Type
|
|
2131
|
+
* Resource type (graph or repository)
|
|
2132
|
+
*/
|
|
2133
|
+
resource_type: string;
|
|
2134
|
+
/**
|
|
2135
|
+
* Resource Id
|
|
2136
|
+
* Resource identifier
|
|
2137
|
+
*/
|
|
2138
|
+
resource_id: string;
|
|
2139
|
+
/**
|
|
2140
|
+
* Plan Name
|
|
2141
|
+
* Current plan name
|
|
2142
|
+
*/
|
|
2143
|
+
plan_name: string;
|
|
2144
|
+
/**
|
|
2145
|
+
* Billing Interval
|
|
2146
|
+
* Billing interval
|
|
2147
|
+
*/
|
|
2148
|
+
billing_interval: string;
|
|
2149
|
+
/**
|
|
2150
|
+
* Status
|
|
2151
|
+
* Subscription status
|
|
2152
|
+
*/
|
|
2153
|
+
status: string;
|
|
2154
|
+
/**
|
|
2155
|
+
* Base Price Cents
|
|
2156
|
+
* Base price in cents
|
|
2157
|
+
*/
|
|
2158
|
+
base_price_cents: number;
|
|
2159
|
+
/**
|
|
2160
|
+
* Current Period Start
|
|
2161
|
+
* Current billing period start
|
|
2162
|
+
*/
|
|
2163
|
+
current_period_start?: string | null;
|
|
2164
|
+
/**
|
|
2165
|
+
* Current Period End
|
|
2166
|
+
* Current billing period end
|
|
2167
|
+
*/
|
|
2168
|
+
current_period_end?: string | null;
|
|
2169
|
+
/**
|
|
2170
|
+
* Started At
|
|
2171
|
+
* Subscription start date
|
|
2172
|
+
*/
|
|
2173
|
+
started_at?: string | null;
|
|
2174
|
+
/**
|
|
2175
|
+
* Canceled At
|
|
2176
|
+
* Cancellation date
|
|
2177
|
+
*/
|
|
2178
|
+
canceled_at?: string | null;
|
|
2179
|
+
/**
|
|
2180
|
+
* Created At
|
|
2181
|
+
* Creation timestamp
|
|
2182
|
+
*/
|
|
2183
|
+
created_at: string;
|
|
2184
|
+
};
|
|
2075
2185
|
/**
|
|
2076
2186
|
* GraphSubscriptionTier
|
|
2077
2187
|
* Information about a graph subscription tier.
|
|
@@ -2370,26 +2480,29 @@ export type GraphUsageResponse = {
|
|
|
2370
2480
|
*/
|
|
2371
2481
|
graph_id: string;
|
|
2372
2482
|
/**
|
|
2373
|
-
*
|
|
2374
|
-
*
|
|
2483
|
+
* Time Range
|
|
2484
|
+
* Time range for usage data
|
|
2375
2485
|
*/
|
|
2376
|
-
|
|
2377
|
-
[key: string]: unknown;
|
|
2378
|
-
};
|
|
2486
|
+
time_range: string;
|
|
2379
2487
|
/**
|
|
2380
|
-
*
|
|
2381
|
-
* Query statistics
|
|
2488
|
+
* Storage usage summary
|
|
2382
2489
|
*/
|
|
2383
|
-
|
|
2384
|
-
|
|
2385
|
-
|
|
2490
|
+
storage_summary?: StorageSummary | null;
|
|
2491
|
+
/**
|
|
2492
|
+
* Credit consumption summary
|
|
2493
|
+
*/
|
|
2494
|
+
credit_summary?: CreditSummary | null;
|
|
2495
|
+
/**
|
|
2496
|
+
* Performance analytics
|
|
2497
|
+
*/
|
|
2498
|
+
performance_insights?: PerformanceInsights | null;
|
|
2386
2499
|
/**
|
|
2387
|
-
* Recent
|
|
2388
|
-
* Recent
|
|
2500
|
+
* Recent Events
|
|
2501
|
+
* Recent usage events
|
|
2389
2502
|
*/
|
|
2390
|
-
|
|
2503
|
+
recent_events?: Array<{
|
|
2391
2504
|
[key: string]: unknown;
|
|
2392
|
-
}
|
|
2505
|
+
}>;
|
|
2393
2506
|
/**
|
|
2394
2507
|
* Timestamp
|
|
2395
2508
|
* Usage collection timestamp
|
|
@@ -2482,6 +2595,129 @@ export type InitialEntityData = {
|
|
|
2482
2595
|
*/
|
|
2483
2596
|
ein?: string | null;
|
|
2484
2597
|
};
|
|
2598
|
+
/**
|
|
2599
|
+
* Invoice
|
|
2600
|
+
* Invoice information.
|
|
2601
|
+
*/
|
|
2602
|
+
export type Invoice = {
|
|
2603
|
+
/**
|
|
2604
|
+
* Id
|
|
2605
|
+
* Invoice ID
|
|
2606
|
+
*/
|
|
2607
|
+
id: string;
|
|
2608
|
+
/**
|
|
2609
|
+
* Number
|
|
2610
|
+
* Invoice number
|
|
2611
|
+
*/
|
|
2612
|
+
number?: string | null;
|
|
2613
|
+
/**
|
|
2614
|
+
* Status
|
|
2615
|
+
* Invoice status (paid, open, void, uncollectible)
|
|
2616
|
+
*/
|
|
2617
|
+
status: string;
|
|
2618
|
+
/**
|
|
2619
|
+
* Amount Due
|
|
2620
|
+
* Amount due in cents
|
|
2621
|
+
*/
|
|
2622
|
+
amount_due: number;
|
|
2623
|
+
/**
|
|
2624
|
+
* Amount Paid
|
|
2625
|
+
* Amount paid in cents
|
|
2626
|
+
*/
|
|
2627
|
+
amount_paid: number;
|
|
2628
|
+
/**
|
|
2629
|
+
* Currency
|
|
2630
|
+
* Currency code (usd)
|
|
2631
|
+
*/
|
|
2632
|
+
currency: string;
|
|
2633
|
+
/**
|
|
2634
|
+
* Created
|
|
2635
|
+
* Invoice creation date (ISO format)
|
|
2636
|
+
*/
|
|
2637
|
+
created: string;
|
|
2638
|
+
/**
|
|
2639
|
+
* Due Date
|
|
2640
|
+
* Invoice due date (ISO format)
|
|
2641
|
+
*/
|
|
2642
|
+
due_date?: string | null;
|
|
2643
|
+
/**
|
|
2644
|
+
* Paid At
|
|
2645
|
+
* Payment date (ISO format)
|
|
2646
|
+
*/
|
|
2647
|
+
paid_at?: string | null;
|
|
2648
|
+
/**
|
|
2649
|
+
* Invoice Pdf
|
|
2650
|
+
* PDF download URL
|
|
2651
|
+
*/
|
|
2652
|
+
invoice_pdf?: string | null;
|
|
2653
|
+
/**
|
|
2654
|
+
* Hosted Invoice Url
|
|
2655
|
+
* Hosted invoice URL
|
|
2656
|
+
*/
|
|
2657
|
+
hosted_invoice_url?: string | null;
|
|
2658
|
+
/**
|
|
2659
|
+
* Line Items
|
|
2660
|
+
* Invoice line items
|
|
2661
|
+
*/
|
|
2662
|
+
line_items: Array<InvoiceLineItem>;
|
|
2663
|
+
/**
|
|
2664
|
+
* Subscription Id
|
|
2665
|
+
* Associated subscription ID
|
|
2666
|
+
*/
|
|
2667
|
+
subscription_id?: string | null;
|
|
2668
|
+
};
|
|
2669
|
+
/**
|
|
2670
|
+
* InvoiceLineItem
|
|
2671
|
+
* Invoice line item.
|
|
2672
|
+
*/
|
|
2673
|
+
export type InvoiceLineItem = {
|
|
2674
|
+
/**
|
|
2675
|
+
* Description
|
|
2676
|
+
* Line item description
|
|
2677
|
+
*/
|
|
2678
|
+
description: string;
|
|
2679
|
+
/**
|
|
2680
|
+
* Amount
|
|
2681
|
+
* Amount in cents
|
|
2682
|
+
*/
|
|
2683
|
+
amount: number;
|
|
2684
|
+
/**
|
|
2685
|
+
* Quantity
|
|
2686
|
+
* Quantity
|
|
2687
|
+
*/
|
|
2688
|
+
quantity: number;
|
|
2689
|
+
/**
|
|
2690
|
+
* Period Start
|
|
2691
|
+
* Billing period start
|
|
2692
|
+
*/
|
|
2693
|
+
period_start?: string | null;
|
|
2694
|
+
/**
|
|
2695
|
+
* Period End
|
|
2696
|
+
* Billing period end
|
|
2697
|
+
*/
|
|
2698
|
+
period_end?: string | null;
|
|
2699
|
+
};
|
|
2700
|
+
/**
|
|
2701
|
+
* InvoicesResponse
|
|
2702
|
+
* Response for invoice list.
|
|
2703
|
+
*/
|
|
2704
|
+
export type InvoicesResponse = {
|
|
2705
|
+
/**
|
|
2706
|
+
* Invoices
|
|
2707
|
+
* List of invoices
|
|
2708
|
+
*/
|
|
2709
|
+
invoices: Array<Invoice>;
|
|
2710
|
+
/**
|
|
2711
|
+
* Total Count
|
|
2712
|
+
* Total number of invoices
|
|
2713
|
+
*/
|
|
2714
|
+
total_count: number;
|
|
2715
|
+
/**
|
|
2716
|
+
* Has More
|
|
2717
|
+
* Whether more invoices are available
|
|
2718
|
+
*/
|
|
2719
|
+
has_more: boolean;
|
|
2720
|
+
};
|
|
2485
2721
|
/**
|
|
2486
2722
|
* LinkTokenRequest
|
|
2487
2723
|
* Request to create a link token for embedded authentication.
|
|
@@ -2854,18 +3090,94 @@ export type PasswordPolicyResponse = {
|
|
|
2854
3090
|
};
|
|
2855
3091
|
};
|
|
2856
3092
|
/**
|
|
2857
|
-
*
|
|
2858
|
-
*
|
|
3093
|
+
* PaymentMethod
|
|
3094
|
+
* Payment method information.
|
|
2859
3095
|
*/
|
|
2860
|
-
export type
|
|
3096
|
+
export type PaymentMethod = {
|
|
2861
3097
|
/**
|
|
2862
|
-
*
|
|
2863
|
-
*
|
|
3098
|
+
* Id
|
|
3099
|
+
* Payment method ID
|
|
2864
3100
|
*/
|
|
2865
|
-
|
|
3101
|
+
id: string;
|
|
2866
3102
|
/**
|
|
2867
|
-
*
|
|
2868
|
-
*
|
|
3103
|
+
* Type
|
|
3104
|
+
* Payment method type (card, bank_account, etc.)
|
|
3105
|
+
*/
|
|
3106
|
+
type: string;
|
|
3107
|
+
/**
|
|
3108
|
+
* Brand
|
|
3109
|
+
* Card brand (visa, mastercard, etc.)
|
|
3110
|
+
*/
|
|
3111
|
+
brand?: string | null;
|
|
3112
|
+
/**
|
|
3113
|
+
* Last4
|
|
3114
|
+
* Last 4 digits
|
|
3115
|
+
*/
|
|
3116
|
+
last4?: string | null;
|
|
3117
|
+
/**
|
|
3118
|
+
* Exp Month
|
|
3119
|
+
* Expiration month
|
|
3120
|
+
*/
|
|
3121
|
+
exp_month?: number | null;
|
|
3122
|
+
/**
|
|
3123
|
+
* Exp Year
|
|
3124
|
+
* Expiration year
|
|
3125
|
+
*/
|
|
3126
|
+
exp_year?: number | null;
|
|
3127
|
+
/**
|
|
3128
|
+
* Is Default
|
|
3129
|
+
* Whether this is the default payment method
|
|
3130
|
+
*/
|
|
3131
|
+
is_default: boolean;
|
|
3132
|
+
};
|
|
3133
|
+
/**
|
|
3134
|
+
* PerformanceInsights
|
|
3135
|
+
* Performance analytics.
|
|
3136
|
+
*/
|
|
3137
|
+
export type PerformanceInsights = {
|
|
3138
|
+
/**
|
|
3139
|
+
* Analysis Period Days
|
|
3140
|
+
* Analysis period in days
|
|
3141
|
+
*/
|
|
3142
|
+
analysis_period_days: number;
|
|
3143
|
+
/**
|
|
3144
|
+
* Total Operations
|
|
3145
|
+
* Total operations analyzed
|
|
3146
|
+
*/
|
|
3147
|
+
total_operations: number;
|
|
3148
|
+
/**
|
|
3149
|
+
* Operation Stats
|
|
3150
|
+
* Performance stats by operation type
|
|
3151
|
+
*/
|
|
3152
|
+
operation_stats: {
|
|
3153
|
+
[key: string]: unknown;
|
|
3154
|
+
};
|
|
3155
|
+
/**
|
|
3156
|
+
* Slow Queries
|
|
3157
|
+
* Top slow queries (over 5 seconds)
|
|
3158
|
+
*/
|
|
3159
|
+
slow_queries: Array<{
|
|
3160
|
+
[key: string]: unknown;
|
|
3161
|
+
}>;
|
|
3162
|
+
/**
|
|
3163
|
+
* Performance Score
|
|
3164
|
+
* Performance score (0-100)
|
|
3165
|
+
*/
|
|
3166
|
+
performance_score: number;
|
|
3167
|
+
};
|
|
3168
|
+
/**
|
|
3169
|
+
* PlaidConnectionConfig
|
|
3170
|
+
* Plaid-specific connection configuration.
|
|
3171
|
+
*/
|
|
3172
|
+
export type PlaidConnectionConfig = {
|
|
3173
|
+
/**
|
|
3174
|
+
* Public Token
|
|
3175
|
+
* Plaid public token for exchange
|
|
3176
|
+
*/
|
|
3177
|
+
public_token?: string | null;
|
|
3178
|
+
/**
|
|
3179
|
+
* Access Token
|
|
3180
|
+
* Plaid access token (set after exchange)
|
|
2869
3181
|
*/
|
|
2870
3182
|
access_token?: string | null;
|
|
2871
3183
|
/**
|
|
@@ -2977,31 +3289,6 @@ export type RegisterRequest = {
|
|
|
2977
3289
|
*/
|
|
2978
3290
|
captcha_token?: string | null;
|
|
2979
3291
|
};
|
|
2980
|
-
/**
|
|
2981
|
-
* RepositoryCreditsResponse
|
|
2982
|
-
* Response for repository-specific credits.
|
|
2983
|
-
*/
|
|
2984
|
-
export type RepositoryCreditsResponse = {
|
|
2985
|
-
/**
|
|
2986
|
-
* Repository
|
|
2987
|
-
* Repository identifier
|
|
2988
|
-
*/
|
|
2989
|
-
repository: string;
|
|
2990
|
-
/**
|
|
2991
|
-
* Has Access
|
|
2992
|
-
* Whether user has access
|
|
2993
|
-
*/
|
|
2994
|
-
has_access: boolean;
|
|
2995
|
-
/**
|
|
2996
|
-
* Message
|
|
2997
|
-
* Access message
|
|
2998
|
-
*/
|
|
2999
|
-
message?: string | null;
|
|
3000
|
-
/**
|
|
3001
|
-
* Credit summary if access available
|
|
3002
|
-
*/
|
|
3003
|
-
credits?: CreditSummary | null;
|
|
3004
|
-
};
|
|
3005
3292
|
/**
|
|
3006
3293
|
* RepositoryInfo
|
|
3007
3294
|
* Information about a shared repository.
|
|
@@ -3038,11 +3325,6 @@ export type RepositoryInfo = {
|
|
|
3038
3325
|
*/
|
|
3039
3326
|
plans: Array<OfferingRepositoryPlan>;
|
|
3040
3327
|
};
|
|
3041
|
-
/**
|
|
3042
|
-
* RepositoryPlan
|
|
3043
|
-
* Repository access plans for shared data.
|
|
3044
|
-
*/
|
|
3045
|
-
export type RepositoryPlan = 'starter' | 'advanced' | 'unlimited';
|
|
3046
3328
|
/**
|
|
3047
3329
|
* RepositorySubscriptions
|
|
3048
3330
|
* Repository subscription offerings.
|
|
@@ -3064,11 +3346,6 @@ export type RepositorySubscriptions = {
|
|
|
3064
3346
|
*/
|
|
3065
3347
|
notes: Array<string>;
|
|
3066
3348
|
};
|
|
3067
|
-
/**
|
|
3068
|
-
* RepositoryType
|
|
3069
|
-
* Types of shared repositories.
|
|
3070
|
-
*/
|
|
3071
|
-
export type RepositoryType = 'sec' | 'industry' | 'economic';
|
|
3072
3349
|
/**
|
|
3073
3350
|
* ResetPasswordRequest
|
|
3074
3351
|
* Reset password request model.
|
|
@@ -3476,6 +3753,42 @@ export type StorageLimits = {
|
|
|
3476
3753
|
*/
|
|
3477
3754
|
approaching_limit: boolean;
|
|
3478
3755
|
};
|
|
3756
|
+
/**
|
|
3757
|
+
* StorageSummary
|
|
3758
|
+
* Storage usage summary.
|
|
3759
|
+
*/
|
|
3760
|
+
export type StorageSummary = {
|
|
3761
|
+
/**
|
|
3762
|
+
* Graph Tier
|
|
3763
|
+
* Subscription tier
|
|
3764
|
+
*/
|
|
3765
|
+
graph_tier: string;
|
|
3766
|
+
/**
|
|
3767
|
+
* Avg Storage Gb
|
|
3768
|
+
* Average storage in GB
|
|
3769
|
+
*/
|
|
3770
|
+
avg_storage_gb: number;
|
|
3771
|
+
/**
|
|
3772
|
+
* Max Storage Gb
|
|
3773
|
+
* Peak storage in GB
|
|
3774
|
+
*/
|
|
3775
|
+
max_storage_gb: number;
|
|
3776
|
+
/**
|
|
3777
|
+
* Min Storage Gb
|
|
3778
|
+
* Minimum storage in GB
|
|
3779
|
+
*/
|
|
3780
|
+
min_storage_gb: number;
|
|
3781
|
+
/**
|
|
3782
|
+
* Total Gb Hours
|
|
3783
|
+
* Total GB-hours for billing
|
|
3784
|
+
*/
|
|
3785
|
+
total_gb_hours: number;
|
|
3786
|
+
/**
|
|
3787
|
+
* Measurement Count
|
|
3788
|
+
* Number of measurements taken
|
|
3789
|
+
*/
|
|
3790
|
+
measurement_count: number;
|
|
3791
|
+
};
|
|
3479
3792
|
/**
|
|
3480
3793
|
* SubgraphQuotaResponse
|
|
3481
3794
|
* Response model for subgraph quota information.
|
|
@@ -3649,93 +3962,6 @@ export type SubgraphSummary = {
|
|
|
3649
3962
|
* Types of subgraphs.
|
|
3650
3963
|
*/
|
|
3651
3964
|
export type SubgraphType = 'static' | 'temporal' | 'versioned' | 'memory';
|
|
3652
|
-
/**
|
|
3653
|
-
* SubscriptionInfo
|
|
3654
|
-
* User subscription information.
|
|
3655
|
-
*/
|
|
3656
|
-
export type SubscriptionInfo = {
|
|
3657
|
-
/**
|
|
3658
|
-
* Id
|
|
3659
|
-
* Subscription ID
|
|
3660
|
-
*/
|
|
3661
|
-
id: string;
|
|
3662
|
-
/**
|
|
3663
|
-
* User Id
|
|
3664
|
-
* User ID
|
|
3665
|
-
*/
|
|
3666
|
-
user_id: string;
|
|
3667
|
-
/**
|
|
3668
|
-
* Addon Type
|
|
3669
|
-
* Add-on type
|
|
3670
|
-
*/
|
|
3671
|
-
addon_type: string;
|
|
3672
|
-
/**
|
|
3673
|
-
* Addon Tier
|
|
3674
|
-
* Subscription tier
|
|
3675
|
-
*/
|
|
3676
|
-
addon_tier: string;
|
|
3677
|
-
/**
|
|
3678
|
-
* Is Active
|
|
3679
|
-
* Whether subscription is active
|
|
3680
|
-
*/
|
|
3681
|
-
is_active: boolean;
|
|
3682
|
-
/**
|
|
3683
|
-
* Activated At
|
|
3684
|
-
* Activation date (ISO format)
|
|
3685
|
-
*/
|
|
3686
|
-
activated_at: string;
|
|
3687
|
-
/**
|
|
3688
|
-
* Expires At
|
|
3689
|
-
* Expiration date (ISO format)
|
|
3690
|
-
*/
|
|
3691
|
-
expires_at?: string | null;
|
|
3692
|
-
/**
|
|
3693
|
-
* Monthly Price Cents
|
|
3694
|
-
* Monthly price in cents
|
|
3695
|
-
*/
|
|
3696
|
-
monthly_price_cents: number;
|
|
3697
|
-
/**
|
|
3698
|
-
* Features
|
|
3699
|
-
* List of features
|
|
3700
|
-
*/
|
|
3701
|
-
features: Array<string>;
|
|
3702
|
-
/**
|
|
3703
|
-
* Metadata
|
|
3704
|
-
* Additional metadata
|
|
3705
|
-
*/
|
|
3706
|
-
metadata: {
|
|
3707
|
-
[key: string]: unknown;
|
|
3708
|
-
};
|
|
3709
|
-
};
|
|
3710
|
-
/**
|
|
3711
|
-
* SubscriptionRequest
|
|
3712
|
-
* Request to create a new subscription.
|
|
3713
|
-
*/
|
|
3714
|
-
export type SubscriptionRequest = {
|
|
3715
|
-
/**
|
|
3716
|
-
* Type of repository to subscribe to
|
|
3717
|
-
*/
|
|
3718
|
-
repository_type: RepositoryType;
|
|
3719
|
-
/**
|
|
3720
|
-
* Repository plan
|
|
3721
|
-
*/
|
|
3722
|
-
repository_plan?: RepositoryPlan;
|
|
3723
|
-
};
|
|
3724
|
-
/**
|
|
3725
|
-
* SubscriptionResponse
|
|
3726
|
-
* Response for subscription creation.
|
|
3727
|
-
*/
|
|
3728
|
-
export type SubscriptionResponse = {
|
|
3729
|
-
/**
|
|
3730
|
-
* Message
|
|
3731
|
-
* Success message
|
|
3732
|
-
*/
|
|
3733
|
-
message: string;
|
|
3734
|
-
/**
|
|
3735
|
-
* Created subscription details
|
|
3736
|
-
*/
|
|
3737
|
-
subscription: SubscriptionInfo;
|
|
3738
|
-
};
|
|
3739
3965
|
/**
|
|
3740
3966
|
* SuccessResponse
|
|
3741
3967
|
* Standard success response for operations without specific return data.
|
|
@@ -3892,16 +4118,6 @@ export type TableQueryResponse = {
|
|
|
3892
4118
|
*/
|
|
3893
4119
|
execution_time_ms: number;
|
|
3894
4120
|
};
|
|
3895
|
-
/**
|
|
3896
|
-
* TierUpgradeRequest
|
|
3897
|
-
* Request to upgrade subscription tier.
|
|
3898
|
-
*/
|
|
3899
|
-
export type TierUpgradeRequest = {
|
|
3900
|
-
/**
|
|
3901
|
-
* New repository plan
|
|
3902
|
-
*/
|
|
3903
|
-
new_plan: RepositoryPlan;
|
|
3904
|
-
};
|
|
3905
4121
|
/**
|
|
3906
4122
|
* TokenPricing
|
|
3907
4123
|
* AI token pricing for a specific model.
|
|
@@ -3948,6 +4164,42 @@ export type TransactionSummaryResponse = {
|
|
|
3948
4164
|
*/
|
|
3949
4165
|
last_transaction?: string | null;
|
|
3950
4166
|
};
|
|
4167
|
+
/**
|
|
4168
|
+
* UpcomingInvoice
|
|
4169
|
+
* Upcoming invoice preview.
|
|
4170
|
+
*/
|
|
4171
|
+
export type UpcomingInvoice = {
|
|
4172
|
+
/**
|
|
4173
|
+
* Amount Due
|
|
4174
|
+
* Estimated amount due in cents
|
|
4175
|
+
*/
|
|
4176
|
+
amount_due: number;
|
|
4177
|
+
/**
|
|
4178
|
+
* Currency
|
|
4179
|
+
* Currency code
|
|
4180
|
+
*/
|
|
4181
|
+
currency: string;
|
|
4182
|
+
/**
|
|
4183
|
+
* Period Start
|
|
4184
|
+
* Billing period start
|
|
4185
|
+
*/
|
|
4186
|
+
period_start: string;
|
|
4187
|
+
/**
|
|
4188
|
+
* Period End
|
|
4189
|
+
* Billing period end
|
|
4190
|
+
*/
|
|
4191
|
+
period_end: string;
|
|
4192
|
+
/**
|
|
4193
|
+
* Line Items
|
|
4194
|
+
* Estimated line items
|
|
4195
|
+
*/
|
|
4196
|
+
line_items: Array<InvoiceLineItem>;
|
|
4197
|
+
/**
|
|
4198
|
+
* Subscription Id
|
|
4199
|
+
* Associated subscription ID
|
|
4200
|
+
*/
|
|
4201
|
+
subscription_id?: string | null;
|
|
4202
|
+
};
|
|
3951
4203
|
/**
|
|
3952
4204
|
* UpdateAPIKeyRequest
|
|
3953
4205
|
* Request model for updating an API key.
|
|
@@ -3986,107 +4238,57 @@ export type UpdatePasswordRequest = {
|
|
|
3986
4238
|
confirm_password: string;
|
|
3987
4239
|
};
|
|
3988
4240
|
/**
|
|
3989
|
-
*
|
|
3990
|
-
* Request
|
|
4241
|
+
* UpdatePaymentMethodRequest
|
|
4242
|
+
* Request to update default payment method.
|
|
3991
4243
|
*/
|
|
3992
|
-
export type
|
|
3993
|
-
/**
|
|
3994
|
-
* Name
|
|
3995
|
-
* User's display name
|
|
3996
|
-
*/
|
|
3997
|
-
name?: string | null;
|
|
4244
|
+
export type UpdatePaymentMethodRequest = {
|
|
3998
4245
|
/**
|
|
3999
|
-
*
|
|
4000
|
-
*
|
|
4246
|
+
* Payment Method Id
|
|
4247
|
+
* Payment method ID to set as default
|
|
4001
4248
|
*/
|
|
4002
|
-
|
|
4249
|
+
payment_method_id: string;
|
|
4003
4250
|
};
|
|
4004
4251
|
/**
|
|
4005
|
-
*
|
|
4006
|
-
* Response
|
|
4252
|
+
* UpdatePaymentMethodResponse
|
|
4253
|
+
* Response for payment method update.
|
|
4007
4254
|
*/
|
|
4008
|
-
export type
|
|
4255
|
+
export type UpdatePaymentMethodResponse = {
|
|
4009
4256
|
/**
|
|
4010
|
-
*
|
|
4011
|
-
*
|
|
4012
|
-
*/
|
|
4013
|
-
user_info: {
|
|
4014
|
-
[key: string]: unknown;
|
|
4015
|
-
};
|
|
4016
|
-
/**
|
|
4017
|
-
* Graph Usage
|
|
4018
|
-
* Graph usage statistics
|
|
4019
|
-
*/
|
|
4020
|
-
graph_usage: {
|
|
4021
|
-
[key: string]: unknown;
|
|
4022
|
-
};
|
|
4023
|
-
/**
|
|
4024
|
-
* Api Usage
|
|
4025
|
-
* API usage statistics
|
|
4026
|
-
*/
|
|
4027
|
-
api_usage: {
|
|
4028
|
-
[key: string]: unknown;
|
|
4029
|
-
};
|
|
4030
|
-
/**
|
|
4031
|
-
* Limits
|
|
4032
|
-
* Current limits and restrictions
|
|
4033
|
-
*/
|
|
4034
|
-
limits: {
|
|
4035
|
-
[key: string]: unknown;
|
|
4036
|
-
};
|
|
4037
|
-
/**
|
|
4038
|
-
* Recent Activity
|
|
4039
|
-
* Recent user activity
|
|
4257
|
+
* Message
|
|
4258
|
+
* Success message
|
|
4040
4259
|
*/
|
|
4041
|
-
|
|
4042
|
-
[key: string]: unknown;
|
|
4043
|
-
}>;
|
|
4260
|
+
message: string;
|
|
4044
4261
|
/**
|
|
4045
|
-
*
|
|
4046
|
-
* Analytics generation timestamp
|
|
4262
|
+
* Updated payment method
|
|
4047
4263
|
*/
|
|
4048
|
-
|
|
4264
|
+
payment_method: PaymentMethod;
|
|
4049
4265
|
};
|
|
4050
4266
|
/**
|
|
4051
|
-
*
|
|
4052
|
-
*
|
|
4267
|
+
* UpdateUserRequest
|
|
4268
|
+
* Request model for updating user profile.
|
|
4053
4269
|
*/
|
|
4054
|
-
export type
|
|
4055
|
-
/**
|
|
4056
|
-
* Graph Id
|
|
4057
|
-
* Graph database identifier
|
|
4058
|
-
*/
|
|
4059
|
-
graph_id: string;
|
|
4060
|
-
/**
|
|
4061
|
-
* Graph Name
|
|
4062
|
-
* Display name for the graph
|
|
4063
|
-
*/
|
|
4064
|
-
graph_name?: string | null;
|
|
4065
|
-
/**
|
|
4066
|
-
* Role
|
|
4067
|
-
* User's role in this graph
|
|
4068
|
-
*/
|
|
4069
|
-
role: string;
|
|
4070
|
-
/**
|
|
4071
|
-
* Total Nodes
|
|
4072
|
-
* Total number of nodes
|
|
4073
|
-
*/
|
|
4074
|
-
total_nodes: number;
|
|
4270
|
+
export type UpdateUserRequest = {
|
|
4075
4271
|
/**
|
|
4076
|
-
*
|
|
4077
|
-
*
|
|
4272
|
+
* Name
|
|
4273
|
+
* User's display name
|
|
4078
4274
|
*/
|
|
4079
|
-
|
|
4275
|
+
name?: string | null;
|
|
4080
4276
|
/**
|
|
4081
|
-
*
|
|
4082
|
-
*
|
|
4277
|
+
* Email
|
|
4278
|
+
* User's email address
|
|
4083
4279
|
*/
|
|
4084
|
-
|
|
4280
|
+
email?: string | null;
|
|
4281
|
+
};
|
|
4282
|
+
/**
|
|
4283
|
+
* UpgradeSubscriptionRequest
|
|
4284
|
+
* Request to upgrade a subscription.
|
|
4285
|
+
*/
|
|
4286
|
+
export type UpgradeSubscriptionRequest = {
|
|
4085
4287
|
/**
|
|
4086
|
-
*
|
|
4087
|
-
*
|
|
4288
|
+
* New Plan Name
|
|
4289
|
+
* New plan name to upgrade to
|
|
4088
4290
|
*/
|
|
4089
|
-
|
|
4291
|
+
new_plan_name: string;
|
|
4090
4292
|
};
|
|
4091
4293
|
/**
|
|
4092
4294
|
* UserGraphsResponse
|
|
@@ -4164,27 +4366,6 @@ export type UserResponse = {
|
|
|
4164
4366
|
*/
|
|
4165
4367
|
accounts?: Array<AccountInfo>;
|
|
4166
4368
|
};
|
|
4167
|
-
/**
|
|
4168
|
-
* UserSubscriptionsResponse
|
|
4169
|
-
* Response for user subscriptions.
|
|
4170
|
-
*/
|
|
4171
|
-
export type UserSubscriptionsResponse = {
|
|
4172
|
-
/**
|
|
4173
|
-
* Subscriptions
|
|
4174
|
-
* List of user subscriptions
|
|
4175
|
-
*/
|
|
4176
|
-
subscriptions: Array<SubscriptionInfo>;
|
|
4177
|
-
/**
|
|
4178
|
-
* Total Count
|
|
4179
|
-
* Total number of subscriptions
|
|
4180
|
-
*/
|
|
4181
|
-
total_count: number;
|
|
4182
|
-
/**
|
|
4183
|
-
* Active Count
|
|
4184
|
-
* Number of active subscriptions
|
|
4185
|
-
*/
|
|
4186
|
-
active_count: number;
|
|
4187
|
-
};
|
|
4188
4369
|
/**
|
|
4189
4370
|
* UserUsageResponse
|
|
4190
4371
|
* Response model for user usage statistics.
|
|
@@ -4210,49 +4391,6 @@ export type UserUsageResponse = {
|
|
|
4210
4391
|
*/
|
|
4211
4392
|
limits: UserLimitsResponse;
|
|
4212
4393
|
};
|
|
4213
|
-
/**
|
|
4214
|
-
* UserUsageSummaryResponse
|
|
4215
|
-
* Response model for user usage summary.
|
|
4216
|
-
*/
|
|
4217
|
-
export type UserUsageSummaryResponse = {
|
|
4218
|
-
/**
|
|
4219
|
-
* User Id
|
|
4220
|
-
* User identifier
|
|
4221
|
-
*/
|
|
4222
|
-
user_id: string;
|
|
4223
|
-
/**
|
|
4224
|
-
* Graph Count
|
|
4225
|
-
* Number of accessible graphs
|
|
4226
|
-
*/
|
|
4227
|
-
graph_count: number;
|
|
4228
|
-
/**
|
|
4229
|
-
* Total Nodes
|
|
4230
|
-
* Total nodes across all graphs
|
|
4231
|
-
*/
|
|
4232
|
-
total_nodes: number;
|
|
4233
|
-
/**
|
|
4234
|
-
* Total Relationships
|
|
4235
|
-
* Total relationships across all graphs
|
|
4236
|
-
*/
|
|
4237
|
-
total_relationships: number;
|
|
4238
|
-
/**
|
|
4239
|
-
* Usage Vs Limits
|
|
4240
|
-
* Usage compared to limits
|
|
4241
|
-
*/
|
|
4242
|
-
usage_vs_limits: {
|
|
4243
|
-
[key: string]: unknown;
|
|
4244
|
-
};
|
|
4245
|
-
/**
|
|
4246
|
-
* Graphs
|
|
4247
|
-
* Summary of each graph
|
|
4248
|
-
*/
|
|
4249
|
-
graphs: Array<UserGraphSummary>;
|
|
4250
|
-
/**
|
|
4251
|
-
* Timestamp
|
|
4252
|
-
* Summary generation timestamp
|
|
4253
|
-
*/
|
|
4254
|
-
timestamp: string;
|
|
4255
|
-
};
|
|
4256
4394
|
/**
|
|
4257
4395
|
* ValidationError
|
|
4258
4396
|
*/
|
|
@@ -4688,29 +4826,6 @@ export type UpdateUserResponses = {
|
|
|
4688
4826
|
200: UserResponse;
|
|
4689
4827
|
};
|
|
4690
4828
|
export type UpdateUserResponse = UpdateUserResponses[keyof UpdateUserResponses];
|
|
4691
|
-
export type GetAllCreditSummariesData = {
|
|
4692
|
-
body?: never;
|
|
4693
|
-
path?: never;
|
|
4694
|
-
query?: never;
|
|
4695
|
-
url: '/v1/user/credits';
|
|
4696
|
-
};
|
|
4697
|
-
export type GetAllCreditSummariesErrors = {
|
|
4698
|
-
/**
|
|
4699
|
-
* Failed to retrieve credit summaries
|
|
4700
|
-
*/
|
|
4701
|
-
500: ErrorResponse;
|
|
4702
|
-
};
|
|
4703
|
-
export type GetAllCreditSummariesError = GetAllCreditSummariesErrors[keyof GetAllCreditSummariesErrors];
|
|
4704
|
-
export type GetAllCreditSummariesResponses = {
|
|
4705
|
-
/**
|
|
4706
|
-
* Response Getallcreditsummaries
|
|
4707
|
-
* Credit summaries retrieved successfully
|
|
4708
|
-
*/
|
|
4709
|
-
200: {
|
|
4710
|
-
[key: string]: unknown;
|
|
4711
|
-
};
|
|
4712
|
-
};
|
|
4713
|
-
export type GetAllCreditSummariesResponse = GetAllCreditSummariesResponses[keyof GetAllCreditSummariesResponses];
|
|
4714
4829
|
export type UpdateUserPasswordData = {
|
|
4715
4830
|
body: UpdatePasswordRequest;
|
|
4716
4831
|
path?: never;
|
|
@@ -4749,411 +4864,104 @@ export type ListUserApiKeysData = {
|
|
|
4749
4864
|
query?: never;
|
|
4750
4865
|
url: '/v1/user/api-keys';
|
|
4751
4866
|
};
|
|
4752
|
-
export type ListUserApiKeysResponses = {
|
|
4753
|
-
/**
|
|
4754
|
-
* Successful Response
|
|
4755
|
-
*/
|
|
4756
|
-
200: ApiKeysResponse;
|
|
4757
|
-
};
|
|
4758
|
-
export type ListUserApiKeysResponse = ListUserApiKeysResponses[keyof ListUserApiKeysResponses];
|
|
4759
|
-
export type CreateUserApiKeyData = {
|
|
4760
|
-
body: CreateApiKeyRequest;
|
|
4761
|
-
path?: never;
|
|
4762
|
-
query?: never;
|
|
4763
|
-
url: '/v1/user/api-keys';
|
|
4764
|
-
};
|
|
4765
|
-
export type CreateUserApiKeyErrors = {
|
|
4766
|
-
/**
|
|
4767
|
-
* Validation Error
|
|
4768
|
-
*/
|
|
4769
|
-
422: HttpValidationError;
|
|
4770
|
-
};
|
|
4771
|
-
export type CreateUserApiKeyError = CreateUserApiKeyErrors[keyof CreateUserApiKeyErrors];
|
|
4772
|
-
export type CreateUserApiKeyResponses = {
|
|
4773
|
-
/**
|
|
4774
|
-
* Successful Response
|
|
4775
|
-
*/
|
|
4776
|
-
201: CreateApiKeyResponse;
|
|
4777
|
-
};
|
|
4778
|
-
export type CreateUserApiKeyResponse = CreateUserApiKeyResponses[keyof CreateUserApiKeyResponses];
|
|
4779
|
-
export type RevokeUserApiKeyData = {
|
|
4780
|
-
body?: never;
|
|
4781
|
-
path: {
|
|
4782
|
-
/**
|
|
4783
|
-
* Api Key Id
|
|
4784
|
-
*/
|
|
4785
|
-
api_key_id: string;
|
|
4786
|
-
};
|
|
4787
|
-
query?: never;
|
|
4788
|
-
url: '/v1/user/api-keys/{api_key_id}';
|
|
4789
|
-
};
|
|
4790
|
-
export type RevokeUserApiKeyErrors = {
|
|
4791
|
-
/**
|
|
4792
|
-
* API key not found
|
|
4793
|
-
*/
|
|
4794
|
-
404: ErrorResponse;
|
|
4795
|
-
/**
|
|
4796
|
-
* Validation Error
|
|
4797
|
-
*/
|
|
4798
|
-
422: HttpValidationError;
|
|
4799
|
-
/**
|
|
4800
|
-
* Error revoking API key
|
|
4801
|
-
*/
|
|
4802
|
-
500: ErrorResponse;
|
|
4803
|
-
};
|
|
4804
|
-
export type RevokeUserApiKeyError = RevokeUserApiKeyErrors[keyof RevokeUserApiKeyErrors];
|
|
4805
|
-
export type RevokeUserApiKeyResponses = {
|
|
4806
|
-
/**
|
|
4807
|
-
* API key revoked successfully
|
|
4808
|
-
*/
|
|
4809
|
-
200: SuccessResponse;
|
|
4810
|
-
};
|
|
4811
|
-
export type RevokeUserApiKeyResponse = RevokeUserApiKeyResponses[keyof RevokeUserApiKeyResponses];
|
|
4812
|
-
export type UpdateUserApiKeyData = {
|
|
4813
|
-
body: UpdateApiKeyRequest;
|
|
4814
|
-
path: {
|
|
4815
|
-
/**
|
|
4816
|
-
* Api Key Id
|
|
4817
|
-
*/
|
|
4818
|
-
api_key_id: string;
|
|
4819
|
-
};
|
|
4820
|
-
query?: never;
|
|
4821
|
-
url: '/v1/user/api-keys/{api_key_id}';
|
|
4822
|
-
};
|
|
4823
|
-
export type UpdateUserApiKeyErrors = {
|
|
4824
|
-
/**
|
|
4825
|
-
* Validation Error
|
|
4826
|
-
*/
|
|
4827
|
-
422: HttpValidationError;
|
|
4828
|
-
};
|
|
4829
|
-
export type UpdateUserApiKeyError = UpdateUserApiKeyErrors[keyof UpdateUserApiKeyErrors];
|
|
4830
|
-
export type UpdateUserApiKeyResponses = {
|
|
4831
|
-
/**
|
|
4832
|
-
* Successful Response
|
|
4833
|
-
*/
|
|
4834
|
-
200: ApiKeyInfo;
|
|
4835
|
-
};
|
|
4836
|
-
export type UpdateUserApiKeyResponse = UpdateUserApiKeyResponses[keyof UpdateUserApiKeyResponses];
|
|
4837
|
-
export type GetUserLimitsData = {
|
|
4838
|
-
body?: never;
|
|
4839
|
-
path?: never;
|
|
4840
|
-
query?: never;
|
|
4841
|
-
url: '/v1/user/limits';
|
|
4842
|
-
};
|
|
4843
|
-
export type GetUserLimitsErrors = {
|
|
4844
|
-
/**
|
|
4845
|
-
* User limits not found
|
|
4846
|
-
*/
|
|
4847
|
-
404: unknown;
|
|
4848
|
-
};
|
|
4849
|
-
export type GetUserLimitsResponses = {
|
|
4850
|
-
/**
|
|
4851
|
-
* User limits retrieved successfully
|
|
4852
|
-
*/
|
|
4853
|
-
200: UserLimitsResponse;
|
|
4854
|
-
};
|
|
4855
|
-
export type GetUserLimitsResponse = GetUserLimitsResponses[keyof GetUserLimitsResponses];
|
|
4856
|
-
export type GetUserUsageData = {
|
|
4857
|
-
body?: never;
|
|
4858
|
-
path?: never;
|
|
4859
|
-
query?: never;
|
|
4860
|
-
url: '/v1/user/limits/usage';
|
|
4861
|
-
};
|
|
4862
|
-
export type GetUserUsageResponses = {
|
|
4863
|
-
/**
|
|
4864
|
-
* User usage statistics retrieved successfully
|
|
4865
|
-
*/
|
|
4866
|
-
200: UserUsageResponse;
|
|
4867
|
-
};
|
|
4868
|
-
export type GetUserUsageResponse = GetUserUsageResponses[keyof GetUserUsageResponses];
|
|
4869
|
-
export type GetAllSharedRepositoryLimitsData = {
|
|
4870
|
-
body?: never;
|
|
4871
|
-
path?: never;
|
|
4872
|
-
query?: never;
|
|
4873
|
-
url: '/v1/user/limits/shared-repositories/summary';
|
|
4874
|
-
};
|
|
4875
|
-
export type GetAllSharedRepositoryLimitsResponses = {
|
|
4876
|
-
/**
|
|
4877
|
-
* Response Getallsharedrepositorylimits
|
|
4878
|
-
* Successful Response
|
|
4879
|
-
*/
|
|
4880
|
-
200: {
|
|
4881
|
-
[key: string]: unknown;
|
|
4882
|
-
};
|
|
4883
|
-
};
|
|
4884
|
-
export type GetAllSharedRepositoryLimitsResponse = GetAllSharedRepositoryLimitsResponses[keyof GetAllSharedRepositoryLimitsResponses];
|
|
4885
|
-
export type GetSharedRepositoryLimitsData = {
|
|
4886
|
-
body?: never;
|
|
4887
|
-
path: {
|
|
4888
|
-
/**
|
|
4889
|
-
* Repository
|
|
4890
|
-
* Repository name (e.g., 'sec')
|
|
4891
|
-
*/
|
|
4892
|
-
repository: string;
|
|
4893
|
-
};
|
|
4894
|
-
query?: never;
|
|
4895
|
-
url: '/v1/user/limits/shared-repositories/{repository}';
|
|
4896
|
-
};
|
|
4897
|
-
export type GetSharedRepositoryLimitsErrors = {
|
|
4898
|
-
/**
|
|
4899
|
-
* Validation Error
|
|
4900
|
-
*/
|
|
4901
|
-
422: HttpValidationError;
|
|
4902
|
-
};
|
|
4903
|
-
export type GetSharedRepositoryLimitsError = GetSharedRepositoryLimitsErrors[keyof GetSharedRepositoryLimitsErrors];
|
|
4904
|
-
export type GetSharedRepositoryLimitsResponses = {
|
|
4905
|
-
/**
|
|
4906
|
-
* Response Getsharedrepositorylimits
|
|
4907
|
-
* Successful Response
|
|
4908
|
-
*/
|
|
4909
|
-
200: {
|
|
4910
|
-
[key: string]: unknown;
|
|
4911
|
-
};
|
|
4912
|
-
};
|
|
4913
|
-
export type GetSharedRepositoryLimitsResponse = GetSharedRepositoryLimitsResponses[keyof GetSharedRepositoryLimitsResponses];
|
|
4914
|
-
export type GetUserUsageOverviewData = {
|
|
4915
|
-
body?: never;
|
|
4916
|
-
path?: never;
|
|
4917
|
-
query?: never;
|
|
4918
|
-
url: '/v1/user/analytics/overview';
|
|
4919
|
-
};
|
|
4920
|
-
export type GetUserUsageOverviewResponses = {
|
|
4921
|
-
/**
|
|
4922
|
-
* Successful Response
|
|
4923
|
-
*/
|
|
4924
|
-
200: UserUsageSummaryResponse;
|
|
4925
|
-
};
|
|
4926
|
-
export type GetUserUsageOverviewResponse = GetUserUsageOverviewResponses[keyof GetUserUsageOverviewResponses];
|
|
4927
|
-
export type GetDetailedUserAnalyticsData = {
|
|
4928
|
-
body?: never;
|
|
4929
|
-
path?: never;
|
|
4930
|
-
query?: {
|
|
4931
|
-
/**
|
|
4932
|
-
* Include Api Stats
|
|
4933
|
-
* Include API usage statistics
|
|
4934
|
-
*/
|
|
4935
|
-
include_api_stats?: boolean;
|
|
4936
|
-
/**
|
|
4937
|
-
* Include Recent Activity
|
|
4938
|
-
* Include recent activity
|
|
4939
|
-
*/
|
|
4940
|
-
include_recent_activity?: boolean;
|
|
4941
|
-
};
|
|
4942
|
-
url: '/v1/user/analytics/detailed';
|
|
4943
|
-
};
|
|
4944
|
-
export type GetDetailedUserAnalyticsErrors = {
|
|
4945
|
-
/**
|
|
4946
|
-
* Validation Error
|
|
4947
|
-
*/
|
|
4948
|
-
422: HttpValidationError;
|
|
4949
|
-
};
|
|
4950
|
-
export type GetDetailedUserAnalyticsError = GetDetailedUserAnalyticsErrors[keyof GetDetailedUserAnalyticsErrors];
|
|
4951
|
-
export type GetDetailedUserAnalyticsResponses = {
|
|
4952
|
-
/**
|
|
4953
|
-
* Successful Response
|
|
4954
|
-
*/
|
|
4955
|
-
200: UserAnalyticsResponse;
|
|
4956
|
-
};
|
|
4957
|
-
export type GetDetailedUserAnalyticsResponse = GetDetailedUserAnalyticsResponses[keyof GetDetailedUserAnalyticsResponses];
|
|
4958
|
-
export type GetUserSharedSubscriptionsData = {
|
|
4959
|
-
body?: never;
|
|
4960
|
-
path?: never;
|
|
4961
|
-
query?: {
|
|
4962
|
-
/**
|
|
4963
|
-
* Active Only
|
|
4964
|
-
* Only return active subscriptions
|
|
4965
|
-
*/
|
|
4966
|
-
active_only?: boolean;
|
|
4967
|
-
};
|
|
4968
|
-
url: '/v1/user/subscriptions/shared-repositories';
|
|
4969
|
-
};
|
|
4970
|
-
export type GetUserSharedSubscriptionsErrors = {
|
|
4971
|
-
/**
|
|
4972
|
-
* Authentication required
|
|
4973
|
-
*/
|
|
4974
|
-
401: unknown;
|
|
4975
|
-
/**
|
|
4976
|
-
* Validation Error
|
|
4977
|
-
*/
|
|
4978
|
-
422: HttpValidationError;
|
|
4979
|
-
/**
|
|
4980
|
-
* Internal server error
|
|
4981
|
-
*/
|
|
4982
|
-
500: unknown;
|
|
4983
|
-
};
|
|
4984
|
-
export type GetUserSharedSubscriptionsError = GetUserSharedSubscriptionsErrors[keyof GetUserSharedSubscriptionsErrors];
|
|
4985
|
-
export type GetUserSharedSubscriptionsResponses = {
|
|
4986
|
-
/**
|
|
4987
|
-
* Successfully retrieved user subscriptions
|
|
4988
|
-
*/
|
|
4989
|
-
200: UserSubscriptionsResponse;
|
|
4990
|
-
};
|
|
4991
|
-
export type GetUserSharedSubscriptionsResponse = GetUserSharedSubscriptionsResponses[keyof GetUserSharedSubscriptionsResponses];
|
|
4992
|
-
export type SubscribeToSharedRepositoryData = {
|
|
4993
|
-
body: SubscriptionRequest;
|
|
4994
|
-
path?: never;
|
|
4995
|
-
query?: never;
|
|
4996
|
-
url: '/v1/user/subscriptions/shared-repositories/subscribe';
|
|
4997
|
-
};
|
|
4998
|
-
export type SubscribeToSharedRepositoryErrors = {
|
|
4999
|
-
/**
|
|
5000
|
-
* Invalid add-on type or tier, or user already has active subscription
|
|
5001
|
-
*/
|
|
5002
|
-
400: unknown;
|
|
5003
|
-
/**
|
|
5004
|
-
* Authentication required
|
|
5005
|
-
*/
|
|
5006
|
-
401: unknown;
|
|
5007
|
-
/**
|
|
5008
|
-
* Validation Error
|
|
5009
|
-
*/
|
|
5010
|
-
422: HttpValidationError;
|
|
5011
|
-
/**
|
|
5012
|
-
* Internal server error
|
|
5013
|
-
*/
|
|
5014
|
-
500: unknown;
|
|
5015
|
-
};
|
|
5016
|
-
export type SubscribeToSharedRepositoryError = SubscribeToSharedRepositoryErrors[keyof SubscribeToSharedRepositoryErrors];
|
|
5017
|
-
export type SubscribeToSharedRepositoryResponses = {
|
|
5018
|
-
/**
|
|
5019
|
-
* Successfully subscribed to shared repository
|
|
5020
|
-
*/
|
|
5021
|
-
201: SubscriptionResponse;
|
|
5022
|
-
};
|
|
5023
|
-
export type SubscribeToSharedRepositoryResponse = SubscribeToSharedRepositoryResponses[keyof SubscribeToSharedRepositoryResponses];
|
|
5024
|
-
export type UpgradeSharedRepositorySubscriptionData = {
|
|
5025
|
-
body: TierUpgradeRequest;
|
|
5026
|
-
path: {
|
|
5027
|
-
/**
|
|
5028
|
-
* Subscription Id
|
|
5029
|
-
*/
|
|
5030
|
-
subscription_id: string;
|
|
5031
|
-
};
|
|
5032
|
-
query?: never;
|
|
5033
|
-
url: '/v1/user/subscriptions/shared-repositories/{subscription_id}/upgrade';
|
|
5034
|
-
};
|
|
5035
|
-
export type UpgradeSharedRepositorySubscriptionErrors = {
|
|
5036
|
-
/**
|
|
5037
|
-
* Invalid tier for add-on type
|
|
5038
|
-
*/
|
|
5039
|
-
400: unknown;
|
|
5040
|
-
/**
|
|
5041
|
-
* Authentication required
|
|
5042
|
-
*/
|
|
5043
|
-
401: unknown;
|
|
4867
|
+
export type ListUserApiKeysResponses = {
|
|
5044
4868
|
/**
|
|
5045
|
-
*
|
|
4869
|
+
* Successful Response
|
|
5046
4870
|
*/
|
|
5047
|
-
|
|
4871
|
+
200: ApiKeysResponse;
|
|
4872
|
+
};
|
|
4873
|
+
export type ListUserApiKeysResponse = ListUserApiKeysResponses[keyof ListUserApiKeysResponses];
|
|
4874
|
+
export type CreateUserApiKeyData = {
|
|
4875
|
+
body: CreateApiKeyRequest;
|
|
4876
|
+
path?: never;
|
|
4877
|
+
query?: never;
|
|
4878
|
+
url: '/v1/user/api-keys';
|
|
4879
|
+
};
|
|
4880
|
+
export type CreateUserApiKeyErrors = {
|
|
5048
4881
|
/**
|
|
5049
4882
|
* Validation Error
|
|
5050
4883
|
*/
|
|
5051
4884
|
422: HttpValidationError;
|
|
5052
|
-
/**
|
|
5053
|
-
* Internal server error
|
|
5054
|
-
*/
|
|
5055
|
-
500: unknown;
|
|
5056
4885
|
};
|
|
5057
|
-
export type
|
|
5058
|
-
export type
|
|
4886
|
+
export type CreateUserApiKeyError = CreateUserApiKeyErrors[keyof CreateUserApiKeyErrors];
|
|
4887
|
+
export type CreateUserApiKeyResponses = {
|
|
5059
4888
|
/**
|
|
5060
|
-
*
|
|
4889
|
+
* Successful Response
|
|
5061
4890
|
*/
|
|
5062
|
-
|
|
4891
|
+
201: CreateApiKeyResponse;
|
|
5063
4892
|
};
|
|
5064
|
-
export type
|
|
4893
|
+
export type CreateUserApiKeyResponse = CreateUserApiKeyResponses[keyof CreateUserApiKeyResponses];
|
|
4894
|
+
export type RevokeUserApiKeyData = {
|
|
5065
4895
|
body?: never;
|
|
5066
4896
|
path: {
|
|
5067
4897
|
/**
|
|
5068
|
-
*
|
|
4898
|
+
* Api Key Id
|
|
5069
4899
|
*/
|
|
5070
|
-
|
|
4900
|
+
api_key_id: string;
|
|
5071
4901
|
};
|
|
5072
4902
|
query?: never;
|
|
5073
|
-
url: '/v1/user/
|
|
4903
|
+
url: '/v1/user/api-keys/{api_key_id}';
|
|
5074
4904
|
};
|
|
5075
|
-
export type
|
|
5076
|
-
/**
|
|
5077
|
-
* Authentication required
|
|
5078
|
-
*/
|
|
5079
|
-
401: unknown;
|
|
4905
|
+
export type RevokeUserApiKeyErrors = {
|
|
5080
4906
|
/**
|
|
5081
|
-
*
|
|
4907
|
+
* API key not found
|
|
5082
4908
|
*/
|
|
5083
|
-
404:
|
|
4909
|
+
404: ErrorResponse;
|
|
5084
4910
|
/**
|
|
5085
4911
|
* Validation Error
|
|
5086
4912
|
*/
|
|
5087
4913
|
422: HttpValidationError;
|
|
5088
4914
|
/**
|
|
5089
|
-
*
|
|
5090
|
-
*/
|
|
5091
|
-
500: unknown;
|
|
5092
|
-
};
|
|
5093
|
-
export type CancelSharedRepositorySubscriptionError = CancelSharedRepositorySubscriptionErrors[keyof CancelSharedRepositorySubscriptionErrors];
|
|
5094
|
-
export type CancelSharedRepositorySubscriptionResponses = {
|
|
5095
|
-
/**
|
|
5096
|
-
* Successfully cancelled subscription
|
|
5097
|
-
*/
|
|
5098
|
-
200: CancellationResponse;
|
|
5099
|
-
};
|
|
5100
|
-
export type CancelSharedRepositorySubscriptionResponse = CancelSharedRepositorySubscriptionResponses[keyof CancelSharedRepositorySubscriptionResponses];
|
|
5101
|
-
export type GetSharedRepositoryCreditsData = {
|
|
5102
|
-
body?: never;
|
|
5103
|
-
path?: never;
|
|
5104
|
-
query?: never;
|
|
5105
|
-
url: '/v1/user/subscriptions/shared-repositories/credits';
|
|
5106
|
-
};
|
|
5107
|
-
export type GetSharedRepositoryCreditsErrors = {
|
|
5108
|
-
/**
|
|
5109
|
-
* Authentication required
|
|
5110
|
-
*/
|
|
5111
|
-
401: unknown;
|
|
5112
|
-
/**
|
|
5113
|
-
* Internal server error
|
|
4915
|
+
* Error revoking API key
|
|
5114
4916
|
*/
|
|
5115
|
-
500:
|
|
4917
|
+
500: ErrorResponse;
|
|
5116
4918
|
};
|
|
5117
|
-
export type
|
|
4919
|
+
export type RevokeUserApiKeyError = RevokeUserApiKeyErrors[keyof RevokeUserApiKeyErrors];
|
|
4920
|
+
export type RevokeUserApiKeyResponses = {
|
|
5118
4921
|
/**
|
|
5119
|
-
*
|
|
4922
|
+
* API key revoked successfully
|
|
5120
4923
|
*/
|
|
5121
|
-
200:
|
|
4924
|
+
200: SuccessResponse;
|
|
5122
4925
|
};
|
|
5123
|
-
export type
|
|
5124
|
-
export type
|
|
5125
|
-
body
|
|
4926
|
+
export type RevokeUserApiKeyResponse = RevokeUserApiKeyResponses[keyof RevokeUserApiKeyResponses];
|
|
4927
|
+
export type UpdateUserApiKeyData = {
|
|
4928
|
+
body: UpdateApiKeyRequest;
|
|
5126
4929
|
path: {
|
|
5127
4930
|
/**
|
|
5128
|
-
*
|
|
4931
|
+
* Api Key Id
|
|
5129
4932
|
*/
|
|
5130
|
-
|
|
4933
|
+
api_key_id: string;
|
|
5131
4934
|
};
|
|
5132
4935
|
query?: never;
|
|
5133
|
-
url: '/v1/user/
|
|
4936
|
+
url: '/v1/user/api-keys/{api_key_id}';
|
|
5134
4937
|
};
|
|
5135
|
-
export type
|
|
5136
|
-
/**
|
|
5137
|
-
* Authentication required
|
|
5138
|
-
*/
|
|
5139
|
-
401: unknown;
|
|
4938
|
+
export type UpdateUserApiKeyErrors = {
|
|
5140
4939
|
/**
|
|
5141
4940
|
* Validation Error
|
|
5142
4941
|
*/
|
|
5143
4942
|
422: HttpValidationError;
|
|
4943
|
+
};
|
|
4944
|
+
export type UpdateUserApiKeyError = UpdateUserApiKeyErrors[keyof UpdateUserApiKeyErrors];
|
|
4945
|
+
export type UpdateUserApiKeyResponses = {
|
|
5144
4946
|
/**
|
|
5145
|
-
*
|
|
4947
|
+
* Successful Response
|
|
5146
4948
|
*/
|
|
5147
|
-
|
|
4949
|
+
200: ApiKeyInfo;
|
|
4950
|
+
};
|
|
4951
|
+
export type UpdateUserApiKeyResponse = UpdateUserApiKeyResponses[keyof UpdateUserApiKeyResponses];
|
|
4952
|
+
export type GetUserLimitsData = {
|
|
4953
|
+
body?: never;
|
|
4954
|
+
path?: never;
|
|
4955
|
+
query?: never;
|
|
4956
|
+
url: '/v1/user/limits';
|
|
5148
4957
|
};
|
|
5149
|
-
export type
|
|
5150
|
-
export type GetRepositoryCreditsResponses = {
|
|
4958
|
+
export type GetUserLimitsResponses = {
|
|
5151
4959
|
/**
|
|
5152
|
-
*
|
|
4960
|
+
* User limits and usage retrieved successfully
|
|
5153
4961
|
*/
|
|
5154
|
-
200:
|
|
4962
|
+
200: UserUsageResponse;
|
|
5155
4963
|
};
|
|
5156
|
-
export type
|
|
4964
|
+
export type GetUserLimitsResponse = GetUserLimitsResponses[keyof GetUserLimitsResponses];
|
|
5157
4965
|
export type ListConnectionsData = {
|
|
5158
4966
|
body?: never;
|
|
5159
4967
|
path: {
|
|
@@ -6100,7 +5908,7 @@ export type GetGraphMetricsResponses = {
|
|
|
6100
5908
|
200: GraphMetricsResponse;
|
|
6101
5909
|
};
|
|
6102
5910
|
export type GetGraphMetricsResponse = GetGraphMetricsResponses[keyof GetGraphMetricsResponses];
|
|
6103
|
-
export type
|
|
5911
|
+
export type GetGraphUsageAnalyticsData = {
|
|
6104
5912
|
body?: never;
|
|
6105
5913
|
path: {
|
|
6106
5914
|
/**
|
|
@@ -6110,14 +5918,34 @@ export type GetGraphUsageStatsData = {
|
|
|
6110
5918
|
};
|
|
6111
5919
|
query?: {
|
|
6112
5920
|
/**
|
|
6113
|
-
*
|
|
6114
|
-
*
|
|
5921
|
+
* Time Range
|
|
5922
|
+
* Time range: 24h, 7d, 30d, current_month, last_month
|
|
5923
|
+
*/
|
|
5924
|
+
time_range?: string;
|
|
5925
|
+
/**
|
|
5926
|
+
* Include Storage
|
|
5927
|
+
* Include storage usage summary
|
|
6115
5928
|
*/
|
|
6116
|
-
|
|
5929
|
+
include_storage?: boolean;
|
|
5930
|
+
/**
|
|
5931
|
+
* Include Credits
|
|
5932
|
+
* Include credit consumption summary
|
|
5933
|
+
*/
|
|
5934
|
+
include_credits?: boolean;
|
|
5935
|
+
/**
|
|
5936
|
+
* Include Performance
|
|
5937
|
+
* Include performance insights (may be slower)
|
|
5938
|
+
*/
|
|
5939
|
+
include_performance?: boolean;
|
|
5940
|
+
/**
|
|
5941
|
+
* Include Events
|
|
5942
|
+
* Include recent usage events
|
|
5943
|
+
*/
|
|
5944
|
+
include_events?: boolean;
|
|
6117
5945
|
};
|
|
6118
5946
|
url: '/v1/graphs/{graph_id}/analytics/usage';
|
|
6119
5947
|
};
|
|
6120
|
-
export type
|
|
5948
|
+
export type GetGraphUsageAnalyticsErrors = {
|
|
6121
5949
|
/**
|
|
6122
5950
|
* Access denied to graph
|
|
6123
5951
|
*/
|
|
@@ -6127,18 +5955,18 @@ export type GetGraphUsageStatsErrors = {
|
|
|
6127
5955
|
*/
|
|
6128
5956
|
422: HttpValidationError;
|
|
6129
5957
|
/**
|
|
6130
|
-
* Failed to retrieve usage
|
|
5958
|
+
* Failed to retrieve usage analytics
|
|
6131
5959
|
*/
|
|
6132
5960
|
500: ErrorResponse;
|
|
6133
5961
|
};
|
|
6134
|
-
export type
|
|
6135
|
-
export type
|
|
5962
|
+
export type GetGraphUsageAnalyticsError = GetGraphUsageAnalyticsErrors[keyof GetGraphUsageAnalyticsErrors];
|
|
5963
|
+
export type GetGraphUsageAnalyticsResponses = {
|
|
6136
5964
|
/**
|
|
6137
|
-
* Usage
|
|
5965
|
+
* Usage analytics retrieved successfully
|
|
6138
5966
|
*/
|
|
6139
5967
|
200: GraphUsageResponse;
|
|
6140
5968
|
};
|
|
6141
|
-
export type
|
|
5969
|
+
export type GetGraphUsageAnalyticsResponse = GetGraphUsageAnalyticsResponses[keyof GetGraphUsageAnalyticsResponses];
|
|
6142
5970
|
export type ExecuteCypherQueryData = {
|
|
6143
5971
|
body: CypherQueryRequest;
|
|
6144
5972
|
path: {
|
|
@@ -6267,247 +6095,59 @@ export type ExportGraphSchemaData = {
|
|
|
6267
6095
|
/**
|
|
6268
6096
|
* Format
|
|
6269
6097
|
* Export format: json, yaml, or cypher
|
|
6270
|
-
*/
|
|
6271
|
-
format?: string;
|
|
6272
|
-
/**
|
|
6273
|
-
* Include Data Stats
|
|
6274
|
-
* Include statistics about actual data in the graph (node counts, relationship counts)
|
|
6275
|
-
*/
|
|
6276
|
-
include_data_stats?: boolean;
|
|
6277
|
-
};
|
|
6278
|
-
url: '/v1/graphs/{graph_id}/schema/export';
|
|
6279
|
-
};
|
|
6280
|
-
export type ExportGraphSchemaErrors = {
|
|
6281
|
-
/**
|
|
6282
|
-
* Access denied to graph
|
|
6283
|
-
*/
|
|
6284
|
-
403: unknown;
|
|
6285
|
-
/**
|
|
6286
|
-
* Schema not found for graph
|
|
6287
|
-
*/
|
|
6288
|
-
404: unknown;
|
|
6289
|
-
/**
|
|
6290
|
-
* Validation Error
|
|
6291
|
-
*/
|
|
6292
|
-
422: HttpValidationError;
|
|
6293
|
-
/**
|
|
6294
|
-
* Failed to export schema
|
|
6295
|
-
*/
|
|
6296
|
-
500: unknown;
|
|
6297
|
-
};
|
|
6298
|
-
export type ExportGraphSchemaError = ExportGraphSchemaErrors[keyof ExportGraphSchemaErrors];
|
|
6299
|
-
export type ExportGraphSchemaResponses = {
|
|
6300
|
-
/**
|
|
6301
|
-
* Schema exported successfully
|
|
6302
|
-
*/
|
|
6303
|
-
200: SchemaExportResponse;
|
|
6304
|
-
};
|
|
6305
|
-
export type ExportGraphSchemaResponse = ExportGraphSchemaResponses[keyof ExportGraphSchemaResponses];
|
|
6306
|
-
export type ValidateSchemaData = {
|
|
6307
|
-
/**
|
|
6308
|
-
* Schema definition to validate
|
|
6309
|
-
*/
|
|
6310
|
-
body: SchemaValidationRequest;
|
|
6311
|
-
path: {
|
|
6312
|
-
/**
|
|
6313
|
-
* Graph Id
|
|
6314
|
-
*/
|
|
6315
|
-
graph_id: string;
|
|
6316
|
-
};
|
|
6317
|
-
query?: never;
|
|
6318
|
-
url: '/v1/graphs/{graph_id}/schema/validate';
|
|
6319
|
-
};
|
|
6320
|
-
export type ValidateSchemaErrors = {
|
|
6321
|
-
/**
|
|
6322
|
-
* Invalid schema format
|
|
6323
|
-
*/
|
|
6324
|
-
400: ErrorResponse;
|
|
6325
|
-
/**
|
|
6326
|
-
* Access denied to graph
|
|
6327
|
-
*/
|
|
6328
|
-
403: ErrorResponse;
|
|
6329
|
-
/**
|
|
6330
|
-
* Schema validation failed
|
|
6331
|
-
*/
|
|
6332
|
-
422: ErrorResponse;
|
|
6333
|
-
/**
|
|
6334
|
-
* Validation error
|
|
6335
|
-
*/
|
|
6336
|
-
500: ErrorResponse;
|
|
6337
|
-
};
|
|
6338
|
-
export type ValidateSchemaError = ValidateSchemaErrors[keyof ValidateSchemaErrors];
|
|
6339
|
-
export type ValidateSchemaResponses = {
|
|
6340
|
-
/**
|
|
6341
|
-
* Schema validation completed
|
|
6342
|
-
*/
|
|
6343
|
-
200: SchemaValidationResponse;
|
|
6344
|
-
};
|
|
6345
|
-
export type ValidateSchemaResponse = ValidateSchemaResponses[keyof ValidateSchemaResponses];
|
|
6346
|
-
export type GetCurrentGraphBillData = {
|
|
6347
|
-
body?: never;
|
|
6348
|
-
path: {
|
|
6349
|
-
/**
|
|
6350
|
-
* Graph Id
|
|
6351
|
-
*/
|
|
6352
|
-
graph_id: string;
|
|
6353
|
-
};
|
|
6354
|
-
query?: never;
|
|
6355
|
-
url: '/v1/graphs/{graph_id}/billing/current';
|
|
6356
|
-
};
|
|
6357
|
-
export type GetCurrentGraphBillErrors = {
|
|
6358
|
-
/**
|
|
6359
|
-
* Access denied to graph
|
|
6360
|
-
*/
|
|
6361
|
-
403: ErrorResponse;
|
|
6362
|
-
/**
|
|
6363
|
-
* Graph not found
|
|
6364
|
-
*/
|
|
6365
|
-
404: ErrorResponse;
|
|
6366
|
-
/**
|
|
6367
|
-
* Validation Error
|
|
6368
|
-
*/
|
|
6369
|
-
422: HttpValidationError;
|
|
6370
|
-
/**
|
|
6371
|
-
* Failed to calculate bill
|
|
6372
|
-
*/
|
|
6373
|
-
500: ErrorResponse;
|
|
6374
|
-
};
|
|
6375
|
-
export type GetCurrentGraphBillError = GetCurrentGraphBillErrors[keyof GetCurrentGraphBillErrors];
|
|
6376
|
-
export type GetCurrentGraphBillResponses = {
|
|
6377
|
-
/**
|
|
6378
|
-
* Response Getcurrentgraphbill
|
|
6379
|
-
* Current bill retrieved successfully
|
|
6380
|
-
*/
|
|
6381
|
-
200: {
|
|
6382
|
-
[key: string]: unknown;
|
|
6383
|
-
};
|
|
6384
|
-
};
|
|
6385
|
-
export type GetCurrentGraphBillResponse = GetCurrentGraphBillResponses[keyof GetCurrentGraphBillResponses];
|
|
6386
|
-
export type GetGraphUsageDetailsData = {
|
|
6387
|
-
body?: never;
|
|
6388
|
-
path: {
|
|
6389
|
-
/**
|
|
6390
|
-
* Graph Id
|
|
6391
|
-
*/
|
|
6392
|
-
graph_id: string;
|
|
6393
|
-
};
|
|
6394
|
-
query?: {
|
|
6395
|
-
/**
|
|
6396
|
-
* Year
|
|
6397
|
-
* Year (defaults to current)
|
|
6398
|
-
*/
|
|
6399
|
-
year?: number | null;
|
|
6400
|
-
/**
|
|
6401
|
-
* Month
|
|
6402
|
-
* Month (defaults to current)
|
|
6403
|
-
*/
|
|
6404
|
-
month?: number | null;
|
|
6405
|
-
};
|
|
6406
|
-
url: '/v1/graphs/{graph_id}/billing/usage';
|
|
6407
|
-
};
|
|
6408
|
-
export type GetGraphUsageDetailsErrors = {
|
|
6409
|
-
/**
|
|
6410
|
-
* Invalid year or month
|
|
6411
|
-
*/
|
|
6412
|
-
400: ErrorResponse;
|
|
6413
|
-
/**
|
|
6414
|
-
* Access denied to graph
|
|
6415
|
-
*/
|
|
6416
|
-
403: ErrorResponse;
|
|
6417
|
-
/**
|
|
6418
|
-
* Graph not found
|
|
6419
|
-
*/
|
|
6420
|
-
404: ErrorResponse;
|
|
6421
|
-
/**
|
|
6422
|
-
* Validation Error
|
|
6423
|
-
*/
|
|
6424
|
-
422: HttpValidationError;
|
|
6425
|
-
/**
|
|
6426
|
-
* Failed to retrieve usage
|
|
6427
|
-
*/
|
|
6428
|
-
500: ErrorResponse;
|
|
6429
|
-
};
|
|
6430
|
-
export type GetGraphUsageDetailsError = GetGraphUsageDetailsErrors[keyof GetGraphUsageDetailsErrors];
|
|
6431
|
-
export type GetGraphUsageDetailsResponses = {
|
|
6432
|
-
/**
|
|
6433
|
-
* Response Getgraphusagedetails
|
|
6434
|
-
* Usage details retrieved successfully
|
|
6435
|
-
*/
|
|
6436
|
-
200: {
|
|
6437
|
-
[key: string]: unknown;
|
|
6438
|
-
};
|
|
6439
|
-
};
|
|
6440
|
-
export type GetGraphUsageDetailsResponse = GetGraphUsageDetailsResponses[keyof GetGraphUsageDetailsResponses];
|
|
6441
|
-
export type GetGraphBillingHistoryData = {
|
|
6442
|
-
body?: never;
|
|
6443
|
-
path: {
|
|
6444
|
-
/**
|
|
6445
|
-
* Graph Id
|
|
6446
|
-
*/
|
|
6447
|
-
graph_id: string;
|
|
6448
|
-
};
|
|
6449
|
-
query?: {
|
|
6098
|
+
*/
|
|
6099
|
+
format?: string;
|
|
6450
6100
|
/**
|
|
6451
|
-
*
|
|
6452
|
-
*
|
|
6101
|
+
* Include Data Stats
|
|
6102
|
+
* Include statistics about actual data in the graph (node counts, relationship counts)
|
|
6453
6103
|
*/
|
|
6454
|
-
|
|
6104
|
+
include_data_stats?: boolean;
|
|
6455
6105
|
};
|
|
6456
|
-
url: '/v1/graphs/{graph_id}/
|
|
6106
|
+
url: '/v1/graphs/{graph_id}/schema/export';
|
|
6457
6107
|
};
|
|
6458
|
-
export type
|
|
6108
|
+
export type ExportGraphSchemaErrors = {
|
|
6459
6109
|
/**
|
|
6460
6110
|
* Access denied to graph
|
|
6461
6111
|
*/
|
|
6462
|
-
403:
|
|
6112
|
+
403: unknown;
|
|
6463
6113
|
/**
|
|
6464
|
-
*
|
|
6114
|
+
* Schema not found for graph
|
|
6465
6115
|
*/
|
|
6466
|
-
404:
|
|
6116
|
+
404: unknown;
|
|
6467
6117
|
/**
|
|
6468
6118
|
* Validation Error
|
|
6469
6119
|
*/
|
|
6470
6120
|
422: HttpValidationError;
|
|
6471
6121
|
/**
|
|
6472
|
-
* Failed to
|
|
6122
|
+
* Failed to export schema
|
|
6473
6123
|
*/
|
|
6474
|
-
500:
|
|
6124
|
+
500: unknown;
|
|
6475
6125
|
};
|
|
6476
|
-
export type
|
|
6477
|
-
export type
|
|
6126
|
+
export type ExportGraphSchemaError = ExportGraphSchemaErrors[keyof ExportGraphSchemaErrors];
|
|
6127
|
+
export type ExportGraphSchemaResponses = {
|
|
6478
6128
|
/**
|
|
6479
|
-
*
|
|
6480
|
-
* Billing history retrieved successfully
|
|
6129
|
+
* Schema exported successfully
|
|
6481
6130
|
*/
|
|
6482
|
-
200:
|
|
6483
|
-
[key: string]: unknown;
|
|
6484
|
-
};
|
|
6131
|
+
200: SchemaExportResponse;
|
|
6485
6132
|
};
|
|
6486
|
-
export type
|
|
6487
|
-
export type
|
|
6488
|
-
|
|
6133
|
+
export type ExportGraphSchemaResponse = ExportGraphSchemaResponses[keyof ExportGraphSchemaResponses];
|
|
6134
|
+
export type ValidateSchemaData = {
|
|
6135
|
+
/**
|
|
6136
|
+
* Schema definition to validate
|
|
6137
|
+
*/
|
|
6138
|
+
body: SchemaValidationRequest;
|
|
6489
6139
|
path: {
|
|
6490
|
-
/**
|
|
6491
|
-
* Year
|
|
6492
|
-
* Year (2024-2030)
|
|
6493
|
-
*/
|
|
6494
|
-
year: number;
|
|
6495
|
-
/**
|
|
6496
|
-
* Month
|
|
6497
|
-
* Month (1-12)
|
|
6498
|
-
*/
|
|
6499
|
-
month: number;
|
|
6500
6140
|
/**
|
|
6501
6141
|
* Graph Id
|
|
6502
6142
|
*/
|
|
6503
6143
|
graph_id: string;
|
|
6504
6144
|
};
|
|
6505
6145
|
query?: never;
|
|
6506
|
-
url: '/v1/graphs/{graph_id}/
|
|
6146
|
+
url: '/v1/graphs/{graph_id}/schema/validate';
|
|
6507
6147
|
};
|
|
6508
|
-
export type
|
|
6148
|
+
export type ValidateSchemaErrors = {
|
|
6509
6149
|
/**
|
|
6510
|
-
* Invalid
|
|
6150
|
+
* Invalid schema format
|
|
6511
6151
|
*/
|
|
6512
6152
|
400: ErrorResponse;
|
|
6513
6153
|
/**
|
|
@@ -6515,29 +6155,22 @@ export type GetGraphMonthlyBillErrors = {
|
|
|
6515
6155
|
*/
|
|
6516
6156
|
403: ErrorResponse;
|
|
6517
6157
|
/**
|
|
6518
|
-
*
|
|
6519
|
-
*/
|
|
6520
|
-
404: ErrorResponse;
|
|
6521
|
-
/**
|
|
6522
|
-
* Validation Error
|
|
6158
|
+
* Schema validation failed
|
|
6523
6159
|
*/
|
|
6524
|
-
422:
|
|
6160
|
+
422: ErrorResponse;
|
|
6525
6161
|
/**
|
|
6526
|
-
*
|
|
6162
|
+
* Validation error
|
|
6527
6163
|
*/
|
|
6528
6164
|
500: ErrorResponse;
|
|
6529
6165
|
};
|
|
6530
|
-
export type
|
|
6531
|
-
export type
|
|
6166
|
+
export type ValidateSchemaError = ValidateSchemaErrors[keyof ValidateSchemaErrors];
|
|
6167
|
+
export type ValidateSchemaResponses = {
|
|
6532
6168
|
/**
|
|
6533
|
-
*
|
|
6534
|
-
* Monthly bill retrieved successfully
|
|
6169
|
+
* Schema validation completed
|
|
6535
6170
|
*/
|
|
6536
|
-
200:
|
|
6537
|
-
[key: string]: unknown;
|
|
6538
|
-
};
|
|
6171
|
+
200: SchemaValidationResponse;
|
|
6539
6172
|
};
|
|
6540
|
-
export type
|
|
6173
|
+
export type ValidateSchemaResponse = ValidateSchemaResponses[keyof ValidateSchemaResponses];
|
|
6541
6174
|
export type GetCreditSummaryData = {
|
|
6542
6175
|
body?: never;
|
|
6543
6176
|
path: {
|
|
@@ -7083,6 +6716,134 @@ export type GetSubgraphQuotaResponses = {
|
|
|
7083
6716
|
200: SubgraphQuotaResponse;
|
|
7084
6717
|
};
|
|
7085
6718
|
export type GetSubgraphQuotaResponse = GetSubgraphQuotaResponses[keyof GetSubgraphQuotaResponses];
|
|
6719
|
+
export type CancelSubscriptionData = {
|
|
6720
|
+
body?: never;
|
|
6721
|
+
path: {
|
|
6722
|
+
/**
|
|
6723
|
+
* Graph Id
|
|
6724
|
+
* Graph ID or repository name
|
|
6725
|
+
*/
|
|
6726
|
+
graph_id: string;
|
|
6727
|
+
};
|
|
6728
|
+
query?: never;
|
|
6729
|
+
url: '/v1/graphs/{graph_id}/subscriptions';
|
|
6730
|
+
};
|
|
6731
|
+
export type CancelSubscriptionErrors = {
|
|
6732
|
+
/**
|
|
6733
|
+
* Cannot cancel graph subscriptions directly
|
|
6734
|
+
*/
|
|
6735
|
+
400: unknown;
|
|
6736
|
+
/**
|
|
6737
|
+
* No subscription found
|
|
6738
|
+
*/
|
|
6739
|
+
404: unknown;
|
|
6740
|
+
/**
|
|
6741
|
+
* Validation Error
|
|
6742
|
+
*/
|
|
6743
|
+
422: HttpValidationError;
|
|
6744
|
+
};
|
|
6745
|
+
export type CancelSubscriptionError = CancelSubscriptionErrors[keyof CancelSubscriptionErrors];
|
|
6746
|
+
export type CancelSubscriptionResponses = {
|
|
6747
|
+
/**
|
|
6748
|
+
* Subscription canceled successfully
|
|
6749
|
+
*/
|
|
6750
|
+
200: CancellationResponse;
|
|
6751
|
+
};
|
|
6752
|
+
export type CancelSubscriptionResponse = CancelSubscriptionResponses[keyof CancelSubscriptionResponses];
|
|
6753
|
+
export type GetGraphSubscriptionData = {
|
|
6754
|
+
body?: never;
|
|
6755
|
+
path: {
|
|
6756
|
+
/**
|
|
6757
|
+
* Graph Id
|
|
6758
|
+
* Graph ID or repository name
|
|
6759
|
+
*/
|
|
6760
|
+
graph_id: string;
|
|
6761
|
+
};
|
|
6762
|
+
query?: never;
|
|
6763
|
+
url: '/v1/graphs/{graph_id}/subscriptions';
|
|
6764
|
+
};
|
|
6765
|
+
export type GetGraphSubscriptionErrors = {
|
|
6766
|
+
/**
|
|
6767
|
+
* No subscription found
|
|
6768
|
+
*/
|
|
6769
|
+
404: unknown;
|
|
6770
|
+
/**
|
|
6771
|
+
* Validation Error
|
|
6772
|
+
*/
|
|
6773
|
+
422: HttpValidationError;
|
|
6774
|
+
};
|
|
6775
|
+
export type GetGraphSubscriptionError = GetGraphSubscriptionErrors[keyof GetGraphSubscriptionErrors];
|
|
6776
|
+
export type GetGraphSubscriptionResponses = {
|
|
6777
|
+
/**
|
|
6778
|
+
* Subscription retrieved successfully
|
|
6779
|
+
*/
|
|
6780
|
+
200: GraphSubscriptionResponse;
|
|
6781
|
+
};
|
|
6782
|
+
export type GetGraphSubscriptionResponse = GetGraphSubscriptionResponses[keyof GetGraphSubscriptionResponses];
|
|
6783
|
+
export type CreateRepositorySubscriptionData = {
|
|
6784
|
+
body: CreateRepositorySubscriptionRequest;
|
|
6785
|
+
path: {
|
|
6786
|
+
/**
|
|
6787
|
+
* Graph Id
|
|
6788
|
+
* Repository name (e.g., 'sec', 'industry')
|
|
6789
|
+
*/
|
|
6790
|
+
graph_id: string;
|
|
6791
|
+
};
|
|
6792
|
+
query?: never;
|
|
6793
|
+
url: '/v1/graphs/{graph_id}/subscriptions';
|
|
6794
|
+
};
|
|
6795
|
+
export type CreateRepositorySubscriptionErrors = {
|
|
6796
|
+
/**
|
|
6797
|
+
* Invalid request - cannot create subscription for user graphs
|
|
6798
|
+
*/
|
|
6799
|
+
400: unknown;
|
|
6800
|
+
/**
|
|
6801
|
+
* User already has a subscription to this repository
|
|
6802
|
+
*/
|
|
6803
|
+
409: unknown;
|
|
6804
|
+
/**
|
|
6805
|
+
* Validation Error
|
|
6806
|
+
*/
|
|
6807
|
+
422: HttpValidationError;
|
|
6808
|
+
};
|
|
6809
|
+
export type CreateRepositorySubscriptionError = CreateRepositorySubscriptionErrors[keyof CreateRepositorySubscriptionErrors];
|
|
6810
|
+
export type CreateRepositorySubscriptionResponses = {
|
|
6811
|
+
/**
|
|
6812
|
+
* Repository subscription created successfully
|
|
6813
|
+
*/
|
|
6814
|
+
201: GraphSubscriptionResponse;
|
|
6815
|
+
};
|
|
6816
|
+
export type CreateRepositorySubscriptionResponse = CreateRepositorySubscriptionResponses[keyof CreateRepositorySubscriptionResponses];
|
|
6817
|
+
export type UpgradeSubscriptionData = {
|
|
6818
|
+
body: UpgradeSubscriptionRequest;
|
|
6819
|
+
path: {
|
|
6820
|
+
/**
|
|
6821
|
+
* Graph Id
|
|
6822
|
+
* Graph ID or repository name
|
|
6823
|
+
*/
|
|
6824
|
+
graph_id: string;
|
|
6825
|
+
};
|
|
6826
|
+
query?: never;
|
|
6827
|
+
url: '/v1/graphs/{graph_id}/subscriptions/upgrade';
|
|
6828
|
+
};
|
|
6829
|
+
export type UpgradeSubscriptionErrors = {
|
|
6830
|
+
/**
|
|
6831
|
+
* No subscription found
|
|
6832
|
+
*/
|
|
6833
|
+
404: unknown;
|
|
6834
|
+
/**
|
|
6835
|
+
* Validation Error
|
|
6836
|
+
*/
|
|
6837
|
+
422: HttpValidationError;
|
|
6838
|
+
};
|
|
6839
|
+
export type UpgradeSubscriptionError = UpgradeSubscriptionErrors[keyof UpgradeSubscriptionErrors];
|
|
6840
|
+
export type UpgradeSubscriptionResponses = {
|
|
6841
|
+
/**
|
|
6842
|
+
* Subscription upgraded successfully
|
|
6843
|
+
*/
|
|
6844
|
+
200: GraphSubscriptionResponse;
|
|
6845
|
+
};
|
|
6846
|
+
export type UpgradeSubscriptionResponse = UpgradeSubscriptionResponses[keyof UpgradeSubscriptionResponses];
|
|
7086
6847
|
export type ListTablesData = {
|
|
7087
6848
|
body?: never;
|
|
7088
6849
|
path: {
|
|
@@ -7754,6 +7515,188 @@ export type CancelOperationResponses = {
|
|
|
7754
7515
|
};
|
|
7755
7516
|
};
|
|
7756
7517
|
export type CancelOperationResponse = CancelOperationResponses[keyof CancelOperationResponses];
|
|
7518
|
+
export type CreateCheckoutSessionData = {
|
|
7519
|
+
body: CreateCheckoutRequest;
|
|
7520
|
+
path?: never;
|
|
7521
|
+
query?: never;
|
|
7522
|
+
url: '/v1/billing/checkout';
|
|
7523
|
+
};
|
|
7524
|
+
export type CreateCheckoutSessionErrors = {
|
|
7525
|
+
/**
|
|
7526
|
+
* Validation Error
|
|
7527
|
+
*/
|
|
7528
|
+
422: HttpValidationError;
|
|
7529
|
+
};
|
|
7530
|
+
export type CreateCheckoutSessionError = CreateCheckoutSessionErrors[keyof CreateCheckoutSessionErrors];
|
|
7531
|
+
export type CreateCheckoutSessionResponses = {
|
|
7532
|
+
/**
|
|
7533
|
+
* Successful Response
|
|
7534
|
+
*/
|
|
7535
|
+
201: CheckoutResponse;
|
|
7536
|
+
};
|
|
7537
|
+
export type CreateCheckoutSessionResponse = CreateCheckoutSessionResponses[keyof CreateCheckoutSessionResponses];
|
|
7538
|
+
export type GetCheckoutStatusData = {
|
|
7539
|
+
body?: never;
|
|
7540
|
+
path: {
|
|
7541
|
+
/**
|
|
7542
|
+
* Session Id
|
|
7543
|
+
*/
|
|
7544
|
+
session_id: string;
|
|
7545
|
+
};
|
|
7546
|
+
query?: never;
|
|
7547
|
+
url: '/v1/billing/checkout/{session_id}/status';
|
|
7548
|
+
};
|
|
7549
|
+
export type GetCheckoutStatusErrors = {
|
|
7550
|
+
/**
|
|
7551
|
+
* Validation Error
|
|
7552
|
+
*/
|
|
7553
|
+
422: HttpValidationError;
|
|
7554
|
+
};
|
|
7555
|
+
export type GetCheckoutStatusError = GetCheckoutStatusErrors[keyof GetCheckoutStatusErrors];
|
|
7556
|
+
export type GetCheckoutStatusResponses = {
|
|
7557
|
+
/**
|
|
7558
|
+
* Successful Response
|
|
7559
|
+
*/
|
|
7560
|
+
200: CheckoutStatusResponse;
|
|
7561
|
+
};
|
|
7562
|
+
export type GetCheckoutStatusResponse = GetCheckoutStatusResponses[keyof GetCheckoutStatusResponses];
|
|
7563
|
+
export type GetBillingCustomerData = {
|
|
7564
|
+
body?: never;
|
|
7565
|
+
path?: never;
|
|
7566
|
+
query?: never;
|
|
7567
|
+
url: '/v1/billing/customer';
|
|
7568
|
+
};
|
|
7569
|
+
export type GetBillingCustomerResponses = {
|
|
7570
|
+
/**
|
|
7571
|
+
* Successful Response
|
|
7572
|
+
*/
|
|
7573
|
+
200: BillingCustomer;
|
|
7574
|
+
};
|
|
7575
|
+
export type GetBillingCustomerResponse = GetBillingCustomerResponses[keyof GetBillingCustomerResponses];
|
|
7576
|
+
export type UpdatePaymentMethodData = {
|
|
7577
|
+
body: UpdatePaymentMethodRequest;
|
|
7578
|
+
path?: never;
|
|
7579
|
+
query?: never;
|
|
7580
|
+
url: '/v1/billing/customer/payment-method';
|
|
7581
|
+
};
|
|
7582
|
+
export type UpdatePaymentMethodErrors = {
|
|
7583
|
+
/**
|
|
7584
|
+
* Validation Error
|
|
7585
|
+
*/
|
|
7586
|
+
422: HttpValidationError;
|
|
7587
|
+
};
|
|
7588
|
+
export type UpdatePaymentMethodError = UpdatePaymentMethodErrors[keyof UpdatePaymentMethodErrors];
|
|
7589
|
+
export type UpdatePaymentMethodResponses = {
|
|
7590
|
+
/**
|
|
7591
|
+
* Successful Response
|
|
7592
|
+
*/
|
|
7593
|
+
200: UpdatePaymentMethodResponse;
|
|
7594
|
+
};
|
|
7595
|
+
export type UpdatePaymentMethodResponse2 = UpdatePaymentMethodResponses[keyof UpdatePaymentMethodResponses];
|
|
7596
|
+
export type ListInvoicesData = {
|
|
7597
|
+
body?: never;
|
|
7598
|
+
path?: never;
|
|
7599
|
+
query?: {
|
|
7600
|
+
/**
|
|
7601
|
+
* Limit
|
|
7602
|
+
* Number of invoices to return
|
|
7603
|
+
*/
|
|
7604
|
+
limit?: number;
|
|
7605
|
+
};
|
|
7606
|
+
url: '/v1/billing/invoices';
|
|
7607
|
+
};
|
|
7608
|
+
export type ListInvoicesErrors = {
|
|
7609
|
+
/**
|
|
7610
|
+
* Validation Error
|
|
7611
|
+
*/
|
|
7612
|
+
422: HttpValidationError;
|
|
7613
|
+
};
|
|
7614
|
+
export type ListInvoicesError = ListInvoicesErrors[keyof ListInvoicesErrors];
|
|
7615
|
+
export type ListInvoicesResponses = {
|
|
7616
|
+
/**
|
|
7617
|
+
* Successful Response
|
|
7618
|
+
*/
|
|
7619
|
+
200: InvoicesResponse;
|
|
7620
|
+
};
|
|
7621
|
+
export type ListInvoicesResponse = ListInvoicesResponses[keyof ListInvoicesResponses];
|
|
7622
|
+
export type GetUpcomingInvoiceData = {
|
|
7623
|
+
body?: never;
|
|
7624
|
+
path?: never;
|
|
7625
|
+
query?: never;
|
|
7626
|
+
url: '/v1/billing/invoices/upcoming';
|
|
7627
|
+
};
|
|
7628
|
+
export type GetUpcomingInvoiceResponses = {
|
|
7629
|
+
/**
|
|
7630
|
+
* Response Getupcominginvoice
|
|
7631
|
+
* Successful Response
|
|
7632
|
+
*/
|
|
7633
|
+
200: UpcomingInvoice | null;
|
|
7634
|
+
};
|
|
7635
|
+
export type GetUpcomingInvoiceResponse = GetUpcomingInvoiceResponses[keyof GetUpcomingInvoiceResponses];
|
|
7636
|
+
export type ListSubscriptionsData = {
|
|
7637
|
+
body?: never;
|
|
7638
|
+
path?: never;
|
|
7639
|
+
query?: never;
|
|
7640
|
+
url: '/v1/billing/subscriptions';
|
|
7641
|
+
};
|
|
7642
|
+
export type ListSubscriptionsResponses = {
|
|
7643
|
+
/**
|
|
7644
|
+
* Response Listsubscriptions
|
|
7645
|
+
* Successful Response
|
|
7646
|
+
*/
|
|
7647
|
+
200: Array<GraphSubscriptionResponse>;
|
|
7648
|
+
};
|
|
7649
|
+
export type ListSubscriptionsResponse = ListSubscriptionsResponses[keyof ListSubscriptionsResponses];
|
|
7650
|
+
export type GetSubscriptionData = {
|
|
7651
|
+
body?: never;
|
|
7652
|
+
path: {
|
|
7653
|
+
/**
|
|
7654
|
+
* Subscription Id
|
|
7655
|
+
*/
|
|
7656
|
+
subscription_id: string;
|
|
7657
|
+
};
|
|
7658
|
+
query?: never;
|
|
7659
|
+
url: '/v1/billing/subscriptions/{subscription_id}';
|
|
7660
|
+
};
|
|
7661
|
+
export type GetSubscriptionErrors = {
|
|
7662
|
+
/**
|
|
7663
|
+
* Validation Error
|
|
7664
|
+
*/
|
|
7665
|
+
422: HttpValidationError;
|
|
7666
|
+
};
|
|
7667
|
+
export type GetSubscriptionError = GetSubscriptionErrors[keyof GetSubscriptionErrors];
|
|
7668
|
+
export type GetSubscriptionResponses = {
|
|
7669
|
+
/**
|
|
7670
|
+
* Successful Response
|
|
7671
|
+
*/
|
|
7672
|
+
200: GraphSubscriptionResponse;
|
|
7673
|
+
};
|
|
7674
|
+
export type GetSubscriptionResponse = GetSubscriptionResponses[keyof GetSubscriptionResponses];
|
|
7675
|
+
export type CancelSubscription2Data = {
|
|
7676
|
+
body?: never;
|
|
7677
|
+
path: {
|
|
7678
|
+
/**
|
|
7679
|
+
* Subscription Id
|
|
7680
|
+
*/
|
|
7681
|
+
subscription_id: string;
|
|
7682
|
+
};
|
|
7683
|
+
query?: never;
|
|
7684
|
+
url: '/v1/billing/subscriptions/{subscription_id}/cancel';
|
|
7685
|
+
};
|
|
7686
|
+
export type CancelSubscription2Errors = {
|
|
7687
|
+
/**
|
|
7688
|
+
* Validation Error
|
|
7689
|
+
*/
|
|
7690
|
+
422: HttpValidationError;
|
|
7691
|
+
};
|
|
7692
|
+
export type CancelSubscription2Error = CancelSubscription2Errors[keyof CancelSubscription2Errors];
|
|
7693
|
+
export type CancelSubscription2Responses = {
|
|
7694
|
+
/**
|
|
7695
|
+
* Successful Response
|
|
7696
|
+
*/
|
|
7697
|
+
200: GraphSubscriptionResponse;
|
|
7698
|
+
};
|
|
7699
|
+
export type CancelSubscription2Response = CancelSubscription2Responses[keyof CancelSubscription2Responses];
|
|
7757
7700
|
export type ClientOptions = {
|
|
7758
7701
|
baseUrl: 'http://localhost:8000';
|
|
7759
7702
|
};
|