@robosystems/client 0.2.10 → 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 +149 -60
- package/sdk/sdk.gen.js +372 -106
- package/sdk/sdk.gen.ts +361 -96
- package/sdk/types.gen.d.ts +760 -173
- package/sdk/types.gen.ts +829 -174
- package/sdk.gen.d.ts +149 -60
- package/sdk.gen.js +372 -106
- package/sdk.gen.ts +361 -96
- package/types.gen.d.ts +760 -173
- package/types.gen.ts +829 -174
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
|
|
@@ -707,17 +714,17 @@ export type BatchAgentResponse = {
|
|
|
707
714
|
};
|
|
708
715
|
/**
|
|
709
716
|
* BillingCustomer
|
|
710
|
-
* Billing customer information.
|
|
717
|
+
* Billing customer information for an organization.
|
|
711
718
|
*/
|
|
712
719
|
export type BillingCustomer = {
|
|
713
720
|
/**
|
|
714
|
-
*
|
|
715
|
-
*
|
|
721
|
+
* Org Id
|
|
722
|
+
* Organization ID
|
|
716
723
|
*/
|
|
717
|
-
|
|
724
|
+
org_id: string;
|
|
718
725
|
/**
|
|
719
726
|
* Has Payment Method
|
|
720
|
-
* Whether
|
|
727
|
+
* Whether organization has a payment method on file
|
|
721
728
|
*/
|
|
722
729
|
has_payment_method: boolean;
|
|
723
730
|
/**
|
|
@@ -836,22 +843,27 @@ export type CheckoutResponse = {
|
|
|
836
843
|
* Checkout Url
|
|
837
844
|
* URL to redirect user to for payment
|
|
838
845
|
*/
|
|
839
|
-
checkout_url
|
|
846
|
+
checkout_url?: string | null;
|
|
840
847
|
/**
|
|
841
848
|
* Session Id
|
|
842
849
|
* Checkout session ID for status polling
|
|
843
850
|
*/
|
|
844
|
-
session_id
|
|
851
|
+
session_id?: string | null;
|
|
845
852
|
/**
|
|
846
853
|
* Subscription Id
|
|
847
854
|
* Internal subscription ID
|
|
848
855
|
*/
|
|
849
|
-
subscription_id
|
|
856
|
+
subscription_id?: string | null;
|
|
850
857
|
/**
|
|
851
858
|
* Requires Checkout
|
|
852
859
|
* Whether checkout is required
|
|
853
860
|
*/
|
|
854
861
|
requires_checkout?: boolean;
|
|
862
|
+
/**
|
|
863
|
+
* Billing Disabled
|
|
864
|
+
* Whether billing is disabled on this instance
|
|
865
|
+
*/
|
|
866
|
+
billing_disabled?: boolean;
|
|
855
867
|
};
|
|
856
868
|
/**
|
|
857
869
|
* CheckoutStatusResponse
|
|
@@ -1165,6 +1177,17 @@ export type CreateGraphRequest = {
|
|
|
1165
1177
|
*/
|
|
1166
1178
|
tags?: Array<string>;
|
|
1167
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
|
+
};
|
|
1168
1191
|
/**
|
|
1169
1192
|
* CreateRepositorySubscriptionRequest
|
|
1170
1193
|
* Request to create a repository subscription.
|
|
@@ -2184,12 +2207,15 @@ export type GraphSubscriptionResponse = {
|
|
|
2184
2207
|
};
|
|
2185
2208
|
/**
|
|
2186
2209
|
* GraphSubscriptionTier
|
|
2187
|
-
* 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.
|
|
2188
2214
|
*/
|
|
2189
2215
|
export type GraphSubscriptionTier = {
|
|
2190
2216
|
/**
|
|
2191
2217
|
* Name
|
|
2192
|
-
*
|
|
2218
|
+
* Infrastructure tier identifier (e.g., kuzu-standard)
|
|
2193
2219
|
*/
|
|
2194
2220
|
name: string;
|
|
2195
2221
|
/**
|
|
@@ -2203,15 +2229,15 @@ export type GraphSubscriptionTier = {
|
|
|
2203
2229
|
*/
|
|
2204
2230
|
description: string;
|
|
2205
2231
|
/**
|
|
2206
|
-
* Monthly Price
|
|
2207
|
-
* Monthly price in USD
|
|
2232
|
+
* Monthly Price Per Graph
|
|
2233
|
+
* Monthly price in USD per graph
|
|
2208
2234
|
*/
|
|
2209
|
-
|
|
2235
|
+
monthly_price_per_graph: number;
|
|
2210
2236
|
/**
|
|
2211
|
-
* Monthly Credits
|
|
2212
|
-
* Monthly AI credits
|
|
2237
|
+
* Monthly Credits Per Graph
|
|
2238
|
+
* Monthly AI credits per graph
|
|
2213
2239
|
*/
|
|
2214
|
-
|
|
2240
|
+
monthly_credits_per_graph: number;
|
|
2215
2241
|
/**
|
|
2216
2242
|
* Storage Included Gb
|
|
2217
2243
|
* Storage included in GB
|
|
@@ -2223,10 +2249,10 @@ export type GraphSubscriptionTier = {
|
|
|
2223
2249
|
*/
|
|
2224
2250
|
storage_overage_per_gb: number;
|
|
2225
2251
|
/**
|
|
2226
|
-
*
|
|
2227
|
-
*
|
|
2252
|
+
* Infrastructure
|
|
2253
|
+
* Infrastructure description
|
|
2228
2254
|
*/
|
|
2229
|
-
|
|
2255
|
+
infrastructure: string;
|
|
2230
2256
|
/**
|
|
2231
2257
|
* Features
|
|
2232
2258
|
* List of features
|
|
@@ -2249,9 +2275,9 @@ export type GraphSubscriptionTier = {
|
|
|
2249
2275
|
max_queries_per_hour?: number | null;
|
|
2250
2276
|
/**
|
|
2251
2277
|
* Max Subgraphs
|
|
2252
|
-
* Maximum subgraphs
|
|
2278
|
+
* Maximum subgraphs supported
|
|
2253
2279
|
*/
|
|
2254
|
-
max_subgraphs?: number
|
|
2280
|
+
max_subgraphs?: number;
|
|
2255
2281
|
/**
|
|
2256
2282
|
* Api Rate Multiplier
|
|
2257
2283
|
* API rate multiplier
|
|
@@ -2271,6 +2297,10 @@ export type GraphSubscriptionTier = {
|
|
|
2271
2297
|
/**
|
|
2272
2298
|
* GraphSubscriptions
|
|
2273
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.
|
|
2274
2304
|
*/
|
|
2275
2305
|
export type GraphSubscriptions = {
|
|
2276
2306
|
/**
|
|
@@ -2278,9 +2308,14 @@ export type GraphSubscriptions = {
|
|
|
2278
2308
|
* Description of graph subscriptions
|
|
2279
2309
|
*/
|
|
2280
2310
|
description: string;
|
|
2311
|
+
/**
|
|
2312
|
+
* Pricing Model
|
|
2313
|
+
* Pricing model type (per_graph or per_organization)
|
|
2314
|
+
*/
|
|
2315
|
+
pricing_model: string;
|
|
2281
2316
|
/**
|
|
2282
2317
|
* Tiers
|
|
2283
|
-
* Available tiers
|
|
2318
|
+
* Available infrastructure tiers
|
|
2284
2319
|
*/
|
|
2285
2320
|
tiers: Array<GraphSubscriptionTier>;
|
|
2286
2321
|
/**
|
|
@@ -2595,6 +2630,17 @@ export type InitialEntityData = {
|
|
|
2595
2630
|
*/
|
|
2596
2631
|
ein?: string | null;
|
|
2597
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
|
+
};
|
|
2598
2644
|
/**
|
|
2599
2645
|
* Invoice
|
|
2600
2646
|
* Invoice information.
|
|
@@ -3022,6 +3068,260 @@ export type OperationCosts = {
|
|
|
3022
3068
|
*/
|
|
3023
3069
|
notes: Array<string>;
|
|
3024
3070
|
};
|
|
3071
|
+
/**
|
|
3072
|
+
* OrgDetailResponse
|
|
3073
|
+
* Detailed organization response.
|
|
3074
|
+
*/
|
|
3075
|
+
export type OrgDetailResponse = {
|
|
3076
|
+
/**
|
|
3077
|
+
* Id
|
|
3078
|
+
*/
|
|
3079
|
+
id: string;
|
|
3080
|
+
/**
|
|
3081
|
+
* Name
|
|
3082
|
+
*/
|
|
3083
|
+
name: string;
|
|
3084
|
+
org_type: OrgType;
|
|
3085
|
+
user_role: OrgRole;
|
|
3086
|
+
/**
|
|
3087
|
+
* Members
|
|
3088
|
+
*/
|
|
3089
|
+
members: Array<{
|
|
3090
|
+
[key: string]: unknown;
|
|
3091
|
+
}>;
|
|
3092
|
+
/**
|
|
3093
|
+
* Graphs
|
|
3094
|
+
*/
|
|
3095
|
+
graphs: Array<{
|
|
3096
|
+
[key: string]: unknown;
|
|
3097
|
+
}>;
|
|
3098
|
+
/**
|
|
3099
|
+
* Limits
|
|
3100
|
+
*/
|
|
3101
|
+
limits: {
|
|
3102
|
+
[key: string]: unknown;
|
|
3103
|
+
} | null;
|
|
3104
|
+
/**
|
|
3105
|
+
* Created At
|
|
3106
|
+
*/
|
|
3107
|
+
created_at: string;
|
|
3108
|
+
/**
|
|
3109
|
+
* Updated At
|
|
3110
|
+
*/
|
|
3111
|
+
updated_at: string;
|
|
3112
|
+
};
|
|
3113
|
+
/**
|
|
3114
|
+
* OrgLimitsResponse
|
|
3115
|
+
* Organization limits response.
|
|
3116
|
+
*/
|
|
3117
|
+
export type OrgLimitsResponse = {
|
|
3118
|
+
/**
|
|
3119
|
+
* Org Id
|
|
3120
|
+
*/
|
|
3121
|
+
org_id: string;
|
|
3122
|
+
/**
|
|
3123
|
+
* Max Graphs
|
|
3124
|
+
*/
|
|
3125
|
+
max_graphs: number;
|
|
3126
|
+
/**
|
|
3127
|
+
* Current Usage
|
|
3128
|
+
*/
|
|
3129
|
+
current_usage: {
|
|
3130
|
+
[key: string]: unknown;
|
|
3131
|
+
};
|
|
3132
|
+
/**
|
|
3133
|
+
* Warnings
|
|
3134
|
+
*/
|
|
3135
|
+
warnings: Array<string>;
|
|
3136
|
+
/**
|
|
3137
|
+
* Can Create Graph
|
|
3138
|
+
*/
|
|
3139
|
+
can_create_graph: boolean;
|
|
3140
|
+
};
|
|
3141
|
+
/**
|
|
3142
|
+
* OrgListResponse
|
|
3143
|
+
* List of organizations response.
|
|
3144
|
+
*/
|
|
3145
|
+
export type OrgListResponse = {
|
|
3146
|
+
/**
|
|
3147
|
+
* Orgs
|
|
3148
|
+
*/
|
|
3149
|
+
orgs: Array<OrgResponse>;
|
|
3150
|
+
/**
|
|
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
|
+
};
|
|
3025
3325
|
/**
|
|
3026
3326
|
* PasswordCheckRequest
|
|
3027
3327
|
* Password strength check request model.
|
|
@@ -3328,6 +3628,9 @@ export type RepositoryInfo = {
|
|
|
3328
3628
|
/**
|
|
3329
3629
|
* RepositorySubscriptions
|
|
3330
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.
|
|
3331
3634
|
*/
|
|
3332
3635
|
export type RepositorySubscriptions = {
|
|
3333
3636
|
/**
|
|
@@ -3335,6 +3638,11 @@ export type RepositorySubscriptions = {
|
|
|
3335
3638
|
* Description of repository subscriptions
|
|
3336
3639
|
*/
|
|
3337
3640
|
description: string;
|
|
3641
|
+
/**
|
|
3642
|
+
* Pricing Model
|
|
3643
|
+
* Pricing model type (per_graph or per_organization)
|
|
3644
|
+
*/
|
|
3645
|
+
pricing_model: string;
|
|
3338
3646
|
/**
|
|
3339
3647
|
* Repositories
|
|
3340
3648
|
* Available repositories
|
|
@@ -3653,6 +3961,11 @@ export type ServiceOfferingSummary = {
|
|
|
3653
3961
|
* Complete service offerings response.
|
|
3654
3962
|
*/
|
|
3655
3963
|
export type ServiceOfferingsResponse = {
|
|
3964
|
+
/**
|
|
3965
|
+
* Billing Enabled
|
|
3966
|
+
* Whether billing and payments are enabled
|
|
3967
|
+
*/
|
|
3968
|
+
billing_enabled: boolean;
|
|
3656
3969
|
/**
|
|
3657
3970
|
* Graph subscription offerings
|
|
3658
3971
|
*/
|
|
@@ -4216,6 +4529,24 @@ export type UpdateApiKeyRequest = {
|
|
|
4216
4529
|
*/
|
|
4217
4530
|
description?: string | null;
|
|
4218
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
|
+
};
|
|
4219
4550
|
/**
|
|
4220
4551
|
* UpdatePasswordRequest
|
|
4221
4552
|
* Request model for updating user password.
|
|
@@ -4306,40 +4637,6 @@ export type UserGraphsResponse = {
|
|
|
4306
4637
|
*/
|
|
4307
4638
|
selectedGraphId?: string | null;
|
|
4308
4639
|
};
|
|
4309
|
-
/**
|
|
4310
|
-
* UserLimitsResponse
|
|
4311
|
-
* Response model for user limits information.
|
|
4312
|
-
*
|
|
4313
|
-
* UserLimits is now a simple safety valve to prevent runaway graph creation.
|
|
4314
|
-
* Subscription tiers and rate limits are handled at the graph level.
|
|
4315
|
-
*/
|
|
4316
|
-
export type UserLimitsResponse = {
|
|
4317
|
-
/**
|
|
4318
|
-
* Id
|
|
4319
|
-
* Unique limits identifier
|
|
4320
|
-
*/
|
|
4321
|
-
id: string;
|
|
4322
|
-
/**
|
|
4323
|
-
* User Id
|
|
4324
|
-
* Associated user ID
|
|
4325
|
-
*/
|
|
4326
|
-
user_id: string;
|
|
4327
|
-
/**
|
|
4328
|
-
* Max User Graphs
|
|
4329
|
-
* Maximum number of user graphs allowed (safety limit)
|
|
4330
|
-
*/
|
|
4331
|
-
max_user_graphs: number;
|
|
4332
|
-
/**
|
|
4333
|
-
* Created At
|
|
4334
|
-
* Limits creation timestamp
|
|
4335
|
-
*/
|
|
4336
|
-
created_at: string;
|
|
4337
|
-
/**
|
|
4338
|
-
* Updated At
|
|
4339
|
-
* Last update timestamp
|
|
4340
|
-
*/
|
|
4341
|
-
updated_at: string;
|
|
4342
|
-
};
|
|
4343
4640
|
/**
|
|
4344
4641
|
* UserResponse
|
|
4345
4642
|
* User information response model.
|
|
@@ -4366,31 +4663,6 @@ export type UserResponse = {
|
|
|
4366
4663
|
*/
|
|
4367
4664
|
accounts?: Array<AccountInfo>;
|
|
4368
4665
|
};
|
|
4369
|
-
/**
|
|
4370
|
-
* UserUsageResponse
|
|
4371
|
-
* Response model for user usage statistics.
|
|
4372
|
-
*
|
|
4373
|
-
* Simplified to only show graph usage as UserLimits is now just a safety valve.
|
|
4374
|
-
* Other usage tracking (MCP, Agent calls) happens at the graph level.
|
|
4375
|
-
*/
|
|
4376
|
-
export type UserUsageResponse = {
|
|
4377
|
-
/**
|
|
4378
|
-
* User Id
|
|
4379
|
-
* User identifier
|
|
4380
|
-
*/
|
|
4381
|
-
user_id: string;
|
|
4382
|
-
/**
|
|
4383
|
-
* Graphs
|
|
4384
|
-
* Graph usage statistics (current/limit/remaining)
|
|
4385
|
-
*/
|
|
4386
|
-
graphs: {
|
|
4387
|
-
[key: string]: unknown;
|
|
4388
|
-
};
|
|
4389
|
-
/**
|
|
4390
|
-
* Current user limits
|
|
4391
|
-
*/
|
|
4392
|
-
limits: UserLimitsResponse;
|
|
4393
|
-
};
|
|
4394
4666
|
/**
|
|
4395
4667
|
* ValidationError
|
|
4396
4668
|
*/
|
|
@@ -4949,24 +5221,285 @@ export type UpdateUserApiKeyResponses = {
|
|
|
4949
5221
|
200: ApiKeyInfo;
|
|
4950
5222
|
};
|
|
4951
5223
|
export type UpdateUserApiKeyResponse = UpdateUserApiKeyResponses[keyof UpdateUserApiKeyResponses];
|
|
4952
|
-
export type
|
|
5224
|
+
export type ListUserOrgsData = {
|
|
4953
5225
|
body?: never;
|
|
4954
5226
|
path?: never;
|
|
4955
5227
|
query?: never;
|
|
4956
|
-
url: '/v1/
|
|
5228
|
+
url: '/v1/orgs';
|
|
4957
5229
|
};
|
|
4958
|
-
export type
|
|
5230
|
+
export type ListUserOrgsResponses = {
|
|
4959
5231
|
/**
|
|
4960
|
-
*
|
|
5232
|
+
* Successful Response
|
|
4961
5233
|
*/
|
|
4962
|
-
200:
|
|
5234
|
+
200: OrgListResponse;
|
|
4963
5235
|
};
|
|
4964
|
-
export type
|
|
4965
|
-
export type
|
|
4966
|
-
body
|
|
4967
|
-
path
|
|
4968
|
-
|
|
4969
|
-
|
|
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;
|
|
5323
|
+
};
|
|
5324
|
+
export type ListOrgGraphsError = ListOrgGraphsErrors[keyof ListOrgGraphsErrors];
|
|
5325
|
+
export type ListOrgGraphsResponses = {
|
|
5326
|
+
/**
|
|
5327
|
+
* Response Listorggraphs
|
|
5328
|
+
* Successful Response
|
|
5329
|
+
*/
|
|
5330
|
+
200: Array<{
|
|
5331
|
+
[key: string]: unknown;
|
|
5332
|
+
}>;
|
|
5333
|
+
};
|
|
5334
|
+
export type ListOrgGraphsResponse = ListOrgGraphsResponses[keyof ListOrgGraphsResponses];
|
|
5335
|
+
export type ListOrgMembersData = {
|
|
5336
|
+
body?: never;
|
|
5337
|
+
path: {
|
|
5338
|
+
/**
|
|
5339
|
+
* Org Id
|
|
5340
|
+
*/
|
|
5341
|
+
org_id: string;
|
|
5342
|
+
};
|
|
5343
|
+
query?: never;
|
|
5344
|
+
url: '/v1/orgs/{org_id}/members';
|
|
5345
|
+
};
|
|
5346
|
+
export type ListOrgMembersErrors = {
|
|
5347
|
+
/**
|
|
5348
|
+
* Validation Error
|
|
5349
|
+
*/
|
|
5350
|
+
422: HttpValidationError;
|
|
5351
|
+
};
|
|
5352
|
+
export type ListOrgMembersError = ListOrgMembersErrors[keyof ListOrgMembersErrors];
|
|
5353
|
+
export type ListOrgMembersResponses = {
|
|
5354
|
+
/**
|
|
5355
|
+
* Successful Response
|
|
5356
|
+
*/
|
|
5357
|
+
200: OrgMemberListResponse;
|
|
5358
|
+
};
|
|
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
|
+
};
|
|
5368
|
+
query?: never;
|
|
5369
|
+
url: '/v1/orgs/{org_id}/members';
|
|
5370
|
+
};
|
|
5371
|
+
export type InviteOrgMemberErrors = {
|
|
5372
|
+
/**
|
|
5373
|
+
* Validation Error
|
|
5374
|
+
*/
|
|
5375
|
+
422: HttpValidationError;
|
|
5376
|
+
};
|
|
5377
|
+
export type InviteOrgMemberError = InviteOrgMemberErrors[keyof InviteOrgMemberErrors];
|
|
5378
|
+
export type InviteOrgMemberResponses = {
|
|
5379
|
+
/**
|
|
5380
|
+
* Successful Response
|
|
5381
|
+
*/
|
|
5382
|
+
201: OrgMemberResponse;
|
|
5383
|
+
};
|
|
5384
|
+
export type InviteOrgMemberResponse = InviteOrgMemberResponses[keyof InviteOrgMemberResponses];
|
|
5385
|
+
export type RemoveOrgMemberData = {
|
|
5386
|
+
body?: never;
|
|
5387
|
+
path: {
|
|
5388
|
+
/**
|
|
5389
|
+
* Org Id
|
|
5390
|
+
*/
|
|
5391
|
+
org_id: string;
|
|
5392
|
+
/**
|
|
5393
|
+
* User Id
|
|
5394
|
+
*/
|
|
5395
|
+
user_id: string;
|
|
5396
|
+
};
|
|
5397
|
+
query?: never;
|
|
5398
|
+
url: '/v1/orgs/{org_id}/members/{user_id}';
|
|
5399
|
+
};
|
|
5400
|
+
export type RemoveOrgMemberErrors = {
|
|
5401
|
+
/**
|
|
5402
|
+
* Validation Error
|
|
5403
|
+
*/
|
|
5404
|
+
422: HttpValidationError;
|
|
5405
|
+
};
|
|
5406
|
+
export type RemoveOrgMemberError = RemoveOrgMemberErrors[keyof RemoveOrgMemberErrors];
|
|
5407
|
+
export type RemoveOrgMemberResponses = {
|
|
5408
|
+
/**
|
|
5409
|
+
* Successful Response
|
|
5410
|
+
*/
|
|
5411
|
+
204: void;
|
|
5412
|
+
};
|
|
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 = {
|
|
5430
|
+
/**
|
|
5431
|
+
* Validation Error
|
|
5432
|
+
*/
|
|
5433
|
+
422: HttpValidationError;
|
|
5434
|
+
};
|
|
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;
|
|
5445
|
+
path: {
|
|
5446
|
+
/**
|
|
5447
|
+
* Org Id
|
|
5448
|
+
*/
|
|
5449
|
+
org_id: string;
|
|
5450
|
+
};
|
|
5451
|
+
query?: never;
|
|
5452
|
+
url: '/v1/orgs/{org_id}/limits';
|
|
5453
|
+
};
|
|
5454
|
+
export type GetOrgLimitsErrors = {
|
|
5455
|
+
/**
|
|
5456
|
+
* Validation Error
|
|
5457
|
+
*/
|
|
5458
|
+
422: HttpValidationError;
|
|
5459
|
+
};
|
|
5460
|
+
export type GetOrgLimitsError = GetOrgLimitsErrors[keyof GetOrgLimitsErrors];
|
|
5461
|
+
export type GetOrgLimitsResponses = {
|
|
5462
|
+
/**
|
|
5463
|
+
* Successful Response
|
|
5464
|
+
*/
|
|
5465
|
+
200: OrgLimitsResponse;
|
|
5466
|
+
};
|
|
5467
|
+
export type GetOrgLimitsResponse = GetOrgLimitsResponses[keyof GetOrgLimitsResponses];
|
|
5468
|
+
export type GetOrgUsageData = {
|
|
5469
|
+
body?: never;
|
|
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;
|
|
5489
|
+
};
|
|
5490
|
+
export type GetOrgUsageError = GetOrgUsageErrors[keyof GetOrgUsageErrors];
|
|
5491
|
+
export type GetOrgUsageResponses = {
|
|
5492
|
+
/**
|
|
5493
|
+
* Successful Response
|
|
5494
|
+
*/
|
|
5495
|
+
200: OrgUsageResponse;
|
|
5496
|
+
};
|
|
5497
|
+
export type GetOrgUsageResponse = GetOrgUsageResponses[keyof GetOrgUsageResponses];
|
|
5498
|
+
export type ListConnectionsData = {
|
|
5499
|
+
body?: never;
|
|
5500
|
+
path: {
|
|
5501
|
+
/**
|
|
5502
|
+
* Graph Id
|
|
4970
5503
|
*/
|
|
4971
5504
|
graph_id: string;
|
|
4972
5505
|
};
|
|
@@ -7515,87 +8048,148 @@ export type CancelOperationResponses = {
|
|
|
7515
8048
|
};
|
|
7516
8049
|
};
|
|
7517
8050
|
export type CancelOperationResponse = CancelOperationResponses[keyof CancelOperationResponses];
|
|
7518
|
-
export type
|
|
7519
|
-
body
|
|
7520
|
-
path
|
|
8051
|
+
export type GetOrgBillingCustomerData = {
|
|
8052
|
+
body?: never;
|
|
8053
|
+
path: {
|
|
8054
|
+
/**
|
|
8055
|
+
* Org Id
|
|
8056
|
+
*/
|
|
8057
|
+
org_id: string;
|
|
8058
|
+
};
|
|
7521
8059
|
query?: never;
|
|
7522
|
-
url: '/v1/billing/
|
|
8060
|
+
url: '/v1/billing/customer/{org_id}';
|
|
7523
8061
|
};
|
|
7524
|
-
export type
|
|
8062
|
+
export type GetOrgBillingCustomerErrors = {
|
|
7525
8063
|
/**
|
|
7526
8064
|
* Validation Error
|
|
7527
8065
|
*/
|
|
7528
8066
|
422: HttpValidationError;
|
|
7529
8067
|
};
|
|
7530
|
-
export type
|
|
7531
|
-
export type
|
|
8068
|
+
export type GetOrgBillingCustomerError = GetOrgBillingCustomerErrors[keyof GetOrgBillingCustomerErrors];
|
|
8069
|
+
export type GetOrgBillingCustomerResponses = {
|
|
7532
8070
|
/**
|
|
7533
8071
|
* Successful Response
|
|
7534
8072
|
*/
|
|
7535
|
-
|
|
8073
|
+
200: BillingCustomer;
|
|
7536
8074
|
};
|
|
7537
|
-
export type
|
|
7538
|
-
export type
|
|
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 = {
|
|
7539
8102
|
body?: never;
|
|
7540
8103
|
path: {
|
|
7541
8104
|
/**
|
|
7542
|
-
*
|
|
8105
|
+
* Org Id
|
|
7543
8106
|
*/
|
|
7544
|
-
|
|
8107
|
+
org_id: string;
|
|
7545
8108
|
};
|
|
7546
8109
|
query?: never;
|
|
7547
|
-
url: '/v1/billing/
|
|
8110
|
+
url: '/v1/billing/subscriptions/{org_id}';
|
|
7548
8111
|
};
|
|
7549
|
-
export type
|
|
8112
|
+
export type ListOrgSubscriptionsErrors = {
|
|
7550
8113
|
/**
|
|
7551
8114
|
* Validation Error
|
|
7552
8115
|
*/
|
|
7553
8116
|
422: HttpValidationError;
|
|
7554
8117
|
};
|
|
7555
|
-
export type
|
|
7556
|
-
export type
|
|
8118
|
+
export type ListOrgSubscriptionsError = ListOrgSubscriptionsErrors[keyof ListOrgSubscriptionsErrors];
|
|
8119
|
+
export type ListOrgSubscriptionsResponses = {
|
|
7557
8120
|
/**
|
|
8121
|
+
* Response Listorgsubscriptions
|
|
7558
8122
|
* Successful Response
|
|
7559
8123
|
*/
|
|
7560
|
-
200:
|
|
8124
|
+
200: Array<GraphSubscriptionResponse>;
|
|
7561
8125
|
};
|
|
7562
|
-
export type
|
|
7563
|
-
export type
|
|
8126
|
+
export type ListOrgSubscriptionsResponse = ListOrgSubscriptionsResponses[keyof ListOrgSubscriptionsResponses];
|
|
8127
|
+
export type GetOrgSubscriptionData = {
|
|
7564
8128
|
body?: never;
|
|
7565
|
-
path
|
|
8129
|
+
path: {
|
|
8130
|
+
/**
|
|
8131
|
+
* Org Id
|
|
8132
|
+
*/
|
|
8133
|
+
org_id: string;
|
|
8134
|
+
/**
|
|
8135
|
+
* Subscription Id
|
|
8136
|
+
*/
|
|
8137
|
+
subscription_id: string;
|
|
8138
|
+
};
|
|
7566
8139
|
query?: never;
|
|
7567
|
-
url: '/v1/billing/
|
|
8140
|
+
url: '/v1/billing/subscriptions/{org_id}/subscription/{subscription_id}';
|
|
7568
8141
|
};
|
|
7569
|
-
export type
|
|
8142
|
+
export type GetOrgSubscriptionErrors = {
|
|
8143
|
+
/**
|
|
8144
|
+
* Validation Error
|
|
8145
|
+
*/
|
|
8146
|
+
422: HttpValidationError;
|
|
8147
|
+
};
|
|
8148
|
+
export type GetOrgSubscriptionError = GetOrgSubscriptionErrors[keyof GetOrgSubscriptionErrors];
|
|
8149
|
+
export type GetOrgSubscriptionResponses = {
|
|
7570
8150
|
/**
|
|
7571
8151
|
* Successful Response
|
|
7572
8152
|
*/
|
|
7573
|
-
200:
|
|
8153
|
+
200: GraphSubscriptionResponse;
|
|
7574
8154
|
};
|
|
7575
|
-
export type
|
|
7576
|
-
export type
|
|
7577
|
-
body
|
|
7578
|
-
path
|
|
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
|
+
};
|
|
7579
8168
|
query?: never;
|
|
7580
|
-
url: '/v1/billing/
|
|
8169
|
+
url: '/v1/billing/subscriptions/{org_id}/subscription/{subscription_id}/cancel';
|
|
7581
8170
|
};
|
|
7582
|
-
export type
|
|
8171
|
+
export type CancelOrgSubscriptionErrors = {
|
|
7583
8172
|
/**
|
|
7584
8173
|
* Validation Error
|
|
7585
8174
|
*/
|
|
7586
8175
|
422: HttpValidationError;
|
|
7587
8176
|
};
|
|
7588
|
-
export type
|
|
7589
|
-
export type
|
|
8177
|
+
export type CancelOrgSubscriptionError = CancelOrgSubscriptionErrors[keyof CancelOrgSubscriptionErrors];
|
|
8178
|
+
export type CancelOrgSubscriptionResponses = {
|
|
7590
8179
|
/**
|
|
7591
8180
|
* Successful Response
|
|
7592
8181
|
*/
|
|
7593
|
-
200:
|
|
8182
|
+
200: GraphSubscriptionResponse;
|
|
7594
8183
|
};
|
|
7595
|
-
export type
|
|
7596
|
-
export type
|
|
8184
|
+
export type CancelOrgSubscriptionResponse = CancelOrgSubscriptionResponses[keyof CancelOrgSubscriptionResponses];
|
|
8185
|
+
export type ListOrgInvoicesData = {
|
|
7597
8186
|
body?: never;
|
|
7598
|
-
path
|
|
8187
|
+
path: {
|
|
8188
|
+
/**
|
|
8189
|
+
* Org Id
|
|
8190
|
+
*/
|
|
8191
|
+
org_id: string;
|
|
8192
|
+
};
|
|
7599
8193
|
query?: {
|
|
7600
8194
|
/**
|
|
7601
8195
|
* Limit
|
|
@@ -7603,100 +8197,93 @@ export type ListInvoicesData = {
|
|
|
7603
8197
|
*/
|
|
7604
8198
|
limit?: number;
|
|
7605
8199
|
};
|
|
7606
|
-
url: '/v1/billing/invoices';
|
|
8200
|
+
url: '/v1/billing/invoices/{org_id}';
|
|
7607
8201
|
};
|
|
7608
|
-
export type
|
|
8202
|
+
export type ListOrgInvoicesErrors = {
|
|
7609
8203
|
/**
|
|
7610
8204
|
* Validation Error
|
|
7611
8205
|
*/
|
|
7612
8206
|
422: HttpValidationError;
|
|
7613
8207
|
};
|
|
7614
|
-
export type
|
|
7615
|
-
export type
|
|
8208
|
+
export type ListOrgInvoicesError = ListOrgInvoicesErrors[keyof ListOrgInvoicesErrors];
|
|
8209
|
+
export type ListOrgInvoicesResponses = {
|
|
7616
8210
|
/**
|
|
7617
8211
|
* Successful Response
|
|
7618
8212
|
*/
|
|
7619
8213
|
200: InvoicesResponse;
|
|
7620
8214
|
};
|
|
7621
|
-
export type
|
|
7622
|
-
export type
|
|
8215
|
+
export type ListOrgInvoicesResponse = ListOrgInvoicesResponses[keyof ListOrgInvoicesResponses];
|
|
8216
|
+
export type GetOrgUpcomingInvoiceData = {
|
|
7623
8217
|
body?: never;
|
|
7624
|
-
path
|
|
8218
|
+
path: {
|
|
8219
|
+
/**
|
|
8220
|
+
* Org Id
|
|
8221
|
+
*/
|
|
8222
|
+
org_id: string;
|
|
8223
|
+
};
|
|
7625
8224
|
query?: never;
|
|
7626
|
-
url: '/v1/billing/invoices/upcoming';
|
|
8225
|
+
url: '/v1/billing/invoices/{org_id}/upcoming';
|
|
7627
8226
|
};
|
|
7628
|
-
export type
|
|
8227
|
+
export type GetOrgUpcomingInvoiceErrors = {
|
|
7629
8228
|
/**
|
|
7630
|
-
*
|
|
7631
|
-
* Successful Response
|
|
8229
|
+
* Validation Error
|
|
7632
8230
|
*/
|
|
7633
|
-
|
|
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';
|
|
8231
|
+
422: HttpValidationError;
|
|
7641
8232
|
};
|
|
7642
|
-
export type
|
|
8233
|
+
export type GetOrgUpcomingInvoiceError = GetOrgUpcomingInvoiceErrors[keyof GetOrgUpcomingInvoiceErrors];
|
|
8234
|
+
export type GetOrgUpcomingInvoiceResponses = {
|
|
7643
8235
|
/**
|
|
7644
|
-
* Response
|
|
8236
|
+
* Response Getorgupcominginvoice
|
|
7645
8237
|
* Successful Response
|
|
7646
8238
|
*/
|
|
7647
|
-
200:
|
|
8239
|
+
200: UpcomingInvoice | null;
|
|
7648
8240
|
};
|
|
7649
|
-
export type
|
|
7650
|
-
export type
|
|
7651
|
-
body
|
|
7652
|
-
path
|
|
7653
|
-
/**
|
|
7654
|
-
* Subscription Id
|
|
7655
|
-
*/
|
|
7656
|
-
subscription_id: string;
|
|
7657
|
-
};
|
|
8241
|
+
export type GetOrgUpcomingInvoiceResponse = GetOrgUpcomingInvoiceResponses[keyof GetOrgUpcomingInvoiceResponses];
|
|
8242
|
+
export type CreateCheckoutSessionData = {
|
|
8243
|
+
body: CreateCheckoutRequest;
|
|
8244
|
+
path?: never;
|
|
7658
8245
|
query?: never;
|
|
7659
|
-
url: '/v1/billing/
|
|
8246
|
+
url: '/v1/billing/checkout';
|
|
7660
8247
|
};
|
|
7661
|
-
export type
|
|
8248
|
+
export type CreateCheckoutSessionErrors = {
|
|
7662
8249
|
/**
|
|
7663
8250
|
* Validation Error
|
|
7664
8251
|
*/
|
|
7665
8252
|
422: HttpValidationError;
|
|
7666
8253
|
};
|
|
7667
|
-
export type
|
|
7668
|
-
export type
|
|
8254
|
+
export type CreateCheckoutSessionError = CreateCheckoutSessionErrors[keyof CreateCheckoutSessionErrors];
|
|
8255
|
+
export type CreateCheckoutSessionResponses = {
|
|
7669
8256
|
/**
|
|
7670
8257
|
* Successful Response
|
|
7671
8258
|
*/
|
|
7672
|
-
|
|
8259
|
+
201: CheckoutResponse;
|
|
7673
8260
|
};
|
|
7674
|
-
export type
|
|
7675
|
-
export type
|
|
8261
|
+
export type CreateCheckoutSessionResponse = CreateCheckoutSessionResponses[keyof CreateCheckoutSessionResponses];
|
|
8262
|
+
export type GetCheckoutStatusData = {
|
|
7676
8263
|
body?: never;
|
|
7677
8264
|
path: {
|
|
7678
8265
|
/**
|
|
7679
|
-
*
|
|
8266
|
+
* Session Id
|
|
7680
8267
|
*/
|
|
7681
|
-
|
|
8268
|
+
session_id: string;
|
|
7682
8269
|
};
|
|
7683
8270
|
query?: never;
|
|
7684
|
-
url: '/v1/billing/
|
|
8271
|
+
url: '/v1/billing/checkout/{session_id}/status';
|
|
7685
8272
|
};
|
|
7686
|
-
export type
|
|
8273
|
+
export type GetCheckoutStatusErrors = {
|
|
7687
8274
|
/**
|
|
7688
8275
|
* Validation Error
|
|
7689
8276
|
*/
|
|
7690
8277
|
422: HttpValidationError;
|
|
7691
8278
|
};
|
|
7692
|
-
export type
|
|
7693
|
-
export type
|
|
8279
|
+
export type GetCheckoutStatusError = GetCheckoutStatusErrors[keyof GetCheckoutStatusErrors];
|
|
8280
|
+
export type GetCheckoutStatusResponses = {
|
|
7694
8281
|
/**
|
|
7695
8282
|
* Successful Response
|
|
7696
8283
|
*/
|
|
7697
|
-
200:
|
|
8284
|
+
200: CheckoutStatusResponse;
|
|
7698
8285
|
};
|
|
7699
|
-
export type
|
|
8286
|
+
export type GetCheckoutStatusResponse = GetCheckoutStatusResponses[keyof GetCheckoutStatusResponses];
|
|
7700
8287
|
export type ClientOptions = {
|
|
7701
8288
|
baseUrl: 'http://localhost:8000';
|
|
7702
8289
|
};
|