diff --git a/packages/nextcloud/lib/nextcloud.dart b/packages/nextcloud/lib/nextcloud.dart index 8994c1a8..27cd9bef 100644 --- a/packages/nextcloud/lib/nextcloud.dart +++ b/packages/nextcloud/lib/nextcloud.dart @@ -6,6 +6,7 @@ export 'src/api/dashboard.openapi.dart'; export 'src/api/dav.openapi.dart'; export 'src/api/files.openapi.dart'; export 'src/api/files_external.openapi.dart'; +export 'src/api/files_reminders.openapi.dart'; export 'src/api/files_sharing.openapi.dart'; export 'src/api/files_trashbin.openapi.dart'; export 'src/api/files_versions.openapi.dart'; @@ -14,6 +15,7 @@ export 'src/api/notes.openapi.dart'; export 'src/api/notifications.openapi.dart'; export 'src/api/provisioning_api.openapi.dart'; export 'src/api/settings.openapi.dart'; +export 'src/api/sharebymail.openapi.dart'; export 'src/api/theming.openapi.dart'; export 'src/api/updatenotification.openapi.dart'; export 'src/api/uppush.openapi.dart'; diff --git a/packages/nextcloud/lib/src/client.dart b/packages/nextcloud/lib/src/client.dart index 9ee47f42..be53fd5a 100644 --- a/packages/nextcloud/lib/src/client.dart +++ b/packages/nextcloud/lib/src/client.dart @@ -2,8 +2,6 @@ import 'package:built_value/serializer.dart'; import 'package:built_value/standard_json_plugin.dart'; import 'package:dynamite_runtime/content_string.dart'; import 'package:nextcloud/nextcloud.dart'; -import 'package:nextcloud/src/api/files_reminders.openapi.dart'; -import 'package:nextcloud/src/api/sharebymail.openapi.dart'; // ignore: public_member_api_docs class NextcloudClient extends DynamiteClient { @@ -45,6 +43,7 @@ class NextcloudClient extends DynamiteClient { DavClient? _dav; FilesClient? _files; FilesExternalClient? _filesExternal; + FilesRemindersClient? _filesReminders; FilesSharingClient? _filesSharing; FilesTrashbinClient? _filesTrashbin; FilesVersionsClient? _filesVersions; @@ -82,6 +81,9 @@ class NextcloudClient extends DynamiteClient { /// Client for the files external APIs FilesExternalClient get filesExternal => _filesExternal ??= FilesExternalClient.fromClient(this); + /// Client for the files reminders APIs + FilesRemindersClient get filesReminders => _filesReminders ??= FilesRemindersClient.fromClient(this); + /// Client for the files sharing APIs FilesSharingClient get filesSharing => _filesSharing ??= FilesSharingClient.fromClient(this);