mirror of
https://github.com/immich-app/immich
synced 2026-08-22 13:13:05 +00:00
165 lines
4.2 KiB
Dart
165 lines
4.2 KiB
Dart
//
|
|
// AUTO-GENERATED FILE, DO NOT MODIFY!
|
|
//
|
|
// @dart=2.18
|
|
|
|
// ignore_for_file: unused_element, unused_import
|
|
// ignore_for_file: always_put_required_named_parameters_first
|
|
// ignore_for_file: constant_identifier_names
|
|
// ignore_for_file: lines_longer_than_80_chars
|
|
|
|
import 'package:openapi/api.dart';
|
|
import 'package:test/test.dart';
|
|
|
|
|
|
/// tests for UsersApi
|
|
void main() {
|
|
// final instance = UsersApi();
|
|
|
|
group('tests for UsersApi', () {
|
|
// Create user profile image
|
|
//
|
|
// Upload and set a new profile image for the current user.
|
|
//
|
|
//Future<CreateProfileImageResponseDto> createProfileImage(MultipartFile file) async
|
|
test('test createProfileImage', () async {
|
|
// TODO
|
|
});
|
|
|
|
// Delete user profile image
|
|
//
|
|
// Delete the profile image of the current user.
|
|
//
|
|
//Future deleteProfileImage() async
|
|
test('test deleteProfileImage', () async {
|
|
// TODO
|
|
});
|
|
|
|
// Delete user product key
|
|
//
|
|
// Delete the registered product key for the current user.
|
|
//
|
|
//Future deleteUserLicense() async
|
|
test('test deleteUserLicense', () async {
|
|
// TODO
|
|
});
|
|
|
|
// Delete user onboarding
|
|
//
|
|
// Delete the onboarding status of the current user.
|
|
//
|
|
//Future deleteUserOnboarding() async
|
|
test('test deleteUserOnboarding', () async {
|
|
// TODO
|
|
});
|
|
|
|
// Retrieve calendar heatmap activity
|
|
//
|
|
// Retrieve activity counts for a specified period, in a calendar heatmap format.
|
|
//
|
|
//Future<CalendarHeatmapResponseDto> getMyCalendarHeatmap({ DateTime from, DateTime to, CalendarHeatmapType type }) async
|
|
test('test getMyCalendarHeatmap', () async {
|
|
// TODO
|
|
});
|
|
|
|
// Get my preferences
|
|
//
|
|
// Retrieve the preferences for the current user.
|
|
//
|
|
//Future<UserPreferencesResponseDto> getMyPreferences() async
|
|
test('test getMyPreferences', () async {
|
|
// TODO
|
|
});
|
|
|
|
// Get current user
|
|
//
|
|
// Retrieve information about the user making the API request.
|
|
//
|
|
//Future<UserAdminResponseDto> getMyUser() async
|
|
test('test getMyUser', () async {
|
|
// TODO
|
|
});
|
|
|
|
// Retrieve user profile image
|
|
//
|
|
// Retrieve the profile image file for a user.
|
|
//
|
|
//Future<MultipartFile> getProfileImage(String id) async
|
|
test('test getProfileImage', () async {
|
|
// TODO
|
|
});
|
|
|
|
// Retrieve a user
|
|
//
|
|
// Retrieve a specific user by their ID.
|
|
//
|
|
//Future<UserResponseDto> getUser(String id) async
|
|
test('test getUser', () async {
|
|
// TODO
|
|
});
|
|
|
|
// Retrieve user product key
|
|
//
|
|
// Retrieve information about whether the current user has a registered product key.
|
|
//
|
|
//Future<UserLicense> getUserLicense() async
|
|
test('test getUserLicense', () async {
|
|
// TODO
|
|
});
|
|
|
|
// Retrieve user onboarding
|
|
//
|
|
// Retrieve the onboarding status of the current user.
|
|
//
|
|
//Future<OnboardingResponseDto> getUserOnboarding() async
|
|
test('test getUserOnboarding', () async {
|
|
// TODO
|
|
});
|
|
|
|
// Get all users
|
|
//
|
|
// Retrieve a list of all users on the server.
|
|
//
|
|
//Future<List<UserResponseDto>> searchUsers() async
|
|
test('test searchUsers', () async {
|
|
// TODO
|
|
});
|
|
|
|
// Set user product key
|
|
//
|
|
// Register a product key for the current user.
|
|
//
|
|
//Future<UserLicense> setUserLicense(LicenseKeyDto licenseKeyDto) async
|
|
test('test setUserLicense', () async {
|
|
// TODO
|
|
});
|
|
|
|
// Update user onboarding
|
|
//
|
|
// Update the onboarding status of the current user.
|
|
//
|
|
//Future<OnboardingResponseDto> setUserOnboarding(OnboardingDto onboardingDto) async
|
|
test('test setUserOnboarding', () async {
|
|
// TODO
|
|
});
|
|
|
|
// Update my preferences
|
|
//
|
|
// Update the preferences of the current user.
|
|
//
|
|
//Future<UserPreferencesResponseDto> updateMyPreferences(UserPreferencesUpdateDto userPreferencesUpdateDto) async
|
|
test('test updateMyPreferences', () async {
|
|
// TODO
|
|
});
|
|
|
|
// Update current user
|
|
//
|
|
// Update the current user making the API request.
|
|
//
|
|
//Future<UserAdminResponseDto> updateMyUser(UserUpdateMeDto userUpdateMeDto) async
|
|
test('test updateMyUser', () async {
|
|
// TODO
|
|
});
|
|
|
|
});
|
|
}
|