2022-07-13 07:23:48 -05:00
|
|
|
//
|
|
|
|
// AUTO-GENERATED FILE, DO NOT MODIFY!
|
|
|
|
//
|
2024-05-15 17:52:52 -04:00
|
|
|
// @dart=2.18
|
2022-07-13 07:23:48 -05: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 11:40:28 -05:00
|
|
|
import 'package:collection/collection.dart';
|
2023-02-12 04:37:48 +01:00
|
|
|
import 'package:flutter/foundation.dart';
|
2024-08-13 14:39:25 -05:00
|
|
|
import 'package:immich_mobile/utils/openapi_patching.dart';
|
2022-07-13 07:23:48 -05: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 07:23:48 -05:00
|
|
|
part 'api/authentication_api.dart';
|
2024-06-28 17:08:19 +01:00
|
|
|
part 'api/deprecated_api.dart';
|
2024-01-26 09:19:13 -05: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 11:34:09 -05:00
|
|
|
part 'api/notifications_api.dart';
|
2022-11-14 21:24:25 -05: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-02 21:47:08 -05:00
|
|
|
part 'api/search_api.dart';
|
2024-07-01 18:43:16 +01:00
|
|
|
part 'api/server_api.dart';
|
2024-04-19 06:47:29 -04:00
|
|
|
part 'api/sessions_api.dart';
|
2024-05-30 00:26:57 +02:00
|
|
|
part 'api/shared_links_api.dart';
|
2024-08-19 13:37:15 -04:00
|
|
|
part 'api/stacks_api.dart';
|
2024-04-16 07:26:37 +02:00
|
|
|
part 'api/sync_api.dart';
|
2022-11-14 23:39:32 -05:00
|
|
|
part 'api/system_config_api.dart';
|
2024-04-19 20:36:15 -04: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 11:48:37 -05: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 19:49:37 +01:00
|
|
|
part 'api/view_api.dart';
|
2022-07-13 07:23:48 -05:00
|
|
|
|
2023-01-02 15:22:33 -05: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 07:23:48 -05:00
|
|
|
part 'model/add_users_dto.dart';
|
2024-04-19 20:36:15 -04:00
|
|
|
part 'model/admin_onboarding_update_dto.dart';
|
2022-07-13 07:23:48 -05:00
|
|
|
part 'model/album_response_dto.dart';
|
2024-08-20 07:50:36 -04: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 16:38:09 -04: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 11:25:54 -05:00
|
|
|
part 'model/all_job_status_response_dto.dart';
|
2023-10-06 07:01:14 +00:00
|
|
|
part 'model/asset_bulk_delete_dto.dart';
|
2023-08-16 16:04:55 -04: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-05-31 21:51:28 -04:00
|
|
|
part 'model/asset_ids_dto.dart';
|
|
|
|
part 'model/asset_ids_response_dto.dart';
|
2023-08-18 10:31:48 -04:00
|
|
|
part 'model/asset_job_name.dart';
|
|
|
|
part 'model/asset_jobs_dto.dart';
|
2024-05-23 20:26:22 -04:00
|
|
|
part 'model/asset_media_response_dto.dart';
|
2024-05-31 13:44:04 -04:00
|
|
|
part 'model/asset_media_size.dart';
|
2024-05-23 20:26:22 -04:00
|
|
|
part 'model/asset_media_status.dart';
|
2023-11-14 17:47:15 -05:00
|
|
|
part 'model/asset_order.dart';
|
2022-07-13 07:23:48 -05:00
|
|
|
part 'model/asset_response_dto.dart';
|
2024-08-19 13:37:15 -04:00
|
|
|
part 'model/asset_stack_response_dto.dart';
|
2023-07-14 09:30:17 -04:00
|
|
|
part 'model/asset_stats_response_dto.dart';
|
2022-07-13 07:23:48 -05:00
|
|
|
part 'model/asset_type_enum.dart';
|
2023-07-08 22:43:11 -04:00
|
|
|
part 'model/audio_codec.dart';
|
2023-08-24 21:28:50 +02:00
|
|
|
part 'model/audit_deletes_response_dto.dart';
|
2024-05-27 22:16:53 -04:00
|
|
|
part 'model/avatar_response.dart';
|
|
|
|
part 'model/avatar_update.dart';
|
2023-07-11 16:52:41 -05:00
|
|
|
part 'model/bulk_id_response_dto.dart';
|
2023-08-01 21:29:14 -04:00
|
|
|
part 'model/bulk_ids_dto.dart';
|
2023-08-29 09:58:00 -04:00
|
|
|
part 'model/clip_config.dart';
|
2023-09-02 21:22:42 -04:00
|
|
|
part 'model/cq_mode.dart';
|
2022-12-21 09:43:35 -05:00
|
|
|
part 'model/change_password_dto.dart';
|
2022-10-25 09:51:03 -05:00
|
|
|
part 'model/check_existing_assets_dto.dart';
|
|
|
|
part 'model/check_existing_assets_response_dto.dart';
|
2023-09-03 02:21:51 -04:00
|
|
|
part 'model/colorspace.dart';
|
2022-07-13 07:23:48 -05:00
|
|
|
part 'model/create_album_dto.dart';
|
2023-09-20 13:16:33 +02:00
|
|
|
part 'model/create_library_dto.dart';
|
2022-07-13 07:23:48 -05:00
|
|
|
part 'model/create_profile_image_response_dto.dart';
|
2024-10-31 11:29:42 +00:00
|
|
|
part 'model/database_backup_config.dart';
|
2023-06-30 12:24:28 -04:00
|
|
|
part 'model/download_archive_info.dart';
|
2023-08-15 11:49:32 -04:00
|
|
|
part 'model/download_info_dto.dart';
|
2024-06-14 17:27:12 +02:00
|
|
|
part 'model/download_response.dart';
|
2023-06-30 12:24:28 -04:00
|
|
|
part 'model/download_response_dto.dart';
|
2024-06-14 17:27:12 +02:00
|
|
|
part 'model/download_update.dart';
|
2024-05-16 13:08:37 -04:00
|
|
|
part 'model/duplicate_detection_config.dart';
|
2024-05-18 13:50:28 -05:00
|
|
|
part 'model/duplicate_response_dto.dart';
|
2024-06-03 16:00:20 -05: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 07:23:48 -05:00
|
|
|
part 'model/exif_response_dto.dart';
|
2023-12-05 16:43:15 +01:00
|
|
|
part 'model/face_dto.dart';
|
2024-06-06 23:09:47 -04:00
|
|
|
part 'model/facial_recognition_config.dart';
|
2023-10-14 13:12:59 -04: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 14:29:04 -05:00
|
|
|
part 'model/folders_response.dart';
|
|
|
|
part 'model/folders_update.dart';
|
2024-04-02 00:56:56 -04:00
|
|
|
part 'model/image_format.dart';
|
2022-10-06 11:25:54 -05:00
|
|
|
part 'model/job_command.dart';
|
|
|
|
part 'model/job_command_dto.dart';
|
2023-03-20 11:55:28 -04:00
|
|
|
part 'model/job_counts_dto.dart';
|
2024-09-16 16:49:12 -04:00
|
|
|
part 'model/job_create_dto.dart';
|
2023-03-20 11:55:28 -04:00
|
|
|
part 'model/job_name.dart';
|
2023-06-01 06:32:51 -04: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 18:43:16 +01:00
|
|
|
part 'model/license_key_dto.dart';
|
|
|
|
part 'model/license_response_dto.dart';
|
2023-12-14 11:55:40 -05:00
|
|
|
part 'model/log_level.dart';
|
2022-07-13 07:23:48 -05: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 16:49:12 -04:00
|
|
|
part 'model/manual_job_name.dart';
|
2023-05-06 03:33:30 +02:00
|
|
|
part 'model/map_marker_response_dto.dart';
|
2024-07-29 18:17:26 -04:00
|
|
|
part 'model/map_reverse_geocode_response_dto.dart';
|
2024-08-29 14:29:04 -05:00
|
|
|
part 'model/memories_response.dart';
|
|
|
|
part 'model/memories_update.dart';
|
2024-04-02 10:23:17 -04:00
|
|
|
part 'model/memory_create_dto.dart';
|
2023-06-14 20:47:18 -05:00
|
|
|
part 'model/memory_lane_response_dto.dart';
|
2024-04-02 10:23:17 -04:00
|
|
|
part 'model/memory_response_dto.dart';
|
|
|
|
part 'model/memory_type.dart';
|
|
|
|
part 'model/memory_update_dto.dart';
|
2023-07-11 16:52:41 -05:00
|
|
|
part 'model/merge_person_dto.dart';
|
2024-02-17 11:00:55 -06:00
|
|
|
part 'model/metadata_search_dto.dart';
|
2023-09-01 07:08:42 -04:00
|
|
|
part 'model/o_auth_authorize_response_dto.dart';
|
2022-11-14 21:24:25 -05:00
|
|
|
part 'model/o_auth_callback_dto.dart';
|
|
|
|
part 'model/o_auth_config_dto.dart';
|
2024-04-02 14:21:58 -05:00
|
|
|
part 'model/on_this_day_dto.dart';
|
2024-07-08 16:41:39 -04:00
|
|
|
part 'model/partner_direction.dart';
|
2023-11-11 15:06:19 -06:00
|
|
|
part 'model/partner_response_dto.dart';
|
2023-10-14 13:12:59 -04:00
|
|
|
part 'model/path_entity_type.dart';
|
|
|
|
part 'model/path_type.dart';
|
2024-08-29 14:29:04 -05:00
|
|
|
part 'model/people_response.dart';
|
2023-07-18 20:09:43 +02:00
|
|
|
part 'model/people_response_dto.dart';
|
2024-08-29 14:29:04 -05: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 09:48:43 -04:00
|
|
|
part 'model/permission.dart';
|
2024-03-07 15:34:57 -05:00
|
|
|
part 'model/person_create_dto.dart';
|
2023-05-17 13:07:17 -04: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 13:07:17 -04: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 10:34:35 -05: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 12:09:26 -04:00
|
|
|
part 'model/random_search_dto.dart';
|
2024-08-29 14:29:04 -05: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-19 20:36:15 -04:00
|
|
|
part 'model/reverse_geocoding_state_response_dto.dart';
|
2023-03-02 21:47:08 -05:00
|
|
|
part 'model/search_album_response_dto.dart';
|
|
|
|
part 'model/search_asset_response_dto.dart';
|
2023-03-05 15:44:31 -05:00
|
|
|
part 'model/search_explore_item.dart';
|
|
|
|
part 'model/search_explore_response_dto.dart';
|
2023-03-02 21:47:08 -05: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 13:54:58 -06:00
|
|
|
part 'model/search_suggestion_type.dart';
|
2024-06-26 08:25:09 -04:00
|
|
|
part 'model/server_about_response_dto.dart';
|
2023-09-08 22:51:46 -04:00
|
|
|
part 'model/server_config_dto.dart';
|
2023-08-18 00:55:26 -04:00
|
|
|
part 'model/server_features_dto.dart';
|
2023-07-15 20:24:46 -05:00
|
|
|
part 'model/server_media_types_response_dto.dart';
|
2022-07-13 07:23:48 -05:00
|
|
|
part 'model/server_ping_response.dart';
|
2022-10-23 16:54:54 -05:00
|
|
|
part 'model/server_stats_response_dto.dart';
|
2024-05-22 10:25:55 +01:00
|
|
|
part 'model/server_storage_response_dto.dart';
|
2023-10-25 15:13:05 -07:00
|
|
|
part 'model/server_theme_dto.dart';
|
2024-10-01 13:33:58 -04:00
|
|
|
part 'model/server_version_history_response_dto.dart';
|
2023-08-18 00:55:26 -04:00
|
|
|
part 'model/server_version_response_dto.dart';
|
2024-04-19 06:47:29 -04:00
|
|
|
part 'model/session_response_dto.dart';
|
2023-06-20 21:08:43 -04:00
|
|
|
part 'model/shared_link_create_dto.dart';
|
|
|
|
part 'model/shared_link_edit_dto.dart';
|
2023-01-09 14:16:08 -06:00
|
|
|
part 'model/shared_link_response_dto.dart';
|
|
|
|
part 'model/shared_link_type.dart';
|
2022-07-13 07:23:48 -05:00
|
|
|
part 'model/sign_up_dto.dart';
|
2024-02-17 11:00:55 -06:00
|
|
|
part 'model/smart_search_dto.dart';
|
2024-09-05 00:23:58 +02:00
|
|
|
part 'model/source_type.dart';
|
2024-08-19 13:37:15 -04:00
|
|
|
part 'model/stack_create_dto.dart';
|
|
|
|
part 'model/stack_response_dto.dart';
|
|
|
|
part 'model/stack_update_dto.dart';
|
2024-10-31 11:29:42 +00:00
|
|
|
part 'model/system_config_backups_dto.dart';
|
2022-12-09 15:51:42 -05: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 02:01:04 -04:00
|
|
|
part 'model/system_config_generated_image_dto.dart';
|
2024-04-02 00:56:56 -04:00
|
|
|
part 'model/system_config_image_dto.dart';
|
2023-06-01 06:32:51 -04: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 11:55:40 -05:00
|
|
|
part 'model/system_config_logging_dto.dart';
|
2023-08-25 00:15:03 -04:00
|
|
|
part 'model/system_config_machine_learning_dto.dart';
|
2023-09-08 22:51:46 -04: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 15:51:42 -05:00
|
|
|
part 'model/system_config_o_auth_dto.dart';
|
2023-01-09 16:32:58 -05: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-03 21:54:48 -05: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 14:26:12 -06:00
|
|
|
part 'model/system_config_storage_template_dto.dart';
|
2024-12-04 21:26:02 +01:00
|
|
|
part 'model/system_config_template_emails_dto.dart';
|
2022-12-16 14:26:12 -06:00
|
|
|
part 'model/system_config_template_storage_option_dto.dart';
|
2024-12-04 21:26:02 +01:00
|
|
|
part 'model/system_config_templates_dto.dart';
|
2023-10-23 11:38:41 -07:00
|
|
|
part 'model/system_config_theme_dto.dart';
|
2023-10-06 07:01:14 +00:00
|
|
|
part 'model/system_config_trash_dto.dart';
|
2024-03-06 00:45:40 -05:00
|
|
|
part 'model/system_config_user_dto.dart';
|
2024-08-29 12:14:03 -04: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 11:56:44 -06:00
|
|
|
part 'model/tag_response_dto.dart';
|
2024-08-29 12:14:03 -04:00
|
|
|
part 'model/tag_update_dto.dart';
|
|
|
|
part 'model/tag_upsert_dto.dart';
|
2024-08-29 14:29:04 -05:00
|
|
|
part 'model/tags_response.dart';
|
|
|
|
part 'model/tags_update.dart';
|
2024-12-04 21:26:02 +01:00
|
|
|
part 'model/template_dto.dart';
|
|
|
|
part 'model/template_response_dto.dart';
|
2024-09-25 12:05:03 -04:00
|
|
|
part 'model/test_email_response_dto.dart';
|
2023-08-04 17:07:15 -04:00
|
|
|
part 'model/time_bucket_response_dto.dart';
|
|
|
|
part 'model/time_bucket_size.dart';
|
2023-08-07 16:35:25 -04:00
|
|
|
part 'model/tone_mapping.dart';
|
2023-08-01 21:56:10 -04:00
|
|
|
part 'model/transcode_hw_accel.dart';
|
2023-07-08 22:43:11 -04:00
|
|
|
part 'model/transcode_policy.dart';
|
2024-09-18 09:57:52 -04:00
|
|
|
part 'model/trash_response_dto.dart';
|
2022-07-13 07:23:48 -05: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 11:20:36 -05:00
|
|
|
part 'model/update_asset_dto.dart';
|
2023-09-20 13:16:33 +02:00
|
|
|
part 'model/update_library_dto.dart';
|
2023-11-11 15:06:19 -06:00
|
|
|
part 'model/update_partner_dto.dart';
|
2022-10-23 16:54:54 -05:00
|
|
|
part 'model/usage_by_user_dto.dart';
|
2024-05-26 18:15:52 -04: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 18:43:16 +01:00
|
|
|
part 'model/user_license.dart';
|
2024-05-27 22:16:53 -04:00
|
|
|
part 'model/user_preferences_response_dto.dart';
|
|
|
|
part 'model/user_preferences_update_dto.dart';
|
2022-07-13 07:23:48 -05:00
|
|
|
part 'model/user_response_dto.dart';
|
2024-03-08 17:49:39 -05:00
|
|
|
part 'model/user_status.dart';
|
2024-05-26 18:15:52 -04:00
|
|
|
part 'model/user_update_me_dto.dart';
|
2022-07-13 07:23:48 -05: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-08 22:43:11 -04:00
|
|
|
part 'model/video_codec.dart';
|
2024-07-21 17:14:23 -04:00
|
|
|
part 'model/video_container.dart';
|
2022-07-13 07:23:48 -05:00
|
|
|
|
|
|
|
|
2024-01-26 11:40:28 -05:00
|
|
|
/// An [ApiClient] instance that uses the default values obtained from
|
|
|
|
/// the OpenAPI specification file.
|
|
|
|
var defaultApiClient = ApiClient();
|
|
|
|
|
2022-07-13 07:23:48 -05:00
|
|
|
const _delimiters = {'csv': ',', 'ssv': ' ', 'tsv': '\t', 'pipes': '|'};
|
|
|
|
const _dateEpochMarker = 'epoch';
|
2024-01-26 11:40:28 -05:00
|
|
|
const _deepEquality = DeepCollectionEquality();
|
2022-07-13 07:23:48 -05: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 11:40:28 -05:00
|
|
|
bool _isEpochMarker(String? pattern) => pattern == _dateEpochMarker || pattern == '/$_dateEpochMarker/';
|