2022-07-13 14:23:48 +02:00
|
|
|
//
|
|
|
|
// AUTO-GENERATED FILE, DO NOT MODIFY!
|
|
|
|
//
|
2024-05-15 23:52:52 +02:00
|
|
|
// @dart=2.18
|
2022-07-13 14:23:48 +02:00
|
|
|
|
|
|
|
// ignore_for_file: unused_element, unused_import
|
|
|
|
// ignore_for_file: always_put_required_named_parameters_first
|
|
|
|
// ignore_for_file: constant_identifier_names
|
|
|
|
// ignore_for_file: lines_longer_than_80_chars
|
|
|
|
|
|
|
|
library openapi.api;
|
|
|
|
|
|
|
|
import 'dart:async';
|
|
|
|
import 'dart:convert';
|
|
|
|
import 'dart:io';
|
|
|
|
|
2024-01-26 17:40:28 +01:00
|
|
|
import 'package:collection/collection.dart';
|
2023-02-12 04:37:48 +01:00
|
|
|
import 'package:flutter/foundation.dart';
|
2024-08-13 21:39:25 +02:00
|
|
|
import 'package:immich_mobile/utils/openapi_patching.dart';
|
2022-07-13 14:23:48 +02:00
|
|
|
import 'package:http/http.dart';
|
|
|
|
import 'package:intl/intl.dart';
|
|
|
|
import 'package:meta/meta.dart';
|
|
|
|
|
|
|
|
part 'api_client.dart';
|
|
|
|
part 'api_helper.dart';
|
|
|
|
part 'api_exception.dart';
|
|
|
|
part 'auth/authentication.dart';
|
|
|
|
part 'auth/api_key_auth.dart';
|
|
|
|
part 'auth/oauth.dart';
|
|
|
|
part 'auth/http_basic_auth.dart';
|
|
|
|
part 'auth/http_bearer_auth.dart';
|
|
|
|
|
2024-05-30 00:26:57 +02:00
|
|
|
part 'api/api_keys_api.dart';
|
|
|
|
part 'api/activities_api.dart';
|
|
|
|
part 'api/albums_api.dart';
|
|
|
|
part 'api/assets_api.dart';
|
2023-08-24 21:28:50 +02:00
|
|
|
part 'api/audit_api.dart';
|
2022-07-13 14:23:48 +02:00
|
|
|
part 'api/authentication_api.dart';
|
2024-06-28 18:08:19 +02:00
|
|
|
part 'api/deprecated_api.dart';
|
2024-01-26 15:19:13 +01:00
|
|
|
part 'api/download_api.dart';
|
2024-05-30 00:26:57 +02:00
|
|
|
part 'api/duplicates_api.dart';
|
|
|
|
part 'api/faces_api.dart';
|
|
|
|
part 'api/file_reports_api.dart';
|
|
|
|
part 'api/jobs_api.dart';
|
|
|
|
part 'api/libraries_api.dart';
|
2024-05-29 17:51:01 +02:00
|
|
|
part 'api/map_api.dart';
|
2024-05-30 00:26:57 +02:00
|
|
|
part 'api/memories_api.dart';
|
2024-06-07 18:34:09 +02:00
|
|
|
part 'api/notifications_api.dart';
|
2022-11-15 03:24:25 +01:00
|
|
|
part 'api/o_auth_api.dart';
|
2024-05-30 00:26:57 +02:00
|
|
|
part 'api/partners_api.dart';
|
|
|
|
part 'api/people_api.dart';
|
2023-03-03 03:47:08 +01:00
|
|
|
part 'api/search_api.dart';
|
2024-07-01 19:43:16 +02:00
|
|
|
part 'api/server_api.dart';
|
2024-04-19 12:47:29 +02:00
|
|
|
part 'api/sessions_api.dart';
|
2024-05-30 00:26:57 +02:00
|
|
|
part 'api/shared_links_api.dart';
|
2024-08-19 19:37:15 +02:00
|
|
|
part 'api/stacks_api.dart';
|
2024-04-16 07:26:37 +02:00
|
|
|
part 'api/sync_api.dart';
|
2022-11-15 05:39:32 +01:00
|
|
|
part 'api/system_config_api.dart';
|
2024-04-20 02:36:15 +02:00
|
|
|
part 'api/system_metadata_api.dart';
|
2024-05-30 00:26:57 +02:00
|
|
|
part 'api/tags_api.dart';
|
2024-03-29 04:20:40 +01:00
|
|
|
part 'api/timeline_api.dart';
|
2024-01-26 17:48:37 +01:00
|
|
|
part 'api/trash_api.dart';
|
2024-05-30 00:26:57 +02:00
|
|
|
part 'api/users_api.dart';
|
|
|
|
part 'api/users_admin_api.dart';
|
2024-08-21 20:49:37 +02:00
|
|
|
part 'api/view_api.dart';
|
2022-07-13 14:23:48 +02:00
|
|
|
|
2023-01-02 21:22:33 +01:00
|
|
|
part 'model/api_key_create_dto.dart';
|
|
|
|
part 'model/api_key_create_response_dto.dart';
|
|
|
|
part 'model/api_key_response_dto.dart';
|
|
|
|
part 'model/api_key_update_dto.dart';
|
2023-11-01 04:13:34 +01:00
|
|
|
part 'model/activity_create_dto.dart';
|
|
|
|
part 'model/activity_response_dto.dart';
|
|
|
|
part 'model/activity_statistics_response_dto.dart';
|
2022-07-13 14:23:48 +02:00
|
|
|
part 'model/add_users_dto.dart';
|
2024-04-20 02:36:15 +02:00
|
|
|
part 'model/admin_onboarding_update_dto.dart';
|
2022-07-13 14:23:48 +02:00
|
|
|
part 'model/album_response_dto.dart';
|
2024-08-20 13:50:36 +02:00
|
|
|
part 'model/album_statistics_response_dto.dart';
|
2024-04-25 06:19:49 +02:00
|
|
|
part 'model/album_user_add_dto.dart';
|
2024-05-07 22:38:09 +02:00
|
|
|
part 'model/album_user_create_dto.dart';
|
2024-04-25 06:19:49 +02:00
|
|
|
part 'model/album_user_response_dto.dart';
|
|
|
|
part 'model/album_user_role.dart';
|
2022-10-06 18:25:54 +02:00
|
|
|
part 'model/all_job_status_response_dto.dart';
|
2023-10-06 09:01:14 +02:00
|
|
|
part 'model/asset_bulk_delete_dto.dart';
|
2023-08-16 22:04:55 +02:00
|
|
|
part 'model/asset_bulk_update_dto.dart';
|
2023-05-24 23:08:21 +02:00
|
|
|
part 'model/asset_bulk_upload_check_dto.dart';
|
|
|
|
part 'model/asset_bulk_upload_check_item.dart';
|
|
|
|
part 'model/asset_bulk_upload_check_response_dto.dart';
|
|
|
|
part 'model/asset_bulk_upload_check_result.dart';
|
2024-04-29 05:24:21 +02:00
|
|
|
part 'model/asset_delta_sync_dto.dart';
|
2024-04-16 07:26:37 +02:00
|
|
|
part 'model/asset_delta_sync_response_dto.dart';
|
2023-12-05 16:43:15 +01:00
|
|
|
part 'model/asset_face_response_dto.dart';
|
|
|
|
part 'model/asset_face_update_dto.dart';
|
|
|
|
part 'model/asset_face_update_item.dart';
|
|
|
|
part 'model/asset_face_without_person_response_dto.dart';
|
2024-04-29 05:24:21 +02:00
|
|
|
part 'model/asset_full_sync_dto.dart';
|
2023-06-01 03:51:28 +02:00
|
|
|
part 'model/asset_ids_dto.dart';
|
|
|
|
part 'model/asset_ids_response_dto.dart';
|
2023-08-18 16:31:48 +02:00
|
|
|
part 'model/asset_job_name.dart';
|
|
|
|
part 'model/asset_jobs_dto.dart';
|
2024-05-24 02:26:22 +02:00
|
|
|
part 'model/asset_media_response_dto.dart';
|
2024-05-31 19:44:04 +02:00
|
|
|
part 'model/asset_media_size.dart';
|
2024-05-24 02:26:22 +02:00
|
|
|
part 'model/asset_media_status.dart';
|
2023-11-14 23:47:15 +01:00
|
|
|
part 'model/asset_order.dart';
|
2022-07-13 14:23:48 +02:00
|
|
|
part 'model/asset_response_dto.dart';
|
2024-08-19 19:37:15 +02:00
|
|
|
part 'model/asset_stack_response_dto.dart';
|
2023-07-14 15:30:17 +02:00
|
|
|
part 'model/asset_stats_response_dto.dart';
|
2022-07-13 14:23:48 +02:00
|
|
|
part 'model/asset_type_enum.dart';
|
2023-07-09 04:43:11 +02:00
|
|
|
part 'model/audio_codec.dart';
|
2023-08-24 21:28:50 +02:00
|
|
|
part 'model/audit_deletes_response_dto.dart';
|
2024-05-28 04:16:53 +02:00
|
|
|
part 'model/avatar_response.dart';
|
|
|
|
part 'model/avatar_update.dart';
|
2023-07-11 23:52:41 +02:00
|
|
|
part 'model/bulk_id_response_dto.dart';
|
2023-08-02 03:29:14 +02:00
|
|
|
part 'model/bulk_ids_dto.dart';
|
2023-08-29 15:58:00 +02:00
|
|
|
part 'model/clip_config.dart';
|
2023-09-03 03:22:42 +02:00
|
|
|
part 'model/cq_mode.dart';
|
2022-12-21 15:43:35 +01:00
|
|
|
part 'model/change_password_dto.dart';
|
2022-10-25 16:51:03 +02:00
|
|
|
part 'model/check_existing_assets_dto.dart';
|
|
|
|
part 'model/check_existing_assets_response_dto.dart';
|
2023-09-03 08:21:51 +02:00
|
|
|
part 'model/colorspace.dart';
|
2022-07-13 14:23:48 +02:00
|
|
|
part 'model/create_album_dto.dart';
|
2023-09-20 13:16:33 +02:00
|
|
|
part 'model/create_library_dto.dart';
|
2022-07-13 14:23:48 +02:00
|
|
|
part 'model/create_profile_image_response_dto.dart';
|
2024-10-31 12:29:42 +01:00
|
|
|
part 'model/database_backup_config.dart';
|
2023-06-30 18:24:28 +02:00
|
|
|
part 'model/download_archive_info.dart';
|
2023-08-15 17:49:32 +02:00
|
|
|
part 'model/download_info_dto.dart';
|
2024-06-14 17:27:12 +02:00
|
|
|
part 'model/download_response.dart';
|
2023-06-30 18:24:28 +02:00
|
|
|
part 'model/download_response_dto.dart';
|
2024-06-14 17:27:12 +02:00
|
|
|
part 'model/download_update.dart';
|
2024-05-16 19:08:37 +02:00
|
|
|
part 'model/duplicate_detection_config.dart';
|
2024-05-18 20:50:28 +02:00
|
|
|
part 'model/duplicate_response_dto.dart';
|
2024-06-03 23:00:20 +02:00
|
|
|
part 'model/email_notifications_response.dart';
|
|
|
|
part 'model/email_notifications_update.dart';
|
2023-08-24 21:28:50 +02:00
|
|
|
part 'model/entity_type.dart';
|
2022-07-13 14:23:48 +02:00
|
|
|
part 'model/exif_response_dto.dart';
|
2023-12-05 16:43:15 +01:00
|
|
|
part 'model/face_dto.dart';
|
2024-06-07 05:09:47 +02:00
|
|
|
part 'model/facial_recognition_config.dart';
|
2023-10-14 19:12:59 +02:00
|
|
|
part 'model/file_checksum_dto.dart';
|
|
|
|
part 'model/file_checksum_response_dto.dart';
|
|
|
|
part 'model/file_report_dto.dart';
|
|
|
|
part 'model/file_report_fix_dto.dart';
|
|
|
|
part 'model/file_report_item_dto.dart';
|
2024-08-29 21:29:04 +02:00
|
|
|
part 'model/folders_response.dart';
|
|
|
|
part 'model/folders_update.dart';
|
2024-04-02 06:56:56 +02:00
|
|
|
part 'model/image_format.dart';
|
2022-10-06 18:25:54 +02:00
|
|
|
part 'model/job_command.dart';
|
|
|
|
part 'model/job_command_dto.dart';
|
2023-03-20 16:55:28 +01:00
|
|
|
part 'model/job_counts_dto.dart';
|
2024-09-16 22:49:12 +02:00
|
|
|
part 'model/job_create_dto.dart';
|
2023-03-20 16:55:28 +01:00
|
|
|
part 'model/job_name.dart';
|
2023-06-01 12:32:51 +02:00
|
|
|
part 'model/job_settings_dto.dart';
|
2023-04-01 22:46:07 +02:00
|
|
|
part 'model/job_status_dto.dart';
|
2023-09-20 13:16:33 +02:00
|
|
|
part 'model/library_response_dto.dart';
|
|
|
|
part 'model/library_stats_response_dto.dart';
|
2024-07-01 19:43:16 +02:00
|
|
|
part 'model/license_key_dto.dart';
|
|
|
|
part 'model/license_response_dto.dart';
|
2023-12-14 17:55:40 +01:00
|
|
|
part 'model/log_level.dart';
|
2022-07-13 14:23:48 +02:00
|
|
|
part 'model/login_credential_dto.dart';
|
|
|
|
part 'model/login_response_dto.dart';
|
2022-07-19 20:49:58 +02:00
|
|
|
part 'model/logout_response_dto.dart';
|
2024-09-16 22:49:12 +02:00
|
|
|
part 'model/manual_job_name.dart';
|
2023-05-06 03:33:30 +02:00
|
|
|
part 'model/map_marker_response_dto.dart';
|
2024-07-30 00:17:26 +02:00
|
|
|
part 'model/map_reverse_geocode_response_dto.dart';
|
2024-08-29 21:29:04 +02:00
|
|
|
part 'model/memories_response.dart';
|
|
|
|
part 'model/memories_update.dart';
|
2024-04-02 16:23:17 +02:00
|
|
|
part 'model/memory_create_dto.dart';
|
2023-06-15 03:47:18 +02:00
|
|
|
part 'model/memory_lane_response_dto.dart';
|
2024-04-02 16:23:17 +02:00
|
|
|
part 'model/memory_response_dto.dart';
|
|
|
|
part 'model/memory_type.dart';
|
|
|
|
part 'model/memory_update_dto.dart';
|
2023-07-11 23:52:41 +02:00
|
|
|
part 'model/merge_person_dto.dart';
|
2024-02-17 18:00:55 +01:00
|
|
|
part 'model/metadata_search_dto.dart';
|
2023-09-01 13:08:42 +02:00
|
|
|
part 'model/o_auth_authorize_response_dto.dart';
|
2022-11-15 03:24:25 +01:00
|
|
|
part 'model/o_auth_callback_dto.dart';
|
|
|
|
part 'model/o_auth_config_dto.dart';
|
2024-04-02 21:21:58 +02:00
|
|
|
part 'model/on_this_day_dto.dart';
|
2024-07-08 22:41:39 +02:00
|
|
|
part 'model/partner_direction.dart';
|
2023-11-11 22:06:19 +01:00
|
|
|
part 'model/partner_response_dto.dart';
|
2023-10-14 19:12:59 +02:00
|
|
|
part 'model/path_entity_type.dart';
|
|
|
|
part 'model/path_type.dart';
|
2024-08-29 21:29:04 +02:00
|
|
|
part 'model/people_response.dart';
|
2023-07-18 20:09:43 +02:00
|
|
|
part 'model/people_response_dto.dart';
|
2024-08-29 21:29:04 +02:00
|
|
|
part 'model/people_update.dart';
|
2023-07-23 05:00:43 +02:00
|
|
|
part 'model/people_update_dto.dart';
|
|
|
|
part 'model/people_update_item.dart';
|
2024-08-16 15:48:43 +02:00
|
|
|
part 'model/permission.dart';
|
2024-03-07 21:34:57 +01:00
|
|
|
part 'model/person_create_dto.dart';
|
2023-05-17 19:07:17 +02:00
|
|
|
part 'model/person_response_dto.dart';
|
2023-10-24 17:53:49 +02:00
|
|
|
part 'model/person_statistics_response_dto.dart';
|
2023-05-17 19:07:17 +02:00
|
|
|
part 'model/person_update_dto.dart';
|
2023-12-05 16:43:15 +01:00
|
|
|
part 'model/person_with_faces_response_dto.dart';
|
2024-02-24 01:42:37 +01:00
|
|
|
part 'model/places_response_dto.dart';
|
2024-07-26 17:34:35 +02:00
|
|
|
part 'model/purchase_response.dart';
|
|
|
|
part 'model/purchase_update.dart';
|
2023-04-01 22:46:07 +02:00
|
|
|
part 'model/queue_status_dto.dart';
|
2024-09-23 18:09:26 +02:00
|
|
|
part 'model/random_search_dto.dart';
|
2024-08-29 21:29:04 +02:00
|
|
|
part 'model/ratings_response.dart';
|
|
|
|
part 'model/ratings_update.dart';
|
2023-11-10 03:32:31 +01:00
|
|
|
part 'model/reaction_level.dart';
|
2023-11-01 04:13:34 +01:00
|
|
|
part 'model/reaction_type.dart';
|
2024-04-20 02:36:15 +02:00
|
|
|
part 'model/reverse_geocoding_state_response_dto.dart';
|
2023-03-03 03:47:08 +01:00
|
|
|
part 'model/search_album_response_dto.dart';
|
|
|
|
part 'model/search_asset_response_dto.dart';
|
2023-03-05 21:44:31 +01:00
|
|
|
part 'model/search_explore_item.dart';
|
|
|
|
part 'model/search_explore_response_dto.dart';
|
2023-03-03 03:47:08 +01:00
|
|
|
part 'model/search_facet_count_response_dto.dart';
|
|
|
|
part 'model/search_facet_response_dto.dart';
|
|
|
|
part 'model/search_response_dto.dart';
|
2024-02-13 20:54:58 +01:00
|
|
|
part 'model/search_suggestion_type.dart';
|
2024-06-26 14:25:09 +02:00
|
|
|
part 'model/server_about_response_dto.dart';
|
2023-09-09 04:51:46 +02:00
|
|
|
part 'model/server_config_dto.dart';
|
2023-08-18 06:55:26 +02:00
|
|
|
part 'model/server_features_dto.dart';
|
2023-07-16 03:24:46 +02:00
|
|
|
part 'model/server_media_types_response_dto.dart';
|
2022-07-13 14:23:48 +02:00
|
|
|
part 'model/server_ping_response.dart';
|
2022-10-23 23:54:54 +02:00
|
|
|
part 'model/server_stats_response_dto.dart';
|
2024-05-22 11:25:55 +02:00
|
|
|
part 'model/server_storage_response_dto.dart';
|
2023-10-26 00:13:05 +02:00
|
|
|
part 'model/server_theme_dto.dart';
|
2024-10-01 19:33:58 +02:00
|
|
|
part 'model/server_version_history_response_dto.dart';
|
2023-08-18 06:55:26 +02:00
|
|
|
part 'model/server_version_response_dto.dart';
|
2024-04-19 12:47:29 +02:00
|
|
|
part 'model/session_response_dto.dart';
|
2023-06-21 03:08:43 +02:00
|
|
|
part 'model/shared_link_create_dto.dart';
|
|
|
|
part 'model/shared_link_edit_dto.dart';
|
2023-01-09 21:16:08 +01:00
|
|
|
part 'model/shared_link_response_dto.dart';
|
|
|
|
part 'model/shared_link_type.dart';
|
2022-07-13 14:23:48 +02:00
|
|
|
part 'model/sign_up_dto.dart';
|
2024-02-17 18:00:55 +01:00
|
|
|
part 'model/smart_search_dto.dart';
|
2024-09-05 00:23:58 +02:00
|
|
|
part 'model/source_type.dart';
|
2024-08-19 19:37:15 +02:00
|
|
|
part 'model/stack_create_dto.dart';
|
|
|
|
part 'model/stack_response_dto.dart';
|
|
|
|
part 'model/stack_update_dto.dart';
|
2024-10-31 12:29:42 +01:00
|
|
|
part 'model/system_config_backups_dto.dart';
|
2022-12-09 21:51:42 +01:00
|
|
|
part 'model/system_config_dto.dart';
|
|
|
|
part 'model/system_config_f_fmpeg_dto.dart';
|
2024-09-05 00:23:58 +02:00
|
|
|
part 'model/system_config_faces_dto.dart';
|
2024-09-28 08:01:04 +02:00
|
|
|
part 'model/system_config_generated_image_dto.dart';
|
2024-04-02 06:56:56 +02:00
|
|
|
part 'model/system_config_image_dto.dart';
|
2023-06-01 12:32:51 +02:00
|
|
|
part 'model/system_config_job_dto.dart';
|
2023-10-31 21:19:12 +01:00
|
|
|
part 'model/system_config_library_dto.dart';
|
|
|
|
part 'model/system_config_library_scan_dto.dart';
|
2024-01-31 09:15:54 +01:00
|
|
|
part 'model/system_config_library_watch_dto.dart';
|
2023-12-14 17:55:40 +01:00
|
|
|
part 'model/system_config_logging_dto.dart';
|
2023-08-25 06:15:03 +02:00
|
|
|
part 'model/system_config_machine_learning_dto.dart';
|
2023-09-09 04:51:46 +02:00
|
|
|
part 'model/system_config_map_dto.dart';
|
2024-09-05 00:23:58 +02:00
|
|
|
part 'model/system_config_metadata_dto.dart';
|
2023-10-24 17:05:42 +02:00
|
|
|
part 'model/system_config_new_version_check_dto.dart';
|
2024-05-02 16:43:18 +02:00
|
|
|
part 'model/system_config_notifications_dto.dart';
|
2022-12-09 21:51:42 +01:00
|
|
|
part 'model/system_config_o_auth_dto.dart';
|
2023-01-09 22:32:58 +01:00
|
|
|
part 'model/system_config_password_login_dto.dart';
|
2023-09-26 09:03:57 +02:00
|
|
|
part 'model/system_config_reverse_geocoding_dto.dart';
|
2024-01-04 03:54:48 +01:00
|
|
|
part 'model/system_config_server_dto.dart';
|
2024-05-02 16:43:18 +02:00
|
|
|
part 'model/system_config_smtp_dto.dart';
|
|
|
|
part 'model/system_config_smtp_transport_dto.dart';
|
2022-12-16 21:26:12 +01:00
|
|
|
part 'model/system_config_storage_template_dto.dart';
|
|
|
|
part 'model/system_config_template_storage_option_dto.dart';
|
2023-10-23 20:38:41 +02:00
|
|
|
part 'model/system_config_theme_dto.dart';
|
2023-10-06 09:01:14 +02:00
|
|
|
part 'model/system_config_trash_dto.dart';
|
2024-03-06 06:45:40 +01:00
|
|
|
part 'model/system_config_user_dto.dart';
|
2024-08-29 18:14:03 +02:00
|
|
|
part 'model/tag_bulk_assets_dto.dart';
|
|
|
|
part 'model/tag_bulk_assets_response_dto.dart';
|
|
|
|
part 'model/tag_create_dto.dart';
|
2022-12-05 18:56:44 +01:00
|
|
|
part 'model/tag_response_dto.dart';
|
2024-08-29 18:14:03 +02:00
|
|
|
part 'model/tag_update_dto.dart';
|
|
|
|
part 'model/tag_upsert_dto.dart';
|
2024-08-29 21:29:04 +02:00
|
|
|
part 'model/tags_response.dart';
|
|
|
|
part 'model/tags_update.dart';
|
2024-09-25 18:05:03 +02:00
|
|
|
part 'model/test_email_response_dto.dart';
|
2023-08-04 23:07:15 +02:00
|
|
|
part 'model/time_bucket_response_dto.dart';
|
|
|
|
part 'model/time_bucket_size.dart';
|
2023-08-07 22:35:25 +02:00
|
|
|
part 'model/tone_mapping.dart';
|
2023-08-02 03:56:10 +02:00
|
|
|
part 'model/transcode_hw_accel.dart';
|
2023-07-09 04:43:11 +02:00
|
|
|
part 'model/transcode_policy.dart';
|
2024-09-18 15:57:52 +02:00
|
|
|
part 'model/trash_response_dto.dart';
|
2022-07-13 14:23:48 +02:00
|
|
|
part 'model/update_album_dto.dart';
|
2024-04-25 06:19:49 +02:00
|
|
|
part 'model/update_album_user_dto.dart';
|
2022-11-08 17:20:36 +01:00
|
|
|
part 'model/update_asset_dto.dart';
|
2023-09-20 13:16:33 +02:00
|
|
|
part 'model/update_library_dto.dart';
|
2023-11-11 22:06:19 +01:00
|
|
|
part 'model/update_partner_dto.dart';
|
2022-10-23 23:54:54 +02:00
|
|
|
part 'model/usage_by_user_dto.dart';
|
2024-05-27 00:15:52 +02:00
|
|
|
part 'model/user_admin_create_dto.dart';
|
|
|
|
part 'model/user_admin_delete_dto.dart';
|
|
|
|
part 'model/user_admin_response_dto.dart';
|
|
|
|
part 'model/user_admin_update_dto.dart';
|
2023-11-14 04:10:35 +01:00
|
|
|
part 'model/user_avatar_color.dart';
|
2024-07-01 19:43:16 +02:00
|
|
|
part 'model/user_license.dart';
|
2024-05-28 04:16:53 +02:00
|
|
|
part 'model/user_preferences_response_dto.dart';
|
|
|
|
part 'model/user_preferences_update_dto.dart';
|
2022-07-13 14:23:48 +02:00
|
|
|
part 'model/user_response_dto.dart';
|
2024-03-08 23:49:39 +01:00
|
|
|
part 'model/user_status.dart';
|
2024-05-27 00:15:52 +02:00
|
|
|
part 'model/user_update_me_dto.dart';
|
2022-07-13 14:23:48 +02:00
|
|
|
part 'model/validate_access_token_response_dto.dart';
|
2024-02-20 16:53:12 +01:00
|
|
|
part 'model/validate_library_dto.dart';
|
|
|
|
part 'model/validate_library_import_path_response_dto.dart';
|
|
|
|
part 'model/validate_library_response_dto.dart';
|
2023-07-09 04:43:11 +02:00
|
|
|
part 'model/video_codec.dart';
|
2024-07-21 23:14:23 +02:00
|
|
|
part 'model/video_container.dart';
|
2022-07-13 14:23:48 +02:00
|
|
|
|
|
|
|
|
2024-01-26 17:40:28 +01:00
|
|
|
/// An [ApiClient] instance that uses the default values obtained from
|
|
|
|
/// the OpenAPI specification file.
|
|
|
|
var defaultApiClient = ApiClient();
|
|
|
|
|
2022-07-13 14:23:48 +02:00
|
|
|
const _delimiters = {'csv': ',', 'ssv': ' ', 'tsv': '\t', 'pipes': '|'};
|
|
|
|
const _dateEpochMarker = 'epoch';
|
2024-01-26 17:40:28 +01:00
|
|
|
const _deepEquality = DeepCollectionEquality();
|
2022-07-13 14:23:48 +02:00
|
|
|
final _dateFormatter = DateFormat('yyyy-MM-dd');
|
|
|
|
final _regList = RegExp(r'^List<(.*)>$');
|
|
|
|
final _regSet = RegExp(r'^Set<(.*)>$');
|
|
|
|
final _regMap = RegExp(r'^Map<String,(.*)>$');
|
|
|
|
|
2024-01-26 17:40:28 +01:00
|
|
|
bool _isEpochMarker(String? pattern) => pattern == _dateEpochMarker || pattern == '/$_dateEpochMarker/';
|