Skip to content

Commit 5d81037

Browse files
dracomithrilmichalgrezel
authored andcommitted
code formatting
1 parent c6c33e0 commit 5d81037

File tree

1 file changed

+110
-110
lines changed

1 file changed

+110
-110
lines changed

examples/openapi-ts-openai/src/client/types.gen.ts

Lines changed: 110 additions & 110 deletions
Original file line numberDiff line numberDiff line change
@@ -194,48 +194,48 @@ export type AssistantStreamEvent =
194194
} & ErrorEvent);
195195

196196
export const AssistantSupportedModels = {
197+
GPT_3_5_TURBO: 'gpt-3.5-turbo',
198+
GPT_3_5_TURBO_0125: 'gpt-3.5-turbo-0125',
199+
GPT_3_5_TURBO_0613: 'gpt-3.5-turbo-0613',
200+
GPT_3_5_TURBO_1106: 'gpt-3.5-turbo-1106',
201+
GPT_4: 'gpt-4',
202+
GPT_3_5_TURBO_16K: 'gpt-3.5-turbo-16k',
197203
GPT_4O: 'gpt-4o',
204+
GPT_3_5_TURBO_16K_0613: 'gpt-3.5-turbo-16k-0613',
198205
GPT_4O_2024_05_13: 'gpt-4o-2024-05-13',
199206
GPT_4O_2024_08_06: 'gpt-4o-2024-08-06',
200207
GPT_4O_2024_11_20: 'gpt-4o-2024-11-20',
201-
GPT_4_1: 'gpt-4.1',
202208
GPT_4O_MINI: 'gpt-4o-mini',
203-
GPT_4_1_2025_04_14: 'gpt-4.1-2025-04-14',
204209
GPT_4O_MINI_2024_07_18: 'gpt-4o-mini-2024-07-18',
205-
GPT_4_1_MINI: 'gpt-4.1-mini',
206210
GPT_4_0125_PREVIEW: 'gpt-4-0125-preview',
207-
GPT_4_1_MINI_2025_04_14: 'gpt-4.1-mini-2025-04-14',
208-
GPT_4: 'gpt-4',
209-
GPT_4_1_NANO: 'gpt-4.1-nano',
210211
GPT_4_0314: 'gpt-4-0314',
211-
GPT_5: 'gpt-5',
212212
GPT_4_0613: 'gpt-4-0613',
213-
GPT_5_2025_08_07: 'gpt-5-2025-08-07',
214-
GPT_3_5_TURBO: 'gpt-3.5-turbo',
215-
GPT_5_MINI: 'gpt-5-mini',
216-
GPT_3_5_TURBO_0613: 'gpt-3.5-turbo-0613',
217-
GPT_5_MINI_2025_08_07: 'gpt-5-mini-2025-08-07',
218-
GPT_3_5_TURBO_0125: 'gpt-3.5-turbo-0125',
219-
GPT_5_NANO: 'gpt-5-nano',
220-
GPT_3_5_TURBO_1106: 'gpt-3.5-turbo-1106',
221-
GPT_3_5_TURBO_16K: 'gpt-3.5-turbo-16k',
222-
GPT_5_NANO_2025_08_07: 'gpt-5-nano-2025-08-07',
223-
GPT_3_5_TURBO_16K_0613: 'gpt-3.5-turbo-16k-0613',
224-
GPT_4_1_NANO_2025_04_14: 'gpt-4.1-nano-2025-04-14',
213+
GPT_4_1: 'gpt-4.1',
225214
GPT_4_1106_PREVIEW: 'gpt-4-1106-preview',
226-
O1: 'o1',
215+
GPT_4_1_2025_04_14: 'gpt-4.1-2025-04-14',
216+
GPT_4_1_MINI: 'gpt-4.1-mini',
217+
GPT_4_1_MINI_2025_04_14: 'gpt-4.1-mini-2025-04-14',
218+
GPT_4_1_NANO: 'gpt-4.1-nano',
219+
GPT_4_1_NANO_2025_04_14: 'gpt-4.1-nano-2025-04-14',
227220
GPT_4_32K: 'gpt-4-32k',
228-
O3_MINI: 'o3-mini',
229221
GPT_4_32K_0314: 'gpt-4-32k-0314',
230-
O3_MINI_2025_01_31: 'o3-mini-2025-01-31',
231222
GPT_4_32K_0613: 'gpt-4-32k-0613',
232-
O1_2024_12_17: 'o1-2024-12-17',
233223
GPT_4_5_PREVIEW: 'gpt-4.5-preview',
234224
GPT_4_5_PREVIEW_2025_02_27: 'gpt-4.5-preview-2025-02-27',
235225
GPT_4_TURBO: 'gpt-4-turbo',
236226
GPT_4_TURBO_2024_04_09: 'gpt-4-turbo-2024-04-09',
237227
GPT_4_TURBO_PREVIEW: 'gpt-4-turbo-preview',
238228
GPT_4_VISION_PREVIEW: 'gpt-4-vision-preview',
229+
GPT_5: 'gpt-5',
230+
GPT_5_2025_08_07: 'gpt-5-2025-08-07',
231+
GPT_5_MINI: 'gpt-5-mini',
232+
GPT_5_MINI_2025_08_07: 'gpt-5-mini-2025-08-07',
233+
GPT_5_NANO: 'gpt-5-nano',
234+
GPT_5_NANO_2025_08_07: 'gpt-5-nano-2025-08-07',
235+
O1: 'o1',
236+
O1_2024_12_17: 'o1-2024-12-17',
237+
O3_MINI: 'o3-mini',
238+
O3_MINI_2025_01_31: 'o3-mini-2025-01-31',
239239
} as const;
240240

