@robosystems/client 0.2.10 → 0.2.12

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.
@@ -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
- * User Id
715
- * User ID
721
+ * Org Id
722
+ * Organization ID
716
723
  */
717
- user_id: string;
724
+ org_id: string;
718
725
  /**
719
726
  * Has Payment Method
720
- * Whether customer has a payment method on file
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: string;
846
+ checkout_url?: string | null;
840
847
  /**
841
848
  * Session Id
842
849
  * Checkout session ID for status polling
843
850
  */
844
- session_id: string;
851
+ session_id?: string | null;
845
852
  /**
846
853
  * Subscription Id
847
854
  * Internal subscription ID
848
855
  */
849
- subscription_id: string;
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
@@ -870,7 +882,7 @@ export type CheckoutStatusResponse = {
870
882
  subscription_id: string;
871
883
  /**
872
884
  * Resource Id
873
- * Resource ID (graph_id or repository name) once provisioned
885
+ * Resource ID (graph_id for both graphs and repositories) once provisioned. For repositories, this is the repository slug (e.g., 'sec')
874
886
  */
875
887
  resource_id?: string | null;
876
888
  /**
@@ -1103,7 +1115,7 @@ export type CreateCheckoutRequest = {
1103
1115
  resource_type: string;
1104
1116
  /**
1105
1117
  * Resource Config
1106
- * Configuration for the resource to be provisioned
1118
+ * Configuration for the resource to be provisioned. For repositories: {'repository_name': 'graph_id'} where graph_id is the repository slug (e.g., 'sec')
1107
1119
  */
1108
1120
  resource_config: {
1109
1121
  [key: string]: unknown;
@@ -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 subscription tier.
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
- * Tier name
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
- monthly_price: number;
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
- monthly_credits: number;
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
- * Allowed Graph Tiers
2227
- * Allowed graph tier identifiers
2252
+ * Infrastructure
2253
+ * Infrastructure description
2228
2254
  */
2229
- allowed_graph_tiers: Array<string>;
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 | null;
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 GetUserLimitsData = {
5224
+ export type ListUserOrgsData = {
4953
5225
  body?: never;
4954
5226
  path?: never;
4955
5227
  query?: never;
4956
- url: '/v1/user/limits';
5228
+ url: '/v1/orgs';
4957
5229
  };
4958
- export type GetUserLimitsResponses = {
5230
+ export type ListUserOrgsResponses = {
4959
5231
  /**
4960
- * User limits and usage retrieved successfully
5232
+ * Successful Response
4961
5233
  */
4962
- 200: UserUsageResponse;
5234
+ 200: OrgListResponse;
4963
5235
  };
4964
- export type GetUserLimitsResponse = GetUserLimitsResponses[keyof GetUserLimitsResponses];
4965
- export type ListConnectionsData = {
4966
- body?: never;
4967
- path: {
4968
- /**
4969
- * Graph Id
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
  };
@@ -5352,6 +5885,41 @@ export type SyncConnectionResponses = {
5352
5885
  };
5353
5886
  };
5354
5887
  export type SyncConnectionResponse = SyncConnectionResponses[keyof SyncConnectionResponses];
5888
+ export type ListAgentsData = {
5889
+ body?: never;
5890
+ path: {
5891
+ /**
5892
+ * Graph Id
5893
+ */
5894
+ graph_id: string;
5895
+ };
5896
+ query?: {
5897
+ /**
5898
+ * Capability
5899
+ * Filter by capability (e.g., 'financial_analysis', 'rag_search')
5900
+ */
5901
+ capability?: string | null;
5902
+ };
5903
+ url: '/v1/graphs/{graph_id}/agent';
5904
+ };
5905
+ export type ListAgentsErrors = {
5906
+ /**
5907
+ * Unauthorized - Invalid or missing authentication
5908
+ */
5909
+ 401: unknown;
5910
+ /**
5911
+ * Validation Error
5912
+ */
5913
+ 422: HttpValidationError;
5914
+ };
5915
+ export type ListAgentsError = ListAgentsErrors[keyof ListAgentsErrors];
5916
+ export type ListAgentsResponses = {
5917
+ /**
5918
+ * List of agents retrieved successfully
5919
+ */
5920
+ 200: AgentListResponse;
5921
+ };
5922
+ export type ListAgentsResponse = ListAgentsResponses[keyof ListAgentsResponses];
5355
5923
  export type AutoSelectAgentData = {
5356
5924
  body: AgentRequest;
5357
5925
  path: {
@@ -5360,7 +5928,13 @@ export type AutoSelectAgentData = {
5360
5928
  */
5361
5929
  graph_id: string;
5362
5930
  };
5363
- query?: never;
5931
+ query?: {
5932
+ /**
5933
+ * Mode
5934
+ * Override execution mode: sync, async, stream, or auto
5935
+ */
5936
+ mode?: ResponseMode | null;
5937
+ };
5364
5938
  url: '/v1/graphs/{graph_id}/agent';
5365
5939
  };
5366
5940
  export type AutoSelectAgentErrors = {
@@ -5391,8 +5965,46 @@ export type AutoSelectAgentResponses = {
5391
5965
  * Query successfully processed by selected agent
5392
5966
  */
5393
5967
  200: AgentResponse;
5968
+ /**
5969
+ * Query queued for async processing with operation tracking
5970
+ */
5971
+ 202: unknown;
5394
5972
  };
5395
5973
  export type AutoSelectAgentResponse = AutoSelectAgentResponses[keyof AutoSelectAgentResponses];
5974
+ export type GetAgentMetadataData = {
5975
+ body?: never;
5976
+ path: {
5977
+ /**
5978
+ * Graph Id
5979
+ */
5980
+ graph_id: string;
5981
+ /**
5982
+ * Agent Type
5983
+ * Agent type identifier (e.g., 'financial', 'research', 'rag')
5984
+ */
5985
+ agent_type: string;
5986
+ };
5987
+ query?: never;
5988
+ url: '/v1/graphs/{graph_id}/agent/{agent_type}';
5989
+ };
5990
+ export type GetAgentMetadataErrors = {
5991
+ /**
5992
+ * Agent type not found
5993
+ */
5994
+ 404: unknown;
5995
+ /**
5996
+ * Validation Error
5997
+ */
5998
+ 422: HttpValidationError;
5999
+ };
6000
+ export type GetAgentMetadataError = GetAgentMetadataErrors[keyof GetAgentMetadataErrors];
6001
+ export type GetAgentMetadataResponses = {
6002
+ /**
6003
+ * Agent metadata retrieved successfully
6004
+ */
6005
+ 200: AgentMetadataResponse;
6006
+ };
6007
+ export type GetAgentMetadataResponse = GetAgentMetadataResponses[keyof GetAgentMetadataResponses];
5396
6008
  export type ExecuteSpecificAgentData = {
5397
6009
  body: AgentRequest;
5398
6010
  path: {
@@ -5405,7 +6017,13 @@ export type ExecuteSpecificAgentData = {
5405
6017
  */
5406
6018
  graph_id: string;
5407
6019
  };
5408
- query?: never;
6020
+ query?: {
6021
+ /**
6022
+ * Mode
6023
+ * Override execution mode: sync, async, stream, or auto
6024
+ */
6025
+ mode?: ResponseMode | null;
6026
+ };
5409
6027
  url: '/v1/graphs/{graph_id}/agent/{agent_type}';
5410
6028
  };
5411
6029
  export type ExecuteSpecificAgentErrors = {
@@ -5440,6 +6058,10 @@ export type ExecuteSpecificAgentResponses = {
5440
6058
  * Query successfully processed by specified agent
5441
6059
  */
5442
6060
  200: AgentResponse;
6061
+ /**
6062
+ * Query queued for async processing with operation tracking
6063
+ */
6064
+ 202: unknown;
5443
6065
  };
5444
6066
  export type ExecuteSpecificAgentResponse = ExecuteSpecificAgentResponses[keyof ExecuteSpecificAgentResponses];
5445
6067
  export type BatchProcessQueriesData = {
@@ -5479,75 +6101,6 @@ export type BatchProcessQueriesResponses = {
5479
6101
  200: BatchAgentResponse;
5480
6102
  };
5481
6103
  export type BatchProcessQueriesResponse = BatchProcessQueriesResponses[keyof BatchProcessQueriesResponses];
5482
- export type ListAgentsData = {
5483
- body?: never;
5484
- path: {
5485
- /**
5486
- * Graph Id
5487
- */
5488
- graph_id: string;
5489
- };
5490
- query?: {
5491
- /**
5492
- * Capability
5493
- * Filter by capability (e.g., 'financial_analysis', 'rag_search')
5494
- */
5495
- capability?: string | null;
5496
- };
5497
- url: '/v1/graphs/{graph_id}/agent/list';
5498
- };
5499
- export type ListAgentsErrors = {
5500
- /**
5501
- * Unauthorized - Invalid or missing authentication
5502
- */
5503
- 401: unknown;
5504
- /**
5505
- * Validation Error
5506
- */
5507
- 422: HttpValidationError;
5508
- };
5509
- export type ListAgentsError = ListAgentsErrors[keyof ListAgentsErrors];
5510
- export type ListAgentsResponses = {
5511
- /**
5512
- * List of agents retrieved successfully
5513
- */
5514
- 200: AgentListResponse;
5515
- };
5516
- export type ListAgentsResponse = ListAgentsResponses[keyof ListAgentsResponses];
5517
- export type GetAgentMetadataData = {
5518
- body?: never;
5519
- path: {
5520
- /**
5521
- * Graph Id
5522
- */
5523
- graph_id: string;
5524
- /**
5525
- * Agent Type
5526
- * Agent type identifier (e.g., 'financial', 'research', 'rag')
5527
- */
5528
- agent_type: string;
5529
- };
5530
- query?: never;
5531
- url: '/v1/graphs/{graph_id}/agent/{agent_type}/metadata';
5532
- };
5533
- export type GetAgentMetadataErrors = {
5534
- /**
5535
- * Agent type not found
5536
- */
5537
- 404: unknown;
5538
- /**
5539
- * Validation Error
5540
- */
5541
- 422: HttpValidationError;
5542
- };
5543
- export type GetAgentMetadataError = GetAgentMetadataErrors[keyof GetAgentMetadataErrors];
5544
- export type GetAgentMetadataResponses = {
5545
- /**
5546
- * Agent metadata retrieved successfully
5547
- */
5548
- 200: AgentMetadataResponse;
5549
- };
5550
- export type GetAgentMetadataResponse = GetAgentMetadataResponses[keyof GetAgentMetadataResponses];
5551
6104
  export type RecommendAgentData = {
5552
6105
  body: AgentRecommendationRequest;
5553
6106
  path: {
@@ -6214,6 +6767,7 @@ export type ListCreditTransactionsData = {
6214
6767
  path: {
6215
6768
  /**
6216
6769
  * Graph Id
6770
+ * Graph database identifier
6217
6771
  */
6218
6772
  graph_id: string;
6219
6773
  };
@@ -7515,87 +8069,148 @@ export type CancelOperationResponses = {
7515
8069
  };
7516
8070
  };
7517
8071
  export type CancelOperationResponse = CancelOperationResponses[keyof CancelOperationResponses];
7518
- export type CreateCheckoutSessionData = {
7519
- body: CreateCheckoutRequest;
7520
- path?: never;
8072
+ export type GetOrgBillingCustomerData = {
8073
+ body?: never;
8074
+ path: {
8075
+ /**
8076
+ * Org Id
8077
+ */
8078
+ org_id: string;
8079
+ };
7521
8080
  query?: never;
7522
- url: '/v1/billing/checkout';
8081
+ url: '/v1/billing/customer/{org_id}';
7523
8082
  };
7524
- export type CreateCheckoutSessionErrors = {
8083
+ export type GetOrgBillingCustomerErrors = {
7525
8084
  /**
7526
8085
  * Validation Error
7527
8086
  */
7528
8087
  422: HttpValidationError;
7529
8088
  };
7530
- export type CreateCheckoutSessionError = CreateCheckoutSessionErrors[keyof CreateCheckoutSessionErrors];
7531
- export type CreateCheckoutSessionResponses = {
8089
+ export type GetOrgBillingCustomerError = GetOrgBillingCustomerErrors[keyof GetOrgBillingCustomerErrors];
8090
+ export type GetOrgBillingCustomerResponses = {
7532
8091
  /**
7533
8092
  * Successful Response
7534
8093
  */
7535
- 201: CheckoutResponse;
8094
+ 200: BillingCustomer;
7536
8095
  };
7537
- export type CreateCheckoutSessionResponse = CreateCheckoutSessionResponses[keyof CreateCheckoutSessionResponses];
7538
- export type GetCheckoutStatusData = {
8096
+ export type GetOrgBillingCustomerResponse = GetOrgBillingCustomerResponses[keyof GetOrgBillingCustomerResponses];
8097
+ export type UpdateOrgPaymentMethodData = {
8098
+ body: UpdatePaymentMethodRequest;
8099
+ path: {
8100
+ /**
8101
+ * Org Id
8102
+ */
8103
+ org_id: string;
8104
+ };
8105
+ query?: never;
8106
+ url: '/v1/billing/customer/{org_id}/payment-method';
8107
+ };
8108
+ export type UpdateOrgPaymentMethodErrors = {
8109
+ /**
8110
+ * Validation Error
8111
+ */
8112
+ 422: HttpValidationError;
8113
+ };
8114
+ export type UpdateOrgPaymentMethodError = UpdateOrgPaymentMethodErrors[keyof UpdateOrgPaymentMethodErrors];
8115
+ export type UpdateOrgPaymentMethodResponses = {
8116
+ /**
8117
+ * Successful Response
8118
+ */
8119
+ 200: UpdatePaymentMethodResponse;
8120
+ };
8121
+ export type UpdateOrgPaymentMethodResponse = UpdateOrgPaymentMethodResponses[keyof UpdateOrgPaymentMethodResponses];
8122
+ export type ListOrgSubscriptionsData = {
7539
8123
  body?: never;
7540
8124
  path: {
7541
8125
  /**
7542
- * Session Id
8126
+ * Org Id
7543
8127
  */
7544
- session_id: string;
8128
+ org_id: string;
7545
8129
  };
7546
8130
  query?: never;
7547
- url: '/v1/billing/checkout/{session_id}/status';
8131
+ url: '/v1/billing/subscriptions/{org_id}';
7548
8132
  };
7549
- export type GetCheckoutStatusErrors = {
8133
+ export type ListOrgSubscriptionsErrors = {
7550
8134
  /**
7551
8135
  * Validation Error
7552
8136
  */
7553
8137
  422: HttpValidationError;
7554
8138
  };
7555
- export type GetCheckoutStatusError = GetCheckoutStatusErrors[keyof GetCheckoutStatusErrors];
7556
- export type GetCheckoutStatusResponses = {
8139
+ export type ListOrgSubscriptionsError = ListOrgSubscriptionsErrors[keyof ListOrgSubscriptionsErrors];
8140
+ export type ListOrgSubscriptionsResponses = {
7557
8141
  /**
8142
+ * Response Listorgsubscriptions
7558
8143
  * Successful Response
7559
8144
  */
7560
- 200: CheckoutStatusResponse;
8145
+ 200: Array<GraphSubscriptionResponse>;
7561
8146
  };
7562
- export type GetCheckoutStatusResponse = GetCheckoutStatusResponses[keyof GetCheckoutStatusResponses];
7563
- export type GetBillingCustomerData = {
8147
+ export type ListOrgSubscriptionsResponse = ListOrgSubscriptionsResponses[keyof ListOrgSubscriptionsResponses];
8148
+ export type GetOrgSubscriptionData = {
7564
8149
  body?: never;
7565
- path?: never;
8150
+ path: {
8151
+ /**
8152
+ * Org Id
8153
+ */
8154
+ org_id: string;
8155
+ /**
8156
+ * Subscription Id
8157
+ */
8158
+ subscription_id: string;
8159
+ };
7566
8160
  query?: never;
7567
- url: '/v1/billing/customer';
8161
+ url: '/v1/billing/subscriptions/{org_id}/subscription/{subscription_id}';
7568
8162
  };
7569
- export type GetBillingCustomerResponses = {
8163
+ export type GetOrgSubscriptionErrors = {
8164
+ /**
8165
+ * Validation Error
8166
+ */
8167
+ 422: HttpValidationError;
8168
+ };
8169
+ export type GetOrgSubscriptionError = GetOrgSubscriptionErrors[keyof GetOrgSubscriptionErrors];
8170
+ export type GetOrgSubscriptionResponses = {
7570
8171
  /**
7571
8172
  * Successful Response
7572
8173
  */
7573
- 200: BillingCustomer;
8174
+ 200: GraphSubscriptionResponse;
7574
8175
  };
7575
- export type GetBillingCustomerResponse = GetBillingCustomerResponses[keyof GetBillingCustomerResponses];
7576
- export type UpdatePaymentMethodData = {
7577
- body: UpdatePaymentMethodRequest;
7578
- path?: never;
8176
+ export type GetOrgSubscriptionResponse = GetOrgSubscriptionResponses[keyof GetOrgSubscriptionResponses];
8177
+ export type CancelOrgSubscriptionData = {
8178
+ body?: never;
8179
+ path: {
8180
+ /**
8181
+ * Org Id
8182
+ */
8183
+ org_id: string;
8184
+ /**
8185
+ * Subscription Id
8186
+ */
8187
+ subscription_id: string;
8188
+ };
7579
8189
  query?: never;
7580
- url: '/v1/billing/customer/payment-method';
8190
+ url: '/v1/billing/subscriptions/{org_id}/subscription/{subscription_id}/cancel';
7581
8191
  };
7582
- export type UpdatePaymentMethodErrors = {
8192
+ export type CancelOrgSubscriptionErrors = {
7583
8193
  /**
7584
8194
  * Validation Error
7585
8195
  */
7586
8196
  422: HttpValidationError;
7587
8197
  };
7588
- export type UpdatePaymentMethodError = UpdatePaymentMethodErrors[keyof UpdatePaymentMethodErrors];
7589
- export type UpdatePaymentMethodResponses = {
8198
+ export type CancelOrgSubscriptionError = CancelOrgSubscriptionErrors[keyof CancelOrgSubscriptionErrors];
8199
+ export type CancelOrgSubscriptionResponses = {
7590
8200
  /**
7591
8201
  * Successful Response
7592
8202
  */
7593
- 200: UpdatePaymentMethodResponse;
8203
+ 200: GraphSubscriptionResponse;
7594
8204
  };
7595
- export type UpdatePaymentMethodResponse2 = UpdatePaymentMethodResponses[keyof UpdatePaymentMethodResponses];
7596
- export type ListInvoicesData = {
8205
+ export type CancelOrgSubscriptionResponse = CancelOrgSubscriptionResponses[keyof CancelOrgSubscriptionResponses];
8206
+ export type ListOrgInvoicesData = {
7597
8207
  body?: never;
7598
- path?: never;
8208
+ path: {
8209
+ /**
8210
+ * Org Id
8211
+ */
8212
+ org_id: string;
8213
+ };
7599
8214
  query?: {
7600
8215
  /**
7601
8216
  * Limit
@@ -7603,100 +8218,93 @@ export type ListInvoicesData = {
7603
8218
  */
7604
8219
  limit?: number;
7605
8220
  };
7606
- url: '/v1/billing/invoices';
8221
+ url: '/v1/billing/invoices/{org_id}';
7607
8222
  };
7608
- export type ListInvoicesErrors = {
8223
+ export type ListOrgInvoicesErrors = {
7609
8224
  /**
7610
8225
  * Validation Error
7611
8226
  */
7612
8227
  422: HttpValidationError;
7613
8228
  };
7614
- export type ListInvoicesError = ListInvoicesErrors[keyof ListInvoicesErrors];
7615
- export type ListInvoicesResponses = {
8229
+ export type ListOrgInvoicesError = ListOrgInvoicesErrors[keyof ListOrgInvoicesErrors];
8230
+ export type ListOrgInvoicesResponses = {
7616
8231
  /**
7617
8232
  * Successful Response
7618
8233
  */
7619
8234
  200: InvoicesResponse;
7620
8235
  };
7621
- export type ListInvoicesResponse = ListInvoicesResponses[keyof ListInvoicesResponses];
7622
- export type GetUpcomingInvoiceData = {
8236
+ export type ListOrgInvoicesResponse = ListOrgInvoicesResponses[keyof ListOrgInvoicesResponses];
8237
+ export type GetOrgUpcomingInvoiceData = {
7623
8238
  body?: never;
7624
- path?: never;
8239
+ path: {
8240
+ /**
8241
+ * Org Id
8242
+ */
8243
+ org_id: string;
8244
+ };
7625
8245
  query?: never;
7626
- url: '/v1/billing/invoices/upcoming';
8246
+ url: '/v1/billing/invoices/{org_id}/upcoming';
7627
8247
  };
7628
- export type GetUpcomingInvoiceResponses = {
8248
+ export type GetOrgUpcomingInvoiceErrors = {
7629
8249
  /**
7630
- * Response Getupcominginvoice
7631
- * Successful Response
8250
+ * Validation Error
7632
8251
  */
7633
- 200: UpcomingInvoice | null;
7634
- };
7635
- export type GetUpcomingInvoiceResponse = GetUpcomingInvoiceResponses[keyof GetUpcomingInvoiceResponses];
7636
- export type ListSubscriptionsData = {
7637
- body?: never;
7638
- path?: never;
7639
- query?: never;
7640
- url: '/v1/billing/subscriptions';
8252
+ 422: HttpValidationError;
7641
8253
  };
7642
- export type ListSubscriptionsResponses = {
8254
+ export type GetOrgUpcomingInvoiceError = GetOrgUpcomingInvoiceErrors[keyof GetOrgUpcomingInvoiceErrors];
8255
+ export type GetOrgUpcomingInvoiceResponses = {
7643
8256
  /**
7644
- * Response Listsubscriptions
8257
+ * Response Getorgupcominginvoice
7645
8258
  * Successful Response
7646
8259
  */
7647
- 200: Array<GraphSubscriptionResponse>;
8260
+ 200: UpcomingInvoice | null;
7648
8261
  };
7649
- export type ListSubscriptionsResponse = ListSubscriptionsResponses[keyof ListSubscriptionsResponses];
7650
- export type GetSubscriptionData = {
7651
- body?: never;
7652
- path: {
7653
- /**
7654
- * Subscription Id
7655
- */
7656
- subscription_id: string;
7657
- };
8262
+ export type GetOrgUpcomingInvoiceResponse = GetOrgUpcomingInvoiceResponses[keyof GetOrgUpcomingInvoiceResponses];
8263
+ export type CreateCheckoutSessionData = {
8264
+ body: CreateCheckoutRequest;
8265
+ path?: never;
7658
8266
  query?: never;
7659
- url: '/v1/billing/subscriptions/{subscription_id}';
8267
+ url: '/v1/billing/checkout';
7660
8268
  };
7661
- export type GetSubscriptionErrors = {
8269
+ export type CreateCheckoutSessionErrors = {
7662
8270
  /**
7663
8271
  * Validation Error
7664
8272
  */
7665
8273
  422: HttpValidationError;
7666
8274
  };
7667
- export type GetSubscriptionError = GetSubscriptionErrors[keyof GetSubscriptionErrors];
7668
- export type GetSubscriptionResponses = {
8275
+ export type CreateCheckoutSessionError = CreateCheckoutSessionErrors[keyof CreateCheckoutSessionErrors];
8276
+ export type CreateCheckoutSessionResponses = {
7669
8277
  /**
7670
8278
  * Successful Response
7671
8279
  */
7672
- 200: GraphSubscriptionResponse;
8280
+ 201: CheckoutResponse;
7673
8281
  };
7674
- export type GetSubscriptionResponse = GetSubscriptionResponses[keyof GetSubscriptionResponses];
7675
- export type CancelSubscription2Data = {
8282
+ export type CreateCheckoutSessionResponse = CreateCheckoutSessionResponses[keyof CreateCheckoutSessionResponses];
8283
+ export type GetCheckoutStatusData = {
7676
8284
  body?: never;
7677
8285
  path: {
7678
8286
  /**
7679
- * Subscription Id
8287
+ * Session Id
7680
8288
  */
7681
- subscription_id: string;
8289
+ session_id: string;
7682
8290
  };
7683
8291
  query?: never;
7684
- url: '/v1/billing/subscriptions/{subscription_id}/cancel';
8292
+ url: '/v1/billing/checkout/{session_id}/status';
7685
8293
  };
7686
- export type CancelSubscription2Errors = {
8294
+ export type GetCheckoutStatusErrors = {
7687
8295
  /**
7688
8296
  * Validation Error
7689
8297
  */
7690
8298
  422: HttpValidationError;
7691
8299
  };
7692
- export type CancelSubscription2Error = CancelSubscription2Errors[keyof CancelSubscription2Errors];
7693
- export type CancelSubscription2Responses = {
8300
+ export type GetCheckoutStatusError = GetCheckoutStatusErrors[keyof GetCheckoutStatusErrors];
8301
+ export type GetCheckoutStatusResponses = {
7694
8302
  /**
7695
8303
  * Successful Response
7696
8304
  */
7697
- 200: GraphSubscriptionResponse;
8305
+ 200: CheckoutStatusResponse;
7698
8306
  };
7699
- export type CancelSubscription2Response = CancelSubscription2Responses[keyof CancelSubscription2Responses];
8307
+ export type GetCheckoutStatusResponse = GetCheckoutStatusResponses[keyof GetCheckoutStatusResponses];
7700
8308
  export type ClientOptions = {
7701
8309
  baseUrl: 'http://localhost:8000';
7702
8310
  };