From 2e392436705a84e002c73dcfe9b0cb07f4a08d54 Mon Sep 17 00:00:00 2001 From: Jason Rasmussen Date: Fri, 26 Jan 2024 11:40:28 -0500 Subject: [PATCH] deps: open-api generator (#6655) * deps: open-api generator * fix: unused sed/replace --- cli/package-lock.json | 30 +- cli/package.json | 2 +- mobile/openapi/.openapi-generator/VERSION | 2 +- mobile/openapi/README.md | Bin 24535 -> 24582 bytes mobile/openapi/lib/api.dart | Bin 7932 -> 8232 bytes mobile/openapi/lib/api/activity_api.dart | Bin 7587 -> 7602 bytes mobile/openapi/lib/api/album_api.dart | Bin 17181 -> 17226 bytes mobile/openapi/lib/api/api_key_api.dart | Bin 7861 -> 7876 bytes mobile/openapi/lib/api/asset_api.dart | Bin 68854 -> 69019 bytes mobile/openapi/lib/api/audit_api.dart | Bin 6821 -> 6836 bytes .../openapi/lib/api/authentication_api.dart | Bin 11586 -> 11601 bytes mobile/openapi/lib/api/face_api.dart | Bin 3749 -> 3764 bytes mobile/openapi/lib/api/library_api.dart | Bin 11875 -> 11890 bytes mobile/openapi/lib/api/partner_api.dart | Bin 6493 -> 6508 bytes mobile/openapi/lib/api/person_api.dart | Bin 17005 -> 17065 bytes mobile/openapi/lib/api/search_api.dart | Bin 6561 -> 6591 bytes mobile/openapi/lib/api/shared_link_api.dart | Bin 14251 -> 14296 bytes mobile/openapi/lib/api/tag_api.dart | Bin 12972 -> 13032 bytes mobile/openapi/lib/api/user_api.dart | Bin 15536 -> 15551 bytes mobile/openapi/lib/api_client.dart | Bin 22939 -> 23409 bytes mobile/openapi/lib/api_helper.dart | Bin 5830 -> 5826 bytes .../lib/model/activity_create_dto.dart | Bin 4361 -> 4357 bytes .../lib/model/activity_response_dto.dart | Bin 6838 -> 6832 bytes .../activity_statistics_response_dto.dart | Bin 3042 -> 3041 bytes mobile/openapi/lib/model/add_users_dto.dart | Bin 2860 -> 2911 bytes .../lib/model/album_count_response_dto.dart | Bin 3334 -> 3331 bytes .../openapi/lib/model/album_response_dto.dart | Bin 8920 -> 8948 bytes .../model/all_job_status_response_dto.dart | Bin 6505 -> 6493 bytes .../openapi/lib/model/api_key_create_dto.dart | Bin 3174 -> 3173 bytes .../model/api_key_create_response_dto.dart | Bin 3155 -> 3153 bytes .../lib/model/api_key_response_dto.dart | Bin 3522 -> 3520 bytes .../openapi/lib/model/api_key_update_dto.dart | Bin 2748 -> 2747 bytes .../lib/model/asset_bulk_delete_dto.dart | Bin 3492 -> 3542 bytes .../lib/model/asset_bulk_update_dto.dart | Bin 8035 -> 7948 bytes .../model/asset_bulk_upload_check_dto.dart | Bin 2956 -> 2975 bytes .../model/asset_bulk_upload_check_item.dart | Bin 3172 -> 3170 bytes .../asset_bulk_upload_check_response_dto.dart | Bin 3116 -> 3135 bytes .../model/asset_bulk_upload_check_result.dart | Bin 10077 -> 10071 bytes .../lib/model/asset_face_response_dto.dart | Bin 4909 -> 4901 bytes .../lib/model/asset_face_update_dto.dart | Bin 2832 -> 2851 bytes .../lib/model/asset_face_update_item.dart | Bin 3104 -> 3102 bytes ...sset_face_without_person_response_dto.dart | Bin 4800 -> 4793 bytes .../model/asset_file_upload_response_dto.dart | Bin 3178 -> 3176 bytes mobile/openapi/lib/model/asset_ids_dto.dart | Bin 2795 -> 2846 bytes .../lib/model/asset_ids_response_dto.dart | Bin 6320 -> 6316 bytes mobile/openapi/lib/model/asset_job_name.dart | Bin 2873 -> 2872 bytes mobile/openapi/lib/model/asset_jobs_dto.dart | Bin 3018 -> 3068 bytes mobile/openapi/lib/model/asset_order.dart | Bin 2529 -> 2528 bytes .../openapi/lib/model/asset_response_dto.dart | Bin 12893 -> 12925 bytes .../lib/model/asset_stats_response_dto.dart | Bin 3298 -> 3295 bytes mobile/openapi/lib/model/asset_type_enum.dart | Bin 2840 -> 2839 bytes mobile/openapi/lib/model/audio_codec.dart | Bin 2640 -> 2639 bytes .../lib/model/audit_deletes_response_dto.dart | Bin 3250 -> 3300 bytes .../lib/model/auth_device_response_dto.dart | Bin 4104 -> 4098 bytes .../lib/model/bulk_id_response_dto.dart | Bin 6316 -> 6312 bytes mobile/openapi/lib/model/bulk_ids_dto.dart | Bin 2712 -> 2763 bytes .../lib/model/change_password_dto.dart | Bin 3116 -> 3114 bytes .../lib/model/check_existing_assets_dto.dart | Bin 3319 -> 3369 bytes .../check_existing_assets_response_dto.dart | Bin 3176 -> 3227 bytes mobile/openapi/lib/model/clip_config.dart | Bin 4268 -> 4264 bytes mobile/openapi/lib/model/clip_mode.dart | Bin 2496 -> 2495 bytes mobile/openapi/lib/model/colorspace.dart | Bin 2524 -> 2523 bytes mobile/openapi/lib/model/cq_mode.dart | Bin 2521 -> 2520 bytes .../openapi/lib/model/create_album_dto.dart | Bin 4228 -> 4328 bytes .../openapi/lib/model/create_library_dto.dart | Bin 4837 -> 4936 bytes .../create_profile_image_response_dto.dart | Bin 3368 -> 3366 bytes mobile/openapi/lib/model/create_tag_dto.dart | Bin 2897 -> 2895 bytes mobile/openapi/lib/model/create_user_dto.dart | Bin 5165 -> 5158 bytes .../model/curated_locations_response_dto.dart | Bin 3968 -> 3963 bytes .../model/curated_objects_response_dto.dart | Bin 3956 -> 3951 bytes .../lib/model/download_archive_info.dart | Bin 3133 -> 3183 bytes .../openapi/lib/model/download_info_dto.dart | Bin 4891 -> 4939 bytes .../lib/model/download_response_dto.dart | Bin 3152 -> 3170 bytes mobile/openapi/lib/model/entity_type.dart | Bin 2544 -> 2543 bytes .../openapi/lib/model/exif_response_dto.dart | Bin 10374 -> 10313 bytes mobile/openapi/lib/model/face_dto.dart | Bin 2580 -> 2579 bytes .../openapi/lib/model/file_checksum_dto.dart | Bin 2880 -> 2931 bytes .../lib/model/file_checksum_response_dto.dart | Bin 3188 -> 3186 bytes mobile/openapi/lib/model/file_report_dto.dart | Bin 3067 -> 3137 bytes .../lib/model/file_report_fix_dto.dart | Bin 2804 -> 2823 bytes .../lib/model/file_report_item_dto.dart | Bin 4300 -> 4295 bytes mobile/openapi/lib/model/job_command.dart | Bin 2899 -> 2898 bytes mobile/openapi/lib/model/job_command_dto.dart | Bin 2957 -> 2955 bytes mobile/openapi/lib/model/job_counts_dto.dart | Bin 3862 -> 3856 bytes mobile/openapi/lib/model/job_name.dart | Bin 3975 -> 3974 bytes .../openapi/lib/model/job_settings_dto.dart | Bin 2808 -> 2807 bytes mobile/openapi/lib/model/job_status_dto.dart | Bin 3052 -> 3050 bytes .../lib/model/library_response_dto.dart | Bin 5464 -> 5561 bytes .../lib/model/library_stats_response_dto.dart | Bin 3520 -> 3516 bytes mobile/openapi/lib/model/library_type.dart | Bin 2588 -> 2587 bytes mobile/openapi/lib/model/log_level.dart | Bin 2899 -> 2898 bytes .../lib/model/login_credential_dto.dart | Bin 3062 -> 3060 bytes .../openapi/lib/model/login_response_dto.dart | Bin 4498 -> 4491 bytes .../lib/model/logout_response_dto.dart | Bin 3136 -> 3134 bytes .../lib/model/map_marker_response_dto.dart | Bin 3210 -> 3207 bytes mobile/openapi/lib/model/map_theme.dart | Bin 2491 -> 2490 bytes .../lib/model/memory_lane_response_dto.dart | Bin 3116 -> 3134 bytes .../openapi/lib/model/merge_person_dto.dart | Bin 2784 -> 2835 bytes mobile/openapi/lib/model/model_type.dart | Bin 2577 -> 2576 bytes .../model/o_auth_authorize_response_dto.dart | Bin 2916 -> 2915 bytes .../lib/model/o_auth_callback_dto.dart | Bin 2754 -> 2753 bytes .../openapi/lib/model/o_auth_config_dto.dart | Bin 2814 -> 2813 bytes .../lib/model/o_auth_config_response_dto.dart | Bin 5322 -> 5317 bytes .../lib/model/partner_response_dto.dart | Bin 8919 -> 8905 bytes .../openapi/lib/model/path_entity_type.dart | Bin 2754 -> 2753 bytes mobile/openapi/lib/model/path_type.dart | Bin 3157 -> 3156 bytes .../lib/model/people_response_dto.dart | Bin 3270 -> 3287 bytes .../openapi/lib/model/people_update_dto.dart | Bin 2796 -> 2815 bytes .../openapi/lib/model/people_update_item.dart | Bin 5451 -> 5447 bytes .../lib/model/person_response_dto.dart | Bin 3912 -> 3908 bytes .../model/person_statistics_response_dto.dart | Bin 2982 -> 2981 bytes .../openapi/lib/model/person_update_dto.dart | Bin 5240 -> 5237 bytes .../model/person_with_faces_response_dto.dart | Bin 4344 -> 4359 bytes .../openapi/lib/model/queue_status_dto.dart | Bin 3018 -> 3016 bytes mobile/openapi/lib/model/reaction_level.dart | Bin 2616 -> 2615 bytes mobile/openapi/lib/model/reaction_type.dart | Bin 2597 -> 2596 bytes .../openapi/lib/model/recognition_config.dart | Bin 4545 -> 4539 bytes .../openapi/lib/model/scan_library_dto.dart | Bin 3688 -> 3686 bytes .../lib/model/search_album_response_dto.dart | Bin 3582 -> 3618 bytes .../lib/model/search_asset_response_dto.dart | Bin 3582 -> 3618 bytes .../lib/model/search_explore_item.dart | Bin 3009 -> 3007 bytes .../model/search_explore_response_dto.dart | Bin 3208 -> 3226 bytes .../search_facet_count_response_dto.dart | Bin 3182 -> 3180 bytes .../lib/model/search_facet_response_dto.dart | Bin 3204 -> 3222 bytes .../lib/model/search_response_dto.dart | Bin 3082 -> 3080 bytes .../openapi/lib/model/server_config_dto.dart | Bin 4382 -> 4376 bytes .../lib/model/server_features_dto.dart | Bin 5496 -> 5485 bytes .../lib/model/server_info_response_dto.dart | Bin 4710 -> 4703 bytes .../server_media_types_response_dto.dart | Bin 3630 -> 3783 bytes .../lib/model/server_ping_response.dart | Bin 2790 -> 2789 bytes .../lib/model/server_stats_response_dto.dart | Bin 3605 -> 3621 bytes .../openapi/lib/model/server_theme_dto.dart | Bin 2790 -> 2789 bytes .../model/server_version_response_dto.dart | Bin 3337 -> 3334 bytes .../lib/model/shared_link_create_dto.dart | Bin 6408 -> 6452 bytes .../lib/model/shared_link_edit_dto.dart | Bin 7543 -> 7537 bytes .../lib/model/shared_link_response_dto.dart | Bin 6958 -> 6966 bytes .../openapi/lib/model/shared_link_type.dart | Bin 2665 -> 2664 bytes mobile/openapi/lib/model/sign_up_dto.dart | Bin 3100 -> 3097 bytes .../lib/model/smart_info_response_dto.dart | Bin 3391 -> 3493 bytes .../openapi/lib/model/system_config_dto.dart | Bin 6822 -> 6807 bytes .../lib/model/system_config_f_fmpeg_dto.dart | Bin 6886 -> 6869 bytes .../lib/model/system_config_job_dto.dart | Bin 5649 -> 5639 bytes .../lib/model/system_config_library_dto.dart | Bin 2907 -> 2906 bytes .../model/system_config_library_scan_dto.dart | Bin 3298 -> 3296 bytes .../lib/model/system_config_logging_dto.dart | Bin 3115 -> 3113 bytes .../system_config_machine_learning_dto.dart | Bin 3810 -> 3806 bytes .../lib/model/system_config_map_dto.dart | Bin 3366 -> 3363 bytes .../system_config_new_version_check_dto.dart | Bin 3050 -> 3049 bytes .../lib/model/system_config_o_auth_dto.dart | Bin 5830 -> 5819 bytes .../system_config_password_login_dto.dart | Bin 3014 -> 3013 bytes .../system_config_reverse_geocoding_dto.dart | Bin 3068 -> 3067 bytes .../lib/model/system_config_server_dto.dart | Bin 3320 -> 3318 bytes .../system_config_storage_template_dto.dart | Bin 3722 -> 3719 bytes ...em_config_template_storage_option_dto.dart | Bin 5868 -> 6276 bytes .../lib/model/system_config_theme_dto.dart | Bin 2898 -> 2897 bytes .../model/system_config_thumbnail_dto.dart | Bin 3697 -> 3693 bytes .../lib/model/system_config_trash_dto.dart | Bin 3064 -> 3062 bytes .../openapi/lib/model/tag_response_dto.dart | Bin 3333 -> 3329 bytes mobile/openapi/lib/model/tag_type_enum.dart | Bin 2681 -> 2680 bytes .../openapi/lib/model/thumbnail_format.dart | Bin 2654 -> 2653 bytes .../lib/model/time_bucket_response_dto.dart | Bin 3134 -> 3132 bytes .../openapi/lib/model/time_bucket_size.dart | Bin 2630 -> 2629 bytes mobile/openapi/lib/model/tone_mapping.dart | Bin 2819 -> 2818 bytes .../openapi/lib/model/transcode_hw_accel.dart | Bin 3047 -> 3046 bytes .../openapi/lib/model/transcode_policy.dart | Bin 2929 -> 2928 bytes .../openapi/lib/model/update_album_dto.dart | Bin 5618 -> 5614 bytes .../openapi/lib/model/update_asset_dto.dart | Bin 6947 -> 6810 bytes .../openapi/lib/model/update_library_dto.dart | Bin 4634 -> 4734 bytes .../openapi/lib/model/update_partner_dto.dart | Bin 2834 -> 2833 bytes .../lib/model/update_stack_parent_dto.dart | Bin 3206 -> 3204 bytes mobile/openapi/lib/model/update_tag_dto.dart | Bin 3120 -> 3119 bytes mobile/openapi/lib/model/update_user_dto.dart | Bin 9572 -> 9561 bytes .../openapi/lib/model/usage_by_user_dto.dart | Bin 4116 -> 4110 bytes .../openapi/lib/model/user_avatar_color.dart | Bin 3592 -> 3591 bytes mobile/openapi/lib/model/user_dto.dart | Bin 3631 -> 3626 bytes .../openapi/lib/model/user_response_dto.dart | Bin 8159 -> 8146 bytes .../validate_access_token_response_dto.dart | Bin 3086 -> 3085 bytes mobile/openapi/lib/model/video_codec.dart | Bin 2630 -> 2629 bytes mobile/openapi/pubspec.yaml | 1 + open-api/bin/generate-open-api.sh | 5 +- open-api/openapitools.json | 2 +- open-api/patch/api.dart.patch | 4 +- open-api/patch/api_client.dart.patch | 18 +- .../native/native_class.mustache | 20 +- .../client/.openapi-generator/VERSION | 2 +- open-api/typescript-sdk/client/api.ts | 1721 ++++++++++------- open-api/typescript-sdk/client/base.ts | 20 +- open-api/typescript-sdk/client/common.ts | 2 +- .../typescript-sdk/client/configuration.ts | 9 + open-api/typescript-sdk/package-lock.json | 24 +- open-api/typescript-sdk/package.json | 6 +- web/package-lock.json | 26 +- web/package.json | 2 +- web/src/lib/utils/asset-utils.ts | 2 +- web/src/lib/utils/file-uploader.ts | 3 +- 195 files changed, 1126 insertions(+), 775 deletions(-) diff --git a/cli/package-lock.json b/cli/package-lock.json index 5bcdf92165..bbc45e68e3 100644 --- a/cli/package-lock.json +++ b/cli/package-lock.json @@ -10,7 +10,7 @@ "license": "MIT", "dependencies": { "@immich/sdk": "file:../open-api/typescript-sdk", - "axios": "^1.6.2", + "axios": "^1.6.7", "byte-size": "^8.1.1", "cli-progress": "^3.12.0", "commander": "^11.0.0", @@ -51,7 +51,7 @@ "version": "1.92.1", "license": "MIT", "dependencies": { - "axios": "^0.27.2" + "axios": "^1.6.7" }, "devDependencies": { "@types/node": "^20.11.0", @@ -2577,9 +2577,9 @@ "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==" }, "node_modules/axios": { - "version": "1.6.5", - "resolved": "https://registry.npmjs.org/axios/-/axios-1.6.5.tgz", - "integrity": "sha512-Ii012v05KEVuUoFWmMW/UQv9aRIc3ZwkWDcM+h5Il8izZCtRVpDUfwpoFf7eOtajT3QiGR4yDUx7lPqHJULgbg==", + "version": "1.6.7", + "resolved": "https://registry.npmjs.org/axios/-/axios-1.6.7.tgz", + "integrity": "sha512-/hDJGff6/c7u0hDkvkGxR/oy6CbCs8ziCsC7SqmhjfozqiJGc8Z11wrv9z9lYfY4K8l+H9TpjcMDX0xOZmx+RA==", "dependencies": { "follow-redirects": "^1.15.4", "form-data": "^4.0.0", @@ -3962,9 +3962,9 @@ "dev": true }, "node_modules/follow-redirects": { - "version": "1.15.4", - "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.4.tgz", - "integrity": "sha512-Cr4D/5wlrb0z9dgERpUL3LrmPKVDsETIJhaCMeDfuFYcqa5bldGV6wBsAN6X/vxlXQtFBMrXdXxdL8CbDTGniw==", + "version": "1.15.5", + "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.5.tgz", + "integrity": "sha512-vSFWUON1B+yAw1VN4xMfxgn5fTUiaOzAJCKBwIIgT/+7CuGy9+r+5gITvP62j3RmaD5Ph65UaERdOSRGUzZtgw==", "funding": [ { "type": "individual", @@ -8072,7 +8072,7 @@ "version": "file:../open-api/typescript-sdk", "requires": { "@types/node": "^20.11.0", - "axios": "^0.27.2", + "axios": "^1.6.7", "typescript": "^5.3.3" } }, @@ -9295,9 +9295,9 @@ "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==" }, "axios": { - "version": "1.6.5", - "resolved": "https://registry.npmjs.org/axios/-/axios-1.6.5.tgz", - "integrity": "sha512-Ii012v05KEVuUoFWmMW/UQv9aRIc3ZwkWDcM+h5Il8izZCtRVpDUfwpoFf7eOtajT3QiGR4yDUx7lPqHJULgbg==", + "version": "1.6.7", + "resolved": "https://registry.npmjs.org/axios/-/axios-1.6.7.tgz", + "integrity": "sha512-/hDJGff6/c7u0hDkvkGxR/oy6CbCs8ziCsC7SqmhjfozqiJGc8Z11wrv9z9lYfY4K8l+H9TpjcMDX0xOZmx+RA==", "requires": { "follow-redirects": "^1.15.4", "form-data": "^4.0.0", @@ -10293,9 +10293,9 @@ "dev": true }, "follow-redirects": { - "version": "1.15.4", - "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.4.tgz", - "integrity": "sha512-Cr4D/5wlrb0z9dgERpUL3LrmPKVDsETIJhaCMeDfuFYcqa5bldGV6wBsAN6X/vxlXQtFBMrXdXxdL8CbDTGniw==" + "version": "1.15.5", + "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.5.tgz", + "integrity": "sha512-vSFWUON1B+yAw1VN4xMfxgn5fTUiaOzAJCKBwIIgT/+7CuGy9+r+5gITvP62j3RmaD5Ph65UaERdOSRGUzZtgw==" }, "foreground-child": { "version": "3.1.1", diff --git a/cli/package.json b/cli/package.json index 2ff936cf4c..5dfba6d758 100644 --- a/cli/package.json +++ b/cli/package.json @@ -13,7 +13,7 @@ ], "dependencies": { "@immich/sdk": "file:../open-api/typescript-sdk", - "axios": "^1.6.2", + "axios": "^1.6.7", "byte-size": "^8.1.1", "cli-progress": "^3.12.0", "commander": "^11.0.0", diff --git a/mobile/openapi/.openapi-generator/VERSION b/mobile/openapi/.openapi-generator/VERSION index 4be2c727ad..4b49d9bb63 100644 --- a/mobile/openapi/.openapi-generator/VERSION +++ b/mobile/openapi/.openapi-generator/VERSION @@ -1 +1 @@ -6.5.0 \ No newline at end of file +7.2.0 \ No newline at end of file diff --git a/mobile/openapi/README.md b/mobile/openapi/README.md index 8f66455ded56654fe10f502ed000aef60e20ebf0..f4b53eca3688c4445e1eb3a1d3b9111d653cd969 100644 GIT binary patch delta 67 zcmcby1Uh9nCYqTo^_RC;QX!nV8Zt_cW14>6Z;DFkoj z5nN;jnGoFls{i@#|7M@lFQ1%iXAEg!XVssq-;>_nC-dHiQVMblkGbcWVY2cBY@?vn z1hPSaDpG6|K|v)}MqrDkYF=(7$d(EygL_Hanl^Oj$>#Sr5It!wSz`-@k_}DLErzb- zNUMJaXZ5~sCfYSrSQbQn@mir_d4mk*%{e=c?~Kv7?hn3s<(z>f$Ax!#bBp1b!stN) j+x0bg6ro_pkX>~evaIPxp_4r9cBl4GUHng|;bnRN6%}=u delta 34 qcmZ4C@W*yT0psSmj4m>h3+1vW^T==JbS%hp&dE&8E1B#srw9P;0SuJ@ diff --git a/mobile/openapi/lib/api/activity_api.dart b/mobile/openapi/lib/api/activity_api.dart index 250f8f9b21671a299ccf2d7603e329645f52ba9a..5d42af87b9fc2f4dd8e39304b88187a6a4073a2a 100644 GIT binary patch delta 28 jcmZ2%y~%omj2M4PjDbG delta 36 rcmX@r#yGc)aYH8OWPSsS%^Nra)Hd@Q*s=q8-ji=z@NM2=K8+gy@l_1U diff --git a/mobile/openapi/lib/api/api_key_api.dart b/mobile/openapi/lib/api/api_key_api.dart index de3bec0ca7c42f8d5f949453ba0bfddd2236e0d7..29e50a886559a939e99729ecdfa2ba6e5ff4a866 100644 GIT binary patch delta 28 jcmdmLd&G9ba&i9jqWtp2q?}YMg|x(+;?&K{#rfC)sM`v! delta 20 ccmX?NyVZ8Xa&cx&Yp%(^*iART6Tij=09REAFaQ7m diff --git a/mobile/openapi/lib/api/asset_api.dart b/mobile/openapi/lib/api/asset_api.dart index fbcc837f1d66d8fe7d6de38cfb8773e97c217a7c..fba8ac7a49b0cf4845d4cb2b1f0444c49ec08d15 100644 GIT binary patch delta 296 zcmex1lV$d7mJMHw`O}N?%M+7wQmquy5_5`EC+GXAZI&{5!-iEt$J$vKU1D>-pRgFZ zAkY}+%|}yKvSN|2nB1_QXR@Ct=jPp68iH69IB!;~d5+Bi&YJ_8-LXnc)}G0|`DrIJ eKUU+kXZrDBkpMen^WNnzOtDBhZ+>x?Pagp5`EfV^ delta 104 zcmbO|o8{X~mJMHwC-ZlyZPqk-!v+JdoB3Dhn1RK6@A2sa0GB!`Jpcdz diff --git a/mobile/openapi/lib/api/audit_api.dart b/mobile/openapi/lib/api/audit_api.dart index d78246c31b1dada68b1a2e1f38af403c3338c025..871c8e1905b1c3e07ecc39875f812a365d9d4beb 100644 GIT binary patch delta 33 ocmZ2#y2W%ui@*JM3D8Kzn;0MXV8z5oCK delta 18 ZcmdmDy3}+-ixjh_HP>W4J{hK3E&w_$1or>{ diff --git a/mobile/openapi/lib/api/authentication_api.dart b/mobile/openapi/lib/api/authentication_api.dart index 7c6dac1470752dc7894e74b5a0702f5f337d768b..d1f04d600ed8c91ce309aa15e3afe2ff0f6cee14 100644 GIT binary patch delta 35 qcmX>Ubuntg3tpl0qWtp2q?}YMg|x(+;#5s*uE~w+4x6?4#N`1AgABp| delta 20 ccmcZ@btr1X3tnbTYp%%?)Ezck@rla=09qUe82|tP diff --git a/mobile/openapi/lib/api/face_api.dart b/mobile/openapi/lib/api/face_api.dart index bce6814071e045fd1ba927e1a8297e021b456e5f..6ea96760abcad98bb0a254326cf2e4336dea9707 100644 GIT binary patch delta 28 kcmZ1~yG3@xJ$C-|qWtp2q?}YMg|x(+;?&Le*pIUT0Hmo4RR910 delta 12 UcmdlYyHs|=J@(CS*^jdU042%=od5s; diff --git a/mobile/openapi/lib/api/library_api.dart b/mobile/openapi/lib/api/library_api.dart index a5273dbb0bb00307fc3cea9e3495deac2e863a51..23de593eac9f85839b44fbb3437ce531e02364e0 100644 GIT binary patch delta 28 kcmaDH^C@P-K0*HUqWtp2q?}YMg|x(+;?&Li1eeMH0K4@J7XSbN delta 12 Ucmewq^EhV1KEcgr1((VI04~-BUjP6A diff --git a/mobile/openapi/lib/api/partner_api.dart b/mobile/openapi/lib/api/partner_api.dart index 886b37a5be5058d1058687ca1573612996a0e82f..e798c5172ef615050d8d8e10edae93e7cdd9740e 100644 GIT binary patch delta 35 qcmca>^u}m|3ZGDVQGR)1QckLsLRw-@ajK>@*W`Y7)6Fq_jNAb4M+?sY delta 20 bcmaE3bk}Hu3LmqkHP_^RcGJz-e2m-xOlk%f diff --git a/mobile/openapi/lib/api/person_api.dart b/mobile/openapi/lib/api/person_api.dart index b603df6d3b7b14e7df2c9784344eaa81fbcfb678..02dae625bb91d2bbeb95233b660863dfb5e5e7c1 100644 GIT binary patch delta 101 zcmaFc!nm@Pal=GO{`8{!^2DT^R4awF#GK;P%@ZXT3Zn~7PPF#eT%~Kkjzz+G^IMY= MHgt*2iPk*q0Hcp3Qvd(} delta 53 zcmZ44%J{a0al=H(%?l(K3U3b3tze%VpzFL@%Cv+H$ncn4!<#gDjT-Odczd(S3lz9E JPq7hY0{|@k6GQ+2 diff --git a/mobile/openapi/lib/api/search_api.dart b/mobile/openapi/lib/api/search_api.dart index 2efae6838a1e030c4e2fbbd4c856edc059ea7199..d3ce301508063fb968af9492b3bce771c34b19b3 100644 GIT binary patch delta 56 vcmZ2zyx(|37(0J@QGR)1QckLsLRw-@aq8p-N%_e-LMoeQvOgEZBB=-fOI{Q@ delta 24 fcmdmQywG?<82jXTlJb+Sg;X}LV1F(M;Ov%A7B6g delta 50 ucmcbSzdC=z3{GZEYp%)mDyEz7bK3I2IFmaB1U46o2}r>NHlH%!V+R1Boes_b diff --git a/mobile/openapi/lib/api/tag_api.dart b/mobile/openapi/lib/api/tag_api.dart index e420792ca4ebcdcb3699d85e6262b3abd4bb7305..c9b75a7672a01b750d29546e302457f889463db2 100644 GIT binary patch delta 107 zcmZ3J`XY6MgCKu;QGR)1QckLsLRw-@aq4CV!Du#g!O0GSuA3i-AK}3wVKMnWyTIl* PD$lU#ve?X}vxp4wj2qWtp2q?}YMg|x(+;?&Lmu^wg3N5L*xE5TH3FnaK(%m3fJ|KpN&E4Vb`WD{%uxoy}R|nN}Py$;tNve;{*= zHj4(cF(Qj7Y<3TkW@ZNZXLDA#8lz+u(33F#<)#)FC#I+Bfy6X7%ZAr7O27=(fQF2M L0z|{)tr5=vg~xie delta 219 zcmeykjdAv7#tpo}ELp|*d6Vr$^d~zCdqFr8gjazXo9#s`7$rgSTnb=dr4XNzTAW&x znV6GVl{&dsRFU5$H90>eRU=DNM**a8^M27tM(N^`#FETpg_O#?#9SbaqNz{Za`OrC tOe-D~QOlqoC<2=;gDn_QMJhwAnKxTUS};l@>(qccO#y7Z%jE8;X8`8pO;7*; diff --git a/mobile/openapi/lib/api_helper.dart b/mobile/openapi/lib/api_helper.dart index bab5b9c6fae466e0137f500597c274d52cb4b60b..c01b24703c83e6bb186b666966571454e35c316c 100644 GIT binary patch delta 35 rcmX@6dq{V~eo^uG%wpGq{NxPZ#G>rfB8`H?l9JS-Jk80sMBe}a1xgOb delta 39 vcmX@4drWu3eo^Uy#FCQKqC5p#TZQQveg!8$pdRdI4T5Km`S+`OIDj~f7Fg$K9* diff --git a/mobile/openapi/lib/model/activity_response_dto.dart b/mobile/openapi/lib/model/activity_response_dto.dart index 0f4cbd481367a5df7d8a58430d20ab088bffe6cc..83e7884f7aabb04bdd7a88358684549f8f55212a 100644 GIT binary patch delta 77 zcmdmHy1{gVAoFA)W`)VdKpeuXB9vc}ky@menWA88s{ka`)VL=1Fw1RT&AgnIv1oG; f=TlBrg`CXdlF9eEMJLB|xlT3^;@CW2SezXIiW3)5 delta 52 zcmdmBy3KThAoFAaX2r<{KpeoVI=O^dd~z4F^yVeZD_A%Caz5o`w4dz26+d}`AjjsJ H!s6@ztH=-C diff --git a/mobile/openapi/lib/model/activity_statistics_response_dto.dart b/mobile/openapi/lib/model/activity_statistics_response_dto.dart index 1b6af12291da93ab9ebb96da526594de9a8b6f8d..2bb4e1d5bf021d8b37b46b0449c52388e3de6953 100644 GIT binary patch delta 12 TcmaDP{!n~FFw^D`ran#pBLxJP delta 12 TcmaDT{z!a7Fw^EBrhZNUBK-uG diff --git a/mobile/openapi/lib/model/add_users_dto.dart b/mobile/openapi/lib/model/add_users_dto.dart index f680bc995d029495112270315b85d1b9b375b47b..9ce47afc6abcfd55d6f377c3beb13beaa2ffe0e6 100644 GIT binary patch delta 121 zcmZ1@c3*6R0+VQbN@{9>Yhh_(PG(7^UMh%DtT9=UNmxKfp*SP4C^aRtIJL+#rC4*b zE7LwE4$qR*qQs<})XD6uTKX`Kre1PlafwZENl|8Ax}AomUP-=BW^su|dQpBkNU@bd N8qnC(%`U7jSON4KDiZ(z delta 74 zcmcaFwnl7&0+YBxeo01ZkzR2|Vo_>JXmM(hXG*bxt?lHMjPjc^nbtC~_+%EBOqOHS c5(Y6e^^y~dOKgHmiZb)k?KC!*v%X*j0KJA8Z~y=R diff --git a/mobile/openapi/lib/model/album_count_response_dto.dart b/mobile/openapi/lib/model/album_count_response_dto.dart index 7227cbf55af57e7227c9c87cdd3277e2c2dd9308..62121c1f3521bd4b30c0da84a080ea32b84e1d20 100644 GIT binary patch delta 20 bcmZpZYL?p2$~3u+NoDeCCYjAAnC!R!OY#QQ delta 20 bcmZpcYLnW~$~3u!NpO=tB^Pl`~GrkY*ynr$-`JQ`MpFXW6|ae YNd-nA)gh%1q$Y2dwg7V8OTT0T0En+pLjV8( delta 170 zcmez3dc$?YV$R8nI91sc@=G#OizcsQ6r22rQ*kmAm%0o@NH4LtIJKl$!PZs*%2HF~ zQkWdhr7^jVOLOuvF2%{mxO69f;u4?C!EHL(hTDB|6SwT-dEAPV_i@XsK@BO+NGwWC v2`x@70-J=)1sf;Iqp{hB=M>LmcFD@kjgktCn-@vxGfuuFZLyhK<|P{dSwT35 diff --git a/mobile/openapi/lib/model/all_job_status_response_dto.dart b/mobile/openapi/lib/model/all_job_status_response_dto.dart index bb5fccef306de9cb2ad7f4ee351dc835f87e172d..917bf9cb4b4ee0b633c3f710e9528580097ccd00 100644 GIT binary patch delta 56 zcmV-80LTC7GTkz;7zL9V1um0F1uT^wMa91nXpRR{hDYth$p6SxqM|WmTShoYj2tUsl!0ifrkV|;-V>bECjO;N&01?v}7XSbN diff --git a/mobile/openapi/lib/model/api_key_create_dto.dart b/mobile/openapi/lib/model/api_key_create_dto.dart index c8eec9bfc7e79f5be239ccce53e350920bb2f367..91cf836b502ed19663d07c094c70ab916d966e7a 100644 GIT binary patch delta 12 TcmaDR@l;|%HuL5j=3g8DC0PYN delta 12 TcmaDV@l0YvHuL5z=HDCuB~b-E diff --git a/mobile/openapi/lib/model/api_key_create_response_dto.dart b/mobile/openapi/lib/model/api_key_create_response_dto.dart index dae46f9b9ea3fd3bd0078e03a570faf79183c34f..d117d7a5e471d05b63e2bdffd992c09c92c492d8 100644 GIT binary patch delta 16 YcmcaCaZzGJA=Bg{Cb`WMnGSIR069keL#A{DyGS+nN%iUU=kC{FUd$P(#uQCO;xb9RRGg!YFwNDF@0cWESmg|Z6RaP J=6-f#HULgh6aoMM delta 33 rcmV++0N($=8^Rl~ssfX#0wt5p0vD6x0voga0__8n>jt5-jR!LZ^0p1j diff --git a/mobile/openapi/lib/model/api_key_update_dto.dart b/mobile/openapi/lib/model/api_key_update_dto.dart index c28cafaee4b952397bba78f41c4b0492046b7965..c7002482daba89d61080af02f3ce3f7dc149b8d1 100644 GIT binary patch delta 12 TcmdlZx?6OE7}I8PrllMJ9VY|h delta 12 Tcmdljx<_<_7}I7^rez!e9UlYY diff --git a/mobile/openapi/lib/model/asset_bulk_delete_dto.dart b/mobile/openapi/lib/model/asset_bulk_delete_dto.dart index d36456e97821e20f75e55083886b121d850329fb..7edb777dc936af117cced9ae1a1c7e71c3b97988 100644 GIT binary patch delta 143 zcmZ1?eNB49Qf7zzl8n?My|nzIW=gS+0+7&DP*dZY zY{IKGIi6Q-avQJGa oVo7F6X-cYkY^}Pc4wnKHza%5INH4LtIJKl$!PZs*!rENNq{s;XYhh_(PG(7^UMh%DtdU=mky@lzlv-SxQ&Oy>0A*-yp2#$t F699ml74ZN7 delta 38 ocmdllu|{G;1(T#geo01ZkzP@1acNFTv4X9w0+hLV3Day&01^NWDgXcg diff --git a/mobile/openapi/lib/model/asset_bulk_upload_check_result.dart b/mobile/openapi/lib/model/asset_bulk_upload_check_result.dart index 4c9bde6dbc1851b17a7ddcefe6d8f92501fb95f6..ac252baec322ce51672d89ad61a985c7586e3cd5 100644 GIT binary patch delta 42 ycmccXcinG;FUw><7P-l}EDDqRSj09jWs&2bY$=~M*+7VEvxx``_hw6Z6%GJAnhdT0 delta 63 zcmccach_%&FUw>f7Wv6pEQ%ru`6U^tMS7Vj3bwWiKvGSOOJVa|7A1a0`_21>OSl>B SC+`VtQ@Bsiv3JsP3 diff --git a/mobile/openapi/lib/model/asset_face_update_dto.dart b/mobile/openapi/lib/model/asset_face_update_dto.dart index 89a11b0ab9138c8518b4e34ab77e2d646313bc64..6c68dc761b86c2ccdfccbc3cb5c5128ea4e31fda 100644 GIT binary patch delta 51 zcmbOrwpeU~Ig?s^N@{9>Yhh_(PG(7^UMh%DtdU=mky@mel30?cqW~f`H+wN1;{X8R C*%Dy@ delta 32 lcmZ21HbHEIIg_wLeo01ZkzPt-Nuq+StpbSN9Lsc!0|2aN3Yq`_ diff --git a/mobile/openapi/lib/model/asset_face_update_item.dart b/mobile/openapi/lib/model/asset_face_update_item.dart index ca078683ae9890b727e8f41f4c7addf79f70c5a4..36bf94232cb466a80e0ea96abb5a6eccaaf9aac7 100644 GIT binary patch delta 16 XcmZ1=F;8Mc4AbOTCWXy)Op7=HF-HY$ delta 16 XcmbOyu|Q%&4AbOjCdJLwOp7@IF)syb diff --git a/mobile/openapi/lib/model/asset_face_without_person_response_dto.dart b/mobile/openapi/lib/model/asset_face_without_person_response_dto.dart index 8e1a9c66ad8364f9e30318d20702f73c95a89765..704938697889e2551eedfc9646a70d66ce10f429 100644 GIT binary patch delta 48 wcmX@0x>I$-Eau5ynFS}WVU`BdH^H01>%ojEIiqOMM^{=za%5ING~%*!PZs*NUEuEDNK%G(b?S2 HV#EgkQ5zC3 diff --git a/mobile/openapi/lib/model/asset_file_upload_response_dto.dart b/mobile/openapi/lib/model/asset_file_upload_response_dto.dart index ce43f8c15fab0d6b29be6bb859c2e44229d42b90..f75ec6addc65cfc23a79ea55446c738a8a5abb88 100644 GIT binary patch delta 16 YcmaDQ@j_xl9@FG}CY8-on67aG06ZZEa{vGU delta 16 YcmaDM@k(Mt9@FGpCe_UonXYpJ06Yl>Z~y=R diff --git a/mobile/openapi/lib/model/asset_ids_dto.dart b/mobile/openapi/lib/model/asset_ids_dto.dart index 68511fe4b1904648b9a2894824ffebc0dd91673a..1b4fceeaa8bf9e576aadf13fc948c5158035dc2f 100644 GIT binary patch delta 125 zcmaDYI!|na7?WOnN@{9>Yhh_(PG(7^UMh%DtdU=mky@meSX`W1;+aycqX1)RZZ>3^ z&BWnZl3J9Ql#@F70*k6XjH9WSoLF396I@c1nU`*-p{ZAr?~_?vqLE&dUk*}irH}?R LI(0J#>tj{`KrSsS delta 74 zcmbOy_F8m<7?ZR@eo01ZkzQhPacYTYO0j~itpbd_*@bB~6N^t~amnQ8EULmFhNfO} VVsVL0a7j^SUb>yeW^2~RtN_F18NdJl diff --git a/mobile/openapi/lib/model/asset_ids_response_dto.dart b/mobile/openapi/lib/model/asset_ids_response_dto.dart index 958c1bb9be003e70dc9c98e1bb5edc3b32a15ee0..81aef4acac06cda663c521a2e65740c2e1bb8469 100644 GIT binary patch delta 33 pcmdmBxW;h91g6OonG_~(Vv^Z>p6M&^l{zrU+2a{2JN@{9>Yhh_(PG(7^UMh%DtdU=mky@meSX`W1;+aycqX1)RDyXS( zZO&l&!NlQNl3J9Ql#@C+g;iA_#?jPEPAo352`(wh%uBb^(9|o*_sJ|S(MT`KF9#{M PQb+?DpSpPts~#Hw{d+DT delta 79 zcmew(eoB0U2a|$Aeo01ZkzQhPacYTYO0j~itpc2_rpBePxr*rr6N^t~amnN=R#jmT ZLsKs~vAD!0xTGjEFWpXK^Ep;MHULNW8q)v( diff --git a/mobile/openapi/lib/model/asset_order.dart b/mobile/openapi/lib/model/asset_order.dart index ddb68d381e888525961e3a12053935bc65549da7..9afa72aa27a6a1aecbd6f9c6a6d7e5996bf87bde 100644 GIT binary patch delta 12 TcmaDT{6Kg^7W3w8<}x+_BXR_y delta 14 VcmaDL{7`s97Bi#$<}BtiHUKL31mOSx diff --git a/mobile/openapi/lib/model/asset_response_dto.dart b/mobile/openapi/lib/model/asset_response_dto.dart index bb7330d3ec630c4ad7ff7e582629037c7903cdee..bbda5ba604387d800ef9916d2e7254fadb36941d 100644 GIT binary patch delta 300 zcmcbc@;7C}I-bevd6Xt!;?bG>A4n_lDou6;;tXD$$y0gtCLiI|5XvvfNG;OKOi{44 zRREG|YFv}}v?gowsZ9<7;z~Z1$@75pQ6T*ai23=ACOh%#OwI?=i}UyzfkqX3~bK{iZQ6HuA#Euf-J-qLyhT7q3y-Ff#Pnhv1rQ0*@Z+^Qd8qnn5-nAGTBu?RSK%8xFj(-8>9xp04td$pf!2FfUX2oNl9XQF-QfN n1}hK~)R=55D7`sckXv|ivWoNOijVHG>@h++9ic diff --git a/mobile/openapi/lib/model/asset_stats_response_dto.dart b/mobile/openapi/lib/model/asset_stats_response_dto.dart index d910917745d12eb3c2eaa27adadd5e717faac194..d3c5f71ff7918fc0d90d7e57b3ae6e15b031305d 100644 GIT binary patch delta 20 ccmaDPd0%ovJ=5d{Cb`M;nPfKaVN&A)09V)tNdN!< delta 20 ccmcaF`ABj@J=5emCi%&8m}EEaU{dD-09T|3LjV8( diff --git a/mobile/openapi/lib/model/asset_type_enum.dart b/mobile/openapi/lib/model/asset_type_enum.dart index 1f65a198a3604a01d000477270694521b48d318d..ec98d5ca831b206959a49d82c3e171caf14ab0bd 100644 GIT binary patch delta 12 TcmbOsHeGB32g_zo7JhaB7;XaY delta 14 VcmbO(HbZO!2MeS9W)2p9b^sn311$gm diff --git a/mobile/openapi/lib/model/audio_codec.dart b/mobile/openapi/lib/model/audio_codec.dart index 25c8332b0cc3d4510adb107605f97279ec3e79a9..bbc12f8dbcead6fdf659cb5caf430a270a01904d 100644 GIT binary patch delta 12 Ucmca0a$aP^a^}q|m{+g?03{OzE&u=k delta 14 WcmX>vazSLna%M*R&C8irumJ!p(gke* diff --git a/mobile/openapi/lib/model/audit_deletes_response_dto.dart b/mobile/openapi/lib/model/audit_deletes_response_dto.dart index a0bc0dd4d929e9b41615ef036517283fc0d0f748..5980a0544e54403e73095f947db83760cbcce2f4 100644 GIT binary patch delta 119 zcmdla`9yL<36n;AN@{9>Yhh_(PG(7^UMh%DtdU=mky@menNqBy03=7MIurmlS2@rQ2y}>XqdCWEPibq!;CvgA`jSqyY_0 K-OR|gkqrR(Nh!|& delta 69 zcmaDNxk++E36q#Yeo01ZkzQs>v4X9w0*F#m<5Ji>hslAN#V514WbzYM1z`|FQ!hEO UxWp#7q$o2l-A-e(G22Eq02pExf&c&j diff --git a/mobile/openapi/lib/model/auth_device_response_dto.dart b/mobile/openapi/lib/model/auth_device_response_dto.dart index 655193f49c88b7675f578e5d9fd32fb1047843f3..f1425a221f9ccc77623a0f01b17b2116c6619a45 100644 GIT binary patch delta 32 ocmeBBXj0f9$2?h{S!J>dv%=(5W~Ip;%xaU@GmC9L#_Yrc0GkL2bpQYW delta 49 zcmZot=up@o$2?h-pz9b_&ER@iwzV2 delta 44 ycmZ2sxW;fp4b$XmCRq`M{F02+BE8HM1zTGMAgQLtrLcJw(|cY<`^_^2_&ESaEe(zU diff --git a/mobile/openapi/lib/model/bulk_ids_dto.dart b/mobile/openapi/lib/model/bulk_ids_dto.dart index 54a32a8ba8bf0056e0fcffa9bf7ed29d01b59b71..ba2076844d6304681f8d1fc1a37a57e8893e05a9 100644 GIT binary patch delta 115 zcmbOsdRlY?2a`&CN@{9>Yhh_(PG(7^UMh%DtdU=mky@menNqBy03=7MIurmlS2@rQ2y}>XqdCWEPibq!;CvgA`jSqyY^~-F$@Q G3M&9FGbt4S delta 64 zcmX>tIzw~=2a}*eeo01ZkzQs>v4X9w0+8CQ!&Jh=;*(iiGI<4yf-s1osh6BsTw)Vk QQk0pOZl|&NJIfVT0G{L(ssI20 diff --git a/mobile/openapi/lib/model/change_password_dto.dart b/mobile/openapi/lib/model/change_password_dto.dart index 5147c922a0585b4a727762bc1c51127c7ed00546..3008f5b1c5dd12b9acf60c84df77e4ead3f67268 100644 GIT binary patch delta 16 XcmZ1@u}We?4AbOTCXLN)Ov^X{GY18k delta 16 XcmZ1_u|{G;4AbOjCe6*wOv^a|GVcYJ diff --git a/mobile/openapi/lib/model/check_existing_assets_dto.dart b/mobile/openapi/lib/model/check_existing_assets_dto.dart index 256a5a1e1740b4abc455292d47cc4969050150fe..cf3e4c2eaecbb35591da075aed71d783f407b69a 100644 GIT binary patch delta 141 zcmew^xl(FF9g|&rN@{9>Yhh_(PG(7^UMh%DtdU=mky@mel3JFToa$IyoLb_UQmmtZ z%GXp-Q{&paiYbkm!?Pr{C^0D~b+QPXwmyubsh6BsTw)VkQk0pOZl|HCSCa3OSzMx# VUX))BQf#G=2DB=5a}e87HUM3lGIsy~ delta 91 zcmZ1}^<8p99g~hieo01ZkzPt_S!QyoV{vh6iDyc&f~~CrnuwYjm%`>fOliz4KAFWO fleO5ig+UBWz2wB=5}V+XqRhN>JB`gPY)jby#4#T# diff --git a/mobile/openapi/lib/model/check_existing_assets_response_dto.dart b/mobile/openapi/lib/model/check_existing_assets_response_dto.dart index c8992c6224270d697c645e74a7354e1d27471c4f..db91cf1f0f0660cf7884133cf25181881fb106a8 100644 GIT binary patch delta 131 zcmaDMFYhh_(PG(7^UMh%DtdU=mky@meT9H{?l9`w8nNqByfW*<< z+{yHZiNmubwJ0$uCv|cstA;*|qp6piSX^QgTv7zoXs4m6SCa1oG({u5D8C$}*h(P{ MXhG`cBdkl<0MEEF4FCWD delta 72 zcmbO&`9fkt29u~leo01ZkzQ&=W^qYoUb<&Wv4XAb=7MIurmlOe2+G%Y5&bovR0LPUYd;kCd diff --git a/mobile/openapi/lib/model/clip_config.dart b/mobile/openapi/lib/model/clip_config.dart index 5f0965df6a1df69019ce90226404d9162413dd86..367102f3e8deb53c34e0ee0c33fb608b42544843 100644 GIT binary patch delta 24 gcmZ3ZxI%G*BkN=*R)xvQtWuNfSXDMJX657t0A$h!MF0Q* delta 24 gcmZ3XxJGejE)tkRRKSXDRAW98xo0Az9pI{*Lx diff --git a/mobile/openapi/lib/model/clip_mode.dart b/mobile/openapi/lib/model/clip_mode.dart index 556ad17d7fbab2355a8ec5f09ead8257ccd000fe..f52525c38eadc62402be5b5fc8f6b8230b77d98e 100644 GIT binary patch delta 12 TcmX>gykB@jBJ<`X<~TM0APEFE delta 14 Vcmdlld_Z_ZA~U1?=0xT=HUK901a$xa diff --git a/mobile/openapi/lib/model/colorspace.dart b/mobile/openapi/lib/model/colorspace.dart index 8ed4303eedf56b7a436a9ddca7ee02de019f1fb3..eb2cf3f681873cb15c736222cd557a9acfb1a9f8 100644 GIT binary patch delta 12 Tcmca3d|P-!I`ifX<`OmlBHsj% delta 14 VcmcaDd`EagIy0mF=5*!~HUKJ01kV5f diff --git a/mobile/openapi/lib/model/cq_mode.dart b/mobile/openapi/lib/model/cq_mode.dart index 510d0a600fceb5e841aa02e1357d62137ef53670..cd918ce8882e48770b1cda1984f41c68ff24e28e 100644 GIT binary patch delta 12 Tcmca9d_#Cc8T00H<|H-%BOU~n delta 14 Vcmca1d{cNs88f5(<}&6aHUKJ{1l0fl diff --git a/mobile/openapi/lib/model/create_album_dto.dart b/mobile/openapi/lib/model/create_album_dto.dart index 437ec5c55fa2661f04ff037aef7a90b9d8fe672c..7b527eb7bcb75897ea8a7e9160ce66721a0ed767 100644 GIT binary patch delta 275 zcmZose4)5OlV!3Ni;7WvN@{9>Yhh_(PG(7^UMh%DtdU=mky@meSX`W1;+aycqX1)R zDyXS(P0nM{aloUkI3uwrH6=W=BqOvqwFs;qLr8P;ah4@49G)eqMTto{sgoVK#3#3L z^6A3_H1(1bi%V>RONuh{((N=f^-A)6GK)(z(u?xTK^m+S(tz$voxGfL8nPjJWEh~Z Jc@ftmRscaAV;KMd delta 138 zcmaE%*rK>WlV!37i>iV`eo01ZkzQhPacYTYO0j~itpc2_rpBc(xt>LbQDO1{7I9{v z+~n2F%A5bNOlD#6$t*6JJe^Zj7{t)jOHM2*>QdntI8J#U(buB}JKe>2?~LdL{WjnZ+d<=|%bFAjMV+X+T$}PS)d5o_v~H S1!2f%ZVgfm*{sL2oecoij%7Lk delta 182 zcmX@1_EdGlN>)aN$@^HvofT|t6;dmbb4rUd^Ya1{OG;9U@`@GI)VLHtAipFdwMZ{B zw;;c$1SpwN3{sBF1u2}Y$)+(mfK7UH7Mlz!i%({8$>ct6Jz)?-Q!hEOxWp#7q$o2l j-A-fjL>}eId^{>JMdB(*W~s+2Bo-@R(Y1LZ&vrHdWqUjk diff --git a/mobile/openapi/lib/model/create_profile_image_response_dto.dart b/mobile/openapi/lib/model/create_profile_image_response_dto.dart index d5de750154b40f6d7c07dfbccce2564d365e1c7d..9e628efa8ae47b811cccd75ffeb2b5772b4b0969 100644 GIT binary patch delta 16 YcmZ1>wM=TmB&NxenT$3cV@l!z05^UH2mk;8 delta 16 YcmZ1`wL)scB&Nv|nT$6dW=iG)05@g^1poj5 diff --git a/mobile/openapi/lib/model/create_tag_dto.dart b/mobile/openapi/lib/model/create_tag_dto.dart index 6e9ec685f1afad4ba3293a62b89c800fea3b0e0a..ee4a5fe64931f15a96bf42e1b959a5f5cff3a261 100644 GIT binary patch delta 35 ncmca8c3y0QIg?m^Nk(dsUS48us)DVp0+?1)vc2R7DIg^A!eo01ZkzQV6ZmNQ|Qk3f%wz diff --git a/mobile/openapi/lib/model/create_user_dto.dart b/mobile/openapi/lib/model/create_user_dto.dart index 887e44f109607044152302f3c3ff1cac459bf1f5..bfa26622f75a7cfc085998b17b53b891247426c2 100644 GIT binary patch delta 55 zcmZ3hu}ot_AIs!^7MaOwShOZzXE6}VFUd$P(#uQCO;xb9RRGg!YFv}$S=A=Hu^Mfz IWZl9C03J*c>i_@% delta 36 scmZ3cu~uV4AIs!k7TL)wS+pl#W-*-1%ql%umQ{JOJ*)BNLe{N(0PGzLu>b%7 diff --git a/mobile/openapi/lib/model/curated_locations_response_dto.dart b/mobile/openapi/lib/model/curated_locations_response_dto.dart index 9aac5cc72d1f5a07fead6a1a611cf11038a521db..0b54c4807fc408f141469c9de76eba2bfc41940d 100644 GIT binary patch delta 47 zcmZpW|1GzHgIO%UBqOy*FFCWMQo+_%0Zgl@aZOfWHkcg9tTefVS!{DR^H**FZcz@* delta 49 zcmew@*C4-vgIPi$za%5INH00Fq*B4wRsl?_sc|VxmSZ-U?8~e?IiFd4b1U;VZUBOT B4*&oF diff --git a/mobile/openapi/lib/model/curated_objects_response_dto.dart b/mobile/openapi/lib/model/curated_objects_response_dto.dart index 8b2cc99495fbbdcb31e802971af2355c2fb123da..40b6e1789b50e85acb47d4b3263c1fe7fcaf5187 100644 GIT binary patch delta 28 kcmew&_g-!T3-e@FW}V4K%u16(nZ+jOFw1T3W`4;H0ESHn-T(jq delta 28 kcmaDa_eE|43-e@VX5Gp9%*vAknZ+lkGs|yoWq!pC0EMjx&j0`b diff --git a/mobile/openapi/lib/model/download_archive_info.dart b/mobile/openapi/lib/model/download_archive_info.dart index ed612cc2c89fcc87d533229d226fbfcbb0cba302..20cf8f9b5f0fefccb390b1922c37467adccac725 100644 GIT binary patch delta 129 zcmdlh@m^v>G?P($N@{9>Yhh_(PG(7^UMh%DtdU=mky@meSX`W1;+aycqX1)RDyXS( zZLVe#Vdn5GNi9lD%1NC(nN?LE#?jPEPAo352`(wh%uBb^(9|o*_sJ|S(MT`KF9#{M PQb+?DpSt-pYY`g&&mJx9 delta 79 zcmaDau~%Y4G?Riteo01ZkzQhPacYTYO0j~itpc2_rpBePxtB?VnZ+lwxMcE5R#jmT ZLsKs~vAD!0xTGjEFWpXK^Iz5?HUKYh8lV6G diff --git a/mobile/openapi/lib/model/download_info_dto.dart b/mobile/openapi/lib/model/download_info_dto.dart index fa3a06eeaccee5d64c38c412ed626d8fe9e40995..0bfdbe9f32cf236ffb33c76788c157a1265d78b0 100644 GIT binary patch delta 137 zcmbQOc3N%2Cbr3&*%T&UVbd^*Pf1NJa4jrN%*iaN)Jp|1iZ${}GE$555{rvdOFUDG zbrfJMO$9YIuFW#+{j40GC811+Oet2dwN-$#)zr8YHtVqWv$FVP i7MDyu%%ds{Vrc3mCl;631eX+L=B3+dY!>G=VFLg^(H!*v diff --git a/mobile/openapi/lib/model/download_response_dto.dart b/mobile/openapi/lib/model/download_response_dto.dart index 352fd5edffdff6f44bc0718a915a732685b2525d..1945491a132686b177f87a85ad800e630d1c6a2b 100644 GIT binary patch delta 63 zcmca0@knAr5tC7TN@{9>Yhh_(PG(7^UMh%DtdU=mky@meSd^TRS(aL?qX1)RDyXS( KZJxxmj}rh93l~@b delta 45 tcmaDPaY1535tD*Keo01ZkzQg^az+T+c2wc^13OMHi{3`IY7-r535j0%aD-Edwc>BrgI|mo6V5h)@S~8(7Ub`6w}jXij2DW=UyE dDp<-zVYWDuRDNDMLhg^k62_v<3lyKR0RX9Z&=$BMhIMi@tMuejR>jFvS&b(jXVskip4D)&Je&SxUpDQ@#DBgUKu$w1|D5=$~mN>fr%74Rs`mW3(E&r8RmVxPj2&B=<-*Z^!o BWbOa} diff --git a/mobile/openapi/lib/model/face_dto.dart b/mobile/openapi/lib/model/face_dto.dart index 556fd0efa8cee672163cfd1f618e09e8c7bf99b5..4f1417ac1acebed2623f4dae6ad99148b9bf11ec 100644 GIT binary patch delta 12 TcmbOtGFfE9C&ta685KDIA_fG* delta 12 TcmbO%GDT#=C&tYm8I?EyA^rry diff --git a/mobile/openapi/lib/model/file_checksum_dto.dart b/mobile/openapi/lib/model/file_checksum_dto.dart index e587586ccaab2504f7dce6bb3693e99350f248a3..2ab0b79ff367f8b95fe11405e8b17460343a22c1 100644 GIT binary patch delta 127 zcmX>g_E~I$29rU2N@{9>Yhh_(PG(7^UMh%DtdU=mky@memYI{9mzbMctfK&DYHoIA z+Qh`+S&~|mn3R(``8SK2K8&NOmz-E!ViR0al$n=qr=h7=lJApQT%wU)lwS@~Y^9I} MG(2^)2`dj90Nv*;{{R30 delta 70 zcmew?c0g={29vNteo01ZkzQJ6PHJ9aZfdcDt?lHEjMAGknHDm!_+%EBOcr8Q69zFf Y^^y~dOKgHmiZb)k?KC#0v+}S309c9_7XSbN diff --git a/mobile/openapi/lib/model/file_checksum_response_dto.dart b/mobile/openapi/lib/model/file_checksum_response_dto.dart index 2cfd87b4b90c6990f75bb85123c268364788b803..17c9f9ee559334c052bea57d779e723cad49d1f9 100644 GIT binary patch delta 16 Ycmew&@kwGs9@FG}CZ)}jm>zKg06kF#j{pDw delta 16 Xcmew)@kL@o9@FGpCgsijOpiGMJvj!9 diff --git a/mobile/openapi/lib/model/file_report_dto.dart b/mobile/openapi/lib/model/file_report_dto.dart index 0d00938b8a2cb945d644fbf0ca70d1033e0177dc..517790411e9ace84f6ce23c1f0ada850e6d83f5d 100644 GIT binary patch delta 173 zcmew@eo$gVG*euBN@{9>Yhh_(PG(7^UMh%DtdU=mky@meT2WGzSgfM}p*0oM)VLIY z0FRFRqJoUXJfIdRLv!I}J^} dl6;@c;u4MYqWp4@Vk?C-pi@#eZ(((30|1-jKF$CD delta 103 zcmX>o@mqXDG?Rrweo01ZkzQ&=Nl{|4f~~Crl%=M|r2qmD>HMOCjKn;!Je0Y4C)0B# k7N5-GlF2Jrm4!hJO}*sA;u4$SlA_GKbUTgBzgXSb062jo!TacnwwpiHgEs{ D8Tu2J delta 34 mcmZn{`y#qQpGj09za%5INH4P_HMdy7)>Z+`*c{HZfdc@}*bC19 diff --git a/mobile/openapi/lib/model/file_report_item_dto.dart b/mobile/openapi/lib/model/file_report_item_dto.dart index 77b3f72505daeadfa7b11141ee9934105e9a964d..fd937b04e27175fce9eb68f146bfb2e96033a196 100644 GIT binary patch delta 28 jcmX@3cwBLVH_K!n7NyDgKs<>>ZSqbQrOkI(K5zp7l^qIE delta 28 icmX@Ect&x9H_K!%7Ujt~K-|ZoK6wj^^5$zSAGraPeF{PV diff --git a/mobile/openapi/lib/model/job_command.dart b/mobile/openapi/lib/model/job_command.dart index 363db01e805ea5a187ca183342e091e2b85f6a96..1679776718fdfec14415a8423b1c5b1191188e48 100644 GIT binary patch delta 12 TcmcaCc1di5Im>1X7HM_>ADsiv delta 14 Vcmca4c3EtLISZrxW^)#4b^s=l1PuTH diff --git a/mobile/openapi/lib/model/job_command_dto.dart b/mobile/openapi/lib/model/job_command_dto.dart index 68289ab225ffaebc4fc0ddbfbfca9f20f92b83d4..00fc4a7e0dc81258c257fc877bb7dcd26ab15c50 100644 GIT binary patch delta 16 XcmeAb?-t+Sz%<#BNnvvmlQt&+D}Mxf delta 16 XcmeAc?-k$Rz%<#ONpW*LlMW{UD`y0E diff --git a/mobile/openapi/lib/model/job_counts_dto.dart b/mobile/openapi/lib/model/job_counts_dto.dart index 077e5a21417638078c3fefb59b596fcc0cbb4bad..7622673982cd7db73e34a6be3ffd910a871b8461 100644 GIT binary patch delta 32 ocmbOxH$iU0Bc{oZndBxjF{?~gXI7Z(!7Mj9omp;k8}kHi0JW+L6aWAK delta 32 ocmbOrH%)HCBc{m@ndB$`XHuQ4%&a)snOS~vBD4JFdgh7T0LY&T{r~^~ diff --git a/mobile/openapi/lib/model/job_name.dart b/mobile/openapi/lib/model/job_name.dart index 667f7379bad07cb13e216a5afb7748c74a29b6f6..e3b6b380a2b627bfb50088fed17d78ed2efa1524 100644 GIT binary patch delta 12 TcmZpdZb5CY8-~OnICDId=ui delta 16 XcmaDQ{ziO51k>bjCe_W=O!=GuIbQ|H diff --git a/mobile/openapi/lib/model/library_response_dto.dart b/mobile/openapi/lib/model/library_response_dto.dart index ffbfa356796e862b35c574abeb5169859f3bc37c..eadd3049fb3357d4389119d9c066ec95f1d009c7 100644 GIT binary patch delta 341 zcmcbiwNrb;Z|2E=nAIjLv#8X^r=+G9xE7Ws=46&s>ZO7h#Txk~8L35jsTIjNrNx=~ zc>#$fC8T5O?Kh2=kNqNCNU`|b#gn8o<5ADsh6BsTw)Vk zQk0pOZl|HCSCa3OSzMx#UX))BQf#G=2J~6#bVW3-_`EnSG KHm~Pf$p!$}=y$;Y delta 247 zcmdm~eM4)*Z|2FrnAImMu&CB69L37P zJ~^4kp2a7#xMcDw9z9_YLsKs~vAD!0xTGjEFWpXK@_k;V$(p?35Jerl8aNakp1hbZ KXR`qRN;UwlzEc(e diff --git a/mobile/openapi/lib/model/library_stats_response_dto.dart b/mobile/openapi/lib/model/library_stats_response_dto.dart index 2f389d414dc425c38d011c1d71980e7a9f9a152a..36215d094e132678d096467972f76f960553cfd5 100644 GIT binary patch delta 45 xcmX>gy+?Y(ET+k`ndBz#Vv>=_FUd$P(km@aOixv?wN-#H)YP~(e_*=61ps|L5BUH9 delta 24 gcmdlZeL#A{ET+jbndB#LXOf+KnMro@d#1Bo0DJfewEzGB diff --git a/mobile/openapi/lib/model/library_type.dart b/mobile/openapi/lib/model/library_type.dart index 18b0e18d4477d51b70ce5eb2d4155563427309a8..37cfeb5ec45663cb666cf2f93b4b24f6d8503c51 100644 GIT binary patch delta 12 TcmbOuGFxOr2lM7m=E-aT9~=a8 delta 14 VcmbO&GDl=X2Q#Dn<__k`Yyc(A1hN1C diff --git a/mobile/openapi/lib/model/log_level.dart b/mobile/openapi/lib/model/log_level.dart index a5c50eb40c6f777eabbe72dbf1ab28ebcf121762..73f9fe5e243d6137c0fc58abca132e92cbfa3d13 100644 GIT binary patch delta 12 TcmcaCc1di59m{5W77=y;AKU}g delta 14 Vcmca4c3EtL9SfuVW;+%Ub^s>d1QY-O diff --git a/mobile/openapi/lib/model/login_credential_dto.dart b/mobile/openapi/lib/model/login_credential_dto.dart index f047ff8c4e0371683dc8d3a659f37da112087837..8dc3d9d58f10ef608301f599994c9ce9cc83f1a2 100644 GIT binary patch delta 16 Xcmew+{zZI42-DV*TFUd$P(wm&XB{ErW63lXY2C KHwUs<@d5x2HW70G diff --git a/mobile/openapi/lib/model/logout_response_dto.dart b/mobile/openapi/lib/model/logout_response_dto.dart index bcb6681d59ec3e84b2be9898cfe61153bb11a5b9..11fcda7ecf4d5eec7deed3d44ec891a7a69bb704 100644 GIT binary patch delta 16 XcmX>gu}@+{9Mj}@CXLMNlYZaBqOy*FDJ1?!PZs*M5(E9ZJy8cniBxzUJK*^ delta 39 scmZpd?2_D2#5B2(NnA`Jza%5ING~U`M8Vcp0Ys^(aVcz`!}OXH0QI>HA^-pY diff --git a/mobile/openapi/lib/model/map_theme.dart b/mobile/openapi/lib/model/map_theme.dart index a67d9d2ef84f9700728b5dee9895bad1c13f6a4d..a2e43425b468ee1dca200f65503f0f79c463b21c 100644 GIT binary patch delta 12 Tcmdljyi0gP9P{RQ<`^~rA9e&J delta 14 Vcmdlbyjyrf95bW+<~ZgUHUK6|1Y-aI diff --git a/mobile/openapi/lib/model/memory_lane_response_dto.dart b/mobile/openapi/lib/model/memory_lane_response_dto.dart index 1f816da8683ebc9162c5e2abe0b374f317c326ae..7d761131d7a8620cbab4805c996fb07aade7ec89 100644 GIT binary patch delta 59 zcmZ1@u}@+{9+O^tN@{9>Yhh_(PG(7^UMh%DtdU=mky@meSX`W1Qmmr@p*0oM)VMZx IF)iW*0H2N(U;qFB delta 41 rcmdldu|{G;9+Qkheo01ZkzQhPacW7if~~Crl%=M|rLcJp(;`j)E`ANU diff --git a/mobile/openapi/lib/model/merge_person_dto.dart b/mobile/openapi/lib/model/merge_person_dto.dart index 33eb98fc0b004c5d43d49065022d86300ecb5889..cb3a5f4c3b2493a01a2a23cf432875b86c30b912 100644 GIT binary patch delta 115 zcmaDLI$3Ok1d~d9N@{9>Yhh_(PG(7^UMh%DtdU=mky@menNqBy03=7MIurmlS2@rQ2y}>XqdCWEPibq!;CvgA`jSqyY^~-TZ{* G4=VsplPSIc delta 64 zcmbO%_CR!l1e2gbeo01ZkzQs>v4X9w0+8Bl!_>mW;*(iiGWi6Hf-s1osh6BsTw)Vk QQk0pOZl|$Xob?YY0IN0?Q~&?~ diff --git a/mobile/openapi/lib/model/model_type.dart b/mobile/openapi/lib/model/model_type.dart index 84e4ec846ffcd8a8a2129554a2a7d08339864ac7..4b7c35032132381f0f6cf302b4a2c769f307cf0e 100644 GIT binary patch delta 12 TcmbOzGC^cR5A)_;<`y;p9ykP6 delta 14 VcmbOrGErnh4>P0v<{su2HUK2W1eE{) diff --git a/mobile/openapi/lib/model/o_auth_authorize_response_dto.dart b/mobile/openapi/lib/model/o_auth_authorize_response_dto.dart index 1a1c09287365cc9b236af921f884106f1e3e47a8..f042713cce5748f4e51c47678a146d983f683ad5 100644 GIT binary patch delta 12 TcmaDN_E>C#4bx^@CUs5#AyNbc delta 12 TcmaDX_C#!h4bx_8CJjyiAxZ=T diff --git a/mobile/openapi/lib/model/o_auth_callback_dto.dart b/mobile/openapi/lib/model/o_auth_callback_dto.dart index 08fac9798ec4054af0e7ab031dac185ff40f6d61..0ec446cead671c1dba193f0b2967848140f07a92 100644 GIT binary patch delta 12 TcmX>kdQfzO1k+|orj;B39mxat delta 12 TcmX>odPsDG1k+}5rd1pO9l-`cHI&0@G%Brh6O!BdG+k diff --git a/mobile/openapi/lib/model/o_auth_config_response_dto.dart b/mobile/openapi/lib/model/o_auth_config_response_dto.dart index 4b6846af25084ca2844b15653aa5bb79da5aa87d..83fd87b6c8a44a1f13a9e545932745c3a89bb180 100644 GIT binary patch delta 39 tcmX@5c~o-)JNsk~cD2d+Kpe)dz?NT_0@kdQf!3Rp!mtnBTAg048+>v;Y7A delta 14 WcmX>odPsD`Rc1!}%~zSmd0lctJCj#@N@{9>Yhh_(PG(7^UMh%DtdU=mky@lzkeXkRld7Wtp*0oM)VLIY Z03unEUy_)kU~8)YVF2YeA7EnR0sw+*9gzS4 delta 45 vcmcaEc}#LcJClq;eo01ZkzPS+enC#Ef~~Crl%=M|r7(FblfvdJOw3#WbFmKZ diff --git a/mobile/openapi/lib/model/people_update_dto.dart b/mobile/openapi/lib/model/people_update_dto.dart index 3c39c4bdb882bcdfc9b610102b43ebc42ddc13dd..a98934b5219e9780dac3c2be26ae120ad6d0eb73 100644 GIT binary patch delta 55 zcmaDO`d@T|4wF`VN@{9>Yhh_(PG(7^UMh%DtdU=mky@lzkeXkRld7Wtp*1%!TXEzs7$S=uAEz-+OQLwdD0Fr8ITndvVIMg=Va>%f4j^caE F1^~eO55oWe diff --git a/mobile/openapi/lib/model/person_response_dto.dart b/mobile/openapi/lib/model/person_response_dto.dart index 5e65d947a47088804da87b362824a5b838194f5c..30edc062beef5e2f868d4cd336b282be4898d433 100644 GIT binary patch delta 35 rcmX>hcSLT(eWu9|m{caSGK)=?VOE-K&n&e$ig^zUW6@?Y4kLB|;A{%C delta 33 pcmX>icS3H%eWuCxm{cb-F^f-@U{;=N#Vox!gn2K^W+4tEb^yv!3N8Qu diff --git a/mobile/openapi/lib/model/person_statistics_response_dto.dart b/mobile/openapi/lib/model/person_statistics_response_dto.dart index b4fbef723557611490094954ce60fdf564a9ae0f..17dd4f356bb369e9d1daa80cc906e4bd0336585d 100644 GIT binary patch delta 12 TcmZ1`zEpgJJJV(lrZ`Rj9Qgy+ delta 12 TcmZ1~zD#_BJJV)2rg%;O9PtCz diff --git a/mobile/openapi/lib/model/person_update_dto.dart b/mobile/openapi/lib/model/person_update_dto.dart index 63f0eded7ebe8605cb18ec44f52b62dd5213acb0..611efe8171b942b66fea65ae877471279f9be49f 100644 GIT binary patch delta 31 ncmeyN@l|6(G5h2ac9qF9+07Yhh_(PG(7^UMh%DtdU=mky@memYAGctfK&?G!@j; fxF+{AOHE$ItTg#7v()An%o?nWMVkdUU$6rJhS3{; delta 60 zcmZoy`k}ZXfO)b%v#OLreo01ZkzQJ2a%!=Ht*rutp{B;AFnIy9)a0Ga%9C$1OK<+l MtjW4rp7RAe09wKmp8x;= diff --git a/mobile/openapi/lib/model/queue_status_dto.dart b/mobile/openapi/lib/model/queue_status_dto.dart index 6a15b7742156dbb8c1ee0aab6b400ef064b5b362..96775de8e92338bf9d80d80c4e44bf4402e39822 100644 GIT binary patch delta 16 XcmX>lenNbM8`ETWCZ)|;ObMI-Gpz+b delta 16 XcmX>heoB0U8`ET0CgsiPOo^NTGnEBA diff --git a/mobile/openapi/lib/model/reaction_level.dart b/mobile/openapi/lib/model/reaction_level.dart index 5c8b8e62b11783e9de8d11c768cfcec03fe76b50..2f96b4b32c908c0dd85aa73de4b4a06fd19b6380 100644 GIT binary patch delta 12 TcmdlXvR!0DAM@sZ=9O#!A@T&x delta 14 VcmdlkvO{D;A2Xx<=04_?Yyc@A1q=WH diff --git a/mobile/openapi/lib/model/reaction_type.dart b/mobile/openapi/lib/model/reaction_type.dart index dbe6c11d29e1a3884176636f269354d0a704d722..8ea9afcdb0951b09d40542c780cd42ae465304d1 100644 GIT binary patch delta 12 TcmZ1~vP5J<2lM7m<~eKtAM^x{ delta 14 VcmZ1?vQ%V42Q#Dn<__jLYyc+71kC^d diff --git a/mobile/openapi/lib/model/recognition_config.dart b/mobile/openapi/lib/model/recognition_config.dart index 53666789008e6d62331851ab17d0df2780229538..e66c376e12914c86ce26f3637c3562a26531b0d7 100644 GIT binary patch delta 32 ncmX@8yjyugA$@=G#Oi}cbGlT%BI6>M!4pe!{tE(H*PNN1L$=7MD*43OmJ IAm$5P0Lc~@761SM diff --git a/mobile/openapi/lib/model/search_asset_response_dto.dart b/mobile/openapi/lib/model/search_asset_response_dto.dart index 8253ad0b149510bb1819f2e6804bf85353eef95d..98291307d421b3041cb2738f04464d5fa3206d70 100644 GIT binary patch delta 111 zcmew-y+~%m4W`LAnPlSPQ&Lk4TnkGRb23XR^-@8MVvYQgjMO5%w8Z4pl42bN2(780 arpBcJ1bB30mZataHGnCw`ptUG7q|c(+b4zq delta 74 zcmZ1^^G|xi4W`N0nPe>$@=G#Oi}cbGlT%BI6>M!4pe!{tE(H*PNN1L$=7MD*43OmJ IAm$5P0Lc~@761SM diff --git a/mobile/openapi/lib/model/search_explore_item.dart b/mobile/openapi/lib/model/search_explore_item.dart index ddc8f5282b3d0f169bef72f6eceb76ff021334a7..218f7f4c6ff52cff8991ec27e61f5cf772032700 100644 GIT binary patch delta 16 XcmX>ozF&Mp5YyyfCaKMNOu?K0Gf4$B delta 16 Xcmdlleo%Zv5Yyy9Ch5)DOd*^AGcg4* diff --git a/mobile/openapi/lib/model/search_explore_response_dto.dart b/mobile/openapi/lib/model/search_explore_response_dto.dart index 403ba396d45ad8f845cee23a64b202e96f2740f3..ad317642d94fb36c728f146d3ed44629b770aaa4 100644 GIT binary patch delta 57 zcmeB>oF%!Tk!f-hlZr-sN@{9>Yhh_(PG(7^UMh%DtdU=mky@meS(2JttfK&?G&k>N HI?D+FVE7eg delta 38 qcmbOw*&(^1k!f-Rld7mfeo01ZkzQs=YHqQDt*ru>vH2|1Sxx}|O%0s@ diff --git a/mobile/openapi/lib/model/search_facet_count_response_dto.dart b/mobile/openapi/lib/model/search_facet_count_response_dto.dart index d11450d2f0b707f44071916813b8974674720d4a..a53ae6b86ce13b58911555d2dbc2913ada33a011 100644 GIT binary patch delta 16 XcmaDS@kU}pKGWm^CYjB>Ob=#tow$22*YNq%!TQ!OU|FWCi3 diff --git a/mobile/openapi/lib/model/server_config_dto.dart b/mobile/openapi/lib/model/server_config_dto.dart index d93da96a23d826c52ac47d9de7510aab5068d105..1509c1bbeb7ab3b19175c987b72352410d082874 100644 GIT binary patch delta 32 ocmbQIG(%~FGxKB@X1&S9%sP`7Fl$Uc$!s+F53|8$U6zkL0Jj_qKmY&$ delta 32 ocmbQCG*4-RGxKC8X8p+p%(|23Fl$ae!fZVG8?)hNHI`320JbCxD*ylh diff --git a/mobile/openapi/lib/model/server_features_dto.dart b/mobile/openapi/lib/model/server_features_dto.dart index 1a395f99c9480f9903853bb6bb70d615ee664157..e3fd530b173bf1cc6edbd2390ba219e032eb93c2 100644 GIT binary patch delta 69 zcmeyN^;TS=YpVdF)YP~puV+!1e1XMaG9#^+Rie7|Uc)7WK*2K%B^8DyEQMl95`Zmz!9iU~8)YqSVy56eh1?QJ8#^#c=XZ Y7Tw9Jtj3eWS>-2}vMO$#%6fwz04FsTUH||9 diff --git a/mobile/openapi/lib/model/server_info_response_dto.dart b/mobile/openapi/lib/model/server_info_response_dto.dart index d5b90bcd6d252fcffa3217a892d78afe94bc6b1c..e66cfe44bf447a29dae341b3b2f00b49b6f9c5df 100644 GIT binary patch delta 40 vcmaE+a$jXbEA!;d%)*mrGD`w!qsh;hl_qntXiPR@v6!6AqOiG#jw3W?s6ThNfOgzE5UxiAH)+emO|7l|mZO<*Ae9*p((9W0OTTM11l;HeNCevPLn) W3hYGnScSx51=1a*uz3@E4I2O++<{L3 delta 204 zcmX>uyG~}q4yIs*{F02+BE8Jq#Pn1JTU!MPLrslK0R$kD#hEFo$%#cEX&4h#K^ag% zK1dqO*zCfbz|7*4SzI!C4V#iMh@q*MoLF396I@c1nU`*-G5If>Jw$;Ey9y2kN|Sf8 SOF|UgV#j5Q!e(!d8a4oiQbUmd diff --git a/mobile/openapi/lib/model/server_ping_response.dart b/mobile/openapi/lib/model/server_ping_response.dart index ad72c0f5e52bb3858d0eee6bc46554b34e16f125..280a50a44bf4dee57407446a519f33faaaa6c37f 100644 GIT binary patch delta 12 TcmaDR`c!m-0@G$irlTAHA#nt2 delta 12 TcmaDV`b>0#0@G%BrehocA!!6^ diff --git a/mobile/openapi/lib/model/server_stats_response_dto.dart b/mobile/openapi/lib/model/server_stats_response_dto.dart index 37db37a3eddf9a87ed43accea45e6c1ba286d627..c4afaa348ccb70cf7ca551f799e8641f90a79d9c 100644 GIT binary patch delta 77 zcmbO#vs7loE~d%5ndBzlVv@0lPf1NJa4jrN%*iaN)Jp|1iZ${}GE$55N{bWIQ=KY9 Wi&Kkq6p%QY3TkRxn`M}PasdE+Y#b^8 delta 59 zcmZ1~GgW58E~d#lndB#5XOdM@$S=uAEz&D3PE1dAstheoEmE+xRY2ydsc|W6)?xn1 F1ptSj6n+2z diff --git a/mobile/openapi/lib/model/server_theme_dto.dart b/mobile/openapi/lib/model/server_theme_dto.dart index f31596033e3e037716816f6164f0b41f1bd2b410..e822c33df17b6c8465241f868a81306d5e1c931f 100644 GIT binary patch delta 12 TcmaDR`c!m-4AW*=rjr~1Ax#8l delta 12 TcmaDV`b>0#4AW+5rc)dMAw>jc diff --git a/mobile/openapi/lib/model/server_version_response_dto.dart b/mobile/openapi/lib/model/server_version_response_dto.dart index 353d65049b25e067219cfb2b5254e616abdeac5d..65f76311b8d81959c43c193f44f5fcf0e6fb44e9 100644 GIT binary patch delta 41 scmeB_YLnW~$uzl(Nk$^SBqOy*FE=wUzevH>Rsq6LQ{&ovfXR~!049YEWB>pF delta 20 bcmZpZ>Xh2h$uzlxNp|uQCfUsgnB2GkOezM{ diff --git a/mobile/openapi/lib/model/shared_link_create_dto.dart b/mobile/openapi/lib/model/shared_link_create_dto.dart index 9f7b8edcd87b11e919f20e9433355b23180e70e2..14dc109a93a4c08fec4f8c239631e8a1daeca8c8 100644 GIT binary patch delta 163 zcmeA$+G4cf5c}lA>Lu>O-jw}ui&yv)l#H5_m$?1Zs`Y?{B zUUFh_iA``xQD$Dcorb1fNxn~JafwEHQGPi{v6Vs^(7M#g^93g`7H!rSy2%Cr+y6RM delta 111 zcmdmD)M2#Y5c}kV?23~gvg=Of<11+Oet2dwN-$#)zr8YCTDQy zOrFf4I(a*X^5mNw+MAgcHE3@MY-3?-BI3?s7{ L4c!T|_ZE5v?pYFp diff --git a/mobile/openapi/lib/model/shared_link_response_dto.dart b/mobile/openapi/lib/model/shared_link_response_dto.dart index fff364e547ffcb598a65fff7689803c129c10f66..b114b9cd6aec44b832ef84ed647468e109973be8 100644 GIT binary patch delta 139 zcmZ2yw#{q<2is&$Hkrw4Y&w&J*);UxQ&Lk4TnkGRb23XR^-@8MVvYQgjMO5%#Ny)A zl42bN2(780rp7gSI-ADi13>(eO=U74yVzt^c8SS$>`Idp*|jG3u*--+be2>Wq$=3j cDu8LAw#^6Fo4FW^COZq&FcxjzFO<�CqYo;s5{u delta 115 zcmdmHw$5w=2is(JHrdI_Y`T;E*)(Mo@=G#Oi}VtUi&IOA6>M!4pe!{tE``a<*fb`e zWz(Gel}%LysxUJJqzFiY73i?bOm=5io}9_9J$W*_?Bwk-tg9Wz$ diff --git a/mobile/openapi/lib/model/sign_up_dto.dart b/mobile/openapi/lib/model/sign_up_dto.dart index c6b4ee731fcde7abcfddc24bb5c45e08b162eeaa..b9f5261abe236608066193249014fe0c850e1b06 100644 GIT binary patch delta 39 rcmbOuF;ikg1k>b5CK<8(l8n?My}ZQSR0UgG1u(6q#bjCfUiwOwyZsnR++@N3;fW diff --git a/mobile/openapi/lib/model/smart_info_response_dto.dart b/mobile/openapi/lib/model/smart_info_response_dto.dart index 9d3893171e37583e4ac6c1ec0cbf8652c9a3f25e..72e958297ab0c7d7f2a96b04fa1e198ad6c5c413 100644 GIT binary patch delta 251 zcmdllwN!dT7E@GwN@{9>Yhh_(PG(7^UMh%DtdU=mky@mepOlrFTvDu~0A*+@sHt%& z00AC7C5h=k4Iol;^E{>#%p9I2sYQuNIjNKHv5DJ24N{L)NGw)>$!O{&Cl;631eX+L v=B3+dXzG>Z`(zfEXrveAmxFX#DWn12lsb7Kn0nt9z4-{!31$|b y%;J*CQ`l65K@3g3Smh@FWtEsL#-=pcl1*W96q|uaeo01ZkzQ_Mfr72A0*F#m26pRgYi0s!7p9F_n8 delta 87 zcmbPky3BOLUDnBWSmnhO@=G#Oi}bSclN4-i6+o1l8kfRkem1qqCTxn6L)Z)_x3Ec0 po&%)Mu*pt-!KOP|gxz?u8@v4E6n4YOQ`luEZ(vv5e1-k65CGY%8|wf7 diff --git a/mobile/openapi/lib/model/system_config_f_fmpeg_dto.dart b/mobile/openapi/lib/model/system_config_f_fmpeg_dto.dart index 7911b46436cc3115a2d55e76b438bd43ae575ca7..56f5c988ec78373d649fc7c66c428c822b05be6a 100644 GIT binary patch delta 97 zcmaE6dewA;8>>WqNk(dsUSe``YL0@ftpbFhrp7fnfmLO4E34e(C9D#Y_p&NXzQ?LI unUzgqvK*V-WLq|=$q{Tule>X<9}s_JQ=2Tot}xjWh@;q5HrKPK3j+WU-5w$U delta 99 zcmca=`pk5L8>^H;eo01ZkzQhQa%zr(t*rutp{B;AFgcD@WpX2{{N(wpl9RWyDo(!6 usy_KIkS)q4KiQZ~da^H@@#K0S-U!5x+0-XeK@f)k delta 60 zcmV-C0K@->ERig*dIXbs1TT}P1TB-(1S6C61UHi_1tpVD1s{`b1tF7-1t|w0Z**v7 SaxRmR2osaf1s}8R1sV`_>l6k6 diff --git a/mobile/openapi/lib/model/system_config_library_dto.dart b/mobile/openapi/lib/model/system_config_library_dto.dart index 0dccb0a32b3c9785b8968f1e8813dffe398cea70..f8df67143ace6dd0d0e669246713cdd248fb2cc6 100644 GIT binary patch delta 12 TcmcaDc1vu78`EZYCJ{~mAk+i% delta 12 Tcmca5c3W(N8`EZ2CQ(iRAj|{u diff --git a/mobile/openapi/lib/model/system_config_library_scan_dto.dart b/mobile/openapi/lib/model/system_config_library_scan_dto.dart index 1de6e4d1434425ae7919e07fbf5544b85395239e..971a1e7585c90c84c0e10aa75a91cc1e97831a6f 100644 GIT binary patch delta 16 XcmaDP`9N|*6Vv2oCcVv@m<+f8JTe9l delta 16 XcmaDL`ABj@6Vv2ICjHIpnGCrAJQ@ZK diff --git a/mobile/openapi/lib/model/system_config_logging_dto.dart b/mobile/openapi/lib/model/system_config_logging_dto.dart index ce2c75c22144077e1f92684d5f311aa15df9df03..6692fd01fd0c29b130352a27cf2b9d06c71d7316 100644 GIT binary patch delta 16 XcmZ22u~K3~64T^lCWXx{Ov^a|GbII@ delta 16 XcmZ1}v07q764T^FCdJK-Oe;76GYtio diff --git a/mobile/openapi/lib/model/system_config_machine_learning_dto.dart b/mobile/openapi/lib/model/system_config_machine_learning_dto.dart index 4ca46ce079c486e7382c4c8fa68918b75e327223..7d5e4cba0fac40307607229607cc6a3672c25a60 100644 GIT binary patch delta 43 vcmaDPdrx-5S0=Iil8n?Mz2uzC0tH)J1u(6q#xjv&rUk=4x&LUp)=( delta 24 gcmca7`$%@fSEk8dn4~B3F)L2iV>aEK#9YG-0Dp-HqW}N^ diff --git a/mobile/openapi/lib/model/system_config_map_dto.dart b/mobile/openapi/lib/model/system_config_map_dto.dart index 667ae2115cbc206bf65915d5158d39404d37f444..f9f4a4d5de615177316dea118ce32cd468bc00a1 100644 GIT binary patch delta 20 ccmZ1`wODFH57XpcCY8yXm=rc&W(wv408$kPP5=M^ delta 20 ccmZ21wM=S557XpsCe_L7nG`plXA0p008!xwNB{r; diff --git a/mobile/openapi/lib/model/system_config_new_version_check_dto.dart b/mobile/openapi/lib/model/system_config_new_version_check_dto.dart index e428442cce01e2a9021e72d3ec94fa4d21a18170..4ab93dfca323ea21edec4f40eb8013f789be5124 100644 GIT binary patch delta 12 TcmaDQ{!)BH7}Mr(rpcTDBj5zG delta 12 TcmaDU{z`m97}MrZrYW2NBiID7 diff --git a/mobile/openapi/lib/model/system_config_o_auth_dto.dart b/mobile/openapi/lib/model/system_config_o_auth_dto.dart index bf39f969ccf640de75a60a9037e9bc16488dbfb4..1de193c20cb903fca796125076aa3eda35f65261 100644 GIT binary patch delta 52 zcmX@6yIXfd6wBmj7PZMuELxM-0_iI(N|V0>*-ESmlbu;rCTFnPOkT=rGWiy(%;xW` G=LG=ma1xdP delta 52 zcmdn3drWsj6wBmD7WK*XEZUP-0_pQC%9B3=+0v|vldV}*C&#nePM*zbI{7@S?B>_3 G7X$$4%o0=p diff --git a/mobile/openapi/lib/model/system_config_password_login_dto.dart b/mobile/openapi/lib/model/system_config_password_login_dto.dart index 1e9dc20cb8db34a57a293bc3b16d3e98b1f8abaa..840206acc984b6e232931adf2c6d45ade9ff8e54 100644 GIT binary patch delta 12 TcmX>mepGyeAJb-krgBaIAUFg* delta 12 TcmX>qeoTCWAJb-ErV35~ATR_y diff --git a/mobile/openapi/lib/model/system_config_reverse_geocoding_dto.dart b/mobile/openapi/lib/model/system_config_reverse_geocoding_dto.dart index d995d96673ea31f87df14eebcda34ca7ca2ab10e..9e5ea396d42a27ba1f557a9beb9c83264e09c50c 100644 GIT binary patch delta 12 Tcmew({#$%Q6w~HtriGjUCA0+W delta 12 Tcmew@{zrU66w~HNrbV0pC9DMN diff --git a/mobile/openapi/lib/model/system_config_server_dto.dart b/mobile/openapi/lib/model/system_config_server_dto.dart index 5b1e035b8c224982aaf0cace30d8be8be4cab402..998aec96e1d4fb5c1712d3688c7558a4ec227a72 100644 GIT binary patch delta 16 Xcmew%`Au>|6Vv2oCcVv@nB2GkKJo@q delta 16 Xcmew+`9pF;6Vv2ICjHIpncTSmKH3IP diff --git a/mobile/openapi/lib/model/system_config_storage_template_dto.dart b/mobile/openapi/lib/model/system_config_storage_template_dto.dart index d2ed327733f158c510a3506a0379bbfa82d41231..f8348c33fc02972f2217682e9caea1279e204edc 100644 GIT binary patch delta 20 ccmeB@ZI|6}iD~j>CWXmgm>f2nGKX>l09Eq`YybcN delta 20 ccmZpd?ULPaiD~jhCdJ7gnH)D8GKX;k09C&SW&i*H diff --git a/mobile/openapi/lib/model/system_config_template_storage_option_dto.dart b/mobile/openapi/lib/model/system_config_template_storage_option_dto.dart index da9138745f5223a8d99ef7fec5b82d57383b7bfc..1992530b40599541047823fc47ac1b9d308079bd 100644 GIT binary patch delta 1054 zcmaE(+hVxEj-@_6B{j9cwXifXC$pqdFBQZn*2pi(NG;M!Nv!lQD9OyvE7nm!ur(Fb z)VLIY0FTa${L&)0RwNFl-g-=Hb2IZwOH$$5QMi}}V9}qSSCWCyj>N;FTO7mJ1x2aF zsU?#O*u}K4sK-!VoSK}UmomAJU96rM<>jfV*>JZZafs1dnVN_QRV0q4H5V{K95zp2 z{ld!OS&~|mn3R(`S&>(K@_cRqeVBlzUUFh_iA``xQD$Dcorb1fNxn~JafwEHQGPi{ zgOx%WFzQn$H}We?e#EVgYS0gEKBL591#-;F;L%1lOJeeR9wD+E^@T?h*&t1_45{Ts wagF%osk{Q@`izqg%`AUDVX_=Gl@Beruk#6#Wso#KnnAJrBpbB3kw2Rq0GZ=%7XSbN delta 660 zcmZoMe51R;j-_59za%5ING~O^(!Zc2Ge56b!PZs*iKnK2 z6O!l3Q&Y2%)FN|Hjjc>gL<)t;8<=G`8?(J+W%0=@E}1OLCqCJlM?e_F(bP*$EH1GL zE-A{)OSjXQtjMo4c@B>%Lg51*L7WPmcr{@PB_?3ne0#3$e9 q6UL#?8)lODfvQOcg*e(*OVf delta 24 gcmaDW^HFBQd8WzdnA9hKVN#wf#;my6jM68PE@npi&AXWQu>k-w9|ijW diff --git a/mobile/openapi/lib/model/thumbnail_format.dart b/mobile/openapi/lib/model/thumbnail_format.dart index f8d51db2d347c930d15858ffab3383107ac43f4b..506726e3bc2469ddc87fc547c9d772343a4c8fd5 100644 GIT binary patch delta 12 Ucmca7a#v)-EauI#nGdr80444PO8@`> delta 14 WcmcaBa!+K#EM`Xg&9j&fvjG4t%LR%6 diff --git a/mobile/openapi/lib/model/time_bucket_response_dto.dart b/mobile/openapi/lib/model/time_bucket_response_dto.dart index 3731cd1bc13d5126771225d7cf9079f7c7f1d093..da86bc4650944d36e0742811aeb6491b29772074 100644 GIT binary patch delta 16 Xcmdldu}5Mma#Uo)MCQ$tn76P203%%l`Tzg` delta 14 WcmX>qa!h2yL}o_&%@dioumJ!n$OSn7 diff --git a/mobile/openapi/lib/model/tone_mapping.dart b/mobile/openapi/lib/model/tone_mapping.dart index 69819636e65b2654b2151d2b71d16b8f0eb2803d..bb6206193a63c050ad33a6b797db515fc7dc7c92 100644 GIT binary patch delta 12 TcmZn`YZBYQ&a#<<0mo!R4i(n?l8n@%$p^W`Cl_%jOrFf4v3U=N87~0ei3{lf delta 24 gcmaE-{YiU+0mo#04%NxQ9JZ7DIW#wK=P>650CRl^LI3~& diff --git a/mobile/openapi/lib/model/update_asset_dto.dart b/mobile/openapi/lib/model/update_asset_dto.dart index d90b365b72705dffea67fdbc8788f40e3d62e99d..e8402f1bf839053d8ea5bc4fc3d3282ebd2937ac 100644 GIT binary patch delta 108 zcmZ2%Hp_H_9QR~-ZllRT+!~Xsxz#2w0^*b0N}JzsH*+ZDmFDUdBo-B?YN)GJXBFq? lMHi{(B$i~Bl%}Mr$JVM(z91r|h*eR3UOHUWW>3*utN;$>CW`<7 delta 257 zcmbPby4Y-k9QR~dZsW=R+?tcixz#7n1>(cp%A22Zw{X;F73b$g7pdnYmSmQcrlhLJ zD%jd8+a48@GdrToKpir(}L1IyHss@H3dL{Y6B}JKe=^C1vI&hP6^7GQcwpb~^ VbVS31D6<%03X;v64~X1i1po&AP2T_j diff --git a/mobile/openapi/lib/model/update_library_dto.dart b/mobile/openapi/lib/model/update_library_dto.dart index 4bceea393cc0b0bf305382feada363f5eebfa098..b870f240fe08def8330c6304167f3c260222a1de 100644 GIT binary patch delta 261 zcmbQG@=s+$4XbE;N@{9>Yhh_(PG(7^UMh%DtTDNkRXjvTA+;hor?faTKQAD$q$IT{ zuUJz-O^r(d2(aqPFUd$P(#y;($S*1Z>c}Y8Q9$B=^-jLdsX}ane8SEi%({8$>a^(;*+Jh#f3o}O}*sA;u4$SlA_GK XbUTg7iQMimMH)C1C~wx{31I^OznwNF diff --git a/mobile/openapi/lib/model/update_partner_dto.dart b/mobile/openapi/lib/model/update_partner_dto.dart index 6a8aaf16189e5610f3e2f1054344dd4e812e958b..8156803c6189dbb5469fa66d5ee61b034bb46461 100644 GIT binary patch delta 12 TcmbOvHc@PY3e#p)rnejb8p#9o delta 12 TcmbOzHc4!Q3e#p~rgt0w8o>kf diff --git a/mobile/openapi/lib/model/update_stack_parent_dto.dart b/mobile/openapi/lib/model/update_stack_parent_dto.dart index 8940f748de9c99b43156a0f40479376f8b15dc02..12fda9d630b25010bbdc568fc8761e2da210c009 100644 GIT binary patch delta 16 XcmZpZY?0iM$22*gNn`U2rgxkGFx>^s delta 16 XcmZpXY?IuO$22*YNptg5ruUoxFvSJR diff --git a/mobile/openapi/lib/model/update_tag_dto.dart b/mobile/openapi/lib/model/update_tag_dto.dart index f1ea738c02335a92cc4aaf7e6f5019b503a6f2fc..6075bc79630a74cb5ef60a616b1a06232a886375 100644 GIT binary patch delta 12 TcmdlWv0h?BJoDxR<_jDEAKe6y delta 12 TcmZ24u|Z-(JoDx_=8GHvAJqhp diff --git a/mobile/openapi/lib/model/update_user_dto.dart b/mobile/openapi/lib/model/update_user_dto.dart index f64fde7f7777049602b6e37288935e19a7c456ed..52024017872f23409063befd6d1b4b2e857596e3 100644 GIT binary patch delta 96 zcmaFjb<=Buw7_H;0gcJ70y2}61hjqJuxX_whBgLU&v)_e{C9)JX0 delta 14 VcmZpd>5$nlgO$;K^9 diff --git a/mobile/openapi/lib/model/user_dto.dart b/mobile/openapi/lib/model/user_dto.dart index ad39f84e03a9cb11b307ddd384c6fc53bc24a5a2..431648605cd11a6467a738dc67e6957297155cbb 100644 GIT binary patch delta 43 ycmZ24vr1;eVW!DPm^3E8Ws(ufFUd$P(#uRyu(eeHl4@#PlVzFZHrp_N<^lj$_zn^P delta 45 zcmZ1_vtDMyVW!E4m^3H9Vv-e6$S=uAEz-+OQLwdD0Fr8ITndvVndLT{F@NC#0B!RQ ANB{r; diff --git a/mobile/openapi/lib/model/user_response_dto.dart b/mobile/openapi/lib/model/user_response_dto.dart index 34e98afbf1ba6ad3136662cb88aa0bc50c60f468..9da67392bd788efb8cd54a93abebd706ab672851 100644 GIT binary patch delta 126 zcmca_f60EsLbl0^*fb`eW>cB`0fYQS7bwldVKmtkh%-1$CeP)tntX#pYcn&aKM!NkWRc}HUK(fC@25` delta 103 zcmca)f8Tz?Lbk~Z*fb}fU{js^28adNWhd*fYl|r4mt>?C>1C!U*xD)pNi{Vtg~^%h zDwBKI4JYqmm!5o$U2*a^cH_w!9LAHQI7}z^aad12!J)nR6Gs5gWM@&!&9$PD%$u)E H{AL3H8jd3c diff --git a/mobile/openapi/lib/model/validate_access_token_response_dto.dart b/mobile/openapi/lib/model/validate_access_token_response_dto.dart index b06bd663e09145f2fc093373c98fc03b8d353f05..f04ca200fc37dac0a0b5a575236d596533ab671a 100644 GIT binary patch delta 12 TcmeB^=#|(I!?Zb;X(J~99Et=c delta 12 TcmeB`=#$tG!?Zb?X%i;^9D)QT diff --git a/mobile/openapi/lib/model/video_codec.dart b/mobile/openapi/lib/model/video_codec.dart index 784c4acb51a9ba35d80f26a45d149edae2b388a2..2cc18d1ae0c8beaa9d0aed229902ea895f90b29b 100644 GIT binary patch delta 12 UcmX>ma#Uo)Lgvkjn3u2t03+=M3IG5A delta 14 WcmX>qa!h2yLS{z$%?p{AumJ!ocm+uS diff --git a/mobile/openapi/pubspec.yaml b/mobile/openapi/pubspec.yaml index e61130a38d..41ab08885c 100644 --- a/mobile/openapi/pubspec.yaml +++ b/mobile/openapi/pubspec.yaml @@ -9,6 +9,7 @@ homepage: 'homepage' environment: sdk: '>=2.12.0 <3.0.0' dependencies: + collection: '^1.17.0' http: '>=0.13.0 <0.14.0' intl: '^0.18.0' meta: '^1.1.8' diff --git a/open-api/bin/generate-open-api.sh b/open-api/bin/generate-open-api.sh index f18968e956..b6c1541906 100755 --- a/open-api/bin/generate-open-api.sh +++ b/open-api/bin/generate-open-api.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -OPENAPI_GENERATOR_VERSION=v6.6.0 +OPENAPI_GENERATOR_VERSION=v7.2.0 # usage: ./bin/generate-open-api.sh @@ -7,14 +7,13 @@ function dart { rm -rf ../mobile/openapi cd ./templates/mobile/serialization/native wget -O native_class.mustache https://raw.githubusercontent.com/OpenAPITools/openapi-generator/$OPENAPI_GENERATOR_VERSION/modules/openapi-generator/src/main/resources/dart2/serialization/native/native_class.mustache - patch -u native_class.mustache deserializeAsync(String json, String targetType, {bool growable = false,}) async => -+ Future deserializeAsync(String json, String targetType, {bool growable = false,}) => +- Future deserializeAsync(String value, String targetType, {bool growable = false,}) async => ++ Future deserializeAsync(String value, String targetType, {bool growable = false,}) => // ignore: deprecated_member_use_from_same_package - deserialize(json, targetType, growable: growable); + deserialize(value, targetType, growable: growable); @Deprecated('Scheduled for removal in OpenAPI Generator 6.x. Use deserializeAsync() instead.') -- dynamic deserialize(String json, String targetType, {bool growable = false,}) { -+ Future deserialize(String json, String targetType, {bool growable = false,}) async { +- dynamic deserialize(String value, String targetType, {bool growable = false,}) { ++ Future deserialize(String value, String targetType, {bool growable = false,}) async { // Remove all spaces. Necessary for regular expressions as well. targetType = targetType.replaceAll(' ', ''); // ignore: parameter_assignments // If the expected target type is String, nothing to do... return targetType == 'String' - ? json -- : _deserialize(jsonDecode(json), targetType, growable: growable); -+ : _deserialize(await compute((String j) => jsonDecode(j), json), targetType, growable: growable); + ? value +- : fromJson(json.decode(value), targetType, growable: growable); ++ : fromJson(await compute((String j) => json.decode(j), value), targetType, growable: growable); } diff --git a/open-api/templates/mobile/serialization/native/native_class.mustache b/open-api/templates/mobile/serialization/native/native_class.mustache index 7c6bdcf6e4..254843e00e 100644 --- a/open-api/templates/mobile/serialization/native/native_class.mustache +++ b/open-api/templates/mobile/serialization/native/native_class.mustache @@ -38,7 +38,7 @@ class {{{classname}}} { @override bool operator ==(Object other) => identical(this, other) || other is {{{classname}}} && {{#vars}} - other.{{{name}}} == {{{name}}}{{^-last}} &&{{/-last}}{{#-last}};{{/-last}} + {{#isMap}}_deepEquality.equals(other.{{{name}}}, {{{name}}}){{/isMap}}{{^isMap}}{{#isArray}}_deepEquality.equals(other.{{{name}}}, {{{name}}}){{/isArray}}{{^isArray}}other.{{{name}}} == {{{name}}}{{/isArray}}{{/isMap}}{{^-last}} &&{{/-last}}{{#-last}};{{/-last}} {{/vars}} @override @@ -66,7 +66,7 @@ class {{{classname}}} { {{/isNullable}} {{#isDateTime}} {{#pattern}} - json[r'{{{baseName}}}'] = _dateEpochMarker == '{{{pattern}}}' + json[r'{{{baseName}}}'] = _isEpochMarker(r'{{{pattern}}}') ? this.{{{name}}}{{#isNullable}}!{{/isNullable}}{{^isNullable}}{{^required}}{{^defaultValue}}!{{/defaultValue}}{{/required}}{{/isNullable}}.millisecondsSinceEpoch : this.{{{name}}}{{#isNullable}}!{{/isNullable}}{{^isNullable}}{{^required}}{{^defaultValue}}!{{/defaultValue}}{{/required}}{{/isNullable}}.toUtc().toIso8601String(); {{/pattern}} @@ -76,7 +76,7 @@ class {{{classname}}} { {{/isDateTime}} {{#isDate}} {{#pattern}} - json[r'{{{baseName}}}'] = _dateEpochMarker == '{{{pattern}}}' + json[r'{{{baseName}}}'] = _isEpochMarker(r'{{{pattern}}}') ? this.{{{name}}}{{#isNullable}}!{{/isNullable}}{{^isNullable}}{{^required}}{{^defaultValue}}!{{/defaultValue}}{{/required}}{{/isNullable}}.millisecondsSinceEpoch : _dateFormatter.format(this.{{{name}}}{{#isNullable}}!{{/isNullable}}{{^isNullable}}{{^required}}{{^defaultValue}}!{{/defaultValue}}{{/required}}{{/isNullable}}.toUtc()); {{/pattern}} @@ -86,7 +86,7 @@ class {{{classname}}} { {{/isDate}} {{^isDateTime}} {{^isDate}} - json[r'{{{baseName}}}'] = this.{{{name}}}; + json[r'{{{baseName}}}'] = this.{{{name}}}{{#isArray}}{{#uniqueItems}}{{#isNullable}}!{{/isNullable}}.toList(growable: false){{/uniqueItems}}{{/isArray}}; {{/isDate}} {{/isDateTime}} {{#isNullable}} @@ -117,10 +117,10 @@ class {{{classname}}} { return {{{classname}}}( {{#vars}} {{#isDateTime}} - {{{name}}}: mapDateTime(json, r'{{{baseName}}}', '{{{pattern}}}'){{#required}}{{^isNullable}}!{{/isNullable}}{{/required}}{{^required}}{{#defaultValue}} ?? {{{.}}}{{/defaultValue}}{{/required}}, + {{{name}}}: mapDateTime(json, r'{{{baseName}}}', r'{{{pattern}}}'){{#required}}{{^isNullable}}!{{/isNullable}}{{/required}}{{^required}}{{#defaultValue}} ?? {{{.}}}{{/defaultValue}}{{/required}}, {{/isDateTime}} {{#isDate}} - {{{name}}}: mapDateTime(json, r'{{{baseName}}}', '{{{pattern}}}'){{#required}}{{^isNullable}}!{{/isNullable}}{{/required}}{{^required}}{{#defaultValue}} ?? {{{.}}}{{/defaultValue}}{{/required}}, + {{{name}}}: mapDateTime(json, r'{{{baseName}}}', r'{{{pattern}}}'){{#required}}{{^isNullable}}!{{/isNullable}}{{/required}}{{^required}}{{#defaultValue}} ?? {{{.}}}{{/defaultValue}}{{/required}}, {{/isDate}} {{^isDateTime}} {{^isDate}} @@ -189,8 +189,8 @@ class {{{classname}}} { {{{name}}}: {{{items.datatypeWithEnum}}}.listFromJson(json[r'{{{baseName}}}']){{#uniqueItems}}.toSet(){{/uniqueItems}}, {{/isEnum}} {{^isEnum}} - {{{name}}}: json[r'{{{baseName}}}'] is {{#uniqueItems}}Set{{/uniqueItems}}{{^uniqueItems}}List{{/uniqueItems}} - ? (json[r'{{{baseName}}}'] as {{#uniqueItems}}Set{{/uniqueItems}}{{^uniqueItems}}List{{/uniqueItems}}).cast<{{{items.datatype}}}>() + {{{name}}}: json[r'{{{baseName}}}'] is Iterable + ? (json[r'{{{baseName}}}'] as Iterable).cast<{{{items.datatype}}}>().{{#uniqueItems}}toSet(){{/uniqueItems}}{{^uniqueItems}}toList(growable: false){{/uniqueItems}} : {{#defaultValue}}{{{.}}}{{/defaultValue}}{{^defaultValue}}null{{/defaultValue}}, {{/isEnum}} {{/isArray}} @@ -200,9 +200,9 @@ class {{{classname}}} { {{/isMap}} {{^isMap}} {{#isNumber}} - {{{name}}}: json[r'{{{baseName}}}'] == null + {{{name}}}: {{#isNullable}}json[r'{{{baseName}}}'] == null ? {{#defaultValue}}{{{.}}}{{/defaultValue}}{{^defaultValue}}null{{/defaultValue}} - : {{{datatypeWithEnum}}}.parse(json[r'{{{baseName}}}'].toString()), + : {{/isNullable}}{{{datatypeWithEnum}}}.parse('${json[r'{{{baseName}}}']}'), {{/isNumber}} {{#isDouble}} {{{name}}}: (mapValueOfType(json, r'{{{baseName}}}'){{#required}}{{^isNullable}}!{{/isNullable}}{{/required}}{{^required}}{{#defaultValue}} ?? {{{.}}}{{/defaultValue}}{{/required}}).toDouble(), diff --git a/open-api/typescript-sdk/client/.openapi-generator/VERSION b/open-api/typescript-sdk/client/.openapi-generator/VERSION index 4be2c727ad..4b49d9bb63 100644 --- a/open-api/typescript-sdk/client/.openapi-generator/VERSION +++ b/open-api/typescript-sdk/client/.openapi-generator/VERSION @@ -1 +1 @@ -6.5.0 \ No newline at end of file +7.2.0 \ No newline at end of file diff --git a/open-api/typescript-sdk/client/api.ts b/open-api/typescript-sdk/client/api.ts index 08eccf7a07..c9408d8cec 100644 --- a/open-api/typescript-sdk/client/api.ts +++ b/open-api/typescript-sdk/client/api.ts @@ -14,14 +14,14 @@ import type { Configuration } from './configuration'; -import type { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios'; +import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios'; import globalAxios from 'axios'; // Some imports not used depending on template conditions // @ts-ignore import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from './common'; import type { RequestArgs } from './base'; // @ts-ignore -import { BASE_PATH, COLLECTION_FORMATS, BaseAPI, RequiredError } from './base'; +import { BASE_PATH, COLLECTION_FORMATS, BaseAPI, RequiredError, operationServerMap } from './base'; /** * @@ -4840,7 +4840,7 @@ export const APIKeyApiAxiosParamCreator = function (configuration?: Configuratio * @param {*} [options] Override http request option. * @throws {RequiredError} */ - createApiKey: async (aPIKeyCreateDto: APIKeyCreateDto, options: AxiosRequestConfig = {}): Promise => { + createApiKey: async (aPIKeyCreateDto: APIKeyCreateDto, options: RawAxiosRequestConfig = {}): Promise => { // verify required parameter 'aPIKeyCreateDto' is not null or undefined assertParamExists('createApiKey', 'aPIKeyCreateDto', aPIKeyCreateDto) const localVarPath = `/api-key`; @@ -4884,7 +4884,7 @@ export const APIKeyApiAxiosParamCreator = function (configuration?: Configuratio * @param {*} [options] Override http request option. * @throws {RequiredError} */ - deleteApiKey: async (id: string, options: AxiosRequestConfig = {}): Promise => { + deleteApiKey: async (id: string, options: RawAxiosRequestConfig = {}): Promise => { // verify required parameter 'id' is not null or undefined assertParamExists('deleteApiKey', 'id', id) const localVarPath = `/api-key/{id}` @@ -4926,7 +4926,7 @@ export const APIKeyApiAxiosParamCreator = function (configuration?: Configuratio * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getApiKey: async (id: string, options: AxiosRequestConfig = {}): Promise => { + getApiKey: async (id: string, options: RawAxiosRequestConfig = {}): Promise => { // verify required parameter 'id' is not null or undefined assertParamExists('getApiKey', 'id', id) const localVarPath = `/api-key/{id}` @@ -4967,7 +4967,7 @@ export const APIKeyApiAxiosParamCreator = function (configuration?: Configuratio * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getApiKeys: async (options: AxiosRequestConfig = {}): Promise => { + getApiKeys: async (options: RawAxiosRequestConfig = {}): Promise => { const localVarPath = `/api-key`; // use dummy base URL string because the URL constructor only accepts absolute URLs. const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); @@ -5007,7 +5007,7 @@ export const APIKeyApiAxiosParamCreator = function (configuration?: Configuratio * @param {*} [options] Override http request option. * @throws {RequiredError} */ - updateApiKey: async (id: string, aPIKeyUpdateDto: APIKeyUpdateDto, options: AxiosRequestConfig = {}): Promise => { + updateApiKey: async (id: string, aPIKeyUpdateDto: APIKeyUpdateDto, options: RawAxiosRequestConfig = {}): Promise => { // verify required parameter 'id' is not null or undefined assertParamExists('updateApiKey', 'id', id) // verify required parameter 'aPIKeyUpdateDto' is not null or undefined @@ -5064,9 +5064,11 @@ export const APIKeyApiFp = function(configuration?: Configuration) { * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async createApiKey(aPIKeyCreateDto: APIKeyCreateDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + async createApiKey(aPIKeyCreateDto: APIKeyCreateDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { const localVarAxiosArgs = await localVarAxiosParamCreator.createApiKey(aPIKeyCreateDto, options); - return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + const index = configuration?.serverIndex ?? 0; + const operationBasePath = operationServerMap['APIKeyApi.createApiKey']?.[index]?.url; + return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); }, /** * @@ -5074,9 +5076,11 @@ export const APIKeyApiFp = function(configuration?: Configuration) { * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async deleteApiKey(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + async deleteApiKey(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { const localVarAxiosArgs = await localVarAxiosParamCreator.deleteApiKey(id, options); - return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + const index = configuration?.serverIndex ?? 0; + const operationBasePath = operationServerMap['APIKeyApi.deleteApiKey']?.[index]?.url; + return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); }, /** * @@ -5084,18 +5088,22 @@ export const APIKeyApiFp = function(configuration?: Configuration) { * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async getApiKey(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + async getApiKey(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { const localVarAxiosArgs = await localVarAxiosParamCreator.getApiKey(id, options); - return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + const index = configuration?.serverIndex ?? 0; + const operationBasePath = operationServerMap['APIKeyApi.getApiKey']?.[index]?.url; + return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); }, /** * * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async getApiKeys(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>> { + async getApiKeys(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>> { const localVarAxiosArgs = await localVarAxiosParamCreator.getApiKeys(options); - return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + const index = configuration?.serverIndex ?? 0; + const operationBasePath = operationServerMap['APIKeyApi.getApiKeys']?.[index]?.url; + return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); }, /** * @@ -5104,9 +5112,11 @@ export const APIKeyApiFp = function(configuration?: Configuration) { * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async updateApiKey(id: string, aPIKeyUpdateDto: APIKeyUpdateDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + async updateApiKey(id: string, aPIKeyUpdateDto: APIKeyUpdateDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { const localVarAxiosArgs = await localVarAxiosParamCreator.updateApiKey(id, aPIKeyUpdateDto, options); - return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + const index = configuration?.serverIndex ?? 0; + const operationBasePath = operationServerMap['APIKeyApi.updateApiKey']?.[index]?.url; + return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); }, } }; @@ -5124,7 +5134,7 @@ export const APIKeyApiFactory = function (configuration?: Configuration, basePat * @param {*} [options] Override http request option. * @throws {RequiredError} */ - createApiKey(requestParameters: APIKeyApiCreateApiKeyRequest, options?: AxiosRequestConfig): AxiosPromise { + createApiKey(requestParameters: APIKeyApiCreateApiKeyRequest, options?: RawAxiosRequestConfig): AxiosPromise { return localVarFp.createApiKey(requestParameters.aPIKeyCreateDto, options).then((request) => request(axios, basePath)); }, /** @@ -5133,7 +5143,7 @@ export const APIKeyApiFactory = function (configuration?: Configuration, basePat * @param {*} [options] Override http request option. * @throws {RequiredError} */ - deleteApiKey(requestParameters: APIKeyApiDeleteApiKeyRequest, options?: AxiosRequestConfig): AxiosPromise { + deleteApiKey(requestParameters: APIKeyApiDeleteApiKeyRequest, options?: RawAxiosRequestConfig): AxiosPromise { return localVarFp.deleteApiKey(requestParameters.id, options).then((request) => request(axios, basePath)); }, /** @@ -5142,7 +5152,7 @@ export const APIKeyApiFactory = function (configuration?: Configuration, basePat * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getApiKey(requestParameters: APIKeyApiGetApiKeyRequest, options?: AxiosRequestConfig): AxiosPromise { + getApiKey(requestParameters: APIKeyApiGetApiKeyRequest, options?: RawAxiosRequestConfig): AxiosPromise { return localVarFp.getApiKey(requestParameters.id, options).then((request) => request(axios, basePath)); }, /** @@ -5150,7 +5160,7 @@ export const APIKeyApiFactory = function (configuration?: Configuration, basePat * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getApiKeys(options?: AxiosRequestConfig): AxiosPromise> { + getApiKeys(options?: RawAxiosRequestConfig): AxiosPromise> { return localVarFp.getApiKeys(options).then((request) => request(axios, basePath)); }, /** @@ -5159,7 +5169,7 @@ export const APIKeyApiFactory = function (configuration?: Configuration, basePat * @param {*} [options] Override http request option. * @throws {RequiredError} */ - updateApiKey(requestParameters: APIKeyApiUpdateApiKeyRequest, options?: AxiosRequestConfig): AxiosPromise { + updateApiKey(requestParameters: APIKeyApiUpdateApiKeyRequest, options?: RawAxiosRequestConfig): AxiosPromise { return localVarFp.updateApiKey(requestParameters.id, requestParameters.aPIKeyUpdateDto, options).then((request) => request(axios, basePath)); }, }; @@ -5242,7 +5252,7 @@ export class APIKeyApi extends BaseAPI { * @throws {RequiredError} * @memberof APIKeyApi */ - public createApiKey(requestParameters: APIKeyApiCreateApiKeyRequest, options?: AxiosRequestConfig) { + public createApiKey(requestParameters: APIKeyApiCreateApiKeyRequest, options?: RawAxiosRequestConfig) { return APIKeyApiFp(this.configuration).createApiKey(requestParameters.aPIKeyCreateDto, options).then((request) => request(this.axios, this.basePath)); } @@ -5253,7 +5263,7 @@ export class APIKeyApi extends BaseAPI { * @throws {RequiredError} * @memberof APIKeyApi */ - public deleteApiKey(requestParameters: APIKeyApiDeleteApiKeyRequest, options?: AxiosRequestConfig) { + public deleteApiKey(requestParameters: APIKeyApiDeleteApiKeyRequest, options?: RawAxiosRequestConfig) { return APIKeyApiFp(this.configuration).deleteApiKey(requestParameters.id, options).then((request) => request(this.axios, this.basePath)); } @@ -5264,7 +5274,7 @@ export class APIKeyApi extends BaseAPI { * @throws {RequiredError} * @memberof APIKeyApi */ - public getApiKey(requestParameters: APIKeyApiGetApiKeyRequest, options?: AxiosRequestConfig) { + public getApiKey(requestParameters: APIKeyApiGetApiKeyRequest, options?: RawAxiosRequestConfig) { return APIKeyApiFp(this.configuration).getApiKey(requestParameters.id, options).then((request) => request(this.axios, this.basePath)); } @@ -5274,7 +5284,7 @@ export class APIKeyApi extends BaseAPI { * @throws {RequiredError} * @memberof APIKeyApi */ - public getApiKeys(options?: AxiosRequestConfig) { + public getApiKeys(options?: RawAxiosRequestConfig) { return APIKeyApiFp(this.configuration).getApiKeys(options).then((request) => request(this.axios, this.basePath)); } @@ -5285,12 +5295,13 @@ export class APIKeyApi extends BaseAPI { * @throws {RequiredError} * @memberof APIKeyApi */ - public updateApiKey(requestParameters: APIKeyApiUpdateApiKeyRequest, options?: AxiosRequestConfig) { + public updateApiKey(requestParameters: APIKeyApiUpdateApiKeyRequest, options?: RawAxiosRequestConfig) { return APIKeyApiFp(this.configuration).updateApiKey(requestParameters.id, requestParameters.aPIKeyUpdateDto, options).then((request) => request(this.axios, this.basePath)); } } + /** * ActivityApi - axios parameter creator * @export @@ -5303,7 +5314,7 @@ export const ActivityApiAxiosParamCreator = function (configuration?: Configurat * @param {*} [options] Override http request option. * @throws {RequiredError} */ - createActivity: async (activityCreateDto: ActivityCreateDto, options: AxiosRequestConfig = {}): Promise => { + createActivity: async (activityCreateDto: ActivityCreateDto, options: RawAxiosRequestConfig = {}): Promise => { // verify required parameter 'activityCreateDto' is not null or undefined assertParamExists('createActivity', 'activityCreateDto', activityCreateDto) const localVarPath = `/activity`; @@ -5347,7 +5358,7 @@ export const ActivityApiAxiosParamCreator = function (configuration?: Configurat * @param {*} [options] Override http request option. * @throws {RequiredError} */ - deleteActivity: async (id: string, options: AxiosRequestConfig = {}): Promise => { + deleteActivity: async (id: string, options: RawAxiosRequestConfig = {}): Promise => { // verify required parameter 'id' is not null or undefined assertParamExists('deleteActivity', 'id', id) const localVarPath = `/activity/{id}` @@ -5393,7 +5404,7 @@ export const ActivityApiAxiosParamCreator = function (configuration?: Configurat * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getActivities: async (albumId: string, assetId?: string, level?: ReactionLevel, type?: ReactionType, userId?: string, options: AxiosRequestConfig = {}): Promise => { + getActivities: async (albumId: string, assetId?: string, level?: ReactionLevel, type?: ReactionType, userId?: string, options: RawAxiosRequestConfig = {}): Promise => { // verify required parameter 'albumId' is not null or undefined assertParamExists('getActivities', 'albumId', albumId) const localVarPath = `/activity`; @@ -5455,7 +5466,7 @@ export const ActivityApiAxiosParamCreator = function (configuration?: Configurat * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getActivityStatistics: async (albumId: string, assetId?: string, options: AxiosRequestConfig = {}): Promise => { + getActivityStatistics: async (albumId: string, assetId?: string, options: RawAxiosRequestConfig = {}): Promise => { // verify required parameter 'albumId' is not null or undefined assertParamExists('getActivityStatistics', 'albumId', albumId) const localVarPath = `/activity/statistics`; @@ -5514,9 +5525,11 @@ export const ActivityApiFp = function(configuration?: Configuration) { * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async createActivity(activityCreateDto: ActivityCreateDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + async createActivity(activityCreateDto: ActivityCreateDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { const localVarAxiosArgs = await localVarAxiosParamCreator.createActivity(activityCreateDto, options); - return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + const index = configuration?.serverIndex ?? 0; + const operationBasePath = operationServerMap['ActivityApi.createActivity']?.[index]?.url; + return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); }, /** * @@ -5524,9 +5537,11 @@ export const ActivityApiFp = function(configuration?: Configuration) { * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async deleteActivity(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + async deleteActivity(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { const localVarAxiosArgs = await localVarAxiosParamCreator.deleteActivity(id, options); - return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + const index = configuration?.serverIndex ?? 0; + const operationBasePath = operationServerMap['ActivityApi.deleteActivity']?.[index]?.url; + return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); }, /** * @@ -5538,9 +5553,11 @@ export const ActivityApiFp = function(configuration?: Configuration) { * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async getActivities(albumId: string, assetId?: string, level?: ReactionLevel, type?: ReactionType, userId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>> { + async getActivities(albumId: string, assetId?: string, level?: ReactionLevel, type?: ReactionType, userId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>> { const localVarAxiosArgs = await localVarAxiosParamCreator.getActivities(albumId, assetId, level, type, userId, options); - return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + const index = configuration?.serverIndex ?? 0; + const operationBasePath = operationServerMap['ActivityApi.getActivities']?.[index]?.url; + return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); }, /** * @@ -5549,9 +5566,11 @@ export const ActivityApiFp = function(configuration?: Configuration) { * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async getActivityStatistics(albumId: string, assetId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + async getActivityStatistics(albumId: string, assetId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { const localVarAxiosArgs = await localVarAxiosParamCreator.getActivityStatistics(albumId, assetId, options); - return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + const index = configuration?.serverIndex ?? 0; + const operationBasePath = operationServerMap['ActivityApi.getActivityStatistics']?.[index]?.url; + return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); }, } }; @@ -5569,7 +5588,7 @@ export const ActivityApiFactory = function (configuration?: Configuration, baseP * @param {*} [options] Override http request option. * @throws {RequiredError} */ - createActivity(requestParameters: ActivityApiCreateActivityRequest, options?: AxiosRequestConfig): AxiosPromise { + createActivity(requestParameters: ActivityApiCreateActivityRequest, options?: RawAxiosRequestConfig): AxiosPromise { return localVarFp.createActivity(requestParameters.activityCreateDto, options).then((request) => request(axios, basePath)); }, /** @@ -5578,7 +5597,7 @@ export const ActivityApiFactory = function (configuration?: Configuration, baseP * @param {*} [options] Override http request option. * @throws {RequiredError} */ - deleteActivity(requestParameters: ActivityApiDeleteActivityRequest, options?: AxiosRequestConfig): AxiosPromise { + deleteActivity(requestParameters: ActivityApiDeleteActivityRequest, options?: RawAxiosRequestConfig): AxiosPromise { return localVarFp.deleteActivity(requestParameters.id, options).then((request) => request(axios, basePath)); }, /** @@ -5587,7 +5606,7 @@ export const ActivityApiFactory = function (configuration?: Configuration, baseP * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getActivities(requestParameters: ActivityApiGetActivitiesRequest, options?: AxiosRequestConfig): AxiosPromise> { + getActivities(requestParameters: ActivityApiGetActivitiesRequest, options?: RawAxiosRequestConfig): AxiosPromise> { return localVarFp.getActivities(requestParameters.albumId, requestParameters.assetId, requestParameters.level, requestParameters.type, requestParameters.userId, options).then((request) => request(axios, basePath)); }, /** @@ -5596,7 +5615,7 @@ export const ActivityApiFactory = function (configuration?: Configuration, baseP * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getActivityStatistics(requestParameters: ActivityApiGetActivityStatisticsRequest, options?: AxiosRequestConfig): AxiosPromise { + getActivityStatistics(requestParameters: ActivityApiGetActivityStatisticsRequest, options?: RawAxiosRequestConfig): AxiosPromise { return localVarFp.getActivityStatistics(requestParameters.albumId, requestParameters.assetId, options).then((request) => request(axios, basePath)); }, }; @@ -5707,7 +5726,7 @@ export class ActivityApi extends BaseAPI { * @throws {RequiredError} * @memberof ActivityApi */ - public createActivity(requestParameters: ActivityApiCreateActivityRequest, options?: AxiosRequestConfig) { + public createActivity(requestParameters: ActivityApiCreateActivityRequest, options?: RawAxiosRequestConfig) { return ActivityApiFp(this.configuration).createActivity(requestParameters.activityCreateDto, options).then((request) => request(this.axios, this.basePath)); } @@ -5718,7 +5737,7 @@ export class ActivityApi extends BaseAPI { * @throws {RequiredError} * @memberof ActivityApi */ - public deleteActivity(requestParameters: ActivityApiDeleteActivityRequest, options?: AxiosRequestConfig) { + public deleteActivity(requestParameters: ActivityApiDeleteActivityRequest, options?: RawAxiosRequestConfig) { return ActivityApiFp(this.configuration).deleteActivity(requestParameters.id, options).then((request) => request(this.axios, this.basePath)); } @@ -5729,7 +5748,7 @@ export class ActivityApi extends BaseAPI { * @throws {RequiredError} * @memberof ActivityApi */ - public getActivities(requestParameters: ActivityApiGetActivitiesRequest, options?: AxiosRequestConfig) { + public getActivities(requestParameters: ActivityApiGetActivitiesRequest, options?: RawAxiosRequestConfig) { return ActivityApiFp(this.configuration).getActivities(requestParameters.albumId, requestParameters.assetId, requestParameters.level, requestParameters.type, requestParameters.userId, options).then((request) => request(this.axios, this.basePath)); } @@ -5740,12 +5759,13 @@ export class ActivityApi extends BaseAPI { * @throws {RequiredError} * @memberof ActivityApi */ - public getActivityStatistics(requestParameters: ActivityApiGetActivityStatisticsRequest, options?: AxiosRequestConfig) { + public getActivityStatistics(requestParameters: ActivityApiGetActivityStatisticsRequest, options?: RawAxiosRequestConfig) { return ActivityApiFp(this.configuration).getActivityStatistics(requestParameters.albumId, requestParameters.assetId, options).then((request) => request(this.axios, this.basePath)); } } + /** * AlbumApi - axios parameter creator * @export @@ -5760,7 +5780,7 @@ export const AlbumApiAxiosParamCreator = function (configuration?: Configuration * @param {*} [options] Override http request option. * @throws {RequiredError} */ - addAssetsToAlbum: async (id: string, bulkIdsDto: BulkIdsDto, key?: string, options: AxiosRequestConfig = {}): Promise => { + addAssetsToAlbum: async (id: string, bulkIdsDto: BulkIdsDto, key?: string, options: RawAxiosRequestConfig = {}): Promise => { // verify required parameter 'id' is not null or undefined assertParamExists('addAssetsToAlbum', 'id', id) // verify required parameter 'bulkIdsDto' is not null or undefined @@ -5812,7 +5832,7 @@ export const AlbumApiAxiosParamCreator = function (configuration?: Configuration * @param {*} [options] Override http request option. * @throws {RequiredError} */ - addUsersToAlbum: async (id: string, addUsersDto: AddUsersDto, options: AxiosRequestConfig = {}): Promise => { + addUsersToAlbum: async (id: string, addUsersDto: AddUsersDto, options: RawAxiosRequestConfig = {}): Promise => { // verify required parameter 'id' is not null or undefined assertParamExists('addUsersToAlbum', 'id', id) // verify required parameter 'addUsersDto' is not null or undefined @@ -5859,7 +5879,7 @@ export const AlbumApiAxiosParamCreator = function (configuration?: Configuration * @param {*} [options] Override http request option. * @throws {RequiredError} */ - createAlbum: async (createAlbumDto: CreateAlbumDto, options: AxiosRequestConfig = {}): Promise => { + createAlbum: async (createAlbumDto: CreateAlbumDto, options: RawAxiosRequestConfig = {}): Promise => { // verify required parameter 'createAlbumDto' is not null or undefined assertParamExists('createAlbum', 'createAlbumDto', createAlbumDto) const localVarPath = `/album`; @@ -5903,7 +5923,7 @@ export const AlbumApiAxiosParamCreator = function (configuration?: Configuration * @param {*} [options] Override http request option. * @throws {RequiredError} */ - deleteAlbum: async (id: string, options: AxiosRequestConfig = {}): Promise => { + deleteAlbum: async (id: string, options: RawAxiosRequestConfig = {}): Promise => { // verify required parameter 'id' is not null or undefined assertParamExists('deleteAlbum', 'id', id) const localVarPath = `/album/{id}` @@ -5944,7 +5964,7 @@ export const AlbumApiAxiosParamCreator = function (configuration?: Configuration * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getAlbumCount: async (options: AxiosRequestConfig = {}): Promise => { + getAlbumCount: async (options: RawAxiosRequestConfig = {}): Promise => { const localVarPath = `/album/count`; // use dummy base URL string because the URL constructor only accepts absolute URLs. const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); @@ -5985,7 +6005,7 @@ export const AlbumApiAxiosParamCreator = function (configuration?: Configuration * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getAlbumInfo: async (id: string, key?: string, withoutAssets?: boolean, options: AxiosRequestConfig = {}): Promise => { + getAlbumInfo: async (id: string, key?: string, withoutAssets?: boolean, options: RawAxiosRequestConfig = {}): Promise => { // verify required parameter 'id' is not null or undefined assertParamExists('getAlbumInfo', 'id', id) const localVarPath = `/album/{id}` @@ -6036,7 +6056,7 @@ export const AlbumApiAxiosParamCreator = function (configuration?: Configuration * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getAllAlbums: async (assetId?: string, shared?: boolean, options: AxiosRequestConfig = {}): Promise => { + getAllAlbums: async (assetId?: string, shared?: boolean, options: RawAxiosRequestConfig = {}): Promise => { const localVarPath = `/album`; // use dummy base URL string because the URL constructor only accepts absolute URLs. const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); @@ -6084,7 +6104,7 @@ export const AlbumApiAxiosParamCreator = function (configuration?: Configuration * @param {*} [options] Override http request option. * @throws {RequiredError} */ - removeAssetFromAlbum: async (id: string, bulkIdsDto: BulkIdsDto, options: AxiosRequestConfig = {}): Promise => { + removeAssetFromAlbum: async (id: string, bulkIdsDto: BulkIdsDto, options: RawAxiosRequestConfig = {}): Promise => { // verify required parameter 'id' is not null or undefined assertParamExists('removeAssetFromAlbum', 'id', id) // verify required parameter 'bulkIdsDto' is not null or undefined @@ -6132,7 +6152,7 @@ export const AlbumApiAxiosParamCreator = function (configuration?: Configuration * @param {*} [options] Override http request option. * @throws {RequiredError} */ - removeUserFromAlbum: async (id: string, userId: string, options: AxiosRequestConfig = {}): Promise => { + removeUserFromAlbum: async (id: string, userId: string, options: RawAxiosRequestConfig = {}): Promise => { // verify required parameter 'id' is not null or undefined assertParamExists('removeUserFromAlbum', 'id', id) // verify required parameter 'userId' is not null or undefined @@ -6178,7 +6198,7 @@ export const AlbumApiAxiosParamCreator = function (configuration?: Configuration * @param {*} [options] Override http request option. * @throws {RequiredError} */ - updateAlbumInfo: async (id: string, updateAlbumDto: UpdateAlbumDto, options: AxiosRequestConfig = {}): Promise => { + updateAlbumInfo: async (id: string, updateAlbumDto: UpdateAlbumDto, options: RawAxiosRequestConfig = {}): Promise => { // verify required parameter 'id' is not null or undefined assertParamExists('updateAlbumInfo', 'id', id) // verify required parameter 'updateAlbumDto' is not null or undefined @@ -6237,9 +6257,11 @@ export const AlbumApiFp = function(configuration?: Configuration) { * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async addAssetsToAlbum(id: string, bulkIdsDto: BulkIdsDto, key?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>> { + async addAssetsToAlbum(id: string, bulkIdsDto: BulkIdsDto, key?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>> { const localVarAxiosArgs = await localVarAxiosParamCreator.addAssetsToAlbum(id, bulkIdsDto, key, options); - return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + const index = configuration?.serverIndex ?? 0; + const operationBasePath = operationServerMap['AlbumApi.addAssetsToAlbum']?.[index]?.url; + return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); }, /** * @@ -6248,9 +6270,11 @@ export const AlbumApiFp = function(configuration?: Configuration) { * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async addUsersToAlbum(id: string, addUsersDto: AddUsersDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + async addUsersToAlbum(id: string, addUsersDto: AddUsersDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { const localVarAxiosArgs = await localVarAxiosParamCreator.addUsersToAlbum(id, addUsersDto, options); - return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + const index = configuration?.serverIndex ?? 0; + const operationBasePath = operationServerMap['AlbumApi.addUsersToAlbum']?.[index]?.url; + return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); }, /** * @@ -6258,9 +6282,11 @@ export const AlbumApiFp = function(configuration?: Configuration) { * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async createAlbum(createAlbumDto: CreateAlbumDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + async createAlbum(createAlbumDto: CreateAlbumDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { const localVarAxiosArgs = await localVarAxiosParamCreator.createAlbum(createAlbumDto, options); - return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + const index = configuration?.serverIndex ?? 0; + const operationBasePath = operationServerMap['AlbumApi.createAlbum']?.[index]?.url; + return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); }, /** * @@ -6268,18 +6294,22 @@ export const AlbumApiFp = function(configuration?: Configuration) { * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async deleteAlbum(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + async deleteAlbum(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { const localVarAxiosArgs = await localVarAxiosParamCreator.deleteAlbum(id, options); - return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + const index = configuration?.serverIndex ?? 0; + const operationBasePath = operationServerMap['AlbumApi.deleteAlbum']?.[index]?.url; + return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); }, /** * * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async getAlbumCount(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + async getAlbumCount(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { const localVarAxiosArgs = await localVarAxiosParamCreator.getAlbumCount(options); - return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + const index = configuration?.serverIndex ?? 0; + const operationBasePath = operationServerMap['AlbumApi.getAlbumCount']?.[index]?.url; + return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); }, /** * @@ -6289,9 +6319,11 @@ export const AlbumApiFp = function(configuration?: Configuration) { * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async getAlbumInfo(id: string, key?: string, withoutAssets?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + async getAlbumInfo(id: string, key?: string, withoutAssets?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { const localVarAxiosArgs = await localVarAxiosParamCreator.getAlbumInfo(id, key, withoutAssets, options); - return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + const index = configuration?.serverIndex ?? 0; + const operationBasePath = operationServerMap['AlbumApi.getAlbumInfo']?.[index]?.url; + return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); }, /** * @@ -6300,9 +6332,11 @@ export const AlbumApiFp = function(configuration?: Configuration) { * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async getAllAlbums(assetId?: string, shared?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>> { + async getAllAlbums(assetId?: string, shared?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>> { const localVarAxiosArgs = await localVarAxiosParamCreator.getAllAlbums(assetId, shared, options); - return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + const index = configuration?.serverIndex ?? 0; + const operationBasePath = operationServerMap['AlbumApi.getAllAlbums']?.[index]?.url; + return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); }, /** * @@ -6311,9 +6345,11 @@ export const AlbumApiFp = function(configuration?: Configuration) { * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async removeAssetFromAlbum(id: string, bulkIdsDto: BulkIdsDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>> { + async removeAssetFromAlbum(id: string, bulkIdsDto: BulkIdsDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>> { const localVarAxiosArgs = await localVarAxiosParamCreator.removeAssetFromAlbum(id, bulkIdsDto, options); - return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + const index = configuration?.serverIndex ?? 0; + const operationBasePath = operationServerMap['AlbumApi.removeAssetFromAlbum']?.[index]?.url; + return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); }, /** * @@ -6322,9 +6358,11 @@ export const AlbumApiFp = function(configuration?: Configuration) { * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async removeUserFromAlbum(id: string, userId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + async removeUserFromAlbum(id: string, userId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { const localVarAxiosArgs = await localVarAxiosParamCreator.removeUserFromAlbum(id, userId, options); - return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + const index = configuration?.serverIndex ?? 0; + const operationBasePath = operationServerMap['AlbumApi.removeUserFromAlbum']?.[index]?.url; + return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); }, /** * @@ -6333,9 +6371,11 @@ export const AlbumApiFp = function(configuration?: Configuration) { * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async updateAlbumInfo(id: string, updateAlbumDto: UpdateAlbumDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + async updateAlbumInfo(id: string, updateAlbumDto: UpdateAlbumDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { const localVarAxiosArgs = await localVarAxiosParamCreator.updateAlbumInfo(id, updateAlbumDto, options); - return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + const index = configuration?.serverIndex ?? 0; + const operationBasePath = operationServerMap['AlbumApi.updateAlbumInfo']?.[index]?.url; + return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); }, } }; @@ -6353,7 +6393,7 @@ export const AlbumApiFactory = function (configuration?: Configuration, basePath * @param {*} [options] Override http request option. * @throws {RequiredError} */ - addAssetsToAlbum(requestParameters: AlbumApiAddAssetsToAlbumRequest, options?: AxiosRequestConfig): AxiosPromise> { + addAssetsToAlbum(requestParameters: AlbumApiAddAssetsToAlbumRequest, options?: RawAxiosRequestConfig): AxiosPromise> { return localVarFp.addAssetsToAlbum(requestParameters.id, requestParameters.bulkIdsDto, requestParameters.key, options).then((request) => request(axios, basePath)); }, /** @@ -6362,7 +6402,7 @@ export const AlbumApiFactory = function (configuration?: Configuration, basePath * @param {*} [options] Override http request option. * @throws {RequiredError} */ - addUsersToAlbum(requestParameters: AlbumApiAddUsersToAlbumRequest, options?: AxiosRequestConfig): AxiosPromise { + addUsersToAlbum(requestParameters: AlbumApiAddUsersToAlbumRequest, options?: RawAxiosRequestConfig): AxiosPromise { return localVarFp.addUsersToAlbum(requestParameters.id, requestParameters.addUsersDto, options).then((request) => request(axios, basePath)); }, /** @@ -6371,7 +6411,7 @@ export const AlbumApiFactory = function (configuration?: Configuration, basePath * @param {*} [options] Override http request option. * @throws {RequiredError} */ - createAlbum(requestParameters: AlbumApiCreateAlbumRequest, options?: AxiosRequestConfig): AxiosPromise { + createAlbum(requestParameters: AlbumApiCreateAlbumRequest, options?: RawAxiosRequestConfig): AxiosPromise { return localVarFp.createAlbum(requestParameters.createAlbumDto, options).then((request) => request(axios, basePath)); }, /** @@ -6380,7 +6420,7 @@ export const AlbumApiFactory = function (configuration?: Configuration, basePath * @param {*} [options] Override http request option. * @throws {RequiredError} */ - deleteAlbum(requestParameters: AlbumApiDeleteAlbumRequest, options?: AxiosRequestConfig): AxiosPromise { + deleteAlbum(requestParameters: AlbumApiDeleteAlbumRequest, options?: RawAxiosRequestConfig): AxiosPromise { return localVarFp.deleteAlbum(requestParameters.id, options).then((request) => request(axios, basePath)); }, /** @@ -6388,7 +6428,7 @@ export const AlbumApiFactory = function (configuration?: Configuration, basePath * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getAlbumCount(options?: AxiosRequestConfig): AxiosPromise { + getAlbumCount(options?: RawAxiosRequestConfig): AxiosPromise { return localVarFp.getAlbumCount(options).then((request) => request(axios, basePath)); }, /** @@ -6397,7 +6437,7 @@ export const AlbumApiFactory = function (configuration?: Configuration, basePath * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getAlbumInfo(requestParameters: AlbumApiGetAlbumInfoRequest, options?: AxiosRequestConfig): AxiosPromise { + getAlbumInfo(requestParameters: AlbumApiGetAlbumInfoRequest, options?: RawAxiosRequestConfig): AxiosPromise { return localVarFp.getAlbumInfo(requestParameters.id, requestParameters.key, requestParameters.withoutAssets, options).then((request) => request(axios, basePath)); }, /** @@ -6406,7 +6446,7 @@ export const AlbumApiFactory = function (configuration?: Configuration, basePath * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getAllAlbums(requestParameters: AlbumApiGetAllAlbumsRequest = {}, options?: AxiosRequestConfig): AxiosPromise> { + getAllAlbums(requestParameters: AlbumApiGetAllAlbumsRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise> { return localVarFp.getAllAlbums(requestParameters.assetId, requestParameters.shared, options).then((request) => request(axios, basePath)); }, /** @@ -6415,7 +6455,7 @@ export const AlbumApiFactory = function (configuration?: Configuration, basePath * @param {*} [options] Override http request option. * @throws {RequiredError} */ - removeAssetFromAlbum(requestParameters: AlbumApiRemoveAssetFromAlbumRequest, options?: AxiosRequestConfig): AxiosPromise> { + removeAssetFromAlbum(requestParameters: AlbumApiRemoveAssetFromAlbumRequest, options?: RawAxiosRequestConfig): AxiosPromise> { return localVarFp.removeAssetFromAlbum(requestParameters.id, requestParameters.bulkIdsDto, options).then((request) => request(axios, basePath)); }, /** @@ -6424,7 +6464,7 @@ export const AlbumApiFactory = function (configuration?: Configuration, basePath * @param {*} [options] Override http request option. * @throws {RequiredError} */ - removeUserFromAlbum(requestParameters: AlbumApiRemoveUserFromAlbumRequest, options?: AxiosRequestConfig): AxiosPromise { + removeUserFromAlbum(requestParameters: AlbumApiRemoveUserFromAlbumRequest, options?: RawAxiosRequestConfig): AxiosPromise { return localVarFp.removeUserFromAlbum(requestParameters.id, requestParameters.userId, options).then((request) => request(axios, basePath)); }, /** @@ -6433,7 +6473,7 @@ export const AlbumApiFactory = function (configuration?: Configuration, basePath * @param {*} [options] Override http request option. * @throws {RequiredError} */ - updateAlbumInfo(requestParameters: AlbumApiUpdateAlbumInfoRequest, options?: AxiosRequestConfig): AxiosPromise { + updateAlbumInfo(requestParameters: AlbumApiUpdateAlbumInfoRequest, options?: RawAxiosRequestConfig): AxiosPromise { return localVarFp.updateAlbumInfo(requestParameters.id, requestParameters.updateAlbumDto, options).then((request) => request(axios, basePath)); }, }; @@ -6642,7 +6682,7 @@ export class AlbumApi extends BaseAPI { * @throws {RequiredError} * @memberof AlbumApi */ - public addAssetsToAlbum(requestParameters: AlbumApiAddAssetsToAlbumRequest, options?: AxiosRequestConfig) { + public addAssetsToAlbum(requestParameters: AlbumApiAddAssetsToAlbumRequest, options?: RawAxiosRequestConfig) { return AlbumApiFp(this.configuration).addAssetsToAlbum(requestParameters.id, requestParameters.bulkIdsDto, requestParameters.key, options).then((request) => request(this.axios, this.basePath)); } @@ -6653,7 +6693,7 @@ export class AlbumApi extends BaseAPI { * @throws {RequiredError} * @memberof AlbumApi */ - public addUsersToAlbum(requestParameters: AlbumApiAddUsersToAlbumRequest, options?: AxiosRequestConfig) { + public addUsersToAlbum(requestParameters: AlbumApiAddUsersToAlbumRequest, options?: RawAxiosRequestConfig) { return AlbumApiFp(this.configuration).addUsersToAlbum(requestParameters.id, requestParameters.addUsersDto, options).then((request) => request(this.axios, this.basePath)); } @@ -6664,7 +6704,7 @@ export class AlbumApi extends BaseAPI { * @throws {RequiredError} * @memberof AlbumApi */ - public createAlbum(requestParameters: AlbumApiCreateAlbumRequest, options?: AxiosRequestConfig) { + public createAlbum(requestParameters: AlbumApiCreateAlbumRequest, options?: RawAxiosRequestConfig) { return AlbumApiFp(this.configuration).createAlbum(requestParameters.createAlbumDto, options).then((request) => request(this.axios, this.basePath)); } @@ -6675,7 +6715,7 @@ export class AlbumApi extends BaseAPI { * @throws {RequiredError} * @memberof AlbumApi */ - public deleteAlbum(requestParameters: AlbumApiDeleteAlbumRequest, options?: AxiosRequestConfig) { + public deleteAlbum(requestParameters: AlbumApiDeleteAlbumRequest, options?: RawAxiosRequestConfig) { return AlbumApiFp(this.configuration).deleteAlbum(requestParameters.id, options).then((request) => request(this.axios, this.basePath)); } @@ -6685,7 +6725,7 @@ export class AlbumApi extends BaseAPI { * @throws {RequiredError} * @memberof AlbumApi */ - public getAlbumCount(options?: AxiosRequestConfig) { + public getAlbumCount(options?: RawAxiosRequestConfig) { return AlbumApiFp(this.configuration).getAlbumCount(options).then((request) => request(this.axios, this.basePath)); } @@ -6696,7 +6736,7 @@ export class AlbumApi extends BaseAPI { * @throws {RequiredError} * @memberof AlbumApi */ - public getAlbumInfo(requestParameters: AlbumApiGetAlbumInfoRequest, options?: AxiosRequestConfig) { + public getAlbumInfo(requestParameters: AlbumApiGetAlbumInfoRequest, options?: RawAxiosRequestConfig) { return AlbumApiFp(this.configuration).getAlbumInfo(requestParameters.id, requestParameters.key, requestParameters.withoutAssets, options).then((request) => request(this.axios, this.basePath)); } @@ -6707,7 +6747,7 @@ export class AlbumApi extends BaseAPI { * @throws {RequiredError} * @memberof AlbumApi */ - public getAllAlbums(requestParameters: AlbumApiGetAllAlbumsRequest = {}, options?: AxiosRequestConfig) { + public getAllAlbums(requestParameters: AlbumApiGetAllAlbumsRequest = {}, options?: RawAxiosRequestConfig) { return AlbumApiFp(this.configuration).getAllAlbums(requestParameters.assetId, requestParameters.shared, options).then((request) => request(this.axios, this.basePath)); } @@ -6718,7 +6758,7 @@ export class AlbumApi extends BaseAPI { * @throws {RequiredError} * @memberof AlbumApi */ - public removeAssetFromAlbum(requestParameters: AlbumApiRemoveAssetFromAlbumRequest, options?: AxiosRequestConfig) { + public removeAssetFromAlbum(requestParameters: AlbumApiRemoveAssetFromAlbumRequest, options?: RawAxiosRequestConfig) { return AlbumApiFp(this.configuration).removeAssetFromAlbum(requestParameters.id, requestParameters.bulkIdsDto, options).then((request) => request(this.axios, this.basePath)); } @@ -6729,7 +6769,7 @@ export class AlbumApi extends BaseAPI { * @throws {RequiredError} * @memberof AlbumApi */ - public removeUserFromAlbum(requestParameters: AlbumApiRemoveUserFromAlbumRequest, options?: AxiosRequestConfig) { + public removeUserFromAlbum(requestParameters: AlbumApiRemoveUserFromAlbumRequest, options?: RawAxiosRequestConfig) { return AlbumApiFp(this.configuration).removeUserFromAlbum(requestParameters.id, requestParameters.userId, options).then((request) => request(this.axios, this.basePath)); } @@ -6740,12 +6780,13 @@ export class AlbumApi extends BaseAPI { * @throws {RequiredError} * @memberof AlbumApi */ - public updateAlbumInfo(requestParameters: AlbumApiUpdateAlbumInfoRequest, options?: AxiosRequestConfig) { + public updateAlbumInfo(requestParameters: AlbumApiUpdateAlbumInfoRequest, options?: RawAxiosRequestConfig) { return AlbumApiFp(this.configuration).updateAlbumInfo(requestParameters.id, requestParameters.updateAlbumDto, options).then((request) => request(this.axios, this.basePath)); } } + /** * AssetApi - axios parameter creator * @export @@ -6758,7 +6799,7 @@ export const AssetApiAxiosParamCreator = function (configuration?: Configuration * @param {*} [options] Override http request option. * @throws {RequiredError} */ - checkBulkUpload: async (assetBulkUploadCheckDto: AssetBulkUploadCheckDto, options: AxiosRequestConfig = {}): Promise => { + checkBulkUpload: async (assetBulkUploadCheckDto: AssetBulkUploadCheckDto, options: RawAxiosRequestConfig = {}): Promise => { // verify required parameter 'assetBulkUploadCheckDto' is not null or undefined assertParamExists('checkBulkUpload', 'assetBulkUploadCheckDto', assetBulkUploadCheckDto) const localVarPath = `/asset/bulk-upload-check`; @@ -6802,7 +6843,7 @@ export const AssetApiAxiosParamCreator = function (configuration?: Configuration * @param {*} [options] Override http request option. * @throws {RequiredError} */ - checkExistingAssets: async (checkExistingAssetsDto: CheckExistingAssetsDto, options: AxiosRequestConfig = {}): Promise => { + checkExistingAssets: async (checkExistingAssetsDto: CheckExistingAssetsDto, options: RawAxiosRequestConfig = {}): Promise => { // verify required parameter 'checkExistingAssetsDto' is not null or undefined assertParamExists('checkExistingAssets', 'checkExistingAssetsDto', checkExistingAssetsDto) const localVarPath = `/asset/exist`; @@ -6846,7 +6887,7 @@ export const AssetApiAxiosParamCreator = function (configuration?: Configuration * @param {*} [options] Override http request option. * @throws {RequiredError} */ - deleteAssets: async (assetBulkDeleteDto: AssetBulkDeleteDto, options: AxiosRequestConfig = {}): Promise => { + deleteAssets: async (assetBulkDeleteDto: AssetBulkDeleteDto, options: RawAxiosRequestConfig = {}): Promise => { // verify required parameter 'assetBulkDeleteDto' is not null or undefined assertParamExists('deleteAssets', 'assetBulkDeleteDto', assetBulkDeleteDto) const localVarPath = `/asset`; @@ -6891,7 +6932,7 @@ export const AssetApiAxiosParamCreator = function (configuration?: Configuration * @param {*} [options] Override http request option. * @throws {RequiredError} */ - downloadArchiveOld: async (assetIdsDto: AssetIdsDto, key?: string, options: AxiosRequestConfig = {}): Promise => { + downloadArchiveOld: async (assetIdsDto: AssetIdsDto, key?: string, options: RawAxiosRequestConfig = {}): Promise => { // verify required parameter 'assetIdsDto' is not null or undefined assertParamExists('downloadArchiveOld', 'assetIdsDto', assetIdsDto) const localVarPath = `/asset/download/archive`; @@ -6940,7 +6981,7 @@ export const AssetApiAxiosParamCreator = function (configuration?: Configuration * @param {*} [options] Override http request option. * @throws {RequiredError} */ - downloadFileOld: async (id: string, key?: string, options: AxiosRequestConfig = {}): Promise => { + downloadFileOld: async (id: string, key?: string, options: RawAxiosRequestConfig = {}): Promise => { // verify required parameter 'id' is not null or undefined assertParamExists('downloadFileOld', 'id', id) const localVarPath = `/asset/download/{id}` @@ -6985,7 +7026,7 @@ export const AssetApiAxiosParamCreator = function (configuration?: Configuration * @param {*} [options] Override http request option. * @throws {RequiredError} */ - emptyTrash: async (options: AxiosRequestConfig = {}): Promise => { + emptyTrash: async (options: RawAxiosRequestConfig = {}): Promise => { const localVarPath = `/asset/trash/empty`; // use dummy base URL string because the URL constructor only accepts absolute URLs. const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); @@ -7031,7 +7072,7 @@ export const AssetApiAxiosParamCreator = function (configuration?: Configuration * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getAllAssets: async (ifNoneMatch?: string, isArchived?: boolean, isFavorite?: boolean, skip?: number, take?: number, updatedAfter?: string, updatedBefore?: string, userId?: string, options: AxiosRequestConfig = {}): Promise => { + getAllAssets: async (ifNoneMatch?: string, isArchived?: boolean, isFavorite?: boolean, skip?: number, take?: number, updatedAfter?: string, updatedBefore?: string, userId?: string, options: RawAxiosRequestConfig = {}): Promise => { const localVarPath = `/asset`; // use dummy base URL string because the URL constructor only accepts absolute URLs. const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); @@ -7106,7 +7147,7 @@ export const AssetApiAxiosParamCreator = function (configuration?: Configuration * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getAllUserAssetsByDeviceId: async (deviceId: string, options: AxiosRequestConfig = {}): Promise => { + getAllUserAssetsByDeviceId: async (deviceId: string, options: RawAxiosRequestConfig = {}): Promise => { // verify required parameter 'deviceId' is not null or undefined assertParamExists('getAllUserAssetsByDeviceId', 'deviceId', deviceId) const localVarPath = `/asset/device/{deviceId}` @@ -7150,7 +7191,7 @@ export const AssetApiAxiosParamCreator = function (configuration?: Configuration * @deprecated * @throws {RequiredError} */ - getAssetById: async (id: string, key?: string, options: AxiosRequestConfig = {}): Promise => { + getAssetById: async (id: string, key?: string, options: RawAxiosRequestConfig = {}): Promise => { // verify required parameter 'id' is not null or undefined assertParamExists('getAssetById', 'id', id) const localVarPath = `/asset/assetById/{id}` @@ -7197,7 +7238,7 @@ export const AssetApiAxiosParamCreator = function (configuration?: Configuration * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getAssetInfo: async (id: string, key?: string, options: AxiosRequestConfig = {}): Promise => { + getAssetInfo: async (id: string, key?: string, options: RawAxiosRequestConfig = {}): Promise => { // verify required parameter 'id' is not null or undefined assertParamExists('getAssetInfo', 'id', id) const localVarPath = `/asset/{id}` @@ -7242,7 +7283,7 @@ export const AssetApiAxiosParamCreator = function (configuration?: Configuration * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getAssetSearchTerms: async (options: AxiosRequestConfig = {}): Promise => { + getAssetSearchTerms: async (options: RawAxiosRequestConfig = {}): Promise => { const localVarPath = `/asset/search-terms`; // use dummy base URL string because the URL constructor only accepts absolute URLs. const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); @@ -7283,7 +7324,7 @@ export const AssetApiAxiosParamCreator = function (configuration?: Configuration * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getAssetStatistics: async (isArchived?: boolean, isFavorite?: boolean, isTrashed?: boolean, options: AxiosRequestConfig = {}): Promise => { + getAssetStatistics: async (isArchived?: boolean, isFavorite?: boolean, isTrashed?: boolean, options: RawAxiosRequestConfig = {}): Promise => { const localVarPath = `/asset/statistics`; // use dummy base URL string because the URL constructor only accepts absolute URLs. const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); @@ -7336,7 +7377,7 @@ export const AssetApiAxiosParamCreator = function (configuration?: Configuration * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getAssetThumbnail: async (id: string, format?: ThumbnailFormat, key?: string, options: AxiosRequestConfig = {}): Promise => { + getAssetThumbnail: async (id: string, format?: ThumbnailFormat, key?: string, options: RawAxiosRequestConfig = {}): Promise => { // verify required parameter 'id' is not null or undefined assertParamExists('getAssetThumbnail', 'id', id) const localVarPath = `/asset/thumbnail/{id}` @@ -7385,7 +7426,7 @@ export const AssetApiAxiosParamCreator = function (configuration?: Configuration * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getCuratedLocations: async (options: AxiosRequestConfig = {}): Promise => { + getCuratedLocations: async (options: RawAxiosRequestConfig = {}): Promise => { const localVarPath = `/asset/curated-locations`; // use dummy base URL string because the URL constructor only accepts absolute URLs. const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); @@ -7423,7 +7464,7 @@ export const AssetApiAxiosParamCreator = function (configuration?: Configuration * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getCuratedObjects: async (options: AxiosRequestConfig = {}): Promise => { + getCuratedObjects: async (options: RawAxiosRequestConfig = {}): Promise => { const localVarPath = `/asset/curated-objects`; // use dummy base URL string because the URL constructor only accepts absolute URLs. const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); @@ -7463,7 +7504,7 @@ export const AssetApiAxiosParamCreator = function (configuration?: Configuration * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getDownloadInfoOld: async (downloadInfoDto: DownloadInfoDto, key?: string, options: AxiosRequestConfig = {}): Promise => { + getDownloadInfoOld: async (downloadInfoDto: DownloadInfoDto, key?: string, options: RawAxiosRequestConfig = {}): Promise => { // verify required parameter 'downloadInfoDto' is not null or undefined assertParamExists('getDownloadInfoOld', 'downloadInfoDto', downloadInfoDto) const localVarPath = `/asset/download/info`; @@ -7514,7 +7555,7 @@ export const AssetApiAxiosParamCreator = function (configuration?: Configuration * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getMapMarkers: async (fileCreatedAfter?: string, fileCreatedBefore?: string, isArchived?: boolean, isFavorite?: boolean, options: AxiosRequestConfig = {}): Promise => { + getMapMarkers: async (fileCreatedAfter?: string, fileCreatedBefore?: string, isArchived?: boolean, isFavorite?: boolean, options: RawAxiosRequestConfig = {}): Promise => { const localVarPath = `/asset/map-marker`; // use dummy base URL string because the URL constructor only accepts absolute URLs. const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); @@ -7574,7 +7615,7 @@ export const AssetApiAxiosParamCreator = function (configuration?: Configuration * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getMemoryLane: async (day: number, month: number, options: AxiosRequestConfig = {}): Promise => { + getMemoryLane: async (day: number, month: number, options: RawAxiosRequestConfig = {}): Promise => { // verify required parameter 'day' is not null or undefined assertParamExists('getMemoryLane', 'day', day) // verify required parameter 'month' is not null or undefined @@ -7625,7 +7666,7 @@ export const AssetApiAxiosParamCreator = function (configuration?: Configuration * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getRandom: async (count?: number, options: AxiosRequestConfig = {}): Promise => { + getRandom: async (count?: number, options: RawAxiosRequestConfig = {}): Promise => { const localVarPath = `/asset/random`; // use dummy base URL string because the URL constructor only accepts absolute URLs. const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); @@ -7678,7 +7719,7 @@ export const AssetApiAxiosParamCreator = function (configuration?: Configuration * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getTimeBucket: async (size: TimeBucketSize, timeBucket: string, albumId?: string, isArchived?: boolean, isFavorite?: boolean, isTrashed?: boolean, key?: string, personId?: string, userId?: string, withPartners?: boolean, withStacked?: boolean, options: AxiosRequestConfig = {}): Promise => { + getTimeBucket: async (size: TimeBucketSize, timeBucket: string, albumId?: string, isArchived?: boolean, isFavorite?: boolean, isTrashed?: boolean, key?: string, personId?: string, userId?: string, withPartners?: boolean, withStacked?: boolean, options: RawAxiosRequestConfig = {}): Promise => { // verify required parameter 'size' is not null or undefined assertParamExists('getTimeBucket', 'size', size) // verify required parameter 'timeBucket' is not null or undefined @@ -7774,7 +7815,7 @@ export const AssetApiAxiosParamCreator = function (configuration?: Configuration * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getTimeBuckets: async (size: TimeBucketSize, albumId?: string, isArchived?: boolean, isFavorite?: boolean, isTrashed?: boolean, key?: string, personId?: string, userId?: string, withPartners?: boolean, withStacked?: boolean, options: AxiosRequestConfig = {}): Promise => { + getTimeBuckets: async (size: TimeBucketSize, albumId?: string, isArchived?: boolean, isFavorite?: boolean, isTrashed?: boolean, key?: string, personId?: string, userId?: string, withPartners?: boolean, withStacked?: boolean, options: RawAxiosRequestConfig = {}): Promise => { // verify required parameter 'size' is not null or undefined assertParamExists('getTimeBuckets', 'size', size) const localVarPath = `/asset/time-buckets`; @@ -7855,7 +7896,7 @@ export const AssetApiAxiosParamCreator = function (configuration?: Configuration * @param {*} [options] Override http request option. * @throws {RequiredError} */ - restoreAssets: async (bulkIdsDto: BulkIdsDto, options: AxiosRequestConfig = {}): Promise => { + restoreAssets: async (bulkIdsDto: BulkIdsDto, options: RawAxiosRequestConfig = {}): Promise => { // verify required parameter 'bulkIdsDto' is not null or undefined assertParamExists('restoreAssets', 'bulkIdsDto', bulkIdsDto) const localVarPath = `/asset/restore`; @@ -7898,7 +7939,7 @@ export const AssetApiAxiosParamCreator = function (configuration?: Configuration * @param {*} [options] Override http request option. * @throws {RequiredError} */ - restoreTrash: async (options: AxiosRequestConfig = {}): Promise => { + restoreTrash: async (options: RawAxiosRequestConfig = {}): Promise => { const localVarPath = `/asset/trash/restore`; // use dummy base URL string because the URL constructor only accepts absolute URLs. const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); @@ -7937,7 +7978,7 @@ export const AssetApiAxiosParamCreator = function (configuration?: Configuration * @param {*} [options] Override http request option. * @throws {RequiredError} */ - runAssetJobs: async (assetJobsDto: AssetJobsDto, options: AxiosRequestConfig = {}): Promise => { + runAssetJobs: async (assetJobsDto: AssetJobsDto, options: RawAxiosRequestConfig = {}): Promise => { // verify required parameter 'assetJobsDto' is not null or undefined assertParamExists('runAssetJobs', 'assetJobsDto', assetJobsDto) const localVarPath = `/asset/jobs`; @@ -8020,7 +8061,7 @@ export const AssetApiAxiosParamCreator = function (configuration?: Configuration * @param {*} [options] Override http request option. * @throws {RequiredError} */ - searchAssets: async (checksum?: string, city?: string, country?: string, createdAfter?: string, createdBefore?: string, deviceAssetId?: string, deviceId?: string, encodedVideoPath?: string, id?: string, isArchived?: boolean, isEncoded?: boolean, isExternal?: boolean, isFavorite?: boolean, isMotion?: boolean, isOffline?: boolean, isReadOnly?: boolean, isVisible?: boolean, lensModel?: string, libraryId?: string, make?: string, model?: string, order?: AssetOrder, originalFileName?: string, originalPath?: string, page?: number, resizePath?: string, size?: number, state?: string, takenAfter?: string, takenBefore?: string, trashedAfter?: string, trashedBefore?: string, type?: AssetTypeEnum, updatedAfter?: string, updatedBefore?: string, webpPath?: string, withDeleted?: boolean, withExif?: boolean, withPeople?: boolean, withStacked?: boolean, options: AxiosRequestConfig = {}): Promise => { + searchAssets: async (checksum?: string, city?: string, country?: string, createdAfter?: string, createdBefore?: string, deviceAssetId?: string, deviceId?: string, encodedVideoPath?: string, id?: string, isArchived?: boolean, isEncoded?: boolean, isExternal?: boolean, isFavorite?: boolean, isMotion?: boolean, isOffline?: boolean, isReadOnly?: boolean, isVisible?: boolean, lensModel?: string, libraryId?: string, make?: string, model?: string, order?: AssetOrder, originalFileName?: string, originalPath?: string, page?: number, resizePath?: string, size?: number, state?: string, takenAfter?: string, takenBefore?: string, trashedAfter?: string, trashedBefore?: string, type?: AssetTypeEnum, updatedAfter?: string, updatedBefore?: string, webpPath?: string, withDeleted?: boolean, withExif?: boolean, withPeople?: boolean, withStacked?: boolean, options: RawAxiosRequestConfig = {}): Promise => { const localVarPath = `/assets`; // use dummy base URL string because the URL constructor only accepts absolute URLs. const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); @@ -8238,7 +8279,7 @@ export const AssetApiAxiosParamCreator = function (configuration?: Configuration * @param {*} [options] Override http request option. * @throws {RequiredError} */ - serveFile: async (id: string, isThumb?: boolean, isWeb?: boolean, key?: string, options: AxiosRequestConfig = {}): Promise => { + serveFile: async (id: string, isThumb?: boolean, isWeb?: boolean, key?: string, options: RawAxiosRequestConfig = {}): Promise => { // verify required parameter 'id' is not null or undefined assertParamExists('serveFile', 'id', id) const localVarPath = `/asset/file/{id}` @@ -8293,7 +8334,7 @@ export const AssetApiAxiosParamCreator = function (configuration?: Configuration * @param {*} [options] Override http request option. * @throws {RequiredError} */ - updateAsset: async (id: string, updateAssetDto: UpdateAssetDto, options: AxiosRequestConfig = {}): Promise => { + updateAsset: async (id: string, updateAssetDto: UpdateAssetDto, options: RawAxiosRequestConfig = {}): Promise => { // verify required parameter 'id' is not null or undefined assertParamExists('updateAsset', 'id', id) // verify required parameter 'updateAssetDto' is not null or undefined @@ -8340,7 +8381,7 @@ export const AssetApiAxiosParamCreator = function (configuration?: Configuration * @param {*} [options] Override http request option. * @throws {RequiredError} */ - updateAssets: async (assetBulkUpdateDto: AssetBulkUpdateDto, options: AxiosRequestConfig = {}): Promise => { + updateAssets: async (assetBulkUpdateDto: AssetBulkUpdateDto, options: RawAxiosRequestConfig = {}): Promise => { // verify required parameter 'assetBulkUpdateDto' is not null or undefined assertParamExists('updateAssets', 'assetBulkUpdateDto', assetBulkUpdateDto) const localVarPath = `/asset`; @@ -8384,7 +8425,7 @@ export const AssetApiAxiosParamCreator = function (configuration?: Configuration * @param {*} [options] Override http request option. * @throws {RequiredError} */ - updateStackParent: async (updateStackParentDto: UpdateStackParentDto, options: AxiosRequestConfig = {}): Promise => { + updateStackParent: async (updateStackParentDto: UpdateStackParentDto, options: RawAxiosRequestConfig = {}): Promise => { // verify required parameter 'updateStackParentDto' is not null or undefined assertParamExists('updateStackParent', 'updateStackParentDto', updateStackParentDto) const localVarPath = `/asset/stack/parent`; @@ -8443,7 +8484,7 @@ export const AssetApiAxiosParamCreator = function (configuration?: Configuration * @param {*} [options] Override http request option. * @throws {RequiredError} */ - uploadFile: async (assetData: File, deviceAssetId: string, deviceId: string, fileCreatedAt: string, fileModifiedAt: string, key?: string, duration?: string, isArchived?: boolean, isExternal?: boolean, isFavorite?: boolean, isOffline?: boolean, isReadOnly?: boolean, isVisible?: boolean, libraryId?: string, livePhotoData?: File, sidecarData?: File, options: AxiosRequestConfig = {}): Promise => { + uploadFile: async (assetData: File, deviceAssetId: string, deviceId: string, fileCreatedAt: string, fileModifiedAt: string, key?: string, duration?: string, isArchived?: boolean, isExternal?: boolean, isFavorite?: boolean, isOffline?: boolean, isReadOnly?: boolean, isVisible?: boolean, libraryId?: string, livePhotoData?: File, sidecarData?: File, options: RawAxiosRequestConfig = {}): Promise => { // verify required parameter 'assetData' is not null or undefined assertParamExists('uploadFile', 'assetData', assetData) // verify required parameter 'deviceAssetId' is not null or undefined @@ -8570,9 +8611,11 @@ export const AssetApiFp = function(configuration?: Configuration) { * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async checkBulkUpload(assetBulkUploadCheckDto: AssetBulkUploadCheckDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + async checkBulkUpload(assetBulkUploadCheckDto: AssetBulkUploadCheckDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { const localVarAxiosArgs = await localVarAxiosParamCreator.checkBulkUpload(assetBulkUploadCheckDto, options); - return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + const index = configuration?.serverIndex ?? 0; + const operationBasePath = operationServerMap['AssetApi.checkBulkUpload']?.[index]?.url; + return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); }, /** * Checks if multiple assets exist on the server and returns all existing - used by background backup @@ -8580,9 +8623,11 @@ export const AssetApiFp = function(configuration?: Configuration) { * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async checkExistingAssets(checkExistingAssetsDto: CheckExistingAssetsDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + async checkExistingAssets(checkExistingAssetsDto: CheckExistingAssetsDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { const localVarAxiosArgs = await localVarAxiosParamCreator.checkExistingAssets(checkExistingAssetsDto, options); - return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + const index = configuration?.serverIndex ?? 0; + const operationBasePath = operationServerMap['AssetApi.checkExistingAssets']?.[index]?.url; + return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); }, /** * @@ -8590,9 +8635,11 @@ export const AssetApiFp = function(configuration?: Configuration) { * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async deleteAssets(assetBulkDeleteDto: AssetBulkDeleteDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + async deleteAssets(assetBulkDeleteDto: AssetBulkDeleteDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { const localVarAxiosArgs = await localVarAxiosParamCreator.deleteAssets(assetBulkDeleteDto, options); - return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + const index = configuration?.serverIndex ?? 0; + const operationBasePath = operationServerMap['AssetApi.deleteAssets']?.[index]?.url; + return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); }, /** * @@ -8601,9 +8648,11 @@ export const AssetApiFp = function(configuration?: Configuration) { * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async downloadArchiveOld(assetIdsDto: AssetIdsDto, key?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + async downloadArchiveOld(assetIdsDto: AssetIdsDto, key?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { const localVarAxiosArgs = await localVarAxiosParamCreator.downloadArchiveOld(assetIdsDto, key, options); - return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + const index = configuration?.serverIndex ?? 0; + const operationBasePath = operationServerMap['AssetApi.downloadArchiveOld']?.[index]?.url; + return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); }, /** * @@ -8612,18 +8661,22 @@ export const AssetApiFp = function(configuration?: Configuration) { * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async downloadFileOld(id: string, key?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + async downloadFileOld(id: string, key?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { const localVarAxiosArgs = await localVarAxiosParamCreator.downloadFileOld(id, key, options); - return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + const index = configuration?.serverIndex ?? 0; + const operationBasePath = operationServerMap['AssetApi.downloadFileOld']?.[index]?.url; + return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); }, /** * * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async emptyTrash(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + async emptyTrash(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { const localVarAxiosArgs = await localVarAxiosParamCreator.emptyTrash(options); - return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + const index = configuration?.serverIndex ?? 0; + const operationBasePath = operationServerMap['AssetApi.emptyTrash']?.[index]?.url; + return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); }, /** * Get all AssetEntity belong to the user @@ -8638,9 +8691,11 @@ export const AssetApiFp = function(configuration?: Configuration) { * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async getAllAssets(ifNoneMatch?: string, isArchived?: boolean, isFavorite?: boolean, skip?: number, take?: number, updatedAfter?: string, updatedBefore?: string, userId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>> { + async getAllAssets(ifNoneMatch?: string, isArchived?: boolean, isFavorite?: boolean, skip?: number, take?: number, updatedAfter?: string, updatedBefore?: string, userId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>> { const localVarAxiosArgs = await localVarAxiosParamCreator.getAllAssets(ifNoneMatch, isArchived, isFavorite, skip, take, updatedAfter, updatedBefore, userId, options); - return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + const index = configuration?.serverIndex ?? 0; + const operationBasePath = operationServerMap['AssetApi.getAllAssets']?.[index]?.url; + return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); }, /** * Get all asset of a device that are in the database, ID only. @@ -8648,9 +8703,11 @@ export const AssetApiFp = function(configuration?: Configuration) { * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async getAllUserAssetsByDeviceId(deviceId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>> { + async getAllUserAssetsByDeviceId(deviceId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>> { const localVarAxiosArgs = await localVarAxiosParamCreator.getAllUserAssetsByDeviceId(deviceId, options); - return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + const index = configuration?.serverIndex ?? 0; + const operationBasePath = operationServerMap['AssetApi.getAllUserAssetsByDeviceId']?.[index]?.url; + return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); }, /** * Get a single asset\'s information @@ -8660,9 +8717,11 @@ export const AssetApiFp = function(configuration?: Configuration) { * @deprecated * @throws {RequiredError} */ - async getAssetById(id: string, key?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + async getAssetById(id: string, key?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { const localVarAxiosArgs = await localVarAxiosParamCreator.getAssetById(id, key, options); - return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + const index = configuration?.serverIndex ?? 0; + const operationBasePath = operationServerMap['AssetApi.getAssetById']?.[index]?.url; + return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); }, /** * @@ -8671,18 +8730,22 @@ export const AssetApiFp = function(configuration?: Configuration) { * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async getAssetInfo(id: string, key?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + async getAssetInfo(id: string, key?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { const localVarAxiosArgs = await localVarAxiosParamCreator.getAssetInfo(id, key, options); - return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + const index = configuration?.serverIndex ?? 0; + const operationBasePath = operationServerMap['AssetApi.getAssetInfo']?.[index]?.url; + return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); }, /** * * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async getAssetSearchTerms(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>> { + async getAssetSearchTerms(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>> { const localVarAxiosArgs = await localVarAxiosParamCreator.getAssetSearchTerms(options); - return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + const index = configuration?.serverIndex ?? 0; + const operationBasePath = operationServerMap['AssetApi.getAssetSearchTerms']?.[index]?.url; + return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); }, /** * @@ -8692,9 +8755,11 @@ export const AssetApiFp = function(configuration?: Configuration) { * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async getAssetStatistics(isArchived?: boolean, isFavorite?: boolean, isTrashed?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + async getAssetStatistics(isArchived?: boolean, isFavorite?: boolean, isTrashed?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { const localVarAxiosArgs = await localVarAxiosParamCreator.getAssetStatistics(isArchived, isFavorite, isTrashed, options); - return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + const index = configuration?.serverIndex ?? 0; + const operationBasePath = operationServerMap['AssetApi.getAssetStatistics']?.[index]?.url; + return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); }, /** * @@ -8704,27 +8769,33 @@ export const AssetApiFp = function(configuration?: Configuration) { * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async getAssetThumbnail(id: string, format?: ThumbnailFormat, key?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + async getAssetThumbnail(id: string, format?: ThumbnailFormat, key?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { const localVarAxiosArgs = await localVarAxiosParamCreator.getAssetThumbnail(id, format, key, options); - return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + const index = configuration?.serverIndex ?? 0; + const operationBasePath = operationServerMap['AssetApi.getAssetThumbnail']?.[index]?.url; + return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); }, /** * * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async getCuratedLocations(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>> { + async getCuratedLocations(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>> { const localVarAxiosArgs = await localVarAxiosParamCreator.getCuratedLocations(options); - return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + const index = configuration?.serverIndex ?? 0; + const operationBasePath = operationServerMap['AssetApi.getCuratedLocations']?.[index]?.url; + return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); }, /** * * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async getCuratedObjects(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>> { + async getCuratedObjects(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>> { const localVarAxiosArgs = await localVarAxiosParamCreator.getCuratedObjects(options); - return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + const index = configuration?.serverIndex ?? 0; + const operationBasePath = operationServerMap['AssetApi.getCuratedObjects']?.[index]?.url; + return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); }, /** * @@ -8733,9 +8804,11 @@ export const AssetApiFp = function(configuration?: Configuration) { * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async getDownloadInfoOld(downloadInfoDto: DownloadInfoDto, key?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + async getDownloadInfoOld(downloadInfoDto: DownloadInfoDto, key?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { const localVarAxiosArgs = await localVarAxiosParamCreator.getDownloadInfoOld(downloadInfoDto, key, options); - return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + const index = configuration?.serverIndex ?? 0; + const operationBasePath = operationServerMap['AssetApi.getDownloadInfoOld']?.[index]?.url; + return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); }, /** * @@ -8746,9 +8819,11 @@ export const AssetApiFp = function(configuration?: Configuration) { * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async getMapMarkers(fileCreatedAfter?: string, fileCreatedBefore?: string, isArchived?: boolean, isFavorite?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>> { + async getMapMarkers(fileCreatedAfter?: string, fileCreatedBefore?: string, isArchived?: boolean, isFavorite?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>> { const localVarAxiosArgs = await localVarAxiosParamCreator.getMapMarkers(fileCreatedAfter, fileCreatedBefore, isArchived, isFavorite, options); - return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + const index = configuration?.serverIndex ?? 0; + const operationBasePath = operationServerMap['AssetApi.getMapMarkers']?.[index]?.url; + return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); }, /** * @@ -8757,9 +8832,11 @@ export const AssetApiFp = function(configuration?: Configuration) { * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async getMemoryLane(day: number, month: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>> { + async getMemoryLane(day: number, month: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>> { const localVarAxiosArgs = await localVarAxiosParamCreator.getMemoryLane(day, month, options); - return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + const index = configuration?.serverIndex ?? 0; + const operationBasePath = operationServerMap['AssetApi.getMemoryLane']?.[index]?.url; + return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); }, /** * @@ -8767,9 +8844,11 @@ export const AssetApiFp = function(configuration?: Configuration) { * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async getRandom(count?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>> { + async getRandom(count?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>> { const localVarAxiosArgs = await localVarAxiosParamCreator.getRandom(count, options); - return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + const index = configuration?.serverIndex ?? 0; + const operationBasePath = operationServerMap['AssetApi.getRandom']?.[index]?.url; + return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); }, /** * @@ -8787,9 +8866,11 @@ export const AssetApiFp = function(configuration?: Configuration) { * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async getTimeBucket(size: TimeBucketSize, timeBucket: string, albumId?: string, isArchived?: boolean, isFavorite?: boolean, isTrashed?: boolean, key?: string, personId?: string, userId?: string, withPartners?: boolean, withStacked?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>> { + async getTimeBucket(size: TimeBucketSize, timeBucket: string, albumId?: string, isArchived?: boolean, isFavorite?: boolean, isTrashed?: boolean, key?: string, personId?: string, userId?: string, withPartners?: boolean, withStacked?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>> { const localVarAxiosArgs = await localVarAxiosParamCreator.getTimeBucket(size, timeBucket, albumId, isArchived, isFavorite, isTrashed, key, personId, userId, withPartners, withStacked, options); - return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + const index = configuration?.serverIndex ?? 0; + const operationBasePath = operationServerMap['AssetApi.getTimeBucket']?.[index]?.url; + return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); }, /** * @@ -8806,9 +8887,11 @@ export const AssetApiFp = function(configuration?: Configuration) { * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async getTimeBuckets(size: TimeBucketSize, albumId?: string, isArchived?: boolean, isFavorite?: boolean, isTrashed?: boolean, key?: string, personId?: string, userId?: string, withPartners?: boolean, withStacked?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>> { + async getTimeBuckets(size: TimeBucketSize, albumId?: string, isArchived?: boolean, isFavorite?: boolean, isTrashed?: boolean, key?: string, personId?: string, userId?: string, withPartners?: boolean, withStacked?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>> { const localVarAxiosArgs = await localVarAxiosParamCreator.getTimeBuckets(size, albumId, isArchived, isFavorite, isTrashed, key, personId, userId, withPartners, withStacked, options); - return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + const index = configuration?.serverIndex ?? 0; + const operationBasePath = operationServerMap['AssetApi.getTimeBuckets']?.[index]?.url; + return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); }, /** * @@ -8816,18 +8899,22 @@ export const AssetApiFp = function(configuration?: Configuration) { * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async restoreAssets(bulkIdsDto: BulkIdsDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + async restoreAssets(bulkIdsDto: BulkIdsDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { const localVarAxiosArgs = await localVarAxiosParamCreator.restoreAssets(bulkIdsDto, options); - return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + const index = configuration?.serverIndex ?? 0; + const operationBasePath = operationServerMap['AssetApi.restoreAssets']?.[index]?.url; + return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); }, /** * * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async restoreTrash(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + async restoreTrash(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { const localVarAxiosArgs = await localVarAxiosParamCreator.restoreTrash(options); - return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + const index = configuration?.serverIndex ?? 0; + const operationBasePath = operationServerMap['AssetApi.restoreTrash']?.[index]?.url; + return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); }, /** * @@ -8835,9 +8922,11 @@ export const AssetApiFp = function(configuration?: Configuration) { * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async runAssetJobs(assetJobsDto: AssetJobsDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + async runAssetJobs(assetJobsDto: AssetJobsDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { const localVarAxiosArgs = await localVarAxiosParamCreator.runAssetJobs(assetJobsDto, options); - return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + const index = configuration?.serverIndex ?? 0; + const operationBasePath = operationServerMap['AssetApi.runAssetJobs']?.[index]?.url; + return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); }, /** * @@ -8884,9 +8973,11 @@ export const AssetApiFp = function(configuration?: Configuration) { * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async searchAssets(checksum?: string, city?: string, country?: string, createdAfter?: string, createdBefore?: string, deviceAssetId?: string, deviceId?: string, encodedVideoPath?: string, id?: string, isArchived?: boolean, isEncoded?: boolean, isExternal?: boolean, isFavorite?: boolean, isMotion?: boolean, isOffline?: boolean, isReadOnly?: boolean, isVisible?: boolean, lensModel?: string, libraryId?: string, make?: string, model?: string, order?: AssetOrder, originalFileName?: string, originalPath?: string, page?: number, resizePath?: string, size?: number, state?: string, takenAfter?: string, takenBefore?: string, trashedAfter?: string, trashedBefore?: string, type?: AssetTypeEnum, updatedAfter?: string, updatedBefore?: string, webpPath?: string, withDeleted?: boolean, withExif?: boolean, withPeople?: boolean, withStacked?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>> { + async searchAssets(checksum?: string, city?: string, country?: string, createdAfter?: string, createdBefore?: string, deviceAssetId?: string, deviceId?: string, encodedVideoPath?: string, id?: string, isArchived?: boolean, isEncoded?: boolean, isExternal?: boolean, isFavorite?: boolean, isMotion?: boolean, isOffline?: boolean, isReadOnly?: boolean, isVisible?: boolean, lensModel?: string, libraryId?: string, make?: string, model?: string, order?: AssetOrder, originalFileName?: string, originalPath?: string, page?: number, resizePath?: string, size?: number, state?: string, takenAfter?: string, takenBefore?: string, trashedAfter?: string, trashedBefore?: string, type?: AssetTypeEnum, updatedAfter?: string, updatedBefore?: string, webpPath?: string, withDeleted?: boolean, withExif?: boolean, withPeople?: boolean, withStacked?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>> { const localVarAxiosArgs = await localVarAxiosParamCreator.searchAssets(checksum, city, country, createdAfter, createdBefore, deviceAssetId, deviceId, encodedVideoPath, id, isArchived, isEncoded, isExternal, isFavorite, isMotion, isOffline, isReadOnly, isVisible, lensModel, libraryId, make, model, order, originalFileName, originalPath, page, resizePath, size, state, takenAfter, takenBefore, trashedAfter, trashedBefore, type, updatedAfter, updatedBefore, webpPath, withDeleted, withExif, withPeople, withStacked, options); - return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + const index = configuration?.serverIndex ?? 0; + const operationBasePath = operationServerMap['AssetApi.searchAssets']?.[index]?.url; + return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); }, /** * @@ -8897,9 +8988,11 @@ export const AssetApiFp = function(configuration?: Configuration) { * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async serveFile(id: string, isThumb?: boolean, isWeb?: boolean, key?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + async serveFile(id: string, isThumb?: boolean, isWeb?: boolean, key?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { const localVarAxiosArgs = await localVarAxiosParamCreator.serveFile(id, isThumb, isWeb, key, options); - return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + const index = configuration?.serverIndex ?? 0; + const operationBasePath = operationServerMap['AssetApi.serveFile']?.[index]?.url; + return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); }, /** * @@ -8908,9 +9001,11 @@ export const AssetApiFp = function(configuration?: Configuration) { * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async updateAsset(id: string, updateAssetDto: UpdateAssetDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + async updateAsset(id: string, updateAssetDto: UpdateAssetDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { const localVarAxiosArgs = await localVarAxiosParamCreator.updateAsset(id, updateAssetDto, options); - return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + const index = configuration?.serverIndex ?? 0; + const operationBasePath = operationServerMap['AssetApi.updateAsset']?.[index]?.url; + return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); }, /** * @@ -8918,9 +9013,11 @@ export const AssetApiFp = function(configuration?: Configuration) { * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async updateAssets(assetBulkUpdateDto: AssetBulkUpdateDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + async updateAssets(assetBulkUpdateDto: AssetBulkUpdateDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { const localVarAxiosArgs = await localVarAxiosParamCreator.updateAssets(assetBulkUpdateDto, options); - return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + const index = configuration?.serverIndex ?? 0; + const operationBasePath = operationServerMap['AssetApi.updateAssets']?.[index]?.url; + return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); }, /** * @@ -8928,9 +9025,11 @@ export const AssetApiFp = function(configuration?: Configuration) { * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async updateStackParent(updateStackParentDto: UpdateStackParentDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + async updateStackParent(updateStackParentDto: UpdateStackParentDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { const localVarAxiosArgs = await localVarAxiosParamCreator.updateStackParent(updateStackParentDto, options); - return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + const index = configuration?.serverIndex ?? 0; + const operationBasePath = operationServerMap['AssetApi.updateStackParent']?.[index]?.url; + return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); }, /** * @@ -8953,9 +9052,11 @@ export const AssetApiFp = function(configuration?: Configuration) { * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async uploadFile(assetData: File, deviceAssetId: string, deviceId: string, fileCreatedAt: string, fileModifiedAt: string, key?: string, duration?: string, isArchived?: boolean, isExternal?: boolean, isFavorite?: boolean, isOffline?: boolean, isReadOnly?: boolean, isVisible?: boolean, libraryId?: string, livePhotoData?: File, sidecarData?: File, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + async uploadFile(assetData: File, deviceAssetId: string, deviceId: string, fileCreatedAt: string, fileModifiedAt: string, key?: string, duration?: string, isArchived?: boolean, isExternal?: boolean, isFavorite?: boolean, isOffline?: boolean, isReadOnly?: boolean, isVisible?: boolean, libraryId?: string, livePhotoData?: File, sidecarData?: File, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { const localVarAxiosArgs = await localVarAxiosParamCreator.uploadFile(assetData, deviceAssetId, deviceId, fileCreatedAt, fileModifiedAt, key, duration, isArchived, isExternal, isFavorite, isOffline, isReadOnly, isVisible, libraryId, livePhotoData, sidecarData, options); - return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + const index = configuration?.serverIndex ?? 0; + const operationBasePath = operationServerMap['AssetApi.uploadFile']?.[index]?.url; + return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); }, } }; @@ -8973,7 +9074,7 @@ export const AssetApiFactory = function (configuration?: Configuration, basePath * @param {*} [options] Override http request option. * @throws {RequiredError} */ - checkBulkUpload(requestParameters: AssetApiCheckBulkUploadRequest, options?: AxiosRequestConfig): AxiosPromise { + checkBulkUpload(requestParameters: AssetApiCheckBulkUploadRequest, options?: RawAxiosRequestConfig): AxiosPromise { return localVarFp.checkBulkUpload(requestParameters.assetBulkUploadCheckDto, options).then((request) => request(axios, basePath)); }, /** @@ -8982,7 +9083,7 @@ export const AssetApiFactory = function (configuration?: Configuration, basePath * @param {*} [options] Override http request option. * @throws {RequiredError} */ - checkExistingAssets(requestParameters: AssetApiCheckExistingAssetsRequest, options?: AxiosRequestConfig): AxiosPromise { + checkExistingAssets(requestParameters: AssetApiCheckExistingAssetsRequest, options?: RawAxiosRequestConfig): AxiosPromise { return localVarFp.checkExistingAssets(requestParameters.checkExistingAssetsDto, options).then((request) => request(axios, basePath)); }, /** @@ -8991,7 +9092,7 @@ export const AssetApiFactory = function (configuration?: Configuration, basePath * @param {*} [options] Override http request option. * @throws {RequiredError} */ - deleteAssets(requestParameters: AssetApiDeleteAssetsRequest, options?: AxiosRequestConfig): AxiosPromise { + deleteAssets(requestParameters: AssetApiDeleteAssetsRequest, options?: RawAxiosRequestConfig): AxiosPromise { return localVarFp.deleteAssets(requestParameters.assetBulkDeleteDto, options).then((request) => request(axios, basePath)); }, /** @@ -9000,7 +9101,7 @@ export const AssetApiFactory = function (configuration?: Configuration, basePath * @param {*} [options] Override http request option. * @throws {RequiredError} */ - downloadArchiveOld(requestParameters: AssetApiDownloadArchiveOldRequest, options?: AxiosRequestConfig): AxiosPromise { + downloadArchiveOld(requestParameters: AssetApiDownloadArchiveOldRequest, options?: RawAxiosRequestConfig): AxiosPromise { return localVarFp.downloadArchiveOld(requestParameters.assetIdsDto, requestParameters.key, options).then((request) => request(axios, basePath)); }, /** @@ -9009,7 +9110,7 @@ export const AssetApiFactory = function (configuration?: Configuration, basePath * @param {*} [options] Override http request option. * @throws {RequiredError} */ - downloadFileOld(requestParameters: AssetApiDownloadFileOldRequest, options?: AxiosRequestConfig): AxiosPromise { + downloadFileOld(requestParameters: AssetApiDownloadFileOldRequest, options?: RawAxiosRequestConfig): AxiosPromise { return localVarFp.downloadFileOld(requestParameters.id, requestParameters.key, options).then((request) => request(axios, basePath)); }, /** @@ -9017,7 +9118,7 @@ export const AssetApiFactory = function (configuration?: Configuration, basePath * @param {*} [options] Override http request option. * @throws {RequiredError} */ - emptyTrash(options?: AxiosRequestConfig): AxiosPromise { + emptyTrash(options?: RawAxiosRequestConfig): AxiosPromise { return localVarFp.emptyTrash(options).then((request) => request(axios, basePath)); }, /** @@ -9026,7 +9127,7 @@ export const AssetApiFactory = function (configuration?: Configuration, basePath * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getAllAssets(requestParameters: AssetApiGetAllAssetsRequest = {}, options?: AxiosRequestConfig): AxiosPromise> { + getAllAssets(requestParameters: AssetApiGetAllAssetsRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise> { return localVarFp.getAllAssets(requestParameters.ifNoneMatch, requestParameters.isArchived, requestParameters.isFavorite, requestParameters.skip, requestParameters.take, requestParameters.updatedAfter, requestParameters.updatedBefore, requestParameters.userId, options).then((request) => request(axios, basePath)); }, /** @@ -9035,7 +9136,7 @@ export const AssetApiFactory = function (configuration?: Configuration, basePath * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getAllUserAssetsByDeviceId(requestParameters: AssetApiGetAllUserAssetsByDeviceIdRequest, options?: AxiosRequestConfig): AxiosPromise> { + getAllUserAssetsByDeviceId(requestParameters: AssetApiGetAllUserAssetsByDeviceIdRequest, options?: RawAxiosRequestConfig): AxiosPromise> { return localVarFp.getAllUserAssetsByDeviceId(requestParameters.deviceId, options).then((request) => request(axios, basePath)); }, /** @@ -9045,7 +9146,7 @@ export const AssetApiFactory = function (configuration?: Configuration, basePath * @deprecated * @throws {RequiredError} */ - getAssetById(requestParameters: AssetApiGetAssetByIdRequest, options?: AxiosRequestConfig): AxiosPromise { + getAssetById(requestParameters: AssetApiGetAssetByIdRequest, options?: RawAxiosRequestConfig): AxiosPromise { return localVarFp.getAssetById(requestParameters.id, requestParameters.key, options).then((request) => request(axios, basePath)); }, /** @@ -9054,7 +9155,7 @@ export const AssetApiFactory = function (configuration?: Configuration, basePath * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getAssetInfo(requestParameters: AssetApiGetAssetInfoRequest, options?: AxiosRequestConfig): AxiosPromise { + getAssetInfo(requestParameters: AssetApiGetAssetInfoRequest, options?: RawAxiosRequestConfig): AxiosPromise { return localVarFp.getAssetInfo(requestParameters.id, requestParameters.key, options).then((request) => request(axios, basePath)); }, /** @@ -9062,7 +9163,7 @@ export const AssetApiFactory = function (configuration?: Configuration, basePath * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getAssetSearchTerms(options?: AxiosRequestConfig): AxiosPromise> { + getAssetSearchTerms(options?: RawAxiosRequestConfig): AxiosPromise> { return localVarFp.getAssetSearchTerms(options).then((request) => request(axios, basePath)); }, /** @@ -9071,7 +9172,7 @@ export const AssetApiFactory = function (configuration?: Configuration, basePath * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getAssetStatistics(requestParameters: AssetApiGetAssetStatisticsRequest = {}, options?: AxiosRequestConfig): AxiosPromise { + getAssetStatistics(requestParameters: AssetApiGetAssetStatisticsRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise { return localVarFp.getAssetStatistics(requestParameters.isArchived, requestParameters.isFavorite, requestParameters.isTrashed, options).then((request) => request(axios, basePath)); }, /** @@ -9080,7 +9181,7 @@ export const AssetApiFactory = function (configuration?: Configuration, basePath * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getAssetThumbnail(requestParameters: AssetApiGetAssetThumbnailRequest, options?: AxiosRequestConfig): AxiosPromise { + getAssetThumbnail(requestParameters: AssetApiGetAssetThumbnailRequest, options?: RawAxiosRequestConfig): AxiosPromise { return localVarFp.getAssetThumbnail(requestParameters.id, requestParameters.format, requestParameters.key, options).then((request) => request(axios, basePath)); }, /** @@ -9088,7 +9189,7 @@ export const AssetApiFactory = function (configuration?: Configuration, basePath * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getCuratedLocations(options?: AxiosRequestConfig): AxiosPromise> { + getCuratedLocations(options?: RawAxiosRequestConfig): AxiosPromise> { return localVarFp.getCuratedLocations(options).then((request) => request(axios, basePath)); }, /** @@ -9096,7 +9197,7 @@ export const AssetApiFactory = function (configuration?: Configuration, basePath * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getCuratedObjects(options?: AxiosRequestConfig): AxiosPromise> { + getCuratedObjects(options?: RawAxiosRequestConfig): AxiosPromise> { return localVarFp.getCuratedObjects(options).then((request) => request(axios, basePath)); }, /** @@ -9105,7 +9206,7 @@ export const AssetApiFactory = function (configuration?: Configuration, basePath * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getDownloadInfoOld(requestParameters: AssetApiGetDownloadInfoOldRequest, options?: AxiosRequestConfig): AxiosPromise { + getDownloadInfoOld(requestParameters: AssetApiGetDownloadInfoOldRequest, options?: RawAxiosRequestConfig): AxiosPromise { return localVarFp.getDownloadInfoOld(requestParameters.downloadInfoDto, requestParameters.key, options).then((request) => request(axios, basePath)); }, /** @@ -9114,7 +9215,7 @@ export const AssetApiFactory = function (configuration?: Configuration, basePath * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getMapMarkers(requestParameters: AssetApiGetMapMarkersRequest = {}, options?: AxiosRequestConfig): AxiosPromise> { + getMapMarkers(requestParameters: AssetApiGetMapMarkersRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise> { return localVarFp.getMapMarkers(requestParameters.fileCreatedAfter, requestParameters.fileCreatedBefore, requestParameters.isArchived, requestParameters.isFavorite, options).then((request) => request(axios, basePath)); }, /** @@ -9123,7 +9224,7 @@ export const AssetApiFactory = function (configuration?: Configuration, basePath * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getMemoryLane(requestParameters: AssetApiGetMemoryLaneRequest, options?: AxiosRequestConfig): AxiosPromise> { + getMemoryLane(requestParameters: AssetApiGetMemoryLaneRequest, options?: RawAxiosRequestConfig): AxiosPromise> { return localVarFp.getMemoryLane(requestParameters.day, requestParameters.month, options).then((request) => request(axios, basePath)); }, /** @@ -9132,7 +9233,7 @@ export const AssetApiFactory = function (configuration?: Configuration, basePath * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getRandom(requestParameters: AssetApiGetRandomRequest = {}, options?: AxiosRequestConfig): AxiosPromise> { + getRandom(requestParameters: AssetApiGetRandomRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise> { return localVarFp.getRandom(requestParameters.count, options).then((request) => request(axios, basePath)); }, /** @@ -9141,7 +9242,7 @@ export const AssetApiFactory = function (configuration?: Configuration, basePath * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getTimeBucket(requestParameters: AssetApiGetTimeBucketRequest, options?: AxiosRequestConfig): AxiosPromise> { + getTimeBucket(requestParameters: AssetApiGetTimeBucketRequest, options?: RawAxiosRequestConfig): AxiosPromise> { return localVarFp.getTimeBucket(requestParameters.size, requestParameters.timeBucket, requestParameters.albumId, requestParameters.isArchived, requestParameters.isFavorite, requestParameters.isTrashed, requestParameters.key, requestParameters.personId, requestParameters.userId, requestParameters.withPartners, requestParameters.withStacked, options).then((request) => request(axios, basePath)); }, /** @@ -9150,7 +9251,7 @@ export const AssetApiFactory = function (configuration?: Configuration, basePath * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getTimeBuckets(requestParameters: AssetApiGetTimeBucketsRequest, options?: AxiosRequestConfig): AxiosPromise> { + getTimeBuckets(requestParameters: AssetApiGetTimeBucketsRequest, options?: RawAxiosRequestConfig): AxiosPromise> { return localVarFp.getTimeBuckets(requestParameters.size, requestParameters.albumId, requestParameters.isArchived, requestParameters.isFavorite, requestParameters.isTrashed, requestParameters.key, requestParameters.personId, requestParameters.userId, requestParameters.withPartners, requestParameters.withStacked, options).then((request) => request(axios, basePath)); }, /** @@ -9159,7 +9260,7 @@ export const AssetApiFactory = function (configuration?: Configuration, basePath * @param {*} [options] Override http request option. * @throws {RequiredError} */ - restoreAssets(requestParameters: AssetApiRestoreAssetsRequest, options?: AxiosRequestConfig): AxiosPromise { + restoreAssets(requestParameters: AssetApiRestoreAssetsRequest, options?: RawAxiosRequestConfig): AxiosPromise { return localVarFp.restoreAssets(requestParameters.bulkIdsDto, options).then((request) => request(axios, basePath)); }, /** @@ -9167,7 +9268,7 @@ export const AssetApiFactory = function (configuration?: Configuration, basePath * @param {*} [options] Override http request option. * @throws {RequiredError} */ - restoreTrash(options?: AxiosRequestConfig): AxiosPromise { + restoreTrash(options?: RawAxiosRequestConfig): AxiosPromise { return localVarFp.restoreTrash(options).then((request) => request(axios, basePath)); }, /** @@ -9176,7 +9277,7 @@ export const AssetApiFactory = function (configuration?: Configuration, basePath * @param {*} [options] Override http request option. * @throws {RequiredError} */ - runAssetJobs(requestParameters: AssetApiRunAssetJobsRequest, options?: AxiosRequestConfig): AxiosPromise { + runAssetJobs(requestParameters: AssetApiRunAssetJobsRequest, options?: RawAxiosRequestConfig): AxiosPromise { return localVarFp.runAssetJobs(requestParameters.assetJobsDto, options).then((request) => request(axios, basePath)); }, /** @@ -9185,7 +9286,7 @@ export const AssetApiFactory = function (configuration?: Configuration, basePath * @param {*} [options] Override http request option. * @throws {RequiredError} */ - searchAssets(requestParameters: AssetApiSearchAssetsRequest = {}, options?: AxiosRequestConfig): AxiosPromise> { + searchAssets(requestParameters: AssetApiSearchAssetsRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise> { return localVarFp.searchAssets(requestParameters.checksum, requestParameters.city, requestParameters.country, requestParameters.createdAfter, requestParameters.createdBefore, requestParameters.deviceAssetId, requestParameters.deviceId, requestParameters.encodedVideoPath, requestParameters.id, requestParameters.isArchived, requestParameters.isEncoded, requestParameters.isExternal, requestParameters.isFavorite, requestParameters.isMotion, requestParameters.isOffline, requestParameters.isReadOnly, requestParameters.isVisible, requestParameters.lensModel, requestParameters.libraryId, requestParameters.make, requestParameters.model, requestParameters.order, requestParameters.originalFileName, requestParameters.originalPath, requestParameters.page, requestParameters.resizePath, requestParameters.size, requestParameters.state, requestParameters.takenAfter, requestParameters.takenBefore, requestParameters.trashedAfter, requestParameters.trashedBefore, requestParameters.type, requestParameters.updatedAfter, requestParameters.updatedBefore, requestParameters.webpPath, requestParameters.withDeleted, requestParameters.withExif, requestParameters.withPeople, requestParameters.withStacked, options).then((request) => request(axios, basePath)); }, /** @@ -9194,7 +9295,7 @@ export const AssetApiFactory = function (configuration?: Configuration, basePath * @param {*} [options] Override http request option. * @throws {RequiredError} */ - serveFile(requestParameters: AssetApiServeFileRequest, options?: AxiosRequestConfig): AxiosPromise { + serveFile(requestParameters: AssetApiServeFileRequest, options?: RawAxiosRequestConfig): AxiosPromise { return localVarFp.serveFile(requestParameters.id, requestParameters.isThumb, requestParameters.isWeb, requestParameters.key, options).then((request) => request(axios, basePath)); }, /** @@ -9203,7 +9304,7 @@ export const AssetApiFactory = function (configuration?: Configuration, basePath * @param {*} [options] Override http request option. * @throws {RequiredError} */ - updateAsset(requestParameters: AssetApiUpdateAssetRequest, options?: AxiosRequestConfig): AxiosPromise { + updateAsset(requestParameters: AssetApiUpdateAssetRequest, options?: RawAxiosRequestConfig): AxiosPromise { return localVarFp.updateAsset(requestParameters.id, requestParameters.updateAssetDto, options).then((request) => request(axios, basePath)); }, /** @@ -9212,7 +9313,7 @@ export const AssetApiFactory = function (configuration?: Configuration, basePath * @param {*} [options] Override http request option. * @throws {RequiredError} */ - updateAssets(requestParameters: AssetApiUpdateAssetsRequest, options?: AxiosRequestConfig): AxiosPromise { + updateAssets(requestParameters: AssetApiUpdateAssetsRequest, options?: RawAxiosRequestConfig): AxiosPromise { return localVarFp.updateAssets(requestParameters.assetBulkUpdateDto, options).then((request) => request(axios, basePath)); }, /** @@ -9221,7 +9322,7 @@ export const AssetApiFactory = function (configuration?: Configuration, basePath * @param {*} [options] Override http request option. * @throws {RequiredError} */ - updateStackParent(requestParameters: AssetApiUpdateStackParentRequest, options?: AxiosRequestConfig): AxiosPromise { + updateStackParent(requestParameters: AssetApiUpdateStackParentRequest, options?: RawAxiosRequestConfig): AxiosPromise { return localVarFp.updateStackParent(requestParameters.updateStackParentDto, options).then((request) => request(axios, basePath)); }, /** @@ -9230,7 +9331,7 @@ export const AssetApiFactory = function (configuration?: Configuration, basePath * @param {*} [options] Override http request option. * @throws {RequiredError} */ - uploadFile(requestParameters: AssetApiUploadFileRequest, options?: AxiosRequestConfig): AxiosPromise { + uploadFile(requestParameters: AssetApiUploadFileRequest, options?: RawAxiosRequestConfig): AxiosPromise { return localVarFp.uploadFile(requestParameters.assetData, requestParameters.deviceAssetId, requestParameters.deviceId, requestParameters.fileCreatedAt, requestParameters.fileModifiedAt, requestParameters.key, requestParameters.duration, requestParameters.isArchived, requestParameters.isExternal, requestParameters.isFavorite, requestParameters.isOffline, requestParameters.isReadOnly, requestParameters.isVisible, requestParameters.libraryId, requestParameters.livePhotoData, requestParameters.sidecarData, options).then((request) => request(axios, basePath)); }, }; @@ -10279,7 +10380,7 @@ export class AssetApi extends BaseAPI { * @throws {RequiredError} * @memberof AssetApi */ - public checkBulkUpload(requestParameters: AssetApiCheckBulkUploadRequest, options?: AxiosRequestConfig) { + public checkBulkUpload(requestParameters: AssetApiCheckBulkUploadRequest, options?: RawAxiosRequestConfig) { return AssetApiFp(this.configuration).checkBulkUpload(requestParameters.assetBulkUploadCheckDto, options).then((request) => request(this.axios, this.basePath)); } @@ -10290,7 +10391,7 @@ export class AssetApi extends BaseAPI { * @throws {RequiredError} * @memberof AssetApi */ - public checkExistingAssets(requestParameters: AssetApiCheckExistingAssetsRequest, options?: AxiosRequestConfig) { + public checkExistingAssets(requestParameters: AssetApiCheckExistingAssetsRequest, options?: RawAxiosRequestConfig) { return AssetApiFp(this.configuration).checkExistingAssets(requestParameters.checkExistingAssetsDto, options).then((request) => request(this.axios, this.basePath)); } @@ -10301,7 +10402,7 @@ export class AssetApi extends BaseAPI { * @throws {RequiredError} * @memberof AssetApi */ - public deleteAssets(requestParameters: AssetApiDeleteAssetsRequest, options?: AxiosRequestConfig) { + public deleteAssets(requestParameters: AssetApiDeleteAssetsRequest, options?: RawAxiosRequestConfig) { return AssetApiFp(this.configuration).deleteAssets(requestParameters.assetBulkDeleteDto, options).then((request) => request(this.axios, this.basePath)); } @@ -10312,7 +10413,7 @@ export class AssetApi extends BaseAPI { * @throws {RequiredError} * @memberof AssetApi */ - public downloadArchiveOld(requestParameters: AssetApiDownloadArchiveOldRequest, options?: AxiosRequestConfig) { + public downloadArchiveOld(requestParameters: AssetApiDownloadArchiveOldRequest, options?: RawAxiosRequestConfig) { return AssetApiFp(this.configuration).downloadArchiveOld(requestParameters.assetIdsDto, requestParameters.key, options).then((request) => request(this.axios, this.basePath)); } @@ -10323,7 +10424,7 @@ export class AssetApi extends BaseAPI { * @throws {RequiredError} * @memberof AssetApi */ - public downloadFileOld(requestParameters: AssetApiDownloadFileOldRequest, options?: AxiosRequestConfig) { + public downloadFileOld(requestParameters: AssetApiDownloadFileOldRequest, options?: RawAxiosRequestConfig) { return AssetApiFp(this.configuration).downloadFileOld(requestParameters.id, requestParameters.key, options).then((request) => request(this.axios, this.basePath)); } @@ -10333,7 +10434,7 @@ export class AssetApi extends BaseAPI { * @throws {RequiredError} * @memberof AssetApi */ - public emptyTrash(options?: AxiosRequestConfig) { + public emptyTrash(options?: RawAxiosRequestConfig) { return AssetApiFp(this.configuration).emptyTrash(options).then((request) => request(this.axios, this.basePath)); } @@ -10344,7 +10445,7 @@ export class AssetApi extends BaseAPI { * @throws {RequiredError} * @memberof AssetApi */ - public getAllAssets(requestParameters: AssetApiGetAllAssetsRequest = {}, options?: AxiosRequestConfig) { + public getAllAssets(requestParameters: AssetApiGetAllAssetsRequest = {}, options?: RawAxiosRequestConfig) { return AssetApiFp(this.configuration).getAllAssets(requestParameters.ifNoneMatch, requestParameters.isArchived, requestParameters.isFavorite, requestParameters.skip, requestParameters.take, requestParameters.updatedAfter, requestParameters.updatedBefore, requestParameters.userId, options).then((request) => request(this.axios, this.basePath)); } @@ -10355,7 +10456,7 @@ export class AssetApi extends BaseAPI { * @throws {RequiredError} * @memberof AssetApi */ - public getAllUserAssetsByDeviceId(requestParameters: AssetApiGetAllUserAssetsByDeviceIdRequest, options?: AxiosRequestConfig) { + public getAllUserAssetsByDeviceId(requestParameters: AssetApiGetAllUserAssetsByDeviceIdRequest, options?: RawAxiosRequestConfig) { return AssetApiFp(this.configuration).getAllUserAssetsByDeviceId(requestParameters.deviceId, options).then((request) => request(this.axios, this.basePath)); } @@ -10367,7 +10468,7 @@ export class AssetApi extends BaseAPI { * @throws {RequiredError} * @memberof AssetApi */ - public getAssetById(requestParameters: AssetApiGetAssetByIdRequest, options?: AxiosRequestConfig) { + public getAssetById(requestParameters: AssetApiGetAssetByIdRequest, options?: RawAxiosRequestConfig) { return AssetApiFp(this.configuration).getAssetById(requestParameters.id, requestParameters.key, options).then((request) => request(this.axios, this.basePath)); } @@ -10378,7 +10479,7 @@ export class AssetApi extends BaseAPI { * @throws {RequiredError} * @memberof AssetApi */ - public getAssetInfo(requestParameters: AssetApiGetAssetInfoRequest, options?: AxiosRequestConfig) { + public getAssetInfo(requestParameters: AssetApiGetAssetInfoRequest, options?: RawAxiosRequestConfig) { return AssetApiFp(this.configuration).getAssetInfo(requestParameters.id, requestParameters.key, options).then((request) => request(this.axios, this.basePath)); } @@ -10388,7 +10489,7 @@ export class AssetApi extends BaseAPI { * @throws {RequiredError} * @memberof AssetApi */ - public getAssetSearchTerms(options?: AxiosRequestConfig) { + public getAssetSearchTerms(options?: RawAxiosRequestConfig) { return AssetApiFp(this.configuration).getAssetSearchTerms(options).then((request) => request(this.axios, this.basePath)); } @@ -10399,7 +10500,7 @@ export class AssetApi extends BaseAPI { * @throws {RequiredError} * @memberof AssetApi */ - public getAssetStatistics(requestParameters: AssetApiGetAssetStatisticsRequest = {}, options?: AxiosRequestConfig) { + public getAssetStatistics(requestParameters: AssetApiGetAssetStatisticsRequest = {}, options?: RawAxiosRequestConfig) { return AssetApiFp(this.configuration).getAssetStatistics(requestParameters.isArchived, requestParameters.isFavorite, requestParameters.isTrashed, options).then((request) => request(this.axios, this.basePath)); } @@ -10410,7 +10511,7 @@ export class AssetApi extends BaseAPI { * @throws {RequiredError} * @memberof AssetApi */ - public getAssetThumbnail(requestParameters: AssetApiGetAssetThumbnailRequest, options?: AxiosRequestConfig) { + public getAssetThumbnail(requestParameters: AssetApiGetAssetThumbnailRequest, options?: RawAxiosRequestConfig) { return AssetApiFp(this.configuration).getAssetThumbnail(requestParameters.id, requestParameters.format, requestParameters.key, options).then((request) => request(this.axios, this.basePath)); } @@ -10420,7 +10521,7 @@ export class AssetApi extends BaseAPI { * @throws {RequiredError} * @memberof AssetApi */ - public getCuratedLocations(options?: AxiosRequestConfig) { + public getCuratedLocations(options?: RawAxiosRequestConfig) { return AssetApiFp(this.configuration).getCuratedLocations(options).then((request) => request(this.axios, this.basePath)); } @@ -10430,7 +10531,7 @@ export class AssetApi extends BaseAPI { * @throws {RequiredError} * @memberof AssetApi */ - public getCuratedObjects(options?: AxiosRequestConfig) { + public getCuratedObjects(options?: RawAxiosRequestConfig) { return AssetApiFp(this.configuration).getCuratedObjects(options).then((request) => request(this.axios, this.basePath)); } @@ -10441,7 +10542,7 @@ export class AssetApi extends BaseAPI { * @throws {RequiredError} * @memberof AssetApi */ - public getDownloadInfoOld(requestParameters: AssetApiGetDownloadInfoOldRequest, options?: AxiosRequestConfig) { + public getDownloadInfoOld(requestParameters: AssetApiGetDownloadInfoOldRequest, options?: RawAxiosRequestConfig) { return AssetApiFp(this.configuration).getDownloadInfoOld(requestParameters.downloadInfoDto, requestParameters.key, options).then((request) => request(this.axios, this.basePath)); } @@ -10452,7 +10553,7 @@ export class AssetApi extends BaseAPI { * @throws {RequiredError} * @memberof AssetApi */ - public getMapMarkers(requestParameters: AssetApiGetMapMarkersRequest = {}, options?: AxiosRequestConfig) { + public getMapMarkers(requestParameters: AssetApiGetMapMarkersRequest = {}, options?: RawAxiosRequestConfig) { return AssetApiFp(this.configuration).getMapMarkers(requestParameters.fileCreatedAfter, requestParameters.fileCreatedBefore, requestParameters.isArchived, requestParameters.isFavorite, options).then((request) => request(this.axios, this.basePath)); } @@ -10463,7 +10564,7 @@ export class AssetApi extends BaseAPI { * @throws {RequiredError} * @memberof AssetApi */ - public getMemoryLane(requestParameters: AssetApiGetMemoryLaneRequest, options?: AxiosRequestConfig) { + public getMemoryLane(requestParameters: AssetApiGetMemoryLaneRequest, options?: RawAxiosRequestConfig) { return AssetApiFp(this.configuration).getMemoryLane(requestParameters.day, requestParameters.month, options).then((request) => request(this.axios, this.basePath)); } @@ -10474,7 +10575,7 @@ export class AssetApi extends BaseAPI { * @throws {RequiredError} * @memberof AssetApi */ - public getRandom(requestParameters: AssetApiGetRandomRequest = {}, options?: AxiosRequestConfig) { + public getRandom(requestParameters: AssetApiGetRandomRequest = {}, options?: RawAxiosRequestConfig) { return AssetApiFp(this.configuration).getRandom(requestParameters.count, options).then((request) => request(this.axios, this.basePath)); } @@ -10485,7 +10586,7 @@ export class AssetApi extends BaseAPI { * @throws {RequiredError} * @memberof AssetApi */ - public getTimeBucket(requestParameters: AssetApiGetTimeBucketRequest, options?: AxiosRequestConfig) { + public getTimeBucket(requestParameters: AssetApiGetTimeBucketRequest, options?: RawAxiosRequestConfig) { return AssetApiFp(this.configuration).getTimeBucket(requestParameters.size, requestParameters.timeBucket, requestParameters.albumId, requestParameters.isArchived, requestParameters.isFavorite, requestParameters.isTrashed, requestParameters.key, requestParameters.personId, requestParameters.userId, requestParameters.withPartners, requestParameters.withStacked, options).then((request) => request(this.axios, this.basePath)); } @@ -10496,7 +10597,7 @@ export class AssetApi extends BaseAPI { * @throws {RequiredError} * @memberof AssetApi */ - public getTimeBuckets(requestParameters: AssetApiGetTimeBucketsRequest, options?: AxiosRequestConfig) { + public getTimeBuckets(requestParameters: AssetApiGetTimeBucketsRequest, options?: RawAxiosRequestConfig) { return AssetApiFp(this.configuration).getTimeBuckets(requestParameters.size, requestParameters.albumId, requestParameters.isArchived, requestParameters.isFavorite, requestParameters.isTrashed, requestParameters.key, requestParameters.personId, requestParameters.userId, requestParameters.withPartners, requestParameters.withStacked, options).then((request) => request(this.axios, this.basePath)); } @@ -10507,7 +10608,7 @@ export class AssetApi extends BaseAPI { * @throws {RequiredError} * @memberof AssetApi */ - public restoreAssets(requestParameters: AssetApiRestoreAssetsRequest, options?: AxiosRequestConfig) { + public restoreAssets(requestParameters: AssetApiRestoreAssetsRequest, options?: RawAxiosRequestConfig) { return AssetApiFp(this.configuration).restoreAssets(requestParameters.bulkIdsDto, options).then((request) => request(this.axios, this.basePath)); } @@ -10517,7 +10618,7 @@ export class AssetApi extends BaseAPI { * @throws {RequiredError} * @memberof AssetApi */ - public restoreTrash(options?: AxiosRequestConfig) { + public restoreTrash(options?: RawAxiosRequestConfig) { return AssetApiFp(this.configuration).restoreTrash(options).then((request) => request(this.axios, this.basePath)); } @@ -10528,7 +10629,7 @@ export class AssetApi extends BaseAPI { * @throws {RequiredError} * @memberof AssetApi */ - public runAssetJobs(requestParameters: AssetApiRunAssetJobsRequest, options?: AxiosRequestConfig) { + public runAssetJobs(requestParameters: AssetApiRunAssetJobsRequest, options?: RawAxiosRequestConfig) { return AssetApiFp(this.configuration).runAssetJobs(requestParameters.assetJobsDto, options).then((request) => request(this.axios, this.basePath)); } @@ -10539,7 +10640,7 @@ export class AssetApi extends BaseAPI { * @throws {RequiredError} * @memberof AssetApi */ - public searchAssets(requestParameters: AssetApiSearchAssetsRequest = {}, options?: AxiosRequestConfig) { + public searchAssets(requestParameters: AssetApiSearchAssetsRequest = {}, options?: RawAxiosRequestConfig) { return AssetApiFp(this.configuration).searchAssets(requestParameters.checksum, requestParameters.city, requestParameters.country, requestParameters.createdAfter, requestParameters.createdBefore, requestParameters.deviceAssetId, requestParameters.deviceId, requestParameters.encodedVideoPath, requestParameters.id, requestParameters.isArchived, requestParameters.isEncoded, requestParameters.isExternal, requestParameters.isFavorite, requestParameters.isMotion, requestParameters.isOffline, requestParameters.isReadOnly, requestParameters.isVisible, requestParameters.lensModel, requestParameters.libraryId, requestParameters.make, requestParameters.model, requestParameters.order, requestParameters.originalFileName, requestParameters.originalPath, requestParameters.page, requestParameters.resizePath, requestParameters.size, requestParameters.state, requestParameters.takenAfter, requestParameters.takenBefore, requestParameters.trashedAfter, requestParameters.trashedBefore, requestParameters.type, requestParameters.updatedAfter, requestParameters.updatedBefore, requestParameters.webpPath, requestParameters.withDeleted, requestParameters.withExif, requestParameters.withPeople, requestParameters.withStacked, options).then((request) => request(this.axios, this.basePath)); } @@ -10550,7 +10651,7 @@ export class AssetApi extends BaseAPI { * @throws {RequiredError} * @memberof AssetApi */ - public serveFile(requestParameters: AssetApiServeFileRequest, options?: AxiosRequestConfig) { + public serveFile(requestParameters: AssetApiServeFileRequest, options?: RawAxiosRequestConfig) { return AssetApiFp(this.configuration).serveFile(requestParameters.id, requestParameters.isThumb, requestParameters.isWeb, requestParameters.key, options).then((request) => request(this.axios, this.basePath)); } @@ -10561,7 +10662,7 @@ export class AssetApi extends BaseAPI { * @throws {RequiredError} * @memberof AssetApi */ - public updateAsset(requestParameters: AssetApiUpdateAssetRequest, options?: AxiosRequestConfig) { + public updateAsset(requestParameters: AssetApiUpdateAssetRequest, options?: RawAxiosRequestConfig) { return AssetApiFp(this.configuration).updateAsset(requestParameters.id, requestParameters.updateAssetDto, options).then((request) => request(this.axios, this.basePath)); } @@ -10572,7 +10673,7 @@ export class AssetApi extends BaseAPI { * @throws {RequiredError} * @memberof AssetApi */ - public updateAssets(requestParameters: AssetApiUpdateAssetsRequest, options?: AxiosRequestConfig) { + public updateAssets(requestParameters: AssetApiUpdateAssetsRequest, options?: RawAxiosRequestConfig) { return AssetApiFp(this.configuration).updateAssets(requestParameters.assetBulkUpdateDto, options).then((request) => request(this.axios, this.basePath)); } @@ -10583,7 +10684,7 @@ export class AssetApi extends BaseAPI { * @throws {RequiredError} * @memberof AssetApi */ - public updateStackParent(requestParameters: AssetApiUpdateStackParentRequest, options?: AxiosRequestConfig) { + public updateStackParent(requestParameters: AssetApiUpdateStackParentRequest, options?: RawAxiosRequestConfig) { return AssetApiFp(this.configuration).updateStackParent(requestParameters.updateStackParentDto, options).then((request) => request(this.axios, this.basePath)); } @@ -10594,12 +10695,13 @@ export class AssetApi extends BaseAPI { * @throws {RequiredError} * @memberof AssetApi */ - public uploadFile(requestParameters: AssetApiUploadFileRequest, options?: AxiosRequestConfig) { + public uploadFile(requestParameters: AssetApiUploadFileRequest, options?: RawAxiosRequestConfig) { return AssetApiFp(this.configuration).uploadFile(requestParameters.assetData, requestParameters.deviceAssetId, requestParameters.deviceId, requestParameters.fileCreatedAt, requestParameters.fileModifiedAt, requestParameters.key, requestParameters.duration, requestParameters.isArchived, requestParameters.isExternal, requestParameters.isFavorite, requestParameters.isOffline, requestParameters.isReadOnly, requestParameters.isVisible, requestParameters.libraryId, requestParameters.livePhotoData, requestParameters.sidecarData, options).then((request) => request(this.axios, this.basePath)); } } + /** * AuditApi - axios parameter creator * @export @@ -10612,7 +10714,7 @@ export const AuditApiAxiosParamCreator = function (configuration?: Configuration * @param {*} [options] Override http request option. * @throws {RequiredError} */ - fixAuditFiles: async (fileReportFixDto: FileReportFixDto, options: AxiosRequestConfig = {}): Promise => { + fixAuditFiles: async (fileReportFixDto: FileReportFixDto, options: RawAxiosRequestConfig = {}): Promise => { // verify required parameter 'fileReportFixDto' is not null or undefined assertParamExists('fixAuditFiles', 'fileReportFixDto', fileReportFixDto) const localVarPath = `/audit/file-report/fix`; @@ -10658,7 +10760,7 @@ export const AuditApiAxiosParamCreator = function (configuration?: Configuration * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getAuditDeletes: async (after: string, entityType: EntityType, userId?: string, options: AxiosRequestConfig = {}): Promise => { + getAuditDeletes: async (after: string, entityType: EntityType, userId?: string, options: RawAxiosRequestConfig = {}): Promise => { // verify required parameter 'after' is not null or undefined assertParamExists('getAuditDeletes', 'after', after) // verify required parameter 'entityType' is not null or undefined @@ -10714,7 +10816,7 @@ export const AuditApiAxiosParamCreator = function (configuration?: Configuration * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getAuditFiles: async (options: AxiosRequestConfig = {}): Promise => { + getAuditFiles: async (options: RawAxiosRequestConfig = {}): Promise => { const localVarPath = `/audit/file-report`; // use dummy base URL string because the URL constructor only accepts absolute URLs. const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); @@ -10753,7 +10855,7 @@ export const AuditApiAxiosParamCreator = function (configuration?: Configuration * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getFileChecksums: async (fileChecksumDto: FileChecksumDto, options: AxiosRequestConfig = {}): Promise => { + getFileChecksums: async (fileChecksumDto: FileChecksumDto, options: RawAxiosRequestConfig = {}): Promise => { // verify required parameter 'fileChecksumDto' is not null or undefined assertParamExists('getFileChecksums', 'fileChecksumDto', fileChecksumDto) const localVarPath = `/audit/file-report/checksum`; @@ -10807,9 +10909,11 @@ export const AuditApiFp = function(configuration?: Configuration) { * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async fixAuditFiles(fileReportFixDto: FileReportFixDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + async fixAuditFiles(fileReportFixDto: FileReportFixDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { const localVarAxiosArgs = await localVarAxiosParamCreator.fixAuditFiles(fileReportFixDto, options); - return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + const index = configuration?.serverIndex ?? 0; + const operationBasePath = operationServerMap['AuditApi.fixAuditFiles']?.[index]?.url; + return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); }, /** * @@ -10819,18 +10923,22 @@ export const AuditApiFp = function(configuration?: Configuration) { * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async getAuditDeletes(after: string, entityType: EntityType, userId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + async getAuditDeletes(after: string, entityType: EntityType, userId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { const localVarAxiosArgs = await localVarAxiosParamCreator.getAuditDeletes(after, entityType, userId, options); - return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + const index = configuration?.serverIndex ?? 0; + const operationBasePath = operationServerMap['AuditApi.getAuditDeletes']?.[index]?.url; + return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); }, /** * * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async getAuditFiles(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + async getAuditFiles(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { const localVarAxiosArgs = await localVarAxiosParamCreator.getAuditFiles(options); - return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + const index = configuration?.serverIndex ?? 0; + const operationBasePath = operationServerMap['AuditApi.getAuditFiles']?.[index]?.url; + return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); }, /** * @@ -10838,9 +10946,11 @@ export const AuditApiFp = function(configuration?: Configuration) { * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async getFileChecksums(fileChecksumDto: FileChecksumDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>> { + async getFileChecksums(fileChecksumDto: FileChecksumDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>> { const localVarAxiosArgs = await localVarAxiosParamCreator.getFileChecksums(fileChecksumDto, options); - return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + const index = configuration?.serverIndex ?? 0; + const operationBasePath = operationServerMap['AuditApi.getFileChecksums']?.[index]?.url; + return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); }, } }; @@ -10858,7 +10968,7 @@ export const AuditApiFactory = function (configuration?: Configuration, basePath * @param {*} [options] Override http request option. * @throws {RequiredError} */ - fixAuditFiles(requestParameters: AuditApiFixAuditFilesRequest, options?: AxiosRequestConfig): AxiosPromise { + fixAuditFiles(requestParameters: AuditApiFixAuditFilesRequest, options?: RawAxiosRequestConfig): AxiosPromise { return localVarFp.fixAuditFiles(requestParameters.fileReportFixDto, options).then((request) => request(axios, basePath)); }, /** @@ -10867,7 +10977,7 @@ export const AuditApiFactory = function (configuration?: Configuration, basePath * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getAuditDeletes(requestParameters: AuditApiGetAuditDeletesRequest, options?: AxiosRequestConfig): AxiosPromise { + getAuditDeletes(requestParameters: AuditApiGetAuditDeletesRequest, options?: RawAxiosRequestConfig): AxiosPromise { return localVarFp.getAuditDeletes(requestParameters.after, requestParameters.entityType, requestParameters.userId, options).then((request) => request(axios, basePath)); }, /** @@ -10875,7 +10985,7 @@ export const AuditApiFactory = function (configuration?: Configuration, basePath * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getAuditFiles(options?: AxiosRequestConfig): AxiosPromise { + getAuditFiles(options?: RawAxiosRequestConfig): AxiosPromise { return localVarFp.getAuditFiles(options).then((request) => request(axios, basePath)); }, /** @@ -10884,7 +10994,7 @@ export const AuditApiFactory = function (configuration?: Configuration, basePath * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getFileChecksums(requestParameters: AuditApiGetFileChecksumsRequest, options?: AxiosRequestConfig): AxiosPromise> { + getFileChecksums(requestParameters: AuditApiGetFileChecksumsRequest, options?: RawAxiosRequestConfig): AxiosPromise> { return localVarFp.getFileChecksums(requestParameters.fileChecksumDto, options).then((request) => request(axios, basePath)); }, }; @@ -10960,7 +11070,7 @@ export class AuditApi extends BaseAPI { * @throws {RequiredError} * @memberof AuditApi */ - public fixAuditFiles(requestParameters: AuditApiFixAuditFilesRequest, options?: AxiosRequestConfig) { + public fixAuditFiles(requestParameters: AuditApiFixAuditFilesRequest, options?: RawAxiosRequestConfig) { return AuditApiFp(this.configuration).fixAuditFiles(requestParameters.fileReportFixDto, options).then((request) => request(this.axios, this.basePath)); } @@ -10971,7 +11081,7 @@ export class AuditApi extends BaseAPI { * @throws {RequiredError} * @memberof AuditApi */ - public getAuditDeletes(requestParameters: AuditApiGetAuditDeletesRequest, options?: AxiosRequestConfig) { + public getAuditDeletes(requestParameters: AuditApiGetAuditDeletesRequest, options?: RawAxiosRequestConfig) { return AuditApiFp(this.configuration).getAuditDeletes(requestParameters.after, requestParameters.entityType, requestParameters.userId, options).then((request) => request(this.axios, this.basePath)); } @@ -10981,7 +11091,7 @@ export class AuditApi extends BaseAPI { * @throws {RequiredError} * @memberof AuditApi */ - public getAuditFiles(options?: AxiosRequestConfig) { + public getAuditFiles(options?: RawAxiosRequestConfig) { return AuditApiFp(this.configuration).getAuditFiles(options).then((request) => request(this.axios, this.basePath)); } @@ -10992,12 +11102,13 @@ export class AuditApi extends BaseAPI { * @throws {RequiredError} * @memberof AuditApi */ - public getFileChecksums(requestParameters: AuditApiGetFileChecksumsRequest, options?: AxiosRequestConfig) { + public getFileChecksums(requestParameters: AuditApiGetFileChecksumsRequest, options?: RawAxiosRequestConfig) { return AuditApiFp(this.configuration).getFileChecksums(requestParameters.fileChecksumDto, options).then((request) => request(this.axios, this.basePath)); } } + /** * AuthenticationApi - axios parameter creator * @export @@ -11010,7 +11121,7 @@ export const AuthenticationApiAxiosParamCreator = function (configuration?: Conf * @param {*} [options] Override http request option. * @throws {RequiredError} */ - changePassword: async (changePasswordDto: ChangePasswordDto, options: AxiosRequestConfig = {}): Promise => { + changePassword: async (changePasswordDto: ChangePasswordDto, options: RawAxiosRequestConfig = {}): Promise => { // verify required parameter 'changePasswordDto' is not null or undefined assertParamExists('changePassword', 'changePasswordDto', changePasswordDto) const localVarPath = `/auth/change-password`; @@ -11053,7 +11164,7 @@ export const AuthenticationApiAxiosParamCreator = function (configuration?: Conf * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getAuthDevices: async (options: AxiosRequestConfig = {}): Promise => { + getAuthDevices: async (options: RawAxiosRequestConfig = {}): Promise => { const localVarPath = `/auth/devices`; // use dummy base URL string because the URL constructor only accepts absolute URLs. const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); @@ -11092,7 +11203,7 @@ export const AuthenticationApiAxiosParamCreator = function (configuration?: Conf * @param {*} [options] Override http request option. * @throws {RequiredError} */ - login: async (loginCredentialDto: LoginCredentialDto, options: AxiosRequestConfig = {}): Promise => { + login: async (loginCredentialDto: LoginCredentialDto, options: RawAxiosRequestConfig = {}): Promise => { // verify required parameter 'loginCredentialDto' is not null or undefined assertParamExists('login', 'loginCredentialDto', loginCredentialDto) const localVarPath = `/auth/login`; @@ -11126,7 +11237,7 @@ export const AuthenticationApiAxiosParamCreator = function (configuration?: Conf * @param {*} [options] Override http request option. * @throws {RequiredError} */ - logout: async (options: AxiosRequestConfig = {}): Promise => { + logout: async (options: RawAxiosRequestConfig = {}): Promise => { const localVarPath = `/auth/logout`; // use dummy base URL string because the URL constructor only accepts absolute URLs. const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); @@ -11165,7 +11276,7 @@ export const AuthenticationApiAxiosParamCreator = function (configuration?: Conf * @param {*} [options] Override http request option. * @throws {RequiredError} */ - logoutAuthDevice: async (id: string, options: AxiosRequestConfig = {}): Promise => { + logoutAuthDevice: async (id: string, options: RawAxiosRequestConfig = {}): Promise => { // verify required parameter 'id' is not null or undefined assertParamExists('logoutAuthDevice', 'id', id) const localVarPath = `/auth/devices/{id}` @@ -11206,7 +11317,7 @@ export const AuthenticationApiAxiosParamCreator = function (configuration?: Conf * @param {*} [options] Override http request option. * @throws {RequiredError} */ - logoutAuthDevices: async (options: AxiosRequestConfig = {}): Promise => { + logoutAuthDevices: async (options: RawAxiosRequestConfig = {}): Promise => { const localVarPath = `/auth/devices`; // use dummy base URL string because the URL constructor only accepts absolute URLs. const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); @@ -11245,7 +11356,7 @@ export const AuthenticationApiAxiosParamCreator = function (configuration?: Conf * @param {*} [options] Override http request option. * @throws {RequiredError} */ - signUpAdmin: async (signUpDto: SignUpDto, options: AxiosRequestConfig = {}): Promise => { + signUpAdmin: async (signUpDto: SignUpDto, options: RawAxiosRequestConfig = {}): Promise => { // verify required parameter 'signUpDto' is not null or undefined assertParamExists('signUpAdmin', 'signUpDto', signUpDto) const localVarPath = `/auth/admin-sign-up`; @@ -11279,7 +11390,7 @@ export const AuthenticationApiAxiosParamCreator = function (configuration?: Conf * @param {*} [options] Override http request option. * @throws {RequiredError} */ - validateAccessToken: async (options: AxiosRequestConfig = {}): Promise => { + validateAccessToken: async (options: RawAxiosRequestConfig = {}): Promise => { const localVarPath = `/auth/validateToken`; // use dummy base URL string because the URL constructor only accepts absolute URLs. const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); @@ -11328,18 +11439,22 @@ export const AuthenticationApiFp = function(configuration?: Configuration) { * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async changePassword(changePasswordDto: ChangePasswordDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + async changePassword(changePasswordDto: ChangePasswordDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { const localVarAxiosArgs = await localVarAxiosParamCreator.changePassword(changePasswordDto, options); - return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + const index = configuration?.serverIndex ?? 0; + const operationBasePath = operationServerMap['AuthenticationApi.changePassword']?.[index]?.url; + return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); }, /** * * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async getAuthDevices(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>> { + async getAuthDevices(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>> { const localVarAxiosArgs = await localVarAxiosParamCreator.getAuthDevices(options); - return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + const index = configuration?.serverIndex ?? 0; + const operationBasePath = operationServerMap['AuthenticationApi.getAuthDevices']?.[index]?.url; + return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); }, /** * @@ -11347,18 +11462,22 @@ export const AuthenticationApiFp = function(configuration?: Configuration) { * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async login(loginCredentialDto: LoginCredentialDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + async login(loginCredentialDto: LoginCredentialDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { const localVarAxiosArgs = await localVarAxiosParamCreator.login(loginCredentialDto, options); - return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + const index = configuration?.serverIndex ?? 0; + const operationBasePath = operationServerMap['AuthenticationApi.login']?.[index]?.url; + return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); }, /** * * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async logout(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + async logout(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { const localVarAxiosArgs = await localVarAxiosParamCreator.logout(options); - return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + const index = configuration?.serverIndex ?? 0; + const operationBasePath = operationServerMap['AuthenticationApi.logout']?.[index]?.url; + return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); }, /** * @@ -11366,18 +11485,22 @@ export const AuthenticationApiFp = function(configuration?: Configuration) { * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async logoutAuthDevice(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + async logoutAuthDevice(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { const localVarAxiosArgs = await localVarAxiosParamCreator.logoutAuthDevice(id, options); - return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + const index = configuration?.serverIndex ?? 0; + const operationBasePath = operationServerMap['AuthenticationApi.logoutAuthDevice']?.[index]?.url; + return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); }, /** * * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async logoutAuthDevices(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + async logoutAuthDevices(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { const localVarAxiosArgs = await localVarAxiosParamCreator.logoutAuthDevices(options); - return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + const index = configuration?.serverIndex ?? 0; + const operationBasePath = operationServerMap['AuthenticationApi.logoutAuthDevices']?.[index]?.url; + return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); }, /** * @@ -11385,18 +11508,22 @@ export const AuthenticationApiFp = function(configuration?: Configuration) { * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async signUpAdmin(signUpDto: SignUpDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + async signUpAdmin(signUpDto: SignUpDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { const localVarAxiosArgs = await localVarAxiosParamCreator.signUpAdmin(signUpDto, options); - return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + const index = configuration?.serverIndex ?? 0; + const operationBasePath = operationServerMap['AuthenticationApi.signUpAdmin']?.[index]?.url; + return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); }, /** * * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async validateAccessToken(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + async validateAccessToken(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { const localVarAxiosArgs = await localVarAxiosParamCreator.validateAccessToken(options); - return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + const index = configuration?.serverIndex ?? 0; + const operationBasePath = operationServerMap['AuthenticationApi.validateAccessToken']?.[index]?.url; + return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); }, } }; @@ -11414,7 +11541,7 @@ export const AuthenticationApiFactory = function (configuration?: Configuration, * @param {*} [options] Override http request option. * @throws {RequiredError} */ - changePassword(requestParameters: AuthenticationApiChangePasswordRequest, options?: AxiosRequestConfig): AxiosPromise { + changePassword(requestParameters: AuthenticationApiChangePasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise { return localVarFp.changePassword(requestParameters.changePasswordDto, options).then((request) => request(axios, basePath)); }, /** @@ -11422,7 +11549,7 @@ export const AuthenticationApiFactory = function (configuration?: Configuration, * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getAuthDevices(options?: AxiosRequestConfig): AxiosPromise> { + getAuthDevices(options?: RawAxiosRequestConfig): AxiosPromise> { return localVarFp.getAuthDevices(options).then((request) => request(axios, basePath)); }, /** @@ -11431,7 +11558,7 @@ export const AuthenticationApiFactory = function (configuration?: Configuration, * @param {*} [options] Override http request option. * @throws {RequiredError} */ - login(requestParameters: AuthenticationApiLoginRequest, options?: AxiosRequestConfig): AxiosPromise { + login(requestParameters: AuthenticationApiLoginRequest, options?: RawAxiosRequestConfig): AxiosPromise { return localVarFp.login(requestParameters.loginCredentialDto, options).then((request) => request(axios, basePath)); }, /** @@ -11439,7 +11566,7 @@ export const AuthenticationApiFactory = function (configuration?: Configuration, * @param {*} [options] Override http request option. * @throws {RequiredError} */ - logout(options?: AxiosRequestConfig): AxiosPromise { + logout(options?: RawAxiosRequestConfig): AxiosPromise { return localVarFp.logout(options).then((request) => request(axios, basePath)); }, /** @@ -11448,7 +11575,7 @@ export const AuthenticationApiFactory = function (configuration?: Configuration, * @param {*} [options] Override http request option. * @throws {RequiredError} */ - logoutAuthDevice(requestParameters: AuthenticationApiLogoutAuthDeviceRequest, options?: AxiosRequestConfig): AxiosPromise { + logoutAuthDevice(requestParameters: AuthenticationApiLogoutAuthDeviceRequest, options?: RawAxiosRequestConfig): AxiosPromise { return localVarFp.logoutAuthDevice(requestParameters.id, options).then((request) => request(axios, basePath)); }, /** @@ -11456,7 +11583,7 @@ export const AuthenticationApiFactory = function (configuration?: Configuration, * @param {*} [options] Override http request option. * @throws {RequiredError} */ - logoutAuthDevices(options?: AxiosRequestConfig): AxiosPromise { + logoutAuthDevices(options?: RawAxiosRequestConfig): AxiosPromise { return localVarFp.logoutAuthDevices(options).then((request) => request(axios, basePath)); }, /** @@ -11465,7 +11592,7 @@ export const AuthenticationApiFactory = function (configuration?: Configuration, * @param {*} [options] Override http request option. * @throws {RequiredError} */ - signUpAdmin(requestParameters: AuthenticationApiSignUpAdminRequest, options?: AxiosRequestConfig): AxiosPromise { + signUpAdmin(requestParameters: AuthenticationApiSignUpAdminRequest, options?: RawAxiosRequestConfig): AxiosPromise { return localVarFp.signUpAdmin(requestParameters.signUpDto, options).then((request) => request(axios, basePath)); }, /** @@ -11473,7 +11600,7 @@ export const AuthenticationApiFactory = function (configuration?: Configuration, * @param {*} [options] Override http request option. * @throws {RequiredError} */ - validateAccessToken(options?: AxiosRequestConfig): AxiosPromise { + validateAccessToken(options?: RawAxiosRequestConfig): AxiosPromise { return localVarFp.validateAccessToken(options).then((request) => request(axios, basePath)); }, }; @@ -11549,7 +11676,7 @@ export class AuthenticationApi extends BaseAPI { * @throws {RequiredError} * @memberof AuthenticationApi */ - public changePassword(requestParameters: AuthenticationApiChangePasswordRequest, options?: AxiosRequestConfig) { + public changePassword(requestParameters: AuthenticationApiChangePasswordRequest, options?: RawAxiosRequestConfig) { return AuthenticationApiFp(this.configuration).changePassword(requestParameters.changePasswordDto, options).then((request) => request(this.axios, this.basePath)); } @@ -11559,7 +11686,7 @@ export class AuthenticationApi extends BaseAPI { * @throws {RequiredError} * @memberof AuthenticationApi */ - public getAuthDevices(options?: AxiosRequestConfig) { + public getAuthDevices(options?: RawAxiosRequestConfig) { return AuthenticationApiFp(this.configuration).getAuthDevices(options).then((request) => request(this.axios, this.basePath)); } @@ -11570,7 +11697,7 @@ export class AuthenticationApi extends BaseAPI { * @throws {RequiredError} * @memberof AuthenticationApi */ - public login(requestParameters: AuthenticationApiLoginRequest, options?: AxiosRequestConfig) { + public login(requestParameters: AuthenticationApiLoginRequest, options?: RawAxiosRequestConfig) { return AuthenticationApiFp(this.configuration).login(requestParameters.loginCredentialDto, options).then((request) => request(this.axios, this.basePath)); } @@ -11580,7 +11707,7 @@ export class AuthenticationApi extends BaseAPI { * @throws {RequiredError} * @memberof AuthenticationApi */ - public logout(options?: AxiosRequestConfig) { + public logout(options?: RawAxiosRequestConfig) { return AuthenticationApiFp(this.configuration).logout(options).then((request) => request(this.axios, this.basePath)); } @@ -11591,7 +11718,7 @@ export class AuthenticationApi extends BaseAPI { * @throws {RequiredError} * @memberof AuthenticationApi */ - public logoutAuthDevice(requestParameters: AuthenticationApiLogoutAuthDeviceRequest, options?: AxiosRequestConfig) { + public logoutAuthDevice(requestParameters: AuthenticationApiLogoutAuthDeviceRequest, options?: RawAxiosRequestConfig) { return AuthenticationApiFp(this.configuration).logoutAuthDevice(requestParameters.id, options).then((request) => request(this.axios, this.basePath)); } @@ -11601,7 +11728,7 @@ export class AuthenticationApi extends BaseAPI { * @throws {RequiredError} * @memberof AuthenticationApi */ - public logoutAuthDevices(options?: AxiosRequestConfig) { + public logoutAuthDevices(options?: RawAxiosRequestConfig) { return AuthenticationApiFp(this.configuration).logoutAuthDevices(options).then((request) => request(this.axios, this.basePath)); } @@ -11612,7 +11739,7 @@ export class AuthenticationApi extends BaseAPI { * @throws {RequiredError} * @memberof AuthenticationApi */ - public signUpAdmin(requestParameters: AuthenticationApiSignUpAdminRequest, options?: AxiosRequestConfig) { + public signUpAdmin(requestParameters: AuthenticationApiSignUpAdminRequest, options?: RawAxiosRequestConfig) { return AuthenticationApiFp(this.configuration).signUpAdmin(requestParameters.signUpDto, options).then((request) => request(this.axios, this.basePath)); } @@ -11622,12 +11749,13 @@ export class AuthenticationApi extends BaseAPI { * @throws {RequiredError} * @memberof AuthenticationApi */ - public validateAccessToken(options?: AxiosRequestConfig) { + public validateAccessToken(options?: RawAxiosRequestConfig) { return AuthenticationApiFp(this.configuration).validateAccessToken(options).then((request) => request(this.axios, this.basePath)); } } + /** * DownloadApi - axios parameter creator * @export @@ -11641,7 +11769,7 @@ export const DownloadApiAxiosParamCreator = function (configuration?: Configurat * @param {*} [options] Override http request option. * @throws {RequiredError} */ - downloadArchive: async (assetIdsDto: AssetIdsDto, key?: string, options: AxiosRequestConfig = {}): Promise => { + downloadArchive: async (assetIdsDto: AssetIdsDto, key?: string, options: RawAxiosRequestConfig = {}): Promise => { // verify required parameter 'assetIdsDto' is not null or undefined assertParamExists('downloadArchive', 'assetIdsDto', assetIdsDto) const localVarPath = `/download/archive`; @@ -11690,7 +11818,7 @@ export const DownloadApiAxiosParamCreator = function (configuration?: Configurat * @param {*} [options] Override http request option. * @throws {RequiredError} */ - downloadFile: async (id: string, key?: string, options: AxiosRequestConfig = {}): Promise => { + downloadFile: async (id: string, key?: string, options: RawAxiosRequestConfig = {}): Promise => { // verify required parameter 'id' is not null or undefined assertParamExists('downloadFile', 'id', id) const localVarPath = `/download/asset/{id}` @@ -11737,7 +11865,7 @@ export const DownloadApiAxiosParamCreator = function (configuration?: Configurat * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getDownloadInfo: async (downloadInfoDto: DownloadInfoDto, key?: string, options: AxiosRequestConfig = {}): Promise => { + getDownloadInfo: async (downloadInfoDto: DownloadInfoDto, key?: string, options: RawAxiosRequestConfig = {}): Promise => { // verify required parameter 'downloadInfoDto' is not null or undefined assertParamExists('getDownloadInfo', 'downloadInfoDto', downloadInfoDto) const localVarPath = `/download/info`; @@ -11796,9 +11924,11 @@ export const DownloadApiFp = function(configuration?: Configuration) { * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async downloadArchive(assetIdsDto: AssetIdsDto, key?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + async downloadArchive(assetIdsDto: AssetIdsDto, key?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { const localVarAxiosArgs = await localVarAxiosParamCreator.downloadArchive(assetIdsDto, key, options); - return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + const index = configuration?.serverIndex ?? 0; + const operationBasePath = operationServerMap['DownloadApi.downloadArchive']?.[index]?.url; + return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); }, /** * @@ -11807,9 +11937,11 @@ export const DownloadApiFp = function(configuration?: Configuration) { * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async downloadFile(id: string, key?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + async downloadFile(id: string, key?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { const localVarAxiosArgs = await localVarAxiosParamCreator.downloadFile(id, key, options); - return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + const index = configuration?.serverIndex ?? 0; + const operationBasePath = operationServerMap['DownloadApi.downloadFile']?.[index]?.url; + return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); }, /** * @@ -11818,9 +11950,11 @@ export const DownloadApiFp = function(configuration?: Configuration) { * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async getDownloadInfo(downloadInfoDto: DownloadInfoDto, key?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + async getDownloadInfo(downloadInfoDto: DownloadInfoDto, key?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { const localVarAxiosArgs = await localVarAxiosParamCreator.getDownloadInfo(downloadInfoDto, key, options); - return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + const index = configuration?.serverIndex ?? 0; + const operationBasePath = operationServerMap['DownloadApi.getDownloadInfo']?.[index]?.url; + return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); }, } }; @@ -11838,7 +11972,7 @@ export const DownloadApiFactory = function (configuration?: Configuration, baseP * @param {*} [options] Override http request option. * @throws {RequiredError} */ - downloadArchive(requestParameters: DownloadApiDownloadArchiveRequest, options?: AxiosRequestConfig): AxiosPromise { + downloadArchive(requestParameters: DownloadApiDownloadArchiveRequest, options?: RawAxiosRequestConfig): AxiosPromise { return localVarFp.downloadArchive(requestParameters.assetIdsDto, requestParameters.key, options).then((request) => request(axios, basePath)); }, /** @@ -11847,7 +11981,7 @@ export const DownloadApiFactory = function (configuration?: Configuration, baseP * @param {*} [options] Override http request option. * @throws {RequiredError} */ - downloadFile(requestParameters: DownloadApiDownloadFileRequest, options?: AxiosRequestConfig): AxiosPromise { + downloadFile(requestParameters: DownloadApiDownloadFileRequest, options?: RawAxiosRequestConfig): AxiosPromise { return localVarFp.downloadFile(requestParameters.id, requestParameters.key, options).then((request) => request(axios, basePath)); }, /** @@ -11856,7 +11990,7 @@ export const DownloadApiFactory = function (configuration?: Configuration, baseP * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getDownloadInfo(requestParameters: DownloadApiGetDownloadInfoRequest, options?: AxiosRequestConfig): AxiosPromise { + getDownloadInfo(requestParameters: DownloadApiGetDownloadInfoRequest, options?: RawAxiosRequestConfig): AxiosPromise { return localVarFp.getDownloadInfo(requestParameters.downloadInfoDto, requestParameters.key, options).then((request) => request(axios, basePath)); }, }; @@ -11939,7 +12073,7 @@ export class DownloadApi extends BaseAPI { * @throws {RequiredError} * @memberof DownloadApi */ - public downloadArchive(requestParameters: DownloadApiDownloadArchiveRequest, options?: AxiosRequestConfig) { + public downloadArchive(requestParameters: DownloadApiDownloadArchiveRequest, options?: RawAxiosRequestConfig) { return DownloadApiFp(this.configuration).downloadArchive(requestParameters.assetIdsDto, requestParameters.key, options).then((request) => request(this.axios, this.basePath)); } @@ -11950,7 +12084,7 @@ export class DownloadApi extends BaseAPI { * @throws {RequiredError} * @memberof DownloadApi */ - public downloadFile(requestParameters: DownloadApiDownloadFileRequest, options?: AxiosRequestConfig) { + public downloadFile(requestParameters: DownloadApiDownloadFileRequest, options?: RawAxiosRequestConfig) { return DownloadApiFp(this.configuration).downloadFile(requestParameters.id, requestParameters.key, options).then((request) => request(this.axios, this.basePath)); } @@ -11961,12 +12095,13 @@ export class DownloadApi extends BaseAPI { * @throws {RequiredError} * @memberof DownloadApi */ - public getDownloadInfo(requestParameters: DownloadApiGetDownloadInfoRequest, options?: AxiosRequestConfig) { + public getDownloadInfo(requestParameters: DownloadApiGetDownloadInfoRequest, options?: RawAxiosRequestConfig) { return DownloadApiFp(this.configuration).getDownloadInfo(requestParameters.downloadInfoDto, requestParameters.key, options).then((request) => request(this.axios, this.basePath)); } } + /** * FaceApi - axios parameter creator * @export @@ -11979,7 +12114,7 @@ export const FaceApiAxiosParamCreator = function (configuration?: Configuration) * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getFaces: async (id: string, options: AxiosRequestConfig = {}): Promise => { + getFaces: async (id: string, options: RawAxiosRequestConfig = {}): Promise => { // verify required parameter 'id' is not null or undefined assertParamExists('getFaces', 'id', id) const localVarPath = `/face`; @@ -12025,7 +12160,7 @@ export const FaceApiAxiosParamCreator = function (configuration?: Configuration) * @param {*} [options] Override http request option. * @throws {RequiredError} */ - reassignFacesById: async (id: string, faceDto: FaceDto, options: AxiosRequestConfig = {}): Promise => { + reassignFacesById: async (id: string, faceDto: FaceDto, options: RawAxiosRequestConfig = {}): Promise => { // verify required parameter 'id' is not null or undefined assertParamExists('reassignFacesById', 'id', id) // verify required parameter 'faceDto' is not null or undefined @@ -12082,9 +12217,11 @@ export const FaceApiFp = function(configuration?: Configuration) { * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async getFaces(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>> { + async getFaces(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>> { const localVarAxiosArgs = await localVarAxiosParamCreator.getFaces(id, options); - return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + const index = configuration?.serverIndex ?? 0; + const operationBasePath = operationServerMap['FaceApi.getFaces']?.[index]?.url; + return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); }, /** * @@ -12093,9 +12230,11 @@ export const FaceApiFp = function(configuration?: Configuration) { * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async reassignFacesById(id: string, faceDto: FaceDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + async reassignFacesById(id: string, faceDto: FaceDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { const localVarAxiosArgs = await localVarAxiosParamCreator.reassignFacesById(id, faceDto, options); - return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + const index = configuration?.serverIndex ?? 0; + const operationBasePath = operationServerMap['FaceApi.reassignFacesById']?.[index]?.url; + return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); }, } }; @@ -12113,7 +12252,7 @@ export const FaceApiFactory = function (configuration?: Configuration, basePath? * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getFaces(requestParameters: FaceApiGetFacesRequest, options?: AxiosRequestConfig): AxiosPromise> { + getFaces(requestParameters: FaceApiGetFacesRequest, options?: RawAxiosRequestConfig): AxiosPromise> { return localVarFp.getFaces(requestParameters.id, options).then((request) => request(axios, basePath)); }, /** @@ -12122,7 +12261,7 @@ export const FaceApiFactory = function (configuration?: Configuration, basePath? * @param {*} [options] Override http request option. * @throws {RequiredError} */ - reassignFacesById(requestParameters: FaceApiReassignFacesByIdRequest, options?: AxiosRequestConfig): AxiosPromise { + reassignFacesById(requestParameters: FaceApiReassignFacesByIdRequest, options?: RawAxiosRequestConfig): AxiosPromise { return localVarFp.reassignFacesById(requestParameters.id, requestParameters.faceDto, options).then((request) => request(axios, basePath)); }, }; @@ -12177,7 +12316,7 @@ export class FaceApi extends BaseAPI { * @throws {RequiredError} * @memberof FaceApi */ - public getFaces(requestParameters: FaceApiGetFacesRequest, options?: AxiosRequestConfig) { + public getFaces(requestParameters: FaceApiGetFacesRequest, options?: RawAxiosRequestConfig) { return FaceApiFp(this.configuration).getFaces(requestParameters.id, options).then((request) => request(this.axios, this.basePath)); } @@ -12188,12 +12327,13 @@ export class FaceApi extends BaseAPI { * @throws {RequiredError} * @memberof FaceApi */ - public reassignFacesById(requestParameters: FaceApiReassignFacesByIdRequest, options?: AxiosRequestConfig) { + public reassignFacesById(requestParameters: FaceApiReassignFacesByIdRequest, options?: RawAxiosRequestConfig) { return FaceApiFp(this.configuration).reassignFacesById(requestParameters.id, requestParameters.faceDto, options).then((request) => request(this.axios, this.basePath)); } } + /** * JobApi - axios parameter creator * @export @@ -12205,7 +12345,7 @@ export const JobApiAxiosParamCreator = function (configuration?: Configuration) * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getAllJobsStatus: async (options: AxiosRequestConfig = {}): Promise => { + getAllJobsStatus: async (options: RawAxiosRequestConfig = {}): Promise => { const localVarPath = `/jobs`; // use dummy base URL string because the URL constructor only accepts absolute URLs. const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); @@ -12245,7 +12385,7 @@ export const JobApiAxiosParamCreator = function (configuration?: Configuration) * @param {*} [options] Override http request option. * @throws {RequiredError} */ - sendJobCommand: async (id: JobName, jobCommandDto: JobCommandDto, options: AxiosRequestConfig = {}): Promise => { + sendJobCommand: async (id: JobName, jobCommandDto: JobCommandDto, options: RawAxiosRequestConfig = {}): Promise => { // verify required parameter 'id' is not null or undefined assertParamExists('sendJobCommand', 'id', id) // verify required parameter 'jobCommandDto' is not null or undefined @@ -12301,9 +12441,11 @@ export const JobApiFp = function(configuration?: Configuration) { * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async getAllJobsStatus(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + async getAllJobsStatus(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { const localVarAxiosArgs = await localVarAxiosParamCreator.getAllJobsStatus(options); - return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + const index = configuration?.serverIndex ?? 0; + const operationBasePath = operationServerMap['JobApi.getAllJobsStatus']?.[index]?.url; + return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); }, /** * @@ -12312,9 +12454,11 @@ export const JobApiFp = function(configuration?: Configuration) { * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async sendJobCommand(id: JobName, jobCommandDto: JobCommandDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + async sendJobCommand(id: JobName, jobCommandDto: JobCommandDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { const localVarAxiosArgs = await localVarAxiosParamCreator.sendJobCommand(id, jobCommandDto, options); - return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + const index = configuration?.serverIndex ?? 0; + const operationBasePath = operationServerMap['JobApi.sendJobCommand']?.[index]?.url; + return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); }, } }; @@ -12331,7 +12475,7 @@ export const JobApiFactory = function (configuration?: Configuration, basePath?: * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getAllJobsStatus(options?: AxiosRequestConfig): AxiosPromise { + getAllJobsStatus(options?: RawAxiosRequestConfig): AxiosPromise { return localVarFp.getAllJobsStatus(options).then((request) => request(axios, basePath)); }, /** @@ -12340,7 +12484,7 @@ export const JobApiFactory = function (configuration?: Configuration, basePath?: * @param {*} [options] Override http request option. * @throws {RequiredError} */ - sendJobCommand(requestParameters: JobApiSendJobCommandRequest, options?: AxiosRequestConfig): AxiosPromise { + sendJobCommand(requestParameters: JobApiSendJobCommandRequest, options?: RawAxiosRequestConfig): AxiosPromise { return localVarFp.sendJobCommand(requestParameters.id, requestParameters.jobCommandDto, options).then((request) => request(axios, basePath)); }, }; @@ -12380,7 +12524,7 @@ export class JobApi extends BaseAPI { * @throws {RequiredError} * @memberof JobApi */ - public getAllJobsStatus(options?: AxiosRequestConfig) { + public getAllJobsStatus(options?: RawAxiosRequestConfig) { return JobApiFp(this.configuration).getAllJobsStatus(options).then((request) => request(this.axios, this.basePath)); } @@ -12391,12 +12535,13 @@ export class JobApi extends BaseAPI { * @throws {RequiredError} * @memberof JobApi */ - public sendJobCommand(requestParameters: JobApiSendJobCommandRequest, options?: AxiosRequestConfig) { + public sendJobCommand(requestParameters: JobApiSendJobCommandRequest, options?: RawAxiosRequestConfig) { return JobApiFp(this.configuration).sendJobCommand(requestParameters.id, requestParameters.jobCommandDto, options).then((request) => request(this.axios, this.basePath)); } } + /** * LibraryApi - axios parameter creator * @export @@ -12409,7 +12554,7 @@ export const LibraryApiAxiosParamCreator = function (configuration?: Configurati * @param {*} [options] Override http request option. * @throws {RequiredError} */ - createLibrary: async (createLibraryDto: CreateLibraryDto, options: AxiosRequestConfig = {}): Promise => { + createLibrary: async (createLibraryDto: CreateLibraryDto, options: RawAxiosRequestConfig = {}): Promise => { // verify required parameter 'createLibraryDto' is not null or undefined assertParamExists('createLibrary', 'createLibraryDto', createLibraryDto) const localVarPath = `/library`; @@ -12453,7 +12598,7 @@ export const LibraryApiAxiosParamCreator = function (configuration?: Configurati * @param {*} [options] Override http request option. * @throws {RequiredError} */ - deleteLibrary: async (id: string, options: AxiosRequestConfig = {}): Promise => { + deleteLibrary: async (id: string, options: RawAxiosRequestConfig = {}): Promise => { // verify required parameter 'id' is not null or undefined assertParamExists('deleteLibrary', 'id', id) const localVarPath = `/library/{id}` @@ -12494,7 +12639,7 @@ export const LibraryApiAxiosParamCreator = function (configuration?: Configurati * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getLibraries: async (options: AxiosRequestConfig = {}): Promise => { + getLibraries: async (options: RawAxiosRequestConfig = {}): Promise => { const localVarPath = `/library`; // use dummy base URL string because the URL constructor only accepts absolute URLs. const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); @@ -12533,7 +12678,7 @@ export const LibraryApiAxiosParamCreator = function (configuration?: Configurati * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getLibraryInfo: async (id: string, options: AxiosRequestConfig = {}): Promise => { + getLibraryInfo: async (id: string, options: RawAxiosRequestConfig = {}): Promise => { // verify required parameter 'id' is not null or undefined assertParamExists('getLibraryInfo', 'id', id) const localVarPath = `/library/{id}` @@ -12575,7 +12720,7 @@ export const LibraryApiAxiosParamCreator = function (configuration?: Configurati * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getLibraryStatistics: async (id: string, options: AxiosRequestConfig = {}): Promise => { + getLibraryStatistics: async (id: string, options: RawAxiosRequestConfig = {}): Promise => { // verify required parameter 'id' is not null or undefined assertParamExists('getLibraryStatistics', 'id', id) const localVarPath = `/library/{id}/statistics` @@ -12617,7 +12762,7 @@ export const LibraryApiAxiosParamCreator = function (configuration?: Configurati * @param {*} [options] Override http request option. * @throws {RequiredError} */ - removeOfflineFiles: async (id: string, options: AxiosRequestConfig = {}): Promise => { + removeOfflineFiles: async (id: string, options: RawAxiosRequestConfig = {}): Promise => { // verify required parameter 'id' is not null or undefined assertParamExists('removeOfflineFiles', 'id', id) const localVarPath = `/library/{id}/removeOffline` @@ -12660,7 +12805,7 @@ export const LibraryApiAxiosParamCreator = function (configuration?: Configurati * @param {*} [options] Override http request option. * @throws {RequiredError} */ - scanLibrary: async (id: string, scanLibraryDto: ScanLibraryDto, options: AxiosRequestConfig = {}): Promise => { + scanLibrary: async (id: string, scanLibraryDto: ScanLibraryDto, options: RawAxiosRequestConfig = {}): Promise => { // verify required parameter 'id' is not null or undefined assertParamExists('scanLibrary', 'id', id) // verify required parameter 'scanLibraryDto' is not null or undefined @@ -12708,7 +12853,7 @@ export const LibraryApiAxiosParamCreator = function (configuration?: Configurati * @param {*} [options] Override http request option. * @throws {RequiredError} */ - updateLibrary: async (id: string, updateLibraryDto: UpdateLibraryDto, options: AxiosRequestConfig = {}): Promise => { + updateLibrary: async (id: string, updateLibraryDto: UpdateLibraryDto, options: RawAxiosRequestConfig = {}): Promise => { // verify required parameter 'id' is not null or undefined assertParamExists('updateLibrary', 'id', id) // verify required parameter 'updateLibraryDto' is not null or undefined @@ -12765,9 +12910,11 @@ export const LibraryApiFp = function(configuration?: Configuration) { * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async createLibrary(createLibraryDto: CreateLibraryDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + async createLibrary(createLibraryDto: CreateLibraryDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { const localVarAxiosArgs = await localVarAxiosParamCreator.createLibrary(createLibraryDto, options); - return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + const index = configuration?.serverIndex ?? 0; + const operationBasePath = operationServerMap['LibraryApi.createLibrary']?.[index]?.url; + return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); }, /** * @@ -12775,18 +12922,22 @@ export const LibraryApiFp = function(configuration?: Configuration) { * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async deleteLibrary(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + async deleteLibrary(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { const localVarAxiosArgs = await localVarAxiosParamCreator.deleteLibrary(id, options); - return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + const index = configuration?.serverIndex ?? 0; + const operationBasePath = operationServerMap['LibraryApi.deleteLibrary']?.[index]?.url; + return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); }, /** * * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async getLibraries(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>> { + async getLibraries(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>> { const localVarAxiosArgs = await localVarAxiosParamCreator.getLibraries(options); - return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + const index = configuration?.serverIndex ?? 0; + const operationBasePath = operationServerMap['LibraryApi.getLibraries']?.[index]?.url; + return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); }, /** * @@ -12794,9 +12945,11 @@ export const LibraryApiFp = function(configuration?: Configuration) { * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async getLibraryInfo(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + async getLibraryInfo(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { const localVarAxiosArgs = await localVarAxiosParamCreator.getLibraryInfo(id, options); - return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + const index = configuration?.serverIndex ?? 0; + const operationBasePath = operationServerMap['LibraryApi.getLibraryInfo']?.[index]?.url; + return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); }, /** * @@ -12804,9 +12957,11 @@ export const LibraryApiFp = function(configuration?: Configuration) { * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async getLibraryStatistics(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + async getLibraryStatistics(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { const localVarAxiosArgs = await localVarAxiosParamCreator.getLibraryStatistics(id, options); - return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + const index = configuration?.serverIndex ?? 0; + const operationBasePath = operationServerMap['LibraryApi.getLibraryStatistics']?.[index]?.url; + return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); }, /** * @@ -12814,9 +12969,11 @@ export const LibraryApiFp = function(configuration?: Configuration) { * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async removeOfflineFiles(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + async removeOfflineFiles(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { const localVarAxiosArgs = await localVarAxiosParamCreator.removeOfflineFiles(id, options); - return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + const index = configuration?.serverIndex ?? 0; + const operationBasePath = operationServerMap['LibraryApi.removeOfflineFiles']?.[index]?.url; + return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); }, /** * @@ -12825,9 +12982,11 @@ export const LibraryApiFp = function(configuration?: Configuration) { * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async scanLibrary(id: string, scanLibraryDto: ScanLibraryDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + async scanLibrary(id: string, scanLibraryDto: ScanLibraryDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { const localVarAxiosArgs = await localVarAxiosParamCreator.scanLibrary(id, scanLibraryDto, options); - return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + const index = configuration?.serverIndex ?? 0; + const operationBasePath = operationServerMap['LibraryApi.scanLibrary']?.[index]?.url; + return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); }, /** * @@ -12836,9 +12995,11 @@ export const LibraryApiFp = function(configuration?: Configuration) { * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async updateLibrary(id: string, updateLibraryDto: UpdateLibraryDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + async updateLibrary(id: string, updateLibraryDto: UpdateLibraryDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { const localVarAxiosArgs = await localVarAxiosParamCreator.updateLibrary(id, updateLibraryDto, options); - return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + const index = configuration?.serverIndex ?? 0; + const operationBasePath = operationServerMap['LibraryApi.updateLibrary']?.[index]?.url; + return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); }, } }; @@ -12856,7 +13017,7 @@ export const LibraryApiFactory = function (configuration?: Configuration, basePa * @param {*} [options] Override http request option. * @throws {RequiredError} */ - createLibrary(requestParameters: LibraryApiCreateLibraryRequest, options?: AxiosRequestConfig): AxiosPromise { + createLibrary(requestParameters: LibraryApiCreateLibraryRequest, options?: RawAxiosRequestConfig): AxiosPromise { return localVarFp.createLibrary(requestParameters.createLibraryDto, options).then((request) => request(axios, basePath)); }, /** @@ -12865,7 +13026,7 @@ export const LibraryApiFactory = function (configuration?: Configuration, basePa * @param {*} [options] Override http request option. * @throws {RequiredError} */ - deleteLibrary(requestParameters: LibraryApiDeleteLibraryRequest, options?: AxiosRequestConfig): AxiosPromise { + deleteLibrary(requestParameters: LibraryApiDeleteLibraryRequest, options?: RawAxiosRequestConfig): AxiosPromise { return localVarFp.deleteLibrary(requestParameters.id, options).then((request) => request(axios, basePath)); }, /** @@ -12873,7 +13034,7 @@ export const LibraryApiFactory = function (configuration?: Configuration, basePa * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getLibraries(options?: AxiosRequestConfig): AxiosPromise> { + getLibraries(options?: RawAxiosRequestConfig): AxiosPromise> { return localVarFp.getLibraries(options).then((request) => request(axios, basePath)); }, /** @@ -12882,7 +13043,7 @@ export const LibraryApiFactory = function (configuration?: Configuration, basePa * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getLibraryInfo(requestParameters: LibraryApiGetLibraryInfoRequest, options?: AxiosRequestConfig): AxiosPromise { + getLibraryInfo(requestParameters: LibraryApiGetLibraryInfoRequest, options?: RawAxiosRequestConfig): AxiosPromise { return localVarFp.getLibraryInfo(requestParameters.id, options).then((request) => request(axios, basePath)); }, /** @@ -12891,7 +13052,7 @@ export const LibraryApiFactory = function (configuration?: Configuration, basePa * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getLibraryStatistics(requestParameters: LibraryApiGetLibraryStatisticsRequest, options?: AxiosRequestConfig): AxiosPromise { + getLibraryStatistics(requestParameters: LibraryApiGetLibraryStatisticsRequest, options?: RawAxiosRequestConfig): AxiosPromise { return localVarFp.getLibraryStatistics(requestParameters.id, options).then((request) => request(axios, basePath)); }, /** @@ -12900,7 +13061,7 @@ export const LibraryApiFactory = function (configuration?: Configuration, basePa * @param {*} [options] Override http request option. * @throws {RequiredError} */ - removeOfflineFiles(requestParameters: LibraryApiRemoveOfflineFilesRequest, options?: AxiosRequestConfig): AxiosPromise { + removeOfflineFiles(requestParameters: LibraryApiRemoveOfflineFilesRequest, options?: RawAxiosRequestConfig): AxiosPromise { return localVarFp.removeOfflineFiles(requestParameters.id, options).then((request) => request(axios, basePath)); }, /** @@ -12909,7 +13070,7 @@ export const LibraryApiFactory = function (configuration?: Configuration, basePa * @param {*} [options] Override http request option. * @throws {RequiredError} */ - scanLibrary(requestParameters: LibraryApiScanLibraryRequest, options?: AxiosRequestConfig): AxiosPromise { + scanLibrary(requestParameters: LibraryApiScanLibraryRequest, options?: RawAxiosRequestConfig): AxiosPromise { return localVarFp.scanLibrary(requestParameters.id, requestParameters.scanLibraryDto, options).then((request) => request(axios, basePath)); }, /** @@ -12918,7 +13079,7 @@ export const LibraryApiFactory = function (configuration?: Configuration, basePa * @param {*} [options] Override http request option. * @throws {RequiredError} */ - updateLibrary(requestParameters: LibraryApiUpdateLibraryRequest, options?: AxiosRequestConfig): AxiosPromise { + updateLibrary(requestParameters: LibraryApiUpdateLibraryRequest, options?: RawAxiosRequestConfig): AxiosPromise { return localVarFp.updateLibrary(requestParameters.id, requestParameters.updateLibraryDto, options).then((request) => request(axios, basePath)); }, }; @@ -13050,7 +13211,7 @@ export class LibraryApi extends BaseAPI { * @throws {RequiredError} * @memberof LibraryApi */ - public createLibrary(requestParameters: LibraryApiCreateLibraryRequest, options?: AxiosRequestConfig) { + public createLibrary(requestParameters: LibraryApiCreateLibraryRequest, options?: RawAxiosRequestConfig) { return LibraryApiFp(this.configuration).createLibrary(requestParameters.createLibraryDto, options).then((request) => request(this.axios, this.basePath)); } @@ -13061,7 +13222,7 @@ export class LibraryApi extends BaseAPI { * @throws {RequiredError} * @memberof LibraryApi */ - public deleteLibrary(requestParameters: LibraryApiDeleteLibraryRequest, options?: AxiosRequestConfig) { + public deleteLibrary(requestParameters: LibraryApiDeleteLibraryRequest, options?: RawAxiosRequestConfig) { return LibraryApiFp(this.configuration).deleteLibrary(requestParameters.id, options).then((request) => request(this.axios, this.basePath)); } @@ -13071,7 +13232,7 @@ export class LibraryApi extends BaseAPI { * @throws {RequiredError} * @memberof LibraryApi */ - public getLibraries(options?: AxiosRequestConfig) { + public getLibraries(options?: RawAxiosRequestConfig) { return LibraryApiFp(this.configuration).getLibraries(options).then((request) => request(this.axios, this.basePath)); } @@ -13082,7 +13243,7 @@ export class LibraryApi extends BaseAPI { * @throws {RequiredError} * @memberof LibraryApi */ - public getLibraryInfo(requestParameters: LibraryApiGetLibraryInfoRequest, options?: AxiosRequestConfig) { + public getLibraryInfo(requestParameters: LibraryApiGetLibraryInfoRequest, options?: RawAxiosRequestConfig) { return LibraryApiFp(this.configuration).getLibraryInfo(requestParameters.id, options).then((request) => request(this.axios, this.basePath)); } @@ -13093,7 +13254,7 @@ export class LibraryApi extends BaseAPI { * @throws {RequiredError} * @memberof LibraryApi */ - public getLibraryStatistics(requestParameters: LibraryApiGetLibraryStatisticsRequest, options?: AxiosRequestConfig) { + public getLibraryStatistics(requestParameters: LibraryApiGetLibraryStatisticsRequest, options?: RawAxiosRequestConfig) { return LibraryApiFp(this.configuration).getLibraryStatistics(requestParameters.id, options).then((request) => request(this.axios, this.basePath)); } @@ -13104,7 +13265,7 @@ export class LibraryApi extends BaseAPI { * @throws {RequiredError} * @memberof LibraryApi */ - public removeOfflineFiles(requestParameters: LibraryApiRemoveOfflineFilesRequest, options?: AxiosRequestConfig) { + public removeOfflineFiles(requestParameters: LibraryApiRemoveOfflineFilesRequest, options?: RawAxiosRequestConfig) { return LibraryApiFp(this.configuration).removeOfflineFiles(requestParameters.id, options).then((request) => request(this.axios, this.basePath)); } @@ -13115,7 +13276,7 @@ export class LibraryApi extends BaseAPI { * @throws {RequiredError} * @memberof LibraryApi */ - public scanLibrary(requestParameters: LibraryApiScanLibraryRequest, options?: AxiosRequestConfig) { + public scanLibrary(requestParameters: LibraryApiScanLibraryRequest, options?: RawAxiosRequestConfig) { return LibraryApiFp(this.configuration).scanLibrary(requestParameters.id, requestParameters.scanLibraryDto, options).then((request) => request(this.axios, this.basePath)); } @@ -13126,12 +13287,13 @@ export class LibraryApi extends BaseAPI { * @throws {RequiredError} * @memberof LibraryApi */ - public updateLibrary(requestParameters: LibraryApiUpdateLibraryRequest, options?: AxiosRequestConfig) { + public updateLibrary(requestParameters: LibraryApiUpdateLibraryRequest, options?: RawAxiosRequestConfig) { return LibraryApiFp(this.configuration).updateLibrary(requestParameters.id, requestParameters.updateLibraryDto, options).then((request) => request(this.axios, this.basePath)); } } + /** * OAuthApi - axios parameter creator * @export @@ -13144,7 +13306,7 @@ export const OAuthApiAxiosParamCreator = function (configuration?: Configuration * @param {*} [options] Override http request option. * @throws {RequiredError} */ - finishOAuth: async (oAuthCallbackDto: OAuthCallbackDto, options: AxiosRequestConfig = {}): Promise => { + finishOAuth: async (oAuthCallbackDto: OAuthCallbackDto, options: RawAxiosRequestConfig = {}): Promise => { // verify required parameter 'oAuthCallbackDto' is not null or undefined assertParamExists('finishOAuth', 'oAuthCallbackDto', oAuthCallbackDto) const localVarPath = `/oauth/callback`; @@ -13180,7 +13342,7 @@ export const OAuthApiAxiosParamCreator = function (configuration?: Configuration * @deprecated * @throws {RequiredError} */ - generateOAuthConfig: async (oAuthConfigDto: OAuthConfigDto, options: AxiosRequestConfig = {}): Promise => { + generateOAuthConfig: async (oAuthConfigDto: OAuthConfigDto, options: RawAxiosRequestConfig = {}): Promise => { // verify required parameter 'oAuthConfigDto' is not null or undefined assertParamExists('generateOAuthConfig', 'oAuthConfigDto', oAuthConfigDto) const localVarPath = `/oauth/config`; @@ -13215,7 +13377,7 @@ export const OAuthApiAxiosParamCreator = function (configuration?: Configuration * @param {*} [options] Override http request option. * @throws {RequiredError} */ - linkOAuthAccount: async (oAuthCallbackDto: OAuthCallbackDto, options: AxiosRequestConfig = {}): Promise => { + linkOAuthAccount: async (oAuthCallbackDto: OAuthCallbackDto, options: RawAxiosRequestConfig = {}): Promise => { // verify required parameter 'oAuthCallbackDto' is not null or undefined assertParamExists('linkOAuthAccount', 'oAuthCallbackDto', oAuthCallbackDto) const localVarPath = `/oauth/link`; @@ -13258,7 +13420,7 @@ export const OAuthApiAxiosParamCreator = function (configuration?: Configuration * @param {*} [options] Override http request option. * @throws {RequiredError} */ - redirectOAuthToMobile: async (options: AxiosRequestConfig = {}): Promise => { + redirectOAuthToMobile: async (options: RawAxiosRequestConfig = {}): Promise => { const localVarPath = `/oauth/mobile-redirect`; // use dummy base URL string because the URL constructor only accepts absolute URLs. const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); @@ -13288,7 +13450,7 @@ export const OAuthApiAxiosParamCreator = function (configuration?: Configuration * @param {*} [options] Override http request option. * @throws {RequiredError} */ - startOAuth: async (oAuthConfigDto: OAuthConfigDto, options: AxiosRequestConfig = {}): Promise => { + startOAuth: async (oAuthConfigDto: OAuthConfigDto, options: RawAxiosRequestConfig = {}): Promise => { // verify required parameter 'oAuthConfigDto' is not null or undefined assertParamExists('startOAuth', 'oAuthConfigDto', oAuthConfigDto) const localVarPath = `/oauth/authorize`; @@ -13322,7 +13484,7 @@ export const OAuthApiAxiosParamCreator = function (configuration?: Configuration * @param {*} [options] Override http request option. * @throws {RequiredError} */ - unlinkOAuthAccount: async (options: AxiosRequestConfig = {}): Promise => { + unlinkOAuthAccount: async (options: RawAxiosRequestConfig = {}): Promise => { const localVarPath = `/oauth/unlink`; // use dummy base URL string because the URL constructor only accepts absolute URLs. const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); @@ -13371,9 +13533,11 @@ export const OAuthApiFp = function(configuration?: Configuration) { * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async finishOAuth(oAuthCallbackDto: OAuthCallbackDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + async finishOAuth(oAuthCallbackDto: OAuthCallbackDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { const localVarAxiosArgs = await localVarAxiosParamCreator.finishOAuth(oAuthCallbackDto, options); - return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + const index = configuration?.serverIndex ?? 0; + const operationBasePath = operationServerMap['OAuthApi.finishOAuth']?.[index]?.url; + return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); }, /** * @deprecated use feature flags and /oauth/authorize @@ -13382,9 +13546,11 @@ export const OAuthApiFp = function(configuration?: Configuration) { * @deprecated * @throws {RequiredError} */ - async generateOAuthConfig(oAuthConfigDto: OAuthConfigDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + async generateOAuthConfig(oAuthConfigDto: OAuthConfigDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { const localVarAxiosArgs = await localVarAxiosParamCreator.generateOAuthConfig(oAuthConfigDto, options); - return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + const index = configuration?.serverIndex ?? 0; + const operationBasePath = operationServerMap['OAuthApi.generateOAuthConfig']?.[index]?.url; + return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); }, /** * @@ -13392,18 +13558,22 @@ export const OAuthApiFp = function(configuration?: Configuration) { * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async linkOAuthAccount(oAuthCallbackDto: OAuthCallbackDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + async linkOAuthAccount(oAuthCallbackDto: OAuthCallbackDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { const localVarAxiosArgs = await localVarAxiosParamCreator.linkOAuthAccount(oAuthCallbackDto, options); - return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + const index = configuration?.serverIndex ?? 0; + const operationBasePath = operationServerMap['OAuthApi.linkOAuthAccount']?.[index]?.url; + return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); }, /** * * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async redirectOAuthToMobile(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + async redirectOAuthToMobile(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { const localVarAxiosArgs = await localVarAxiosParamCreator.redirectOAuthToMobile(options); - return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + const index = configuration?.serverIndex ?? 0; + const operationBasePath = operationServerMap['OAuthApi.redirectOAuthToMobile']?.[index]?.url; + return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); }, /** * @@ -13411,18 +13581,22 @@ export const OAuthApiFp = function(configuration?: Configuration) { * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async startOAuth(oAuthConfigDto: OAuthConfigDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + async startOAuth(oAuthConfigDto: OAuthConfigDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { const localVarAxiosArgs = await localVarAxiosParamCreator.startOAuth(oAuthConfigDto, options); - return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + const index = configuration?.serverIndex ?? 0; + const operationBasePath = operationServerMap['OAuthApi.startOAuth']?.[index]?.url; + return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); }, /** * * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async unlinkOAuthAccount(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + async unlinkOAuthAccount(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { const localVarAxiosArgs = await localVarAxiosParamCreator.unlinkOAuthAccount(options); - return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + const index = configuration?.serverIndex ?? 0; + const operationBasePath = operationServerMap['OAuthApi.unlinkOAuthAccount']?.[index]?.url; + return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); }, } }; @@ -13440,7 +13614,7 @@ export const OAuthApiFactory = function (configuration?: Configuration, basePath * @param {*} [options] Override http request option. * @throws {RequiredError} */ - finishOAuth(requestParameters: OAuthApiFinishOAuthRequest, options?: AxiosRequestConfig): AxiosPromise { + finishOAuth(requestParameters: OAuthApiFinishOAuthRequest, options?: RawAxiosRequestConfig): AxiosPromise { return localVarFp.finishOAuth(requestParameters.oAuthCallbackDto, options).then((request) => request(axios, basePath)); }, /** @@ -13450,7 +13624,7 @@ export const OAuthApiFactory = function (configuration?: Configuration, basePath * @deprecated * @throws {RequiredError} */ - generateOAuthConfig(requestParameters: OAuthApiGenerateOAuthConfigRequest, options?: AxiosRequestConfig): AxiosPromise { + generateOAuthConfig(requestParameters: OAuthApiGenerateOAuthConfigRequest, options?: RawAxiosRequestConfig): AxiosPromise { return localVarFp.generateOAuthConfig(requestParameters.oAuthConfigDto, options).then((request) => request(axios, basePath)); }, /** @@ -13459,7 +13633,7 @@ export const OAuthApiFactory = function (configuration?: Configuration, basePath * @param {*} [options] Override http request option. * @throws {RequiredError} */ - linkOAuthAccount(requestParameters: OAuthApiLinkOAuthAccountRequest, options?: AxiosRequestConfig): AxiosPromise { + linkOAuthAccount(requestParameters: OAuthApiLinkOAuthAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise { return localVarFp.linkOAuthAccount(requestParameters.oAuthCallbackDto, options).then((request) => request(axios, basePath)); }, /** @@ -13467,7 +13641,7 @@ export const OAuthApiFactory = function (configuration?: Configuration, basePath * @param {*} [options] Override http request option. * @throws {RequiredError} */ - redirectOAuthToMobile(options?: AxiosRequestConfig): AxiosPromise { + redirectOAuthToMobile(options?: RawAxiosRequestConfig): AxiosPromise { return localVarFp.redirectOAuthToMobile(options).then((request) => request(axios, basePath)); }, /** @@ -13476,7 +13650,7 @@ export const OAuthApiFactory = function (configuration?: Configuration, basePath * @param {*} [options] Override http request option. * @throws {RequiredError} */ - startOAuth(requestParameters: OAuthApiStartOAuthRequest, options?: AxiosRequestConfig): AxiosPromise { + startOAuth(requestParameters: OAuthApiStartOAuthRequest, options?: RawAxiosRequestConfig): AxiosPromise { return localVarFp.startOAuth(requestParameters.oAuthConfigDto, options).then((request) => request(axios, basePath)); }, /** @@ -13484,7 +13658,7 @@ export const OAuthApiFactory = function (configuration?: Configuration, basePath * @param {*} [options] Override http request option. * @throws {RequiredError} */ - unlinkOAuthAccount(options?: AxiosRequestConfig): AxiosPromise { + unlinkOAuthAccount(options?: RawAxiosRequestConfig): AxiosPromise { return localVarFp.unlinkOAuthAccount(options).then((request) => request(axios, basePath)); }, }; @@ -13560,7 +13734,7 @@ export class OAuthApi extends BaseAPI { * @throws {RequiredError} * @memberof OAuthApi */ - public finishOAuth(requestParameters: OAuthApiFinishOAuthRequest, options?: AxiosRequestConfig) { + public finishOAuth(requestParameters: OAuthApiFinishOAuthRequest, options?: RawAxiosRequestConfig) { return OAuthApiFp(this.configuration).finishOAuth(requestParameters.oAuthCallbackDto, options).then((request) => request(this.axios, this.basePath)); } @@ -13572,7 +13746,7 @@ export class OAuthApi extends BaseAPI { * @throws {RequiredError} * @memberof OAuthApi */ - public generateOAuthConfig(requestParameters: OAuthApiGenerateOAuthConfigRequest, options?: AxiosRequestConfig) { + public generateOAuthConfig(requestParameters: OAuthApiGenerateOAuthConfigRequest, options?: RawAxiosRequestConfig) { return OAuthApiFp(this.configuration).generateOAuthConfig(requestParameters.oAuthConfigDto, options).then((request) => request(this.axios, this.basePath)); } @@ -13583,7 +13757,7 @@ export class OAuthApi extends BaseAPI { * @throws {RequiredError} * @memberof OAuthApi */ - public linkOAuthAccount(requestParameters: OAuthApiLinkOAuthAccountRequest, options?: AxiosRequestConfig) { + public linkOAuthAccount(requestParameters: OAuthApiLinkOAuthAccountRequest, options?: RawAxiosRequestConfig) { return OAuthApiFp(this.configuration).linkOAuthAccount(requestParameters.oAuthCallbackDto, options).then((request) => request(this.axios, this.basePath)); } @@ -13593,7 +13767,7 @@ export class OAuthApi extends BaseAPI { * @throws {RequiredError} * @memberof OAuthApi */ - public redirectOAuthToMobile(options?: AxiosRequestConfig) { + public redirectOAuthToMobile(options?: RawAxiosRequestConfig) { return OAuthApiFp(this.configuration).redirectOAuthToMobile(options).then((request) => request(this.axios, this.basePath)); } @@ -13604,7 +13778,7 @@ export class OAuthApi extends BaseAPI { * @throws {RequiredError} * @memberof OAuthApi */ - public startOAuth(requestParameters: OAuthApiStartOAuthRequest, options?: AxiosRequestConfig) { + public startOAuth(requestParameters: OAuthApiStartOAuthRequest, options?: RawAxiosRequestConfig) { return OAuthApiFp(this.configuration).startOAuth(requestParameters.oAuthConfigDto, options).then((request) => request(this.axios, this.basePath)); } @@ -13614,12 +13788,13 @@ export class OAuthApi extends BaseAPI { * @throws {RequiredError} * @memberof OAuthApi */ - public unlinkOAuthAccount(options?: AxiosRequestConfig) { + public unlinkOAuthAccount(options?: RawAxiosRequestConfig) { return OAuthApiFp(this.configuration).unlinkOAuthAccount(options).then((request) => request(this.axios, this.basePath)); } } + /** * PartnerApi - axios parameter creator * @export @@ -13632,7 +13807,7 @@ export const PartnerApiAxiosParamCreator = function (configuration?: Configurati * @param {*} [options] Override http request option. * @throws {RequiredError} */ - createPartner: async (id: string, options: AxiosRequestConfig = {}): Promise => { + createPartner: async (id: string, options: RawAxiosRequestConfig = {}): Promise => { // verify required parameter 'id' is not null or undefined assertParamExists('createPartner', 'id', id) const localVarPath = `/partner/{id}` @@ -13670,11 +13845,11 @@ export const PartnerApiAxiosParamCreator = function (configuration?: Configurati }, /** * - * @param {'shared-by' | 'shared-with'} direction + * @param {GetPartnersDirectionEnum} direction * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getPartners: async (direction: 'shared-by' | 'shared-with', options: AxiosRequestConfig = {}): Promise => { + getPartners: async (direction: GetPartnersDirectionEnum, options: RawAxiosRequestConfig = {}): Promise => { // verify required parameter 'direction' is not null or undefined assertParamExists('getPartners', 'direction', direction) const localVarPath = `/partner`; @@ -13719,7 +13894,7 @@ export const PartnerApiAxiosParamCreator = function (configuration?: Configurati * @param {*} [options] Override http request option. * @throws {RequiredError} */ - removePartner: async (id: string, options: AxiosRequestConfig = {}): Promise => { + removePartner: async (id: string, options: RawAxiosRequestConfig = {}): Promise => { // verify required parameter 'id' is not null or undefined assertParamExists('removePartner', 'id', id) const localVarPath = `/partner/{id}` @@ -13762,7 +13937,7 @@ export const PartnerApiAxiosParamCreator = function (configuration?: Configurati * @param {*} [options] Override http request option. * @throws {RequiredError} */ - updatePartner: async (id: string, updatePartnerDto: UpdatePartnerDto, options: AxiosRequestConfig = {}): Promise => { + updatePartner: async (id: string, updatePartnerDto: UpdatePartnerDto, options: RawAxiosRequestConfig = {}): Promise => { // verify required parameter 'id' is not null or undefined assertParamExists('updatePartner', 'id', id) // verify required parameter 'updatePartnerDto' is not null or undefined @@ -13819,19 +13994,23 @@ export const PartnerApiFp = function(configuration?: Configuration) { * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async createPartner(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + async createPartner(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { const localVarAxiosArgs = await localVarAxiosParamCreator.createPartner(id, options); - return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + const index = configuration?.serverIndex ?? 0; + const operationBasePath = operationServerMap['PartnerApi.createPartner']?.[index]?.url; + return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); }, /** * - * @param {'shared-by' | 'shared-with'} direction + * @param {GetPartnersDirectionEnum} direction * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async getPartners(direction: 'shared-by' | 'shared-with', options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>> { + async getPartners(direction: GetPartnersDirectionEnum, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>> { const localVarAxiosArgs = await localVarAxiosParamCreator.getPartners(direction, options); - return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + const index = configuration?.serverIndex ?? 0; + const operationBasePath = operationServerMap['PartnerApi.getPartners']?.[index]?.url; + return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); }, /** * @@ -13839,9 +14018,11 @@ export const PartnerApiFp = function(configuration?: Configuration) { * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async removePartner(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + async removePartner(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { const localVarAxiosArgs = await localVarAxiosParamCreator.removePartner(id, options); - return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + const index = configuration?.serverIndex ?? 0; + const operationBasePath = operationServerMap['PartnerApi.removePartner']?.[index]?.url; + return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); }, /** * @@ -13850,9 +14031,11 @@ export const PartnerApiFp = function(configuration?: Configuration) { * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async updatePartner(id: string, updatePartnerDto: UpdatePartnerDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + async updatePartner(id: string, updatePartnerDto: UpdatePartnerDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { const localVarAxiosArgs = await localVarAxiosParamCreator.updatePartner(id, updatePartnerDto, options); - return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + const index = configuration?.serverIndex ?? 0; + const operationBasePath = operationServerMap['PartnerApi.updatePartner']?.[index]?.url; + return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); }, } }; @@ -13870,7 +14053,7 @@ export const PartnerApiFactory = function (configuration?: Configuration, basePa * @param {*} [options] Override http request option. * @throws {RequiredError} */ - createPartner(requestParameters: PartnerApiCreatePartnerRequest, options?: AxiosRequestConfig): AxiosPromise { + createPartner(requestParameters: PartnerApiCreatePartnerRequest, options?: RawAxiosRequestConfig): AxiosPromise { return localVarFp.createPartner(requestParameters.id, options).then((request) => request(axios, basePath)); }, /** @@ -13879,7 +14062,7 @@ export const PartnerApiFactory = function (configuration?: Configuration, basePa * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getPartners(requestParameters: PartnerApiGetPartnersRequest, options?: AxiosRequestConfig): AxiosPromise> { + getPartners(requestParameters: PartnerApiGetPartnersRequest, options?: RawAxiosRequestConfig): AxiosPromise> { return localVarFp.getPartners(requestParameters.direction, options).then((request) => request(axios, basePath)); }, /** @@ -13888,7 +14071,7 @@ export const PartnerApiFactory = function (configuration?: Configuration, basePa * @param {*} [options] Override http request option. * @throws {RequiredError} */ - removePartner(requestParameters: PartnerApiRemovePartnerRequest, options?: AxiosRequestConfig): AxiosPromise { + removePartner(requestParameters: PartnerApiRemovePartnerRequest, options?: RawAxiosRequestConfig): AxiosPromise { return localVarFp.removePartner(requestParameters.id, options).then((request) => request(axios, basePath)); }, /** @@ -13897,7 +14080,7 @@ export const PartnerApiFactory = function (configuration?: Configuration, basePa * @param {*} [options] Override http request option. * @throws {RequiredError} */ - updatePartner(requestParameters: PartnerApiUpdatePartnerRequest, options?: AxiosRequestConfig): AxiosPromise { + updatePartner(requestParameters: PartnerApiUpdatePartnerRequest, options?: RawAxiosRequestConfig): AxiosPromise { return localVarFp.updatePartner(requestParameters.id, requestParameters.updatePartnerDto, options).then((request) => request(axios, basePath)); }, }; @@ -13928,7 +14111,7 @@ export interface PartnerApiGetPartnersRequest { * @type {'shared-by' | 'shared-with'} * @memberof PartnerApiGetPartners */ - readonly direction: 'shared-by' | 'shared-with' + readonly direction: GetPartnersDirectionEnum } /** @@ -13980,7 +14163,7 @@ export class PartnerApi extends BaseAPI { * @throws {RequiredError} * @memberof PartnerApi */ - public createPartner(requestParameters: PartnerApiCreatePartnerRequest, options?: AxiosRequestConfig) { + public createPartner(requestParameters: PartnerApiCreatePartnerRequest, options?: RawAxiosRequestConfig) { return PartnerApiFp(this.configuration).createPartner(requestParameters.id, options).then((request) => request(this.axios, this.basePath)); } @@ -13991,7 +14174,7 @@ export class PartnerApi extends BaseAPI { * @throws {RequiredError} * @memberof PartnerApi */ - public getPartners(requestParameters: PartnerApiGetPartnersRequest, options?: AxiosRequestConfig) { + public getPartners(requestParameters: PartnerApiGetPartnersRequest, options?: RawAxiosRequestConfig) { return PartnerApiFp(this.configuration).getPartners(requestParameters.direction, options).then((request) => request(this.axios, this.basePath)); } @@ -14002,7 +14185,7 @@ export class PartnerApi extends BaseAPI { * @throws {RequiredError} * @memberof PartnerApi */ - public removePartner(requestParameters: PartnerApiRemovePartnerRequest, options?: AxiosRequestConfig) { + public removePartner(requestParameters: PartnerApiRemovePartnerRequest, options?: RawAxiosRequestConfig) { return PartnerApiFp(this.configuration).removePartner(requestParameters.id, options).then((request) => request(this.axios, this.basePath)); } @@ -14013,11 +14196,20 @@ export class PartnerApi extends BaseAPI { * @throws {RequiredError} * @memberof PartnerApi */ - public updatePartner(requestParameters: PartnerApiUpdatePartnerRequest, options?: AxiosRequestConfig) { + public updatePartner(requestParameters: PartnerApiUpdatePartnerRequest, options?: RawAxiosRequestConfig) { return PartnerApiFp(this.configuration).updatePartner(requestParameters.id, requestParameters.updatePartnerDto, options).then((request) => request(this.axios, this.basePath)); } } +/** + * @export + */ +export const GetPartnersDirectionEnum = { + By: 'shared-by', + With: 'shared-with' +} as const; +export type GetPartnersDirectionEnum = typeof GetPartnersDirectionEnum[keyof typeof GetPartnersDirectionEnum]; + /** * PersonApi - axios parameter creator @@ -14030,7 +14222,7 @@ export const PersonApiAxiosParamCreator = function (configuration?: Configuratio * @param {*} [options] Override http request option. * @throws {RequiredError} */ - createPerson: async (options: AxiosRequestConfig = {}): Promise => { + createPerson: async (options: RawAxiosRequestConfig = {}): Promise => { const localVarPath = `/person`; // use dummy base URL string because the URL constructor only accepts absolute URLs. const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); @@ -14069,7 +14261,7 @@ export const PersonApiAxiosParamCreator = function (configuration?: Configuratio * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getAllPeople: async (withHidden?: boolean, options: AxiosRequestConfig = {}): Promise => { + getAllPeople: async (withHidden?: boolean, options: RawAxiosRequestConfig = {}): Promise => { const localVarPath = `/person`; // use dummy base URL string because the URL constructor only accepts absolute URLs. const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); @@ -14112,7 +14304,7 @@ export const PersonApiAxiosParamCreator = function (configuration?: Configuratio * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getPerson: async (id: string, options: AxiosRequestConfig = {}): Promise => { + getPerson: async (id: string, options: RawAxiosRequestConfig = {}): Promise => { // verify required parameter 'id' is not null or undefined assertParamExists('getPerson', 'id', id) const localVarPath = `/person/{id}` @@ -14154,7 +14346,7 @@ export const PersonApiAxiosParamCreator = function (configuration?: Configuratio * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getPersonAssets: async (id: string, options: AxiosRequestConfig = {}): Promise => { + getPersonAssets: async (id: string, options: RawAxiosRequestConfig = {}): Promise => { // verify required parameter 'id' is not null or undefined assertParamExists('getPersonAssets', 'id', id) const localVarPath = `/person/{id}/assets` @@ -14196,7 +14388,7 @@ export const PersonApiAxiosParamCreator = function (configuration?: Configuratio * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getPersonStatistics: async (id: string, options: AxiosRequestConfig = {}): Promise => { + getPersonStatistics: async (id: string, options: RawAxiosRequestConfig = {}): Promise => { // verify required parameter 'id' is not null or undefined assertParamExists('getPersonStatistics', 'id', id) const localVarPath = `/person/{id}/statistics` @@ -14238,7 +14430,7 @@ export const PersonApiAxiosParamCreator = function (configuration?: Configuratio * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getPersonThumbnail: async (id: string, options: AxiosRequestConfig = {}): Promise => { + getPersonThumbnail: async (id: string, options: RawAxiosRequestConfig = {}): Promise => { // verify required parameter 'id' is not null or undefined assertParamExists('getPersonThumbnail', 'id', id) const localVarPath = `/person/{id}/thumbnail` @@ -14281,7 +14473,7 @@ export const PersonApiAxiosParamCreator = function (configuration?: Configuratio * @param {*} [options] Override http request option. * @throws {RequiredError} */ - mergePerson: async (id: string, mergePersonDto: MergePersonDto, options: AxiosRequestConfig = {}): Promise => { + mergePerson: async (id: string, mergePersonDto: MergePersonDto, options: RawAxiosRequestConfig = {}): Promise => { // verify required parameter 'id' is not null or undefined assertParamExists('mergePerson', 'id', id) // verify required parameter 'mergePersonDto' is not null or undefined @@ -14329,7 +14521,7 @@ export const PersonApiAxiosParamCreator = function (configuration?: Configuratio * @param {*} [options] Override http request option. * @throws {RequiredError} */ - reassignFaces: async (id: string, assetFaceUpdateDto: AssetFaceUpdateDto, options: AxiosRequestConfig = {}): Promise => { + reassignFaces: async (id: string, assetFaceUpdateDto: AssetFaceUpdateDto, options: RawAxiosRequestConfig = {}): Promise => { // verify required parameter 'id' is not null or undefined assertParamExists('reassignFaces', 'id', id) // verify required parameter 'assetFaceUpdateDto' is not null or undefined @@ -14376,7 +14568,7 @@ export const PersonApiAxiosParamCreator = function (configuration?: Configuratio * @param {*} [options] Override http request option. * @throws {RequiredError} */ - updatePeople: async (peopleUpdateDto: PeopleUpdateDto, options: AxiosRequestConfig = {}): Promise => { + updatePeople: async (peopleUpdateDto: PeopleUpdateDto, options: RawAxiosRequestConfig = {}): Promise => { // verify required parameter 'peopleUpdateDto' is not null or undefined assertParamExists('updatePeople', 'peopleUpdateDto', peopleUpdateDto) const localVarPath = `/person`; @@ -14421,7 +14613,7 @@ export const PersonApiAxiosParamCreator = function (configuration?: Configuratio * @param {*} [options] Override http request option. * @throws {RequiredError} */ - updatePerson: async (id: string, personUpdateDto: PersonUpdateDto, options: AxiosRequestConfig = {}): Promise => { + updatePerson: async (id: string, personUpdateDto: PersonUpdateDto, options: RawAxiosRequestConfig = {}): Promise => { // verify required parameter 'id' is not null or undefined assertParamExists('updatePerson', 'id', id) // verify required parameter 'personUpdateDto' is not null or undefined @@ -14477,9 +14669,11 @@ export const PersonApiFp = function(configuration?: Configuration) { * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async createPerson(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + async createPerson(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { const localVarAxiosArgs = await localVarAxiosParamCreator.createPerson(options); - return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + const index = configuration?.serverIndex ?? 0; + const operationBasePath = operationServerMap['PersonApi.createPerson']?.[index]?.url; + return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); }, /** * @@ -14487,9 +14681,11 @@ export const PersonApiFp = function(configuration?: Configuration) { * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async getAllPeople(withHidden?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + async getAllPeople(withHidden?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { const localVarAxiosArgs = await localVarAxiosParamCreator.getAllPeople(withHidden, options); - return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + const index = configuration?.serverIndex ?? 0; + const operationBasePath = operationServerMap['PersonApi.getAllPeople']?.[index]?.url; + return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); }, /** * @@ -14497,9 +14693,11 @@ export const PersonApiFp = function(configuration?: Configuration) { * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async getPerson(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + async getPerson(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { const localVarAxiosArgs = await localVarAxiosParamCreator.getPerson(id, options); - return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + const index = configuration?.serverIndex ?? 0; + const operationBasePath = operationServerMap['PersonApi.getPerson']?.[index]?.url; + return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); }, /** * @@ -14507,9 +14705,11 @@ export const PersonApiFp = function(configuration?: Configuration) { * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async getPersonAssets(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>> { + async getPersonAssets(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>> { const localVarAxiosArgs = await localVarAxiosParamCreator.getPersonAssets(id, options); - return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + const index = configuration?.serverIndex ?? 0; + const operationBasePath = operationServerMap['PersonApi.getPersonAssets']?.[index]?.url; + return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); }, /** * @@ -14517,9 +14717,11 @@ export const PersonApiFp = function(configuration?: Configuration) { * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async getPersonStatistics(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + async getPersonStatistics(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { const localVarAxiosArgs = await localVarAxiosParamCreator.getPersonStatistics(id, options); - return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + const index = configuration?.serverIndex ?? 0; + const operationBasePath = operationServerMap['PersonApi.getPersonStatistics']?.[index]?.url; + return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); }, /** * @@ -14527,9 +14729,11 @@ export const PersonApiFp = function(configuration?: Configuration) { * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async getPersonThumbnail(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + async getPersonThumbnail(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { const localVarAxiosArgs = await localVarAxiosParamCreator.getPersonThumbnail(id, options); - return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + const index = configuration?.serverIndex ?? 0; + const operationBasePath = operationServerMap['PersonApi.getPersonThumbnail']?.[index]?.url; + return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); }, /** * @@ -14538,9 +14742,11 @@ export const PersonApiFp = function(configuration?: Configuration) { * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async mergePerson(id: string, mergePersonDto: MergePersonDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>> { + async mergePerson(id: string, mergePersonDto: MergePersonDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>> { const localVarAxiosArgs = await localVarAxiosParamCreator.mergePerson(id, mergePersonDto, options); - return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + const index = configuration?.serverIndex ?? 0; + const operationBasePath = operationServerMap['PersonApi.mergePerson']?.[index]?.url; + return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); }, /** * @@ -14549,9 +14755,11 @@ export const PersonApiFp = function(configuration?: Configuration) { * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async reassignFaces(id: string, assetFaceUpdateDto: AssetFaceUpdateDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>> { + async reassignFaces(id: string, assetFaceUpdateDto: AssetFaceUpdateDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>> { const localVarAxiosArgs = await localVarAxiosParamCreator.reassignFaces(id, assetFaceUpdateDto, options); - return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + const index = configuration?.serverIndex ?? 0; + const operationBasePath = operationServerMap['PersonApi.reassignFaces']?.[index]?.url; + return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); }, /** * @@ -14559,9 +14767,11 @@ export const PersonApiFp = function(configuration?: Configuration) { * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async updatePeople(peopleUpdateDto: PeopleUpdateDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>> { + async updatePeople(peopleUpdateDto: PeopleUpdateDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>> { const localVarAxiosArgs = await localVarAxiosParamCreator.updatePeople(peopleUpdateDto, options); - return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + const index = configuration?.serverIndex ?? 0; + const operationBasePath = operationServerMap['PersonApi.updatePeople']?.[index]?.url; + return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); }, /** * @@ -14570,9 +14780,11 @@ export const PersonApiFp = function(configuration?: Configuration) { * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async updatePerson(id: string, personUpdateDto: PersonUpdateDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + async updatePerson(id: string, personUpdateDto: PersonUpdateDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { const localVarAxiosArgs = await localVarAxiosParamCreator.updatePerson(id, personUpdateDto, options); - return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + const index = configuration?.serverIndex ?? 0; + const operationBasePath = operationServerMap['PersonApi.updatePerson']?.[index]?.url; + return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); }, } }; @@ -14589,7 +14801,7 @@ export const PersonApiFactory = function (configuration?: Configuration, basePat * @param {*} [options] Override http request option. * @throws {RequiredError} */ - createPerson(options?: AxiosRequestConfig): AxiosPromise { + createPerson(options?: RawAxiosRequestConfig): AxiosPromise { return localVarFp.createPerson(options).then((request) => request(axios, basePath)); }, /** @@ -14598,7 +14810,7 @@ export const PersonApiFactory = function (configuration?: Configuration, basePat * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getAllPeople(requestParameters: PersonApiGetAllPeopleRequest = {}, options?: AxiosRequestConfig): AxiosPromise { + getAllPeople(requestParameters: PersonApiGetAllPeopleRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise { return localVarFp.getAllPeople(requestParameters.withHidden, options).then((request) => request(axios, basePath)); }, /** @@ -14607,7 +14819,7 @@ export const PersonApiFactory = function (configuration?: Configuration, basePat * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getPerson(requestParameters: PersonApiGetPersonRequest, options?: AxiosRequestConfig): AxiosPromise { + getPerson(requestParameters: PersonApiGetPersonRequest, options?: RawAxiosRequestConfig): AxiosPromise { return localVarFp.getPerson(requestParameters.id, options).then((request) => request(axios, basePath)); }, /** @@ -14616,7 +14828,7 @@ export const PersonApiFactory = function (configuration?: Configuration, basePat * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getPersonAssets(requestParameters: PersonApiGetPersonAssetsRequest, options?: AxiosRequestConfig): AxiosPromise> { + getPersonAssets(requestParameters: PersonApiGetPersonAssetsRequest, options?: RawAxiosRequestConfig): AxiosPromise> { return localVarFp.getPersonAssets(requestParameters.id, options).then((request) => request(axios, basePath)); }, /** @@ -14625,7 +14837,7 @@ export const PersonApiFactory = function (configuration?: Configuration, basePat * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getPersonStatistics(requestParameters: PersonApiGetPersonStatisticsRequest, options?: AxiosRequestConfig): AxiosPromise { + getPersonStatistics(requestParameters: PersonApiGetPersonStatisticsRequest, options?: RawAxiosRequestConfig): AxiosPromise { return localVarFp.getPersonStatistics(requestParameters.id, options).then((request) => request(axios, basePath)); }, /** @@ -14634,7 +14846,7 @@ export const PersonApiFactory = function (configuration?: Configuration, basePat * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getPersonThumbnail(requestParameters: PersonApiGetPersonThumbnailRequest, options?: AxiosRequestConfig): AxiosPromise { + getPersonThumbnail(requestParameters: PersonApiGetPersonThumbnailRequest, options?: RawAxiosRequestConfig): AxiosPromise { return localVarFp.getPersonThumbnail(requestParameters.id, options).then((request) => request(axios, basePath)); }, /** @@ -14643,7 +14855,7 @@ export const PersonApiFactory = function (configuration?: Configuration, basePat * @param {*} [options] Override http request option. * @throws {RequiredError} */ - mergePerson(requestParameters: PersonApiMergePersonRequest, options?: AxiosRequestConfig): AxiosPromise> { + mergePerson(requestParameters: PersonApiMergePersonRequest, options?: RawAxiosRequestConfig): AxiosPromise> { return localVarFp.mergePerson(requestParameters.id, requestParameters.mergePersonDto, options).then((request) => request(axios, basePath)); }, /** @@ -14652,7 +14864,7 @@ export const PersonApiFactory = function (configuration?: Configuration, basePat * @param {*} [options] Override http request option. * @throws {RequiredError} */ - reassignFaces(requestParameters: PersonApiReassignFacesRequest, options?: AxiosRequestConfig): AxiosPromise> { + reassignFaces(requestParameters: PersonApiReassignFacesRequest, options?: RawAxiosRequestConfig): AxiosPromise> { return localVarFp.reassignFaces(requestParameters.id, requestParameters.assetFaceUpdateDto, options).then((request) => request(axios, basePath)); }, /** @@ -14661,7 +14873,7 @@ export const PersonApiFactory = function (configuration?: Configuration, basePat * @param {*} [options] Override http request option. * @throws {RequiredError} */ - updatePeople(requestParameters: PersonApiUpdatePeopleRequest, options?: AxiosRequestConfig): AxiosPromise> { + updatePeople(requestParameters: PersonApiUpdatePeopleRequest, options?: RawAxiosRequestConfig): AxiosPromise> { return localVarFp.updatePeople(requestParameters.peopleUpdateDto, options).then((request) => request(axios, basePath)); }, /** @@ -14670,7 +14882,7 @@ export const PersonApiFactory = function (configuration?: Configuration, basePat * @param {*} [options] Override http request option. * @throws {RequiredError} */ - updatePerson(requestParameters: PersonApiUpdatePersonRequest, options?: AxiosRequestConfig): AxiosPromise { + updatePerson(requestParameters: PersonApiUpdatePersonRequest, options?: RawAxiosRequestConfig): AxiosPromise { return localVarFp.updatePerson(requestParameters.id, requestParameters.personUpdateDto, options).then((request) => request(axios, basePath)); }, }; @@ -14836,7 +15048,7 @@ export class PersonApi extends BaseAPI { * @throws {RequiredError} * @memberof PersonApi */ - public createPerson(options?: AxiosRequestConfig) { + public createPerson(options?: RawAxiosRequestConfig) { return PersonApiFp(this.configuration).createPerson(options).then((request) => request(this.axios, this.basePath)); } @@ -14847,7 +15059,7 @@ export class PersonApi extends BaseAPI { * @throws {RequiredError} * @memberof PersonApi */ - public getAllPeople(requestParameters: PersonApiGetAllPeopleRequest = {}, options?: AxiosRequestConfig) { + public getAllPeople(requestParameters: PersonApiGetAllPeopleRequest = {}, options?: RawAxiosRequestConfig) { return PersonApiFp(this.configuration).getAllPeople(requestParameters.withHidden, options).then((request) => request(this.axios, this.basePath)); } @@ -14858,7 +15070,7 @@ export class PersonApi extends BaseAPI { * @throws {RequiredError} * @memberof PersonApi */ - public getPerson(requestParameters: PersonApiGetPersonRequest, options?: AxiosRequestConfig) { + public getPerson(requestParameters: PersonApiGetPersonRequest, options?: RawAxiosRequestConfig) { return PersonApiFp(this.configuration).getPerson(requestParameters.id, options).then((request) => request(this.axios, this.basePath)); } @@ -14869,7 +15081,7 @@ export class PersonApi extends BaseAPI { * @throws {RequiredError} * @memberof PersonApi */ - public getPersonAssets(requestParameters: PersonApiGetPersonAssetsRequest, options?: AxiosRequestConfig) { + public getPersonAssets(requestParameters: PersonApiGetPersonAssetsRequest, options?: RawAxiosRequestConfig) { return PersonApiFp(this.configuration).getPersonAssets(requestParameters.id, options).then((request) => request(this.axios, this.basePath)); } @@ -14880,7 +15092,7 @@ export class PersonApi extends BaseAPI { * @throws {RequiredError} * @memberof PersonApi */ - public getPersonStatistics(requestParameters: PersonApiGetPersonStatisticsRequest, options?: AxiosRequestConfig) { + public getPersonStatistics(requestParameters: PersonApiGetPersonStatisticsRequest, options?: RawAxiosRequestConfig) { return PersonApiFp(this.configuration).getPersonStatistics(requestParameters.id, options).then((request) => request(this.axios, this.basePath)); } @@ -14891,7 +15103,7 @@ export class PersonApi extends BaseAPI { * @throws {RequiredError} * @memberof PersonApi */ - public getPersonThumbnail(requestParameters: PersonApiGetPersonThumbnailRequest, options?: AxiosRequestConfig) { + public getPersonThumbnail(requestParameters: PersonApiGetPersonThumbnailRequest, options?: RawAxiosRequestConfig) { return PersonApiFp(this.configuration).getPersonThumbnail(requestParameters.id, options).then((request) => request(this.axios, this.basePath)); } @@ -14902,7 +15114,7 @@ export class PersonApi extends BaseAPI { * @throws {RequiredError} * @memberof PersonApi */ - public mergePerson(requestParameters: PersonApiMergePersonRequest, options?: AxiosRequestConfig) { + public mergePerson(requestParameters: PersonApiMergePersonRequest, options?: RawAxiosRequestConfig) { return PersonApiFp(this.configuration).mergePerson(requestParameters.id, requestParameters.mergePersonDto, options).then((request) => request(this.axios, this.basePath)); } @@ -14913,7 +15125,7 @@ export class PersonApi extends BaseAPI { * @throws {RequiredError} * @memberof PersonApi */ - public reassignFaces(requestParameters: PersonApiReassignFacesRequest, options?: AxiosRequestConfig) { + public reassignFaces(requestParameters: PersonApiReassignFacesRequest, options?: RawAxiosRequestConfig) { return PersonApiFp(this.configuration).reassignFaces(requestParameters.id, requestParameters.assetFaceUpdateDto, options).then((request) => request(this.axios, this.basePath)); } @@ -14924,7 +15136,7 @@ export class PersonApi extends BaseAPI { * @throws {RequiredError} * @memberof PersonApi */ - public updatePeople(requestParameters: PersonApiUpdatePeopleRequest, options?: AxiosRequestConfig) { + public updatePeople(requestParameters: PersonApiUpdatePeopleRequest, options?: RawAxiosRequestConfig) { return PersonApiFp(this.configuration).updatePeople(requestParameters.peopleUpdateDto, options).then((request) => request(this.axios, this.basePath)); } @@ -14935,12 +15147,13 @@ export class PersonApi extends BaseAPI { * @throws {RequiredError} * @memberof PersonApi */ - public updatePerson(requestParameters: PersonApiUpdatePersonRequest, options?: AxiosRequestConfig) { + public updatePerson(requestParameters: PersonApiUpdatePersonRequest, options?: RawAxiosRequestConfig) { return PersonApiFp(this.configuration).updatePerson(requestParameters.id, requestParameters.personUpdateDto, options).then((request) => request(this.axios, this.basePath)); } } + /** * SearchApi - axios parameter creator * @export @@ -14952,7 +15165,7 @@ export const SearchApiAxiosParamCreator = function (configuration?: Configuratio * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getExploreData: async (options: AxiosRequestConfig = {}): Promise => { + getExploreData: async (options: RawAxiosRequestConfig = {}): Promise => { const localVarPath = `/search/explore`; // use dummy base URL string because the URL constructor only accepts absolute URLs. const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); @@ -14992,12 +15205,12 @@ export const SearchApiAxiosParamCreator = function (configuration?: Configuratio * @param {string} [q] * @param {string} [query] * @param {boolean} [recent] - * @param {'IMAGE' | 'VIDEO' | 'AUDIO' | 'OTHER'} [type] + * @param {SearchTypeEnum} [type] * @param {boolean} [withArchived] * @param {*} [options] Override http request option. * @throws {RequiredError} */ - search: async (clip?: boolean, motion?: boolean, q?: string, query?: string, recent?: boolean, type?: 'IMAGE' | 'VIDEO' | 'AUDIO' | 'OTHER', withArchived?: boolean, options: AxiosRequestConfig = {}): Promise => { + search: async (clip?: boolean, motion?: boolean, q?: string, query?: string, recent?: boolean, type?: SearchTypeEnum, withArchived?: boolean, options: RawAxiosRequestConfig = {}): Promise => { const localVarPath = `/search`; // use dummy base URL string because the URL constructor only accepts absolute URLs. const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); @@ -15065,7 +15278,7 @@ export const SearchApiAxiosParamCreator = function (configuration?: Configuratio * @param {*} [options] Override http request option. * @throws {RequiredError} */ - searchPerson: async (name: string, withHidden?: boolean, options: AxiosRequestConfig = {}): Promise => { + searchPerson: async (name: string, withHidden?: boolean, options: RawAxiosRequestConfig = {}): Promise => { // verify required parameter 'name' is not null or undefined assertParamExists('searchPerson', 'name', name) const localVarPath = `/search/person`; @@ -15123,9 +15336,11 @@ export const SearchApiFp = function(configuration?: Configuration) { * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async getExploreData(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>> { + async getExploreData(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>> { const localVarAxiosArgs = await localVarAxiosParamCreator.getExploreData(options); - return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + const index = configuration?.serverIndex ?? 0; + const operationBasePath = operationServerMap['SearchApi.getExploreData']?.[index]?.url; + return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); }, /** * @@ -15134,14 +15349,16 @@ export const SearchApiFp = function(configuration?: Configuration) { * @param {string} [q] * @param {string} [query] * @param {boolean} [recent] - * @param {'IMAGE' | 'VIDEO' | 'AUDIO' | 'OTHER'} [type] + * @param {SearchTypeEnum} [type] * @param {boolean} [withArchived] * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async search(clip?: boolean, motion?: boolean, q?: string, query?: string, recent?: boolean, type?: 'IMAGE' | 'VIDEO' | 'AUDIO' | 'OTHER', withArchived?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + async search(clip?: boolean, motion?: boolean, q?: string, query?: string, recent?: boolean, type?: SearchTypeEnum, withArchived?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { const localVarAxiosArgs = await localVarAxiosParamCreator.search(clip, motion, q, query, recent, type, withArchived, options); - return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + const index = configuration?.serverIndex ?? 0; + const operationBasePath = operationServerMap['SearchApi.search']?.[index]?.url; + return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); }, /** * @@ -15150,9 +15367,11 @@ export const SearchApiFp = function(configuration?: Configuration) { * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async searchPerson(name: string, withHidden?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>> { + async searchPerson(name: string, withHidden?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>> { const localVarAxiosArgs = await localVarAxiosParamCreator.searchPerson(name, withHidden, options); - return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + const index = configuration?.serverIndex ?? 0; + const operationBasePath = operationServerMap['SearchApi.searchPerson']?.[index]?.url; + return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); }, } }; @@ -15169,7 +15388,7 @@ export const SearchApiFactory = function (configuration?: Configuration, basePat * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getExploreData(options?: AxiosRequestConfig): AxiosPromise> { + getExploreData(options?: RawAxiosRequestConfig): AxiosPromise> { return localVarFp.getExploreData(options).then((request) => request(axios, basePath)); }, /** @@ -15178,7 +15397,7 @@ export const SearchApiFactory = function (configuration?: Configuration, basePat * @param {*} [options] Override http request option. * @throws {RequiredError} */ - search(requestParameters: SearchApiSearchRequest = {}, options?: AxiosRequestConfig): AxiosPromise { + search(requestParameters: SearchApiSearchRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise { return localVarFp.search(requestParameters.clip, requestParameters.motion, requestParameters.q, requestParameters.query, requestParameters.recent, requestParameters.type, requestParameters.withArchived, options).then((request) => request(axios, basePath)); }, /** @@ -15187,7 +15406,7 @@ export const SearchApiFactory = function (configuration?: Configuration, basePat * @param {*} [options] Override http request option. * @throws {RequiredError} */ - searchPerson(requestParameters: SearchApiSearchPersonRequest, options?: AxiosRequestConfig): AxiosPromise> { + searchPerson(requestParameters: SearchApiSearchPersonRequest, options?: RawAxiosRequestConfig): AxiosPromise> { return localVarFp.searchPerson(requestParameters.name, requestParameters.withHidden, options).then((request) => request(axios, basePath)); }, }; @@ -15239,7 +15458,7 @@ export interface SearchApiSearchRequest { * @type {'IMAGE' | 'VIDEO' | 'AUDIO' | 'OTHER'} * @memberof SearchApiSearch */ - readonly type?: 'IMAGE' | 'VIDEO' | 'AUDIO' | 'OTHER' + readonly type?: SearchTypeEnum /** * @@ -15283,7 +15502,7 @@ export class SearchApi extends BaseAPI { * @throws {RequiredError} * @memberof SearchApi */ - public getExploreData(options?: AxiosRequestConfig) { + public getExploreData(options?: RawAxiosRequestConfig) { return SearchApiFp(this.configuration).getExploreData(options).then((request) => request(this.axios, this.basePath)); } @@ -15294,7 +15513,7 @@ export class SearchApi extends BaseAPI { * @throws {RequiredError} * @memberof SearchApi */ - public search(requestParameters: SearchApiSearchRequest = {}, options?: AxiosRequestConfig) { + public search(requestParameters: SearchApiSearchRequest = {}, options?: RawAxiosRequestConfig) { return SearchApiFp(this.configuration).search(requestParameters.clip, requestParameters.motion, requestParameters.q, requestParameters.query, requestParameters.recent, requestParameters.type, requestParameters.withArchived, options).then((request) => request(this.axios, this.basePath)); } @@ -15305,11 +15524,22 @@ export class SearchApi extends BaseAPI { * @throws {RequiredError} * @memberof SearchApi */ - public searchPerson(requestParameters: SearchApiSearchPersonRequest, options?: AxiosRequestConfig) { + public searchPerson(requestParameters: SearchApiSearchPersonRequest, options?: RawAxiosRequestConfig) { return SearchApiFp(this.configuration).searchPerson(requestParameters.name, requestParameters.withHidden, options).then((request) => request(this.axios, this.basePath)); } } +/** + * @export + */ +export const SearchTypeEnum = { + Image: 'IMAGE', + Video: 'VIDEO', + Audio: 'AUDIO', + Other: 'OTHER' +} as const; +export type SearchTypeEnum = typeof SearchTypeEnum[keyof typeof SearchTypeEnum]; + /** * ServerInfoApi - axios parameter creator @@ -15322,7 +15552,7 @@ export const ServerInfoApiAxiosParamCreator = function (configuration?: Configur * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getServerConfig: async (options: AxiosRequestConfig = {}): Promise => { + getServerConfig: async (options: RawAxiosRequestConfig = {}): Promise => { const localVarPath = `/server-info/config`; // use dummy base URL string because the URL constructor only accepts absolute URLs. const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); @@ -15351,7 +15581,7 @@ export const ServerInfoApiAxiosParamCreator = function (configuration?: Configur * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getServerFeatures: async (options: AxiosRequestConfig = {}): Promise => { + getServerFeatures: async (options: RawAxiosRequestConfig = {}): Promise => { const localVarPath = `/server-info/features`; // use dummy base URL string because the URL constructor only accepts absolute URLs. const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); @@ -15380,7 +15610,7 @@ export const ServerInfoApiAxiosParamCreator = function (configuration?: Configur * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getServerInfo: async (options: AxiosRequestConfig = {}): Promise => { + getServerInfo: async (options: RawAxiosRequestConfig = {}): Promise => { const localVarPath = `/server-info`; // use dummy base URL string because the URL constructor only accepts absolute URLs. const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); @@ -15418,7 +15648,7 @@ export const ServerInfoApiAxiosParamCreator = function (configuration?: Configur * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getServerStatistics: async (options: AxiosRequestConfig = {}): Promise => { + getServerStatistics: async (options: RawAxiosRequestConfig = {}): Promise => { const localVarPath = `/server-info/statistics`; // use dummy base URL string because the URL constructor only accepts absolute URLs. const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); @@ -15456,7 +15686,7 @@ export const ServerInfoApiAxiosParamCreator = function (configuration?: Configur * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getServerVersion: async (options: AxiosRequestConfig = {}): Promise => { + getServerVersion: async (options: RawAxiosRequestConfig = {}): Promise => { const localVarPath = `/server-info/version`; // use dummy base URL string because the URL constructor only accepts absolute URLs. const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); @@ -15485,7 +15715,7 @@ export const ServerInfoApiAxiosParamCreator = function (configuration?: Configur * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getSupportedMediaTypes: async (options: AxiosRequestConfig = {}): Promise => { + getSupportedMediaTypes: async (options: RawAxiosRequestConfig = {}): Promise => { const localVarPath = `/server-info/media-types`; // use dummy base URL string because the URL constructor only accepts absolute URLs. const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); @@ -15514,7 +15744,7 @@ export const ServerInfoApiAxiosParamCreator = function (configuration?: Configur * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getTheme: async (options: AxiosRequestConfig = {}): Promise => { + getTheme: async (options: RawAxiosRequestConfig = {}): Promise => { const localVarPath = `/server-info/theme`; // use dummy base URL string because the URL constructor only accepts absolute URLs. const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); @@ -15543,7 +15773,7 @@ export const ServerInfoApiAxiosParamCreator = function (configuration?: Configur * @param {*} [options] Override http request option. * @throws {RequiredError} */ - pingServer: async (options: AxiosRequestConfig = {}): Promise => { + pingServer: async (options: RawAxiosRequestConfig = {}): Promise => { const localVarPath = `/server-info/ping`; // use dummy base URL string because the URL constructor only accepts absolute URLs. const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); @@ -15572,7 +15802,7 @@ export const ServerInfoApiAxiosParamCreator = function (configuration?: Configur * @param {*} [options] Override http request option. * @throws {RequiredError} */ - setAdminOnboarding: async (options: AxiosRequestConfig = {}): Promise => { + setAdminOnboarding: async (options: RawAxiosRequestConfig = {}): Promise => { const localVarPath = `/server-info/admin-onboarding`; // use dummy base URL string because the URL constructor only accepts absolute URLs. const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); @@ -15620,81 +15850,99 @@ export const ServerInfoApiFp = function(configuration?: Configuration) { * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async getServerConfig(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + async getServerConfig(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { const localVarAxiosArgs = await localVarAxiosParamCreator.getServerConfig(options); - return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + const index = configuration?.serverIndex ?? 0; + const operationBasePath = operationServerMap['ServerInfoApi.getServerConfig']?.[index]?.url; + return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); }, /** * * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async getServerFeatures(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + async getServerFeatures(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { const localVarAxiosArgs = await localVarAxiosParamCreator.getServerFeatures(options); - return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + const index = configuration?.serverIndex ?? 0; + const operationBasePath = operationServerMap['ServerInfoApi.getServerFeatures']?.[index]?.url; + return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); }, /** * * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async getServerInfo(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + async getServerInfo(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { const localVarAxiosArgs = await localVarAxiosParamCreator.getServerInfo(options); - return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + const index = configuration?.serverIndex ?? 0; + const operationBasePath = operationServerMap['ServerInfoApi.getServerInfo']?.[index]?.url; + return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); }, /** * * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async getServerStatistics(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + async getServerStatistics(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { const localVarAxiosArgs = await localVarAxiosParamCreator.getServerStatistics(options); - return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + const index = configuration?.serverIndex ?? 0; + const operationBasePath = operationServerMap['ServerInfoApi.getServerStatistics']?.[index]?.url; + return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); }, /** * * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async getServerVersion(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + async getServerVersion(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { const localVarAxiosArgs = await localVarAxiosParamCreator.getServerVersion(options); - return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + const index = configuration?.serverIndex ?? 0; + const operationBasePath = operationServerMap['ServerInfoApi.getServerVersion']?.[index]?.url; + return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); }, /** * * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async getSupportedMediaTypes(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + async getSupportedMediaTypes(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { const localVarAxiosArgs = await localVarAxiosParamCreator.getSupportedMediaTypes(options); - return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + const index = configuration?.serverIndex ?? 0; + const operationBasePath = operationServerMap['ServerInfoApi.getSupportedMediaTypes']?.[index]?.url; + return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); }, /** * * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async getTheme(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + async getTheme(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { const localVarAxiosArgs = await localVarAxiosParamCreator.getTheme(options); - return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + const index = configuration?.serverIndex ?? 0; + const operationBasePath = operationServerMap['ServerInfoApi.getTheme']?.[index]?.url; + return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); }, /** * * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async pingServer(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + async pingServer(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { const localVarAxiosArgs = await localVarAxiosParamCreator.pingServer(options); - return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + const index = configuration?.serverIndex ?? 0; + const operationBasePath = operationServerMap['ServerInfoApi.pingServer']?.[index]?.url; + return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); }, /** * * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async setAdminOnboarding(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + async setAdminOnboarding(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { const localVarAxiosArgs = await localVarAxiosParamCreator.setAdminOnboarding(options); - return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + const index = configuration?.serverIndex ?? 0; + const operationBasePath = operationServerMap['ServerInfoApi.setAdminOnboarding']?.[index]?.url; + return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); }, } }; @@ -15711,7 +15959,7 @@ export const ServerInfoApiFactory = function (configuration?: Configuration, bas * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getServerConfig(options?: AxiosRequestConfig): AxiosPromise { + getServerConfig(options?: RawAxiosRequestConfig): AxiosPromise { return localVarFp.getServerConfig(options).then((request) => request(axios, basePath)); }, /** @@ -15719,7 +15967,7 @@ export const ServerInfoApiFactory = function (configuration?: Configuration, bas * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getServerFeatures(options?: AxiosRequestConfig): AxiosPromise { + getServerFeatures(options?: RawAxiosRequestConfig): AxiosPromise { return localVarFp.getServerFeatures(options).then((request) => request(axios, basePath)); }, /** @@ -15727,7 +15975,7 @@ export const ServerInfoApiFactory = function (configuration?: Configuration, bas * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getServerInfo(options?: AxiosRequestConfig): AxiosPromise { + getServerInfo(options?: RawAxiosRequestConfig): AxiosPromise { return localVarFp.getServerInfo(options).then((request) => request(axios, basePath)); }, /** @@ -15735,7 +15983,7 @@ export const ServerInfoApiFactory = function (configuration?: Configuration, bas * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getServerStatistics(options?: AxiosRequestConfig): AxiosPromise { + getServerStatistics(options?: RawAxiosRequestConfig): AxiosPromise { return localVarFp.getServerStatistics(options).then((request) => request(axios, basePath)); }, /** @@ -15743,7 +15991,7 @@ export const ServerInfoApiFactory = function (configuration?: Configuration, bas * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getServerVersion(options?: AxiosRequestConfig): AxiosPromise { + getServerVersion(options?: RawAxiosRequestConfig): AxiosPromise { return localVarFp.getServerVersion(options).then((request) => request(axios, basePath)); }, /** @@ -15751,7 +15999,7 @@ export const ServerInfoApiFactory = function (configuration?: Configuration, bas * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getSupportedMediaTypes(options?: AxiosRequestConfig): AxiosPromise { + getSupportedMediaTypes(options?: RawAxiosRequestConfig): AxiosPromise { return localVarFp.getSupportedMediaTypes(options).then((request) => request(axios, basePath)); }, /** @@ -15759,7 +16007,7 @@ export const ServerInfoApiFactory = function (configuration?: Configuration, bas * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getTheme(options?: AxiosRequestConfig): AxiosPromise { + getTheme(options?: RawAxiosRequestConfig): AxiosPromise { return localVarFp.getTheme(options).then((request) => request(axios, basePath)); }, /** @@ -15767,7 +16015,7 @@ export const ServerInfoApiFactory = function (configuration?: Configuration, bas * @param {*} [options] Override http request option. * @throws {RequiredError} */ - pingServer(options?: AxiosRequestConfig): AxiosPromise { + pingServer(options?: RawAxiosRequestConfig): AxiosPromise { return localVarFp.pingServer(options).then((request) => request(axios, basePath)); }, /** @@ -15775,7 +16023,7 @@ export const ServerInfoApiFactory = function (configuration?: Configuration, bas * @param {*} [options] Override http request option. * @throws {RequiredError} */ - setAdminOnboarding(options?: AxiosRequestConfig): AxiosPromise { + setAdminOnboarding(options?: RawAxiosRequestConfig): AxiosPromise { return localVarFp.setAdminOnboarding(options).then((request) => request(axios, basePath)); }, }; @@ -15794,7 +16042,7 @@ export class ServerInfoApi extends BaseAPI { * @throws {RequiredError} * @memberof ServerInfoApi */ - public getServerConfig(options?: AxiosRequestConfig) { + public getServerConfig(options?: RawAxiosRequestConfig) { return ServerInfoApiFp(this.configuration).getServerConfig(options).then((request) => request(this.axios, this.basePath)); } @@ -15804,7 +16052,7 @@ export class ServerInfoApi extends BaseAPI { * @throws {RequiredError} * @memberof ServerInfoApi */ - public getServerFeatures(options?: AxiosRequestConfig) { + public getServerFeatures(options?: RawAxiosRequestConfig) { return ServerInfoApiFp(this.configuration).getServerFeatures(options).then((request) => request(this.axios, this.basePath)); } @@ -15814,7 +16062,7 @@ export class ServerInfoApi extends BaseAPI { * @throws {RequiredError} * @memberof ServerInfoApi */ - public getServerInfo(options?: AxiosRequestConfig) { + public getServerInfo(options?: RawAxiosRequestConfig) { return ServerInfoApiFp(this.configuration).getServerInfo(options).then((request) => request(this.axios, this.basePath)); } @@ -15824,7 +16072,7 @@ export class ServerInfoApi extends BaseAPI { * @throws {RequiredError} * @memberof ServerInfoApi */ - public getServerStatistics(options?: AxiosRequestConfig) { + public getServerStatistics(options?: RawAxiosRequestConfig) { return ServerInfoApiFp(this.configuration).getServerStatistics(options).then((request) => request(this.axios, this.basePath)); } @@ -15834,7 +16082,7 @@ export class ServerInfoApi extends BaseAPI { * @throws {RequiredError} * @memberof ServerInfoApi */ - public getServerVersion(options?: AxiosRequestConfig) { + public getServerVersion(options?: RawAxiosRequestConfig) { return ServerInfoApiFp(this.configuration).getServerVersion(options).then((request) => request(this.axios, this.basePath)); } @@ -15844,7 +16092,7 @@ export class ServerInfoApi extends BaseAPI { * @throws {RequiredError} * @memberof ServerInfoApi */ - public getSupportedMediaTypes(options?: AxiosRequestConfig) { + public getSupportedMediaTypes(options?: RawAxiosRequestConfig) { return ServerInfoApiFp(this.configuration).getSupportedMediaTypes(options).then((request) => request(this.axios, this.basePath)); } @@ -15854,7 +16102,7 @@ export class ServerInfoApi extends BaseAPI { * @throws {RequiredError} * @memberof ServerInfoApi */ - public getTheme(options?: AxiosRequestConfig) { + public getTheme(options?: RawAxiosRequestConfig) { return ServerInfoApiFp(this.configuration).getTheme(options).then((request) => request(this.axios, this.basePath)); } @@ -15864,7 +16112,7 @@ export class ServerInfoApi extends BaseAPI { * @throws {RequiredError} * @memberof ServerInfoApi */ - public pingServer(options?: AxiosRequestConfig) { + public pingServer(options?: RawAxiosRequestConfig) { return ServerInfoApiFp(this.configuration).pingServer(options).then((request) => request(this.axios, this.basePath)); } @@ -15874,12 +16122,13 @@ export class ServerInfoApi extends BaseAPI { * @throws {RequiredError} * @memberof ServerInfoApi */ - public setAdminOnboarding(options?: AxiosRequestConfig) { + public setAdminOnboarding(options?: RawAxiosRequestConfig) { return ServerInfoApiFp(this.configuration).setAdminOnboarding(options).then((request) => request(this.axios, this.basePath)); } } + /** * SharedLinkApi - axios parameter creator * @export @@ -15894,7 +16143,7 @@ export const SharedLinkApiAxiosParamCreator = function (configuration?: Configur * @param {*} [options] Override http request option. * @throws {RequiredError} */ - addSharedLinkAssets: async (id: string, assetIdsDto: AssetIdsDto, key?: string, options: AxiosRequestConfig = {}): Promise => { + addSharedLinkAssets: async (id: string, assetIdsDto: AssetIdsDto, key?: string, options: RawAxiosRequestConfig = {}): Promise => { // verify required parameter 'id' is not null or undefined assertParamExists('addSharedLinkAssets', 'id', id) // verify required parameter 'assetIdsDto' is not null or undefined @@ -15945,7 +16194,7 @@ export const SharedLinkApiAxiosParamCreator = function (configuration?: Configur * @param {*} [options] Override http request option. * @throws {RequiredError} */ - createSharedLink: async (sharedLinkCreateDto: SharedLinkCreateDto, options: AxiosRequestConfig = {}): Promise => { + createSharedLink: async (sharedLinkCreateDto: SharedLinkCreateDto, options: RawAxiosRequestConfig = {}): Promise => { // verify required parameter 'sharedLinkCreateDto' is not null or undefined assertParamExists('createSharedLink', 'sharedLinkCreateDto', sharedLinkCreateDto) const localVarPath = `/shared-link`; @@ -15988,7 +16237,7 @@ export const SharedLinkApiAxiosParamCreator = function (configuration?: Configur * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getAllSharedLinks: async (options: AxiosRequestConfig = {}): Promise => { + getAllSharedLinks: async (options: RawAxiosRequestConfig = {}): Promise => { const localVarPath = `/shared-link`; // use dummy base URL string because the URL constructor only accepts absolute URLs. const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); @@ -16029,7 +16278,7 @@ export const SharedLinkApiAxiosParamCreator = function (configuration?: Configur * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getMySharedLink: async (key?: string, password?: string, token?: string, options: AxiosRequestConfig = {}): Promise => { + getMySharedLink: async (key?: string, password?: string, token?: string, options: RawAxiosRequestConfig = {}): Promise => { const localVarPath = `/shared-link/me`; // use dummy base URL string because the URL constructor only accepts absolute URLs. const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); @@ -16080,7 +16329,7 @@ export const SharedLinkApiAxiosParamCreator = function (configuration?: Configur * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getSharedLinkById: async (id: string, options: AxiosRequestConfig = {}): Promise => { + getSharedLinkById: async (id: string, options: RawAxiosRequestConfig = {}): Promise => { // verify required parameter 'id' is not null or undefined assertParamExists('getSharedLinkById', 'id', id) const localVarPath = `/shared-link/{id}` @@ -16122,7 +16371,7 @@ export const SharedLinkApiAxiosParamCreator = function (configuration?: Configur * @param {*} [options] Override http request option. * @throws {RequiredError} */ - removeSharedLink: async (id: string, options: AxiosRequestConfig = {}): Promise => { + removeSharedLink: async (id: string, options: RawAxiosRequestConfig = {}): Promise => { // verify required parameter 'id' is not null or undefined assertParamExists('removeSharedLink', 'id', id) const localVarPath = `/shared-link/{id}` @@ -16166,7 +16415,7 @@ export const SharedLinkApiAxiosParamCreator = function (configuration?: Configur * @param {*} [options] Override http request option. * @throws {RequiredError} */ - removeSharedLinkAssets: async (id: string, assetIdsDto: AssetIdsDto, key?: string, options: AxiosRequestConfig = {}): Promise => { + removeSharedLinkAssets: async (id: string, assetIdsDto: AssetIdsDto, key?: string, options: RawAxiosRequestConfig = {}): Promise => { // verify required parameter 'id' is not null or undefined assertParamExists('removeSharedLinkAssets', 'id', id) // verify required parameter 'assetIdsDto' is not null or undefined @@ -16218,7 +16467,7 @@ export const SharedLinkApiAxiosParamCreator = function (configuration?: Configur * @param {*} [options] Override http request option. * @throws {RequiredError} */ - updateSharedLink: async (id: string, sharedLinkEditDto: SharedLinkEditDto, options: AxiosRequestConfig = {}): Promise => { + updateSharedLink: async (id: string, sharedLinkEditDto: SharedLinkEditDto, options: RawAxiosRequestConfig = {}): Promise => { // verify required parameter 'id' is not null or undefined assertParamExists('updateSharedLink', 'id', id) // verify required parameter 'sharedLinkEditDto' is not null or undefined @@ -16277,9 +16526,11 @@ export const SharedLinkApiFp = function(configuration?: Configuration) { * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async addSharedLinkAssets(id: string, assetIdsDto: AssetIdsDto, key?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>> { + async addSharedLinkAssets(id: string, assetIdsDto: AssetIdsDto, key?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>> { const localVarAxiosArgs = await localVarAxiosParamCreator.addSharedLinkAssets(id, assetIdsDto, key, options); - return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + const index = configuration?.serverIndex ?? 0; + const operationBasePath = operationServerMap['SharedLinkApi.addSharedLinkAssets']?.[index]?.url; + return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); }, /** * @@ -16287,18 +16538,22 @@ export const SharedLinkApiFp = function(configuration?: Configuration) { * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async createSharedLink(sharedLinkCreateDto: SharedLinkCreateDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + async createSharedLink(sharedLinkCreateDto: SharedLinkCreateDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { const localVarAxiosArgs = await localVarAxiosParamCreator.createSharedLink(sharedLinkCreateDto, options); - return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + const index = configuration?.serverIndex ?? 0; + const operationBasePath = operationServerMap['SharedLinkApi.createSharedLink']?.[index]?.url; + return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); }, /** * * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async getAllSharedLinks(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>> { + async getAllSharedLinks(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>> { const localVarAxiosArgs = await localVarAxiosParamCreator.getAllSharedLinks(options); - return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + const index = configuration?.serverIndex ?? 0; + const operationBasePath = operationServerMap['SharedLinkApi.getAllSharedLinks']?.[index]?.url; + return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); }, /** * @@ -16308,9 +16563,11 @@ export const SharedLinkApiFp = function(configuration?: Configuration) { * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async getMySharedLink(key?: string, password?: string, token?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + async getMySharedLink(key?: string, password?: string, token?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { const localVarAxiosArgs = await localVarAxiosParamCreator.getMySharedLink(key, password, token, options); - return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + const index = configuration?.serverIndex ?? 0; + const operationBasePath = operationServerMap['SharedLinkApi.getMySharedLink']?.[index]?.url; + return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); }, /** * @@ -16318,9 +16575,11 @@ export const SharedLinkApiFp = function(configuration?: Configuration) { * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async getSharedLinkById(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + async getSharedLinkById(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { const localVarAxiosArgs = await localVarAxiosParamCreator.getSharedLinkById(id, options); - return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + const index = configuration?.serverIndex ?? 0; + const operationBasePath = operationServerMap['SharedLinkApi.getSharedLinkById']?.[index]?.url; + return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); }, /** * @@ -16328,9 +16587,11 @@ export const SharedLinkApiFp = function(configuration?: Configuration) { * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async removeSharedLink(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + async removeSharedLink(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { const localVarAxiosArgs = await localVarAxiosParamCreator.removeSharedLink(id, options); - return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + const index = configuration?.serverIndex ?? 0; + const operationBasePath = operationServerMap['SharedLinkApi.removeSharedLink']?.[index]?.url; + return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); }, /** * @@ -16340,9 +16601,11 @@ export const SharedLinkApiFp = function(configuration?: Configuration) { * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async removeSharedLinkAssets(id: string, assetIdsDto: AssetIdsDto, key?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>> { + async removeSharedLinkAssets(id: string, assetIdsDto: AssetIdsDto, key?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>> { const localVarAxiosArgs = await localVarAxiosParamCreator.removeSharedLinkAssets(id, assetIdsDto, key, options); - return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + const index = configuration?.serverIndex ?? 0; + const operationBasePath = operationServerMap['SharedLinkApi.removeSharedLinkAssets']?.[index]?.url; + return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); }, /** * @@ -16351,9 +16614,11 @@ export const SharedLinkApiFp = function(configuration?: Configuration) { * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async updateSharedLink(id: string, sharedLinkEditDto: SharedLinkEditDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + async updateSharedLink(id: string, sharedLinkEditDto: SharedLinkEditDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { const localVarAxiosArgs = await localVarAxiosParamCreator.updateSharedLink(id, sharedLinkEditDto, options); - return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + const index = configuration?.serverIndex ?? 0; + const operationBasePath = operationServerMap['SharedLinkApi.updateSharedLink']?.[index]?.url; + return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); }, } }; @@ -16371,7 +16636,7 @@ export const SharedLinkApiFactory = function (configuration?: Configuration, bas * @param {*} [options] Override http request option. * @throws {RequiredError} */ - addSharedLinkAssets(requestParameters: SharedLinkApiAddSharedLinkAssetsRequest, options?: AxiosRequestConfig): AxiosPromise> { + addSharedLinkAssets(requestParameters: SharedLinkApiAddSharedLinkAssetsRequest, options?: RawAxiosRequestConfig): AxiosPromise> { return localVarFp.addSharedLinkAssets(requestParameters.id, requestParameters.assetIdsDto, requestParameters.key, options).then((request) => request(axios, basePath)); }, /** @@ -16380,7 +16645,7 @@ export const SharedLinkApiFactory = function (configuration?: Configuration, bas * @param {*} [options] Override http request option. * @throws {RequiredError} */ - createSharedLink(requestParameters: SharedLinkApiCreateSharedLinkRequest, options?: AxiosRequestConfig): AxiosPromise { + createSharedLink(requestParameters: SharedLinkApiCreateSharedLinkRequest, options?: RawAxiosRequestConfig): AxiosPromise { return localVarFp.createSharedLink(requestParameters.sharedLinkCreateDto, options).then((request) => request(axios, basePath)); }, /** @@ -16388,7 +16653,7 @@ export const SharedLinkApiFactory = function (configuration?: Configuration, bas * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getAllSharedLinks(options?: AxiosRequestConfig): AxiosPromise> { + getAllSharedLinks(options?: RawAxiosRequestConfig): AxiosPromise> { return localVarFp.getAllSharedLinks(options).then((request) => request(axios, basePath)); }, /** @@ -16397,7 +16662,7 @@ export const SharedLinkApiFactory = function (configuration?: Configuration, bas * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getMySharedLink(requestParameters: SharedLinkApiGetMySharedLinkRequest = {}, options?: AxiosRequestConfig): AxiosPromise { + getMySharedLink(requestParameters: SharedLinkApiGetMySharedLinkRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise { return localVarFp.getMySharedLink(requestParameters.key, requestParameters.password, requestParameters.token, options).then((request) => request(axios, basePath)); }, /** @@ -16406,7 +16671,7 @@ export const SharedLinkApiFactory = function (configuration?: Configuration, bas * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getSharedLinkById(requestParameters: SharedLinkApiGetSharedLinkByIdRequest, options?: AxiosRequestConfig): AxiosPromise { + getSharedLinkById(requestParameters: SharedLinkApiGetSharedLinkByIdRequest, options?: RawAxiosRequestConfig): AxiosPromise { return localVarFp.getSharedLinkById(requestParameters.id, options).then((request) => request(axios, basePath)); }, /** @@ -16415,7 +16680,7 @@ export const SharedLinkApiFactory = function (configuration?: Configuration, bas * @param {*} [options] Override http request option. * @throws {RequiredError} */ - removeSharedLink(requestParameters: SharedLinkApiRemoveSharedLinkRequest, options?: AxiosRequestConfig): AxiosPromise { + removeSharedLink(requestParameters: SharedLinkApiRemoveSharedLinkRequest, options?: RawAxiosRequestConfig): AxiosPromise { return localVarFp.removeSharedLink(requestParameters.id, options).then((request) => request(axios, basePath)); }, /** @@ -16424,7 +16689,7 @@ export const SharedLinkApiFactory = function (configuration?: Configuration, bas * @param {*} [options] Override http request option. * @throws {RequiredError} */ - removeSharedLinkAssets(requestParameters: SharedLinkApiRemoveSharedLinkAssetsRequest, options?: AxiosRequestConfig): AxiosPromise> { + removeSharedLinkAssets(requestParameters: SharedLinkApiRemoveSharedLinkAssetsRequest, options?: RawAxiosRequestConfig): AxiosPromise> { return localVarFp.removeSharedLinkAssets(requestParameters.id, requestParameters.assetIdsDto, requestParameters.key, options).then((request) => request(axios, basePath)); }, /** @@ -16433,7 +16698,7 @@ export const SharedLinkApiFactory = function (configuration?: Configuration, bas * @param {*} [options] Override http request option. * @throws {RequiredError} */ - updateSharedLink(requestParameters: SharedLinkApiUpdateSharedLinkRequest, options?: AxiosRequestConfig): AxiosPromise { + updateSharedLink(requestParameters: SharedLinkApiUpdateSharedLinkRequest, options?: RawAxiosRequestConfig): AxiosPromise { return localVarFp.updateSharedLink(requestParameters.id, requestParameters.sharedLinkEditDto, options).then((request) => request(axios, basePath)); }, }; @@ -16600,7 +16865,7 @@ export class SharedLinkApi extends BaseAPI { * @throws {RequiredError} * @memberof SharedLinkApi */ - public addSharedLinkAssets(requestParameters: SharedLinkApiAddSharedLinkAssetsRequest, options?: AxiosRequestConfig) { + public addSharedLinkAssets(requestParameters: SharedLinkApiAddSharedLinkAssetsRequest, options?: RawAxiosRequestConfig) { return SharedLinkApiFp(this.configuration).addSharedLinkAssets(requestParameters.id, requestParameters.assetIdsDto, requestParameters.key, options).then((request) => request(this.axios, this.basePath)); } @@ -16611,7 +16876,7 @@ export class SharedLinkApi extends BaseAPI { * @throws {RequiredError} * @memberof SharedLinkApi */ - public createSharedLink(requestParameters: SharedLinkApiCreateSharedLinkRequest, options?: AxiosRequestConfig) { + public createSharedLink(requestParameters: SharedLinkApiCreateSharedLinkRequest, options?: RawAxiosRequestConfig) { return SharedLinkApiFp(this.configuration).createSharedLink(requestParameters.sharedLinkCreateDto, options).then((request) => request(this.axios, this.basePath)); } @@ -16621,7 +16886,7 @@ export class SharedLinkApi extends BaseAPI { * @throws {RequiredError} * @memberof SharedLinkApi */ - public getAllSharedLinks(options?: AxiosRequestConfig) { + public getAllSharedLinks(options?: RawAxiosRequestConfig) { return SharedLinkApiFp(this.configuration).getAllSharedLinks(options).then((request) => request(this.axios, this.basePath)); } @@ -16632,7 +16897,7 @@ export class SharedLinkApi extends BaseAPI { * @throws {RequiredError} * @memberof SharedLinkApi */ - public getMySharedLink(requestParameters: SharedLinkApiGetMySharedLinkRequest = {}, options?: AxiosRequestConfig) { + public getMySharedLink(requestParameters: SharedLinkApiGetMySharedLinkRequest = {}, options?: RawAxiosRequestConfig) { return SharedLinkApiFp(this.configuration).getMySharedLink(requestParameters.key, requestParameters.password, requestParameters.token, options).then((request) => request(this.axios, this.basePath)); } @@ -16643,7 +16908,7 @@ export class SharedLinkApi extends BaseAPI { * @throws {RequiredError} * @memberof SharedLinkApi */ - public getSharedLinkById(requestParameters: SharedLinkApiGetSharedLinkByIdRequest, options?: AxiosRequestConfig) { + public getSharedLinkById(requestParameters: SharedLinkApiGetSharedLinkByIdRequest, options?: RawAxiosRequestConfig) { return SharedLinkApiFp(this.configuration).getSharedLinkById(requestParameters.id, options).then((request) => request(this.axios, this.basePath)); } @@ -16654,7 +16919,7 @@ export class SharedLinkApi extends BaseAPI { * @throws {RequiredError} * @memberof SharedLinkApi */ - public removeSharedLink(requestParameters: SharedLinkApiRemoveSharedLinkRequest, options?: AxiosRequestConfig) { + public removeSharedLink(requestParameters: SharedLinkApiRemoveSharedLinkRequest, options?: RawAxiosRequestConfig) { return SharedLinkApiFp(this.configuration).removeSharedLink(requestParameters.id, options).then((request) => request(this.axios, this.basePath)); } @@ -16665,7 +16930,7 @@ export class SharedLinkApi extends BaseAPI { * @throws {RequiredError} * @memberof SharedLinkApi */ - public removeSharedLinkAssets(requestParameters: SharedLinkApiRemoveSharedLinkAssetsRequest, options?: AxiosRequestConfig) { + public removeSharedLinkAssets(requestParameters: SharedLinkApiRemoveSharedLinkAssetsRequest, options?: RawAxiosRequestConfig) { return SharedLinkApiFp(this.configuration).removeSharedLinkAssets(requestParameters.id, requestParameters.assetIdsDto, requestParameters.key, options).then((request) => request(this.axios, this.basePath)); } @@ -16676,12 +16941,13 @@ export class SharedLinkApi extends BaseAPI { * @throws {RequiredError} * @memberof SharedLinkApi */ - public updateSharedLink(requestParameters: SharedLinkApiUpdateSharedLinkRequest, options?: AxiosRequestConfig) { + public updateSharedLink(requestParameters: SharedLinkApiUpdateSharedLinkRequest, options?: RawAxiosRequestConfig) { return SharedLinkApiFp(this.configuration).updateSharedLink(requestParameters.id, requestParameters.sharedLinkEditDto, options).then((request) => request(this.axios, this.basePath)); } } + /** * SystemConfigApi - axios parameter creator * @export @@ -16693,7 +16959,7 @@ export const SystemConfigApiAxiosParamCreator = function (configuration?: Config * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getConfig: async (options: AxiosRequestConfig = {}): Promise => { + getConfig: async (options: RawAxiosRequestConfig = {}): Promise => { const localVarPath = `/system-config`; // use dummy base URL string because the URL constructor only accepts absolute URLs. const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); @@ -16731,7 +16997,7 @@ export const SystemConfigApiAxiosParamCreator = function (configuration?: Config * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getConfigDefaults: async (options: AxiosRequestConfig = {}): Promise => { + getConfigDefaults: async (options: RawAxiosRequestConfig = {}): Promise => { const localVarPath = `/system-config/defaults`; // use dummy base URL string because the URL constructor only accepts absolute URLs. const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); @@ -16770,7 +17036,7 @@ export const SystemConfigApiAxiosParamCreator = function (configuration?: Config * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getMapStyle: async (theme: MapTheme, options: AxiosRequestConfig = {}): Promise => { + getMapStyle: async (theme: MapTheme, options: RawAxiosRequestConfig = {}): Promise => { // verify required parameter 'theme' is not null or undefined assertParamExists('getMapStyle', 'theme', theme) const localVarPath = `/system-config/map/style.json`; @@ -16814,7 +17080,7 @@ export const SystemConfigApiAxiosParamCreator = function (configuration?: Config * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getStorageTemplateOptions: async (options: AxiosRequestConfig = {}): Promise => { + getStorageTemplateOptions: async (options: RawAxiosRequestConfig = {}): Promise => { const localVarPath = `/system-config/storage-template-options`; // use dummy base URL string because the URL constructor only accepts absolute URLs. const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); @@ -16853,7 +17119,7 @@ export const SystemConfigApiAxiosParamCreator = function (configuration?: Config * @param {*} [options] Override http request option. * @throws {RequiredError} */ - updateConfig: async (systemConfigDto: SystemConfigDto, options: AxiosRequestConfig = {}): Promise => { + updateConfig: async (systemConfigDto: SystemConfigDto, options: RawAxiosRequestConfig = {}): Promise => { // verify required parameter 'systemConfigDto' is not null or undefined assertParamExists('updateConfig', 'systemConfigDto', systemConfigDto) const localVarPath = `/system-config`; @@ -16906,18 +17172,22 @@ export const SystemConfigApiFp = function(configuration?: Configuration) { * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async getConfig(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + async getConfig(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { const localVarAxiosArgs = await localVarAxiosParamCreator.getConfig(options); - return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + const index = configuration?.serverIndex ?? 0; + const operationBasePath = operationServerMap['SystemConfigApi.getConfig']?.[index]?.url; + return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); }, /** * * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async getConfigDefaults(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + async getConfigDefaults(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { const localVarAxiosArgs = await localVarAxiosParamCreator.getConfigDefaults(options); - return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + const index = configuration?.serverIndex ?? 0; + const operationBasePath = operationServerMap['SystemConfigApi.getConfigDefaults']?.[index]?.url; + return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); }, /** * @@ -16925,18 +17195,22 @@ export const SystemConfigApiFp = function(configuration?: Configuration) { * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async getMapStyle(theme: MapTheme, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + async getMapStyle(theme: MapTheme, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { const localVarAxiosArgs = await localVarAxiosParamCreator.getMapStyle(theme, options); - return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + const index = configuration?.serverIndex ?? 0; + const operationBasePath = operationServerMap['SystemConfigApi.getMapStyle']?.[index]?.url; + return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); }, /** * * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async getStorageTemplateOptions(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + async getStorageTemplateOptions(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { const localVarAxiosArgs = await localVarAxiosParamCreator.getStorageTemplateOptions(options); - return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + const index = configuration?.serverIndex ?? 0; + const operationBasePath = operationServerMap['SystemConfigApi.getStorageTemplateOptions']?.[index]?.url; + return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); }, /** * @@ -16944,9 +17218,11 @@ export const SystemConfigApiFp = function(configuration?: Configuration) { * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async updateConfig(systemConfigDto: SystemConfigDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + async updateConfig(systemConfigDto: SystemConfigDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { const localVarAxiosArgs = await localVarAxiosParamCreator.updateConfig(systemConfigDto, options); - return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + const index = configuration?.serverIndex ?? 0; + const operationBasePath = operationServerMap['SystemConfigApi.updateConfig']?.[index]?.url; + return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); }, } }; @@ -16963,7 +17239,7 @@ export const SystemConfigApiFactory = function (configuration?: Configuration, b * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getConfig(options?: AxiosRequestConfig): AxiosPromise { + getConfig(options?: RawAxiosRequestConfig): AxiosPromise { return localVarFp.getConfig(options).then((request) => request(axios, basePath)); }, /** @@ -16971,7 +17247,7 @@ export const SystemConfigApiFactory = function (configuration?: Configuration, b * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getConfigDefaults(options?: AxiosRequestConfig): AxiosPromise { + getConfigDefaults(options?: RawAxiosRequestConfig): AxiosPromise { return localVarFp.getConfigDefaults(options).then((request) => request(axios, basePath)); }, /** @@ -16980,7 +17256,7 @@ export const SystemConfigApiFactory = function (configuration?: Configuration, b * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getMapStyle(requestParameters: SystemConfigApiGetMapStyleRequest, options?: AxiosRequestConfig): AxiosPromise { + getMapStyle(requestParameters: SystemConfigApiGetMapStyleRequest, options?: RawAxiosRequestConfig): AxiosPromise { return localVarFp.getMapStyle(requestParameters.theme, options).then((request) => request(axios, basePath)); }, /** @@ -16988,7 +17264,7 @@ export const SystemConfigApiFactory = function (configuration?: Configuration, b * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getStorageTemplateOptions(options?: AxiosRequestConfig): AxiosPromise { + getStorageTemplateOptions(options?: RawAxiosRequestConfig): AxiosPromise { return localVarFp.getStorageTemplateOptions(options).then((request) => request(axios, basePath)); }, /** @@ -16997,7 +17273,7 @@ export const SystemConfigApiFactory = function (configuration?: Configuration, b * @param {*} [options] Override http request option. * @throws {RequiredError} */ - updateConfig(requestParameters: SystemConfigApiUpdateConfigRequest, options?: AxiosRequestConfig): AxiosPromise { + updateConfig(requestParameters: SystemConfigApiUpdateConfigRequest, options?: RawAxiosRequestConfig): AxiosPromise { return localVarFp.updateConfig(requestParameters.systemConfigDto, options).then((request) => request(axios, basePath)); }, }; @@ -17044,7 +17320,7 @@ export class SystemConfigApi extends BaseAPI { * @throws {RequiredError} * @memberof SystemConfigApi */ - public getConfig(options?: AxiosRequestConfig) { + public getConfig(options?: RawAxiosRequestConfig) { return SystemConfigApiFp(this.configuration).getConfig(options).then((request) => request(this.axios, this.basePath)); } @@ -17054,7 +17330,7 @@ export class SystemConfigApi extends BaseAPI { * @throws {RequiredError} * @memberof SystemConfigApi */ - public getConfigDefaults(options?: AxiosRequestConfig) { + public getConfigDefaults(options?: RawAxiosRequestConfig) { return SystemConfigApiFp(this.configuration).getConfigDefaults(options).then((request) => request(this.axios, this.basePath)); } @@ -17065,7 +17341,7 @@ export class SystemConfigApi extends BaseAPI { * @throws {RequiredError} * @memberof SystemConfigApi */ - public getMapStyle(requestParameters: SystemConfigApiGetMapStyleRequest, options?: AxiosRequestConfig) { + public getMapStyle(requestParameters: SystemConfigApiGetMapStyleRequest, options?: RawAxiosRequestConfig) { return SystemConfigApiFp(this.configuration).getMapStyle(requestParameters.theme, options).then((request) => request(this.axios, this.basePath)); } @@ -17075,7 +17351,7 @@ export class SystemConfigApi extends BaseAPI { * @throws {RequiredError} * @memberof SystemConfigApi */ - public getStorageTemplateOptions(options?: AxiosRequestConfig) { + public getStorageTemplateOptions(options?: RawAxiosRequestConfig) { return SystemConfigApiFp(this.configuration).getStorageTemplateOptions(options).then((request) => request(this.axios, this.basePath)); } @@ -17086,12 +17362,13 @@ export class SystemConfigApi extends BaseAPI { * @throws {RequiredError} * @memberof SystemConfigApi */ - public updateConfig(requestParameters: SystemConfigApiUpdateConfigRequest, options?: AxiosRequestConfig) { + public updateConfig(requestParameters: SystemConfigApiUpdateConfigRequest, options?: RawAxiosRequestConfig) { return SystemConfigApiFp(this.configuration).updateConfig(requestParameters.systemConfigDto, options).then((request) => request(this.axios, this.basePath)); } } + /** * TagApi - axios parameter creator * @export @@ -17104,7 +17381,7 @@ export const TagApiAxiosParamCreator = function (configuration?: Configuration) * @param {*} [options] Override http request option. * @throws {RequiredError} */ - createTag: async (createTagDto: CreateTagDto, options: AxiosRequestConfig = {}): Promise => { + createTag: async (createTagDto: CreateTagDto, options: RawAxiosRequestConfig = {}): Promise => { // verify required parameter 'createTagDto' is not null or undefined assertParamExists('createTag', 'createTagDto', createTagDto) const localVarPath = `/tag`; @@ -17148,7 +17425,7 @@ export const TagApiAxiosParamCreator = function (configuration?: Configuration) * @param {*} [options] Override http request option. * @throws {RequiredError} */ - deleteTag: async (id: string, options: AxiosRequestConfig = {}): Promise => { + deleteTag: async (id: string, options: RawAxiosRequestConfig = {}): Promise => { // verify required parameter 'id' is not null or undefined assertParamExists('deleteTag', 'id', id) const localVarPath = `/tag/{id}` @@ -17189,7 +17466,7 @@ export const TagApiAxiosParamCreator = function (configuration?: Configuration) * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getAllTags: async (options: AxiosRequestConfig = {}): Promise => { + getAllTags: async (options: RawAxiosRequestConfig = {}): Promise => { const localVarPath = `/tag`; // use dummy base URL string because the URL constructor only accepts absolute URLs. const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); @@ -17228,7 +17505,7 @@ export const TagApiAxiosParamCreator = function (configuration?: Configuration) * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getTagAssets: async (id: string, options: AxiosRequestConfig = {}): Promise => { + getTagAssets: async (id: string, options: RawAxiosRequestConfig = {}): Promise => { // verify required parameter 'id' is not null or undefined assertParamExists('getTagAssets', 'id', id) const localVarPath = `/tag/{id}/assets` @@ -17270,7 +17547,7 @@ export const TagApiAxiosParamCreator = function (configuration?: Configuration) * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getTagById: async (id: string, options: AxiosRequestConfig = {}): Promise => { + getTagById: async (id: string, options: RawAxiosRequestConfig = {}): Promise => { // verify required parameter 'id' is not null or undefined assertParamExists('getTagById', 'id', id) const localVarPath = `/tag/{id}` @@ -17313,7 +17590,7 @@ export const TagApiAxiosParamCreator = function (configuration?: Configuration) * @param {*} [options] Override http request option. * @throws {RequiredError} */ - tagAssets: async (id: string, assetIdsDto: AssetIdsDto, options: AxiosRequestConfig = {}): Promise => { + tagAssets: async (id: string, assetIdsDto: AssetIdsDto, options: RawAxiosRequestConfig = {}): Promise => { // verify required parameter 'id' is not null or undefined assertParamExists('tagAssets', 'id', id) // verify required parameter 'assetIdsDto' is not null or undefined @@ -17361,7 +17638,7 @@ export const TagApiAxiosParamCreator = function (configuration?: Configuration) * @param {*} [options] Override http request option. * @throws {RequiredError} */ - untagAssets: async (id: string, assetIdsDto: AssetIdsDto, options: AxiosRequestConfig = {}): Promise => { + untagAssets: async (id: string, assetIdsDto: AssetIdsDto, options: RawAxiosRequestConfig = {}): Promise => { // verify required parameter 'id' is not null or undefined assertParamExists('untagAssets', 'id', id) // verify required parameter 'assetIdsDto' is not null or undefined @@ -17409,7 +17686,7 @@ export const TagApiAxiosParamCreator = function (configuration?: Configuration) * @param {*} [options] Override http request option. * @throws {RequiredError} */ - updateTag: async (id: string, updateTagDto: UpdateTagDto, options: AxiosRequestConfig = {}): Promise => { + updateTag: async (id: string, updateTagDto: UpdateTagDto, options: RawAxiosRequestConfig = {}): Promise => { // verify required parameter 'id' is not null or undefined assertParamExists('updateTag', 'id', id) // verify required parameter 'updateTagDto' is not null or undefined @@ -17466,9 +17743,11 @@ export const TagApiFp = function(configuration?: Configuration) { * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async createTag(createTagDto: CreateTagDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + async createTag(createTagDto: CreateTagDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { const localVarAxiosArgs = await localVarAxiosParamCreator.createTag(createTagDto, options); - return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + const index = configuration?.serverIndex ?? 0; + const operationBasePath = operationServerMap['TagApi.createTag']?.[index]?.url; + return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); }, /** * @@ -17476,18 +17755,22 @@ export const TagApiFp = function(configuration?: Configuration) { * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async deleteTag(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + async deleteTag(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { const localVarAxiosArgs = await localVarAxiosParamCreator.deleteTag(id, options); - return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + const index = configuration?.serverIndex ?? 0; + const operationBasePath = operationServerMap['TagApi.deleteTag']?.[index]?.url; + return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); }, /** * * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async getAllTags(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>> { + async getAllTags(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>> { const localVarAxiosArgs = await localVarAxiosParamCreator.getAllTags(options); - return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + const index = configuration?.serverIndex ?? 0; + const operationBasePath = operationServerMap['TagApi.getAllTags']?.[index]?.url; + return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); }, /** * @@ -17495,9 +17778,11 @@ export const TagApiFp = function(configuration?: Configuration) { * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async getTagAssets(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>> { + async getTagAssets(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>> { const localVarAxiosArgs = await localVarAxiosParamCreator.getTagAssets(id, options); - return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + const index = configuration?.serverIndex ?? 0; + const operationBasePath = operationServerMap['TagApi.getTagAssets']?.[index]?.url; + return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); }, /** * @@ -17505,9 +17790,11 @@ export const TagApiFp = function(configuration?: Configuration) { * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async getTagById(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + async getTagById(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { const localVarAxiosArgs = await localVarAxiosParamCreator.getTagById(id, options); - return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + const index = configuration?.serverIndex ?? 0; + const operationBasePath = operationServerMap['TagApi.getTagById']?.[index]?.url; + return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); }, /** * @@ -17516,9 +17803,11 @@ export const TagApiFp = function(configuration?: Configuration) { * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async tagAssets(id: string, assetIdsDto: AssetIdsDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>> { + async tagAssets(id: string, assetIdsDto: AssetIdsDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>> { const localVarAxiosArgs = await localVarAxiosParamCreator.tagAssets(id, assetIdsDto, options); - return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + const index = configuration?.serverIndex ?? 0; + const operationBasePath = operationServerMap['TagApi.tagAssets']?.[index]?.url; + return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); }, /** * @@ -17527,9 +17816,11 @@ export const TagApiFp = function(configuration?: Configuration) { * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async untagAssets(id: string, assetIdsDto: AssetIdsDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>> { + async untagAssets(id: string, assetIdsDto: AssetIdsDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>> { const localVarAxiosArgs = await localVarAxiosParamCreator.untagAssets(id, assetIdsDto, options); - return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + const index = configuration?.serverIndex ?? 0; + const operationBasePath = operationServerMap['TagApi.untagAssets']?.[index]?.url; + return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); }, /** * @@ -17538,9 +17829,11 @@ export const TagApiFp = function(configuration?: Configuration) { * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async updateTag(id: string, updateTagDto: UpdateTagDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + async updateTag(id: string, updateTagDto: UpdateTagDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { const localVarAxiosArgs = await localVarAxiosParamCreator.updateTag(id, updateTagDto, options); - return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + const index = configuration?.serverIndex ?? 0; + const operationBasePath = operationServerMap['TagApi.updateTag']?.[index]?.url; + return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); }, } }; @@ -17558,7 +17851,7 @@ export const TagApiFactory = function (configuration?: Configuration, basePath?: * @param {*} [options] Override http request option. * @throws {RequiredError} */ - createTag(requestParameters: TagApiCreateTagRequest, options?: AxiosRequestConfig): AxiosPromise { + createTag(requestParameters: TagApiCreateTagRequest, options?: RawAxiosRequestConfig): AxiosPromise { return localVarFp.createTag(requestParameters.createTagDto, options).then((request) => request(axios, basePath)); }, /** @@ -17567,7 +17860,7 @@ export const TagApiFactory = function (configuration?: Configuration, basePath?: * @param {*} [options] Override http request option. * @throws {RequiredError} */ - deleteTag(requestParameters: TagApiDeleteTagRequest, options?: AxiosRequestConfig): AxiosPromise { + deleteTag(requestParameters: TagApiDeleteTagRequest, options?: RawAxiosRequestConfig): AxiosPromise { return localVarFp.deleteTag(requestParameters.id, options).then((request) => request(axios, basePath)); }, /** @@ -17575,7 +17868,7 @@ export const TagApiFactory = function (configuration?: Configuration, basePath?: * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getAllTags(options?: AxiosRequestConfig): AxiosPromise> { + getAllTags(options?: RawAxiosRequestConfig): AxiosPromise> { return localVarFp.getAllTags(options).then((request) => request(axios, basePath)); }, /** @@ -17584,7 +17877,7 @@ export const TagApiFactory = function (configuration?: Configuration, basePath?: * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getTagAssets(requestParameters: TagApiGetTagAssetsRequest, options?: AxiosRequestConfig): AxiosPromise> { + getTagAssets(requestParameters: TagApiGetTagAssetsRequest, options?: RawAxiosRequestConfig): AxiosPromise> { return localVarFp.getTagAssets(requestParameters.id, options).then((request) => request(axios, basePath)); }, /** @@ -17593,7 +17886,7 @@ export const TagApiFactory = function (configuration?: Configuration, basePath?: * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getTagById(requestParameters: TagApiGetTagByIdRequest, options?: AxiosRequestConfig): AxiosPromise { + getTagById(requestParameters: TagApiGetTagByIdRequest, options?: RawAxiosRequestConfig): AxiosPromise { return localVarFp.getTagById(requestParameters.id, options).then((request) => request(axios, basePath)); }, /** @@ -17602,7 +17895,7 @@ export const TagApiFactory = function (configuration?: Configuration, basePath?: * @param {*} [options] Override http request option. * @throws {RequiredError} */ - tagAssets(requestParameters: TagApiTagAssetsRequest, options?: AxiosRequestConfig): AxiosPromise> { + tagAssets(requestParameters: TagApiTagAssetsRequest, options?: RawAxiosRequestConfig): AxiosPromise> { return localVarFp.tagAssets(requestParameters.id, requestParameters.assetIdsDto, options).then((request) => request(axios, basePath)); }, /** @@ -17611,7 +17904,7 @@ export const TagApiFactory = function (configuration?: Configuration, basePath?: * @param {*} [options] Override http request option. * @throws {RequiredError} */ - untagAssets(requestParameters: TagApiUntagAssetsRequest, options?: AxiosRequestConfig): AxiosPromise> { + untagAssets(requestParameters: TagApiUntagAssetsRequest, options?: RawAxiosRequestConfig): AxiosPromise> { return localVarFp.untagAssets(requestParameters.id, requestParameters.assetIdsDto, options).then((request) => request(axios, basePath)); }, /** @@ -17620,7 +17913,7 @@ export const TagApiFactory = function (configuration?: Configuration, basePath?: * @param {*} [options] Override http request option. * @throws {RequiredError} */ - updateTag(requestParameters: TagApiUpdateTagRequest, options?: AxiosRequestConfig): AxiosPromise { + updateTag(requestParameters: TagApiUpdateTagRequest, options?: RawAxiosRequestConfig): AxiosPromise { return localVarFp.updateTag(requestParameters.id, requestParameters.updateTagDto, options).then((request) => request(axios, basePath)); }, }; @@ -17759,7 +18052,7 @@ export class TagApi extends BaseAPI { * @throws {RequiredError} * @memberof TagApi */ - public createTag(requestParameters: TagApiCreateTagRequest, options?: AxiosRequestConfig) { + public createTag(requestParameters: TagApiCreateTagRequest, options?: RawAxiosRequestConfig) { return TagApiFp(this.configuration).createTag(requestParameters.createTagDto, options).then((request) => request(this.axios, this.basePath)); } @@ -17770,7 +18063,7 @@ export class TagApi extends BaseAPI { * @throws {RequiredError} * @memberof TagApi */ - public deleteTag(requestParameters: TagApiDeleteTagRequest, options?: AxiosRequestConfig) { + public deleteTag(requestParameters: TagApiDeleteTagRequest, options?: RawAxiosRequestConfig) { return TagApiFp(this.configuration).deleteTag(requestParameters.id, options).then((request) => request(this.axios, this.basePath)); } @@ -17780,7 +18073,7 @@ export class TagApi extends BaseAPI { * @throws {RequiredError} * @memberof TagApi */ - public getAllTags(options?: AxiosRequestConfig) { + public getAllTags(options?: RawAxiosRequestConfig) { return TagApiFp(this.configuration).getAllTags(options).then((request) => request(this.axios, this.basePath)); } @@ -17791,7 +18084,7 @@ export class TagApi extends BaseAPI { * @throws {RequiredError} * @memberof TagApi */ - public getTagAssets(requestParameters: TagApiGetTagAssetsRequest, options?: AxiosRequestConfig) { + public getTagAssets(requestParameters: TagApiGetTagAssetsRequest, options?: RawAxiosRequestConfig) { return TagApiFp(this.configuration).getTagAssets(requestParameters.id, options).then((request) => request(this.axios, this.basePath)); } @@ -17802,7 +18095,7 @@ export class TagApi extends BaseAPI { * @throws {RequiredError} * @memberof TagApi */ - public getTagById(requestParameters: TagApiGetTagByIdRequest, options?: AxiosRequestConfig) { + public getTagById(requestParameters: TagApiGetTagByIdRequest, options?: RawAxiosRequestConfig) { return TagApiFp(this.configuration).getTagById(requestParameters.id, options).then((request) => request(this.axios, this.basePath)); } @@ -17813,7 +18106,7 @@ export class TagApi extends BaseAPI { * @throws {RequiredError} * @memberof TagApi */ - public tagAssets(requestParameters: TagApiTagAssetsRequest, options?: AxiosRequestConfig) { + public tagAssets(requestParameters: TagApiTagAssetsRequest, options?: RawAxiosRequestConfig) { return TagApiFp(this.configuration).tagAssets(requestParameters.id, requestParameters.assetIdsDto, options).then((request) => request(this.axios, this.basePath)); } @@ -17824,7 +18117,7 @@ export class TagApi extends BaseAPI { * @throws {RequiredError} * @memberof TagApi */ - public untagAssets(requestParameters: TagApiUntagAssetsRequest, options?: AxiosRequestConfig) { + public untagAssets(requestParameters: TagApiUntagAssetsRequest, options?: RawAxiosRequestConfig) { return TagApiFp(this.configuration).untagAssets(requestParameters.id, requestParameters.assetIdsDto, options).then((request) => request(this.axios, this.basePath)); } @@ -17835,12 +18128,13 @@ export class TagApi extends BaseAPI { * @throws {RequiredError} * @memberof TagApi */ - public updateTag(requestParameters: TagApiUpdateTagRequest, options?: AxiosRequestConfig) { + public updateTag(requestParameters: TagApiUpdateTagRequest, options?: RawAxiosRequestConfig) { return TagApiFp(this.configuration).updateTag(requestParameters.id, requestParameters.updateTagDto, options).then((request) => request(this.axios, this.basePath)); } } + /** * UserApi - axios parameter creator * @export @@ -17853,7 +18147,7 @@ export const UserApiAxiosParamCreator = function (configuration?: Configuration) * @param {*} [options] Override http request option. * @throws {RequiredError} */ - createProfileImage: async (file: File, options: AxiosRequestConfig = {}): Promise => { + createProfileImage: async (file: File, options: RawAxiosRequestConfig = {}): Promise => { // verify required parameter 'file' is not null or undefined assertParamExists('createProfileImage', 'file', file) const localVarPath = `/user/profile-image`; @@ -17902,7 +18196,7 @@ export const UserApiAxiosParamCreator = function (configuration?: Configuration) * @param {*} [options] Override http request option. * @throws {RequiredError} */ - createUser: async (createUserDto: CreateUserDto, options: AxiosRequestConfig = {}): Promise => { + createUser: async (createUserDto: CreateUserDto, options: RawAxiosRequestConfig = {}): Promise => { // verify required parameter 'createUserDto' is not null or undefined assertParamExists('createUser', 'createUserDto', createUserDto) const localVarPath = `/user`; @@ -17945,7 +18239,7 @@ export const UserApiAxiosParamCreator = function (configuration?: Configuration) * @param {*} [options] Override http request option. * @throws {RequiredError} */ - deleteProfileImage: async (options: AxiosRequestConfig = {}): Promise => { + deleteProfileImage: async (options: RawAxiosRequestConfig = {}): Promise => { const localVarPath = `/user/profile-image`; // use dummy base URL string because the URL constructor only accepts absolute URLs. const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); @@ -17984,7 +18278,7 @@ export const UserApiAxiosParamCreator = function (configuration?: Configuration) * @param {*} [options] Override http request option. * @throws {RequiredError} */ - deleteUser: async (id: string, options: AxiosRequestConfig = {}): Promise => { + deleteUser: async (id: string, options: RawAxiosRequestConfig = {}): Promise => { // verify required parameter 'id' is not null or undefined assertParamExists('deleteUser', 'id', id) const localVarPath = `/user/{id}` @@ -18026,7 +18320,7 @@ export const UserApiAxiosParamCreator = function (configuration?: Configuration) * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getAllUsers: async (isAll: boolean, options: AxiosRequestConfig = {}): Promise => { + getAllUsers: async (isAll: boolean, options: RawAxiosRequestConfig = {}): Promise => { // verify required parameter 'isAll' is not null or undefined assertParamExists('getAllUsers', 'isAll', isAll) const localVarPath = `/user`; @@ -18070,7 +18364,7 @@ export const UserApiAxiosParamCreator = function (configuration?: Configuration) * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getMyUserInfo: async (options: AxiosRequestConfig = {}): Promise => { + getMyUserInfo: async (options: RawAxiosRequestConfig = {}): Promise => { const localVarPath = `/user/me`; // use dummy base URL string because the URL constructor only accepts absolute URLs. const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); @@ -18109,7 +18403,7 @@ export const UserApiAxiosParamCreator = function (configuration?: Configuration) * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getProfileImage: async (id: string, options: AxiosRequestConfig = {}): Promise => { + getProfileImage: async (id: string, options: RawAxiosRequestConfig = {}): Promise => { // verify required parameter 'id' is not null or undefined assertParamExists('getProfileImage', 'id', id) const localVarPath = `/user/profile-image/{id}` @@ -18151,7 +18445,7 @@ export const UserApiAxiosParamCreator = function (configuration?: Configuration) * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getUserById: async (id: string, options: AxiosRequestConfig = {}): Promise => { + getUserById: async (id: string, options: RawAxiosRequestConfig = {}): Promise => { // verify required parameter 'id' is not null or undefined assertParamExists('getUserById', 'id', id) const localVarPath = `/user/info/{id}` @@ -18193,7 +18487,7 @@ export const UserApiAxiosParamCreator = function (configuration?: Configuration) * @param {*} [options] Override http request option. * @throws {RequiredError} */ - restoreUser: async (id: string, options: AxiosRequestConfig = {}): Promise => { + restoreUser: async (id: string, options: RawAxiosRequestConfig = {}): Promise => { // verify required parameter 'id' is not null or undefined assertParamExists('restoreUser', 'id', id) const localVarPath = `/user/{id}/restore` @@ -18235,7 +18529,7 @@ export const UserApiAxiosParamCreator = function (configuration?: Configuration) * @param {*} [options] Override http request option. * @throws {RequiredError} */ - updateUser: async (updateUserDto: UpdateUserDto, options: AxiosRequestConfig = {}): Promise => { + updateUser: async (updateUserDto: UpdateUserDto, options: RawAxiosRequestConfig = {}): Promise => { // verify required parameter 'updateUserDto' is not null or undefined assertParamExists('updateUser', 'updateUserDto', updateUserDto) const localVarPath = `/user`; @@ -18289,9 +18583,11 @@ export const UserApiFp = function(configuration?: Configuration) { * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async createProfileImage(file: File, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + async createProfileImage(file: File, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { const localVarAxiosArgs = await localVarAxiosParamCreator.createProfileImage(file, options); - return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + const index = configuration?.serverIndex ?? 0; + const operationBasePath = operationServerMap['UserApi.createProfileImage']?.[index]?.url; + return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); }, /** * @@ -18299,18 +18595,22 @@ export const UserApiFp = function(configuration?: Configuration) { * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async createUser(createUserDto: CreateUserDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + async createUser(createUserDto: CreateUserDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { const localVarAxiosArgs = await localVarAxiosParamCreator.createUser(createUserDto, options); - return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + const index = configuration?.serverIndex ?? 0; + const operationBasePath = operationServerMap['UserApi.createUser']?.[index]?.url; + return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); }, /** * * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async deleteProfileImage(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + async deleteProfileImage(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { const localVarAxiosArgs = await localVarAxiosParamCreator.deleteProfileImage(options); - return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + const index = configuration?.serverIndex ?? 0; + const operationBasePath = operationServerMap['UserApi.deleteProfileImage']?.[index]?.url; + return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); }, /** * @@ -18318,9 +18618,11 @@ export const UserApiFp = function(configuration?: Configuration) { * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async deleteUser(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + async deleteUser(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { const localVarAxiosArgs = await localVarAxiosParamCreator.deleteUser(id, options); - return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + const index = configuration?.serverIndex ?? 0; + const operationBasePath = operationServerMap['UserApi.deleteUser']?.[index]?.url; + return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); }, /** * @@ -18328,18 +18630,22 @@ export const UserApiFp = function(configuration?: Configuration) { * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async getAllUsers(isAll: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>> { + async getAllUsers(isAll: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>> { const localVarAxiosArgs = await localVarAxiosParamCreator.getAllUsers(isAll, options); - return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + const index = configuration?.serverIndex ?? 0; + const operationBasePath = operationServerMap['UserApi.getAllUsers']?.[index]?.url; + return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); }, /** * * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async getMyUserInfo(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + async getMyUserInfo(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { const localVarAxiosArgs = await localVarAxiosParamCreator.getMyUserInfo(options); - return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + const index = configuration?.serverIndex ?? 0; + const operationBasePath = operationServerMap['UserApi.getMyUserInfo']?.[index]?.url; + return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); }, /** * @@ -18347,9 +18653,11 @@ export const UserApiFp = function(configuration?: Configuration) { * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async getProfileImage(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + async getProfileImage(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { const localVarAxiosArgs = await localVarAxiosParamCreator.getProfileImage(id, options); - return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + const index = configuration?.serverIndex ?? 0; + const operationBasePath = operationServerMap['UserApi.getProfileImage']?.[index]?.url; + return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); }, /** * @@ -18357,9 +18665,11 @@ export const UserApiFp = function(configuration?: Configuration) { * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async getUserById(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + async getUserById(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { const localVarAxiosArgs = await localVarAxiosParamCreator.getUserById(id, options); - return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + const index = configuration?.serverIndex ?? 0; + const operationBasePath = operationServerMap['UserApi.getUserById']?.[index]?.url; + return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); }, /** * @@ -18367,9 +18677,11 @@ export const UserApiFp = function(configuration?: Configuration) { * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async restoreUser(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + async restoreUser(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { const localVarAxiosArgs = await localVarAxiosParamCreator.restoreUser(id, options); - return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + const index = configuration?.serverIndex ?? 0; + const operationBasePath = operationServerMap['UserApi.restoreUser']?.[index]?.url; + return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); }, /** * @@ -18377,9 +18689,11 @@ export const UserApiFp = function(configuration?: Configuration) { * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async updateUser(updateUserDto: UpdateUserDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + async updateUser(updateUserDto: UpdateUserDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { const localVarAxiosArgs = await localVarAxiosParamCreator.updateUser(updateUserDto, options); - return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + const index = configuration?.serverIndex ?? 0; + const operationBasePath = operationServerMap['UserApi.updateUser']?.[index]?.url; + return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); }, } }; @@ -18397,7 +18711,7 @@ export const UserApiFactory = function (configuration?: Configuration, basePath? * @param {*} [options] Override http request option. * @throws {RequiredError} */ - createProfileImage(requestParameters: UserApiCreateProfileImageRequest, options?: AxiosRequestConfig): AxiosPromise { + createProfileImage(requestParameters: UserApiCreateProfileImageRequest, options?: RawAxiosRequestConfig): AxiosPromise { return localVarFp.createProfileImage(requestParameters.file, options).then((request) => request(axios, basePath)); }, /** @@ -18406,7 +18720,7 @@ export const UserApiFactory = function (configuration?: Configuration, basePath? * @param {*} [options] Override http request option. * @throws {RequiredError} */ - createUser(requestParameters: UserApiCreateUserRequest, options?: AxiosRequestConfig): AxiosPromise { + createUser(requestParameters: UserApiCreateUserRequest, options?: RawAxiosRequestConfig): AxiosPromise { return localVarFp.createUser(requestParameters.createUserDto, options).then((request) => request(axios, basePath)); }, /** @@ -18414,7 +18728,7 @@ export const UserApiFactory = function (configuration?: Configuration, basePath? * @param {*} [options] Override http request option. * @throws {RequiredError} */ - deleteProfileImage(options?: AxiosRequestConfig): AxiosPromise { + deleteProfileImage(options?: RawAxiosRequestConfig): AxiosPromise { return localVarFp.deleteProfileImage(options).then((request) => request(axios, basePath)); }, /** @@ -18423,7 +18737,7 @@ export const UserApiFactory = function (configuration?: Configuration, basePath? * @param {*} [options] Override http request option. * @throws {RequiredError} */ - deleteUser(requestParameters: UserApiDeleteUserRequest, options?: AxiosRequestConfig): AxiosPromise { + deleteUser(requestParameters: UserApiDeleteUserRequest, options?: RawAxiosRequestConfig): AxiosPromise { return localVarFp.deleteUser(requestParameters.id, options).then((request) => request(axios, basePath)); }, /** @@ -18432,7 +18746,7 @@ export const UserApiFactory = function (configuration?: Configuration, basePath? * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getAllUsers(requestParameters: UserApiGetAllUsersRequest, options?: AxiosRequestConfig): AxiosPromise> { + getAllUsers(requestParameters: UserApiGetAllUsersRequest, options?: RawAxiosRequestConfig): AxiosPromise> { return localVarFp.getAllUsers(requestParameters.isAll, options).then((request) => request(axios, basePath)); }, /** @@ -18440,7 +18754,7 @@ export const UserApiFactory = function (configuration?: Configuration, basePath? * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getMyUserInfo(options?: AxiosRequestConfig): AxiosPromise { + getMyUserInfo(options?: RawAxiosRequestConfig): AxiosPromise { return localVarFp.getMyUserInfo(options).then((request) => request(axios, basePath)); }, /** @@ -18449,7 +18763,7 @@ export const UserApiFactory = function (configuration?: Configuration, basePath? * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getProfileImage(requestParameters: UserApiGetProfileImageRequest, options?: AxiosRequestConfig): AxiosPromise { + getProfileImage(requestParameters: UserApiGetProfileImageRequest, options?: RawAxiosRequestConfig): AxiosPromise { return localVarFp.getProfileImage(requestParameters.id, options).then((request) => request(axios, basePath)); }, /** @@ -18458,7 +18772,7 @@ export const UserApiFactory = function (configuration?: Configuration, basePath? * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getUserById(requestParameters: UserApiGetUserByIdRequest, options?: AxiosRequestConfig): AxiosPromise { + getUserById(requestParameters: UserApiGetUserByIdRequest, options?: RawAxiosRequestConfig): AxiosPromise { return localVarFp.getUserById(requestParameters.id, options).then((request) => request(axios, basePath)); }, /** @@ -18467,7 +18781,7 @@ export const UserApiFactory = function (configuration?: Configuration, basePath? * @param {*} [options] Override http request option. * @throws {RequiredError} */ - restoreUser(requestParameters: UserApiRestoreUserRequest, options?: AxiosRequestConfig): AxiosPromise { + restoreUser(requestParameters: UserApiRestoreUserRequest, options?: RawAxiosRequestConfig): AxiosPromise { return localVarFp.restoreUser(requestParameters.id, options).then((request) => request(axios, basePath)); }, /** @@ -18476,7 +18790,7 @@ export const UserApiFactory = function (configuration?: Configuration, basePath? * @param {*} [options] Override http request option. * @throws {RequiredError} */ - updateUser(requestParameters: UserApiUpdateUserRequest, options?: AxiosRequestConfig): AxiosPromise { + updateUser(requestParameters: UserApiUpdateUserRequest, options?: RawAxiosRequestConfig): AxiosPromise { return localVarFp.updateUser(requestParameters.updateUserDto, options).then((request) => request(axios, basePath)); }, }; @@ -18608,7 +18922,7 @@ export class UserApi extends BaseAPI { * @throws {RequiredError} * @memberof UserApi */ - public createProfileImage(requestParameters: UserApiCreateProfileImageRequest, options?: AxiosRequestConfig) { + public createProfileImage(requestParameters: UserApiCreateProfileImageRequest, options?: RawAxiosRequestConfig) { return UserApiFp(this.configuration).createProfileImage(requestParameters.file, options).then((request) => request(this.axios, this.basePath)); } @@ -18619,7 +18933,7 @@ export class UserApi extends BaseAPI { * @throws {RequiredError} * @memberof UserApi */ - public createUser(requestParameters: UserApiCreateUserRequest, options?: AxiosRequestConfig) { + public createUser(requestParameters: UserApiCreateUserRequest, options?: RawAxiosRequestConfig) { return UserApiFp(this.configuration).createUser(requestParameters.createUserDto, options).then((request) => request(this.axios, this.basePath)); } @@ -18629,7 +18943,7 @@ export class UserApi extends BaseAPI { * @throws {RequiredError} * @memberof UserApi */ - public deleteProfileImage(options?: AxiosRequestConfig) { + public deleteProfileImage(options?: RawAxiosRequestConfig) { return UserApiFp(this.configuration).deleteProfileImage(options).then((request) => request(this.axios, this.basePath)); } @@ -18640,7 +18954,7 @@ export class UserApi extends BaseAPI { * @throws {RequiredError} * @memberof UserApi */ - public deleteUser(requestParameters: UserApiDeleteUserRequest, options?: AxiosRequestConfig) { + public deleteUser(requestParameters: UserApiDeleteUserRequest, options?: RawAxiosRequestConfig) { return UserApiFp(this.configuration).deleteUser(requestParameters.id, options).then((request) => request(this.axios, this.basePath)); } @@ -18651,7 +18965,7 @@ export class UserApi extends BaseAPI { * @throws {RequiredError} * @memberof UserApi */ - public getAllUsers(requestParameters: UserApiGetAllUsersRequest, options?: AxiosRequestConfig) { + public getAllUsers(requestParameters: UserApiGetAllUsersRequest, options?: RawAxiosRequestConfig) { return UserApiFp(this.configuration).getAllUsers(requestParameters.isAll, options).then((request) => request(this.axios, this.basePath)); } @@ -18661,7 +18975,7 @@ export class UserApi extends BaseAPI { * @throws {RequiredError} * @memberof UserApi */ - public getMyUserInfo(options?: AxiosRequestConfig) { + public getMyUserInfo(options?: RawAxiosRequestConfig) { return UserApiFp(this.configuration).getMyUserInfo(options).then((request) => request(this.axios, this.basePath)); } @@ -18672,7 +18986,7 @@ export class UserApi extends BaseAPI { * @throws {RequiredError} * @memberof UserApi */ - public getProfileImage(requestParameters: UserApiGetProfileImageRequest, options?: AxiosRequestConfig) { + public getProfileImage(requestParameters: UserApiGetProfileImageRequest, options?: RawAxiosRequestConfig) { return UserApiFp(this.configuration).getProfileImage(requestParameters.id, options).then((request) => request(this.axios, this.basePath)); } @@ -18683,7 +18997,7 @@ export class UserApi extends BaseAPI { * @throws {RequiredError} * @memberof UserApi */ - public getUserById(requestParameters: UserApiGetUserByIdRequest, options?: AxiosRequestConfig) { + public getUserById(requestParameters: UserApiGetUserByIdRequest, options?: RawAxiosRequestConfig) { return UserApiFp(this.configuration).getUserById(requestParameters.id, options).then((request) => request(this.axios, this.basePath)); } @@ -18694,7 +19008,7 @@ export class UserApi extends BaseAPI { * @throws {RequiredError} * @memberof UserApi */ - public restoreUser(requestParameters: UserApiRestoreUserRequest, options?: AxiosRequestConfig) { + public restoreUser(requestParameters: UserApiRestoreUserRequest, options?: RawAxiosRequestConfig) { return UserApiFp(this.configuration).restoreUser(requestParameters.id, options).then((request) => request(this.axios, this.basePath)); } @@ -18705,9 +19019,10 @@ export class UserApi extends BaseAPI { * @throws {RequiredError} * @memberof UserApi */ - public updateUser(requestParameters: UserApiUpdateUserRequest, options?: AxiosRequestConfig) { + public updateUser(requestParameters: UserApiUpdateUserRequest, options?: RawAxiosRequestConfig) { return UserApiFp(this.configuration).updateUser(requestParameters.updateUserDto, options).then((request) => request(this.axios, this.basePath)); } } + diff --git a/open-api/typescript-sdk/client/base.ts b/open-api/typescript-sdk/client/base.ts index c9455cf844..d7ce9c27a6 100644 --- a/open-api/typescript-sdk/client/base.ts +++ b/open-api/typescript-sdk/client/base.ts @@ -16,7 +16,7 @@ import type { Configuration } from './configuration'; // Some imports not used depending on template conditions // @ts-ignore -import type { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios'; +import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios'; import globalAxios from 'axios'; export const BASE_PATH = "/api".replace(/\/+$/, ""); @@ -39,7 +39,7 @@ export const COLLECTION_FORMATS = { */ export interface RequestArgs { url: string; - options: AxiosRequestConfig; + options: RawAxiosRequestConfig; } /** @@ -53,7 +53,7 @@ export class BaseAPI { constructor(configuration?: Configuration, protected basePath: string = BASE_PATH, protected axios: AxiosInstance = globalAxios) { if (configuration) { this.configuration = configuration; - this.basePath = configuration.basePath || this.basePath; + this.basePath = configuration.basePath ?? basePath; } } }; @@ -70,3 +70,17 @@ export class RequiredError extends Error { this.name = "RequiredError" } } + +interface ServerMap { + [key: string]: { + url: string, + description: string, + }[]; +} + +/** + * + * @export + */ +export const operationServerMap: ServerMap = { +} diff --git a/open-api/typescript-sdk/client/common.ts b/open-api/typescript-sdk/client/common.ts index 23145c7f65..c4eaf9a5ef 100644 --- a/open-api/typescript-sdk/client/common.ts +++ b/open-api/typescript-sdk/client/common.ts @@ -144,7 +144,7 @@ export const toPathString = function (url: URL) { */ export const createRequestFunction = function (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) { return >(axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => { - const axiosRequestArgs = {...axiosArgs.options, url: (configuration?.basePath || basePath) + axiosArgs.url}; + const axiosRequestArgs = {...axiosArgs.options, url: (axios.defaults.baseURL ? '' : configuration?.basePath ?? basePath) + axiosArgs.url}; return axios.request(axiosRequestArgs); }; } diff --git a/open-api/typescript-sdk/client/configuration.ts b/open-api/typescript-sdk/client/configuration.ts index 51866fffd5..a4f07562bb 100644 --- a/open-api/typescript-sdk/client/configuration.ts +++ b/open-api/typescript-sdk/client/configuration.ts @@ -19,6 +19,7 @@ export interface ConfigurationParameters { password?: string; accessToken?: string | Promise | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise); basePath?: string; + serverIndex?: number; baseOptions?: any; formDataCtor?: new () => any; } @@ -58,6 +59,13 @@ export class Configuration { * @memberof Configuration */ basePath?: string; + /** + * override server index + * + * @type {number} + * @memberof Configuration + */ + serverIndex?: number; /** * base options for axios calls * @@ -80,6 +88,7 @@ export class Configuration { this.password = param.password; this.accessToken = param.accessToken; this.basePath = param.basePath; + this.serverIndex = param.serverIndex; this.baseOptions = param.baseOptions; this.formDataCtor = param.formDataCtor; } diff --git a/open-api/typescript-sdk/package-lock.json b/open-api/typescript-sdk/package-lock.json index 43123d1309..2d6423e082 100644 --- a/open-api/typescript-sdk/package-lock.json +++ b/open-api/typescript-sdk/package-lock.json @@ -9,7 +9,7 @@ "version": "1.92.1", "license": "MIT", "dependencies": { - "axios": "^0.27.2" + "axios": "^1.6.7" }, "devDependencies": { "@types/node": "^20.11.0", @@ -31,12 +31,13 @@ "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==" }, "node_modules/axios": { - "version": "0.27.2", - "resolved": "https://registry.npmjs.org/axios/-/axios-0.27.2.tgz", - "integrity": "sha512-t+yRIyySRTp/wua5xEr+z1q60QmLq8ABsS5O9Me1AsE5dfKqgnCFzwiCZZ/cGNd1lq4/7akDWMxdhVlucjmnOQ==", + "version": "1.6.7", + "resolved": "https://registry.npmjs.org/axios/-/axios-1.6.7.tgz", + "integrity": "sha512-/hDJGff6/c7u0hDkvkGxR/oy6CbCs8ziCsC7SqmhjfozqiJGc8Z11wrv9z9lYfY4K8l+H9TpjcMDX0xOZmx+RA==", "dependencies": { - "follow-redirects": "^1.14.9", - "form-data": "^4.0.0" + "follow-redirects": "^1.15.4", + "form-data": "^4.0.0", + "proxy-from-env": "^1.1.0" } }, "node_modules/combined-stream": { @@ -59,9 +60,9 @@ } }, "node_modules/follow-redirects": { - "version": "1.15.4", - "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.4.tgz", - "integrity": "sha512-Cr4D/5wlrb0z9dgERpUL3LrmPKVDsETIJhaCMeDfuFYcqa5bldGV6wBsAN6X/vxlXQtFBMrXdXxdL8CbDTGniw==", + "version": "1.15.5", + "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.5.tgz", + "integrity": "sha512-vSFWUON1B+yAw1VN4xMfxgn5fTUiaOzAJCKBwIIgT/+7CuGy9+r+5gITvP62j3RmaD5Ph65UaERdOSRGUzZtgw==", "funding": [ { "type": "individual", @@ -109,6 +110,11 @@ "node": ">= 0.6" } }, + "node_modules/proxy-from-env": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/proxy-from-env/-/proxy-from-env-1.1.0.tgz", + "integrity": "sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg==" + }, "node_modules/typescript": { "version": "5.3.3", "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.3.3.tgz", diff --git a/open-api/typescript-sdk/package.json b/open-api/typescript-sdk/package.json index c555fec210..c7f3ed6ae3 100644 --- a/open-api/typescript-sdk/package.json +++ b/open-api/typescript-sdk/package.json @@ -18,11 +18,11 @@ "build": "tsc -b ./tsconfig.cjs.json ./tsconfig.esm.json ./tsconfig.types.json" }, "license": "MIT", - "dependencies": { - "axios": "^0.27.2" - }, "devDependencies": { "@types/node": "^20.11.0", "typescript": "^5.3.3" + }, + "dependencies": { + "axios": "^1.6.7" } } diff --git a/web/package-lock.json b/web/package-lock.json index 3352d9323b..279fe424a5 100644 --- a/web/package-lock.json +++ b/web/package-lock.json @@ -12,7 +12,7 @@ "@immich/sdk": "file:../open-api/typescript-sdk", "@mdi/js": "^7.3.67", "@zoom-image/svelte": "^0.2.0", - "axios": "^0.27.2", + "axios": "^1.6.7", "buffer": "^6.0.3", "copy-image-clipboard": "^2.1.2", "dom-to-image": "^2.6.0", @@ -65,7 +65,7 @@ "version": "1.92.1", "license": "MIT", "dependencies": { - "axios": "^0.27.2" + "axios": "^1.6.7" }, "devDependencies": { "@types/node": "^20.11.0", @@ -2587,12 +2587,13 @@ } }, "node_modules/axios": { - "version": "0.27.2", - "resolved": "https://registry.npmjs.org/axios/-/axios-0.27.2.tgz", - "integrity": "sha512-t+yRIyySRTp/wua5xEr+z1q60QmLq8ABsS5O9Me1AsE5dfKqgnCFzwiCZZ/cGNd1lq4/7akDWMxdhVlucjmnOQ==", + "version": "1.6.7", + "resolved": "https://registry.npmjs.org/axios/-/axios-1.6.7.tgz", + "integrity": "sha512-/hDJGff6/c7u0hDkvkGxR/oy6CbCs8ziCsC7SqmhjfozqiJGc8Z11wrv9z9lYfY4K8l+H9TpjcMDX0xOZmx+RA==", "dependencies": { - "follow-redirects": "^1.14.9", - "form-data": "^4.0.0" + "follow-redirects": "^1.15.4", + "form-data": "^4.0.0", + "proxy-from-env": "^1.1.0" } }, "node_modules/axobject-query": { @@ -3941,9 +3942,9 @@ "dev": true }, "node_modules/follow-redirects": { - "version": "1.15.4", - "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.4.tgz", - "integrity": "sha512-Cr4D/5wlrb0z9dgERpUL3LrmPKVDsETIJhaCMeDfuFYcqa5bldGV6wBsAN6X/vxlXQtFBMrXdXxdL8CbDTGniw==", + "version": "1.15.5", + "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.5.tgz", + "integrity": "sha512-vSFWUON1B+yAw1VN4xMfxgn5fTUiaOzAJCKBwIIgT/+7CuGy9+r+5gITvP62j3RmaD5Ph65UaERdOSRGUzZtgw==", "funding": [ { "type": "individual", @@ -6138,6 +6139,11 @@ "resolved": "https://registry.npmjs.org/protocol-buffers-schema/-/protocol-buffers-schema-3.6.0.tgz", "integrity": "sha512-TdDRD+/QNdrCGCE7v8340QyuXd4kIWIgapsE2+n/SaGiSSbomYl4TjHlvIoCWRpE7wFt02EpB35VVA2ImcBVqw==" }, + "node_modules/proxy-from-env": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/proxy-from-env/-/proxy-from-env-1.1.0.tgz", + "integrity": "sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg==" + }, "node_modules/psl": { "version": "1.9.0", "resolved": "https://registry.npmjs.org/psl/-/psl-1.9.0.tgz", diff --git a/web/package.json b/web/package.json index dfb7461b9e..fa7934d1a7 100644 --- a/web/package.json +++ b/web/package.json @@ -59,7 +59,7 @@ "@immich/sdk": "file:../open-api/typescript-sdk", "@mdi/js": "^7.3.67", "@zoom-image/svelte": "^0.2.0", - "axios": "^0.27.2", + "axios": "^1.6.7", "buffer": "^6.0.3", "copy-image-clipboard": "^2.1.2", "dom-to-image": "^2.6.0", diff --git a/web/src/lib/utils/asset-utils.ts b/web/src/lib/utils/asset-utils.ts index 681434d4fd..f41dd790b4 100644 --- a/web/src/lib/utils/asset-utils.ts +++ b/web/src/lib/utils/asset-utils.ts @@ -125,7 +125,7 @@ export const downloadFile = async (asset: AssetResponseDto) => { { id, key: api.getKey() }, { responseType: 'blob', - onDownloadProgress: (event: ProgressEvent) => { + onDownloadProgress: ({ event }) => { if (event.lengthComputable) { downloadManager.update(downloadKey, event.loaded, event.total); } diff --git a/web/src/lib/utils/file-uploader.ts b/web/src/lib/utils/file-uploader.ts index 3c19c052a8..5e47b156f0 100644 --- a/web/src/lib/utils/file-uploader.ts +++ b/web/src/lib/utils/file-uploader.ts @@ -83,7 +83,8 @@ async function fileUploader(asset: File, albumId: string | undefined = undefined key: api.getKey(), }, { - onUploadProgress: ({ loaded, total }) => { + onUploadProgress: ({ event }) => { + const { loaded, total } = event; uploadAssetsStore.updateProgress(deviceAssetId, loaded, total); }, },