@robosystems/client 0.2.9 → 0.2.11
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 +181 -8
- package/sdk/sdk.gen.js +513 -11
- package/sdk/sdk.gen.ts +511 -10
- package/sdk/types.gen.d.ts +1320 -209
- package/sdk/types.gen.ts +1412 -183
- package/sdk.gen.d.ts +181 -8
- package/sdk.gen.js +513 -11
- package/sdk.gen.ts +511 -10
- package/types.gen.d.ts +1320 -209
- package/types.gen.ts +1412 -183
package/sdk/types.gen.d.ts
CHANGED
|
@@ -362,6 +362,13 @@ export type AuthResponse = {
|
|
|
362
362
|
user: {
|
|
363
363
|
[key: string]: unknown;
|
|
364
364
|
};
|
|
365
|
+
/**
|
|
366
|
+
* Org
|
|
367
|
+
* Organization information (personal org created automatically on registration)
|
|
368
|
+
*/
|
|
369
|
+
org?: {
|
|
370
|
+
[key: string]: unknown;
|
|
371
|
+
} | null;
|
|
365
372
|
/**
|
|
366
373
|
* Message
|
|
367
374
|
* Success message
|
|
@@ -705,6 +712,42 @@ export type BatchAgentResponse = {
|
|
|
705
712
|
*/
|
|
706
713
|
parallel_processed: boolean;
|
|
707
714
|
};
|
|
715
|
+
/**
|
|
716
|
+
* BillingCustomer
|
|
717
|
+
* Billing customer information for an organization.
|
|
718
|
+
*/
|
|
719
|
+
export type BillingCustomer = {
|
|
720
|
+
/**
|
|
721
|
+
* Org Id
|
|
722
|
+
* Organization ID
|
|
723
|
+
*/
|
|
724
|
+
org_id: string;
|
|
725
|
+
/**
|
|
726
|
+
* Has Payment Method
|
|
727
|
+
* Whether organization has a payment method on file
|
|
728
|
+
*/
|
|
729
|
+
has_payment_method: boolean;
|
|
730
|
+
/**
|
|
731
|
+
* Invoice Billing Enabled
|
|
732
|
+
* Whether invoice billing is enabled (enterprise customers)
|
|
733
|
+
*/
|
|
734
|
+
invoice_billing_enabled: boolean;
|
|
735
|
+
/**
|
|
736
|
+
* Payment Methods
|
|
737
|
+
* List of payment methods on file
|
|
738
|
+
*/
|
|
739
|
+
payment_methods: Array<PaymentMethod>;
|
|
740
|
+
/**
|
|
741
|
+
* Stripe Customer Id
|
|
742
|
+
* Stripe customer ID if applicable
|
|
743
|
+
*/
|
|
744
|
+
stripe_customer_id?: string | null;
|
|
745
|
+
/**
|
|
746
|
+
* Created At
|
|
747
|
+
* Customer creation timestamp (ISO format)
|
|
748
|
+
*/
|
|
749
|
+
created_at: string;
|
|
750
|
+
};
|
|
708
751
|
/**
|
|
709
752
|
* BulkIngestRequest
|
|
710
753
|
*/
|
|
@@ -791,6 +834,68 @@ export type CancellationResponse = {
|
|
|
791
834
|
*/
|
|
792
835
|
cancelled_at: string;
|
|
793
836
|
};
|
|
837
|
+
/**
|
|
838
|
+
* CheckoutResponse
|
|
839
|
+
* Response from checkout session creation.
|
|
840
|
+
*/
|
|
841
|
+
export type CheckoutResponse = {
|
|
842
|
+
/**
|
|
843
|
+
* Checkout Url
|
|
844
|
+
* URL to redirect user to for payment
|
|
845
|
+
*/
|
|
846
|
+
checkout_url?: string | null;
|
|
847
|
+
/**
|
|
848
|
+
* Session Id
|
|
849
|
+
* Checkout session ID for status polling
|
|
850
|
+
*/
|
|
851
|
+
session_id?: string | null;
|
|
852
|
+
/**
|
|
853
|
+
* Subscription Id
|
|
854
|
+
* Internal subscription ID
|
|
855
|
+
*/
|
|
856
|
+
subscription_id?: string | null;
|
|
857
|
+
/**
|
|
858
|
+
* Requires Checkout
|
|
859
|
+
* Whether checkout is required
|
|
860
|
+
*/
|
|
861
|
+
requires_checkout?: boolean;
|
|
862
|
+
/**
|
|
863
|
+
* Billing Disabled
|
|
864
|
+
* Whether billing is disabled on this instance
|
|
865
|
+
*/
|
|
866
|
+
billing_disabled?: boolean;
|
|
867
|
+
};
|
|
868
|
+
/**
|
|
869
|
+
* CheckoutStatusResponse
|
|
870
|
+
* Status of a checkout session.
|
|
871
|
+
*/
|
|
872
|
+
export type CheckoutStatusResponse = {
|
|
873
|
+
/**
|
|
874
|
+
* Status
|
|
875
|
+
* Checkout status: 'pending_payment', 'provisioning', 'completed', 'failed'
|
|
876
|
+
*/
|
|
877
|
+
status: string;
|
|
878
|
+
/**
|
|
879
|
+
* Subscription Id
|
|
880
|
+
* Internal subscription ID
|
|
881
|
+
*/
|
|
882
|
+
subscription_id: string;
|
|
883
|
+
/**
|
|
884
|
+
* Resource Id
|
|
885
|
+
* Resource ID (graph_id or repository name) once provisioned
|
|
886
|
+
*/
|
|
887
|
+
resource_id?: string | null;
|
|
888
|
+
/**
|
|
889
|
+
* Operation Id
|
|
890
|
+
* SSE operation ID for monitoring provisioning progress
|
|
891
|
+
*/
|
|
892
|
+
operation_id?: string | null;
|
|
893
|
+
/**
|
|
894
|
+
* Error
|
|
895
|
+
* Error message if checkout failed
|
|
896
|
+
*/
|
|
897
|
+
error?: string | null;
|
|
898
|
+
};
|
|
794
899
|
/**
|
|
795
900
|
* ConnectionOptionsResponse
|
|
796
901
|
* Response with all available connection options.
|
|
@@ -993,6 +1098,29 @@ export type CreateApiKeyResponse = {
|
|
|
993
1098
|
*/
|
|
994
1099
|
key: string;
|
|
995
1100
|
};
|
|
1101
|
+
/**
|
|
1102
|
+
* CreateCheckoutRequest
|
|
1103
|
+
* Request to create a checkout session for payment collection.
|
|
1104
|
+
*/
|
|
1105
|
+
export type CreateCheckoutRequest = {
|
|
1106
|
+
/**
|
|
1107
|
+
* Plan Name
|
|
1108
|
+
* Billing plan name (e.g., 'kuzu-standard')
|
|
1109
|
+
*/
|
|
1110
|
+
plan_name: string;
|
|
1111
|
+
/**
|
|
1112
|
+
* Resource Type
|
|
1113
|
+
* Resource type ('graph' or 'repository')
|
|
1114
|
+
*/
|
|
1115
|
+
resource_type: string;
|
|
1116
|
+
/**
|
|
1117
|
+
* Resource Config
|
|
1118
|
+
* Configuration for the resource to be provisioned
|
|
1119
|
+
*/
|
|
1120
|
+
resource_config: {
|
|
1121
|
+
[key: string]: unknown;
|
|
1122
|
+
};
|
|
1123
|
+
};
|
|
996
1124
|
/**
|
|
997
1125
|
* CreateConnectionRequest
|
|
998
1126
|
* Request to create a new connection.
|
|
@@ -1049,6 +1177,17 @@ export type CreateGraphRequest = {
|
|
|
1049
1177
|
*/
|
|
1050
1178
|
tags?: Array<string>;
|
|
1051
1179
|
};
|
|
1180
|
+
/**
|
|
1181
|
+
* CreateOrgRequest
|
|
1182
|
+
* Request to create an organization.
|
|
1183
|
+
*/
|
|
1184
|
+
export type CreateOrgRequest = {
|
|
1185
|
+
/**
|
|
1186
|
+
* Name
|
|
1187
|
+
*/
|
|
1188
|
+
name: string;
|
|
1189
|
+
org_type?: OrgType;
|
|
1190
|
+
};
|
|
1052
1191
|
/**
|
|
1053
1192
|
* CreateRepositorySubscriptionRequest
|
|
1054
1193
|
* Request to create a repository subscription.
|
|
@@ -2068,12 +2207,15 @@ export type GraphSubscriptionResponse = {
|
|
|
2068
2207
|
};
|
|
2069
2208
|
/**
|
|
2070
2209
|
* GraphSubscriptionTier
|
|
2071
|
-
* Information about a graph
|
|
2210
|
+
* Information about a graph infrastructure tier.
|
|
2211
|
+
*
|
|
2212
|
+
* Each tier represents a per-graph subscription option with specific
|
|
2213
|
+
* infrastructure, performance, and pricing characteristics.
|
|
2072
2214
|
*/
|
|
2073
2215
|
export type GraphSubscriptionTier = {
|
|
2074
2216
|
/**
|
|
2075
2217
|
* Name
|
|
2076
|
-
*
|
|
2218
|
+
* Infrastructure tier identifier (e.g., kuzu-standard)
|
|
2077
2219
|
*/
|
|
2078
2220
|
name: string;
|
|
2079
2221
|
/**
|
|
@@ -2087,15 +2229,15 @@ export type GraphSubscriptionTier = {
|
|
|
2087
2229
|
*/
|
|
2088
2230
|
description: string;
|
|
2089
2231
|
/**
|
|
2090
|
-
* Monthly Price
|
|
2091
|
-
* Monthly price in USD
|
|
2232
|
+
* Monthly Price Per Graph
|
|
2233
|
+
* Monthly price in USD per graph
|
|
2092
2234
|
*/
|
|
2093
|
-
|
|
2235
|
+
monthly_price_per_graph: number;
|
|
2094
2236
|
/**
|
|
2095
|
-
* Monthly Credits
|
|
2096
|
-
* Monthly AI credits
|
|
2237
|
+
* Monthly Credits Per Graph
|
|
2238
|
+
* Monthly AI credits per graph
|
|
2097
2239
|
*/
|
|
2098
|
-
|
|
2240
|
+
monthly_credits_per_graph: number;
|
|
2099
2241
|
/**
|
|
2100
2242
|
* Storage Included Gb
|
|
2101
2243
|
* Storage included in GB
|
|
@@ -2107,10 +2249,10 @@ export type GraphSubscriptionTier = {
|
|
|
2107
2249
|
*/
|
|
2108
2250
|
storage_overage_per_gb: number;
|
|
2109
2251
|
/**
|
|
2110
|
-
*
|
|
2111
|
-
*
|
|
2252
|
+
* Infrastructure
|
|
2253
|
+
* Infrastructure description
|
|
2112
2254
|
*/
|
|
2113
|
-
|
|
2255
|
+
infrastructure: string;
|
|
2114
2256
|
/**
|
|
2115
2257
|
* Features
|
|
2116
2258
|
* List of features
|
|
@@ -2133,9 +2275,9 @@ export type GraphSubscriptionTier = {
|
|
|
2133
2275
|
max_queries_per_hour?: number | null;
|
|
2134
2276
|
/**
|
|
2135
2277
|
* Max Subgraphs
|
|
2136
|
-
* Maximum subgraphs
|
|
2278
|
+
* Maximum subgraphs supported
|
|
2137
2279
|
*/
|
|
2138
|
-
max_subgraphs?: number
|
|
2280
|
+
max_subgraphs?: number;
|
|
2139
2281
|
/**
|
|
2140
2282
|
* Api Rate Multiplier
|
|
2141
2283
|
* API rate multiplier
|
|
@@ -2155,6 +2297,10 @@ export type GraphSubscriptionTier = {
|
|
|
2155
2297
|
/**
|
|
2156
2298
|
* GraphSubscriptions
|
|
2157
2299
|
* Graph subscription offerings.
|
|
2300
|
+
*
|
|
2301
|
+
* Graph subscriptions are per-graph, not per-organization. Each graph
|
|
2302
|
+
* created by an organization has its own subscription with its own
|
|
2303
|
+
* infrastructure tier, pricing, and credit allocation.
|
|
2158
2304
|
*/
|
|
2159
2305
|
export type GraphSubscriptions = {
|
|
2160
2306
|
/**
|
|
@@ -2162,9 +2308,14 @@ export type GraphSubscriptions = {
|
|
|
2162
2308
|
* Description of graph subscriptions
|
|
2163
2309
|
*/
|
|
2164
2310
|
description: string;
|
|
2311
|
+
/**
|
|
2312
|
+
* Pricing Model
|
|
2313
|
+
* Pricing model type (per_graph or per_organization)
|
|
2314
|
+
*/
|
|
2315
|
+
pricing_model: string;
|
|
2165
2316
|
/**
|
|
2166
2317
|
* Tiers
|
|
2167
|
-
* Available tiers
|
|
2318
|
+
* Available infrastructure tiers
|
|
2168
2319
|
*/
|
|
2169
2320
|
tiers: Array<GraphSubscriptionTier>;
|
|
2170
2321
|
/**
|
|
@@ -2479,6 +2630,140 @@ export type InitialEntityData = {
|
|
|
2479
2630
|
*/
|
|
2480
2631
|
ein?: string | null;
|
|
2481
2632
|
};
|
|
2633
|
+
/**
|
|
2634
|
+
* InviteMemberRequest
|
|
2635
|
+
* Request to invite a member to an organization.
|
|
2636
|
+
*/
|
|
2637
|
+
export type InviteMemberRequest = {
|
|
2638
|
+
/**
|
|
2639
|
+
* Email
|
|
2640
|
+
*/
|
|
2641
|
+
email: string;
|
|
2642
|
+
role?: OrgRole | null;
|
|
2643
|
+
};
|
|
2644
|
+
/**
|
|
2645
|
+
* Invoice
|
|
2646
|
+
* Invoice information.
|
|
2647
|
+
*/
|
|
2648
|
+
export type Invoice = {
|
|
2649
|
+
/**
|
|
2650
|
+
* Id
|
|
2651
|
+
* Invoice ID
|
|
2652
|
+
*/
|
|
2653
|
+
id: string;
|
|
2654
|
+
/**
|
|
2655
|
+
* Number
|
|
2656
|
+
* Invoice number
|
|
2657
|
+
*/
|
|
2658
|
+
number?: string | null;
|
|
2659
|
+
/**
|
|
2660
|
+
* Status
|
|
2661
|
+
* Invoice status (paid, open, void, uncollectible)
|
|
2662
|
+
*/
|
|
2663
|
+
status: string;
|
|
2664
|
+
/**
|
|
2665
|
+
* Amount Due
|
|
2666
|
+
* Amount due in cents
|
|
2667
|
+
*/
|
|
2668
|
+
amount_due: number;
|
|
2669
|
+
/**
|
|
2670
|
+
* Amount Paid
|
|
2671
|
+
* Amount paid in cents
|
|
2672
|
+
*/
|
|
2673
|
+
amount_paid: number;
|
|
2674
|
+
/**
|
|
2675
|
+
* Currency
|
|
2676
|
+
* Currency code (usd)
|
|
2677
|
+
*/
|
|
2678
|
+
currency: string;
|
|
2679
|
+
/**
|
|
2680
|
+
* Created
|
|
2681
|
+
* Invoice creation date (ISO format)
|
|
2682
|
+
*/
|
|
2683
|
+
created: string;
|
|
2684
|
+
/**
|
|
2685
|
+
* Due Date
|
|
2686
|
+
* Invoice due date (ISO format)
|
|
2687
|
+
*/
|
|
2688
|
+
due_date?: string | null;
|
|
2689
|
+
/**
|
|
2690
|
+
* Paid At
|
|
2691
|
+
* Payment date (ISO format)
|
|
2692
|
+
*/
|
|
2693
|
+
paid_at?: string | null;
|
|
2694
|
+
/**
|
|
2695
|
+
* Invoice Pdf
|
|
2696
|
+
* PDF download URL
|
|
2697
|
+
*/
|
|
2698
|
+
invoice_pdf?: string | null;
|
|
2699
|
+
/**
|
|
2700
|
+
* Hosted Invoice Url
|
|
2701
|
+
* Hosted invoice URL
|
|
2702
|
+
*/
|
|
2703
|
+
hosted_invoice_url?: string | null;
|
|
2704
|
+
/**
|
|
2705
|
+
* Line Items
|
|
2706
|
+
* Invoice line items
|
|
2707
|
+
*/
|
|
2708
|
+
line_items: Array<InvoiceLineItem>;
|
|
2709
|
+
/**
|
|
2710
|
+
* Subscription Id
|
|
2711
|
+
* Associated subscription ID
|
|
2712
|
+
*/
|
|
2713
|
+
subscription_id?: string | null;
|
|
2714
|
+
};
|
|
2715
|
+
/**
|
|
2716
|
+
* InvoiceLineItem
|
|
2717
|
+
* Invoice line item.
|
|
2718
|
+
*/
|
|
2719
|
+
export type InvoiceLineItem = {
|
|
2720
|
+
/**
|
|
2721
|
+
* Description
|
|
2722
|
+
* Line item description
|
|
2723
|
+
*/
|
|
2724
|
+
description: string;
|
|
2725
|
+
/**
|
|
2726
|
+
* Amount
|
|
2727
|
+
* Amount in cents
|
|
2728
|
+
*/
|
|
2729
|
+
amount: number;
|
|
2730
|
+
/**
|
|
2731
|
+
* Quantity
|
|
2732
|
+
* Quantity
|
|
2733
|
+
*/
|
|
2734
|
+
quantity: number;
|
|
2735
|
+
/**
|
|
2736
|
+
* Period Start
|
|
2737
|
+
* Billing period start
|
|
2738
|
+
*/
|
|
2739
|
+
period_start?: string | null;
|
|
2740
|
+
/**
|
|
2741
|
+
* Period End
|
|
2742
|
+
* Billing period end
|
|
2743
|
+
*/
|
|
2744
|
+
period_end?: string | null;
|
|
2745
|
+
};
|
|
2746
|
+
/**
|
|
2747
|
+
* InvoicesResponse
|
|
2748
|
+
* Response for invoice list.
|
|
2749
|
+
*/
|
|
2750
|
+
export type InvoicesResponse = {
|
|
2751
|
+
/**
|
|
2752
|
+
* Invoices
|
|
2753
|
+
* List of invoices
|
|
2754
|
+
*/
|
|
2755
|
+
invoices: Array<Invoice>;
|
|
2756
|
+
/**
|
|
2757
|
+
* Total Count
|
|
2758
|
+
* Total number of invoices
|
|
2759
|
+
*/
|
|
2760
|
+
total_count: number;
|
|
2761
|
+
/**
|
|
2762
|
+
* Has More
|
|
2763
|
+
* Whether more invoices are available
|
|
2764
|
+
*/
|
|
2765
|
+
has_more: boolean;
|
|
2766
|
+
};
|
|
2482
2767
|
/**
|
|
2483
2768
|
* LinkTokenRequest
|
|
2484
2769
|
* Request to create a link token for embedded authentication.
|
|
@@ -2784,120 +3069,415 @@ export type OperationCosts = {
|
|
|
2784
3069
|
notes: Array<string>;
|
|
2785
3070
|
};
|
|
2786
3071
|
/**
|
|
2787
|
-
*
|
|
2788
|
-
*
|
|
2789
|
-
*/
|
|
2790
|
-
export type PasswordCheckRequest = {
|
|
2791
|
-
/**
|
|
2792
|
-
* Password
|
|
2793
|
-
* Password to check
|
|
2794
|
-
*/
|
|
2795
|
-
password: string;
|
|
2796
|
-
/**
|
|
2797
|
-
* Email
|
|
2798
|
-
* User email for personalization checks
|
|
2799
|
-
*/
|
|
2800
|
-
email?: string | null;
|
|
2801
|
-
};
|
|
2802
|
-
/**
|
|
2803
|
-
* PasswordCheckResponse
|
|
2804
|
-
* Password strength check response model.
|
|
3072
|
+
* OrgDetailResponse
|
|
3073
|
+
* Detailed organization response.
|
|
2805
3074
|
*/
|
|
2806
|
-
export type
|
|
3075
|
+
export type OrgDetailResponse = {
|
|
2807
3076
|
/**
|
|
2808
|
-
*
|
|
2809
|
-
* Whether password meets requirements
|
|
3077
|
+
* Id
|
|
2810
3078
|
*/
|
|
2811
|
-
|
|
3079
|
+
id: string;
|
|
2812
3080
|
/**
|
|
2813
|
-
*
|
|
2814
|
-
* Password strength level
|
|
3081
|
+
* Name
|
|
2815
3082
|
*/
|
|
2816
|
-
|
|
3083
|
+
name: string;
|
|
3084
|
+
org_type: OrgType;
|
|
3085
|
+
user_role: OrgRole;
|
|
2817
3086
|
/**
|
|
2818
|
-
*
|
|
2819
|
-
* Password strength score (0-100)
|
|
3087
|
+
* Members
|
|
2820
3088
|
*/
|
|
2821
|
-
|
|
3089
|
+
members: Array<{
|
|
3090
|
+
[key: string]: unknown;
|
|
3091
|
+
}>;
|
|
2822
3092
|
/**
|
|
2823
|
-
*
|
|
2824
|
-
* Validation errors
|
|
3093
|
+
* Graphs
|
|
2825
3094
|
*/
|
|
2826
|
-
|
|
3095
|
+
graphs: Array<{
|
|
3096
|
+
[key: string]: unknown;
|
|
3097
|
+
}>;
|
|
2827
3098
|
/**
|
|
2828
|
-
*
|
|
2829
|
-
* Improvement suggestions
|
|
3099
|
+
* Limits
|
|
2830
3100
|
*/
|
|
2831
|
-
|
|
3101
|
+
limits: {
|
|
3102
|
+
[key: string]: unknown;
|
|
3103
|
+
} | null;
|
|
2832
3104
|
/**
|
|
2833
|
-
*
|
|
2834
|
-
* Character type analysis
|
|
3105
|
+
* Created At
|
|
2835
3106
|
*/
|
|
2836
|
-
|
|
2837
|
-
[key: string]: boolean;
|
|
2838
|
-
};
|
|
2839
|
-
};
|
|
2840
|
-
/**
|
|
2841
|
-
* PasswordPolicyResponse
|
|
2842
|
-
* Password policy response model.
|
|
2843
|
-
*/
|
|
2844
|
-
export type PasswordPolicyResponse = {
|
|
3107
|
+
created_at: string;
|
|
2845
3108
|
/**
|
|
2846
|
-
*
|
|
2847
|
-
* Current password policy requirements
|
|
3109
|
+
* Updated At
|
|
2848
3110
|
*/
|
|
2849
|
-
|
|
2850
|
-
[key: string]: unknown;
|
|
2851
|
-
};
|
|
3111
|
+
updated_at: string;
|
|
2852
3112
|
};
|
|
2853
3113
|
/**
|
|
2854
|
-
*
|
|
2855
|
-
*
|
|
3114
|
+
* OrgLimitsResponse
|
|
3115
|
+
* Organization limits response.
|
|
2856
3116
|
*/
|
|
2857
|
-
export type
|
|
3117
|
+
export type OrgLimitsResponse = {
|
|
2858
3118
|
/**
|
|
2859
|
-
*
|
|
2860
|
-
* Analysis period in days
|
|
3119
|
+
* Org Id
|
|
2861
3120
|
*/
|
|
2862
|
-
|
|
3121
|
+
org_id: string;
|
|
2863
3122
|
/**
|
|
2864
|
-
*
|
|
2865
|
-
* Total operations analyzed
|
|
3123
|
+
* Max Graphs
|
|
2866
3124
|
*/
|
|
2867
|
-
|
|
3125
|
+
max_graphs: number;
|
|
2868
3126
|
/**
|
|
2869
|
-
*
|
|
2870
|
-
* Performance stats by operation type
|
|
3127
|
+
* Current Usage
|
|
2871
3128
|
*/
|
|
2872
|
-
|
|
3129
|
+
current_usage: {
|
|
2873
3130
|
[key: string]: unknown;
|
|
2874
3131
|
};
|
|
2875
3132
|
/**
|
|
2876
|
-
*
|
|
2877
|
-
* Top slow queries (over 5 seconds)
|
|
3133
|
+
* Warnings
|
|
2878
3134
|
*/
|
|
2879
|
-
|
|
2880
|
-
[key: string]: unknown;
|
|
2881
|
-
}>;
|
|
3135
|
+
warnings: Array<string>;
|
|
2882
3136
|
/**
|
|
2883
|
-
*
|
|
2884
|
-
* Performance score (0-100)
|
|
3137
|
+
* Can Create Graph
|
|
2885
3138
|
*/
|
|
2886
|
-
|
|
3139
|
+
can_create_graph: boolean;
|
|
2887
3140
|
};
|
|
2888
3141
|
/**
|
|
2889
|
-
*
|
|
2890
|
-
*
|
|
3142
|
+
* OrgListResponse
|
|
3143
|
+
* List of organizations response.
|
|
2891
3144
|
*/
|
|
2892
|
-
export type
|
|
3145
|
+
export type OrgListResponse = {
|
|
2893
3146
|
/**
|
|
2894
|
-
*
|
|
2895
|
-
* Plaid public token for exchange
|
|
3147
|
+
* Orgs
|
|
2896
3148
|
*/
|
|
2897
|
-
|
|
3149
|
+
orgs: Array<OrgResponse>;
|
|
2898
3150
|
/**
|
|
2899
|
-
*
|
|
2900
|
-
|
|
3151
|
+
* Total
|
|
3152
|
+
*/
|
|
3153
|
+
total: number;
|
|
3154
|
+
};
|
|
3155
|
+
/**
|
|
3156
|
+
* OrgMemberListResponse
|
|
3157
|
+
* List of organization members response.
|
|
3158
|
+
*/
|
|
3159
|
+
export type OrgMemberListResponse = {
|
|
3160
|
+
/**
|
|
3161
|
+
* Members
|
|
3162
|
+
*/
|
|
3163
|
+
members: Array<OrgMemberResponse>;
|
|
3164
|
+
/**
|
|
3165
|
+
* Total
|
|
3166
|
+
*/
|
|
3167
|
+
total: number;
|
|
3168
|
+
/**
|
|
3169
|
+
* Org Id
|
|
3170
|
+
*/
|
|
3171
|
+
org_id: string;
|
|
3172
|
+
};
|
|
3173
|
+
/**
|
|
3174
|
+
* OrgMemberResponse
|
|
3175
|
+
* Organization member response.
|
|
3176
|
+
*/
|
|
3177
|
+
export type OrgMemberResponse = {
|
|
3178
|
+
/**
|
|
3179
|
+
* User Id
|
|
3180
|
+
*/
|
|
3181
|
+
user_id: string;
|
|
3182
|
+
/**
|
|
3183
|
+
* Name
|
|
3184
|
+
*/
|
|
3185
|
+
name: string;
|
|
3186
|
+
/**
|
|
3187
|
+
* Email
|
|
3188
|
+
*/
|
|
3189
|
+
email: string;
|
|
3190
|
+
role: OrgRole;
|
|
3191
|
+
/**
|
|
3192
|
+
* Joined At
|
|
3193
|
+
*/
|
|
3194
|
+
joined_at: string;
|
|
3195
|
+
/**
|
|
3196
|
+
* Is Active
|
|
3197
|
+
*/
|
|
3198
|
+
is_active: boolean;
|
|
3199
|
+
};
|
|
3200
|
+
/**
|
|
3201
|
+
* OrgResponse
|
|
3202
|
+
* Organization summary response.
|
|
3203
|
+
*/
|
|
3204
|
+
export type OrgResponse = {
|
|
3205
|
+
/**
|
|
3206
|
+
* Id
|
|
3207
|
+
*/
|
|
3208
|
+
id: string;
|
|
3209
|
+
/**
|
|
3210
|
+
* Name
|
|
3211
|
+
*/
|
|
3212
|
+
name: string;
|
|
3213
|
+
org_type: OrgType;
|
|
3214
|
+
role: OrgRole;
|
|
3215
|
+
/**
|
|
3216
|
+
* Member Count
|
|
3217
|
+
*/
|
|
3218
|
+
member_count: number;
|
|
3219
|
+
/**
|
|
3220
|
+
* Graph Count
|
|
3221
|
+
*/
|
|
3222
|
+
graph_count: number;
|
|
3223
|
+
/**
|
|
3224
|
+
* Created At
|
|
3225
|
+
*/
|
|
3226
|
+
created_at: string;
|
|
3227
|
+
/**
|
|
3228
|
+
* Joined At
|
|
3229
|
+
*/
|
|
3230
|
+
joined_at: string;
|
|
3231
|
+
};
|
|
3232
|
+
/**
|
|
3233
|
+
* OrgRole
|
|
3234
|
+
*/
|
|
3235
|
+
export type OrgRole = 'owner' | 'admin' | 'member';
|
|
3236
|
+
/**
|
|
3237
|
+
* OrgType
|
|
3238
|
+
*/
|
|
3239
|
+
export type OrgType = 'personal' | 'team' | 'enterprise';
|
|
3240
|
+
/**
|
|
3241
|
+
* OrgUsageResponse
|
|
3242
|
+
* Organization usage response.
|
|
3243
|
+
*/
|
|
3244
|
+
export type OrgUsageResponse = {
|
|
3245
|
+
/**
|
|
3246
|
+
* Org Id
|
|
3247
|
+
*/
|
|
3248
|
+
org_id: string;
|
|
3249
|
+
/**
|
|
3250
|
+
* Period Days
|
|
3251
|
+
*/
|
|
3252
|
+
period_days: number;
|
|
3253
|
+
/**
|
|
3254
|
+
* Start Date
|
|
3255
|
+
*/
|
|
3256
|
+
start_date: string;
|
|
3257
|
+
/**
|
|
3258
|
+
* End Date
|
|
3259
|
+
*/
|
|
3260
|
+
end_date: string;
|
|
3261
|
+
summary: OrgUsageSummary;
|
|
3262
|
+
/**
|
|
3263
|
+
* Graph Details
|
|
3264
|
+
*/
|
|
3265
|
+
graph_details: Array<{
|
|
3266
|
+
[key: string]: unknown;
|
|
3267
|
+
}>;
|
|
3268
|
+
/**
|
|
3269
|
+
* Daily Trend
|
|
3270
|
+
*/
|
|
3271
|
+
daily_trend: Array<{
|
|
3272
|
+
[key: string]: unknown;
|
|
3273
|
+
}>;
|
|
3274
|
+
};
|
|
3275
|
+
/**
|
|
3276
|
+
* OrgUsageSummary
|
|
3277
|
+
* Organization usage summary.
|
|
3278
|
+
*/
|
|
3279
|
+
export type OrgUsageSummary = {
|
|
3280
|
+
/**
|
|
3281
|
+
* Total Credits Used
|
|
3282
|
+
*/
|
|
3283
|
+
total_credits_used: number;
|
|
3284
|
+
/**
|
|
3285
|
+
* Total Ai Operations
|
|
3286
|
+
*/
|
|
3287
|
+
total_ai_operations: number;
|
|
3288
|
+
/**
|
|
3289
|
+
* Total Storage Gb
|
|
3290
|
+
*/
|
|
3291
|
+
total_storage_gb: number;
|
|
3292
|
+
/**
|
|
3293
|
+
* Total Api Calls
|
|
3294
|
+
*/
|
|
3295
|
+
total_api_calls: number;
|
|
3296
|
+
/**
|
|
3297
|
+
* Daily Avg Credits
|
|
3298
|
+
*/
|
|
3299
|
+
daily_avg_credits: number;
|
|
3300
|
+
/**
|
|
3301
|
+
* Daily Avg Api Calls
|
|
3302
|
+
*/
|
|
3303
|
+
daily_avg_api_calls: number;
|
|
3304
|
+
/**
|
|
3305
|
+
* Projected Monthly Credits
|
|
3306
|
+
*/
|
|
3307
|
+
projected_monthly_credits: number;
|
|
3308
|
+
/**
|
|
3309
|
+
* Projected Monthly Api Calls
|
|
3310
|
+
*/
|
|
3311
|
+
projected_monthly_api_calls: number;
|
|
3312
|
+
/**
|
|
3313
|
+
* Credits Limit
|
|
3314
|
+
*/
|
|
3315
|
+
credits_limit: number | null;
|
|
3316
|
+
/**
|
|
3317
|
+
* Api Calls Limit
|
|
3318
|
+
*/
|
|
3319
|
+
api_calls_limit: number | null;
|
|
3320
|
+
/**
|
|
3321
|
+
* Storage Limit Gb
|
|
3322
|
+
*/
|
|
3323
|
+
storage_limit_gb: number | null;
|
|
3324
|
+
};
|
|
3325
|
+
/**
|
|
3326
|
+
* PasswordCheckRequest
|
|
3327
|
+
* Password strength check request model.
|
|
3328
|
+
*/
|
|
3329
|
+
export type PasswordCheckRequest = {
|
|
3330
|
+
/**
|
|
3331
|
+
* Password
|
|
3332
|
+
* Password to check
|
|
3333
|
+
*/
|
|
3334
|
+
password: string;
|
|
3335
|
+
/**
|
|
3336
|
+
* Email
|
|
3337
|
+
* User email for personalization checks
|
|
3338
|
+
*/
|
|
3339
|
+
email?: string | null;
|
|
3340
|
+
};
|
|
3341
|
+
/**
|
|
3342
|
+
* PasswordCheckResponse
|
|
3343
|
+
* Password strength check response model.
|
|
3344
|
+
*/
|
|
3345
|
+
export type PasswordCheckResponse = {
|
|
3346
|
+
/**
|
|
3347
|
+
* Is Valid
|
|
3348
|
+
* Whether password meets requirements
|
|
3349
|
+
*/
|
|
3350
|
+
is_valid: boolean;
|
|
3351
|
+
/**
|
|
3352
|
+
* Strength
|
|
3353
|
+
* Password strength level
|
|
3354
|
+
*/
|
|
3355
|
+
strength: string;
|
|
3356
|
+
/**
|
|
3357
|
+
* Score
|
|
3358
|
+
* Password strength score (0-100)
|
|
3359
|
+
*/
|
|
3360
|
+
score: number;
|
|
3361
|
+
/**
|
|
3362
|
+
* Errors
|
|
3363
|
+
* Validation errors
|
|
3364
|
+
*/
|
|
3365
|
+
errors: Array<string>;
|
|
3366
|
+
/**
|
|
3367
|
+
* Suggestions
|
|
3368
|
+
* Improvement suggestions
|
|
3369
|
+
*/
|
|
3370
|
+
suggestions: Array<string>;
|
|
3371
|
+
/**
|
|
3372
|
+
* Character Types
|
|
3373
|
+
* Character type analysis
|
|
3374
|
+
*/
|
|
3375
|
+
character_types: {
|
|
3376
|
+
[key: string]: boolean;
|
|
3377
|
+
};
|
|
3378
|
+
};
|
|
3379
|
+
/**
|
|
3380
|
+
* PasswordPolicyResponse
|
|
3381
|
+
* Password policy response model.
|
|
3382
|
+
*/
|
|
3383
|
+
export type PasswordPolicyResponse = {
|
|
3384
|
+
/**
|
|
3385
|
+
* Policy
|
|
3386
|
+
* Current password policy requirements
|
|
3387
|
+
*/
|
|
3388
|
+
policy: {
|
|
3389
|
+
[key: string]: unknown;
|
|
3390
|
+
};
|
|
3391
|
+
};
|
|
3392
|
+
/**
|
|
3393
|
+
* PaymentMethod
|
|
3394
|
+
* Payment method information.
|
|
3395
|
+
*/
|
|
3396
|
+
export type PaymentMethod = {
|
|
3397
|
+
/**
|
|
3398
|
+
* Id
|
|
3399
|
+
* Payment method ID
|
|
3400
|
+
*/
|
|
3401
|
+
id: string;
|
|
3402
|
+
/**
|
|
3403
|
+
* Type
|
|
3404
|
+
* Payment method type (card, bank_account, etc.)
|
|
3405
|
+
*/
|
|
3406
|
+
type: string;
|
|
3407
|
+
/**
|
|
3408
|
+
* Brand
|
|
3409
|
+
* Card brand (visa, mastercard, etc.)
|
|
3410
|
+
*/
|
|
3411
|
+
brand?: string | null;
|
|
3412
|
+
/**
|
|
3413
|
+
* Last4
|
|
3414
|
+
* Last 4 digits
|
|
3415
|
+
*/
|
|
3416
|
+
last4?: string | null;
|
|
3417
|
+
/**
|
|
3418
|
+
* Exp Month
|
|
3419
|
+
* Expiration month
|
|
3420
|
+
*/
|
|
3421
|
+
exp_month?: number | null;
|
|
3422
|
+
/**
|
|
3423
|
+
* Exp Year
|
|
3424
|
+
* Expiration year
|
|
3425
|
+
*/
|
|
3426
|
+
exp_year?: number | null;
|
|
3427
|
+
/**
|
|
3428
|
+
* Is Default
|
|
3429
|
+
* Whether this is the default payment method
|
|
3430
|
+
*/
|
|
3431
|
+
is_default: boolean;
|
|
3432
|
+
};
|
|
3433
|
+
/**
|
|
3434
|
+
* PerformanceInsights
|
|
3435
|
+
* Performance analytics.
|
|
3436
|
+
*/
|
|
3437
|
+
export type PerformanceInsights = {
|
|
3438
|
+
/**
|
|
3439
|
+
* Analysis Period Days
|
|
3440
|
+
* Analysis period in days
|
|
3441
|
+
*/
|
|
3442
|
+
analysis_period_days: number;
|
|
3443
|
+
/**
|
|
3444
|
+
* Total Operations
|
|
3445
|
+
* Total operations analyzed
|
|
3446
|
+
*/
|
|
3447
|
+
total_operations: number;
|
|
3448
|
+
/**
|
|
3449
|
+
* Operation Stats
|
|
3450
|
+
* Performance stats by operation type
|
|
3451
|
+
*/
|
|
3452
|
+
operation_stats: {
|
|
3453
|
+
[key: string]: unknown;
|
|
3454
|
+
};
|
|
3455
|
+
/**
|
|
3456
|
+
* Slow Queries
|
|
3457
|
+
* Top slow queries (over 5 seconds)
|
|
3458
|
+
*/
|
|
3459
|
+
slow_queries: Array<{
|
|
3460
|
+
[key: string]: unknown;
|
|
3461
|
+
}>;
|
|
3462
|
+
/**
|
|
3463
|
+
* Performance Score
|
|
3464
|
+
* Performance score (0-100)
|
|
3465
|
+
*/
|
|
3466
|
+
performance_score: number;
|
|
3467
|
+
};
|
|
3468
|
+
/**
|
|
3469
|
+
* PlaidConnectionConfig
|
|
3470
|
+
* Plaid-specific connection configuration.
|
|
3471
|
+
*/
|
|
3472
|
+
export type PlaidConnectionConfig = {
|
|
3473
|
+
/**
|
|
3474
|
+
* Public Token
|
|
3475
|
+
* Plaid public token for exchange
|
|
3476
|
+
*/
|
|
3477
|
+
public_token?: string | null;
|
|
3478
|
+
/**
|
|
3479
|
+
* Access Token
|
|
3480
|
+
* Plaid access token (set after exchange)
|
|
2901
3481
|
*/
|
|
2902
3482
|
access_token?: string | null;
|
|
2903
3483
|
/**
|
|
@@ -3048,6 +3628,9 @@ export type RepositoryInfo = {
|
|
|
3048
3628
|
/**
|
|
3049
3629
|
* RepositorySubscriptions
|
|
3050
3630
|
* Repository subscription offerings.
|
|
3631
|
+
*
|
|
3632
|
+
* Repository subscriptions are per-organization, not per-graph. All members
|
|
3633
|
+
* of an organization share access to subscribed repositories.
|
|
3051
3634
|
*/
|
|
3052
3635
|
export type RepositorySubscriptions = {
|
|
3053
3636
|
/**
|
|
@@ -3055,6 +3638,11 @@ export type RepositorySubscriptions = {
|
|
|
3055
3638
|
* Description of repository subscriptions
|
|
3056
3639
|
*/
|
|
3057
3640
|
description: string;
|
|
3641
|
+
/**
|
|
3642
|
+
* Pricing Model
|
|
3643
|
+
* Pricing model type (per_graph or per_organization)
|
|
3644
|
+
*/
|
|
3645
|
+
pricing_model: string;
|
|
3058
3646
|
/**
|
|
3059
3647
|
* Repositories
|
|
3060
3648
|
* Available repositories
|
|
@@ -3373,6 +3961,11 @@ export type ServiceOfferingSummary = {
|
|
|
3373
3961
|
* Complete service offerings response.
|
|
3374
3962
|
*/
|
|
3375
3963
|
export type ServiceOfferingsResponse = {
|
|
3964
|
+
/**
|
|
3965
|
+
* Billing Enabled
|
|
3966
|
+
* Whether billing and payments are enabled
|
|
3967
|
+
*/
|
|
3968
|
+
billing_enabled: boolean;
|
|
3376
3969
|
/**
|
|
3377
3970
|
* Graph subscription offerings
|
|
3378
3971
|
*/
|
|
@@ -3884,6 +4477,42 @@ export type TransactionSummaryResponse = {
|
|
|
3884
4477
|
*/
|
|
3885
4478
|
last_transaction?: string | null;
|
|
3886
4479
|
};
|
|
4480
|
+
/**
|
|
4481
|
+
* UpcomingInvoice
|
|
4482
|
+
* Upcoming invoice preview.
|
|
4483
|
+
*/
|
|
4484
|
+
export type UpcomingInvoice = {
|
|
4485
|
+
/**
|
|
4486
|
+
* Amount Due
|
|
4487
|
+
* Estimated amount due in cents
|
|
4488
|
+
*/
|
|
4489
|
+
amount_due: number;
|
|
4490
|
+
/**
|
|
4491
|
+
* Currency
|
|
4492
|
+
* Currency code
|
|
4493
|
+
*/
|
|
4494
|
+
currency: string;
|
|
4495
|
+
/**
|
|
4496
|
+
* Period Start
|
|
4497
|
+
* Billing period start
|
|
4498
|
+
*/
|
|
4499
|
+
period_start: string;
|
|
4500
|
+
/**
|
|
4501
|
+
* Period End
|
|
4502
|
+
* Billing period end
|
|
4503
|
+
*/
|
|
4504
|
+
period_end: string;
|
|
4505
|
+
/**
|
|
4506
|
+
* Line Items
|
|
4507
|
+
* Estimated line items
|
|
4508
|
+
*/
|
|
4509
|
+
line_items: Array<InvoiceLineItem>;
|
|
4510
|
+
/**
|
|
4511
|
+
* Subscription Id
|
|
4512
|
+
* Associated subscription ID
|
|
4513
|
+
*/
|
|
4514
|
+
subscription_id?: string | null;
|
|
4515
|
+
};
|
|
3887
4516
|
/**
|
|
3888
4517
|
* UpdateAPIKeyRequest
|
|
3889
4518
|
* Request model for updating an API key.
|
|
@@ -3900,6 +4529,24 @@ export type UpdateApiKeyRequest = {
|
|
|
3900
4529
|
*/
|
|
3901
4530
|
description?: string | null;
|
|
3902
4531
|
};
|
|
4532
|
+
/**
|
|
4533
|
+
* UpdateMemberRoleRequest
|
|
4534
|
+
* Request to update a member's role.
|
|
4535
|
+
*/
|
|
4536
|
+
export type UpdateMemberRoleRequest = {
|
|
4537
|
+
role: OrgRole;
|
|
4538
|
+
};
|
|
4539
|
+
/**
|
|
4540
|
+
* UpdateOrgRequest
|
|
4541
|
+
* Request to update organization details.
|
|
4542
|
+
*/
|
|
4543
|
+
export type UpdateOrgRequest = {
|
|
4544
|
+
/**
|
|
4545
|
+
* Name
|
|
4546
|
+
*/
|
|
4547
|
+
name?: string | null;
|
|
4548
|
+
org_type?: OrgType | null;
|
|
4549
|
+
};
|
|
3903
4550
|
/**
|
|
3904
4551
|
* UpdatePasswordRequest
|
|
3905
4552
|
* Request model for updating user password.
|
|
@@ -3921,6 +4568,32 @@ export type UpdatePasswordRequest = {
|
|
|
3921
4568
|
*/
|
|
3922
4569
|
confirm_password: string;
|
|
3923
4570
|
};
|
|
4571
|
+
/**
|
|
4572
|
+
* UpdatePaymentMethodRequest
|
|
4573
|
+
* Request to update default payment method.
|
|
4574
|
+
*/
|
|
4575
|
+
export type UpdatePaymentMethodRequest = {
|
|
4576
|
+
/**
|
|
4577
|
+
* Payment Method Id
|
|
4578
|
+
* Payment method ID to set as default
|
|
4579
|
+
*/
|
|
4580
|
+
payment_method_id: string;
|
|
4581
|
+
};
|
|
4582
|
+
/**
|
|
4583
|
+
* UpdatePaymentMethodResponse
|
|
4584
|
+
* Response for payment method update.
|
|
4585
|
+
*/
|
|
4586
|
+
export type UpdatePaymentMethodResponse = {
|
|
4587
|
+
/**
|
|
4588
|
+
* Message
|
|
4589
|
+
* Success message
|
|
4590
|
+
*/
|
|
4591
|
+
message: string;
|
|
4592
|
+
/**
|
|
4593
|
+
* Updated payment method
|
|
4594
|
+
*/
|
|
4595
|
+
payment_method: PaymentMethod;
|
|
4596
|
+
};
|
|
3924
4597
|
/**
|
|
3925
4598
|
* UpdateUserRequest
|
|
3926
4599
|
* Request model for updating user profile.
|
|
@@ -3964,40 +4637,6 @@ export type UserGraphsResponse = {
|
|
|
3964
4637
|
*/
|
|
3965
4638
|
selectedGraphId?: string | null;
|
|
3966
4639
|
};
|
|
3967
|
-
/**
|
|
3968
|
-
* UserLimitsResponse
|
|
3969
|
-
* Response model for user limits information.
|
|
3970
|
-
*
|
|
3971
|
-
* UserLimits is now a simple safety valve to prevent runaway graph creation.
|
|
3972
|
-
* Subscription tiers and rate limits are handled at the graph level.
|
|
3973
|
-
*/
|
|
3974
|
-
export type UserLimitsResponse = {
|
|
3975
|
-
/**
|
|
3976
|
-
* Id
|
|
3977
|
-
* Unique limits identifier
|
|
3978
|
-
*/
|
|
3979
|
-
id: string;
|
|
3980
|
-
/**
|
|
3981
|
-
* User Id
|
|
3982
|
-
* Associated user ID
|
|
3983
|
-
*/
|
|
3984
|
-
user_id: string;
|
|
3985
|
-
/**
|
|
3986
|
-
* Max User Graphs
|
|
3987
|
-
* Maximum number of user graphs allowed (safety limit)
|
|
3988
|
-
*/
|
|
3989
|
-
max_user_graphs: number;
|
|
3990
|
-
/**
|
|
3991
|
-
* Created At
|
|
3992
|
-
* Limits creation timestamp
|
|
3993
|
-
*/
|
|
3994
|
-
created_at: string;
|
|
3995
|
-
/**
|
|
3996
|
-
* Updated At
|
|
3997
|
-
* Last update timestamp
|
|
3998
|
-
*/
|
|
3999
|
-
updated_at: string;
|
|
4000
|
-
};
|
|
4001
4640
|
/**
|
|
4002
4641
|
* UserResponse
|
|
4003
4642
|
* User information response model.
|
|
@@ -4024,31 +4663,6 @@ export type UserResponse = {
|
|
|
4024
4663
|
*/
|
|
4025
4664
|
accounts?: Array<AccountInfo>;
|
|
4026
4665
|
};
|
|
4027
|
-
/**
|
|
4028
|
-
* UserUsageResponse
|
|
4029
|
-
* Response model for user usage statistics.
|
|
4030
|
-
*
|
|
4031
|
-
* Simplified to only show graph usage as UserLimits is now just a safety valve.
|
|
4032
|
-
* Other usage tracking (MCP, Agent calls) happens at the graph level.
|
|
4033
|
-
*/
|
|
4034
|
-
export type UserUsageResponse = {
|
|
4035
|
-
/**
|
|
4036
|
-
* User Id
|
|
4037
|
-
* User identifier
|
|
4038
|
-
*/
|
|
4039
|
-
user_id: string;
|
|
4040
|
-
/**
|
|
4041
|
-
* Graphs
|
|
4042
|
-
* Graph usage statistics (current/limit/remaining)
|
|
4043
|
-
*/
|
|
4044
|
-
graphs: {
|
|
4045
|
-
[key: string]: unknown;
|
|
4046
|
-
};
|
|
4047
|
-
/**
|
|
4048
|
-
* Current user limits
|
|
4049
|
-
*/
|
|
4050
|
-
limits: UserLimitsResponse;
|
|
4051
|
-
};
|
|
4052
4666
|
/**
|
|
4053
4667
|
* ValidationError
|
|
4054
4668
|
*/
|
|
@@ -4503,123 +5117,384 @@ export type UpdateUserPasswordErrors = {
|
|
|
4503
5117
|
* Validation Error
|
|
4504
5118
|
*/
|
|
4505
5119
|
422: HttpValidationError;
|
|
4506
|
-
/**
|
|
4507
|
-
* Error updating password
|
|
4508
|
-
*/
|
|
4509
|
-
500: ErrorResponse;
|
|
5120
|
+
/**
|
|
5121
|
+
* Error updating password
|
|
5122
|
+
*/
|
|
5123
|
+
500: ErrorResponse;
|
|
5124
|
+
};
|
|
5125
|
+
export type UpdateUserPasswordError = UpdateUserPasswordErrors[keyof UpdateUserPasswordErrors];
|
|
5126
|
+
export type UpdateUserPasswordResponses = {
|
|
5127
|
+
/**
|
|
5128
|
+
* Password updated successfully
|
|
5129
|
+
*/
|
|
5130
|
+
200: SuccessResponse;
|
|
5131
|
+
};
|
|
5132
|
+
export type UpdateUserPasswordResponse = UpdateUserPasswordResponses[keyof UpdateUserPasswordResponses];
|
|
5133
|
+
export type ListUserApiKeysData = {
|
|
5134
|
+
body?: never;
|
|
5135
|
+
path?: never;
|
|
5136
|
+
query?: never;
|
|
5137
|
+
url: '/v1/user/api-keys';
|
|
5138
|
+
};
|
|
5139
|
+
export type ListUserApiKeysResponses = {
|
|
5140
|
+
/**
|
|
5141
|
+
* Successful Response
|
|
5142
|
+
*/
|
|
5143
|
+
200: ApiKeysResponse;
|
|
5144
|
+
};
|
|
5145
|
+
export type ListUserApiKeysResponse = ListUserApiKeysResponses[keyof ListUserApiKeysResponses];
|
|
5146
|
+
export type CreateUserApiKeyData = {
|
|
5147
|
+
body: CreateApiKeyRequest;
|
|
5148
|
+
path?: never;
|
|
5149
|
+
query?: never;
|
|
5150
|
+
url: '/v1/user/api-keys';
|
|
5151
|
+
};
|
|
5152
|
+
export type CreateUserApiKeyErrors = {
|
|
5153
|
+
/**
|
|
5154
|
+
* Validation Error
|
|
5155
|
+
*/
|
|
5156
|
+
422: HttpValidationError;
|
|
5157
|
+
};
|
|
5158
|
+
export type CreateUserApiKeyError = CreateUserApiKeyErrors[keyof CreateUserApiKeyErrors];
|
|
5159
|
+
export type CreateUserApiKeyResponses = {
|
|
5160
|
+
/**
|
|
5161
|
+
* Successful Response
|
|
5162
|
+
*/
|
|
5163
|
+
201: CreateApiKeyResponse;
|
|
5164
|
+
};
|
|
5165
|
+
export type CreateUserApiKeyResponse = CreateUserApiKeyResponses[keyof CreateUserApiKeyResponses];
|
|
5166
|
+
export type RevokeUserApiKeyData = {
|
|
5167
|
+
body?: never;
|
|
5168
|
+
path: {
|
|
5169
|
+
/**
|
|
5170
|
+
* Api Key Id
|
|
5171
|
+
*/
|
|
5172
|
+
api_key_id: string;
|
|
5173
|
+
};
|
|
5174
|
+
query?: never;
|
|
5175
|
+
url: '/v1/user/api-keys/{api_key_id}';
|
|
5176
|
+
};
|
|
5177
|
+
export type RevokeUserApiKeyErrors = {
|
|
5178
|
+
/**
|
|
5179
|
+
* API key not found
|
|
5180
|
+
*/
|
|
5181
|
+
404: ErrorResponse;
|
|
5182
|
+
/**
|
|
5183
|
+
* Validation Error
|
|
5184
|
+
*/
|
|
5185
|
+
422: HttpValidationError;
|
|
5186
|
+
/**
|
|
5187
|
+
* Error revoking API key
|
|
5188
|
+
*/
|
|
5189
|
+
500: ErrorResponse;
|
|
5190
|
+
};
|
|
5191
|
+
export type RevokeUserApiKeyError = RevokeUserApiKeyErrors[keyof RevokeUserApiKeyErrors];
|
|
5192
|
+
export type RevokeUserApiKeyResponses = {
|
|
5193
|
+
/**
|
|
5194
|
+
* API key revoked successfully
|
|
5195
|
+
*/
|
|
5196
|
+
200: SuccessResponse;
|
|
5197
|
+
};
|
|
5198
|
+
export type RevokeUserApiKeyResponse = RevokeUserApiKeyResponses[keyof RevokeUserApiKeyResponses];
|
|
5199
|
+
export type UpdateUserApiKeyData = {
|
|
5200
|
+
body: UpdateApiKeyRequest;
|
|
5201
|
+
path: {
|
|
5202
|
+
/**
|
|
5203
|
+
* Api Key Id
|
|
5204
|
+
*/
|
|
5205
|
+
api_key_id: string;
|
|
5206
|
+
};
|
|
5207
|
+
query?: never;
|
|
5208
|
+
url: '/v1/user/api-keys/{api_key_id}';
|
|
5209
|
+
};
|
|
5210
|
+
export type UpdateUserApiKeyErrors = {
|
|
5211
|
+
/**
|
|
5212
|
+
* Validation Error
|
|
5213
|
+
*/
|
|
5214
|
+
422: HttpValidationError;
|
|
5215
|
+
};
|
|
5216
|
+
export type UpdateUserApiKeyError = UpdateUserApiKeyErrors[keyof UpdateUserApiKeyErrors];
|
|
5217
|
+
export type UpdateUserApiKeyResponses = {
|
|
5218
|
+
/**
|
|
5219
|
+
* Successful Response
|
|
5220
|
+
*/
|
|
5221
|
+
200: ApiKeyInfo;
|
|
5222
|
+
};
|
|
5223
|
+
export type UpdateUserApiKeyResponse = UpdateUserApiKeyResponses[keyof UpdateUserApiKeyResponses];
|
|
5224
|
+
export type ListUserOrgsData = {
|
|
5225
|
+
body?: never;
|
|
5226
|
+
path?: never;
|
|
5227
|
+
query?: never;
|
|
5228
|
+
url: '/v1/orgs';
|
|
5229
|
+
};
|
|
5230
|
+
export type ListUserOrgsResponses = {
|
|
5231
|
+
/**
|
|
5232
|
+
* Successful Response
|
|
5233
|
+
*/
|
|
5234
|
+
200: OrgListResponse;
|
|
5235
|
+
};
|
|
5236
|
+
export type ListUserOrgsResponse = ListUserOrgsResponses[keyof ListUserOrgsResponses];
|
|
5237
|
+
export type CreateOrgData = {
|
|
5238
|
+
body: CreateOrgRequest;
|
|
5239
|
+
path?: never;
|
|
5240
|
+
query?: never;
|
|
5241
|
+
url: '/v1/orgs';
|
|
5242
|
+
};
|
|
5243
|
+
export type CreateOrgErrors = {
|
|
5244
|
+
/**
|
|
5245
|
+
* Validation Error
|
|
5246
|
+
*/
|
|
5247
|
+
422: HttpValidationError;
|
|
5248
|
+
};
|
|
5249
|
+
export type CreateOrgError = CreateOrgErrors[keyof CreateOrgErrors];
|
|
5250
|
+
export type CreateOrgResponses = {
|
|
5251
|
+
/**
|
|
5252
|
+
* Successful Response
|
|
5253
|
+
*/
|
|
5254
|
+
201: OrgDetailResponse;
|
|
5255
|
+
};
|
|
5256
|
+
export type CreateOrgResponse = CreateOrgResponses[keyof CreateOrgResponses];
|
|
5257
|
+
export type GetOrgData = {
|
|
5258
|
+
body?: never;
|
|
5259
|
+
path: {
|
|
5260
|
+
/**
|
|
5261
|
+
* Org Id
|
|
5262
|
+
*/
|
|
5263
|
+
org_id: string;
|
|
5264
|
+
};
|
|
5265
|
+
query?: never;
|
|
5266
|
+
url: '/v1/orgs/{org_id}';
|
|
5267
|
+
};
|
|
5268
|
+
export type GetOrgErrors = {
|
|
5269
|
+
/**
|
|
5270
|
+
* Validation Error
|
|
5271
|
+
*/
|
|
5272
|
+
422: HttpValidationError;
|
|
5273
|
+
};
|
|
5274
|
+
export type GetOrgError = GetOrgErrors[keyof GetOrgErrors];
|
|
5275
|
+
export type GetOrgResponses = {
|
|
5276
|
+
/**
|
|
5277
|
+
* Successful Response
|
|
5278
|
+
*/
|
|
5279
|
+
200: OrgDetailResponse;
|
|
5280
|
+
};
|
|
5281
|
+
export type GetOrgResponse = GetOrgResponses[keyof GetOrgResponses];
|
|
5282
|
+
export type UpdateOrgData = {
|
|
5283
|
+
body: UpdateOrgRequest;
|
|
5284
|
+
path: {
|
|
5285
|
+
/**
|
|
5286
|
+
* Org Id
|
|
5287
|
+
*/
|
|
5288
|
+
org_id: string;
|
|
5289
|
+
};
|
|
5290
|
+
query?: never;
|
|
5291
|
+
url: '/v1/orgs/{org_id}';
|
|
5292
|
+
};
|
|
5293
|
+
export type UpdateOrgErrors = {
|
|
5294
|
+
/**
|
|
5295
|
+
* Validation Error
|
|
5296
|
+
*/
|
|
5297
|
+
422: HttpValidationError;
|
|
5298
|
+
};
|
|
5299
|
+
export type UpdateOrgError = UpdateOrgErrors[keyof UpdateOrgErrors];
|
|
5300
|
+
export type UpdateOrgResponses = {
|
|
5301
|
+
/**
|
|
5302
|
+
* Successful Response
|
|
5303
|
+
*/
|
|
5304
|
+
200: OrgDetailResponse;
|
|
5305
|
+
};
|
|
5306
|
+
export type UpdateOrgResponse = UpdateOrgResponses[keyof UpdateOrgResponses];
|
|
5307
|
+
export type ListOrgGraphsData = {
|
|
5308
|
+
body?: never;
|
|
5309
|
+
path: {
|
|
5310
|
+
/**
|
|
5311
|
+
* Org Id
|
|
5312
|
+
*/
|
|
5313
|
+
org_id: string;
|
|
5314
|
+
};
|
|
5315
|
+
query?: never;
|
|
5316
|
+
url: '/v1/orgs/{org_id}/graphs';
|
|
5317
|
+
};
|
|
5318
|
+
export type ListOrgGraphsErrors = {
|
|
5319
|
+
/**
|
|
5320
|
+
* Validation Error
|
|
5321
|
+
*/
|
|
5322
|
+
422: HttpValidationError;
|
|
4510
5323
|
};
|
|
4511
|
-
export type
|
|
4512
|
-
export type
|
|
5324
|
+
export type ListOrgGraphsError = ListOrgGraphsErrors[keyof ListOrgGraphsErrors];
|
|
5325
|
+
export type ListOrgGraphsResponses = {
|
|
4513
5326
|
/**
|
|
4514
|
-
*
|
|
5327
|
+
* Response Listorggraphs
|
|
5328
|
+
* Successful Response
|
|
4515
5329
|
*/
|
|
4516
|
-
200:
|
|
5330
|
+
200: Array<{
|
|
5331
|
+
[key: string]: unknown;
|
|
5332
|
+
}>;
|
|
4517
5333
|
};
|
|
4518
|
-
export type
|
|
4519
|
-
export type
|
|
5334
|
+
export type ListOrgGraphsResponse = ListOrgGraphsResponses[keyof ListOrgGraphsResponses];
|
|
5335
|
+
export type ListOrgMembersData = {
|
|
4520
5336
|
body?: never;
|
|
4521
|
-
path
|
|
5337
|
+
path: {
|
|
5338
|
+
/**
|
|
5339
|
+
* Org Id
|
|
5340
|
+
*/
|
|
5341
|
+
org_id: string;
|
|
5342
|
+
};
|
|
4522
5343
|
query?: never;
|
|
4523
|
-
url: '/v1/
|
|
5344
|
+
url: '/v1/orgs/{org_id}/members';
|
|
4524
5345
|
};
|
|
4525
|
-
export type
|
|
5346
|
+
export type ListOrgMembersErrors = {
|
|
5347
|
+
/**
|
|
5348
|
+
* Validation Error
|
|
5349
|
+
*/
|
|
5350
|
+
422: HttpValidationError;
|
|
5351
|
+
};
|
|
5352
|
+
export type ListOrgMembersError = ListOrgMembersErrors[keyof ListOrgMembersErrors];
|
|
5353
|
+
export type ListOrgMembersResponses = {
|
|
4526
5354
|
/**
|
|
4527
5355
|
* Successful Response
|
|
4528
5356
|
*/
|
|
4529
|
-
200:
|
|
5357
|
+
200: OrgMemberListResponse;
|
|
4530
5358
|
};
|
|
4531
|
-
export type
|
|
4532
|
-
export type
|
|
4533
|
-
body:
|
|
4534
|
-
path
|
|
5359
|
+
export type ListOrgMembersResponse = ListOrgMembersResponses[keyof ListOrgMembersResponses];
|
|
5360
|
+
export type InviteOrgMemberData = {
|
|
5361
|
+
body: InviteMemberRequest;
|
|
5362
|
+
path: {
|
|
5363
|
+
/**
|
|
5364
|
+
* Org Id
|
|
5365
|
+
*/
|
|
5366
|
+
org_id: string;
|
|
5367
|
+
};
|
|
4535
5368
|
query?: never;
|
|
4536
|
-
url: '/v1/
|
|
5369
|
+
url: '/v1/orgs/{org_id}/members';
|
|
4537
5370
|
};
|
|
4538
|
-
export type
|
|
5371
|
+
export type InviteOrgMemberErrors = {
|
|
4539
5372
|
/**
|
|
4540
5373
|
* Validation Error
|
|
4541
5374
|
*/
|
|
4542
5375
|
422: HttpValidationError;
|
|
4543
5376
|
};
|
|
4544
|
-
export type
|
|
4545
|
-
export type
|
|
5377
|
+
export type InviteOrgMemberError = InviteOrgMemberErrors[keyof InviteOrgMemberErrors];
|
|
5378
|
+
export type InviteOrgMemberResponses = {
|
|
4546
5379
|
/**
|
|
4547
5380
|
* Successful Response
|
|
4548
5381
|
*/
|
|
4549
|
-
201:
|
|
5382
|
+
201: OrgMemberResponse;
|
|
4550
5383
|
};
|
|
4551
|
-
export type
|
|
4552
|
-
export type
|
|
5384
|
+
export type InviteOrgMemberResponse = InviteOrgMemberResponses[keyof InviteOrgMemberResponses];
|
|
5385
|
+
export type RemoveOrgMemberData = {
|
|
4553
5386
|
body?: never;
|
|
4554
5387
|
path: {
|
|
4555
5388
|
/**
|
|
4556
|
-
*
|
|
5389
|
+
* Org Id
|
|
4557
5390
|
*/
|
|
4558
|
-
|
|
5391
|
+
org_id: string;
|
|
5392
|
+
/**
|
|
5393
|
+
* User Id
|
|
5394
|
+
*/
|
|
5395
|
+
user_id: string;
|
|
4559
5396
|
};
|
|
4560
5397
|
query?: never;
|
|
4561
|
-
url: '/v1/
|
|
5398
|
+
url: '/v1/orgs/{org_id}/members/{user_id}';
|
|
4562
5399
|
};
|
|
4563
|
-
export type
|
|
4564
|
-
/**
|
|
4565
|
-
* API key not found
|
|
4566
|
-
*/
|
|
4567
|
-
404: ErrorResponse;
|
|
5400
|
+
export type RemoveOrgMemberErrors = {
|
|
4568
5401
|
/**
|
|
4569
5402
|
* Validation Error
|
|
4570
5403
|
*/
|
|
4571
5404
|
422: HttpValidationError;
|
|
5405
|
+
};
|
|
5406
|
+
export type RemoveOrgMemberError = RemoveOrgMemberErrors[keyof RemoveOrgMemberErrors];
|
|
5407
|
+
export type RemoveOrgMemberResponses = {
|
|
4572
5408
|
/**
|
|
4573
|
-
*
|
|
5409
|
+
* Successful Response
|
|
4574
5410
|
*/
|
|
4575
|
-
|
|
5411
|
+
204: void;
|
|
4576
5412
|
};
|
|
4577
|
-
export type
|
|
4578
|
-
export type
|
|
5413
|
+
export type RemoveOrgMemberResponse = RemoveOrgMemberResponses[keyof RemoveOrgMemberResponses];
|
|
5414
|
+
export type UpdateOrgMemberRoleData = {
|
|
5415
|
+
body: UpdateMemberRoleRequest;
|
|
5416
|
+
path: {
|
|
5417
|
+
/**
|
|
5418
|
+
* Org Id
|
|
5419
|
+
*/
|
|
5420
|
+
org_id: string;
|
|
5421
|
+
/**
|
|
5422
|
+
* User Id
|
|
5423
|
+
*/
|
|
5424
|
+
user_id: string;
|
|
5425
|
+
};
|
|
5426
|
+
query?: never;
|
|
5427
|
+
url: '/v1/orgs/{org_id}/members/{user_id}';
|
|
5428
|
+
};
|
|
5429
|
+
export type UpdateOrgMemberRoleErrors = {
|
|
4579
5430
|
/**
|
|
4580
|
-
*
|
|
5431
|
+
* Validation Error
|
|
4581
5432
|
*/
|
|
4582
|
-
|
|
5433
|
+
422: HttpValidationError;
|
|
4583
5434
|
};
|
|
4584
|
-
export type
|
|
4585
|
-
export type
|
|
4586
|
-
|
|
5435
|
+
export type UpdateOrgMemberRoleError = UpdateOrgMemberRoleErrors[keyof UpdateOrgMemberRoleErrors];
|
|
5436
|
+
export type UpdateOrgMemberRoleResponses = {
|
|
5437
|
+
/**
|
|
5438
|
+
* Successful Response
|
|
5439
|
+
*/
|
|
5440
|
+
200: OrgMemberResponse;
|
|
5441
|
+
};
|
|
5442
|
+
export type UpdateOrgMemberRoleResponse = UpdateOrgMemberRoleResponses[keyof UpdateOrgMemberRoleResponses];
|
|
5443
|
+
export type GetOrgLimitsData = {
|
|
5444
|
+
body?: never;
|
|
4587
5445
|
path: {
|
|
4588
5446
|
/**
|
|
4589
|
-
*
|
|
5447
|
+
* Org Id
|
|
4590
5448
|
*/
|
|
4591
|
-
|
|
5449
|
+
org_id: string;
|
|
4592
5450
|
};
|
|
4593
5451
|
query?: never;
|
|
4594
|
-
url: '/v1/
|
|
5452
|
+
url: '/v1/orgs/{org_id}/limits';
|
|
4595
5453
|
};
|
|
4596
|
-
export type
|
|
5454
|
+
export type GetOrgLimitsErrors = {
|
|
4597
5455
|
/**
|
|
4598
5456
|
* Validation Error
|
|
4599
5457
|
*/
|
|
4600
5458
|
422: HttpValidationError;
|
|
4601
5459
|
};
|
|
4602
|
-
export type
|
|
4603
|
-
export type
|
|
5460
|
+
export type GetOrgLimitsError = GetOrgLimitsErrors[keyof GetOrgLimitsErrors];
|
|
5461
|
+
export type GetOrgLimitsResponses = {
|
|
4604
5462
|
/**
|
|
4605
5463
|
* Successful Response
|
|
4606
5464
|
*/
|
|
4607
|
-
200:
|
|
5465
|
+
200: OrgLimitsResponse;
|
|
4608
5466
|
};
|
|
4609
|
-
export type
|
|
4610
|
-
export type
|
|
5467
|
+
export type GetOrgLimitsResponse = GetOrgLimitsResponses[keyof GetOrgLimitsResponses];
|
|
5468
|
+
export type GetOrgUsageData = {
|
|
4611
5469
|
body?: never;
|
|
4612
|
-
path
|
|
4613
|
-
|
|
4614
|
-
|
|
5470
|
+
path: {
|
|
5471
|
+
/**
|
|
5472
|
+
* Org Id
|
|
5473
|
+
*/
|
|
5474
|
+
org_id: string;
|
|
5475
|
+
};
|
|
5476
|
+
query?: {
|
|
5477
|
+
/**
|
|
5478
|
+
* Days
|
|
5479
|
+
*/
|
|
5480
|
+
days?: number;
|
|
5481
|
+
};
|
|
5482
|
+
url: '/v1/orgs/{org_id}/usage';
|
|
5483
|
+
};
|
|
5484
|
+
export type GetOrgUsageErrors = {
|
|
5485
|
+
/**
|
|
5486
|
+
* Validation Error
|
|
5487
|
+
*/
|
|
5488
|
+
422: HttpValidationError;
|
|
4615
5489
|
};
|
|
4616
|
-
export type
|
|
5490
|
+
export type GetOrgUsageError = GetOrgUsageErrors[keyof GetOrgUsageErrors];
|
|
5491
|
+
export type GetOrgUsageResponses = {
|
|
4617
5492
|
/**
|
|
4618
|
-
*
|
|
5493
|
+
* Successful Response
|
|
4619
5494
|
*/
|
|
4620
|
-
200:
|
|
5495
|
+
200: OrgUsageResponse;
|
|
4621
5496
|
};
|
|
4622
|
-
export type
|
|
5497
|
+
export type GetOrgUsageResponse = GetOrgUsageResponses[keyof GetOrgUsageResponses];
|
|
4623
5498
|
export type ListConnectionsData = {
|
|
4624
5499
|
body?: never;
|
|
4625
5500
|
path: {
|
|
@@ -7173,6 +8048,242 @@ export type CancelOperationResponses = {
|
|
|
7173
8048
|
};
|
|
7174
8049
|
};
|
|
7175
8050
|
export type CancelOperationResponse = CancelOperationResponses[keyof CancelOperationResponses];
|
|
8051
|
+
export type GetOrgBillingCustomerData = {
|
|
8052
|
+
body?: never;
|
|
8053
|
+
path: {
|
|
8054
|
+
/**
|
|
8055
|
+
* Org Id
|
|
8056
|
+
*/
|
|
8057
|
+
org_id: string;
|
|
8058
|
+
};
|
|
8059
|
+
query?: never;
|
|
8060
|
+
url: '/v1/billing/customer/{org_id}';
|
|
8061
|
+
};
|
|
8062
|
+
export type GetOrgBillingCustomerErrors = {
|
|
8063
|
+
/**
|
|
8064
|
+
* Validation Error
|
|
8065
|
+
*/
|
|
8066
|
+
422: HttpValidationError;
|
|
8067
|
+
};
|
|
8068
|
+
export type GetOrgBillingCustomerError = GetOrgBillingCustomerErrors[keyof GetOrgBillingCustomerErrors];
|
|
8069
|
+
export type GetOrgBillingCustomerResponses = {
|
|
8070
|
+
/**
|
|
8071
|
+
* Successful Response
|
|
8072
|
+
*/
|
|
8073
|
+
200: BillingCustomer;
|
|
8074
|
+
};
|
|
8075
|
+
export type GetOrgBillingCustomerResponse = GetOrgBillingCustomerResponses[keyof GetOrgBillingCustomerResponses];
|
|
8076
|
+
export type UpdateOrgPaymentMethodData = {
|
|
8077
|
+
body: UpdatePaymentMethodRequest;
|
|
8078
|
+
path: {
|
|
8079
|
+
/**
|
|
8080
|
+
* Org Id
|
|
8081
|
+
*/
|
|
8082
|
+
org_id: string;
|
|
8083
|
+
};
|
|
8084
|
+
query?: never;
|
|
8085
|
+
url: '/v1/billing/customer/{org_id}/payment-method';
|
|
8086
|
+
};
|
|
8087
|
+
export type UpdateOrgPaymentMethodErrors = {
|
|
8088
|
+
/**
|
|
8089
|
+
* Validation Error
|
|
8090
|
+
*/
|
|
8091
|
+
422: HttpValidationError;
|
|
8092
|
+
};
|
|
8093
|
+
export type UpdateOrgPaymentMethodError = UpdateOrgPaymentMethodErrors[keyof UpdateOrgPaymentMethodErrors];
|
|
8094
|
+
export type UpdateOrgPaymentMethodResponses = {
|
|
8095
|
+
/**
|
|
8096
|
+
* Successful Response
|
|
8097
|
+
*/
|
|
8098
|
+
200: UpdatePaymentMethodResponse;
|
|
8099
|
+
};
|
|
8100
|
+
export type UpdateOrgPaymentMethodResponse = UpdateOrgPaymentMethodResponses[keyof UpdateOrgPaymentMethodResponses];
|
|
8101
|
+
export type ListOrgSubscriptionsData = {
|
|
8102
|
+
body?: never;
|
|
8103
|
+
path: {
|
|
8104
|
+
/**
|
|
8105
|
+
* Org Id
|
|
8106
|
+
*/
|
|
8107
|
+
org_id: string;
|
|
8108
|
+
};
|
|
8109
|
+
query?: never;
|
|
8110
|
+
url: '/v1/billing/subscriptions/{org_id}';
|
|
8111
|
+
};
|
|
8112
|
+
export type ListOrgSubscriptionsErrors = {
|
|
8113
|
+
/**
|
|
8114
|
+
* Validation Error
|
|
8115
|
+
*/
|
|
8116
|
+
422: HttpValidationError;
|
|
8117
|
+
};
|
|
8118
|
+
export type ListOrgSubscriptionsError = ListOrgSubscriptionsErrors[keyof ListOrgSubscriptionsErrors];
|
|
8119
|
+
export type ListOrgSubscriptionsResponses = {
|
|
8120
|
+
/**
|
|
8121
|
+
* Response Listorgsubscriptions
|
|
8122
|
+
* Successful Response
|
|
8123
|
+
*/
|
|
8124
|
+
200: Array<GraphSubscriptionResponse>;
|
|
8125
|
+
};
|
|
8126
|
+
export type ListOrgSubscriptionsResponse = ListOrgSubscriptionsResponses[keyof ListOrgSubscriptionsResponses];
|
|
8127
|
+
export type GetOrgSubscriptionData = {
|
|
8128
|
+
body?: never;
|
|
8129
|
+
path: {
|
|
8130
|
+
/**
|
|
8131
|
+
* Org Id
|
|
8132
|
+
*/
|
|
8133
|
+
org_id: string;
|
|
8134
|
+
/**
|
|
8135
|
+
* Subscription Id
|
|
8136
|
+
*/
|
|
8137
|
+
subscription_id: string;
|
|
8138
|
+
};
|
|
8139
|
+
query?: never;
|
|
8140
|
+
url: '/v1/billing/subscriptions/{org_id}/subscription/{subscription_id}';
|
|
8141
|
+
};
|
|
8142
|
+
export type GetOrgSubscriptionErrors = {
|
|
8143
|
+
/**
|
|
8144
|
+
* Validation Error
|
|
8145
|
+
*/
|
|
8146
|
+
422: HttpValidationError;
|
|
8147
|
+
};
|
|
8148
|
+
export type GetOrgSubscriptionError = GetOrgSubscriptionErrors[keyof GetOrgSubscriptionErrors];
|
|
8149
|
+
export type GetOrgSubscriptionResponses = {
|
|
8150
|
+
/**
|
|
8151
|
+
* Successful Response
|
|
8152
|
+
*/
|
|
8153
|
+
200: GraphSubscriptionResponse;
|
|
8154
|
+
};
|
|
8155
|
+
export type GetOrgSubscriptionResponse = GetOrgSubscriptionResponses[keyof GetOrgSubscriptionResponses];
|
|
8156
|
+
export type CancelOrgSubscriptionData = {
|
|
8157
|
+
body?: never;
|
|
8158
|
+
path: {
|
|
8159
|
+
/**
|
|
8160
|
+
* Org Id
|
|
8161
|
+
*/
|
|
8162
|
+
org_id: string;
|
|
8163
|
+
/**
|
|
8164
|
+
* Subscription Id
|
|
8165
|
+
*/
|
|
8166
|
+
subscription_id: string;
|
|
8167
|
+
};
|
|
8168
|
+
query?: never;
|
|
8169
|
+
url: '/v1/billing/subscriptions/{org_id}/subscription/{subscription_id}/cancel';
|
|
8170
|
+
};
|
|
8171
|
+
export type CancelOrgSubscriptionErrors = {
|
|
8172
|
+
/**
|
|
8173
|
+
* Validation Error
|
|
8174
|
+
*/
|
|
8175
|
+
422: HttpValidationError;
|
|
8176
|
+
};
|
|
8177
|
+
export type CancelOrgSubscriptionError = CancelOrgSubscriptionErrors[keyof CancelOrgSubscriptionErrors];
|
|
8178
|
+
export type CancelOrgSubscriptionResponses = {
|
|
8179
|
+
/**
|
|
8180
|
+
* Successful Response
|
|
8181
|
+
*/
|
|
8182
|
+
200: GraphSubscriptionResponse;
|
|
8183
|
+
};
|
|
8184
|
+
export type CancelOrgSubscriptionResponse = CancelOrgSubscriptionResponses[keyof CancelOrgSubscriptionResponses];
|
|
8185
|
+
export type ListOrgInvoicesData = {
|
|
8186
|
+
body?: never;
|
|
8187
|
+
path: {
|
|
8188
|
+
/**
|
|
8189
|
+
* Org Id
|
|
8190
|
+
*/
|
|
8191
|
+
org_id: string;
|
|
8192
|
+
};
|
|
8193
|
+
query?: {
|
|
8194
|
+
/**
|
|
8195
|
+
* Limit
|
|
8196
|
+
* Number of invoices to return
|
|
8197
|
+
*/
|
|
8198
|
+
limit?: number;
|
|
8199
|
+
};
|
|
8200
|
+
url: '/v1/billing/invoices/{org_id}';
|
|
8201
|
+
};
|
|
8202
|
+
export type ListOrgInvoicesErrors = {
|
|
8203
|
+
/**
|
|
8204
|
+
* Validation Error
|
|
8205
|
+
*/
|
|
8206
|
+
422: HttpValidationError;
|
|
8207
|
+
};
|
|
8208
|
+
export type ListOrgInvoicesError = ListOrgInvoicesErrors[keyof ListOrgInvoicesErrors];
|
|
8209
|
+
export type ListOrgInvoicesResponses = {
|
|
8210
|
+
/**
|
|
8211
|
+
* Successful Response
|
|
8212
|
+
*/
|
|
8213
|
+
200: InvoicesResponse;
|
|
8214
|
+
};
|
|
8215
|
+
export type ListOrgInvoicesResponse = ListOrgInvoicesResponses[keyof ListOrgInvoicesResponses];
|
|
8216
|
+
export type GetOrgUpcomingInvoiceData = {
|
|
8217
|
+
body?: never;
|
|
8218
|
+
path: {
|
|
8219
|
+
/**
|
|
8220
|
+
* Org Id
|
|
8221
|
+
*/
|
|
8222
|
+
org_id: string;
|
|
8223
|
+
};
|
|
8224
|
+
query?: never;
|
|
8225
|
+
url: '/v1/billing/invoices/{org_id}/upcoming';
|
|
8226
|
+
};
|
|
8227
|
+
export type GetOrgUpcomingInvoiceErrors = {
|
|
8228
|
+
/**
|
|
8229
|
+
* Validation Error
|
|
8230
|
+
*/
|
|
8231
|
+
422: HttpValidationError;
|
|
8232
|
+
};
|
|
8233
|
+
export type GetOrgUpcomingInvoiceError = GetOrgUpcomingInvoiceErrors[keyof GetOrgUpcomingInvoiceErrors];
|
|
8234
|
+
export type GetOrgUpcomingInvoiceResponses = {
|
|
8235
|
+
/**
|
|
8236
|
+
* Response Getorgupcominginvoice
|
|
8237
|
+
* Successful Response
|
|
8238
|
+
*/
|
|
8239
|
+
200: UpcomingInvoice | null;
|
|
8240
|
+
};
|
|
8241
|
+
export type GetOrgUpcomingInvoiceResponse = GetOrgUpcomingInvoiceResponses[keyof GetOrgUpcomingInvoiceResponses];
|
|
8242
|
+
export type CreateCheckoutSessionData = {
|
|
8243
|
+
body: CreateCheckoutRequest;
|
|
8244
|
+
path?: never;
|
|
8245
|
+
query?: never;
|
|
8246
|
+
url: '/v1/billing/checkout';
|
|
8247
|
+
};
|
|
8248
|
+
export type CreateCheckoutSessionErrors = {
|
|
8249
|
+
/**
|
|
8250
|
+
* Validation Error
|
|
8251
|
+
*/
|
|
8252
|
+
422: HttpValidationError;
|
|
8253
|
+
};
|
|
8254
|
+
export type CreateCheckoutSessionError = CreateCheckoutSessionErrors[keyof CreateCheckoutSessionErrors];
|
|
8255
|
+
export type CreateCheckoutSessionResponses = {
|
|
8256
|
+
/**
|
|
8257
|
+
* Successful Response
|
|
8258
|
+
*/
|
|
8259
|
+
201: CheckoutResponse;
|
|
8260
|
+
};
|
|
8261
|
+
export type CreateCheckoutSessionResponse = CreateCheckoutSessionResponses[keyof CreateCheckoutSessionResponses];
|
|
8262
|
+
export type GetCheckoutStatusData = {
|
|
8263
|
+
body?: never;
|
|
8264
|
+
path: {
|
|
8265
|
+
/**
|
|
8266
|
+
* Session Id
|
|
8267
|
+
*/
|
|
8268
|
+
session_id: string;
|
|
8269
|
+
};
|
|
8270
|
+
query?: never;
|
|
8271
|
+
url: '/v1/billing/checkout/{session_id}/status';
|
|
8272
|
+
};
|
|
8273
|
+
export type GetCheckoutStatusErrors = {
|
|
8274
|
+
/**
|
|
8275
|
+
* Validation Error
|
|
8276
|
+
*/
|
|
8277
|
+
422: HttpValidationError;
|
|
8278
|
+
};
|
|
8279
|
+
export type GetCheckoutStatusError = GetCheckoutStatusErrors[keyof GetCheckoutStatusErrors];
|
|
8280
|
+
export type GetCheckoutStatusResponses = {
|
|
8281
|
+
/**
|
|
8282
|
+
* Successful Response
|
|
8283
|
+
*/
|
|
8284
|
+
200: CheckoutStatusResponse;
|
|
8285
|
+
};
|
|
8286
|
+
export type GetCheckoutStatusResponse = GetCheckoutStatusResponses[keyof GetCheckoutStatusResponses];
|
|
7176
8287
|
export type ClientOptions = {
|
|
7177
8288
|
baseUrl: 'http://localhost:8000';
|
|
7178
8289
|
};
|