v0-api 0.3.1 → 1.0.17

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.
Files changed (43) hide show
  1. package/LICENSE +15 -0
  2. package/README.md +13 -3
  3. package/dist/{components-eb0j7zgr.d.ts → components-lojiycjm.d.ts} +165 -284
  4. package/dist/components-lojiycjm.d.ts.map +1 -0
  5. package/dist/components-mcjsnuad.d.ts +894 -0
  6. package/dist/components-mcjsnuad.d.ts.map +1 -0
  7. package/dist/components.cjs +1567 -63
  8. package/dist/components.d.cts +1 -1
  9. package/dist/components.d.mts +1 -1
  10. package/dist/components.mjs +1509 -1
  11. package/dist/effect.cjs +131 -24
  12. package/dist/effect.d.cts +75 -5
  13. package/dist/effect.d.cts.map +1 -1
  14. package/dist/effect.d.mts +75 -5
  15. package/dist/effect.d.mts.map +1 -1
  16. package/dist/effect.mjs +125 -4
  17. package/dist/index.cjs +139 -23
  18. package/dist/index.d.cts +13 -8
  19. package/dist/index.d.cts.map +1 -1
  20. package/dist/index.d.mts +13 -8
  21. package/dist/index.d.mts.map +1 -1
  22. package/dist/index.d.ts +21676 -7155
  23. package/dist/index.d.ts.map +1 -1
  24. package/dist/index.mjs +30 -25
  25. package/dist/{schemas-mph32a3e.cjs → schemas-eef01xgn.cjs} +2004 -590
  26. package/dist/schemas-kunw251r.js +3825 -0
  27. package/dist/schemas.cjs +78 -1
  28. package/dist/schemas.d.cts +13169 -788
  29. package/dist/schemas.d.cts.map +1 -1
  30. package/dist/schemas.d.mts +13169 -788
  31. package/dist/schemas.d.mts.map +1 -1
  32. package/dist/schemas.mjs +1 -1
  33. package/dist/types.cjs +249 -10
  34. package/dist/types.d.cts +2943 -686
  35. package/dist/types.d.cts.map +1 -1
  36. package/dist/types.d.mts +2943 -686
  37. package/dist/types.d.mts.map +1 -1
  38. package/dist/types.mjs +215 -10
  39. package/package.json +34 -15
  40. package/dist/components-da0zh5te.cjs +0 -1497
  41. package/dist/components-eb0j7zgr.d.ts.map +0 -1
  42. package/dist/components-ja14lgg1.js +0 -1435
  43. package/dist/schemas-mkhkzrad.js +0 -2488
package/dist/types.d.mts CHANGED
@@ -61,16 +61,6 @@ declare const chatDetailMessagesAttachmentsTypeEnum: {
61
61
  readonly zip: "zip";
62
62
  };
63
63
  type ChatDetailMessagesAttachmentsTypeEnumKey = (typeof chatDetailMessagesAttachmentsTypeEnum)[keyof typeof chatDetailMessagesAttachmentsTypeEnum];