241241
export type AssistantSupportedModels =
@@ -702,38 +702,58 @@ export type AuditLog = {
702702
/**
703703
* The details for events with this `type`.
704704
*/
705-
'user.added'?: {
706-
/**
707-
* The user ID.
708-
*/
709-
id?: string;
705+
'rate_limit.updated'?: {
710706
/**
711-
* The payload used to add the user to the project.
707+
* The payload used to update the rate limits.
712708
*/
713-
data?: {
709+
changes_requested?: {
714710
/**
715-
* The role of the user. Is either `owner` or `member`.
711+
* The maximum batch input tokens per day. Only relevant for certain models.
716712
*/
717-
role?: string;
713+
batch_1_day_max_input_tokens?: number;
714+
/**
715+
* The maximum audio megabytes per minute. Only relevant for certain models.
716+
*/
717+
max_audio_megabytes_per_1_minute?: number;
718+
/**
719+
* The maximum images per minute. Only relevant for certain models.
720+
*/
721+
max_images_per_1_minute?: number;
722+
/**
723+
* The maximum requests per day. Only relevant for certain models.
724+
*/
725+
max_requests_per_1_day?: number;
726+
/**
727+
* The maximum requests per minute.
728+
*/
729+
max_requests_per_1_minute?: number;
730+
/**
731+
* The maximum tokens per minute.
732+
*/
733+
max_tokens_per_1_minute?: number;
718734
};
735+
/**
736+
* The rate limit ID
737+
*/
738+
id?: string;
719739
};
720740
/**
721741
* The details for events with this `type`.
722742
*/
723-
'user.updated'?: {
724-
/**
725-
* The project ID.
726-
*/
727-
id?: string;
743+
'service_account.created'?: {
728744
/**
729-
* The payload used to update the user.
745+
* The payload used to create the service account.
730746
*/
731-
changes_requested?: {
747+
data?: {
732748
/**
733-
* The role of the user. Is either `owner` or `member`.
749+
* The role of the service account. Is either `owner` or `member`.
734750
*/
735751
role?: string;
736752
};
753+
/**
754+
* The service account ID.
755+
*/
756+
id?: string;
737757
};
738758
/**
739759
* The details for events with this `type`.
@@ -762,69 +782,49 @@ export type AuditLog = {
762782
*/
763783
id?: string;
764784
};
785+
type: AuditLogEventType;
765786
/**
766787
* The details for events with this `type`.
767788
*/
768-
'rate_limit.updated'?: {
789+
'user.added'?: {
769790
/**
770-
* The payload used to update the rate limits.
791+
* The payload used to add the user to the project.
771792
*/
772-
changes_requested?: {
773-
/**
774-
* The maximum requests per minute.
775-
*/
776-
max_requests_per_1_minute?: number;
777-
/**
778-
* The maximum tokens per minute.
779-
*/
780-
max_tokens_per_1_minute?: number;
781-
/**
782-
* The maximum images per minute. Only relevant for certain models.
783-
*/
784-
max_images_per_1_minute?: number;
785-
/**
786-
* The maximum audio megabytes per minute. Only relevant for certain models.
787-
*/
788-
max_audio_megabytes_per_1_minute?: number;
789-
/**
790-
* The maximum requests per day. Only relevant for certain models.
791-
*/
792-
max_requests_per_1_day?: number;
793+
data?: {
793794
/**
794-
* The maximum batch input tokens per day. Only relevant for certain models.
795+
* The role of the user. Is either `owner` or `member`.
795796
*/
796-
batch_1_day_max_input_tokens?: number;
797+
role?: string;
797798
};
798799
/**
799-
* The rate limit ID
800+
* The user ID.
800801
*/
801802
id?: string;
802803
};
803-
type: AuditLogEventType;
804804
/**
805805
* The details for events with this `type`.
806806
*/
807-
'service_account.created'?: {
808-
/**
809-
* The payload used to create the service account.
810-
*/
811-
data?: {
812-
/**
813-
* The role of the service account. Is either `owner` or `member`.
814-
*/
815-
role?: string;
816-
};
807+
'user.deleted'?: {
817808
/**
818-
* The service account ID.
809+
* The user ID.
819810
*/
820811
id?: string;
821812
};
822813
/**
823814
* The details for events with this `type`.
824815
*/
825-
'user.deleted'?: {
816+
'user.updated'?: {
826817
/**
827-
* The user ID.
818+
* The payload used to update the user.
819+
*/
820+
changes_requested?: {
821+
/**
822+
* The role of the user. Is either `owner` or `member`.
823+
*/
824+
role?: string;
825+
};
826+
/**
827+
* The project ID.
828828
*/
829829
id?: string;
830830
};
@@ -18135,69 +18135,69 @@ export type MessageContentDelta =
1813518135
} & MessageDeltaContentImageUrlObject);
1813618136

1813718137
export const ChatModel = {
18138-
GPT_4_1: 'gpt-4.1',
18139-
GPT_4_1_2025_04_14: 'gpt-4.1-2025-04-14',
18140-
GPT_4_1_MINI: 'gpt-4.1-mini',
18141-
GPT_4_1_MINI_2025_04_14: 'gpt-4.1-mini-2025-04-14',
18142-
GPT_4_1_NANO: 'gpt-4.1-nano',
1814318138
GPT_4O: 'gpt-4o',
18144-
GPT_4_1_NANO_2025_04_14: 'gpt-4.1-nano-2025-04-14',
18145-
GPT_4O_2024_08_06: 'gpt-4o-2024-08-06',
18146-
GPT_5: 'gpt-5',
18139+
CHATGPT_4O_LATEST: 'chatgpt-4o-latest',
1814718140
GPT_4O_2024_05_13: 'gpt-4o-2024-05-13',
18148-
GPT_5_2025_08_07: 'gpt-5-2025-08-07',
18141+
CODEX_MINI_LATEST: 'codex-mini-latest',
18142+
GPT_4O_2024_08_06: 'gpt-4o-2024-08-06',
1814918143
GPT_4O_2024_11_20: 'gpt-4o-2024-11-20',
18150-
GPT_5_CHAT_LATEST: 'gpt-5-chat-latest',
1815118144
GPT_4O_AUDIO_PREVIEW: 'gpt-4o-audio-preview',
18152-
GPT_5_MINI: 'gpt-5-mini',
1815318145
GPT_4O_AUDIO_PREVIEW_2024_10_01: 'gpt-4o-audio-preview-2024-10-01',
18154-
GPT_5_MINI_2025_08_07: 'gpt-5-mini-2025-08-07',
1815518146
GPT_4O_AUDIO_PREVIEW_2024_12_17: 'gpt-4o-audio-preview-2024-12-17',
18156-
GPT_5_NANO: 'gpt-5-nano',
18147+
GPT_4: 'gpt-4',
1815718148
GPT_4O_AUDIO_PREVIEW_2025_06_03: 'gpt-4o-audio-preview-2025-06-03',
18158-
GPT_5_NANO_2025_08_07: 'gpt-5-nano-2025-08-07',
18159-
CHATGPT_4O_LATEST: 'chatgpt-4o-latest',
18160-
O1: 'o1',
18161-
CODEX_MINI_LATEST: 'codex-mini-latest',
18162-
O1_2024_12_17: 'o1-2024-12-17',
1816318149
GPT_4O_MINI: 'gpt-4o-mini',
18164-
O1_MINI: 'o1-mini',
1816518150
GPT_4O_MINI_2024_07_18: 'gpt-4o-mini-2024-07-18',
18166-
O3: 'o3',
18167-
GPT_4: 'gpt-4',
18168-
O3_2025_04_16: 'o3-2025-04-16',
1816918151
GPT_4O_MINI_AUDIO_PREVIEW: 'gpt-4o-mini-audio-preview',
18170-
O4_MINI: 'o4-mini',
1817118152
GPT_4O_MINI_AUDIO_PREVIEW_2024_12_17: 'gpt-4o-mini-audio-preview-2024-12-17',
18172-
O4_MINI_2025_04_16: 'o4-mini-2025-04-16',
1817318153
GPT_3_5_TURBO: 'gpt-3.5-turbo',
18174-
O3_MINI: 'o3-mini',
18154+
GPT_4_1: 'gpt-4.1',
1817518155
GPT_3_5_TURBO_0301: 'gpt-3.5-turbo-0301',
18176-
O3_MINI_2025_01_31: 'o3-mini-2025-01-31',
18156+
GPT_4_1_2025_04_14: 'gpt-4.1-2025-04-14',
1817718157
GPT_3_5_TURBO_0613: 'gpt-3.5-turbo-0613',
18178-
O1_PREVIEW: 'o1-preview',
18158+
GPT_4_1_MINI: 'gpt-4.1-mini',
1817918159
GPT_3_5_TURBO_0125: 'gpt-3.5-turbo-0125',
18180-
O1_PREVIEW_2024_09_12: 'o1-preview-2024-09-12',
18160+
GPT_4_1_MINI_2025_04_14: 'gpt-4.1-mini-2025-04-14',
1818118161
GPT_3_5_TURBO_1106: 'gpt-3.5-turbo-1106',
18182-
O1_MINI_2024_09_12: 'o1-mini-2024-09-12',
18162+
GPT_4_1_NANO: 'gpt-4.1-nano',
1818318163
GPT_3_5_TURBO_16K: 'gpt-3.5-turbo-16k',
18184-
GPT_4O_MINI_SEARCH_PREVIEW: 'gpt-4o-mini-search-preview',
18164+
GPT_4_1_NANO_2025_04_14: 'gpt-4.1-nano-2025-04-14',
1818518165
GPT_3_5_TURBO_16K_0613: 'gpt-3.5-turbo-16k-0613',
18166+
GPT_5: 'gpt-5',
18167+
GPT_4O_MINI_SEARCH_PREVIEW: 'gpt-4o-mini-search-preview',
18168+
GPT_5_2025_08_07: 'gpt-5-2025-08-07',
1818618169
GPT_4O_MINI_SEARCH_PREVIEW_2025_03_11:
1818718170
'gpt-4o-mini-search-preview-2025-03-11',
18171+
GPT_5_CHAT_LATEST: 'gpt-5-chat-latest',
1818818172
GPT_4O_SEARCH_PREVIEW: 'gpt-4o-search-preview',
18173+
GPT_5_MINI: 'gpt-5-mini',
1818918174
GPT_4O_SEARCH_PREVIEW_2025_03_11: 'gpt-4o-search-preview-2025-03-11',
18175+
GPT_5_MINI_2025_08_07: 'gpt-5-mini-2025-08-07',
1819018176
GPT_4_0125_PREVIEW: 'gpt-4-0125-preview',
18177+
GPT_5_NANO: 'gpt-5-nano',
1819118178
GPT_4_0314: 'gpt-4-0314',
18179+
GPT_5_NANO_2025_08_07: 'gpt-5-nano-2025-08-07',
1819218180
GPT_4_0613: 'gpt-4-0613',
18181+
O1: 'o1',
1819318182
GPT_4_1106_PREVIEW: 'gpt-4-1106-preview',
18183+
O1_2024_12_17: 'o1-2024-12-17',
1819418184
GPT_4_32K: 'gpt-4-32k',
18185+
O1_MINI: 'o1-mini',
1819518186
GPT_4_32K_0314: 'gpt-4-32k-0314',
18187+
O3: 'o3',
1819618188
GPT_4_32K_0613: 'gpt-4-32k-0613',
18189+
O3_2025_04_16: 'o3-2025-04-16',
1819718190
GPT_4_TURBO: 'gpt-4-turbo',
18191+
O4_MINI: 'o4-mini',
1819818192
GPT_4_TURBO_2024_04_09: 'gpt-4-turbo-2024-04-09',
18193+
O4_MINI_2025_04_16: 'o4-mini-2025-04-16',
1819918194
GPT_4_TURBO_PREVIEW: 'gpt-4-turbo-preview',
18195+
O3_MINI: 'o3-mini',
1820018196
GPT_4_VISION_PREVIEW: 'gpt-4-vision-preview',
18197+
O3_MINI_2025_01_31: 'o3-mini-2025-01-31',
18198+
O1_MINI_2024_09_12: 'o1-mini-2024-09-12',
18199+
O1_PREVIEW: 'o1-preview',
18200+
O1_PREVIEW_2024_09_12: 'o1-preview-2024-09-12',
1820118201
} as const;
1820218202

1820318203
export type ChatModel = (typeof ChatModel)[keyof typeof ChatModel];

0 commit comments

Comments
 (0)