2022-07-13 14:23:48 +02:00
|
|
|
//
|
|
|
|
// AUTO-GENERATED FILE, DO NOT MODIFY!
|
|
|
|
//
|
|
|
|
// @dart=2.12
|
|
|
|
|
|
|
|
// 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';
|
|
|
|
|
|
|
|
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';
|
|
|
|
|
|
|
|
part 'api/album_api.dart';
|
|
|
|
part 'api/asset_api.dart';
|
|
|
|
part 'api/authentication_api.dart';
|
|
|
|
part 'api/device_info_api.dart';
|
2022-10-06 18:25:54 +02:00
|
|
|
part 'api/job_api.dart';
|
2022-11-15 04:24:25 +02:00
|
|
|
part 'api/o_auth_api.dart';
|
2022-07-13 14:23:48 +02:00
|
|
|
part 'api/server_info_api.dart';
|
2022-11-15 06:39:32 +02:00
|
|
|
part 'api/system_config_api.dart';
|
2022-12-05 19:56:44 +02:00
|
|
|
part 'api/tag_api.dart';
|
2022-07-13 14:23:48 +02:00
|
|
|
part 'api/user_api.dart';
|
|
|
|
|
|
|
|
part 'model/add_assets_dto.dart';
|
2022-10-28 21:54:09 +02:00
|
|
|
part 'model/add_assets_response_dto.dart';
|
2022-07-13 14:23:48 +02:00
|
|
|
part 'model/add_users_dto.dart';
|
|
|
|
part 'model/admin_signup_response_dto.dart';
|
2022-09-07 22:16:18 +02:00
|
|
|
part 'model/album_count_response_dto.dart';
|
2022-07-13 14:23:48 +02:00
|
|
|
part 'model/album_response_dto.dart';
|
2022-10-06 18:25:54 +02:00
|
|
|
part 'model/all_job_status_response_dto.dart';
|
2022-09-04 15:34:39 +02:00
|
|
|
part 'model/asset_count_by_time_bucket.dart';
|
|
|
|
part 'model/asset_count_by_time_bucket_response_dto.dart';
|
2022-09-07 22:16:18 +02:00
|
|
|
part 'model/asset_count_by_user_id_response_dto.dart';
|
2022-07-13 14:23:48 +02:00
|
|
|
part 'model/asset_file_upload_response_dto.dart';
|
|
|
|
part 'model/asset_response_dto.dart';
|
|
|
|
part 'model/asset_type_enum.dart';
|
|
|
|
part 'model/check_duplicate_asset_dto.dart';
|
|
|
|
part 'model/check_duplicate_asset_response_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';
|
2022-07-13 14:23:48 +02:00
|
|
|
part 'model/create_album_dto.dart';
|
|
|
|
part 'model/create_profile_image_response_dto.dart';
|
2022-12-05 19:56:44 +02:00
|
|
|
part 'model/create_tag_dto.dart';
|
2022-07-13 14:23:48 +02:00
|
|
|
part 'model/create_user_dto.dart';
|
|
|
|
part 'model/curated_locations_response_dto.dart';
|
|
|
|
part 'model/curated_objects_response_dto.dart';
|
|
|
|
part 'model/delete_asset_dto.dart';
|
|
|
|
part 'model/delete_asset_response_dto.dart';
|
|
|
|
part 'model/delete_asset_status.dart';
|
|
|
|
part 'model/device_info_response_dto.dart';
|
|
|
|
part 'model/device_type_enum.dart';
|
|
|
|
part 'model/exif_response_dto.dart';
|
2022-09-04 15:34:39 +02:00
|
|
|
part 'model/get_asset_by_time_bucket_dto.dart';
|
|
|
|
part 'model/get_asset_count_by_time_bucket_dto.dart';
|
2022-10-06 18:25:54 +02:00
|
|
|
part 'model/job_command.dart';
|
|
|
|
part 'model/job_command_dto.dart';
|
|
|
|
part 'model/job_counts.dart';
|
|
|
|
part 'model/job_id.dart';
|
|
|
|
part 'model/job_status_response_dto.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';
|
2022-11-15 04:24:25 +02:00
|
|
|
part 'model/o_auth_callback_dto.dart';
|
|
|
|
part 'model/o_auth_config_dto.dart';
|
|
|
|
part 'model/o_auth_config_response_dto.dart';
|
2022-07-13 14:23:48 +02:00
|
|
|
part 'model/remove_assets_dto.dart';
|
|
|
|
part 'model/search_asset_dto.dart';
|
|
|
|
part 'model/server_info_response_dto.dart';
|
|
|
|
part 'model/server_ping_response.dart';
|
2022-10-23 23:54:54 +02:00
|
|
|
part 'model/server_stats_response_dto.dart';
|
2022-07-13 14:23:48 +02:00
|
|
|
part 'model/server_version_reponse_dto.dart';
|
|
|
|
part 'model/sign_up_dto.dart';
|
|
|
|
part 'model/smart_info_response_dto.dart';
|
2022-12-09 22:51:42 +02:00
|
|
|
part 'model/system_config_dto.dart';
|
|
|
|
part 'model/system_config_f_fmpeg_dto.dart';
|
|
|
|
part 'model/system_config_o_auth_dto.dart';
|
2022-12-16 22:26:12 +02:00
|
|
|
part 'model/system_config_storage_template_dto.dart';
|
|
|
|
part 'model/system_config_template_storage_option_dto.dart';
|
2022-12-05 19:56:44 +02:00
|
|
|
part 'model/tag_response_dto.dart';
|
|
|
|
part 'model/tag_type_enum.dart';
|
2022-07-16 06:18:17 +02:00
|
|
|
part 'model/thumbnail_format.dart';
|
2022-08-27 07:53:37 +02:00
|
|
|
part 'model/time_group_enum.dart';
|
2022-07-13 14:23:48 +02:00
|
|
|
part 'model/update_album_dto.dart';
|
2022-11-08 18:20:36 +02:00
|
|
|
part 'model/update_asset_dto.dart';
|
2022-12-05 19:56:44 +02:00
|
|
|
part 'model/update_tag_dto.dart';
|
2022-07-13 14:23:48 +02:00
|
|
|
part 'model/update_user_dto.dart';
|
2022-12-08 17:57:07 +02:00
|
|
|
part 'model/upsert_device_info_dto.dart';
|
2022-10-23 23:54:54 +02:00
|
|
|
part 'model/usage_by_user_dto.dart';
|
2022-07-13 14:23:48 +02:00
|
|
|
part 'model/user_count_response_dto.dart';
|
|
|
|
part 'model/user_response_dto.dart';
|
|
|
|
part 'model/validate_access_token_response_dto.dart';
|
|
|
|
|
|
|
|
|
|
|
|
const _delimiters = {'csv': ',', 'ssv': ' ', 'tsv': '\t', 'pipes': '|'};
|
|
|
|
const _dateEpochMarker = 'epoch';
|
|
|
|
final _dateFormatter = DateFormat('yyyy-MM-dd');
|
|
|
|
final _regList = RegExp(r'^List<(.*)>$');
|
|
|
|
final _regSet = RegExp(r'^Set<(.*)>$');
|
|
|
|
final _regMap = RegExp(r'^Map<String,(.*)>$');
|
|
|
|
|
|
|
|
ApiClient defaultApiClient = ApiClient();
|