64
- declare const chatDetailModelConfigurationModelIdEnum: {
65
- readonly "v0-auto": "v0-auto";
66
- readonly "v0-max": "v0-max";
67
- readonly "v0-max-fast": "v0-max-fast";
68
- readonly "v0-mini": "v0-mini";
69
- readonly "v0-opus-4.7": "v0-opus-4.7";
70
- readonly "v0-opus-4.7-fast": "v0-opus-4.7-fast";
71
- readonly "v0-pro": "v0-pro";
72
- };
73
- type ChatDetailModelConfigurationModelIdEnumKey = (typeof chatDetailModelConfigurationModelIdEnum)[keyof typeof chatDetailModelConfigurationModelIdEnum];
74
64
  declare const chatDetailModelConfigurationThinkingEffort: {
75
65
  readonly none: "none";
76
66
  readonly minimal: "minimal";
@@ -267,7 +257,7 @@ type ChatDetail = {
267
257
  * @description The parsed content of the message as an array structure containing AST nodes. This is an experimental field that may change.
268
258
  * @type array | undefined
269
259
  */
270
- experimentalContent?: ([0, string[], ...string[]] | [
260
+ experimental_content?: ([0, unknown[], ...unknown[]] | [
271
261
  1,
272
262
  {
273
263
  toJSONSchema: string;
@@ -327,7 +317,7 @@ type ChatDetail = {
327
317
  partial: string;
328
318
  required: string;
329
319
  },
330
- ...string[]
320
+ ...unknown[]
331
321
  ])[] | undefined;
332
322
  /**
333
323
  * @description The ISO timestamp representing when the message was created.
@@ -445,10 +435,9 @@ type ChatDetail = {
445
435
  modelConfiguration?: {
446
436
  /**
447
437
  * @description Model to use for the generation. `v0-auto` is deprecated and falls back to `v0-pro`.
448
- * @default 'v0-pro'
449
- * @type string | undefined
438
+ * @default v0-pro
450
439
  */
451
- modelId?: ChatDetailModelConfigurationModelIdEnumKey | undefined;
440
+ modelId?: string | undefined;
452
441
  /**
453
442
  * @description Enables image generations to generate up to 5 images per version.
454
443
  * @default false
@@ -1339,7 +1328,7 @@ type MessageDetail = {
1339
1328
  * @description The parsed content of the message as an array structure containing AST nodes. This is an experimental field that may change.
1340
1329
  * @type array | undefined
1341
1330
  */
1342
- experimentalContent?: ([0, string[], ...string[]] | [
1331
+ experimental_content?: ([0, unknown[], ...unknown[]] | [
1343
1332
  1,
1344
1333
  {
1345
1334
  toJSONSchema: string;
@@ -1399,7 +1388,7 @@ type MessageDetail = {
1399
1388
  partial: string;
1400
1389
  required: string;
1401
1390
  },
1402
- ...string[]
1391
+ ...unknown[]
1403
1392
  ])[] | undefined;
1404
1393
  /**
1405
1394
  * @description The ISO timestamp representing when the message was created.
@@ -1550,7 +1539,7 @@ type MessageSummary = {
1550
1539
  * @description The parsed content of the message as an array structure containing AST nodes. This is an experimental field that may change.
1551
1540
  * @type array | undefined
1552
1541
  */
1553
- experimentalContent?: ([0, string[], ...string[]] | [
1542
+ experimental_content?: ([0, unknown[], ...unknown[]] | [
1554
1543
  1,
1555
1544
  {
1556
1545
  toJSONSchema: string;
@@ -1610,7 +1599,7 @@ type MessageSummary = {
1610
1599
  partial: string;
1611
1600
  required: string;
1612
1601
  },
1613
- ...string[]
1602
+ ...unknown[]
1614
1603
  ])[] | undefined;
1615
1604
  /**
1616
1605
  * @description The ISO timestamp representing when the message was created.
@@ -1766,7 +1755,7 @@ type MessageSummaryList = {
1766
1755
  * @description The parsed content of the message as an array structure containing AST nodes. This is an experimental field that may change.
1767
1756
  * @type array | undefined
1768
1757
  */
1769
- experimentalContent?: ([0, string[], ...string[]] | [
1758
+ experimental_content?: ([0, unknown[], ...unknown[]] | [
1770
1759
  1,
1771
1760
  {
1772
1761
  toJSONSchema: string;
@@ -1826,7 +1815,7 @@ type MessageSummaryList = {
1826
1815
  partial: string;
1827
1816
  required: string;
1828
1817
  },
1829
- ...string[]
1818
+ ...unknown[]
1830
1819
  ])[] | undefined;
1831
1820
  /**
1832
1821
  * @description The ISO timestamp representing when the message was created.
@@ -1982,7 +1971,7 @@ type ProductDetailSchema = {
1982
1971
  */
1983
1972
  iconUrl: string;
1984
1973
  /**
1985
- * @description The product\'s availability in v0. \'in-review\' products only appear for teams with the review view and should be rendered as such.
1974
+ * @description The product's availability in v0. 'in-review' products only appear for teams with the review view and should be rendered as such.
1986
1975
  * @type string | undefined
1987
1976
  */
1988
1977
  v0Availability?: ProductDetailSchemaV0AvailabilityEnumKey | undefined;
@@ -2043,7 +2032,7 @@ type ProductListSchema = {
2043
2032
  */
2044
2033
  iconUrl: string;
2045
2034
  /**
2046
- * @description The product\'s availability in v0. \'in-review\' products only appear for teams with the review view and should be rendered as such.
2035
+ * @description The product's availability in v0. 'in-review' products only appear for teams with the review view and should be rendered as such.
2047
2036
  * @type string | undefined
2048
2037
  */
2049
2038
  v0Availability?: ProductListSchemaDataV0AvailabilityEnumKey | undefined;
@@ -2090,7 +2079,7 @@ type ProductSummarySchema = {
2090
2079
  */
2091
2080
  iconUrl: string;
2092
2081
  /**
2093
- * @description The product\'s availability in v0. \'in-review\' products only appear for teams with the review view and should be rendered as such.
2082
+ * @description The product's availability in v0. 'in-review' products only appear for teams with the review view and should be rendered as such.
2094
2083
  * @type string | undefined
2095
2084
  */
2096
2085
  v0Availability?: ProductSummarySchemaV0AvailabilityEnumKey | undefined;
@@ -2415,7 +2404,7 @@ type SearchResultItem = {
2415
2404
  */
2416
2405
  id: string;
2417
2406
  /**
2418
- * @description Type of item returned, either \'chat\' or \'project\'.
2407
+ * @description Type of item returned, either 'chat' or 'project'.
2419
2408
  * @type string
2420
2409
  */
2421
2410
  object: SearchResultItemObjectEnumKey;
@@ -2466,12 +2455,12 @@ type UserDetailSchema = {
2466
2455
  */
2467
2456
  name?: string | undefined;
2468
2457
  /**
2469
- * @description The user\'s email address.
2458
+ * @description The user's email address.
2470
2459
  * @type string
2471
2460
  */
2472
2461
  email: string;
2473
2462
  /**
2474
- * @description URL to the user\'s avatar image.
2463
+ * @description URL to the user's avatar image.
2475
2464
  * @type string
2476
2465
  */
2477
2466
  avatar: string;
@@ -2505,7 +2494,7 @@ type UserPreferencesPostResponseSchema = {
2505
2494
  */
2506
2495
  preferences: {
2507
2496
  /**
2508
- * @description The user\'s preferred method for receiving notifications.
2497
+ * @description The user's preferred method for receiving notifications.
2509
2498
  * @type object
2510
2499
  */
2511
2500
  notifications: {
@@ -2533,11 +2522,11 @@ type UserPreferencesResponseSchema = {
2533
2522
  */
2534
2523
  object: "user_preferences";
2535
2524
  /**
2536
- * @description The user\'s current preferences, or null if errored.
2525
+ * @description The user's current preferences, or null if errored.
2537
2526
  */
2538
2527
  preferences: {
2539
2528
  /**
2540
- * @description The user\'s preferred method for receiving notifications.
2529
+ * @description The user's preferred method for receiving notifications.
2541
2530
  * @type object
2542
2531
  */
2543
2532
  notifications: {
@@ -2560,7 +2549,7 @@ type UserPreferencesResponseSchema = {
2560
2549
  */
2561
2550
  type UserPreferencesSchema = {
2562
2551
  /**
2563
- * @description The user\'s preferred method for receiving notifications.
2552
+ * @description The user's preferred method for receiving notifications.
2564
2553
  * @type object
2565
2554
  */
2566
2555
  notifications: {
@@ -2597,12 +2586,12 @@ type UserSummarySchema = {
2597
2586
  */
2598
2587
  name?: string | undefined;
2599
2588
  /**
2600
- * @description The user\'s email address.
2589
+ * @description The user's email address.
2601
2590
  * @type string
2602
2591
  */
2603
2592
  email: string;
2604
2593
  /**
2605
- * @description URL to the user\'s avatar image.
2594
+ * @description URL to the user's avatar image.
2606
2595
  * @type string
2607
2596
  */
2608
2597
  avatar: string;
@@ -2918,17 +2907,185 @@ type InternalServerError = {
2918
2907
  type: "internal_server_error";
2919
2908
  };
2920
2909
  };
2921
- type ChatsCreateStatus200 = unknown;
2922
- type ChatsCreateStatus401 = unknown;
2923
- type ChatsCreateStatus403 = unknown;
2924
- type ChatsCreateStatus404 = unknown;
2925
- type ChatsCreateStatus409 = unknown;
2926
- type ChatsCreateStatus413 = unknown;
2927
- type ChatsCreateStatus422 = unknown;
2928
- type ChatsCreateStatus429 = unknown;
2929
- type ChatsCreateStatus500 = unknown;
2910
+ /**
2911
+ * @description Detailed representation of a chat, including its messages, files, versions, and model configuration.
2912
+ * @type object
2913
+ */
2914
+ type ChatsCreateStatus200 = ChatDetail;
2915
+ type ChatsCreateStatus401 = UnauthorizedError;
2916
+ type ChatsCreateStatus403 = ForbiddenError;
2917
+ type ChatsCreateStatus404 = NotFoundError;
2918
+ type ChatsCreateStatus409 = ConflictError;
2919
+ type ChatsCreateStatus413 = PayloadTooLargeError;
2920
+ type ChatsCreateStatus422 = UnprocessableEntityError;
2921
+ type ChatsCreateStatus429 = TooManyRequestsError;
2922
+ type ChatsCreateStatus500 = InternalServerError;
2923
+ declare const chatsCreateRequestChatPrivacyEnum: {
2924
+ readonly private: "private";
2925
+ readonly public: "public";
2926
+ readonly team: "team";
2927
+ readonly "team-edit": "team-edit";
2928
+ readonly unlisted: "unlisted";
2929
+ };
2930
+ type ChatsCreateRequestChatPrivacyEnumKey = (typeof chatsCreateRequestChatPrivacyEnum)[keyof typeof chatsCreateRequestChatPrivacyEnum];
2931
+ declare const chatsCreateRequestModelConfigurationThinkingEffort: {
2932
+ readonly none: "none";
2933
+ readonly minimal: "minimal";
2934
+ readonly low: "low";
2935
+ readonly medium: "medium";
2936
+ readonly high: "high";
2937
+ readonly max: "max";
2938
+ readonly xhigh: "xhigh";
2939
+ };
2940
+ type ChatsCreateRequestModelConfigurationThinkingEffortKey = (typeof chatsCreateRequestModelConfigurationThinkingEffort)[keyof typeof chatsCreateRequestModelConfigurationThinkingEffort];
2941
+ declare const chatsCreateRequestResponseModeEnum: {
2942
+ readonly async: "async";
2943
+ readonly experimental_stream: "experimental_stream";
2944
+ readonly sync: "sync";
2945
+ };
2946
+ type ChatsCreateRequestResponseModeEnumKey = (typeof chatsCreateRequestResponseModeEnum)[keyof typeof chatsCreateRequestResponseModeEnum];
2947
+ declare const chatsCreateRequestSkillsScopeEnum: {
2948
+ readonly user: "user";
2949
+ readonly team: "team";
2950
+ };
2951
+ type ChatsCreateRequestSkillsScopeEnumKey = (typeof chatsCreateRequestSkillsScopeEnum)[keyof typeof chatsCreateRequestSkillsScopeEnum];
2952
+ type ChatsCreateBody = {
2953
+ /**
2954
+ * @description Creates a new chat using a user message, optional system context, and model configuration. Useful for prompting the model within the scope of a specific project.
2955
+ * @type string
2956
+ */
2957
+ message: string;
2958
+ /**
2959
+ * @description A list of files or assets to be included in the conversation context. Useful when the chat or task requires referencing documents, images, or other resources.
2960
+ * @type array | undefined
2961
+ */
2962
+ attachments?: {
2963
+ /**
2964
+ * @description The URL or data URI of the file or asset to include with the message.
2965
+ * @type string
2966
+ */
2967
+ url: string;
2968
+ }[] | undefined;
2969
+ /**
2970
+ * @description Provides system-level context or background for the chat. This is typically used to specify frameworks, tools, or development environments relevant to the task.
2971
+ * @type string | undefined
2972
+ */
2973
+ system?: string | undefined;
2974
+ /**
2975
+ * @description Determines the privacy setting of the chat. This can control whether the chat is visible only to the user, to team members, or is public.
2976
+ * @default 'private'
2977
+ * @type string | undefined
2978
+ */
2979
+ chatPrivacy?: ChatsCreateRequestChatPrivacyEnumKey | undefined;
2980
+ /**
2981
+ * @description Associates the chat with a specific project in your workspace. Helps organize and group related chats under a common project context.
2982
+ * @type string | undefined
2983
+ */
2984
+ projectId?: string | undefined;
2985
+ /**
2986
+ * @description Settings that control how the model behaves in the chat.
2987
+ * @type object | undefined
2988
+ */
2989
+ modelConfiguration?: {
2990
+ /**
2991
+ * @description Model to use for the generation. Use a v0 model ID, or an [AI Gateway](https://vercel.com/ai-gateway/models) model ID in `creator/model` format. Gateway models must support tool calling and Zero Data Retention, and are subject to team model policy; unsupported IDs are rejected. `v0-auto` is deprecated and falls back to `v0-pro`.
2992
+ * @default v0-pro
2993
+ */
2994
+ modelId?: string | undefined;
2995
+ /**
2996
+ * @description Enables image generations to generate up to 5 images per version.
2997
+ * @default false
2998
+ * @type boolean | undefined
2999
+ */
3000
+ imageGenerations?: boolean | undefined;
3001
+ /**
3002
+ * @description Enables thinking to generate a response in multiple steps.
3003
+ * @default false
3004
+ * @type boolean | undefined
3005
+ */
3006
+ thinking?: boolean | undefined;
3007
+ thinkingEffort?: (ChatsCreateRequestModelConfigurationThinkingEffortKey | null) | undefined;
3008
+ fast?: boolean | undefined;
3009
+ } | undefined;
3010
+ /**
3011
+ * @description Controls how the response is delivered.
3012
+ *
3013
+ * - `"sync"`: The response is returned immediately with the HTTP request.
3014
+ * - `"async"`: Returns a message placeholder immediately; use getById to poll for completion status and final output.
3015
+ * - `"experimental_stream"`: Returns content parts as Server-Sent Events for real-time streaming.
3016
+ * @default 'sync'
3017
+ * @type string | undefined
3018
+ */
3019
+ responseMode?: ChatsCreateRequestResponseModeEnumKey | undefined;
3020
+ /**
3021
+ * @description The ID of a design system to apply to this chat. Design systems provide consistent styling and components for generated UI.
3022
+ * @type string | undefined
3023
+ */
3024
+ designSystemId?: (string | null) | undefined;
3025
+ /**
3026
+ * @description Array of MCP server IDs to enable for this chat. When provided, only the specified servers will be used. When omitted, falls back to the user's enabled MCP servers.
3027
+ * @type array | undefined
3028
+ */
3029
+ mcpServerIds?: string[] | undefined;
3030
+ /**
3031
+ * @description Array of skill IDs (from skills.sh) to attach to this chat. Backwards-compatible alias for `skills` entries of type `remote`. Maximum 3 skills per chat.
3032
+ * @type array | undefined
3033
+ */
3034
+ attachedSkillIds?: string[] | undefined;
3035
+ /**
3036
+ * @description Skills to force-attach to this chat. Supports skills.sh (`remote`), user/team memory (`memory`), and project (`project`) skills. Merged with `attachedSkillIds`. Maximum 3 skills per chat.
3037
+ * @type array | undefined
3038
+ */
3039
+ skills?: ({
3040
+ /**
3041
+ * @description Discriminator: a skills.sh skill.
3042
+ * @type string
3043
+ */
3044
+ type: "remote";
3045
+ /**
3046
+ * @description Skill ID from skills.sh.
3047
+ * @type string
3048
+ */
3049
+ id: string;
3050
+ } | {
3051
+ /**
3052
+ * @description Discriminator: a user- or team-scoped memory skill.
3053
+ * @type string
3054
+ */
3055
+ type: "memory";
3056
+ /**
3057
+ * @description Whether the skill lives in user or team memory.
3058
+ * @type string
3059
+ */
3060
+ scope: ChatsCreateRequestSkillsScopeEnumKey;
3061
+ /**
3062
+ * @description Name of the memory skill to attach.
3063
+ * @type string
3064
+ */
3065
+ skillName: string;
3066
+ } | {
3067
+ /**
3068
+ * @description Discriminator: a skill defined in the project repo.
3069
+ * @type string
3070
+ */
3071
+ type: "project";
3072
+ /**
3073
+ * @description Name of the project skill to attach.
3074
+ * @type string
3075
+ */
3076
+ skillName: string;
3077
+ })[] | undefined;
3078
+ /**
3079
+ * @description Arbitrary key-value data to attach to the chat. Useful for storing additional data about the chat, such as external user IDs.
3080
+ * @default {}
3081
+ * @type object | undefined
3082
+ */
3083
+ metadata?: {
3084
+ [key: string]: string;
3085
+ } | undefined;
3086
+ };
2930
3087
  type ChatsCreateOptions = {
2931
- body?: never | undefined;
3088
+ body: ChatsCreateBody;
2932
3089
  path?: never | undefined;
2933
3090
  query?: never | undefined;
2934
3091
  headers?: never | undefined;
@@ -2947,7 +3104,7 @@ type ChatsCreateResponses = {
2947
3104
  /**
2948
3105
  * @description Union of all possible responses
2949
3106
  */
2950
- type ChatsCreateResponse = ChatsCreateStatus200 | ChatsCreateStatus401 | ChatsCreateStatus403 | ChatsCreateStatus404 | ChatsCreateStatus409 | ChatsCreateStatus413 | ChatsCreateStatus422 | ChatsCreateStatus429 | ChatsCreateStatus500;
3107
+ type ChatsCreateResponse = ChatsCreateStatus200;
2951
3108
  declare const chatsFindIsFavorite: {
2952
3109
  readonly true: "true";
2953
3110
  readonly false: "false";
@@ -2968,7 +3125,10 @@ type ChatsFindQuery = {
2968
3125
  */
2969
3126
  offset?: number | undefined;
2970
3127
  /**
2971
- * @description Filters chats by their \"favorite\" status. Accepts `\"true\"` or `\"false\"` (as strings, not booleans).\n\n- `\"true\"`: returns only chats marked as favorites.\n- `\"false\"`: returns only non-favorite chats.
3128
+ * @description Filters chats by their "favorite" status. Accepts `"true"` or `"false"` (as strings, not booleans).
3129
+ *
3130
+ * - `"true"`: returns only chats marked as favorites.
3131
+ * - `"false"`: returns only non-favorite chats.
2972
3132
  * @type string | undefined
2973
3133
  */
2974
3134
  isFavorite?: ChatsFindIsFavoriteKey | undefined;
@@ -2990,15 +3150,163 @@ type ChatsFindQuery = {
2990
3150
  [key: string]: string;
2991
3151
  } | undefined;
2992
3152
  };
2993
- type ChatsFindStatus200 = unknown;
2994
- type ChatsFindStatus401 = unknown;
2995
- type ChatsFindStatus403 = unknown;
2996
- type ChatsFindStatus404 = unknown;
2997
- type ChatsFindStatus409 = unknown;
2998
- type ChatsFindStatus413 = unknown;
2999
- type ChatsFindStatus422 = unknown;
3000
- type ChatsFindStatus429 = unknown;
3001
- type ChatsFindStatus500 = unknown;
3153
+ declare const chatsFindStatus200DataPrivacyEnum: {
3154
+ readonly private: "private";
3155
+ readonly public: "public";
3156
+ readonly team: "team";
3157
+ readonly "team-edit": "team-edit";
3158
+ readonly unlisted: "unlisted";
3159
+ };
3160
+ type ChatsFindStatus200DataPrivacyEnumKey = (typeof chatsFindStatus200DataPrivacyEnum)[keyof typeof chatsFindStatus200DataPrivacyEnum];
3161
+ declare const chatsFindStatus200DataLatestVersionStatusEnum: {
3162
+ readonly completed: "completed";
3163
+ readonly failed: "failed";
3164
+ readonly pending: "pending";
3165
+ };
3166
+ type ChatsFindStatus200DataLatestVersionStatusEnumKey = (typeof chatsFindStatus200DataLatestVersionStatusEnum)[keyof typeof chatsFindStatus200DataLatestVersionStatusEnum];
3167
+ type ChatsFindStatus200 = {
3168
+ object: "list";
3169
+ data: {
3170
+ /**
3171
+ * @description A unique identifier for the chat.
3172
+ * @type string
3173
+ */
3174
+ id: string;
3175
+ /**
3176
+ * @description Fixed value identifying this object as a chat.
3177
+ * @type string
3178
+ */
3179
+ object: "chat";
3180
+ /**
3181
+ * @description Indicates whether the chat can be shared via public link.
3182
+ * @type boolean
3183
+ */
3184
+ shareable: boolean;
3185
+ /**
3186
+ * @description Defines the visibility of the chat—private, team-only, or public.
3187
+ * @type string
3188
+ */
3189
+ privacy: ChatsFindStatus200DataPrivacyEnumKey;
3190
+ /**
3191
+ * @description An optional name assigned to the chat by the user.
3192
+ * @type string | undefined
3193
+ */
3194
+ name?: string | undefined;
3195
+ /**
3196
+ * @description Deprecated title field preserved for backward compatibility.
3197
+ * @deprecated
3198
+ * @type string | undefined
3199
+ */
3200
+ title?: string | undefined;
3201
+ /**
3202
+ * @description The ISO timestamp representing when the chat was created.
3203
+ *
3204
+ * Format: `date-time`
3205
+ * @type string
3206
+ */
3207
+ createdAt: string;
3208
+ /**
3209
+ * @description The ISO timestamp of the last update to the chat.
3210
+ * @type string | undefined
3211
+ */
3212
+ updatedAt?: string | undefined;
3213
+ /**
3214
+ * @description Indicates whether the chat is marked as a favorite.
3215
+ * @type boolean
3216
+ */
3217
+ favorite: boolean;
3218
+ /**
3219
+ * @description The ID of the user who created the chat.
3220
+ * @type string
3221
+ */
3222
+ authorId: string;
3223
+ /**
3224
+ * @description Optional ID of the v0 project associated with this chat.
3225
+ * @type string | undefined
3226
+ */
3227
+ projectId?: string | undefined;
3228
+ /**
3229
+ * @description Optional ID of the linked Vercel project, if connected.
3230
+ * @type string | undefined
3231
+ */
3232
+ vercelProjectId?: string | undefined;
3233
+ /**
3234
+ * @description Web URL to view this chat in the browser.
3235
+ * @type string
3236
+ */
3237
+ webUrl: string;
3238
+ /**
3239
+ * @description API URL to access this chat via the API.
3240
+ * @type string
3241
+ */
3242
+ apiUrl: string;
3243
+ /**
3244
+ * @description The most recent generated version of the chat, if available.
3245
+ * @type object | undefined
3246
+ */
3247
+ latestVersion?: {
3248
+ /**
3249
+ * @description A unique identifier for the version.
3250
+ * @type string
3251
+ */
3252
+ id: string;
3253
+ /**
3254
+ * @description Fixed value identifying this object as a version.
3255
+ * @type string
3256
+ */
3257
+ object: "version";
3258
+ /**
3259
+ * @description The current status of the version generation process.
3260
+ * @type string
3261
+ */
3262
+ status: ChatsFindStatus200DataLatestVersionStatusEnumKey;
3263
+ /**
3264
+ * @description Optional URL for previewing the generated output.
3265
+ * @type string | undefined
3266
+ */
3267
+ demoUrl?: string | undefined;
3268
+ /**
3269
+ * @description URL to retrieve a screenshot of this version.
3270
+ * @type string | undefined
3271
+ */
3272
+ screenshotUrl?: string | undefined;
3273
+ /**
3274
+ * @description The date and time when the version was created, in ISO 8601 format.
3275
+ *
3276
+ * Format: `date-time`
3277
+ * @type string
3278
+ */
3279
+ createdAt: string;
3280
+ /**
3281
+ * @description The date and time when the version was last updated, in ISO 8601 format.
3282
+ *
3283
+ * Format: `date-time`
3284
+ * @type string | undefined
3285
+ */
3286
+ updatedAt?: string | undefined;
3287
+ /**
3288
+ * @description URL to retrieve a dark mode screenshot of this version.
3289
+ * @type string | undefined
3290
+ */
3291
+ darkScreenshotUrl?: string | undefined;
3292
+ } | undefined;
3293
+ /**
3294
+ * @description Arbitrary key-value data associated with this chat.
3295
+ * @type object
3296
+ */
3297
+ metadata: {
3298
+ [key: string]: string;
3299
+ };
3300
+ }[];
3301
+ };
3302
+ type ChatsFindStatus401 = UnauthorizedError;
3303
+ type ChatsFindStatus403 = ForbiddenError;
3304
+ type ChatsFindStatus404 = NotFoundError;
3305
+ type ChatsFindStatus409 = ConflictError;
3306
+ type ChatsFindStatus413 = PayloadTooLargeError;
3307
+ type ChatsFindStatus422 = UnprocessableEntityError;
3308
+ type ChatsFindStatus429 = TooManyRequestsError;
3309
+ type ChatsFindStatus500 = InternalServerError;
3002
3310
  type ChatsFindOptions = {
3003
3311
  body?: never | undefined;
3004
3312
  path?: never | undefined;
@@ -3019,20 +3327,160 @@ type ChatsFindResponses = {
3019
3327
  /**
3020
3328
  * @description Union of all possible responses
3021
3329
  */
3022
- type ChatsFindResponse = ChatsFindStatus200 | ChatsFindStatus401 | ChatsFindStatus403 | ChatsFindStatus404 | ChatsFindStatus409 | ChatsFindStatus413 | ChatsFindStatus422 | ChatsFindStatus429 | ChatsFindStatus500;
3023
- type ChatsInitStatus200 = unknown;
3024
- type ChatsInitStatus401 = unknown;
3025
- type ChatsInitStatus403 = unknown;
3026
- type ChatsInitStatus404 = unknown;
3027
- type ChatsInitStatus409 = unknown;
3028
- type ChatsInitStatus413 = unknown;
3029
- type ChatsInitStatus422 = unknown;
3030
- type ChatsInitStatus429 = unknown;
3031
- type ChatsInitStatus500 = unknown;
3032
- type ChatsInitOptions = {
3033
- body?: never | undefined;
3034
- path?: never | undefined;
3035
- query?: never | undefined;
3330
+ type ChatsFindResponse = ChatsFindStatus200;
3331
+ /**
3332
+ * @description Detailed representation of a chat, including its messages, files, versions, and model configuration.
3333
+ * @type object
3334
+ */
3335
+ type ChatsInitStatus200 = ChatDetail;
3336
+ type ChatsInitStatus401 = UnauthorizedError;
3337
+ type ChatsInitStatus403 = ForbiddenError;
3338
+ type ChatsInitStatus404 = NotFoundError;
3339
+ type ChatsInitStatus409 = ConflictError;
3340
+ type ChatsInitStatus413 = PayloadTooLargeError;
3341
+ type ChatsInitStatus422 = UnprocessableEntityError;
3342
+ type ChatsInitStatus429 = TooManyRequestsError;
3343
+ type ChatsInitStatus500 = InternalServerError;
3344
+ declare const chatsInitRequestChatPrivacyEnum: {
3345
+ readonly public: "public";
3346
+ readonly private: "private";
3347
+ readonly "team-edit": "team-edit";
3348
+ readonly team: "team";
3349
+ readonly unlisted: "unlisted";
3350
+ };
3351
+ type ChatsInitRequestChatPrivacyEnumKey = (typeof chatsInitRequestChatPrivacyEnum)[keyof typeof chatsInitRequestChatPrivacyEnum];
3352
+ type ChatsInitBody = {
3353
+ /**
3354
+ * @description A user-defined name for the chat. Helps identify or describe the purpose of the chat session in the UI or API responses.
3355
+ * @type string | undefined
3356
+ */
3357
+ name?: string | undefined;
3358
+ /**
3359
+ * @description Controls the visibility of the chat. Defines whether the chat is private, shared with a team, or publicly accessible.
3360
+ * @default 'private'
3361
+ * @type string | undefined
3362
+ */
3363
+ chatPrivacy?: ChatsInitRequestChatPrivacyEnumKey | undefined;
3364
+ /**
3365
+ * @description Associates the chat with a specific project. Useful for organizing and grouping chats in a workspace.
3366
+ * @type string | undefined
3367
+ */
3368
+ projectId?: string | undefined;
3369
+ /**
3370
+ * @description Arbitrary key-value data to attach to the chat. Useful for storing additional data about the chat, such as external user IDs.
3371
+ * @default {}
3372
+ * @type object | undefined
3373
+ */
3374
+ metadata?: {
3375
+ [key: string]: string;
3376
+ } | undefined;
3377
+ } & ({
3378
+ /**
3379
+ * @description Specifies the initialization method. For this endpoint, it defines the source of content being used to initialize the chat.
3380
+ * @type string
3381
+ */
3382
+ type: "files";
3383
+ /**
3384
+ * @description An array of inline file objects used to initialize the chat. Each object must contain a file `name` and its `content`.
3385
+ * @type array
3386
+ */
3387
+ files: ({
3388
+ name: string;
3389
+ url: string;
3390
+ /**
3391
+ * @description Whether to lock this file to prevent AI from overwriting it during generation
3392
+ * @type boolean | undefined
3393
+ */
3394
+ locked?: boolean | undefined;
3395
+ } | {
3396
+ name: string;
3397
+ content: string;
3398
+ /**
3399
+ * @description Whether to lock this file to prevent AI from overwriting it during generation
3400
+ * @type boolean | undefined
3401
+ */
3402
+ locked?: boolean | undefined;
3403
+ })[];
3404
+ } | {
3405
+ /**
3406
+ * @description Specifies the initialization method. For this endpoint, it defines the source of content being used to initialize the chat.
3407
+ * @type string
3408
+ */
3409
+ type: "repo";
3410
+ /**
3411
+ * @description Specifies a repository source for initialization. Supports both public and private GitHub repositories. For private repositories, ensure your GitHub account is connected through Vercel.
3412
+ * @type object
3413
+ */
3414
+ repo: {
3415
+ url: string;
3416
+ /**
3417
+ * @maxLength 250
3418
+ * @type string | undefined
3419
+ */
3420
+ branch?: string | undefined;
3421
+ };
3422
+ /**
3423
+ * @description Whether to lock all files in the repository to prevent AI from overwriting them during generation
3424
+ * @type boolean | undefined
3425
+ */
3426
+ lockAllFiles?: boolean | undefined;
3427
+ } | {
3428
+ /**
3429
+ * @description Specifies the initialization method. For this endpoint, it defines the source of content being used to initialize the chat.
3430
+ * @type string
3431
+ */
3432
+ type: "registry";
3433
+ /**
3434
+ * @description Allows initialization from a predefined component or code registry. Includes the registry source and identifier for the desired component/module.
3435
+ * @type object
3436
+ */
3437
+ registry: {
3438
+ url: string;
3439
+ };
3440
+ /**
3441
+ * @description Whether to lock all files from the registry to prevent AI from overwriting them during generation
3442
+ * @type boolean | undefined
3443
+ */
3444
+ lockAllFiles?: boolean | undefined;
3445
+ } | {
3446
+ /**
3447
+ * @description Specifies the initialization method. For this endpoint, it defines the source of content being used to initialize the chat.
3448
+ * @type string
3449
+ */
3450
+ type: "zip";
3451
+ /**
3452
+ * @description Provides a zipped bundle of files as the input source. Typically includes a base64-encoded archive or a remote URL reference.
3453
+ * @type object
3454
+ */
3455
+ zip: {
3456
+ /**
3457
+ * @description
3458
+ * Format: `uri`
3459
+ * @type string
3460
+ */
3461
+ url: string;
3462
+ };
3463
+ /**
3464
+ * @description Whether to lock all files from the zip archive to prevent AI from overwriting them during generation
3465
+ * @type boolean | undefined
3466
+ */
3467
+ lockAllFiles?: boolean | undefined;
3468
+ } | {
3469
+ /**
3470
+ * @description Specifies the initialization method. For this endpoint, it defines the source of content being used to initialize the chat.
3471
+ * @type string
3472
+ */
3473
+ type: "template";
3474
+ /**
3475
+ * @description The ID of the template to initialize the chat from. This should be a valid template ID from the v0 template system.
3476
+ * @type string
3477
+ */
3478
+ templateId: string;
3479
+ });
3480
+ type ChatsInitOptions = {
3481
+ body: ChatsInitBody;
3482
+ path?: never | undefined;
3483
+ query?: never | undefined;
3036
3484
  headers?: never | undefined;
3037
3485
  };
3038
3486
  type ChatsInitResponses = {
@@ -3049,7 +3497,7 @@ type ChatsInitResponses = {
3049
3497
  /**
3050
3498
  * @description Union of all possible responses
3051
3499
  */
3052
- type ChatsInitResponse = ChatsInitStatus200 | ChatsInitStatus401 | ChatsInitStatus403 | ChatsInitStatus404 | ChatsInitStatus409 | ChatsInitStatus413 | ChatsInitStatus422 | ChatsInitStatus429 | ChatsInitStatus500;
3500
+ type ChatsInitResponse = ChatsInitStatus200;
3053
3501
  type ChatsDeletePath = {
3054
3502
  /**
3055
3503
  * @description The unique identifier of the chat to delete. This must be passed as a path parameter in the URL.
@@ -3057,15 +3505,19 @@ type ChatsDeletePath = {
3057
3505
  */
3058
3506
  chatId: string;
3059
3507
  };
3060
- type ChatsDeleteStatus200 = unknown;
3061
- type ChatsDeleteStatus401 = unknown;
3062
- type ChatsDeleteStatus403 = unknown;
3063
- type ChatsDeleteStatus404 = unknown;
3064
- type ChatsDeleteStatus409 = unknown;
3065
- type ChatsDeleteStatus413 = unknown;
3066
- type ChatsDeleteStatus422 = unknown;
3067
- type ChatsDeleteStatus429 = unknown;
3068
- type ChatsDeleteStatus500 = unknown;
3508
+ type ChatsDeleteStatus200 = {
3509
+ id: string;
3510
+ object: "chat";
3511
+ deleted: true;
3512
+ };
3513
+ type ChatsDeleteStatus401 = UnauthorizedError;
3514
+ type ChatsDeleteStatus403 = ForbiddenError;
3515
+ type ChatsDeleteStatus404 = NotFoundError;
3516
+ type ChatsDeleteStatus409 = ConflictError;
3517
+ type ChatsDeleteStatus413 = PayloadTooLargeError;
3518
+ type ChatsDeleteStatus422 = UnprocessableEntityError;
3519
+ type ChatsDeleteStatus429 = TooManyRequestsError;
3520
+ type ChatsDeleteStatus500 = InternalServerError;
3069
3521
  type ChatsDeleteOptions = {
3070
3522
  body?: never | undefined;
3071
3523
  path: ChatsDeletePath;
@@ -3086,7 +3538,7 @@ type ChatsDeleteResponses = {
3086
3538
  /**
3087
3539
  * @description Union of all possible responses
3088
3540
  */
3089
- type ChatsDeleteResponse = ChatsDeleteStatus200 | ChatsDeleteStatus401 | ChatsDeleteStatus403 | ChatsDeleteStatus404 | ChatsDeleteStatus409 | ChatsDeleteStatus413 | ChatsDeleteStatus422 | ChatsDeleteStatus429 | ChatsDeleteStatus500;
3541
+ type ChatsDeleteResponse = ChatsDeleteStatus200;
3090
3542
  type ChatsGetByIdPath = {
3091
3543
  /**
3092
3544
  * @description The unique identifier of the chat to retrieve. Must be provided as a path parameter.
@@ -3094,15 +3546,19 @@ type ChatsGetByIdPath = {
3094
3546
  */
3095
3547
  chatId: string;
3096
3548
  };
3097
- type ChatsGetByIdStatus200 = unknown;
3098
- type ChatsGetByIdStatus401 = unknown;
3099
- type ChatsGetByIdStatus403 = unknown;
3100
- type ChatsGetByIdStatus404 = unknown;
3101
- type ChatsGetByIdStatus409 = unknown;
3102
- type ChatsGetByIdStatus413 = unknown;
3103
- type ChatsGetByIdStatus422 = unknown;
3104
- type ChatsGetByIdStatus429 = unknown;
3105
- type ChatsGetByIdStatus500 = unknown;
3549
+ /**
3550
+ * @description Detailed representation of a chat, including its messages, files, versions, and model configuration.
3551
+ * @type object
3552
+ */
3553
+ type ChatsGetByIdStatus200 = ChatDetail;
3554
+ type ChatsGetByIdStatus401 = UnauthorizedError;
3555
+ type ChatsGetByIdStatus403 = ForbiddenError;
3556
+ type ChatsGetByIdStatus404 = NotFoundError;
3557
+ type ChatsGetByIdStatus409 = ConflictError;
3558
+ type ChatsGetByIdStatus413 = PayloadTooLargeError;
3559
+ type ChatsGetByIdStatus422 = UnprocessableEntityError;
3560
+ type ChatsGetByIdStatus429 = TooManyRequestsError;
3561
+ type ChatsGetByIdStatus500 = InternalServerError;
3106
3562
  type ChatsGetByIdOptions = {
3107
3563
  body?: never | undefined;
3108
3564
  path: ChatsGetByIdPath;
@@ -3123,7 +3579,7 @@ type ChatsGetByIdResponses = {
3123
3579
  /**
3124
3580
  * @description Union of all possible responses
3125
3581
  */
3126
- type ChatsGetByIdResponse = ChatsGetByIdStatus200 | ChatsGetByIdStatus401 | ChatsGetByIdStatus403 | ChatsGetByIdStatus404 | ChatsGetByIdStatus409 | ChatsGetByIdStatus413 | ChatsGetByIdStatus422 | ChatsGetByIdStatus429 | ChatsGetByIdStatus500;
3582
+ type ChatsGetByIdResponse = ChatsGetByIdStatus200;
3127
3583
  type ChatsUpdatePath = {
3128
3584
  /**
3129
3585
  * @description The unique identifier of the chat to update. Provided as a path parameter.
@@ -3131,17 +3587,47 @@ type ChatsUpdatePath = {
3131
3587
  */
3132
3588
  chatId: string;
3133
3589
  };
3134
- type ChatsUpdateStatus200 = unknown;
3135
- type ChatsUpdateStatus401 = unknown;
3136
- type ChatsUpdateStatus403 = unknown;
3137
- type ChatsUpdateStatus404 = unknown;
3138
- type ChatsUpdateStatus409 = unknown;
3139
- type ChatsUpdateStatus413 = unknown;
3140
- type ChatsUpdateStatus422 = unknown;
3141
- type ChatsUpdateStatus429 = unknown;
3142
- type ChatsUpdateStatus500 = unknown;
3590
+ /**
3591
+ * @description Detailed representation of a chat, including its messages, files, versions, and model configuration.
3592
+ * @type object
3593
+ */
3594
+ type ChatsUpdateStatus200 = ChatDetail;
3595
+ type ChatsUpdateStatus401 = UnauthorizedError;
3596
+ type ChatsUpdateStatus403 = ForbiddenError;
3597
+ type ChatsUpdateStatus404 = NotFoundError;
3598
+ type ChatsUpdateStatus409 = ConflictError;
3599
+ type ChatsUpdateStatus413 = PayloadTooLargeError;
3600
+ type ChatsUpdateStatus422 = UnprocessableEntityError;
3601
+ type ChatsUpdateStatus429 = TooManyRequestsError;
3602
+ type ChatsUpdateStatus500 = InternalServerError;
3603
+ declare const chatsUpdateRequestPrivacyEnum: {
3604
+ readonly private: "private";
3605
+ readonly public: "public";
3606
+ readonly team: "team";
3607
+ readonly "team-edit": "team-edit";
3608
+ readonly unlisted: "unlisted";
3609
+ };
3610
+ type ChatsUpdateRequestPrivacyEnumKey = (typeof chatsUpdateRequestPrivacyEnum)[keyof typeof chatsUpdateRequestPrivacyEnum];
3611
+ type ChatsUpdateBody = {
3612
+ /**
3613
+ * @description A new name to assign to the chat. Helps with identification and organization.
3614
+ * @type string | undefined
3615
+ */
3616
+ name?: string | undefined;
3617
+ /**
3618
+ * @description Sets the privacy level of the chat.
3619
+ * @type string | undefined
3620
+ */
3621
+ privacy?: ChatsUpdateRequestPrivacyEnumKey | undefined;
3622
+ /**
3623
+ * @description Arbitrary key-value data to attach to the chat. Useful for storing additional data about the chat, such as external user IDs. Metadata added will be merged with existing attributes. Pass `null` as the value to delete a specific key, or pass `null` instead of an object to delete all existing metadata.
3624
+ */
3625
+ metadata?: ({
3626
+ [key: string]: string | null;
3627
+ } | null) | undefined;
3628
+ };
3143
3629
  type ChatsUpdateOptions = {
3144
- body?: never | undefined;
3630
+ body: ChatsUpdateBody;
3145
3631
  path: ChatsUpdatePath;
3146
3632
  query?: never | undefined;
3147
3633
  headers?: never | undefined;
@@ -3160,7 +3646,7 @@ type ChatsUpdateResponses = {
3160
3646
  /**
3161
3647
  * @description Union of all possible responses
3162
3648
  */
3163
- type ChatsUpdateResponse = ChatsUpdateStatus200 | ChatsUpdateStatus401 | ChatsUpdateStatus403 | ChatsUpdateStatus404 | ChatsUpdateStatus409 | ChatsUpdateStatus413 | ChatsUpdateStatus422 | ChatsUpdateStatus429 | ChatsUpdateStatus500;
3649
+ type ChatsUpdateResponse = ChatsUpdateStatus200;
3164
3650
  type ChatsFavoritePath = {
3165
3651
  /**
3166
3652
  * @description The unique identifier of the chat to update. Provided as a path parameter.
@@ -3168,17 +3654,31 @@ type ChatsFavoritePath = {
3168
3654
  */
3169
3655
  chatId: string;
3170
3656
  };
3171
- type ChatsFavoriteStatus200 = unknown;
3172
- type ChatsFavoriteStatus401 = unknown;
3173
- type ChatsFavoriteStatus403 = unknown;
3174
- type ChatsFavoriteStatus404 = unknown;
3175
- type ChatsFavoriteStatus409 = unknown;
3176
- type ChatsFavoriteStatus413 = unknown;
3177
- type ChatsFavoriteStatus422 = unknown;
3178
- type ChatsFavoriteStatus429 = unknown;
3179
- type ChatsFavoriteStatus500 = unknown;
3657
+ type ChatsFavoriteStatus200 = {
3658
+ id: string;
3659
+ object: "chat";
3660
+ favorited: boolean;
3661
+ };
3662
+ type ChatsFavoriteStatus401 = UnauthorizedError;
3663
+ type ChatsFavoriteStatus403 = ForbiddenError;
3664
+ type ChatsFavoriteStatus404 = NotFoundError;
3665
+ type ChatsFavoriteStatus409 = ConflictError;
3666
+ type ChatsFavoriteStatus413 = PayloadTooLargeError;
3667
+ type ChatsFavoriteStatus422 = UnprocessableEntityError;
3668
+ type ChatsFavoriteStatus429 = TooManyRequestsError;
3669
+ type ChatsFavoriteStatus500 = InternalServerError;
3670
+ type ChatsFavoriteBody = {
3671
+ /**
3672
+ * @description Specifies whether the chat should be marked as a favorite.
3673
+ *
3674
+ * - `"true"`: mark as favorite
3675
+ * - `"false"`: remove from favorites
3676
+ * @type boolean
3677
+ */
3678
+ isFavorite: boolean;
3679
+ };
3180
3680
  type ChatsFavoriteOptions = {
3181
- body?: never | undefined;
3681
+ body: ChatsFavoriteBody;
3182
3682
  path: ChatsFavoritePath;
3183
3683
  query?: never | undefined;
3184
3684
  headers?: never | undefined;
@@ -3197,7 +3697,7 @@ type ChatsFavoriteResponses = {
3197
3697
  /**
3198
3698
  * @description Union of all possible responses
3199
3699
  */
3200
- type ChatsFavoriteResponse = ChatsFavoriteStatus200 | ChatsFavoriteStatus401 | ChatsFavoriteStatus403 | ChatsFavoriteStatus404 | ChatsFavoriteStatus409 | ChatsFavoriteStatus413 | ChatsFavoriteStatus422 | ChatsFavoriteStatus429 | ChatsFavoriteStatus500;
3700
+ type ChatsFavoriteResponse = ChatsFavoriteStatus200;
3201
3701
  type ChatsForkPath = {
3202
3702
  /**
3203
3703
  * @description The unique identifier of the chat to fork. Provided as a path parameter.
@@ -3205,17 +3705,43 @@ type ChatsForkPath = {
3205
3705
  */
3206
3706
  chatId: string;
3207
3707
  };
3208
- type ChatsForkStatus200 = unknown;
3209
- type ChatsForkStatus401 = unknown;
3210
- type ChatsForkStatus403 = unknown;
3211
- type ChatsForkStatus404 = unknown;
3212
- type ChatsForkStatus409 = unknown;
3213
- type ChatsForkStatus413 = unknown;
3214
- type ChatsForkStatus422 = unknown;
3215
- type ChatsForkStatus429 = unknown;
3216
- type ChatsForkStatus500 = unknown;
3708
+ /**
3709
+ * @description Detailed representation of a chat, including its messages, files, versions, and model configuration.
3710
+ * @type object
3711
+ */
3712
+ type ChatsForkStatus200 = ChatDetail;
3713
+ type ChatsForkStatus401 = UnauthorizedError;
3714
+ type ChatsForkStatus403 = ForbiddenError;
3715
+ type ChatsForkStatus404 = NotFoundError;
3716
+ type ChatsForkStatus409 = ConflictError;
3717
+ type ChatsForkStatus413 = PayloadTooLargeError;
3718
+ type ChatsForkStatus422 = UnprocessableEntityError;
3719
+ type ChatsForkStatus429 = TooManyRequestsError;
3720
+ type ChatsForkStatus500 = InternalServerError;
3721
+ declare const chatsForkRequestPrivacyEnum: {
3722
+ readonly private: "private";
3723
+ readonly public: "public";
3724
+ readonly team: "team";
3725
+ readonly "team-edit": "team-edit";
3726
+ readonly unlisted: "unlisted";
3727
+ };
3728
+ type ChatsForkRequestPrivacyEnumKey = (typeof chatsForkRequestPrivacyEnum)[keyof typeof chatsForkRequestPrivacyEnum];
3729
+ type ChatsForkBody = {
3730
+ /**
3731
+ * @description The identifier of the specific chat version to fork from. If omitted, the latest version will be used.
3732
+ * @maxLength 32
3733
+ * @type string | undefined
3734
+ */
3735
+ versionId?: string | undefined;
3736
+ /**
3737
+ * @description Determines the privacy setting of the forked chat. This can control whether the chat is visible only to the user, to team members, or is public.
3738
+ * @default 'private'
3739
+ * @type string | undefined
3740
+ */
3741
+ privacy?: ChatsForkRequestPrivacyEnumKey | undefined;
3742
+ };
3217
3743
  type ChatsForkOptions = {
3218
- body?: never | undefined;
3744
+ body: ChatsForkBody;
3219
3745
  path: ChatsForkPath;
3220
3746
  query?: never | undefined;
3221
3747
  headers?: never | undefined;
@@ -3234,7 +3760,7 @@ type ChatsForkResponses = {
3234
3760
  /**
3235
3761
  * @description Union of all possible responses
3236
3762
  */
3237
- type ChatsForkResponse = ChatsForkStatus200 | ChatsForkStatus401 | ChatsForkStatus403 | ChatsForkStatus404 | ChatsForkStatus409 | ChatsForkStatus413 | ChatsForkStatus422 | ChatsForkStatus429 | ChatsForkStatus500;
3763
+ type ChatsForkResponse = ChatsForkStatus200;
3238
3764
  type ProjectsGetByChatIdPath = {
3239
3765
  /**
3240
3766
  * @description The ID of the chat to retrieve the associated project for.
@@ -3242,15 +3768,19 @@ type ProjectsGetByChatIdPath = {
3242
3768
  */
3243
3769
  chatId: string;
3244
3770
  };
3245
- type ProjectsGetByChatIdStatus200 = unknown;
3246
- type ProjectsGetByChatIdStatus401 = unknown;
3247
- type ProjectsGetByChatIdStatus403 = unknown;
3248
- type ProjectsGetByChatIdStatus404 = unknown;
3249
- type ProjectsGetByChatIdStatus409 = unknown;
3250
- type ProjectsGetByChatIdStatus413 = unknown;
3251
- type ProjectsGetByChatIdStatus422 = unknown;
3252
- type ProjectsGetByChatIdStatus429 = unknown;
3253
- type ProjectsGetByChatIdStatus500 = unknown;
3771
+ /**
3772
+ * @description Full representation of a project, including its associated chats.
3773
+ * @type object
3774
+ */
3775
+ type ProjectsGetByChatIdStatus200 = ProjectDetail;
3776
+ type ProjectsGetByChatIdStatus401 = UnauthorizedError;
3777
+ type ProjectsGetByChatIdStatus403 = ForbiddenError;
3778
+ type ProjectsGetByChatIdStatus404 = NotFoundError;
3779
+ type ProjectsGetByChatIdStatus409 = ConflictError;
3780
+ type ProjectsGetByChatIdStatus413 = PayloadTooLargeError;
3781
+ type ProjectsGetByChatIdStatus422 = UnprocessableEntityError;
3782
+ type ProjectsGetByChatIdStatus429 = TooManyRequestsError;
3783
+ type ProjectsGetByChatIdStatus500 = InternalServerError;
3254
3784
  type ProjectsGetByChatIdOptions = {
3255
3785
  body?: never | undefined;
3256
3786
  path: ProjectsGetByChatIdPath;
@@ -3271,7 +3801,7 @@ type ProjectsGetByChatIdResponses = {
3271
3801
  /**
3272
3802
  * @description Union of all possible responses
3273
3803
  */
3274
- type ProjectsGetByChatIdResponse = ProjectsGetByChatIdStatus200 | ProjectsGetByChatIdStatus401 | ProjectsGetByChatIdStatus403 | ProjectsGetByChatIdStatus404 | ProjectsGetByChatIdStatus409 | ProjectsGetByChatIdStatus413 | ProjectsGetByChatIdStatus422 | ProjectsGetByChatIdStatus429 | ProjectsGetByChatIdStatus500;
3804
+ type ProjectsGetByChatIdResponse = ProjectsGetByChatIdStatus200;
3275
3805
  type ChatsFindMessagesPath = {
3276
3806
  /**
3277
3807
  * @description The unique identifier of the chat to retrieve messages for. Provided as a path parameter.
@@ -3294,15 +3824,23 @@ type ChatsFindMessagesQuery = {
3294
3824
  */
3295
3825
  cursor?: string | undefined;
3296
3826
  };
3297
- type ChatsFindMessagesStatus200 = unknown;
3298
- type ChatsFindMessagesStatus401 = unknown;
3299
- type ChatsFindMessagesStatus403 = unknown;
3300
- type ChatsFindMessagesStatus404 = unknown;
3301
- type ChatsFindMessagesStatus409 = unknown;
3302
- type ChatsFindMessagesStatus413 = unknown;
3303
- type ChatsFindMessagesStatus422 = unknown;
3304
- type ChatsFindMessagesStatus429 = unknown;
3305
- type ChatsFindMessagesStatus500 = unknown;
3827
+ type ChatsFindMessagesStatus200 = {
3828
+ object: "list";
3829
+ data: MessageSummary[];
3830
+ pagination: {
3831
+ hasMore: boolean;
3832
+ nextCursor?: string | undefined;
3833
+ nextUrl?: string | undefined;
3834
+ };
3835
+ };
3836
+ type ChatsFindMessagesStatus401 = UnauthorizedError;
3837
+ type ChatsFindMessagesStatus403 = ForbiddenError;
3838
+ type ChatsFindMessagesStatus404 = NotFoundError;
3839
+ type ChatsFindMessagesStatus409 = ConflictError;
3840
+ type ChatsFindMessagesStatus413 = PayloadTooLargeError;
3841
+ type ChatsFindMessagesStatus422 = UnprocessableEntityError;
3842
+ type ChatsFindMessagesStatus429 = TooManyRequestsError;
3843
+ type ChatsFindMessagesStatus500 = InternalServerError;
3306
3844
  type ChatsFindMessagesOptions = {
3307
3845
  body?: never | undefined;
3308
3846
  path: ChatsFindMessagesPath;
@@ -3323,7 +3861,7 @@ type ChatsFindMessagesResponses = {
3323
3861
  /**
3324
3862
  * @description Union of all possible responses
3325
3863
  */
3326
- type ChatsFindMessagesResponse = ChatsFindMessagesStatus200 | ChatsFindMessagesStatus401 | ChatsFindMessagesStatus403 | ChatsFindMessagesStatus404 | ChatsFindMessagesStatus409 | ChatsFindMessagesStatus413 | ChatsFindMessagesStatus422 | ChatsFindMessagesStatus429 | ChatsFindMessagesStatus500;
3864
+ type ChatsFindMessagesResponse = ChatsFindMessagesStatus200;
3327
3865
  type ChatsSendMessagePath = {
3328
3866
  /**
3329
3867
  * @description The unique identifier of the chat to send the message to. Provided as a path parameter.
@@ -3331,17 +3869,161 @@ type ChatsSendMessagePath = {
3331
3869
  */
3332
3870
  chatId: string;
3333
3871
  };
3334
- type ChatsSendMessageStatus200 = unknown;
3335
- type ChatsSendMessageStatus401 = unknown;
3336
- type ChatsSendMessageStatus403 = unknown;
3337
- type ChatsSendMessageStatus404 = unknown;
3338
- type ChatsSendMessageStatus409 = unknown;
3339
- type ChatsSendMessageStatus413 = unknown;
3340
- type ChatsSendMessageStatus422 = unknown;
3341
- type ChatsSendMessageStatus429 = unknown;
3342
- type ChatsSendMessageStatus500 = unknown;
3872
+ /**
3873
+ * @description Detailed representation of a chat, including its messages, files, versions, and model configuration.
3874
+ * @type object
3875
+ */
3876
+ type ChatsSendMessageStatus200 = ChatDetail;
3877
+ type ChatsSendMessageStatus401 = UnauthorizedError;
3878
+ type ChatsSendMessageStatus403 = ForbiddenError;
3879
+ type ChatsSendMessageStatus404 = NotFoundError;
3880
+ type ChatsSendMessageStatus409 = ConflictError;
3881
+ type ChatsSendMessageStatus413 = PayloadTooLargeError;
3882
+ type ChatsSendMessageStatus422 = UnprocessableEntityError;
3883
+ type ChatsSendMessageStatus429 = TooManyRequestsError;
3884
+ type ChatsSendMessageStatus500 = InternalServerError;
3885
+ declare const chatsSendMessageRequestModelConfigurationThinkingEffort: {
3886
+ readonly none: "none";
3887
+ readonly minimal: "minimal";
3888
+ readonly low: "low";
3889
+ readonly medium: "medium";
3890
+ readonly high: "high";
3891
+ readonly max: "max";
3892
+ readonly xhigh: "xhigh";
3893
+ };
3894
+ type ChatsSendMessageRequestModelConfigurationThinkingEffortKey = (typeof chatsSendMessageRequestModelConfigurationThinkingEffort)[keyof typeof chatsSendMessageRequestModelConfigurationThinkingEffort];
3895
+ declare const chatsSendMessageRequestResponseModeEnum: {
3896
+ readonly async: "async";
3897
+ readonly experimental_stream: "experimental_stream";
3898
+ readonly sync: "sync";
3899
+ };
3900
+ type ChatsSendMessageRequestResponseModeEnumKey = (typeof chatsSendMessageRequestResponseModeEnum)[keyof typeof chatsSendMessageRequestResponseModeEnum];
3901
+ declare const chatsSendMessageRequestSkillsScopeEnum: {
3902
+ readonly user: "user";
3903
+ readonly team: "team";
3904
+ };
3905
+ type ChatsSendMessageRequestSkillsScopeEnumKey = (typeof chatsSendMessageRequestSkillsScopeEnum)[keyof typeof chatsSendMessageRequestSkillsScopeEnum];
3906
+ type ChatsSendMessageBody = {
3907
+ /**
3908
+ * @description The prompt or instruction to send to the model as part of the chat.
3909
+ * @type string
3910
+ */
3911
+ message: string;
3912
+ /**
3913
+ * @description A list of files or assets to include with the message.
3914
+ * @default []
3915
+ * @type array | undefined
3916
+ */
3917
+ attachments?: {
3918
+ /**
3919
+ * @description The URL or data URI of the file or asset to include with the message.
3920
+ * @type string
3921
+ */
3922
+ url: string;
3923
+ }[] | undefined;
3924
+ /**
3925
+ * @description Provides system-level context or background for the chat. This is typically used to specify frameworks, tools, or development environments relevant to the task.
3926
+ * @type string | undefined
3927
+ */
3928
+ system?: string | undefined;
3929
+ /**
3930
+ * @description Overrides for the model behavior.
3931
+ * @type object | undefined
3932
+ */
3933
+ modelConfiguration?: {
3934
+ /**
3935
+ * @description Model to use for the generation. Use a v0 model ID, or an [AI Gateway](https://vercel.com/ai-gateway/models) model ID in `creator/model` format. Gateway models must support tool calling and Zero Data Retention, and are subject to team model policy; unsupported IDs are rejected. `v0-auto` is deprecated and falls back to `v0-pro`.
3936
+ * @default v0-pro
3937
+ */
3938
+ modelId?: string | undefined;
3939
+ /**
3940
+ * @description Enables image generations to generate up to 5 images per version.
3941
+ * @default false
3942
+ * @type boolean | undefined
3943
+ */
3944
+ imageGenerations?: boolean | undefined;
3945
+ /**
3946
+ * @description Enables thinking to generate a response in multiple steps.
3947
+ * @default false
3948
+ * @type boolean | undefined
3949
+ */
3950
+ thinking?: boolean | undefined;
3951
+ thinkingEffort?: (ChatsSendMessageRequestModelConfigurationThinkingEffortKey | null) | undefined;
3952
+ fast?: boolean | undefined;
3953
+ } | undefined;
3954
+ /**
3955
+ * @description Controls how the response is delivered.
3956
+ *
3957
+ * - `"sync"`: The response is returned immediately with the HTTP request.
3958
+ * - `"async"`: Returns a message placeholder immediately; use getById to poll for completion status and final output.
3959
+ * - `"experimental_stream"`: Returns content parts as Server-Sent Events for real-time streaming.
3960
+ * @default 'sync'
3961
+ * @type string | undefined
3962
+ */
3963
+ responseMode?: ChatsSendMessageRequestResponseModeEnumKey | undefined;
3964
+ /**
3965
+ * @description Array of MCP server IDs to enable for this message. When provided, only the specified servers will be used. When omitted, falls back to the user's enabled MCP servers.
3966
+ * @type array | undefined
3967
+ */
3968
+ mcpServerIds?: string[] | undefined;
3969
+ /**
3970
+ * @description Array of skill IDs (from skills.sh) to attach to this message. Backwards-compatible alias for `skills` entries of type `remote`. Maximum 3 skills per chat.
3971
+ * @type array | undefined
3972
+ */
3973
+ attachedSkillIds?: string[] | undefined;
3974
+ /**
3975
+ * @description Skills to force-attach to this message. Supports skills.sh (`remote`), user/team memory (`memory`), and project (`project`) skills. Merged with `attachedSkillIds`. Maximum 3 skills per chat.
3976
+ * @type array | undefined
3977
+ */
3978
+ skills?: ({
3979
+ /**
3980
+ * @description Discriminator: a skills.sh skill.
3981
+ * @type string
3982
+ */
3983
+ type: "remote";
3984
+ /**
3985
+ * @description Skill ID from skills.sh.
3986
+ * @type string
3987
+ */
3988
+ id: string;
3989
+ } | {
3990
+ /**
3991
+ * @description Discriminator: a user- or team-scoped memory skill.
3992
+ * @type string
3993
+ */
3994
+ type: "memory";
3995
+ /**
3996
+ * @description Whether the skill lives in user or team memory.
3997
+ * @type string
3998
+ */
3999
+ scope: ChatsSendMessageRequestSkillsScopeEnumKey;
4000
+ /**
4001
+ * @description Name of the memory skill to attach.
4002
+ * @type string
4003
+ */
4004
+ skillName: string;
4005
+ } | {
4006
+ /**
4007
+ * @description Discriminator: a skill defined in the project repo.
4008
+ * @type string
4009
+ */
4010
+ type: "project";
4011
+ /**
4012
+ * @description Name of the project skill to attach.
4013
+ * @type string
4014
+ */
4015
+ skillName: string;
4016
+ })[] | undefined;
4017
+ /**
4018
+ * @description An optional action to perform. Use `fix-with-v0` to trigger automatic error fixing — the message should contain the error logs or context to fix.
4019
+ * @type object | undefined
4020
+ */
4021
+ action?: {
4022
+ type: "fix-with-v0";
4023
+ } | undefined;
4024
+ };
3343
4025
  type ChatsSendMessageOptions = {
3344
- body?: never | undefined;
4026
+ body: ChatsSendMessageBody;
3345
4027
  path: ChatsSendMessagePath;
3346
4028
  query?: never | undefined;
3347
4029
  headers?: never | undefined;
@@ -3360,7 +4042,7 @@ type ChatsSendMessageResponses = {
3360
4042
  /**
3361
4043
  * @description Union of all possible responses
3362
4044
  */
3363
- type ChatsSendMessageResponse = ChatsSendMessageStatus200 | ChatsSendMessageStatus401 | ChatsSendMessageStatus403 | ChatsSendMessageStatus404 | ChatsSendMessageStatus409 | ChatsSendMessageStatus413 | ChatsSendMessageStatus422 | ChatsSendMessageStatus429 | ChatsSendMessageStatus500;
4045
+ type ChatsSendMessageResponse = ChatsSendMessageStatus200;
3364
4046
  type ChatsGetMessagePath = {
3365
4047
  /**
3366
4048
  * @description The unique identifier of the chat containing the message. Provided as a path parameter.
@@ -3373,15 +4055,19 @@ type ChatsGetMessagePath = {
3373
4055
  */
3374
4056
  messageId: string;
3375
4057
  };
3376
- type ChatsGetMessageStatus200 = unknown;
3377
- type ChatsGetMessageStatus401 = unknown;
3378
- type ChatsGetMessageStatus403 = unknown;
3379
- type ChatsGetMessageStatus404 = unknown;
3380
- type ChatsGetMessageStatus409 = unknown;
3381
- type ChatsGetMessageStatus413 = unknown;
3382
- type ChatsGetMessageStatus422 = unknown;
3383
- type ChatsGetMessageStatus429 = unknown;
3384
- type ChatsGetMessageStatus500 = unknown;
4058
+ /**
4059
+ * @description Detailed message object extending MessageSummary with chat metadata.
4060
+ * @type object
4061
+ */
4062
+ type ChatsGetMessageStatus200 = MessageDetail;
4063
+ type ChatsGetMessageStatus401 = UnauthorizedError;
4064
+ type ChatsGetMessageStatus403 = ForbiddenError;
4065
+ type ChatsGetMessageStatus404 = NotFoundError;
4066
+ type ChatsGetMessageStatus409 = ConflictError;
4067
+ type ChatsGetMessageStatus413 = PayloadTooLargeError;
4068
+ type ChatsGetMessageStatus422 = UnprocessableEntityError;
4069
+ type ChatsGetMessageStatus429 = TooManyRequestsError;
4070
+ type ChatsGetMessageStatus500 = InternalServerError;
3385
4071
  type ChatsGetMessageOptions = {
3386
4072
  body?: never | undefined;
3387
4073
  path: ChatsGetMessagePath;
@@ -3402,7 +4088,7 @@ type ChatsGetMessageResponses = {
3402
4088
  /**
3403
4089
  * @description Union of all possible responses
3404
4090
  */
3405
- type ChatsGetMessageResponse = ChatsGetMessageStatus200 | ChatsGetMessageStatus401 | ChatsGetMessageStatus403 | ChatsGetMessageStatus404 | ChatsGetMessageStatus409 | ChatsGetMessageStatus413 | ChatsGetMessageStatus422 | ChatsGetMessageStatus429 | ChatsGetMessageStatus500;
4091
+ type ChatsGetMessageResponse = ChatsGetMessageStatus200;
3406
4092
  type ChatsFindVersionsPath = {
3407
4093
  /**
3408
4094
  * @description The unique identifier of the chat to retrieve versions for. Provided as a path parameter.
@@ -3425,15 +4111,26 @@ type ChatsFindVersionsQuery = {
3425
4111
  */
3426
4112
  cursor?: string | undefined;
3427
4113
  };
3428
- type ChatsFindVersionsStatus200 = unknown;
3429
- type ChatsFindVersionsStatus401 = unknown;
3430
- type ChatsFindVersionsStatus403 = unknown;
3431
- type ChatsFindVersionsStatus404 = unknown;
3432
- type ChatsFindVersionsStatus409 = unknown;
3433
- type ChatsFindVersionsStatus413 = unknown;
3434
- type ChatsFindVersionsStatus422 = unknown;
3435
- type ChatsFindVersionsStatus429 = unknown;
3436
- type ChatsFindVersionsStatus500 = unknown;
4114
+ type ChatsFindVersionsStatus200 = {
4115
+ object: "list";
4116
+ data: VersionSummary[];
4117
+ pagination: {
4118
+ hasMore: boolean;
4119
+ nextCursor?: string | undefined;
4120
+ nextUrl?: string | undefined;
4121
+ };
4122
+ meta: {
4123
+ totalCount: number;
4124
+ };
4125
+ };
4126
+ type ChatsFindVersionsStatus401 = UnauthorizedError;
4127
+ type ChatsFindVersionsStatus403 = ForbiddenError;
4128
+ type ChatsFindVersionsStatus404 = NotFoundError;
4129
+ type ChatsFindVersionsStatus409 = ConflictError;
4130
+ type ChatsFindVersionsStatus413 = PayloadTooLargeError;
4131
+ type ChatsFindVersionsStatus422 = UnprocessableEntityError;
4132
+ type ChatsFindVersionsStatus429 = TooManyRequestsError;
4133
+ type ChatsFindVersionsStatus500 = InternalServerError;
3437
4134
  type ChatsFindVersionsOptions = {
3438
4135
  body?: never | undefined;
3439
4136
  path: ChatsFindVersionsPath;
@@ -3454,7 +4151,7 @@ type ChatsFindVersionsResponses = {
3454
4151
  /**
3455
4152
  * @description Union of all possible responses
3456
4153
  */
3457
- type ChatsFindVersionsResponse = ChatsFindVersionsStatus200 | ChatsFindVersionsStatus401 | ChatsFindVersionsStatus403 | ChatsFindVersionsStatus404 | ChatsFindVersionsStatus409 | ChatsFindVersionsStatus413 | ChatsFindVersionsStatus422 | ChatsFindVersionsStatus429 | ChatsFindVersionsStatus500;
4154
+ type ChatsFindVersionsResponse = ChatsFindVersionsStatus200;
3458
4155
  type ChatsGetVersionPath = {
3459
4156
  /**
3460
4157
  * @description The unique identifier of the chat containing the version. Provided as a path parameter.
@@ -3479,16 +4176,20 @@ type ChatsGetVersionQuery = {
3479
4176
  */
3480
4177
  includeDefaultFiles?: ChatsGetVersionIncludeDefaultFilesKey | undefined;
3481
4178
  };
3482
- type ChatsGetVersionStatus200 = unknown;
3483
- type ChatsGetVersionStatus401 = unknown;
3484
- type ChatsGetVersionStatus403 = unknown;
3485
- type ChatsGetVersionStatus404 = unknown;
3486
- type ChatsGetVersionStatus409 = unknown;
3487
- type ChatsGetVersionStatus413 = unknown;
3488
- type ChatsGetVersionStatus422 = unknown;
3489
- type ChatsGetVersionStatus429 = unknown;
3490
- type ChatsGetVersionStatus500 = unknown;
3491
- type ChatsGetVersionOptions = {
4179
+ /**
4180
+ * @description Detailed version data including file contents.
4181
+ * @type object
4182
+ */
4183
+ type ChatsGetVersionStatus200 = VersionDetail;
4184
+ type ChatsGetVersionStatus401 = UnauthorizedError;
4185
+ type ChatsGetVersionStatus403 = ForbiddenError;
4186
+ type ChatsGetVersionStatus404 = NotFoundError;
4187
+ type ChatsGetVersionStatus409 = ConflictError;
4188
+ type ChatsGetVersionStatus413 = PayloadTooLargeError;
4189
+ type ChatsGetVersionStatus422 = UnprocessableEntityError;
4190
+ type ChatsGetVersionStatus429 = TooManyRequestsError;
4191
+ type ChatsGetVersionStatus500 = InternalServerError;
4192
+ type ChatsGetVersionOptions = {
3492
4193
  body?: never | undefined;
3493
4194
  path: ChatsGetVersionPath;
3494
4195
  query?: ChatsGetVersionQuery | undefined;
@@ -3508,7 +4209,7 @@ type ChatsGetVersionResponses = {
3508
4209
  /**
3509
4210
  * @description Union of all possible responses
3510
4211
  */
3511
- type ChatsGetVersionResponse = ChatsGetVersionStatus200 | ChatsGetVersionStatus401 | ChatsGetVersionStatus403 | ChatsGetVersionStatus404 | ChatsGetVersionStatus409 | ChatsGetVersionStatus413 | ChatsGetVersionStatus422 | ChatsGetVersionStatus429 | ChatsGetVersionStatus500;
4212
+ type ChatsGetVersionResponse = ChatsGetVersionStatus200;
3512
4213
  type ChatsUpdateVersionPath = {
3513
4214
  /**
3514
4215
  * @description The unique identifier of the chat containing the version to update. Provided as a path parameter.
@@ -3521,17 +4222,44 @@ type ChatsUpdateVersionPath = {
3521
4222
  */
3522
4223
  versionId: string;
3523
4224
  };
3524
- type ChatsUpdateVersionStatus200 = unknown;
3525
- type ChatsUpdateVersionStatus401 = unknown;
3526
- type ChatsUpdateVersionStatus403 = unknown;
3527
- type ChatsUpdateVersionStatus404 = unknown;
3528
- type ChatsUpdateVersionStatus409 = unknown;
3529
- type ChatsUpdateVersionStatus413 = unknown;
3530
- type ChatsUpdateVersionStatus422 = unknown;
3531
- type ChatsUpdateVersionStatus429 = unknown;
3532
- type ChatsUpdateVersionStatus500 = unknown;
4225
+ /**
4226
+ * @description Detailed version data including file contents.
4227
+ * @type object
4228
+ */
4229
+ type ChatsUpdateVersionStatus200 = VersionDetail;
4230
+ type ChatsUpdateVersionStatus401 = UnauthorizedError;
4231
+ type ChatsUpdateVersionStatus403 = ForbiddenError;
4232
+ type ChatsUpdateVersionStatus404 = NotFoundError;
4233
+ type ChatsUpdateVersionStatus409 = ConflictError;
4234
+ type ChatsUpdateVersionStatus413 = PayloadTooLargeError;
4235
+ type ChatsUpdateVersionStatus422 = UnprocessableEntityError;
4236
+ type ChatsUpdateVersionStatus429 = TooManyRequestsError;
4237
+ type ChatsUpdateVersionStatus500 = InternalServerError;
4238
+ type ChatsUpdateVersionBody = {
4239
+ /**
4240
+ * @description Array of files to update with their new content
4241
+ * @type array
4242
+ */
4243
+ files: {
4244
+ /**
4245
+ * @description The full file path including extension (e.g., "components/test.tsx")
4246
+ * @type string
4247
+ */
4248
+ name: string;
4249
+ /**
4250
+ * @description The new content for the file
4251
+ * @type string
4252
+ */
4253
+ content: string;
4254
+ /**
4255
+ * @description Whether to lock or unlock the file to prevent AI from overwriting it during generation
4256
+ * @type boolean | undefined
4257
+ */
4258
+ locked?: boolean | undefined;
4259
+ }[];
4260
+ };
3533
4261
  type ChatsUpdateVersionOptions = {
3534
- body?: never | undefined;
4262
+ body: ChatsUpdateVersionBody;
3535
4263
  path: ChatsUpdateVersionPath;
3536
4264
  query?: never | undefined;
3537
4265
  headers?: never | undefined;
@@ -3550,7 +4278,7 @@ type ChatsUpdateVersionResponses = {
3550
4278
  /**
3551
4279
  * @description Union of all possible responses
3552
4280
  */
3553
- type ChatsUpdateVersionResponse = ChatsUpdateVersionStatus200 | ChatsUpdateVersionStatus401 | ChatsUpdateVersionStatus403 | ChatsUpdateVersionStatus404 | ChatsUpdateVersionStatus409 | ChatsUpdateVersionStatus413 | ChatsUpdateVersionStatus422 | ChatsUpdateVersionStatus429 | ChatsUpdateVersionStatus500;
4281
+ type ChatsUpdateVersionResponse = ChatsUpdateVersionStatus200;
3554
4282
  type ChatsDownloadVersionPath = {
3555
4283
  /**
3556
4284
  * @description The unique identifier of the chat containing the version. Provided as a path parameter.
@@ -3575,7 +4303,7 @@ declare const chatsDownloadVersionIncludeDefaultFiles: {
3575
4303
  type ChatsDownloadVersionIncludeDefaultFilesKey = (typeof chatsDownloadVersionIncludeDefaultFiles)[keyof typeof chatsDownloadVersionIncludeDefaultFiles];
3576
4304
  type ChatsDownloadVersionQuery = {
3577
4305
  /**
3578
- * @description The archive format for the download. Choose \"zip\" for broad compatibility or \"tarball\" for Unix/Linux systems.
4306
+ * @description The archive format for the download. Choose "zip" for broad compatibility or "tarball" for Unix/Linux systems.
3579
4307
  * @default 'zip'
3580
4308
  * @type string | undefined
3581
4309
  */
@@ -3586,15 +4314,18 @@ type ChatsDownloadVersionQuery = {
3586
4314
  */
3587
4315
  includeDefaultFiles?: ChatsDownloadVersionIncludeDefaultFilesKey | undefined;
3588
4316
  };
3589
- type ChatsDownloadVersionStatus200 = unknown;
3590
- type ChatsDownloadVersionStatus401 = unknown;
3591
- type ChatsDownloadVersionStatus403 = unknown;
3592
- type ChatsDownloadVersionStatus404 = unknown;
3593
- type ChatsDownloadVersionStatus409 = unknown;
3594
- type ChatsDownloadVersionStatus413 = unknown;
3595
- type ChatsDownloadVersionStatus422 = unknown;
3596
- type ChatsDownloadVersionStatus429 = unknown;
3597
- type ChatsDownloadVersionStatus500 = unknown;
4317
+ /**
4318
+ * @description ZIP archive containing the version files
4319
+ */
4320
+ type ChatsDownloadVersionStatus200 = Blob;
4321
+ type ChatsDownloadVersionStatus401 = UnauthorizedError;
4322
+ type ChatsDownloadVersionStatus403 = ForbiddenError;
4323
+ type ChatsDownloadVersionStatus404 = NotFoundError;
4324
+ type ChatsDownloadVersionStatus409 = ConflictError;
4325
+ type ChatsDownloadVersionStatus413 = PayloadTooLargeError;
4326
+ type ChatsDownloadVersionStatus422 = UnprocessableEntityError;
4327
+ type ChatsDownloadVersionStatus429 = TooManyRequestsError;
4328
+ type ChatsDownloadVersionStatus500 = InternalServerError;
3598
4329
  type ChatsDownloadVersionOptions = {
3599
4330
  body?: never | undefined;
3600
4331
  path: ChatsDownloadVersionPath;
@@ -3615,7 +4346,7 @@ type ChatsDownloadVersionResponses = {
3615
4346
  /**
3616
4347
  * @description Union of all possible responses
3617
4348
  */
3618
- type ChatsDownloadVersionResponse = ChatsDownloadVersionStatus200 | ChatsDownloadVersionStatus401 | ChatsDownloadVersionStatus403 | ChatsDownloadVersionStatus404 | ChatsDownloadVersionStatus409 | ChatsDownloadVersionStatus413 | ChatsDownloadVersionStatus422 | ChatsDownloadVersionStatus429 | ChatsDownloadVersionStatus500;
4349
+ type ChatsDownloadVersionResponse = ChatsDownloadVersionStatus200;
3619
4350
  type ChatsDeleteVersionFilesPath = {
3620
4351
  /**
3621
4352
  * @description The unique identifier of the chat containing the version to delete files from.
@@ -3628,17 +4359,28 @@ type ChatsDeleteVersionFilesPath = {
3628
4359
  */
3629
4360
  versionId: string;
3630
4361
  };
3631
- type ChatsDeleteVersionFilesStatus200 = unknown;
3632
- type ChatsDeleteVersionFilesStatus401 = unknown;
3633
- type ChatsDeleteVersionFilesStatus403 = unknown;
3634
- type ChatsDeleteVersionFilesStatus404 = unknown;
3635
- type ChatsDeleteVersionFilesStatus409 = unknown;
3636
- type ChatsDeleteVersionFilesStatus413 = unknown;
3637
- type ChatsDeleteVersionFilesStatus422 = unknown;
3638
- type ChatsDeleteVersionFilesStatus429 = unknown;
3639
- type ChatsDeleteVersionFilesStatus500 = unknown;
4362
+ /**
4363
+ * @description Detailed version data including file contents.
4364
+ * @type object
4365
+ */
4366
+ type ChatsDeleteVersionFilesStatus200 = VersionDetail;
4367
+ type ChatsDeleteVersionFilesStatus401 = UnauthorizedError;
4368
+ type ChatsDeleteVersionFilesStatus403 = ForbiddenError;
4369
+ type ChatsDeleteVersionFilesStatus404 = NotFoundError;
4370
+ type ChatsDeleteVersionFilesStatus409 = ConflictError;
4371
+ type ChatsDeleteVersionFilesStatus413 = PayloadTooLargeError;
4372
+ type ChatsDeleteVersionFilesStatus422 = UnprocessableEntityError;
4373
+ type ChatsDeleteVersionFilesStatus429 = TooManyRequestsError;
4374
+ type ChatsDeleteVersionFilesStatus500 = InternalServerError;
4375
+ type ChatsDeleteVersionFilesBody = {
4376
+ /**
4377
+ * @description Array of file paths to delete (e.g., ["components/test.tsx", "lib/utils.ts"])
4378
+ * @type array
4379
+ */
4380
+ filePaths: string[];
4381
+ };
3640
4382
  type ChatsDeleteVersionFilesOptions = {
3641
- body?: never | undefined;
4383
+ body: ChatsDeleteVersionFilesBody;
3642
4384
  path: ChatsDeleteVersionFilesPath;
3643
4385
  query?: never | undefined;
3644
4386
  headers?: never | undefined;
@@ -3657,7 +4399,7 @@ type ChatsDeleteVersionFilesResponses = {
3657
4399
  /**
3658
4400
  * @description Union of all possible responses
3659
4401
  */
3660
- type ChatsDeleteVersionFilesResponse = ChatsDeleteVersionFilesStatus200 | ChatsDeleteVersionFilesStatus401 | ChatsDeleteVersionFilesStatus403 | ChatsDeleteVersionFilesStatus404 | ChatsDeleteVersionFilesStatus409 | ChatsDeleteVersionFilesStatus413 | ChatsDeleteVersionFilesStatus422 | ChatsDeleteVersionFilesStatus429 | ChatsDeleteVersionFilesStatus500;
4402
+ type ChatsDeleteVersionFilesResponse = ChatsDeleteVersionFilesStatus200;
3661
4403
  type ChatsResumePath = {
3662
4404
  /**
3663
4405
  * @description The unique identifier of the chat containing the message to resume. Provided as a path parameter.
@@ -3670,15 +4412,19 @@ type ChatsResumePath = {
3670
4412
  */
3671
4413
  messageId: string;
3672
4414
  };
3673
- type ChatsResumeStatus200 = unknown;
3674
- type ChatsResumeStatus401 = unknown;
3675
- type ChatsResumeStatus403 = unknown;
3676
- type ChatsResumeStatus404 = unknown;
3677
- type ChatsResumeStatus409 = unknown;
3678
- type ChatsResumeStatus413 = unknown;
3679
- type ChatsResumeStatus422 = unknown;
3680
- type ChatsResumeStatus429 = unknown;
3681
- type ChatsResumeStatus500 = unknown;
4415
+ /**
4416
+ * @description A Server-Sent Events stream of chat and message delta events.
4417
+ * @type string
4418
+ */
4419
+ type ChatsResumeStatus200 = string;
4420
+ type ChatsResumeStatus401 = UnauthorizedError;
4421
+ type ChatsResumeStatus403 = ForbiddenError;
4422
+ type ChatsResumeStatus404 = NotFoundError;
4423
+ type ChatsResumeStatus409 = ConflictError;
4424
+ type ChatsResumeStatus413 = PayloadTooLargeError;
4425
+ type ChatsResumeStatus422 = UnprocessableEntityError;
4426
+ type ChatsResumeStatus429 = TooManyRequestsError;
4427
+ type ChatsResumeStatus500 = InternalServerError;
3682
4428
  type ChatsResumeOptions = {
3683
4429
  body?: never | undefined;
3684
4430
  path: ChatsResumePath;
@@ -3699,7 +4445,7 @@ type ChatsResumeResponses = {
3699
4445
  /**
3700
4446
  * @description Union of all possible responses
3701
4447
  */
3702
- type ChatsResumeResponse = ChatsResumeStatus200 | ChatsResumeStatus401 | ChatsResumeStatus403 | ChatsResumeStatus404 | ChatsResumeStatus409 | ChatsResumeStatus413 | ChatsResumeStatus422 | ChatsResumeStatus429 | ChatsResumeStatus500;
4448
+ type ChatsResumeResponse = ChatsResumeStatus200;
3703
4449
  type ChatsStopPath = {
3704
4450
  /**
3705
4451
  * @description The unique identifier of the chat containing the message to stop. Provided as a path parameter.
@@ -3712,15 +4458,17 @@ type ChatsStopPath = {
3712
4458
  */
3713
4459
  messageId: string;
3714
4460
  };
3715
- type ChatsStopStatus200 = unknown;
3716
- type ChatsStopStatus401 = unknown;
3717
- type ChatsStopStatus403 = unknown;
3718
- type ChatsStopStatus404 = unknown;
3719
- type ChatsStopStatus409 = unknown;
3720
- type ChatsStopStatus413 = unknown;
3721
- type ChatsStopStatus422 = unknown;
3722
- type ChatsStopStatus429 = unknown;
3723
- type ChatsStopStatus500 = unknown;
4461
+ type ChatsStopStatus200 = {
4462
+ success: true;
4463
+ };
4464
+ type ChatsStopStatus401 = UnauthorizedError;
4465
+ type ChatsStopStatus403 = ForbiddenError;
4466
+ type ChatsStopStatus404 = NotFoundError;
4467
+ type ChatsStopStatus409 = ConflictError;
4468
+ type ChatsStopStatus413 = PayloadTooLargeError;
4469
+ type ChatsStopStatus422 = UnprocessableEntityError;
4470
+ type ChatsStopStatus429 = TooManyRequestsError;
4471
+ type ChatsStopStatus500 = InternalServerError;
3724
4472
  type ChatsStopOptions = {
3725
4473
  body?: never | undefined;
3726
4474
  path: ChatsStopPath;
@@ -3741,7 +4489,7 @@ type ChatsStopResponses = {
3741
4489
  /**
3742
4490
  * @description Union of all possible responses
3743
4491
  */
3744
- type ChatsStopResponse = ChatsStopStatus200 | ChatsStopStatus401 | ChatsStopStatus403 | ChatsStopStatus404 | ChatsStopStatus409 | ChatsStopStatus413 | ChatsStopStatus422 | ChatsStopStatus429 | ChatsStopStatus500;
4492
+ type ChatsStopResponse = ChatsStopStatus200;
3745
4493
  type ChatsResolveTaskPath = {
3746
4494
  /**
3747
4495
  * @description The unique identifier of the chat containing the pending task. Provided as a path parameter.
@@ -3749,17 +4497,226 @@ type ChatsResolveTaskPath = {
3749
4497
  */
3750
4498
  chatId: string;
3751
4499
  };
3752
- type ChatsResolveTaskStatus200 = unknown;
3753
- type ChatsResolveTaskStatus401 = unknown;
3754
- type ChatsResolveTaskStatus403 = unknown;
3755
- type ChatsResolveTaskStatus404 = unknown;
3756
- type ChatsResolveTaskStatus409 = unknown;
3757
- type ChatsResolveTaskStatus413 = unknown;
3758
- type ChatsResolveTaskStatus422 = unknown;
3759
- type ChatsResolveTaskStatus429 = unknown;
3760
- type ChatsResolveTaskStatus500 = unknown;
4500
+ /**
4501
+ * @description Detailed representation of a chat, including its messages, files, versions, and model configuration.
4502
+ * @type object
4503
+ */
4504
+ type ChatsResolveTaskStatus200 = ChatDetail;
4505
+ type ChatsResolveTaskStatus401 = UnauthorizedError;
4506
+ type ChatsResolveTaskStatus403 = ForbiddenError;
4507
+ type ChatsResolveTaskStatus404 = NotFoundError;
4508
+ type ChatsResolveTaskStatus409 = ConflictError;
4509
+ type ChatsResolveTaskStatus413 = PayloadTooLargeError;
4510
+ type ChatsResolveTaskStatus422 = UnprocessableEntityError;
4511
+ type ChatsResolveTaskStatus429 = TooManyRequestsError;
4512
+ type ChatsResolveTaskStatus500 = InternalServerError;
4513
+ declare const chatsResolveTaskRequestTaskConnectedMcpPresetNamesEnum: {
4514
+ readonly Linear: "Linear";
4515
+ readonly Notion: "Notion";
4516
+ readonly Context7: "Context7";
4517
+ readonly Sentry: "Sentry";
4518
+ readonly Zapier: "Zapier";
4519
+ readonly Glean: "Glean";
4520
+ readonly Hex: "Hex";
4521
+ readonly Sanity: "Sanity";
4522
+ readonly Granola: "Granola";
4523
+ readonly PostHog: "PostHog";
4524
+ readonly Contentful: "Contentful";
4525
+ readonly Mobbin: "Mobbin";
4526
+ readonly Slack: "Slack";
4527
+ readonly Nitrosend: "Nitrosend";
4528
+ readonly Datadog: "Datadog";
4529
+ };
4530
+ type ChatsResolveTaskRequestTaskConnectedMcpPresetNamesEnumKey = (typeof chatsResolveTaskRequestTaskConnectedMcpPresetNamesEnum)[keyof typeof chatsResolveTaskRequestTaskConnectedMcpPresetNamesEnum];
4531
+ declare const chatsResolveTaskRequestTaskStatusEnum: {
4532
+ readonly approved: "approved";
4533
+ readonly rejected: "rejected";
4534
+ readonly "request-changes": "request-changes";
4535
+ };
4536
+ type ChatsResolveTaskRequestTaskStatusEnumKey = (typeof chatsResolveTaskRequestTaskStatusEnum)[keyof typeof chatsResolveTaskRequestTaskStatusEnum];
4537
+ declare const chatsResolveTaskRequestResponseModeEnum: {
4538
+ readonly async: "async";
4539
+ readonly experimental_stream: "experimental_stream";
4540
+ readonly sync: "sync";
4541
+ };
4542
+ type ChatsResolveTaskRequestResponseModeEnumKey = (typeof chatsResolveTaskRequestResponseModeEnum)[keyof typeof chatsResolveTaskRequestResponseModeEnum];
4543
+ declare const chatsResolveTaskRequestModelConfigurationThinkingEffort: {
4544
+ readonly none: "none";
4545
+ readonly minimal: "minimal";
4546
+ readonly low: "low";
4547
+ readonly medium: "medium";
4548
+ readonly high: "high";
4549
+ readonly max: "max";
4550
+ readonly xhigh: "xhigh";
4551
+ };
4552
+ type ChatsResolveTaskRequestModelConfigurationThinkingEffortKey = (typeof chatsResolveTaskRequestModelConfigurationThinkingEffort)[keyof typeof chatsResolveTaskRequestModelConfigurationThinkingEffort];
4553
+ type ChatsResolveTaskBody = {
4554
+ /**
4555
+ * @description The task resolution data. Use this when the chat is waiting for user input on the matching task type.
4556
+ */
4557
+ task: {
4558
+ type: "confirmed-steps";
4559
+ /**
4560
+ * @description Names of integrations that were successfully connected (e.g. "Neon"). Pass an empty array to skip.
4561
+ * @default []
4562
+ * @type array | undefined
4563
+ */
4564
+ connectedIntegrationNames?: string[] | undefined;
4565
+ /**
4566
+ * @description Deprecated. npm registry connections are no longer supported; this field is accepted for compatibility and ignored.
4567
+ * @default []
4568
+ * @type array | undefined
4569
+ */
4570
+ connectedNpmRegistryIds?: string[] | undefined;
4571
+ /**
4572
+ * @description Names of MCP presets that were connected (e.g. "Linear", "Sentry"). Pass an empty array to skip.
4573
+ * @default []
4574
+ * @type array | undefined
4575
+ */
4576
+ connectedMcpPresetNames?: ChatsResolveTaskRequestTaskConnectedMcpPresetNamesEnumKey[] | undefined;
4577
+ /**
4578
+ * @description Names of scripts that were applied.
4579
+ * @default []
4580
+ * @type array | undefined
4581
+ */
4582
+ appliedScripts?: string[] | undefined;
4583
+ /**
4584
+ * @description Names of environment variables that were added.
4585
+ * @default []
4586
+ * @type array | undefined
4587
+ */
4588
+ addedEnvVars?: string[] | undefined;
4589
+ } | {
4590
+ type: "plan-exit-response";
4591
+ /**
4592
+ * @description Whether the plan is approved, rejected, or needs changes.
4593
+ * @type string
4594
+ */
4595
+ status: ChatsResolveTaskRequestTaskStatusEnumKey;
4596
+ /**
4597
+ * @description Feedback or instructions for the agent.
4598
+ * @minLength 1
4599
+ * @type string
4600
+ */
4601
+ content: string;
4602
+ } | {
4603
+ type: "answered-questions";
4604
+ /**
4605
+ * @description Answers to the questions the agent asked.
4606
+ * @type array
4607
+ */
4608
+ answers: {
4609
+ /**
4610
+ * @description The ID of the question being answered.
4611
+ * @minLength 1
4612
+ * @type string
4613
+ */
4614
+ questionId: string;
4615
+ /**
4616
+ * @description The text of the question being answered.
4617
+ * @minLength 1
4618
+ * @type string
4619
+ */
4620
+ questionText: string;
4621
+ /**
4622
+ * @description The labels of the selected options. For single-select questions, pass one item.
4623
+ * @type array
4624
+ */
4625
+ selectedLabels: string[];
4626
+ /**
4627
+ * @description Free-form text input, used when the user selects "Other" or wants to add context.
4628
+ * @minLength 1
4629
+ * @type string | undefined
4630
+ */
4631
+ customText?: string | undefined;
4632
+ }[];
4633
+ } | {
4634
+ type: "confirmed-permissions";
4635
+ /**
4636
+ * @description The permissions to grant. Pass the suggestedPermissions from the stopped task.
4637
+ * @type array
4638
+ */
4639
+ permissions: {
4640
+ type: "ALLOW_DYNAMIC_TOOL_STRICT";
4641
+ /**
4642
+ * @description The name of the tool being permitted.
4643
+ * @minLength 1
4644
+ * @type string
4645
+ */
4646
+ toolName: string;
4647
+ /**
4648
+ * @description The tool call input arguments. Pass the exact input from the stopped task.
4649
+ * @type unknown
4650
+ */
4651
+ input: unknown;
4652
+ /**
4653
+ * @description The tool's original human-readable name from the stopped task. Display-only; pass back unchanged. Capped at 100 characters, matching the cap applied when the name is ingested from the server.
4654
+ */
4655
+ toolDisplayName?: (string | null) | undefined;
4656
+ /**
4657
+ * @description Label shown while the tool is running (e.g. "Running migration").
4658
+ */
4659
+ taskNameActive?: (string | null) | undefined;
4660
+ /**
4661
+ * @description Label shown after the tool completes (e.g. "Migration complete").
4662
+ */
4663
+ taskNameComplete?: (string | null) | undefined;
4664
+ /**
4665
+ * @description Optional message from the user about this permission.
4666
+ * @minLength 1
4667
+ * @type string | undefined
4668
+ */
4669
+ userMessage?: string | undefined;
4670
+ }[];
4671
+ /**
4672
+ * @description Optional message from the user about the permission grant.
4673
+ * @minLength 1
4674
+ * @type string | undefined
4675
+ */
4676
+ userMessage?: string | undefined;
4677
+ } | {
4678
+ type: "vercel-connect-setup";
4679
+ } | {
4680
+ type: "vercel-connect-authorization";
4681
+ };
4682
+ /**
4683
+ * @description Controls how the response is delivered.
4684
+ *
4685
+ * - `"sync"`: The response is returned immediately with the HTTP request.
4686
+ * - `"async"`: Returns a message placeholder immediately; use getById to poll for completion status and final output.
4687
+ * - `"experimental_stream"`: Returns content parts as Server-Sent Events for real-time streaming.
4688
+ * @default 'sync'
4689
+ * @type string | undefined
4690
+ */
4691
+ responseMode?: ChatsResolveTaskRequestResponseModeEnumKey | undefined;
4692
+ /**
4693
+ * @description Overrides for the model behavior.
4694
+ * @type object | undefined
4695
+ */
4696
+ modelConfiguration?: {
4697
+ /**
4698
+ * @description Model to use for the generation. Use a v0 model ID, or an [AI Gateway](https://vercel.com/ai-gateway/models) model ID in `creator/model` format. Gateway models must support tool calling and Zero Data Retention, and are subject to team model policy; unsupported IDs are rejected. `v0-auto` is deprecated and falls back to `v0-pro`.
4699
+ * @default v0-pro
4700
+ */
4701
+ modelId?: string | undefined;
4702
+ /**
4703
+ * @description Enables image generations to generate up to 5 images per version.
4704
+ * @default false
4705
+ * @type boolean | undefined
4706
+ */
4707
+ imageGenerations?: boolean | undefined;
4708
+ /**
4709
+ * @description Enables thinking to generate a response in multiple steps.
4710
+ * @default false
4711
+ * @type boolean | undefined
4712
+ */
4713
+ thinking?: boolean | undefined;
4714
+ thinkingEffort?: (ChatsResolveTaskRequestModelConfigurationThinkingEffortKey | null) | undefined;
4715
+ fast?: boolean | undefined;
4716
+ } | undefined;
4717
+ };
3761
4718
  type ChatsResolveTaskOptions = {
3762
- body?: never | undefined;
4719
+ body: ChatsResolveTaskBody;
3763
4720
  path: ChatsResolveTaskPath;
3764
4721
  query?: never | undefined;
3765
4722
  headers?: never | undefined;
@@ -3778,7 +4735,7 @@ type ChatsResolveTaskResponses = {
3778
4735
  /**
3779
4736
  * @description Union of all possible responses
3780
4737
  */
3781
- type ChatsResolveTaskResponse = ChatsResolveTaskStatus200 | ChatsResolveTaskStatus401 | ChatsResolveTaskStatus403 | ChatsResolveTaskStatus404 | ChatsResolveTaskStatus409 | ChatsResolveTaskStatus413 | ChatsResolveTaskStatus422 | ChatsResolveTaskStatus429 | ChatsResolveTaskStatus500;
4738
+ type ChatsResolveTaskResponse = ChatsResolveTaskStatus200;
3782
4739
  type DeploymentsFindQuery = {
3783
4740
  /**
3784
4741
  * @description The ID of the project to find deployments for
@@ -3796,15 +4753,18 @@ type DeploymentsFindQuery = {
3796
4753
  */
3797
4754
  versionId: string;
3798
4755
  };
3799
- type DeploymentsFindStatus200 = unknown;
3800
- type DeploymentsFindStatus401 = unknown;
3801
- type DeploymentsFindStatus403 = unknown;
3802
- type DeploymentsFindStatus404 = unknown;
3803
- type DeploymentsFindStatus409 = unknown;
3804
- type DeploymentsFindStatus413 = unknown;
3805
- type DeploymentsFindStatus422 = unknown;
3806
- type DeploymentsFindStatus429 = unknown;
3807
- type DeploymentsFindStatus500 = unknown;
4756
+ type DeploymentsFindStatus200 = {
4757
+ object: "list";
4758
+ data: DeploymentDetail[];
4759
+ };
4760
+ type DeploymentsFindStatus401 = UnauthorizedError;
4761
+ type DeploymentsFindStatus403 = ForbiddenError;
4762
+ type DeploymentsFindStatus404 = NotFoundError;
4763
+ type DeploymentsFindStatus409 = ConflictError;
4764
+ type DeploymentsFindStatus413 = PayloadTooLargeError;
4765
+ type DeploymentsFindStatus422 = UnprocessableEntityError;
4766
+ type DeploymentsFindStatus429 = TooManyRequestsError;
4767
+ type DeploymentsFindStatus500 = InternalServerError;
3808
4768
  type DeploymentsFindOptions = {
3809
4769
  body?: never | undefined;
3810
4770
  path?: never | undefined;
@@ -3825,18 +4785,23 @@ type DeploymentsFindResponses = {
3825
4785
  /**
3826
4786
  * @description Union of all possible responses
3827
4787
  */
3828
- type DeploymentsFindResponse = DeploymentsFindStatus200 | DeploymentsFindStatus401 | DeploymentsFindStatus403 | DeploymentsFindStatus404 | DeploymentsFindStatus409 | DeploymentsFindStatus413 | DeploymentsFindStatus422 | DeploymentsFindStatus429 | DeploymentsFindStatus500;
3829
- type DeploymentsCreateStatus200 = unknown;
3830
- type DeploymentsCreateStatus401 = unknown;
3831
- type DeploymentsCreateStatus403 = unknown;
3832
- type DeploymentsCreateStatus404 = unknown;
3833
- type DeploymentsCreateStatus409 = unknown;
3834
- type DeploymentsCreateStatus413 = unknown;
3835
- type DeploymentsCreateStatus422 = unknown;
3836
- type DeploymentsCreateStatus429 = unknown;
3837
- type DeploymentsCreateStatus500 = unknown;
4788
+ type DeploymentsFindResponse = DeploymentsFindStatus200;
4789
+ type DeploymentsCreateStatus200 = DeploymentDetail;
4790
+ type DeploymentsCreateStatus401 = UnauthorizedError;
4791
+ type DeploymentsCreateStatus403 = ForbiddenError;
4792
+ type DeploymentsCreateStatus404 = NotFoundError;
4793
+ type DeploymentsCreateStatus409 = ConflictError;
4794
+ type DeploymentsCreateStatus413 = PayloadTooLargeError;
4795
+ type DeploymentsCreateStatus422 = UnprocessableEntityError;
4796
+ type DeploymentsCreateStatus429 = TooManyRequestsError;
4797
+ type DeploymentsCreateStatus500 = InternalServerError;
4798
+ type DeploymentsCreateBody = {
4799
+ projectId?: string | undefined;
4800
+ chatId: string;
4801
+ versionId: string;
4802
+ };
3838
4803
  type DeploymentsCreateOptions = {
3839
- body?: never | undefined;
4804
+ body: DeploymentsCreateBody;
3840
4805
  path?: never | undefined;
3841
4806
  query?: never | undefined;
3842
4807
  headers?: never | undefined;
@@ -3855,23 +4820,23 @@ type DeploymentsCreateResponses = {
3855
4820
  /**
3856
4821
  * @description Union of all possible responses
3857
4822
  */
3858
- type DeploymentsCreateResponse = DeploymentsCreateStatus200 | DeploymentsCreateStatus401 | DeploymentsCreateStatus403 | DeploymentsCreateStatus404 | DeploymentsCreateStatus409 | DeploymentsCreateStatus413 | DeploymentsCreateStatus422 | DeploymentsCreateStatus429 | DeploymentsCreateStatus500;
4823
+ type DeploymentsCreateResponse = DeploymentsCreateStatus200;
3859
4824
  type DeploymentsGetByIdPath = {
3860
4825
  /**
3861
- * @description Path parameter \"deploymentId\"
4826
+ * @description Path parameter "deploymentId"
3862
4827
  * @type string
3863
4828
  */
3864
4829
  deploymentId: string;
3865
4830
  };
3866
- type DeploymentsGetByIdStatus200 = unknown;
3867
- type DeploymentsGetByIdStatus401 = unknown;
3868
- type DeploymentsGetByIdStatus403 = unknown;
3869
- type DeploymentsGetByIdStatus404 = unknown;
3870
- type DeploymentsGetByIdStatus409 = unknown;
3871
- type DeploymentsGetByIdStatus413 = unknown;
3872
- type DeploymentsGetByIdStatus422 = unknown;
3873
- type DeploymentsGetByIdStatus429 = unknown;
3874
- type DeploymentsGetByIdStatus500 = unknown;
4831
+ type DeploymentsGetByIdStatus200 = DeploymentDetail;
4832
+ type DeploymentsGetByIdStatus401 = UnauthorizedError;
4833
+ type DeploymentsGetByIdStatus403 = ForbiddenError;
4834
+ type DeploymentsGetByIdStatus404 = NotFoundError;
4835
+ type DeploymentsGetByIdStatus409 = ConflictError;
4836
+ type DeploymentsGetByIdStatus413 = PayloadTooLargeError;
4837
+ type DeploymentsGetByIdStatus422 = UnprocessableEntityError;
4838
+ type DeploymentsGetByIdStatus429 = TooManyRequestsError;
4839
+ type DeploymentsGetByIdStatus500 = InternalServerError;
3875
4840
  type DeploymentsGetByIdOptions = {
3876
4841
  body?: never | undefined;
3877
4842
  path: DeploymentsGetByIdPath;
@@ -3892,23 +4857,27 @@ type DeploymentsGetByIdResponses = {
3892
4857
  /**
3893
4858
  * @description Union of all possible responses
3894
4859
  */
3895
- type DeploymentsGetByIdResponse = DeploymentsGetByIdStatus200 | DeploymentsGetByIdStatus401 | DeploymentsGetByIdStatus403 | DeploymentsGetByIdStatus404 | DeploymentsGetByIdStatus409 | DeploymentsGetByIdStatus413 | DeploymentsGetByIdStatus422 | DeploymentsGetByIdStatus429 | DeploymentsGetByIdStatus500;
4860
+ type DeploymentsGetByIdResponse = DeploymentsGetByIdStatus200;
3896
4861
  type DeploymentsDeletePath = {
3897
4862
  /**
3898
- * @description Path parameter \"deploymentId\"
4863
+ * @description Path parameter "deploymentId"
3899
4864
  * @type string
3900
4865
  */
3901
4866
  deploymentId: string;
3902
4867
  };
3903
- type DeploymentsDeleteStatus200 = unknown;
3904
- type DeploymentsDeleteStatus401 = unknown;
3905
- type DeploymentsDeleteStatus403 = unknown;
3906
- type DeploymentsDeleteStatus404 = unknown;
3907
- type DeploymentsDeleteStatus409 = unknown;
3908
- type DeploymentsDeleteStatus413 = unknown;
3909
- type DeploymentsDeleteStatus422 = unknown;
3910
- type DeploymentsDeleteStatus429 = unknown;
3911
- type DeploymentsDeleteStatus500 = unknown;
4868
+ type DeploymentsDeleteStatus200 = {
4869
+ id: string;
4870
+ object: "deployment";
4871
+ deleted: true;
4872
+ };
4873
+ type DeploymentsDeleteStatus401 = UnauthorizedError;
4874
+ type DeploymentsDeleteStatus403 = ForbiddenError;
4875
+ type DeploymentsDeleteStatus404 = NotFoundError;
4876
+ type DeploymentsDeleteStatus409 = ConflictError;
4877
+ type DeploymentsDeleteStatus413 = PayloadTooLargeError;
4878
+ type DeploymentsDeleteStatus422 = UnprocessableEntityError;
4879
+ type DeploymentsDeleteStatus429 = TooManyRequestsError;
4880
+ type DeploymentsDeleteStatus500 = InternalServerError;
3912
4881
  type DeploymentsDeleteOptions = {
3913
4882
  body?: never | undefined;
3914
4883
  path: DeploymentsDeletePath;
@@ -3929,7 +4898,7 @@ type DeploymentsDeleteResponses = {
3929
4898
  /**
3930
4899
  * @description Union of all possible responses
3931
4900
  */
3932
- type DeploymentsDeleteResponse = DeploymentsDeleteStatus200 | DeploymentsDeleteStatus401 | DeploymentsDeleteStatus403 | DeploymentsDeleteStatus404 | DeploymentsDeleteStatus409 | DeploymentsDeleteStatus413 | DeploymentsDeleteStatus422 | DeploymentsDeleteStatus429 | DeploymentsDeleteStatus500;
4901
+ type DeploymentsDeleteResponse = DeploymentsDeleteStatus200;
3933
4902
  type DeploymentsFindLogsPath = {
3934
4903
  /**
3935
4904
  * @description The unique identifier of the deployment to retrieve logs for. Provided as a path parameter.
@@ -3944,15 +4913,79 @@ type DeploymentsFindLogsQuery = {
3944
4913
  */
3945
4914
  since?: number | undefined;
3946
4915
  };
3947
- type DeploymentsFindLogsStatus200 = unknown;
3948
- type DeploymentsFindLogsStatus401 = unknown;
3949
- type DeploymentsFindLogsStatus403 = unknown;
3950
- type DeploymentsFindLogsStatus404 = unknown;
3951
- type DeploymentsFindLogsStatus409 = unknown;
3952
- type DeploymentsFindLogsStatus413 = unknown;
3953
- type DeploymentsFindLogsStatus422 = unknown;
3954
- type DeploymentsFindLogsStatus429 = unknown;
3955
- type DeploymentsFindLogsStatus500 = unknown;
4916
+ declare const deploymentsFindLogsStatus200LogsTypeEnum: {
4917
+ readonly stderr: "stderr";
4918
+ readonly stdout: "stdout";
4919
+ };
4920
+ type DeploymentsFindLogsStatus200LogsTypeEnumKey = (typeof deploymentsFindLogsStatus200LogsTypeEnum)[keyof typeof deploymentsFindLogsStatus200LogsTypeEnum];
4921
+ declare const deploymentsFindLogsStatus200LogsLevelEnum: {
4922
+ readonly error: "error";
4923
+ readonly info: "info";
4924
+ readonly warning: "warning";
4925
+ };
4926
+ type DeploymentsFindLogsStatus200LogsLevelEnumKey = (typeof deploymentsFindLogsStatus200LogsLevelEnum)[keyof typeof deploymentsFindLogsStatus200LogsLevelEnum];
4927
+ type DeploymentsFindLogsStatus200 = {
4928
+ /**
4929
+ * @description Array of log entries.
4930
+ * @type array
4931
+ */
4932
+ logs: {
4933
+ /**
4934
+ * @description Log creation timestamp.
4935
+ * @type string
4936
+ */
4937
+ createdAt: string;
4938
+ /**
4939
+ * @description Deployment ID.
4940
+ * @type string
4941
+ */
4942
+ deploymentId: string;
4943
+ /**
4944
+ * @description Log entry ID.
4945
+ * @type string
4946
+ */
4947
+ id: string;
4948
+ /**
4949
+ * @description Log message content.
4950
+ * @type string
4951
+ */
4952
+ text: string;
4953
+ /**
4954
+ * @description Output stream type.
4955
+ * @type string
4956
+ */
4957
+ type: DeploymentsFindLogsStatus200LogsTypeEnumKey;
4958
+ /**
4959
+ * @description Log severity level.
4960
+ * @default 'info'
4961
+ * @type string | undefined
4962
+ */
4963
+ level?: DeploymentsFindLogsStatus200LogsLevelEnumKey | undefined;
4964
+ /**
4965
+ * @description Object type identifier.
4966
+ * @type string
4967
+ */
4968
+ object: "deployment_log";
4969
+ }[];
4970
+ /**
4971
+ * @description Timestamp for pagination.
4972
+ * @type number | undefined
4973
+ */
4974
+ nextSince?: number | undefined;
4975
+ /**
4976
+ * @description Object type identifier.
4977
+ * @type string
4978
+ */
4979
+ object: "list";
4980
+ };
4981
+ type DeploymentsFindLogsStatus401 = UnauthorizedError;
4982
+ type DeploymentsFindLogsStatus403 = ForbiddenError;
4983
+ type DeploymentsFindLogsStatus404 = NotFoundError;
4984
+ type DeploymentsFindLogsStatus409 = ConflictError;
4985
+ type DeploymentsFindLogsStatus413 = PayloadTooLargeError;
4986
+ type DeploymentsFindLogsStatus422 = UnprocessableEntityError;
4987
+ type DeploymentsFindLogsStatus429 = TooManyRequestsError;
4988
+ type DeploymentsFindLogsStatus500 = InternalServerError;
3956
4989
  type DeploymentsFindLogsOptions = {
3957
4990
  body?: never | undefined;
3958
4991
  path: DeploymentsFindLogsPath;
@@ -3973,7 +5006,7 @@ type DeploymentsFindLogsResponses = {
3973
5006
  /**
3974
5007
  * @description Union of all possible responses
3975
5008
  */
3976
- type DeploymentsFindLogsResponse = DeploymentsFindLogsStatus200 | DeploymentsFindLogsStatus401 | DeploymentsFindLogsStatus403 | DeploymentsFindLogsStatus404 | DeploymentsFindLogsStatus409 | DeploymentsFindLogsStatus413 | DeploymentsFindLogsStatus422 | DeploymentsFindLogsStatus429 | DeploymentsFindLogsStatus500;
5009
+ type DeploymentsFindLogsResponse = DeploymentsFindLogsStatus200;
3977
5010
  type DeploymentsFindErrorsPath = {
3978
5011
  /**
3979
5012
  * @description The unique identifier of the deployment to inspect for errors. Provided as a path parameter.
@@ -3981,15 +5014,19 @@ type DeploymentsFindErrorsPath = {
3981
5014
  */
3982
5015
  deploymentId: string;
3983
5016
  };
3984
- type DeploymentsFindErrorsStatus200 = unknown;
3985
- type DeploymentsFindErrorsStatus401 = unknown;
3986
- type DeploymentsFindErrorsStatus403 = unknown;
3987
- type DeploymentsFindErrorsStatus404 = unknown;
3988
- type DeploymentsFindErrorsStatus409 = unknown;
3989
- type DeploymentsFindErrorsStatus413 = unknown;
3990
- type DeploymentsFindErrorsStatus422 = unknown;
3991
- type DeploymentsFindErrorsStatus429 = unknown;
3992
- type DeploymentsFindErrorsStatus500 = unknown;
5017
+ type DeploymentsFindErrorsStatus200 = {
5018
+ fullErrorText?: string | undefined;
5019
+ errorType?: string | undefined;
5020
+ formattedError?: string | undefined;
5021
+ };
5022
+ type DeploymentsFindErrorsStatus401 = UnauthorizedError;
5023
+ type DeploymentsFindErrorsStatus403 = ForbiddenError;
5024
+ type DeploymentsFindErrorsStatus404 = NotFoundError;
5025
+ type DeploymentsFindErrorsStatus409 = ConflictError;
5026
+ type DeploymentsFindErrorsStatus413 = PayloadTooLargeError;
5027
+ type DeploymentsFindErrorsStatus422 = UnprocessableEntityError;
5028
+ type DeploymentsFindErrorsStatus429 = TooManyRequestsError;
5029
+ type DeploymentsFindErrorsStatus500 = InternalServerError;
3993
5030
  type DeploymentsFindErrorsOptions = {
3994
5031
  body?: never | undefined;
3995
5032
  path: DeploymentsFindErrorsPath;
@@ -4010,16 +5047,19 @@ type DeploymentsFindErrorsResponses = {
4010
5047
  /**
4011
5048
  * @description Union of all possible responses
4012
5049
  */
4013
- type DeploymentsFindErrorsResponse = DeploymentsFindErrorsStatus200 | DeploymentsFindErrorsStatus401 | DeploymentsFindErrorsStatus403 | DeploymentsFindErrorsStatus404 | DeploymentsFindErrorsStatus409 | DeploymentsFindErrorsStatus413 | DeploymentsFindErrorsStatus422 | DeploymentsFindErrorsStatus429 | DeploymentsFindErrorsStatus500;
4014
- type HooksFindStatus200 = unknown;
4015
- type HooksFindStatus401 = unknown;
4016
- type HooksFindStatus403 = unknown;
4017
- type HooksFindStatus404 = unknown;
4018
- type HooksFindStatus409 = unknown;
4019
- type HooksFindStatus413 = unknown;
4020
- type HooksFindStatus422 = unknown;
4021
- type HooksFindStatus429 = unknown;
4022
- type HooksFindStatus500 = unknown;
5050
+ type DeploymentsFindErrorsResponse = DeploymentsFindErrorsStatus200;
5051
+ type HooksFindStatus200 = {
5052
+ object: "list";
5053
+ data: HookSummary[];
5054
+ };
5055
+ type HooksFindStatus401 = UnauthorizedError;
5056
+ type HooksFindStatus403 = ForbiddenError;
5057
+ type HooksFindStatus404 = NotFoundError;
5058
+ type HooksFindStatus409 = ConflictError;
5059
+ type HooksFindStatus413 = PayloadTooLargeError;
5060
+ type HooksFindStatus422 = UnprocessableEntityError;
5061
+ type HooksFindStatus429 = TooManyRequestsError;
5062
+ type HooksFindStatus500 = InternalServerError;
4023
5063
  type HooksFindOptions = {
4024
5064
  body?: never | undefined;
4025
5065
  path?: never | undefined;
@@ -4040,18 +5080,56 @@ type HooksFindResponses = {
4040
5080
  /**
4041
5081
  * @description Union of all possible responses
4042
5082
  */
4043
- type HooksFindResponse = HooksFindStatus200 | HooksFindStatus401 | HooksFindStatus403 | HooksFindStatus404 | HooksFindStatus409 | HooksFindStatus413 | HooksFindStatus422 | HooksFindStatus429 | HooksFindStatus500;
4044
- type HooksCreateStatus200 = unknown;
4045
- type HooksCreateStatus401 = unknown;
4046
- type HooksCreateStatus403 = unknown;
4047
- type HooksCreateStatus404 = unknown;
4048
- type HooksCreateStatus409 = unknown;
4049
- type HooksCreateStatus413 = unknown;
4050
- type HooksCreateStatus422 = unknown;
4051
- type HooksCreateStatus429 = unknown;
4052
- type HooksCreateStatus500 = unknown;
5083
+ type HooksFindResponse = HooksFindStatus200;
5084
+ /**
5085
+ * @description Full configuration details for a webhook, including its scope and subscription.
5086
+ * @type object
5087
+ */
5088
+ type HooksCreateStatus200 = HookDetail;
5089
+ type HooksCreateStatus401 = UnauthorizedError;
5090
+ type HooksCreateStatus403 = ForbiddenError;
5091
+ type HooksCreateStatus404 = NotFoundError;
5092
+ type HooksCreateStatus409 = ConflictError;
5093
+ type HooksCreateStatus413 = PayloadTooLargeError;
5094
+ type HooksCreateStatus422 = UnprocessableEntityError;
5095
+ type HooksCreateStatus429 = TooManyRequestsError;
5096
+ type HooksCreateStatus500 = InternalServerError;
5097
+ declare const hooksCreateRequestEventsEnum: {
5098
+ readonly "chat.created": "chat.created";
5099
+ readonly "chat.deleted": "chat.deleted";
5100
+ readonly "chat.updated": "chat.updated";
5101
+ readonly "message.created": "message.created";
5102
+ readonly "message.deleted": "message.deleted";
5103
+ readonly "message.finished": "message.finished";
5104
+ readonly "message.updated": "message.updated";
5105
+ };
5106
+ type HooksCreateRequestEventsEnumKey = (typeof hooksCreateRequestEventsEnum)[keyof typeof hooksCreateRequestEventsEnum];
5107
+ type HooksCreateBody = {
5108
+ /**
5109
+ * @description A human-readable name for the hook.
5110
+ * @type string
5111
+ */
5112
+ name: string;
5113
+ /**
5114
+ * @description List of event types the hook should subscribe to.
5115
+ * @type array
5116
+ */
5117
+ events: HooksCreateRequestEventsEnumKey[];
5118
+ /**
5119
+ * @description The ID of a chat to scope the hook to.
5120
+ * @type string | undefined
5121
+ */
5122
+ chatId?: string | undefined;
5123
+ /**
5124
+ * @description The target URL to receive the webhook payloads.
5125
+ *
5126
+ * Format: `uri`
5127
+ * @type string
5128
+ */
5129
+ url: string;
5130
+ };
4053
5131
  type HooksCreateOptions = {
4054
- body?: never | undefined;
5132
+ body: HooksCreateBody;
4055
5133
  path?: never | undefined;
4056
5134
  query?: never | undefined;
4057
5135
  headers?: never | undefined;
@@ -4070,7 +5148,7 @@ type HooksCreateResponses = {
4070
5148
  /**
4071
5149
  * @description Union of all possible responses
4072
5150
  */
4073
- type HooksCreateResponse = HooksCreateStatus200 | HooksCreateStatus401 | HooksCreateStatus403 | HooksCreateStatus404 | HooksCreateStatus409 | HooksCreateStatus413 | HooksCreateStatus422 | HooksCreateStatus429 | HooksCreateStatus500;
5151
+ type HooksCreateResponse = HooksCreateStatus200;
4074
5152
  type HooksGetByIdPath = {
4075
5153
  /**
4076
5154
  * @description The unique identifier of the hook to retrieve.
@@ -4078,15 +5156,19 @@ type HooksGetByIdPath = {
4078
5156
  */
4079
5157
  hookId: string;
4080
5158
  };
4081
- type HooksGetByIdStatus200 = unknown;
4082
- type HooksGetByIdStatus401 = unknown;
4083
- type HooksGetByIdStatus403 = unknown;
4084
- type HooksGetByIdStatus404 = unknown;
4085
- type HooksGetByIdStatus409 = unknown;
4086
- type HooksGetByIdStatus413 = unknown;
4087
- type HooksGetByIdStatus422 = unknown;
4088
- type HooksGetByIdStatus429 = unknown;
4089
- type HooksGetByIdStatus500 = unknown;
5159
+ /**
5160
+ * @description Full configuration details for a webhook, including its scope and subscription.
5161
+ * @type object
5162
+ */
5163
+ type HooksGetByIdStatus200 = HookDetail;
5164
+ type HooksGetByIdStatus401 = UnauthorizedError;
5165
+ type HooksGetByIdStatus403 = ForbiddenError;
5166
+ type HooksGetByIdStatus404 = NotFoundError;
5167
+ type HooksGetByIdStatus409 = ConflictError;
5168
+ type HooksGetByIdStatus413 = PayloadTooLargeError;
5169
+ type HooksGetByIdStatus422 = UnprocessableEntityError;
5170
+ type HooksGetByIdStatus429 = TooManyRequestsError;
5171
+ type HooksGetByIdStatus500 = InternalServerError;
4090
5172
  type HooksGetByIdOptions = {
4091
5173
  body?: never | undefined;
4092
5174
  path: HooksGetByIdPath;
@@ -4107,7 +5189,7 @@ type HooksGetByIdResponses = {
4107
5189
  /**
4108
5190
  * @description Union of all possible responses
4109
5191
  */
4110
- type HooksGetByIdResponse = HooksGetByIdStatus200 | HooksGetByIdStatus401 | HooksGetByIdStatus403 | HooksGetByIdStatus404 | HooksGetByIdStatus409 | HooksGetByIdStatus413 | HooksGetByIdStatus422 | HooksGetByIdStatus429 | HooksGetByIdStatus500;
5192
+ type HooksGetByIdResponse = HooksGetByIdStatus200;
4111
5193
  type HooksUpdatePath = {
4112
5194
  /**
4113
5195
  * @description The ID of the webhook to update. Provided as a path parameter.
@@ -4115,17 +5197,50 @@ type HooksUpdatePath = {
4115
5197
  */
4116
5198
  hookId: string;
4117
5199
  };
4118
- type HooksUpdateStatus200 = unknown;
4119
- type HooksUpdateStatus401 = unknown;
4120
- type HooksUpdateStatus403 = unknown;
4121
- type HooksUpdateStatus404 = unknown;
4122
- type HooksUpdateStatus409 = unknown;
4123
- type HooksUpdateStatus413 = unknown;
4124
- type HooksUpdateStatus422 = unknown;
4125
- type HooksUpdateStatus429 = unknown;
4126
- type HooksUpdateStatus500 = unknown;
5200
+ /**
5201
+ * @description Full configuration details for a webhook, including its scope and subscription.
5202
+ * @type object
5203
+ */
5204
+ type HooksUpdateStatus200 = HookDetail;
5205
+ type HooksUpdateStatus401 = UnauthorizedError;
5206
+ type HooksUpdateStatus403 = ForbiddenError;
5207
+ type HooksUpdateStatus404 = NotFoundError;
5208
+ type HooksUpdateStatus409 = ConflictError;
5209
+ type HooksUpdateStatus413 = PayloadTooLargeError;
5210
+ type HooksUpdateStatus422 = UnprocessableEntityError;
5211
+ type HooksUpdateStatus429 = TooManyRequestsError;
5212
+ type HooksUpdateStatus500 = InternalServerError;
5213
+ declare const hooksUpdateRequestEventsEnum: {
5214
+ readonly "chat.created": "chat.created";
5215
+ readonly "chat.deleted": "chat.deleted";
5216
+ readonly "chat.updated": "chat.updated";
5217
+ readonly "message.created": "message.created";
5218
+ readonly "message.deleted": "message.deleted";
5219
+ readonly "message.finished": "message.finished";
5220
+ readonly "message.updated": "message.updated";
5221
+ };
5222
+ type HooksUpdateRequestEventsEnumKey = (typeof hooksUpdateRequestEventsEnum)[keyof typeof hooksUpdateRequestEventsEnum];
5223
+ type HooksUpdateBody = {
5224
+ /**
5225
+ * @description A new name for the hook.
5226
+ * @type string | undefined
5227
+ */
5228
+ name?: string | undefined;
5229
+ /**
5230
+ * @description Updated list of event types to subscribe to.
5231
+ * @type array | undefined
5232
+ */
5233
+ events?: HooksUpdateRequestEventsEnumKey[] | undefined;
5234
+ /**
5235
+ * @description A new URL to send webhook payloads to.
5236
+ *
5237
+ * Format: `uri`
5238
+ * @type string | undefined
5239
+ */
5240
+ url?: string | undefined;
5241
+ };
4127
5242
  type HooksUpdateOptions = {
4128
- body?: never | undefined;
5243
+ body: HooksUpdateBody;
4129
5244
  path: HooksUpdatePath;
4130
5245
  query?: never | undefined;
4131
5246
  headers?: never | undefined;
@@ -4144,7 +5259,7 @@ type HooksUpdateResponses = {
4144
5259
  /**
4145
5260
  * @description Union of all possible responses
4146
5261
  */
4147
- type HooksUpdateResponse = HooksUpdateStatus200 | HooksUpdateStatus401 | HooksUpdateStatus403 | HooksUpdateStatus404 | HooksUpdateStatus409 | HooksUpdateStatus413 | HooksUpdateStatus422 | HooksUpdateStatus429 | HooksUpdateStatus500;
5262
+ type HooksUpdateResponse = HooksUpdateStatus200;
4148
5263
  type HooksDeletePath = {
4149
5264
  /**
4150
5265
  * @description The ID of the webhook to delete. Provided as a path parameter.
@@ -4152,15 +5267,19 @@ type HooksDeletePath = {
4152
5267
  */
4153
5268
  hookId: string;
4154
5269
  };
4155
- type HooksDeleteStatus200 = unknown;
4156
- type HooksDeleteStatus401 = unknown;
4157
- type HooksDeleteStatus403 = unknown;
4158
- type HooksDeleteStatus404 = unknown;
4159
- type HooksDeleteStatus409 = unknown;
4160
- type HooksDeleteStatus413 = unknown;
4161
- type HooksDeleteStatus422 = unknown;
4162
- type HooksDeleteStatus429 = unknown;
4163
- type HooksDeleteStatus500 = unknown;
5270
+ type HooksDeleteStatus200 = {
5271
+ id: string;
5272
+ object: "hook";
5273
+ deleted: true;
5274
+ };
5275
+ type HooksDeleteStatus401 = UnauthorizedError;
5276
+ type HooksDeleteStatus403 = ForbiddenError;
5277
+ type HooksDeleteStatus404 = NotFoundError;
5278
+ type HooksDeleteStatus409 = ConflictError;
5279
+ type HooksDeleteStatus413 = PayloadTooLargeError;
5280
+ type HooksDeleteStatus422 = UnprocessableEntityError;
5281
+ type HooksDeleteStatus429 = TooManyRequestsError;
5282
+ type HooksDeleteStatus500 = InternalServerError;
4164
5283
  type HooksDeleteOptions = {
4165
5284
  body?: never | undefined;
4166
5285
  path: HooksDeletePath;
@@ -4181,16 +5300,19 @@ type HooksDeleteResponses = {
4181
5300
  /**
4182
5301
  * @description Union of all possible responses
4183
5302
  */
4184
- type HooksDeleteResponse = HooksDeleteStatus200 | HooksDeleteStatus401 | HooksDeleteStatus403 | HooksDeleteStatus404 | HooksDeleteStatus409 | HooksDeleteStatus413 | HooksDeleteStatus422 | HooksDeleteStatus429 | HooksDeleteStatus500;
4185
- type IntegrationsVercelProjectsFindStatus200 = unknown;
4186
- type IntegrationsVercelProjectsFindStatus401 = unknown;
4187
- type IntegrationsVercelProjectsFindStatus403 = unknown;
4188
- type IntegrationsVercelProjectsFindStatus404 = unknown;
4189
- type IntegrationsVercelProjectsFindStatus409 = unknown;
4190
- type IntegrationsVercelProjectsFindStatus413 = unknown;
4191
- type IntegrationsVercelProjectsFindStatus422 = unknown;
4192
- type IntegrationsVercelProjectsFindStatus429 = unknown;
4193
- type IntegrationsVercelProjectsFindStatus500 = unknown;
5303
+ type HooksDeleteResponse = HooksDeleteStatus200;
5304
+ type IntegrationsVercelProjectsFindStatus200 = {
5305
+ object: "list";
5306
+ data: VercelProjectSummary[];
5307
+ };
5308
+ type IntegrationsVercelProjectsFindStatus401 = UnauthorizedError;
5309
+ type IntegrationsVercelProjectsFindStatus403 = ForbiddenError;
5310
+ type IntegrationsVercelProjectsFindStatus404 = NotFoundError;
5311
+ type IntegrationsVercelProjectsFindStatus409 = ConflictError;
5312
+ type IntegrationsVercelProjectsFindStatus413 = PayloadTooLargeError;
5313
+ type IntegrationsVercelProjectsFindStatus422 = UnprocessableEntityError;
5314
+ type IntegrationsVercelProjectsFindStatus429 = TooManyRequestsError;
5315
+ type IntegrationsVercelProjectsFindStatus500 = InternalServerError;
4194
5316
  type IntegrationsVercelProjectsFindOptions = {
4195
5317
  body?: never | undefined;
4196
5318
  path?: never | undefined;
@@ -4211,23 +5333,35 @@ type IntegrationsVercelProjectsFindResponses = {
4211
5333
  /**
4212
5334
  * @description Union of all possible responses
4213
5335
  */
4214
- type IntegrationsVercelProjectsFindResponse = IntegrationsVercelProjectsFindStatus200 | IntegrationsVercelProjectsFindStatus401 | IntegrationsVercelProjectsFindStatus403 | IntegrationsVercelProjectsFindStatus404 | IntegrationsVercelProjectsFindStatus409 | IntegrationsVercelProjectsFindStatus413 | IntegrationsVercelProjectsFindStatus422 | IntegrationsVercelProjectsFindStatus429 | IntegrationsVercelProjectsFindStatus500;
4215
- type IntegrationsVercelProjectsCreateStatus200 = unknown;
4216
- type IntegrationsVercelProjectsCreateStatus401 = unknown;
4217
- type IntegrationsVercelProjectsCreateStatus403 = unknown;
4218
- type IntegrationsVercelProjectsCreateStatus404 = unknown;
4219
- type IntegrationsVercelProjectsCreateStatus409 = unknown;
4220
- type IntegrationsVercelProjectsCreateStatus413 = unknown;
4221
- type IntegrationsVercelProjectsCreateStatus422 = unknown;
4222
- type IntegrationsVercelProjectsCreateStatus429 = unknown;
4223
- type IntegrationsVercelProjectsCreateStatus500 = unknown;
4224
- type IntegrationsVercelProjectsCreateOptions = {
4225
- body?: never | undefined;
4226
- path?: never | undefined;
4227
- query?: never | undefined;
4228
- headers?: never | undefined;
4229
- };
4230
- type IntegrationsVercelProjectsCreateResponses = {
5336
+ type IntegrationsVercelProjectsFindResponse = IntegrationsVercelProjectsFindStatus200;
5337
+ type IntegrationsVercelProjectsCreateStatus200 = VercelProjectDetail;
5338
+ type IntegrationsVercelProjectsCreateStatus401 = UnauthorizedError;
5339
+ type IntegrationsVercelProjectsCreateStatus403 = ForbiddenError;
5340
+ type IntegrationsVercelProjectsCreateStatus404 = NotFoundError;
5341
+ type IntegrationsVercelProjectsCreateStatus409 = ConflictError;
5342
+ type IntegrationsVercelProjectsCreateStatus413 = PayloadTooLargeError;
5343
+ type IntegrationsVercelProjectsCreateStatus422 = UnprocessableEntityError;
5344
+ type IntegrationsVercelProjectsCreateStatus429 = TooManyRequestsError;
5345
+ type IntegrationsVercelProjectsCreateStatus500 = InternalServerError;
5346
+ type IntegrationsVercelProjectsCreateBody = {
5347
+ /**
5348
+ * @description The ID of the v0 project to link to the new Vercel project.
5349
+ * @type string
5350
+ */
5351
+ projectId: string;
5352
+ /**
5353
+ * @description The name to assign to the new Vercel project.
5354
+ * @type string
5355
+ */
5356
+ name: string;
5357
+ };
5358
+ type IntegrationsVercelProjectsCreateOptions = {
5359
+ body: IntegrationsVercelProjectsCreateBody;
5360
+ path?: never | undefined;
5361
+ query?: never | undefined;
5362
+ headers?: never | undefined;
5363
+ };
5364
+ type IntegrationsVercelProjectsCreateResponses = {
4231
5365
  "200": IntegrationsVercelProjectsCreateStatus200;
4232
5366
  "401": IntegrationsVercelProjectsCreateStatus401;
4233
5367
  "403": IntegrationsVercelProjectsCreateStatus403;
@@ -4241,16 +5375,19 @@ type IntegrationsVercelProjectsCreateResponses = {
4241
5375
  /**
4242
5376
  * @description Union of all possible responses
4243
5377
  */
4244
- type IntegrationsVercelProjectsCreateResponse = IntegrationsVercelProjectsCreateStatus200 | IntegrationsVercelProjectsCreateStatus401 | IntegrationsVercelProjectsCreateStatus403 | IntegrationsVercelProjectsCreateStatus404 | IntegrationsVercelProjectsCreateStatus409 | IntegrationsVercelProjectsCreateStatus413 | IntegrationsVercelProjectsCreateStatus422 | IntegrationsVercelProjectsCreateStatus429 | IntegrationsVercelProjectsCreateStatus500;
4245
- type ProjectsFindStatus200 = unknown;
4246
- type ProjectsFindStatus401 = unknown;
4247
- type ProjectsFindStatus403 = unknown;
4248
- type ProjectsFindStatus404 = unknown;
4249
- type ProjectsFindStatus409 = unknown;
4250
- type ProjectsFindStatus413 = unknown;
4251
- type ProjectsFindStatus422 = unknown;
4252
- type ProjectsFindStatus429 = unknown;
4253
- type ProjectsFindStatus500 = unknown;
5378
+ type IntegrationsVercelProjectsCreateResponse = IntegrationsVercelProjectsCreateStatus200;
5379
+ type ProjectsFindStatus200 = {
5380
+ object: "list";
5381
+ data: ProjectSummary[];
5382
+ };
5383
+ type ProjectsFindStatus401 = UnauthorizedError;
5384
+ type ProjectsFindStatus403 = ForbiddenError;
5385
+ type ProjectsFindStatus404 = NotFoundError;
5386
+ type ProjectsFindStatus409 = ConflictError;
5387
+ type ProjectsFindStatus413 = PayloadTooLargeError;
5388
+ type ProjectsFindStatus422 = UnprocessableEntityError;
5389
+ type ProjectsFindStatus429 = TooManyRequestsError;
5390
+ type ProjectsFindStatus500 = InternalServerError;
4254
5391
  type ProjectsFindOptions = {
4255
5392
  body?: never | undefined;
4256
5393
  path?: never | undefined;
@@ -4271,18 +5408,79 @@ type ProjectsFindResponses = {
4271
5408
  /**
4272
5409
  * @description Union of all possible responses
4273
5410
  */
4274
- type ProjectsFindResponse = ProjectsFindStatus200 | ProjectsFindStatus401 | ProjectsFindStatus403 | ProjectsFindStatus404 | ProjectsFindStatus409 | ProjectsFindStatus413 | ProjectsFindStatus422 | ProjectsFindStatus429 | ProjectsFindStatus500;
4275
- type ProjectsCreateStatus200 = unknown;
4276
- type ProjectsCreateStatus401 = unknown;
4277
- type ProjectsCreateStatus403 = unknown;
4278
- type ProjectsCreateStatus404 = unknown;
4279
- type ProjectsCreateStatus409 = unknown;
4280
- type ProjectsCreateStatus413 = unknown;
4281
- type ProjectsCreateStatus422 = unknown;
4282
- type ProjectsCreateStatus429 = unknown;
4283
- type ProjectsCreateStatus500 = unknown;
5411
+ type ProjectsFindResponse = ProjectsFindStatus200;
5412
+ /**
5413
+ * @description Full representation of a project, including its associated chats.
5414
+ * @type object
5415
+ */
5416
+ type ProjectsCreateStatus200 = ProjectDetail;
5417
+ type ProjectsCreateStatus401 = UnauthorizedError;
5418
+ type ProjectsCreateStatus403 = ForbiddenError;
5419
+ type ProjectsCreateStatus404 = NotFoundError;
5420
+ type ProjectsCreateStatus409 = ConflictError;
5421
+ type ProjectsCreateStatus413 = PayloadTooLargeError;
5422
+ type ProjectsCreateStatus422 = UnprocessableEntityError;
5423
+ type ProjectsCreateStatus429 = TooManyRequestsError;
5424
+ type ProjectsCreateStatus500 = InternalServerError;
5425
+ declare const projectsCreateRequestPrivacyEnum: {
5426
+ readonly private: "private";
5427
+ readonly team: "team";
5428
+ };
5429
+ type ProjectsCreateRequestPrivacyEnumKey = (typeof projectsCreateRequestPrivacyEnum)[keyof typeof projectsCreateRequestPrivacyEnum];
5430
+ type ProjectsCreateBody = {
5431
+ /**
5432
+ * @description The name of the project.
5433
+ * @maxLength 255
5434
+ * @type string
5435
+ */
5436
+ name: string;
5437
+ /**
5438
+ * @description A brief summary of the project’s purpose.
5439
+ * @maxLength 1000
5440
+ * @type string | undefined
5441
+ */
5442
+ description?: string | undefined;
5443
+ /**
5444
+ * @description An icon identifier to visually represent the project.
5445
+ * @default 'icon-wand-sparkles'
5446
+ * @type string | undefined
5447
+ */
5448
+ icon?: string | undefined;
5449
+ /**
5450
+ * @description A list of key-value pairs used to define runtime variables for the project.
5451
+ * @type array | undefined
5452
+ */
5453
+ environmentVariables?: {
5454
+ /**
5455
+ * @maxLength 255
5456
+ * @type string
5457
+ */
5458
+ key: string;
5459
+ /**
5460
+ * @maxLength 1000
5461
+ * @type string
5462
+ */
5463
+ value: string;
5464
+ }[] | undefined;
5465
+ /**
5466
+ * @description Guidance or goals that provide context for the model when working within the project.
5467
+ * @maxLength 2000
5468
+ * @type string | undefined
5469
+ */
5470
+ instructions?: string | undefined;
5471
+ /**
5472
+ * @description The ID of an existing Vercel project to link to. If not provided, a new Vercel project will be created.
5473
+ * @type string | undefined
5474
+ */
5475
+ vercelProjectId?: string | undefined;
5476
+ /**
5477
+ * @description The privacy setting for the project. For user accounts, this is always "private". For team/enterprise accounts, this can be either "private" or "team".
5478
+ * @type string | undefined
5479
+ */
5480
+ privacy?: ProjectsCreateRequestPrivacyEnumKey | undefined;
5481
+ };
4284
5482
  type ProjectsCreateOptions = {
4285
- body?: never | undefined;
5483
+ body: ProjectsCreateBody;
4286
5484
  path?: never | undefined;
4287
5485
  query?: never | undefined;
4288
5486
  headers?: never | undefined;
@@ -4301,7 +5499,7 @@ type ProjectsCreateResponses = {
4301
5499
  /**
4302
5500
  * @description Union of all possible responses
4303
5501
  */
4304
- type ProjectsCreateResponse = ProjectsCreateStatus200 | ProjectsCreateStatus401 | ProjectsCreateStatus403 | ProjectsCreateStatus404 | ProjectsCreateStatus409 | ProjectsCreateStatus413 | ProjectsCreateStatus422 | ProjectsCreateStatus429 | ProjectsCreateStatus500;
5502
+ type ProjectsCreateResponse = ProjectsCreateStatus200;
4305
5503
  type ProjectsGetByIdPath = {
4306
5504
  /**
4307
5505
  * @description The unique identifier of the project to retrieve.
@@ -4309,15 +5507,19 @@ type ProjectsGetByIdPath = {
4309
5507
  */
4310
5508
  projectId: string;
4311
5509
  };
4312
- type ProjectsGetByIdStatus200 = unknown;
4313
- type ProjectsGetByIdStatus401 = unknown;
4314
- type ProjectsGetByIdStatus403 = unknown;
4315
- type ProjectsGetByIdStatus404 = unknown;
4316
- type ProjectsGetByIdStatus409 = unknown;
4317
- type ProjectsGetByIdStatus413 = unknown;
4318
- type ProjectsGetByIdStatus422 = unknown;
4319
- type ProjectsGetByIdStatus429 = unknown;
4320
- type ProjectsGetByIdStatus500 = unknown;
5510
+ /**
5511
+ * @description Full representation of a project, including its associated chats.
5512
+ * @type object
5513
+ */
5514
+ type ProjectsGetByIdStatus200 = ProjectDetail;
5515
+ type ProjectsGetByIdStatus401 = UnauthorizedError;
5516
+ type ProjectsGetByIdStatus403 = ForbiddenError;
5517
+ type ProjectsGetByIdStatus404 = NotFoundError;
5518
+ type ProjectsGetByIdStatus409 = ConflictError;
5519
+ type ProjectsGetByIdStatus413 = PayloadTooLargeError;
5520
+ type ProjectsGetByIdStatus422 = UnprocessableEntityError;
5521
+ type ProjectsGetByIdStatus429 = TooManyRequestsError;
5522
+ type ProjectsGetByIdStatus500 = InternalServerError;
4321
5523
  type ProjectsGetByIdOptions = {
4322
5524
  body?: never | undefined;
4323
5525
  path: ProjectsGetByIdPath;
@@ -4338,7 +5540,7 @@ type ProjectsGetByIdResponses = {
4338
5540
  /**
4339
5541
  * @description Union of all possible responses
4340
5542
  */
4341
- type ProjectsGetByIdResponse = ProjectsGetByIdStatus200 | ProjectsGetByIdStatus401 | ProjectsGetByIdStatus403 | ProjectsGetByIdStatus404 | ProjectsGetByIdStatus409 | ProjectsGetByIdStatus413 | ProjectsGetByIdStatus422 | ProjectsGetByIdStatus429 | ProjectsGetByIdStatus500;
5543
+ type ProjectsGetByIdResponse = ProjectsGetByIdStatus200;
4342
5544
  type ProjectsUpdatePath = {
4343
5545
  /**
4344
5546
  * @description The unique identifier of the project to update. Provided as a path parameter.
@@ -4346,17 +5548,48 @@ type ProjectsUpdatePath = {
4346
5548
  */
4347
5549
  projectId: string;
4348
5550
  };
4349
- type ProjectsUpdateStatus200 = unknown;
4350
- type ProjectsUpdateStatus401 = unknown;
4351
- type ProjectsUpdateStatus403 = unknown;
4352
- type ProjectsUpdateStatus404 = unknown;
4353
- type ProjectsUpdateStatus409 = unknown;
4354
- type ProjectsUpdateStatus413 = unknown;
4355
- type ProjectsUpdateStatus422 = unknown;
4356
- type ProjectsUpdateStatus429 = unknown;
4357
- type ProjectsUpdateStatus500 = unknown;
5551
+ /**
5552
+ * @description Full representation of a project, including its associated chats.
5553
+ * @type object
5554
+ */
5555
+ type ProjectsUpdateStatus200 = ProjectDetail;
5556
+ type ProjectsUpdateStatus401 = UnauthorizedError;
5557
+ type ProjectsUpdateStatus403 = ForbiddenError;
5558
+ type ProjectsUpdateStatus404 = NotFoundError;
5559
+ type ProjectsUpdateStatus409 = ConflictError;
5560
+ type ProjectsUpdateStatus413 = PayloadTooLargeError;
5561
+ type ProjectsUpdateStatus422 = UnprocessableEntityError;
5562
+ type ProjectsUpdateStatus429 = TooManyRequestsError;
5563
+ type ProjectsUpdateStatus500 = InternalServerError;
5564
+ declare const projectsUpdateRequestPrivacyEnum: {
5565
+ readonly private: "private";
5566
+ readonly team: "team";
5567
+ };
5568
+ type ProjectsUpdateRequestPrivacyEnumKey = (typeof projectsUpdateRequestPrivacyEnum)[keyof typeof projectsUpdateRequestPrivacyEnum];
5569
+ type ProjectsUpdateBody = {
5570
+ /**
5571
+ * @description A new name to assign to the project. Helps with identification and organization.
5572
+ * @type string | undefined
5573
+ */
5574
+ name?: string | undefined;
5575
+ /**
5576
+ * @description A new description to assign to the project. Helps with identification and organization.
5577
+ * @type string | undefined
5578
+ */
5579
+ description?: string | undefined;
5580
+ /**
5581
+ * @description Guidance or goals that provide context for the model when working within the project.
5582
+ * @type string | undefined
5583
+ */
5584
+ instructions?: string | undefined;
5585
+ /**
5586
+ * @description The privacy setting for the project. For user accounts, this must be "private". For team/enterprise accounts, this can be either "private" or "team".
5587
+ * @type string | undefined
5588
+ */
5589
+ privacy?: ProjectsUpdateRequestPrivacyEnumKey | undefined;
5590
+ };
4358
5591
  type ProjectsUpdateOptions = {
4359
- body?: never | undefined;
5592
+ body: ProjectsUpdateBody;
4360
5593
  path: ProjectsUpdatePath;
4361
5594
  query?: never | undefined;
4362
5595
  headers?: never | undefined;
@@ -4375,7 +5608,7 @@ type ProjectsUpdateResponses = {
4375
5608
  /**
4376
5609
  * @description Union of all possible responses
4377
5610
  */
4378
- type ProjectsUpdateResponse = ProjectsUpdateStatus200 | ProjectsUpdateStatus401 | ProjectsUpdateStatus403 | ProjectsUpdateStatus404 | ProjectsUpdateStatus409 | ProjectsUpdateStatus413 | ProjectsUpdateStatus422 | ProjectsUpdateStatus429 | ProjectsUpdateStatus500;
5611
+ type ProjectsUpdateResponse = ProjectsUpdateStatus200;
4379
5612
  type ProjectsDeletePath = {
4380
5613
  /**
4381
5614
  * @description The unique identifier of the project to delete. This must be passed as a path parameter in the URL.
@@ -4396,15 +5629,31 @@ type ProjectsDeleteQuery = {
4396
5629
  */
4397
5630
  deleteAllChats?: ProjectsDeleteDeleteAllChatsKey | undefined;
4398
5631
  };
4399
- type ProjectsDeleteStatus200 = unknown;
4400
- type ProjectsDeleteStatus401 = unknown;
4401
- type ProjectsDeleteStatus403 = unknown;
4402
- type ProjectsDeleteStatus404 = unknown;
4403
- type ProjectsDeleteStatus409 = unknown;
4404
- type ProjectsDeleteStatus413 = unknown;
4405
- type ProjectsDeleteStatus422 = unknown;
4406
- type ProjectsDeleteStatus429 = unknown;
4407
- type ProjectsDeleteStatus500 = unknown;
5632
+ type ProjectsDeleteStatus200 = {
5633
+ /**
5634
+ * @description The unique identifier of the deleted project.
5635
+ * @type string
5636
+ */
5637
+ id: string;
5638
+ /**
5639
+ * @description Fixed value identifying this object as a project.
5640
+ * @type string
5641
+ */
5642
+ object: "project";
5643
+ /**
5644
+ * @description Confirmation that the project has been deleted.
5645
+ * @type boolean
5646
+ */
5647
+ deleted: true;
5648
+ };
5649
+ type ProjectsDeleteStatus401 = UnauthorizedError;
5650
+ type ProjectsDeleteStatus403 = ForbiddenError;
5651
+ type ProjectsDeleteStatus404 = NotFoundError;
5652
+ type ProjectsDeleteStatus409 = ConflictError;
5653
+ type ProjectsDeleteStatus413 = PayloadTooLargeError;
5654
+ type ProjectsDeleteStatus422 = UnprocessableEntityError;
5655
+ type ProjectsDeleteStatus429 = TooManyRequestsError;
5656
+ type ProjectsDeleteStatus500 = InternalServerError;
4408
5657
  type ProjectsDeleteOptions = {
4409
5658
  body?: never | undefined;
4410
5659
  path: ProjectsDeletePath;
@@ -4425,7 +5674,7 @@ type ProjectsDeleteResponses = {
4425
5674
  /**
4426
5675
  * @description Union of all possible responses
4427
5676
  */
4428
- type ProjectsDeleteResponse = ProjectsDeleteStatus200 | ProjectsDeleteStatus401 | ProjectsDeleteStatus403 | ProjectsDeleteStatus404 | ProjectsDeleteStatus409 | ProjectsDeleteStatus413 | ProjectsDeleteStatus422 | ProjectsDeleteStatus429 | ProjectsDeleteStatus500;
5677
+ type ProjectsDeleteResponse = ProjectsDeleteStatus200;
4429
5678
  type ProjectsAssignPath = {
4430
5679
  /**
4431
5680
  * @description The ID of the project to assign.
@@ -4433,17 +5682,28 @@ type ProjectsAssignPath = {
4433
5682
  */
4434
5683
  projectId: string;
4435
5684
  };
4436
- type ProjectsAssignStatus200 = unknown;
4437
- type ProjectsAssignStatus401 = unknown;
4438
- type ProjectsAssignStatus403 = unknown;
4439
- type ProjectsAssignStatus404 = unknown;
4440
- type ProjectsAssignStatus409 = unknown;
4441
- type ProjectsAssignStatus413 = unknown;
4442
- type ProjectsAssignStatus422 = unknown;
4443
- type ProjectsAssignStatus429 = unknown;
4444
- type ProjectsAssignStatus500 = unknown;
5685
+ type ProjectsAssignStatus200 = {
5686
+ object: "project";
5687
+ id: string;
5688
+ assigned: true;
5689
+ };
5690
+ type ProjectsAssignStatus401 = UnauthorizedError;
5691
+ type ProjectsAssignStatus403 = ForbiddenError;
5692
+ type ProjectsAssignStatus404 = NotFoundError;
5693
+ type ProjectsAssignStatus409 = ConflictError;
5694
+ type ProjectsAssignStatus413 = PayloadTooLargeError;
5695
+ type ProjectsAssignStatus422 = UnprocessableEntityError;
5696
+ type ProjectsAssignStatus429 = TooManyRequestsError;
5697
+ type ProjectsAssignStatus500 = InternalServerError;
5698
+ type ProjectsAssignBody = {
5699
+ /**
5700
+ * @description The ID of the chat to assign the project to.
5701
+ * @type string
5702
+ */
5703
+ chatId: string;
5704
+ };
4445
5705
  type ProjectsAssignOptions = {
4446
- body?: never | undefined;
5706
+ body: ProjectsAssignBody;
4447
5707
  path: ProjectsAssignPath;
4448
5708
  query?: never | undefined;
4449
5709
  headers?: never | undefined;
@@ -4462,7 +5722,7 @@ type ProjectsAssignResponses = {
4462
5722
  /**
4463
5723
  * @description Union of all possible responses
4464
5724
  */
4465
- type ProjectsAssignResponse = ProjectsAssignStatus200 | ProjectsAssignStatus401 | ProjectsAssignStatus403 | ProjectsAssignStatus404 | ProjectsAssignStatus409 | ProjectsAssignStatus413 | ProjectsAssignStatus422 | ProjectsAssignStatus429 | ProjectsAssignStatus500;
5725
+ type ProjectsAssignResponse = ProjectsAssignStatus200;
4466
5726
  type ProjectsFindEnvVarsPath = {
4467
5727
  /**
4468
5728
  * @description The unique identifier of the project whose environment variables should be retrieved.
@@ -4482,15 +5742,18 @@ type ProjectsFindEnvVarsQuery = {
4482
5742
  */
4483
5743
  decrypted?: ProjectsFindEnvVarsDecryptedKey | undefined;
4484
5744
  };
4485
- type ProjectsFindEnvVarsStatus200 = unknown;
4486
- type ProjectsFindEnvVarsStatus401 = unknown;
4487
- type ProjectsFindEnvVarsStatus403 = unknown;
4488
- type ProjectsFindEnvVarsStatus404 = unknown;
4489
- type ProjectsFindEnvVarsStatus409 = unknown;
4490
- type ProjectsFindEnvVarsStatus413 = unknown;
4491
- type ProjectsFindEnvVarsStatus422 = unknown;
4492
- type ProjectsFindEnvVarsStatus429 = unknown;
4493
- type ProjectsFindEnvVarsStatus500 = unknown;
5745
+ type ProjectsFindEnvVarsStatus200 = {
5746
+ object: "list";
5747
+ data: EnvironmentVariableSummarySchema[];
5748
+ };
5749
+ type ProjectsFindEnvVarsStatus401 = UnauthorizedError;
5750
+ type ProjectsFindEnvVarsStatus403 = ForbiddenError;
5751
+ type ProjectsFindEnvVarsStatus404 = NotFoundError;
5752
+ type ProjectsFindEnvVarsStatus409 = ConflictError;
5753
+ type ProjectsFindEnvVarsStatus413 = PayloadTooLargeError;
5754
+ type ProjectsFindEnvVarsStatus422 = UnprocessableEntityError;
5755
+ type ProjectsFindEnvVarsStatus429 = TooManyRequestsError;
5756
+ type ProjectsFindEnvVarsStatus500 = InternalServerError;
4494
5757
  type ProjectsFindEnvVarsOptions = {
4495
5758
  body?: never | undefined;
4496
5759
  path: ProjectsFindEnvVarsPath;
@@ -4511,7 +5774,7 @@ type ProjectsFindEnvVarsResponses = {
4511
5774
  /**
4512
5775
  * @description Union of all possible responses
4513
5776
  */
4514
- type ProjectsFindEnvVarsResponse = ProjectsFindEnvVarsStatus200 | ProjectsFindEnvVarsStatus401 | ProjectsFindEnvVarsStatus403 | ProjectsFindEnvVarsStatus404 | ProjectsFindEnvVarsStatus409 | ProjectsFindEnvVarsStatus413 | ProjectsFindEnvVarsStatus422 | ProjectsFindEnvVarsStatus429 | ProjectsFindEnvVarsStatus500;
5777
+ type ProjectsFindEnvVarsResponse = ProjectsFindEnvVarsStatus200;
4515
5778
  type ProjectsCreateEnvVarsPath = {
4516
5779
  /**
4517
5780
  * @description The unique identifier of the project where environment variables should be created.
@@ -4531,17 +5794,44 @@ type ProjectsCreateEnvVarsQuery = {
4531
5794
  */
4532
5795
  decrypted?: ProjectsCreateEnvVarsDecryptedKey | undefined;
4533
5796
  };
4534
- type ProjectsCreateEnvVarsStatus200 = unknown;
4535
- type ProjectsCreateEnvVarsStatus401 = unknown;
4536
- type ProjectsCreateEnvVarsStatus403 = unknown;
4537
- type ProjectsCreateEnvVarsStatus404 = unknown;
4538
- type ProjectsCreateEnvVarsStatus409 = unknown;
4539
- type ProjectsCreateEnvVarsStatus413 = unknown;
4540
- type ProjectsCreateEnvVarsStatus422 = unknown;
4541
- type ProjectsCreateEnvVarsStatus429 = unknown;
4542
- type ProjectsCreateEnvVarsStatus500 = unknown;
5797
+ type ProjectsCreateEnvVarsStatus200 = {
5798
+ object: "list";
5799
+ data: EnvironmentVariableSummarySchema[];
5800
+ };
5801
+ type ProjectsCreateEnvVarsStatus401 = UnauthorizedError;
5802
+ type ProjectsCreateEnvVarsStatus403 = ForbiddenError;
5803
+ type ProjectsCreateEnvVarsStatus404 = NotFoundError;
5804
+ type ProjectsCreateEnvVarsStatus409 = ConflictError;
5805
+ type ProjectsCreateEnvVarsStatus413 = PayloadTooLargeError;
5806
+ type ProjectsCreateEnvVarsStatus422 = UnprocessableEntityError;
5807
+ type ProjectsCreateEnvVarsStatus429 = TooManyRequestsError;
5808
+ type ProjectsCreateEnvVarsStatus500 = InternalServerError;
5809
+ type ProjectsCreateEnvVarsBody = {
5810
+ /**
5811
+ * @description An array of environment variables to create with key and value fields.
5812
+ * @type array
5813
+ */
5814
+ environmentVariables: {
5815
+ /**
5816
+ * @description The name of the environment variable.
5817
+ * @minLength 1
5818
+ * @type string
5819
+ */
5820
+ key: string;
5821
+ /**
5822
+ * @description The value of the environment variable.
5823
+ * @type string
5824
+ */
5825
+ value: string;
5826
+ }[];
5827
+ /**
5828
+ * @description Whether to overwrite existing environment variables with the same keys. Defaults to false.
5829
+ * @type boolean | undefined
5830
+ */
5831
+ upsert?: boolean | undefined;
5832
+ };
4543
5833
  type ProjectsCreateEnvVarsOptions = {
4544
- body?: never | undefined;
5834
+ body: ProjectsCreateEnvVarsBody;
4545
5835
  path: ProjectsCreateEnvVarsPath;
4546
5836
  query?: ProjectsCreateEnvVarsQuery | undefined;
4547
5837
  headers?: never | undefined;
@@ -4560,7 +5850,7 @@ type ProjectsCreateEnvVarsResponses = {
4560
5850
  /**
4561
5851
  * @description Union of all possible responses
4562
5852
  */
4563
- type ProjectsCreateEnvVarsResponse = ProjectsCreateEnvVarsStatus200 | ProjectsCreateEnvVarsStatus401 | ProjectsCreateEnvVarsStatus403 | ProjectsCreateEnvVarsStatus404 | ProjectsCreateEnvVarsStatus409 | ProjectsCreateEnvVarsStatus413 | ProjectsCreateEnvVarsStatus422 | ProjectsCreateEnvVarsStatus429 | ProjectsCreateEnvVarsStatus500;
5853
+ type ProjectsCreateEnvVarsResponse = ProjectsCreateEnvVarsStatus200;
4564
5854
  type ProjectsUpdateEnvVarsPath = {
4565
5855
  /**
4566
5856
  * @description The unique identifier of the project whose environment variables should be updated.
@@ -4580,17 +5870,38 @@ type ProjectsUpdateEnvVarsQuery = {
4580
5870
  */
4581
5871
  decrypted?: ProjectsUpdateEnvVarsDecryptedKey | undefined;
4582
5872
  };
4583
- type ProjectsUpdateEnvVarsStatus200 = unknown;
4584
- type ProjectsUpdateEnvVarsStatus401 = unknown;
4585
- type ProjectsUpdateEnvVarsStatus403 = unknown;
4586
- type ProjectsUpdateEnvVarsStatus404 = unknown;
4587
- type ProjectsUpdateEnvVarsStatus409 = unknown;
4588
- type ProjectsUpdateEnvVarsStatus413 = unknown;
4589
- type ProjectsUpdateEnvVarsStatus422 = unknown;
4590
- type ProjectsUpdateEnvVarsStatus429 = unknown;
4591
- type ProjectsUpdateEnvVarsStatus500 = unknown;
5873
+ type ProjectsUpdateEnvVarsStatus200 = {
5874
+ object: "list";
5875
+ data: EnvironmentVariableSummarySchema[];
5876
+ };
5877
+ type ProjectsUpdateEnvVarsStatus401 = UnauthorizedError;
5878
+ type ProjectsUpdateEnvVarsStatus403 = ForbiddenError;
5879
+ type ProjectsUpdateEnvVarsStatus404 = NotFoundError;
5880
+ type ProjectsUpdateEnvVarsStatus409 = ConflictError;
5881
+ type ProjectsUpdateEnvVarsStatus413 = PayloadTooLargeError;
5882
+ type ProjectsUpdateEnvVarsStatus422 = UnprocessableEntityError;
5883
+ type ProjectsUpdateEnvVarsStatus429 = TooManyRequestsError;
5884
+ type ProjectsUpdateEnvVarsStatus500 = InternalServerError;
5885
+ type ProjectsUpdateEnvVarsBody = {
5886
+ /**
5887
+ * @description An array of environment variables to update with id and value fields.
5888
+ * @type array
5889
+ */
5890
+ environmentVariables: {
5891
+ /**
5892
+ * @description The unique identifier of the environment variable to update.
5893
+ * @type string
5894
+ */
5895
+ id: string;
5896
+ /**
5897
+ * @description The new value of the environment variable.
5898
+ * @type string
5899
+ */
5900
+ value: string;
5901
+ }[];
5902
+ };
4592
5903
  type ProjectsUpdateEnvVarsOptions = {
4593
- body?: never | undefined;
5904
+ body: ProjectsUpdateEnvVarsBody;
4594
5905
  path: ProjectsUpdateEnvVarsPath;
4595
5906
  query?: ProjectsUpdateEnvVarsQuery | undefined;
4596
5907
  headers?: never | undefined;
@@ -4609,7 +5920,7 @@ type ProjectsUpdateEnvVarsResponses = {
4609
5920
  /**
4610
5921
  * @description Union of all possible responses
4611
5922
  */
4612
- type ProjectsUpdateEnvVarsResponse = ProjectsUpdateEnvVarsStatus200 | ProjectsUpdateEnvVarsStatus401 | ProjectsUpdateEnvVarsStatus403 | ProjectsUpdateEnvVarsStatus404 | ProjectsUpdateEnvVarsStatus409 | ProjectsUpdateEnvVarsStatus413 | ProjectsUpdateEnvVarsStatus422 | ProjectsUpdateEnvVarsStatus429 | ProjectsUpdateEnvVarsStatus500;
5923
+ type ProjectsUpdateEnvVarsResponse = ProjectsUpdateEnvVarsStatus200;
4613
5924
  type ProjectsDeleteEnvVarsPath = {
4614
5925
  /**
4615
5926
  * @description The unique identifier of the project whose environment variables should be deleted.
@@ -4617,17 +5928,31 @@ type ProjectsDeleteEnvVarsPath = {
4617
5928
  */
4618
5929
  projectId: string;
4619
5930
  };
4620
- type ProjectsDeleteEnvVarsStatus200 = unknown;
4621
- type ProjectsDeleteEnvVarsStatus401 = unknown;
4622
- type ProjectsDeleteEnvVarsStatus403 = unknown;
4623
- type ProjectsDeleteEnvVarsStatus404 = unknown;
4624
- type ProjectsDeleteEnvVarsStatus409 = unknown;
4625
- type ProjectsDeleteEnvVarsStatus413 = unknown;
4626
- type ProjectsDeleteEnvVarsStatus422 = unknown;
4627
- type ProjectsDeleteEnvVarsStatus429 = unknown;
4628
- type ProjectsDeleteEnvVarsStatus500 = unknown;
5931
+ type ProjectsDeleteEnvVarsStatus200 = {
5932
+ object: "list";
5933
+ data: {
5934
+ id: string;
5935
+ object: "environment_variable";
5936
+ deleted: true;
5937
+ }[];
5938
+ };
5939
+ type ProjectsDeleteEnvVarsStatus401 = UnauthorizedError;
5940
+ type ProjectsDeleteEnvVarsStatus403 = ForbiddenError;
5941
+ type ProjectsDeleteEnvVarsStatus404 = NotFoundError;
5942
+ type ProjectsDeleteEnvVarsStatus409 = ConflictError;
5943
+ type ProjectsDeleteEnvVarsStatus413 = PayloadTooLargeError;
5944
+ type ProjectsDeleteEnvVarsStatus422 = UnprocessableEntityError;
5945
+ type ProjectsDeleteEnvVarsStatus429 = TooManyRequestsError;
5946
+ type ProjectsDeleteEnvVarsStatus500 = InternalServerError;
5947
+ type ProjectsDeleteEnvVarsBody = {
5948
+ /**
5949
+ * @description An array of environment variable IDs to delete.
5950
+ * @type array
5951
+ */
5952
+ environmentVariableIds: string[];
5953
+ };
4629
5954
  type ProjectsDeleteEnvVarsOptions = {
4630
- body?: never | undefined;
5955
+ body: ProjectsDeleteEnvVarsBody;
4631
5956
  path: ProjectsDeleteEnvVarsPath;
4632
5957
  query?: never | undefined;
4633
5958
  headers?: never | undefined;
@@ -4646,7 +5971,7 @@ type ProjectsDeleteEnvVarsResponses = {
4646
5971
  /**
4647
5972
  * @description Union of all possible responses
4648
5973
  */
4649
- type ProjectsDeleteEnvVarsResponse = ProjectsDeleteEnvVarsStatus200 | ProjectsDeleteEnvVarsStatus401 | ProjectsDeleteEnvVarsStatus403 | ProjectsDeleteEnvVarsStatus404 | ProjectsDeleteEnvVarsStatus409 | ProjectsDeleteEnvVarsStatus413 | ProjectsDeleteEnvVarsStatus422 | ProjectsDeleteEnvVarsStatus429 | ProjectsDeleteEnvVarsStatus500;
5974
+ type ProjectsDeleteEnvVarsResponse = ProjectsDeleteEnvVarsStatus200;
4650
5975
  type ProjectsGetEnvVarPath = {
4651
5976
  /**
4652
5977
  * @description The unique identifier of the project that owns the environment variable.
@@ -4671,15 +5996,22 @@ type ProjectsGetEnvVarQuery = {
4671
5996
  */
4672
5997
  decrypted?: ProjectsGetEnvVarDecryptedKey | undefined;
4673
5998
  };
4674
- type ProjectsGetEnvVarStatus200 = unknown;
4675
- type ProjectsGetEnvVarStatus401 = unknown;
4676
- type ProjectsGetEnvVarStatus403 = unknown;
4677
- type ProjectsGetEnvVarStatus404 = unknown;
4678
- type ProjectsGetEnvVarStatus409 = unknown;
4679
- type ProjectsGetEnvVarStatus413 = unknown;
4680
- type ProjectsGetEnvVarStatus422 = unknown;
4681
- type ProjectsGetEnvVarStatus429 = unknown;
4682
- type ProjectsGetEnvVarStatus500 = unknown;
5999
+ type ProjectsGetEnvVarStatus200 = {
6000
+ object: "environment_variable";
6001
+ /**
6002
+ * @description Detailed information for an environment variable including its value.
6003
+ * @type object
6004
+ */
6005
+ data: EnvironmentVariableDetailSchema;
6006
+ };
6007
+ type ProjectsGetEnvVarStatus401 = UnauthorizedError;
6008
+ type ProjectsGetEnvVarStatus403 = ForbiddenError;
6009
+ type ProjectsGetEnvVarStatus404 = NotFoundError;
6010
+ type ProjectsGetEnvVarStatus409 = ConflictError;
6011
+ type ProjectsGetEnvVarStatus413 = PayloadTooLargeError;
6012
+ type ProjectsGetEnvVarStatus422 = UnprocessableEntityError;
6013
+ type ProjectsGetEnvVarStatus429 = TooManyRequestsError;
6014
+ type ProjectsGetEnvVarStatus500 = InternalServerError;
4683
6015
  type ProjectsGetEnvVarOptions = {
4684
6016
  body?: never | undefined;
4685
6017
  path: ProjectsGetEnvVarPath;
@@ -4700,7 +6032,7 @@ type ProjectsGetEnvVarResponses = {
4700
6032
  /**
4701
6033
  * @description Union of all possible responses
4702
6034
  */
4703
- type ProjectsGetEnvVarResponse = ProjectsGetEnvVarStatus200 | ProjectsGetEnvVarStatus401 | ProjectsGetEnvVarStatus403 | ProjectsGetEnvVarStatus404 | ProjectsGetEnvVarStatus409 | ProjectsGetEnvVarStatus413 | ProjectsGetEnvVarStatus422 | ProjectsGetEnvVarStatus429 | ProjectsGetEnvVarStatus500;
6035
+ type ProjectsGetEnvVarResponse = ProjectsGetEnvVarStatus200;
4704
6036
  type RateLimitsFindQuery = {
4705
6037
  /**
4706
6038
  * @description The context or namespace to check rate limits for (e.g., a project slug or feature area).
@@ -4708,15 +6040,45 @@ type RateLimitsFindQuery = {
4708
6040
  */
4709
6041
  scope?: string | undefined;
4710
6042
  };
4711
- type RateLimitsFindStatus200 = unknown;
4712
- type RateLimitsFindStatus401 = unknown;
4713
- type RateLimitsFindStatus403 = unknown;
4714
- type RateLimitsFindStatus404 = unknown;
4715
- type RateLimitsFindStatus409 = unknown;
4716
- type RateLimitsFindStatus413 = unknown;
4717
- type RateLimitsFindStatus422 = unknown;
4718
- type RateLimitsFindStatus429 = unknown;
4719
- type RateLimitsFindStatus500 = unknown;
6043
+ type RateLimitsFindStatus200 = {
6044
+ remaining?: number | undefined;
6045
+ reset?: number | undefined;
6046
+ limit: number;
6047
+ /**
6048
+ * @description Daily message limit information for free users.
6049
+ * @type object | undefined
6050
+ */
6051
+ dailyLimit?: {
6052
+ /**
6053
+ * @description The maximum number of daily messages allowed for free users.
6054
+ * @type number
6055
+ */
6056
+ limit: number;
6057
+ /**
6058
+ * @description The number of messages the user has remaining for the day.
6059
+ * @type number
6060
+ */
6061
+ remaining: number;
6062
+ /**
6063
+ * @description Unix timestamp (in milliseconds) when the daily limit resets.
6064
+ * @type number
6065
+ */
6066
+ reset: number;
6067
+ /**
6068
+ * @description Whether the user is within the 48-hour grace period for new users, during which usage tracking is disabled.
6069
+ * @type boolean
6070
+ */
6071
+ isWithinGracePeriod: boolean;
6072
+ } | undefined;
6073
+ };
6074
+ type RateLimitsFindStatus401 = UnauthorizedError;
6075
+ type RateLimitsFindStatus403 = ForbiddenError;
6076
+ type RateLimitsFindStatus404 = NotFoundError;
6077
+ type RateLimitsFindStatus409 = ConflictError;
6078
+ type RateLimitsFindStatus413 = PayloadTooLargeError;
6079
+ type RateLimitsFindStatus422 = UnprocessableEntityError;
6080
+ type RateLimitsFindStatus429 = TooManyRequestsError;
6081
+ type RateLimitsFindStatus500 = InternalServerError;
4720
6082
  type RateLimitsFindOptions = {
4721
6083
  body?: never | undefined;
4722
6084
  path?: never | undefined;
@@ -4737,16 +6099,20 @@ type RateLimitsFindResponses = {
4737
6099
  /**
4738
6100
  * @description Union of all possible responses
4739
6101
  */
4740
- type RateLimitsFindResponse = RateLimitsFindStatus200 | RateLimitsFindStatus401 | RateLimitsFindStatus403 | RateLimitsFindStatus404 | RateLimitsFindStatus409 | RateLimitsFindStatus413 | RateLimitsFindStatus422 | RateLimitsFindStatus429 | RateLimitsFindStatus500;
4741
- type UserGetStatus200 = unknown;
4742
- type UserGetStatus401 = unknown;
4743
- type UserGetStatus403 = unknown;
4744
- type UserGetStatus404 = unknown;
4745
- type UserGetStatus409 = unknown;
4746
- type UserGetStatus413 = unknown;
4747
- type UserGetStatus422 = unknown;
4748
- type UserGetStatus429 = unknown;
4749
- type UserGetStatus500 = unknown;
6102
+ type RateLimitsFindResponse = RateLimitsFindStatus200;
6103
+ /**
6104
+ * @description Details of the authenticated user, including profile and contact information.
6105
+ * @type object
6106
+ */
6107
+ type UserGetStatus200 = UserSummarySchema;
6108
+ type UserGetStatus401 = UnauthorizedError;
6109
+ type UserGetStatus403 = ForbiddenError;
6110
+ type UserGetStatus404 = NotFoundError;
6111
+ type UserGetStatus409 = ConflictError;
6112
+ type UserGetStatus413 = PayloadTooLargeError;
6113
+ type UserGetStatus422 = UnprocessableEntityError;
6114
+ type UserGetStatus429 = TooManyRequestsError;
6115
+ type UserGetStatus500 = InternalServerError;
4750
6116
  type UserGetOptions = {
4751
6117
  body?: never | undefined;
4752
6118
  path?: never | undefined;
@@ -4767,7 +6133,7 @@ type UserGetResponses = {
4767
6133
  /**
4768
6134
  * @description Union of all possible responses
4769
6135
  */
4770
- type UserGetResponse = UserGetStatus200 | UserGetStatus401 | UserGetStatus403 | UserGetStatus404 | UserGetStatus409 | UserGetStatus413 | UserGetStatus422 | UserGetStatus429 | UserGetStatus500;
6136
+ type UserGetResponse = UserGetStatus200;
4771
6137
  type UserGetBillingQuery = {
4772
6138
  /**
4773
6139
  * @description Filters billing data by a specific scope, such as a project ID or slug.
@@ -4775,15 +6141,46 @@ type UserGetBillingQuery = {
4775
6141
  */
4776
6142
  scope?: string | undefined;
4777
6143
  };
4778
- type UserGetBillingStatus200 = unknown;
4779
- type UserGetBillingStatus401 = unknown;
4780
- type UserGetBillingStatus403 = unknown;
4781
- type UserGetBillingStatus404 = unknown;
4782
- type UserGetBillingStatus409 = unknown;
4783
- type UserGetBillingStatus413 = unknown;
4784
- type UserGetBillingStatus422 = unknown;
4785
- type UserGetBillingStatus429 = unknown;
4786
- type UserGetBillingStatus500 = unknown;
6144
+ type UserGetBillingStatus200 = {
6145
+ billingType: "token";
6146
+ data: {
6147
+ plan: string;
6148
+ billingMode?: "test" | undefined;
6149
+ role: string;
6150
+ billingCycle: {
6151
+ start: number;
6152
+ end: number;
6153
+ };
6154
+ balance: {
6155
+ remaining: number;
6156
+ total: number;
6157
+ };
6158
+ onDemand: {
6159
+ balance: number;
6160
+ blocks?: {
6161
+ expirationDate?: number | undefined;
6162
+ effectiveDate: number;
6163
+ originalBalance: number;
6164
+ currentBalance: number;
6165
+ }[] | undefined;
6166
+ };
6167
+ };
6168
+ } | {
6169
+ billingType: "legacy";
6170
+ data: {
6171
+ remaining?: number | undefined;
6172
+ reset?: number | undefined;
6173
+ limit: number;
6174
+ };
6175
+ };
6176
+ type UserGetBillingStatus401 = UnauthorizedError;
6177
+ type UserGetBillingStatus403 = ForbiddenError;
6178
+ type UserGetBillingStatus404 = NotFoundError;
6179
+ type UserGetBillingStatus409 = ConflictError;
6180
+ type UserGetBillingStatus413 = PayloadTooLargeError;
6181
+ type UserGetBillingStatus422 = UnprocessableEntityError;
6182
+ type UserGetBillingStatus429 = TooManyRequestsError;
6183
+ type UserGetBillingStatus500 = InternalServerError;
4787
6184
  type UserGetBillingOptions = {
4788
6185
  body?: never | undefined;
4789
6186
  path?: never | undefined;
@@ -4804,16 +6201,27 @@ type UserGetBillingResponses = {
4804
6201
  /**
4805
6202
  * @description Union of all possible responses
4806
6203
  */
4807
- type UserGetBillingResponse = UserGetBillingStatus200 | UserGetBillingStatus401 | UserGetBillingStatus403 | UserGetBillingStatus404 | UserGetBillingStatus409 | UserGetBillingStatus413 | UserGetBillingStatus422 | UserGetBillingStatus429 | UserGetBillingStatus500;
4808
- type UserGetPlanStatus200 = unknown;
4809
- type UserGetPlanStatus401 = unknown;
4810
- type UserGetPlanStatus403 = unknown;
4811
- type UserGetPlanStatus404 = unknown;
4812
- type UserGetPlanStatus409 = unknown;
4813
- type UserGetPlanStatus413 = unknown;
4814
- type UserGetPlanStatus422 = unknown;
4815
- type UserGetPlanStatus429 = unknown;
4816
- type UserGetPlanStatus500 = unknown;
6204
+ type UserGetBillingResponse = UserGetBillingStatus200;
6205
+ type UserGetPlanStatus200 = {
6206
+ object: "plan";
6207
+ plan: string;
6208
+ billingCycle: {
6209
+ start: number;
6210
+ end: number;
6211
+ };
6212
+ balance: {
6213
+ remaining: number;
6214
+ total: number;
6215
+ };
6216
+ };
6217
+ type UserGetPlanStatus401 = UnauthorizedError;
6218
+ type UserGetPlanStatus403 = ForbiddenError;
6219
+ type UserGetPlanStatus404 = NotFoundError;
6220
+ type UserGetPlanStatus409 = ConflictError;
6221
+ type UserGetPlanStatus413 = PayloadTooLargeError;
6222
+ type UserGetPlanStatus422 = UnprocessableEntityError;
6223
+ type UserGetPlanStatus429 = TooManyRequestsError;
6224
+ type UserGetPlanStatus500 = InternalServerError;
4817
6225
  type UserGetPlanOptions = {
4818
6226
  body?: never | undefined;
4819
6227
  path?: never | undefined;
@@ -4834,16 +6242,19 @@ type UserGetPlanResponses = {
4834
6242
  /**
4835
6243
  * @description Union of all possible responses
4836
6244
  */
4837
- type UserGetPlanResponse = UserGetPlanStatus200 | UserGetPlanStatus401 | UserGetPlanStatus403 | UserGetPlanStatus404 | UserGetPlanStatus409 | UserGetPlanStatus413 | UserGetPlanStatus422 | UserGetPlanStatus429 | UserGetPlanStatus500;
4838
- type UserGetScopesStatus200 = unknown;
4839
- type UserGetScopesStatus401 = unknown;
4840
- type UserGetScopesStatus403 = unknown;
4841
- type UserGetScopesStatus404 = unknown;
4842
- type UserGetScopesStatus409 = unknown;
4843
- type UserGetScopesStatus413 = unknown;
4844
- type UserGetScopesStatus422 = unknown;
4845
- type UserGetScopesStatus429 = unknown;
4846
- type UserGetScopesStatus500 = unknown;
6245
+ type UserGetPlanResponse = UserGetPlanStatus200;
6246
+ type UserGetScopesStatus200 = {
6247
+ object: "list";
6248
+ data: ScopeSummary[];
6249
+ };
6250
+ type UserGetScopesStatus401 = UnauthorizedError;
6251
+ type UserGetScopesStatus403 = ForbiddenError;
6252
+ type UserGetScopesStatus404 = NotFoundError;
6253
+ type UserGetScopesStatus409 = ConflictError;
6254
+ type UserGetScopesStatus413 = PayloadTooLargeError;
6255
+ type UserGetScopesStatus422 = UnprocessableEntityError;
6256
+ type UserGetScopesStatus429 = TooManyRequestsError;
6257
+ type UserGetScopesStatus500 = InternalServerError;
4847
6258
  type UserGetScopesOptions = {
4848
6259
  body?: never | undefined;
4849
6260
  path?: never | undefined;
@@ -4864,7 +6275,7 @@ type UserGetScopesResponses = {
4864
6275
  /**
4865
6276
  * @description Union of all possible responses
4866
6277
  */
4867
- type UserGetScopesResponse = UserGetScopesStatus200 | UserGetScopesStatus401 | UserGetScopesStatus403 | UserGetScopesStatus404 | UserGetScopesStatus409 | UserGetScopesStatus413 | UserGetScopesStatus422 | UserGetScopesStatus429 | UserGetScopesStatus500;
6278
+ type UserGetScopesResponse = UserGetScopesStatus200;
4868
6279
  type ChatsRestorePath = {
4869
6280
  /**
4870
6281
  * @description The unique identifier of the chat containing the version to restore.
@@ -4877,15 +6288,19 @@ type ChatsRestorePath = {
4877
6288
  */
4878
6289
  versionId: string;
4879
6290
  };
4880
- type ChatsRestoreStatus200 = unknown;
4881
- type ChatsRestoreStatus401 = unknown;
4882
- type ChatsRestoreStatus403 = unknown;
4883
- type ChatsRestoreStatus404 = unknown;
4884
- type ChatsRestoreStatus409 = unknown;
4885
- type ChatsRestoreStatus413 = unknown;
4886
- type ChatsRestoreStatus422 = unknown;
4887
- type ChatsRestoreStatus429 = unknown;
4888
- type ChatsRestoreStatus500 = unknown;
6291
+ /**
6292
+ * @description Detailed version data including file contents.
6293
+ * @type object
6294
+ */
6295
+ type ChatsRestoreStatus200 = VersionDetail;
6296
+ type ChatsRestoreStatus401 = UnauthorizedError;
6297
+ type ChatsRestoreStatus403 = ForbiddenError;
6298
+ type ChatsRestoreStatus404 = NotFoundError;
6299
+ type ChatsRestoreStatus409 = ConflictError;
6300
+ type ChatsRestoreStatus413 = PayloadTooLargeError;
6301
+ type ChatsRestoreStatus422 = UnprocessableEntityError;
6302
+ type ChatsRestoreStatus429 = TooManyRequestsError;
6303
+ type ChatsRestoreStatus500 = InternalServerError;
4889
6304
  type ChatsRestoreOptions = {
4890
6305
  body?: never | undefined;
4891
6306
  path: ChatsRestorePath;
@@ -4906,34 +6321,34 @@ type ChatsRestoreResponses = {
4906
6321
  /**
4907
6322
  * @description Union of all possible responses
4908
6323
  */
4909
- type ChatsRestoreResponse = ChatsRestoreStatus200 | ChatsRestoreStatus401 | ChatsRestoreStatus403 | ChatsRestoreStatus404 | ChatsRestoreStatus409 | ChatsRestoreStatus413 | ChatsRestoreStatus422 | ChatsRestoreStatus429 | ChatsRestoreStatus500;
6324
+ type ChatsRestoreResponse = ChatsRestoreStatus200;
4910
6325
  type ReportsGetUsageQuery = {
4911
6326
  /**
4912
- * @description Query parameter \"startDate\"
6327
+ * @description Query parameter "startDate"
4913
6328
  *
4914
6329
  * Format: `date-time`
4915
6330
  * @type string | undefined
4916
6331
  */
4917
6332
  startDate?: string | undefined;
4918
6333
  /**
4919
- * @description Query parameter \"endDate\"
6334
+ * @description Query parameter "endDate"
4920
6335
  *
4921
6336
  * Format: `date-time`
4922
6337
  * @type string | undefined
4923
6338
  */
4924
6339
  endDate?: string | undefined;
4925
6340
  /**
4926
- * @description Query parameter \"chatId\"
6341
+ * @description Query parameter "chatId"
4927
6342
  * @type string | undefined
4928
6343
  */
4929
6344
  chatId?: string | undefined;
4930
6345
  /**
4931
- * @description Query parameter \"messageId\"
6346
+ * @description Query parameter "messageId"
4932
6347
  * @type string | undefined
4933
6348
  */
4934
6349
  messageId?: string | undefined;
4935
6350
  /**
4936
- * @description Query parameter \"userId\"
6351
+ * @description Query parameter "userId"
4937
6352
  * @type string | undefined
4938
6353
  */
4939
6354
  userId?: string | undefined;
@@ -4951,15 +6366,77 @@ type ReportsGetUsageQuery = {
4951
6366
  */
4952
6367
  cursor?: string | undefined;
4953
6368
  };
4954
- type ReportsGetUsageStatus200 = unknown;
4955
- type ReportsGetUsageStatus401 = unknown;
4956
- type ReportsGetUsageStatus403 = unknown;
4957
- type ReportsGetUsageStatus404 = unknown;
4958
- type ReportsGetUsageStatus409 = unknown;
4959
- type ReportsGetUsageStatus413 = unknown;
4960
- type ReportsGetUsageStatus422 = unknown;
4961
- type ReportsGetUsageStatus429 = unknown;
4962
- type ReportsGetUsageStatus500 = unknown;
6369
+ declare const reportsGetUsageStatus200DataTypeEnum: {
6370
+ readonly api_request: "api_request";
6371
+ readonly "buy-template": "buy-template";
6372
+ readonly image_generation: "image_generation";
6373
+ readonly "inline-edit": "inline-edit";
6374
+ readonly manual_debit: "manual_debit";
6375
+ readonly message: "message";
6376
+ readonly refund_template_purchase: "refund_template_purchase";
6377
+ readonly reverse_template_sale: "reverse_template_sale";
6378
+ };
6379
+ type ReportsGetUsageStatus200DataTypeEnumKey = (typeof reportsGetUsageStatus200DataTypeEnum)[keyof typeof reportsGetUsageStatus200DataTypeEnum];
6380
+ declare const reportsGetUsageStatus200DataCostBreakdownStatusEnum: {
6381
+ readonly estimated: "estimated";
6382
+ readonly unavailable: "unavailable";
6383
+ };
6384
+ type ReportsGetUsageStatus200DataCostBreakdownStatusEnumKey = (typeof reportsGetUsageStatus200DataCostBreakdownStatusEnum)[keyof typeof reportsGetUsageStatus200DataCostBreakdownStatusEnum];
6385
+ type ReportsGetUsageStatus200 = {
6386
+ object: "list";
6387
+ data: {
6388
+ id: string;
6389
+ object: "usage_event";
6390
+ type?: ReportsGetUsageStatus200DataTypeEnumKey | undefined;
6391
+ promptCost?: string | undefined;
6392
+ completionCost?: string | undefined;
6393
+ /**
6394
+ * @description Whether the cost components are estimated or unavailable. Unavailable components are omitted; totalCost remains authoritative.
6395
+ * @type string | undefined
6396
+ */
6397
+ costBreakdownStatus?: ReportsGetUsageStatus200DataCostBreakdownStatusEnumKey | undefined;
6398
+ totalCost: string;
6399
+ chatId?: string | undefined;
6400
+ messageId?: string | undefined;
6401
+ /**
6402
+ * @description Deprecated - use user object instead
6403
+ * @type string | undefined
6404
+ */
6405
+ userId?: string | undefined;
6406
+ /**
6407
+ * @description Details of the authenticated user, including profile and contact information.
6408
+ * @type object | undefined
6409
+ */
6410
+ user?: UserSummarySchema | undefined;
6411
+ /**
6412
+ * @description The ISO timestamp representing when the usage event was created.
6413
+ *
6414
+ * Format: `date-time`
6415
+ * @type string
6416
+ */
6417
+ createdAt: string;
6418
+ }[];
6419
+ pagination: {
6420
+ hasMore: boolean;
6421
+ nextCursor?: string | undefined;
6422
+ nextUrl?: string | undefined;
6423
+ };
6424
+ meta: {
6425
+ /**
6426
+ * @description Number of events in THIS page only, counted after events are rolled up per message. Not a total across the query, and not a page size — do not use it to track progress or to decide whether to stop paginating. Use `pagination.hasMore` for that.
6427
+ * @type number
6428
+ */
6429
+ totalCount: number;
6430
+ };
6431
+ };
6432
+ type ReportsGetUsageStatus401 = UnauthorizedError;
6433
+ type ReportsGetUsageStatus403 = ForbiddenError;
6434
+ type ReportsGetUsageStatus404 = NotFoundError;
6435
+ type ReportsGetUsageStatus409 = ConflictError;
6436
+ type ReportsGetUsageStatus413 = PayloadTooLargeError;
6437
+ type ReportsGetUsageStatus422 = UnprocessableEntityError;
6438
+ type ReportsGetUsageStatus429 = TooManyRequestsError;
6439
+ type ReportsGetUsageStatus500 = InternalServerError;
4963
6440
  type ReportsGetUsageOptions = {
4964
6441
  body?: never | undefined;
4965
6442
  path?: never | undefined;
@@ -4980,7 +6457,7 @@ type ReportsGetUsageResponses = {
4980
6457
  /**
4981
6458
  * @description Union of all possible responses
4982
6459
  */
4983
- type ReportsGetUsageResponse = ReportsGetUsageStatus200 | ReportsGetUsageStatus401 | ReportsGetUsageStatus403 | ReportsGetUsageStatus404 | ReportsGetUsageStatus409 | ReportsGetUsageStatus413 | ReportsGetUsageStatus422 | ReportsGetUsageStatus429 | ReportsGetUsageStatus500;
6460
+ type ReportsGetUsageResponse = ReportsGetUsageStatus200;
4984
6461
  type ReportsGetAIUsageQuery = {
4985
6462
  /**
4986
6463
  * @description Inclusive start datetime filter.
@@ -5010,15 +6487,45 @@ type ReportsGetAIUsageQuery = {
5010
6487
  */
5011
6488
  limit?: number | undefined;
5012
6489
  };
5013
- type ReportsGetAIUsageStatus200 = unknown;
5014
- type ReportsGetAIUsageStatus401 = unknown;
5015
- type ReportsGetAIUsageStatus403 = unknown;
5016
- type ReportsGetAIUsageStatus404 = unknown;
5017
- type ReportsGetAIUsageStatus409 = unknown;
5018
- type ReportsGetAIUsageStatus413 = unknown;
5019
- type ReportsGetAIUsageStatus422 = unknown;
5020
- type ReportsGetAIUsageStatus429 = unknown;
5021
- type ReportsGetAIUsageStatus500 = unknown;
6490
+ type ReportsGetAIUsageStatus200 = {
6491
+ object: "list";
6492
+ data: {
6493
+ eventId: string;
6494
+ modelId: string;
6495
+ inputTokens: number;
6496
+ outputTokens: number;
6497
+ totalTokens: number;
6498
+ cacheCreationInputTokens: number;
6499
+ /**
6500
+ * @default 0
6501
+ * @type number | undefined
6502
+ */
6503
+ cacheCreationInputTokens1h?: number | undefined;
6504
+ cacheReadInputTokens: number;
6505
+ timestamp: string;
6506
+ requestId: string;
6507
+ useCase: string;
6508
+ chatId: string;
6509
+ messageId: string;
6510
+ userId: string;
6511
+ userEmail: string;
6512
+ }[];
6513
+ pagination: {
6514
+ nextCursor: string | null;
6515
+ };
6516
+ dateRange: {
6517
+ start: string | null;
6518
+ end: string | null;
6519
+ };
6520
+ };
6521
+ type ReportsGetAIUsageStatus401 = UnauthorizedError;
6522
+ type ReportsGetAIUsageStatus403 = ForbiddenError;
6523
+ type ReportsGetAIUsageStatus404 = NotFoundError;
6524
+ type ReportsGetAIUsageStatus409 = ConflictError;
6525
+ type ReportsGetAIUsageStatus413 = PayloadTooLargeError;
6526
+ type ReportsGetAIUsageStatus422 = UnprocessableEntityError;
6527
+ type ReportsGetAIUsageStatus429 = TooManyRequestsError;
6528
+ type ReportsGetAIUsageStatus500 = InternalServerError;
5022
6529
  type ReportsGetAIUsageOptions = {
5023
6530
  body?: never | undefined;
5024
6531
  path?: never | undefined;
@@ -5039,7 +6546,7 @@ type ReportsGetAIUsageResponses = {
5039
6546
  /**
5040
6547
  * @description Union of all possible responses
5041
6548
  */
5042
- type ReportsGetAIUsageResponse = ReportsGetAIUsageStatus200 | ReportsGetAIUsageStatus401 | ReportsGetAIUsageStatus403 | ReportsGetAIUsageStatus404 | ReportsGetAIUsageStatus409 | ReportsGetAIUsageStatus413 | ReportsGetAIUsageStatus422 | ReportsGetAIUsageStatus429 | ReportsGetAIUsageStatus500;
6549
+ type ReportsGetAIUsageResponse = ReportsGetAIUsageStatus200;
5043
6550
  type ReportsGetUserActivityQuery = {
5044
6551
  /**
5045
6552
  * @description Inclusive ISO timestamp lower bound for activity.
@@ -5056,46 +6563,215 @@ type ReportsGetUserActivityQuery = {
5056
6563
  */
5057
6564
  endDate?: string | undefined;
5058
6565
  };
5059
- type ReportsGetUserActivityStatus200 = unknown;
5060
- type ReportsGetUserActivityStatus401 = unknown;
5061
- type ReportsGetUserActivityStatus403 = unknown;
5062
- type ReportsGetUserActivityStatus404 = unknown;
5063
- type ReportsGetUserActivityStatus409 = unknown;
5064
- type ReportsGetUserActivityStatus413 = unknown;
5065
- type ReportsGetUserActivityStatus422 = unknown;
5066
- type ReportsGetUserActivityStatus429 = unknown;
5067
- type ReportsGetUserActivityStatus500 = unknown;
5068
- type ReportsGetUserActivityOptions = {
5069
- body?: never | undefined;
5070
- path?: never | undefined;
5071
- query?: ReportsGetUserActivityQuery | undefined;
5072
- headers?: never | undefined;
5073
- };
5074
- type ReportsGetUserActivityResponses = {
5075
- "200": ReportsGetUserActivityStatus200;
5076
- "401": ReportsGetUserActivityStatus401;
5077
- "403": ReportsGetUserActivityStatus403;
5078
- "404": ReportsGetUserActivityStatus404;
5079
- "409": ReportsGetUserActivityStatus409;
5080
- "413": ReportsGetUserActivityStatus413;
5081
- "422": ReportsGetUserActivityStatus422;
5082
- "429": ReportsGetUserActivityStatus429;
5083
- "500": ReportsGetUserActivityStatus500;
6566
+ declare const reportsGetUserActivityStatus200DataUserTeamV0Role: {
6567
+ readonly V0Builder: "V0Builder";
6568
+ readonly V0Chatter: "V0Chatter";
6569
+ readonly V0Viewer: "V0Viewer";
5084
6570
  };
5085
- /**
5086
- * @description Union of all possible responses
5087
- */
5088
- type ReportsGetUserActivityResponse = ReportsGetUserActivityStatus200 | ReportsGetUserActivityStatus401 | ReportsGetUserActivityStatus403 | ReportsGetUserActivityStatus404 | ReportsGetUserActivityStatus409 | ReportsGetUserActivityStatus413 | ReportsGetUserActivityStatus422 | ReportsGetUserActivityStatus429 | ReportsGetUserActivityStatus500;
5089
- type McpServersFindStatus200 = unknown;
5090
- type McpServersFindStatus401 = unknown;
5091
- type McpServersFindStatus403 = unknown;
5092
- type McpServersFindStatus404 = unknown;
5093
- type McpServersFindStatus409 = unknown;
5094
- type McpServersFindStatus413 = unknown;
5095
- type McpServersFindStatus422 = unknown;
5096
- type McpServersFindStatus429 = unknown;
5097
- type McpServersFindStatus500 = unknown;
5098
- type McpServersFindOptions = {
6571
+ type ReportsGetUserActivityStatus200DataUserTeamV0RoleKey = (typeof reportsGetUserActivityStatus200DataUserTeamV0Role)[keyof typeof reportsGetUserActivityStatus200DataUserTeamV0Role];
6572
+ type ReportsGetUserActivityStatus200 = {
6573
+ object: "list";
6574
+ data: {
6575
+ id: string;
6576
+ object: "user_activity";
6577
+ user: {
6578
+ /**
6579
+ * @description A unique identifier for the user.
6580
+ * @type string
6581
+ */
6582
+ id: string;
6583
+ /**
6584
+ * @description Fixed value identifying this object as a user.
6585
+ * @type string
6586
+ */
6587
+ object: "user";
6588
+ /**
6589
+ * @description Optional full name of the user.
6590
+ * @type string | undefined
6591
+ */
6592
+ name?: string | undefined;
6593
+ /**
6594
+ * @description The user's email address.
6595
+ * @type string
6596
+ */
6597
+ email: string;
6598
+ /**
6599
+ * @description URL to the user's avatar image.
6600
+ * @type string
6601
+ */
6602
+ avatar: string;
6603
+ /**
6604
+ * @description The ISO timestamp representing when the user was created.
6605
+ *
6606
+ * Format: `date-time`
6607
+ * @type string
6608
+ */
6609
+ createdAt: string;
6610
+ /**
6611
+ * @description The ISO timestamp of the last update to the user.
6612
+ *
6613
+ * Format: `date-time`
6614
+ * @type string | undefined
6615
+ */
6616
+ updatedAt?: string | undefined;
6617
+ /**
6618
+ * @description The user's v0 role
6619
+ */
6620
+ teamV0Role: ReportsGetUserActivityStatus200DataUserTeamV0RoleKey | null;
6621
+ };
6622
+ /**
6623
+ * @description Total number of chats created by the user
6624
+ * @type number
6625
+ */
6626
+ chatCount: number;
6627
+ /**
6628
+ * @description Total number of messages sent by the user
6629
+ * @type number
6630
+ */
6631
+ messageCount: number;
6632
+ /**
6633
+ * @description Number of distinct days the user was active
6634
+ * @type number
6635
+ */
6636
+ activeDays: number;
6637
+ /**
6638
+ * @description Timestamp of the user's first activity
6639
+ */
6640
+ firstActivity: string | null;
6641
+ /**
6642
+ * @description Timestamp of the user's last activity
6643
+ */
6644
+ lastActivity: string | null;
6645
+ }[];
6646
+ meta: {
6647
+ totalCount: number;
6648
+ dateRange: {
6649
+ start: string | null;
6650
+ end: string | null;
6651
+ };
6652
+ };
6653
+ };
6654
+ type ReportsGetUserActivityStatus401 = UnauthorizedError;
6655
+ type ReportsGetUserActivityStatus403 = ForbiddenError;
6656
+ type ReportsGetUserActivityStatus404 = NotFoundError;
6657
+ type ReportsGetUserActivityStatus409 = ConflictError;
6658
+ type ReportsGetUserActivityStatus413 = PayloadTooLargeError;
6659
+ type ReportsGetUserActivityStatus422 = UnprocessableEntityError;
6660
+ type ReportsGetUserActivityStatus429 = TooManyRequestsError;
6661
+ type ReportsGetUserActivityStatus500 = InternalServerError;
6662
+ type ReportsGetUserActivityOptions = {
6663
+ body?: never | undefined;
6664
+ path?: never | undefined;
6665
+ query?: ReportsGetUserActivityQuery | undefined;
6666
+ headers?: never | undefined;
6667
+ };
6668
+ type ReportsGetUserActivityResponses = {
6669
+ "200": ReportsGetUserActivityStatus200;
6670
+ "401": ReportsGetUserActivityStatus401;
6671
+ "403": ReportsGetUserActivityStatus403;
6672
+ "404": ReportsGetUserActivityStatus404;
6673
+ "409": ReportsGetUserActivityStatus409;
6674
+ "413": ReportsGetUserActivityStatus413;
6675
+ "422": ReportsGetUserActivityStatus422;
6676
+ "429": ReportsGetUserActivityStatus429;
6677
+ "500": ReportsGetUserActivityStatus500;
6678
+ };
6679
+ /**
6680
+ * @description Union of all possible responses
6681
+ */
6682
+ type ReportsGetUserActivityResponse = ReportsGetUserActivityStatus200;
6683
+ declare const mcpServersFindStatus200DataAuthTypeEnum: {
6684
+ readonly bearer: "bearer";
6685
+ readonly "custom-headers": "custom-headers";
6686
+ readonly none: "none";
6687
+ readonly oauth: "oauth";
6688
+ };
6689
+ type McpServersFindStatus200DataAuthTypeEnumKey = (typeof mcpServersFindStatus200DataAuthTypeEnum)[keyof typeof mcpServersFindStatus200DataAuthTypeEnum];
6690
+ declare const mcpServersFindStatus200DataScopeEnum: {
6691
+ readonly team: "team";
6692
+ readonly user: "user";
6693
+ };
6694
+ type McpServersFindStatus200DataScopeEnumKey = (typeof mcpServersFindStatus200DataScopeEnum)[keyof typeof mcpServersFindStatus200DataScopeEnum];
6695
+ /**
6696
+ * @description List of MCP servers for the authenticated user.
6697
+ * @type object
6698
+ */
6699
+ type McpServersFindStatus200 = {
6700
+ object: "list";
6701
+ data: {
6702
+ /**
6703
+ * @description The object type.
6704
+ * @type string
6705
+ */
6706
+ object: "mcp_server";
6707
+ /**
6708
+ * @description The unique identifier for the MCP server.
6709
+ * @type string
6710
+ */
6711
+ id: string;
6712
+ /**
6713
+ * @description The display name of the MCP server.
6714
+ * @type string
6715
+ */
6716
+ name: string;
6717
+ /**
6718
+ * @description The URL of the MCP server.
6719
+ *
6720
+ * Format: `uri`
6721
+ * @type string
6722
+ */
6723
+ url: string;
6724
+ /**
6725
+ * @description An optional description of the MCP server.
6726
+ * @type string | undefined
6727
+ */
6728
+ description?: string | undefined;
6729
+ /**
6730
+ * @description Whether the MCP server is enabled for use in chats.
6731
+ * @type boolean
6732
+ */
6733
+ enabled: boolean;
6734
+ /**
6735
+ * @description Authentication type for the MCP server. Sensitive values like tokens and headers are not returned.
6736
+ * @type object
6737
+ */
6738
+ auth: {
6739
+ /**
6740
+ * @description The type of authentication configured.
6741
+ * @type string
6742
+ */
6743
+ type: McpServersFindStatus200DataAuthTypeEnumKey;
6744
+ };
6745
+ /**
6746
+ * @description The scope of the MCP server (user or team).
6747
+ * @type string
6748
+ */
6749
+ scope: McpServersFindStatus200DataScopeEnumKey;
6750
+ /**
6751
+ * @description The ISO timestamp when the MCP server was created.
6752
+ *
6753
+ * Format: `date-time`
6754
+ * @type string
6755
+ */
6756
+ createdAt: string;
6757
+ /**
6758
+ * @description The ISO timestamp when the MCP server was last updated.
6759
+ *
6760
+ * Format: `date-time`
6761
+ * @type string | undefined
6762
+ */
6763
+ updatedAt?: string | undefined;
6764
+ }[];
6765
+ };
6766
+ type McpServersFindStatus401 = UnauthorizedError;
6767
+ type McpServersFindStatus403 = ForbiddenError;
6768
+ type McpServersFindStatus404 = NotFoundError;
6769
+ type McpServersFindStatus409 = ConflictError;
6770
+ type McpServersFindStatus413 = PayloadTooLargeError;
6771
+ type McpServersFindStatus422 = UnprocessableEntityError;
6772
+ type McpServersFindStatus429 = TooManyRequestsError;
6773
+ type McpServersFindStatus500 = InternalServerError;
6774
+ type McpServersFindOptions = {
5099
6775
  body?: never | undefined;
5100
6776
  path?: never | undefined;
5101
6777
  query?: never | undefined;
@@ -5115,18 +6791,245 @@ type McpServersFindResponses = {
5115
6791
  /**
5116
6792
  * @description Union of all possible responses
5117
6793
  */
5118
- type McpServersFindResponse = McpServersFindStatus200 | McpServersFindStatus401 | McpServersFindStatus403 | McpServersFindStatus404 | McpServersFindStatus409 | McpServersFindStatus413 | McpServersFindStatus422 | McpServersFindStatus429 | McpServersFindStatus500;
5119
- type McpServersCreateStatus200 = unknown;
5120
- type McpServersCreateStatus401 = unknown;
5121
- type McpServersCreateStatus403 = unknown;
5122
- type McpServersCreateStatus404 = unknown;
5123
- type McpServersCreateStatus409 = unknown;
5124
- type McpServersCreateStatus413 = unknown;
5125
- type McpServersCreateStatus422 = unknown;
5126
- type McpServersCreateStatus429 = unknown;
5127
- type McpServersCreateStatus500 = unknown;
6794
+ type McpServersFindResponse = McpServersFindStatus200;
6795
+ declare const mcpServersCreateStatus200AuthTypeEnum: {
6796
+ readonly bearer: "bearer";
6797
+ readonly "custom-headers": "custom-headers";
6798
+ readonly none: "none";
6799
+ readonly oauth: "oauth";
6800
+ };
6801
+ type McpServersCreateStatus200AuthTypeEnumKey = (typeof mcpServersCreateStatus200AuthTypeEnum)[keyof typeof mcpServersCreateStatus200AuthTypeEnum];
6802
+ declare const mcpServersCreateStatus200ScopeEnum: {
6803
+ readonly team: "team";
6804
+ readonly user: "user";
6805
+ };
6806
+ type McpServersCreateStatus200ScopeEnumKey = (typeof mcpServersCreateStatus200ScopeEnum)[keyof typeof mcpServersCreateStatus200ScopeEnum];
6807
+ /**
6808
+ * @description Summary information about an MCP server.
6809
+ * @type object
6810
+ */
6811
+ type McpServersCreateStatus200 = {
6812
+ /**
6813
+ * @description The object type.
6814
+ * @type string
6815
+ */
6816
+ object: "mcp_server";
6817
+ /**
6818
+ * @description The unique identifier for the MCP server.
6819
+ * @type string
6820
+ */
6821
+ id: string;
6822
+ /**
6823
+ * @description The display name of the MCP server.
6824
+ * @type string
6825
+ */
6826
+ name: string;
6827
+ /**
6828
+ * @description The URL of the MCP server.
6829
+ *
6830
+ * Format: `uri`
6831
+ * @type string
6832
+ */
6833
+ url: string;
6834
+ /**
6835
+ * @description An optional description of the MCP server.
6836
+ * @type string | undefined
6837
+ */
6838
+ description?: string | undefined;
6839
+ /**
6840
+ * @description Whether the MCP server is enabled for use in chats.
6841
+ * @type boolean
6842
+ */
6843
+ enabled: boolean;
6844
+ /**
6845
+ * @description Authentication type for the MCP server. Sensitive values like tokens and headers are not returned.
6846
+ * @type object
6847
+ */
6848
+ auth: {
6849
+ /**
6850
+ * @description The type of authentication configured.
6851
+ * @type string
6852
+ */
6853
+ type: McpServersCreateStatus200AuthTypeEnumKey;
6854
+ };
6855
+ /**
6856
+ * @description The scope of the MCP server (user or team).
6857
+ * @type string
6858
+ */
6859
+ scope: McpServersCreateStatus200ScopeEnumKey;
6860
+ /**
6861
+ * @description The ISO timestamp when the MCP server was created.
6862
+ *
6863
+ * Format: `date-time`
6864
+ * @type string
6865
+ */
6866
+ createdAt: string;
6867
+ /**
6868
+ * @description The ISO timestamp when the MCP server was last updated.
6869
+ *
6870
+ * Format: `date-time`
6871
+ * @type string | undefined
6872
+ */
6873
+ updatedAt?: string | undefined;
6874
+ };
6875
+ type McpServersCreateStatus401 = UnauthorizedError;
6876
+ type McpServersCreateStatus403 = ForbiddenError;
6877
+ type McpServersCreateStatus404 = NotFoundError;
6878
+ type McpServersCreateStatus409 = ConflictError;
6879
+ type McpServersCreateStatus413 = PayloadTooLargeError;
6880
+ type McpServersCreateStatus422 = UnprocessableEntityError;
6881
+ type McpServersCreateStatus429 = TooManyRequestsError;
6882
+ type McpServersCreateStatus500 = InternalServerError;
6883
+ declare const mcpServersCreateRequestScopeEnum: {
6884
+ readonly team: "team";
6885
+ readonly user: "user";
6886
+ };
6887
+ type McpServersCreateRequestScopeEnumKey = (typeof mcpServersCreateRequestScopeEnum)[keyof typeof mcpServersCreateRequestScopeEnum];
6888
+ type McpServersCreateBody = {
6889
+ /**
6890
+ * @description The display name of the MCP server.
6891
+ * @minLength 1
6892
+ * @maxLength 100
6893
+ * @type string
6894
+ */
6895
+ name: string;
6896
+ /**
6897
+ * @description The URL of the MCP server. Must be HTTPS in production.
6898
+ *
6899
+ * Format: `uri`
6900
+ * @maxLength 500
6901
+ * @type string
6902
+ */
6903
+ url: string;
6904
+ /**
6905
+ * @description An optional description of the MCP server.
6906
+ * @maxLength 500
6907
+ * @type string | undefined
6908
+ */
6909
+ description?: string | undefined;
6910
+ /**
6911
+ * @description Whether the MCP server is enabled. Defaults to true.
6912
+ * @default true
6913
+ * @type boolean | undefined
6914
+ */
6915
+ enabled?: boolean | undefined;
6916
+ /**
6917
+ * @description Authentication configuration. Defaults to no authentication.
6918
+ * @default {"type":"none"}
6919
+ */
6920
+ auth?: ({
6921
+ /**
6922
+ * @description No authentication required.
6923
+ * @type string
6924
+ */
6925
+ type: "none";
6926
+ } | {
6927
+ /**
6928
+ * @description Bearer token authentication.
6929
+ * @type string
6930
+ */
6931
+ type: "bearer";
6932
+ /**
6933
+ * @description The bearer token for authentication.
6934
+ * @minLength 1
6935
+ * @maxLength 1000
6936
+ * @type string
6937
+ */
6938
+ token: string;
6939
+ } | {
6940
+ /**
6941
+ * @description Custom headers authentication.
6942
+ * @type string
6943
+ */
6944
+ type: "custom-headers";
6945
+ /**
6946
+ * @description Key-value pairs of custom headers to include in requests.
6947
+ * @type object
6948
+ */
6949
+ headers: {
6950
+ [key: string]: string;
6951
+ };
6952
+ } | {
6953
+ /**
6954
+ * @description OAuth 2.1 authentication.
6955
+ * @type string
6956
+ */
6957
+ type: "oauth";
6958
+ /**
6959
+ * @description OAuth configuration for the MCP server.
6960
+ * @type object
6961
+ */
6962
+ config: {
6963
+ /**
6964
+ * @description The OAuth authorization endpoint URL.
6965
+ *
6966
+ * Format: `uri`
6967
+ * @type string
6968
+ */
6969
+ authorizationUrl: string;
6970
+ /**
6971
+ * @description The OAuth token endpoint URL.
6972
+ *
6973
+ * Format: `uri`
6974
+ * @type string
6975
+ */
6976
+ tokenUrl: string;
6977
+ /**
6978
+ * @description The optional dynamic client registration endpoint URL.
6979
+ *
6980
+ * Format: `uri`
6981
+ * @type string | undefined
6982
+ */
6983
+ registrationUrl?: string | undefined;
6984
+ /**
6985
+ * @description The OAuth client ID.
6986
+ * @minLength 1
6987
+ * @type string
6988
+ */
6989
+ clientId: string;
6990
+ /**
6991
+ * @description The optional OAuth client secret. This value is stored securely and is never returned by the API.
6992
+ * @type string | undefined
6993
+ */
6994
+ clientSecret?: string | undefined;
6995
+ /**
6996
+ * @description OAuth scopes to request during authorization.
6997
+ * @default []
6998
+ * @type array | undefined
6999
+ */
7000
+ scopes?: string[] | undefined;
7001
+ /**
7002
+ * @description Whether to use PKCE for the authorization code flow.
7003
+ * @default true
7004
+ * @type boolean | undefined
7005
+ */
7006
+ usePKCE?: boolean | undefined;
7007
+ /**
7008
+ * @description The optional issuer identifier for mix-up protection.
7009
+ * @type string | undefined
7010
+ */
7011
+ issuer?: string | undefined;
7012
+ /**
7013
+ * @description The optional RFC 8707 resource indicator. For MCP servers, this is usually the MCP server URL.
7014
+ * @type string | undefined
7015
+ */
7016
+ resource?: string | undefined;
7017
+ /**
7018
+ * @description Whether the authorization server supports Client ID Metadata Documents.
7019
+ * @type boolean | undefined
7020
+ */
7021
+ clientIdMetadataDocumentSupported?: boolean | undefined;
7022
+ };
7023
+ }) | undefined;
7024
+ /**
7025
+ * @description The scope of the MCP server. Defaults to user.
7026
+ * @default 'user'
7027
+ * @type string | undefined
7028
+ */
7029
+ scope?: McpServersCreateRequestScopeEnumKey | undefined;
7030
+ };
5128
7031
  type McpServersCreateOptions = {
5129
- body?: never | undefined;
7032
+ body: McpServersCreateBody;
5130
7033
  path?: never | undefined;
5131
7034
  query?: never | undefined;
5132
7035
  headers?: never | undefined;
@@ -5145,7 +7048,7 @@ type McpServersCreateResponses = {
5145
7048
  /**
5146
7049
  * @description Union of all possible responses
5147
7050
  */
5148
- type McpServersCreateResponse = McpServersCreateStatus200 | McpServersCreateStatus401 | McpServersCreateStatus403 | McpServersCreateStatus404 | McpServersCreateStatus409 | McpServersCreateStatus413 | McpServersCreateStatus422 | McpServersCreateStatus429 | McpServersCreateStatus500;
7051
+ type McpServersCreateResponse = McpServersCreateStatus200;
5149
7052
  type McpServersGetByIdPath = {
5150
7053
  /**
5151
7054
  * @description The ID of the MCP server to retrieve.
@@ -5153,15 +7056,94 @@ type McpServersGetByIdPath = {
5153
7056
  */
5154
7057
  mcpServerId: string;
5155
7058
  };
5156
- type McpServersGetByIdStatus200 = unknown;
5157
- type McpServersGetByIdStatus401 = unknown;
5158
- type McpServersGetByIdStatus403 = unknown;
5159
- type McpServersGetByIdStatus404 = unknown;
5160
- type McpServersGetByIdStatus409 = unknown;
5161
- type McpServersGetByIdStatus413 = unknown;
5162
- type McpServersGetByIdStatus422 = unknown;
5163
- type McpServersGetByIdStatus429 = unknown;
5164
- type McpServersGetByIdStatus500 = unknown;
7059
+ declare const mcpServersGetByIdStatus200AuthTypeEnum: {
7060
+ readonly bearer: "bearer";
7061
+ readonly "custom-headers": "custom-headers";
7062
+ readonly none: "none";
7063
+ readonly oauth: "oauth";
7064
+ };
7065
+ type McpServersGetByIdStatus200AuthTypeEnumKey = (typeof mcpServersGetByIdStatus200AuthTypeEnum)[keyof typeof mcpServersGetByIdStatus200AuthTypeEnum];
7066
+ declare const mcpServersGetByIdStatus200ScopeEnum: {
7067
+ readonly team: "team";
7068
+ readonly user: "user";
7069
+ };
7070
+ type McpServersGetByIdStatus200ScopeEnumKey = (typeof mcpServersGetByIdStatus200ScopeEnum)[keyof typeof mcpServersGetByIdStatus200ScopeEnum];
7071
+ /**
7072
+ * @description Summary information about an MCP server.
7073
+ * @type object
7074
+ */
7075
+ type McpServersGetByIdStatus200 = {
7076
+ /**
7077
+ * @description The object type.
7078
+ * @type string
7079
+ */
7080
+ object: "mcp_server";
7081
+ /**
7082
+ * @description The unique identifier for the MCP server.
7083
+ * @type string
7084
+ */
7085
+ id: string;
7086
+ /**
7087
+ * @description The display name of the MCP server.
7088
+ * @type string
7089
+ */
7090
+ name: string;
7091
+ /**
7092
+ * @description The URL of the MCP server.
7093
+ *
7094
+ * Format: `uri`
7095
+ * @type string
7096
+ */
7097
+ url: string;
7098
+ /**
7099
+ * @description An optional description of the MCP server.
7100
+ * @type string | undefined
7101
+ */
7102
+ description?: string | undefined;
7103
+ /**
7104
+ * @description Whether the MCP server is enabled for use in chats.
7105
+ * @type boolean
7106
+ */
7107
+ enabled: boolean;
7108
+ /**
7109
+ * @description Authentication type for the MCP server. Sensitive values like tokens and headers are not returned.
7110
+ * @type object
7111
+ */
7112
+ auth: {
7113
+ /**
7114
+ * @description The type of authentication configured.
7115
+ * @type string
7116
+ */
7117
+ type: McpServersGetByIdStatus200AuthTypeEnumKey;
7118
+ };
7119
+ /**
7120
+ * @description The scope of the MCP server (user or team).
7121
+ * @type string
7122
+ */
7123
+ scope: McpServersGetByIdStatus200ScopeEnumKey;
7124
+ /**
7125
+ * @description The ISO timestamp when the MCP server was created.
7126
+ *
7127
+ * Format: `date-time`
7128
+ * @type string
7129
+ */
7130
+ createdAt: string;
7131
+ /**
7132
+ * @description The ISO timestamp when the MCP server was last updated.
7133
+ *
7134
+ * Format: `date-time`
7135
+ * @type string | undefined
7136
+ */
7137
+ updatedAt?: string | undefined;
7138
+ };
7139
+ type McpServersGetByIdStatus401 = UnauthorizedError;
7140
+ type McpServersGetByIdStatus403 = ForbiddenError;
7141
+ type McpServersGetByIdStatus404 = NotFoundError;
7142
+ type McpServersGetByIdStatus409 = ConflictError;
7143
+ type McpServersGetByIdStatus413 = PayloadTooLargeError;
7144
+ type McpServersGetByIdStatus422 = UnprocessableEntityError;
7145
+ type McpServersGetByIdStatus429 = TooManyRequestsError;
7146
+ type McpServersGetByIdStatus500 = InternalServerError;
5165
7147
  type McpServersGetByIdOptions = {
5166
7148
  body?: never | undefined;
5167
7149
  path: McpServersGetByIdPath;
@@ -5182,7 +7164,7 @@ type McpServersGetByIdResponses = {
5182
7164
  /**
5183
7165
  * @description Union of all possible responses
5184
7166
  */
5185
- type McpServersGetByIdResponse = McpServersGetByIdStatus200 | McpServersGetByIdStatus401 | McpServersGetByIdStatus403 | McpServersGetByIdStatus404 | McpServersGetByIdStatus409 | McpServersGetByIdStatus413 | McpServersGetByIdStatus422 | McpServersGetByIdStatus429 | McpServersGetByIdStatus500;
7167
+ type McpServersGetByIdResponse = McpServersGetByIdStatus200;
5186
7168
  type McpServersUpdatePath = {
5187
7169
  /**
5188
7170
  * @description The ID of the MCP server to update.
@@ -5190,17 +7172,241 @@ type McpServersUpdatePath = {
5190
7172
  */
5191
7173
  mcpServerId: string;
5192
7174
  };
5193
- type McpServersUpdateStatus200 = unknown;
5194
- type McpServersUpdateStatus401 = unknown;
5195
- type McpServersUpdateStatus403 = unknown;
5196
- type McpServersUpdateStatus404 = unknown;
5197
- type McpServersUpdateStatus409 = unknown;
5198
- type McpServersUpdateStatus413 = unknown;
5199
- type McpServersUpdateStatus422 = unknown;
5200
- type McpServersUpdateStatus429 = unknown;
5201
- type McpServersUpdateStatus500 = unknown;
7175
+ declare const mcpServersUpdateStatus200AuthTypeEnum: {
7176
+ readonly bearer: "bearer";
7177
+ readonly "custom-headers": "custom-headers";
7178
+ readonly none: "none";
7179
+ readonly oauth: "oauth";
7180
+ };
7181
+ type McpServersUpdateStatus200AuthTypeEnumKey = (typeof mcpServersUpdateStatus200AuthTypeEnum)[keyof typeof mcpServersUpdateStatus200AuthTypeEnum];
7182
+ declare const mcpServersUpdateStatus200ScopeEnum: {
7183
+ readonly team: "team";
7184
+ readonly user: "user";
7185
+ };
7186
+ type McpServersUpdateStatus200ScopeEnumKey = (typeof mcpServersUpdateStatus200ScopeEnum)[keyof typeof mcpServersUpdateStatus200ScopeEnum];
7187
+ /**
7188
+ * @description Summary information about an MCP server.
7189
+ * @type object
7190
+ */
7191
+ type McpServersUpdateStatus200 = {
7192
+ /**
7193
+ * @description The object type.
7194
+ * @type string
7195
+ */
7196
+ object: "mcp_server";
7197
+ /**
7198
+ * @description The unique identifier for the MCP server.
7199
+ * @type string
7200
+ */
7201
+ id: string;
7202
+ /**
7203
+ * @description The display name of the MCP server.
7204
+ * @type string
7205
+ */
7206
+ name: string;
7207
+ /**
7208
+ * @description The URL of the MCP server.
7209
+ *
7210
+ * Format: `uri`
7211
+ * @type string
7212
+ */
7213
+ url: string;
7214
+ /**
7215
+ * @description An optional description of the MCP server.
7216
+ * @type string | undefined
7217
+ */
7218
+ description?: string | undefined;
7219
+ /**
7220
+ * @description Whether the MCP server is enabled for use in chats.
7221
+ * @type boolean
7222
+ */
7223
+ enabled: boolean;
7224
+ /**
7225
+ * @description Authentication type for the MCP server. Sensitive values like tokens and headers are not returned.
7226
+ * @type object
7227
+ */
7228
+ auth: {
7229
+ /**
7230
+ * @description The type of authentication configured.
7231
+ * @type string
7232
+ */
7233
+ type: McpServersUpdateStatus200AuthTypeEnumKey;
7234
+ };
7235
+ /**
7236
+ * @description The scope of the MCP server (user or team).
7237
+ * @type string
7238
+ */
7239
+ scope: McpServersUpdateStatus200ScopeEnumKey;
7240
+ /**
7241
+ * @description The ISO timestamp when the MCP server was created.
7242
+ *
7243
+ * Format: `date-time`
7244
+ * @type string
7245
+ */
7246
+ createdAt: string;
7247
+ /**
7248
+ * @description The ISO timestamp when the MCP server was last updated.
7249
+ *
7250
+ * Format: `date-time`
7251
+ * @type string | undefined
7252
+ */
7253
+ updatedAt?: string | undefined;
7254
+ };
7255
+ type McpServersUpdateStatus401 = UnauthorizedError;
7256
+ type McpServersUpdateStatus403 = ForbiddenError;
7257
+ type McpServersUpdateStatus404 = NotFoundError;
7258
+ type McpServersUpdateStatus409 = ConflictError;
7259
+ type McpServersUpdateStatus413 = PayloadTooLargeError;
7260
+ type McpServersUpdateStatus422 = UnprocessableEntityError;
7261
+ type McpServersUpdateStatus429 = TooManyRequestsError;
7262
+ type McpServersUpdateStatus500 = InternalServerError;
7263
+ declare const mcpServersUpdateRequestScopeEnum: {
7264
+ readonly team: "team";
7265
+ readonly user: "user";
7266
+ };
7267
+ type McpServersUpdateRequestScopeEnumKey = (typeof mcpServersUpdateRequestScopeEnum)[keyof typeof mcpServersUpdateRequestScopeEnum];
7268
+ type McpServersUpdateBody = {
7269
+ /**
7270
+ * @description The display name of the MCP server.
7271
+ * @minLength 1
7272
+ * @maxLength 100
7273
+ * @type string | undefined
7274
+ */
7275
+ name?: string | undefined;
7276
+ /**
7277
+ * @description The URL of the MCP server.
7278
+ *
7279
+ * Format: `uri`
7280
+ * @maxLength 500
7281
+ * @type string | undefined
7282
+ */
7283
+ url?: string | undefined;
7284
+ /**
7285
+ * @description An optional description of the MCP server.
7286
+ * @maxLength 500
7287
+ * @type string | undefined
7288
+ */
7289
+ description?: string | undefined;
7290
+ /**
7291
+ * @description Whether the MCP server is enabled.
7292
+ * @type boolean | undefined
7293
+ */
7294
+ enabled?: boolean | undefined;
7295
+ /**
7296
+ * @description Authentication configuration.
7297
+ */
7298
+ auth?: ({
7299
+ /**
7300
+ * @description No authentication required.
7301
+ * @type string
7302
+ */
7303
+ type: "none";
7304
+ } | {
7305
+ /**
7306
+ * @description Bearer token authentication.
7307
+ * @type string
7308
+ */
7309
+ type: "bearer";
7310
+ /**
7311
+ * @description The bearer token for authentication.
7312
+ * @minLength 1
7313
+ * @maxLength 1000
7314
+ * @type string
7315
+ */
7316
+ token: string;
7317
+ } | {
7318
+ /**
7319
+ * @description Custom headers authentication.
7320
+ * @type string
7321
+ */
7322
+ type: "custom-headers";
7323
+ /**
7324
+ * @description Key-value pairs of custom headers to include in requests.
7325
+ * @type object
7326
+ */
7327
+ headers: {
7328
+ [key: string]: string;
7329
+ };
7330
+ } | {
7331
+ /**
7332
+ * @description OAuth 2.1 authentication.
7333
+ * @type string
7334
+ */
7335
+ type: "oauth";
7336
+ /**
7337
+ * @description OAuth configuration for the MCP server.
7338
+ * @type object
7339
+ */
7340
+ config: {
7341
+ /**
7342
+ * @description The OAuth authorization endpoint URL.
7343
+ *
7344
+ * Format: `uri`
7345
+ * @type string
7346
+ */
7347
+ authorizationUrl: string;
7348
+ /**
7349
+ * @description The OAuth token endpoint URL.
7350
+ *
7351
+ * Format: `uri`
7352
+ * @type string
7353
+ */
7354
+ tokenUrl: string;
7355
+ /**
7356
+ * @description The optional dynamic client registration endpoint URL.
7357
+ *
7358
+ * Format: `uri`
7359
+ * @type string | undefined
7360
+ */
7361
+ registrationUrl?: string | undefined;
7362
+ /**
7363
+ * @description The OAuth client ID.
7364
+ * @minLength 1
7365
+ * @type string
7366
+ */
7367
+ clientId: string;
7368
+ /**
7369
+ * @description The optional OAuth client secret. This value is stored securely and is never returned by the API.
7370
+ * @type string | undefined
7371
+ */
7372
+ clientSecret?: string | undefined;
7373
+ /**
7374
+ * @description OAuth scopes to request during authorization.
7375
+ * @default []
7376
+ * @type array | undefined
7377
+ */
7378
+ scopes?: string[] | undefined;
7379
+ /**
7380
+ * @description Whether to use PKCE for the authorization code flow.
7381
+ * @default true
7382
+ * @type boolean | undefined
7383
+ */
7384
+ usePKCE?: boolean | undefined;
7385
+ /**
7386
+ * @description The optional issuer identifier for mix-up protection.
7387
+ * @type string | undefined
7388
+ */
7389
+ issuer?: string | undefined;
7390
+ /**
7391
+ * @description The optional RFC 8707 resource indicator. For MCP servers, this is usually the MCP server URL.
7392
+ * @type string | undefined
7393
+ */
7394
+ resource?: string | undefined;
7395
+ /**
7396
+ * @description Whether the authorization server supports Client ID Metadata Documents.
7397
+ * @type boolean | undefined
7398
+ */
7399
+ clientIdMetadataDocumentSupported?: boolean | undefined;
7400
+ };
7401
+ }) | undefined;
7402
+ /**
7403
+ * @description The scope of the MCP server.
7404
+ * @type string | undefined
7405
+ */
7406
+ scope?: McpServersUpdateRequestScopeEnumKey | undefined;
7407
+ };
5202
7408
  type McpServersUpdateOptions = {
5203
- body?: never | undefined;
7409
+ body: McpServersUpdateBody;
5204
7410
  path: McpServersUpdatePath;
5205
7411
  query?: never | undefined;
5206
7412
  headers?: never | undefined;
@@ -5219,7 +7425,7 @@ type McpServersUpdateResponses = {
5219
7425
  /**
5220
7426
  * @description Union of all possible responses
5221
7427
  */
5222
- type McpServersUpdateResponse = McpServersUpdateStatus200 | McpServersUpdateStatus401 | McpServersUpdateStatus403 | McpServersUpdateStatus404 | McpServersUpdateStatus409 | McpServersUpdateStatus413 | McpServersUpdateStatus422 | McpServersUpdateStatus429 | McpServersUpdateStatus500;
7428
+ type McpServersUpdateResponse = McpServersUpdateStatus200;
5223
7429
  type McpServersDeletePath = {
5224
7430
  /**
5225
7431
  * @description The ID of the MCP server to delete.
@@ -5227,15 +7433,27 @@ type McpServersDeletePath = {
5227
7433
  */
5228
7434
  mcpServerId: string;
5229
7435
  };
5230
- type McpServersDeleteStatus200 = unknown;
5231
- type McpServersDeleteStatus401 = unknown;
5232
- type McpServersDeleteStatus403 = unknown;
5233
- type McpServersDeleteStatus404 = unknown;
5234
- type McpServersDeleteStatus409 = unknown;
5235
- type McpServersDeleteStatus413 = unknown;
5236
- type McpServersDeleteStatus422 = unknown;
5237
- type McpServersDeleteStatus429 = unknown;
5238
- type McpServersDeleteStatus500 = unknown;
7436
+ type McpServersDeleteStatus200 = {
7437
+ object: "mcp_server";
7438
+ /**
7439
+ * @description The ID of the deleted MCP server.
7440
+ * @type string
7441
+ */
7442
+ id: string;
7443
+ /**
7444
+ * @description Indicates the server was deleted.
7445
+ * @type boolean
7446
+ */
7447
+ deleted: true;
7448
+ };
7449
+ type McpServersDeleteStatus401 = UnauthorizedError;
7450
+ type McpServersDeleteStatus403 = ForbiddenError;
7451
+ type McpServersDeleteStatus404 = NotFoundError;
7452
+ type McpServersDeleteStatus409 = ConflictError;
7453
+ type McpServersDeleteStatus413 = PayloadTooLargeError;
7454
+ type McpServersDeleteStatus422 = UnprocessableEntityError;
7455
+ type McpServersDeleteStatus429 = TooManyRequestsError;
7456
+ type McpServersDeleteStatus500 = InternalServerError;
5239
7457
  type McpServersDeleteOptions = {
5240
7458
  body?: never | undefined;
5241
7459
  path: McpServersDeletePath;
@@ -5256,7 +7474,7 @@ type McpServersDeleteResponses = {
5256
7474
  /**
5257
7475
  * @description Union of all possible responses
5258
7476
  */
5259
- type McpServersDeleteResponse = McpServersDeleteStatus200 | McpServersDeleteStatus401 | McpServersDeleteStatus403 | McpServersDeleteStatus404 | McpServersDeleteStatus409 | McpServersDeleteStatus413 | McpServersDeleteStatus422 | McpServersDeleteStatus429 | McpServersDeleteStatus500;
7477
+ type McpServersDeleteResponse = McpServersDeleteStatus200;
5260
7478
  type McpServersCreateOAuthAuthorizationUrlPath = {
5261
7479
  /**
5262
7480
  * @description The ID of the OAuth MCP server to authorize.
@@ -5264,17 +7482,56 @@ type McpServersCreateOAuthAuthorizationUrlPath = {
5264
7482
  */
5265
7483
  mcpServerId: string;
5266
7484
  };
5267
- type McpServersCreateOAuthAuthorizationUrlStatus200 = unknown;
5268
- type McpServersCreateOAuthAuthorizationUrlStatus401 = unknown;
5269
- type McpServersCreateOAuthAuthorizationUrlStatus403 = unknown;
5270
- type McpServersCreateOAuthAuthorizationUrlStatus404 = unknown;
5271
- type McpServersCreateOAuthAuthorizationUrlStatus409 = unknown;
5272
- type McpServersCreateOAuthAuthorizationUrlStatus413 = unknown;
5273
- type McpServersCreateOAuthAuthorizationUrlStatus422 = unknown;
5274
- type McpServersCreateOAuthAuthorizationUrlStatus429 = unknown;
5275
- type McpServersCreateOAuthAuthorizationUrlStatus500 = unknown;
7485
+ type McpServersCreateOAuthAuthorizationUrlStatus200 = {
7486
+ /**
7487
+ * @description The object type.
7488
+ * @type string
7489
+ */
7490
+ object: "mcp_server_oauth_authorization";
7491
+ /**
7492
+ * @description The MCP server being authorized.
7493
+ * @type string
7494
+ */
7495
+ mcpServerId: string;
7496
+ /**
7497
+ * @description The provider authorization URL to redirect the user to.
7498
+ *
7499
+ * Format: `uri`
7500
+ * @type string
7501
+ */
7502
+ url: string;
7503
+ /**
7504
+ * @description The OAuth state value. This expires after 5 minutes.
7505
+ * @type string
7506
+ */
7507
+ state: string;
7508
+ /**
7509
+ * @description The ISO timestamp when the authorization URL expires.
7510
+ *
7511
+ * Format: `date-time`
7512
+ * @type string
7513
+ */
7514
+ expiresAt: string;
7515
+ };
7516
+ type McpServersCreateOAuthAuthorizationUrlStatus401 = UnauthorizedError;
7517
+ type McpServersCreateOAuthAuthorizationUrlStatus403 = ForbiddenError;
7518
+ type McpServersCreateOAuthAuthorizationUrlStatus404 = NotFoundError;
7519
+ type McpServersCreateOAuthAuthorizationUrlStatus409 = ConflictError;
7520
+ type McpServersCreateOAuthAuthorizationUrlStatus413 = PayloadTooLargeError;
7521
+ type McpServersCreateOAuthAuthorizationUrlStatus422 = UnprocessableEntityError;
7522
+ type McpServersCreateOAuthAuthorizationUrlStatus429 = TooManyRequestsError;
7523
+ type McpServersCreateOAuthAuthorizationUrlStatus500 = InternalServerError;
7524
+ type McpServersCreateOAuthAuthorizationUrlBody = {
7525
+ /**
7526
+ * @description An absolute URL in your application where v0 redirects after OAuth completes. HTTPS is required in production.
7527
+ *
7528
+ * Format: `uri`
7529
+ * @type string
7530
+ */
7531
+ returnUrl: string;
7532
+ };
5276
7533
  type McpServersCreateOAuthAuthorizationUrlOptions = {
5277
- body?: never | undefined;
7534
+ body: McpServersCreateOAuthAuthorizationUrlBody;
5278
7535
  path: McpServersCreateOAuthAuthorizationUrlPath;
5279
7536
  query?: never | undefined;
5280
7537
  headers?: never | undefined;
@@ -5293,8 +7550,8 @@ type McpServersCreateOAuthAuthorizationUrlResponses = {
5293
7550
  /**
5294
7551
  * @description Union of all possible responses
5295
7552
  */
5296
- type McpServersCreateOAuthAuthorizationUrlResponse = McpServersCreateOAuthAuthorizationUrlStatus200 | McpServersCreateOAuthAuthorizationUrlStatus401 | McpServersCreateOAuthAuthorizationUrlStatus403 | McpServersCreateOAuthAuthorizationUrlStatus404 | McpServersCreateOAuthAuthorizationUrlStatus409 | McpServersCreateOAuthAuthorizationUrlStatus413 | McpServersCreateOAuthAuthorizationUrlStatus422 | McpServersCreateOAuthAuthorizationUrlStatus429 | McpServersCreateOAuthAuthorizationUrlStatus500;
7553
+ type McpServersCreateOAuthAuthorizationUrlResponse = McpServersCreateOAuthAuthorizationUrlStatus200;
5297
7554
 
5298
- export { chatDetailLatestVersionStatusEnum, chatDetailMessagesAttachmentsTypeEnum, chatDetailMessagesFinishReasonEnum, chatDetailMessagesRoleEnum, chatDetailMessagesTypeEnum, chatDetailModelConfigurationModelIdEnum, chatDetailModelConfigurationThinkingEffort, chatDetailPrivacyEnum, chatSummaryLatestVersionStatusEnum, chatSummaryPrivacyEnum, chatsDownloadVersionFormat, chatsDownloadVersionIncludeDefaultFiles, chatsFindIsFavorite, chatsGetVersionIncludeDefaultFiles, hookDetailEventsEnum, hookEventDetailEventEnum, hookEventDetailStatusEnum, messageDetailAttachmentsTypeEnum, messageDetailFinishReasonEnum, messageDetailRoleEnum, messageDetailTypeEnum, messageSummaryAttachmentsTypeEnum, messageSummaryFinishReasonEnum, messageSummaryListDataAttachmentsTypeEnum, messageSummaryListDataFinishReasonEnum, messageSummaryListDataRoleEnum, messageSummaryListDataTypeEnum, messageSummaryRoleEnum, messageSummaryTypeEnum, productDetailSchemaV0AvailabilityEnum, productListSchemaDataV0AvailabilityEnum, productSummarySchemaV0AvailabilityEnum, projectDetailChatsLatestVersionStatusEnum, projectDetailChatsPrivacyEnum, projectDetailPrivacyEnum, projectSummaryPrivacyEnum, projectsCreateEnvVarsDecrypted, projectsDeleteDeleteAllChats, projectsFindEnvVarsDecrypted, projectsGetEnvVarDecrypted, projectsUpdateEnvVarsDecrypted, searchResultItemObjectEnum, versionDetailStatusEnum, versionSummaryListDataStatusEnum, versionSummaryStatusEnum };
5299
- export type { ChatDetail, ChatDetailLatestVersionStatusEnumKey, ChatDetailMessagesAttachmentsTypeEnumKey, ChatDetailMessagesFinishReasonEnumKey, ChatDetailMessagesRoleEnumKey, ChatDetailMessagesTypeEnumKey, ChatDetailModelConfigurationModelIdEnumKey, ChatDetailModelConfigurationThinkingEffortKey, ChatDetailPrivacyEnumKey, ChatSummary, ChatSummaryLatestVersionStatusEnumKey, ChatSummaryPrivacyEnumKey, ChatsCreateOptions, ChatsCreateResponse, ChatsCreateResponses, ChatsCreateStatus200, ChatsCreateStatus401, ChatsCreateStatus403, ChatsCreateStatus404, ChatsCreateStatus409, ChatsCreateStatus413, ChatsCreateStatus422, ChatsCreateStatus429, ChatsCreateStatus500, ChatsDeleteOptions, ChatsDeletePath, ChatsDeleteResponse, ChatsDeleteResponses, ChatsDeleteStatus200, ChatsDeleteStatus401, ChatsDeleteStatus403, ChatsDeleteStatus404, ChatsDeleteStatus409, ChatsDeleteStatus413, ChatsDeleteStatus422, ChatsDeleteStatus429, ChatsDeleteStatus500, ChatsDeleteVersionFilesOptions, ChatsDeleteVersionFilesPath, ChatsDeleteVersionFilesResponse, ChatsDeleteVersionFilesResponses, ChatsDeleteVersionFilesStatus200, ChatsDeleteVersionFilesStatus401, ChatsDeleteVersionFilesStatus403, ChatsDeleteVersionFilesStatus404, ChatsDeleteVersionFilesStatus409, ChatsDeleteVersionFilesStatus413, ChatsDeleteVersionFilesStatus422, ChatsDeleteVersionFilesStatus429, ChatsDeleteVersionFilesStatus500, ChatsDownloadVersionFormatKey, ChatsDownloadVersionIncludeDefaultFilesKey, ChatsDownloadVersionOptions, ChatsDownloadVersionPath, ChatsDownloadVersionQuery, ChatsDownloadVersionResponse, ChatsDownloadVersionResponses, ChatsDownloadVersionStatus200, ChatsDownloadVersionStatus401, ChatsDownloadVersionStatus403, ChatsDownloadVersionStatus404, ChatsDownloadVersionStatus409, ChatsDownloadVersionStatus413, ChatsDownloadVersionStatus422, ChatsDownloadVersionStatus429, ChatsDownloadVersionStatus500, ChatsFavoriteOptions, ChatsFavoritePath, ChatsFavoriteResponse, ChatsFavoriteResponses, ChatsFavoriteStatus200, ChatsFavoriteStatus401, ChatsFavoriteStatus403, ChatsFavoriteStatus404, ChatsFavoriteStatus409, ChatsFavoriteStatus413, ChatsFavoriteStatus422, ChatsFavoriteStatus429, ChatsFavoriteStatus500, ChatsFindIsFavoriteKey, ChatsFindMessagesOptions, ChatsFindMessagesPath, ChatsFindMessagesQuery, ChatsFindMessagesResponse, ChatsFindMessagesResponses, ChatsFindMessagesStatus200, ChatsFindMessagesStatus401, ChatsFindMessagesStatus403, ChatsFindMessagesStatus404, ChatsFindMessagesStatus409, ChatsFindMessagesStatus413, ChatsFindMessagesStatus422, ChatsFindMessagesStatus429, ChatsFindMessagesStatus500, ChatsFindOptions, ChatsFindQuery, ChatsFindResponse, ChatsFindResponses, ChatsFindStatus200, ChatsFindStatus401, ChatsFindStatus403, ChatsFindStatus404, ChatsFindStatus409, ChatsFindStatus413, ChatsFindStatus422, ChatsFindStatus429, ChatsFindStatus500, ChatsFindVersionsOptions, ChatsFindVersionsPath, ChatsFindVersionsQuery, ChatsFindVersionsResponse, ChatsFindVersionsResponses, ChatsFindVersionsStatus200, ChatsFindVersionsStatus401, ChatsFindVersionsStatus403, ChatsFindVersionsStatus404, ChatsFindVersionsStatus409, ChatsFindVersionsStatus413, ChatsFindVersionsStatus422, ChatsFindVersionsStatus429, ChatsFindVersionsStatus500, ChatsForkOptions, ChatsForkPath, ChatsForkResponse, ChatsForkResponses, ChatsForkStatus200, ChatsForkStatus401, ChatsForkStatus403, ChatsForkStatus404, ChatsForkStatus409, ChatsForkStatus413, ChatsForkStatus422, ChatsForkStatus429, ChatsForkStatus500, ChatsGetByIdOptions, ChatsGetByIdPath, ChatsGetByIdResponse, ChatsGetByIdResponses, ChatsGetByIdStatus200, ChatsGetByIdStatus401, ChatsGetByIdStatus403, ChatsGetByIdStatus404, ChatsGetByIdStatus409, ChatsGetByIdStatus413, ChatsGetByIdStatus422, ChatsGetByIdStatus429, ChatsGetByIdStatus500, ChatsGetMessageOptions, ChatsGetMessagePath, ChatsGetMessageResponse, ChatsGetMessageResponses, ChatsGetMessageStatus200, ChatsGetMessageStatus401, ChatsGetMessageStatus403, ChatsGetMessageStatus404, ChatsGetMessageStatus409, ChatsGetMessageStatus413, ChatsGetMessageStatus422, ChatsGetMessageStatus429, ChatsGetMessageStatus500, ChatsGetVersionIncludeDefaultFilesKey, ChatsGetVersionOptions, ChatsGetVersionPath, ChatsGetVersionQuery, ChatsGetVersionResponse, ChatsGetVersionResponses, ChatsGetVersionStatus200, ChatsGetVersionStatus401, ChatsGetVersionStatus403, ChatsGetVersionStatus404, ChatsGetVersionStatus409, ChatsGetVersionStatus413, ChatsGetVersionStatus422, ChatsGetVersionStatus429, ChatsGetVersionStatus500, ChatsInitOptions, ChatsInitResponse, ChatsInitResponses, ChatsInitStatus200, ChatsInitStatus401, ChatsInitStatus403, ChatsInitStatus404, ChatsInitStatus409, ChatsInitStatus413, ChatsInitStatus422, ChatsInitStatus429, ChatsInitStatus500, ChatsResolveTaskOptions, ChatsResolveTaskPath, ChatsResolveTaskResponse, ChatsResolveTaskResponses, ChatsResolveTaskStatus200, ChatsResolveTaskStatus401, ChatsResolveTaskStatus403, ChatsResolveTaskStatus404, ChatsResolveTaskStatus409, ChatsResolveTaskStatus413, ChatsResolveTaskStatus422, ChatsResolveTaskStatus429, ChatsResolveTaskStatus500, ChatsRestoreOptions, ChatsRestorePath, ChatsRestoreResponse, ChatsRestoreResponses, ChatsRestoreStatus200, ChatsRestoreStatus401, ChatsRestoreStatus403, ChatsRestoreStatus404, ChatsRestoreStatus409, ChatsRestoreStatus413, ChatsRestoreStatus422, ChatsRestoreStatus429, ChatsRestoreStatus500, ChatsResumeOptions, ChatsResumePath, ChatsResumeResponse, ChatsResumeResponses, ChatsResumeStatus200, ChatsResumeStatus401, ChatsResumeStatus403, ChatsResumeStatus404, ChatsResumeStatus409, ChatsResumeStatus413, ChatsResumeStatus422, ChatsResumeStatus429, ChatsResumeStatus500, ChatsSendMessageOptions, ChatsSendMessagePath, ChatsSendMessageResponse, ChatsSendMessageResponses, ChatsSendMessageStatus200, ChatsSendMessageStatus401, ChatsSendMessageStatus403, ChatsSendMessageStatus404, ChatsSendMessageStatus409, ChatsSendMessageStatus413, ChatsSendMessageStatus422, ChatsSendMessageStatus429, ChatsSendMessageStatus500, ChatsStopOptions, ChatsStopPath, ChatsStopResponse, ChatsStopResponses, ChatsStopStatus200, ChatsStopStatus401, ChatsStopStatus403, ChatsStopStatus404, ChatsStopStatus409, ChatsStopStatus413, ChatsStopStatus422, ChatsStopStatus429, ChatsStopStatus500, ChatsUpdateOptions, ChatsUpdatePath, ChatsUpdateResponse, ChatsUpdateResponses, ChatsUpdateStatus200, ChatsUpdateStatus401, ChatsUpdateStatus403, ChatsUpdateStatus404, ChatsUpdateStatus409, ChatsUpdateStatus413, ChatsUpdateStatus422, ChatsUpdateStatus429, ChatsUpdateStatus500, ChatsUpdateVersionOptions, ChatsUpdateVersionPath, ChatsUpdateVersionResponse, ChatsUpdateVersionResponses, ChatsUpdateVersionStatus200, ChatsUpdateVersionStatus401, ChatsUpdateVersionStatus403, ChatsUpdateVersionStatus404, ChatsUpdateVersionStatus409, ChatsUpdateVersionStatus413, ChatsUpdateVersionStatus422, ChatsUpdateVersionStatus429, ChatsUpdateVersionStatus500, ConflictError, DeploymentDetail, DeploymentSummary, DeploymentsCreateOptions, DeploymentsCreateResponse, DeploymentsCreateResponses, DeploymentsCreateStatus200, DeploymentsCreateStatus401, DeploymentsCreateStatus403, DeploymentsCreateStatus404, DeploymentsCreateStatus409, DeploymentsCreateStatus413, DeploymentsCreateStatus422, DeploymentsCreateStatus429, DeploymentsCreateStatus500, DeploymentsDeleteOptions, DeploymentsDeletePath, DeploymentsDeleteResponse, DeploymentsDeleteResponses, DeploymentsDeleteStatus200, DeploymentsDeleteStatus401, DeploymentsDeleteStatus403, DeploymentsDeleteStatus404, DeploymentsDeleteStatus409, DeploymentsDeleteStatus413, DeploymentsDeleteStatus422, DeploymentsDeleteStatus429, DeploymentsDeleteStatus500, DeploymentsFindErrorsOptions, DeploymentsFindErrorsPath, DeploymentsFindErrorsResponse, DeploymentsFindErrorsResponses, DeploymentsFindErrorsStatus200, DeploymentsFindErrorsStatus401, DeploymentsFindErrorsStatus403, DeploymentsFindErrorsStatus404, DeploymentsFindErrorsStatus409, DeploymentsFindErrorsStatus413, DeploymentsFindErrorsStatus422, DeploymentsFindErrorsStatus429, DeploymentsFindErrorsStatus500, DeploymentsFindLogsOptions, DeploymentsFindLogsPath, DeploymentsFindLogsQuery, DeploymentsFindLogsResponse, DeploymentsFindLogsResponses, DeploymentsFindLogsStatus200, DeploymentsFindLogsStatus401, DeploymentsFindLogsStatus403, DeploymentsFindLogsStatus404, DeploymentsFindLogsStatus409, DeploymentsFindLogsStatus413, DeploymentsFindLogsStatus422, DeploymentsFindLogsStatus429, DeploymentsFindLogsStatus500, DeploymentsFindOptions, DeploymentsFindQuery, DeploymentsFindResponse, DeploymentsFindResponses, DeploymentsFindStatus200, DeploymentsFindStatus401, DeploymentsFindStatus403, DeploymentsFindStatus404, DeploymentsFindStatus409, DeploymentsFindStatus413, DeploymentsFindStatus422, DeploymentsFindStatus429, DeploymentsFindStatus500, DeploymentsGetByIdOptions, DeploymentsGetByIdPath, DeploymentsGetByIdResponse, DeploymentsGetByIdResponses, DeploymentsGetByIdStatus200, DeploymentsGetByIdStatus401, DeploymentsGetByIdStatus403, DeploymentsGetByIdStatus404, DeploymentsGetByIdStatus409, DeploymentsGetByIdStatus413, DeploymentsGetByIdStatus422, DeploymentsGetByIdStatus429, DeploymentsGetByIdStatus500, EnvironmentVariableDetailSchema, EnvironmentVariableSummarySchema, EnvironmentVariablesListSchema, FileDetail, FileSummary, ForbiddenError, HookDetail, HookDetailEventsEnumKey, HookEventDetail, HookEventDetailEventEnumKey, HookEventDetailStatusEnumKey, HookSummary, HooksCreateOptions, HooksCreateResponse, HooksCreateResponses, HooksCreateStatus200, HooksCreateStatus401, HooksCreateStatus403, HooksCreateStatus404, HooksCreateStatus409, HooksCreateStatus413, HooksCreateStatus422, HooksCreateStatus429, HooksCreateStatus500, HooksDeleteOptions, HooksDeletePath, HooksDeleteResponse, HooksDeleteResponses, HooksDeleteStatus200, HooksDeleteStatus401, HooksDeleteStatus403, HooksDeleteStatus404, HooksDeleteStatus409, HooksDeleteStatus413, HooksDeleteStatus422, HooksDeleteStatus429, HooksDeleteStatus500, HooksFindOptions, HooksFindResponse, HooksFindResponses, HooksFindStatus200, HooksFindStatus401, HooksFindStatus403, HooksFindStatus404, HooksFindStatus409, HooksFindStatus413, HooksFindStatus422, HooksFindStatus429, HooksFindStatus500, HooksGetByIdOptions, HooksGetByIdPath, HooksGetByIdResponse, HooksGetByIdResponses, HooksGetByIdStatus200, HooksGetByIdStatus401, HooksGetByIdStatus403, HooksGetByIdStatus404, HooksGetByIdStatus409, HooksGetByIdStatus413, HooksGetByIdStatus422, HooksGetByIdStatus429, HooksGetByIdStatus500, HooksUpdateOptions, HooksUpdatePath, HooksUpdateResponse, HooksUpdateResponses, HooksUpdateStatus200, HooksUpdateStatus401, HooksUpdateStatus403, HooksUpdateStatus404, HooksUpdateStatus409, HooksUpdateStatus413, HooksUpdateStatus422, HooksUpdateStatus429, HooksUpdateStatus500, IntegrationConnectionDetailSchema, IntegrationConnectionListSchema, IntegrationConnectionSummarySchema, IntegrationDetailSchema, IntegrationListSchema, IntegrationSummarySchema, IntegrationsVercelProjectsCreateOptions, IntegrationsVercelProjectsCreateResponse, IntegrationsVercelProjectsCreateResponses, IntegrationsVercelProjectsCreateStatus200, IntegrationsVercelProjectsCreateStatus401, IntegrationsVercelProjectsCreateStatus403, IntegrationsVercelProjectsCreateStatus404, IntegrationsVercelProjectsCreateStatus409, IntegrationsVercelProjectsCreateStatus413, IntegrationsVercelProjectsCreateStatus422, IntegrationsVercelProjectsCreateStatus429, IntegrationsVercelProjectsCreateStatus500, IntegrationsVercelProjectsFindOptions, IntegrationsVercelProjectsFindResponse, IntegrationsVercelProjectsFindResponses, IntegrationsVercelProjectsFindStatus200, IntegrationsVercelProjectsFindStatus401, IntegrationsVercelProjectsFindStatus403, IntegrationsVercelProjectsFindStatus404, IntegrationsVercelProjectsFindStatus409, IntegrationsVercelProjectsFindStatus413, IntegrationsVercelProjectsFindStatus422, IntegrationsVercelProjectsFindStatus429, IntegrationsVercelProjectsFindStatus500, InternalServerError, McpServersCreateOAuthAuthorizationUrlOptions, McpServersCreateOAuthAuthorizationUrlPath, McpServersCreateOAuthAuthorizationUrlResponse, McpServersCreateOAuthAuthorizationUrlResponses, McpServersCreateOAuthAuthorizationUrlStatus200, McpServersCreateOAuthAuthorizationUrlStatus401, McpServersCreateOAuthAuthorizationUrlStatus403, McpServersCreateOAuthAuthorizationUrlStatus404, McpServersCreateOAuthAuthorizationUrlStatus409, McpServersCreateOAuthAuthorizationUrlStatus413, McpServersCreateOAuthAuthorizationUrlStatus422, McpServersCreateOAuthAuthorizationUrlStatus429, McpServersCreateOAuthAuthorizationUrlStatus500, McpServersCreateOptions, McpServersCreateResponse, McpServersCreateResponses, McpServersCreateStatus200, McpServersCreateStatus401, McpServersCreateStatus403, McpServersCreateStatus404, McpServersCreateStatus409, McpServersCreateStatus413, McpServersCreateStatus422, McpServersCreateStatus429, McpServersCreateStatus500, McpServersDeleteOptions, McpServersDeletePath, McpServersDeleteResponse, McpServersDeleteResponses, McpServersDeleteStatus200, McpServersDeleteStatus401, McpServersDeleteStatus403, McpServersDeleteStatus404, McpServersDeleteStatus409, McpServersDeleteStatus413, McpServersDeleteStatus422, McpServersDeleteStatus429, McpServersDeleteStatus500, McpServersFindOptions, McpServersFindResponse, McpServersFindResponses, McpServersFindStatus200, McpServersFindStatus401, McpServersFindStatus403, McpServersFindStatus404, McpServersFindStatus409, McpServersFindStatus413, McpServersFindStatus422, McpServersFindStatus429, McpServersFindStatus500, McpServersGetByIdOptions, McpServersGetByIdPath, McpServersGetByIdResponse, McpServersGetByIdResponses, McpServersGetByIdStatus200, McpServersGetByIdStatus401, McpServersGetByIdStatus403, McpServersGetByIdStatus404, McpServersGetByIdStatus409, McpServersGetByIdStatus413, McpServersGetByIdStatus422, McpServersGetByIdStatus429, McpServersGetByIdStatus500, McpServersUpdateOptions, McpServersUpdatePath, McpServersUpdateResponse, McpServersUpdateResponses, McpServersUpdateStatus200, McpServersUpdateStatus401, McpServersUpdateStatus403, McpServersUpdateStatus404, McpServersUpdateStatus409, McpServersUpdateStatus413, McpServersUpdateStatus422, McpServersUpdateStatus429, McpServersUpdateStatus500, MessageDetail, MessageDetailAttachmentsTypeEnumKey, MessageDetailFinishReasonEnumKey, MessageDetailRoleEnumKey, MessageDetailTypeEnumKey, MessageSummary, MessageSummaryAttachmentsTypeEnumKey, MessageSummaryFinishReasonEnumKey, MessageSummaryList, MessageSummaryListDataAttachmentsTypeEnumKey, MessageSummaryListDataFinishReasonEnumKey, MessageSummaryListDataRoleEnumKey, MessageSummaryListDataTypeEnumKey, MessageSummaryRoleEnumKey, MessageSummaryTypeEnumKey, NotFoundError, NotificationPreferenceSchema, PayloadTooLargeError, ProductDetailSchema, ProductDetailSchemaV0AvailabilityEnumKey, ProductListSchema, ProductListSchemaDataV0AvailabilityEnumKey, ProductSummarySchema, ProductSummarySchemaV0AvailabilityEnumKey, ProjectDetail, ProjectDetailChatsLatestVersionStatusEnumKey, ProjectDetailChatsPrivacyEnumKey, ProjectDetailPrivacyEnumKey, ProjectSummary, ProjectSummaryPrivacyEnumKey, ProjectsAssignOptions, ProjectsAssignPath, ProjectsAssignResponse, ProjectsAssignResponses, ProjectsAssignStatus200, ProjectsAssignStatus401, ProjectsAssignStatus403, ProjectsAssignStatus404, ProjectsAssignStatus409, ProjectsAssignStatus413, ProjectsAssignStatus422, ProjectsAssignStatus429, ProjectsAssignStatus500, ProjectsCreateEnvVarsDecryptedKey, ProjectsCreateEnvVarsOptions, ProjectsCreateEnvVarsPath, ProjectsCreateEnvVarsQuery, ProjectsCreateEnvVarsResponse, ProjectsCreateEnvVarsResponses, ProjectsCreateEnvVarsStatus200, ProjectsCreateEnvVarsStatus401, ProjectsCreateEnvVarsStatus403, ProjectsCreateEnvVarsStatus404, ProjectsCreateEnvVarsStatus409, ProjectsCreateEnvVarsStatus413, ProjectsCreateEnvVarsStatus422, ProjectsCreateEnvVarsStatus429, ProjectsCreateEnvVarsStatus500, ProjectsCreateOptions, ProjectsCreateResponse, ProjectsCreateResponses, ProjectsCreateStatus200, ProjectsCreateStatus401, ProjectsCreateStatus403, ProjectsCreateStatus404, ProjectsCreateStatus409, ProjectsCreateStatus413, ProjectsCreateStatus422, ProjectsCreateStatus429, ProjectsCreateStatus500, ProjectsDeleteDeleteAllChatsKey, ProjectsDeleteEnvVarsOptions, ProjectsDeleteEnvVarsPath, ProjectsDeleteEnvVarsResponse, ProjectsDeleteEnvVarsResponses, ProjectsDeleteEnvVarsStatus200, ProjectsDeleteEnvVarsStatus401, ProjectsDeleteEnvVarsStatus403, ProjectsDeleteEnvVarsStatus404, ProjectsDeleteEnvVarsStatus409, ProjectsDeleteEnvVarsStatus413, ProjectsDeleteEnvVarsStatus422, ProjectsDeleteEnvVarsStatus429, ProjectsDeleteEnvVarsStatus500, ProjectsDeleteOptions, ProjectsDeletePath, ProjectsDeleteQuery, ProjectsDeleteResponse, ProjectsDeleteResponses, ProjectsDeleteStatus200, ProjectsDeleteStatus401, ProjectsDeleteStatus403, ProjectsDeleteStatus404, ProjectsDeleteStatus409, ProjectsDeleteStatus413, ProjectsDeleteStatus422, ProjectsDeleteStatus429, ProjectsDeleteStatus500, ProjectsFindEnvVarsDecryptedKey, ProjectsFindEnvVarsOptions, ProjectsFindEnvVarsPath, ProjectsFindEnvVarsQuery, ProjectsFindEnvVarsResponse, ProjectsFindEnvVarsResponses, ProjectsFindEnvVarsStatus200, ProjectsFindEnvVarsStatus401, ProjectsFindEnvVarsStatus403, ProjectsFindEnvVarsStatus404, ProjectsFindEnvVarsStatus409, ProjectsFindEnvVarsStatus413, ProjectsFindEnvVarsStatus422, ProjectsFindEnvVarsStatus429, ProjectsFindEnvVarsStatus500, ProjectsFindOptions, ProjectsFindResponse, ProjectsFindResponses, ProjectsFindStatus200, ProjectsFindStatus401, ProjectsFindStatus403, ProjectsFindStatus404, ProjectsFindStatus409, ProjectsFindStatus413, ProjectsFindStatus422, ProjectsFindStatus429, ProjectsFindStatus500, ProjectsGetByChatIdOptions, ProjectsGetByChatIdPath, ProjectsGetByChatIdResponse, ProjectsGetByChatIdResponses, ProjectsGetByChatIdStatus200, ProjectsGetByChatIdStatus401, ProjectsGetByChatIdStatus403, ProjectsGetByChatIdStatus404, ProjectsGetByChatIdStatus409, ProjectsGetByChatIdStatus413, ProjectsGetByChatIdStatus422, ProjectsGetByChatIdStatus429, ProjectsGetByChatIdStatus500, ProjectsGetByIdOptions, ProjectsGetByIdPath, ProjectsGetByIdResponse, ProjectsGetByIdResponses, ProjectsGetByIdStatus200, ProjectsGetByIdStatus401, ProjectsGetByIdStatus403, ProjectsGetByIdStatus404, ProjectsGetByIdStatus409, ProjectsGetByIdStatus413, ProjectsGetByIdStatus422, ProjectsGetByIdStatus429, ProjectsGetByIdStatus500, ProjectsGetEnvVarDecryptedKey, ProjectsGetEnvVarOptions, ProjectsGetEnvVarPath, ProjectsGetEnvVarQuery, ProjectsGetEnvVarResponse, ProjectsGetEnvVarResponses, ProjectsGetEnvVarStatus200, ProjectsGetEnvVarStatus401, ProjectsGetEnvVarStatus403, ProjectsGetEnvVarStatus404, ProjectsGetEnvVarStatus409, ProjectsGetEnvVarStatus413, ProjectsGetEnvVarStatus422, ProjectsGetEnvVarStatus429, ProjectsGetEnvVarStatus500, ProjectsUpdateEnvVarsDecryptedKey, ProjectsUpdateEnvVarsOptions, ProjectsUpdateEnvVarsPath, ProjectsUpdateEnvVarsQuery, ProjectsUpdateEnvVarsResponse, ProjectsUpdateEnvVarsResponses, ProjectsUpdateEnvVarsStatus200, ProjectsUpdateEnvVarsStatus401, ProjectsUpdateEnvVarsStatus403, ProjectsUpdateEnvVarsStatus404, ProjectsUpdateEnvVarsStatus409, ProjectsUpdateEnvVarsStatus413, ProjectsUpdateEnvVarsStatus422, ProjectsUpdateEnvVarsStatus429, ProjectsUpdateEnvVarsStatus500, ProjectsUpdateOptions, ProjectsUpdatePath, ProjectsUpdateResponse, ProjectsUpdateResponses, ProjectsUpdateStatus200, ProjectsUpdateStatus401, ProjectsUpdateStatus403, ProjectsUpdateStatus404, ProjectsUpdateStatus409, ProjectsUpdateStatus413, ProjectsUpdateStatus422, ProjectsUpdateStatus429, ProjectsUpdateStatus500, RateLimitsFindOptions, RateLimitsFindQuery, RateLimitsFindResponse, RateLimitsFindResponses, RateLimitsFindStatus200, RateLimitsFindStatus401, RateLimitsFindStatus403, RateLimitsFindStatus404, RateLimitsFindStatus409, RateLimitsFindStatus413, RateLimitsFindStatus422, RateLimitsFindStatus429, RateLimitsFindStatus500, ReportsGetAIUsageOptions, ReportsGetAIUsageQuery, ReportsGetAIUsageResponse, ReportsGetAIUsageResponses, ReportsGetAIUsageStatus200, ReportsGetAIUsageStatus401, ReportsGetAIUsageStatus403, ReportsGetAIUsageStatus404, ReportsGetAIUsageStatus409, ReportsGetAIUsageStatus413, ReportsGetAIUsageStatus422, ReportsGetAIUsageStatus429, ReportsGetAIUsageStatus500, ReportsGetUsageOptions, ReportsGetUsageQuery, ReportsGetUsageResponse, ReportsGetUsageResponses, ReportsGetUsageStatus200, ReportsGetUsageStatus401, ReportsGetUsageStatus403, ReportsGetUsageStatus404, ReportsGetUsageStatus409, ReportsGetUsageStatus413, ReportsGetUsageStatus422, ReportsGetUsageStatus429, ReportsGetUsageStatus500, ReportsGetUserActivityOptions, ReportsGetUserActivityQuery, ReportsGetUserActivityResponse, ReportsGetUserActivityResponses, ReportsGetUserActivityStatus200, ReportsGetUserActivityStatus401, ReportsGetUserActivityStatus403, ReportsGetUserActivityStatus404, ReportsGetUserActivityStatus409, ReportsGetUserActivityStatus413, ReportsGetUserActivityStatus422, ReportsGetUserActivityStatus429, ReportsGetUserActivityStatus500, ScopeSummary, SearchResultItem, SearchResultItemObjectEnumKey, TooManyRequestsError, UnauthorizedError, UnprocessableEntityError, UserDetailSchema, UserGetBillingOptions, UserGetBillingQuery, UserGetBillingResponse, UserGetBillingResponses, UserGetBillingStatus200, UserGetBillingStatus401, UserGetBillingStatus403, UserGetBillingStatus404, UserGetBillingStatus409, UserGetBillingStatus413, UserGetBillingStatus422, UserGetBillingStatus429, UserGetBillingStatus500, UserGetOptions, UserGetPlanOptions, UserGetPlanResponse, UserGetPlanResponses, UserGetPlanStatus200, UserGetPlanStatus401, UserGetPlanStatus403, UserGetPlanStatus404, UserGetPlanStatus409, UserGetPlanStatus413, UserGetPlanStatus422, UserGetPlanStatus429, UserGetPlanStatus500, UserGetResponse, UserGetResponses, UserGetScopesOptions, UserGetScopesResponse, UserGetScopesResponses, UserGetScopesStatus200, UserGetScopesStatus401, UserGetScopesStatus403, UserGetScopesStatus404, UserGetScopesStatus409, UserGetScopesStatus413, UserGetScopesStatus422, UserGetScopesStatus429, UserGetScopesStatus500, UserGetStatus200, UserGetStatus401, UserGetStatus403, UserGetStatus404, UserGetStatus409, UserGetStatus413, UserGetStatus422, UserGetStatus429, UserGetStatus500, UserPreferencesPostResponseSchema, UserPreferencesResponseSchema, UserPreferencesSchema, UserSummarySchema, VercelProjectDetail, VercelProjectSummary, VersionDetail, VersionDetailStatusEnumKey, VersionSummary, VersionSummaryList, VersionSummaryListDataStatusEnumKey, VersionSummaryStatusEnumKey };
7555
+ export { chatDetailLatestVersionStatusEnum, chatDetailMessagesAttachmentsTypeEnum, chatDetailMessagesFinishReasonEnum, chatDetailMessagesRoleEnum, chatDetailMessagesTypeEnum, chatDetailModelConfigurationThinkingEffort, chatDetailPrivacyEnum, chatSummaryLatestVersionStatusEnum, chatSummaryPrivacyEnum, chatsCreateRequestChatPrivacyEnum, chatsCreateRequestModelConfigurationThinkingEffort, chatsCreateRequestResponseModeEnum, chatsCreateRequestSkillsScopeEnum, chatsDownloadVersionFormat, chatsDownloadVersionIncludeDefaultFiles, chatsFindIsFavorite, chatsFindStatus200DataLatestVersionStatusEnum, chatsFindStatus200DataPrivacyEnum, chatsForkRequestPrivacyEnum, chatsGetVersionIncludeDefaultFiles, chatsInitRequestChatPrivacyEnum, chatsResolveTaskRequestModelConfigurationThinkingEffort, chatsResolveTaskRequestResponseModeEnum, chatsResolveTaskRequestTaskConnectedMcpPresetNamesEnum, chatsResolveTaskRequestTaskStatusEnum, chatsSendMessageRequestModelConfigurationThinkingEffort, chatsSendMessageRequestResponseModeEnum, chatsSendMessageRequestSkillsScopeEnum, chatsUpdateRequestPrivacyEnum, deploymentsFindLogsStatus200LogsLevelEnum, deploymentsFindLogsStatus200LogsTypeEnum, hookDetailEventsEnum, hookEventDetailEventEnum, hookEventDetailStatusEnum, hooksCreateRequestEventsEnum, hooksUpdateRequestEventsEnum, mcpServersCreateRequestScopeEnum, mcpServersCreateStatus200AuthTypeEnum, mcpServersCreateStatus200ScopeEnum, mcpServersFindStatus200DataAuthTypeEnum, mcpServersFindStatus200DataScopeEnum, mcpServersGetByIdStatus200AuthTypeEnum, mcpServersGetByIdStatus200ScopeEnum, mcpServersUpdateRequestScopeEnum, mcpServersUpdateStatus200AuthTypeEnum, mcpServersUpdateStatus200ScopeEnum, messageDetailAttachmentsTypeEnum, messageDetailFinishReasonEnum, messageDetailRoleEnum, messageDetailTypeEnum, messageSummaryAttachmentsTypeEnum, messageSummaryFinishReasonEnum, messageSummaryListDataAttachmentsTypeEnum, messageSummaryListDataFinishReasonEnum, messageSummaryListDataRoleEnum, messageSummaryListDataTypeEnum, messageSummaryRoleEnum, messageSummaryTypeEnum, productDetailSchemaV0AvailabilityEnum, productListSchemaDataV0AvailabilityEnum, productSummarySchemaV0AvailabilityEnum, projectDetailChatsLatestVersionStatusEnum, projectDetailChatsPrivacyEnum, projectDetailPrivacyEnum, projectSummaryPrivacyEnum, projectsCreateEnvVarsDecrypted, projectsCreateRequestPrivacyEnum, projectsDeleteDeleteAllChats, projectsFindEnvVarsDecrypted, projectsGetEnvVarDecrypted, projectsUpdateEnvVarsDecrypted, projectsUpdateRequestPrivacyEnum, reportsGetUsageStatus200DataCostBreakdownStatusEnum, reportsGetUsageStatus200DataTypeEnum, reportsGetUserActivityStatus200DataUserTeamV0Role, searchResultItemObjectEnum, versionDetailStatusEnum, versionSummaryListDataStatusEnum, versionSummaryStatusEnum };
7556
+ export type { ChatDetail, ChatDetailLatestVersionStatusEnumKey, ChatDetailMessagesAttachmentsTypeEnumKey, ChatDetailMessagesFinishReasonEnumKey, ChatDetailMessagesRoleEnumKey, ChatDetailMessagesTypeEnumKey, ChatDetailModelConfigurationThinkingEffortKey, ChatDetailPrivacyEnumKey, ChatSummary, ChatSummaryLatestVersionStatusEnumKey, ChatSummaryPrivacyEnumKey, ChatsCreateBody, ChatsCreateOptions, ChatsCreateRequestChatPrivacyEnumKey, ChatsCreateRequestModelConfigurationThinkingEffortKey, ChatsCreateRequestResponseModeEnumKey, ChatsCreateRequestSkillsScopeEnumKey, ChatsCreateResponse, ChatsCreateResponses, ChatsCreateStatus200, ChatsCreateStatus401, ChatsCreateStatus403, ChatsCreateStatus404, ChatsCreateStatus409, ChatsCreateStatus413, ChatsCreateStatus422, ChatsCreateStatus429, ChatsCreateStatus500, ChatsDeleteOptions, ChatsDeletePath, ChatsDeleteResponse, ChatsDeleteResponses, ChatsDeleteStatus200, ChatsDeleteStatus401, ChatsDeleteStatus403, ChatsDeleteStatus404, ChatsDeleteStatus409, ChatsDeleteStatus413, ChatsDeleteStatus422, ChatsDeleteStatus429, ChatsDeleteStatus500, ChatsDeleteVersionFilesBody, ChatsDeleteVersionFilesOptions, ChatsDeleteVersionFilesPath, ChatsDeleteVersionFilesResponse, ChatsDeleteVersionFilesResponses, ChatsDeleteVersionFilesStatus200, ChatsDeleteVersionFilesStatus401, ChatsDeleteVersionFilesStatus403, ChatsDeleteVersionFilesStatus404, ChatsDeleteVersionFilesStatus409, ChatsDeleteVersionFilesStatus413, ChatsDeleteVersionFilesStatus422, ChatsDeleteVersionFilesStatus429, ChatsDeleteVersionFilesStatus500, ChatsDownloadVersionFormatKey, ChatsDownloadVersionIncludeDefaultFilesKey, ChatsDownloadVersionOptions, ChatsDownloadVersionPath, ChatsDownloadVersionQuery, ChatsDownloadVersionResponse, ChatsDownloadVersionResponses, ChatsDownloadVersionStatus200, ChatsDownloadVersionStatus401, ChatsDownloadVersionStatus403, ChatsDownloadVersionStatus404, ChatsDownloadVersionStatus409, ChatsDownloadVersionStatus413, ChatsDownloadVersionStatus422, ChatsDownloadVersionStatus429, ChatsDownloadVersionStatus500, ChatsFavoriteBody, ChatsFavoriteOptions, ChatsFavoritePath, ChatsFavoriteResponse, ChatsFavoriteResponses, ChatsFavoriteStatus200, ChatsFavoriteStatus401, ChatsFavoriteStatus403, ChatsFavoriteStatus404, ChatsFavoriteStatus409, ChatsFavoriteStatus413, ChatsFavoriteStatus422, ChatsFavoriteStatus429, ChatsFavoriteStatus500, ChatsFindIsFavoriteKey, ChatsFindMessagesOptions, ChatsFindMessagesPath, ChatsFindMessagesQuery, ChatsFindMessagesResponse, ChatsFindMessagesResponses, ChatsFindMessagesStatus200, ChatsFindMessagesStatus401, ChatsFindMessagesStatus403, ChatsFindMessagesStatus404, ChatsFindMessagesStatus409, ChatsFindMessagesStatus413, ChatsFindMessagesStatus422, ChatsFindMessagesStatus429, ChatsFindMessagesStatus500, ChatsFindOptions, ChatsFindQuery, ChatsFindResponse, ChatsFindResponses, ChatsFindStatus200, ChatsFindStatus200DataLatestVersionStatusEnumKey, ChatsFindStatus200DataPrivacyEnumKey, ChatsFindStatus401, ChatsFindStatus403, ChatsFindStatus404, ChatsFindStatus409, ChatsFindStatus413, ChatsFindStatus422, ChatsFindStatus429, ChatsFindStatus500, ChatsFindVersionsOptions, ChatsFindVersionsPath, ChatsFindVersionsQuery, ChatsFindVersionsResponse, ChatsFindVersionsResponses, ChatsFindVersionsStatus200, ChatsFindVersionsStatus401, ChatsFindVersionsStatus403, ChatsFindVersionsStatus404, ChatsFindVersionsStatus409, ChatsFindVersionsStatus413, ChatsFindVersionsStatus422, ChatsFindVersionsStatus429, ChatsFindVersionsStatus500, ChatsForkBody, ChatsForkOptions, ChatsForkPath, ChatsForkRequestPrivacyEnumKey, ChatsForkResponse, ChatsForkResponses, ChatsForkStatus200, ChatsForkStatus401, ChatsForkStatus403, ChatsForkStatus404, ChatsForkStatus409, ChatsForkStatus413, ChatsForkStatus422, ChatsForkStatus429, ChatsForkStatus500, ChatsGetByIdOptions, ChatsGetByIdPath, ChatsGetByIdResponse, ChatsGetByIdResponses, ChatsGetByIdStatus200, ChatsGetByIdStatus401, ChatsGetByIdStatus403, ChatsGetByIdStatus404, ChatsGetByIdStatus409, ChatsGetByIdStatus413, ChatsGetByIdStatus422, ChatsGetByIdStatus429, ChatsGetByIdStatus500, ChatsGetMessageOptions, ChatsGetMessagePath, ChatsGetMessageResponse, ChatsGetMessageResponses, ChatsGetMessageStatus200, ChatsGetMessageStatus401, ChatsGetMessageStatus403, ChatsGetMessageStatus404, ChatsGetMessageStatus409, ChatsGetMessageStatus413, ChatsGetMessageStatus422, ChatsGetMessageStatus429, ChatsGetMessageStatus500, ChatsGetVersionIncludeDefaultFilesKey, ChatsGetVersionOptions, ChatsGetVersionPath, ChatsGetVersionQuery, ChatsGetVersionResponse, ChatsGetVersionResponses, ChatsGetVersionStatus200, ChatsGetVersionStatus401, ChatsGetVersionStatus403, ChatsGetVersionStatus404, ChatsGetVersionStatus409, ChatsGetVersionStatus413, ChatsGetVersionStatus422, ChatsGetVersionStatus429, ChatsGetVersionStatus500, ChatsInitBody, ChatsInitOptions, ChatsInitRequestChatPrivacyEnumKey, ChatsInitResponse, ChatsInitResponses, ChatsInitStatus200, ChatsInitStatus401, ChatsInitStatus403, ChatsInitStatus404, ChatsInitStatus409, ChatsInitStatus413, ChatsInitStatus422, ChatsInitStatus429, ChatsInitStatus500, ChatsResolveTaskBody, ChatsResolveTaskOptions, ChatsResolveTaskPath, ChatsResolveTaskRequestModelConfigurationThinkingEffortKey, ChatsResolveTaskRequestResponseModeEnumKey, ChatsResolveTaskRequestTaskConnectedMcpPresetNamesEnumKey, ChatsResolveTaskRequestTaskStatusEnumKey, ChatsResolveTaskResponse, ChatsResolveTaskResponses, ChatsResolveTaskStatus200, ChatsResolveTaskStatus401, ChatsResolveTaskStatus403, ChatsResolveTaskStatus404, ChatsResolveTaskStatus409, ChatsResolveTaskStatus413, ChatsResolveTaskStatus422, ChatsResolveTaskStatus429, ChatsResolveTaskStatus500, ChatsRestoreOptions, ChatsRestorePath, ChatsRestoreResponse, ChatsRestoreResponses, ChatsRestoreStatus200, ChatsRestoreStatus401, ChatsRestoreStatus403, ChatsRestoreStatus404, ChatsRestoreStatus409, ChatsRestoreStatus413, ChatsRestoreStatus422, ChatsRestoreStatus429, ChatsRestoreStatus500, ChatsResumeOptions, ChatsResumePath, ChatsResumeResponse, ChatsResumeResponses, ChatsResumeStatus200, ChatsResumeStatus401, ChatsResumeStatus403, ChatsResumeStatus404, ChatsResumeStatus409, ChatsResumeStatus413, ChatsResumeStatus422, ChatsResumeStatus429, ChatsResumeStatus500, ChatsSendMessageBody, ChatsSendMessageOptions, ChatsSendMessagePath, ChatsSendMessageRequestModelConfigurationThinkingEffortKey, ChatsSendMessageRequestResponseModeEnumKey, ChatsSendMessageRequestSkillsScopeEnumKey, ChatsSendMessageResponse, ChatsSendMessageResponses, ChatsSendMessageStatus200, ChatsSendMessageStatus401, ChatsSendMessageStatus403, ChatsSendMessageStatus404, ChatsSendMessageStatus409, ChatsSendMessageStatus413, ChatsSendMessageStatus422, ChatsSendMessageStatus429, ChatsSendMessageStatus500, ChatsStopOptions, ChatsStopPath, ChatsStopResponse, ChatsStopResponses, ChatsStopStatus200, ChatsStopStatus401, ChatsStopStatus403, ChatsStopStatus404, ChatsStopStatus409, ChatsStopStatus413, ChatsStopStatus422, ChatsStopStatus429, ChatsStopStatus500, ChatsUpdateBody, ChatsUpdateOptions, ChatsUpdatePath, ChatsUpdateRequestPrivacyEnumKey, ChatsUpdateResponse, ChatsUpdateResponses, ChatsUpdateStatus200, ChatsUpdateStatus401, ChatsUpdateStatus403, ChatsUpdateStatus404, ChatsUpdateStatus409, ChatsUpdateStatus413, ChatsUpdateStatus422, ChatsUpdateStatus429, ChatsUpdateStatus500, ChatsUpdateVersionBody, ChatsUpdateVersionOptions, ChatsUpdateVersionPath, ChatsUpdateVersionResponse, ChatsUpdateVersionResponses, ChatsUpdateVersionStatus200, ChatsUpdateVersionStatus401, ChatsUpdateVersionStatus403, ChatsUpdateVersionStatus404, ChatsUpdateVersionStatus409, ChatsUpdateVersionStatus413, ChatsUpdateVersionStatus422, ChatsUpdateVersionStatus429, ChatsUpdateVersionStatus500, ConflictError, DeploymentDetail, DeploymentSummary, DeploymentsCreateBody, DeploymentsCreateOptions, DeploymentsCreateResponse, DeploymentsCreateResponses, DeploymentsCreateStatus200, DeploymentsCreateStatus401, DeploymentsCreateStatus403, DeploymentsCreateStatus404, DeploymentsCreateStatus409, DeploymentsCreateStatus413, DeploymentsCreateStatus422, DeploymentsCreateStatus429, DeploymentsCreateStatus500, DeploymentsDeleteOptions, DeploymentsDeletePath, DeploymentsDeleteResponse, DeploymentsDeleteResponses, DeploymentsDeleteStatus200, DeploymentsDeleteStatus401, DeploymentsDeleteStatus403, DeploymentsDeleteStatus404, DeploymentsDeleteStatus409, DeploymentsDeleteStatus413, DeploymentsDeleteStatus422, DeploymentsDeleteStatus429, DeploymentsDeleteStatus500, DeploymentsFindErrorsOptions, DeploymentsFindErrorsPath, DeploymentsFindErrorsResponse, DeploymentsFindErrorsResponses, DeploymentsFindErrorsStatus200, DeploymentsFindErrorsStatus401, DeploymentsFindErrorsStatus403, DeploymentsFindErrorsStatus404, DeploymentsFindErrorsStatus409, DeploymentsFindErrorsStatus413, DeploymentsFindErrorsStatus422, DeploymentsFindErrorsStatus429, DeploymentsFindErrorsStatus500, DeploymentsFindLogsOptions, DeploymentsFindLogsPath, DeploymentsFindLogsQuery, DeploymentsFindLogsResponse, DeploymentsFindLogsResponses, DeploymentsFindLogsStatus200, DeploymentsFindLogsStatus200LogsLevelEnumKey, DeploymentsFindLogsStatus200LogsTypeEnumKey, DeploymentsFindLogsStatus401, DeploymentsFindLogsStatus403, DeploymentsFindLogsStatus404, DeploymentsFindLogsStatus409, DeploymentsFindLogsStatus413, DeploymentsFindLogsStatus422, DeploymentsFindLogsStatus429, DeploymentsFindLogsStatus500, DeploymentsFindOptions, DeploymentsFindQuery, DeploymentsFindResponse, DeploymentsFindResponses, DeploymentsFindStatus200, DeploymentsFindStatus401, DeploymentsFindStatus403, DeploymentsFindStatus404, DeploymentsFindStatus409, DeploymentsFindStatus413, DeploymentsFindStatus422, DeploymentsFindStatus429, DeploymentsFindStatus500, DeploymentsGetByIdOptions, DeploymentsGetByIdPath, DeploymentsGetByIdResponse, DeploymentsGetByIdResponses, DeploymentsGetByIdStatus200, DeploymentsGetByIdStatus401, DeploymentsGetByIdStatus403, DeploymentsGetByIdStatus404, DeploymentsGetByIdStatus409, DeploymentsGetByIdStatus413, DeploymentsGetByIdStatus422, DeploymentsGetByIdStatus429, DeploymentsGetByIdStatus500, EnvironmentVariableDetailSchema, EnvironmentVariableSummarySchema, EnvironmentVariablesListSchema, FileDetail, FileSummary, ForbiddenError, HookDetail, HookDetailEventsEnumKey, HookEventDetail, HookEventDetailEventEnumKey, HookEventDetailStatusEnumKey, HookSummary, HooksCreateBody, HooksCreateOptions, HooksCreateRequestEventsEnumKey, HooksCreateResponse, HooksCreateResponses, HooksCreateStatus200, HooksCreateStatus401, HooksCreateStatus403, HooksCreateStatus404, HooksCreateStatus409, HooksCreateStatus413, HooksCreateStatus422, HooksCreateStatus429, HooksCreateStatus500, HooksDeleteOptions, HooksDeletePath, HooksDeleteResponse, HooksDeleteResponses, HooksDeleteStatus200, HooksDeleteStatus401, HooksDeleteStatus403, HooksDeleteStatus404, HooksDeleteStatus409, HooksDeleteStatus413, HooksDeleteStatus422, HooksDeleteStatus429, HooksDeleteStatus500, HooksFindOptions, HooksFindResponse, HooksFindResponses, HooksFindStatus200, HooksFindStatus401, HooksFindStatus403, HooksFindStatus404, HooksFindStatus409, HooksFindStatus413, HooksFindStatus422, HooksFindStatus429, HooksFindStatus500, HooksGetByIdOptions, HooksGetByIdPath, HooksGetByIdResponse, HooksGetByIdResponses, HooksGetByIdStatus200, HooksGetByIdStatus401, HooksGetByIdStatus403, HooksGetByIdStatus404, HooksGetByIdStatus409, HooksGetByIdStatus413, HooksGetByIdStatus422, HooksGetByIdStatus429, HooksGetByIdStatus500, HooksUpdateBody, HooksUpdateOptions, HooksUpdatePath, HooksUpdateRequestEventsEnumKey, HooksUpdateResponse, HooksUpdateResponses, HooksUpdateStatus200, HooksUpdateStatus401, HooksUpdateStatus403, HooksUpdateStatus404, HooksUpdateStatus409, HooksUpdateStatus413, HooksUpdateStatus422, HooksUpdateStatus429, HooksUpdateStatus500, IntegrationConnectionDetailSchema, IntegrationConnectionListSchema, IntegrationConnectionSummarySchema, IntegrationDetailSchema, IntegrationListSchema, IntegrationSummarySchema, IntegrationsVercelProjectsCreateBody, IntegrationsVercelProjectsCreateOptions, IntegrationsVercelProjectsCreateResponse, IntegrationsVercelProjectsCreateResponses, IntegrationsVercelProjectsCreateStatus200, IntegrationsVercelProjectsCreateStatus401, IntegrationsVercelProjectsCreateStatus403, IntegrationsVercelProjectsCreateStatus404, IntegrationsVercelProjectsCreateStatus409, IntegrationsVercelProjectsCreateStatus413, IntegrationsVercelProjectsCreateStatus422, IntegrationsVercelProjectsCreateStatus429, IntegrationsVercelProjectsCreateStatus500, IntegrationsVercelProjectsFindOptions, IntegrationsVercelProjectsFindResponse, IntegrationsVercelProjectsFindResponses, IntegrationsVercelProjectsFindStatus200, IntegrationsVercelProjectsFindStatus401, IntegrationsVercelProjectsFindStatus403, IntegrationsVercelProjectsFindStatus404, IntegrationsVercelProjectsFindStatus409, IntegrationsVercelProjectsFindStatus413, IntegrationsVercelProjectsFindStatus422, IntegrationsVercelProjectsFindStatus429, IntegrationsVercelProjectsFindStatus500, InternalServerError, McpServersCreateBody, McpServersCreateOAuthAuthorizationUrlBody, McpServersCreateOAuthAuthorizationUrlOptions, McpServersCreateOAuthAuthorizationUrlPath, McpServersCreateOAuthAuthorizationUrlResponse, McpServersCreateOAuthAuthorizationUrlResponses, McpServersCreateOAuthAuthorizationUrlStatus200, McpServersCreateOAuthAuthorizationUrlStatus401, McpServersCreateOAuthAuthorizationUrlStatus403, McpServersCreateOAuthAuthorizationUrlStatus404, McpServersCreateOAuthAuthorizationUrlStatus409, McpServersCreateOAuthAuthorizationUrlStatus413, McpServersCreateOAuthAuthorizationUrlStatus422, McpServersCreateOAuthAuthorizationUrlStatus429, McpServersCreateOAuthAuthorizationUrlStatus500, McpServersCreateOptions, McpServersCreateRequestScopeEnumKey, McpServersCreateResponse, McpServersCreateResponses, McpServersCreateStatus200, McpServersCreateStatus200AuthTypeEnumKey, McpServersCreateStatus200ScopeEnumKey, McpServersCreateStatus401, McpServersCreateStatus403, McpServersCreateStatus404, McpServersCreateStatus409, McpServersCreateStatus413, McpServersCreateStatus422, McpServersCreateStatus429, McpServersCreateStatus500, McpServersDeleteOptions, McpServersDeletePath, McpServersDeleteResponse, McpServersDeleteResponses, McpServersDeleteStatus200, McpServersDeleteStatus401, McpServersDeleteStatus403, McpServersDeleteStatus404, McpServersDeleteStatus409, McpServersDeleteStatus413, McpServersDeleteStatus422, McpServersDeleteStatus429, McpServersDeleteStatus500, McpServersFindOptions, McpServersFindResponse, McpServersFindResponses, McpServersFindStatus200, McpServersFindStatus200DataAuthTypeEnumKey, McpServersFindStatus200DataScopeEnumKey, McpServersFindStatus401, McpServersFindStatus403, McpServersFindStatus404, McpServersFindStatus409, McpServersFindStatus413, McpServersFindStatus422, McpServersFindStatus429, McpServersFindStatus500, McpServersGetByIdOptions, McpServersGetByIdPath, McpServersGetByIdResponse, McpServersGetByIdResponses, McpServersGetByIdStatus200, McpServersGetByIdStatus200AuthTypeEnumKey, McpServersGetByIdStatus200ScopeEnumKey, McpServersGetByIdStatus401, McpServersGetByIdStatus403, McpServersGetByIdStatus404, McpServersGetByIdStatus409, McpServersGetByIdStatus413, McpServersGetByIdStatus422, McpServersGetByIdStatus429, McpServersGetByIdStatus500, McpServersUpdateBody, McpServersUpdateOptions, McpServersUpdatePath, McpServersUpdateRequestScopeEnumKey, McpServersUpdateResponse, McpServersUpdateResponses, McpServersUpdateStatus200, McpServersUpdateStatus200AuthTypeEnumKey, McpServersUpdateStatus200ScopeEnumKey, McpServersUpdateStatus401, McpServersUpdateStatus403, McpServersUpdateStatus404, McpServersUpdateStatus409, McpServersUpdateStatus413, McpServersUpdateStatus422, McpServersUpdateStatus429, McpServersUpdateStatus500, MessageDetail, MessageDetailAttachmentsTypeEnumKey, MessageDetailFinishReasonEnumKey, MessageDetailRoleEnumKey, MessageDetailTypeEnumKey, MessageSummary, MessageSummaryAttachmentsTypeEnumKey, MessageSummaryFinishReasonEnumKey, MessageSummaryList, MessageSummaryListDataAttachmentsTypeEnumKey, MessageSummaryListDataFinishReasonEnumKey, MessageSummaryListDataRoleEnumKey, MessageSummaryListDataTypeEnumKey, MessageSummaryRoleEnumKey, MessageSummaryTypeEnumKey, NotFoundError, NotificationPreferenceSchema, PayloadTooLargeError, ProductDetailSchema, ProductDetailSchemaV0AvailabilityEnumKey, ProductListSchema, ProductListSchemaDataV0AvailabilityEnumKey, ProductSummarySchema, ProductSummarySchemaV0AvailabilityEnumKey, ProjectDetail, ProjectDetailChatsLatestVersionStatusEnumKey, ProjectDetailChatsPrivacyEnumKey, ProjectDetailPrivacyEnumKey, ProjectSummary, ProjectSummaryPrivacyEnumKey, ProjectsAssignBody, ProjectsAssignOptions, ProjectsAssignPath, ProjectsAssignResponse, ProjectsAssignResponses, ProjectsAssignStatus200, ProjectsAssignStatus401, ProjectsAssignStatus403, ProjectsAssignStatus404, ProjectsAssignStatus409, ProjectsAssignStatus413, ProjectsAssignStatus422, ProjectsAssignStatus429, ProjectsAssignStatus500, ProjectsCreateBody, ProjectsCreateEnvVarsBody, ProjectsCreateEnvVarsDecryptedKey, ProjectsCreateEnvVarsOptions, ProjectsCreateEnvVarsPath, ProjectsCreateEnvVarsQuery, ProjectsCreateEnvVarsResponse, ProjectsCreateEnvVarsResponses, ProjectsCreateEnvVarsStatus200, ProjectsCreateEnvVarsStatus401, ProjectsCreateEnvVarsStatus403, ProjectsCreateEnvVarsStatus404, ProjectsCreateEnvVarsStatus409, ProjectsCreateEnvVarsStatus413, ProjectsCreateEnvVarsStatus422, ProjectsCreateEnvVarsStatus429, ProjectsCreateEnvVarsStatus500, ProjectsCreateOptions, ProjectsCreateRequestPrivacyEnumKey, ProjectsCreateResponse, ProjectsCreateResponses, ProjectsCreateStatus200, ProjectsCreateStatus401, ProjectsCreateStatus403, ProjectsCreateStatus404, ProjectsCreateStatus409, ProjectsCreateStatus413, ProjectsCreateStatus422, ProjectsCreateStatus429, ProjectsCreateStatus500, ProjectsDeleteDeleteAllChatsKey, ProjectsDeleteEnvVarsBody, ProjectsDeleteEnvVarsOptions, ProjectsDeleteEnvVarsPath, ProjectsDeleteEnvVarsResponse, ProjectsDeleteEnvVarsResponses, ProjectsDeleteEnvVarsStatus200, ProjectsDeleteEnvVarsStatus401, ProjectsDeleteEnvVarsStatus403, ProjectsDeleteEnvVarsStatus404, ProjectsDeleteEnvVarsStatus409, ProjectsDeleteEnvVarsStatus413, ProjectsDeleteEnvVarsStatus422, ProjectsDeleteEnvVarsStatus429, ProjectsDeleteEnvVarsStatus500, ProjectsDeleteOptions, ProjectsDeletePath, ProjectsDeleteQuery, ProjectsDeleteResponse, ProjectsDeleteResponses, ProjectsDeleteStatus200, ProjectsDeleteStatus401, ProjectsDeleteStatus403, ProjectsDeleteStatus404, ProjectsDeleteStatus409, ProjectsDeleteStatus413, ProjectsDeleteStatus422, ProjectsDeleteStatus429, ProjectsDeleteStatus500, ProjectsFindEnvVarsDecryptedKey, ProjectsFindEnvVarsOptions, ProjectsFindEnvVarsPath, ProjectsFindEnvVarsQuery, ProjectsFindEnvVarsResponse, ProjectsFindEnvVarsResponses, ProjectsFindEnvVarsStatus200, ProjectsFindEnvVarsStatus401, ProjectsFindEnvVarsStatus403, ProjectsFindEnvVarsStatus404, ProjectsFindEnvVarsStatus409, ProjectsFindEnvVarsStatus413, ProjectsFindEnvVarsStatus422, ProjectsFindEnvVarsStatus429, ProjectsFindEnvVarsStatus500, ProjectsFindOptions, ProjectsFindResponse, ProjectsFindResponses, ProjectsFindStatus200, ProjectsFindStatus401, ProjectsFindStatus403, ProjectsFindStatus404, ProjectsFindStatus409, ProjectsFindStatus413, ProjectsFindStatus422, ProjectsFindStatus429, ProjectsFindStatus500, ProjectsGetByChatIdOptions, ProjectsGetByChatIdPath, ProjectsGetByChatIdResponse, ProjectsGetByChatIdResponses, ProjectsGetByChatIdStatus200, ProjectsGetByChatIdStatus401, ProjectsGetByChatIdStatus403, ProjectsGetByChatIdStatus404, ProjectsGetByChatIdStatus409, ProjectsGetByChatIdStatus413, ProjectsGetByChatIdStatus422, ProjectsGetByChatIdStatus429, ProjectsGetByChatIdStatus500, ProjectsGetByIdOptions, ProjectsGetByIdPath, ProjectsGetByIdResponse, ProjectsGetByIdResponses, ProjectsGetByIdStatus200, ProjectsGetByIdStatus401, ProjectsGetByIdStatus403, ProjectsGetByIdStatus404, ProjectsGetByIdStatus409, ProjectsGetByIdStatus413, ProjectsGetByIdStatus422, ProjectsGetByIdStatus429, ProjectsGetByIdStatus500, ProjectsGetEnvVarDecryptedKey, ProjectsGetEnvVarOptions, ProjectsGetEnvVarPath, ProjectsGetEnvVarQuery, ProjectsGetEnvVarResponse, ProjectsGetEnvVarResponses, ProjectsGetEnvVarStatus200, ProjectsGetEnvVarStatus401, ProjectsGetEnvVarStatus403, ProjectsGetEnvVarStatus404, ProjectsGetEnvVarStatus409, ProjectsGetEnvVarStatus413, ProjectsGetEnvVarStatus422, ProjectsGetEnvVarStatus429, ProjectsGetEnvVarStatus500, ProjectsUpdateBody, ProjectsUpdateEnvVarsBody, ProjectsUpdateEnvVarsDecryptedKey, ProjectsUpdateEnvVarsOptions, ProjectsUpdateEnvVarsPath, ProjectsUpdateEnvVarsQuery, ProjectsUpdateEnvVarsResponse, ProjectsUpdateEnvVarsResponses, ProjectsUpdateEnvVarsStatus200, ProjectsUpdateEnvVarsStatus401, ProjectsUpdateEnvVarsStatus403, ProjectsUpdateEnvVarsStatus404, ProjectsUpdateEnvVarsStatus409, ProjectsUpdateEnvVarsStatus413, ProjectsUpdateEnvVarsStatus422, ProjectsUpdateEnvVarsStatus429, ProjectsUpdateEnvVarsStatus500, ProjectsUpdateOptions, ProjectsUpdatePath, ProjectsUpdateRequestPrivacyEnumKey, ProjectsUpdateResponse, ProjectsUpdateResponses, ProjectsUpdateStatus200, ProjectsUpdateStatus401, ProjectsUpdateStatus403, ProjectsUpdateStatus404, ProjectsUpdateStatus409, ProjectsUpdateStatus413, ProjectsUpdateStatus422, ProjectsUpdateStatus429, ProjectsUpdateStatus500, RateLimitsFindOptions, RateLimitsFindQuery, RateLimitsFindResponse, RateLimitsFindResponses, RateLimitsFindStatus200, RateLimitsFindStatus401, RateLimitsFindStatus403, RateLimitsFindStatus404, RateLimitsFindStatus409, RateLimitsFindStatus413, RateLimitsFindStatus422, RateLimitsFindStatus429, RateLimitsFindStatus500, ReportsGetAIUsageOptions, ReportsGetAIUsageQuery, ReportsGetAIUsageResponse, ReportsGetAIUsageResponses, ReportsGetAIUsageStatus200, ReportsGetAIUsageStatus401, ReportsGetAIUsageStatus403, ReportsGetAIUsageStatus404, ReportsGetAIUsageStatus409, ReportsGetAIUsageStatus413, ReportsGetAIUsageStatus422, ReportsGetAIUsageStatus429, ReportsGetAIUsageStatus500, ReportsGetUsageOptions, ReportsGetUsageQuery, ReportsGetUsageResponse, ReportsGetUsageResponses, ReportsGetUsageStatus200, ReportsGetUsageStatus200DataCostBreakdownStatusEnumKey, ReportsGetUsageStatus200DataTypeEnumKey, ReportsGetUsageStatus401, ReportsGetUsageStatus403, ReportsGetUsageStatus404, ReportsGetUsageStatus409, ReportsGetUsageStatus413, ReportsGetUsageStatus422, ReportsGetUsageStatus429, ReportsGetUsageStatus500, ReportsGetUserActivityOptions, ReportsGetUserActivityQuery, ReportsGetUserActivityResponse, ReportsGetUserActivityResponses, ReportsGetUserActivityStatus200, ReportsGetUserActivityStatus200DataUserTeamV0RoleKey, ReportsGetUserActivityStatus401, ReportsGetUserActivityStatus403, ReportsGetUserActivityStatus404, ReportsGetUserActivityStatus409, ReportsGetUserActivityStatus413, ReportsGetUserActivityStatus422, ReportsGetUserActivityStatus429, ReportsGetUserActivityStatus500, ScopeSummary, SearchResultItem, SearchResultItemObjectEnumKey, TooManyRequestsError, UnauthorizedError, UnprocessableEntityError, UserDetailSchema, UserGetBillingOptions, UserGetBillingQuery, UserGetBillingResponse, UserGetBillingResponses, UserGetBillingStatus200, UserGetBillingStatus401, UserGetBillingStatus403, UserGetBillingStatus404, UserGetBillingStatus409, UserGetBillingStatus413, UserGetBillingStatus422, UserGetBillingStatus429, UserGetBillingStatus500, UserGetOptions, UserGetPlanOptions, UserGetPlanResponse, UserGetPlanResponses, UserGetPlanStatus200, UserGetPlanStatus401, UserGetPlanStatus403, UserGetPlanStatus404, UserGetPlanStatus409, UserGetPlanStatus413, UserGetPlanStatus422, UserGetPlanStatus429, UserGetPlanStatus500, UserGetResponse, UserGetResponses, UserGetScopesOptions, UserGetScopesResponse, UserGetScopesResponses, UserGetScopesStatus200, UserGetScopesStatus401, UserGetScopesStatus403, UserGetScopesStatus404, UserGetScopesStatus409, UserGetScopesStatus413, UserGetScopesStatus422, UserGetScopesStatus429, UserGetScopesStatus500, UserGetStatus200, UserGetStatus401, UserGetStatus403, UserGetStatus404, UserGetStatus409, UserGetStatus413, UserGetStatus422, UserGetStatus429, UserGetStatus500, UserPreferencesPostResponseSchema, UserPreferencesResponseSchema, UserPreferencesSchema, UserSummarySchema, VercelProjectDetail, VercelProjectSummary, VersionDetail, VersionDetailStatusEnumKey, VersionSummary, VersionSummaryList, VersionSummaryListDataStatusEnumKey, VersionSummaryStatusEnumKey };
5300
7557
  //# sourceMappingURL=types.d.mts.map