Browse Source

Merge pull request #969 from nextcloud/refactor/neon-image-handling

refactor(neon): Simplify account handling for API and URL images
pull/988/head
Kate 1 year ago committed by GitHub
parent
commit
cd2cb0bd82
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      packages/dynamite/dynamite/lib/src/builder/client.dart
  2. 26
      packages/dynamite/dynamite_runtime/lib/src/dynamite_client.dart
  3. 2
      packages/neon/neon/lib/src/widgets/drawer.dart
  4. 174
      packages/neon/neon/lib/src/widgets/image.dart
  5. 4
      packages/neon/neon/lib/src/widgets/unified_search_results.dart
  6. 2
      packages/neon/neon/lib/src/widgets/user_avatar.dart
  7. 2
      packages/neon/neon_news/lib/widgets/articles_view.dart
  8. 2
      packages/neon/neon_news/lib/widgets/feed_icon.dart
  9. 2
      packages/neon/neon_notifications/lib/pages/main.dart
  10. 2
      packages/nextcloud/lib/nextcloud.dart
  11. 90
      packages/nextcloud/lib/src/api/core.openapi.dart
  12. 6
      packages/nextcloud/lib/src/api/dashboard.openapi.dart
  13. 2
      packages/nextcloud/lib/src/api/dav.openapi.dart
  14. 26
      packages/nextcloud/lib/src/api/files.openapi.dart
  15. 2
      packages/nextcloud/lib/src/api/files_external.openapi.dart
  16. 6
      packages/nextcloud/lib/src/api/files_reminders.openapi.dart
  17. 42
      packages/nextcloud/lib/src/api/files_sharing.openapi.dart
  18. 2
      packages/nextcloud/lib/src/api/files_trashbin.openapi.dart
  19. 2
      packages/nextcloud/lib/src/api/files_versions.openapi.dart
  20. 36
      packages/nextcloud/lib/src/api/news.openapi.dart
  21. 14
      packages/nextcloud/lib/src/api/notes.openapi.dart
  22. 20
      packages/nextcloud/lib/src/api/notifications.openapi.dart
  23. 86
      packages/nextcloud/lib/src/api/provisioning_api.openapi.dart
  24. 2
      packages/nextcloud/lib/src/api/settings.openapi.dart
  25. 22
      packages/nextcloud/lib/src/api/theming.openapi.dart
  26. 2
      packages/nextcloud/lib/src/api/updatenotification.openapi.dart
  27. 22
      packages/nextcloud/lib/src/api/uppush.openapi.dart
  28. 20
      packages/nextcloud/lib/src/api/user_status.openapi.dart
  29. 14
      packages/nextcloud/lib/src/api/weather_status.openapi.dart
  30. 2
      tool/find-untested-neon-apis.sh

2
packages/dynamite/dynamite/lib/src/builder/client.dart

