frameio 0.0.28__py3-none-any.whl
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.
- frameio/__init__.py +1158 -0
- frameio/account_permissions/__init__.py +4 -0
- frameio/account_permissions/client.py +193 -0
- frameio/account_permissions/raw_client.py +333 -0
- frameio/accounts/__init__.py +4 -0
- frameio/accounts/client.py +162 -0
- frameio/accounts/raw_client.py +309 -0
- frameio/client.py +439 -0
- frameio/comments/__init__.py +38 -0
- frameio/comments/client.py +654 -0
- frameio/comments/raw_client.py +1316 -0
- frameio/comments/types/__init__.py +40 -0
- frameio/comments/types/comments_show_request_include.py +5 -0
- frameio/comments/types/create_comment_params_data.py +33 -0
- frameio/comments/types/update_comment_params_data.py +33 -0
- frameio/core/__init__.py +122 -0
- frameio/core/api_error.py +23 -0
- frameio/core/client_wrapper.py +95 -0
- frameio/core/custom_pagination.py +152 -0
- frameio/core/datetime_utils.py +28 -0
- frameio/core/file.py +67 -0
- frameio/core/force_multipart.py +18 -0
- frameio/core/http_client.py +663 -0
- frameio/core/http_response.py +55 -0
- frameio/core/http_sse/__init__.py +42 -0
- frameio/core/http_sse/_api.py +112 -0
- frameio/core/http_sse/_decoders.py +61 -0
- frameio/core/http_sse/_exceptions.py +7 -0
- frameio/core/http_sse/_models.py +17 -0
- frameio/core/jsonable_encoder.py +100 -0
- frameio/core/pagination.py +82 -0
- frameio/core/pydantic_utilities.py +361 -0
- frameio/core/query_encoder.py +58 -0
- frameio/core/remove_none_from_dict.py +11 -0
- frameio/core/request_options.py +35 -0
- frameio/core/serialization.py +276 -0
- frameio/core/unchecked_base_model.py +376 -0
- frameio/environment.py +7 -0
- frameio/errors/__init__.py +53 -0
- frameio/errors/bad_request_error.py +11 -0
- frameio/errors/forbidden_error.py +11 -0
- frameio/errors/not_found_error.py +11 -0
- frameio/errors/too_many_requests_error.py +11 -0
- frameio/errors/unauthorized_error.py +11 -0
- frameio/errors/unprocessable_entity_error.py +10 -0
- frameio/files/__init__.py +58 -0
- frameio/files/client.py +1171 -0
- frameio/files/raw_client.py +2517 -0
- frameio/files/types/__init__.py +56 -0
- frameio/files/types/file_copy_params_data.py +15 -0
- frameio/files/types/file_create_local_upload_params_data.py +20 -0
- frameio/files/types/file_create_params_data.py +31 -0
- frameio/files/types/file_create_remote_upload_params_data.py +20 -0
- frameio/files/types/file_move_params_data.py +15 -0
- frameio/files/types/file_update_params_data.py +15 -0
- frameio/files/types/files_copy_request_copy_comments.py +5 -0
- frameio/folders/__init__.py +39 -0
- frameio/folders/client.py +1004 -0
- frameio/folders/raw_client.py +2074 -0
- frameio/folders/types/__init__.py +42 -0
- frameio/folders/types/folder_copy_params_data.py +15 -0
- frameio/folders/types/folder_create_params_data.py +15 -0
- frameio/folders/types/folder_move_params_data.py +15 -0
- frameio/folders/types/folder_update_params_data.py +15 -0
- frameio/metadata/__init__.py +37 -0
- frameio/metadata/client.py +293 -0
- frameio/metadata/raw_client.py +509 -0
- frameio/metadata/types/__init__.py +38 -0
- frameio/metadata/types/bulk_update_metadata_params_data.py +23 -0
- frameio/metadata/types/bulk_update_metadata_params_data_values_item.py +13 -0
- frameio/metadata_fields/__init__.py +103 -0
- frameio/metadata_fields/client.py +536 -0
- frameio/metadata_fields/raw_client.py +996 -0
- frameio/metadata_fields/types/__init__.py +105 -0
- frameio/metadata_fields/types/create_field_definition_params_data.py +112 -0
- frameio/metadata_fields/types/update_field_definition_params_data.py +118 -0
- frameio/project_permissions/__init__.py +4 -0
- frameio/project_permissions/client.py +426 -0
- frameio/project_permissions/raw_client.py +824 -0
- frameio/projects/__init__.py +38 -0
- frameio/projects/client.py +604 -0
- frameio/projects/raw_client.py +1286 -0
- frameio/projects/types/__init__.py +40 -0
- frameio/projects/types/project_params_data.py +20 -0
- frameio/projects/types/project_update_params_data.py +26 -0
- frameio/projects/types/project_update_params_data_status.py +5 -0
- frameio/py.typed +0 -0
- frameio/shares/__init__.py +64 -0
- frameio/shares/client.py +1217 -0
- frameio/shares/raw_client.py +2511 -0
- frameio/shares/types/__init__.py +61 -0
- frameio/shares/types/add_asset_params_data.py +15 -0
- frameio/shares/types/add_reviewers_to_share_params_data.py +18 -0
- frameio/shares/types/add_reviewers_to_share_params_data_reviewers.py +27 -0
- frameio/shares/types/create_share_params_data.py +26 -0
- frameio/shares/types/remove_reviewer_params_data.py +13 -0
- frameio/shares/types/remove_reviewer_params_data_reviewers.py +27 -0
- frameio/shares/types/update_share_params_data.py +34 -0
- frameio/shares/types/update_share_params_data_access.py +5 -0
- frameio/types/__init__.py +983 -0
- frameio/types/account.py +70 -0
- frameio/types/account_roles_item.py +5 -0
- frameio/types/account_user_role.py +23 -0
- frameio/types/account_user_role_role.py +5 -0
- frameio/types/account_user_roles_response.py +27 -0
- frameio/types/accounts_response.py +23 -0
- frameio/types/add_asset_response.py +13 -0
- frameio/types/add_asset_response_data.py +15 -0
- frameio/types/asset_common.py +48 -0
- frameio/types/asset_common_type.py +5 -0
- frameio/types/asset_common_with_includes.py +58 -0
- frameio/types/asset_common_with_includes_type.py +5 -0
- frameio/types/asset_include.py +5 -0
- frameio/types/asset_share_params.py +39 -0
- frameio/types/asset_share_params_access.py +5 -0
- frameio/types/asset_with_includes.py +76 -0
- frameio/types/assets_with_includes_response.py +23 -0
- frameio/types/bad_request.py +13 -0
- frameio/types/bad_request_errors_item.py +15 -0
- frameio/types/bad_request_errors_item_source.py +12 -0
- frameio/types/boolean_value.py +12 -0
- frameio/types/children_type.py +3 -0
- frameio/types/comment.py +59 -0
- frameio/types/comment_include.py +5 -0
- frameio/types/comment_response.py +13 -0
- frameio/types/comment_with_includes.py +17 -0
- frameio/types/comment_with_includes_response.py +13 -0
- frameio/types/comments_with_includes_response.py +23 -0
- frameio/types/date_definition.py +49 -0
- frameio/types/date_definition_field_configuration.py +21 -0
- frameio/types/date_definition_field_configuration_display_format.py +7 -0
- frameio/types/date_definition_field_configuration_time_format.py +5 -0
- frameio/types/date_definition_field_type.py +10 -0
- frameio/types/date_definition_params.py +17 -0
- frameio/types/date_definition_params_field_configuration.py +23 -0
- frameio/types/date_definition_params_field_configuration_display_format.py +7 -0
- frameio/types/date_definition_params_field_configuration_time_format.py +7 -0
- frameio/types/date_definition_with_includes.py +13 -0
- frameio/types/date_value.py +12 -0
- frameio/types/email.py +3 -0
- frameio/types/empty_json.py +5 -0
- frameio/types/field_definition.py +167 -0
- frameio/types/field_definition_include.py +5 -0
- frameio/types/field_definition_response.py +13 -0
- frameio/types/field_definition_with_includes.py +178 -0
- frameio/types/field_definitions_with_includes_response.py +27 -0
- frameio/types/field_value_common.py +29 -0
- frameio/types/file.py +60 -0
- frameio/types/file_copy_response.py +13 -0
- frameio/types/file_remote_upload_response.py +17 -0
- frameio/types/file_response.py +13 -0
- frameio/types/file_status.py +5 -0
- frameio/types/file_upload_status.py +41 -0
- frameio/types/file_upload_status_response.py +13 -0
- frameio/types/file_with_includes.py +25 -0
- frameio/types/file_with_includes_response.py +13 -0
- frameio/types/file_with_includes_status.py +5 -0
- frameio/types/file_with_media_links_include.py +19 -0
- frameio/types/file_with_upload_urls.py +16 -0
- frameio/types/file_with_upload_urls_response.py +13 -0
- frameio/types/folder.py +15 -0
- frameio/types/folder_copy_response.py +13 -0
- frameio/types/folder_response.py +13 -0
- frameio/types/folder_with_includes.py +63 -0
- frameio/types/folder_with_includes_response.py +13 -0
- frameio/types/folders_with_includes_response.py +23 -0
- frameio/types/forbidden.py +13 -0
- frameio/types/forbidden_errors_item.py +15 -0
- frameio/types/forbidden_errors_item_source.py +12 -0
- frameio/types/include.py +5 -0
- frameio/types/include_total_count.py +3 -0
- frameio/types/integer_value.py +12 -0
- frameio/types/json_error_response.py +13 -0
- frameio/types/json_error_response_errors_item.py +15 -0
- frameio/types/json_error_response_errors_item_source.py +12 -0
- frameio/types/links.py +22 -0
- frameio/types/long_text_definition.py +49 -0
- frameio/types/long_text_definition_field_configuration.py +10 -0
- frameio/types/long_text_definition_field_type.py +10 -0
- frameio/types/long_text_definition_params.py +15 -0
- frameio/types/long_text_definition_with_includes.py +13 -0
- frameio/types/media_link_common.py +17 -0
- frameio/types/media_links_collection.py +24 -0
- frameio/types/metadata_field.py +149 -0
- frameio/types/metadata_response.py +13 -0
- frameio/types/metadata_with_definition.py +21 -0
- frameio/types/multi_select_value.py +14 -0
- frameio/types/multi_user_value.py +20 -0
- frameio/types/multi_user_value_member_options_type.py +5 -0
- frameio/types/no_content.py +3 -0
- frameio/types/not_found.py +13 -0
- frameio/types/not_found_errors_item.py +15 -0
- frameio/types/not_found_errors_item_source.py +12 -0
- frameio/types/number_definition.py +43 -0
- frameio/types/number_definition_field_configuration.py +21 -0
- frameio/types/number_definition_field_configuration_number_format.py +7 -0
- frameio/types/number_definition_params.py +17 -0
- frameio/types/number_definition_params_field_configuration.py +23 -0
- frameio/types/number_definition_params_field_configuration_number_format.py +7 -0
- frameio/types/number_definition_with_includes.py +13 -0
- frameio/types/number_value.py +12 -0
- frameio/types/original_media_link.py +16 -0
- frameio/types/profile.py +34 -0
- frameio/types/profile_response.py +17 -0
- frameio/types/project.py +66 -0
- frameio/types/project_include.py +5 -0
- frameio/types/project_response.py +17 -0
- frameio/types/project_status.py +5 -0
- frameio/types/project_with_includes.py +18 -0
- frameio/types/project_with_includes_response.py +17 -0
- frameio/types/projects_with_includes_response.py +27 -0
- frameio/types/rating_definition.py +43 -0
- frameio/types/rating_definition_field_configuration.py +22 -0
- frameio/types/rating_definition_field_configuration_style.py +5 -0
- frameio/types/rating_definition_params.py +17 -0
- frameio/types/rating_definition_params_field_configuration.py +22 -0
- frameio/types/rating_definition_params_field_configuration_style.py +5 -0
- frameio/types/rating_definition_with_includes.py +13 -0
- frameio/types/remove_asset_response.py +13 -0
- frameio/types/remove_asset_response_data.py +15 -0
- frameio/types/rendition_media_link.py +19 -0
- frameio/types/request_after_opaque_cursor.py +5 -0
- frameio/types/request_page_size.py +3 -0
- frameio/types/select_definition.py +43 -0
- frameio/types/select_definition_field_configuration.py +18 -0
- frameio/types/select_definition_field_configuration_options_item.py +22 -0
- frameio/types/select_definition_params.py +17 -0
- frameio/types/select_definition_params_field_configuration.py +20 -0
- frameio/types/select_definition_params_field_configuration_options_item.py +20 -0
- frameio/types/select_definition_with_includes.py +13 -0
- frameio/types/select_multi_definition.py +49 -0
- frameio/types/select_multi_definition_field_configuration.py +18 -0
- frameio/types/select_multi_definition_field_configuration_options_item.py +22 -0
- frameio/types/select_multi_definition_field_type.py +10 -0
- frameio/types/select_multi_definition_params.py +17 -0
- frameio/types/select_multi_definition_params_field_configuration.py +20 -0
- frameio/types/select_multi_definition_params_field_configuration_options_item.py +20 -0
- frameio/types/select_multi_definition_with_includes.py +13 -0
- frameio/types/select_option.py +20 -0
- frameio/types/select_value.py +14 -0
- frameio/types/share.py +66 -0
- frameio/types/share_access.py +5 -0
- frameio/types/share_response.py +13 -0
- frameio/types/share_reviewers_response.py +27 -0
- frameio/types/shares_response.py +27 -0
- frameio/types/single_user_value.py +20 -0
- frameio/types/single_user_value_member_options_type.py +5 -0
- frameio/types/text_definition.py +49 -0
- frameio/types/text_definition_field_configuration.py +10 -0
- frameio/types/text_definition_field_type.py +10 -0
- frameio/types/text_definition_params.py +15 -0
- frameio/types/text_definition_with_includes.py +13 -0
- frameio/types/text_value.py +12 -0
- frameio/types/time_stamp.py +5 -0
- frameio/types/toggle_definition.py +43 -0
- frameio/types/toggle_definition_field_configuration.py +15 -0
- frameio/types/toggle_definition_params.py +17 -0
- frameio/types/toggle_definition_params_field_configuration.py +15 -0
- frameio/types/toggle_definition_with_includes.py +13 -0
- frameio/types/too_many_requests.py +13 -0
- frameio/types/too_many_requests_errors_item.py +15 -0
- frameio/types/too_many_requests_errors_item_source.py +12 -0
- frameio/types/unauthorized.py +13 -0
- frameio/types/unauthorized_errors_item.py +15 -0
- frameio/types/unauthorized_errors_item_source.py +12 -0
- frameio/types/unprocessable_entity.py +13 -0
- frameio/types/unprocessable_entity_errors_item.py +15 -0
- frameio/types/unprocessable_entity_errors_item_source.py +12 -0
- frameio/types/update_date_definition_params.py +17 -0
- frameio/types/update_date_definition_params_field_configuration.py +25 -0
- frameio/types/update_date_definition_params_field_configuration_display_format.py +7 -0
- frameio/types/update_date_definition_params_field_configuration_time_format.py +7 -0
- frameio/types/update_long_text_definition_params.py +15 -0
- frameio/types/update_number_definition_params.py +17 -0
- frameio/types/update_number_definition_params_field_configuration.py +25 -0
- frameio/types/update_number_definition_params_field_configuration_number_format.py +7 -0
- frameio/types/update_rating_definition_params.py +17 -0
- frameio/types/update_rating_definition_params_field_configuration.py +24 -0
- frameio/types/update_rating_definition_params_field_configuration_style.py +7 -0
- frameio/types/update_select_definition_params.py +17 -0
- frameio/types/update_select_definition_params_field_configuration.py +20 -0
- frameio/types/update_select_definition_params_field_configuration_options_item.py +20 -0
- frameio/types/update_select_multi_definition_params.py +19 -0
- frameio/types/update_select_multi_definition_params_field_configuration.py +20 -0
- frameio/types/update_select_multi_definition_params_field_configuration_options_item.py +20 -0
- frameio/types/update_text_definition_params.py +15 -0
- frameio/types/update_toggle_definition_params.py +17 -0
- frameio/types/update_toggle_definition_params_field_configuration.py +15 -0
- frameio/types/update_user_multi_definition_params.py +17 -0
- frameio/types/update_user_multi_definition_params_field_configuration.py +25 -0
- frameio/types/update_user_multi_definition_params_field_configuration_custom_members_item.py +20 -0
- frameio/types/update_user_multi_definition_params_field_configuration_custom_members_item_type.py +7 -0
- frameio/types/update_user_multi_definition_params_field_configuration_member_options_type.py +7 -0
- frameio/types/update_user_roles_params.py +17 -0
- frameio/types/update_user_roles_params_data.py +13 -0
- frameio/types/update_user_roles_params_data_role.py +7 -0
- frameio/types/update_user_roles_response.py +13 -0
- frameio/types/update_user_roles_response_data.py +13 -0
- frameio/types/update_user_roles_response_data_role.py +7 -0
- frameio/types/update_user_single_definition_params.py +17 -0
- frameio/types/update_user_single_definition_params_field_configuration.py +25 -0
- frameio/types/update_user_single_definition_params_field_configuration_custom_members_item.py +20 -0
- frameio/types/update_user_single_definition_params_field_configuration_custom_members_item_type.py +7 -0
- frameio/types/update_user_single_definition_params_field_configuration_member_options_type.py +7 -0
- frameio/types/upload_url.py +20 -0
- frameio/types/user.py +44 -0
- frameio/types/user_multi_definition.py +49 -0
- frameio/types/user_multi_definition_field_configuration.py +23 -0
- frameio/types/user_multi_definition_field_configuration_custom_members_item.py +20 -0
- frameio/types/user_multi_definition_field_configuration_custom_members_item_type.py +7 -0
- frameio/types/user_multi_definition_field_configuration_member_options_type.py +7 -0
- frameio/types/user_multi_definition_field_type.py +10 -0
- frameio/types/user_multi_definition_params.py +17 -0
- frameio/types/user_multi_definition_params_field_configuration.py +23 -0
- frameio/types/user_multi_definition_params_field_configuration_custom_members_item.py +20 -0
- frameio/types/user_multi_definition_params_field_configuration_custom_members_item_type.py +7 -0
- frameio/types/user_multi_definition_params_field_configuration_member_options_type.py +7 -0
- frameio/types/user_multi_definition_with_includes.py +13 -0
- frameio/types/user_role.py +19 -0
- frameio/types/user_role_role.py +7 -0
- frameio/types/user_roles_response.py +27 -0
- frameio/types/user_single_definition.py +49 -0
- frameio/types/user_single_definition_field_configuration.py +23 -0
- frameio/types/user_single_definition_field_configuration_custom_members_item.py +20 -0
- frameio/types/user_single_definition_field_configuration_custom_members_item_type.py +7 -0
- frameio/types/user_single_definition_field_configuration_member_options_type.py +7 -0
- frameio/types/user_single_definition_field_type.py +10 -0
- frameio/types/user_single_definition_params.py +17 -0
- frameio/types/user_single_definition_params_field_configuration.py +23 -0
- frameio/types/user_single_definition_params_field_configuration_custom_members_item.py +20 -0
- frameio/types/user_single_definition_params_field_configuration_custom_members_item_type.py +7 -0
- frameio/types/user_single_definition_params_field_configuration_member_options_type.py +7 -0
- frameio/types/user_single_definition_with_includes.py +13 -0
- frameio/types/user_value.py +18 -0
- frameio/types/user_value_type.py +5 -0
- frameio/types/uuid_.py +3 -0
- frameio/types/version_stack.py +50 -0
- frameio/types/version_stack_copy_response.py +13 -0
- frameio/types/version_stack_response.py +13 -0
- frameio/types/version_stack_with_includes.py +60 -0
- frameio/types/version_stack_with_includes_response.py +13 -0
- frameio/types/version_stacks_with_includes_response.py +19 -0
- frameio/types/webhook.py +36 -0
- frameio/types/webhook_create_response.py +17 -0
- frameio/types/webhook_create_response_data.py +15 -0
- frameio/types/webhook_events.py +5 -0
- frameio/types/webhook_response.py +13 -0
- frameio/types/webhook_with_includes.py +13 -0
- frameio/types/webhook_with_includes_response.py +13 -0
- frameio/types/webhooks_with_includes_response.py +23 -0
- frameio/types/workspace.py +40 -0
- frameio/types/workspace_include.py +5 -0
- frameio/types/workspace_params.py +17 -0
- frameio/types/workspace_params_data.py +15 -0
- frameio/types/workspace_response.py +17 -0
- frameio/types/workspace_with_includes.py +13 -0
- frameio/types/workspace_with_includes_response.py +17 -0
- frameio/types/workspaces_with_includes_response.py +27 -0
- frameio/users/__init__.py +4 -0
- frameio/users/client.py +100 -0
- frameio/users/raw_client.py +234 -0
- frameio/version.py +3 -0
- frameio/version_stacks/__init__.py +49 -0
- frameio/version_stacks/client.py +818 -0
- frameio/version_stacks/raw_client.py +1614 -0
- frameio/version_stacks/types/__init__.py +47 -0
- frameio/version_stacks/types/version_stack_copy_params_data.py +15 -0
- frameio/version_stacks/types/version_stack_create_params_data.py +19 -0
- frameio/version_stacks/types/version_stack_move_params_data.py +15 -0
- frameio/version_stacks/types/version_stacks_show_request_include.py +19 -0
- frameio/webhooks/__init__.py +34 -0
- frameio/webhooks/client.py +793 -0
- frameio/webhooks/raw_client.py +1347 -0
- frameio/webhooks/types/__init__.py +38 -0
- frameio/webhooks/types/webhook_create_params_data.py +18 -0
- frameio/webhooks/types/webhook_update_params_data.py +23 -0
- frameio/workspace_permissions/__init__.py +4 -0
- frameio/workspace_permissions/client.py +430 -0
- frameio/workspace_permissions/raw_client.py +824 -0
- frameio/workspaces/__init__.py +4 -0
- frameio/workspaces/client.py +563 -0
- frameio/workspaces/raw_client.py +1259 -0
- frameio-0.0.28.dist-info/METADATA +259 -0
- frameio-0.0.28.dist-info/RECORD +385 -0
- frameio-0.0.28.dist-info/WHEEL +4 -0
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
import typing
|
|
4
|
+
|
|
5
|
+
import pydantic
|
|
6
|
+
from ..core.unchecked_base_model import UncheckedBaseModel
|
|
7
|
+
from .update_select_definition_params_field_configuration_options_item import (
|
|
8
|
+
UpdateSelectDefinitionParamsFieldConfigurationOptionsItem,
|
|
9
|
+
)
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
class UpdateSelectDefinitionParamsFieldConfiguration(UncheckedBaseModel):
|
|
13
|
+
enable_add_new: typing.Optional[bool] = pydantic.Field(default=None)
|
|
14
|
+
"""
|
|
15
|
+
Allow or disallow adding in new option(s) from the grid/list view
|
|
16
|
+
"""
|
|
17
|
+
|
|
18
|
+
options: typing.Optional[typing.List[UpdateSelectDefinitionParamsFieldConfigurationOptionsItem]] = None
|
|
19
|
+
|
|
20
|
+
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True)
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
import typing
|
|
4
|
+
|
|
5
|
+
import pydantic
|
|
6
|
+
from ..core.unchecked_base_model import UncheckedBaseModel
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
class UpdateSelectDefinitionParamsFieldConfigurationOptionsItem(UncheckedBaseModel):
|
|
10
|
+
color: typing.Optional[str] = pydantic.Field(default=None)
|
|
11
|
+
"""
|
|
12
|
+
Color value hex code for the `display_name`. ex: #fbd400
|
|
13
|
+
"""
|
|
14
|
+
|
|
15
|
+
display_name: str = pydantic.Field()
|
|
16
|
+
"""
|
|
17
|
+
Option display name
|
|
18
|
+
"""
|
|
19
|
+
|
|
20
|
+
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True)
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
import typing
|
|
4
|
+
|
|
5
|
+
import pydantic
|
|
6
|
+
from ..core.unchecked_base_model import UncheckedBaseModel
|
|
7
|
+
from .update_select_multi_definition_params_field_configuration import (
|
|
8
|
+
UpdateSelectMultiDefinitionParamsFieldConfiguration,
|
|
9
|
+
)
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
class UpdateSelectMultiDefinitionParams(UncheckedBaseModel):
|
|
13
|
+
field_configuration: typing.Optional[UpdateSelectMultiDefinitionParamsFieldConfiguration] = None
|
|
14
|
+
name: typing.Optional[str] = pydantic.Field(default=None)
|
|
15
|
+
"""
|
|
16
|
+
Field definition name
|
|
17
|
+
"""
|
|
18
|
+
|
|
19
|
+
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True)
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
import typing
|
|
4
|
+
|
|
5
|
+
import pydantic
|
|
6
|
+
from ..core.unchecked_base_model import UncheckedBaseModel
|
|
7
|
+
from .update_select_multi_definition_params_field_configuration_options_item import (
|
|
8
|
+
UpdateSelectMultiDefinitionParamsFieldConfigurationOptionsItem,
|
|
9
|
+
)
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
class UpdateSelectMultiDefinitionParamsFieldConfiguration(UncheckedBaseModel):
|
|
13
|
+
enable_add_new: typing.Optional[bool] = pydantic.Field(default=None)
|
|
14
|
+
"""
|
|
15
|
+
Allow or disallow adding in new option(s) from the grid/list view
|
|
16
|
+
"""
|
|
17
|
+
|
|
18
|
+
options: typing.Optional[typing.List[UpdateSelectMultiDefinitionParamsFieldConfigurationOptionsItem]] = None
|
|
19
|
+
|
|
20
|
+
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True)
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
import typing
|
|
4
|
+
|
|
5
|
+
import pydantic
|
|
6
|
+
from ..core.unchecked_base_model import UncheckedBaseModel
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
class UpdateSelectMultiDefinitionParamsFieldConfigurationOptionsItem(UncheckedBaseModel):
|
|
10
|
+
color: typing.Optional[str] = pydantic.Field(default=None)
|
|
11
|
+
"""
|
|
12
|
+
Color value hex code for the `display_name`. ex: #fbd400
|
|
13
|
+
"""
|
|
14
|
+
|
|
15
|
+
display_name: str = pydantic.Field()
|
|
16
|
+
"""
|
|
17
|
+
Option display name
|
|
18
|
+
"""
|
|
19
|
+
|
|
20
|
+
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True)
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
import typing
|
|
4
|
+
|
|
5
|
+
import pydantic
|
|
6
|
+
from ..core.unchecked_base_model import UncheckedBaseModel
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
class UpdateTextDefinitionParams(UncheckedBaseModel):
|
|
10
|
+
name: typing.Optional[str] = pydantic.Field(default=None)
|
|
11
|
+
"""
|
|
12
|
+
Field definition name
|
|
13
|
+
"""
|
|
14
|
+
|
|
15
|
+
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True)
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
import typing
|
|
4
|
+
|
|
5
|
+
import pydantic
|
|
6
|
+
from ..core.unchecked_base_model import UncheckedBaseModel
|
|
7
|
+
from .update_toggle_definition_params_field_configuration import UpdateToggleDefinitionParamsFieldConfiguration
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class UpdateToggleDefinitionParams(UncheckedBaseModel):
|
|
11
|
+
field_configuration: typing.Optional[UpdateToggleDefinitionParamsFieldConfiguration] = None
|
|
12
|
+
name: typing.Optional[str] = pydantic.Field(default=None)
|
|
13
|
+
"""
|
|
14
|
+
Field definition name
|
|
15
|
+
"""
|
|
16
|
+
|
|
17
|
+
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True)
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
import typing
|
|
4
|
+
|
|
5
|
+
import pydantic
|
|
6
|
+
from ..core.unchecked_base_model import UncheckedBaseModel
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
class UpdateToggleDefinitionParamsFieldConfiguration(UncheckedBaseModel):
|
|
10
|
+
color: typing.Optional[str] = pydantic.Field(default=None)
|
|
11
|
+
"""
|
|
12
|
+
Color value hex code. ex: #fbd400
|
|
13
|
+
"""
|
|
14
|
+
|
|
15
|
+
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True)
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
import typing
|
|
4
|
+
|
|
5
|
+
import pydantic
|
|
6
|
+
from ..core.unchecked_base_model import UncheckedBaseModel
|
|
7
|
+
from .update_user_multi_definition_params_field_configuration import UpdateUserMultiDefinitionParamsFieldConfiguration
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class UpdateUserMultiDefinitionParams(UncheckedBaseModel):
|
|
11
|
+
field_configuration: typing.Optional[UpdateUserMultiDefinitionParamsFieldConfiguration] = None
|
|
12
|
+
name: typing.Optional[str] = pydantic.Field(default=None)
|
|
13
|
+
"""
|
|
14
|
+
Field definition name
|
|
15
|
+
"""
|
|
16
|
+
|
|
17
|
+
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True)
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
import typing
|
|
4
|
+
|
|
5
|
+
import pydantic
|
|
6
|
+
from ..core.unchecked_base_model import UncheckedBaseModel
|
|
7
|
+
from .update_user_multi_definition_params_field_configuration_custom_members_item import (
|
|
8
|
+
UpdateUserMultiDefinitionParamsFieldConfigurationCustomMembersItem,
|
|
9
|
+
)
|
|
10
|
+
from .update_user_multi_definition_params_field_configuration_member_options_type import (
|
|
11
|
+
UpdateUserMultiDefinitionParamsFieldConfigurationMemberOptionsType,
|
|
12
|
+
)
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
class UpdateUserMultiDefinitionParamsFieldConfiguration(UncheckedBaseModel):
|
|
16
|
+
custom_members: typing.Optional[typing.List[UpdateUserMultiDefinitionParamsFieldConfigurationCustomMembersItem]] = (
|
|
17
|
+
None
|
|
18
|
+
)
|
|
19
|
+
member_options_type: UpdateUserMultiDefinitionParamsFieldConfigurationMemberOptionsType
|
|
20
|
+
notify_members: bool = pydantic.Field()
|
|
21
|
+
"""
|
|
22
|
+
|
|
23
|
+
"""
|
|
24
|
+
|
|
25
|
+
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True)
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
import typing
|
|
4
|
+
|
|
5
|
+
import pydantic
|
|
6
|
+
from ..core.unchecked_base_model import UncheckedBaseModel
|
|
7
|
+
from .update_user_multi_definition_params_field_configuration_custom_members_item_type import (
|
|
8
|
+
UpdateUserMultiDefinitionParamsFieldConfigurationCustomMembersItemType,
|
|
9
|
+
)
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
class UpdateUserMultiDefinitionParamsFieldConfigurationCustomMembersItem(UncheckedBaseModel):
|
|
13
|
+
id: str = pydantic.Field()
|
|
14
|
+
"""
|
|
15
|
+
User Id
|
|
16
|
+
"""
|
|
17
|
+
|
|
18
|
+
type: UpdateUserMultiDefinitionParamsFieldConfigurationCustomMembersItemType
|
|
19
|
+
|
|
20
|
+
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True)
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
import typing
|
|
4
|
+
|
|
5
|
+
import pydantic
|
|
6
|
+
from ..core.unchecked_base_model import UncheckedBaseModel
|
|
7
|
+
from .update_user_roles_params_data import UpdateUserRolesParamsData
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class UpdateUserRolesParams(UncheckedBaseModel):
|
|
11
|
+
"""
|
|
12
|
+
Update user roles params
|
|
13
|
+
"""
|
|
14
|
+
|
|
15
|
+
data: UpdateUserRolesParamsData
|
|
16
|
+
|
|
17
|
+
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True)
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
import typing
|
|
4
|
+
|
|
5
|
+
import pydantic
|
|
6
|
+
from ..core.unchecked_base_model import UncheckedBaseModel
|
|
7
|
+
from .update_user_roles_params_data_role import UpdateUserRolesParamsDataRole
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class UpdateUserRolesParamsData(UncheckedBaseModel):
|
|
11
|
+
role: UpdateUserRolesParamsDataRole
|
|
12
|
+
|
|
13
|
+
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True)
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
import typing
|
|
4
|
+
|
|
5
|
+
import pydantic
|
|
6
|
+
from ..core.unchecked_base_model import UncheckedBaseModel
|
|
7
|
+
from .update_user_roles_response_data import UpdateUserRolesResponseData
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class UpdateUserRolesResponse(UncheckedBaseModel):
|
|
11
|
+
data: UpdateUserRolesResponseData
|
|
12
|
+
|
|
13
|
+
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True)
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
import typing
|
|
4
|
+
|
|
5
|
+
import pydantic
|
|
6
|
+
from ..core.unchecked_base_model import UncheckedBaseModel
|
|
7
|
+
from .update_user_roles_response_data_role import UpdateUserRolesResponseDataRole
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class UpdateUserRolesResponseData(UncheckedBaseModel):
|
|
11
|
+
role: typing.Optional[UpdateUserRolesResponseDataRole] = None
|
|
12
|
+
|
|
13
|
+
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True)
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
import typing
|
|
4
|
+
|
|
5
|
+
import pydantic
|
|
6
|
+
from ..core.unchecked_base_model import UncheckedBaseModel
|
|
7
|
+
from .update_user_single_definition_params_field_configuration import UpdateUserSingleDefinitionParamsFieldConfiguration
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class UpdateUserSingleDefinitionParams(UncheckedBaseModel):
|
|
11
|
+
field_configuration: typing.Optional[UpdateUserSingleDefinitionParamsFieldConfiguration] = None
|
|
12
|
+
name: typing.Optional[str] = pydantic.Field(default=None)
|
|
13
|
+
"""
|
|
14
|
+
Field definition name
|
|
15
|
+
"""
|
|
16
|
+
|
|
17
|
+
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True)
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
import typing
|
|
4
|
+
|
|
5
|
+
import pydantic
|
|
6
|
+
from ..core.unchecked_base_model import UncheckedBaseModel
|
|
7
|
+
from .update_user_single_definition_params_field_configuration_custom_members_item import (
|
|
8
|
+
UpdateUserSingleDefinitionParamsFieldConfigurationCustomMembersItem,
|
|
9
|
+
)
|
|
10
|
+
from .update_user_single_definition_params_field_configuration_member_options_type import (
|
|
11
|
+
UpdateUserSingleDefinitionParamsFieldConfigurationMemberOptionsType,
|
|
12
|
+
)
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
class UpdateUserSingleDefinitionParamsFieldConfiguration(UncheckedBaseModel):
|
|
16
|
+
custom_members: typing.Optional[
|
|
17
|
+
typing.List[UpdateUserSingleDefinitionParamsFieldConfigurationCustomMembersItem]
|
|
18
|
+
] = None
|
|
19
|
+
member_options_type: UpdateUserSingleDefinitionParamsFieldConfigurationMemberOptionsType
|
|
20
|
+
notify_members: bool = pydantic.Field()
|
|
21
|
+
"""
|
|
22
|
+
|
|
23
|
+
"""
|
|
24
|
+
|
|
25
|
+
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True)
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
import typing
|
|
4
|
+
|
|
5
|
+
import pydantic
|
|
6
|
+
from ..core.unchecked_base_model import UncheckedBaseModel
|
|
7
|
+
from .update_user_single_definition_params_field_configuration_custom_members_item_type import (
|
|
8
|
+
UpdateUserSingleDefinitionParamsFieldConfigurationCustomMembersItemType,
|
|
9
|
+
)
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
class UpdateUserSingleDefinitionParamsFieldConfigurationCustomMembersItem(UncheckedBaseModel):
|
|
13
|
+
id: str = pydantic.Field()
|
|
14
|
+
"""
|
|
15
|
+
User Id
|
|
16
|
+
"""
|
|
17
|
+
|
|
18
|
+
type: UpdateUserSingleDefinitionParamsFieldConfigurationCustomMembersItemType
|
|
19
|
+
|
|
20
|
+
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True)
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
import typing
|
|
4
|
+
|
|
5
|
+
import pydantic
|
|
6
|
+
from ..core.unchecked_base_model import UncheckedBaseModel
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
class UploadUrl(UncheckedBaseModel):
|
|
10
|
+
size: int = pydantic.Field()
|
|
11
|
+
"""
|
|
12
|
+
Upload chunk size
|
|
13
|
+
"""
|
|
14
|
+
|
|
15
|
+
url: str = pydantic.Field()
|
|
16
|
+
"""
|
|
17
|
+
S3 presigned URL. Client should make a PUT request to this URL that includes the "x-amz-acl: private" header along with the file or file chunk data.
|
|
18
|
+
"""
|
|
19
|
+
|
|
20
|
+
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True)
|
frameio/types/user.py
ADDED
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
import typing
|
|
4
|
+
|
|
5
|
+
import pydantic
|
|
6
|
+
from ..core.unchecked_base_model import UncheckedBaseModel
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
class User(UncheckedBaseModel):
|
|
10
|
+
"""
|
|
11
|
+
User details
|
|
12
|
+
"""
|
|
13
|
+
|
|
14
|
+
active: typing.Optional[bool] = pydantic.Field(default=None)
|
|
15
|
+
"""
|
|
16
|
+
User active status
|
|
17
|
+
"""
|
|
18
|
+
|
|
19
|
+
adobe_user_id: typing.Optional[str] = pydantic.Field(default=None)
|
|
20
|
+
"""
|
|
21
|
+
Adobe user ID
|
|
22
|
+
"""
|
|
23
|
+
|
|
24
|
+
avatar_url: typing.Optional[str] = pydantic.Field(default=None)
|
|
25
|
+
"""
|
|
26
|
+
User avatar image url
|
|
27
|
+
"""
|
|
28
|
+
|
|
29
|
+
email: str = pydantic.Field()
|
|
30
|
+
"""
|
|
31
|
+
User email
|
|
32
|
+
"""
|
|
33
|
+
|
|
34
|
+
id: typing.Optional[str] = pydantic.Field(default=None)
|
|
35
|
+
"""
|
|
36
|
+
User ID - can be null for invited users with no frame account
|
|
37
|
+
"""
|
|
38
|
+
|
|
39
|
+
name: typing.Optional[str] = pydantic.Field(default=None)
|
|
40
|
+
"""
|
|
41
|
+
User name
|
|
42
|
+
"""
|
|
43
|
+
|
|
44
|
+
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True)
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
import datetime as dt
|
|
4
|
+
import typing
|
|
5
|
+
|
|
6
|
+
import pydantic
|
|
7
|
+
from ..core.unchecked_base_model import UncheckedBaseModel
|
|
8
|
+
from .user_multi_definition_field_configuration import UserMultiDefinitionFieldConfiguration
|
|
9
|
+
from .user_multi_definition_field_type import UserMultiDefinitionFieldType
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
class UserMultiDefinition(UncheckedBaseModel):
|
|
13
|
+
created_at: dt.datetime = pydantic.Field()
|
|
14
|
+
"""
|
|
15
|
+
Created Timestamp
|
|
16
|
+
"""
|
|
17
|
+
|
|
18
|
+
creator_id: str = pydantic.Field()
|
|
19
|
+
"""
|
|
20
|
+
Field definition creator ID
|
|
21
|
+
"""
|
|
22
|
+
|
|
23
|
+
field_configuration: UserMultiDefinitionFieldConfiguration
|
|
24
|
+
field_type: UserMultiDefinitionFieldType = pydantic.Field()
|
|
25
|
+
"""
|
|
26
|
+
Field type
|
|
27
|
+
"""
|
|
28
|
+
|
|
29
|
+
id: str = pydantic.Field()
|
|
30
|
+
"""
|
|
31
|
+
Field definition ID
|
|
32
|
+
"""
|
|
33
|
+
|
|
34
|
+
mutable: bool = pydantic.Field()
|
|
35
|
+
"""
|
|
36
|
+
Field definition mutability. System fields cannot be updated.
|
|
37
|
+
"""
|
|
38
|
+
|
|
39
|
+
name: str = pydantic.Field()
|
|
40
|
+
"""
|
|
41
|
+
FieldDefinition Name
|
|
42
|
+
"""
|
|
43
|
+
|
|
44
|
+
updated_at: dt.datetime = pydantic.Field()
|
|
45
|
+
"""
|
|
46
|
+
Updated Timestamp
|
|
47
|
+
"""
|
|
48
|
+
|
|
49
|
+
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True)
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
import typing
|
|
4
|
+
|
|
5
|
+
import pydantic
|
|
6
|
+
from ..core.unchecked_base_model import UncheckedBaseModel
|
|
7
|
+
from .user_multi_definition_field_configuration_custom_members_item import (
|
|
8
|
+
UserMultiDefinitionFieldConfigurationCustomMembersItem,
|
|
9
|
+
)
|
|
10
|
+
from .user_multi_definition_field_configuration_member_options_type import (
|
|
11
|
+
UserMultiDefinitionFieldConfigurationMemberOptionsType,
|
|
12
|
+
)
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
class UserMultiDefinitionFieldConfiguration(UncheckedBaseModel):
|
|
16
|
+
custom_members: typing.List[UserMultiDefinitionFieldConfigurationCustomMembersItem]
|
|
17
|
+
member_options_type: UserMultiDefinitionFieldConfigurationMemberOptionsType
|
|
18
|
+
notify_members: bool = pydantic.Field()
|
|
19
|
+
"""
|
|
20
|
+
|
|
21
|
+
"""
|
|
22
|
+
|
|
23
|
+
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True)
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
import typing
|
|
4
|
+
|
|
5
|
+
import pydantic
|
|
6
|
+
from ..core.unchecked_base_model import UncheckedBaseModel
|
|
7
|
+
from .user_multi_definition_field_configuration_custom_members_item_type import (
|
|
8
|
+
UserMultiDefinitionFieldConfigurationCustomMembersItemType,
|
|
9
|
+
)
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
class UserMultiDefinitionFieldConfigurationCustomMembersItem(UncheckedBaseModel):
|
|
13
|
+
id: str = pydantic.Field()
|
|
14
|
+
"""
|
|
15
|
+
User Id
|
|
16
|
+
"""
|
|
17
|
+
|
|
18
|
+
type: UserMultiDefinitionFieldConfigurationCustomMembersItemType
|
|
19
|
+
|
|
20
|
+
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True)
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
import typing
|
|
4
|
+
|
|
5
|
+
UserMultiDefinitionFieldType = typing.Union[
|
|
6
|
+
typing.Literal[
|
|
7
|
+
"text", "long_text", "select", "select_multi", "rating", "number", "toggle", "user_single", "user_multi", "date"
|
|
8
|
+
],
|
|
9
|
+
typing.Any,
|
|
10
|
+
]
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
import typing
|
|
4
|
+
|
|
5
|
+
import pydantic
|
|
6
|
+
from ..core.unchecked_base_model import UncheckedBaseModel
|
|
7
|
+
from .user_multi_definition_params_field_configuration import UserMultiDefinitionParamsFieldConfiguration
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class UserMultiDefinitionParams(UncheckedBaseModel):
|
|
11
|
+
field_configuration: UserMultiDefinitionParamsFieldConfiguration
|
|
12
|
+
name: str = pydantic.Field()
|
|
13
|
+
"""
|
|
14
|
+
Field definition name
|
|
15
|
+
"""
|
|
16
|
+
|
|
17
|
+
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True)
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
import typing
|
|
4
|
+
|
|
5
|
+
import pydantic
|
|
6
|
+
from ..core.unchecked_base_model import UncheckedBaseModel
|
|
7
|
+
from .user_multi_definition_params_field_configuration_custom_members_item import (
|
|
8
|
+
UserMultiDefinitionParamsFieldConfigurationCustomMembersItem,
|
|
9
|
+
)
|
|
10
|
+
from .user_multi_definition_params_field_configuration_member_options_type import (
|
|
11
|
+
UserMultiDefinitionParamsFieldConfigurationMemberOptionsType,
|
|
12
|
+
)
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
class UserMultiDefinitionParamsFieldConfiguration(UncheckedBaseModel):
|
|
16
|
+
custom_members: typing.Optional[typing.List[UserMultiDefinitionParamsFieldConfigurationCustomMembersItem]] = None
|
|
17
|
+
member_options_type: UserMultiDefinitionParamsFieldConfigurationMemberOptionsType
|
|
18
|
+
notify_members: bool = pydantic.Field()
|
|
19
|
+
"""
|
|
20
|
+
|
|
21
|
+
"""
|
|
22
|
+
|
|
23
|
+
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True)
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
import typing
|
|
4
|
+
|
|
5
|
+
import pydantic
|
|
6
|
+
from ..core.unchecked_base_model import UncheckedBaseModel
|
|
7
|
+
from .user_multi_definition_params_field_configuration_custom_members_item_type import (
|
|
8
|
+
UserMultiDefinitionParamsFieldConfigurationCustomMembersItemType,
|
|
9
|
+
)
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
class UserMultiDefinitionParamsFieldConfigurationCustomMembersItem(UncheckedBaseModel):
|
|
13
|
+
id: str = pydantic.Field()
|
|
14
|
+
"""
|
|
15
|
+
User Id
|
|
16
|
+
"""
|
|
17
|
+
|
|
18
|
+
type: UserMultiDefinitionParamsFieldConfigurationCustomMembersItemType
|
|
19
|
+
|
|
20
|
+
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True)
|