openai 0.59.0 → 0.61.0
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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +48 -0
- data/README.md +3 -3
- data/lib/openai/client.rb +84 -18
- data/lib/openai/internal/next_cursor_page.rb +92 -0
- data/lib/openai/internal/transport/base_client.rb +25 -3
- data/lib/openai/models/admin/organization/admin_api_key.rb +122 -0
- data/lib/openai/models/admin/organization/admin_api_key_create_params.rb +24 -0
- data/lib/openai/models/admin/organization/admin_api_key_create_response.rb +23 -0
- data/lib/openai/models/admin/organization/admin_api_key_delete_params.rb +26 -0
- data/lib/openai/models/admin/organization/admin_api_key_delete_response.rb +32 -0
- data/lib/openai/models/admin/organization/admin_api_key_list_params.rb +53 -0
- data/lib/openai/models/admin/organization/admin_api_key_retrieve_params.rb +26 -0
- data/lib/openai/models/admin/organization/audit_log_list_params.rb +209 -0
- data/lib/openai/models/admin/organization/audit_log_list_response.rb +2199 -0
- data/lib/openai/models/admin/organization/certificate.rb +122 -0
- data/lib/openai/models/admin/organization/certificate_activate_params.rb +24 -0
- data/lib/openai/models/admin/organization/certificate_activate_response.rb +83 -0
- data/lib/openai/models/admin/organization/certificate_create_params.rb +34 -0
- data/lib/openai/models/admin/organization/certificate_deactivate_params.rb +24 -0
- data/lib/openai/models/admin/organization/certificate_deactivate_response.rb +83 -0
- data/lib/openai/models/admin/organization/certificate_delete_params.rb +24 -0
- data/lib/openai/models/admin/organization/certificate_delete_response.rb +29 -0
- data/lib/openai/models/admin/organization/certificate_list_params.rb +62 -0
- data/lib/openai/models/admin/organization/certificate_list_response.rb +83 -0
- data/lib/openai/models/admin/organization/certificate_retrieve_params.rb +48 -0
- data/lib/openai/models/admin/organization/certificate_update_params.rb +33 -0
- data/lib/openai/models/admin/organization/group.rb +59 -0
- data/lib/openai/models/admin/organization/group_create_params.rb +26 -0
- data/lib/openai/models/admin/organization/group_delete_params.rb +24 -0
- data/lib/openai/models/admin/organization/group_delete_response.rb +39 -0
- data/lib/openai/models/admin/organization/group_list_params.rb +60 -0
- data/lib/openai/models/admin/organization/group_update_params.rb +33 -0
- data/lib/openai/models/admin/organization/group_update_response.rb +51 -0
- data/lib/openai/models/admin/organization/groups/organization_group_user.rb +41 -0
- data/lib/openai/models/admin/organization/groups/role_create_params.rb +35 -0
- data/lib/openai/models/admin/organization/groups/role_create_response.rb +87 -0
- data/lib/openai/models/admin/organization/groups/role_delete_params.rb +32 -0
- data/lib/openai/models/admin/organization/groups/role_delete_response.rb +38 -0
- data/lib/openai/models/admin/organization/groups/role_list_params.rb +66 -0
- data/lib/openai/models/admin/organization/groups/role_list_response.rb +108 -0
- data/lib/openai/models/admin/organization/groups/user_create_params.rb +35 -0
- data/lib/openai/models/admin/organization/groups/user_create_response.rb +41 -0
- data/lib/openai/models/admin/organization/groups/user_delete_params.rb +32 -0
- data/lib/openai/models/admin/organization/groups/user_delete_response.rb +33 -0
- data/lib/openai/models/admin/organization/groups/user_list_params.rb +67 -0
- data/lib/openai/models/admin/organization/invite.rb +146 -0
- data/lib/openai/models/admin/organization/invite_create_params.rb +91 -0
- data/lib/openai/models/admin/organization/invite_delete_params.rb +24 -0
- data/lib/openai/models/admin/organization/invite_delete_response.rb +35 -0
- data/lib/openai/models/admin/organization/invite_list_params.rb +41 -0
- data/lib/openai/models/admin/organization/invite_retrieve_params.rb +24 -0
- data/lib/openai/models/admin/organization/organization_user.rb +242 -0
- data/lib/openai/models/admin/organization/project.rb +71 -0
- data/lib/openai/models/admin/organization/project_archive_params.rb +24 -0
- data/lib/openai/models/admin/organization/project_create_params.rb +48 -0
- data/lib/openai/models/admin/organization/project_list_params.rb +50 -0
- data/lib/openai/models/admin/organization/project_retrieve_params.rb +24 -0
- data/lib/openai/models/admin/organization/project_update_params.rb +49 -0
- data/lib/openai/models/admin/organization/projects/api_key_delete_params.rb +32 -0
- data/lib/openai/models/admin/organization/projects/api_key_delete_response.rb +34 -0
- data/lib/openai/models/admin/organization/projects/api_key_list_params.rb +51 -0
- data/lib/openai/models/admin/organization/projects/api_key_retrieve_params.rb +32 -0
- data/lib/openai/models/admin/organization/projects/certificate_activate_params.rb +32 -0
- data/lib/openai/models/admin/organization/projects/certificate_activate_response.rb +85 -0
- data/lib/openai/models/admin/organization/projects/certificate_deactivate_params.rb +32 -0
- data/lib/openai/models/admin/organization/projects/certificate_deactivate_response.rb +85 -0
- data/lib/openai/models/admin/organization/projects/certificate_list_params.rb +72 -0
- data/lib/openai/models/admin/organization/projects/certificate_list_response.rb +85 -0
- data/lib/openai/models/admin/organization/projects/group_create_params.rb +43 -0
- data/lib/openai/models/admin/organization/projects/group_delete_params.rb +32 -0
- data/lib/openai/models/admin/organization/projects/group_delete_response.rb +33 -0
- data/lib/openai/models/admin/organization/projects/group_list_params.rb +67 -0
- data/lib/openai/models/admin/organization/projects/groups/role_create_params.rb +44 -0
- data/lib/openai/models/admin/organization/projects/groups/role_create_response.rb +89 -0
- data/lib/openai/models/admin/organization/projects/groups/role_delete_params.rb +40 -0
- data/lib/openai/models/admin/organization/projects/groups/role_delete_response.rb +40 -0
- data/lib/openai/models/admin/organization/projects/groups/role_list_params.rb +76 -0
- data/lib/openai/models/admin/organization/projects/groups/role_list_response.rb +110 -0
- data/lib/openai/models/admin/organization/projects/project_api_key.rb +200 -0
- data/lib/openai/models/admin/organization/projects/project_group.rb +67 -0
- data/lib/openai/models/admin/organization/projects/project_rate_limit.rb +91 -0
- data/lib/openai/models/admin/organization/projects/project_service_account.rb +72 -0
- data/lib/openai/models/admin/organization/projects/project_user.rb +67 -0
- data/lib/openai/models/admin/organization/projects/rate_limit_list_rate_limits_params.rb +61 -0
- data/lib/openai/models/admin/organization/projects/rate_limit_update_rate_limit_params.rb +82 -0
- data/lib/openai/models/admin/organization/projects/role_create_params.rb +51 -0
- data/lib/openai/models/admin/organization/projects/role_delete_params.rb +32 -0
- data/lib/openai/models/admin/organization/projects/role_delete_response.rb +41 -0
- data/lib/openai/models/admin/organization/projects/role_list_params.rb +67 -0
- data/lib/openai/models/admin/organization/projects/role_update_params.rb +58 -0
- data/lib/openai/models/admin/organization/projects/service_account_create_params.rb +35 -0
- data/lib/openai/models/admin/organization/projects/service_account_create_response.rb +100 -0
- data/lib/openai/models/admin/organization/projects/service_account_delete_params.rb +32 -0
- data/lib/openai/models/admin/organization/projects/service_account_delete_response.rb +34 -0
- data/lib/openai/models/admin/organization/projects/service_account_list_params.rb +51 -0
- data/lib/openai/models/admin/organization/projects/service_account_retrieve_params.rb +32 -0
- data/lib/openai/models/admin/organization/projects/user_create_params.rb +51 -0
- data/lib/openai/models/admin/organization/projects/user_delete_params.rb +32 -0
- data/lib/openai/models/admin/organization/projects/user_delete_response.rb +34 -0
- data/lib/openai/models/admin/organization/projects/user_list_params.rb +51 -0
- data/lib/openai/models/admin/organization/projects/user_retrieve_params.rb +32 -0
- data/lib/openai/models/admin/organization/projects/user_update_params.rb +42 -0
- data/lib/openai/models/admin/organization/projects/users/role_create_params.rb +44 -0
- data/lib/openai/models/admin/organization/projects/users/role_create_response.rb +43 -0
- data/lib/openai/models/admin/organization/projects/users/role_delete_params.rb +40 -0
- data/lib/openai/models/admin/organization/projects/users/role_delete_response.rb +40 -0
- data/lib/openai/models/admin/organization/projects/users/role_list_params.rb +76 -0
- data/lib/openai/models/admin/organization/projects/users/role_list_response.rb +110 -0
- data/lib/openai/models/admin/organization/role.rb +75 -0
- data/lib/openai/models/admin/organization/role_create_params.rb +42 -0
- data/lib/openai/models/admin/organization/role_delete_params.rb +24 -0
- data/lib/openai/models/admin/organization/role_delete_response.rb +39 -0
- data/lib/openai/models/admin/organization/role_list_params.rb +57 -0
- data/lib/openai/models/admin/organization/role_update_params.rb +49 -0
- data/lib/openai/models/admin/organization/usage_audio_speeches_params.rb +135 -0
- data/lib/openai/models/admin/organization/usage_audio_speeches_response.rb +735 -0
- data/lib/openai/models/admin/organization/usage_audio_transcriptions_params.rb +136 -0
- data/lib/openai/models/admin/organization/usage_audio_transcriptions_response.rb +735 -0
- data/lib/openai/models/admin/organization/usage_code_interpreter_sessions_params.rb +109 -0
- data/lib/openai/models/admin/organization/usage_code_interpreter_sessions_response.rb +735 -0
- data/lib/openai/models/admin/organization/usage_completions_params.rb +146 -0
- data/lib/openai/models/admin/organization/usage_completions_response.rb +735 -0
- data/lib/openai/models/admin/organization/usage_costs_params.rb +112 -0
- data/lib/openai/models/admin/organization/usage_costs_response.rb +735 -0
- data/lib/openai/models/admin/organization/usage_embeddings_params.rb +134 -0
- data/lib/openai/models/admin/organization/usage_embeddings_response.rb +735 -0
- data/lib/openai/models/admin/organization/usage_images_params.rb +181 -0
- data/lib/openai/models/admin/organization/usage_images_response.rb +735 -0
- data/lib/openai/models/admin/organization/usage_moderations_params.rb +134 -0
- data/lib/openai/models/admin/organization/usage_moderations_response.rb +735 -0
- data/lib/openai/models/admin/organization/usage_vector_stores_params.rb +107 -0
- data/lib/openai/models/admin/organization/usage_vector_stores_response.rb +735 -0
- data/lib/openai/models/admin/organization/user_delete_params.rb +24 -0
- data/lib/openai/models/admin/organization/user_delete_response.rb +32 -0
- data/lib/openai/models/admin/organization/user_list_params.rb +49 -0
- data/lib/openai/models/admin/organization/user_retrieve_params.rb +24 -0
- data/lib/openai/models/admin/organization/user_update_params.rb +57 -0
- data/lib/openai/models/admin/organization/users/role_create_params.rb +35 -0
- data/lib/openai/models/admin/organization/users/role_create_response.rb +41 -0
- data/lib/openai/models/admin/organization/users/role_delete_params.rb +32 -0
- data/lib/openai/models/admin/organization/users/role_delete_response.rb +38 -0
- data/lib/openai/models/admin/organization/users/role_list_params.rb +66 -0
- data/lib/openai/models/admin/organization/users/role_list_response.rb +108 -0
- data/lib/openai/models/chat/completion_create_params.rb +1 -1
- data/lib/openai/models/responses/response.rb +1 -1
- data/lib/openai/models/responses/response_compact_params.rb +22 -1
- data/lib/openai/models/responses/response_create_params.rb +1 -1
- data/lib/openai/models/responses/responses_client_event.rb +1 -1
- data/lib/openai/models.rb +2 -0
- data/lib/openai/resources/admin/organization/admin_api_keys.rb +111 -0
- data/lib/openai/resources/admin/organization/audit_logs.rb +63 -0
- data/lib/openai/resources/admin/organization/certificates.rb +208 -0
- data/lib/openai/resources/admin/organization/groups/roles.rb +107 -0
- data/lib/openai/resources/admin/organization/groups/users.rb +107 -0
- data/lib/openai/resources/admin/organization/groups.rb +127 -0
- data/lib/openai/resources/admin/organization/invites.rb +121 -0
- data/lib/openai/resources/admin/organization/projects/api_keys.rb +112 -0
- data/lib/openai/resources/admin/organization/projects/certificates.rb +110 -0
- data/lib/openai/resources/admin/organization/projects/groups/roles.rb +128 -0
- data/lib/openai/resources/admin/organization/projects/groups.rb +114 -0
- data/lib/openai/resources/admin/organization/projects/rate_limits.rb +102 -0
- data/lib/openai/resources/admin/organization/projects/roles.rb +147 -0
- data/lib/openai/resources/admin/organization/projects/service_accounts.rb +139 -0
- data/lib/openai/resources/admin/organization/projects/users/roles.rb +128 -0
- data/lib/openai/resources/admin/organization/projects/users.rb +177 -0
- data/lib/openai/resources/admin/organization/projects.rb +181 -0
- data/lib/openai/resources/admin/organization/roles.rb +127 -0
- data/lib/openai/resources/admin/organization/usage.rb +416 -0
- data/lib/openai/resources/admin/organization/users/roles.rb +107 -0
- data/lib/openai/resources/admin/organization/users.rb +127 -0
- data/lib/openai/resources/admin/organization.rb +53 -0
- data/lib/openai/resources/admin.rb +18 -0
- data/lib/openai/resources/audio/speech.rb +1 -0
- data/lib/openai/resources/audio/transcriptions.rb +7 -1
- data/lib/openai/resources/audio/translations.rb +1 -0
- data/lib/openai/resources/batches.rb +11 -1
- data/lib/openai/resources/beta/assistants.rb +5 -0
- data/lib/openai/resources/beta/chatkit/sessions.rb +2 -0
- data/lib/openai/resources/beta/chatkit/threads.rb +4 -0
- data/lib/openai/resources/beta/threads/messages.rb +5 -0
- data/lib/openai/resources/beta/threads/runs/steps.rb +2 -0
- data/lib/openai/resources/beta/threads/runs.rb +10 -2
- data/lib/openai/resources/beta/threads.rb +7 -1
- data/lib/openai/resources/chat/completions/messages.rb +1 -0
- data/lib/openai/resources/chat/completions.rb +8 -1
- data/lib/openai/resources/completions.rb +3 -1
- data/lib/openai/resources/containers/files/content.rb +1 -0
- data/lib/openai/resources/containers/files.rb +4 -0
- data/lib/openai/resources/containers.rb +4 -0
- data/lib/openai/resources/conversations/items.rb +4 -0
- data/lib/openai/resources/conversations.rb +4 -0
- data/lib/openai/resources/embeddings.rb +1 -0
- data/lib/openai/resources/evals/runs/output_items.rb +2 -0
- data/lib/openai/resources/evals/runs.rb +5 -0
- data/lib/openai/resources/evals.rb +5 -0
- data/lib/openai/resources/files.rb +13 -1
- data/lib/openai/resources/fine_tuning/alpha/graders.rb +2 -0
- data/lib/openai/resources/fine_tuning/checkpoints/permissions.rb +4 -0
- data/lib/openai/resources/fine_tuning/jobs/checkpoints.rb +1 -0
- data/lib/openai/resources/fine_tuning/jobs.rb +7 -0
- data/lib/openai/resources/images.rb +11 -2
- data/lib/openai/resources/models.rb +3 -0
- data/lib/openai/resources/moderations.rb +1 -0
- data/lib/openai/resources/realtime/calls.rb +4 -0
- data/lib/openai/resources/realtime/client_secrets.rb +1 -0
- data/lib/openai/resources/responses/input_items.rb +1 -0
- data/lib/openai/resources/responses/input_tokens.rb +1 -0
- data/lib/openai/resources/responses.rb +14 -3
- data/lib/openai/resources/skills/content.rb +1 -0
- data/lib/openai/resources/skills/versions/content.rb +1 -0
- data/lib/openai/resources/skills/versions.rb +4 -0
- data/lib/openai/resources/skills.rb +5 -0
- data/lib/openai/resources/uploads/parts.rb +1 -0
- data/lib/openai/resources/uploads.rb +10 -1
- data/lib/openai/resources/vector_stores/file_batches.rb +4 -0
- data/lib/openai/resources/vector_stores/files.rb +6 -0
- data/lib/openai/resources/vector_stores.rb +6 -0
- data/lib/openai/resources/videos.rb +10 -0
- data/lib/openai/version.rb +1 -1
- data/lib/openai.rb +162 -0
- data/rbi/openai/client.rbi +31 -3
- data/rbi/openai/internal/next_cursor_page.rbi +25 -0
- data/rbi/openai/internal/transport/base_client.rbi +10 -1
- data/rbi/openai/models/admin/organization/admin_api_key.rbi +191 -0
- data/rbi/openai/models/admin/organization/admin_api_key_create_params.rbi +42 -0
- data/rbi/openai/models/admin/organization/admin_api_key_create_response.rbi +35 -0
- data/rbi/openai/models/admin/organization/admin_api_key_delete_params.rbi +47 -0
- data/rbi/openai/models/admin/organization/admin_api_key_delete_response.rbi +48 -0
- data/rbi/openai/models/admin/organization/admin_api_key_list_params.rbi +120 -0
- data/rbi/openai/models/admin/organization/admin_api_key_retrieve_params.rbi +47 -0
- data/rbi/openai/models/admin/organization/audit_log_list_params.rbi +550 -0
- data/rbi/openai/models/admin/organization/audit_log_list_response.rbi +5102 -0
- data/rbi/openai/models/admin/organization/certificate.rbi +222 -0
- data/rbi/openai/models/admin/organization/certificate_activate_params.rbi +45 -0
- data/rbi/openai/models/admin/organization/certificate_activate_response.rbi +138 -0
- data/rbi/openai/models/admin/organization/certificate_create_params.rbi +61 -0
- data/rbi/openai/models/admin/organization/certificate_deactivate_params.rbi +45 -0
- data/rbi/openai/models/admin/organization/certificate_deactivate_response.rbi +138 -0
- data/rbi/openai/models/admin/organization/certificate_delete_params.rbi +45 -0
- data/rbi/openai/models/admin/organization/certificate_delete_response.rbi +40 -0
- data/rbi/openai/models/admin/organization/certificate_list_params.rbi +134 -0
- data/rbi/openai/models/admin/organization/certificate_list_response.rbi +138 -0
- data/rbi/openai/models/admin/organization/certificate_retrieve_params.rbi +111 -0
- data/rbi/openai/models/admin/organization/certificate_update_params.rbi +59 -0
- data/rbi/openai/models/admin/organization/group.rbi +79 -0
- data/rbi/openai/models/admin/organization/group_create_params.rbi +47 -0
- data/rbi/openai/models/admin/organization/group_delete_params.rbi +42 -0
- data/rbi/openai/models/admin/organization/group_delete_response.rbi +55 -0
- data/rbi/openai/models/admin/organization/group_list_params.rbi +131 -0
- data/rbi/openai/models/admin/organization/group_update_params.rbi +56 -0
- data/rbi/openai/models/admin/organization/group_update_response.rbi +71 -0
- data/rbi/openai/models/admin/organization/groups/organization_group_user.rbi +59 -0
- data/rbi/openai/models/admin/organization/groups/role_create_params.rbi +58 -0
- data/rbi/openai/models/admin/organization/groups/role_create_response.rbi +148 -0
- data/rbi/openai/models/admin/organization/groups/role_delete_params.rbi +52 -0
- data/rbi/openai/models/admin/organization/groups/role_delete_response.rbi +49 -0
- data/rbi/openai/models/admin/organization/groups/role_list_params.rbi +133 -0
- data/rbi/openai/models/admin/organization/groups/role_list_response.rbi +128 -0
- data/rbi/openai/models/admin/organization/groups/user_create_params.rbi +58 -0
- data/rbi/openai/models/admin/organization/groups/user_create_response.rbi +57 -0
- data/rbi/openai/models/admin/organization/groups/user_delete_params.rbi +52 -0
- data/rbi/openai/models/admin/organization/groups/user_delete_response.rbi +47 -0
- data/rbi/openai/models/admin/organization/groups/user_list_params.rbi +135 -0
- data/rbi/openai/models/admin/organization/invite.rbi +271 -0
- data/rbi/openai/models/admin/organization/invite_create_params.rbi +219 -0
- data/rbi/openai/models/admin/organization/invite_delete_params.rbi +42 -0
- data/rbi/openai/models/admin/organization/invite_delete_response.rbi +50 -0
- data/rbi/openai/models/admin/organization/invite_list_params.rbi +72 -0
- data/rbi/openai/models/admin/organization/invite_retrieve_params.rbi +42 -0
- data/rbi/openai/models/admin/organization/organization_user.rbi +376 -0
- data/rbi/openai/models/admin/organization/project.rbi +93 -0
- data/rbi/openai/models/admin/organization/project_archive_params.rbi +42 -0
- data/rbi/openai/models/admin/organization/project_create_params.rbi +72 -0
- data/rbi/openai/models/admin/organization/project_list_params.rbi +85 -0
- data/rbi/openai/models/admin/organization/project_retrieve_params.rbi +42 -0
- data/rbi/openai/models/admin/organization/project_update_params.rbi +72 -0
- data/rbi/openai/models/admin/organization/projects/api_key_delete_params.rbi +52 -0
- data/rbi/openai/models/admin/organization/projects/api_key_delete_response.rbi +50 -0
- data/rbi/openai/models/admin/organization/projects/api_key_list_params.rbi +80 -0
- data/rbi/openai/models/admin/organization/projects/api_key_retrieve_params.rbi +52 -0
- data/rbi/openai/models/admin/organization/projects/certificate_activate_params.rbi +52 -0
- data/rbi/openai/models/admin/organization/projects/certificate_activate_response.rbi +142 -0
- data/rbi/openai/models/admin/organization/projects/certificate_deactivate_params.rbi +52 -0
- data/rbi/openai/models/admin/organization/projects/certificate_deactivate_response.rbi +142 -0
- data/rbi/openai/models/admin/organization/projects/certificate_list_params.rbi +142 -0
- data/rbi/openai/models/admin/organization/projects/certificate_list_response.rbi +142 -0
- data/rbi/openai/models/admin/organization/projects/group_create_params.rbi +66 -0
- data/rbi/openai/models/admin/organization/projects/group_delete_params.rbi +52 -0
- data/rbi/openai/models/admin/organization/projects/group_delete_response.rbi +47 -0
- data/rbi/openai/models/admin/organization/projects/group_list_params.rbi +133 -0
- data/rbi/openai/models/admin/organization/projects/groups/role_create_params.rbi +66 -0
- data/rbi/openai/models/admin/organization/projects/groups/role_create_response.rbi +152 -0
- data/rbi/openai/models/admin/organization/projects/groups/role_delete_params.rbi +64 -0
- data/rbi/openai/models/admin/organization/projects/groups/role_delete_response.rbi +51 -0
- data/rbi/openai/models/admin/organization/projects/groups/role_list_params.rbi +141 -0
- data/rbi/openai/models/admin/organization/projects/groups/role_list_response.rbi +130 -0
- data/rbi/openai/models/admin/organization/projects/project_api_key.rbi +371 -0
- data/rbi/openai/models/admin/organization/projects/project_group.rbi +89 -0
- data/rbi/openai/models/admin/organization/projects/project_rate_limit.rbi +125 -0
- data/rbi/openai/models/admin/organization/projects/project_service_account.rbi +122 -0
- data/rbi/openai/models/admin/organization/projects/project_user.rbi +89 -0
- data/rbi/openai/models/admin/organization/projects/rate_limit_list_rate_limits_params.rbi +95 -0
- data/rbi/openai/models/admin/organization/projects/rate_limit_update_rate_limit_params.rbi +122 -0
- data/rbi/openai/models/admin/organization/projects/role_create_params.rbi +74 -0
- data/rbi/openai/models/admin/organization/projects/role_delete_params.rbi +52 -0
- data/rbi/openai/models/admin/organization/projects/role_delete_response.rbi +57 -0
- data/rbi/openai/models/admin/organization/projects/role_list_params.rbi +133 -0
- data/rbi/openai/models/admin/organization/projects/role_update_params.rbi +80 -0
- data/rbi/openai/models/admin/organization/projects/service_account_create_params.rbi +58 -0
- data/rbi/openai/models/admin/organization/projects/service_account_create_response.rbi +157 -0
- data/rbi/openai/models/admin/organization/projects/service_account_delete_params.rbi +52 -0
- data/rbi/openai/models/admin/organization/projects/service_account_delete_response.rbi +50 -0
- data/rbi/openai/models/admin/organization/projects/service_account_list_params.rbi +80 -0
- data/rbi/openai/models/admin/organization/projects/service_account_retrieve_params.rbi +52 -0
- data/rbi/openai/models/admin/organization/projects/user_create_params.rbi +74 -0
- data/rbi/openai/models/admin/organization/projects/user_delete_params.rbi +52 -0
- data/rbi/openai/models/admin/organization/projects/user_delete_response.rbi +50 -0
- data/rbi/openai/models/admin/organization/projects/user_list_params.rbi +80 -0
- data/rbi/openai/models/admin/organization/projects/user_retrieve_params.rbi +52 -0
- data/rbi/openai/models/admin/organization/projects/user_update_params.rbi +64 -0
- data/rbi/openai/models/admin/organization/projects/users/role_create_params.rbi +66 -0
- data/rbi/openai/models/admin/organization/projects/users/role_create_response.rbi +77 -0
- data/rbi/openai/models/admin/organization/projects/users/role_delete_params.rbi +59 -0
- data/rbi/openai/models/admin/organization/projects/users/role_delete_response.rbi +51 -0
- data/rbi/openai/models/admin/organization/projects/users/role_list_params.rbi +141 -0
- data/rbi/openai/models/admin/organization/projects/users/role_list_response.rbi +130 -0
- data/rbi/openai/models/admin/organization/role.rbi +95 -0
- data/rbi/openai/models/admin/organization/role_create_params.rbi +66 -0
- data/rbi/openai/models/admin/organization/role_delete_params.rbi +42 -0
- data/rbi/openai/models/admin/organization/role_delete_response.rbi +55 -0
- data/rbi/openai/models/admin/organization/role_list_params.rbi +125 -0
- data/rbi/openai/models/admin/organization/role_update_params.rbi +72 -0
- data/rbi/openai/models/admin/organization/usage_audio_speeches_params.rbi +282 -0
- data/rbi/openai/models/admin/organization/usage_audio_speeches_response.rbi +1029 -0
- data/rbi/openai/models/admin/organization/usage_audio_transcriptions_params.rbi +282 -0
- data/rbi/openai/models/admin/organization/usage_audio_transcriptions_response.rbi +1029 -0
- data/rbi/openai/models/admin/organization/usage_code_interpreter_sessions_params.rbi +234 -0
- data/rbi/openai/models/admin/organization/usage_code_interpreter_sessions_response.rbi +1029 -0
- data/rbi/openai/models/admin/organization/usage_completions_params.rbi +307 -0
- data/rbi/openai/models/admin/organization/usage_completions_response.rbi +1029 -0
- data/rbi/openai/models/admin/organization/usage_costs_params.rbi +239 -0
- data/rbi/openai/models/admin/organization/usage_costs_response.rbi +1029 -0
- data/rbi/openai/models/admin/organization/usage_embeddings_params.rbi +282 -0
- data/rbi/openai/models/admin/organization/usage_embeddings_response.rbi +1029 -0
- data/rbi/openai/models/admin/organization/usage_images_params.rbi +450 -0
- data/rbi/openai/models/admin/organization/usage_images_response.rbi +1029 -0
- data/rbi/openai/models/admin/organization/usage_moderations_params.rbi +282 -0
- data/rbi/openai/models/admin/organization/usage_moderations_response.rbi +1029 -0
- data/rbi/openai/models/admin/organization/usage_vector_stores_params.rbi +234 -0
- data/rbi/openai/models/admin/organization/usage_vector_stores_response.rbi +1029 -0
- data/rbi/openai/models/admin/organization/user_delete_params.rbi +42 -0
- data/rbi/openai/models/admin/organization/user_delete_response.rbi +44 -0
- data/rbi/openai/models/admin/organization/user_list_params.rbi +83 -0
- data/rbi/openai/models/admin/organization/user_retrieve_params.rbi +42 -0
- data/rbi/openai/models/admin/organization/user_update_params.rbi +80 -0
- data/rbi/openai/models/admin/organization/users/role_create_params.rbi +58 -0
- data/rbi/openai/models/admin/organization/users/role_create_response.rbi +73 -0
- data/rbi/openai/models/admin/organization/users/role_delete_params.rbi +52 -0
- data/rbi/openai/models/admin/organization/users/role_delete_response.rbi +49 -0
- data/rbi/openai/models/admin/organization/users/role_list_params.rbi +133 -0
- data/rbi/openai/models/admin/organization/users/role_list_response.rbi +128 -0
- data/rbi/openai/models/chat/completion_create_params.rbi +1 -1
- data/rbi/openai/models/responses/response.rbi +1 -1
- data/rbi/openai/models/responses/response_compact_params.rbi +55 -0
- data/rbi/openai/models/responses/response_create_params.rbi +1 -1
- data/rbi/openai/models/responses/responses_client_event.rbi +1 -1
- data/rbi/openai/models.rbi +2 -0
- data/rbi/openai/resources/admin/organization/admin_api_keys.rbi +83 -0
- data/rbi/openai/resources/admin/organization/audit_logs.rbi +74 -0
- data/rbi/openai/resources/admin/organization/certificates.rbi +156 -0
- data/rbi/openai/resources/admin/organization/groups/roles.rbi +85 -0
- data/rbi/openai/resources/admin/organization/groups/users.rbi +86 -0
- data/rbi/openai/resources/admin/organization/groups.rbi +96 -0
- data/rbi/openai/resources/admin/organization/invites.rbi +96 -0
- data/rbi/openai/resources/admin/organization/projects/api_keys.rbi +85 -0
- data/rbi/openai/resources/admin/organization/projects/certificates.rbi +94 -0
- data/rbi/openai/resources/admin/organization/projects/groups/roles.rbi +96 -0
- data/rbi/openai/resources/admin/organization/projects/groups.rbi +93 -0
- data/rbi/openai/resources/admin/organization/projects/rate_limits.rbi +88 -0
- data/rbi/openai/resources/admin/organization/projects/roles.rbi +115 -0
- data/rbi/openai/resources/admin/organization/projects/service_accounts.rbi +107 -0
- data/rbi/openai/resources/admin/organization/projects/users/roles.rbi +96 -0
- data/rbi/openai/resources/admin/organization/projects/users.rbi +136 -0
- data/rbi/openai/resources/admin/organization/projects.rbi +162 -0
- data/rbi/openai/resources/admin/organization/roles.rbi +99 -0
- data/rbi/openai/resources/admin/organization/usage.rbi +491 -0
- data/rbi/openai/resources/admin/organization/users/roles.rbi +85 -0
- data/rbi/openai/resources/admin/organization/users.rbi +101 -0
- data/rbi/openai/resources/admin/organization.rbi +42 -0
- data/rbi/openai/resources/admin.rbi +15 -0
- data/rbi/openai/resources/files.rbi +8 -1
- data/rbi/openai/resources/responses.rbi +6 -0
- data/sig/openai/client.rbs +16 -2
- data/sig/openai/internal/next_cursor_page.rbs +15 -0
- data/sig/openai/internal/transport/base_client.rbs +2 -0
- data/sig/openai/models/admin/organization/admin_api_key.rbs +108 -0
- data/sig/openai/models/admin/organization/admin_api_key_create_params.rbs +27 -0
- data/sig/openai/models/admin/organization/admin_api_key_create_response.rbs +19 -0
- data/sig/openai/models/admin/organization/admin_api_key_delete_params.rbs +27 -0
- data/sig/openai/models/admin/organization/admin_api_key_delete_response.rbs +34 -0
- data/sig/openai/models/admin/organization/admin_api_key_list_params.rbs +57 -0
- data/sig/openai/models/admin/organization/admin_api_key_retrieve_params.rbs +27 -0
- data/sig/openai/models/admin/organization/audit_log_list_params.rbs +238 -0
- data/sig/openai/models/admin/organization/audit_log_list_response.rbs +2175 -0
- data/sig/openai/models/admin/organization/certificate.rbs +95 -0
- data/sig/openai/models/admin/organization/certificate_activate_params.rbs +28 -0
- data/sig/openai/models/admin/organization/certificate_activate_response.rbs +65 -0
- data/sig/openai/models/admin/organization/certificate_create_params.rbs +34 -0
- data/sig/openai/models/admin/organization/certificate_deactivate_params.rbs +28 -0
- data/sig/openai/models/admin/organization/certificate_deactivate_response.rbs +65 -0
- data/sig/openai/models/admin/organization/certificate_delete_params.rbs +28 -0
- data/sig/openai/models/admin/organization/certificate_delete_response.rbs +20 -0
- data/sig/openai/models/admin/organization/certificate_list_params.rbs +59 -0
- data/sig/openai/models/admin/organization/certificate_list_response.rbs +65 -0
- data/sig/openai/models/admin/organization/certificate_retrieve_params.rbs +49 -0
- data/sig/openai/models/admin/organization/certificate_update_params.rbs +34 -0
- data/sig/openai/models/admin/organization/group.rbs +44 -0
- data/sig/openai/models/admin/organization/group_create_params.rbs +27 -0
- data/sig/openai/models/admin/organization/group_delete_params.rbs +27 -0
- data/sig/openai/models/admin/organization/group_delete_response.rbs +30 -0
- data/sig/openai/models/admin/organization/group_list_params.rbs +59 -0
- data/sig/openai/models/admin/organization/group_update_params.rbs +32 -0
- data/sig/openai/models/admin/organization/group_update_response.rbs +39 -0
- data/sig/openai/models/admin/organization/groups/organization_group_user.rbs +24 -0
- data/sig/openai/models/admin/organization/groups/role_create_params.rbs +34 -0
- data/sig/openai/models/admin/organization/groups/role_create_response.rbs +73 -0
- data/sig/openai/models/admin/organization/groups/role_delete_params.rbs +34 -0
- data/sig/openai/models/admin/organization/groups/role_delete_response.rbs +21 -0
- data/sig/openai/models/admin/organization/groups/role_list_params.rbs +66 -0
- data/sig/openai/models/admin/organization/groups/role_list_response.rbs +76 -0
- data/sig/openai/models/admin/organization/groups/user_create_params.rbs +34 -0
- data/sig/openai/models/admin/organization/groups/user_create_response.rbs +32 -0
- data/sig/openai/models/admin/organization/groups/user_delete_params.rbs +34 -0
- data/sig/openai/models/admin/organization/groups/user_delete_response.rbs +25 -0
- data/sig/openai/models/admin/organization/groups/user_list_params.rbs +66 -0
- data/sig/openai/models/admin/organization/invite.rbs +120 -0
- data/sig/openai/models/admin/organization/invite_create_params.rbs +88 -0
- data/sig/openai/models/admin/organization/invite_delete_params.rbs +27 -0
- data/sig/openai/models/admin/organization/invite_delete_response.rbs +30 -0
- data/sig/openai/models/admin/organization/invite_list_params.rbs +36 -0
- data/sig/openai/models/admin/organization/invite_retrieve_params.rbs +27 -0
- data/sig/openai/models/admin/organization/organization_user.rbs +205 -0
- data/sig/openai/models/admin/organization/project.rbs +54 -0
- data/sig/openai/models/admin/organization/project_archive_params.rbs +27 -0
- data/sig/openai/models/admin/organization/project_create_params.rbs +36 -0
- data/sig/openai/models/admin/organization/project_list_params.rbs +42 -0
- data/sig/openai/models/admin/organization/project_retrieve_params.rbs +27 -0
- data/sig/openai/models/admin/organization/project_update_params.rbs +45 -0
- data/sig/openai/models/admin/organization/projects/api_key_delete_params.rbs +34 -0
- data/sig/openai/models/admin/organization/projects/api_key_delete_response.rbs +36 -0
- data/sig/openai/models/admin/organization/projects/api_key_list_params.rbs +42 -0
- data/sig/openai/models/admin/organization/projects/api_key_retrieve_params.rbs +34 -0
- data/sig/openai/models/admin/organization/projects/certificate_activate_params.rbs +34 -0
- data/sig/openai/models/admin/organization/projects/certificate_activate_response.rbs +68 -0
- data/sig/openai/models/admin/organization/projects/certificate_deactivate_params.rbs +34 -0
- data/sig/openai/models/admin/organization/projects/certificate_deactivate_response.rbs +68 -0
- data/sig/openai/models/admin/organization/projects/certificate_list_params.rbs +66 -0
- data/sig/openai/models/admin/organization/projects/certificate_list_response.rbs +68 -0
- data/sig/openai/models/admin/organization/projects/group_create_params.rbs +38 -0
- data/sig/openai/models/admin/organization/projects/group_delete_params.rbs +34 -0
- data/sig/openai/models/admin/organization/projects/group_delete_response.rbs +25 -0
- data/sig/openai/models/admin/organization/projects/group_list_params.rbs +66 -0
- data/sig/openai/models/admin/organization/projects/groups/role_create_params.rbs +40 -0
- data/sig/openai/models/admin/organization/projects/groups/role_create_response.rbs +75 -0
- data/sig/openai/models/admin/organization/projects/groups/role_delete_params.rbs +40 -0
- data/sig/openai/models/admin/organization/projects/groups/role_delete_response.rbs +23 -0
- data/sig/openai/models/admin/organization/projects/groups/role_list_params.rbs +73 -0
- data/sig/openai/models/admin/organization/projects/groups/role_list_response.rbs +78 -0
- data/sig/openai/models/admin/organization/projects/project_api_key.rbs +172 -0
- data/sig/openai/models/admin/organization/projects/project_group.rbs +53 -0
- data/sig/openai/models/admin/organization/projects/project_rate_limit.rbs +76 -0
- data/sig/openai/models/admin/organization/projects/project_service_account.rbs +59 -0
- data/sig/openai/models/admin/organization/projects/project_user.rbs +53 -0
- data/sig/openai/models/admin/organization/projects/rate_limit_list_rate_limits_params.rbs +53 -0
- data/sig/openai/models/admin/organization/projects/rate_limit_update_rate_limit_params.rbs +79 -0
- data/sig/openai/models/admin/organization/projects/role_create_params.rbs +47 -0
- data/sig/openai/models/admin/organization/projects/role_delete_params.rbs +34 -0
- data/sig/openai/models/admin/organization/projects/role_delete_response.rbs +32 -0
- data/sig/openai/models/admin/organization/projects/role_list_params.rbs +66 -0
- data/sig/openai/models/admin/organization/projects/role_update_params.rbs +52 -0
- data/sig/openai/models/admin/organization/projects/service_account_create_params.rbs +34 -0
- data/sig/openai/models/admin/organization/projects/service_account_create_response.rbs +88 -0
- data/sig/openai/models/admin/organization/projects/service_account_delete_params.rbs +34 -0
- data/sig/openai/models/admin/organization/projects/service_account_delete_response.rbs +36 -0
- data/sig/openai/models/admin/organization/projects/service_account_list_params.rbs +42 -0
- data/sig/openai/models/admin/organization/projects/service_account_retrieve_params.rbs +34 -0
- data/sig/openai/models/admin/organization/projects/user_create_params.rbs +47 -0
- data/sig/openai/models/admin/organization/projects/user_delete_params.rbs +34 -0
- data/sig/openai/models/admin/organization/projects/user_delete_response.rbs +36 -0
- data/sig/openai/models/admin/organization/projects/user_list_params.rbs +42 -0
- data/sig/openai/models/admin/organization/projects/user_retrieve_params.rbs +34 -0
- data/sig/openai/models/admin/organization/projects/user_update_params.rbs +38 -0
- data/sig/openai/models/admin/organization/projects/users/role_create_params.rbs +40 -0
- data/sig/openai/models/admin/organization/projects/users/role_create_response.rbs +38 -0
- data/sig/openai/models/admin/organization/projects/users/role_delete_params.rbs +40 -0
- data/sig/openai/models/admin/organization/projects/users/role_delete_response.rbs +23 -0
- data/sig/openai/models/admin/organization/projects/users/role_list_params.rbs +73 -0
- data/sig/openai/models/admin/organization/projects/users/role_list_response.rbs +78 -0
- data/sig/openai/models/admin/organization/role.rbs +54 -0
- data/sig/openai/models/admin/organization/role_create_params.rbs +40 -0
- data/sig/openai/models/admin/organization/role_delete_params.rbs +27 -0
- data/sig/openai/models/admin/organization/role_delete_response.rbs +26 -0
- data/sig/openai/models/admin/organization/role_list_params.rbs +59 -0
- data/sig/openai/models/admin/organization/role_update_params.rbs +45 -0
- data/sig/openai/models/admin/organization/usage_audio_speeches_params.rbs +122 -0
- data/sig/openai/models/admin/organization/usage_audio_speeches_response.rbs +527 -0
- data/sig/openai/models/admin/organization/usage_audio_transcriptions_params.rbs +122 -0
- data/sig/openai/models/admin/organization/usage_audio_transcriptions_response.rbs +527 -0
- data/sig/openai/models/admin/organization/usage_code_interpreter_sessions_params.rbs +98 -0
- data/sig/openai/models/admin/organization/usage_code_interpreter_sessions_response.rbs +527 -0
- data/sig/openai/models/admin/organization/usage_completions_params.rbs +137 -0
- data/sig/openai/models/admin/organization/usage_completions_response.rbs +527 -0
- data/sig/openai/models/admin/organization/usage_costs_params.rbs +105 -0
- data/sig/openai/models/admin/organization/usage_costs_response.rbs +527 -0
- data/sig/openai/models/admin/organization/usage_embeddings_params.rbs +122 -0
- data/sig/openai/models/admin/organization/usage_embeddings_response.rbs +527 -0
- data/sig/openai/models/admin/organization/usage_images_params.rbs +170 -0
- data/sig/openai/models/admin/organization/usage_images_response.rbs +527 -0
- data/sig/openai/models/admin/organization/usage_moderations_params.rbs +122 -0
- data/sig/openai/models/admin/organization/usage_moderations_response.rbs +527 -0
- data/sig/openai/models/admin/organization/usage_vector_stores_params.rbs +98 -0
- data/sig/openai/models/admin/organization/usage_vector_stores_response.rbs +527 -0
- data/sig/openai/models/admin/organization/user_delete_params.rbs +27 -0
- data/sig/openai/models/admin/organization/user_delete_response.rbs +30 -0
- data/sig/openai/models/admin/organization/user_list_params.rbs +42 -0
- data/sig/openai/models/admin/organization/user_retrieve_params.rbs +27 -0
- data/sig/openai/models/admin/organization/user_update_params.rbs +50 -0
- data/sig/openai/models/admin/organization/users/role_create_params.rbs +34 -0
- data/sig/openai/models/admin/organization/users/role_create_response.rbs +36 -0
- data/sig/openai/models/admin/organization/users/role_delete_params.rbs +34 -0
- data/sig/openai/models/admin/organization/users/role_delete_response.rbs +21 -0
- data/sig/openai/models/admin/organization/users/role_list_params.rbs +66 -0
- data/sig/openai/models/admin/organization/users/role_list_response.rbs +76 -0
- data/sig/openai/models/chat/completion_create_params.rbs +2 -2
- data/sig/openai/models/responses/response.rbs +2 -2
- data/sig/openai/models/responses/response_compact_params.rbs +17 -1
- data/sig/openai/models/responses/response_create_params.rbs +2 -2
- data/sig/openai/models/responses/responses_client_event.rbs +2 -2
- data/sig/openai/models.rbs +2 -0
- data/sig/openai/resources/admin/organization/admin_api_keys.rbs +33 -0
- data/sig/openai/resources/admin/organization/audit_logs.rbs +24 -0
- data/sig/openai/resources/admin/organization/certificates.rbs +51 -0
- data/sig/openai/resources/admin/organization/groups/roles.rbs +33 -0
- data/sig/openai/resources/admin/organization/groups/users.rbs +33 -0
- data/sig/openai/resources/admin/organization/groups.rbs +38 -0
- data/sig/openai/resources/admin/organization/invites.rbs +34 -0
- data/sig/openai/resources/admin/organization/projects/api_keys.rbs +32 -0
- data/sig/openai/resources/admin/organization/projects/certificates.rbs +33 -0
- data/sig/openai/resources/admin/organization/projects/groups/roles.rbs +38 -0
- data/sig/openai/resources/admin/organization/projects/groups.rbs +36 -0
- data/sig/openai/resources/admin/organization/projects/rate_limits.rbs +33 -0
- data/sig/openai/resources/admin/organization/projects/roles.rbs +44 -0
- data/sig/openai/resources/admin/organization/projects/service_accounts.rbs +38 -0
- data/sig/openai/resources/admin/organization/projects/users/roles.rbs +38 -0
- data/sig/openai/resources/admin/organization/projects/users.rbs +49 -0
- data/sig/openai/resources/admin/organization/projects.rbs +57 -0
- data/sig/openai/resources/admin/organization/roles.rbs +38 -0
- data/sig/openai/resources/admin/organization/usage.rbs +132 -0
- data/sig/openai/resources/admin/organization/users/roles.rbs +33 -0
- data/sig/openai/resources/admin/organization/users.rbs +39 -0
- data/sig/openai/resources/admin/organization.rbs +27 -0
- data/sig/openai/resources/admin.rbs +9 -0
- data/sig/openai/resources/responses.rbs +1 -0
- metadata +488 -2
|
@@ -0,0 +1,2199 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module OpenAI
|
|
4
|
+
module Models
|
|
5
|
+
module Admin
|
|
6
|
+
module Organization
|
|
7
|
+
# @see OpenAI::Resources::Admin::Organization::AuditLogs#list
|
|
8
|
+
class AuditLogListResponse < OpenAI::Internal::Type::BaseModel
|
|
9
|
+
# @!attribute id
|
|
10
|
+
# The ID of this log.
|
|
11
|
+
#
|
|
12
|
+
# @return [String]
|
|
13
|
+
required :id, String
|
|
14
|
+
|
|
15
|
+
# @!attribute effective_at
|
|
16
|
+
# The Unix timestamp (in seconds) of the event.
|
|
17
|
+
#
|
|
18
|
+
# @return [Integer]
|
|
19
|
+
required :effective_at, Integer
|
|
20
|
+
|
|
21
|
+
# @!attribute type
|
|
22
|
+
# The event type.
|
|
23
|
+
#
|
|
24
|
+
# @return [Symbol, OpenAI::Models::Admin::Organization::AuditLogListResponse::Type]
|
|
25
|
+
required :type, enum: -> { OpenAI::Models::Admin::Organization::AuditLogListResponse::Type }
|
|
26
|
+
|
|
27
|
+
# @!attribute actor
|
|
28
|
+
# The actor who performed the audit logged action.
|
|
29
|
+
#
|
|
30
|
+
# @return [OpenAI::Models::Admin::Organization::AuditLogListResponse::Actor, nil]
|
|
31
|
+
optional :actor, -> { OpenAI::Models::Admin::Organization::AuditLogListResponse::Actor }, nil?: true
|
|
32
|
+
|
|
33
|
+
# @!attribute api_key_created
|
|
34
|
+
# The details for events with this `type`.
|
|
35
|
+
#
|
|
36
|
+
# @return [OpenAI::Models::Admin::Organization::AuditLogListResponse::APIKeyCreated, nil]
|
|
37
|
+
optional :api_key_created,
|
|
38
|
+
-> { OpenAI::Models::Admin::Organization::AuditLogListResponse::APIKeyCreated },
|
|
39
|
+
api_name: :"api_key.created"
|
|
40
|
+
|
|
41
|
+
# @!attribute api_key_deleted
|
|
42
|
+
# The details for events with this `type`.
|
|
43
|
+
#
|
|
44
|
+
# @return [OpenAI::Models::Admin::Organization::AuditLogListResponse::APIKeyDeleted, nil]
|
|
45
|
+
optional :api_key_deleted,
|
|
46
|
+
-> { OpenAI::Models::Admin::Organization::AuditLogListResponse::APIKeyDeleted },
|
|
47
|
+
api_name: :"api_key.deleted"
|
|
48
|
+
|
|
49
|
+
# @!attribute api_key_updated
|
|
50
|
+
# The details for events with this `type`.
|
|
51
|
+
#
|
|
52
|
+
# @return [OpenAI::Models::Admin::Organization::AuditLogListResponse::APIKeyUpdated, nil]
|
|
53
|
+
optional :api_key_updated,
|
|
54
|
+
-> { OpenAI::Models::Admin::Organization::AuditLogListResponse::APIKeyUpdated },
|
|
55
|
+
api_name: :"api_key.updated"
|
|
56
|
+
|
|
57
|
+
# @!attribute certificate_created
|
|
58
|
+
# The details for events with this `type`.
|
|
59
|
+
#
|
|
60
|
+
# @return [OpenAI::Models::Admin::Organization::AuditLogListResponse::CertificateCreated, nil]
|
|
61
|
+
optional :certificate_created,
|
|
62
|
+
-> { OpenAI::Models::Admin::Organization::AuditLogListResponse::CertificateCreated },
|
|
63
|
+
api_name: :"certificate.created"
|
|
64
|
+
|
|
65
|
+
# @!attribute certificate_deleted
|
|
66
|
+
# The details for events with this `type`.
|
|
67
|
+
#
|
|
68
|
+
# @return [OpenAI::Models::Admin::Organization::AuditLogListResponse::CertificateDeleted, nil]
|
|
69
|
+
optional :certificate_deleted,
|
|
70
|
+
-> { OpenAI::Models::Admin::Organization::AuditLogListResponse::CertificateDeleted },
|
|
71
|
+
api_name: :"certificate.deleted"
|
|
72
|
+
|
|
73
|
+
# @!attribute certificate_updated
|
|
74
|
+
# The details for events with this `type`.
|
|
75
|
+
#
|
|
76
|
+
# @return [OpenAI::Models::Admin::Organization::AuditLogListResponse::CertificateUpdated, nil]
|
|
77
|
+
optional :certificate_updated,
|
|
78
|
+
-> { OpenAI::Models::Admin::Organization::AuditLogListResponse::CertificateUpdated },
|
|
79
|
+
api_name: :"certificate.updated"
|
|
80
|
+
|
|
81
|
+
# @!attribute certificates_activated
|
|
82
|
+
# The details for events with this `type`.
|
|
83
|
+
#
|
|
84
|
+
# @return [OpenAI::Models::Admin::Organization::AuditLogListResponse::CertificatesActivated, nil]
|
|
85
|
+
optional :certificates_activated,
|
|
86
|
+
-> { OpenAI::Models::Admin::Organization::AuditLogListResponse::CertificatesActivated },
|
|
87
|
+
api_name: :"certificates.activated"
|
|
88
|
+
|
|
89
|
+
# @!attribute certificates_deactivated
|
|
90
|
+
# The details for events with this `type`.
|
|
91
|
+
#
|
|
92
|
+
# @return [OpenAI::Models::Admin::Organization::AuditLogListResponse::CertificatesDeactivated, nil]
|
|
93
|
+
optional :certificates_deactivated,
|
|
94
|
+
-> { OpenAI::Models::Admin::Organization::AuditLogListResponse::CertificatesDeactivated },
|
|
95
|
+
api_name: :"certificates.deactivated"
|
|
96
|
+
|
|
97
|
+
# @!attribute checkpoint_permission_created
|
|
98
|
+
# The project and fine-tuned model checkpoint that the checkpoint permission was
|
|
99
|
+
# created for.
|
|
100
|
+
#
|
|
101
|
+
# @return [OpenAI::Models::Admin::Organization::AuditLogListResponse::CheckpointPermissionCreated, nil]
|
|
102
|
+
optional :checkpoint_permission_created,
|
|
103
|
+
-> { OpenAI::Models::Admin::Organization::AuditLogListResponse::CheckpointPermissionCreated },
|
|
104
|
+
api_name: :"checkpoint.permission.created"
|
|
105
|
+
|
|
106
|
+
# @!attribute checkpoint_permission_deleted
|
|
107
|
+
# The details for events with this `type`.
|
|
108
|
+
#
|
|
109
|
+
# @return [OpenAI::Models::Admin::Organization::AuditLogListResponse::CheckpointPermissionDeleted, nil]
|
|
110
|
+
optional :checkpoint_permission_deleted,
|
|
111
|
+
-> { OpenAI::Models::Admin::Organization::AuditLogListResponse::CheckpointPermissionDeleted },
|
|
112
|
+
api_name: :"checkpoint.permission.deleted"
|
|
113
|
+
|
|
114
|
+
# @!attribute external_key_registered
|
|
115
|
+
# The details for events with this `type`.
|
|
116
|
+
#
|
|
117
|
+
# @return [OpenAI::Models::Admin::Organization::AuditLogListResponse::ExternalKeyRegistered, nil]
|
|
118
|
+
optional :external_key_registered,
|
|
119
|
+
-> { OpenAI::Models::Admin::Organization::AuditLogListResponse::ExternalKeyRegistered },
|
|
120
|
+
api_name: :"external_key.registered"
|
|
121
|
+
|
|
122
|
+
# @!attribute external_key_removed
|
|
123
|
+
# The details for events with this `type`.
|
|
124
|
+
#
|
|
125
|
+
# @return [OpenAI::Models::Admin::Organization::AuditLogListResponse::ExternalKeyRemoved, nil]
|
|
126
|
+
optional :external_key_removed,
|
|
127
|
+
-> { OpenAI::Models::Admin::Organization::AuditLogListResponse::ExternalKeyRemoved },
|
|
128
|
+
api_name: :"external_key.removed"
|
|
129
|
+
|
|
130
|
+
# @!attribute group_created
|
|
131
|
+
# The details for events with this `type`.
|
|
132
|
+
#
|
|
133
|
+
# @return [OpenAI::Models::Admin::Organization::AuditLogListResponse::GroupCreated, nil]
|
|
134
|
+
optional :group_created,
|
|
135
|
+
-> { OpenAI::Models::Admin::Organization::AuditLogListResponse::GroupCreated },
|
|
136
|
+
api_name: :"group.created"
|
|
137
|
+
|
|
138
|
+
# @!attribute group_deleted
|
|
139
|
+
# The details for events with this `type`.
|
|
140
|
+
#
|
|
141
|
+
# @return [OpenAI::Models::Admin::Organization::AuditLogListResponse::GroupDeleted, nil]
|
|
142
|
+
optional :group_deleted,
|
|
143
|
+
-> { OpenAI::Models::Admin::Organization::AuditLogListResponse::GroupDeleted },
|
|
144
|
+
api_name: :"group.deleted"
|
|
145
|
+
|
|
146
|
+
# @!attribute group_updated
|
|
147
|
+
# The details for events with this `type`.
|
|
148
|
+
#
|
|
149
|
+
# @return [OpenAI::Models::Admin::Organization::AuditLogListResponse::GroupUpdated, nil]
|
|
150
|
+
optional :group_updated,
|
|
151
|
+
-> { OpenAI::Models::Admin::Organization::AuditLogListResponse::GroupUpdated },
|
|
152
|
+
api_name: :"group.updated"
|
|
153
|
+
|
|
154
|
+
# @!attribute invite_accepted
|
|
155
|
+
# The details for events with this `type`.
|
|
156
|
+
#
|
|
157
|
+
# @return [OpenAI::Models::Admin::Organization::AuditLogListResponse::InviteAccepted, nil]
|
|
158
|
+
optional :invite_accepted,
|
|
159
|
+
-> { OpenAI::Models::Admin::Organization::AuditLogListResponse::InviteAccepted },
|
|
160
|
+
api_name: :"invite.accepted"
|
|
161
|
+
|
|
162
|
+
# @!attribute invite_deleted
|
|
163
|
+
# The details for events with this `type`.
|
|
164
|
+
#
|
|
165
|
+
# @return [OpenAI::Models::Admin::Organization::AuditLogListResponse::InviteDeleted, nil]
|
|
166
|
+
optional :invite_deleted,
|
|
167
|
+
-> { OpenAI::Models::Admin::Organization::AuditLogListResponse::InviteDeleted },
|
|
168
|
+
api_name: :"invite.deleted"
|
|
169
|
+
|
|
170
|
+
# @!attribute invite_sent
|
|
171
|
+
# The details for events with this `type`.
|
|
172
|
+
#
|
|
173
|
+
# @return [OpenAI::Models::Admin::Organization::AuditLogListResponse::InviteSent, nil]
|
|
174
|
+
optional :invite_sent,
|
|
175
|
+
-> { OpenAI::Models::Admin::Organization::AuditLogListResponse::InviteSent },
|
|
176
|
+
api_name: :"invite.sent"
|
|
177
|
+
|
|
178
|
+
# @!attribute ip_allowlist_config_activated
|
|
179
|
+
# The details for events with this `type`.
|
|
180
|
+
#
|
|
181
|
+
# @return [OpenAI::Models::Admin::Organization::AuditLogListResponse::IPAllowlistConfigActivated, nil]
|
|
182
|
+
optional :ip_allowlist_config_activated,
|
|
183
|
+
-> { OpenAI::Models::Admin::Organization::AuditLogListResponse::IPAllowlistConfigActivated },
|
|
184
|
+
api_name: :"ip_allowlist.config.activated"
|
|
185
|
+
|
|
186
|
+
# @!attribute ip_allowlist_config_deactivated
|
|
187
|
+
# The details for events with this `type`.
|
|
188
|
+
#
|
|
189
|
+
# @return [OpenAI::Models::Admin::Organization::AuditLogListResponse::IPAllowlistConfigDeactivated, nil]
|
|
190
|
+
optional :ip_allowlist_config_deactivated,
|
|
191
|
+
-> { OpenAI::Models::Admin::Organization::AuditLogListResponse::IPAllowlistConfigDeactivated },
|
|
192
|
+
api_name: :"ip_allowlist.config.deactivated"
|
|
193
|
+
|
|
194
|
+
# @!attribute ip_allowlist_created
|
|
195
|
+
# The details for events with this `type`.
|
|
196
|
+
#
|
|
197
|
+
# @return [OpenAI::Models::Admin::Organization::AuditLogListResponse::IPAllowlistCreated, nil]
|
|
198
|
+
optional :ip_allowlist_created,
|
|
199
|
+
-> { OpenAI::Models::Admin::Organization::AuditLogListResponse::IPAllowlistCreated },
|
|
200
|
+
api_name: :"ip_allowlist.created"
|
|
201
|
+
|
|
202
|
+
# @!attribute ip_allowlist_deleted
|
|
203
|
+
# The details for events with this `type`.
|
|
204
|
+
#
|
|
205
|
+
# @return [OpenAI::Models::Admin::Organization::AuditLogListResponse::IPAllowlistDeleted, nil]
|
|
206
|
+
optional :ip_allowlist_deleted,
|
|
207
|
+
-> { OpenAI::Models::Admin::Organization::AuditLogListResponse::IPAllowlistDeleted },
|
|
208
|
+
api_name: :"ip_allowlist.deleted"
|
|
209
|
+
|
|
210
|
+
# @!attribute ip_allowlist_updated
|
|
211
|
+
# The details for events with this `type`.
|
|
212
|
+
#
|
|
213
|
+
# @return [OpenAI::Models::Admin::Organization::AuditLogListResponse::IPAllowlistUpdated, nil]
|
|
214
|
+
optional :ip_allowlist_updated,
|
|
215
|
+
-> { OpenAI::Models::Admin::Organization::AuditLogListResponse::IPAllowlistUpdated },
|
|
216
|
+
api_name: :"ip_allowlist.updated"
|
|
217
|
+
|
|
218
|
+
# @!attribute login_failed
|
|
219
|
+
# The details for events with this `type`.
|
|
220
|
+
#
|
|
221
|
+
# @return [OpenAI::Models::Admin::Organization::AuditLogListResponse::LoginFailed, nil]
|
|
222
|
+
optional :login_failed,
|
|
223
|
+
-> { OpenAI::Models::Admin::Organization::AuditLogListResponse::LoginFailed },
|
|
224
|
+
api_name: :"login.failed"
|
|
225
|
+
|
|
226
|
+
# @!attribute login_succeeded
|
|
227
|
+
# This event has no additional fields beyond the standard audit log attributes.
|
|
228
|
+
#
|
|
229
|
+
# @return [Object, nil]
|
|
230
|
+
optional :login_succeeded, OpenAI::Internal::Type::Unknown, api_name: :"login.succeeded"
|
|
231
|
+
|
|
232
|
+
# @!attribute logout_failed
|
|
233
|
+
# The details for events with this `type`.
|
|
234
|
+
#
|
|
235
|
+
# @return [OpenAI::Models::Admin::Organization::AuditLogListResponse::LogoutFailed, nil]
|
|
236
|
+
optional :logout_failed,
|
|
237
|
+
-> { OpenAI::Models::Admin::Organization::AuditLogListResponse::LogoutFailed },
|
|
238
|
+
api_name: :"logout.failed"
|
|
239
|
+
|
|
240
|
+
# @!attribute logout_succeeded
|
|
241
|
+
# This event has no additional fields beyond the standard audit log attributes.
|
|
242
|
+
#
|
|
243
|
+
# @return [Object, nil]
|
|
244
|
+
optional :logout_succeeded, OpenAI::Internal::Type::Unknown, api_name: :"logout.succeeded"
|
|
245
|
+
|
|
246
|
+
# @!attribute organization_updated
|
|
247
|
+
# The details for events with this `type`.
|
|
248
|
+
#
|
|
249
|
+
# @return [OpenAI::Models::Admin::Organization::AuditLogListResponse::OrganizationUpdated, nil]
|
|
250
|
+
optional :organization_updated,
|
|
251
|
+
-> { OpenAI::Models::Admin::Organization::AuditLogListResponse::OrganizationUpdated },
|
|
252
|
+
api_name: :"organization.updated"
|
|
253
|
+
|
|
254
|
+
# @!attribute project
|
|
255
|
+
# The project that the action was scoped to. Absent for actions not scoped to
|
|
256
|
+
# projects. Note that any admin actions taken via Admin API keys are associated
|
|
257
|
+
# with the default project.
|
|
258
|
+
#
|
|
259
|
+
# @return [OpenAI::Models::Admin::Organization::AuditLogListResponse::Project, nil]
|
|
260
|
+
optional :project, -> { OpenAI::Models::Admin::Organization::AuditLogListResponse::Project }
|
|
261
|
+
|
|
262
|
+
# @!attribute project_archived
|
|
263
|
+
# The details for events with this `type`.
|
|
264
|
+
#
|
|
265
|
+
# @return [OpenAI::Models::Admin::Organization::AuditLogListResponse::ProjectArchived, nil]
|
|
266
|
+
optional :project_archived,
|
|
267
|
+
-> { OpenAI::Models::Admin::Organization::AuditLogListResponse::ProjectArchived },
|
|
268
|
+
api_name: :"project.archived"
|
|
269
|
+
|
|
270
|
+
# @!attribute project_created
|
|
271
|
+
# The details for events with this `type`.
|
|
272
|
+
#
|
|
273
|
+
# @return [OpenAI::Models::Admin::Organization::AuditLogListResponse::ProjectCreated, nil]
|
|
274
|
+
optional :project_created,
|
|
275
|
+
-> { OpenAI::Models::Admin::Organization::AuditLogListResponse::ProjectCreated },
|
|
276
|
+
api_name: :"project.created"
|
|
277
|
+
|
|
278
|
+
# @!attribute project_deleted
|
|
279
|
+
# The details for events with this `type`.
|
|
280
|
+
#
|
|
281
|
+
# @return [OpenAI::Models::Admin::Organization::AuditLogListResponse::ProjectDeleted, nil]
|
|
282
|
+
optional :project_deleted,
|
|
283
|
+
-> { OpenAI::Models::Admin::Organization::AuditLogListResponse::ProjectDeleted },
|
|
284
|
+
api_name: :"project.deleted"
|
|
285
|
+
|
|
286
|
+
# @!attribute project_updated
|
|
287
|
+
# The details for events with this `type`.
|
|
288
|
+
#
|
|
289
|
+
# @return [OpenAI::Models::Admin::Organization::AuditLogListResponse::ProjectUpdated, nil]
|
|
290
|
+
optional :project_updated,
|
|
291
|
+
-> { OpenAI::Models::Admin::Organization::AuditLogListResponse::ProjectUpdated },
|
|
292
|
+
api_name: :"project.updated"
|
|
293
|
+
|
|
294
|
+
# @!attribute rate_limit_deleted
|
|
295
|
+
# The details for events with this `type`.
|
|
296
|
+
#
|
|
297
|
+
# @return [OpenAI::Models::Admin::Organization::AuditLogListResponse::RateLimitDeleted, nil]
|
|
298
|
+
optional :rate_limit_deleted,
|
|
299
|
+
-> { OpenAI::Models::Admin::Organization::AuditLogListResponse::RateLimitDeleted },
|
|
300
|
+
api_name: :"rate_limit.deleted"
|
|
301
|
+
|
|
302
|
+
# @!attribute rate_limit_updated
|
|
303
|
+
# The details for events with this `type`.
|
|
304
|
+
#
|
|
305
|
+
# @return [OpenAI::Models::Admin::Organization::AuditLogListResponse::RateLimitUpdated, nil]
|
|
306
|
+
optional :rate_limit_updated,
|
|
307
|
+
-> { OpenAI::Models::Admin::Organization::AuditLogListResponse::RateLimitUpdated },
|
|
308
|
+
api_name: :"rate_limit.updated"
|
|
309
|
+
|
|
310
|
+
# @!attribute role_assignment_created
|
|
311
|
+
# The details for events with this `type`.
|
|
312
|
+
#
|
|
313
|
+
# @return [OpenAI::Models::Admin::Organization::AuditLogListResponse::RoleAssignmentCreated, nil]
|
|
314
|
+
optional :role_assignment_created,
|
|
315
|
+
-> { OpenAI::Models::Admin::Organization::AuditLogListResponse::RoleAssignmentCreated },
|
|
316
|
+
api_name: :"role.assignment.created"
|
|
317
|
+
|
|
318
|
+
# @!attribute role_assignment_deleted
|
|
319
|
+
# The details for events with this `type`.
|
|
320
|
+
#
|
|
321
|
+
# @return [OpenAI::Models::Admin::Organization::AuditLogListResponse::RoleAssignmentDeleted, nil]
|
|
322
|
+
optional :role_assignment_deleted,
|
|
323
|
+
-> { OpenAI::Models::Admin::Organization::AuditLogListResponse::RoleAssignmentDeleted },
|
|
324
|
+
api_name: :"role.assignment.deleted"
|
|
325
|
+
|
|
326
|
+
# @!attribute role_created
|
|
327
|
+
# The details for events with this `type`.
|
|
328
|
+
#
|
|
329
|
+
# @return [OpenAI::Models::Admin::Organization::AuditLogListResponse::RoleCreated, nil]
|
|
330
|
+
optional :role_created,
|
|
331
|
+
-> { OpenAI::Models::Admin::Organization::AuditLogListResponse::RoleCreated },
|
|
332
|
+
api_name: :"role.created"
|
|
333
|
+
|
|
334
|
+
# @!attribute role_deleted
|
|
335
|
+
# The details for events with this `type`.
|
|
336
|
+
#
|
|
337
|
+
# @return [OpenAI::Models::Admin::Organization::AuditLogListResponse::RoleDeleted, nil]
|
|
338
|
+
optional :role_deleted,
|
|
339
|
+
-> { OpenAI::Models::Admin::Organization::AuditLogListResponse::RoleDeleted },
|
|
340
|
+
api_name: :"role.deleted"
|
|
341
|
+
|
|
342
|
+
# @!attribute role_updated
|
|
343
|
+
# The details for events with this `type`.
|
|
344
|
+
#
|
|
345
|
+
# @return [OpenAI::Models::Admin::Organization::AuditLogListResponse::RoleUpdated, nil]
|
|
346
|
+
optional :role_updated,
|
|
347
|
+
-> { OpenAI::Models::Admin::Organization::AuditLogListResponse::RoleUpdated },
|
|
348
|
+
api_name: :"role.updated"
|
|
349
|
+
|
|
350
|
+
# @!attribute scim_disabled
|
|
351
|
+
# The details for events with this `type`.
|
|
352
|
+
#
|
|
353
|
+
# @return [OpenAI::Models::Admin::Organization::AuditLogListResponse::ScimDisabled, nil]
|
|
354
|
+
optional :scim_disabled,
|
|
355
|
+
-> { OpenAI::Models::Admin::Organization::AuditLogListResponse::ScimDisabled },
|
|
356
|
+
api_name: :"scim.disabled"
|
|
357
|
+
|
|
358
|
+
# @!attribute scim_enabled
|
|
359
|
+
# The details for events with this `type`.
|
|
360
|
+
#
|
|
361
|
+
# @return [OpenAI::Models::Admin::Organization::AuditLogListResponse::ScimEnabled, nil]
|
|
362
|
+
optional :scim_enabled,
|
|
363
|
+
-> { OpenAI::Models::Admin::Organization::AuditLogListResponse::ScimEnabled },
|
|
364
|
+
api_name: :"scim.enabled"
|
|
365
|
+
|
|
366
|
+
# @!attribute service_account_created
|
|
367
|
+
# The details for events with this `type`.
|
|
368
|
+
#
|
|
369
|
+
# @return [OpenAI::Models::Admin::Organization::AuditLogListResponse::ServiceAccountCreated, nil]
|
|
370
|
+
optional :service_account_created,
|
|
371
|
+
-> { OpenAI::Models::Admin::Organization::AuditLogListResponse::ServiceAccountCreated },
|
|
372
|
+
api_name: :"service_account.created"
|
|
373
|
+
|
|
374
|
+
# @!attribute service_account_deleted
|
|
375
|
+
# The details for events with this `type`.
|
|
376
|
+
#
|
|
377
|
+
# @return [OpenAI::Models::Admin::Organization::AuditLogListResponse::ServiceAccountDeleted, nil]
|
|
378
|
+
optional :service_account_deleted,
|
|
379
|
+
-> { OpenAI::Models::Admin::Organization::AuditLogListResponse::ServiceAccountDeleted },
|
|
380
|
+
api_name: :"service_account.deleted"
|
|
381
|
+
|
|
382
|
+
# @!attribute service_account_updated
|
|
383
|
+
# The details for events with this `type`.
|
|
384
|
+
#
|
|
385
|
+
# @return [OpenAI::Models::Admin::Organization::AuditLogListResponse::ServiceAccountUpdated, nil]
|
|
386
|
+
optional :service_account_updated,
|
|
387
|
+
-> { OpenAI::Models::Admin::Organization::AuditLogListResponse::ServiceAccountUpdated },
|
|
388
|
+
api_name: :"service_account.updated"
|
|
389
|
+
|
|
390
|
+
# @!attribute user_added
|
|
391
|
+
# The details for events with this `type`.
|
|
392
|
+
#
|
|
393
|
+
# @return [OpenAI::Models::Admin::Organization::AuditLogListResponse::UserAdded, nil]
|
|
394
|
+
optional :user_added,
|
|
395
|
+
-> { OpenAI::Models::Admin::Organization::AuditLogListResponse::UserAdded },
|
|
396
|
+
api_name: :"user.added"
|
|
397
|
+
|
|
398
|
+
# @!attribute user_deleted
|
|
399
|
+
# The details for events with this `type`.
|
|
400
|
+
#
|
|
401
|
+
# @return [OpenAI::Models::Admin::Organization::AuditLogListResponse::UserDeleted, nil]
|
|
402
|
+
optional :user_deleted,
|
|
403
|
+
-> { OpenAI::Models::Admin::Organization::AuditLogListResponse::UserDeleted },
|
|
404
|
+
api_name: :"user.deleted"
|
|
405
|
+
|
|
406
|
+
# @!attribute user_updated
|
|
407
|
+
# The details for events with this `type`.
|
|
408
|
+
#
|
|
409
|
+
# @return [OpenAI::Models::Admin::Organization::AuditLogListResponse::UserUpdated, nil]
|
|
410
|
+
optional :user_updated,
|
|
411
|
+
-> { OpenAI::Models::Admin::Organization::AuditLogListResponse::UserUpdated },
|
|
412
|
+
api_name: :"user.updated"
|
|
413
|
+
|
|
414
|
+
# @!method initialize(id:, effective_at:, type:, actor: nil, api_key_created: nil, api_key_deleted: nil, api_key_updated: nil, certificate_created: nil, certificate_deleted: nil, certificate_updated: nil, certificates_activated: nil, certificates_deactivated: nil, checkpoint_permission_created: nil, checkpoint_permission_deleted: nil, external_key_registered: nil, external_key_removed: nil, group_created: nil, group_deleted: nil, group_updated: nil, invite_accepted: nil, invite_deleted: nil, invite_sent: nil, ip_allowlist_config_activated: nil, ip_allowlist_config_deactivated: nil, ip_allowlist_created: nil, ip_allowlist_deleted: nil, ip_allowlist_updated: nil, login_failed: nil, login_succeeded: nil, logout_failed: nil, logout_succeeded: nil, organization_updated: nil, project: nil, project_archived: nil, project_created: nil, project_deleted: nil, project_updated: nil, rate_limit_deleted: nil, rate_limit_updated: nil, role_assignment_created: nil, role_assignment_deleted: nil, role_created: nil, role_deleted: nil, role_updated: nil, scim_disabled: nil, scim_enabled: nil, service_account_created: nil, service_account_deleted: nil, service_account_updated: nil, user_added: nil, user_deleted: nil, user_updated: nil)
|
|
415
|
+
# Some parameter documentations has been truncated, see
|
|
416
|
+
# {OpenAI::Models::Admin::Organization::AuditLogListResponse} for more details.
|
|
417
|
+
#
|
|
418
|
+
# A log of a user action or configuration change within this organization.
|
|
419
|
+
#
|
|
420
|
+
# @param id [String] The ID of this log.
|
|
421
|
+
#
|
|
422
|
+
# @param effective_at [Integer] The Unix timestamp (in seconds) of the event.
|
|
423
|
+
#
|
|
424
|
+
# @param type [Symbol, OpenAI::Models::Admin::Organization::AuditLogListResponse::Type] The event type.
|
|
425
|
+
#
|
|
426
|
+
# @param actor [OpenAI::Models::Admin::Organization::AuditLogListResponse::Actor, nil] The actor who performed the audit logged action.
|
|
427
|
+
#
|
|
428
|
+
# @param api_key_created [OpenAI::Models::Admin::Organization::AuditLogListResponse::APIKeyCreated] The details for events with this `type`.
|
|
429
|
+
#
|
|
430
|
+
# @param api_key_deleted [OpenAI::Models::Admin::Organization::AuditLogListResponse::APIKeyDeleted] The details for events with this `type`.
|
|
431
|
+
#
|
|
432
|
+
# @param api_key_updated [OpenAI::Models::Admin::Organization::AuditLogListResponse::APIKeyUpdated] The details for events with this `type`.
|
|
433
|
+
#
|
|
434
|
+
# @param certificate_created [OpenAI::Models::Admin::Organization::AuditLogListResponse::CertificateCreated] The details for events with this `type`.
|
|
435
|
+
#
|
|
436
|
+
# @param certificate_deleted [OpenAI::Models::Admin::Organization::AuditLogListResponse::CertificateDeleted] The details for events with this `type`.
|
|
437
|
+
#
|
|
438
|
+
# @param certificate_updated [OpenAI::Models::Admin::Organization::AuditLogListResponse::CertificateUpdated] The details for events with this `type`.
|
|
439
|
+
#
|
|
440
|
+
# @param certificates_activated [OpenAI::Models::Admin::Organization::AuditLogListResponse::CertificatesActivated] The details for events with this `type`.
|
|
441
|
+
#
|
|
442
|
+
# @param certificates_deactivated [OpenAI::Models::Admin::Organization::AuditLogListResponse::CertificatesDeactivated] The details for events with this `type`.
|
|
443
|
+
#
|
|
444
|
+
# @param checkpoint_permission_created [OpenAI::Models::Admin::Organization::AuditLogListResponse::CheckpointPermissionCreated] The project and fine-tuned model checkpoint that the checkpoint permission was c
|
|
445
|
+
#
|
|
446
|
+
# @param checkpoint_permission_deleted [OpenAI::Models::Admin::Organization::AuditLogListResponse::CheckpointPermissionDeleted] The details for events with this `type`.
|
|
447
|
+
#
|
|
448
|
+
# @param external_key_registered [OpenAI::Models::Admin::Organization::AuditLogListResponse::ExternalKeyRegistered] The details for events with this `type`.
|
|
449
|
+
#
|
|
450
|
+
# @param external_key_removed [OpenAI::Models::Admin::Organization::AuditLogListResponse::ExternalKeyRemoved] The details for events with this `type`.
|
|
451
|
+
#
|
|
452
|
+
# @param group_created [OpenAI::Models::Admin::Organization::AuditLogListResponse::GroupCreated] The details for events with this `type`.
|
|
453
|
+
#
|
|
454
|
+
# @param group_deleted [OpenAI::Models::Admin::Organization::AuditLogListResponse::GroupDeleted] The details for events with this `type`.
|
|
455
|
+
#
|
|
456
|
+
# @param group_updated [OpenAI::Models::Admin::Organization::AuditLogListResponse::GroupUpdated] The details for events with this `type`.
|
|
457
|
+
#
|
|
458
|
+
# @param invite_accepted [OpenAI::Models::Admin::Organization::AuditLogListResponse::InviteAccepted] The details for events with this `type`.
|
|
459
|
+
#
|
|
460
|
+
# @param invite_deleted [OpenAI::Models::Admin::Organization::AuditLogListResponse::InviteDeleted] The details for events with this `type`.
|
|
461
|
+
#
|
|
462
|
+
# @param invite_sent [OpenAI::Models::Admin::Organization::AuditLogListResponse::InviteSent] The details for events with this `type`.
|
|
463
|
+
#
|
|
464
|
+
# @param ip_allowlist_config_activated [OpenAI::Models::Admin::Organization::AuditLogListResponse::IPAllowlistConfigActivated] The details for events with this `type`.
|
|
465
|
+
#
|
|
466
|
+
# @param ip_allowlist_config_deactivated [OpenAI::Models::Admin::Organization::AuditLogListResponse::IPAllowlistConfigDeactivated] The details for events with this `type`.
|
|
467
|
+
#
|
|
468
|
+
# @param ip_allowlist_created [OpenAI::Models::Admin::Organization::AuditLogListResponse::IPAllowlistCreated] The details for events with this `type`.
|
|
469
|
+
#
|
|
470
|
+
# @param ip_allowlist_deleted [OpenAI::Models::Admin::Organization::AuditLogListResponse::IPAllowlistDeleted] The details for events with this `type`.
|
|
471
|
+
#
|
|
472
|
+
# @param ip_allowlist_updated [OpenAI::Models::Admin::Organization::AuditLogListResponse::IPAllowlistUpdated] The details for events with this `type`.
|
|
473
|
+
#
|
|
474
|
+
# @param login_failed [OpenAI::Models::Admin::Organization::AuditLogListResponse::LoginFailed] The details for events with this `type`.
|
|
475
|
+
#
|
|
476
|
+
# @param login_succeeded [Object] This event has no additional fields beyond the standard audit log attributes.
|
|
477
|
+
#
|
|
478
|
+
# @param logout_failed [OpenAI::Models::Admin::Organization::AuditLogListResponse::LogoutFailed] The details for events with this `type`.
|
|
479
|
+
#
|
|
480
|
+
# @param logout_succeeded [Object] This event has no additional fields beyond the standard audit log attributes.
|
|
481
|
+
#
|
|
482
|
+
# @param organization_updated [OpenAI::Models::Admin::Organization::AuditLogListResponse::OrganizationUpdated] The details for events with this `type`.
|
|
483
|
+
#
|
|
484
|
+
# @param project [OpenAI::Models::Admin::Organization::AuditLogListResponse::Project] The project that the action was scoped to. Absent for actions not scoped to proj
|
|
485
|
+
#
|
|
486
|
+
# @param project_archived [OpenAI::Models::Admin::Organization::AuditLogListResponse::ProjectArchived] The details for events with this `type`.
|
|
487
|
+
#
|
|
488
|
+
# @param project_created [OpenAI::Models::Admin::Organization::AuditLogListResponse::ProjectCreated] The details for events with this `type`.
|
|
489
|
+
#
|
|
490
|
+
# @param project_deleted [OpenAI::Models::Admin::Organization::AuditLogListResponse::ProjectDeleted] The details for events with this `type`.
|
|
491
|
+
#
|
|
492
|
+
# @param project_updated [OpenAI::Models::Admin::Organization::AuditLogListResponse::ProjectUpdated] The details for events with this `type`.
|
|
493
|
+
#
|
|
494
|
+
# @param rate_limit_deleted [OpenAI::Models::Admin::Organization::AuditLogListResponse::RateLimitDeleted] The details for events with this `type`.
|
|
495
|
+
#
|
|
496
|
+
# @param rate_limit_updated [OpenAI::Models::Admin::Organization::AuditLogListResponse::RateLimitUpdated] The details for events with this `type`.
|
|
497
|
+
#
|
|
498
|
+
# @param role_assignment_created [OpenAI::Models::Admin::Organization::AuditLogListResponse::RoleAssignmentCreated] The details for events with this `type`.
|
|
499
|
+
#
|
|
500
|
+
# @param role_assignment_deleted [OpenAI::Models::Admin::Organization::AuditLogListResponse::RoleAssignmentDeleted] The details for events with this `type`.
|
|
501
|
+
#
|
|
502
|
+
# @param role_created [OpenAI::Models::Admin::Organization::AuditLogListResponse::RoleCreated] The details for events with this `type`.
|
|
503
|
+
#
|
|
504
|
+
# @param role_deleted [OpenAI::Models::Admin::Organization::AuditLogListResponse::RoleDeleted] The details for events with this `type`.
|
|
505
|
+
#
|
|
506
|
+
# @param role_updated [OpenAI::Models::Admin::Organization::AuditLogListResponse::RoleUpdated] The details for events with this `type`.
|
|
507
|
+
#
|
|
508
|
+
# @param scim_disabled [OpenAI::Models::Admin::Organization::AuditLogListResponse::ScimDisabled] The details for events with this `type`.
|
|
509
|
+
#
|
|
510
|
+
# @param scim_enabled [OpenAI::Models::Admin::Organization::AuditLogListResponse::ScimEnabled] The details for events with this `type`.
|
|
511
|
+
#
|
|
512
|
+
# @param service_account_created [OpenAI::Models::Admin::Organization::AuditLogListResponse::ServiceAccountCreated] The details for events with this `type`.
|
|
513
|
+
#
|
|
514
|
+
# @param service_account_deleted [OpenAI::Models::Admin::Organization::AuditLogListResponse::ServiceAccountDeleted] The details for events with this `type`.
|
|
515
|
+
#
|
|
516
|
+
# @param service_account_updated [OpenAI::Models::Admin::Organization::AuditLogListResponse::ServiceAccountUpdated] The details for events with this `type`.
|
|
517
|
+
#
|
|
518
|
+
# @param user_added [OpenAI::Models::Admin::Organization::AuditLogListResponse::UserAdded] The details for events with this `type`.
|
|
519
|
+
#
|
|
520
|
+
# @param user_deleted [OpenAI::Models::Admin::Organization::AuditLogListResponse::UserDeleted] The details for events with this `type`.
|
|
521
|
+
#
|
|
522
|
+
# @param user_updated [OpenAI::Models::Admin::Organization::AuditLogListResponse::UserUpdated] The details for events with this `type`.
|
|
523
|
+
|
|
524
|
+
# The event type.
|
|
525
|
+
#
|
|
526
|
+
# @see OpenAI::Models::Admin::Organization::AuditLogListResponse#type
|
|
527
|
+
module Type
|
|
528
|
+
extend OpenAI::Internal::Type::Enum
|
|
529
|
+
|
|
530
|
+
API_KEY_CREATED = :"api_key.created"
|
|
531
|
+
API_KEY_UPDATED = :"api_key.updated"
|
|
532
|
+
API_KEY_DELETED = :"api_key.deleted"
|
|
533
|
+
CERTIFICATE_CREATED = :"certificate.created"
|
|
534
|
+
CERTIFICATE_UPDATED = :"certificate.updated"
|
|
535
|
+
CERTIFICATE_DELETED = :"certificate.deleted"
|
|
536
|
+
CERTIFICATES_ACTIVATED = :"certificates.activated"
|
|
537
|
+
CERTIFICATES_DEACTIVATED = :"certificates.deactivated"
|
|
538
|
+
CHECKPOINT_PERMISSION_CREATED = :"checkpoint.permission.created"
|
|
539
|
+
CHECKPOINT_PERMISSION_DELETED = :"checkpoint.permission.deleted"
|
|
540
|
+
EXTERNAL_KEY_REGISTERED = :"external_key.registered"
|
|
541
|
+
EXTERNAL_KEY_REMOVED = :"external_key.removed"
|
|
542
|
+
GROUP_CREATED = :"group.created"
|
|
543
|
+
GROUP_UPDATED = :"group.updated"
|
|
544
|
+
GROUP_DELETED = :"group.deleted"
|
|
545
|
+
INVITE_SENT = :"invite.sent"
|
|
546
|
+
INVITE_ACCEPTED = :"invite.accepted"
|
|
547
|
+
INVITE_DELETED = :"invite.deleted"
|
|
548
|
+
IP_ALLOWLIST_CREATED = :"ip_allowlist.created"
|
|
549
|
+
IP_ALLOWLIST_UPDATED = :"ip_allowlist.updated"
|
|
550
|
+
IP_ALLOWLIST_DELETED = :"ip_allowlist.deleted"
|
|
551
|
+
IP_ALLOWLIST_CONFIG_ACTIVATED = :"ip_allowlist.config.activated"
|
|
552
|
+
IP_ALLOWLIST_CONFIG_DEACTIVATED = :"ip_allowlist.config.deactivated"
|
|
553
|
+
LOGIN_SUCCEEDED = :"login.succeeded"
|
|
554
|
+
LOGIN_FAILED = :"login.failed"
|
|
555
|
+
LOGOUT_SUCCEEDED = :"logout.succeeded"
|
|
556
|
+
LOGOUT_FAILED = :"logout.failed"
|
|
557
|
+
ORGANIZATION_UPDATED = :"organization.updated"
|
|
558
|
+
PROJECT_CREATED = :"project.created"
|
|
559
|
+
PROJECT_UPDATED = :"project.updated"
|
|
560
|
+
PROJECT_ARCHIVED = :"project.archived"
|
|
561
|
+
PROJECT_DELETED = :"project.deleted"
|
|
562
|
+
RATE_LIMIT_UPDATED = :"rate_limit.updated"
|
|
563
|
+
RATE_LIMIT_DELETED = :"rate_limit.deleted"
|
|
564
|
+
RESOURCE_DELETED = :"resource.deleted"
|
|
565
|
+
TUNNEL_CREATED = :"tunnel.created"
|
|
566
|
+
TUNNEL_UPDATED = :"tunnel.updated"
|
|
567
|
+
TUNNEL_DELETED = :"tunnel.deleted"
|
|
568
|
+
ROLE_CREATED = :"role.created"
|
|
569
|
+
ROLE_UPDATED = :"role.updated"
|
|
570
|
+
ROLE_DELETED = :"role.deleted"
|
|
571
|
+
ROLE_ASSIGNMENT_CREATED = :"role.assignment.created"
|
|
572
|
+
ROLE_ASSIGNMENT_DELETED = :"role.assignment.deleted"
|
|
573
|
+
SCIM_ENABLED = :"scim.enabled"
|
|
574
|
+
SCIM_DISABLED = :"scim.disabled"
|
|
575
|
+
SERVICE_ACCOUNT_CREATED = :"service_account.created"
|
|
576
|
+
SERVICE_ACCOUNT_UPDATED = :"service_account.updated"
|
|
577
|
+
SERVICE_ACCOUNT_DELETED = :"service_account.deleted"
|
|
578
|
+
USER_ADDED = :"user.added"
|
|
579
|
+
USER_UPDATED = :"user.updated"
|
|
580
|
+
USER_DELETED = :"user.deleted"
|
|
581
|
+
|
|
582
|
+
# @!method self.values
|
|
583
|
+
# @return [Array<Symbol>]
|
|
584
|
+
end
|
|
585
|
+
|
|
586
|
+
# @see OpenAI::Models::Admin::Organization::AuditLogListResponse#actor
|
|
587
|
+
class Actor < OpenAI::Internal::Type::BaseModel
|
|
588
|
+
# @!attribute api_key
|
|
589
|
+
# The API Key used to perform the audit logged action.
|
|
590
|
+
#
|
|
591
|
+
# @return [OpenAI::Models::Admin::Organization::AuditLogListResponse::Actor::APIKey, nil]
|
|
592
|
+
optional :api_key, -> { OpenAI::Models::Admin::Organization::AuditLogListResponse::Actor::APIKey }
|
|
593
|
+
|
|
594
|
+
# @!attribute session
|
|
595
|
+
# The session in which the audit logged action was performed.
|
|
596
|
+
#
|
|
597
|
+
# @return [OpenAI::Models::Admin::Organization::AuditLogListResponse::Actor::Session, nil]
|
|
598
|
+
optional :session, -> { OpenAI::Models::Admin::Organization::AuditLogListResponse::Actor::Session }
|
|
599
|
+
|
|
600
|
+
# @!attribute type
|
|
601
|
+
# The type of actor. Is either `session` or `api_key`.
|
|
602
|
+
#
|
|
603
|
+
# @return [Symbol, OpenAI::Models::Admin::Organization::AuditLogListResponse::Actor::Type, nil]
|
|
604
|
+
optional :type, enum: -> { OpenAI::Models::Admin::Organization::AuditLogListResponse::Actor::Type }
|
|
605
|
+
|
|
606
|
+
# @!method initialize(api_key: nil, session: nil, type: nil)
|
|
607
|
+
# The actor who performed the audit logged action.
|
|
608
|
+
#
|
|
609
|
+
# @param api_key [OpenAI::Models::Admin::Organization::AuditLogListResponse::Actor::APIKey] The API Key used to perform the audit logged action.
|
|
610
|
+
#
|
|
611
|
+
# @param session [OpenAI::Models::Admin::Organization::AuditLogListResponse::Actor::Session] The session in which the audit logged action was performed.
|
|
612
|
+
#
|
|
613
|
+
# @param type [Symbol, OpenAI::Models::Admin::Organization::AuditLogListResponse::Actor::Type] The type of actor. Is either `session` or `api_key`.
|
|
614
|
+
|
|
615
|
+
# @see OpenAI::Models::Admin::Organization::AuditLogListResponse::Actor#api_key
|
|
616
|
+
class APIKey < OpenAI::Internal::Type::BaseModel
|
|
617
|
+
# @!attribute id
|
|
618
|
+
# The tracking id of the API key.
|
|
619
|
+
#
|
|
620
|
+
# @return [String, nil]
|
|
621
|
+
optional :id, String
|
|
622
|
+
|
|
623
|
+
# @!attribute service_account
|
|
624
|
+
# The service account that performed the audit logged action.
|
|
625
|
+
#
|
|
626
|
+
# @return [OpenAI::Models::Admin::Organization::AuditLogListResponse::Actor::APIKey::ServiceAccount, nil]
|
|
627
|
+
optional :service_account,
|
|
628
|
+
-> { OpenAI::Models::Admin::Organization::AuditLogListResponse::Actor::APIKey::ServiceAccount }
|
|
629
|
+
|
|
630
|
+
# @!attribute type
|
|
631
|
+
# The type of API key. Can be either `user` or `service_account`.
|
|
632
|
+
#
|
|
633
|
+
# @return [Symbol, OpenAI::Models::Admin::Organization::AuditLogListResponse::Actor::APIKey::Type, nil]
|
|
634
|
+
optional :type,
|
|
635
|
+
enum: -> { OpenAI::Models::Admin::Organization::AuditLogListResponse::Actor::APIKey::Type }
|
|
636
|
+
|
|
637
|
+
# @!attribute user
|
|
638
|
+
# The user who performed the audit logged action.
|
|
639
|
+
#
|
|
640
|
+
# @return [OpenAI::Models::Admin::Organization::AuditLogListResponse::Actor::APIKey::User, nil]
|
|
641
|
+
optional :user, -> { OpenAI::Models::Admin::Organization::AuditLogListResponse::Actor::APIKey::User }
|
|
642
|
+
|
|
643
|
+
# @!method initialize(id: nil, service_account: nil, type: nil, user: nil)
|
|
644
|
+
# The API Key used to perform the audit logged action.
|
|
645
|
+
#
|
|
646
|
+
# @param id [String] The tracking id of the API key.
|
|
647
|
+
#
|
|
648
|
+
# @param service_account [OpenAI::Models::Admin::Organization::AuditLogListResponse::Actor::APIKey::ServiceAccount] The service account that performed the audit logged action.
|
|
649
|
+
#
|
|
650
|
+
# @param type [Symbol, OpenAI::Models::Admin::Organization::AuditLogListResponse::Actor::APIKey::Type] The type of API key. Can be either `user` or `service_account`.
|
|
651
|
+
#
|
|
652
|
+
# @param user [OpenAI::Models::Admin::Organization::AuditLogListResponse::Actor::APIKey::User] The user who performed the audit logged action.
|
|
653
|
+
|
|
654
|
+
# @see OpenAI::Models::Admin::Organization::AuditLogListResponse::Actor::APIKey#service_account
|
|
655
|
+
class ServiceAccount < OpenAI::Internal::Type::BaseModel
|
|
656
|
+
# @!attribute id
|
|
657
|
+
# The service account id.
|
|
658
|
+
#
|
|
659
|
+
# @return [String, nil]
|
|
660
|
+
optional :id, String
|
|
661
|
+
|
|
662
|
+
# @!method initialize(id: nil)
|
|
663
|
+
# The service account that performed the audit logged action.
|
|
664
|
+
#
|
|
665
|
+
# @param id [String] The service account id.
|
|
666
|
+
end
|
|
667
|
+
|
|
668
|
+
# The type of API key. Can be either `user` or `service_account`.
|
|
669
|
+
#
|
|
670
|
+
# @see OpenAI::Models::Admin::Organization::AuditLogListResponse::Actor::APIKey#type
|
|
671
|
+
module Type
|
|
672
|
+
extend OpenAI::Internal::Type::Enum
|
|
673
|
+
|
|
674
|
+
USER = :user
|
|
675
|
+
SERVICE_ACCOUNT = :service_account
|
|
676
|
+
|
|
677
|
+
# @!method self.values
|
|
678
|
+
# @return [Array<Symbol>]
|
|
679
|
+
end
|
|
680
|
+
|
|
681
|
+
# @see OpenAI::Models::Admin::Organization::AuditLogListResponse::Actor::APIKey#user
|
|
682
|
+
class User < OpenAI::Internal::Type::BaseModel
|
|
683
|
+
# @!attribute id
|
|
684
|
+
# The user id.
|
|
685
|
+
#
|
|
686
|
+
# @return [String, nil]
|
|
687
|
+
optional :id, String
|
|
688
|
+
|
|
689
|
+
# @!attribute email
|
|
690
|
+
# The user email.
|
|
691
|
+
#
|
|
692
|
+
# @return [String, nil]
|
|
693
|
+
optional :email, String
|
|
694
|
+
|
|
695
|
+
# @!method initialize(id: nil, email: nil)
|
|
696
|
+
# The user who performed the audit logged action.
|
|
697
|
+
#
|
|
698
|
+
# @param id [String] The user id.
|
|
699
|
+
#
|
|
700
|
+
# @param email [String] The user email.
|
|
701
|
+
end
|
|
702
|
+
end
|
|
703
|
+
|
|
704
|
+
# @see OpenAI::Models::Admin::Organization::AuditLogListResponse::Actor#session
|
|
705
|
+
class Session < OpenAI::Internal::Type::BaseModel
|
|
706
|
+
# @!attribute ip_address
|
|
707
|
+
# The IP address from which the action was performed.
|
|
708
|
+
#
|
|
709
|
+
# @return [String, nil]
|
|
710
|
+
optional :ip_address, String
|
|
711
|
+
|
|
712
|
+
# @!attribute user
|
|
713
|
+
# The user who performed the audit logged action.
|
|
714
|
+
#
|
|
715
|
+
# @return [OpenAI::Models::Admin::Organization::AuditLogListResponse::Actor::Session::User, nil]
|
|
716
|
+
optional :user, -> { OpenAI::Models::Admin::Organization::AuditLogListResponse::Actor::Session::User }
|
|
717
|
+
|
|
718
|
+
# @!method initialize(ip_address: nil, user: nil)
|
|
719
|
+
# The session in which the audit logged action was performed.
|
|
720
|
+
#
|
|
721
|
+
# @param ip_address [String] The IP address from which the action was performed.
|
|
722
|
+
#
|
|
723
|
+
# @param user [OpenAI::Models::Admin::Organization::AuditLogListResponse::Actor::Session::User] The user who performed the audit logged action.
|
|
724
|
+
|
|
725
|
+
# @see OpenAI::Models::Admin::Organization::AuditLogListResponse::Actor::Session#user
|
|
726
|
+
class User < OpenAI::Internal::Type::BaseModel
|
|
727
|
+
# @!attribute id
|
|
728
|
+
# The user id.
|
|
729
|
+
#
|
|
730
|
+
# @return [String, nil]
|
|
731
|
+
optional :id, String
|
|
732
|
+
|
|
733
|
+
# @!attribute email
|
|
734
|
+
# The user email.
|
|
735
|
+
#
|
|
736
|
+
# @return [String, nil]
|
|
737
|
+
optional :email, String
|
|
738
|
+
|
|
739
|
+
# @!method initialize(id: nil, email: nil)
|
|
740
|
+
# The user who performed the audit logged action.
|
|
741
|
+
#
|
|
742
|
+
# @param id [String] The user id.
|
|
743
|
+
#
|
|
744
|
+
# @param email [String] The user email.
|
|
745
|
+
end
|
|
746
|
+
end
|
|
747
|
+
|
|
748
|
+
# The type of actor. Is either `session` or `api_key`.
|
|
749
|
+
#
|
|
750
|
+
# @see OpenAI::Models::Admin::Organization::AuditLogListResponse::Actor#type
|
|
751
|
+
module Type
|
|
752
|
+
extend OpenAI::Internal::Type::Enum
|
|
753
|
+
|
|
754
|
+
SESSION = :session
|
|
755
|
+
API_KEY = :api_key
|
|
756
|
+
|
|
757
|
+
# @!method self.values
|
|
758
|
+
# @return [Array<Symbol>]
|
|
759
|
+
end
|
|
760
|
+
end
|
|
761
|
+
|
|
762
|
+
# @see OpenAI::Models::Admin::Organization::AuditLogListResponse#api_key_created
|
|
763
|
+
class APIKeyCreated < OpenAI::Internal::Type::BaseModel
|
|
764
|
+
# @!attribute id
|
|
765
|
+
# The tracking ID of the API key.
|
|
766
|
+
#
|
|
767
|
+
# @return [String, nil]
|
|
768
|
+
optional :id, String
|
|
769
|
+
|
|
770
|
+
# @!attribute data
|
|
771
|
+
# The payload used to create the API key.
|
|
772
|
+
#
|
|
773
|
+
# @return [OpenAI::Models::Admin::Organization::AuditLogListResponse::APIKeyCreated::Data, nil]
|
|
774
|
+
optional :data, -> { OpenAI::Models::Admin::Organization::AuditLogListResponse::APIKeyCreated::Data }
|
|
775
|
+
|
|
776
|
+
# @!method initialize(id: nil, data: nil)
|
|
777
|
+
# The details for events with this `type`.
|
|
778
|
+
#
|
|
779
|
+
# @param id [String] The tracking ID of the API key.
|
|
780
|
+
#
|
|
781
|
+
# @param data [OpenAI::Models::Admin::Organization::AuditLogListResponse::APIKeyCreated::Data] The payload used to create the API key.
|
|
782
|
+
|
|
783
|
+
# @see OpenAI::Models::Admin::Organization::AuditLogListResponse::APIKeyCreated#data
|
|
784
|
+
class Data < OpenAI::Internal::Type::BaseModel
|
|
785
|
+
# @!attribute scopes
|
|
786
|
+
# A list of scopes allowed for the API key, e.g. `["api.model.request"]`
|
|
787
|
+
#
|
|
788
|
+
# @return [Array<String>, nil]
|
|
789
|
+
optional :scopes, OpenAI::Internal::Type::ArrayOf[String]
|
|
790
|
+
|
|
791
|
+
# @!method initialize(scopes: nil)
|
|
792
|
+
# The payload used to create the API key.
|
|
793
|
+
#
|
|
794
|
+
# @param scopes [Array<String>] A list of scopes allowed for the API key, e.g. `["api.model.request"]`
|
|
795
|
+
end
|
|
796
|
+
end
|
|
797
|
+
|
|
798
|
+
# @see OpenAI::Models::Admin::Organization::AuditLogListResponse#api_key_deleted
|
|
799
|
+
class APIKeyDeleted < OpenAI::Internal::Type::BaseModel
|
|
800
|
+
# @!attribute id
|
|
801
|
+
# The tracking ID of the API key.
|
|
802
|
+
#
|
|
803
|
+
# @return [String, nil]
|
|
804
|
+
optional :id, String
|
|
805
|
+
|
|
806
|
+
# @!method initialize(id: nil)
|
|
807
|
+
# The details for events with this `type`.
|
|
808
|
+
#
|
|
809
|
+
# @param id [String] The tracking ID of the API key.
|
|
810
|
+
end
|
|
811
|
+
|
|
812
|
+
# @see OpenAI::Models::Admin::Organization::AuditLogListResponse#api_key_updated
|
|
813
|
+
class APIKeyUpdated < OpenAI::Internal::Type::BaseModel
|
|
814
|
+
# @!attribute id
|
|
815
|
+
# The tracking ID of the API key.
|
|
816
|
+
#
|
|
817
|
+
# @return [String, nil]
|
|
818
|
+
optional :id, String
|
|
819
|
+
|
|
820
|
+
# @!attribute changes_requested
|
|
821
|
+
# The payload used to update the API key.
|
|
822
|
+
#
|
|
823
|
+
# @return [OpenAI::Models::Admin::Organization::AuditLogListResponse::APIKeyUpdated::ChangesRequested, nil]
|
|
824
|
+
optional :changes_requested,
|
|
825
|
+
-> { OpenAI::Models::Admin::Organization::AuditLogListResponse::APIKeyUpdated::ChangesRequested }
|
|
826
|
+
|
|
827
|
+
# @!method initialize(id: nil, changes_requested: nil)
|
|
828
|
+
# The details for events with this `type`.
|
|
829
|
+
#
|
|
830
|
+
# @param id [String] The tracking ID of the API key.
|
|
831
|
+
#
|
|
832
|
+
# @param changes_requested [OpenAI::Models::Admin::Organization::AuditLogListResponse::APIKeyUpdated::ChangesRequested] The payload used to update the API key.
|
|
833
|
+
|
|
834
|
+
# @see OpenAI::Models::Admin::Organization::AuditLogListResponse::APIKeyUpdated#changes_requested
|
|
835
|
+
class ChangesRequested < OpenAI::Internal::Type::BaseModel
|
|
836
|
+
# @!attribute scopes
|
|
837
|
+
# A list of scopes allowed for the API key, e.g. `["api.model.request"]`
|
|
838
|
+
#
|
|
839
|
+
# @return [Array<String>, nil]
|
|
840
|
+
optional :scopes, OpenAI::Internal::Type::ArrayOf[String]
|
|
841
|
+
|
|
842
|
+
# @!method initialize(scopes: nil)
|
|
843
|
+
# The payload used to update the API key.
|
|
844
|
+
#
|
|
845
|
+
# @param scopes [Array<String>] A list of scopes allowed for the API key, e.g. `["api.model.request"]`
|
|
846
|
+
end
|
|
847
|
+
end
|
|
848
|
+
|
|
849
|
+
# @see OpenAI::Models::Admin::Organization::AuditLogListResponse#certificate_created
|
|
850
|
+
class CertificateCreated < OpenAI::Internal::Type::BaseModel
|
|
851
|
+
# @!attribute id
|
|
852
|
+
# The certificate ID.
|
|
853
|
+
#
|
|
854
|
+
# @return [String, nil]
|
|
855
|
+
optional :id, String
|
|
856
|
+
|
|
857
|
+
# @!attribute name
|
|
858
|
+
# The name of the certificate.
|
|
859
|
+
#
|
|
860
|
+
# @return [String, nil]
|
|
861
|
+
optional :name, String
|
|
862
|
+
|
|
863
|
+
# @!method initialize(id: nil, name: nil)
|
|
864
|
+
# The details for events with this `type`.
|
|
865
|
+
#
|
|
866
|
+
# @param id [String] The certificate ID.
|
|
867
|
+
#
|
|
868
|
+
# @param name [String] The name of the certificate.
|
|
869
|
+
end
|
|
870
|
+
|
|
871
|
+
# @see OpenAI::Models::Admin::Organization::AuditLogListResponse#certificate_deleted
|
|
872
|
+
class CertificateDeleted < OpenAI::Internal::Type::BaseModel
|
|
873
|
+
# @!attribute id
|
|
874
|
+
# The certificate ID.
|
|
875
|
+
#
|
|
876
|
+
# @return [String, nil]
|
|
877
|
+
optional :id, String
|
|
878
|
+
|
|
879
|
+
# @!attribute certificate
|
|
880
|
+
# The certificate content in PEM format.
|
|
881
|
+
#
|
|
882
|
+
# @return [String, nil]
|
|
883
|
+
optional :certificate, String
|
|
884
|
+
|
|
885
|
+
# @!attribute name
|
|
886
|
+
# The name of the certificate.
|
|
887
|
+
#
|
|
888
|
+
# @return [String, nil]
|
|
889
|
+
optional :name, String
|
|
890
|
+
|
|
891
|
+
# @!method initialize(id: nil, certificate: nil, name: nil)
|
|
892
|
+
# The details for events with this `type`.
|
|
893
|
+
#
|
|
894
|
+
# @param id [String] The certificate ID.
|
|
895
|
+
#
|
|
896
|
+
# @param certificate [String] The certificate content in PEM format.
|
|
897
|
+
#
|
|
898
|
+
# @param name [String] The name of the certificate.
|
|
899
|
+
end
|
|
900
|
+
|
|
901
|
+
# @see OpenAI::Models::Admin::Organization::AuditLogListResponse#certificate_updated
|
|
902
|
+
class CertificateUpdated < OpenAI::Internal::Type::BaseModel
|
|
903
|
+
# @!attribute id
|
|
904
|
+
# The certificate ID.
|
|
905
|
+
#
|
|
906
|
+
# @return [String, nil]
|
|
907
|
+
optional :id, String
|
|
908
|
+
|
|
909
|
+
# @!attribute name
|
|
910
|
+
# The name of the certificate.
|
|
911
|
+
#
|
|
912
|
+
# @return [String, nil]
|
|
913
|
+
optional :name, String
|
|
914
|
+
|
|
915
|
+
# @!method initialize(id: nil, name: nil)
|
|
916
|
+
# The details for events with this `type`.
|
|
917
|
+
#
|
|
918
|
+
# @param id [String] The certificate ID.
|
|
919
|
+
#
|
|
920
|
+
# @param name [String] The name of the certificate.
|
|
921
|
+
end
|
|
922
|
+
|
|
923
|
+
# @see OpenAI::Models::Admin::Organization::AuditLogListResponse#certificates_activated
|
|
924
|
+
class CertificatesActivated < OpenAI::Internal::Type::BaseModel
|
|
925
|
+
# @!attribute certificates
|
|
926
|
+
#
|
|
927
|
+
# @return [Array<OpenAI::Models::Admin::Organization::AuditLogListResponse::CertificatesActivated::Certificate>, nil]
|
|
928
|
+
optional :certificates,
|
|
929
|
+
-> { OpenAI::Internal::Type::ArrayOf[OpenAI::Models::Admin::Organization::AuditLogListResponse::CertificatesActivated::Certificate] }
|
|
930
|
+
|
|
931
|
+
# @!method initialize(certificates: nil)
|
|
932
|
+
# The details for events with this `type`.
|
|
933
|
+
#
|
|
934
|
+
# @param certificates [Array<OpenAI::Models::Admin::Organization::AuditLogListResponse::CertificatesActivated::Certificate>]
|
|
935
|
+
|
|
936
|
+
class Certificate < OpenAI::Internal::Type::BaseModel
|
|
937
|
+
# @!attribute id
|
|
938
|
+
# The certificate ID.
|
|
939
|
+
#
|
|
940
|
+
# @return [String, nil]
|
|
941
|
+
optional :id, String
|
|
942
|
+
|
|
943
|
+
# @!attribute name
|
|
944
|
+
# The name of the certificate.
|
|
945
|
+
#
|
|
946
|
+
# @return [String, nil]
|
|
947
|
+
optional :name, String
|
|
948
|
+
|
|
949
|
+
# @!method initialize(id: nil, name: nil)
|
|
950
|
+
# @param id [String] The certificate ID.
|
|
951
|
+
#
|
|
952
|
+
# @param name [String] The name of the certificate.
|
|
953
|
+
end
|
|
954
|
+
end
|
|
955
|
+
|
|
956
|
+
# @see OpenAI::Models::Admin::Organization::AuditLogListResponse#certificates_deactivated
|
|
957
|
+
class CertificatesDeactivated < OpenAI::Internal::Type::BaseModel
|
|
958
|
+
# @!attribute certificates
|
|
959
|
+
#
|
|
960
|
+
# @return [Array<OpenAI::Models::Admin::Organization::AuditLogListResponse::CertificatesDeactivated::Certificate>, nil]
|
|
961
|
+
optional :certificates,
|
|
962
|
+
-> { OpenAI::Internal::Type::ArrayOf[OpenAI::Models::Admin::Organization::AuditLogListResponse::CertificatesDeactivated::Certificate] }
|
|
963
|
+
|
|
964
|
+
# @!method initialize(certificates: nil)
|
|
965
|
+
# The details for events with this `type`.
|
|
966
|
+
#
|
|
967
|
+
# @param certificates [Array<OpenAI::Models::Admin::Organization::AuditLogListResponse::CertificatesDeactivated::Certificate>]
|
|
968
|
+
|
|
969
|
+
class Certificate < OpenAI::Internal::Type::BaseModel
|
|
970
|
+
# @!attribute id
|
|
971
|
+
# The certificate ID.
|
|
972
|
+
#
|
|
973
|
+
# @return [String, nil]
|
|
974
|
+
optional :id, String
|
|
975
|
+
|
|
976
|
+
# @!attribute name
|
|
977
|
+
# The name of the certificate.
|
|
978
|
+
#
|
|
979
|
+
# @return [String, nil]
|
|
980
|
+
optional :name, String
|
|
981
|
+
|
|
982
|
+
# @!method initialize(id: nil, name: nil)
|
|
983
|
+
# @param id [String] The certificate ID.
|
|
984
|
+
#
|
|
985
|
+
# @param name [String] The name of the certificate.
|
|
986
|
+
end
|
|
987
|
+
end
|
|
988
|
+
|
|
989
|
+
# @see OpenAI::Models::Admin::Organization::AuditLogListResponse#checkpoint_permission_created
|
|
990
|
+
class CheckpointPermissionCreated < OpenAI::Internal::Type::BaseModel
|
|
991
|
+
# @!attribute id
|
|
992
|
+
# The ID of the checkpoint permission.
|
|
993
|
+
#
|
|
994
|
+
# @return [String, nil]
|
|
995
|
+
optional :id, String
|
|
996
|
+
|
|
997
|
+
# @!attribute data
|
|
998
|
+
# The payload used to create the checkpoint permission.
|
|
999
|
+
#
|
|
1000
|
+
# @return [OpenAI::Models::Admin::Organization::AuditLogListResponse::CheckpointPermissionCreated::Data, nil]
|
|
1001
|
+
optional :data,
|
|
1002
|
+
-> { OpenAI::Models::Admin::Organization::AuditLogListResponse::CheckpointPermissionCreated::Data }
|
|
1003
|
+
|
|
1004
|
+
# @!method initialize(id: nil, data: nil)
|
|
1005
|
+
# The project and fine-tuned model checkpoint that the checkpoint permission was
|
|
1006
|
+
# created for.
|
|
1007
|
+
#
|
|
1008
|
+
# @param id [String] The ID of the checkpoint permission.
|
|
1009
|
+
#
|
|
1010
|
+
# @param data [OpenAI::Models::Admin::Organization::AuditLogListResponse::CheckpointPermissionCreated::Data] The payload used to create the checkpoint permission.
|
|
1011
|
+
|
|
1012
|
+
# @see OpenAI::Models::Admin::Organization::AuditLogListResponse::CheckpointPermissionCreated#data
|
|
1013
|
+
class Data < OpenAI::Internal::Type::BaseModel
|
|
1014
|
+
# @!attribute fine_tuned_model_checkpoint
|
|
1015
|
+
# The ID of the fine-tuned model checkpoint.
|
|
1016
|
+
#
|
|
1017
|
+
# @return [String, nil]
|
|
1018
|
+
optional :fine_tuned_model_checkpoint, String
|
|
1019
|
+
|
|
1020
|
+
# @!attribute project_id
|
|
1021
|
+
# The ID of the project that the checkpoint permission was created for.
|
|
1022
|
+
#
|
|
1023
|
+
# @return [String, nil]
|
|
1024
|
+
optional :project_id, String
|
|
1025
|
+
|
|
1026
|
+
# @!method initialize(fine_tuned_model_checkpoint: nil, project_id: nil)
|
|
1027
|
+
# The payload used to create the checkpoint permission.
|
|
1028
|
+
#
|
|
1029
|
+
# @param fine_tuned_model_checkpoint [String] The ID of the fine-tuned model checkpoint.
|
|
1030
|
+
#
|
|
1031
|
+
# @param project_id [String] The ID of the project that the checkpoint permission was created for.
|
|
1032
|
+
end
|
|
1033
|
+
end
|
|
1034
|
+
|
|
1035
|
+
# @see OpenAI::Models::Admin::Organization::AuditLogListResponse#checkpoint_permission_deleted
|
|
1036
|
+
class CheckpointPermissionDeleted < OpenAI::Internal::Type::BaseModel
|
|
1037
|
+
# @!attribute id
|
|
1038
|
+
# The ID of the checkpoint permission.
|
|
1039
|
+
#
|
|
1040
|
+
# @return [String, nil]
|
|
1041
|
+
optional :id, String
|
|
1042
|
+
|
|
1043
|
+
# @!method initialize(id: nil)
|
|
1044
|
+
# The details for events with this `type`.
|
|
1045
|
+
#
|
|
1046
|
+
# @param id [String] The ID of the checkpoint permission.
|
|
1047
|
+
end
|
|
1048
|
+
|
|
1049
|
+
# @see OpenAI::Models::Admin::Organization::AuditLogListResponse#external_key_registered
|
|
1050
|
+
class ExternalKeyRegistered < OpenAI::Internal::Type::BaseModel
|
|
1051
|
+
# @!attribute id
|
|
1052
|
+
# The ID of the external key configuration.
|
|
1053
|
+
#
|
|
1054
|
+
# @return [String, nil]
|
|
1055
|
+
optional :id, String
|
|
1056
|
+
|
|
1057
|
+
# @!attribute data
|
|
1058
|
+
# The configuration for the external key.
|
|
1059
|
+
#
|
|
1060
|
+
# @return [Object, nil]
|
|
1061
|
+
optional :data, OpenAI::Internal::Type::Unknown
|
|
1062
|
+
|
|
1063
|
+
# @!method initialize(id: nil, data: nil)
|
|
1064
|
+
# The details for events with this `type`.
|
|
1065
|
+
#
|
|
1066
|
+
# @param id [String] The ID of the external key configuration.
|
|
1067
|
+
#
|
|
1068
|
+
# @param data [Object] The configuration for the external key.
|
|
1069
|
+
end
|
|
1070
|
+
|
|
1071
|
+
# @see OpenAI::Models::Admin::Organization::AuditLogListResponse#external_key_removed
|
|
1072
|
+
class ExternalKeyRemoved < OpenAI::Internal::Type::BaseModel
|
|
1073
|
+
# @!attribute id
|
|
1074
|
+
# The ID of the external key configuration.
|
|
1075
|
+
#
|
|
1076
|
+
# @return [String, nil]
|
|
1077
|
+
optional :id, String
|
|
1078
|
+
|
|
1079
|
+
# @!method initialize(id: nil)
|
|
1080
|
+
# The details for events with this `type`.
|
|
1081
|
+
#
|
|
1082
|
+
# @param id [String] The ID of the external key configuration.
|
|
1083
|
+
end
|
|
1084
|
+
|
|
1085
|
+
# @see OpenAI::Models::Admin::Organization::AuditLogListResponse#group_created
|
|
1086
|
+
class GroupCreated < OpenAI::Internal::Type::BaseModel
|
|
1087
|
+
# @!attribute id
|
|
1088
|
+
# The ID of the group.
|
|
1089
|
+
#
|
|
1090
|
+
# @return [String, nil]
|
|
1091
|
+
optional :id, String
|
|
1092
|
+
|
|
1093
|
+
# @!attribute data
|
|
1094
|
+
# Information about the created group.
|
|
1095
|
+
#
|
|
1096
|
+
# @return [OpenAI::Models::Admin::Organization::AuditLogListResponse::GroupCreated::Data, nil]
|
|
1097
|
+
optional :data, -> { OpenAI::Models::Admin::Organization::AuditLogListResponse::GroupCreated::Data }
|
|
1098
|
+
|
|
1099
|
+
# @!method initialize(id: nil, data: nil)
|
|
1100
|
+
# The details for events with this `type`.
|
|
1101
|
+
#
|
|
1102
|
+
# @param id [String] The ID of the group.
|
|
1103
|
+
#
|
|
1104
|
+
# @param data [OpenAI::Models::Admin::Organization::AuditLogListResponse::GroupCreated::Data] Information about the created group.
|
|
1105
|
+
|
|
1106
|
+
# @see OpenAI::Models::Admin::Organization::AuditLogListResponse::GroupCreated#data
|
|
1107
|
+
class Data < OpenAI::Internal::Type::BaseModel
|
|
1108
|
+
# @!attribute group_name
|
|
1109
|
+
# The group name.
|
|
1110
|
+
#
|
|
1111
|
+
# @return [String, nil]
|
|
1112
|
+
optional :group_name, String
|
|
1113
|
+
|
|
1114
|
+
# @!method initialize(group_name: nil)
|
|
1115
|
+
# Information about the created group.
|
|
1116
|
+
#
|
|
1117
|
+
# @param group_name [String] The group name.
|
|
1118
|
+
end
|
|
1119
|
+
end
|
|
1120
|
+
|
|
1121
|
+
# @see OpenAI::Models::Admin::Organization::AuditLogListResponse#group_deleted
|
|
1122
|
+
class GroupDeleted < OpenAI::Internal::Type::BaseModel
|
|
1123
|
+
# @!attribute id
|
|
1124
|
+
# The ID of the group.
|
|
1125
|
+
#
|
|
1126
|
+
# @return [String, nil]
|
|
1127
|
+
optional :id, String
|
|
1128
|
+
|
|
1129
|
+
# @!method initialize(id: nil)
|
|
1130
|
+
# The details for events with this `type`.
|
|
1131
|
+
#
|
|
1132
|
+
# @param id [String] The ID of the group.
|
|
1133
|
+
end
|
|
1134
|
+
|
|
1135
|
+
# @see OpenAI::Models::Admin::Organization::AuditLogListResponse#group_updated
|
|
1136
|
+
class GroupUpdated < OpenAI::Internal::Type::BaseModel
|
|
1137
|
+
# @!attribute id
|
|
1138
|
+
# The ID of the group.
|
|
1139
|
+
#
|
|
1140
|
+
# @return [String, nil]
|
|
1141
|
+
optional :id, String
|
|
1142
|
+
|
|
1143
|
+
# @!attribute changes_requested
|
|
1144
|
+
# The payload used to update the group.
|
|
1145
|
+
#
|
|
1146
|
+
# @return [OpenAI::Models::Admin::Organization::AuditLogListResponse::GroupUpdated::ChangesRequested, nil]
|
|
1147
|
+
optional :changes_requested,
|
|
1148
|
+
-> { OpenAI::Models::Admin::Organization::AuditLogListResponse::GroupUpdated::ChangesRequested }
|
|
1149
|
+
|
|
1150
|
+
# @!method initialize(id: nil, changes_requested: nil)
|
|
1151
|
+
# The details for events with this `type`.
|
|
1152
|
+
#
|
|
1153
|
+
# @param id [String] The ID of the group.
|
|
1154
|
+
#
|
|
1155
|
+
# @param changes_requested [OpenAI::Models::Admin::Organization::AuditLogListResponse::GroupUpdated::ChangesRequested] The payload used to update the group.
|
|
1156
|
+
|
|
1157
|
+
# @see OpenAI::Models::Admin::Organization::AuditLogListResponse::GroupUpdated#changes_requested
|
|
1158
|
+
class ChangesRequested < OpenAI::Internal::Type::BaseModel
|
|
1159
|
+
# @!attribute group_name
|
|
1160
|
+
# The updated group name.
|
|
1161
|
+
#
|
|
1162
|
+
# @return [String, nil]
|
|
1163
|
+
optional :group_name, String
|
|
1164
|
+
|
|
1165
|
+
# @!method initialize(group_name: nil)
|
|
1166
|
+
# The payload used to update the group.
|
|
1167
|
+
#
|
|
1168
|
+
# @param group_name [String] The updated group name.
|
|
1169
|
+
end
|
|
1170
|
+
end
|
|
1171
|
+
|
|
1172
|
+
# @see OpenAI::Models::Admin::Organization::AuditLogListResponse#invite_accepted
|
|
1173
|
+
class InviteAccepted < OpenAI::Internal::Type::BaseModel
|
|
1174
|
+
# @!attribute id
|
|
1175
|
+
# The ID of the invite.
|
|
1176
|
+
#
|
|
1177
|
+
# @return [String, nil]
|
|
1178
|
+
optional :id, String
|
|
1179
|
+
|
|
1180
|
+
# @!method initialize(id: nil)
|
|
1181
|
+
# The details for events with this `type`.
|
|
1182
|
+
#
|
|
1183
|
+
# @param id [String] The ID of the invite.
|
|
1184
|
+
end
|
|
1185
|
+
|
|
1186
|
+
# @see OpenAI::Models::Admin::Organization::AuditLogListResponse#invite_deleted
|
|
1187
|
+
class InviteDeleted < OpenAI::Internal::Type::BaseModel
|
|
1188
|
+
# @!attribute id
|
|
1189
|
+
# The ID of the invite.
|
|
1190
|
+
#
|
|
1191
|
+
# @return [String, nil]
|
|
1192
|
+
optional :id, String
|
|
1193
|
+
|
|
1194
|
+
# @!method initialize(id: nil)
|
|
1195
|
+
# The details for events with this `type`.
|
|
1196
|
+
#
|
|
1197
|
+
# @param id [String] The ID of the invite.
|
|
1198
|
+
end
|
|
1199
|
+
|
|
1200
|
+
# @see OpenAI::Models::Admin::Organization::AuditLogListResponse#invite_sent
|
|
1201
|
+
class InviteSent < OpenAI::Internal::Type::BaseModel
|
|
1202
|
+
# @!attribute id
|
|
1203
|
+
# The ID of the invite.
|
|
1204
|
+
#
|
|
1205
|
+
# @return [String, nil]
|
|
1206
|
+
optional :id, String
|
|
1207
|
+
|
|
1208
|
+
# @!attribute data
|
|
1209
|
+
# The payload used to create the invite.
|
|
1210
|
+
#
|
|
1211
|
+
# @return [OpenAI::Models::Admin::Organization::AuditLogListResponse::InviteSent::Data, nil]
|
|
1212
|
+
optional :data, -> { OpenAI::Models::Admin::Organization::AuditLogListResponse::InviteSent::Data }
|
|
1213
|
+
|
|
1214
|
+
# @!method initialize(id: nil, data: nil)
|
|
1215
|
+
# The details for events with this `type`.
|
|
1216
|
+
#
|
|
1217
|
+
# @param id [String] The ID of the invite.
|
|
1218
|
+
#
|
|
1219
|
+
# @param data [OpenAI::Models::Admin::Organization::AuditLogListResponse::InviteSent::Data] The payload used to create the invite.
|
|
1220
|
+
|
|
1221
|
+
# @see OpenAI::Models::Admin::Organization::AuditLogListResponse::InviteSent#data
|
|
1222
|
+
class Data < OpenAI::Internal::Type::BaseModel
|
|
1223
|
+
# @!attribute email
|
|
1224
|
+
# The email invited to the organization.
|
|
1225
|
+
#
|
|
1226
|
+
# @return [String, nil]
|
|
1227
|
+
optional :email, String
|
|
1228
|
+
|
|
1229
|
+
# @!attribute role
|
|
1230
|
+
# The role the email was invited to be. Is either `owner` or `member`.
|
|
1231
|
+
#
|
|
1232
|
+
# @return [String, nil]
|
|
1233
|
+
optional :role, String
|
|
1234
|
+
|
|
1235
|
+
# @!method initialize(email: nil, role: nil)
|
|
1236
|
+
# The payload used to create the invite.
|
|
1237
|
+
#
|
|
1238
|
+
# @param email [String] The email invited to the organization.
|
|
1239
|
+
#
|
|
1240
|
+
# @param role [String] The role the email was invited to be. Is either `owner` or `member`.
|
|
1241
|
+
end
|
|
1242
|
+
end
|
|
1243
|
+
|
|
1244
|
+
# @see OpenAI::Models::Admin::Organization::AuditLogListResponse#ip_allowlist_config_activated
|
|
1245
|
+
class IPAllowlistConfigActivated < OpenAI::Internal::Type::BaseModel
|
|
1246
|
+
# @!attribute configs
|
|
1247
|
+
# The configurations that were activated.
|
|
1248
|
+
#
|
|
1249
|
+
# @return [Array<OpenAI::Models::Admin::Organization::AuditLogListResponse::IPAllowlistConfigActivated::Config>, nil]
|
|
1250
|
+
optional :configs,
|
|
1251
|
+
-> { OpenAI::Internal::Type::ArrayOf[OpenAI::Models::Admin::Organization::AuditLogListResponse::IPAllowlistConfigActivated::Config] }
|
|
1252
|
+
|
|
1253
|
+
# @!method initialize(configs: nil)
|
|
1254
|
+
# The details for events with this `type`.
|
|
1255
|
+
#
|
|
1256
|
+
# @param configs [Array<OpenAI::Models::Admin::Organization::AuditLogListResponse::IPAllowlistConfigActivated::Config>] The configurations that were activated.
|
|
1257
|
+
|
|
1258
|
+
class Config < OpenAI::Internal::Type::BaseModel
|
|
1259
|
+
# @!attribute id
|
|
1260
|
+
# The ID of the IP allowlist configuration.
|
|
1261
|
+
#
|
|
1262
|
+
# @return [String, nil]
|
|
1263
|
+
optional :id, String
|
|
1264
|
+
|
|
1265
|
+
# @!attribute name
|
|
1266
|
+
# The name of the IP allowlist configuration.
|
|
1267
|
+
#
|
|
1268
|
+
# @return [String, nil]
|
|
1269
|
+
optional :name, String
|
|
1270
|
+
|
|
1271
|
+
# @!method initialize(id: nil, name: nil)
|
|
1272
|
+
# @param id [String] The ID of the IP allowlist configuration.
|
|
1273
|
+
#
|
|
1274
|
+
# @param name [String] The name of the IP allowlist configuration.
|
|
1275
|
+
end
|
|
1276
|
+
end
|
|
1277
|
+
|
|
1278
|
+
# @see OpenAI::Models::Admin::Organization::AuditLogListResponse#ip_allowlist_config_deactivated
|
|
1279
|
+
class IPAllowlistConfigDeactivated < OpenAI::Internal::Type::BaseModel
|
|
1280
|
+
# @!attribute configs
|
|
1281
|
+
# The configurations that were deactivated.
|
|
1282
|
+
#
|
|
1283
|
+
# @return [Array<OpenAI::Models::Admin::Organization::AuditLogListResponse::IPAllowlistConfigDeactivated::Config>, nil]
|
|
1284
|
+
optional :configs,
|
|
1285
|
+
-> { OpenAI::Internal::Type::ArrayOf[OpenAI::Models::Admin::Organization::AuditLogListResponse::IPAllowlistConfigDeactivated::Config] }
|
|
1286
|
+
|
|
1287
|
+
# @!method initialize(configs: nil)
|
|
1288
|
+
# The details for events with this `type`.
|
|
1289
|
+
#
|
|
1290
|
+
# @param configs [Array<OpenAI::Models::Admin::Organization::AuditLogListResponse::IPAllowlistConfigDeactivated::Config>] The configurations that were deactivated.
|
|
1291
|
+
|
|
1292
|
+
class Config < OpenAI::Internal::Type::BaseModel
|
|
1293
|
+
# @!attribute id
|
|
1294
|
+
# The ID of the IP allowlist configuration.
|
|
1295
|
+
#
|
|
1296
|
+
# @return [String, nil]
|
|
1297
|
+
optional :id, String
|
|
1298
|
+
|
|
1299
|
+
# @!attribute name
|
|
1300
|
+
# The name of the IP allowlist configuration.
|
|
1301
|
+
#
|
|
1302
|
+
# @return [String, nil]
|
|
1303
|
+
optional :name, String
|
|
1304
|
+
|
|
1305
|
+
# @!method initialize(id: nil, name: nil)
|
|
1306
|
+
# @param id [String] The ID of the IP allowlist configuration.
|
|
1307
|
+
#
|
|
1308
|
+
# @param name [String] The name of the IP allowlist configuration.
|
|
1309
|
+
end
|
|
1310
|
+
end
|
|
1311
|
+
|
|
1312
|
+
# @see OpenAI::Models::Admin::Organization::AuditLogListResponse#ip_allowlist_created
|
|
1313
|
+
class IPAllowlistCreated < OpenAI::Internal::Type::BaseModel
|
|
1314
|
+
# @!attribute id
|
|
1315
|
+
# The ID of the IP allowlist configuration.
|
|
1316
|
+
#
|
|
1317
|
+
# @return [String, nil]
|
|
1318
|
+
optional :id, String
|
|
1319
|
+
|
|
1320
|
+
# @!attribute allowed_ips
|
|
1321
|
+
# The IP addresses or CIDR ranges included in the configuration.
|
|
1322
|
+
#
|
|
1323
|
+
# @return [Array<String>, nil]
|
|
1324
|
+
optional :allowed_ips, OpenAI::Internal::Type::ArrayOf[String]
|
|
1325
|
+
|
|
1326
|
+
# @!attribute name
|
|
1327
|
+
# The name of the IP allowlist configuration.
|
|
1328
|
+
#
|
|
1329
|
+
# @return [String, nil]
|
|
1330
|
+
optional :name, String
|
|
1331
|
+
|
|
1332
|
+
# @!method initialize(id: nil, allowed_ips: nil, name: nil)
|
|
1333
|
+
# The details for events with this `type`.
|
|
1334
|
+
#
|
|
1335
|
+
# @param id [String] The ID of the IP allowlist configuration.
|
|
1336
|
+
#
|
|
1337
|
+
# @param allowed_ips [Array<String>] The IP addresses or CIDR ranges included in the configuration.
|
|
1338
|
+
#
|
|
1339
|
+
# @param name [String] The name of the IP allowlist configuration.
|
|
1340
|
+
end
|
|
1341
|
+
|
|
1342
|
+
# @see OpenAI::Models::Admin::Organization::AuditLogListResponse#ip_allowlist_deleted
|
|
1343
|
+
class IPAllowlistDeleted < OpenAI::Internal::Type::BaseModel
|
|
1344
|
+
# @!attribute id
|
|
1345
|
+
# The ID of the IP allowlist configuration.
|
|
1346
|
+
#
|
|
1347
|
+
# @return [String, nil]
|
|
1348
|
+
optional :id, String
|
|
1349
|
+
|
|
1350
|
+
# @!attribute allowed_ips
|
|
1351
|
+
# The IP addresses or CIDR ranges that were in the configuration.
|
|
1352
|
+
#
|
|
1353
|
+
# @return [Array<String>, nil]
|
|
1354
|
+
optional :allowed_ips, OpenAI::Internal::Type::ArrayOf[String]
|
|
1355
|
+
|
|
1356
|
+
# @!attribute name
|
|
1357
|
+
# The name of the IP allowlist configuration.
|
|
1358
|
+
#
|
|
1359
|
+
# @return [String, nil]
|
|
1360
|
+
optional :name, String
|
|
1361
|
+
|
|
1362
|
+
# @!method initialize(id: nil, allowed_ips: nil, name: nil)
|
|
1363
|
+
# The details for events with this `type`.
|
|
1364
|
+
#
|
|
1365
|
+
# @param id [String] The ID of the IP allowlist configuration.
|
|
1366
|
+
#
|
|
1367
|
+
# @param allowed_ips [Array<String>] The IP addresses or CIDR ranges that were in the configuration.
|
|
1368
|
+
#
|
|
1369
|
+
# @param name [String] The name of the IP allowlist configuration.
|
|
1370
|
+
end
|
|
1371
|
+
|
|
1372
|
+
# @see OpenAI::Models::Admin::Organization::AuditLogListResponse#ip_allowlist_updated
|
|
1373
|
+
class IPAllowlistUpdated < OpenAI::Internal::Type::BaseModel
|
|
1374
|
+
# @!attribute id
|
|
1375
|
+
# The ID of the IP allowlist configuration.
|
|
1376
|
+
#
|
|
1377
|
+
# @return [String, nil]
|
|
1378
|
+
optional :id, String
|
|
1379
|
+
|
|
1380
|
+
# @!attribute allowed_ips
|
|
1381
|
+
# The updated set of IP addresses or CIDR ranges in the configuration.
|
|
1382
|
+
#
|
|
1383
|
+
# @return [Array<String>, nil]
|
|
1384
|
+
optional :allowed_ips, OpenAI::Internal::Type::ArrayOf[String]
|
|
1385
|
+
|
|
1386
|
+
# @!method initialize(id: nil, allowed_ips: nil)
|
|
1387
|
+
# The details for events with this `type`.
|
|
1388
|
+
#
|
|
1389
|
+
# @param id [String] The ID of the IP allowlist configuration.
|
|
1390
|
+
#
|
|
1391
|
+
# @param allowed_ips [Array<String>] The updated set of IP addresses or CIDR ranges in the configuration.
|
|
1392
|
+
end
|
|
1393
|
+
|
|
1394
|
+
# @see OpenAI::Models::Admin::Organization::AuditLogListResponse#login_failed
|
|
1395
|
+
class LoginFailed < OpenAI::Internal::Type::BaseModel
|
|
1396
|
+
# @!attribute error_code
|
|
1397
|
+
# The error code of the failure.
|
|
1398
|
+
#
|
|
1399
|
+
# @return [String, nil]
|
|
1400
|
+
optional :error_code, String
|
|
1401
|
+
|
|
1402
|
+
# @!attribute error_message
|
|
1403
|
+
# The error message of the failure.
|
|
1404
|
+
#
|
|
1405
|
+
# @return [String, nil]
|
|
1406
|
+
optional :error_message, String
|
|
1407
|
+
|
|
1408
|
+
# @!method initialize(error_code: nil, error_message: nil)
|
|
1409
|
+
# The details for events with this `type`.
|
|
1410
|
+
#
|
|
1411
|
+
# @param error_code [String] The error code of the failure.
|
|
1412
|
+
#
|
|
1413
|
+
# @param error_message [String] The error message of the failure.
|
|
1414
|
+
end
|
|
1415
|
+
|
|
1416
|
+
# @see OpenAI::Models::Admin::Organization::AuditLogListResponse#logout_failed
|
|
1417
|
+
class LogoutFailed < OpenAI::Internal::Type::BaseModel
|
|
1418
|
+
# @!attribute error_code
|
|
1419
|
+
# The error code of the failure.
|
|
1420
|
+
#
|
|
1421
|
+
# @return [String, nil]
|
|
1422
|
+
optional :error_code, String
|
|
1423
|
+
|
|
1424
|
+
# @!attribute error_message
|
|
1425
|
+
# The error message of the failure.
|
|
1426
|
+
#
|
|
1427
|
+
# @return [String, nil]
|
|
1428
|
+
optional :error_message, String
|
|
1429
|
+
|
|
1430
|
+
# @!method initialize(error_code: nil, error_message: nil)
|
|
1431
|
+
# The details for events with this `type`.
|
|
1432
|
+
#
|
|
1433
|
+
# @param error_code [String] The error code of the failure.
|
|
1434
|
+
#
|
|
1435
|
+
# @param error_message [String] The error message of the failure.
|
|
1436
|
+
end
|
|
1437
|
+
|
|
1438
|
+
# @see OpenAI::Models::Admin::Organization::AuditLogListResponse#organization_updated
|
|
1439
|
+
class OrganizationUpdated < OpenAI::Internal::Type::BaseModel
|
|
1440
|
+
# @!attribute id
|
|
1441
|
+
# The organization ID.
|
|
1442
|
+
#
|
|
1443
|
+
# @return [String, nil]
|
|
1444
|
+
optional :id, String
|
|
1445
|
+
|
|
1446
|
+
# @!attribute changes_requested
|
|
1447
|
+
# The payload used to update the organization settings.
|
|
1448
|
+
#
|
|
1449
|
+
# @return [OpenAI::Models::Admin::Organization::AuditLogListResponse::OrganizationUpdated::ChangesRequested, nil]
|
|
1450
|
+
optional :changes_requested,
|
|
1451
|
+
-> { OpenAI::Models::Admin::Organization::AuditLogListResponse::OrganizationUpdated::ChangesRequested }
|
|
1452
|
+
|
|
1453
|
+
# @!method initialize(id: nil, changes_requested: nil)
|
|
1454
|
+
# The details for events with this `type`.
|
|
1455
|
+
#
|
|
1456
|
+
# @param id [String] The organization ID.
|
|
1457
|
+
#
|
|
1458
|
+
# @param changes_requested [OpenAI::Models::Admin::Organization::AuditLogListResponse::OrganizationUpdated::ChangesRequested] The payload used to update the organization settings.
|
|
1459
|
+
|
|
1460
|
+
# @see OpenAI::Models::Admin::Organization::AuditLogListResponse::OrganizationUpdated#changes_requested
|
|
1461
|
+
class ChangesRequested < OpenAI::Internal::Type::BaseModel
|
|
1462
|
+
# @!attribute api_call_logging
|
|
1463
|
+
# How your organization logs data from supported API calls. One of `disabled`,
|
|
1464
|
+
# `enabled_per_call`, `enabled_for_all_projects`, or
|
|
1465
|
+
# `enabled_for_selected_projects`
|
|
1466
|
+
#
|
|
1467
|
+
# @return [String, nil]
|
|
1468
|
+
optional :api_call_logging, String
|
|
1469
|
+
|
|
1470
|
+
# @!attribute api_call_logging_project_ids
|
|
1471
|
+
# The list of project ids if api_call_logging is set to
|
|
1472
|
+
# `enabled_for_selected_projects`
|
|
1473
|
+
#
|
|
1474
|
+
# @return [String, nil]
|
|
1475
|
+
optional :api_call_logging_project_ids, String
|
|
1476
|
+
|
|
1477
|
+
# @!attribute description
|
|
1478
|
+
# The organization description.
|
|
1479
|
+
#
|
|
1480
|
+
# @return [String, nil]
|
|
1481
|
+
optional :description, String
|
|
1482
|
+
|
|
1483
|
+
# @!attribute name
|
|
1484
|
+
# The organization name.
|
|
1485
|
+
#
|
|
1486
|
+
# @return [String, nil]
|
|
1487
|
+
optional :name, String
|
|
1488
|
+
|
|
1489
|
+
# @!attribute threads_ui_visibility
|
|
1490
|
+
# Visibility of the threads page which shows messages created with the Assistants
|
|
1491
|
+
# API and Playground. One of `ANY_ROLE`, `OWNERS`, or `NONE`.
|
|
1492
|
+
#
|
|
1493
|
+
# @return [String, nil]
|
|
1494
|
+
optional :threads_ui_visibility, String
|
|
1495
|
+
|
|
1496
|
+
# @!attribute title
|
|
1497
|
+
# The organization title.
|
|
1498
|
+
#
|
|
1499
|
+
# @return [String, nil]
|
|
1500
|
+
optional :title, String
|
|
1501
|
+
|
|
1502
|
+
# @!attribute usage_dashboard_visibility
|
|
1503
|
+
# Visibility of the usage dashboard which shows activity and costs for your
|
|
1504
|
+
# organization. One of `ANY_ROLE` or `OWNERS`.
|
|
1505
|
+
#
|
|
1506
|
+
# @return [String, nil]
|
|
1507
|
+
optional :usage_dashboard_visibility, String
|
|
1508
|
+
|
|
1509
|
+
# @!method initialize(api_call_logging: nil, api_call_logging_project_ids: nil, description: nil, name: nil, threads_ui_visibility: nil, title: nil, usage_dashboard_visibility: nil)
|
|
1510
|
+
# Some parameter documentations has been truncated, see
|
|
1511
|
+
# {OpenAI::Models::Admin::Organization::AuditLogListResponse::OrganizationUpdated::ChangesRequested}
|
|
1512
|
+
# for more details.
|
|
1513
|
+
#
|
|
1514
|
+
# The payload used to update the organization settings.
|
|
1515
|
+
#
|
|
1516
|
+
# @param api_call_logging [String] How your organization logs data from supported API calls. One of `disabled`, `en
|
|
1517
|
+
#
|
|
1518
|
+
# @param api_call_logging_project_ids [String] The list of project ids if api_call_logging is set to `enabled_for_selected_proj
|
|
1519
|
+
#
|
|
1520
|
+
# @param description [String] The organization description.
|
|
1521
|
+
#
|
|
1522
|
+
# @param name [String] The organization name.
|
|
1523
|
+
#
|
|
1524
|
+
# @param threads_ui_visibility [String] Visibility of the threads page which shows messages created with the Assistants
|
|
1525
|
+
#
|
|
1526
|
+
# @param title [String] The organization title.
|
|
1527
|
+
#
|
|
1528
|
+
# @param usage_dashboard_visibility [String] Visibility of the usage dashboard which shows activity and costs for your organi
|
|
1529
|
+
end
|
|
1530
|
+
end
|
|
1531
|
+
|
|
1532
|
+
# @see OpenAI::Models::Admin::Organization::AuditLogListResponse#project
|
|
1533
|
+
class Project < OpenAI::Internal::Type::BaseModel
|
|
1534
|
+
# @!attribute id
|
|
1535
|
+
# The project ID.
|
|
1536
|
+
#
|
|
1537
|
+
# @return [String, nil]
|
|
1538
|
+
optional :id, String
|
|
1539
|
+
|
|
1540
|
+
# @!attribute name
|
|
1541
|
+
# The project title.
|
|
1542
|
+
#
|
|
1543
|
+
# @return [String, nil]
|
|
1544
|
+
optional :name, String
|
|
1545
|
+
|
|
1546
|
+
# @!method initialize(id: nil, name: nil)
|
|
1547
|
+
# The project that the action was scoped to. Absent for actions not scoped to
|
|
1548
|
+
# projects. Note that any admin actions taken via Admin API keys are associated
|
|
1549
|
+
# with the default project.
|
|
1550
|
+
#
|
|
1551
|
+
# @param id [String] The project ID.
|
|
1552
|
+
#
|
|
1553
|
+
# @param name [String] The project title.
|
|
1554
|
+
end
|
|
1555
|
+
|
|
1556
|
+
# @see OpenAI::Models::Admin::Organization::AuditLogListResponse#project_archived
|
|
1557
|
+
class ProjectArchived < OpenAI::Internal::Type::BaseModel
|
|
1558
|
+
# @!attribute id
|
|
1559
|
+
# The project ID.
|
|
1560
|
+
#
|
|
1561
|
+
# @return [String, nil]
|
|
1562
|
+
optional :id, String
|
|
1563
|
+
|
|
1564
|
+
# @!method initialize(id: nil)
|
|
1565
|
+
# The details for events with this `type`.
|
|
1566
|
+
#
|
|
1567
|
+
# @param id [String] The project ID.
|
|
1568
|
+
end
|
|
1569
|
+
|
|
1570
|
+
# @see OpenAI::Models::Admin::Organization::AuditLogListResponse#project_created
|
|
1571
|
+
class ProjectCreated < OpenAI::Internal::Type::BaseModel
|
|
1572
|
+
# @!attribute id
|
|
1573
|
+
# The project ID.
|
|
1574
|
+
#
|
|
1575
|
+
# @return [String, nil]
|
|
1576
|
+
optional :id, String
|
|
1577
|
+
|
|
1578
|
+
# @!attribute data
|
|
1579
|
+
# The payload used to create the project.
|
|
1580
|
+
#
|
|
1581
|
+
# @return [OpenAI::Models::Admin::Organization::AuditLogListResponse::ProjectCreated::Data, nil]
|
|
1582
|
+
optional :data, -> { OpenAI::Models::Admin::Organization::AuditLogListResponse::ProjectCreated::Data }
|
|
1583
|
+
|
|
1584
|
+
# @!method initialize(id: nil, data: nil)
|
|
1585
|
+
# The details for events with this `type`.
|
|
1586
|
+
#
|
|
1587
|
+
# @param id [String] The project ID.
|
|
1588
|
+
#
|
|
1589
|
+
# @param data [OpenAI::Models::Admin::Organization::AuditLogListResponse::ProjectCreated::Data] The payload used to create the project.
|
|
1590
|
+
|
|
1591
|
+
# @see OpenAI::Models::Admin::Organization::AuditLogListResponse::ProjectCreated#data
|
|
1592
|
+
class Data < OpenAI::Internal::Type::BaseModel
|
|
1593
|
+
# @!attribute name
|
|
1594
|
+
# The project name.
|
|
1595
|
+
#
|
|
1596
|
+
# @return [String, nil]
|
|
1597
|
+
optional :name, String
|
|
1598
|
+
|
|
1599
|
+
# @!attribute title
|
|
1600
|
+
# The title of the project as seen on the dashboard.
|
|
1601
|
+
#
|
|
1602
|
+
# @return [String, nil]
|
|
1603
|
+
optional :title, String
|
|
1604
|
+
|
|
1605
|
+
# @!method initialize(name: nil, title: nil)
|
|
1606
|
+
# The payload used to create the project.
|
|
1607
|
+
#
|
|
1608
|
+
# @param name [String] The project name.
|
|
1609
|
+
#
|
|
1610
|
+
# @param title [String] The title of the project as seen on the dashboard.
|
|
1611
|
+
end
|
|
1612
|
+
end
|
|
1613
|
+
|
|
1614
|
+
# @see OpenAI::Models::Admin::Organization::AuditLogListResponse#project_deleted
|
|
1615
|
+
class ProjectDeleted < OpenAI::Internal::Type::BaseModel
|
|
1616
|
+
# @!attribute id
|
|
1617
|
+
# The project ID.
|
|
1618
|
+
#
|
|
1619
|
+
# @return [String, nil]
|
|
1620
|
+
optional :id, String
|
|
1621
|
+
|
|
1622
|
+
# @!method initialize(id: nil)
|
|
1623
|
+
# The details for events with this `type`.
|
|
1624
|
+
#
|
|
1625
|
+
# @param id [String] The project ID.
|
|
1626
|
+
end
|
|
1627
|
+
|
|
1628
|
+
# @see OpenAI::Models::Admin::Organization::AuditLogListResponse#project_updated
|
|
1629
|
+
class ProjectUpdated < OpenAI::Internal::Type::BaseModel
|
|
1630
|
+
# @!attribute id
|
|
1631
|
+
# The project ID.
|
|
1632
|
+
#
|
|
1633
|
+
# @return [String, nil]
|
|
1634
|
+
optional :id, String
|
|
1635
|
+
|
|
1636
|
+
# @!attribute changes_requested
|
|
1637
|
+
# The payload used to update the project.
|
|
1638
|
+
#
|
|
1639
|
+
# @return [OpenAI::Models::Admin::Organization::AuditLogListResponse::ProjectUpdated::ChangesRequested, nil]
|
|
1640
|
+
optional :changes_requested,
|
|
1641
|
+
-> { OpenAI::Models::Admin::Organization::AuditLogListResponse::ProjectUpdated::ChangesRequested }
|
|
1642
|
+
|
|
1643
|
+
# @!method initialize(id: nil, changes_requested: nil)
|
|
1644
|
+
# The details for events with this `type`.
|
|
1645
|
+
#
|
|
1646
|
+
# @param id [String] The project ID.
|
|
1647
|
+
#
|
|
1648
|
+
# @param changes_requested [OpenAI::Models::Admin::Organization::AuditLogListResponse::ProjectUpdated::ChangesRequested] The payload used to update the project.
|
|
1649
|
+
|
|
1650
|
+
# @see OpenAI::Models::Admin::Organization::AuditLogListResponse::ProjectUpdated#changes_requested
|
|
1651
|
+
class ChangesRequested < OpenAI::Internal::Type::BaseModel
|
|
1652
|
+
# @!attribute title
|
|
1653
|
+
# The title of the project as seen on the dashboard.
|
|
1654
|
+
#
|
|
1655
|
+
# @return [String, nil]
|
|
1656
|
+
optional :title, String
|
|
1657
|
+
|
|
1658
|
+
# @!method initialize(title: nil)
|
|
1659
|
+
# The payload used to update the project.
|
|
1660
|
+
#
|
|
1661
|
+
# @param title [String] The title of the project as seen on the dashboard.
|
|
1662
|
+
end
|
|
1663
|
+
end
|
|
1664
|
+
|
|
1665
|
+
# @see OpenAI::Models::Admin::Organization::AuditLogListResponse#rate_limit_deleted
|
|
1666
|
+
class RateLimitDeleted < OpenAI::Internal::Type::BaseModel
|
|
1667
|
+
# @!attribute id
|
|
1668
|
+
# The rate limit ID
|
|
1669
|
+
#
|
|
1670
|
+
# @return [String, nil]
|
|
1671
|
+
optional :id, String
|
|
1672
|
+
|
|
1673
|
+
# @!method initialize(id: nil)
|
|
1674
|
+
# The details for events with this `type`.
|
|
1675
|
+
#
|
|
1676
|
+
# @param id [String] The rate limit ID
|
|
1677
|
+
end
|
|
1678
|
+
|
|
1679
|
+
# @see OpenAI::Models::Admin::Organization::AuditLogListResponse#rate_limit_updated
|
|
1680
|
+
class RateLimitUpdated < OpenAI::Internal::Type::BaseModel
|
|
1681
|
+
# @!attribute id
|
|
1682
|
+
# The rate limit ID
|
|
1683
|
+
#
|
|
1684
|
+
# @return [String, nil]
|
|
1685
|
+
optional :id, String
|
|
1686
|
+
|
|
1687
|
+
# @!attribute changes_requested
|
|
1688
|
+
# The payload used to update the rate limits.
|
|
1689
|
+
#
|
|
1690
|
+
# @return [OpenAI::Models::Admin::Organization::AuditLogListResponse::RateLimitUpdated::ChangesRequested, nil]
|
|
1691
|
+
optional :changes_requested,
|
|
1692
|
+
-> { OpenAI::Models::Admin::Organization::AuditLogListResponse::RateLimitUpdated::ChangesRequested }
|
|
1693
|
+
|
|
1694
|
+
# @!method initialize(id: nil, changes_requested: nil)
|
|
1695
|
+
# The details for events with this `type`.
|
|
1696
|
+
#
|
|
1697
|
+
# @param id [String] The rate limit ID
|
|
1698
|
+
#
|
|
1699
|
+
# @param changes_requested [OpenAI::Models::Admin::Organization::AuditLogListResponse::RateLimitUpdated::ChangesRequested] The payload used to update the rate limits.
|
|
1700
|
+
|
|
1701
|
+
# @see OpenAI::Models::Admin::Organization::AuditLogListResponse::RateLimitUpdated#changes_requested
|
|
1702
|
+
class ChangesRequested < OpenAI::Internal::Type::BaseModel
|
|
1703
|
+
# @!attribute batch_1_day_max_input_tokens
|
|
1704
|
+
# The maximum batch input tokens per day. Only relevant for certain models.
|
|
1705
|
+
#
|
|
1706
|
+
# @return [Integer, nil]
|
|
1707
|
+
optional :batch_1_day_max_input_tokens, Integer
|
|
1708
|
+
|
|
1709
|
+
# @!attribute max_audio_megabytes_per_1_minute
|
|
1710
|
+
# The maximum audio megabytes per minute. Only relevant for certain models.
|
|
1711
|
+
#
|
|
1712
|
+
# @return [Integer, nil]
|
|
1713
|
+
optional :max_audio_megabytes_per_1_minute, Integer
|
|
1714
|
+
|
|
1715
|
+
# @!attribute max_images_per_1_minute
|
|
1716
|
+
# The maximum images per minute. Only relevant for certain models.
|
|
1717
|
+
#
|
|
1718
|
+
# @return [Integer, nil]
|
|
1719
|
+
optional :max_images_per_1_minute, Integer
|
|
1720
|
+
|
|
1721
|
+
# @!attribute max_requests_per_1_day
|
|
1722
|
+
# The maximum requests per day. Only relevant for certain models.
|
|
1723
|
+
#
|
|
1724
|
+
# @return [Integer, nil]
|
|
1725
|
+
optional :max_requests_per_1_day, Integer
|
|
1726
|
+
|
|
1727
|
+
# @!attribute max_requests_per_1_minute
|
|
1728
|
+
# The maximum requests per minute.
|
|
1729
|
+
#
|
|
1730
|
+
# @return [Integer, nil]
|
|
1731
|
+
optional :max_requests_per_1_minute, Integer
|
|
1732
|
+
|
|
1733
|
+
# @!attribute max_tokens_per_1_minute
|
|
1734
|
+
# The maximum tokens per minute.
|
|
1735
|
+
#
|
|
1736
|
+
# @return [Integer, nil]
|
|
1737
|
+
optional :max_tokens_per_1_minute, Integer
|
|
1738
|
+
|
|
1739
|
+
# @!method initialize(batch_1_day_max_input_tokens: nil, max_audio_megabytes_per_1_minute: nil, max_images_per_1_minute: nil, max_requests_per_1_day: nil, max_requests_per_1_minute: nil, max_tokens_per_1_minute: nil)
|
|
1740
|
+
# The payload used to update the rate limits.
|
|
1741
|
+
#
|
|
1742
|
+
# @param batch_1_day_max_input_tokens [Integer] The maximum batch input tokens per day. Only relevant for certain models.
|
|
1743
|
+
#
|
|
1744
|
+
# @param max_audio_megabytes_per_1_minute [Integer] The maximum audio megabytes per minute. Only relevant for certain models.
|
|
1745
|
+
#
|
|
1746
|
+
# @param max_images_per_1_minute [Integer] The maximum images per minute. Only relevant for certain models.
|
|
1747
|
+
#
|
|
1748
|
+
# @param max_requests_per_1_day [Integer] The maximum requests per day. Only relevant for certain models.
|
|
1749
|
+
#
|
|
1750
|
+
# @param max_requests_per_1_minute [Integer] The maximum requests per minute.
|
|
1751
|
+
#
|
|
1752
|
+
# @param max_tokens_per_1_minute [Integer] The maximum tokens per minute.
|
|
1753
|
+
end
|
|
1754
|
+
end
|
|
1755
|
+
|
|
1756
|
+
# @see OpenAI::Models::Admin::Organization::AuditLogListResponse#role_assignment_created
|
|
1757
|
+
class RoleAssignmentCreated < OpenAI::Internal::Type::BaseModel
|
|
1758
|
+
# @!attribute id
|
|
1759
|
+
# The identifier of the role assignment.
|
|
1760
|
+
#
|
|
1761
|
+
# @return [String, nil]
|
|
1762
|
+
optional :id, String
|
|
1763
|
+
|
|
1764
|
+
# @!attribute principal_id
|
|
1765
|
+
# The principal (user or group) that received the role.
|
|
1766
|
+
#
|
|
1767
|
+
# @return [String, nil]
|
|
1768
|
+
optional :principal_id, String
|
|
1769
|
+
|
|
1770
|
+
# @!attribute principal_type
|
|
1771
|
+
# The type of principal (user or group) that received the role.
|
|
1772
|
+
#
|
|
1773
|
+
# @return [String, nil]
|
|
1774
|
+
optional :principal_type, String
|
|
1775
|
+
|
|
1776
|
+
# @!attribute resource_id
|
|
1777
|
+
# The resource the role assignment is scoped to.
|
|
1778
|
+
#
|
|
1779
|
+
# @return [String, nil]
|
|
1780
|
+
optional :resource_id, String
|
|
1781
|
+
|
|
1782
|
+
# @!attribute resource_type
|
|
1783
|
+
# The type of resource the role assignment is scoped to.
|
|
1784
|
+
#
|
|
1785
|
+
# @return [String, nil]
|
|
1786
|
+
optional :resource_type, String
|
|
1787
|
+
|
|
1788
|
+
# @!method initialize(id: nil, principal_id: nil, principal_type: nil, resource_id: nil, resource_type: nil)
|
|
1789
|
+
# The details for events with this `type`.
|
|
1790
|
+
#
|
|
1791
|
+
# @param id [String] The identifier of the role assignment.
|
|
1792
|
+
#
|
|
1793
|
+
# @param principal_id [String] The principal (user or group) that received the role.
|
|
1794
|
+
#
|
|
1795
|
+
# @param principal_type [String] The type of principal (user or group) that received the role.
|
|
1796
|
+
#
|
|
1797
|
+
# @param resource_id [String] The resource the role assignment is scoped to.
|
|
1798
|
+
#
|
|
1799
|
+
# @param resource_type [String] The type of resource the role assignment is scoped to.
|
|
1800
|
+
end
|
|
1801
|
+
|
|
1802
|
+
# @see OpenAI::Models::Admin::Organization::AuditLogListResponse#role_assignment_deleted
|
|
1803
|
+
class RoleAssignmentDeleted < OpenAI::Internal::Type::BaseModel
|
|
1804
|
+
# @!attribute id
|
|
1805
|
+
# The identifier of the role assignment.
|
|
1806
|
+
#
|
|
1807
|
+
# @return [String, nil]
|
|
1808
|
+
optional :id, String
|
|
1809
|
+
|
|
1810
|
+
# @!attribute principal_id
|
|
1811
|
+
# The principal (user or group) that had the role removed.
|
|
1812
|
+
#
|
|
1813
|
+
# @return [String, nil]
|
|
1814
|
+
optional :principal_id, String
|
|
1815
|
+
|
|
1816
|
+
# @!attribute principal_type
|
|
1817
|
+
# The type of principal (user or group) that had the role removed.
|
|
1818
|
+
#
|
|
1819
|
+
# @return [String, nil]
|
|
1820
|
+
optional :principal_type, String
|
|
1821
|
+
|
|
1822
|
+
# @!attribute resource_id
|
|
1823
|
+
# The resource the role assignment was scoped to.
|
|
1824
|
+
#
|
|
1825
|
+
# @return [String, nil]
|
|
1826
|
+
optional :resource_id, String
|
|
1827
|
+
|
|
1828
|
+
# @!attribute resource_type
|
|
1829
|
+
# The type of resource the role assignment was scoped to.
|
|
1830
|
+
#
|
|
1831
|
+
# @return [String, nil]
|
|
1832
|
+
optional :resource_type, String
|
|
1833
|
+
|
|
1834
|
+
# @!method initialize(id: nil, principal_id: nil, principal_type: nil, resource_id: nil, resource_type: nil)
|
|
1835
|
+
# The details for events with this `type`.
|
|
1836
|
+
#
|
|
1837
|
+
# @param id [String] The identifier of the role assignment.
|
|
1838
|
+
#
|
|
1839
|
+
# @param principal_id [String] The principal (user or group) that had the role removed.
|
|
1840
|
+
#
|
|
1841
|
+
# @param principal_type [String] The type of principal (user or group) that had the role removed.
|
|
1842
|
+
#
|
|
1843
|
+
# @param resource_id [String] The resource the role assignment was scoped to.
|
|
1844
|
+
#
|
|
1845
|
+
# @param resource_type [String] The type of resource the role assignment was scoped to.
|
|
1846
|
+
end
|
|
1847
|
+
|
|
1848
|
+
# @see OpenAI::Models::Admin::Organization::AuditLogListResponse#role_created
|
|
1849
|
+
class RoleCreated < OpenAI::Internal::Type::BaseModel
|
|
1850
|
+
# @!attribute id
|
|
1851
|
+
# The role ID.
|
|
1852
|
+
#
|
|
1853
|
+
# @return [String, nil]
|
|
1854
|
+
optional :id, String
|
|
1855
|
+
|
|
1856
|
+
# @!attribute permissions
|
|
1857
|
+
# The permissions granted by the role.
|
|
1858
|
+
#
|
|
1859
|
+
# @return [Array<String>, nil]
|
|
1860
|
+
optional :permissions, OpenAI::Internal::Type::ArrayOf[String]
|
|
1861
|
+
|
|
1862
|
+
# @!attribute resource_id
|
|
1863
|
+
# The resource the role is scoped to.
|
|
1864
|
+
#
|
|
1865
|
+
# @return [String, nil]
|
|
1866
|
+
optional :resource_id, String
|
|
1867
|
+
|
|
1868
|
+
# @!attribute resource_type
|
|
1869
|
+
# The type of resource the role belongs to.
|
|
1870
|
+
#
|
|
1871
|
+
# @return [String, nil]
|
|
1872
|
+
optional :resource_type, String
|
|
1873
|
+
|
|
1874
|
+
# @!attribute role_name
|
|
1875
|
+
# The name of the role.
|
|
1876
|
+
#
|
|
1877
|
+
# @return [String, nil]
|
|
1878
|
+
optional :role_name, String
|
|
1879
|
+
|
|
1880
|
+
# @!method initialize(id: nil, permissions: nil, resource_id: nil, resource_type: nil, role_name: nil)
|
|
1881
|
+
# The details for events with this `type`.
|
|
1882
|
+
#
|
|
1883
|
+
# @param id [String] The role ID.
|
|
1884
|
+
#
|
|
1885
|
+
# @param permissions [Array<String>] The permissions granted by the role.
|
|
1886
|
+
#
|
|
1887
|
+
# @param resource_id [String] The resource the role is scoped to.
|
|
1888
|
+
#
|
|
1889
|
+
# @param resource_type [String] The type of resource the role belongs to.
|
|
1890
|
+
#
|
|
1891
|
+
# @param role_name [String] The name of the role.
|
|
1892
|
+
end
|
|
1893
|
+
|
|
1894
|
+
# @see OpenAI::Models::Admin::Organization::AuditLogListResponse#role_deleted
|
|
1895
|
+
class RoleDeleted < OpenAI::Internal::Type::BaseModel
|
|
1896
|
+
# @!attribute id
|
|
1897
|
+
# The role ID.
|
|
1898
|
+
#
|
|
1899
|
+
# @return [String, nil]
|
|
1900
|
+
optional :id, String
|
|
1901
|
+
|
|
1902
|
+
# @!method initialize(id: nil)
|
|
1903
|
+
# The details for events with this `type`.
|
|
1904
|
+
#
|
|
1905
|
+
# @param id [String] The role ID.
|
|
1906
|
+
end
|
|
1907
|
+
|
|
1908
|
+
# @see OpenAI::Models::Admin::Organization::AuditLogListResponse#role_updated
|
|
1909
|
+
class RoleUpdated < OpenAI::Internal::Type::BaseModel
|
|
1910
|
+
# @!attribute id
|
|
1911
|
+
# The role ID.
|
|
1912
|
+
#
|
|
1913
|
+
# @return [String, nil]
|
|
1914
|
+
optional :id, String
|
|
1915
|
+
|
|
1916
|
+
# @!attribute changes_requested
|
|
1917
|
+
# The payload used to update the role.
|
|
1918
|
+
#
|
|
1919
|
+
# @return [OpenAI::Models::Admin::Organization::AuditLogListResponse::RoleUpdated::ChangesRequested, nil]
|
|
1920
|
+
optional :changes_requested,
|
|
1921
|
+
-> { OpenAI::Models::Admin::Organization::AuditLogListResponse::RoleUpdated::ChangesRequested }
|
|
1922
|
+
|
|
1923
|
+
# @!method initialize(id: nil, changes_requested: nil)
|
|
1924
|
+
# The details for events with this `type`.
|
|
1925
|
+
#
|
|
1926
|
+
# @param id [String] The role ID.
|
|
1927
|
+
#
|
|
1928
|
+
# @param changes_requested [OpenAI::Models::Admin::Organization::AuditLogListResponse::RoleUpdated::ChangesRequested] The payload used to update the role.
|
|
1929
|
+
|
|
1930
|
+
# @see OpenAI::Models::Admin::Organization::AuditLogListResponse::RoleUpdated#changes_requested
|
|
1931
|
+
class ChangesRequested < OpenAI::Internal::Type::BaseModel
|
|
1932
|
+
# @!attribute description
|
|
1933
|
+
# The updated role description, when provided.
|
|
1934
|
+
#
|
|
1935
|
+
# @return [String, nil]
|
|
1936
|
+
optional :description, String
|
|
1937
|
+
|
|
1938
|
+
# @!attribute metadata
|
|
1939
|
+
# Additional metadata stored on the role.
|
|
1940
|
+
#
|
|
1941
|
+
# @return [Object, nil]
|
|
1942
|
+
optional :metadata, OpenAI::Internal::Type::Unknown
|
|
1943
|
+
|
|
1944
|
+
# @!attribute permissions_added
|
|
1945
|
+
# The permissions added to the role.
|
|
1946
|
+
#
|
|
1947
|
+
# @return [Array<String>, nil]
|
|
1948
|
+
optional :permissions_added, OpenAI::Internal::Type::ArrayOf[String]
|
|
1949
|
+
|
|
1950
|
+
# @!attribute permissions_removed
|
|
1951
|
+
# The permissions removed from the role.
|
|
1952
|
+
#
|
|
1953
|
+
# @return [Array<String>, nil]
|
|
1954
|
+
optional :permissions_removed, OpenAI::Internal::Type::ArrayOf[String]
|
|
1955
|
+
|
|
1956
|
+
# @!attribute resource_id
|
|
1957
|
+
# The resource the role is scoped to.
|
|
1958
|
+
#
|
|
1959
|
+
# @return [String, nil]
|
|
1960
|
+
optional :resource_id, String
|
|
1961
|
+
|
|
1962
|
+
# @!attribute resource_type
|
|
1963
|
+
# The type of resource the role belongs to.
|
|
1964
|
+
#
|
|
1965
|
+
# @return [String, nil]
|
|
1966
|
+
optional :resource_type, String
|
|
1967
|
+
|
|
1968
|
+
# @!attribute role_name
|
|
1969
|
+
# The updated role name, when provided.
|
|
1970
|
+
#
|
|
1971
|
+
# @return [String, nil]
|
|
1972
|
+
optional :role_name, String
|
|
1973
|
+
|
|
1974
|
+
# @!method initialize(description: nil, metadata: nil, permissions_added: nil, permissions_removed: nil, resource_id: nil, resource_type: nil, role_name: nil)
|
|
1975
|
+
# The payload used to update the role.
|
|
1976
|
+
#
|
|
1977
|
+
# @param description [String] The updated role description, when provided.
|
|
1978
|
+
#
|
|
1979
|
+
# @param metadata [Object] Additional metadata stored on the role.
|
|
1980
|
+
#
|
|
1981
|
+
# @param permissions_added [Array<String>] The permissions added to the role.
|
|
1982
|
+
#
|
|
1983
|
+
# @param permissions_removed [Array<String>] The permissions removed from the role.
|
|
1984
|
+
#
|
|
1985
|
+
# @param resource_id [String] The resource the role is scoped to.
|
|
1986
|
+
#
|
|
1987
|
+
# @param resource_type [String] The type of resource the role belongs to.
|
|
1988
|
+
#
|
|
1989
|
+
# @param role_name [String] The updated role name, when provided.
|
|
1990
|
+
end
|
|
1991
|
+
end
|
|
1992
|
+
|
|
1993
|
+
# @see OpenAI::Models::Admin::Organization::AuditLogListResponse#scim_disabled
|
|
1994
|
+
class ScimDisabled < OpenAI::Internal::Type::BaseModel
|
|
1995
|
+
# @!attribute id
|
|
1996
|
+
# The ID of the SCIM was disabled for.
|
|
1997
|
+
#
|
|
1998
|
+
# @return [String, nil]
|
|
1999
|
+
optional :id, String
|
|
2000
|
+
|
|
2001
|
+
# @!method initialize(id: nil)
|
|
2002
|
+
# The details for events with this `type`.
|
|
2003
|
+
#
|
|
2004
|
+
# @param id [String] The ID of the SCIM was disabled for.
|
|
2005
|
+
end
|
|
2006
|
+
|
|
2007
|
+
# @see OpenAI::Models::Admin::Organization::AuditLogListResponse#scim_enabled
|
|
2008
|
+
class ScimEnabled < OpenAI::Internal::Type::BaseModel
|
|
2009
|
+
# @!attribute id
|
|
2010
|
+
# The ID of the SCIM was enabled for.
|
|
2011
|
+
#
|
|
2012
|
+
# @return [String, nil]
|
|
2013
|
+
optional :id, String
|
|
2014
|
+
|
|
2015
|
+
# @!method initialize(id: nil)
|
|
2016
|
+
# The details for events with this `type`.
|
|
2017
|
+
#
|
|
2018
|
+
# @param id [String] The ID of the SCIM was enabled for.
|
|
2019
|
+
end
|
|
2020
|
+
|
|
2021
|
+
# @see OpenAI::Models::Admin::Organization::AuditLogListResponse#service_account_created
|
|
2022
|
+
class ServiceAccountCreated < OpenAI::Internal::Type::BaseModel
|
|
2023
|
+
# @!attribute id
|
|
2024
|
+
# The service account ID.
|
|
2025
|
+
#
|
|
2026
|
+
# @return [String, nil]
|
|
2027
|
+
optional :id, String
|
|
2028
|
+
|
|
2029
|
+
# @!attribute data
|
|
2030
|
+
# The payload used to create the service account.
|
|
2031
|
+
#
|
|
2032
|
+
# @return [OpenAI::Models::Admin::Organization::AuditLogListResponse::ServiceAccountCreated::Data, nil]
|
|
2033
|
+
optional :data,
|
|
2034
|
+
-> { OpenAI::Models::Admin::Organization::AuditLogListResponse::ServiceAccountCreated::Data }
|
|
2035
|
+
|
|
2036
|
+
# @!method initialize(id: nil, data: nil)
|
|
2037
|
+
# The details for events with this `type`.
|
|
2038
|
+
#
|
|
2039
|
+
# @param id [String] The service account ID.
|
|
2040
|
+
#
|
|
2041
|
+
# @param data [OpenAI::Models::Admin::Organization::AuditLogListResponse::ServiceAccountCreated::Data] The payload used to create the service account.
|
|
2042
|
+
|
|
2043
|
+
# @see OpenAI::Models::Admin::Organization::AuditLogListResponse::ServiceAccountCreated#data
|
|
2044
|
+
class Data < OpenAI::Internal::Type::BaseModel
|
|
2045
|
+
# @!attribute role
|
|
2046
|
+
# The role of the service account. Is either `owner` or `member`.
|
|
2047
|
+
#
|
|
2048
|
+
# @return [String, nil]
|
|
2049
|
+
optional :role, String
|
|
2050
|
+
|
|
2051
|
+
# @!method initialize(role: nil)
|
|
2052
|
+
# The payload used to create the service account.
|
|
2053
|
+
#
|
|
2054
|
+
# @param role [String] The role of the service account. Is either `owner` or `member`.
|
|
2055
|
+
end
|
|
2056
|
+
end
|
|
2057
|
+
|
|
2058
|
+
# @see OpenAI::Models::Admin::Organization::AuditLogListResponse#service_account_deleted
|
|
2059
|
+
class ServiceAccountDeleted < OpenAI::Internal::Type::BaseModel
|
|
2060
|
+
# @!attribute id
|
|
2061
|
+
# The service account ID.
|
|
2062
|
+
#
|
|
2063
|
+
# @return [String, nil]
|
|
2064
|
+
optional :id, String
|
|
2065
|
+
|
|
2066
|
+
# @!method initialize(id: nil)
|
|
2067
|
+
# The details for events with this `type`.
|
|
2068
|
+
#
|
|
2069
|
+
# @param id [String] The service account ID.
|
|
2070
|
+
end
|
|
2071
|
+
|
|
2072
|
+
# @see OpenAI::Models::Admin::Organization::AuditLogListResponse#service_account_updated
|
|
2073
|
+
class ServiceAccountUpdated < OpenAI::Internal::Type::BaseModel
|
|
2074
|
+
# @!attribute id
|
|
2075
|
+
# The service account ID.
|
|
2076
|
+
#
|
|
2077
|
+
# @return [String, nil]
|
|
2078
|
+
optional :id, String
|
|
2079
|
+
|
|
2080
|
+
# @!attribute changes_requested
|
|
2081
|
+
# The payload used to updated the service account.
|
|
2082
|
+
#
|
|
2083
|
+
# @return [OpenAI::Models::Admin::Organization::AuditLogListResponse::ServiceAccountUpdated::ChangesRequested, nil]
|
|
2084
|
+
optional :changes_requested,
|
|
2085
|
+
-> { OpenAI::Models::Admin::Organization::AuditLogListResponse::ServiceAccountUpdated::ChangesRequested }
|
|
2086
|
+
|
|
2087
|
+
# @!method initialize(id: nil, changes_requested: nil)
|
|
2088
|
+
# The details for events with this `type`.
|
|
2089
|
+
#
|
|
2090
|
+
# @param id [String] The service account ID.
|
|
2091
|
+
#
|
|
2092
|
+
# @param changes_requested [OpenAI::Models::Admin::Organization::AuditLogListResponse::ServiceAccountUpdated::ChangesRequested] The payload used to updated the service account.
|
|
2093
|
+
|
|
2094
|
+
# @see OpenAI::Models::Admin::Organization::AuditLogListResponse::ServiceAccountUpdated#changes_requested
|
|
2095
|
+
class ChangesRequested < OpenAI::Internal::Type::BaseModel
|
|
2096
|
+
# @!attribute role
|
|
2097
|
+
# The role of the service account. Is either `owner` or `member`.
|
|
2098
|
+
#
|
|
2099
|
+
# @return [String, nil]
|
|
2100
|
+
optional :role, String
|
|
2101
|
+
|
|
2102
|
+
# @!method initialize(role: nil)
|
|
2103
|
+
# The payload used to updated the service account.
|
|
2104
|
+
#
|
|
2105
|
+
# @param role [String] The role of the service account. Is either `owner` or `member`.
|
|
2106
|
+
end
|
|
2107
|
+
end
|
|
2108
|
+
|
|
2109
|
+
# @see OpenAI::Models::Admin::Organization::AuditLogListResponse#user_added
|
|
2110
|
+
class UserAdded < OpenAI::Internal::Type::BaseModel
|
|
2111
|
+
# @!attribute id
|
|
2112
|
+
# The user ID.
|
|
2113
|
+
#
|
|
2114
|
+
# @return [String, nil]
|
|
2115
|
+
optional :id, String
|
|
2116
|
+
|
|
2117
|
+
# @!attribute data
|
|
2118
|
+
# The payload used to add the user to the project.
|
|
2119
|
+
#
|
|
2120
|
+
# @return [OpenAI::Models::Admin::Organization::AuditLogListResponse::UserAdded::Data, nil]
|
|
2121
|
+
optional :data, -> { OpenAI::Models::Admin::Organization::AuditLogListResponse::UserAdded::Data }
|
|
2122
|
+
|
|
2123
|
+
# @!method initialize(id: nil, data: nil)
|
|
2124
|
+
# The details for events with this `type`.
|
|
2125
|
+
#
|
|
2126
|
+
# @param id [String] The user ID.
|
|
2127
|
+
#
|
|
2128
|
+
# @param data [OpenAI::Models::Admin::Organization::AuditLogListResponse::UserAdded::Data] The payload used to add the user to the project.
|
|
2129
|
+
|
|
2130
|
+
# @see OpenAI::Models::Admin::Organization::AuditLogListResponse::UserAdded#data
|
|
2131
|
+
class Data < OpenAI::Internal::Type::BaseModel
|
|
2132
|
+
# @!attribute role
|
|
2133
|
+
# The role of the user. Is either `owner` or `member`.
|
|
2134
|
+
#
|
|
2135
|
+
# @return [String, nil]
|
|
2136
|
+
optional :role, String
|
|
2137
|
+
|
|
2138
|
+
# @!method initialize(role: nil)
|
|
2139
|
+
# The payload used to add the user to the project.
|
|
2140
|
+
#
|
|
2141
|
+
# @param role [String] The role of the user. Is either `owner` or `member`.
|
|
2142
|
+
end
|
|
2143
|
+
end
|
|
2144
|
+
|
|
2145
|
+
# @see OpenAI::Models::Admin::Organization::AuditLogListResponse#user_deleted
|
|
2146
|
+
class UserDeleted < OpenAI::Internal::Type::BaseModel
|
|
2147
|
+
# @!attribute id
|
|
2148
|
+
# The user ID.
|
|
2149
|
+
#
|
|
2150
|
+
# @return [String, nil]
|
|
2151
|
+
optional :id, String
|
|
2152
|
+
|
|
2153
|
+
# @!method initialize(id: nil)
|
|
2154
|
+
# The details for events with this `type`.
|
|
2155
|
+
#
|
|
2156
|
+
# @param id [String] The user ID.
|
|
2157
|
+
end
|
|
2158
|
+
|
|
2159
|
+
# @see OpenAI::Models::Admin::Organization::AuditLogListResponse#user_updated
|
|
2160
|
+
class UserUpdated < OpenAI::Internal::Type::BaseModel
|
|
2161
|
+
# @!attribute id
|
|
2162
|
+
# The project ID.
|
|
2163
|
+
#
|
|
2164
|
+
# @return [String, nil]
|
|
2165
|
+
optional :id, String
|
|
2166
|
+
|
|
2167
|
+
# @!attribute changes_requested
|
|
2168
|
+
# The payload used to update the user.
|
|
2169
|
+
#
|
|
2170
|
+
# @return [OpenAI::Models::Admin::Organization::AuditLogListResponse::UserUpdated::ChangesRequested, nil]
|
|
2171
|
+
optional :changes_requested,
|
|
2172
|
+
-> { OpenAI::Models::Admin::Organization::AuditLogListResponse::UserUpdated::ChangesRequested }
|
|
2173
|
+
|
|
2174
|
+
# @!method initialize(id: nil, changes_requested: nil)
|
|
2175
|
+
# The details for events with this `type`.
|
|
2176
|
+
#
|
|
2177
|
+
# @param id [String] The project ID.
|
|
2178
|
+
#
|
|
2179
|
+
# @param changes_requested [OpenAI::Models::Admin::Organization::AuditLogListResponse::UserUpdated::ChangesRequested] The payload used to update the user.
|
|
2180
|
+
|
|
2181
|
+
# @see OpenAI::Models::Admin::Organization::AuditLogListResponse::UserUpdated#changes_requested
|
|
2182
|
+
class ChangesRequested < OpenAI::Internal::Type::BaseModel
|
|
2183
|
+
# @!attribute role
|
|
2184
|
+
# The role of the user. Is either `owner` or `member`.
|
|
2185
|
+
#
|
|
2186
|
+
# @return [String, nil]
|
|
2187
|
+
optional :role, String
|
|
2188
|
+
|
|
2189
|
+
# @!method initialize(role: nil)
|
|
2190
|
+
# The payload used to update the user.
|
|
2191
|
+
#
|
|
2192
|
+
# @param role [String] The role of the user. Is either `owner` or `member`.
|
|
2193
|
+
end
|
|
2194
|
+
end
|
|
2195
|
+
end
|
|
2196
|
+
end
|
|
2197
|
+
end
|
|
2198
|
+
end
|
|
2199
|
+
end
|