@ -363,7 +363,7 @@ Iterable<Method> buildTags(
code.writeln(''' code.writeln('''
return DynamiteRawResponse<$returnDataType, $returnHeadersType>( return DynamiteRawResponse<$returnDataType, $returnHeadersType>(
response: $client.doRequest( response: $client.executeRequest(
'$httpMethod', '$httpMethod',
_uri, _uri,
_headers, _headers,

26
packages/dynamite/dynamite_runtime/lib/src/dynamite_client.dart

@ -405,13 +405,17 @@ class DynamiteClient {
final List<DynamiteAuthentication> authentications; final List<DynamiteAuthentication> authentications;
/// Makes a request against a given [path]. /// Makes a request against a given [path].
Future<HttpClientResponse> doRequest( ///
/// The query parameters of the [baseURL] are added.
/// The [path] is resolved against the path of the [baseURL].
/// All [baseHeaders] are added to the request.
Future<HttpClientResponse> executeRequest(
final String method, final String method,
final Uri path, final Uri path,
final Map<String, String> headers, final Map<String, String> headers,
final Uint8List? body, final Uint8List? body,
final Set<int>? validStatuses, final Set<int>? validStatuses,
) async { ) {
final queryParameters = { final queryParameters = {
...baseURL.queryParametersAll, ...baseURL.queryParametersAll,
...path.queryParametersAll, ...path.queryParametersAll,
@ -420,9 +424,25 @@ class DynamiteClient {
path: '${baseURL.path}${path.path}', path: '${baseURL.path}${path.path}',
queryParameters: queryParameters.isNotEmpty ? queryParameters : null, queryParameters: queryParameters.isNotEmpty ? queryParameters : null,
); );
return executeRawRequest(
method,
uri,
{...?baseHeaders, ...headers},
body,
validStatuses,
);
}
/// Executes a HTTP request against give full [uri].
Future<HttpClientResponse> executeRawRequest(
final String method,
final Uri uri,
final Map<String, String> headers,
final Uint8List? body,
final Set<int>? validStatuses,
) async {
final request = await httpClient.openUrl(method, uri); final request = await httpClient.openUrl(method, uri);
for (final header in {...?baseHeaders, ...headers}.entries) { for (final header in headers.entries) {
request.headers.add(header.key, header.value); request.headers.add(header.key, header.value);
} }
if (body != null) { if (body != null) {

2
packages/neon/neon/lib/src/widgets/drawer.dart

@ -154,7 +154,7 @@ class NeonDrawerHeader extends StatelessWidget {
), ),
), ),
Flexible( Flexible(
child: NeonCachedImage.url( child: NeonUrlImage(
url: theme.logo, url: theme.logo,
), ),
), ),

174
packages/neon/neon/lib/src/widgets/image.dart

@ -33,42 +33,15 @@ typedef ApiImageDownloader = FutureOr<DynamiteResponse<Uint8List, dynamic>> Func
/// fetches. /// fetches.
/// ///
/// See: /// See:
/// * [NeonApiImage] for an image from the [NextcloudClient] /// * [NeonApiImage] for an image widget from an Nextcloud API endpoint.
/// * [NeonUrlImage] for an image widget from an arbitrary URL.
/// * [NeonImageWrapper] for a wrapping widget for images /// * [NeonImageWrapper] for a wrapping widget for images
class NeonCachedImage extends StatefulWidget { class NeonCachedImage extends StatefulWidget {
/// Prints the data from [image] to the canvas.
///
/// The data is not persisted in the cache.
NeonCachedImage({
required final Uint8List image,
required Key super.key,
this.isSvgHint = false,
this.size,
this.fit,
this.svgColorFilter,
this.errorBuilder,
}) : image = Future.value(image);
/// Fetches the image from [url].
///
/// The image is automatically cached.
NeonCachedImage.url({
required final String url,
final Account? account,
final Key? key,
this.isSvgHint = false,
this.size,
this.fit,
this.svgColorFilter,
this.errorBuilder,
}) : image = _getImageFromUrl(url, account),
super(key: key ?? Key(url));
/// Custom image implementation. /// Custom image implementation.
/// ///
/// It is possible to provide custom [reviver] and [writeCache] functions to /// It is possible to provide custom [reviver] and [writeCache] functions to
/// adjust the caching. /// adjust the caching.
NeonCachedImage.custom({ NeonCachedImage({
required final ImageDownloader getImage, required final ImageDownloader getImage,
required final String cacheKey, required final String cacheKey,
final CacheReviver? reviver, final CacheReviver? reviver,
@ -116,20 +89,6 @@ class NeonCachedImage extends StatefulWidget {
/// {@endtemplate} /// {@endtemplate}
final ErrorWidgetBuilder? errorBuilder; final ErrorWidgetBuilder? errorBuilder;
static Future<Uint8List> _getImageFromUrl(final String url, final Account? account) async {
var uri = Uri.parse(url);
if (account != null) {
uri = account.completeUri(uri);
}
final file = await _cacheManager.getSingleFile(
uri.toString(),
headers: account != null && uri.host == account.serverURL.host && account.client.authentications.isNotEmpty
? account.client.authentications.first.headers
: null,
);
return file.readAsBytes();
}
static Future<Uint8List> _customImageGetter( static Future<Uint8List> _customImageGetter(
final CacheReviver? checkCache, final CacheReviver? checkCache,
final ImageDownloader getImage, final ImageDownloader getImage,
@ -232,18 +191,16 @@ class _NeonCachedImageState extends State<NeonCachedImage> {
); );
} }
/// Nextcloud API image. /// A widget painting an Image fetched from the Nextcloud API.
///
/// Extension for [NeonCachedImage] providing a [NextcloudClient] to the caller
/// to retrieve the image.
/// ///
/// See: /// See:
/// * [NeonCachedImage] for a customized image /// * [NeonCachedImage] for a customized image
/// * [NeonUrlImage] for an image widget from an arbitrary URL.
/// * [NeonImageWrapper] for a wrapping widget for images /// * [NeonImageWrapper] for a wrapping widget for images
class NeonApiImage extends StatelessWidget { class NeonApiImage extends StatelessWidget {
/// Creates a new Neon API image with the active account. /// Creates a new Neon API image fetching the image with the currently active account.
/// ///
/// Use [NeonApiImage.custom] to specify fetching the image with a different account. /// See [NeonApiImage.withAccount] to fetch the image using a specific account.
const NeonApiImage({ const NeonApiImage({
required this.getImage, required this.getImage,
required this.cacheKey, required this.cacheKey,
@ -257,10 +214,10 @@ class NeonApiImage extends StatelessWidget {
super.key, super.key,
}) : account = null; }) : account = null;
/// Creates a new Neon API image for a given account. /// Creates a new Neon API image fetching the image with the given [account].
/// ///
/// Use [NeonApiImage] to fetch the image with the currently active account. /// See [NeonApiImage] to fetch the image using the currently active account.
const NeonApiImage.custom({ const NeonApiImage.withAccount({
required this.getImage, required this.getImage,
required this.cacheKey, required this.cacheKey,
required Account this.account, required Account this.account,
@ -274,10 +231,9 @@ class NeonApiImage extends StatelessWidget {
super.key, super.key,
}); });
/// Optional account to use for the request. /// The account to use for the request.
/// ///
/// Defaults to the currently active account in [AccountsBloc.activeAccount]. /// Defaults to the currently active account in [AccountsBloc.activeAccount].
/// Use the [NeonApiImage.custom] constructor to specify a different account.
final Account? account; final Account? account;
/// Image downloader. /// Image downloader.
@ -311,7 +267,7 @@ class NeonApiImage extends StatelessWidget {
Widget build(final BuildContext context) { Widget build(final BuildContext context) {
final account = this.account ?? NeonProvider.of<AccountsBloc>(context).activeAccount.value!; final account = this.account ?? NeonProvider.of<AccountsBloc>(context).activeAccount.value!;
return NeonCachedImage.custom( return NeonCachedImage(
getImage: () async { getImage: () async {
final response = await getImage(account.client); final response = await getImage(account.client);
return response.body; return response.body;
@ -328,13 +284,117 @@ class NeonApiImage extends StatelessWidget {
} }
} }
/// A widget painting an Image fetched from an arbitrary URL.
///
/// See:
/// * [NeonCachedImage] for a customized image
/// * [NeonApiImage] for an image widget from an Nextcloud API endpoint.
/// * [NeonImageWrapper] for a wrapping widget for images
class NeonUrlImage extends StatelessWidget {
/// Creates a new Neon URL image with the active account.
///
/// See [NeonUrlImage.withAccount] for using a specific account.
const NeonUrlImage({
required this.url,
this.reviver,
this.writeCache,
this.isSvgHint = false,
this.size,
this.fit,
this.svgColorFilter,
this.errorBuilder,
super.key,
}) : account = null;
/// Creates a new Neon URL image with the given [account].
///
/// See [NeonUrlImage] for using the active account.
const NeonUrlImage.withAccount({
required this.url,
required Account this.account,
this.reviver,
this.writeCache,
this.isSvgHint = false,
this.size,
this.fit,
this.svgColorFilter,
this.errorBuilder,
super.key,
});
/// The account to use for the request.
///
/// Defaults to the currently active account in [AccountsBloc.activeAccount].
final Account? account;
/// Image url.
final String url;
/// Custom cache reviver function.
final CacheReviver? reviver;
/// Custom cache writer function.
final CacheWriter? writeCache;
/// {@macro NeonCachedImage.svgHint}
final bool isSvgHint;
/// {@macro NeonCachedImage.size}
final Size? size;
/// {@macro NeonCachedImage.fit}
final BoxFit? fit;
/// {@macro NeonCachedImage.svgColorFilter}
final ColorFilter? svgColorFilter;
/// {@macro NeonCachedImage.errorBuilder}
final ErrorWidgetBuilder? errorBuilder;
@override
Widget build(final BuildContext context) {
final account = this.account ?? NeonProvider.of<AccountsBloc>(context).activeAccount.value!;
return NeonCachedImage(
getImage: () async {
final uri = account.completeUri(Uri.parse(url));
final headers = <String, String>{};
// Only send the authentication headers when sending the request to the server of the account
if (uri.toString().startsWith(account.serverURL.toString()) && account.client.authentications.isNotEmpty) {
headers.addAll(account.client.authentications.first.headers);
}
final response = await account.client.executeRawRequest(
'GET',
uri,
headers,
null,
const {200},
);
return response.bytes;
},
cacheKey: '${account.id}-$url',
reviver: reviver,
writeCache: writeCache,
isSvgHint: isSvgHint,
size: size,
fit: fit,
svgColorFilter: svgColorFilter,
errorBuilder: errorBuilder,
);
}
}
/// Nextcloud image wrapper widget. /// Nextcloud image wrapper widget.
/// ///
/// Wraps a child (most commonly an image) into a uniformly styled container. /// Wraps a child (most commonly an image) into a uniformly styled container.
/// ///
/// See: /// See:
/// * [NeonCachedImage] for a customized image /// * [NeonCachedImage] for a customized image
/// * [NeonApiImage] for an image widget from a [NextcloudClient]. /// * [NeonApiImage] for an image widget from an Nextcloud API endpoint.
/// * [NeonUrlImage] for an image widget from an arbitrary URL.
class NeonImageWrapper extends StatelessWidget { class NeonImageWrapper extends StatelessWidget {
/// Creates a new image wrapper. /// Creates a new image wrapper.
const NeonImageWrapper({ const NeonImageWrapper({

4
packages/neon/neon/lib/src/widgets/unified_search_results.dart

@ -110,7 +110,7 @@ class NeonUnifiedSearchResults extends StatelessWidget {
Widget _buildThumbnail(final BuildContext context, final Account account, final core.UnifiedSearchResultEntry entry) { Widget _buildThumbnail(final BuildContext context, final Account account, final core.UnifiedSearchResultEntry entry) {
if (entry.thumbnailUrl.isNotEmpty) { if (entry.thumbnailUrl.isNotEmpty) {
return NeonCachedImage.url( return NeonUrlImage.withAccount(
size: const Size.square(largeIconSize), size: const Size.square(largeIconSize),
url: entry.thumbnailUrl, url: entry.thumbnailUrl,
account: account, account: account,
@ -128,7 +128,7 @@ class NeonUnifiedSearchResults extends StatelessWidget {
final core.UnifiedSearchResultEntry entry, final core.UnifiedSearchResultEntry entry,
) { ) {
if (entry.icon.startsWith('/')) { if (entry.icon.startsWith('/')) {
return NeonCachedImage.url( return NeonUrlImage.withAccount(
size: Size.square(IconTheme.of(context).size!), size: Size.square(IconTheme.of(context).size!),
url: entry.icon, url: entry.icon,
account: account, account: account,

2
packages/neon/neon/lib/src/widgets/user_avatar.dart

@ -59,7 +59,7 @@ class _UserAvatarState extends State<NeonUserAvatar> {
radius: size / 2, radius: size / 2,
backgroundColor: widget.backgroundColor, backgroundColor: widget.backgroundColor,
child: ClipOval( child: ClipOval(
child: NeonApiImage.custom( child: NeonApiImage.withAccount(
account: widget.account, account: widget.account,
cacheKey: 'avatar-${widget.username}-$brightness$pixelSize', cacheKey: 'avatar-${widget.username}-$brightness$pixelSize',
getImage: (final client) async => switch (brightness) { getImage: (final client) async => switch (brightness) {

2
packages/neon/neon_news/lib/widgets/articles_view.dart

@ -117,7 +117,7 @@ class _NewsArticlesViewState extends State<NewsArticlesView> {
), ),
), ),
if (article.mediaThumbnail != null) ...[ if (article.mediaThumbnail != null) ...[
NeonCachedImage.url( NeonUrlImage(
url: article.mediaThumbnail!, url: article.mediaThumbnail!,
size: const Size(100, 50), size: const Size(100, 50),
fit: BoxFit.cover, fit: BoxFit.cover,

2
packages/neon/neon_news/lib/widgets/feed_icon.dart

@ -20,7 +20,7 @@ class NewsFeedIcon extends StatelessWidget {
size: Size.square(size), size: Size.square(size),
borderRadius: borderRadius, borderRadius: borderRadius,
child: faviconLink != null && faviconLink.isNotEmpty child: faviconLink != null && faviconLink.isNotEmpty
? NeonCachedImage.url( ? NeonUrlImage(
url: faviconLink, url: faviconLink,
size: Size.square(size), size: Size.square(size),
) )

2
packages/neon/neon_notifications/lib/pages/main.dart

@ -81,7 +81,7 @@ class _NotificationsMainPageState extends State<NotificationsMainPage> {
) )
: SizedBox.fromSize( : SizedBox.fromSize(
size: const Size.square(largeIconSize), size: const Size.square(largeIconSize),
child: NeonCachedImage.url( child: NeonUrlImage(
url: notification.icon!, url: notification.icon!,
size: const Size.square(largeIconSize), size: const Size.square(largeIconSize),
svgColorFilter: ColorFilter.mode(Theme.of(context).colorScheme.primary, BlendMode.srcIn), svgColorFilter: ColorFilter.mode(Theme.of(context).colorScheme.primary, BlendMode.srcIn),

2
packages/nextcloud/lib/nextcloud.dart

@ -1,6 +1,6 @@
export 'package:dynamite_runtime/content_string.dart'; export 'package:dynamite_runtime/content_string.dart';
export 'package:dynamite_runtime/http_client.dart' export 'package:dynamite_runtime/http_client.dart'
show CookieJar, DynamiteApiException, DynamiteRawResponse, DynamiteResponse; show BytesStreamExtension, CookieJar, DynamiteApiException, DynamiteRawResponse, DynamiteResponse;
export 'ids.dart'; export 'ids.dart';
export 'src/client.dart'; export 'src/client.dart';

90
packages/nextcloud/lib/src/api/core.openapi.dart

@ -110,7 +110,7 @@ class Client extends DynamiteClient {
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<Status, void>( return DynamiteRawResponse<Status, void>(
response: doRequest( response: executeRequest(
'get', 'get',
uri, uri,
headers, headers,
@ -200,7 +200,7 @@ class AppPasswordClient {
headers['OCS-APIRequest'] = oCSAPIRequest.toString(); headers['OCS-APIRequest'] = oCSAPIRequest.toString();
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<AppPasswordGetAppPasswordResponseApplicationJson, void>( return DynamiteRawResponse<AppPasswordGetAppPasswordResponseApplicationJson, void>(
response: _rootClient.doRequest( response: _rootClient.executeRequest(
'get', 'get',
uri, uri,
headers, headers,
@ -284,7 +284,7 @@ class AppPasswordClient {
headers['OCS-APIRequest'] = oCSAPIRequest.toString(); headers['OCS-APIRequest'] = oCSAPIRequest.toString();
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<AppPasswordRotateAppPasswordResponseApplicationJson, void>( return DynamiteRawResponse<AppPasswordRotateAppPasswordResponseApplicationJson, void>(
response: _rootClient.doRequest( response: _rootClient.executeRequest(
'post', 'post',
uri, uri,
headers, headers,
@ -368,7 +368,7 @@ class AppPasswordClient {
headers['OCS-APIRequest'] = oCSAPIRequest.toString(); headers['OCS-APIRequest'] = oCSAPIRequest.toString();
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<AppPasswordDeleteAppPasswordResponseApplicationJson, void>( return DynamiteRawResponse<AppPasswordDeleteAppPasswordResponseApplicationJson, void>(
response: _rootClient.doRequest( response: _rootClient.executeRequest(
'delete', 'delete',
uri, uri,
headers, headers,
@ -502,7 +502,7 @@ class AutoCompleteClient {
headers['OCS-APIRequest'] = oCSAPIRequest.toString(); headers['OCS-APIRequest'] = oCSAPIRequest.toString();
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<AutoCompleteGetResponseApplicationJson, void>( return DynamiteRawResponse<AutoCompleteGetResponseApplicationJson, void>(
response: _rootClient.doRequest( response: _rootClient.executeRequest(
'get', 'get',
uri, uri,
headers, headers,
@ -597,7 +597,7 @@ class AvatarClient {
path = path.replaceAll('{size}', Uri.encodeQueryComponent(size.toString())); path = path.replaceAll('{size}', Uri.encodeQueryComponent(size.toString()));
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<Uint8List, AvatarAvatarGetAvatarDarkHeaders>( return DynamiteRawResponse<Uint8List, AvatarAvatarGetAvatarDarkHeaders>(
response: _rootClient.doRequest( response: _rootClient.executeRequest(
'get', 'get',
uri, uri,
headers, headers,
@ -685,7 +685,7 @@ class AvatarClient {
path = path.replaceAll('{size}', Uri.encodeQueryComponent(size.toString())); path = path.replaceAll('{size}', Uri.encodeQueryComponent(size.toString()));
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<Uint8List, AvatarAvatarGetAvatarHeaders>( return DynamiteRawResponse<Uint8List, AvatarAvatarGetAvatarHeaders>(
response: _rootClient.doRequest( response: _rootClient.executeRequest(
'get', 'get',
uri, uri,
headers, headers,
@ -769,7 +769,7 @@ class ClientFlowLoginV2Client {
queryParameters['token'] = token; queryParameters['token'] = token;
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<LoginFlowV2Credentials, void>( return DynamiteRawResponse<LoginFlowV2Credentials, void>(
response: _rootClient.doRequest( response: _rootClient.executeRequest(
'post', 'post',
uri, uri,
headers, headers,
@ -836,7 +836,7 @@ class ClientFlowLoginV2Client {
// coverage:ignore-end // coverage:ignore-end
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<LoginFlowV2, void>( return DynamiteRawResponse<LoginFlowV2, void>(
response: _rootClient.doRequest( response: _rootClient.executeRequest(
'post', 'post',
uri, uri,
headers, headers,
@ -932,7 +932,7 @@ class CollaborationResourcesClient {
headers['OCS-APIRequest'] = oCSAPIRequest.toString(); headers['OCS-APIRequest'] = oCSAPIRequest.toString();
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<CollaborationResourcesSearchCollectionsResponseApplicationJson, void>( return DynamiteRawResponse<CollaborationResourcesSearchCollectionsResponseApplicationJson, void>(
response: _rootClient.doRequest( response: _rootClient.executeRequest(
'get', 'get',
uri, uri,
headers, headers,
@ -1024,7 +1024,7 @@ class CollaborationResourcesClient {
headers['OCS-APIRequest'] = oCSAPIRequest.toString(); headers['OCS-APIRequest'] = oCSAPIRequest.toString();
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<CollaborationResourcesListCollectionResponseApplicationJson, void>( return DynamiteRawResponse<CollaborationResourcesListCollectionResponseApplicationJson, void>(
response: _rootClient.doRequest( response: _rootClient.executeRequest(
'get', 'get',
uri, uri,
headers, headers,
@ -1122,7 +1122,7 @@ class CollaborationResourcesClient {
headers['OCS-APIRequest'] = oCSAPIRequest.toString(); headers['OCS-APIRequest'] = oCSAPIRequest.toString();
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<CollaborationResourcesRenameCollectionResponseApplicationJson, void>( return DynamiteRawResponse<CollaborationResourcesRenameCollectionResponseApplicationJson, void>(
response: _rootClient.doRequest( response: _rootClient.executeRequest(
'put', 'put',
uri, uri,
headers, headers,
@ -1226,7 +1226,7 @@ class CollaborationResourcesClient {
headers['OCS-APIRequest'] = oCSAPIRequest.toString(); headers['OCS-APIRequest'] = oCSAPIRequest.toString();
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<CollaborationResourcesAddResourceResponseApplicationJson, void>( return DynamiteRawResponse<CollaborationResourcesAddResourceResponseApplicationJson, void>(
response: _rootClient.doRequest( response: _rootClient.executeRequest(
'post', 'post',
uri, uri,
headers, headers,
@ -1330,7 +1330,7 @@ class CollaborationResourcesClient {
headers['OCS-APIRequest'] = oCSAPIRequest.toString(); headers['OCS-APIRequest'] = oCSAPIRequest.toString();
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<CollaborationResourcesRemoveResourceResponseApplicationJson, void>( return DynamiteRawResponse<CollaborationResourcesRemoveResourceResponseApplicationJson, void>(
response: _rootClient.doRequest( response: _rootClient.executeRequest(
'delete', 'delete',
uri, uri,
headers, headers,
@ -1428,7 +1428,7 @@ class CollaborationResourcesClient {
headers['OCS-APIRequest'] = oCSAPIRequest.toString(); headers['OCS-APIRequest'] = oCSAPIRequest.toString();
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<CollaborationResourcesGetCollectionsByResourceResponseApplicationJson, void>( return DynamiteRawResponse<CollaborationResourcesGetCollectionsByResourceResponseApplicationJson, void>(
response: _rootClient.doRequest( response: _rootClient.executeRequest(
'get', 'get',
uri, uri,
headers, headers,
@ -1536,7 +1536,7 @@ class CollaborationResourcesClient {
headers['OCS-APIRequest'] = oCSAPIRequest.toString(); headers['OCS-APIRequest'] = oCSAPIRequest.toString();
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson, void>( return DynamiteRawResponse<CollaborationResourcesCreateCollectionOnResourceResponseApplicationJson, void>(
response: _rootClient.doRequest( response: _rootClient.executeRequest(
'post', 'post',
uri, uri,
headers, headers,
@ -1633,7 +1633,7 @@ class GuestAvatarClient {
path = path.replaceAll('{size}', Uri.encodeQueryComponent(size)); path = path.replaceAll('{size}', Uri.encodeQueryComponent(size));
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<Uint8List, void>( return DynamiteRawResponse<Uint8List, void>(
response: _rootClient.doRequest( response: _rootClient.executeRequest(
'get', 'get',
uri, uri,
headers, headers,
@ -1733,7 +1733,7 @@ class GuestAvatarClient {
} }
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<Uint8List, void>( return DynamiteRawResponse<Uint8List, void>(
response: _rootClient.doRequest( response: _rootClient.executeRequest(
'get', 'get',
uri, uri,
headers, headers,
@ -1829,7 +1829,7 @@ class HoverCardClient {
headers['OCS-APIRequest'] = oCSAPIRequest.toString(); headers['OCS-APIRequest'] = oCSAPIRequest.toString();
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<HoverCardGetUserResponseApplicationJson, void>( return DynamiteRawResponse<HoverCardGetUserResponseApplicationJson, void>(
response: _rootClient.doRequest( response: _rootClient.executeRequest(
'get', 'get',
uri, uri,
headers, headers,
@ -1927,7 +1927,7 @@ class NavigationClient {
headers['OCS-APIRequest'] = oCSAPIRequest.toString(); headers['OCS-APIRequest'] = oCSAPIRequest.toString();
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<NavigationGetAppsNavigationResponseApplicationJson, void>( return DynamiteRawResponse<NavigationGetAppsNavigationResponseApplicationJson, void>(
response: _rootClient.doRequest( response: _rootClient.executeRequest(
'get', 'get',
uri, uri,
headers, headers,
@ -2019,7 +2019,7 @@ class NavigationClient {
headers['OCS-APIRequest'] = oCSAPIRequest.toString(); headers['OCS-APIRequest'] = oCSAPIRequest.toString();
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<NavigationGetSettingsNavigationResponseApplicationJson, void>( return DynamiteRawResponse<NavigationGetSettingsNavigationResponseApplicationJson, void>(
response: _rootClient.doRequest( response: _rootClient.executeRequest(
'get', 'get',
uri, uri,
headers, headers,
@ -2095,7 +2095,7 @@ class OcmClient {
// coverage:ignore-end // coverage:ignore-end
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<OcmDiscoveryResponseApplicationJson, OcmOcmDiscoveryHeaders>( return DynamiteRawResponse<OcmDiscoveryResponseApplicationJson, OcmOcmDiscoveryHeaders>(
response: _rootClient.doRequest( response: _rootClient.executeRequest(
'get', 'get',
uri, uri,
headers, headers,
@ -2181,7 +2181,7 @@ class OcsClient {
headers['OCS-APIRequest'] = oCSAPIRequest.toString(); headers['OCS-APIRequest'] = oCSAPIRequest.toString();
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<OcsGetCapabilitiesResponseApplicationJson, void>( return DynamiteRawResponse<OcsGetCapabilitiesResponseApplicationJson, void>(
response: _rootClient.doRequest( response: _rootClient.executeRequest(
'get', 'get',
uri, uri,
headers, headers,
@ -2327,7 +2327,7 @@ class PreviewClient {
} }
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<Uint8List, void>( return DynamiteRawResponse<Uint8List, void>(
response: _rootClient.doRequest( response: _rootClient.executeRequest(
'get', 'get',
uri, uri,
headers, headers,
@ -2467,7 +2467,7 @@ class PreviewClient {
} }
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<Uint8List, void>( return DynamiteRawResponse<Uint8List, void>(
response: _rootClient.doRequest( response: _rootClient.executeRequest(
'get', 'get',
uri, uri,
headers, headers,
@ -2579,7 +2579,7 @@ class ProfileApiClient {
headers['OCS-APIRequest'] = oCSAPIRequest.toString(); headers['OCS-APIRequest'] = oCSAPIRequest.toString();
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<ProfileApiSetVisibilityResponseApplicationJson, void>( return DynamiteRawResponse<ProfileApiSetVisibilityResponseApplicationJson, void>(
response: _rootClient.doRequest( response: _rootClient.executeRequest(
'put', 'put',
uri, uri,
headers, headers,
@ -2663,7 +2663,7 @@ class ReferenceClient {
path = path.replaceAll('{referenceId}', Uri.encodeQueryComponent(referenceId)); path = path.replaceAll('{referenceId}', Uri.encodeQueryComponent(referenceId));
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<Uint8List, void>( return DynamiteRawResponse<Uint8List, void>(
response: _rootClient.doRequest( response: _rootClient.executeRequest(
'get', 'get',
uri, uri,
headers, headers,
@ -2757,7 +2757,7 @@ class ReferenceApiClient {
headers['OCS-APIRequest'] = oCSAPIRequest.toString(); headers['OCS-APIRequest'] = oCSAPIRequest.toString();
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<ReferenceApiResolveOneResponseApplicationJson, void>( return DynamiteRawResponse<ReferenceApiResolveOneResponseApplicationJson, void>(
response: _rootClient.doRequest( response: _rootClient.executeRequest(
'get', 'get',
uri, uri,
headers, headers,
@ -2853,7 +2853,7 @@ class ReferenceApiClient {
headers['OCS-APIRequest'] = oCSAPIRequest.toString(); headers['OCS-APIRequest'] = oCSAPIRequest.toString();
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<ReferenceApiResolveResponseApplicationJson, void>( return DynamiteRawResponse<ReferenceApiResolveResponseApplicationJson, void>(
response: _rootClient.doRequest( response: _rootClient.executeRequest(
'post', 'post',
uri, uri,
headers, headers,
@ -2957,7 +2957,7 @@ class ReferenceApiClient {
headers['OCS-APIRequest'] = oCSAPIRequest.toString(); headers['OCS-APIRequest'] = oCSAPIRequest.toString();
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<ReferenceApiExtractResponseApplicationJson, void>( return DynamiteRawResponse<ReferenceApiExtractResponseApplicationJson, void>(
response: _rootClient.doRequest( response: _rootClient.executeRequest(
'post', 'post',
uri, uri,
headers, headers,
@ -3039,7 +3039,7 @@ class ReferenceApiClient {
headers['OCS-APIRequest'] = oCSAPIRequest.toString(); headers['OCS-APIRequest'] = oCSAPIRequest.toString();
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<ReferenceApiGetProvidersInfoResponseApplicationJson, void>( return DynamiteRawResponse<ReferenceApiGetProvidersInfoResponseApplicationJson, void>(
response: _rootClient.doRequest( response: _rootClient.executeRequest(
'get', 'get',
uri, uri,
headers, headers,
@ -3135,7 +3135,7 @@ class ReferenceApiClient {
headers['OCS-APIRequest'] = oCSAPIRequest.toString(); headers['OCS-APIRequest'] = oCSAPIRequest.toString();
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<ReferenceApiTouchProviderResponseApplicationJson, void>( return DynamiteRawResponse<ReferenceApiTouchProviderResponseApplicationJson, void>(
response: _rootClient.doRequest( response: _rootClient.executeRequest(
'put', 'put',
uri, uri,
headers, headers,
@ -3221,7 +3221,7 @@ class TextProcessingApiClient {
headers['OCS-APIRequest'] = oCSAPIRequest.toString(); headers['OCS-APIRequest'] = oCSAPIRequest.toString();
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<TextProcessingApiTaskTypesResponseApplicationJson, void>( return DynamiteRawResponse<TextProcessingApiTaskTypesResponseApplicationJson, void>(
response: _rootClient.doRequest( response: _rootClient.executeRequest(
'get', 'get',
uri, uri,
headers, headers,
@ -3331,7 +3331,7 @@ class TextProcessingApiClient {
headers['OCS-APIRequest'] = oCSAPIRequest.toString(); headers['OCS-APIRequest'] = oCSAPIRequest.toString();
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<TextProcessingApiScheduleResponseApplicationJson, void>( return DynamiteRawResponse<TextProcessingApiScheduleResponseApplicationJson, void>(
response: _rootClient.doRequest( response: _rootClient.executeRequest(
'post', 'post',
uri, uri,
headers, headers,
@ -3421,7 +3421,7 @@ class TextProcessingApiClient {
headers['OCS-APIRequest'] = oCSAPIRequest.toString(); headers['OCS-APIRequest'] = oCSAPIRequest.toString();
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<TextProcessingApiGetTaskResponseApplicationJson, void>( return DynamiteRawResponse<TextProcessingApiGetTaskResponseApplicationJson, void>(
response: _rootClient.doRequest( response: _rootClient.executeRequest(
'get', 'get',
uri, uri,
headers, headers,
@ -3513,7 +3513,7 @@ class TextProcessingApiClient {
headers['OCS-APIRequest'] = oCSAPIRequest.toString(); headers['OCS-APIRequest'] = oCSAPIRequest.toString();
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<TextProcessingApiDeleteTaskResponseApplicationJson, void>( return DynamiteRawResponse<TextProcessingApiDeleteTaskResponseApplicationJson, void>(
response: _rootClient.doRequest( response: _rootClient.executeRequest(
'delete', 'delete',
uri, uri,
headers, headers,
@ -3611,7 +3611,7 @@ class TextProcessingApiClient {
headers['OCS-APIRequest'] = oCSAPIRequest.toString(); headers['OCS-APIRequest'] = oCSAPIRequest.toString();
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<TextProcessingApiListTasksByAppResponseApplicationJson, void>( return DynamiteRawResponse<TextProcessingApiListTasksByAppResponseApplicationJson, void>(
response: _rootClient.doRequest( response: _rootClient.executeRequest(
'get', 'get',
uri, uri,
headers, headers,
@ -3697,7 +3697,7 @@ class TranslationApiClient {
headers['OCS-APIRequest'] = oCSAPIRequest.toString(); headers['OCS-APIRequest'] = oCSAPIRequest.toString();
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<TranslationApiLanguagesResponseApplicationJson, void>( return DynamiteRawResponse<TranslationApiLanguagesResponseApplicationJson, void>(
response: _rootClient.doRequest( response: _rootClient.executeRequest(
'get', 'get',
uri, uri,
headers, headers,
@ -3803,7 +3803,7 @@ class TranslationApiClient {
headers['OCS-APIRequest'] = oCSAPIRequest.toString(); headers['OCS-APIRequest'] = oCSAPIRequest.toString();
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<TranslationApiTranslateResponseApplicationJson, void>( return DynamiteRawResponse<TranslationApiTranslateResponseApplicationJson, void>(
response: _rootClient.doRequest( response: _rootClient.executeRequest(
'post', 'post',
uri, uri,
headers, headers,
@ -3899,7 +3899,7 @@ class UnifiedSearchClient {
headers['OCS-APIRequest'] = oCSAPIRequest.toString(); headers['OCS-APIRequest'] = oCSAPIRequest.toString();
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<UnifiedSearchGetProvidersResponseApplicationJson, void>( return DynamiteRawResponse<UnifiedSearchGetProvidersResponseApplicationJson, void>(
response: _rootClient.doRequest( response: _rootClient.executeRequest(
'get', 'get',
uri, uri,
headers, headers,
@ -4032,7 +4032,7 @@ class UnifiedSearchClient {
headers['OCS-APIRequest'] = oCSAPIRequest.toString(); headers['OCS-APIRequest'] = oCSAPIRequest.toString();
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<UnifiedSearchSearchResponseApplicationJson, void>( return DynamiteRawResponse<UnifiedSearchSearchResponseApplicationJson, void>(
response: _rootClient.doRequest( response: _rootClient.executeRequest(
'get', 'get',
uri, uri,
headers, headers,
@ -4118,7 +4118,7 @@ class WhatsNewClient {
headers['OCS-APIRequest'] = oCSAPIRequest.toString(); headers['OCS-APIRequest'] = oCSAPIRequest.toString();
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<WhatsNewGetResponseApplicationJson, void>( return DynamiteRawResponse<WhatsNewGetResponseApplicationJson, void>(
response: _rootClient.doRequest( response: _rootClient.executeRequest(
'get', 'get',
uri, uri,
headers, headers,
@ -4208,7 +4208,7 @@ class WhatsNewClient {
headers['OCS-APIRequest'] = oCSAPIRequest.toString(); headers['OCS-APIRequest'] = oCSAPIRequest.toString();
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<WhatsNewDismissResponseApplicationJson, void>( return DynamiteRawResponse<WhatsNewDismissResponseApplicationJson, void>(
response: _rootClient.doRequest( response: _rootClient.executeRequest(
'post', 'post',
uri, uri,
headers, headers,
@ -4292,7 +4292,7 @@ class WipeClient {
queryParameters['token'] = token; queryParameters['token'] = token;
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<WipeCheckWipeResponseApplicationJson, void>( return DynamiteRawResponse<WipeCheckWipeResponseApplicationJson, void>(
response: _rootClient.doRequest( response: _rootClient.executeRequest(
'post', 'post',
uri, uri,
headers, headers,
@ -4370,7 +4370,7 @@ class WipeClient {
queryParameters['token'] = token; queryParameters['token'] = token;
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<JsonObject, void>( return DynamiteRawResponse<JsonObject, void>(
response: _rootClient.doRequest( response: _rootClient.executeRequest(
'post', 'post',
uri, uri,
headers, headers,

6
packages/nextcloud/lib/src/api/dashboard.openapi.dart

@ -112,7 +112,7 @@ class DashboardApiClient {
headers['OCS-APIRequest'] = oCSAPIRequest.toString(); headers['OCS-APIRequest'] = oCSAPIRequest.toString();
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<DashboardApiGetWidgetsResponseApplicationJson, void>( return DynamiteRawResponse<DashboardApiGetWidgetsResponseApplicationJson, void>(
response: _rootClient.doRequest( response: _rootClient.executeRequest(
'get', 'get',
uri, uri,
headers, headers,
@ -223,7 +223,7 @@ class DashboardApiClient {
headers['OCS-APIRequest'] = oCSAPIRequest.toString(); headers['OCS-APIRequest'] = oCSAPIRequest.toString();
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<DashboardApiGetWidgetItemsResponseApplicationJson, void>( return DynamiteRawResponse<DashboardApiGetWidgetItemsResponseApplicationJson, void>(
response: _rootClient.doRequest( response: _rootClient.executeRequest(
'get', 'get',
uri, uri,
headers, headers,
@ -334,7 +334,7 @@ class DashboardApiClient {
headers['OCS-APIRequest'] = oCSAPIRequest.toString(); headers['OCS-APIRequest'] = oCSAPIRequest.toString();
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<DashboardApiGetWidgetItemsV2ResponseApplicationJson, void>( return DynamiteRawResponse<DashboardApiGetWidgetItemsV2ResponseApplicationJson, void>(
response: _rootClient.doRequest( response: _rootClient.executeRequest(
'get', 'get',
uri, uri,
headers, headers,

2
packages/nextcloud/lib/src/api/dav.openapi.dart

@ -131,7 +131,7 @@ class DirectClient {
headers['OCS-APIRequest'] = oCSAPIRequest.toString(); headers['OCS-APIRequest'] = oCSAPIRequest.toString();
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<DirectGetUrlResponseApplicationJson, void>( return DynamiteRawResponse<DirectGetUrlResponseApplicationJson, void>(
response: _rootClient.doRequest( response: _rootClient.executeRequest(
'post', 'post',
uri, uri,
headers, headers,

26
packages/nextcloud/lib/src/api/files.openapi.dart

@ -139,7 +139,7 @@ class ApiClient {
path = path.replaceAll('{file}', Uri.encodeQueryComponent(file)); path = path.replaceAll('{file}', Uri.encodeQueryComponent(file));
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<Uint8List, void>( return DynamiteRawResponse<Uint8List, void>(
response: _rootClient.doRequest( response: _rootClient.executeRequest(
'get', 'get',
uri, uri,
headers, headers,
@ -225,7 +225,7 @@ class DirectEditingClient {
headers['OCS-APIRequest'] = oCSAPIRequest.toString(); headers['OCS-APIRequest'] = oCSAPIRequest.toString();
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<DirectEditingInfoResponseApplicationJson, void>( return DynamiteRawResponse<DirectEditingInfoResponseApplicationJson, void>(
response: _rootClient.doRequest( response: _rootClient.executeRequest(
'get', 'get',
uri, uri,
headers, headers,
@ -321,7 +321,7 @@ class DirectEditingClient {
headers['OCS-APIRequest'] = oCSAPIRequest.toString(); headers['OCS-APIRequest'] = oCSAPIRequest.toString();
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<DirectEditingTemplatesResponseApplicationJson, void>( return DynamiteRawResponse<DirectEditingTemplatesResponseApplicationJson, void>(
response: _rootClient.doRequest( response: _rootClient.executeRequest(
'get', 'get',
uri, uri,
headers, headers,
@ -429,7 +429,7 @@ class DirectEditingClient {
headers['OCS-APIRequest'] = oCSAPIRequest.toString(); headers['OCS-APIRequest'] = oCSAPIRequest.toString();
final uri = Uri(path: path0, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path0, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<DirectEditingOpenResponseApplicationJson, void>( return DynamiteRawResponse<DirectEditingOpenResponseApplicationJson, void>(
response: _rootClient.doRequest( response: _rootClient.executeRequest(
'post', 'post',
uri, uri,
headers, headers,
@ -541,7 +541,7 @@ class DirectEditingClient {
headers['OCS-APIRequest'] = oCSAPIRequest.toString(); headers['OCS-APIRequest'] = oCSAPIRequest.toString();
final uri = Uri(path: path0, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path0, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<DirectEditingCreateResponseApplicationJson, void>( return DynamiteRawResponse<DirectEditingCreateResponseApplicationJson, void>(
response: _rootClient.doRequest( response: _rootClient.executeRequest(
'post', 'post',
uri, uri,
headers, headers,
@ -637,7 +637,7 @@ class OpenLocalEditorClient {
headers['OCS-APIRequest'] = oCSAPIRequest.toString(); headers['OCS-APIRequest'] = oCSAPIRequest.toString();
final uri = Uri(path: path0, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path0, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<OpenLocalEditorCreateResponseApplicationJson, void>( return DynamiteRawResponse<OpenLocalEditorCreateResponseApplicationJson, void>(
response: _rootClient.doRequest( response: _rootClient.executeRequest(
'post', 'post',
uri, uri,
headers, headers,
@ -733,7 +733,7 @@ class OpenLocalEditorClient {
headers['OCS-APIRequest'] = oCSAPIRequest.toString(); headers['OCS-APIRequest'] = oCSAPIRequest.toString();
final uri = Uri(path: path0, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path0, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<OpenLocalEditorValidateResponseApplicationJson, void>( return DynamiteRawResponse<OpenLocalEditorValidateResponseApplicationJson, void>(
response: _rootClient.doRequest( response: _rootClient.executeRequest(
'post', 'post',
uri, uri,
headers, headers,
@ -817,7 +817,7 @@ class TemplateClient {
headers['OCS-APIRequest'] = oCSAPIRequest.toString(); headers['OCS-APIRequest'] = oCSAPIRequest.toString();
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<TemplateListResponseApplicationJson, void>( return DynamiteRawResponse<TemplateListResponseApplicationJson, void>(
response: _rootClient.doRequest( response: _rootClient.executeRequest(
'get', 'get',
uri, uri,
headers, headers,
@ -923,7 +923,7 @@ class TemplateClient {
headers['OCS-APIRequest'] = oCSAPIRequest.toString(); headers['OCS-APIRequest'] = oCSAPIRequest.toString();
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<TemplateCreateResponseApplicationJson, void>( return DynamiteRawResponse<TemplateCreateResponseApplicationJson, void>(
response: _rootClient.doRequest( response: _rootClient.executeRequest(
'post', 'post',
uri, uri,
headers, headers,
@ -1023,7 +1023,7 @@ class TemplateClient {
headers['OCS-APIRequest'] = oCSAPIRequest.toString(); headers['OCS-APIRequest'] = oCSAPIRequest.toString();
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<TemplatePathResponseApplicationJson, void>( return DynamiteRawResponse<TemplatePathResponseApplicationJson, void>(
response: _rootClient.doRequest( response: _rootClient.executeRequest(
'post', 'post',
uri, uri,
headers, headers,
@ -1127,7 +1127,7 @@ class TransferOwnershipClient {
headers['OCS-APIRequest'] = oCSAPIRequest.toString(); headers['OCS-APIRequest'] = oCSAPIRequest.toString();
final uri = Uri(path: path0, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path0, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<TransferOwnershipTransferResponseApplicationJson, void>( return DynamiteRawResponse<TransferOwnershipTransferResponseApplicationJson, void>(
response: _rootClient.doRequest( response: _rootClient.executeRequest(
'post', 'post',
uri, uri,
headers, headers,
@ -1219,7 +1219,7 @@ class TransferOwnershipClient {
headers['OCS-APIRequest'] = oCSAPIRequest.toString(); headers['OCS-APIRequest'] = oCSAPIRequest.toString();
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<TransferOwnershipAcceptResponseApplicationJson, void>( return DynamiteRawResponse<TransferOwnershipAcceptResponseApplicationJson, void>(
response: _rootClient.doRequest( response: _rootClient.executeRequest(
'post', 'post',
uri, uri,
headers, headers,
@ -1311,7 +1311,7 @@ class TransferOwnershipClient {
headers['OCS-APIRequest'] = oCSAPIRequest.toString(); headers['OCS-APIRequest'] = oCSAPIRequest.toString();
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<TransferOwnershipRejectResponseApplicationJson, void>( return DynamiteRawResponse<TransferOwnershipRejectResponseApplicationJson, void>(
response: _rootClient.doRequest( response: _rootClient.executeRequest(
'delete', 'delete',
uri, uri,
headers, headers,

2
packages/nextcloud/lib/src/api/files_external.openapi.dart

@ -113,7 +113,7 @@ class ApiClient {
headers['OCS-APIRequest'] = oCSAPIRequest.toString(); headers['OCS-APIRequest'] = oCSAPIRequest.toString();
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<ApiGetUserMountsResponseApplicationJson, void>( return DynamiteRawResponse<ApiGetUserMountsResponseApplicationJson, void>(
response: _rootClient.doRequest( response: _rootClient.executeRequest(
'get', 'get',
uri, uri,
headers, headers,

6
packages/nextcloud/lib/src/api/files_reminders.openapi.dart

@ -128,7 +128,7 @@ class ApiClient {
headers['OCS-APIRequest'] = oCSAPIRequest.toString(); headers['OCS-APIRequest'] = oCSAPIRequest.toString();
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<ApiGetResponseApplicationJson, void>( return DynamiteRawResponse<ApiGetResponseApplicationJson, void>(
response: _rootClient.doRequest( response: _rootClient.executeRequest(
'get', 'get',
uri, uri,
headers, headers,
@ -237,7 +237,7 @@ class ApiClient {
headers['OCS-APIRequest'] = oCSAPIRequest.toString(); headers['OCS-APIRequest'] = oCSAPIRequest.toString();
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<ApiSetResponseApplicationJson, void>( return DynamiteRawResponse<ApiSetResponseApplicationJson, void>(
response: _rootClient.doRequest( response: _rootClient.executeRequest(
'put', 'put',
uri, uri,
headers, headers,
@ -336,7 +336,7 @@ class ApiClient {
headers['OCS-APIRequest'] = oCSAPIRequest.toString(); headers['OCS-APIRequest'] = oCSAPIRequest.toString();
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<ApiRemoveResponseApplicationJson, void>( return DynamiteRawResponse<ApiRemoveResponseApplicationJson, void>(
response: _rootClient.doRequest( response: _rootClient.executeRequest(
'delete', 'delete',
uri, uri,
headers, headers,

42
packages/nextcloud/lib/src/api/files_sharing.openapi.dart

@ -121,7 +121,7 @@ class DeletedShareapiClient {
headers['OCS-APIRequest'] = oCSAPIRequest.toString(); headers['OCS-APIRequest'] = oCSAPIRequest.toString();
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<DeletedShareapiListResponseApplicationJson, void>( return DynamiteRawResponse<DeletedShareapiListResponseApplicationJson, void>(
response: _rootClient.doRequest( response: _rootClient.executeRequest(
'get', 'get',
uri, uri,
headers, headers,
@ -211,7 +211,7 @@ class DeletedShareapiClient {
headers['OCS-APIRequest'] = oCSAPIRequest.toString(); headers['OCS-APIRequest'] = oCSAPIRequest.toString();
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<DeletedShareapiUndeleteResponseApplicationJson, void>( return DynamiteRawResponse<DeletedShareapiUndeleteResponseApplicationJson, void>(
response: _rootClient.doRequest( response: _rootClient.executeRequest(
'post', 'post',
uri, uri,
headers, headers,
@ -309,7 +309,7 @@ class PublicPreviewClient {
headers['OCS-APIRequest'] = oCSAPIRequest.toString(); headers['OCS-APIRequest'] = oCSAPIRequest.toString();
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<Uint8List, void>( return DynamiteRawResponse<Uint8List, void>(
response: _rootClient.doRequest( response: _rootClient.executeRequest(
'get', 'get',
uri, uri,
headers, headers,
@ -433,7 +433,7 @@ class PublicPreviewClient {
headers['OCS-APIRequest'] = oCSAPIRequest.toString(); headers['OCS-APIRequest'] = oCSAPIRequest.toString();
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<Uint8List, void>( return DynamiteRawResponse<Uint8List, void>(
response: _rootClient.doRequest( response: _rootClient.executeRequest(
'get', 'get',
uri, uri,
headers, headers,
@ -519,7 +519,7 @@ class RemoteClient {
headers['OCS-APIRequest'] = oCSAPIRequest.toString(); headers['OCS-APIRequest'] = oCSAPIRequest.toString();
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<RemoteGetSharesResponseApplicationJson, void>( return DynamiteRawResponse<RemoteGetSharesResponseApplicationJson, void>(
response: _rootClient.doRequest( response: _rootClient.executeRequest(
'get', 'get',
uri, uri,
headers, headers,
@ -601,7 +601,7 @@ class RemoteClient {
headers['OCS-APIRequest'] = oCSAPIRequest.toString(); headers['OCS-APIRequest'] = oCSAPIRequest.toString();
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<RemoteGetOpenSharesResponseApplicationJson, void>( return DynamiteRawResponse<RemoteGetOpenSharesResponseApplicationJson, void>(
response: _rootClient.doRequest( response: _rootClient.executeRequest(
'get', 'get',
uri, uri,
headers, headers,
@ -691,7 +691,7 @@ class RemoteClient {
headers['OCS-APIRequest'] = oCSAPIRequest.toString(); headers['OCS-APIRequest'] = oCSAPIRequest.toString();
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<RemoteAcceptShareResponseApplicationJson, void>( return DynamiteRawResponse<RemoteAcceptShareResponseApplicationJson, void>(
response: _rootClient.doRequest( response: _rootClient.executeRequest(
'post', 'post',
uri, uri,
headers, headers,
@ -781,7 +781,7 @@ class RemoteClient {
headers['OCS-APIRequest'] = oCSAPIRequest.toString(); headers['OCS-APIRequest'] = oCSAPIRequest.toString();
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<RemoteDeclineShareResponseApplicationJson, void>( return DynamiteRawResponse<RemoteDeclineShareResponseApplicationJson, void>(
response: _rootClient.doRequest( response: _rootClient.executeRequest(
'delete', 'delete',
uri, uri,
headers, headers,
@ -871,7 +871,7 @@ class RemoteClient {
headers['OCS-APIRequest'] = oCSAPIRequest.toString(); headers['OCS-APIRequest'] = oCSAPIRequest.toString();
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<RemoteGetShareResponseApplicationJson, void>( return DynamiteRawResponse<RemoteGetShareResponseApplicationJson, void>(
response: _rootClient.doRequest( response: _rootClient.executeRequest(
'get', 'get',
uri, uri,
headers, headers,
@ -963,7 +963,7 @@ class RemoteClient {
headers['OCS-APIRequest'] = oCSAPIRequest.toString(); headers['OCS-APIRequest'] = oCSAPIRequest.toString();
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<RemoteUnshareResponseApplicationJson, void>( return DynamiteRawResponse<RemoteUnshareResponseApplicationJson, void>(
response: _rootClient.doRequest( response: _rootClient.executeRequest(
'delete', 'delete',
uri, uri,
headers, headers,
@ -1077,7 +1077,7 @@ class ShareInfoClient {
} }
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<ShareInfo, void>( return DynamiteRawResponse<ShareInfo, void>(
response: _rootClient.doRequest( response: _rootClient.executeRequest(
'post', 'post',
uri, uri,
headers, headers,
@ -1207,7 +1207,7 @@ class ShareapiClient {
headers['OCS-APIRequest'] = oCSAPIRequest.toString(); headers['OCS-APIRequest'] = oCSAPIRequest.toString();
final uri = Uri(path: path0, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path0, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<ShareapiGetSharesResponseApplicationJson, void>( return DynamiteRawResponse<ShareapiGetSharesResponseApplicationJson, void>(
response: _rootClient.doRequest( response: _rootClient.executeRequest(
'get', 'get',
uri, uri,
headers, headers,
@ -1383,7 +1383,7 @@ class ShareapiClient {
headers['OCS-APIRequest'] = oCSAPIRequest.toString(); headers['OCS-APIRequest'] = oCSAPIRequest.toString();
final uri = Uri(path: path0, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path0, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<ShareapiCreateShareResponseApplicationJson, void>( return DynamiteRawResponse<ShareapiCreateShareResponseApplicationJson, void>(
response: _rootClient.doRequest( response: _rootClient.executeRequest(
'post', 'post',
uri, uri,
headers, headers,
@ -1475,7 +1475,7 @@ class ShareapiClient {
headers['OCS-APIRequest'] = oCSAPIRequest.toString(); headers['OCS-APIRequest'] = oCSAPIRequest.toString();
final uri = Uri(path: path0, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path0, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<ShareapiGetInheritedSharesResponseApplicationJson, void>( return DynamiteRawResponse<ShareapiGetInheritedSharesResponseApplicationJson, void>(
response: _rootClient.doRequest( response: _rootClient.executeRequest(
'get', 'get',
uri, uri,
headers, headers,
@ -1557,7 +1557,7 @@ class ShareapiClient {
headers['OCS-APIRequest'] = oCSAPIRequest.toString(); headers['OCS-APIRequest'] = oCSAPIRequest.toString();
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<ShareapiPendingSharesResponseApplicationJson, void>( return DynamiteRawResponse<ShareapiPendingSharesResponseApplicationJson, void>(
response: _rootClient.doRequest( response: _rootClient.executeRequest(
'get', 'get',
uri, uri,
headers, headers,
@ -1655,7 +1655,7 @@ class ShareapiClient {
headers['OCS-APIRequest'] = oCSAPIRequest.toString(); headers['OCS-APIRequest'] = oCSAPIRequest.toString();
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<ShareapiGetShareResponseApplicationJson, void>( return DynamiteRawResponse<ShareapiGetShareResponseApplicationJson, void>(
response: _rootClient.doRequest( response: _rootClient.executeRequest(
'get', 'get',
uri, uri,
headers, headers,
@ -1821,7 +1821,7 @@ class ShareapiClient {
headers['OCS-APIRequest'] = oCSAPIRequest.toString(); headers['OCS-APIRequest'] = oCSAPIRequest.toString();
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<ShareapiUpdateShareResponseApplicationJson, void>( return DynamiteRawResponse<ShareapiUpdateShareResponseApplicationJson, void>(
response: _rootClient.doRequest( response: _rootClient.executeRequest(
'put', 'put',
uri, uri,
headers, headers,
@ -1913,7 +1913,7 @@ class ShareapiClient {
headers['OCS-APIRequest'] = oCSAPIRequest.toString(); headers['OCS-APIRequest'] = oCSAPIRequest.toString();
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<ShareapiDeleteShareResponseApplicationJson, void>( return DynamiteRawResponse<ShareapiDeleteShareResponseApplicationJson, void>(
response: _rootClient.doRequest( response: _rootClient.executeRequest(
'delete', 'delete',
uri, uri,
headers, headers,
@ -2005,7 +2005,7 @@ class ShareapiClient {
headers['OCS-APIRequest'] = oCSAPIRequest.toString(); headers['OCS-APIRequest'] = oCSAPIRequest.toString();
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<ShareapiAcceptShareResponseApplicationJson, void>( return DynamiteRawResponse<ShareapiAcceptShareResponseApplicationJson, void>(
response: _rootClient.doRequest( response: _rootClient.executeRequest(
'post', 'post',
uri, uri,
headers, headers,
@ -2146,7 +2146,7 @@ class ShareesapiClient {
headers['OCS-APIRequest'] = oCSAPIRequest.toString(); headers['OCS-APIRequest'] = oCSAPIRequest.toString();
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<ShareesapiSearchResponseApplicationJson, ShareesapiShareesapiSearchHeaders>( return DynamiteRawResponse<ShareesapiSearchResponseApplicationJson, ShareesapiShareesapiSearchHeaders>(
response: _rootClient.doRequest( response: _rootClient.executeRequest(
'get', 'get',
uri, uri,
headers, headers,
@ -2245,7 +2245,7 @@ class ShareesapiClient {
headers['OCS-APIRequest'] = oCSAPIRequest.toString(); headers['OCS-APIRequest'] = oCSAPIRequest.toString();
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<ShareesapiFindRecommendedResponseApplicationJson, void>( return DynamiteRawResponse<ShareesapiFindRecommendedResponseApplicationJson, void>(
response: _rootClient.doRequest( response: _rootClient.executeRequest(
'get', 'get',
uri, uri,
headers, headers,

2
packages/nextcloud/lib/src/api/files_trashbin.openapi.dart

@ -141,7 +141,7 @@ class PreviewClient {
} }
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<Uint8List, void>( return DynamiteRawResponse<Uint8List, void>(
response: _rootClient.doRequest( response: _rootClient.executeRequest(
'get', 'get',
uri, uri,
headers, headers,

2
packages/nextcloud/lib/src/api/files_versions.openapi.dart

@ -141,7 +141,7 @@ class PreviewClient {
} }
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<Uint8List, void>( return DynamiteRawResponse<Uint8List, void>(
response: _rootClient.doRequest( response: _rootClient.executeRequest(
'get', 'get',
uri, uri,
headers, headers,

36
packages/nextcloud/lib/src/api/news.openapi.dart

@ -88,7 +88,7 @@ class Client extends DynamiteClient {
// coverage:ignore-end // coverage:ignore-end
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<SupportedAPIVersions, void>( return DynamiteRawResponse<SupportedAPIVersions, void>(
response: doRequest( response: executeRequest(
'get', 'get',
uri, uri,
headers, headers,
@ -153,7 +153,7 @@ class Client extends DynamiteClient {
// coverage:ignore-end // coverage:ignore-end
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<ListFolders, void>( return DynamiteRawResponse<ListFolders, void>(
response: doRequest( response: executeRequest(
'get', 'get',
uri, uri,
headers, headers,
@ -227,7 +227,7 @@ class Client extends DynamiteClient {
queryParameters['name'] = name; queryParameters['name'] = name;
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<ListFolders, void>( return DynamiteRawResponse<ListFolders, void>(
response: doRequest( response: executeRequest(
'post', 'post',
uri, uri,
headers, headers,
@ -307,7 +307,7 @@ class Client extends DynamiteClient {
queryParameters['name'] = name; queryParameters['name'] = name;
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<void, void>( return DynamiteRawResponse<void, void>(
response: doRequest( response: executeRequest(
'put', 'put',
uri, uri,
headers, headers,
@ -373,7 +373,7 @@ class Client extends DynamiteClient {
path = path.replaceAll('{folderId}', Uri.encodeQueryComponent(folderId.toString())); path = path.replaceAll('{folderId}', Uri.encodeQueryComponent(folderId.toString()));
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<void, void>( return DynamiteRawResponse<void, void>(
response: doRequest( response: executeRequest(
'delete', 'delete',
uri, uri,
headers, headers,
@ -453,7 +453,7 @@ class Client extends DynamiteClient {
queryParameters['newestItemId'] = newestItemId.toString(); queryParameters['newestItemId'] = newestItemId.toString();
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<void, void>( return DynamiteRawResponse<void, void>(
response: doRequest( response: executeRequest(
'post', 'post',
uri, uri,
headers, headers,
@ -518,7 +518,7 @@ class Client extends DynamiteClient {
// coverage:ignore-end // coverage:ignore-end
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<ListFeeds, void>( return DynamiteRawResponse<ListFeeds, void>(
response: doRequest( response: executeRequest(
'get', 'get',
uri, uri,
headers, headers,
@ -604,7 +604,7 @@ class Client extends DynamiteClient {
} }
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<ListFeeds, void>( return DynamiteRawResponse<ListFeeds, void>(
response: doRequest( response: executeRequest(
'post', 'post',
uri, uri,
headers, headers,
@ -670,7 +670,7 @@ class Client extends DynamiteClient {
path = path.replaceAll('{feedId}', Uri.encodeQueryComponent(feedId.toString())); path = path.replaceAll('{feedId}', Uri.encodeQueryComponent(feedId.toString()));
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<void, void>( return DynamiteRawResponse<void, void>(
response: doRequest( response: executeRequest(
'delete', 'delete',
uri, uri,
headers, headers,
@ -752,7 +752,7 @@ class Client extends DynamiteClient {
} }
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<void, void>( return DynamiteRawResponse<void, void>(
response: doRequest( response: executeRequest(
'post', 'post',
uri, uri,
headers, headers,
@ -832,7 +832,7 @@ class Client extends DynamiteClient {
queryParameters['feedTitle'] = feedTitle; queryParameters['feedTitle'] = feedTitle;
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<void, void>( return DynamiteRawResponse<void, void>(
response: doRequest( response: executeRequest(
'post', 'post',
uri, uri,
headers, headers,
@ -912,7 +912,7 @@ class Client extends DynamiteClient {
queryParameters['newestItemId'] = newestItemId.toString(); queryParameters['newestItemId'] = newestItemId.toString();
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<void, void>( return DynamiteRawResponse<void, void>(
response: doRequest( response: executeRequest(
'post', 'post',
uri, uri,
headers, headers,
@ -1032,7 +1032,7 @@ class Client extends DynamiteClient {
} }
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<ListArticles, void>( return DynamiteRawResponse<ListArticles, void>(
response: doRequest( response: executeRequest(
'get', 'get',
uri, uri,
headers, headers,
@ -1128,7 +1128,7 @@ class Client extends DynamiteClient {
} }
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<ListArticles, void>( return DynamiteRawResponse<ListArticles, void>(
response: doRequest( response: executeRequest(
'get', 'get',
uri, uri,
headers, headers,
@ -1194,7 +1194,7 @@ class Client extends DynamiteClient {
path = path.replaceAll('{itemId}', Uri.encodeQueryComponent(itemId.toString())); path = path.replaceAll('{itemId}', Uri.encodeQueryComponent(itemId.toString()));
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<void, void>( return DynamiteRawResponse<void, void>(
response: doRequest( response: executeRequest(
'post', 'post',
uri, uri,
headers, headers,
@ -1260,7 +1260,7 @@ class Client extends DynamiteClient {
path = path.replaceAll('{itemId}', Uri.encodeQueryComponent(itemId.toString())); path = path.replaceAll('{itemId}', Uri.encodeQueryComponent(itemId.toString()));
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<void, void>( return DynamiteRawResponse<void, void>(
response: doRequest( response: executeRequest(
'post', 'post',
uri, uri,
headers, headers,
@ -1326,7 +1326,7 @@ class Client extends DynamiteClient {
path = path.replaceAll('{itemId}', Uri.encodeQueryComponent(itemId.toString())); path = path.replaceAll('{itemId}', Uri.encodeQueryComponent(itemId.toString()));
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<void, void>( return DynamiteRawResponse<void, void>(
response: doRequest( response: executeRequest(
'post', 'post',
uri, uri,
headers, headers,
@ -1392,7 +1392,7 @@ class Client extends DynamiteClient {
path = path.replaceAll('{itemId}', Uri.encodeQueryComponent(itemId.toString())); path = path.replaceAll('{itemId}', Uri.encodeQueryComponent(itemId.toString()));
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<void, void>( return DynamiteRawResponse<void, void>(
response: doRequest( response: executeRequest(
'post', 'post',
uri, uri,
headers, headers,

14
packages/nextcloud/lib/src/api/notes.openapi.dart

@ -144,7 +144,7 @@ class Client extends DynamiteClient {
} }
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<BuiltList<Note>, void>( return DynamiteRawResponse<BuiltList<Note>, void>(
response: doRequest( response: executeRequest(
'get', 'get',
uri, uri,
headers, headers,
@ -256,7 +256,7 @@ class Client extends DynamiteClient {
} }
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<Note, void>( return DynamiteRawResponse<Note, void>(
response: doRequest( response: executeRequest(
'post', 'post',
uri, uri,
headers, headers,
@ -348,7 +348,7 @@ class Client extends DynamiteClient {
} }
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<Note, void>( return DynamiteRawResponse<Note, void>(
response: doRequest( response: executeRequest(
'get', 'get',
uri, uri,
headers, headers,
@ -472,7 +472,7 @@ class Client extends DynamiteClient {
} }
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<Note, void>( return DynamiteRawResponse<Note, void>(
response: doRequest( response: executeRequest(
'put', 'put',
uri, uri,
headers, headers,
@ -540,7 +540,7 @@ class Client extends DynamiteClient {
path = path.replaceAll('{id}', Uri.encodeQueryComponent(id.toString())); path = path.replaceAll('{id}', Uri.encodeQueryComponent(id.toString()));
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<String, void>( return DynamiteRawResponse<String, void>(
response: doRequest( response: executeRequest(
'delete', 'delete',
uri, uri,
headers, headers,
@ -605,7 +605,7 @@ class Client extends DynamiteClient {
// coverage:ignore-end // coverage:ignore-end
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<Settings, void>( return DynamiteRawResponse<Settings, void>(
response: doRequest( response: executeRequest(
'get', 'get',
uri, uri,
headers, headers,
@ -675,7 +675,7 @@ class Client extends DynamiteClient {
as Uint8List; as Uint8List;
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<Settings, void>( return DynamiteRawResponse<Settings, void>(
response: doRequest( response: executeRequest(
'put', 'put',
uri, uri,
headers, headers,

20
packages/nextcloud/lib/src/api/notifications.openapi.dart

@ -155,7 +155,7 @@ class ApiClient {
headers['OCS-APIRequest'] = oCSAPIRequest.toString(); headers['OCS-APIRequest'] = oCSAPIRequest.toString();
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<ApiGenerateNotificationResponseApplicationJson, void>( return DynamiteRawResponse<ApiGenerateNotificationResponseApplicationJson, void>(
response: _rootClient.doRequest( response: _rootClient.executeRequest(
'post', 'post',
uri, uri,
headers, headers,
@ -254,7 +254,7 @@ class EndpointClient {
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<EndpointListNotificationsResponseApplicationJson, return DynamiteRawResponse<EndpointListNotificationsResponseApplicationJson,
EndpointEndpointListNotificationsHeaders>( EndpointEndpointListNotificationsHeaders>(
response: _rootClient.doRequest( response: _rootClient.executeRequest(
'get', 'get',
uri, uri,
headers, headers,
@ -344,7 +344,7 @@ class EndpointClient {
headers['OCS-APIRequest'] = oCSAPIRequest.toString(); headers['OCS-APIRequest'] = oCSAPIRequest.toString();
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<EndpointDeleteAllNotificationsResponseApplicationJson, void>( return DynamiteRawResponse<EndpointDeleteAllNotificationsResponseApplicationJson, void>(
response: _rootClient.doRequest( response: _rootClient.executeRequest(
'delete', 'delete',
uri, uri,
headers, headers,
@ -440,7 +440,7 @@ class EndpointClient {
headers['OCS-APIRequest'] = oCSAPIRequest.toString(); headers['OCS-APIRequest'] = oCSAPIRequest.toString();
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<EndpointGetNotificationResponseApplicationJson, void>( return DynamiteRawResponse<EndpointGetNotificationResponseApplicationJson, void>(
response: _rootClient.doRequest( response: _rootClient.executeRequest(
'get', 'get',
uri, uri,
headers, headers,
@ -538,7 +538,7 @@ class EndpointClient {
headers['OCS-APIRequest'] = oCSAPIRequest.toString(); headers['OCS-APIRequest'] = oCSAPIRequest.toString();
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<EndpointDeleteNotificationResponseApplicationJson, void>( return DynamiteRawResponse<EndpointDeleteNotificationResponseApplicationJson, void>(
response: _rootClient.doRequest( response: _rootClient.executeRequest(
'delete', 'delete',
uri, uri,
headers, headers,
@ -634,7 +634,7 @@ class EndpointClient {
headers['OCS-APIRequest'] = oCSAPIRequest.toString(); headers['OCS-APIRequest'] = oCSAPIRequest.toString();
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<EndpointConfirmIdsForUserResponseApplicationJson, void>( return DynamiteRawResponse<EndpointConfirmIdsForUserResponseApplicationJson, void>(
response: _rootClient.doRequest( response: _rootClient.executeRequest(
'post', 'post',
uri, uri,
headers, headers,
@ -752,7 +752,7 @@ class PushClient {
headers['OCS-APIRequest'] = oCSAPIRequest.toString(); headers['OCS-APIRequest'] = oCSAPIRequest.toString();
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<PushRegisterDeviceResponseApplicationJson, void>( return DynamiteRawResponse<PushRegisterDeviceResponseApplicationJson, void>(
response: _rootClient.doRequest( response: _rootClient.executeRequest(
'post', 'post',
uri, uri,
headers, headers,
@ -846,7 +846,7 @@ class PushClient {
headers['OCS-APIRequest'] = oCSAPIRequest.toString(); headers['OCS-APIRequest'] = oCSAPIRequest.toString();
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<PushRemoveDeviceResponseApplicationJson, void>( return DynamiteRawResponse<PushRemoveDeviceResponseApplicationJson, void>(
response: _rootClient.doRequest( response: _rootClient.executeRequest(
'delete', 'delete',
uri, uri,
headers, headers,
@ -958,7 +958,7 @@ class SettingsClient {
headers['OCS-APIRequest'] = oCSAPIRequest.toString(); headers['OCS-APIRequest'] = oCSAPIRequest.toString();
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<SettingsPersonalResponseApplicationJson, void>( return DynamiteRawResponse<SettingsPersonalResponseApplicationJson, void>(
response: _rootClient.doRequest( response: _rootClient.executeRequest(
'post', 'post',
uri, uri,
headers, headers,
@ -1068,7 +1068,7 @@ class SettingsClient {
headers['OCS-APIRequest'] = oCSAPIRequest.toString(); headers['OCS-APIRequest'] = oCSAPIRequest.toString();
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<SettingsAdminResponseApplicationJson, void>( return DynamiteRawResponse<SettingsAdminResponseApplicationJson, void>(
response: _rootClient.doRequest( response: _rootClient.executeRequest(
'post', 'post',
uri, uri,
headers, headers,

86
packages/nextcloud/lib/src/api/provisioning_api.openapi.dart

@ -124,7 +124,7 @@ class AppConfigClient {
headers['OCS-APIRequest'] = oCSAPIRequest.toString(); headers['OCS-APIRequest'] = oCSAPIRequest.toString();
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<AppConfigGetAppsResponseApplicationJson, void>( return DynamiteRawResponse<AppConfigGetAppsResponseApplicationJson, void>(
response: _rootClient.doRequest( response: _rootClient.executeRequest(
'get', 'get',
uri, uri,
headers, headers,
@ -218,7 +218,7 @@ class AppConfigClient {
headers['OCS-APIRequest'] = oCSAPIRequest.toString(); headers['OCS-APIRequest'] = oCSAPIRequest.toString();
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<AppConfigGetKeysResponseApplicationJson, void>( return DynamiteRawResponse<AppConfigGetKeysResponseApplicationJson, void>(
response: _rootClient.doRequest( response: _rootClient.executeRequest(
'get', 'get',
uri, uri,
headers, headers,
@ -326,7 +326,7 @@ class AppConfigClient {
headers['OCS-APIRequest'] = oCSAPIRequest.toString(); headers['OCS-APIRequest'] = oCSAPIRequest.toString();
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<AppConfigGetValueResponseApplicationJson, void>( return DynamiteRawResponse<AppConfigGetValueResponseApplicationJson, void>(
response: _rootClient.doRequest( response: _rootClient.executeRequest(
'get', 'get',
uri, uri,
headers, headers,
@ -428,7 +428,7 @@ class AppConfigClient {
headers['OCS-APIRequest'] = oCSAPIRequest.toString(); headers['OCS-APIRequest'] = oCSAPIRequest.toString();
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<AppConfigSetValueResponseApplicationJson, void>( return DynamiteRawResponse<AppConfigSetValueResponseApplicationJson, void>(
response: _rootClient.doRequest( response: _rootClient.executeRequest(
'post', 'post',
uri, uri,
headers, headers,
@ -528,7 +528,7 @@ class AppConfigClient {
headers['OCS-APIRequest'] = oCSAPIRequest.toString(); headers['OCS-APIRequest'] = oCSAPIRequest.toString();
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<AppConfigDeleteKeyResponseApplicationJson, void>( return DynamiteRawResponse<AppConfigDeleteKeyResponseApplicationJson, void>(
response: _rootClient.doRequest( response: _rootClient.executeRequest(
'delete', 'delete',
uri, uri,
headers, headers,
@ -628,7 +628,7 @@ class AppsClient {
headers['OCS-APIRequest'] = oCSAPIRequest.toString(); headers['OCS-APIRequest'] = oCSAPIRequest.toString();
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<AppsGetAppsResponseApplicationJson, void>( return DynamiteRawResponse<AppsGetAppsResponseApplicationJson, void>(
response: _rootClient.doRequest( response: _rootClient.executeRequest(
'get', 'get',
uri, uri,
headers, headers,
@ -720,7 +720,7 @@ class AppsClient {
headers['OCS-APIRequest'] = oCSAPIRequest.toString(); headers['OCS-APIRequest'] = oCSAPIRequest.toString();
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<AppsGetAppInfoResponseApplicationJson, void>( return DynamiteRawResponse<AppsGetAppInfoResponseApplicationJson, void>(
response: _rootClient.doRequest( response: _rootClient.executeRequest(
'get', 'get',
uri, uri,
headers, headers,
@ -812,7 +812,7 @@ class AppsClient {
headers['OCS-APIRequest'] = oCSAPIRequest.toString(); headers['OCS-APIRequest'] = oCSAPIRequest.toString();
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<AppsEnableResponseApplicationJson, void>( return DynamiteRawResponse<AppsEnableResponseApplicationJson, void>(
response: _rootClient.doRequest( response: _rootClient.executeRequest(
'post', 'post',
uri, uri,
headers, headers,
@ -904,7 +904,7 @@ class AppsClient {
headers['OCS-APIRequest'] = oCSAPIRequest.toString(); headers['OCS-APIRequest'] = oCSAPIRequest.toString();
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<AppsDisableResponseApplicationJson, void>( return DynamiteRawResponse<AppsDisableResponseApplicationJson, void>(
response: _rootClient.doRequest( response: _rootClient.executeRequest(
'delete', 'delete',
uri, uri,
headers, headers,
@ -1016,7 +1016,7 @@ class GroupsClient {
headers['OCS-APIRequest'] = oCSAPIRequest.toString(); headers['OCS-APIRequest'] = oCSAPIRequest.toString();
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<GroupsGetGroupsResponseApplicationJson, void>( return DynamiteRawResponse<GroupsGetGroupsResponseApplicationJson, void>(
response: _rootClient.doRequest( response: _rootClient.executeRequest(
'get', 'get',
uri, uri,
headers, headers,
@ -1116,7 +1116,7 @@ class GroupsClient {
headers['OCS-APIRequest'] = oCSAPIRequest.toString(); headers['OCS-APIRequest'] = oCSAPIRequest.toString();
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<GroupsAddGroupResponseApplicationJson, void>( return DynamiteRawResponse<GroupsAddGroupResponseApplicationJson, void>(
response: _rootClient.doRequest( response: _rootClient.executeRequest(
'post', 'post',
uri, uri,
headers, headers,
@ -1222,7 +1222,7 @@ class GroupsClient {
headers['OCS-APIRequest'] = oCSAPIRequest.toString(); headers['OCS-APIRequest'] = oCSAPIRequest.toString();
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<GroupsGetGroupsDetailsResponseApplicationJson, void>( return DynamiteRawResponse<GroupsGetGroupsDetailsResponseApplicationJson, void>(
response: _rootClient.doRequest( response: _rootClient.executeRequest(
'get', 'get',
uri, uri,
headers, headers,
@ -1315,7 +1315,7 @@ class GroupsClient {
headers['OCS-APIRequest'] = oCSAPIRequest.toString(); headers['OCS-APIRequest'] = oCSAPIRequest.toString();
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<GroupsGetGroupUsersResponseApplicationJson, void>( return DynamiteRawResponse<GroupsGetGroupUsersResponseApplicationJson, void>(
response: _rootClient.doRequest( response: _rootClient.executeRequest(
'get', 'get',
uri, uri,
headers, headers,
@ -1428,7 +1428,7 @@ class GroupsClient {
headers['OCS-APIRequest'] = oCSAPIRequest.toString(); headers['OCS-APIRequest'] = oCSAPIRequest.toString();
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<GroupsGetGroupUsersDetailsResponseApplicationJson, void>( return DynamiteRawResponse<GroupsGetGroupUsersDetailsResponseApplicationJson, void>(
response: _rootClient.doRequest( response: _rootClient.executeRequest(
'get', 'get',
uri, uri,
headers, headers,
@ -1521,7 +1521,7 @@ class GroupsClient {
headers['OCS-APIRequest'] = oCSAPIRequest.toString(); headers['OCS-APIRequest'] = oCSAPIRequest.toString();
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<GroupsGetSubAdminsOfGroupResponseApplicationJson, void>( return DynamiteRawResponse<GroupsGetSubAdminsOfGroupResponseApplicationJson, void>(
response: _rootClient.doRequest( response: _rootClient.executeRequest(
'get', 'get',
uri, uri,
headers, headers,
@ -1612,7 +1612,7 @@ class GroupsClient {
headers['OCS-APIRequest'] = oCSAPIRequest.toString(); headers['OCS-APIRequest'] = oCSAPIRequest.toString();
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<GroupsGetGroupResponseApplicationJson, void>( return DynamiteRawResponse<GroupsGetGroupResponseApplicationJson, void>(
response: _rootClient.doRequest( response: _rootClient.executeRequest(
'get', 'get',
uri, uri,
headers, headers,
@ -1717,7 +1717,7 @@ class GroupsClient {
headers['OCS-APIRequest'] = oCSAPIRequest.toString(); headers['OCS-APIRequest'] = oCSAPIRequest.toString();
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<GroupsUpdateGroupResponseApplicationJson, void>( return DynamiteRawResponse<GroupsUpdateGroupResponseApplicationJson, void>(
response: _rootClient.doRequest( response: _rootClient.executeRequest(
'put', 'put',
uri, uri,
headers, headers,
@ -1810,7 +1810,7 @@ class GroupsClient {
headers['OCS-APIRequest'] = oCSAPIRequest.toString(); headers['OCS-APIRequest'] = oCSAPIRequest.toString();
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<GroupsDeleteGroupResponseApplicationJson, void>( return DynamiteRawResponse<GroupsDeleteGroupResponseApplicationJson, void>(
response: _rootClient.doRequest( response: _rootClient.executeRequest(
'delete', 'delete',
uri, uri,
headers, headers,
@ -1918,7 +1918,7 @@ class PreferencesClient {
headers['OCS-APIRequest'] = oCSAPIRequest.toString(); headers['OCS-APIRequest'] = oCSAPIRequest.toString();
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<PreferencesSetPreferenceResponseApplicationJson, void>( return DynamiteRawResponse<PreferencesSetPreferenceResponseApplicationJson, void>(
response: _rootClient.doRequest( response: _rootClient.executeRequest(
'post', 'post',
uri, uri,
headers, headers,
@ -2014,7 +2014,7 @@ class PreferencesClient {
headers['OCS-APIRequest'] = oCSAPIRequest.toString(); headers['OCS-APIRequest'] = oCSAPIRequest.toString();
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<PreferencesDeletePreferenceResponseApplicationJson, void>( return DynamiteRawResponse<PreferencesDeletePreferenceResponseApplicationJson, void>(
response: _rootClient.doRequest( response: _rootClient.executeRequest(
'delete', 'delete',
uri, uri,
headers, headers,
@ -2115,7 +2115,7 @@ class PreferencesClient {
headers['OCS-APIRequest'] = oCSAPIRequest.toString(); headers['OCS-APIRequest'] = oCSAPIRequest.toString();
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<PreferencesSetMultiplePreferencesResponseApplicationJson, void>( return DynamiteRawResponse<PreferencesSetMultiplePreferencesResponseApplicationJson, void>(
response: _rootClient.doRequest( response: _rootClient.executeRequest(
'post', 'post',
uri, uri,
headers, headers,
@ -2211,7 +2211,7 @@ class PreferencesClient {
headers['OCS-APIRequest'] = oCSAPIRequest.toString(); headers['OCS-APIRequest'] = oCSAPIRequest.toString();
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<PreferencesDeleteMultiplePreferenceResponseApplicationJson, void>( return DynamiteRawResponse<PreferencesDeleteMultiplePreferenceResponseApplicationJson, void>(
response: _rootClient.doRequest( response: _rootClient.executeRequest(
'delete', 'delete',
uri, uri,
headers, headers,
@ -2323,7 +2323,7 @@ class UsersClient {
headers['OCS-APIRequest'] = oCSAPIRequest.toString(); headers['OCS-APIRequest'] = oCSAPIRequest.toString();
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<UsersGetUsersResponseApplicationJson, void>( return DynamiteRawResponse<UsersGetUsersResponseApplicationJson, void>(
response: _rootClient.doRequest( response: _rootClient.executeRequest(
'get', 'get',
uri, uri,
headers, headers,
@ -2477,7 +2477,7 @@ class UsersClient {
headers['OCS-APIRequest'] = oCSAPIRequest.toString(); headers['OCS-APIRequest'] = oCSAPIRequest.toString();
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<UsersAddUserResponseApplicationJson, void>( return DynamiteRawResponse<UsersAddUserResponseApplicationJson, void>(
response: _rootClient.doRequest( response: _rootClient.executeRequest(
'post', 'post',
uri, uri,
headers, headers,
@ -2583,7 +2583,7 @@ class UsersClient {
headers['OCS-APIRequest'] = oCSAPIRequest.toString(); headers['OCS-APIRequest'] = oCSAPIRequest.toString();
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<UsersGetUsersDetailsResponseApplicationJson, void>( return DynamiteRawResponse<UsersGetUsersDetailsResponseApplicationJson, void>(
response: _rootClient.doRequest( response: _rootClient.executeRequest(
'get', 'get',
uri, uri,
headers, headers,
@ -2687,7 +2687,7 @@ class UsersClient {
headers['OCS-APIRequest'] = oCSAPIRequest.toString(); headers['OCS-APIRequest'] = oCSAPIRequest.toString();
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<UsersSearchByPhoneNumbersResponseApplicationJson, void>( return DynamiteRawResponse<UsersSearchByPhoneNumbersResponseApplicationJson, void>(
response: _rootClient.doRequest( response: _rootClient.executeRequest(
'post', 'post',
uri, uri,
headers, headers,
@ -2775,7 +2775,7 @@ class UsersClient {
headers['OCS-APIRequest'] = oCSAPIRequest.toString(); headers['OCS-APIRequest'] = oCSAPIRequest.toString();
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<UsersGetUserResponseApplicationJson, void>( return DynamiteRawResponse<UsersGetUserResponseApplicationJson, void>(
response: _rootClient.doRequest( response: _rootClient.executeRequest(
'get', 'get',
uri, uri,
headers, headers,
@ -2875,7 +2875,7 @@ class UsersClient {
headers['OCS-APIRequest'] = oCSAPIRequest.toString(); headers['OCS-APIRequest'] = oCSAPIRequest.toString();
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<UsersEditUserResponseApplicationJson, void>( return DynamiteRawResponse<UsersEditUserResponseApplicationJson, void>(
response: _rootClient.doRequest( response: _rootClient.executeRequest(
'put', 'put',
uri, uri,
headers, headers,
@ -2963,7 +2963,7 @@ class UsersClient {
headers['OCS-APIRequest'] = oCSAPIRequest.toString(); headers['OCS-APIRequest'] = oCSAPIRequest.toString();
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<UsersDeleteUserResponseApplicationJson, void>( return DynamiteRawResponse<UsersDeleteUserResponseApplicationJson, void>(
response: _rootClient.doRequest( response: _rootClient.executeRequest(
'delete', 'delete',
uri, uri,
headers, headers,
@ -3045,7 +3045,7 @@ class UsersClient {
headers['OCS-APIRequest'] = oCSAPIRequest.toString(); headers['OCS-APIRequest'] = oCSAPIRequest.toString();
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<UsersGetCurrentUserResponseApplicationJson, void>( return DynamiteRawResponse<UsersGetCurrentUserResponseApplicationJson, void>(
response: _rootClient.doRequest( response: _rootClient.executeRequest(
'get', 'get',
uri, uri,
headers, headers,
@ -3127,7 +3127,7 @@ class UsersClient {
headers['OCS-APIRequest'] = oCSAPIRequest.toString(); headers['OCS-APIRequest'] = oCSAPIRequest.toString();
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<UsersGetEditableFieldsResponseApplicationJson, void>( return DynamiteRawResponse<UsersGetEditableFieldsResponseApplicationJson, void>(
response: _rootClient.doRequest( response: _rootClient.executeRequest(
'get', 'get',
uri, uri,
headers, headers,
@ -3215,7 +3215,7 @@ class UsersClient {
headers['OCS-APIRequest'] = oCSAPIRequest.toString(); headers['OCS-APIRequest'] = oCSAPIRequest.toString();
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<UsersGetEditableFieldsForUserResponseApplicationJson, void>( return DynamiteRawResponse<UsersGetEditableFieldsForUserResponseApplicationJson, void>(
response: _rootClient.doRequest( response: _rootClient.executeRequest(
'get', 'get',
uri, uri,
headers, headers,
@ -3326,7 +3326,7 @@ class UsersClient {
headers['OCS-APIRequest'] = oCSAPIRequest.toString(); headers['OCS-APIRequest'] = oCSAPIRequest.toString();
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<UsersEditUserMultiValueResponseApplicationJson, void>( return DynamiteRawResponse<UsersEditUserMultiValueResponseApplicationJson, void>(
response: _rootClient.doRequest( response: _rootClient.executeRequest(
'put', 'put',
uri, uri,
headers, headers,
@ -3414,7 +3414,7 @@ class UsersClient {
headers['OCS-APIRequest'] = oCSAPIRequest.toString(); headers['OCS-APIRequest'] = oCSAPIRequest.toString();
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<UsersWipeUserDevicesResponseApplicationJson, void>( return DynamiteRawResponse<UsersWipeUserDevicesResponseApplicationJson, void>(
response: _rootClient.doRequest( response: _rootClient.executeRequest(
'post', 'post',
uri, uri,
headers, headers,
@ -3502,7 +3502,7 @@ class UsersClient {
headers['OCS-APIRequest'] = oCSAPIRequest.toString(); headers['OCS-APIRequest'] = oCSAPIRequest.toString();
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<UsersEnableUserResponseApplicationJson, void>( return DynamiteRawResponse<UsersEnableUserResponseApplicationJson, void>(
response: _rootClient.doRequest( response: _rootClient.executeRequest(
'put', 'put',
uri, uri,
headers, headers,
@ -3590,7 +3590,7 @@ class UsersClient {
headers['OCS-APIRequest'] = oCSAPIRequest.toString(); headers['OCS-APIRequest'] = oCSAPIRequest.toString();
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<UsersDisableUserResponseApplicationJson, void>( return DynamiteRawResponse<UsersDisableUserResponseApplicationJson, void>(
response: _rootClient.doRequest( response: _rootClient.executeRequest(
'put', 'put',
uri, uri,
headers, headers,
@ -3678,7 +3678,7 @@ class UsersClient {
headers['OCS-APIRequest'] = oCSAPIRequest.toString(); headers['OCS-APIRequest'] = oCSAPIRequest.toString();
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<UsersGetUsersGroupsResponseApplicationJson, void>( return DynamiteRawResponse<UsersGetUsersGroupsResponseApplicationJson, void>(
response: _rootClient.doRequest( response: _rootClient.executeRequest(
'get', 'get',
uri, uri,
headers, headers,
@ -3774,7 +3774,7 @@ class UsersClient {
headers['OCS-APIRequest'] = oCSAPIRequest.toString(); headers['OCS-APIRequest'] = oCSAPIRequest.toString();
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<UsersAddToGroupResponseApplicationJson, void>( return DynamiteRawResponse<UsersAddToGroupResponseApplicationJson, void>(
response: _rootClient.doRequest( response: _rootClient.executeRequest(
'post', 'post',
uri, uri,
headers, headers,
@ -3868,7 +3868,7 @@ class UsersClient {
headers['OCS-APIRequest'] = oCSAPIRequest.toString(); headers['OCS-APIRequest'] = oCSAPIRequest.toString();
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<UsersRemoveFromGroupResponseApplicationJson, void>( return DynamiteRawResponse<UsersRemoveFromGroupResponseApplicationJson, void>(
response: _rootClient.doRequest( response: _rootClient.executeRequest(
'delete', 'delete',
uri, uri,
headers, headers,
@ -3960,7 +3960,7 @@ class UsersClient {
headers['OCS-APIRequest'] = oCSAPIRequest.toString(); headers['OCS-APIRequest'] = oCSAPIRequest.toString();
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<UsersGetUserSubAdminGroupsResponseApplicationJson, void>( return DynamiteRawResponse<UsersGetUserSubAdminGroupsResponseApplicationJson, void>(
response: _rootClient.doRequest( response: _rootClient.executeRequest(
'get', 'get',
uri, uri,
headers, headers,
@ -4058,7 +4058,7 @@ class UsersClient {
headers['OCS-APIRequest'] = oCSAPIRequest.toString(); headers['OCS-APIRequest'] = oCSAPIRequest.toString();
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<UsersAddSubAdminResponseApplicationJson, void>( return DynamiteRawResponse<UsersAddSubAdminResponseApplicationJson, void>(
response: _rootClient.doRequest( response: _rootClient.executeRequest(
'post', 'post',
uri, uri,
headers, headers,
@ -4156,7 +4156,7 @@ class UsersClient {
headers['OCS-APIRequest'] = oCSAPIRequest.toString(); headers['OCS-APIRequest'] = oCSAPIRequest.toString();
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<UsersRemoveSubAdminResponseApplicationJson, void>( return DynamiteRawResponse<UsersRemoveSubAdminResponseApplicationJson, void>(
response: _rootClient.doRequest( response: _rootClient.executeRequest(
'delete', 'delete',
uri, uri,
headers, headers,
@ -4244,7 +4244,7 @@ class UsersClient {
headers['OCS-APIRequest'] = oCSAPIRequest.toString(); headers['OCS-APIRequest'] = oCSAPIRequest.toString();
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<UsersResendWelcomeMessageResponseApplicationJson, void>( return DynamiteRawResponse<UsersResendWelcomeMessageResponseApplicationJson, void>(
response: _rootClient.doRequest( response: _rootClient.executeRequest(
'post', 'post',
uri, uri,
headers, headers,

2
packages/nextcloud/lib/src/api/settings.openapi.dart

@ -102,7 +102,7 @@ class LogSettingsClient {
// coverage:ignore-end // coverage:ignore-end
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<Uint8List, LogSettingsLogSettingsDownloadHeaders>( return DynamiteRawResponse<Uint8List, LogSettingsLogSettingsDownloadHeaders>(
response: _rootClient.doRequest( response: _rootClient.executeRequest(
'get', 'get',
uri, uri,
headers, headers,

22
packages/nextcloud/lib/src/api/theming.openapi.dart

@ -116,7 +116,7 @@ class IconClient {
path = path.replaceAll('{app}', Uri.encodeQueryComponent(app)); path = path.replaceAll('{app}', Uri.encodeQueryComponent(app));
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<Uint8List, void>( return DynamiteRawResponse<Uint8List, void>(
response: _rootClient.doRequest( response: _rootClient.executeRequest(
'get', 'get',
uri, uri,
headers, headers,
@ -196,7 +196,7 @@ class IconClient {
path = path.replaceAll('{app}', Uri.encodeQueryComponent(app)); path = path.replaceAll('{app}', Uri.encodeQueryComponent(app));
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<Uint8List, void>( return DynamiteRawResponse<Uint8List, void>(
response: _rootClient.doRequest( response: _rootClient.executeRequest(
'get', 'get',
uri, uri,
headers, headers,
@ -287,7 +287,7 @@ class IconClient {
path = path.replaceAll('{image}', Uri.encodeQueryComponent(image)); path = path.replaceAll('{image}', Uri.encodeQueryComponent(image));
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<Uint8List, void>( return DynamiteRawResponse<Uint8List, void>(
response: _rootClient.doRequest( response: _rootClient.executeRequest(
'get', 'get',
uri, uri,
headers, headers,
@ -393,7 +393,7 @@ class ThemingClient {
} }
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<String, void>( return DynamiteRawResponse<String, void>(
response: _rootClient.doRequest( response: _rootClient.executeRequest(
'get', 'get',
uri, uri,
headers, headers,
@ -485,7 +485,7 @@ class ThemingClient {
} }
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<Uint8List, void>( return DynamiteRawResponse<Uint8List, void>(
response: _rootClient.doRequest( response: _rootClient.executeRequest(
'get', 'get',
uri, uri,
headers, headers,
@ -563,7 +563,7 @@ class ThemingClient {
path = path.replaceAll('{app}', Uri.encodeQueryComponent(app)); path = path.replaceAll('{app}', Uri.encodeQueryComponent(app));
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<ThemingGetManifestResponseApplicationJson, void>( return DynamiteRawResponse<ThemingGetManifestResponseApplicationJson, void>(
response: _rootClient.doRequest( response: _rootClient.executeRequest(
'get', 'get',
uri, uri,
headers, headers,
@ -649,7 +649,7 @@ class UserThemeClient {
headers['OCS-APIRequest'] = oCSAPIRequest.toString(); headers['OCS-APIRequest'] = oCSAPIRequest.toString();
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<Uint8List, void>( return DynamiteRawResponse<Uint8List, void>(
response: _rootClient.doRequest( response: _rootClient.executeRequest(
'get', 'get',
uri, uri,
headers, headers,
@ -757,7 +757,7 @@ class UserThemeClient {
headers['OCS-APIRequest'] = oCSAPIRequest.toString(); headers['OCS-APIRequest'] = oCSAPIRequest.toString();
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<Background, void>( return DynamiteRawResponse<Background, void>(
response: _rootClient.doRequest( response: _rootClient.executeRequest(
'post', 'post',
uri, uri,
headers, headers,
@ -835,7 +835,7 @@ class UserThemeClient {
headers['OCS-APIRequest'] = oCSAPIRequest.toString(); headers['OCS-APIRequest'] = oCSAPIRequest.toString();
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<Background, void>( return DynamiteRawResponse<Background, void>(
response: _rootClient.doRequest( response: _rootClient.executeRequest(
'delete', 'delete',
uri, uri,
headers, headers,
@ -927,7 +927,7 @@ class UserThemeClient {
headers['OCS-APIRequest'] = oCSAPIRequest.toString(); headers['OCS-APIRequest'] = oCSAPIRequest.toString();
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<UserThemeEnableThemeResponseApplicationJson, void>( return DynamiteRawResponse<UserThemeEnableThemeResponseApplicationJson, void>(
response: _rootClient.doRequest( response: _rootClient.executeRequest(
'put', 'put',
uri, uri,
headers, headers,
@ -1019,7 +1019,7 @@ class UserThemeClient {
headers['OCS-APIRequest'] = oCSAPIRequest.toString(); headers['OCS-APIRequest'] = oCSAPIRequest.toString();
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<UserThemeDisableThemeResponseApplicationJson, void>( return DynamiteRawResponse<UserThemeDisableThemeResponseApplicationJson, void>(
response: _rootClient.doRequest( response: _rootClient.executeRequest(
'delete', 'delete',
uri, uri,
headers, headers,

2
packages/nextcloud/lib/src/api/updatenotification.openapi.dart

@ -130,7 +130,7 @@ class ApiClient {
headers['OCS-APIRequest'] = oCSAPIRequest.toString(); headers['OCS-APIRequest'] = oCSAPIRequest.toString();
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<ApiGetAppListResponseApplicationJson, void>( return DynamiteRawResponse<ApiGetAppListResponseApplicationJson, void>(
response: _rootClient.doRequest( response: _rootClient.executeRequest(
'get', 'get',
uri, uri,
headers, headers,

22
packages/nextcloud/lib/src/api/uppush.openapi.dart

@ -91,7 +91,7 @@ class Client extends DynamiteClient {
// coverage:ignore-end // coverage:ignore-end
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<CheckResponseApplicationJson, void>( return DynamiteRawResponse<CheckResponseApplicationJson, void>(
response: doRequest( response: executeRequest(
'get', 'get',
uri, uri,
headers, headers,
@ -175,7 +175,7 @@ class Client extends DynamiteClient {
queryParameters['keepalive'] = keepalive.toString(); queryParameters['keepalive'] = keepalive.toString();
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<SetKeepaliveResponseApplicationJson, void>( return DynamiteRawResponse<SetKeepaliveResponseApplicationJson, void>(
response: doRequest( response: executeRequest(
'put', 'put',
uri, uri,
headers, headers,
@ -255,7 +255,7 @@ class Client extends DynamiteClient {
queryParameters['deviceName'] = deviceName; queryParameters['deviceName'] = deviceName;
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<CreateDeviceResponseApplicationJson, void>( return DynamiteRawResponse<CreateDeviceResponseApplicationJson, void>(
response: doRequest( response: executeRequest(
'put', 'put',
uri, uri,
headers, headers,
@ -331,7 +331,7 @@ class Client extends DynamiteClient {
path = path.replaceAll('{deviceId}', Uri.encodeQueryComponent(deviceId)); path = path.replaceAll('{deviceId}', Uri.encodeQueryComponent(deviceId));
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<SyncDeviceResponseApplicationJson, void>( return DynamiteRawResponse<SyncDeviceResponseApplicationJson, void>(
response: doRequest( response: executeRequest(
'get', 'get',
uri, uri,
headers, headers,
@ -405,7 +405,7 @@ class Client extends DynamiteClient {
path = path.replaceAll('{deviceId}', Uri.encodeQueryComponent(deviceId)); path = path.replaceAll('{deviceId}', Uri.encodeQueryComponent(deviceId));
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<DeleteDeviceResponseApplicationJson, void>( return DynamiteRawResponse<DeleteDeviceResponseApplicationJson, void>(
response: doRequest( response: executeRequest(
'delete', 'delete',
uri, uri,
headers, headers,
@ -493,7 +493,7 @@ class Client extends DynamiteClient {
queryParameters['appName'] = appName; queryParameters['appName'] = appName;
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<CreateAppResponseApplicationJson, void>( return DynamiteRawResponse<CreateAppResponseApplicationJson, void>(
response: doRequest( response: executeRequest(
'put', 'put',
uri, uri,
headers, headers,
@ -565,7 +565,7 @@ class Client extends DynamiteClient {
path = path.replaceAll('{token}', Uri.encodeQueryComponent(token)); path = path.replaceAll('{token}', Uri.encodeQueryComponent(token));
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<DeleteAppResponseApplicationJson, void>( return DynamiteRawResponse<DeleteAppResponseApplicationJson, void>(
response: doRequest( response: executeRequest(
'delete', 'delete',
uri, uri,
headers, headers,
@ -641,7 +641,7 @@ class Client extends DynamiteClient {
path = path.replaceAll('{token}', Uri.encodeQueryComponent(token)); path = path.replaceAll('{token}', Uri.encodeQueryComponent(token));
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<UnifiedpushDiscoveryResponseApplicationJson, void>( return DynamiteRawResponse<UnifiedpushDiscoveryResponseApplicationJson, void>(
response: doRequest( response: executeRequest(
'get', 'get',
uri, uri,
headers, headers,
@ -713,7 +713,7 @@ class Client extends DynamiteClient {
path = path.replaceAll('{token}', Uri.encodeQueryComponent(token)); path = path.replaceAll('{token}', Uri.encodeQueryComponent(token));
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<PushResponseApplicationJson, void>( return DynamiteRawResponse<PushResponseApplicationJson, void>(
response: doRequest( response: executeRequest(
'post', 'post',
uri, uri,
headers, headers,
@ -782,7 +782,7 @@ class Client extends DynamiteClient {
// coverage:ignore-end // coverage:ignore-end
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<GatewayMatrixDiscoveryResponseApplicationJson, void>( return DynamiteRawResponse<GatewayMatrixDiscoveryResponseApplicationJson, void>(
response: doRequest( response: executeRequest(
'get', 'get',
uri, uri,
headers, headers,
@ -851,7 +851,7 @@ class Client extends DynamiteClient {
// coverage:ignore-end // coverage:ignore-end
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<GatewayMatrixResponseApplicationJson, void>( return DynamiteRawResponse<GatewayMatrixResponseApplicationJson, void>(
response: doRequest( response: executeRequest(
'post', 'post',
uri, uri,
headers, headers,

20
packages/nextcloud/lib/src/api/user_status.openapi.dart

@ -131,7 +131,7 @@ class HeartbeatClient {
headers['OCS-APIRequest'] = oCSAPIRequest.toString(); headers['OCS-APIRequest'] = oCSAPIRequest.toString();
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<HeartbeatHeartbeatResponseApplicationJson, void>( return DynamiteRawResponse<HeartbeatHeartbeatResponseApplicationJson, void>(
response: _rootClient.doRequest( response: _rootClient.executeRequest(
'put', 'put',
uri, uri,
headers, headers,
@ -219,7 +219,7 @@ class PredefinedStatusClient {
headers['OCS-APIRequest'] = oCSAPIRequest.toString(); headers['OCS-APIRequest'] = oCSAPIRequest.toString();
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<PredefinedStatusFindAllResponseApplicationJson, void>( return DynamiteRawResponse<PredefinedStatusFindAllResponseApplicationJson, void>(
response: _rootClient.doRequest( response: _rootClient.executeRequest(
'get', 'get',
uri, uri,
headers, headers,
@ -323,7 +323,7 @@ class StatusesClient {
headers['OCS-APIRequest'] = oCSAPIRequest.toString(); headers['OCS-APIRequest'] = oCSAPIRequest.toString();
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<StatusesFindAllResponseApplicationJson, void>( return DynamiteRawResponse<StatusesFindAllResponseApplicationJson, void>(
response: _rootClient.doRequest( response: _rootClient.executeRequest(
'get', 'get',
uri, uri,
headers, headers,
@ -413,7 +413,7 @@ class StatusesClient {
headers['OCS-APIRequest'] = oCSAPIRequest.toString(); headers['OCS-APIRequest'] = oCSAPIRequest.toString();
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<StatusesFindResponseApplicationJson, void>( return DynamiteRawResponse<StatusesFindResponseApplicationJson, void>(
response: _rootClient.doRequest( response: _rootClient.executeRequest(
'get', 'get',
uri, uri,
headers, headers,
@ -503,7 +503,7 @@ class UserStatusClient {
headers['OCS-APIRequest'] = oCSAPIRequest.toString(); headers['OCS-APIRequest'] = oCSAPIRequest.toString();
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<UserStatusGetStatusResponseApplicationJson, void>( return DynamiteRawResponse<UserStatusGetStatusResponseApplicationJson, void>(
response: _rootClient.doRequest( response: _rootClient.executeRequest(
'get', 'get',
uri, uri,
headers, headers,
@ -593,7 +593,7 @@ class UserStatusClient {
headers['OCS-APIRequest'] = oCSAPIRequest.toString(); headers['OCS-APIRequest'] = oCSAPIRequest.toString();
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<UserStatusSetStatusResponseApplicationJson, void>( return DynamiteRawResponse<UserStatusSetStatusResponseApplicationJson, void>(
response: _rootClient.doRequest( response: _rootClient.executeRequest(
'put', 'put',
uri, uri,
headers, headers,
@ -691,7 +691,7 @@ class UserStatusClient {
headers['OCS-APIRequest'] = oCSAPIRequest.toString(); headers['OCS-APIRequest'] = oCSAPIRequest.toString();
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<UserStatusSetPredefinedMessageResponseApplicationJson, void>( return DynamiteRawResponse<UserStatusSetPredefinedMessageResponseApplicationJson, void>(
response: _rootClient.doRequest( response: _rootClient.executeRequest(
'put', 'put',
uri, uri,
headers, headers,
@ -799,7 +799,7 @@ class UserStatusClient {
headers['OCS-APIRequest'] = oCSAPIRequest.toString(); headers['OCS-APIRequest'] = oCSAPIRequest.toString();
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<UserStatusSetCustomMessageResponseApplicationJson, void>( return DynamiteRawResponse<UserStatusSetCustomMessageResponseApplicationJson, void>(
response: _rootClient.doRequest( response: _rootClient.executeRequest(
'put', 'put',
uri, uri,
headers, headers,
@ -881,7 +881,7 @@ class UserStatusClient {
headers['OCS-APIRequest'] = oCSAPIRequest.toString(); headers['OCS-APIRequest'] = oCSAPIRequest.toString();
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<UserStatusClearMessageResponseApplicationJson, void>( return DynamiteRawResponse<UserStatusClearMessageResponseApplicationJson, void>(
response: _rootClient.doRequest( response: _rootClient.executeRequest(
'delete', 'delete',
uri, uri,
headers, headers,
@ -969,7 +969,7 @@ class UserStatusClient {
headers['OCS-APIRequest'] = oCSAPIRequest.toString(); headers['OCS-APIRequest'] = oCSAPIRequest.toString();
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<UserStatusRevertStatusResponseApplicationJson, void>( return DynamiteRawResponse<UserStatusRevertStatusResponseApplicationJson, void>(
response: _rootClient.doRequest( response: _rootClient.executeRequest(
'delete', 'delete',
uri, uri,
headers, headers,

14
packages/nextcloud/lib/src/api/weather_status.openapi.dart

@ -118,7 +118,7 @@ class WeatherStatusClient {
headers['OCS-APIRequest'] = oCSAPIRequest.toString(); headers['OCS-APIRequest'] = oCSAPIRequest.toString();
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<WeatherStatusSetModeResponseApplicationJson, void>( return DynamiteRawResponse<WeatherStatusSetModeResponseApplicationJson, void>(
response: _rootClient.doRequest( response: _rootClient.executeRequest(
'put', 'put',
uri, uri,
headers, headers,
@ -200,7 +200,7 @@ class WeatherStatusClient {
headers['OCS-APIRequest'] = oCSAPIRequest.toString(); headers['OCS-APIRequest'] = oCSAPIRequest.toString();
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<WeatherStatusUsePersonalAddressResponseApplicationJson, void>( return DynamiteRawResponse<WeatherStatusUsePersonalAddressResponseApplicationJson, void>(
response: _rootClient.doRequest( response: _rootClient.executeRequest(
'put', 'put',
uri, uri,
headers, headers,
@ -282,7 +282,7 @@ class WeatherStatusClient {
headers['OCS-APIRequest'] = oCSAPIRequest.toString(); headers['OCS-APIRequest'] = oCSAPIRequest.toString();
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<WeatherStatusGetLocationResponseApplicationJson, void>( return DynamiteRawResponse<WeatherStatusGetLocationResponseApplicationJson, void>(
response: _rootClient.doRequest( response: _rootClient.executeRequest(
'get', 'get',
uri, uri,
headers, headers,
@ -388,7 +388,7 @@ class WeatherStatusClient {
headers['OCS-APIRequest'] = oCSAPIRequest.toString(); headers['OCS-APIRequest'] = oCSAPIRequest.toString();
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<WeatherStatusSetLocationResponseApplicationJson, void>( return DynamiteRawResponse<WeatherStatusSetLocationResponseApplicationJson, void>(
response: _rootClient.doRequest( response: _rootClient.executeRequest(
'put', 'put',
uri, uri,
headers, headers,
@ -472,7 +472,7 @@ class WeatherStatusClient {
headers['OCS-APIRequest'] = oCSAPIRequest.toString(); headers['OCS-APIRequest'] = oCSAPIRequest.toString();
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<WeatherStatusGetForecastResponseApplicationJson, void>( return DynamiteRawResponse<WeatherStatusGetForecastResponseApplicationJson, void>(
response: _rootClient.doRequest( response: _rootClient.executeRequest(
'get', 'get',
uri, uri,
headers, headers,
@ -554,7 +554,7 @@ class WeatherStatusClient {
headers['OCS-APIRequest'] = oCSAPIRequest.toString(); headers['OCS-APIRequest'] = oCSAPIRequest.toString();
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<WeatherStatusGetFavoritesResponseApplicationJson, void>( return DynamiteRawResponse<WeatherStatusGetFavoritesResponseApplicationJson, void>(
response: _rootClient.doRequest( response: _rootClient.executeRequest(
'get', 'get',
uri, uri,
headers, headers,
@ -642,7 +642,7 @@ class WeatherStatusClient {
headers['OCS-APIRequest'] = oCSAPIRequest.toString(); headers['OCS-APIRequest'] = oCSAPIRequest.toString();
final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null); final uri = Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null);
return DynamiteRawResponse<WeatherStatusSetFavoritesResponseApplicationJson, void>( return DynamiteRawResponse<WeatherStatusSetFavoritesResponseApplicationJson, void>(
response: _rootClient.doRequest( response: _rootClient.executeRequest(
'put', 'put',
uri, uri,
headers, headers,

2
tool/find-untested-neon-apis.sh

@ -4,7 +4,7 @@ cd "$(dirname "$0")/.."
function find_apis() { function find_apis() {
path="$1" path="$1"
grep -r "$path" --include "*\.dart" -e "client\.[^.]*.[^(]*(" -oh | sed "s/^client\.//" | sed "s/($//" | sed "s/Raw$//" | sort | uniq grep -r "$path" --include "*\.dart" -e "client\.[^.]*.[^(]*(" -oh | sed "s/^client\.//" | sed "s/($//" | sed "s/Raw$//" | grep -v "^executeRawRequest" | sort | uniq
} }
used_apis=("$(find_apis "packages/neon")") used_apis=("$(find_apis "packages/neon")")

Loading…
Cancel
Save