Skip to content

High performance self-hosted photo and video management solution.

chore(server): update openapi (#2205)

Michel Heusschen983abf5e14c7
diff --git a/mobile/openapi/.openapi-generator/VERSION b/mobile/openapi/.openapi-generator/VERSION
index 6d54bbd775..4be2c727ad 100644
--- a/mobile/openapi/.openapi-generator/VERSION
+++ b/mobile/openapi/.openapi-generator/VERSION
@@ -1 +1 @@
-6.0.1
\ No newline at end of file
+6.5.0
\ No newline at end of file
diff --git a/mobile/openapi/README.md b/mobile/openapi/README.md
index bccf3ff8ed..1dbcfdfb0a 100644
--- a/mobile/openapi/README.md
+++ b/mobile/openapi/README.md
@@ -39,16 +39,16 @@ Please follow the [installation procedure](#installation--usage) and then run th
```dart
import 'package:openapi/api.dart';
+// TODO Configure API key authorization: cookie
+//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKey = 'YOUR_API_KEY';
+// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
+//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKeyPrefix = 'Bearer';
// TODO Configure HTTP Bearer authorization: bearer
// Case 1. Use String Token
//defaultApiClient.getAuthentication<HttpBearerAuth>('bearer').setAccessToken('YOUR_ACCESS_TOKEN');
// Case 2. Use Function which generate token.
// String yourTokenGeneratorFunction() { ... }
//defaultApiClient.getAuthentication<HttpBearerAuth>('bearer').setAccessToken(yourTokenGeneratorFunction);
-// TODO Configure API key authorization: cookie
-//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKey = 'YOUR_API_KEY';
-// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
-//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKeyPrefix = 'Bearer';
final api_instance = APIKeyApi();
final aPIKeyCreateDto = APIKeyCreateDto(); // APIKeyCreateDto |
diff --git a/mobile/openapi/doc/APIKeyApi.md b/mobile/openapi/doc/APIKeyApi.md
index 4bb570bfe1..b3815f7da3 100644
--- a/mobile/openapi/doc/APIKeyApi.md
+++ b/mobile/openapi/doc/APIKeyApi.md
@@ -21,21 +21,19 @@ Method | HTTP request | Description
-
-
### Example
```dart
import 'package:openapi/api.dart';
+// TODO Configure API key authorization: cookie
+//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKey = 'YOUR_API_KEY';
+// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
+//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKeyPrefix = 'Bearer';
// TODO Configure HTTP Bearer authorization: bearer
// Case 1. Use String Token
//defaultApiClient.getAuthentication<HttpBearerAuth>('bearer').setAccessToken('YOUR_ACCESS_TOKEN');
// Case 2. Use Function which generate token.
// String yourTokenGeneratorFunction() { ... }
//defaultApiClient.getAuthentication<HttpBearerAuth>('bearer').setAccessToken(yourTokenGeneratorFunction);
-// TODO Configure API key authorization: cookie
-//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKey = 'YOUR_API_KEY';
-// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
-//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKeyPrefix = 'Bearer';
final api_instance = APIKeyApi();
final aPIKeyCreateDto = APIKeyCreateDto(); // APIKeyCreateDto |
@@ -60,7 +58,7 @@ Name | Type | Description | Notes
### Authorization
-[bearer](../README.md#bearer), [cookie](../README.md#cookie)
+[cookie](../README.md#cookie), [bearer](../README.md#bearer)
### HTTP request headers
@@ -74,21 +72,19 @@ Name | Type | Description | Notes
-
-
### Example
```dart
import 'package:openapi/api.dart';
+// TODO Configure API key authorization: cookie
+//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKey = 'YOUR_API_KEY';
+// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
+//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKeyPrefix = 'Bearer';
// TODO Configure HTTP Bearer authorization: bearer
// Case 1. Use String Token
//defaultApiClient.getAuthentication<HttpBearerAuth>('bearer').setAccessToken('YOUR_ACCESS_TOKEN');
// Case 2. Use Function which generate token.
// String yourTokenGeneratorFunction() { ... }
//defaultApiClient.getAuthentication<HttpBearerAuth>('bearer').setAccessToken(yourTokenGeneratorFunction);
-// TODO Configure API key authorization: cookie
-//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKey = 'YOUR_API_KEY';
-// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
-//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKeyPrefix = 'Bearer';
final api_instance = APIKeyApi();
final id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // String |
@@ -112,7 +108,7 @@ void (empty response body)
### Authorization
-[bearer](../README.md#bearer), [cookie](../README.md#cookie)
+[cookie](../README.md#cookie), [bearer](../README.md#bearer)
### HTTP request headers
@@ -126,21 +122,19 @@ void (empty response body)
-
-
### Example
```dart
import 'package:openapi/api.dart';
+// TODO Configure API key authorization: cookie
+//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKey = 'YOUR_API_KEY';
+// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
+//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKeyPrefix = 'Bearer';
// TODO Configure HTTP Bearer authorization: bearer
// Case 1. Use String Token
//defaultApiClient.getAuthentication<HttpBearerAuth>('bearer').setAccessToken('YOUR_ACCESS_TOKEN');
// Case 2. Use Function which generate token.
// String yourTokenGeneratorFunction() { ... }
//defaultApiClient.getAuthentication<HttpBearerAuth>('bearer').setAccessToken(yourTokenGeneratorFunction);
-// TODO Configure API key authorization: cookie
-//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKey = 'YOUR_API_KEY';
-// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
-//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKeyPrefix = 'Bearer';
final api_instance = APIKeyApi();
final id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // String |
@@ -165,7 +159,7 @@ Name | Type | Description | Notes
### Authorization
-[bearer](../README.md#bearer), [cookie](../README.md#cookie)
+[cookie](../README.md#cookie), [bearer](../README.md#bearer)
### HTTP request headers
@@ -179,21 +173,19 @@ Name | Type | Description | Notes
-
-
### Example
```dart
import 'package:openapi/api.dart';
+// TODO Configure API key authorization: cookie
+//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKey = 'YOUR_API_KEY';
+// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
+//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKeyPrefix = 'Bearer';
// TODO Configure HTTP Bearer authorization: bearer
// Case 1. Use String Token
//defaultApiClient.getAuthentication<HttpBearerAuth>('bearer').setAccessToken('YOUR_ACCESS_TOKEN');
// Case 2. Use Function which generate token.
// String yourTokenGeneratorFunction() { ... }
//defaultApiClient.getAuthentication<HttpBearerAuth>('bearer').setAccessToken(yourTokenGeneratorFunction);
-// TODO Configure API key authorization: cookie
-//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKey = 'YOUR_API_KEY';
-// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
-//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKeyPrefix = 'Bearer';
final api_instance = APIKeyApi();
@@ -214,7 +206,7 @@ This endpoint does not need any parameter.
### Authorization
-[bearer](../README.md#bearer), [cookie](../README.md#cookie)
+[cookie](../README.md#cookie), [bearer](../README.md#bearer)
### HTTP request headers
@@ -228,21 +220,19 @@ This endpoint does not need any parameter.
-
-
### Example
```dart
import 'package:openapi/api.dart';
+// TODO Configure API key authorization: cookie
+//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKey = 'YOUR_API_KEY';
+// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
+//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKeyPrefix = 'Bearer';
// TODO Configure HTTP Bearer authorization: bearer
// Case 1. Use String Token
//defaultApiClient.getAuthentication<HttpBearerAuth>('bearer').setAccessToken('YOUR_ACCESS_TOKEN');
// Case 2. Use Function which generate token.
// String yourTokenGeneratorFunction() { ... }
//defaultApiClient.getAuthentication<HttpBearerAuth>('bearer').setAccessToken(yourTokenGeneratorFunction);
-// TODO Configure API key authorization: cookie
-//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKey = 'YOUR_API_KEY';
-// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
-//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKeyPrefix = 'Bearer';
final api_instance = APIKeyApi();
final id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // String |
@@ -269,7 +259,7 @@ Name | Type | Description | Notes
### Authorization
-[bearer](../README.md#bearer), [cookie](../README.md#cookie)
+[cookie](../README.md#cookie), [bearer](../README.md#bearer)
### HTTP request headers
diff --git a/mobile/openapi/doc/AlbumApi.md b/mobile/openapi/doc/AlbumApi.md
index d71f4e297a..8f9ae1699a 100644
--- a/mobile/openapi/doc/AlbumApi.md
+++ b/mobile/openapi/doc/AlbumApi.md
@@ -28,21 +28,19 @@ Method | HTTP request | Description
-
-
### Example
```dart
import 'package:openapi/api.dart';
+// TODO Configure API key authorization: cookie
+//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKey = 'YOUR_API_KEY';
+// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
+//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKeyPrefix = 'Bearer';
// TODO Configure HTTP Bearer authorization: bearer
// Case 1. Use String Token
//defaultApiClient.getAuthentication<HttpBearerAuth>('bearer').setAccessToken('YOUR_ACCESS_TOKEN');
// Case 2. Use Function which generate token.
// String yourTokenGeneratorFunction() { ... }
//defaultApiClient.getAuthentication<HttpBearerAuth>('bearer').setAccessToken(yourTokenGeneratorFunction);
-// TODO Configure API key authorization: cookie
-//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKey = 'YOUR_API_KEY';
-// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
-//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKeyPrefix = 'Bearer';
final api_instance = AlbumApi();
final albumId = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // String |
@@ -71,7 +69,7 @@ Name | Type | Description | Notes
### Authorization
-[bearer](../README.md#bearer), [cookie](../README.md#cookie)
+[cookie](../README.md#cookie), [bearer](../README.md#bearer)
### HTTP request headers
@@ -85,21 +83,19 @@ Name | Type | Description | Notes
-
-
### Example
```dart
import 'package:openapi/api.dart';
+// TODO Configure API key authorization: cookie
+//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKey = 'YOUR_API_KEY';
+// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
+//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKeyPrefix = 'Bearer';
// TODO Configure HTTP Bearer authorization: bearer
// Case 1. Use String Token
//defaultApiClient.getAuthentication<HttpBearerAuth>('bearer').setAccessToken('YOUR_ACCESS_TOKEN');
// Case 2. Use Function which generate token.
// String yourTokenGeneratorFunction() { ... }
//defaultApiClient.getAuthentication<HttpBearerAuth>('bearer').setAccessToken(yourTokenGeneratorFunction);
-// TODO Configure API key authorization: cookie
-//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKey = 'YOUR_API_KEY';
-// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
-//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKeyPrefix = 'Bearer';
final api_instance = AlbumApi();
final albumId = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // String |
@@ -126,7 +122,7 @@ Name | Type | Description | Notes
### Authorization
-[bearer](../README.md#bearer), [cookie](../README.md#cookie)
+[cookie](../README.md#cookie), [bearer](../README.md#bearer)
### HTTP request headers
@@ -140,21 +136,19 @@ Name | Type | Description | Notes
-
-
### Example
```dart
import 'package:openapi/api.dart';
+// TODO Configure API key authorization: cookie
+//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKey = 'YOUR_API_KEY';
+// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
+//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKeyPrefix = 'Bearer';
// TODO Configure HTTP Bearer authorization: bearer
// Case 1. Use String Token
//defaultApiClient.getAuthentication<HttpBearerAuth>('bearer').setAccessToken('YOUR_ACCESS_TOKEN');
// Case 2. Use Function which generate token.
// String yourTokenGeneratorFunction() { ... }
//defaultApiClient.getAuthentication<HttpBearerAuth>('bearer').setAccessToken(yourTokenGeneratorFunction);
-// TODO Configure API key authorization: cookie
-//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKey = 'YOUR_API_KEY';
-// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
-//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKeyPrefix = 'Bearer';
final api_instance = AlbumApi();
final createAlbumDto = CreateAlbumDto(); // CreateAlbumDto |
@@ -179,7 +173,7 @@ Name | Type | Description | Notes
### Authorization
-[bearer](../README.md#bearer), [cookie](../README.md#cookie)
+[cookie](../README.md#cookie), [bearer](../README.md#bearer)
### HTTP request headers
@@ -193,21 +187,19 @@ Name | Type | Description | Notes
-
-
### Example
```dart
import 'package:openapi/api.dart';
+// TODO Configure API key authorization: cookie
+//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKey = 'YOUR_API_KEY';
+// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
+//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKeyPrefix = 'Bearer';
// TODO Configure HTTP Bearer authorization: bearer
// Case 1. Use String Token
//defaultApiClient.getAuthentication<HttpBearerAuth>('bearer').setAccessToken('YOUR_ACCESS_TOKEN');
// Case 2. Use Function which generate token.
// String yourTokenGeneratorFunction() { ... }
//defaultApiClient.getAuthentication<HttpBearerAuth>('bearer').setAccessToken(yourTokenGeneratorFunction);
-// TODO Configure API key authorization: cookie
-//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKey = 'YOUR_API_KEY';
-// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
-//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKeyPrefix = 'Bearer';
final api_instance = AlbumApi();
final createAlbumShareLinkDto = CreateAlbumShareLinkDto(); // CreateAlbumShareLinkDto |
@@ -232,7 +224,7 @@ Name | Type | Description | Notes
### Authorization
-[bearer](../README.md#bearer), [cookie](../README.md#cookie)
+[cookie](../README.md#cookie), [bearer](../README.md#bearer)
### HTTP request headers
@@ -246,21 +238,19 @@ Name | Type | Description | Notes
-
-
### Example
```dart
import 'package:openapi/api.dart';
+// TODO Configure API key authorization: cookie
+//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKey = 'YOUR_API_KEY';
+// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
+//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKeyPrefix = 'Bearer';
// TODO Configure HTTP Bearer authorization: bearer
// Case 1. Use String Token
//defaultApiClient.getAuthentication<HttpBearerAuth>('bearer').setAccessToken('YOUR_ACCESS_TOKEN');
// Case 2. Use Function which generate token.
// String yourTokenGeneratorFunction() { ... }
//defaultApiClient.getAuthentication<HttpBearerAuth>('bearer').setAccessToken(yourTokenGeneratorFunction);
-// TODO Configure API key authorization: cookie
-//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKey = 'YOUR_API_KEY';
-// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
-//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKeyPrefix = 'Bearer';
final api_instance = AlbumApi();
final albumId = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // String |
@@ -284,7 +274,7 @@ void (empty response body)
### Authorization
-[bearer](../README.md#bearer), [cookie](../README.md#cookie)
+[cookie](../README.md#cookie), [bearer](../README.md#bearer)
### HTTP request headers
@@ -298,21 +288,19 @@ void (empty response body)
-
-
### Example
```dart
import 'package:openapi/api.dart';
+// TODO Configure API key authorization: cookie
+//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKey = 'YOUR_API_KEY';
+// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
+//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKeyPrefix = 'Bearer';
// TODO Configure HTTP Bearer authorization: bearer
// Case 1. Use String Token
//defaultApiClient.getAuthentication<HttpBearerAuth>('bearer').setAccessToken('YOUR_ACCESS_TOKEN');
// Case 2. Use Function which generate token.
// String yourTokenGeneratorFunction() { ... }
//defaultApiClient.getAuthentication<HttpBearerAuth>('bearer').setAccessToken(yourTokenGeneratorFunction);
-// TODO Configure API key authorization: cookie
-//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKey = 'YOUR_API_KEY';
-// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
-//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKeyPrefix = 'Bearer';
final api_instance = AlbumApi();
final albumId = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // String |
@@ -343,7 +331,7 @@ Name | Type | Description | Notes
### Authorization
-[bearer](../README.md#bearer), [cookie](../README.md#cookie)
+[cookie](../README.md#cookie), [bearer](../README.md#bearer)
### HTTP request headers
@@ -357,21 +345,19 @@ Name | Type | Description | Notes
-
-
### Example
```dart
import 'package:openapi/api.dart';
+// TODO Configure API key authorization: cookie
+//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKey = 'YOUR_API_KEY';
+// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
+//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKeyPrefix = 'Bearer';
// TODO Configure HTTP Bearer authorization: bearer
// Case 1. Use String Token
//defaultApiClient.getAuthentication<HttpBearerAuth>('bearer').setAccessToken('YOUR_ACCESS_TOKEN');
// Case 2. Use Function which generate token.
// String yourTokenGeneratorFunction() { ... }
//defaultApiClient.getAuthentication<HttpBearerAuth>('bearer').setAccessToken(yourTokenGeneratorFunction);
-// TODO Configure API key authorization: cookie
-//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKey = 'YOUR_API_KEY';
-// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
-//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKeyPrefix = 'Bearer';
final api_instance = AlbumApi();
@@ -392,7 +378,7 @@ This endpoint does not need any parameter.
### Authorization
-[bearer](../README.md#bearer), [cookie](../README.md#cookie)
+[cookie](../README.md#cookie), [bearer](../README.md#bearer)
### HTTP request headers
@@ -406,21 +392,19 @@ This endpoint does not need any parameter.
-
-
### Example
```dart
import 'package:openapi/api.dart';
+// TODO Configure API key authorization: cookie
+//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKey = 'YOUR_API_KEY';
+// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
+//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKeyPrefix = 'Bearer';
// TODO Configure HTTP Bearer authorization: bearer
// Case 1. Use String Token
//defaultApiClient.getAuthentication<HttpBearerAuth>('bearer').setAccessToken('YOUR_ACCESS_TOKEN');
// Case 2. Use Function which generate token.
// String yourTokenGeneratorFunction() { ... }
//defaultApiClient.getAuthentication<HttpBearerAuth>('bearer').setAccessToken(yourTokenGeneratorFunction);
-// TODO Configure API key authorization: cookie
-//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKey = 'YOUR_API_KEY';
-// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
-//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKeyPrefix = 'Bearer';
final api_instance = AlbumApi();
final albumId = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // String |
@@ -447,7 +431,7 @@ Name | Type | Description | Notes
### Authorization
-[bearer](../README.md#bearer), [cookie](../README.md#cookie)
+[cookie](../README.md#cookie), [bearer](../README.md#bearer)
### HTTP request headers
@@ -461,21 +445,19 @@ Name | Type | Description | Notes
-
-
### Example
```dart
import 'package:openapi/api.dart';
+// TODO Configure API key authorization: cookie
+//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKey = 'YOUR_API_KEY';
+// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
+//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKeyPrefix = 'Bearer';
// TODO Configure HTTP Bearer authorization: bearer
// Case 1. Use String Token
//defaultApiClient.getAuthentication<HttpBearerAuth>('bearer').setAccessToken('YOUR_ACCESS_TOKEN');
// Case 2. Use Function which generate token.
// String yourTokenGeneratorFunction() { ... }
//defaultApiClient.getAuthentication<HttpBearerAuth>('bearer').setAccessToken(yourTokenGeneratorFunction);
-// TODO Configure API key authorization: cookie
-//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKey = 'YOUR_API_KEY';
-// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
-//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKeyPrefix = 'Bearer';
final api_instance = AlbumApi();
final shared = true; // bool |
@@ -502,7 +484,7 @@ Name | Type | Description | Notes
### Authorization
-[bearer](../README.md#bearer), [cookie](../README.md#cookie)
+[cookie](../README.md#cookie), [bearer](../README.md#bearer)
### HTTP request headers
@@ -516,21 +498,19 @@ Name | Type | Description | Notes
-
-
### Example
```dart
import 'package:openapi/api.dart';
+// TODO Configure API key authorization: cookie
+//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKey = 'YOUR_API_KEY';
+// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
+//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKeyPrefix = 'Bearer';
// TODO Configure HTTP Bearer authorization: bearer
// Case 1. Use String Token
//defaultApiClient.getAuthentication<HttpBearerAuth>('bearer').setAccessToken('YOUR_ACCESS_TOKEN');
// Case 2. Use Function which generate token.
// String yourTokenGeneratorFunction() { ... }
//defaultApiClient.getAuthentication<HttpBearerAuth>('bearer').setAccessToken(yourTokenGeneratorFunction);
-// TODO Configure API key authorization: cookie
-//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKey = 'YOUR_API_KEY';
-// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
-//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKeyPrefix = 'Bearer';
final api_instance = AlbumApi();
final albumId = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // String |
@@ -557,7 +537,7 @@ Name | Type | Description | Notes
### Authorization
-[bearer](../README.md#bearer), [cookie](../README.md#cookie)
+[cookie](../README.md#cookie), [bearer](../README.md#bearer)
### HTTP request headers
@@ -571,21 +551,19 @@ Name | Type | Description | Notes
-
-
### Example
```dart
import 'package:openapi/api.dart';
+// TODO Configure API key authorization: cookie
+//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKey = 'YOUR_API_KEY';
+// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
+//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKeyPrefix = 'Bearer';
// TODO Configure HTTP Bearer authorization: bearer
// Case 1. Use String Token
//defaultApiClient.getAuthentication<HttpBearerAuth>('bearer').setAccessToken('YOUR_ACCESS_TOKEN');
// Case 2. Use Function which generate token.
// String yourTokenGeneratorFunction() { ... }
//defaultApiClient.getAuthentication<HttpBearerAuth>('bearer').setAccessToken(yourTokenGeneratorFunction);
-// TODO Configure API key authorization: cookie
-//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKey = 'YOUR_API_KEY';
-// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
-//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKeyPrefix = 'Bearer';
final api_instance = AlbumApi();
final albumId = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // String |
@@ -611,7 +589,7 @@ void (empty response body)
### Authorization
-[bearer](../README.md#bearer), [cookie](../README.md#cookie)
+[cookie](../README.md#cookie), [bearer](../README.md#bearer)
### HTTP request headers
@@ -625,21 +603,19 @@ void (empty response body)
-
-
### Example
```dart
import 'package:openapi/api.dart';
+// TODO Configure API key authorization: cookie
+//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKey = 'YOUR_API_KEY';
+// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
+//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKeyPrefix = 'Bearer';
// TODO Configure HTTP Bearer authorization: bearer
// Case 1. Use String Token
//defaultApiClient.getAuthentication<HttpBearerAuth>('bearer').setAccessToken('YOUR_ACCESS_TOKEN');
// Case 2. Use Function which generate token.
// String yourTokenGeneratorFunction() { ... }
//defaultApiClient.getAuthentication<HttpBearerAuth>('bearer').setAccessToken(yourTokenGeneratorFunction);
-// TODO Configure API key authorization: cookie
-//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKey = 'YOUR_API_KEY';
-// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
-//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKeyPrefix = 'Bearer';
final api_instance = AlbumApi();
final albumId = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // String |
@@ -666,7 +642,7 @@ Name | Type | Description | Notes
### Authorization
-[bearer](../README.md#bearer), [cookie](../README.md#cookie)
+[cookie](../README.md#cookie), [bearer](../README.md#bearer)
### HTTP request headers
diff --git a/mobile/openapi/doc/AssetApi.md b/mobile/openapi/doc/AssetApi.md
index 086ead94cc..3a910edb2e 100644
--- a/mobile/openapi/doc/AssetApi.md
+++ b/mobile/openapi/doc/AssetApi.md
@@ -39,21 +39,19 @@ Method | HTTP request | Description
-
-
### Example
```dart
import 'package:openapi/api.dart';
+// TODO Configure API key authorization: cookie
+//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKey = 'YOUR_API_KEY';
+// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
+//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKeyPrefix = 'Bearer';
// TODO Configure HTTP Bearer authorization: bearer
// Case 1. Use String Token
//defaultApiClient.getAuthentication<HttpBearerAuth>('bearer').setAccessToken('YOUR_ACCESS_TOKEN');
// Case 2. Use Function which generate token.
// String yourTokenGeneratorFunction() { ... }
//defaultApiClient.getAuthentication<HttpBearerAuth>('bearer').setAccessToken(yourTokenGeneratorFunction);
-// TODO Configure API key authorization: cookie
-//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKey = 'YOUR_API_KEY';
-// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
-//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKeyPrefix = 'Bearer';
final api_instance = AssetApi();
final addAssetsDto = AddAssetsDto(); // AddAssetsDto |
@@ -80,7 +78,7 @@ Name | Type | Description | Notes
### Authorization
-[bearer](../README.md#bearer), [cookie](../README.md#cookie)
+[cookie](../README.md#cookie), [bearer](../README.md#bearer)
### HTTP request headers
@@ -99,16 +97,16 @@ Check duplicated asset before uploading - for Web upload used
### Example
```dart
import 'package:openapi/api.dart';
+// TODO Configure API key authorization: cookie
+//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKey = 'YOUR_API_KEY';
+// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
+//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKeyPrefix = 'Bearer';
// TODO Configure HTTP Bearer authorization: bearer
// Case 1. Use String Token
//defaultApiClient.getAuthentication<HttpBearerAuth>('bearer').setAccessToken('YOUR_ACCESS_TOKEN');
// Case 2. Use Function which generate token.
// String yourTokenGeneratorFunction() { ... }
//defaultApiClient.getAuthentication<HttpBearerAuth>('bearer').setAccessToken(yourTokenGeneratorFunction);
-// TODO Configure API key authorization: cookie
-//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKey = 'YOUR_API_KEY';
-// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
-//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKeyPrefix = 'Bearer';
final api_instance = AssetApi();
final checkDuplicateAssetDto = CheckDuplicateAssetDto(); // CheckDuplicateAssetDto |
@@ -135,7 +133,7 @@ Name | Type | Description | Notes
### Authorization
-[bearer](../README.md#bearer), [cookie](../README.md#cookie)
+[cookie](../README.md#cookie), [bearer](../README.md#bearer)
### HTTP request headers
@@ -154,16 +152,16 @@ Checks if multiple assets exist on the server and returns all existing - used by
### Example
```dart
import 'package:openapi/api.dart';
+// TODO Configure API key authorization: cookie
+//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKey = 'YOUR_API_KEY';
+// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
+//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKeyPrefix = 'Bearer';
// TODO Configure HTTP Bearer authorization: bearer
// Case 1. Use String Token
//defaultApiClient.getAuthentication<HttpBearerAuth>('bearer').setAccessToken('YOUR_ACCESS_TOKEN');
// Case 2. Use Function which generate token.
// String yourTokenGeneratorFunction() { ... }
//defaultApiClient.getAuthentication<HttpBearerAuth>('bearer').setAccessToken(yourTokenGeneratorFunction);
-// TODO Configure API key authorization: cookie
-//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKey = 'YOUR_API_KEY';
-// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
-//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKeyPrefix = 'Bearer';
final api_instance = AssetApi();
final checkExistingAssetsDto = CheckExistingAssetsDto(); // CheckExistingAssetsDto |
@@ -188,7 +186,7 @@ Name | Type | Description | Notes
### Authorization
-[bearer](../README.md#bearer), [cookie](../README.md#cookie)
+[cookie](../README.md#cookie), [bearer](../README.md#bearer)
### HTTP request headers
@@ -202,21 +200,19 @@ Name | Type | Description | Notes
-
-
### Example
```dart
import 'package:openapi/api.dart';
+// TODO Configure API key authorization: cookie
+//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKey = 'YOUR_API_KEY';
+// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
+//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKeyPrefix = 'Bearer';
// TODO Configure HTTP Bearer authorization: bearer
// Case 1. Use String Token
//defaultApiClient.getAuthentication<HttpBearerAuth>('bearer').setAccessToken('YOUR_ACCESS_TOKEN');
// Case 2. Use Function which generate token.
// String yourTokenGeneratorFunction() { ... }
//defaultApiClient.getAuthentication<HttpBearerAuth>('bearer').setAccessToken(yourTokenGeneratorFunction);
-// TODO Configure API key authorization: cookie
-//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKey = 'YOUR_API_KEY';
-// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
-//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKeyPrefix = 'Bearer';
final api_instance = AssetApi();
final createAssetsShareLinkDto = CreateAssetsShareLinkDto(); // CreateAssetsShareLinkDto |
@@ -241,7 +237,7 @@ Name | Type | Description | Notes
### Authorization
-[bearer](../README.md#bearer), [cookie](../README.md#cookie)
+[cookie](../README.md#cookie), [bearer](../README.md#bearer)
### HTTP request headers
@@ -255,21 +251,19 @@ Name | Type | Description | Notes
-
-
### Example
```dart
import 'package:openapi/api.dart';
+// TODO Configure API key authorization: cookie
+//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKey = 'YOUR_API_KEY';
+// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
+//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKeyPrefix = 'Bearer';
// TODO Configure HTTP Bearer authorization: bearer
// Case 1. Use String Token
//defaultApiClient.getAuthentication<HttpBearerAuth>('bearer').setAccessToken('YOUR_ACCESS_TOKEN');
// Case 2. Use Function which generate token.
// String yourTokenGeneratorFunction() { ... }
//defaultApiClient.getAuthentication<HttpBearerAuth>('bearer').setAccessToken(yourTokenGeneratorFunction);
-// TODO Configure API key authorization: cookie
-//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKey = 'YOUR_API_KEY';
-// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
-//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKeyPrefix = 'Bearer';
final api_instance = AssetApi();
final deleteAssetDto = DeleteAssetDto(); // DeleteAssetDto |
@@ -294,7 +288,7 @@ Name | Type | Description | Notes
### Authorization
-[bearer](../README.md#bearer), [cookie](../README.md#cookie)
+[cookie](../README.md#cookie), [bearer](../README.md#bearer)
### HTTP request headers
@@ -308,21 +302,19 @@ Name | Type | Description | Notes
-
-
### Example
```dart
import 'package:openapi/api.dart';
+// TODO Configure API key authorization: cookie
+//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKey = 'YOUR_API_KEY';
+// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
+//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKeyPrefix = 'Bearer';
// TODO Configure HTTP Bearer authorization: bearer
// Case 1. Use String Token
//defaultApiClient.getAuthentication<HttpBearerAuth>('bearer').setAccessToken('YOUR_ACCESS_TOKEN');
// Case 2. Use Function which generate token.
// String yourTokenGeneratorFunction() { ... }
//defaultApiClient.getAuthentication<HttpBearerAuth>('bearer').setAccessToken(yourTokenGeneratorFunction);
-// TODO Configure API key authorization: cookie
-//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKey = 'YOUR_API_KEY';
-// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
-//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKeyPrefix = 'Bearer';
final api_instance = AssetApi();
final assetId = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // String |
@@ -349,7 +341,7 @@ Name | Type | Description | Notes
### Authorization
-[bearer](../README.md#bearer), [cookie](../README.md#cookie)
+[cookie](../README.md#cookie), [bearer](../README.md#bearer)
### HTTP request headers
@@ -363,21 +355,19 @@ Name | Type | Description | Notes
-
-
### Example
```dart
import 'package:openapi/api.dart';
+// TODO Configure API key authorization: cookie
+//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKey = 'YOUR_API_KEY';
+// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
+//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKeyPrefix = 'Bearer';
// TODO Configure HTTP Bearer authorization: bearer
// Case 1. Use String Token
//defaultApiClient.getAuthentication<HttpBearerAuth>('bearer').setAccessToken('YOUR_ACCESS_TOKEN');
// Case 2. Use Function which generate token.
// String yourTokenGeneratorFunction() { ... }
//defaultApiClient.getAuthentication<HttpBearerAuth>('bearer').setAccessToken(yourTokenGeneratorFunction);
-// TODO Configure API key authorization: cookie
-//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKey = 'YOUR_API_KEY';
-// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
-//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKeyPrefix = 'Bearer';
final api_instance = AssetApi();
final downloadFilesDto = DownloadFilesDto(); // DownloadFilesDto |
@@ -404,7 +394,7 @@ Name | Type | Description | Notes
### Authorization
-[bearer](../README.md#bearer), [cookie](../README.md#cookie)
+[cookie](../README.md#cookie), [bearer](../README.md#bearer)
### HTTP request headers
@@ -423,16 +413,16 @@ Current this is not used in any UI element
### Example
```dart
import 'package:openapi/api.dart';
+// TODO Configure API key authorization: cookie
+//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKey = 'YOUR_API_KEY';
+// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
+//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKeyPrefix = 'Bearer';
// TODO Configure HTTP Bearer authorization: bearer
// Case 1. Use String Token
//defaultApiClient.getAuthentication<HttpBearerAuth>('bearer').setAccessToken('YOUR_ACCESS_TOKEN');
// Case 2. Use Function which generate token.
// String yourTokenGeneratorFunction() { ... }
//defaultApiClient.getAuthentication<HttpBearerAuth>('bearer').setAccessToken(yourTokenGeneratorFunction);
-// TODO Configure API key authorization: cookie
-//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKey = 'YOUR_API_KEY';
-// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
-//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKeyPrefix = 'Bearer';
final api_instance = AssetApi();
final name = name_example; // String |
@@ -461,7 +451,7 @@ Name | Type | Description | Notes
### Authorization
-[bearer](../README.md#bearer), [cookie](../README.md#cookie)
+[cookie](../README.md#cookie), [bearer](../README.md#bearer)
### HTTP request headers
@@ -480,16 +470,16 @@ Get all AssetEntity belong to the user
### Example
```dart
import 'package:openapi/api.dart';
+// TODO Configure API key authorization: cookie
+//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKey = 'YOUR_API_KEY';
+// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
+//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKeyPrefix = 'Bearer';
// TODO Configure HTTP Bearer authorization: bearer
// Case 1. Use String Token
//defaultApiClient.getAuthentication<HttpBearerAuth>('bearer').setAccessToken('YOUR_ACCESS_TOKEN');
// Case 2. Use Function which generate token.
// String yourTokenGeneratorFunction() { ... }
//defaultApiClient.getAuthentication<HttpBearerAuth>('bearer').setAccessToken(yourTokenGeneratorFunction);
-// TODO Configure API key authorization: cookie
-//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKey = 'YOUR_API_KEY';
-// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
-//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKeyPrefix = 'Bearer';
final api_instance = AssetApi();
final isFavorite = true; // bool |
@@ -518,7 +508,7 @@ Name | Type | Description | Notes
### Authorization
-[bearer](../README.md#bearer), [cookie](../README.md#cookie)
+[cookie](../README.md#cookie), [bearer](../README.md#bearer)
### HTTP request headers
@@ -537,16 +527,16 @@ Get a single asset's information
### Example
```dart
import 'package:openapi/api.dart';
+// TODO Configure API key authorization: cookie
+//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKey = 'YOUR_API_KEY';
+// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
+//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKeyPrefix = 'Bearer';
// TODO Configure HTTP Bearer authorization: bearer
// Case 1. Use String Token
//defaultApiClient.getAuthentication<HttpBearerAuth>('bearer').setAccessToken('YOUR_ACCESS_TOKEN');
// Case 2. Use Function which generate token.
// String yourTokenGeneratorFunction() { ... }
//defaultApiClient.getAuthentication<HttpBearerAuth>('bearer').setAccessToken(yourTokenGeneratorFunction);
-// TODO Configure API key authorization: cookie
-//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKey = 'YOUR_API_KEY';
-// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
-//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKeyPrefix = 'Bearer';
final api_instance = AssetApi();
final assetId = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // String |
@@ -573,7 +563,7 @@ Name | Type | Description | Notes
### Authorization
-[bearer](../README.md#bearer), [cookie](../README.md#cookie)
+[cookie](../README.md#cookie), [bearer](../README.md#bearer)
### HTTP request headers
@@ -587,21 +577,19 @@ Name | Type | Description | Notes
-
-
### Example
```dart
import 'package:openapi/api.dart';
+// TODO Configure API key authorization: cookie
+//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKey = 'YOUR_API_KEY';
+// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
+//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKeyPrefix = 'Bearer';
// TODO Configure HTTP Bearer authorization: bearer
// Case 1. Use String Token
//defaultApiClient.getAuthentication<HttpBearerAuth>('bearer').setAccessToken('YOUR_ACCESS_TOKEN');
// Case 2. Use Function which generate token.
// String yourTokenGeneratorFunction() { ... }
//defaultApiClient.getAuthentication<HttpBearerAuth>('bearer').setAccessToken(yourTokenGeneratorFunction);
-// TODO Configure API key authorization: cookie
-//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKey = 'YOUR_API_KEY';
-// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
-//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKeyPrefix = 'Bearer';
final api_instance = AssetApi();
final getAssetByTimeBucketDto = GetAssetByTimeBucketDto(); // GetAssetByTimeBucketDto |
@@ -626,7 +614,7 @@ Name | Type | Description | Notes
### Authorization
-[bearer](../README.md#bearer), [cookie](../README.md#cookie)
+[cookie](../README.md#cookie), [bearer](../README.md#bearer)
### HTTP request headers
@@ -640,21 +628,19 @@ Name | Type | Description | Notes
-
-
### Example
```dart
import 'package:openapi/api.dart';
+// TODO Configure API key authorization: cookie
+//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKey = 'YOUR_API_KEY';
+// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
+//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKeyPrefix = 'Bearer';
// TODO Configure HTTP Bearer authorization: bearer
// Case 1. Use String Token
//defaultApiClient.getAuthentication<HttpBearerAuth>('bearer').setAccessToken('YOUR_ACCESS_TOKEN');
// Case 2. Use Function which generate token.
// String yourTokenGeneratorFunction() { ... }
//defaultApiClient.getAuthentication<HttpBearerAuth>('bearer').setAccessToken(yourTokenGeneratorFunction);
-// TODO Configure API key authorization: cookie
-//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKey = 'YOUR_API_KEY';
-// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
-//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKeyPrefix = 'Bearer';
final api_instance = AssetApi();
final getAssetCountByTimeBucketDto = GetAssetCountByTimeBucketDto(); // GetAssetCountByTimeBucketDto |
@@ -679,7 +665,7 @@ Name | Type | Description | Notes
### Authorization
-[bearer](../README.md#bearer), [cookie](../README.md#cookie)
+[cookie](../README.md#cookie), [bearer](../README.md#bearer)
### HTTP request headers
@@ -693,21 +679,19 @@ Name | Type | Description | Notes
-
-
### Example
```dart
import 'package:openapi/api.dart';
+// TODO Configure API key authorization: cookie
+//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKey = 'YOUR_API_KEY';
+// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
+//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKeyPrefix = 'Bearer';
// TODO Configure HTTP Bearer authorization: bearer
// Case 1. Use String Token
//defaultApiClient.getAuthentication<HttpBearerAuth>('bearer').setAccessToken('YOUR_ACCESS_TOKEN');
// Case 2. Use Function which generate token.
// String yourTokenGeneratorFunction() { ... }
//defaultApiClient.getAuthentication<HttpBearerAuth>('bearer').setAccessToken(yourTokenGeneratorFunction);
-// TODO Configure API key authorization: cookie
-//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKey = 'YOUR_API_KEY';
-// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
-//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKeyPrefix = 'Bearer';
final api_instance = AssetApi();
@@ -728,7 +712,7 @@ This endpoint does not need any parameter.
### Authorization
-[bearer](../README.md#bearer), [cookie](../README.md#cookie)
+[cookie](../README.md#cookie), [bearer](../README.md#bearer)
### HTTP request headers
@@ -742,21 +726,19 @@ This endpoint does not need any parameter.
-
-
### Example
```dart
import 'package:openapi/api.dart';
+// TODO Configure API key authorization: cookie
+//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKey = 'YOUR_API_KEY';
+// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
+//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKeyPrefix = 'Bearer';
// TODO Configure HTTP Bearer authorization: bearer
// Case 1. Use String Token
//defaultApiClient.getAuthentication<HttpBearerAuth>('bearer').setAccessToken('YOUR_ACCESS_TOKEN');
// Case 2. Use Function which generate token.
// String yourTokenGeneratorFunction() { ... }
//defaultApiClient.getAuthentication<HttpBearerAuth>('bearer').setAccessToken(yourTokenGeneratorFunction);
-// TODO Configure API key authorization: cookie
-//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKey = 'YOUR_API_KEY';
-// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
-//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKeyPrefix = 'Bearer';
final api_instance = AssetApi();
@@ -777,7 +759,7 @@ This endpoint does not need any parameter.
### Authorization
-[bearer](../README.md#bearer), [cookie](../README.md#cookie)
+[cookie](../README.md#cookie), [bearer](../README.md#bearer)
### HTTP request headers
@@ -791,21 +773,19 @@ This endpoint does not need any parameter.
-
-
### Example
```dart
import 'package:openapi/api.dart';
+// TODO Configure API key authorization: cookie
+//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKey = 'YOUR_API_KEY';
+// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
+//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKeyPrefix = 'Bearer';
// TODO Configure HTTP Bearer authorization: bearer
// Case 1. Use String Token
//defaultApiClient.getAuthentication<HttpBearerAuth>('bearer').setAccessToken('YOUR_ACCESS_TOKEN');
// Case 2. Use Function which generate token.
// String yourTokenGeneratorFunction() { ... }
//defaultApiClient.getAuthentication<HttpBearerAuth>('bearer').setAccessToken(yourTokenGeneratorFunction);
-// TODO Configure API key authorization: cookie
-//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKey = 'YOUR_API_KEY';
-// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
-//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKeyPrefix = 'Bearer';
final api_instance = AssetApi();
final assetId = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // String |
@@ -834,7 +814,7 @@ Name | Type | Description | Notes
### Authorization
-[bearer](../README.md#bearer), [cookie](../README.md#cookie)
+[cookie](../README.md#cookie), [bearer](../README.md#bearer)
### HTTP request headers
@@ -848,21 +828,19 @@ Name | Type | Description | Notes
-
-
### Example
```dart
import 'package:openapi/api.dart';
+// TODO Configure API key authorization: cookie
+//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKey = 'YOUR_API_KEY';
+// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
+//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKeyPrefix = 'Bearer';
// TODO Configure HTTP Bearer authorization: bearer
// Case 1. Use String Token
//defaultApiClient.getAuthentication<HttpBearerAuth>('bearer').setAccessToken('YOUR_ACCESS_TOKEN');
// Case 2. Use Function which generate token.
// String yourTokenGeneratorFunction() { ... }
//defaultApiClient.getAuthentication<HttpBearerAuth>('bearer').setAccessToken(yourTokenGeneratorFunction);
-// TODO Configure API key authorization: cookie
-//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKey = 'YOUR_API_KEY';
-// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
-//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKeyPrefix = 'Bearer';
final api_instance = AssetApi();
@@ -883,7 +861,7 @@ This endpoint does not need any parameter.
### Authorization
-[bearer](../README.md#bearer), [cookie](../README.md#cookie)
+[cookie](../README.md#cookie), [bearer](../README.md#bearer)
### HTTP request headers
@@ -897,21 +875,19 @@ This endpoint does not need any parameter.
-
-
### Example
```dart
import 'package:openapi/api.dart';
+// TODO Configure API key authorization: cookie
+//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKey = 'YOUR_API_KEY';
+// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
+//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKeyPrefix = 'Bearer';
// TODO Configure HTTP Bearer authorization: bearer
// Case 1. Use String Token
//defaultApiClient.getAuthentication<HttpBearerAuth>('bearer').setAccessToken('YOUR_ACCESS_TOKEN');
// Case 2. Use Function which generate token.
// String yourTokenGeneratorFunction() { ... }
//defaultApiClient.getAuthentication<HttpBearerAuth>('bearer').setAccessToken(yourTokenGeneratorFunction);
-// TODO Configure API key authorization: cookie
-//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKey = 'YOUR_API_KEY';
-// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
-//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKeyPrefix = 'Bearer';
final api_instance = AssetApi();
@@ -932,7 +908,7 @@ This endpoint does not need any parameter.
### Authorization
-[bearer](../README.md#bearer), [cookie](../README.md#cookie)
+[cookie](../README.md#cookie), [bearer](../README.md#bearer)
### HTTP request headers
@@ -951,16 +927,16 @@ Get all asset of a device that are in the database, ID only.
### Example
```dart
import 'package:openapi/api.dart';
+// TODO Configure API key authorization: cookie
+//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKey = 'YOUR_API_KEY';
+// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
+//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKeyPrefix = 'Bearer';
// TODO Configure HTTP Bearer authorization: bearer
// Case 1. Use String Token
//defaultApiClient.getAuthentication<HttpBearerAuth>('bearer').setAccessToken('YOUR_ACCESS_TOKEN');
// Case 2. Use Function which generate token.
// String yourTokenGeneratorFunction() { ... }
//defaultApiClient.getAuthentication<HttpBearerAuth>('bearer').setAccessToken(yourTokenGeneratorFunction);
-// TODO Configure API key authorization: cookie
-//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKey = 'YOUR_API_KEY';
-// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
-//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKeyPrefix = 'Bearer';
final api_instance = AssetApi();
final deviceId = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // String |
@@ -985,7 +961,7 @@ Name | Type | Description | Notes
### Authorization
-[bearer](../README.md#bearer), [cookie](../README.md#cookie)
+[cookie](../README.md#cookie), [bearer](../README.md#bearer)
### HTTP request headers
@@ -999,21 +975,19 @@ Name | Type | Description | Notes
-
-
### Example
```dart
import 'package:openapi/api.dart';
+// TODO Configure API key authorization: cookie
+//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKey = 'YOUR_API_KEY';
+// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
+//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKeyPrefix = 'Bearer';
// TODO Configure HTTP Bearer authorization: bearer
// Case 1. Use String Token
//defaultApiClient.getAuthentication<HttpBearerAuth>('bearer').setAccessToken('YOUR_ACCESS_TOKEN');
// Case 2. Use Function which generate token.
// String yourTokenGeneratorFunction() { ... }
//defaultApiClient.getAuthentication<HttpBearerAuth>('bearer').setAccessToken(yourTokenGeneratorFunction);
-// TODO Configure API key authorization: cookie
-//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKey = 'YOUR_API_KEY';
-// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
-//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKeyPrefix = 'Bearer';
final api_instance = AssetApi();
final removeAssetsDto = RemoveAssetsDto(); // RemoveAssetsDto |
@@ -1040,7 +1014,7 @@ Name | Type | Description | Notes
### Authorization
-[bearer](../README.md#bearer), [cookie](../README.md#cookie)
+[cookie](../README.md#cookie), [bearer](../README.md#bearer)
### HTTP request headers
@@ -1054,21 +1028,19 @@ Name | Type | Description | Notes
-
-
### Example
```dart
import 'package:openapi/api.dart';
+// TODO Configure API key authorization: cookie
+//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKey = 'YOUR_API_KEY';
+// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
+//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKeyPrefix = 'Bearer';
// TODO Configure HTTP Bearer authorization: bearer
// Case 1. Use String Token
//defaultApiClient.getAuthentication<HttpBearerAuth>('bearer').setAccessToken('YOUR_ACCESS_TOKEN');
// Case 2. Use Function which generate token.
// String yourTokenGeneratorFunction() { ... }
//defaultApiClient.getAuthentication<HttpBearerAuth>('bearer').setAccessToken(yourTokenGeneratorFunction);
-// TODO Configure API key authorization: cookie
-//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKey = 'YOUR_API_KEY';
-// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
-//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKeyPrefix = 'Bearer';
final api_instance = AssetApi();
final searchAssetDto = SearchAssetDto(); // SearchAssetDto |
@@ -1093,7 +1065,7 @@ Name | Type | Description | Notes
### Authorization
-[bearer](../README.md#bearer), [cookie](../README.md#cookie)
+[cookie](../README.md#cookie), [bearer](../README.md#bearer)
### HTTP request headers
@@ -1107,21 +1079,19 @@ Name | Type | Description | Notes
-
-
### Example
```dart
import 'package:openapi/api.dart';
+// TODO Configure API key authorization: cookie
+//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKey = 'YOUR_API_KEY';
+// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
+//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKeyPrefix = 'Bearer';
// TODO Configure HTTP Bearer authorization: bearer
// Case 1. Use String Token
//defaultApiClient.getAuthentication<HttpBearerAuth>('bearer').setAccessToken('YOUR_ACCESS_TOKEN');
// Case 2. Use Function which generate token.
// String yourTokenGeneratorFunction() { ... }
//defaultApiClient.getAuthentication<HttpBearerAuth>('bearer').setAccessToken(yourTokenGeneratorFunction);
-// TODO Configure API key authorization: cookie
-//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKey = 'YOUR_API_KEY';
-// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
-//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKeyPrefix = 'Bearer';
final api_instance = AssetApi();
final assetId = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // String |
@@ -1152,7 +1122,7 @@ Name | Type | Description | Notes
### Authorization
-[bearer](../README.md#bearer), [cookie](../README.md#cookie)
+[cookie](../README.md#cookie), [bearer](../README.md#bearer)
### HTTP request headers
@@ -1171,16 +1141,16 @@ Update an asset
### Example
```dart
import 'package:openapi/api.dart';
+// TODO Configure API key authorization: cookie
+//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKey = 'YOUR_API_KEY';
+// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
+//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKeyPrefix = 'Bearer';
// TODO Configure HTTP Bearer authorization: bearer
// Case 1. Use String Token
//defaultApiClient.getAuthentication<HttpBearerAuth>('bearer').setAccessToken('YOUR_ACCESS_TOKEN');
// Case 2. Use Function which generate token.
// String yourTokenGeneratorFunction() { ... }
//defaultApiClient.getAuthentication<HttpBearerAuth>('bearer').setAccessToken(yourTokenGeneratorFunction);
-// TODO Configure API key authorization: cookie
-//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKey = 'YOUR_API_KEY';
-// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
-//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKeyPrefix = 'Bearer';
final api_instance = AssetApi();
final assetId = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // String |
@@ -1207,7 +1177,7 @@ Name | Type | Description | Notes
### Authorization
-[bearer](../README.md#bearer), [cookie](../README.md#cookie)
+[cookie](../README.md#cookie), [bearer](../README.md#bearer)
### HTTP request headers
@@ -1221,21 +1191,19 @@ Name | Type | Description | Notes
-
-
### Example
```dart
import 'package:openapi/api.dart';
+// TODO Configure API key authorization: cookie
+//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKey = 'YOUR_API_KEY';
+// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
+//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKeyPrefix = 'Bearer';
// TODO Configure HTTP Bearer authorization: bearer
// Case 1. Use String Token
//defaultApiClient.getAuthentication<HttpBearerAuth>('bearer').setAccessToken('YOUR_ACCESS_TOKEN');
// Case 2. Use Function which generate token.
// String yourTokenGeneratorFunction() { ... }
//defaultApiClient.getAuthentication<HttpBearerAuth>('bearer').setAccessToken(yourTokenGeneratorFunction);
-// TODO Configure API key authorization: cookie
-//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKey = 'YOUR_API_KEY';
-// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
-//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKeyPrefix = 'Bearer';
final api_instance = AssetApi();
final assetType = ; // AssetTypeEnum |
@@ -1282,7 +1250,7 @@ Name | Type | Description | Notes
### Authorization
-[bearer](../README.md#bearer), [cookie](../README.md#cookie)
+[cookie](../README.md#cookie), [bearer](../README.md#bearer)
### HTTP request headers
diff --git a/mobile/openapi/doc/AuthenticationApi.md b/mobile/openapi/doc/AuthenticationApi.md
index 3dc72f90f8..5b529cadb1 100644
--- a/mobile/openapi/doc/AuthenticationApi.md
+++ b/mobile/openapi/doc/AuthenticationApi.md
@@ -21,8 +21,6 @@ Method | HTTP request | Description
-
-
### Example
```dart
import 'package:openapi/api.dart';
@@ -64,21 +62,19 @@ No authorization required
-
-
### Example
```dart
import 'package:openapi/api.dart';
+// TODO Configure API key authorization: cookie
+//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKey = 'YOUR_API_KEY';
+// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
+//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKeyPrefix = 'Bearer';
// TODO Configure HTTP Bearer authorization: bearer
// Case 1. Use String Token
//defaultApiClient.getAuthentication<HttpBearerAuth>('bearer').setAccessToken('YOUR_ACCESS_TOKEN');
// Case 2. Use Function which generate token.
// String yourTokenGeneratorFunction() { ... }
//defaultApiClient.getAuthentication<HttpBearerAuth>('bearer').setAccessToken(yourTokenGeneratorFunction);
-// TODO Configure API key authorization: cookie
-//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKey = 'YOUR_API_KEY';
-// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
-//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKeyPrefix = 'Bearer';
final api_instance = AuthenticationApi();
final changePasswordDto = ChangePasswordDto(); // ChangePasswordDto |
@@ -103,7 +99,7 @@ Name | Type | Description | Notes
### Authorization
-[bearer](../README.md#bearer), [cookie](../README.md#cookie)
+[cookie](../README.md#cookie), [bearer](../README.md#bearer)
### HTTP request headers
@@ -117,8 +113,6 @@ Name | Type | Description | Notes
-
-
### Example
```dart
import 'package:openapi/api.dart';
@@ -160,21 +154,19 @@ No authorization required
-
-
### Example
```dart
import 'package:openapi/api.dart';
+// TODO Configure API key authorization: cookie
+//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKey = 'YOUR_API_KEY';
+// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
+//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKeyPrefix = 'Bearer';
// TODO Configure HTTP Bearer authorization: bearer
// Case 1. Use String Token
//defaultApiClient.getAuthentication<HttpBearerAuth>('bearer').setAccessToken('YOUR_ACCESS_TOKEN');
// Case 2. Use Function which generate token.
// String yourTokenGeneratorFunction() { ... }
//defaultApiClient.getAuthentication<HttpBearerAuth>('bearer').setAccessToken(yourTokenGeneratorFunction);
-// TODO Configure API key authorization: cookie
-//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKey = 'YOUR_API_KEY';
-// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
-//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKeyPrefix = 'Bearer';
final api_instance = AuthenticationApi();
@@ -195,7 +187,7 @@ This endpoint does not need any parameter.
### Authorization
-[bearer](../README.md#bearer), [cookie](../README.md#cookie)
+[cookie](../README.md#cookie), [bearer](../README.md#bearer)
### HTTP request headers
@@ -209,21 +201,19 @@ This endpoint does not need any parameter.
-
-
### Example
```dart
import 'package:openapi/api.dart';
+// TODO Configure API key authorization: cookie
+//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKey = 'YOUR_API_KEY';
+// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
+//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKeyPrefix = 'Bearer';
// TODO Configure HTTP Bearer authorization: bearer
// Case 1. Use String Token
//defaultApiClient.getAuthentication<HttpBearerAuth>('bearer').setAccessToken('YOUR_ACCESS_TOKEN');
// Case 2. Use Function which generate token.
// String yourTokenGeneratorFunction() { ... }
//defaultApiClient.getAuthentication<HttpBearerAuth>('bearer').setAccessToken(yourTokenGeneratorFunction);
-// TODO Configure API key authorization: cookie
-//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKey = 'YOUR_API_KEY';
-// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
-//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKeyPrefix = 'Bearer';
final api_instance = AuthenticationApi();
@@ -244,7 +234,7 @@ This endpoint does not need any parameter.
### Authorization
-[bearer](../README.md#bearer), [cookie](../README.md#cookie)
+[cookie](../README.md#cookie), [bearer](../README.md#bearer)
### HTTP request headers
diff --git a/mobile/openapi/doc/DeviceInfoApi.md b/mobile/openapi/doc/DeviceInfoApi.md
index af1cab2f75..0924871512 100644
--- a/mobile/openapi/doc/DeviceInfoApi.md
+++ b/mobile/openapi/doc/DeviceInfoApi.md
@@ -17,21 +17,19 @@ Method | HTTP request | Description
-
-
### Example
```dart
import 'package:openapi/api.dart';
+// TODO Configure API key authorization: cookie
+//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKey = 'YOUR_API_KEY';
+// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
+//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKeyPrefix = 'Bearer';
// TODO Configure HTTP Bearer authorization: bearer
// Case 1. Use String Token
//defaultApiClient.getAuthentication<HttpBearerAuth>('bearer').setAccessToken('YOUR_ACCESS_TOKEN');
// Case 2. Use Function which generate token.
// String yourTokenGeneratorFunction() { ... }
//defaultApiClient.getAuthentication<HttpBearerAuth>('bearer').setAccessToken(yourTokenGeneratorFunction);
-// TODO Configure API key authorization: cookie
-//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKey = 'YOUR_API_KEY';
-// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
-//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKeyPrefix = 'Bearer';
final api_instance = DeviceInfoApi();
final upsertDeviceInfoDto = UpsertDeviceInfoDto(); // UpsertDeviceInfoDto |
@@ -56,7 +54,7 @@ Name | Type | Description | Notes
### Authorization
-[bearer](../README.md#bearer), [cookie](../README.md#cookie)
+[cookie](../README.md#cookie), [bearer](../README.md#bearer)
### HTTP request headers
diff --git a/mobile/openapi/doc/JobApi.md b/mobile/openapi/doc/JobApi.md
index ddfbb7e743..5c6dff1cc3 100644
--- a/mobile/openapi/doc/JobApi.md
+++ b/mobile/openapi/doc/JobApi.md
@@ -18,21 +18,19 @@ Method | HTTP request | Description
-
-
### Example
```dart
import 'package:openapi/api.dart';
+// TODO Configure API key authorization: cookie
+//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKey = 'YOUR_API_KEY';
+// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
+//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKeyPrefix = 'Bearer';
// TODO Configure HTTP Bearer authorization: bearer
// Case 1. Use String Token
//defaultApiClient.getAuthentication<HttpBearerAuth>('bearer').setAccessToken('YOUR_ACCESS_TOKEN');
// Case 2. Use Function which generate token.
// String yourTokenGeneratorFunction() { ... }
//defaultApiClient.getAuthentication<HttpBearerAuth>('bearer').setAccessToken(yourTokenGeneratorFunction);
-// TODO Configure API key authorization: cookie
-//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKey = 'YOUR_API_KEY';
-// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
-//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKeyPrefix = 'Bearer';
final api_instance = JobApi();
@@ -53,7 +51,7 @@ This endpoint does not need any parameter.
### Authorization
-[bearer](../README.md#bearer), [cookie](../README.md#cookie)
+[cookie](../README.md#cookie), [bearer](../README.md#bearer)
### HTTP request headers
@@ -67,21 +65,19 @@ This endpoint does not need any parameter.
-
-
### Example
```dart
import 'package:openapi/api.dart';
+// TODO Configure API key authorization: cookie
+//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKey = 'YOUR_API_KEY';
+// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
+//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKeyPrefix = 'Bearer';
// TODO Configure HTTP Bearer authorization: bearer
// Case 1. Use String Token
//defaultApiClient.getAuthentication<HttpBearerAuth>('bearer').setAccessToken('YOUR_ACCESS_TOKEN');
// Case 2. Use Function which generate token.
// String yourTokenGeneratorFunction() { ... }
//defaultApiClient.getAuthentication<HttpBearerAuth>('bearer').setAccessToken(yourTokenGeneratorFunction);
-// TODO Configure API key authorization: cookie
-//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKey = 'YOUR_API_KEY';
-// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
-//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKeyPrefix = 'Bearer';
final api_instance = JobApi();
final jobId = ; // JobName |
@@ -108,7 +104,7 @@ Name | Type | Description | Notes
### Authorization
-[bearer](../README.md#bearer), [cookie](../README.md#cookie)
+[cookie](../README.md#cookie), [bearer](../README.md#bearer)
### HTTP request headers
diff --git a/mobile/openapi/doc/OAuthApi.md b/mobile/openapi/doc/OAuthApi.md
index 4070fe8795..b0952f865c 100644
--- a/mobile/openapi/doc/OAuthApi.md
+++ b/mobile/openapi/doc/OAuthApi.md
@@ -21,8 +21,6 @@ Method | HTTP request | Description
-
-
### Example
```dart
import 'package:openapi/api.dart';
@@ -64,8 +62,6 @@ No authorization required
-
-
### Example
```dart
import 'package:openapi/api.dart';
@@ -107,21 +103,19 @@ No authorization required
-
-
### Example
```dart
import 'package:openapi/api.dart';
+// TODO Configure API key authorization: cookie
+//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKey = 'YOUR_API_KEY';
+// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
+//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKeyPrefix = 'Bearer';
// TODO Configure HTTP Bearer authorization: bearer
// Case 1. Use String Token
//defaultApiClient.getAuthentication<HttpBearerAuth>('bearer').setAccessToken('YOUR_ACCESS_TOKEN');
// Case 2. Use Function which generate token.
// String yourTokenGeneratorFunction() { ... }
//defaultApiClient.getAuthentication<HttpBearerAuth>('bearer').setAccessToken(yourTokenGeneratorFunction);
-// TODO Configure API key authorization: cookie
-//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKey = 'YOUR_API_KEY';
-// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
-//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKeyPrefix = 'Bearer';
final api_instance = OAuthApi();
final oAuthCallbackDto = OAuthCallbackDto(); // OAuthCallbackDto |
@@ -146,7 +140,7 @@ Name | Type | Description | Notes
### Authorization
-[bearer](../README.md#bearer), [cookie](../README.md#cookie)
+[cookie](../README.md#cookie), [bearer](../README.md#bearer)
### HTTP request headers
@@ -160,8 +154,6 @@ Name | Type | Description | Notes
-
-
### Example
```dart
import 'package:openapi/api.dart';
@@ -198,21 +190,19 @@ No authorization required
-
-
### Example
```dart
import 'package:openapi/api.dart';
+// TODO Configure API key authorization: cookie
+//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKey = 'YOUR_API_KEY';
+// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
+//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKeyPrefix = 'Bearer';
// TODO Configure HTTP Bearer authorization: bearer
// Case 1. Use String Token
//defaultApiClient.getAuthentication<HttpBearerAuth>('bearer').setAccessToken('YOUR_ACCESS_TOKEN');
// Case 2. Use Function which generate token.
// String yourTokenGeneratorFunction() { ... }
//defaultApiClient.getAuthentication<HttpBearerAuth>('bearer').setAccessToken(yourTokenGeneratorFunction);
-// TODO Configure API key authorization: cookie
-//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKey = 'YOUR_API_KEY';
-// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
-//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKeyPrefix = 'Bearer';
final api_instance = OAuthApi();
@@ -233,7 +223,7 @@ This endpoint does not need any parameter.
### Authorization
-[bearer](../README.md#bearer), [cookie](../README.md#cookie)
+[cookie](../README.md#cookie), [bearer](../README.md#bearer)
### HTTP request headers
diff --git a/mobile/openapi/doc/SearchApi.md b/mobile/openapi/doc/SearchApi.md
index 8ba8a88088..d7bb42f0c6 100644
--- a/mobile/openapi/doc/SearchApi.md
+++ b/mobile/openapi/doc/SearchApi.md
@@ -19,21 +19,19 @@ Method | HTTP request | Description
-
-
### Example
```dart
import 'package:openapi/api.dart';
+// TODO Configure API key authorization: cookie
+//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKey = 'YOUR_API_KEY';
+// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
+//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKeyPrefix = 'Bearer';
// TODO Configure HTTP Bearer authorization: bearer
// Case 1. Use String Token
//defaultApiClient.getAuthentication<HttpBearerAuth>('bearer').setAccessToken('YOUR_ACCESS_TOKEN');
// Case 2. Use Function which generate token.
// String yourTokenGeneratorFunction() { ... }
//defaultApiClient.getAuthentication<HttpBearerAuth>('bearer').setAccessToken(yourTokenGeneratorFunction);
-// TODO Configure API key authorization: cookie
-//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKey = 'YOUR_API_KEY';
-// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
-//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKeyPrefix = 'Bearer';
final api_instance = SearchApi();
@@ -54,7 +52,7 @@ This endpoint does not need any parameter.
### Authorization
-[bearer](../README.md#bearer), [cookie](../README.md#cookie)
+[cookie](../README.md#cookie), [bearer](../README.md#bearer)
### HTTP request headers
@@ -68,21 +66,19 @@ This endpoint does not need any parameter.
-
-
### Example
```dart
import 'package:openapi/api.dart';
+// TODO Configure API key authorization: cookie
+//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKey = 'YOUR_API_KEY';
+// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
+//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKeyPrefix = 'Bearer';
// TODO Configure HTTP Bearer authorization: bearer
// Case 1. Use String Token
//defaultApiClient.getAuthentication<HttpBearerAuth>('bearer').setAccessToken('YOUR_ACCESS_TOKEN');
// Case 2. Use Function which generate token.
// String yourTokenGeneratorFunction() { ... }
//defaultApiClient.getAuthentication<HttpBearerAuth>('bearer').setAccessToken(yourTokenGeneratorFunction);
-// TODO Configure API key authorization: cookie
-//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKey = 'YOUR_API_KEY';
-// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
-//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKeyPrefix = 'Bearer';
final api_instance = SearchApi();
@@ -103,7 +99,7 @@ This endpoint does not need any parameter.
### Authorization
-[bearer](../README.md#bearer), [cookie](../README.md#cookie)
+[cookie](../README.md#cookie), [bearer](../README.md#bearer)
### HTTP request headers
@@ -117,21 +113,19 @@ This endpoint does not need any parameter.
-
-
### Example
```dart
import 'package:openapi/api.dart';
+// TODO Configure API key authorization: cookie
+//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKey = 'YOUR_API_KEY';
+// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
+//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKeyPrefix = 'Bearer';
// TODO Configure HTTP Bearer authorization: bearer
// Case 1. Use String Token
//defaultApiClient.getAuthentication<HttpBearerAuth>('bearer').setAccessToken('YOUR_ACCESS_TOKEN');
// Case 2. Use Function which generate token.
// String yourTokenGeneratorFunction() { ... }
//defaultApiClient.getAuthentication<HttpBearerAuth>('bearer').setAccessToken(yourTokenGeneratorFunction);
-// TODO Configure API key authorization: cookie
-//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKey = 'YOUR_API_KEY';
-// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
-//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKeyPrefix = 'Bearer';
final api_instance = SearchApi();
final q = q_example; // String |
@@ -182,7 +176,7 @@ Name | Type | Description | Notes
### Authorization
-[bearer](../README.md#bearer), [cookie](../README.md#cookie)
+[cookie](../README.md#cookie), [bearer](../README.md#bearer)
### HTTP request headers
diff --git a/mobile/openapi/doc/ServerInfoApi.md b/mobile/openapi/doc/ServerInfoApi.md
index 077b34ac2b..b9d3ab5a22 100644
--- a/mobile/openapi/doc/ServerInfoApi.md
+++ b/mobile/openapi/doc/ServerInfoApi.md
@@ -20,21 +20,19 @@ Method | HTTP request | Description
-
-
### Example
```dart
import 'package:openapi/api.dart';
+// TODO Configure API key authorization: cookie
+//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKey = 'YOUR_API_KEY';
+// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
+//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKeyPrefix = 'Bearer';
// TODO Configure HTTP Bearer authorization: bearer
// Case 1. Use String Token
//defaultApiClient.getAuthentication<HttpBearerAuth>('bearer').setAccessToken('YOUR_ACCESS_TOKEN');
// Case 2. Use Function which generate token.
// String yourTokenGeneratorFunction() { ... }
//defaultApiClient.getAuthentication<HttpBearerAuth>('bearer').setAccessToken(yourTokenGeneratorFunction);
-// TODO Configure API key authorization: cookie
-//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKey = 'YOUR_API_KEY';
-// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
-//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKeyPrefix = 'Bearer';
final api_instance = ServerInfoApi();
@@ -55,7 +53,7 @@ This endpoint does not need any parameter.
### Authorization
-[bearer](../README.md#bearer), [cookie](../README.md#cookie)
+[cookie](../README.md#cookie), [bearer](../README.md#bearer)
### HTTP request headers
@@ -69,8 +67,6 @@ This endpoint does not need any parameter.
-
-
### Example
```dart
import 'package:openapi/api.dart';
@@ -108,21 +104,19 @@ No authorization required
-
-
### Example
```dart
import 'package:openapi/api.dart';
+// TODO Configure API key authorization: cookie
+//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKey = 'YOUR_API_KEY';
+// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
+//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKeyPrefix = 'Bearer';
// TODO Configure HTTP Bearer authorization: bearer
// Case 1. Use String Token
//defaultApiClient.getAuthentication<HttpBearerAuth>('bearer').setAccessToken('YOUR_ACCESS_TOKEN');
// Case 2. Use Function which generate token.
// String yourTokenGeneratorFunction() { ... }
//defaultApiClient.getAuthentication<HttpBearerAuth>('bearer').setAccessToken(yourTokenGeneratorFunction);
-// TODO Configure API key authorization: cookie
-//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKey = 'YOUR_API_KEY';
-// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
-//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKeyPrefix = 'Bearer';
final api_instance = ServerInfoApi();
@@ -143,7 +137,7 @@ This endpoint does not need any parameter.
### Authorization
-[bearer](../README.md#bearer), [cookie](../README.md#cookie)
+[cookie](../README.md#cookie), [bearer](../README.md#bearer)
### HTTP request headers
@@ -157,8 +151,6 @@ This endpoint does not need any parameter.
-
-
### Example
```dart
import 'package:openapi/api.dart';
diff --git a/mobile/openapi/doc/ShareApi.md b/mobile/openapi/doc/ShareApi.md
index 70ceafff32..e669d1c41f 100644
--- a/mobile/openapi/doc/ShareApi.md
+++ b/mobile/openapi/doc/ShareApi.md
@@ -21,21 +21,19 @@ Method | HTTP request | Description
-
-
### Example
```dart
import 'package:openapi/api.dart';
+// TODO Configure API key authorization: cookie
+//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKey = 'YOUR_API_KEY';
+// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
+//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKeyPrefix = 'Bearer';
// TODO Configure HTTP Bearer authorization: bearer
// Case 1. Use String Token
//defaultApiClient.getAuthentication<HttpBearerAuth>('bearer').setAccessToken('YOUR_ACCESS_TOKEN');
// Case 2. Use Function which generate token.
// String yourTokenGeneratorFunction() { ... }
//defaultApiClient.getAuthentication<HttpBearerAuth>('bearer').setAccessToken(yourTokenGeneratorFunction);
-// TODO Configure API key authorization: cookie
-//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKey = 'YOUR_API_KEY';
-// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
-//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKeyPrefix = 'Bearer';
final api_instance = ShareApi();
final id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // String |
@@ -62,7 +60,7 @@ Name | Type | Description | Notes
### Authorization
-[bearer](../README.md#bearer), [cookie](../README.md#cookie)
+[cookie](../README.md#cookie), [bearer](../README.md#bearer)
### HTTP request headers
@@ -76,21 +74,19 @@ Name | Type | Description | Notes
-
-
### Example
```dart
import 'package:openapi/api.dart';
+// TODO Configure API key authorization: cookie
+//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKey = 'YOUR_API_KEY';
+// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
+//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKeyPrefix = 'Bearer';
// TODO Configure HTTP Bearer authorization: bearer
// Case 1. Use String Token
//defaultApiClient.getAuthentication<HttpBearerAuth>('bearer').setAccessToken('YOUR_ACCESS_TOKEN');
// Case 2. Use Function which generate token.
// String yourTokenGeneratorFunction() { ... }
//defaultApiClient.getAuthentication<HttpBearerAuth>('bearer').setAccessToken(yourTokenGeneratorFunction);
-// TODO Configure API key authorization: cookie
-//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKey = 'YOUR_API_KEY';
-// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
-//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKeyPrefix = 'Bearer';
final api_instance = ShareApi();
@@ -111,7 +107,7 @@ This endpoint does not need any parameter.
### Authorization
-[bearer](../README.md#bearer), [cookie](../README.md#cookie)
+[cookie](../README.md#cookie), [bearer](../README.md#bearer)
### HTTP request headers
@@ -125,21 +121,19 @@ This endpoint does not need any parameter.
-
-
### Example
```dart
import 'package:openapi/api.dart';
+// TODO Configure API key authorization: cookie
+//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKey = 'YOUR_API_KEY';
+// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
+//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKeyPrefix = 'Bearer';
// TODO Configure HTTP Bearer authorization: bearer
// Case 1. Use String Token
//defaultApiClient.getAuthentication<HttpBearerAuth>('bearer').setAccessToken('YOUR_ACCESS_TOKEN');
// Case 2. Use Function which generate token.
// String yourTokenGeneratorFunction() { ... }
//defaultApiClient.getAuthentication<HttpBearerAuth>('bearer').setAccessToken(yourTokenGeneratorFunction);
-// TODO Configure API key authorization: cookie
-//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKey = 'YOUR_API_KEY';
-// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
-//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKeyPrefix = 'Bearer';
final api_instance = ShareApi();
final key = key_example; // String |
@@ -164,7 +158,7 @@ Name | Type | Description | Notes
### Authorization
-[bearer](../README.md#bearer), [cookie](../README.md#cookie)
+[cookie](../README.md#cookie), [bearer](../README.md#bearer)
### HTTP request headers
@@ -178,21 +172,19 @@ Name | Type | Description | Notes
-
-
### Example
```dart
import 'package:openapi/api.dart';
+// TODO Configure API key authorization: cookie
+//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKey = 'YOUR_API_KEY';
+// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
+//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKeyPrefix = 'Bearer';
// TODO Configure HTTP Bearer authorization: bearer
// Case 1. Use String Token
//defaultApiClient.getAuthentication<HttpBearerAuth>('bearer').setAccessToken('YOUR_ACCESS_TOKEN');
// Case 2. Use Function which generate token.
// String yourTokenGeneratorFunction() { ... }
//defaultApiClient.getAuthentication<HttpBearerAuth>('bearer').setAccessToken(yourTokenGeneratorFunction);
-// TODO Configure API key authorization: cookie
-//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKey = 'YOUR_API_KEY';
-// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
-//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKeyPrefix = 'Bearer';
final api_instance = ShareApi();
final id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // String |
@@ -217,7 +209,7 @@ Name | Type | Description | Notes
### Authorization
-[bearer](../README.md#bearer), [cookie](../README.md#cookie)
+[cookie](../README.md#cookie), [bearer](../README.md#bearer)
### HTTP request headers
@@ -231,21 +223,19 @@ Name | Type | Description | Notes
-
-
### Example
```dart
import 'package:openapi/api.dart';
+// TODO Configure API key authorization: cookie
+//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKey = 'YOUR_API_KEY';
+// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
+//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKeyPrefix = 'Bearer';
// TODO Configure HTTP Bearer authorization: bearer
// Case 1. Use String Token
//defaultApiClient.getAuthentication<HttpBearerAuth>('bearer').setAccessToken('YOUR_ACCESS_TOKEN');
// Case 2. Use Function which generate token.
// String yourTokenGeneratorFunction() { ... }
//defaultApiClient.getAuthentication<HttpBearerAuth>('bearer').setAccessToken(yourTokenGeneratorFunction);
-// TODO Configure API key authorization: cookie
-//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKey = 'YOUR_API_KEY';
-// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
-//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKeyPrefix = 'Bearer';
final api_instance = ShareApi();
final id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // String |
@@ -269,7 +259,7 @@ void (empty response body)
### Authorization
-[bearer](../README.md#bearer), [cookie](../README.md#cookie)
+[cookie](../README.md#cookie), [bearer](../README.md#bearer)
### HTTP request headers
diff --git a/mobile/openapi/doc/SystemConfigApi.md b/mobile/openapi/doc/SystemConfigApi.md
index 1ed0ada098..9cd479fc89 100644
--- a/mobile/openapi/doc/SystemConfigApi.md
+++ b/mobile/openapi/doc/SystemConfigApi.md
@@ -20,21 +20,19 @@ Method | HTTP request | Description
-
-
### Example
```dart
import 'package:openapi/api.dart';
+// TODO Configure API key authorization: cookie
+//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKey = 'YOUR_API_KEY';
+// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
+//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKeyPrefix = 'Bearer';
// TODO Configure HTTP Bearer authorization: bearer
// Case 1. Use String Token
//defaultApiClient.getAuthentication<HttpBearerAuth>('bearer').setAccessToken('YOUR_ACCESS_TOKEN');
// Case 2. Use Function which generate token.
// String yourTokenGeneratorFunction() { ... }
//defaultApiClient.getAuthentication<HttpBearerAuth>('bearer').setAccessToken(yourTokenGeneratorFunction);
-// TODO Configure API key authorization: cookie
-//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKey = 'YOUR_API_KEY';
-// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
-//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKeyPrefix = 'Bearer';
final api_instance = SystemConfigApi();
@@ -55,7 +53,7 @@ This endpoint does not need any parameter.
### Authorization
-[bearer](../README.md#bearer), [cookie](../README.md#cookie)
+[cookie](../README.md#cookie), [bearer](../README.md#bearer)
### HTTP request headers
@@ -69,21 +67,19 @@ This endpoint does not need any parameter.
-
-
### Example
```dart
import 'package:openapi/api.dart';
+// TODO Configure API key authorization: cookie
+//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKey = 'YOUR_API_KEY';
+// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
+//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKeyPrefix = 'Bearer';
// TODO Configure HTTP Bearer authorization: bearer
// Case 1. Use String Token
//defaultApiClient.getAuthentication<HttpBearerAuth>('bearer').setAccessToken('YOUR_ACCESS_TOKEN');
// Case 2. Use Function which generate token.
// String yourTokenGeneratorFunction() { ... }
//defaultApiClient.getAuthentication<HttpBearerAuth>('bearer').setAccessToken(yourTokenGeneratorFunction);
-// TODO Configure API key authorization: cookie
-//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKey = 'YOUR_API_KEY';
-// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
-//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKeyPrefix = 'Bearer';
final api_instance = SystemConfigApi();
@@ -104,7 +100,7 @@ This endpoint does not need any parameter.
### Authorization
-[bearer](../README.md#bearer), [cookie](../README.md#cookie)
+[cookie](../README.md#cookie), [bearer](../README.md#bearer)
### HTTP request headers
@@ -118,21 +114,19 @@ This endpoint does not need any parameter.
-
-
### Example
```dart
import 'package:openapi/api.dart';
+// TODO Configure API key authorization: cookie
+//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKey = 'YOUR_API_KEY';
+// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
+//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKeyPrefix = 'Bearer';
// TODO Configure HTTP Bearer authorization: bearer
// Case 1. Use String Token
//defaultApiClient.getAuthentication<HttpBearerAuth>('bearer').setAccessToken('YOUR_ACCESS_TOKEN');
// Case 2. Use Function which generate token.
// String yourTokenGeneratorFunction() { ... }
//defaultApiClient.getAuthentication<HttpBearerAuth>('bearer').setAccessToken(yourTokenGeneratorFunction);
-// TODO Configure API key authorization: cookie
-//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKey = 'YOUR_API_KEY';
-// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
-//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKeyPrefix = 'Bearer';
final api_instance = SystemConfigApi();
@@ -153,7 +147,7 @@ This endpoint does not need any parameter.
### Authorization
-[bearer](../README.md#bearer), [cookie](../README.md#cookie)
+[cookie](../README.md#cookie), [bearer](../README.md#bearer)
### HTTP request headers
@@ -167,21 +161,19 @@ This endpoint does not need any parameter.
-
-
### Example
```dart
import 'package:openapi/api.dart';
+// TODO Configure API key authorization: cookie
+//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKey = 'YOUR_API_KEY';
+// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
+//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKeyPrefix = 'Bearer';
// TODO Configure HTTP Bearer authorization: bearer
// Case 1. Use String Token
//defaultApiClient.getAuthentication<HttpBearerAuth>('bearer').setAccessToken('YOUR_ACCESS_TOKEN');
// Case 2. Use Function which generate token.
// String yourTokenGeneratorFunction() { ... }
//defaultApiClient.getAuthentication<HttpBearerAuth>('bearer').setAccessToken(yourTokenGeneratorFunction);
-// TODO Configure API key authorization: cookie
-//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKey = 'YOUR_API_KEY';
-// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
-//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKeyPrefix = 'Bearer';
final api_instance = SystemConfigApi();
final systemConfigDto = SystemConfigDto(); // SystemConfigDto |
@@ -206,7 +198,7 @@ Name | Type | Description | Notes
### Authorization
-[bearer](../README.md#bearer), [cookie](../README.md#cookie)
+[cookie](../README.md#cookie), [bearer](../README.md#bearer)
### HTTP request headers
diff --git a/mobile/openapi/doc/TagApi.md b/mobile/openapi/doc/TagApi.md
index 2fc3a48ac3..c3cf63232b 100644
--- a/mobile/openapi/doc/TagApi.md
+++ b/mobile/openapi/doc/TagApi.md
@@ -21,21 +21,19 @@ Method | HTTP request | Description
-
-
### Example
```dart
import 'package:openapi/api.dart';
+// TODO Configure API key authorization: cookie
+//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKey = 'YOUR_API_KEY';
+// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
+//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKeyPrefix = 'Bearer';
// TODO Configure HTTP Bearer authorization: bearer
// Case 1. Use String Token
//defaultApiClient.getAuthentication<HttpBearerAuth>('bearer').setAccessToken('YOUR_ACCESS_TOKEN');
// Case 2. Use Function which generate token.
// String yourTokenGeneratorFunction() { ... }
//defaultApiClient.getAuthentication<HttpBearerAuth>('bearer').setAccessToken(yourTokenGeneratorFunction);
-// TODO Configure API key authorization: cookie
-//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKey = 'YOUR_API_KEY';
-// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
-//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKeyPrefix = 'Bearer';
final api_instance = TagApi();
final createTagDto = CreateTagDto(); // CreateTagDto |
@@ -60,7 +58,7 @@ Name | Type | Description | Notes
### Authorization
-[bearer](../README.md#bearer), [cookie](../README.md#cookie)
+[cookie](../README.md#cookie), [bearer](../README.md#bearer)
### HTTP request headers
@@ -74,21 +72,19 @@ Name | Type | Description | Notes
-
-
### Example
```dart
import 'package:openapi/api.dart';
+// TODO Configure API key authorization: cookie
+//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKey = 'YOUR_API_KEY';
+// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
+//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKeyPrefix = 'Bearer';
// TODO Configure HTTP Bearer authorization: bearer
// Case 1. Use String Token
//defaultApiClient.getAuthentication<HttpBearerAuth>('bearer').setAccessToken('YOUR_ACCESS_TOKEN');
// Case 2. Use Function which generate token.
// String yourTokenGeneratorFunction() { ... }
//defaultApiClient.getAuthentication<HttpBearerAuth>('bearer').setAccessToken(yourTokenGeneratorFunction);
-// TODO Configure API key authorization: cookie
-//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKey = 'YOUR_API_KEY';
-// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
-//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKeyPrefix = 'Bearer';
final api_instance = TagApi();
final id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // String |
@@ -112,7 +108,7 @@ void (empty response body)
### Authorization
-[bearer](../README.md#bearer), [cookie](../README.md#cookie)
+[cookie](../README.md#cookie), [bearer](../README.md#bearer)
### HTTP request headers
@@ -126,21 +122,19 @@ void (empty response body)
-
-
### Example
```dart
import 'package:openapi/api.dart';
+// TODO Configure API key authorization: cookie
+//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKey = 'YOUR_API_KEY';
+// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
+//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKeyPrefix = 'Bearer';
// TODO Configure HTTP Bearer authorization: bearer
// Case 1. Use String Token
//defaultApiClient.getAuthentication<HttpBearerAuth>('bearer').setAccessToken('YOUR_ACCESS_TOKEN');
// Case 2. Use Function which generate token.
// String yourTokenGeneratorFunction() { ... }
//defaultApiClient.getAuthentication<HttpBearerAuth>('bearer').setAccessToken(yourTokenGeneratorFunction);
-// TODO Configure API key authorization: cookie
-//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKey = 'YOUR_API_KEY';
-// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
-//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKeyPrefix = 'Bearer';
final api_instance = TagApi();
@@ -161,7 +155,7 @@ This endpoint does not need any parameter.
### Authorization
-[bearer](../README.md#bearer), [cookie](../README.md#cookie)
+[cookie](../README.md#cookie), [bearer](../README.md#bearer)
### HTTP request headers
@@ -175,21 +169,19 @@ This endpoint does not need any parameter.
-
-
### Example
```dart
import 'package:openapi/api.dart';
+// TODO Configure API key authorization: cookie
+//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKey = 'YOUR_API_KEY';
+// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
+//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKeyPrefix = 'Bearer';
// TODO Configure HTTP Bearer authorization: bearer
// Case 1. Use String Token
//defaultApiClient.getAuthentication<HttpBearerAuth>('bearer').setAccessToken('YOUR_ACCESS_TOKEN');
// Case 2. Use Function which generate token.
// String yourTokenGeneratorFunction() { ... }
//defaultApiClient.getAuthentication<HttpBearerAuth>('bearer').setAccessToken(yourTokenGeneratorFunction);
-// TODO Configure API key authorization: cookie
-//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKey = 'YOUR_API_KEY';
-// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
-//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKeyPrefix = 'Bearer';
final api_instance = TagApi();
final id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // String |
@@ -214,7 +206,7 @@ Name | Type | Description | Notes
### Authorization
-[bearer](../README.md#bearer), [cookie](../README.md#cookie)
+[cookie](../README.md#cookie), [bearer](../README.md#bearer)
### HTTP request headers
@@ -228,21 +220,19 @@ Name | Type | Description | Notes
-
-
### Example
```dart
import 'package:openapi/api.dart';
+// TODO Configure API key authorization: cookie
+//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKey = 'YOUR_API_KEY';
+// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
+//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKeyPrefix = 'Bearer';
// TODO Configure HTTP Bearer authorization: bearer
// Case 1. Use String Token
//defaultApiClient.getAuthentication<HttpBearerAuth>('bearer').setAccessToken('YOUR_ACCESS_TOKEN');
// Case 2. Use Function which generate token.
// String yourTokenGeneratorFunction() { ... }
//defaultApiClient.getAuthentication<HttpBearerAuth>('bearer').setAccessToken(yourTokenGeneratorFunction);
-// TODO Configure API key authorization: cookie
-//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKey = 'YOUR_API_KEY';
-// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
-//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKeyPrefix = 'Bearer';
final api_instance = TagApi();
final id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // String |
@@ -269,7 +259,7 @@ Name | Type | Description | Notes
### Authorization
-[bearer](../README.md#bearer), [cookie](../README.md#cookie)
+[cookie](../README.md#cookie), [bearer](../README.md#bearer)
### HTTP request headers
diff --git a/mobile/openapi/doc/UserApi.md b/mobile/openapi/doc/UserApi.md
index 0bd35a904c..872a6cb5f3 100644
--- a/mobile/openapi/doc/UserApi.md
+++ b/mobile/openapi/doc/UserApi.md
@@ -26,21 +26,19 @@ Method | HTTP request | Description
-
-
### Example
```dart
import 'package:openapi/api.dart';
+// TODO Configure API key authorization: cookie
+//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKey = 'YOUR_API_KEY';
+// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
+//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKeyPrefix = 'Bearer';
// TODO Configure HTTP Bearer authorization: bearer
// Case 1. Use String Token
//defaultApiClient.getAuthentication<HttpBearerAuth>('bearer').setAccessToken('YOUR_ACCESS_TOKEN');
// Case 2. Use Function which generate token.
// String yourTokenGeneratorFunction() { ... }
//defaultApiClient.getAuthentication<HttpBearerAuth>('bearer').setAccessToken(yourTokenGeneratorFunction);
-// TODO Configure API key authorization: cookie
-//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKey = 'YOUR_API_KEY';
-// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
-//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKeyPrefix = 'Bearer';
final api_instance = UserApi();
final file = BINARY_DATA_HERE; // MultipartFile |
@@ -65,7 +63,7 @@ Name | Type | Description | Notes
### Authorization
-[bearer](../README.md#bearer), [cookie](../README.md#cookie)
+[cookie](../README.md#cookie), [bearer](../README.md#bearer)
### HTTP request headers
@@ -79,21 +77,19 @@ Name | Type | Description | Notes
-
-
### Example
```dart
import 'package:openapi/api.dart';
+// TODO Configure API key authorization: cookie
+//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKey = 'YOUR_API_KEY';
+// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
+//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKeyPrefix = 'Bearer';
// TODO Configure HTTP Bearer authorization: bearer
// Case 1. Use String Token
//defaultApiClient.getAuthentication<HttpBearerAuth>('bearer').setAccessToken('YOUR_ACCESS_TOKEN');
// Case 2. Use Function which generate token.
// String yourTokenGeneratorFunction() { ... }
//defaultApiClient.getAuthentication<HttpBearerAuth>('bearer').setAccessToken(yourTokenGeneratorFunction);
-// TODO Configure API key authorization: cookie
-//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKey = 'YOUR_API_KEY';
-// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
-//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKeyPrefix = 'Bearer';
final api_instance = UserApi();
final createUserDto = CreateUserDto(); // CreateUserDto |
@@ -118,7 +114,7 @@ Name | Type | Description | Notes
### Authorization
-[bearer](../README.md#bearer), [cookie](../README.md#cookie)
+[cookie](../README.md#cookie), [bearer](../README.md#bearer)
### HTTP request headers
@@ -132,21 +128,19 @@ Name | Type | Description | Notes
-
-
### Example
```dart
import 'package:openapi/api.dart';
+// TODO Configure API key authorization: cookie
+//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKey = 'YOUR_API_KEY';
+// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
+//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKeyPrefix = 'Bearer';
// TODO Configure HTTP Bearer authorization: bearer
// Case 1. Use String Token
//defaultApiClient.getAuthentication<HttpBearerAuth>('bearer').setAccessToken('YOUR_ACCESS_TOKEN');
// Case 2. Use Function which generate token.
// String yourTokenGeneratorFunction() { ... }
//defaultApiClient.getAuthentication<HttpBearerAuth>('bearer').setAccessToken(yourTokenGeneratorFunction);
-// TODO Configure API key authorization: cookie
-//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKey = 'YOUR_API_KEY';
-// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
-//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKeyPrefix = 'Bearer';
final api_instance = UserApi();
final userId = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // String |
@@ -171,7 +165,7 @@ Name | Type | Description | Notes
### Authorization
-[bearer](../README.md#bearer), [cookie](../README.md#cookie)
+[cookie](../README.md#cookie), [bearer](../README.md#bearer)
### HTTP request headers
@@ -185,21 +179,19 @@ Name | Type | Description | Notes
-
-
### Example
```dart
import 'package:openapi/api.dart';
+// TODO Configure API key authorization: cookie
+//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKey = 'YOUR_API_KEY';
+// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
+//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKeyPrefix = 'Bearer';
// TODO Configure HTTP Bearer authorization: bearer
// Case 1. Use String Token
//defaultApiClient.getAuthentication<HttpBearerAuth>('bearer').setAccessToken('YOUR_ACCESS_TOKEN');
// Case 2. Use Function which generate token.
// String yourTokenGeneratorFunction() { ... }
//defaultApiClient.getAuthentication<HttpBearerAuth>('bearer').setAccessToken(yourTokenGeneratorFunction);
-// TODO Configure API key authorization: cookie
-//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKey = 'YOUR_API_KEY';
-// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
-//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKeyPrefix = 'Bearer';
final api_instance = UserApi();
final isAll = true; // bool |
@@ -224,7 +216,7 @@ Name | Type | Description | Notes
### Authorization
-[bearer](../README.md#bearer), [cookie](../README.md#cookie)
+[cookie](../README.md#cookie), [bearer](../README.md#bearer)
### HTTP request headers
@@ -238,21 +230,19 @@ Name | Type | Description | Notes
-
-
### Example
```dart
import 'package:openapi/api.dart';
+// TODO Configure API key authorization: cookie
+//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKey = 'YOUR_API_KEY';
+// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
+//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKeyPrefix = 'Bearer';
// TODO Configure HTTP Bearer authorization: bearer
// Case 1. Use String Token
//defaultApiClient.getAuthentication<HttpBearerAuth>('bearer').setAccessToken('YOUR_ACCESS_TOKEN');
// Case 2. Use Function which generate token.
// String yourTokenGeneratorFunction() { ... }
//defaultApiClient.getAuthentication<HttpBearerAuth>('bearer').setAccessToken(yourTokenGeneratorFunction);
-// TODO Configure API key authorization: cookie
-//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKey = 'YOUR_API_KEY';
-// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
-//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKeyPrefix = 'Bearer';
final api_instance = UserApi();
@@ -273,7 +263,7 @@ This endpoint does not need any parameter.
### Authorization
-[bearer](../README.md#bearer), [cookie](../README.md#cookie)
+[cookie](../README.md#cookie), [bearer](../README.md#bearer)
### HTTP request headers
@@ -287,21 +277,19 @@ This endpoint does not need any parameter.
-
-
### Example
```dart
import 'package:openapi/api.dart';
+// TODO Configure API key authorization: cookie
+//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKey = 'YOUR_API_KEY';
+// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
+//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKeyPrefix = 'Bearer';
// TODO Configure HTTP Bearer authorization: bearer
// Case 1. Use String Token
//defaultApiClient.getAuthentication<HttpBearerAuth>('bearer').setAccessToken('YOUR_ACCESS_TOKEN');
// Case 2. Use Function which generate token.
// String yourTokenGeneratorFunction() { ... }
//defaultApiClient.getAuthentication<HttpBearerAuth>('bearer').setAccessToken(yourTokenGeneratorFunction);
-// TODO Configure API key authorization: cookie
-//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKey = 'YOUR_API_KEY';
-// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
-//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKeyPrefix = 'Bearer';
final api_instance = UserApi();
final userId = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // String |
@@ -326,7 +314,7 @@ Name | Type | Description | Notes
### Authorization
-[bearer](../README.md#bearer), [cookie](../README.md#cookie)
+[cookie](../README.md#cookie), [bearer](../README.md#bearer)
### HTTP request headers
@@ -340,21 +328,19 @@ Name | Type | Description | Notes
-
-
### Example
```dart
import 'package:openapi/api.dart';
+// TODO Configure API key authorization: cookie
+//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKey = 'YOUR_API_KEY';
+// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
+//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKeyPrefix = 'Bearer';
// TODO Configure HTTP Bearer authorization: bearer
// Case 1. Use String Token
//defaultApiClient.getAuthentication<HttpBearerAuth>('bearer').setAccessToken('YOUR_ACCESS_TOKEN');
// Case 2. Use Function which generate token.
// String yourTokenGeneratorFunction() { ... }
//defaultApiClient.getAuthentication<HttpBearerAuth>('bearer').setAccessToken(yourTokenGeneratorFunction);
-// TODO Configure API key authorization: cookie
-//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKey = 'YOUR_API_KEY';
-// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
-//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKeyPrefix = 'Bearer';
final api_instance = UserApi();
final userId = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // String |
@@ -379,7 +365,7 @@ Name | Type | Description | Notes
### Authorization
-[bearer](../README.md#bearer), [cookie](../README.md#cookie)
+[cookie](../README.md#cookie), [bearer](../README.md#bearer)
### HTTP request headers
@@ -393,8 +379,6 @@ Name | Type | Description | Notes
-
-
### Example
```dart
import 'package:openapi/api.dart';
@@ -436,21 +420,19 @@ No authorization required
-
-
### Example
```dart
import 'package:openapi/api.dart';
+// TODO Configure API key authorization: cookie
+//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKey = 'YOUR_API_KEY';
+// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
+//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKeyPrefix = 'Bearer';
// TODO Configure HTTP Bearer authorization: bearer
// Case 1. Use String Token
//defaultApiClient.getAuthentication<HttpBearerAuth>('bearer').setAccessToken('YOUR_ACCESS_TOKEN');
// Case 2. Use Function which generate token.
// String yourTokenGeneratorFunction() { ... }
//defaultApiClient.getAuthentication<HttpBearerAuth>('bearer').setAccessToken(yourTokenGeneratorFunction);
-// TODO Configure API key authorization: cookie
-//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKey = 'YOUR_API_KEY';
-// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
-//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKeyPrefix = 'Bearer';
final api_instance = UserApi();
final userId = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // String |
@@ -475,7 +457,7 @@ Name | Type | Description | Notes
### Authorization
-[bearer](../README.md#bearer), [cookie](../README.md#cookie)
+[cookie](../README.md#cookie), [bearer](../README.md#bearer)
### HTTP request headers
@@ -489,21 +471,19 @@ Name | Type | Description | Notes
-
-
### Example
```dart
import 'package:openapi/api.dart';
+// TODO Configure API key authorization: cookie
+//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKey = 'YOUR_API_KEY';
+// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
+//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKeyPrefix = 'Bearer';
// TODO Configure HTTP Bearer authorization: bearer
// Case 1. Use String Token
//defaultApiClient.getAuthentication<HttpBearerAuth>('bearer').setAccessToken('YOUR_ACCESS_TOKEN');
// Case 2. Use Function which generate token.
// String yourTokenGeneratorFunction() { ... }
//defaultApiClient.getAuthentication<HttpBearerAuth>('bearer').setAccessToken(yourTokenGeneratorFunction);
-// TODO Configure API key authorization: cookie
-//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKey = 'YOUR_API_KEY';
-// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
-//defaultApiClient.getAuthentication<ApiKeyAuth>('cookie').apiKeyPrefix = 'Bearer';
final api_instance = UserApi();
final updateUserDto = UpdateUserDto(); // UpdateUserDto |
@@ -528,7 +508,7 @@ Name | Type | Description | Notes
### Authorization
-[bearer](../README.md#bearer), [cookie](../README.md#cookie)
+[cookie](../README.md#cookie), [bearer](../README.md#bearer)
### HTTP request headers
diff --git a/mobile/openapi/lib/api/album_api.dart b/mobile/openapi/lib/api/album_api.dart
index 8f7fe5ab37..c0f5c0da5c 100644
--- a/mobile/openapi/lib/api/album_api.dart
+++ b/mobile/openapi/lib/api/album_api.dart
@@ -16,10 +16,7 @@ class AlbumApi {
final ApiClient apiClient;
- ///
- ///
- /// Note: This method returns the HTTP [Response].
- ///
+ /// Performs an HTTP 'PUT /album/{albumId}/assets' operation and returns the [Response].
/// Parameters:
///
/// * [String] albumId (required):
@@ -57,8 +54,6 @@ class AlbumApi {
);
}
- ///
- ///
/// Parameters:
///
/// * [String] albumId (required):
@@ -81,10 +76,7 @@ class AlbumApi {
return null;
}
- ///
- ///
- /// Note: This method returns the HTTP [Response].
- ///
+ /// Performs an HTTP 'PUT /album/{albumId}/users' operation and returns the [Response].
/// Parameters:
///
/// * [String] albumId (required):
@@ -116,8 +108,6 @@ class AlbumApi {
);
}
- ///
- ///
/// Parameters:
///
/// * [String] albumId (required):
@@ -138,10 +128,7 @@ class AlbumApi {
return null;
}
- ///
- ///
- /// Note: This method returns the HTTP [Response].
- ///
+ /// Performs an HTTP 'POST /album' operation and returns the [Response].
/// Parameters:
///
/// * [CreateAlbumDto] createAlbumDto (required):
@@ -170,8 +157,6 @@ class AlbumApi {
);
}
- ///
- ///
/// Parameters:
///
/// * [CreateAlbumDto] createAlbumDto (required):
@@ -190,10 +175,7 @@ class AlbumApi {
return null;
}
- ///
- ///
- /// Note: This method returns the HTTP [Response].
- ///
+ /// Performs an HTTP 'POST /album/create-shared-link' operation and returns the [Response].
/// Parameters:
///
/// * [CreateAlbumShareLinkDto] createAlbumShareLinkDto (required):
@@ -222,8 +204,6 @@ class AlbumApi {
);
}
- ///
- ///
/// Parameters:
///
/// * [CreateAlbumShareLinkDto] createAlbumShareLinkDto (required):
@@ -242,10 +222,7 @@ class AlbumApi {
return null;
}
- ///
- ///
- /// Note: This method returns the HTTP [Response].
- ///
+ /// Performs an HTTP 'DELETE /album/{albumId}' operation and returns the [Response].
/// Parameters:
///
/// * [String] albumId (required):
@@ -275,8 +252,6 @@ class AlbumApi {
);
}
- ///
- ///
/// Parameters:
///
/// * [String] albumId (required):
@@ -287,10 +262,7 @@ class AlbumApi {
}
}
- ///
- ///
- /// Note: This method returns the HTTP [Response].
- ///
+ /// Performs an HTTP 'GET /album/{albumId}/download' operation and returns the [Response].
/// Parameters:
///
/// * [String] albumId (required):
@@ -336,8 +308,6 @@ class AlbumApi {
);
}
- ///
- ///
/// Parameters:
///
/// * [String] albumId (required):
@@ -362,9 +332,7 @@ class AlbumApi {
return null;
}
- ///
- ///
- /// Note: This method returns the HTTP [Response].
+ /// Performs an HTTP 'GET /album/count-by-user-id' operation and returns the [Response].
Future<Response> getAlbumCountByUserIdWithHttpInfo() async {
// ignore: prefer_const_declarations
final path = r'/album/count-by-user-id';
@@ -390,7 +358,6 @@ class AlbumApi {
);
}
- ///
Future<AlbumCountResponseDto?> getAlbumCountByUserId() async {
final response = await getAlbumCountByUserIdWithHttpInfo();
if (response.statusCode >= HttpStatus.badRequest) {
@@ -406,10 +373,7 @@ class AlbumApi {
return null;
}
- ///
- ///
- /// Note: This method returns the HTTP [Response].
- ///
+ /// Performs an HTTP 'GET /album/{albumId}' operation and returns the [Response].
/// Parameters:
///
/// * [String] albumId (required):
@@ -445,8 +409,6 @@ class AlbumApi {
);
}
- ///
- ///
/// Parameters:
///
/// * [String] albumId (required):
@@ -467,10 +429,7 @@ class AlbumApi {
return null;
}
- ///
- ///
- /// Note: This method returns the HTTP [Response].
- ///
+ /// Performs an HTTP 'GET /album' operation and returns the [Response].
/// Parameters:
///
/// * [bool] shared:
@@ -509,8 +468,6 @@ class AlbumApi {
);
}
- ///
- ///
/// Parameters:
///
/// * [bool] shared:
@@ -535,10 +492,7 @@ class AlbumApi {
return null;
}
- ///
- ///
- /// Note: This method returns the HTTP [Response].
- ///
+ /// Performs an HTTP 'DELETE /album/{albumId}/assets' operation and returns the [Response].
/// Parameters:
///
/// * [String] albumId (required):
@@ -570,8 +524,6 @@ class AlbumApi {
);
}
- ///
- ///
/// Parameters:
///
/// * [String] albumId (required):
@@ -592,10 +544,7 @@ class AlbumApi {
return null;
}
- ///
- ///
- /// Note: This method returns the HTTP [Response].
- ///
+ /// Performs an HTTP 'DELETE /album/{albumId}/user/{userId}' operation and returns the [Response].
/// Parameters:
///
/// * [String] albumId (required):
@@ -628,8 +577,6 @@ class AlbumApi {
);
}
- ///
- ///
/// Parameters:
///
/// * [String] albumId (required):
@@ -642,10 +589,7 @@ class AlbumApi {
}
}
- ///
- ///
- /// Note: This method returns the HTTP [Response].
- ///
+ /// Performs an HTTP 'PATCH /album/{albumId}' operation and returns the [Response].
/// Parameters:
///
/// * [String] albumId (required):
@@ -677,8 +621,6 @@ class AlbumApi {
);
}
- ///
- ///
/// Parameters:
///
/// * [String] albumId (required):
diff --git a/mobile/openapi/lib/api/api_key_api.dart b/mobile/openapi/lib/api/api_key_api.dart
index e13eb32e1a..fb6cc9941d 100644
--- a/mobile/openapi/lib/api/api_key_api.dart
+++ b/mobile/openapi/lib/api/api_key_api.dart
@@ -16,10 +16,7 @@ class APIKeyApi {
final ApiClient apiClient;
- ///
- ///
- /// Note: This method returns the HTTP [Response].
- ///
+ /// Performs an HTTP 'POST /api-key' operation and returns the [Response].
/// Parameters:
///
/// * [APIKeyCreateDto] aPIKeyCreateDto (required):
@@ -48,8 +45,6 @@ class APIKeyApi {
);
}
- ///
- ///
/// Parameters:
///
/// * [APIKeyCreateDto] aPIKeyCreateDto (required):
@@ -68,10 +63,7 @@ class APIKeyApi {
return null;
}
- ///
- ///
- /// Note: This method returns the HTTP [Response].
- ///
+ /// Performs an HTTP 'DELETE /api-key/{id}' operation and returns the [Response].
/// Parameters:
///
/// * [String] id (required):
@@ -101,8 +93,6 @@ class APIKeyApi {
);
}
- ///
- ///
/// Parameters:
///
/// * [String] id (required):
@@ -113,10 +103,7 @@ class APIKeyApi {
}
}
- ///
- ///
- /// Note: This method returns the HTTP [Response].
- ///
+ /// Performs an HTTP 'GET /api-key/{id}' operation and returns the [Response].
/// Parameters:
///
/// * [String] id (required):
@@ -146,8 +133,6 @@ class APIKeyApi {
);
}
- ///
- ///
/// Parameters:
///
/// * [String] id (required):
@@ -166,9 +151,7 @@ class APIKeyApi {
return null;
}
- ///
- ///
- /// Note: This method returns the HTTP [Response].
+ /// Performs an HTTP 'GET /api-key' operation and returns the [Response].
Future<Response> getKeysWithHttpInfo() async {
// ignore: prefer_const_declarations
final path = r'/api-key';
@@ -194,7 +177,6 @@ class APIKeyApi {
);
}
- ///
Future<List<APIKeyResponseDto>?> getKeys() async {
final response = await getKeysWithHttpInfo();
if (response.statusCode >= HttpStatus.badRequest) {
@@ -213,10 +195,7 @@ class APIKeyApi {
return null;
}
- ///
- ///
- /// Note: This method returns the HTTP [Response].
- ///
+ /// Performs an HTTP 'PUT /api-key/{id}' operation and returns the [Response].
/// Parameters:
///
/// * [String] id (required):
@@ -248,8 +227,6 @@ class APIKeyApi {
);
}
- ///
- ///
/// Parameters:
///
/// * [String] id (required):
diff --git a/mobile/openapi/lib/api/asset_api.dart b/mobile/openapi/lib/api/asset_api.dart
index ea05bf8449..620da42f76 100644
--- a/mobile/openapi/lib/api/asset_api.dart
+++ b/mobile/openapi/lib/api/asset_api.dart
@@ -16,10 +16,7 @@ class AssetApi {
final ApiClient apiClient;
- ///
- ///
- /// Note: This method returns the HTTP [Response].
- ///
+ /// Performs an HTTP 'PATCH /asset/shared-link/add' operation and returns the [Response].
/// Parameters:
///
/// * [AddAssetsDto] addAssetsDto (required):
@@ -54,8 +51,6 @@ class AssetApi {
);
}
- ///
- ///
/// Parameters:
///
/// * [AddAssetsDto] addAssetsDto (required):
@@ -188,10 +183,7 @@ class AssetApi {
return null;
}
- ///
- ///
- /// Note: This method returns the HTTP [Response].
- ///
+ /// Performs an HTTP 'POST /asset/shared-link' operation and returns the [Response].
/// Parameters:
///
/// * [CreateAssetsShareLinkDto] createAssetsShareLinkDto (required):
@@ -220,8 +212,6 @@ class AssetApi {
);
}
- ///
- ///
/// Parameters:
///
/// * [CreateAssetsShareLinkDto] createAssetsShareLinkDto (required):
@@ -240,10 +230,7 @@ class AssetApi {
return null;
}
- ///
- ///
- /// Note: This method returns the HTTP [Response].
- ///
+ /// Performs an HTTP 'DELETE /asset' operation and returns the [Response].
/// Parameters:
///
/// * [DeleteAssetDto] deleteAssetDto (required):
@@ -272,8 +259,6 @@ class AssetApi {
);
}
- ///
- ///
/// Parameters:
///
/// * [DeleteAssetDto] deleteAssetDto (required):
@@ -295,10 +280,7 @@ class AssetApi {
return null;
}
- ///
- ///
- /// Note: This method returns the HTTP [Response].
- ///
+ /// Performs an HTTP 'GET /asset/download/{assetId}' operation and returns the [Response].
/// Parameters:
///
/// * [String] assetId (required):
@@ -334,8 +316,6 @@ class AssetApi {
);
}
- ///
- ///
/// Parameters:
///
/// * [String] assetId (required):
@@ -356,10 +336,7 @@ class AssetApi {
return null;
}
- ///
- ///
- /// Note: This method returns the HTTP [Response].
- ///
+ /// Performs an HTTP 'POST /asset/download-files' operation and returns the [Response].
/// Parameters:
///
/// * [DownloadFilesDto] downloadFilesDto (required):
@@ -394,8 +371,6 @@ class AssetApi {
);
}
- ///
- ///
/// Parameters:
///
/// * [DownloadFilesDto] downloadFilesDto (required):
@@ -623,10 +598,7 @@ class AssetApi {
return null;
}
- ///
- ///
- /// Note: This method returns the HTTP [Response].
- ///
+ /// Performs an HTTP 'POST /asset/time-bucket' operation and returns the [Response].
/// Parameters:
///
/// * [GetAssetByTimeBucketDto] getAssetByTimeBucketDto (required):
@@ -655,8 +627,6 @@ class AssetApi {
);
}
- ///
- ///
/// Parameters:
///
/// * [GetAssetByTimeBucketDto] getAssetByTimeBucketDto (required):
@@ -678,10 +648,7 @@ class AssetApi {
return null;
}
- ///
- ///
- /// Note: This method returns the HTTP [Response].
- ///
+ /// Performs an HTTP 'POST /asset/count-by-time-bucket' operation and returns the [Response].
/// Parameters:
///
/// * [GetAssetCountByTimeBucketDto] getAssetCountByTimeBucketDto (required):
@@ -710,8 +677,6 @@ class AssetApi {
);
}
- ///
- ///
/// Parameters:
///
/// * [GetAssetCountByTimeBucketDto] getAssetCountByTimeBucketDto (required):
@@ -730,9 +695,7 @@ class AssetApi {
return null;
}
- ///
- ///
- /// Note: This method returns the HTTP [Response].
+ /// Performs an HTTP 'GET /asset/count-by-user-id' operation and returns the [Response].
Future<Response> getAssetCountByUserIdWithHttpInfo() async {
// ignore: prefer_const_declarations
final path = r'/asset/count-by-user-id';
@@ -758,7 +721,6 @@ class AssetApi {
);
}
- ///
Future<AssetCountByUserIdResponseDto?> getAssetCountByUserId() async {
final response = await getAssetCountByUserIdWithHttpInfo();
if (response.statusCode >= HttpStatus.badRequest) {
@@ -774,9 +736,7 @@ class AssetApi {
return null;
}
- ///
- ///
- /// Note: This method returns the HTTP [Response].
+ /// Performs an HTTP 'GET /asset/search-terms' operation and returns the [Response].
Future<Response> getAssetSearchTermsWithHttpInfo() async {
// ignore: prefer_const_declarations
final path = r'/asset/search-terms';
@@ -802,7 +762,6 @@ class AssetApi {
);
}
- ///
Future<List<String>?> getAssetSearchTerms() async {
final response = await getAssetSearchTermsWithHttpInfo();
if (response.statusCode >= HttpStatus.badRequest) {
@@ -821,10 +780,7 @@ class AssetApi {
return null;
}
- ///
- ///
- /// Note: This method returns the HTTP [Response].
- ///
+ /// Performs an HTTP 'GET /asset/thumbnail/{assetId}' operation and returns the [Response].
/// Parameters:
///
/// * [String] assetId (required):
@@ -865,8 +821,6 @@ class AssetApi {
);
}
- ///
- ///
/// Parameters:
///
/// * [String] assetId (required):
@@ -889,9 +843,7 @@ class AssetApi {
return null;
}
- ///
- ///
- /// Note: This method returns the HTTP [Response].
+ /// Performs an HTTP 'GET /asset/curated-locations' operation and returns the [Response].
Future<Response> getCuratedLocationsWithHttpInfo() async {
// ignore: prefer_const_declarations
final path = r'/asset/curated-locations';
@@ -917,7 +869,6 @@ class AssetApi {
);
}
- ///
Future<List<CuratedLocationsResponseDto>?> getCuratedLocations() async {
final response = await getCuratedLocationsWithHttpInfo();
if (response.statusCode >= HttpStatus.badRequest) {
@@ -936,9 +887,7 @@ class AssetApi {
return null;
}
- ///
- ///
- /// Note: This method returns the HTTP [Response].
+ /// Performs an HTTP 'GET /asset/curated-objects' operation and returns the [Response].
Future<Response> getCuratedObjectsWithHttpInfo() async {
// ignore: prefer_const_declarations
final path = r'/asset/curated-objects';
@@ -964,7 +913,6 @@ class AssetApi {
);
}
- ///
Future<List<CuratedObjectsResponseDto>?> getCuratedObjects() async {
final response = await getCuratedObjectsWithHttpInfo();
if (response.statusCode >= HttpStatus.badRequest) {
@@ -1039,10 +987,7 @@ class AssetApi {
return null;
}
- ///
- ///
- /// Note: This method returns the HTTP [Response].
- ///
+ /// Performs an HTTP 'PATCH /asset/shared-link/remove' operation and returns the [Response].
/// Parameters:
///
/// * [RemoveAssetsDto] removeAssetsDto (required):
@@ -1077,8 +1022,6 @@ class AssetApi {
);
}
- ///
- ///
/// Parameters:
///
/// * [RemoveAssetsDto] removeAssetsDto (required):
@@ -1099,10 +1042,7 @@ class AssetApi {
return null;
}
- ///
- ///
- /// Note: This method returns the HTTP [Response].
- ///
+ /// Performs an HTTP 'POST /asset/search' operation and returns the [Response].
/// Parameters:
///
/// * [SearchAssetDto] searchAssetDto (required):
@@ -1131,8 +1071,6 @@ class AssetApi {
);
}
- ///
- ///
/// Parameters:
///
/// * [SearchAssetDto] searchAssetDto (required):
@@ -1154,10 +1092,7 @@ class AssetApi {
return null;
}
- ///
- ///
- /// Note: This method returns the HTTP [Response].
- ///
+ /// Performs an HTTP 'GET /asset/file/{assetId}' operation and returns the [Response].
/// Parameters:
///
/// * [String] assetId (required):
@@ -1203,8 +1138,6 @@ class AssetApi {
);
}
- ///
- ///
/// Parameters:
///
/// * [String] assetId (required):
@@ -1286,10 +1219,7 @@ class AssetApi {
return null;
}
- ///
- ///
- /// Note: This method returns the HTTP [Response].
- ///
+ /// Performs an HTTP 'POST /asset/upload' operation and returns the [Response].
/// Parameters:
///
/// * [AssetTypeEnum] assetType (required):
@@ -1395,8 +1325,6 @@ class AssetApi {
);
}
- ///
- ///
/// Parameters:
///
/// * [AssetTypeEnum] assetType (required):
diff --git a/mobile/openapi/lib/api/authentication_api.dart b/mobile/openapi/lib/api/authentication_api.dart
index 628ee2f1f5..39888550dc 100644
--- a/mobile/openapi/lib/api/authentication_api.dart
+++ b/mobile/openapi/lib/api/authentication_api.dart
@@ -16,10 +16,7 @@ class AuthenticationApi {
final ApiClient apiClient;
- ///
- ///
- /// Note: This method returns the HTTP [Response].
- ///
+ /// Performs an HTTP 'POST /auth/admin-sign-up' operation and returns the [Response].
/// Parameters:
///
/// * [SignUpDto] signUpDto (required):
@@ -48,8 +45,6 @@ class AuthenticationApi {
);
}
- ///
- ///
/// Parameters:
///
/// * [SignUpDto] signUpDto (required):
@@ -68,10 +63,7 @@ class AuthenticationApi {
return null;
}
- ///
- ///
- /// Note: This method returns the HTTP [Response].
- ///
+ /// Performs an HTTP 'POST /auth/change-password' operation and returns the [Response].
/// Parameters:
///
/// * [ChangePasswordDto] changePasswordDto (required):
@@ -100,8 +92,6 @@ class AuthenticationApi {
);
}
- ///
- ///
/// Parameters:
///
/// * [ChangePasswordDto] changePasswordDto (required):
@@ -120,10 +110,7 @@ class AuthenticationApi {
return null;
}
- ///
- ///
- /// Note: This method returns the HTTP [Response].
- ///
+ /// Performs an HTTP 'POST /auth/login' operation and returns the [Response].
/// Parameters:
///
/// * [LoginCredentialDto] loginCredentialDto (required):
@@ -152,8 +139,6 @@ class AuthenticationApi {
);
}
- ///
- ///
/// Parameters:
///
/// * [LoginCredentialDto] loginCredentialDto (required):
@@ -172,9 +157,7 @@ class AuthenticationApi {
return null;
}
- ///
- ///
- /// Note: This method returns the HTTP [Response].
+ /// Performs an HTTP 'POST /auth/logout' operation and returns the [Response].
Future<Response> logoutWithHttpInfo() async {
// ignore: prefer_const_declarations
final path = r'/auth/logout';
@@ -200,7 +183,6 @@ class AuthenticationApi {
);
}
- ///
Future<LogoutResponseDto?> logout() async {
final response = await logoutWithHttpInfo();
if (response.statusCode >= HttpStatus.badRequest) {
@@ -216,9 +198,7 @@ class AuthenticationApi {
return null;
}
- ///
- ///
- /// Note: This method returns the HTTP [Response].
+ /// Performs an HTTP 'POST /auth/validateToken' operation and returns the [Response].
Future<Response> validateAccessTokenWithHttpInfo() async {
// ignore: prefer_const_declarations
final path = r'/auth/validateToken';
@@ -244,7 +224,6 @@ class AuthenticationApi {
);
}
- ///
Future<ValidateAccessTokenResponseDto?> validateAccessToken() async {
final response = await validateAccessTokenWithHttpInfo();
if (response.statusCode >= HttpStatus.badRequest) {
diff --git a/mobile/openapi/lib/api/device_info_api.dart b/mobile/openapi/lib/api/device_info_api.dart
index ac3c81842d..b65b6bd713 100644
--- a/mobile/openapi/lib/api/device_info_api.dart
+++ b/mobile/openapi/lib/api/device_info_api.dart
@@ -16,10 +16,7 @@ class DeviceInfoApi {
final ApiClient apiClient;
- ///
- ///
- /// Note: This method returns the HTTP [Response].
- ///
+ /// Performs an HTTP 'PUT /device-info' operation and returns the [Response].
/// Parameters:
///
/// * [UpsertDeviceInfoDto] upsertDeviceInfoDto (required):
@@ -48,8 +45,6 @@ class DeviceInfoApi {
);
}
- ///
- ///
/// Parameters:
///
/// * [UpsertDeviceInfoDto] upsertDeviceInfoDto (required):
diff --git a/mobile/openapi/lib/api/job_api.dart b/mobile/openapi/lib/api/job_api.dart
index a3c0e87aab..7e4037832c 100644
--- a/mobile/openapi/lib/api/job_api.dart
+++ b/mobile/openapi/lib/api/job_api.dart
@@ -16,9 +16,7 @@ class JobApi {
final ApiClient apiClient;
- ///
- ///
- /// Note: This method returns the HTTP [Response].
+ /// Performs an HTTP 'GET /jobs' operation and returns the [Response].
Future<Response> getAllJobsStatusWithHttpInfo() async {
// ignore: prefer_const_declarations
final path = r'/jobs';
@@ -44,7 +42,6 @@ class JobApi {
);
}
- ///
Future<AllJobStatusResponseDto?> getAllJobsStatus() async {
final response = await getAllJobsStatusWithHttpInfo();
if (response.statusCode >= HttpStatus.badRequest) {
@@ -60,10 +57,7 @@ class JobApi {
return null;
}
- ///
- ///
- /// Note: This method returns the HTTP [Response].
- ///
+ /// Performs an HTTP 'PUT /jobs/{jobId}' operation and returns the [Response].
/// Parameters:
///
/// * [JobName] jobId (required):
@@ -95,8 +89,6 @@ class JobApi {
);
}
- ///
- ///
/// Parameters:
///
/// * [JobName] jobId (required):
diff --git a/mobile/openapi/lib/api/o_auth_api.dart b/mobile/openapi/lib/api/o_auth_api.dart
index 61165c9a2d..b8778596a7 100644
--- a/mobile/openapi/lib/api/o_auth_api.dart
+++ b/mobile/openapi/lib/api/o_auth_api.dart
@@ -16,10 +16,7 @@ class OAuthApi {
final ApiClient apiClient;
- ///
- ///
- /// Note: This method returns the HTTP [Response].
- ///
+ /// Performs an HTTP 'POST /oauth/callback' operation and returns the [Response].
/// Parameters:
///
/// * [OAuthCallbackDto] oAuthCallbackDto (required):
@@ -48,8 +45,6 @@ class OAuthApi {
);
}
- ///
- ///
/// Parameters:
///
/// * [OAuthCallbackDto] oAuthCallbackDto (required):
@@ -68,10 +63,7 @@ class OAuthApi {
return null;
}
- ///
- ///
- /// Note: This method returns the HTTP [Response].
- ///
+ /// Performs an HTTP 'POST /oauth/config' operation and returns the [Response].
/// Parameters:
///
/// * [OAuthConfigDto] oAuthConfigDto (required):
@@ -100,8 +92,6 @@ class OAuthApi {
);
}
- ///
- ///
/// Parameters:
///
/// * [OAuthConfigDto] oAuthConfigDto (required):
@@ -120,10 +110,7 @@ class OAuthApi {
return null;
}
- ///
- ///
- /// Note: This method returns the HTTP [Response].
- ///
+ /// Performs an HTTP 'POST /oauth/link' operation and returns the [Response].
/// Parameters:
///
/// * [OAuthCallbackDto] oAuthCallbackDto (required):
@@ -152,8 +139,6 @@ class OAuthApi {
);
}
- ///
- ///
/// Parameters:
///
/// * [OAuthCallbackDto] oAuthCallbackDto (required):
@@ -172,9 +157,7 @@ class OAuthApi {
return null;
}
- ///
- ///
- /// Note: This method returns the HTTP [Response].
+ /// Performs an HTTP 'GET /oauth/mobile-redirect' operation and returns the [Response].
Future<Response> mobileRedirectWithHttpInfo() async {
// ignore: prefer_const_declarations
final path = r'/oauth/mobile-redirect';
@@ -200,7 +183,6 @@ class OAuthApi {
);
}
- ///
Future<void> mobileRedirect() async {
final response = await mobileRedirectWithHttpInfo();
if (response.statusCode >= HttpStatus.badRequest) {
@@ -208,9 +190,7 @@ class OAuthApi {
}
}
- ///
- ///
- /// Note: This method returns the HTTP [Response].
+ /// Performs an HTTP 'POST /oauth/unlink' operation and returns the [Response].
Future<Response> unlinkWithHttpInfo() async {
// ignore: prefer_const_declarations
final path = r'/oauth/unlink';
@@ -236,7 +216,6 @@ class OAuthApi {
);
}
- ///
Future<UserResponseDto?> unlink() async {
final response = await unlinkWithHttpInfo();
if (response.statusCode >= HttpStatus.badRequest) {
diff --git a/mobile/openapi/lib/api/search_api.dart b/mobile/openapi/lib/api/search_api.dart
index 645ccf876b..96a67c103a 100644
--- a/mobile/openapi/lib/api/search_api.dart
+++ b/mobile/openapi/lib/api/search_api.dart
@@ -16,9 +16,7 @@ class SearchApi {
final ApiClient apiClient;
- ///
- ///
- /// Note: This method returns the HTTP [Response].
+ /// Performs an HTTP 'GET /search/explore' operation and returns the [Response].
Future<Response> getExploreDataWithHttpInfo() async {
// ignore: prefer_const_declarations
final path = r'/search/explore';
@@ -44,7 +42,6 @@ class SearchApi {
);
}
- ///
Future<List<SearchExploreResponseDto>?> getExploreData() async {
final response = await getExploreDataWithHttpInfo();
if (response.statusCode >= HttpStatus.badRequest) {
@@ -63,9 +60,7 @@ class SearchApi {
return null;
}
- ///
- ///
- /// Note: This method returns the HTTP [Response].
+ /// Performs an HTTP 'GET /search/config' operation and returns the [Response].
Future<Response> getSearchConfigWithHttpInfo() async {
// ignore: prefer_const_declarations
final path = r'/search/config';
@@ -91,7 +86,6 @@ class SearchApi {
);
}
- ///
Future<SearchConfigResponseDto?> getSearchConfig() async {
final response = await getSearchConfigWithHttpInfo();
if (response.statusCode >= HttpStatus.badRequest) {
@@ -107,10 +101,7 @@ class SearchApi {
return null;
}
- ///
- ///
- /// Note: This method returns the HTTP [Response].
- ///
+ /// Performs an HTTP 'GET /search' operation and returns the [Response].
/// Parameters:
///
/// * [String] q:
@@ -208,8 +199,6 @@ class SearchApi {
);
}
- ///
- ///
/// Parameters:
///
/// * [String] q:
diff --git a/mobile/openapi/lib/api/server_info_api.dart b/mobile/openapi/lib/api/server_info_api.dart
index a939f885ea..8cc3460c9b 100644
--- a/mobile/openapi/lib/api/server_info_api.dart
+++ b/mobile/openapi/lib/api/server_info_api.dart
@@ -16,9 +16,7 @@ class ServerInfoApi {
final ApiClient apiClient;
- ///
- ///
- /// Note: This method returns the HTTP [Response].
+ /// Performs an HTTP 'GET /server-info' operation and returns the [Response].
Future<Response> getServerInfoWithHttpInfo() async {
// ignore: prefer_const_declarations
final path = r'/server-info';
@@ -44,7 +42,6 @@ class ServerInfoApi {
);
}
- ///
Future<ServerInfoResponseDto?> getServerInfo() async {
final response = await getServerInfoWithHttpInfo();
if (response.statusCode >= HttpStatus.badRequest) {
@@ -60,9 +57,7 @@ class ServerInfoApi {
return null;
}
- ///
- ///
- /// Note: This method returns the HTTP [Response].
+ /// Performs an HTTP 'GET /server-info/version' operation and returns the [Response].
Future<Response> getServerVersionWithHttpInfo() async {
// ignore: prefer_const_declarations
final path = r'/server-info/version';
@@ -88,7 +83,6 @@ class ServerInfoApi {
);
}
- ///
Future<ServerVersionReponseDto?> getServerVersion() async {
final response = await getServerVersionWithHttpInfo();
if (response.statusCode >= HttpStatus.badRequest) {
@@ -104,9 +98,7 @@ class ServerInfoApi {
return null;
}
- ///
- ///
- /// Note: This method returns the HTTP [Response].
+ /// Performs an HTTP 'GET /server-info/stats' operation and returns the [Response].
Future<Response> getStatsWithHttpInfo() async {
// ignore: prefer_const_declarations
final path = r'/server-info/stats';
@@ -132,7 +124,6 @@ class ServerInfoApi {
);
}
- ///
Future<ServerStatsResponseDto?> getStats() async {
final response = await getStatsWithHttpInfo();
if (response.statusCode >= HttpStatus.badRequest) {
@@ -148,9 +139,7 @@ class ServerInfoApi {
return null;
}
- ///
- ///
- /// Note: This method returns the HTTP [Response].
+ /// Performs an HTTP 'GET /server-info/ping' operation and returns the [Response].
Future<Response> pingServerWithHttpInfo() async {
// ignore: prefer_const_declarations
final path = r'/server-info/ping';
@@ -176,7 +165,6 @@ class ServerInfoApi {
);
}
- ///
Future<ServerPingResponse?> pingServer() async {
final response = await pingServerWithHttpInfo();
if (response.statusCode >= HttpStatus.badRequest) {
diff --git a/mobile/openapi/lib/api/share_api.dart b/mobile/openapi/lib/api/share_api.dart
index ce0e4d8d02..53993285ab 100644
--- a/mobile/openapi/lib/api/share_api.dart
+++ b/mobile/openapi/lib/api/share_api.dart
@@ -16,10 +16,7 @@ class ShareApi {
final ApiClient apiClient;
- ///
- ///
- /// Note: This method returns the HTTP [Response].
- ///
+ /// Performs an HTTP 'PATCH /share/{id}' operation and returns the [Response].
/// Parameters:
///
/// * [String] id (required):
@@ -51,8 +48,6 @@ class ShareApi {
);
}
- ///
- ///
/// Parameters:
///
/// * [String] id (required):
@@ -73,9 +68,7 @@ class ShareApi {
return null;
}
- ///
- ///
- /// Note: This method returns the HTTP [Response].
+ /// Performs an HTTP 'GET /share' operation and returns the [Response].
Future<Response> getAllSharedLinksWithHttpInfo() async {
// ignore: prefer_const_declarations
final path = r'/share';
@@ -101,7 +94,6 @@ class ShareApi {
);
}
- ///
Future<List<SharedLinkResponseDto>?> getAllSharedLinks() async {
final response = await getAllSharedLinksWithHttpInfo();
if (response.statusCode >= HttpStatus.badRequest) {
@@ -120,10 +112,7 @@ class ShareApi {
return null;
}
- ///
- ///
- /// Note: This method returns the HTTP [Response].
- ///
+ /// Performs an HTTP 'GET /share/me' operation and returns the [Response].
/// Parameters:
///
/// * [String] key:
@@ -156,8 +145,6 @@ class ShareApi {
);
}
- ///
- ///
/// Parameters:
///
/// * [String] key:
@@ -176,10 +163,7 @@ class ShareApi {
return null;
}
- ///
- ///
- /// Note: This method returns the HTTP [Response].
- ///
+ /// Performs an HTTP 'GET /share/{id}' operation and returns the [Response].
/// Parameters:
///
/// * [String] id (required):
@@ -209,8 +193,6 @@ class ShareApi {
);
}
- ///
- ///
/// Parameters:
///
/// * [String] id (required):
@@ -229,10 +211,7 @@ class ShareApi {
return null;
}
- ///
- ///
- /// Note: This method returns the HTTP [Response].
- ///
+ /// Performs an HTTP 'DELETE /share/{id}' operation and returns the [Response].
/// Parameters:
///
/// * [String] id (required):
@@ -262,8 +241,6 @@ class ShareApi {
);
}
- ///
- ///
/// Parameters:
///
/// * [String] id (required):
diff --git a/mobile/openapi/lib/api/system_config_api.dart b/mobile/openapi/lib/api/system_config_api.dart
index 328a1fc3b7..d2d0ac5ba5 100644
--- a/mobile/openapi/lib/api/system_config_api.dart
+++ b/mobile/openapi/lib/api/system_config_api.dart
@@ -16,9 +16,7 @@ class SystemConfigApi {
final ApiClient apiClient;
- ///
- ///
- /// Note: This method returns the HTTP [Response].
+ /// Performs an HTTP 'GET /system-config' operation and returns the [Response].
Future<Response> getConfigWithHttpInfo() async {
// ignore: prefer_const_declarations
final path = r'/system-config';
@@ -44,7 +42,6 @@ class SystemConfigApi {
);
}
- ///
Future<SystemConfigDto?> getConfig() async {
final response = await getConfigWithHttpInfo();
if (response.statusCode >= HttpStatus.badRequest) {
@@ -60,9 +57,7 @@ class SystemConfigApi {
return null;
}
- ///
- ///
- /// Note: This method returns the HTTP [Response].
+ /// Performs an HTTP 'GET /system-config/defaults' operation and returns the [Response].
Future<Response> getDefaultsWithHttpInfo() async {
// ignore: prefer_const_declarations
final path = r'/system-config/defaults';
@@ -88,7 +83,6 @@ class SystemConfigApi {
);
}
- ///
Future<SystemConfigDto?> getDefaults() async {
final response = await getDefaultsWithHttpInfo();
if (response.statusCode >= HttpStatus.badRequest) {
@@ -104,9 +98,7 @@ class SystemConfigApi {
return null;
}
- ///
- ///
- /// Note: This method returns the HTTP [Response].
+ /// Performs an HTTP 'GET /system-config/storage-template-options' operation and returns the [Response].
Future<Response> getStorageTemplateOptionsWithHttpInfo() async {
// ignore: prefer_const_declarations
final path = r'/system-config/storage-template-options';
@@ -132,7 +124,6 @@ class SystemConfigApi {
);
}
- ///
Future<SystemConfigTemplateStorageOptionDto?> getStorageTemplateOptions() async {
final response = await getStorageTemplateOptionsWithHttpInfo();
if (response.statusCode >= HttpStatus.badRequest) {
@@ -148,10 +139,7 @@ class SystemConfigApi {
return null;
}
- ///
- ///
- /// Note: This method returns the HTTP [Response].
- ///
+ /// Performs an HTTP 'PUT /system-config' operation and returns the [Response].
/// Parameters:
///
/// * [SystemConfigDto] systemConfigDto (required):
@@ -180,8 +168,6 @@ class SystemConfigApi {
);
}
- ///
- ///
/// Parameters:
///
/// * [SystemConfigDto] systemConfigDto (required):
diff --git a/mobile/openapi/lib/api/tag_api.dart b/mobile/openapi/lib/api/tag_api.dart
index 1869e0adec..3591cf11cb 100644
--- a/mobile/openapi/lib/api/tag_api.dart
+++ b/mobile/openapi/lib/api/tag_api.dart
@@ -16,10 +16,7 @@ class TagApi {
final ApiClient apiClient;
- ///
- ///
- /// Note: This method returns the HTTP [Response].
- ///
+ /// Performs an HTTP 'POST /tag' operation and returns the [Response].
/// Parameters:
///
/// * [CreateTagDto] createTagDto (required):
@@ -48,8 +45,6 @@ class TagApi {
);
}
- ///
- ///
/// Parameters:
///
/// * [CreateTagDto] createTagDto (required):
@@ -68,10 +63,7 @@ class TagApi {
return null;
}
- ///
- ///
- /// Note: This method returns the HTTP [Response].
- ///
+ /// Performs an HTTP 'DELETE /tag/{id}' operation and returns the [Response].
/// Parameters:
///
/// * [String] id (required):
@@ -101,8 +93,6 @@ class TagApi {
);
}
- ///
- ///
/// Parameters:
///
/// * [String] id (required):
@@ -113,9 +103,7 @@ class TagApi {
}
}
- ///
- ///
- /// Note: This method returns the HTTP [Response].
+ /// Performs an HTTP 'GET /tag' operation and returns the [Response].
Future<Response> findAllWithHttpInfo() async {
// ignore: prefer_const_declarations
final path = r'/tag';
@@ -141,7 +129,6 @@ class TagApi {
);
}
- ///
Future<List<TagResponseDto>?> findAll() async {
final response = await findAllWithHttpInfo();
if (response.statusCode >= HttpStatus.badRequest) {
@@ -160,10 +147,7 @@ class TagApi {
return null;
}
- ///
- ///
- /// Note: This method returns the HTTP [Response].
- ///
+ /// Performs an HTTP 'GET /tag/{id}' operation and returns the [Response].
/// Parameters:
///
/// * [String] id (required):
@@ -193,8 +177,6 @@ class TagApi {
);
}
- ///
- ///
/// Parameters:
///
/// * [String] id (required):
@@ -213,10 +195,7 @@ class TagApi {
return null;
}
- ///
- ///
- /// Note: This method returns the HTTP [Response].
- ///
+ /// Performs an HTTP 'PATCH /tag/{id}' operation and returns the [Response].
/// Parameters:
///
/// * [String] id (required):
@@ -248,8 +227,6 @@ class TagApi {
);
}
- ///
- ///
/// Parameters:
///
/// * [String] id (required):
diff --git a/mobile/openapi/lib/api/user_api.dart b/mobile/openapi/lib/api/user_api.dart
index 51bd6180fb..f187652ac2 100644
--- a/mobile/openapi/lib/api/user_api.dart
+++ b/mobile/openapi/lib/api/user_api.dart
@@ -16,10 +16,7 @@ class UserApi {
final ApiClient apiClient;
- ///
- ///
- /// Note: This method returns the HTTP [Response].
- ///
+ /// Performs an HTTP 'POST /user/profile-image' operation and returns the [Response].
/// Parameters:
///
/// * [MultipartFile] file (required):
@@ -58,8 +55,6 @@ class UserApi {
);
}
- ///
- ///
/// Parameters:
///
/// * [MultipartFile] file (required):
@@ -78,10 +73,7 @@ class UserApi {
return null;
}
- ///
- ///
- /// Note: This method returns the HTTP [Response].
- ///
+ /// Performs an HTTP 'POST /user' operation and returns the [Response].
/// Parameters:
///
/// * [CreateUserDto] createUserDto (required):
@@ -110,8 +102,6 @@ class UserApi {
);
}
- ///
- ///
/// Parameters:
///
/// * [CreateUserDto] createUserDto (required):
@@ -130,10 +120,7 @@ class UserApi {
return null;
}
- ///
- ///
- /// Note: This method returns the HTTP [Response].
- ///
+ /// Performs an HTTP 'DELETE /user/{userId}' operation and returns the [Response].
/// Parameters:
///
/// * [String] userId (required):
@@ -163,8 +150,6 @@ class UserApi {
);
}
- ///
- ///
/// Parameters:
///
/// * [String] userId (required):
@@ -183,10 +168,7 @@ class UserApi {
return null;
}
- ///
- ///
- /// Note: This method returns the HTTP [Response].
- ///
+ /// Performs an HTTP 'GET /user' operation and returns the [Response].
/// Parameters:
///
/// * [bool] isAll (required):
@@ -217,8 +199,6 @@ class UserApi {
);
}
- ///
- ///
/// Parameters:
///
/// * [bool] isAll (required):
@@ -240,9 +220,7 @@ class UserApi {
return null;
}
- ///
- ///
- /// Note: This method returns the HTTP [Response].
+ /// Performs an HTTP 'GET /user/me' operation and returns the [Response].
Future<Response> getMyUserInfoWithHttpInfo() async {
// ignore: prefer_const_declarations
final path = r'/user/me';
@@ -268,7 +246,6 @@ class UserApi {
);
}
- ///
Future<UserResponseDto?> getMyUserInfo() async {
final response = await getMyUserInfoWithHttpInfo();
if (response.statusCode >= HttpStatus.badRequest) {
@@ -284,10 +261,7 @@ class UserApi {
return null;
}
- ///
- ///
- /// Note: This method returns the HTTP [Response].
- ///
+ /// Performs an HTTP 'GET /user/profile-image/{userId}' operation and returns the [Response].
/// Parameters:
///
/// * [String] userId (required):
@@ -317,8 +291,6 @@ class UserApi {
);
}
- ///
- ///
/// Parameters:
///
/// * [String] userId (required):
@@ -337,10 +309,7 @@ class UserApi {
return null;
}
- ///
- ///
- /// Note: This method returns the HTTP [Response].
- ///
+ /// Performs an HTTP 'GET /user/info/{userId}' operation and returns the [Response].
/// Parameters:
///
/// * [String] userId (required):
@@ -370,8 +339,6 @@ class UserApi {
);
}
- ///
- ///
/// Parameters:
///
/// * [String] userId (required):
@@ -390,10 +357,7 @@ class UserApi {
return null;
}
- ///
- ///
- /// Note: This method returns the HTTP [Response].
- ///
+ /// Performs an HTTP 'GET /user/count' operation and returns the [Response].
/// Parameters:
///
/// * [bool] admin:
@@ -426,8 +390,6 @@ class UserApi {
);
}
- ///
- ///
/// Parameters:
///
/// * [bool] admin:
@@ -446,10 +408,7 @@ class UserApi {
return null;
}
- ///
- ///
- /// Note: This method returns the HTTP [Response].
- ///
+ /// Performs an HTTP 'POST /user/{userId}/restore' operation and returns the [Response].
/// Parameters:
///
/// * [String] userId (required):
@@ -479,8 +438,6 @@ class UserApi {
);
}
- ///
- ///
/// Parameters:
///
/// * [String] userId (required):
@@ -499,10 +456,7 @@ class UserApi {
return null;
}
- ///
- ///
- /// Note: This method returns the HTTP [Response].
- ///
+ /// Performs an HTTP 'PUT /user' operation and returns the [Response].
/// Parameters:
///
/// * [UpdateUserDto] updateUserDto (required):
@@ -531,8 +485,6 @@ class UserApi {
);
}
- ///
- ///
/// Parameters:
///
/// * [UpdateUserDto] updateUserDto (required):
diff --git a/mobile/openapi/lib/api_client.dart b/mobile/openapi/lib/api_client.dart
index ee3a013ec3..d58945a77a 100644
--- a/mobile/openapi/lib/api_client.dart
+++ b/mobile/openapi/lib/api_client.dart
@@ -11,11 +11,13 @@
part of openapi.api;
class ApiClient {
- ApiClient({this.basePath = '/api', this.authentication});
+ ApiClient({this.basePath = '/api', this.authentication,});
final String basePath;
+ final Authentication? authentication;
var _client = Client();
+ final _defaultHeaderMap = <String, String>{};
/// Returns the current HTTP [Client] instance to use in this class.
///
@@ -27,15 +29,12 @@ class ApiClient {
_client = newClient;
}
- final _defaultHeaderMap = <String, String>{};
- final Authentication? authentication;
+ Map<String, String> get defaultHeaderMap => _defaultHeaderMap;
void addDefaultHeader(String key, String value) {
_defaultHeaderMap[key] = value;
}
- Map<String,String> get defaultHeaderMap => _defaultHeaderMap;
-
// We don't use a Map<String, String> for queryParams.
// If collectionFormat is 'multi', a key might appear multiple times.
Future<Response> invokeAPI(
@@ -47,7 +46,7 @@ class ApiClient {
Map<String, String> formParams,
String? contentType,
) async {
- _updateParamsForAuth(queryParams, headerParams);
+ await authentication?.applyToParams(queryParams, headerParams);
headerParams.addAll(_defaultHeaderMap);
if (contentType != null) {
@@ -165,16 +164,6 @@ class ApiClient {
@Deprecated('Scheduled for removal in OpenAPI Generator 6.x. Use serializeAsync() instead.')
String serialize(Object? value) => value == null ? '' : json.encode(value);
- /// Update query and header parameters based on authentication settings.
- void _updateParamsForAuth(
- List<QueryParam> queryParams,
- Map<String, String> headerParams,
- ) {
- if (authentication != null) {
- authentication!.applyToParams(queryParams, headerParams);
- }
- }
-
static dynamic _deserialize(dynamic value, String targetType, {bool growable = false}) {
try {
switch (targetType) {
diff --git a/mobile/openapi/lib/auth/api_key_auth.dart b/mobile/openapi/lib/auth/api_key_auth.dart
index e304eda321..84dc2955c2 100644
--- a/mobile/openapi/lib/auth/api_key_auth.dart
+++ b/mobile/openapi/lib/auth/api_key_auth.dart
@@ -20,7 +20,7 @@ class ApiKeyAuth implements Authentication {
String apiKey = '';
@override
- void applyToParams(List<QueryParam> queryParams, Map<String, String> headerParams) {
+ Future<void> applyToParams(List<QueryParam> queryParams, Map<String, String> headerParams,) async {
final paramValue = apiKeyPrefix.isEmpty ? apiKey : '$apiKeyPrefix $apiKey';
if (paramValue.isNotEmpty) {
diff --git a/mobile/openapi/lib/auth/authentication.dart b/mobile/openapi/lib/auth/authentication.dart
index 49baf7c46a..1b1b8ae11e 100644
--- a/mobile/openapi/lib/auth/authentication.dart
+++ b/mobile/openapi/lib/auth/authentication.dart
@@ -13,5 +13,5 @@ part of openapi.api;
// ignore: one_member_abstracts
abstract class Authentication {
/// Apply authentication settings to header and query params.
- void applyToParams(List<QueryParam> queryParams, Map<String, String> headerParams);
+ Future<void> applyToParams(List<QueryParam> queryParams, Map<String, String> headerParams);
}
diff --git a/mobile/openapi/lib/auth/http_basic_auth.dart b/mobile/openapi/lib/auth/http_basic_auth.dart
index 81abd7185f..dfedaa50d0 100644
--- a/mobile/openapi/lib/auth/http_basic_auth.dart
+++ b/mobile/openapi/lib/auth/http_basic_auth.dart
@@ -17,7 +17,7 @@ class HttpBasicAuth implements Authentication {
String password;
@override
- void applyToParams(List<QueryParam> queryParams, Map<String, String> headerParams) {
+ Future<void> applyToParams(List<QueryParam> queryParams, Map<String, String> headerParams,) async {
if (username.isNotEmpty && password.isNotEmpty) {
final credentials = '$username:$password';
headerParams['Authorization'] = 'Basic ${base64.encode(utf8.encode(credentials))}';
diff --git a/mobile/openapi/lib/auth/http_bearer_auth.dart b/mobile/openapi/lib/auth/http_bearer_auth.dart
index 213f3483b8..eddf3a59cb 100644
--- a/mobile/openapi/lib/auth/http_bearer_auth.dart
+++ b/mobile/openapi/lib/auth/http_bearer_auth.dart
@@ -27,7 +27,7 @@ class HttpBearerAuth implements Authentication {
}
@override
- void applyToParams(List<QueryParam> queryParams, Map<String, String> headerParams) {
+ Future<void> applyToParams(List<QueryParam> queryParams, Map<String, String> headerParams,) async {
if (_accessToken == null) {
return;
}
diff --git a/mobile/openapi/lib/auth/oauth.dart b/mobile/openapi/lib/auth/oauth.dart
index e9b87cffb0..e9e7d784c3 100644
--- a/mobile/openapi/lib/auth/oauth.dart
+++ b/mobile/openapi/lib/auth/oauth.dart
@@ -16,7 +16,7 @@ class OAuth implements Authentication {
String accessToken;
@override
- void applyToParams(List<QueryParam> queryParams, Map<String, String> headerParams) {
+ Future<void> applyToParams(List<QueryParam> queryParams, Map<String, String> headerParams,) async {
if (accessToken.isNotEmpty) {
headerParams['Authorization'] = 'Bearer $accessToken';
}
diff --git a/mobile/openapi/lib/model/asset_type_enum.dart b/mobile/openapi/lib/model/asset_type_enum.dart
index bf1d3ba193..1f65a198a3 100644
--- a/mobile/openapi/lib/model/asset_type_enum.dart
+++ b/mobile/openapi/lib/model/asset_type_enum.dart
@@ -71,7 +71,7 @@ class AssetTypeEnumTypeTransformer {
/// and users are still using an old app with the old code.
AssetTypeEnum? decode(dynamic data, {bool allowNull = true}) {
if (data != null) {
- switch (data.toString()) {
+ switch (data) {
case r'IMAGE': return AssetTypeEnum.IMAGE;
case r'VIDEO': return AssetTypeEnum.VIDEO;
case r'AUDIO': return AssetTypeEnum.AUDIO;
diff --git a/mobile/openapi/lib/model/delete_asset_status.dart b/mobile/openapi/lib/model/delete_asset_status.dart
index 045115aa52..5bdde69938 100644
--- a/mobile/openapi/lib/model/delete_asset_status.dart
+++ b/mobile/openapi/lib/model/delete_asset_status.dart
@@ -67,7 +67,7 @@ class DeleteAssetStatusTypeTransformer {
/// and users are still using an old app with the old code.
DeleteAssetStatus? decode(dynamic data, {bool allowNull = true}) {
if (data != null) {
- switch (data.toString()) {
+ switch (data) {
case r'SUCCESS': return DeleteAssetStatus.SUCCESS;
case r'FAILED': return DeleteAssetStatus.FAILED;
default:
diff --git a/mobile/openapi/lib/model/device_type_enum.dart b/mobile/openapi/lib/model/device_type_enum.dart
index 15f81c3d44..dc8c2bd113 100644
--- a/mobile/openapi/lib/model/device_type_enum.dart
+++ b/mobile/openapi/lib/model/device_type_enum.dart
@@ -69,7 +69,7 @@ class DeviceTypeEnumTypeTransformer {
/// and users are still using an old app with the old code.
DeviceTypeEnum? decode(dynamic data, {bool allowNull = true}) {
if (data != null) {
- switch (data.toString()) {
+ switch (data) {
case r'IOS': return DeviceTypeEnum.IOS;
case r'ANDROID': return DeviceTypeEnum.ANDROID;
case r'WEB': return DeviceTypeEnum.WEB;
diff --git a/mobile/openapi/lib/model/job_command.dart b/mobile/openapi/lib/model/job_command.dart
index 6da91e2326..f1fc8986b6 100644
--- a/mobile/openapi/lib/model/job_command.dart
+++ b/mobile/openapi/lib/model/job_command.dart
@@ -71,7 +71,7 @@ class JobCommandTypeTransformer {
/// and users are still using an old app with the old code.
JobCommand? decode(dynamic data, {bool allowNull = true}) {
if (data != null) {
- switch (data.toString()) {
+ switch (data) {
case r'start': return JobCommand.start;
case r'pause': return JobCommand.pause;
case r'resume': return JobCommand.resume;
diff --git a/mobile/openapi/lib/model/job_name.dart b/mobile/openapi/lib/model/job_name.dart
index 48b1cd9bcf..9d9424515e 100644
--- a/mobile/openapi/lib/model/job_name.dart
+++ b/mobile/openapi/lib/model/job_name.dart
@@ -79,7 +79,7 @@ class JobNameTypeTransformer {
/// and users are still using an old app with the old code.
JobName? decode(dynamic data, {bool allowNull = true}) {
if (data != null) {
- switch (data.toString()) {
+ switch (data) {
case r'thumbnail-generation-queue': return JobName.thumbnailGenerationQueue;
case r'metadata-extraction-queue': return JobName.metadataExtractionQueue;
case r'video-conversion-queue': return JobName.videoConversionQueue;
diff --git a/mobile/openapi/lib/model/shared_link_type.dart b/mobile/openapi/lib/model/shared_link_type.dart
index 117eb7ca01..937007a3d6 100644
--- a/mobile/openapi/lib/model/shared_link_type.dart
+++ b/mobile/openapi/lib/model/shared_link_type.dart
@@ -67,7 +67,7 @@ class SharedLinkTypeTypeTransformer {
/// and users are still using an old app with the old code.
SharedLinkType? decode(dynamic data, {bool allowNull = true}) {
if (data != null) {
- switch (data.toString()) {
+ switch (data) {
case r'ALBUM': return SharedLinkType.ALBUM;
case r'INDIVIDUAL': return SharedLinkType.INDIVIDUAL;
default:
diff --git a/mobile/openapi/lib/model/system_config_f_fmpeg_dto.dart b/mobile/openapi/lib/model/system_config_f_fmpeg_dto.dart
index 66eaca4367..15957023f8 100644
--- a/mobile/openapi/lib/model/system_config_f_fmpeg_dto.dart
+++ b/mobile/openapi/lib/model/system_config_f_fmpeg_dto.dart
@@ -210,7 +210,7 @@ class SystemConfigFFmpegDtoTranscodeEnumTypeTransformer {
/// and users are still using an old app with the old code.
SystemConfigFFmpegDtoTranscodeEnum? decode(dynamic data, {bool allowNull = true}) {
if (data != null) {
- switch (data.toString()) {
+ switch (data) {
case r'all': return SystemConfigFFmpegDtoTranscodeEnum.all;
case r'optimal': return SystemConfigFFmpegDtoTranscodeEnum.optimal;
case r'required': return SystemConfigFFmpegDtoTranscodeEnum.required_;
diff --git a/mobile/openapi/lib/model/tag_type_enum.dart b/mobile/openapi/lib/model/tag_type_enum.dart
index 66c44d1303..b0db6bffe5 100644
--- a/mobile/openapi/lib/model/tag_type_enum.dart
+++ b/mobile/openapi/lib/model/tag_type_enum.dart
@@ -69,7 +69,7 @@ class TagTypeEnumTypeTransformer {
/// and users are still using an old app with the old code.
TagTypeEnum? decode(dynamic data, {bool allowNull = true}) {
if (data != null) {
- switch (data.toString()) {
+ switch (data) {
case r'OBJECT': return TagTypeEnum.OBJECT;
case r'FACE': return TagTypeEnum.FACE;
case r'CUSTOM': return TagTypeEnum.CUSTOM;
diff --git a/mobile/openapi/lib/model/thumbnail_format.dart b/mobile/openapi/lib/model/thumbnail_format.dart
index 59091814f0..f8d51db2d3 100644
--- a/mobile/openapi/lib/model/thumbnail_format.dart
+++ b/mobile/openapi/lib/model/thumbnail_format.dart
@@ -67,7 +67,7 @@ class ThumbnailFormatTypeTransformer {
/// and users are still using an old app with the old code.
ThumbnailFormat? decode(dynamic data, {bool allowNull = true}) {
if (data != null) {
- switch (data.toString()) {
+ switch (data) {
case r'JPEG': return ThumbnailFormat.JPEG;
case r'WEBP': return ThumbnailFormat.WEBP;
default:
diff --git a/mobile/openapi/lib/model/time_group_enum.dart b/mobile/openapi/lib/model/time_group_enum.dart
index b6b443a8b8..c25e80dc99 100644
--- a/mobile/openapi/lib/model/time_group_enum.dart
+++ b/mobile/openapi/lib/model/time_group_enum.dart
@@ -67,7 +67,7 @@ class TimeGroupEnumTypeTransformer {
/// and users are still using an old app with the old code.
TimeGroupEnum? decode(dynamic data, {bool allowNull = true}) {
if (data != null) {
- switch (data.toString()) {
+ switch (data) {
case r'day': return TimeGroupEnum.day;
case r'month': return TimeGroupEnum.month;
default:
diff --git a/mobile/openapi/test/album_api_test.dart b/mobile/openapi/test/album_api_test.dart
index fbb2e166c7..8dde0b9f00 100644
--- a/mobile/openapi/test/album_api_test.dart
+++ b/mobile/openapi/test/album_api_test.dart
@@ -17,85 +17,61 @@ void main() {
// final instance = AlbumApi();
group('tests for AlbumApi', () {
- //
- //
//Future<AddAssetsResponseDto> addAssetsToAlbum(String albumId, AddAssetsDto addAssetsDto, { String key }) async
test('test addAssetsToAlbum', () async {
// TODO
});
- //
- //
//Future<AlbumResponseDto> addUsersToAlbum(String albumId, AddUsersDto addUsersDto) async
test('test addUsersToAlbum', () async {
// TODO
});
- //
- //
//Future<AlbumResponseDto> createAlbum(CreateAlbumDto createAlbumDto) async
test('test createAlbum', () async {
// TODO
});
- //
- //
//Future<SharedLinkResponseDto> createAlbumSharedLink(CreateAlbumShareLinkDto createAlbumShareLinkDto) async
test('test createAlbumSharedLink', () async {
// TODO
});
- //
- //
//Future deleteAlbum(String albumId) async
test('test deleteAlbum', () async {
// TODO
});
- //
- //
//Future<MultipartFile> downloadArchive(String albumId, { String name, num skip, String key }) async
test('test downloadArchive', () async {
// TODO
});
- //
- //
//Future<AlbumCountResponseDto> getAlbumCountByUserId() async
test('test getAlbumCountByUserId', () async {
// TODO
});
- //
- //
//Future<AlbumResponseDto> getAlbumInfo(String albumId, { String key }) async
test('test getAlbumInfo', () async {
// TODO
});
- //
- //
//Future<List<AlbumResponseDto>> getAllAlbums({ bool shared, String assetId }) async
test('test getAllAlbums', () async {
// TODO
});
- //
- //
//Future<AlbumResponseDto> removeAssetFromAlbum(String albumId, RemoveAssetsDto removeAssetsDto) async
test('test removeAssetFromAlbum', () async {
// TODO
});
- //
- //
//Future removeUserFromAlbum(String albumId, String userId) async
test('test removeUserFromAlbum', () async {
// TODO
});
- //
- //
//Future<AlbumResponseDto> updateAlbumInfo(String albumId, UpdateAlbumDto updateAlbumDto) async
test('test updateAlbumInfo', () async {
// TODO
diff --git a/mobile/openapi/test/api_key_api_test.dart b/mobile/openapi/test/api_key_api_test.dart
index a91662168b..2e02bae722 100644
--- a/mobile/openapi/test/api_key_api_test.dart
+++ b/mobile/openapi/test/api_key_api_test.dart
@@ -17,36 +17,26 @@ void main() {
// final instance = APIKeyApi();
group('tests for APIKeyApi', () {
- //
- //
//Future<APIKeyCreateResponseDto> createKey(APIKeyCreateDto aPIKeyCreateDto) async
test('test createKey', () async {
// TODO
});
- //
- //
//Future deleteKey(String id) async
test('test deleteKey', () async {
// TODO
});
- //
- //
//Future<APIKeyResponseDto> getKey(String id) async
test('test getKey', () async {
// TODO
});
- //
- //
//Future<List<APIKeyResponseDto>> getKeys() async
test('test getKeys', () async {
// TODO
});
- //
- //
//Future<APIKeyResponseDto> updateKey(String id, APIKeyUpdateDto aPIKeyUpdateDto) async
test('test updateKey', () async {
// TODO
diff --git a/mobile/openapi/test/asset_api_test.dart b/mobile/openapi/test/asset_api_test.dart
index 3430b2e039..f6b5dbd407 100644
--- a/mobile/openapi/test/asset_api_test.dart
+++ b/mobile/openapi/test/asset_api_test.dart
@@ -17,8 +17,6 @@ void main() {
// final instance = AssetApi();
group('tests for AssetApi', () {
- //
- //
//Future<SharedLinkResponseDto> addAssetsToSharedLink(AddAssetsDto addAssetsDto, { String key }) async
test('test addAssetsToSharedLink', () async {
// TODO
@@ -38,29 +36,21 @@ void main() {
// TODO
});
- //
- //
//Future<SharedLinkResponseDto> createAssetsSharedLink(CreateAssetsShareLinkDto createAssetsShareLinkDto) async
test('test createAssetsSharedLink', () async {
// TODO
});
- //
- //
//Future<List<DeleteAssetResponseDto>> deleteAsset(DeleteAssetDto deleteAssetDto) async
test('test deleteAsset', () async {
// TODO
});
- //
- //
//Future<MultipartFile> downloadFile(String assetId, { String key }) async
test('test downloadFile', () async {
// TODO
});
- //
- //
//Future<MultipartFile> downloadFiles(DownloadFilesDto downloadFilesDto, { String key }) async
test('test downloadFiles', () async {
// TODO
@@ -87,50 +77,36 @@ void main() {
// TODO
});
- //
- //
//Future<List<AssetResponseDto>> getAssetByTimeBucket(GetAssetByTimeBucketDto getAssetByTimeBucketDto) async
test('test getAssetByTimeBucket', () async {
// TODO
});
- //
- //
//Future<AssetCountByTimeBucketResponseDto> getAssetCountByTimeBucket(GetAssetCountByTimeBucketDto getAssetCountByTimeBucketDto) async
test('test getAssetCountByTimeBucket', () async {
// TODO
});
- //
- //
//Future<AssetCountByUserIdResponseDto> getAssetCountByUserId() async
test('test getAssetCountByUserId', () async {
// TODO
});
- //
- //
//Future<List<String>> getAssetSearchTerms() async
test('test getAssetSearchTerms', () async {
// TODO
});
- //
- //
//Future<MultipartFile> getAssetThumbnail(String assetId, { ThumbnailFormat format, String key }) async
test('test getAssetThumbnail', () async {
// TODO
});
- //
- //
//Future<List<CuratedLocationsResponseDto>> getCuratedLocations() async
test('test getCuratedLocations', () async {
// TODO
});
- //
- //
//Future<List<CuratedObjectsResponseDto>> getCuratedObjects() async
test('test getCuratedObjects', () async {
// TODO
@@ -143,22 +119,16 @@ void main() {
// TODO
});
- //
- //
//Future<SharedLinkResponseDto> removeAssetsFromSharedLink(RemoveAssetsDto removeAssetsDto, { String key }) async
test('test removeAssetsFromSharedLink', () async {
// TODO
});
- //
- //
//Future<List<AssetResponseDto>> searchAsset(SearchAssetDto searchAssetDto) async
test('test searchAsset', () async {
// TODO
});
- //
- //
//Future<MultipartFile> serveFile(String assetId, { bool isThumb, bool isWeb, String key }) async
test('test serveFile', () async {
// TODO
@@ -171,8 +141,6 @@ void main() {
// TODO
});
- //
- //
//Future<AssetFileUploadResponseDto> uploadFile(AssetTypeEnum assetType, MultipartFile assetData, String deviceAssetId, String deviceId, String fileCreatedAt, String fileModifiedAt, bool isFavorite, String fileExtension, { String key, MultipartFile livePhotoData, bool isVisible, String duration }) async
test('test uploadFile', () async {
// TODO
diff --git a/mobile/openapi/test/authentication_api_test.dart b/mobile/openapi/test/authentication_api_test.dart
index 45f283f8a9..f855d32390 100644
--- a/mobile/openapi/test/authentication_api_test.dart
+++ b/mobile/openapi/test/authentication_api_test.dart
@@ -17,36 +17,26 @@ void main() {
// final instance = AuthenticationApi();
group('tests for AuthenticationApi', () {
- //
- //
//Future<AdminSignupResponseDto> adminSignUp(SignUpDto signUpDto) async
test('test adminSignUp', () async {
// TODO
});
- //
- //
//Future<UserResponseDto> changePassword(ChangePasswordDto changePasswordDto) async
test('test changePassword', () async {
// TODO
});
- //
- //
//Future<LoginResponseDto> login(LoginCredentialDto loginCredentialDto) async
test('test login', () async {
// TODO
});
- //
- //
//Future<LogoutResponseDto> logout() async
test('test logout', () async {
// TODO
});
- //
- //
//Future<ValidateAccessTokenResponseDto> validateAccessToken() async
test('test validateAccessToken', () async {
// TODO
diff --git a/mobile/openapi/test/device_info_api_test.dart b/mobile/openapi/test/device_info_api_test.dart
index 94897849a9..9fd25bcd34 100644
--- a/mobile/openapi/test/device_info_api_test.dart
+++ b/mobile/openapi/test/device_info_api_test.dart
@@ -17,8 +17,6 @@ void main() {
// final instance = DeviceInfoApi();
group('tests for DeviceInfoApi', () {
- //
- //
//Future<DeviceInfoResponseDto> upsertDeviceInfo(UpsertDeviceInfoDto upsertDeviceInfoDto) async
test('test upsertDeviceInfo', () async {
// TODO
diff --git a/mobile/openapi/test/job_api_test.dart b/mobile/openapi/test/job_api_test.dart
index 7cc1a4b2a0..54d9a510dd 100644
--- a/mobile/openapi/test/job_api_test.dart
+++ b/mobile/openapi/test/job_api_test.dart
@@ -17,15 +17,11 @@ void main() {
// final instance = JobApi();
group('tests for JobApi', () {
- //
- //
//Future<AllJobStatusResponseDto> getAllJobsStatus() async
test('test getAllJobsStatus', () async {
// TODO
});
- //
- //
//Future<JobStatusDto> sendJobCommand(JobName jobId, JobCommandDto jobCommandDto) async
test('test sendJobCommand', () async {
// TODO
diff --git a/mobile/openapi/test/o_auth_api_test.dart b/mobile/openapi/test/o_auth_api_test.dart
index db5e6c0a21..bc8b5f3810 100644
--- a/mobile/openapi/test/o_auth_api_test.dart
+++ b/mobile/openapi/test/o_auth_api_test.dart
@@ -17,36 +17,26 @@ void main() {
// final instance = OAuthApi();
group('tests for OAuthApi', () {
- //
- //
//Future<LoginResponseDto> callback(OAuthCallbackDto oAuthCallbackDto) async
test('test callback', () async {
// TODO
});
- //
- //
//Future<OAuthConfigResponseDto> generateConfig(OAuthConfigDto oAuthConfigDto) async
test('test generateConfig', () async {
// TODO
});
- //
- //
//Future<UserResponseDto> link(OAuthCallbackDto oAuthCallbackDto) async
test('test link', () async {
// TODO
});
- //
- //
//Future mobileRedirect() async
test('test mobileRedirect', () async {
// TODO
});
- //
- //
//Future<UserResponseDto> unlink() async
test('test unlink', () async {
// TODO
diff --git a/mobile/openapi/test/search_api_test.dart b/mobile/openapi/test/search_api_test.dart
index 89037f3c49..85204a5bb6 100644
--- a/mobile/openapi/test/search_api_test.dart
+++ b/mobile/openapi/test/search_api_test.dart
@@ -17,22 +17,16 @@ void main() {
// final instance = SearchApi();
group('tests for SearchApi', () {
- //
- //
//Future<List<SearchExploreResponseDto>> getExploreData() async
test('test getExploreData', () async {
// TODO
});
- //
- //
//Future<SearchConfigResponseDto> getSearchConfig() async
test('test getSearchConfig', () async {
// TODO
});
- //
- //
//Future<SearchResponseDto> search({ String q, String query, bool clip, String type, bool isFavorite, String exifInfoPeriodCity, String exifInfoPeriodState, String exifInfoPeriodCountry, String exifInfoPeriodMake, String exifInfoPeriodModel, List<String> smartInfoPeriodObjects, List<String> smartInfoPeriodTags, bool recent, bool motion }) async
test('test search', () async {
// TODO
diff --git a/mobile/openapi/test/server_info_api_test.dart b/mobile/openapi/test/server_info_api_test.dart
index e2222244eb..b662587eef 100644
--- a/mobile/openapi/test/server_info_api_test.dart
+++ b/mobile/openapi/test/server_info_api_test.dart
@@ -17,29 +17,21 @@ void main() {
// final instance = ServerInfoApi();
group('tests for ServerInfoApi', () {
- //
- //
//Future<ServerInfoResponseDto> getServerInfo() async
test('test getServerInfo', () async {
// TODO
});
- //
- //
//Future<ServerVersionReponseDto> getServerVersion() async
test('test getServerVersion', () async {
// TODO
});
- //
- //
//Future<ServerStatsResponseDto> getStats() async
test('test getStats', () async {
// TODO
});
- //
- //
//Future<ServerPingResponse> pingServer() async
test('test pingServer', () async {
// TODO
diff --git a/mobile/openapi/test/share_api_test.dart b/mobile/openapi/test/share_api_test.dart
index d746800de4..e05839a792 100644
--- a/mobile/openapi/test/share_api_test.dart
+++ b/mobile/openapi/test/share_api_test.dart
@@ -17,36 +17,26 @@ void main() {
// final instance = ShareApi();
group('tests for ShareApi', () {
- //
- //
//Future<SharedLinkResponseDto> editSharedLink(String id, EditSharedLinkDto editSharedLinkDto) async
test('test editSharedLink', () async {
// TODO
});
- //
- //
//Future<List<SharedLinkResponseDto>> getAllSharedLinks() async
test('test getAllSharedLinks', () async {
// TODO
});
- //
- //
//Future<SharedLinkResponseDto> getMySharedLink({ String key }) async
test('test getMySharedLink', () async {
// TODO
});
- //
- //
//Future<SharedLinkResponseDto> getSharedLinkById(String id) async
test('test getSharedLinkById', () async {
// TODO
});
- //
- //
//Future removeSharedLink(String id) async
test('test removeSharedLink', () async {
// TODO
diff --git a/mobile/openapi/test/system_config_api_test.dart b/mobile/openapi/test/system_config_api_test.dart
index 28a3b0ed26..6cb7aa79d1 100644
--- a/mobile/openapi/test/system_config_api_test.dart
+++ b/mobile/openapi/test/system_config_api_test.dart
@@ -17,29 +17,21 @@ void main() {
// final instance = SystemConfigApi();
group('tests for SystemConfigApi', () {
- //
- //
//Future<SystemConfigDto> getConfig() async
test('test getConfig', () async {
// TODO
});
- //
- //
//Future<SystemConfigDto> getDefaults() async
test('test getDefaults', () async {
// TODO
});
- //
- //
//Future<SystemConfigTemplateStorageOptionDto> getStorageTemplateOptions() async
test('test getStorageTemplateOptions', () async {
// TODO
});
- //
- //
//Future<SystemConfigDto> updateConfig(SystemConfigDto systemConfigDto) async
test('test updateConfig', () async {
// TODO
diff --git a/mobile/openapi/test/tag_api_test.dart b/mobile/openapi/test/tag_api_test.dart
index ffb6c70a49..a504aedfae 100644
--- a/mobile/openapi/test/tag_api_test.dart
+++ b/mobile/openapi/test/tag_api_test.dart
@@ -17,36 +17,26 @@ void main() {
// final instance = TagApi();
group('tests for TagApi', () {
- //
- //
//Future<TagResponseDto> create(CreateTagDto createTagDto) async
test('test create', () async {
// TODO
});
- //
- //
//Future delete(String id) async
test('test delete', () async {
// TODO
});
- //
- //
//Future<List<TagResponseDto>> findAll() async
test('test findAll', () async {
// TODO
});
- //
- //
//Future<TagResponseDto> findOne(String id) async
test('test findOne', () async {
// TODO
});
- //
- //
//Future<TagResponseDto> update(String id, UpdateTagDto updateTagDto) async
test('test update', () async {
// TODO
diff --git a/mobile/openapi/test/user_api_test.dart b/mobile/openapi/test/user_api_test.dart
index d24f365906..5163a15004 100644
--- a/mobile/openapi/test/user_api_test.dart
+++ b/mobile/openapi/test/user_api_test.dart
@@ -17,71 +17,51 @@ void main() {
// final instance = UserApi();
group('tests for UserApi', () {
- //
- //
//Future<CreateProfileImageResponseDto> createProfileImage(MultipartFile file) async
test('test createProfileImage', () async {
// TODO
});
- //
- //
//Future<UserResponseDto> createUser(CreateUserDto createUserDto) async
test('test createUser', () async {
// TODO
});
- //
- //
//Future<UserResponseDto> deleteUser(String userId) async
test('test deleteUser', () async {
// TODO
});
- //
- //
//Future<List<UserResponseDto>> getAllUsers(bool isAll) async
test('test getAllUsers', () async {
// TODO
});
- //
- //
//Future<UserResponseDto> getMyUserInfo() async
test('test getMyUserInfo', () async {
// TODO
});
- //
- //
//Future<Object> getProfileImage(String userId) async
test('test getProfileImage', () async {
// TODO
});
- //
- //
//Future<UserResponseDto> getUserById(String userId) async
test('test getUserById', () async {
// TODO
});
- //
- //
//Future<UserCountResponseDto> getUserCount({ bool admin }) async
test('test getUserCount', () async {
// TODO
});
- //
- //
//Future<UserResponseDto> restoreUser(String userId) async
test('test restoreUser', () async {
// TODO
});
- //
- //
//Future<UserResponseDto> updateUser(UpdateUserDto updateUserDto) async
test('test updateUser', () async {
// TODO
diff --git a/server/immich-openapi-specs.json b/server/immich-openapi-specs.json
index 7318739e24..49b71ae117 100644
--- a/server/immich-openapi-specs.json
+++ b/server/immich-openapi-specs.json
@@ -4,7 +4,6 @@
"/album": {
"get": {
"operationId": "getAllAlbums",
- "description": "",
"parameters": [
{
"name": "shared",
@@ -54,7 +53,6 @@
},
"post": {
"operationId": "createAlbum",
- "description": "",
"parameters": [],
"requestBody": {
"required": true,
@@ -94,7 +92,6 @@
"/api-key": {
"post": {
"operationId": "createKey",
- "description": "",
"parameters": [],
"requestBody": {
"required": true,
@@ -132,7 +129,6 @@
},
"get": {
"operationId": "getKeys",
- "description": "",
"parameters": [],
"responses": {
"200": {
@@ -165,7 +161,6 @@
"/api-key/{id}": {
"get": {
"operationId": "getKey",
- "description": "",
"parameters": [
{
"name": "id",
@@ -203,7 +198,6 @@
},
"put": {
"operationId": "updateKey",
- "description": "",
"parameters": [
{
"name": "id",
@@ -251,7 +245,6 @@
},
"delete": {
"operationId": "deleteKey",
- "description": "",
"parameters": [
{
"name": "id",
@@ -284,7 +277,6 @@
"/auth/login": {
"post": {
"operationId": "login",
- "description": "",
"parameters": [],
"requestBody": {
"required": true,
@@ -316,7 +308,6 @@
"/auth/admin-sign-up": {
"post": {
"operationId": "adminSignUp",
- "description": "",
"parameters": [],
"requestBody": {
"required": true,
@@ -351,7 +342,6 @@
"/auth/validateToken": {
"post": {
"operationId": "validateAccessToken",
- "description": "",
"parameters": [],
"responses": {
"201": {
@@ -381,7 +371,6 @@
"/auth/change-password": {
"post": {
"operationId": "changePassword",
- "description": "",
"parameters": [],
"requestBody": {
"required": true,
@@ -421,7 +410,6 @@
"/auth/logout": {
"post": {
"operationId": "logout",
- "description": "",
"parameters": [],
"responses": {
"201": {
@@ -451,7 +439,6 @@
"/device-info": {
"put": {
"operationId": "upsertDeviceInfo",
- "description": "",
"parameters": [],
"requestBody": {
"required": true,
@@ -491,7 +478,6 @@
"/jobs": {
"get": {
"operationId": "getAllJobsStatus",
- "description": "",
"parameters": [],
"responses": {
"200": {
@@ -521,7 +507,6 @@
"/jobs/{jobId}": {
"put": {
"operationId": "sendJobCommand",
- "description": "",
"parameters": [
{
"name": "jobId",
@@ -570,7 +555,6 @@
"/oauth/mobile-redirect": {
"get": {
"operationId": "mobileRedirect",
- "description": "",
"parameters": [],
"responses": {
"200": {
@@ -585,7 +569,6 @@
"/oauth/config": {
"post": {
"operationId": "generateConfig",
- "description": "",
"parameters": [],
"requestBody": {
"required": true,
@@ -617,7 +600,6 @@
"/oauth/callback": {
"post": {
"operationId": "callback",
- "description": "",
"parameters": [],
"requestBody": {
"required": true,
@@ -649,7 +631,6 @@
"/oauth/link": {
"post": {
"operationId": "link",
- "description": "",
"parameters": [],
"requestBody": {
"required": true,
@@ -689,7 +670,6 @@
"/oauth/unlink": {
"post": {
"operationId": "unlink",
- "description": "",
"parameters": [],
"responses": {
"201": {
@@ -719,7 +699,6 @@
"/search": {
"get": {
"operationId": "search",
- "description": "",
"parameters": [
{
"name": "q",
@@ -874,7 +853,6 @@
"/search/config": {
"get": {
"operationId": "getSearchConfig",
- "description": "",
"parameters": [],
"responses": {
"200": {
@@ -904,7 +882,6 @@
"/search/explore": {
"get": {
"operationId": "getExploreData",
- "description": "",
"parameters": [],
"responses": {
"200": {
@@ -937,7 +914,6 @@
"/server-info": {
"get": {
"operationId": "getServerInfo",
- "description": "",
"parameters": [],
"responses": {
"200": {
@@ -967,7 +943,6 @@
"/server-info/ping": {
"get": {
"operationId": "pingServer",
- "description": "",
"parameters": [],
"responses": {
"200": {
@@ -989,7 +964,6 @@
"/server-info/version": {
"get": {
"operationId": "getServerVersion",
- "description": "",
"parameters": [],
"responses": {
"200": {
@@ -1011,7 +985,6 @@
"/server-info/stats": {
"get": {
"operationId": "getStats",
- "description": "",
"parameters": [],
"responses": {
"200": {
@@ -1041,7 +1014,6 @@
"/share": {
"get": {
"operationId": "getAllSharedLinks",
- "description": "",
"parameters": [],
"responses": {
"200": {
@@ -1074,7 +1046,6 @@
"/share/me": {
"get": {
"operationId": "getMySharedLink",
- "description": "",
"parameters": [
{
"name": "key",
@@ -1113,7 +1084,6 @@
"/share/{id}": {
"get": {
"operationId": "getSharedLinkById",
- "description": "",
"parameters": [
{
"name": "id",
@@ -1151,7 +1121,6 @@
},
"delete": {
"operationId": "removeSharedLink",
- "description": "",
"parameters": [
{
"name": "id",
@@ -1182,7 +1151,6 @@
},
"patch": {
"operationId": "editSharedLink",
- "description": "",
"parameters": [
{
"name": "id",
@@ -1232,7 +1200,6 @@
"/system-config": {
"get": {
"operationId": "getConfig",
- "description": "",
"parameters": [],
"responses": {
"200": {
@@ -1260,7 +1227,6 @@
},
"put": {
"operationId": "updateConfig",
- "description": "",
"parameters": [],
"requestBody": {
"required": true,
@@ -1300,7 +1266,6 @@
"/system-config/defaults": {
"get": {
"operationId": "getDefaults",
- "description": "",
"parameters": [],
"responses": {
"200": {
@@ -1330,7 +1295,6 @@
"/system-config/storage-template-options": {
"get": {
"operationId": "getStorageTemplateOptions",
- "description": "",
"parameters": [],
"responses": {
"200": {
@@ -1360,7 +1324,6 @@
"/user": {
"get": {
"operationId": "getAllUsers",
- "description": "",
"parameters": [
{
"name": "isAll",
@@ -1400,7 +1363,6 @@
},
"post": {
"operationId": "createUser",
- "description": "",
"parameters": [],
"requestBody": {
"required": true,
@@ -1438,7 +1400,6 @@
},
"put": {
"operationId": "updateUser",
- "description": "",
"parameters": [],
"requestBody": {
"required": true,
@@ -1478,7 +1439,6 @@
"/user/info/{userId}": {
"get": {
"operationId": "getUserById",
- "description": "",
"parameters": [
{
"name": "userId",
@@ -1518,7 +1478,6 @@
"/user/me": {
"get": {
"operationId": "getMyUserInfo",
- "description": "",
"parameters": [],
"responses": {
"200": {
@@ -1548,7 +1507,6 @@
"/user/count": {
"get": {
"operationId": "getUserCount",
- "description": "",
"parameters": [
{
"name": "admin",
@@ -1580,7 +1538,6 @@
"/user/{userId}": {
"delete": {
"operationId": "deleteUser",
- "description": "",
"parameters": [
{
"name": "userId",
@@ -1620,7 +1577,6 @@
"/user/{userId}/restore": {
"post": {
"operationId": "restoreUser",
- "description": "",
"parameters": [
{
"name": "userId",
@@ -1660,7 +1616,6 @@
"/user/profile-image": {
"post": {
"operationId": "createProfileImage",
- "description": "",
"parameters": [],
"requestBody": {
"required": true,
@@ -1701,7 +1656,6 @@
"/user/profile-image/{userId}": {
"get": {
"operationId": "getProfileImage",
- "description": "",
"parameters": [
{
"name": "userId",
@@ -1741,7 +1695,6 @@
"/asset/upload": {
"post": {
"operationId": "uploadFile",
- "description": "",
"parameters": [
{
"name": "key",
@@ -1791,7 +1744,6 @@
"/asset/download/{assetId}": {
"get": {
"operationId": "downloadFile",
- "description": "",
"parameters": [
{
"name": "assetId",
@@ -1840,7 +1792,6 @@
"/asset/download-files": {
"post": {
"operationId": "downloadFiles",
- "description": "",
"parameters": [
{
"name": "key",
@@ -1949,7 +1900,6 @@
"/asset/file/{assetId}": {
"get": {
"operationId": "serveFile",
- "description": "",
"parameters": [
{
"name": "isThumb",
@@ -2016,7 +1966,6 @@
"/asset/thumbnail/{assetId}": {
"get": {
"operationId": "getAssetThumbnail",
- "description": "",
"parameters": [
{
"name": "assetId",
@@ -2073,7 +2022,6 @@
"/asset/curated-objects": {
"get": {
"operationId": "getCuratedObjects",
- "description": "",
"parameters": [],
"responses": {
"200": {
@@ -2106,7 +2054,6 @@
"/asset/curated-locations": {
"get": {
"operationId": "getCuratedLocations",
- "description": "",
"parameters": [],
"responses": {
"200": {
@@ -2139,7 +2086,6 @@
"/asset/search-terms": {
"get": {
"operationId": "getAssetSearchTerms",
- "description": "",
"parameters": [],
"responses": {
"200": {
@@ -2172,7 +2118,6 @@
"/asset/search": {
"post": {
"operationId": "searchAsset",
- "description": "",
"parameters": [],
"requestBody": {
"required": true,
@@ -2215,7 +2160,6 @@
"/asset/count-by-time-bucket": {
"post": {
"operationId": "getAssetCountByTimeBucket",
- "description": "",
"parameters": [],
"requestBody": {
"required": true,
@@ -2255,7 +2199,6 @@
"/asset/count-by-user-id": {
"get": {
"operationId": "getAssetCountByUserId",
- "description": "",
"parameters": [],
"responses": {
"200": {
@@ -2342,7 +2285,6 @@
},
"delete": {
"operationId": "deleteAsset",
- "description": "",
"parameters": [],
"requestBody": {
"required": true,
@@ -2385,7 +2327,6 @@
"/asset/time-bucket": {
"post": {
"operationId": "getAssetByTimeBucket",
- "description": "",
"parameters": [],
"requestBody": {
"required": true,
@@ -2658,7 +2599,6 @@
"/asset/shared-link": {
"post": {
"operationId": "createAssetsSharedLink",
- "description": "",
"parameters": [],
"requestBody": {
"required": true,
@@ -2698,7 +2638,6 @@
"/asset/shared-link/add": {
"patch": {
"operationId": "addAssetsToSharedLink",
- "description": "",
"parameters": [
{
"name": "key",
@@ -2747,7 +2686,6 @@
"/asset/shared-link/remove": {
"patch": {
"operationId": "removeAssetsFromSharedLink",
- "description": "",
"parameters": [
{
"name": "key",
@@ -2796,7 +2734,6 @@
"/tag": {
"post": {
"operationId": "create",
- "description": "",
"parameters": [],
"requestBody": {
"required": true,
@@ -2834,7 +2771,6 @@
},
"get": {
"operationId": "findAll",
- "description": "",
"parameters": [],
"responses": {
"200": {
@@ -2867,7 +2803,6 @@
"/tag/{id}": {
"get": {
"operationId": "findOne",
- "description": "",
"parameters": [
{
"name": "id",
@@ -2905,7 +2840,6 @@
},
"patch": {
"operationId": "update",
- "description": "",
"parameters": [
{
"name": "id",
@@ -2953,7 +2887,6 @@
},
"delete": {
"operationId": "delete",
- "description": "",
"parameters": [
{
"name": "id",
@@ -2986,7 +2919,6 @@
"/album/count-by-user-id": {
"get": {
"operationId": "getAlbumCountByUserId",
- "description": "",
"parameters": [],
"responses": {
"200": {
@@ -3016,7 +2948,6 @@
"/album/{albumId}/users": {
"put": {
"operationId": "addUsersToAlbum",
- "description": "",
"parameters": [
{
"name": "albumId",
@@ -3066,7 +2997,6 @@
"/album/{albumId}/assets": {
"put": {
"operationId": "addAssetsToAlbum",
- "description": "",
"parameters": [
{
"name": "albumId",
@@ -3122,7 +3052,6 @@
},
"delete": {
"operationId": "removeAssetFromAlbum",
- "description": "",
"parameters": [
{
"name": "albumId",
@@ -3172,7 +3101,6 @@
"/album/{albumId}": {
"get": {
"operationId": "getAlbumInfo",
- "description": "",
"parameters": [
{
"name": "albumId",
@@ -3218,7 +3146,6 @@
},
"delete": {
"operationId": "deleteAlbum",
- "description": "",
"parameters": [
{
"name": "albumId",
@@ -3249,7 +3176,6 @@
},
"patch": {
"operationId": "updateAlbumInfo",
- "description": "",
"parameters": [
{
"name": "albumId",
@@ -3299,7 +3225,6 @@
"/album/{albumId}/user/{userId}": {
"delete": {
"operationId": "removeUserFromAlbum",
- "description": "",
"parameters": [
{
"name": "albumId",
@@ -3340,7 +3265,6 @@
"/album/{albumId}/download": {
"get": {
"operationId": "downloadArchive",
- "description": "",
"parameters": [
{
"name": "albumId",
@@ -3405,7 +3329,6 @@
"/album/create-shared-link": {
"post": {
"operationId": "createAlbumSharedLink",
- "description": "",
"parameters": [],
"requestBody": {
"required": true,
diff --git a/server/openapitools.json b/server/openapitools.json
index 061a772190..2a95527a4f 100644
--- a/server/openapitools.json
+++ b/server/openapitools.json
@@ -2,6 +2,6 @@
"$schema": "./node_modules/@openapitools/openapi-generator-cli/config.schema.json",
"spaces": 2,
"generator-cli": {
- "version": "6.0.1"
+ "version": "6.5.0"
}
-}
+}
\ No newline at end of file
diff --git a/server/package-lock.json b/server/package-lock.json
index 46475233a1..db8d34ac58 100644
--- a/server/package-lock.json
+++ b/server/package-lock.json
@@ -6,7 +6,7 @@
"packages": {
"": {
"name": "immich",
- "version": "1.52.1",
+ "version": "1.53.0",
"license": "UNLICENSED",
"dependencies": {
"@babel/runtime": "^7.20.13",
@@ -57,7 +57,7 @@
"@nestjs/cli": "^9.1.8",
"@nestjs/schematics": "^9.0.4",
"@nestjs/testing": "^9.2.1",
- "@openapitools/openapi-generator-cli": "2.5.1",
+ "@openapitools/openapi-generator-cli": "2.5.2",
"@types/archiver": "^5.3.1",
"@types/bcrypt": "^5.0.0",
"@types/cookie-parser": "^1.4.3",
@@ -1583,13 +1583,13 @@
}
},
"node_modules/@nestjs/mapped-types": {
- "version": "1.2.0",
- "resolved": "https://registry.npmjs.org/@nestjs/mapped-types/-/mapped-types-1.2.0.tgz",
- "integrity": "sha512-NTFwPZkQWsArQH8QSyFWGZvJ08gR+R4TofglqZoihn/vU+ktHEJjMqsIsADwb7XD97DhiD+TVv5ac+jG33BHrg==",
+ "version": "1.2.2",
+ "resolved": "https://registry.npmjs.org/@nestjs/mapped-types/-/mapped-types-1.2.2.tgz",
+ "integrity": "sha512-3dHxLXs3M0GPiriAcCFFJQHoDFUuzTD5w6JDhE7TyfT89YKpe6tcCCIqOZWdXmt9AZjjK30RkHRSFF+QEnWFQg==",
"peerDependencies": {
"@nestjs/common": "^7.0.8 || ^8.0.0 || ^9.0.0",
"class-transformer": "^0.2.0 || ^0.3.0 || ^0.4.0 || ^0.5.0",
- "class-validator": "^0.11.1 || ^0.12.0 || ^0.13.0",
+ "class-validator": "^0.11.1 || ^0.12.0 || ^0.13.0 || ^0.14.0",
"reflect-metadata": "^0.1.12"
},
"peerDependenciesMeta": {
@@ -1670,15 +1670,15 @@
}
},
"node_modules/@nestjs/swagger": {
- "version": "6.1.4",
- "resolved": "https://registry.npmjs.org/@nestjs/swagger/-/swagger-6.1.4.tgz",
- "integrity": "sha512-kE8VjR+NaoKqxg8XqM/YYfALScPh4AcoR8Wywga8/OxHsTHY+MKxqvTpWp7IhCUWSA6xT8nQUpcC9Rt7C+r7Hw==",
+ "version": "6.3.0",
+ "resolved": "https://registry.npmjs.org/@nestjs/swagger/-/swagger-6.3.0.tgz",
+ "integrity": "sha512-Gnig189oa1tD+h0BYIfUwhp/wvvmTn6iO3csR2E4rQrDTgCxSxZDlNdfZo3AC+Rmf8u0KX4ZAX1RZN1qXTtC7A==",
"dependencies": {
- "@nestjs/mapped-types": "1.2.0",
+ "@nestjs/mapped-types": "1.2.2",
"js-yaml": "4.1.0",
"lodash": "4.17.21",
"path-to-regexp": "3.2.0",
- "swagger-ui-dist": "4.15.5"
+ "swagger-ui-dist": "4.18.2"
},
"peerDependencies": {
"@fastify/static": "^6.0.0",
@@ -1817,9 +1817,9 @@
}
},
"node_modules/@openapitools/openapi-generator-cli": {
- "version": "2.5.1",
- "resolved": "https://registry.npmjs.org/@openapitools/openapi-generator-cli/-/openapi-generator-cli-2.5.1.tgz",
- "integrity": "sha512-WSRQBU0dCSVD+0Qv8iCsv0C4iMaZe/NpJ/CT4SmrEYLH3txoKTE8wEfbdj/kqShS8Or0YEGDPUzhSIKY151L0w==",
+ "version": "2.5.2",
+ "resolved": "https://registry.npmjs.org/@openapitools/openapi-generator-cli/-/openapi-generator-cli-2.5.2.tgz",
+ "integrity": "sha512-FLgkjzpDiHVsH821db0VDSElDoA6TcspGyq3RD4zLBJaJhbSsRwr4u87sNoyuHKBg4OMJbZMT4iJxAhkosKrzw==",
"dev": true,
"hasInstallScript": true,
"dependencies": {
@@ -10365,9 +10365,9 @@
}
},
"node_modules/swagger-ui-dist": {
- "version": "4.15.5",
- "resolved": "https://registry.npmjs.org/swagger-ui-dist/-/swagger-ui-dist-4.15.5.tgz",
- "integrity": "sha512-V3eIa28lwB6gg7/wfNvAbjwJYmDXy1Jo1POjyTzlB6wPcHiGlRxq39TSjYGVjQrUSAzpv+a7nzp7mDxgNy57xA=="
+ "version": "4.18.2",
+ "resolved": "https://registry.npmjs.org/swagger-ui-dist/-/swagger-ui-dist-4.18.2.tgz",
+ "integrity": "sha512-oVBoBl9Dg+VJw8uRWDxlyUyHoNEDC0c1ysT6+Boy6CTgr2rUcLcfPon4RvxgS2/taNW6O0+US+Z/dlAsWFjOAQ=="
},
"node_modules/symbol-observable": {
"version": "4.0.0",
@@ -12829,9 +12829,9 @@
}
},
"@nestjs/mapped-types": {
- "version": "1.2.0",
- "resolved": "https://registry.npmjs.org/@nestjs/mapped-types/-/mapped-types-1.2.0.tgz",
- "integrity": "sha512-NTFwPZkQWsArQH8QSyFWGZvJ08gR+R4TofglqZoihn/vU+ktHEJjMqsIsADwb7XD97DhiD+TVv5ac+jG33BHrg==",
+ "version": "1.2.2",
+ "resolved": "https://registry.npmjs.org/@nestjs/mapped-types/-/mapped-types-1.2.2.tgz",
+ "integrity": "sha512-3dHxLXs3M0GPiriAcCFFJQHoDFUuzTD5w6JDhE7TyfT89YKpe6tcCCIqOZWdXmt9AZjjK30RkHRSFF+QEnWFQg==",
"requires": {}
},
"@nestjs/platform-express": {
@@ -12878,15 +12878,15 @@
}
},
"@nestjs/swagger": {
- "version": "6.1.4",
- "resolved": "https://registry.npmjs.org/@nestjs/swagger/-/swagger-6.1.4.tgz",
- "integrity": "sha512-kE8VjR+NaoKqxg8XqM/YYfALScPh4AcoR8Wywga8/OxHsTHY+MKxqvTpWp7IhCUWSA6xT8nQUpcC9Rt7C+r7Hw==",
+ "version": "6.3.0",
+ "resolved": "https://registry.npmjs.org/@nestjs/swagger/-/swagger-6.3.0.tgz",
+ "integrity": "sha512-Gnig189oa1tD+h0BYIfUwhp/wvvmTn6iO3csR2E4rQrDTgCxSxZDlNdfZo3AC+Rmf8u0KX4ZAX1RZN1qXTtC7A==",
"requires": {
- "@nestjs/mapped-types": "1.2.0",
+ "@nestjs/mapped-types": "1.2.2",
"js-yaml": "4.1.0",
"lodash": "4.17.21",
"path-to-regexp": "3.2.0",
- "swagger-ui-dist": "4.15.5"
+ "swagger-ui-dist": "4.18.2"
}
},
"@nestjs/testing": {
@@ -12953,9 +12953,9 @@
}
},
"@openapitools/openapi-generator-cli": {
- "version": "2.5.1",
- "resolved": "https://registry.npmjs.org/@openapitools/openapi-generator-cli/-/openapi-generator-cli-2.5.1.tgz",
- "integrity": "sha512-WSRQBU0dCSVD+0Qv8iCsv0C4iMaZe/NpJ/CT4SmrEYLH3txoKTE8wEfbdj/kqShS8Or0YEGDPUzhSIKY151L0w==",
+ "version": "2.5.2",
+ "resolved": "https://registry.npmjs.org/@openapitools/openapi-generator-cli/-/openapi-generator-cli-2.5.2.tgz",
+ "integrity": "sha512-FLgkjzpDiHVsH821db0VDSElDoA6TcspGyq3RD4zLBJaJhbSsRwr4u87sNoyuHKBg4OMJbZMT4iJxAhkosKrzw==",
"dev": true,
"requires": {
"@nestjs/common": "8.4.4",
@@ -19588,9 +19588,9 @@
"dev": true
},
"swagger-ui-dist": {
- "version": "4.15.5",
- "resolved": "https://registry.npmjs.org/swagger-ui-dist/-/swagger-ui-dist-4.15.5.tgz",
- "integrity": "sha512-V3eIa28lwB6gg7/wfNvAbjwJYmDXy1Jo1POjyTzlB6wPcHiGlRxq39TSjYGVjQrUSAzpv+a7nzp7mDxgNy57xA=="
+ "version": "4.18.2",
+ "resolved": "https://registry.npmjs.org/swagger-ui-dist/-/swagger-ui-dist-4.18.2.tgz",
+ "integrity": "sha512-oVBoBl9Dg+VJw8uRWDxlyUyHoNEDC0c1ysT6+Boy6CTgr2rUcLcfPon4RvxgS2/taNW6O0+US+Z/dlAsWFjOAQ=="
},
"symbol-observable": {
"version": "4.0.0",
diff --git a/server/package.json b/server/package.json
index 82bd168940..22a3c65d7f 100644
--- a/server/package.json
+++ b/server/package.json
@@ -85,7 +85,7 @@
"@nestjs/cli": "^9.1.8",
"@nestjs/schematics": "^9.0.4",
"@nestjs/testing": "^9.2.1",
- "@openapitools/openapi-generator-cli": "2.5.1",
+ "@openapitools/openapi-generator-cli": "2.5.2",
"@types/archiver": "^5.3.1",
"@types/bcrypt": "^5.0.0",
"@types/cookie-parser": "^1.4.3",
@@ -158,4 +158,4 @@
},
"globalSetup": "<rootDir>/libs/domain/test/global-setup.js"
}
-}
+}
\ No newline at end of file
diff --git a/web/src/api/open-api/.openapi-generator/VERSION b/web/src/api/open-api/.openapi-generator/VERSION
index 6d54bbd775..4be2c727ad 100644
--- a/web/src/api/open-api/.openapi-generator/VERSION
+++ b/web/src/api/open-api/.openapi-generator/VERSION
@@ -1 +1 @@
-6.0.1
\ No newline at end of file
+6.5.0
\ No newline at end of file
diff --git a/web/src/api/open-api/api.ts b/web/src/api/open-api/api.ts
index 0ec6fc438c..b1e38dae25 100644
--- a/web/src/api/open-api/api.ts
+++ b/web/src/api/open-api/api.ts
@@ -13,13 +13,15 @@
*/
-import { Configuration } from './configuration';
-import globalAxios, { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
+import type { Configuration } from './configuration';
+import type { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
+import globalAxios from 'axios';
// Some imports not used depending on template conditions
// @ts-ignore
import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from './common';
+import type { RequestArgs } from './base';
// @ts-ignore
-import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from './base';
+import { BASE_PATH, COLLECTION_FORMATS, BaseAPI, RequiredError } from './base';
/**
*
@@ -553,6 +555,8 @@ export interface AssetResponseDto {
*/
'tags'?: Array<TagResponseDto>;
}
+
+
/**
*
* @export
@@ -807,6 +811,8 @@ export interface CreateTagDto {
*/
'name': string;
}
+
+
/**
*
* @export
@@ -944,6 +950,8 @@ export interface DeleteAssetResponseDto {
*/
'id': string;
}
+
+
/**
*
* @export
@@ -1001,6 +1009,8 @@ export interface DeviceInfoResponseDto {
*/
'isAutoBackup': boolean;
}
+
+
/**
*
* @export
@@ -1219,6 +1229,8 @@ export interface GetAssetCountByTimeBucketDto {
*/
'timeGroup': TimeGroupEnum;
}
+
+
/**
*
* @export
@@ -1254,6 +1266,8 @@ export interface JobCommandDto {
*/
'force': boolean;
}
+
+
/**
*
* @export
@@ -1904,6 +1918,8 @@ export interface SharedLinkResponseDto {
*/
'showExif': boolean;
}
+
+
/**
*
* @export
@@ -2231,6 +2247,8 @@ export interface TagResponseDto {
*/
'renameTagId'?: string | null;
}
+
+
/**
*
* @export
@@ -2405,6 +2423,8 @@ export interface UpsertDeviceInfoDto {
*/
'isAutoBackup'?: boolean;
}
+
+
/**
*
* @export
@@ -2575,12 +2595,12 @@ export const APIKeyApiAxiosParamCreator = function (configuration?: Configuratio
const localVarHeaderParameter = {} as any;
const localVarQueryParameter = {} as any;
+ // authentication cookie required
+
// authentication bearer required
// http bearer authentication required
await setBearerAuthToObject(localVarHeaderParameter, configuration)
- // authentication cookie required
-
localVarHeaderParameter['Content-Type'] = 'application/json';
@@ -2617,12 +2637,12 @@ export const APIKeyApiAxiosParamCreator = function (configuration?: Configuratio
const localVarHeaderParameter = {} as any;
const localVarQueryParameter = {} as any;
+ // authentication cookie required
+
// authentication bearer required
// http bearer authentication required
await setBearerAuthToObject(localVarHeaderParameter, configuration)
- // authentication cookie required
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -2656,12 +2676,12 @@ export const APIKeyApiAxiosParamCreator = function (configuration?: Configuratio
const localVarHeaderParameter = {} as any;
const localVarQueryParameter = {} as any;
+ // authentication cookie required
+
// authentication bearer required
// http bearer authentication required
await setBearerAuthToObject(localVarHeaderParameter, configuration)
- // authentication cookie required
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -2691,12 +2711,12 @@ export const APIKeyApiAxiosParamCreator = function (configuration?: Configuratio
const localVarHeaderParameter = {} as any;
const localVarQueryParameter = {} as any;
+ // authentication cookie required
+
// authentication bearer required
// http bearer authentication required
await setBearerAuthToObject(localVarHeaderParameter, configuration)
- // authentication cookie required
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -2733,12 +2753,12 @@ export const APIKeyApiAxiosParamCreator = function (configuration?: Configuratio
const localVarHeaderParameter = {} as any;
const localVarQueryParameter = {} as any;
+ // authentication cookie required
+
// authentication bearer required
// http bearer authentication required
await setBearerAuthToObject(localVarHeaderParameter, configuration)
- // authentication cookie required
-
localVarHeaderParameter['Content-Type'] = 'application/json';
@@ -2967,12 +2987,12 @@ export const AlbumApiAxiosParamCreator = function (configuration?: Configuration
const localVarHeaderParameter = {} as any;
const localVarQueryParameter = {} as any;
+ // authentication cookie required
+
// authentication bearer required
// http bearer authentication required
await setBearerAuthToObject(localVarHeaderParameter, configuration)
- // authentication cookie required
-
if (key !== undefined) {
localVarQueryParameter['key'] = key;
}
@@ -3016,12 +3036,12 @@ export const AlbumApiAxiosParamCreator = function (configuration?: Configuration
const localVarHeaderParameter = {} as any;
const localVarQueryParameter = {} as any;
+ // authentication cookie required
+
// authentication bearer required
// http bearer authentication required
await setBearerAuthToObject(localVarHeaderParameter, configuration)
- // authentication cookie required
-
localVarHeaderParameter['Content-Type'] = 'application/json';
@@ -3057,12 +3077,12 @@ export const AlbumApiAxiosParamCreator = function (configuration?: Configuration
const localVarHeaderParameter = {} as any;
const localVarQueryParameter = {} as any;
+ // authentication cookie required
+
// authentication bearer required
// http bearer authentication required
await setBearerAuthToObject(localVarHeaderParameter, configuration)
- // authentication cookie required
-
localVarHeaderParameter['Content-Type'] = 'application/json';
@@ -3098,12 +3118,12 @@ export const AlbumApiAxiosParamCreator = function (configuration?: Configuration
const localVarHeaderParameter = {} as any;
const localVarQueryParameter = {} as any;
+ // authentication cookie required
+
// authentication bearer required
// http bearer authentication required
await setBearerAuthToObject(localVarHeaderParameter, configuration)
- // authentication cookie required
-
localVarHeaderParameter['Content-Type'] = 'application/json';
@@ -3140,12 +3160,12 @@ export const AlbumApiAxiosParamCreator = function (configuration?: Configuration
const localVarHeaderParameter = {} as any;
const localVarQueryParameter = {} as any;
+ // authentication cookie required
+
// authentication bearer required
// http bearer authentication required
await setBearerAuthToObject(localVarHeaderParameter, configuration)
- // authentication cookie required
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -3182,12 +3202,12 @@ export const AlbumApiAxiosParamCreator = function (configuration?: Configuration
const localVarHeaderParameter = {} as any;
const localVarQueryParameter = {} as any;
+ // authentication cookie required
+
// authentication bearer required
// http bearer authentication required
await setBearerAuthToObject(localVarHeaderParameter, configuration)
- // authentication cookie required
-
if (name !== undefined) {
localVarQueryParameter['name'] = name;
}
@@ -3229,12 +3249,12 @@ export const AlbumApiAxiosParamCreator = function (configuration?: Configuration
const localVarHeaderParameter = {} as any;
const localVarQueryParameter = {} as any;
+ // authentication cookie required
+
// authentication bearer required
// http bearer authentication required
await setBearerAuthToObject(localVarHeaderParameter, configuration)
- // authentication cookie required
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -3269,12 +3289,12 @@ export const AlbumApiAxiosParamCreator = function (configuration?: Configuration
const localVarHeaderParameter = {} as any;
const localVarQueryParameter = {} as any;
+ // authentication cookie required
+
// authentication bearer required
// http bearer authentication required
await setBearerAuthToObject(localVarHeaderParameter, configuration)
- // authentication cookie required
-
if (key !== undefined) {
localVarQueryParameter['key'] = key;
}
@@ -3310,12 +3330,12 @@ export const AlbumApiAxiosParamCreator = function (configuration?: Configuration
const localVarHeaderParameter = {} as any;
const localVarQueryParameter = {} as any;
+ // authentication cookie required
+
// authentication bearer required
// http bearer authentication required
await setBearerAuthToObject(localVarHeaderParameter, configuration)
- // authentication cookie required
-
if (shared !== undefined) {
localVarQueryParameter['shared'] = shared;
}
@@ -3360,12 +3380,12 @@ export const AlbumApiAxiosParamCreator = function (configuration?: Configuration
const localVarHeaderParameter = {} as any;
const localVarQueryParameter = {} as any;
+ // authentication cookie required
+
// authentication bearer required
// http bearer authentication required
await setBearerAuthToObject(localVarHeaderParameter, configuration)
- // authentication cookie required
-
localVarHeaderParameter['Content-Type'] = 'application/json';
@@ -3406,12 +3426,12 @@ export const AlbumApiAxiosParamCreator = function (configuration?: Configuration
const localVarHeaderParameter = {} as any;
const localVarQueryParameter = {} as any;
+ // authentication cookie required
+
// authentication bearer required
// http bearer authentication required
await setBearerAuthToObject(localVarHeaderParameter, configuration)
- // authentication cookie required
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -3448,12 +3468,12 @@ export const AlbumApiAxiosParamCreator = function (configuration?: Configuration
const localVarHeaderParameter = {} as any;
const localVarQueryParameter = {} as any;
+ // authentication cookie required
+
// authentication bearer required
// http bearer authentication required
await setBearerAuthToObject(localVarHeaderParameter, configuration)
- // authentication cookie required
-
localVarHeaderParameter['Content-Type'] = 'application/json';
@@ -3540,7 +3560,7 @@ export const AlbumApiFp = function(configuration?: Configuration) {
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
- async downloadArchive(albumId: string, name?: string, skip?: number, key?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>> {
+ async downloadArchive(albumId: string, name?: string, skip?: number, key?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>> {
const localVarAxiosArgs = await localVarAxiosParamCreator.downloadArchive(albumId, name, skip, key, options);
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
},
@@ -3675,7 +3695,7 @@ export const AlbumApiFactory = function (configuration?: Configuration, basePath
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
- downloadArchive(albumId: string, name?: string, skip?: number, key?: string, options?: any): AxiosPromise<any> {
+ downloadArchive(albumId: string, name?: string, skip?: number, key?: string, options?: any): AxiosPromise<File> {
return localVarFp.downloadArchive(albumId, name, skip, key, options).then((request) => request(axios, basePath));
},
/**
@@ -3918,12 +3938,12 @@ export const AssetApiAxiosParamCreator = function (configuration?: Configuration
const localVarHeaderParameter = {} as any;
const localVarQueryParameter = {} as any;
+ // authentication cookie required
+
// authentication bearer required
// http bearer authentication required
await setBearerAuthToObject(localVarHeaderParameter, configuration)
- // authentication cookie required
-
if (key !== undefined) {
localVarQueryParameter['key'] = key;
}
@@ -3964,12 +3984,12 @@ export const AssetApiAxiosParamCreator = function (configuration?: Configuration
const localVarHeaderParameter = {} as any;
const localVarQueryParameter = {} as any;
+ // authentication cookie required
+
// authentication bearer required
// http bearer authentication required
await setBearerAuthToObject(localVarHeaderParameter, configuration)
- // authentication cookie required
-
if (key !== undefined) {
localVarQueryParameter['key'] = key;
}
@@ -4009,12 +4029,12 @@ export const AssetApiAxiosParamCreator = function (configuration?: Configuration
const localVarHeaderParameter = {} as any;
const localVarQueryParameter = {} as any;
+ // authentication cookie required
+
// authentication bearer required
// http bearer authentication required
await setBearerAuthToObject(localVarHeaderParameter, configuration)
- // authentication cookie required
-
localVarHeaderParameter['Content-Type'] = 'application/json';
@@ -4050,12 +4070,12 @@ export const AssetApiAxiosParamCreator = function (configuration?: Configuration
const localVarHeaderParameter = {} as any;
const localVarQueryParameter = {} as any;
+ // authentication cookie required
+
// authentication bearer required
// http bearer authentication required
await setBearerAuthToObject(localVarHeaderParameter, configuration)
- // authentication cookie required
-
localVarHeaderParameter['Content-Type'] = 'application/json';
@@ -4091,12 +4111,12 @@ export const AssetApiAxiosParamCreator = function (configuration?: Configuration
const localVarHeaderParameter = {} as any;
const localVarQueryParameter = {} as any;
+ // authentication cookie required
+
// authentication bearer required
// http bearer authentication required
await setBearerAuthToObject(localVarHeaderParameter, configuration)
- // authentication cookie required
-
localVarHeaderParameter['Content-Type'] = 'application/json';
@@ -4134,12 +4154,12 @@ export const AssetApiAxiosParamCreator = function (configuration?: Configuration
const localVarHeaderParameter = {} as any;
const localVarQueryParameter = {} as any;
+ // authentication cookie required
+
// authentication bearer required
// http bearer authentication required
await setBearerAuthToObject(localVarHeaderParameter, configuration)
- // authentication cookie required
-
if (key !== undefined) {
localVarQueryParameter['key'] = key;
}
@@ -4177,12 +4197,12 @@ export const AssetApiAxiosParamCreator = function (configuration?: Configuration
const localVarHeaderParameter = {} as any;
const localVarQueryParameter = {} as any;
+ // authentication cookie required
+
// authentication bearer required
// http bearer authentication required
await setBearerAuthToObject(localVarHeaderParameter, configuration)
- // authentication cookie required
-
if (key !== undefined) {
localVarQueryParameter['key'] = key;
}
@@ -4222,12 +4242,12 @@ export const AssetApiAxiosParamCreator = function (configuration?: Configuration
const localVarHeaderParameter = {} as any;
const localVarQueryParameter = {} as any;
+ // authentication cookie required
+
// authentication bearer required
// http bearer authentication required
await setBearerAuthToObject(localVarHeaderParameter, configuration)
- // authentication cookie required
-
if (name !== undefined) {
localVarQueryParameter['name'] = name;
}
@@ -4272,12 +4292,12 @@ export const AssetApiAxiosParamCreator = function (configuration?: Configuration
const localVarHeaderParameter = {} as any;
const localVarQueryParameter = {} as any;
+ // authentication cookie required
+
// authentication bearer required
// http bearer authentication required
await setBearerAuthToObject(localVarHeaderParameter, configuration)
- // authentication cookie required
-
if (isFavorite !== undefined) {
localVarQueryParameter['isFavorite'] = isFavorite;
}
@@ -4324,12 +4344,12 @@ export const AssetApiAxiosParamCreator = function (configuration?: Configuration
const localVarHeaderParameter = {} as any;
const localVarQueryParameter = {} as any;
+ // authentication cookie required
+
// authentication bearer required
// http bearer authentication required
await setBearerAuthToObject(localVarHeaderParameter, configuration)
- // authentication cookie required
-
if (key !== undefined) {
localVarQueryParameter['key'] = key;
}
@@ -4366,12 +4386,12 @@ export const AssetApiAxiosParamCreator = function (configuration?: Configuration
const localVarHeaderParameter = {} as any;
const localVarQueryParameter = {} as any;
+ // authentication cookie required
+
// authentication bearer required
// http bearer authentication required
await setBearerAuthToObject(localVarHeaderParameter, configuration)
- // authentication cookie required
-
localVarHeaderParameter['Content-Type'] = 'application/json';
@@ -4407,12 +4427,12 @@ export const AssetApiAxiosParamCreator = function (configuration?: Configuration
const localVarHeaderParameter = {} as any;
const localVarQueryParameter = {} as any;
+ // authentication cookie required
+
// authentication bearer required
// http bearer authentication required
await setBearerAuthToObject(localVarHeaderParameter, configuration)
- // authentication cookie required
-
localVarHeaderParameter['Content-Type'] = 'application/json';
@@ -4445,12 +4465,12 @@ export const AssetApiAxiosParamCreator = function (configuration?: Configuration
const localVarHeaderParameter = {} as any;
const localVarQueryParameter = {} as any;
+ // authentication cookie required
+
// authentication bearer required
// http bearer authentication required
await setBearerAuthToObject(localVarHeaderParameter, configuration)
- // authentication cookie required
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -4480,12 +4500,12 @@ export const AssetApiAxiosParamCreator = function (configuration?: Configuration
const localVarHeaderParameter = {} as any;
const localVarQueryParameter = {} as any;
+ // authentication cookie required
+
// authentication bearer required
// http bearer authentication required
await setBearerAuthToObject(localVarHeaderParameter, configuration)
- // authentication cookie required
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -4521,12 +4541,12 @@ export const AssetApiAxiosParamCreator = function (configuration?: Configuration
const localVarHeaderParameter = {} as any;
const localVarQueryParameter = {} as any;
+ // authentication cookie required
+
// authentication bearer required
// http bearer authentication required
await setBearerAuthToObject(localVarHeaderParameter, configuration)
- // authentication cookie required
-
if (format !== undefined) {
localVarQueryParameter['format'] = format;
}
@@ -4564,12 +4584,12 @@ export const AssetApiAxiosParamCreator = function (configuration?: Configuration
const localVarHeaderParameter = {} as any;
const localVarQueryParameter = {} as any;
+ // authentication cookie required
+
// authentication bearer required
// http bearer authentication required
await setBearerAuthToObject(localVarHeaderParameter, configuration)
- // authentication cookie required
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -4599,12 +4619,12 @@ export const AssetApiAxiosParamCreator = function (configuration?: Configuration
const localVarHeaderParameter = {} as any;
const localVarQueryParameter = {} as any;
+ // authentication cookie required
+
// authentication bearer required
// http bearer authentication required
await setBearerAuthToObject(localVarHeaderParameter, configuration)
- // authentication cookie required
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -4638,12 +4658,12 @@ export const AssetApiAxiosParamCreator = function (configuration?: Configuration
const localVarHeaderParameter = {} as any;
const localVarQueryParameter = {} as any;
+ // authentication cookie required
+
// authentication bearer required
// http bearer authentication required
await setBearerAuthToObject(localVarHeaderParameter, configuration)
- // authentication cookie required
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -4677,12 +4697,12 @@ export const AssetApiAxiosParamCreator = function (configuration?: Configuration
const localVarHeaderParameter = {} as any;
const localVarQueryParameter = {} as any;
+ // authentication cookie required
+
// authentication bearer required
// http bearer authentication required
await setBearerAuthToObject(localVarHeaderParameter, configuration)
- // authentication cookie required
-
if (key !== undefined) {
localVarQueryParameter['key'] = key;
}
@@ -4722,12 +4742,12 @@ export const AssetApiAxiosParamCreator = function (configuration?: Configuration
const localVarHeaderParameter = {} as any;
const localVarQueryParameter = {} as any;
+ // authentication cookie required
+
// authentication bearer required
// http bearer authentication required
await setBearerAuthToObject(localVarHeaderParameter, configuration)
- // authentication cookie required
-
localVarHeaderParameter['Content-Type'] = 'application/json';
@@ -4767,12 +4787,12 @@ export const AssetApiAxiosParamCreator = function (configuration?: Configuration
const localVarHeaderParameter = {} as any;
const localVarQueryParameter = {} as any;
+ // authentication cookie required
+
// authentication bearer required
// http bearer authentication required
await setBearerAuthToObject(localVarHeaderParameter, configuration)
- // authentication cookie required
-
if (isThumb !== undefined) {
localVarQueryParameter['isThumb'] = isThumb;
}
@@ -4821,12 +4841,12 @@ export const AssetApiAxiosParamCreator = function (configuration?: Configuration
const localVarHeaderParameter = {} as any;
const localVarQueryParameter = {} as any;
+ // authentication cookie required
+
// authentication bearer required
// http bearer authentication required
await setBearerAuthToObject(localVarHeaderParameter, configuration)
- // authentication cookie required
-
localVarHeaderParameter['Content-Type'] = 'application/json';
@@ -4844,7 +4864,7 @@ export const AssetApiAxiosParamCreator = function (configuration?: Configuration
/**
*
* @param {AssetTypeEnum} assetType
- * @param {any} assetData
+ * @param {File} assetData
* @param {string} deviceAssetId
* @param {string} deviceId
* @param {string} fileCreatedAt
@@ -4852,13 +4872,13 @@ export const AssetApiAxiosParamCreator = function (configuration?: Configuration
* @param {boolean} isFavorite
* @param {string} fileExtension
* @param {string} [key]
- * @param {any} [livePhotoData]
+ * @param {File} [livePhotoData]
* @param {boolean} [isVisible]
* @param {string} [duration]
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
- uploadFile: async (assetType: AssetTypeEnum, assetData: any, deviceAssetId: string, deviceId: string, fileCreatedAt: string, fileModifiedAt: string, isFavorite: boolean, fileExtension: string, key?: string, livePhotoData?: any, isVisible?: boolean, duration?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
+ uploadFile: async (assetType: AssetTypeEnum, assetData: File, deviceAssetId: string, deviceId: string, fileCreatedAt: string, fileModifiedAt: string, isFavorite: boolean, fileExtension: string, key?: string, livePhotoData?: File, isVisible?: boolean, duration?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
// verify required parameter 'assetType' is not null or undefined
assertParamExists('uploadFile', 'assetType', assetType)
// verify required parameter 'assetData' is not null or undefined
@@ -4888,12 +4908,12 @@ export const AssetApiAxiosParamCreator = function (configuration?: Configuration
const localVarQueryParameter = {} as any;
const localVarFormParams = new ((configuration && configuration.formDataCtor) || FormData)();
+ // authentication cookie required
+
// authentication bearer required
// http bearer authentication required
await setBearerAuthToObject(localVarHeaderParameter, configuration)
- // authentication cookie required
-
if (key !== undefined) {
localVarQueryParameter['key'] = key;
}
@@ -5025,7 +5045,7 @@ export const AssetApiFp = function(configuration?: Configuration) {
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
- async downloadFile(assetId: string, key?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>> {
+ async downloadFile(assetId: string, key?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>> {
const localVarAxiosArgs = await localVarAxiosParamCreator.downloadFile(assetId, key, options);
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
},
@@ -5036,7 +5056,7 @@ export const AssetApiFp = function(configuration?: Configuration) {
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
- async downloadFiles(downloadFilesDto: DownloadFilesDto, key?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>> {
+ async downloadFiles(downloadFilesDto: DownloadFilesDto, key?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>> {
const localVarAxiosArgs = await localVarAxiosParamCreator.downloadFiles(downloadFilesDto, key, options);
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
},
@@ -5048,7 +5068,7 @@ export const AssetApiFp = function(configuration?: Configuration) {
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
- async downloadLibrary(name?: string, skip?: number, key?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>> {
+ async downloadLibrary(name?: string, skip?: number, key?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>> {
const localVarAxiosArgs = await localVarAxiosParamCreator.downloadLibrary(name, skip, key, options);
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
},
@@ -5121,7 +5141,7 @@ export const AssetApiFp = function(configuration?: Configuration) {
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
- async getAssetThumbnail(assetId: string, format?: ThumbnailFormat, key?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>> {
+ async getAssetThumbnail(assetId: string, format?: ThumbnailFormat, key?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>> {
const localVarAxiosArgs = await localVarAxiosParamCreator.getAssetThumbnail(assetId, format, key, options);
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
},
@@ -5183,7 +5203,7 @@ export const AssetApiFp = function(configuration?: Configuration) {
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
- async serveFile(assetId: string, isThumb?: boolean, isWeb?: boolean, key?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>> {
+ async serveFile(assetId: string, isThumb?: boolean, isWeb?: boolean, key?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>> {
const localVarAxiosArgs = await localVarAxiosParamCreator.serveFile(assetId, isThumb, isWeb, key, options);
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
},
@@ -5201,7 +5221,7 @@ export const AssetApiFp = function(configuration?: Configuration) {
/**
*
* @param {AssetTypeEnum} assetType
- * @param {any} assetData
+ * @param {File} assetData
* @param {string} deviceAssetId
* @param {string} deviceId
* @param {string} fileCreatedAt
@@ -5209,13 +5229,13 @@ export const AssetApiFp = function(configuration?: Configuration) {
* @param {boolean} isFavorite
* @param {string} fileExtension
* @param {string} [key]
- * @param {any} [livePhotoData]
+ * @param {File} [livePhotoData]
* @param {boolean} [isVisible]
* @param {string} [duration]
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
- async uploadFile(assetType: AssetTypeEnum, assetData: any, deviceAssetId: string, deviceId: string, fileCreatedAt: string, fileModifiedAt: string, isFavorite: boolean, fileExtension: string, key?: string, livePhotoData?: any, isVisible?: boolean, duration?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AssetFileUploadResponseDto>> {
+ async uploadFile(assetType: AssetTypeEnum, assetData: File, deviceAssetId: string, deviceId: string, fileCreatedAt: string, fileModifiedAt: string, isFavorite: boolean, fileExtension: string, key?: string, livePhotoData?: File, isVisible?: boolean, duration?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AssetFileUploadResponseDto>> {
const localVarAxiosArgs = await localVarAxiosParamCreator.uploadFile(assetType, assetData, deviceAssetId, deviceId, fileCreatedAt, fileModifiedAt, isFavorite, fileExtension, key, livePhotoData, isVisible, duration, options);
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
},
@@ -5283,7 +5303,7 @@ export const AssetApiFactory = function (configuration?: Configuration, basePath
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
- downloadFile(assetId: string, key?: string, options?: any): AxiosPromise<any> {
+ downloadFile(assetId: string, key?: string, options?: any): AxiosPromise<File> {
return localVarFp.downloadFile(assetId, key, options).then((request) => request(axios, basePath));
},
/**
@@ -5293,7 +5313,7 @@ export const AssetApiFactory = function (configuration?: Configuration, basePath
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
- downloadFiles(downloadFilesDto: DownloadFilesDto, key?: string, options?: any): AxiosPromise<any> {
+ downloadFiles(downloadFilesDto: DownloadFilesDto, key?: string, options?: any): AxiosPromise<File> {
return localVarFp.downloadFiles(downloadFilesDto, key, options).then((request) => request(axios, basePath));
},
/**
@@ -5304,7 +5324,7 @@ export const AssetApiFactory = function (configuration?: Configuration, basePath
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
- downloadLibrary(name?: string, skip?: number, key?: string, options?: any): AxiosPromise<any> {
+ downloadLibrary(name?: string, skip?: number, key?: string, options?: any): AxiosPromise<File> {
return localVarFp.downloadLibrary(name, skip, key, options).then((request) => request(axios, basePath));
},
/**
@@ -5370,7 +5390,7 @@ export const AssetApiFactory = function (configuration?: Configuration, basePath
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
- getAssetThumbnail(assetId: string, format?: ThumbnailFormat, key?: string, options?: any): AxiosPromise<any> {
+ getAssetThumbnail(assetId: string, format?: ThumbnailFormat, key?: string, options?: any): AxiosPromise<File> {
return localVarFp.getAssetThumbnail(assetId, format, key, options).then((request) => request(axios, basePath));
},
/**
@@ -5426,7 +5446,7 @@ export const AssetApiFactory = function (configuration?: Configuration, basePath
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
- serveFile(assetId: string, isThumb?: boolean, isWeb?: boolean, key?: string, options?: any): AxiosPromise<any> {
+ serveFile(assetId: string, isThumb?: boolean, isWeb?: boolean, key?: string, options?: any): AxiosPromise<File> {
return localVarFp.serveFile(assetId, isThumb, isWeb, key, options).then((request) => request(axios, basePath));
},
/**
@@ -5442,7 +5462,7 @@ export const AssetApiFactory = function (configuration?: Configuration, basePath
/**
*
* @param {AssetTypeEnum} assetType
- * @param {any} assetData
+ * @param {File} assetData
* @param {string} deviceAssetId
* @param {string} deviceId
* @param {string} fileCreatedAt
@@ -5450,13 +5470,13 @@ export const AssetApiFactory = function (configuration?: Configuration, basePath
* @param {boolean} isFavorite
* @param {string} fileExtension
* @param {string} [key]
- * @param {any} [livePhotoData]
+ * @param {File} [livePhotoData]
* @param {boolean} [isVisible]
* @param {string} [duration]
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
- uploadFile(assetType: AssetTypeEnum, assetData: any, deviceAssetId: string, deviceId: string, fileCreatedAt: string, fileModifiedAt: string, isFavorite: boolean, fileExtension: string, key?: string, livePhotoData?: any, isVisible?: boolean, duration?: string, options?: any): AxiosPromise<AssetFileUploadResponseDto> {
+ uploadFile(assetType: AssetTypeEnum, assetData: File, deviceAssetId: string, deviceId: string, fileCreatedAt: string, fileModifiedAt: string, isFavorite: boolean, fileExtension: string, key?: string, livePhotoData?: File, isVisible?: boolean, duration?: string, options?: any): AxiosPromise<AssetFileUploadResponseDto> {
return localVarFp.uploadFile(assetType, assetData, deviceAssetId, deviceId, fileCreatedAt, fileModifiedAt, isFavorite, fileExtension, key, livePhotoData, isVisible, duration, options).then((request) => request(axios, basePath));
},
};
@@ -5726,7 +5746,7 @@ export class AssetApi extends BaseAPI {
/**
*
* @param {AssetTypeEnum} assetType
- * @param {any} assetData
+ * @param {File} assetData
* @param {string} deviceAssetId
* @param {string} deviceId
* @param {string} fileCreatedAt
@@ -5734,14 +5754,14 @@ export class AssetApi extends BaseAPI {
* @param {boolean} isFavorite
* @param {string} fileExtension
* @param {string} [key]
- * @param {any} [livePhotoData]
+ * @param {File} [livePhotoData]
* @param {boolean} [isVisible]
* @param {string} [duration]
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof AssetApi
*/
- public uploadFile(assetType: AssetTypeEnum, assetData: any, deviceAssetId: string, deviceId: string, fileCreatedAt: string, fileModifiedAt: string, isFavorite: boolean, fileExtension: string, key?: string, livePhotoData?: any, isVisible?: boolean, duration?: string, options?: AxiosRequestConfig) {
+ public uploadFile(assetType: AssetTypeEnum, assetData: File, deviceAssetId: string, deviceId: string, fileCreatedAt: string, fileModifiedAt: string, isFavorite: boolean, fileExtension: string, key?: string, livePhotoData?: File, isVisible?: boolean, duration?: string, options?: AxiosRequestConfig) {
return AssetApiFp(this.configuration).uploadFile(assetType, assetData, deviceAssetId, deviceId, fileCreatedAt, fileModifiedAt, isFavorite, fileExtension, key, livePhotoData, isVisible, duration, options).then((request) => request(this.axios, this.basePath));
}
}
@@ -5809,12 +5829,12 @@ export const AuthenticationApiAxiosParamCreator = function (configuration?: Conf
const localVarHeaderParameter = {} as any;
const localVarQueryParameter = {} as any;
+ // authentication cookie required
+
// authentication bearer required
// http bearer authentication required
await setBearerAuthToObject(localVarHeaderParameter, configuration)
- // authentication cookie required
-
localVarHeaderParameter['Content-Type'] = 'application/json';
@@ -5882,12 +5902,12 @@ export const AuthenticationApiAxiosParamCreator = function (configuration?: Conf
const localVarHeaderParameter = {} as any;
const localVarQueryParameter = {} as any;
+ // authentication cookie required
+
// authentication bearer required
// http bearer authentication required
await setBearerAuthToObject(localVarHeaderParameter, configuration)
- // authentication cookie required
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -5917,12 +5937,12 @@ export const AuthenticationApiAxiosParamCreator = function (configuration?: Conf
const localVarHeaderParameter = {} as any;
const localVarQueryParameter = {} as any;
+ // authentication cookie required
+
// authentication bearer required
// http bearer authentication required
await setBearerAuthToObject(localVarHeaderParameter, configuration)
- // authentication cookie required
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -6137,12 +6157,12 @@ export const DeviceInfoApiAxiosParamCreator = function (configuration?: Configur
const localVarHeaderParameter = {} as any;
const localVarQueryParameter = {} as any;
+ // authentication cookie required
+
// authentication bearer required
// http bearer authentication required
await setBearerAuthToObject(localVarHeaderParameter, configuration)
- // authentication cookie required
-
localVarHeaderParameter['Content-Type'] = 'application/json';
@@ -6243,12 +6263,12 @@ export const JobApiAxiosParamCreator = function (configuration?: Configuration)
const localVarHeaderParameter = {} as any;
const localVarQueryParameter = {} as any;
+ // authentication cookie required
+
// authentication bearer required
// http bearer authentication required
await setBearerAuthToObject(localVarHeaderParameter, configuration)
- // authentication cookie required
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -6285,12 +6305,12 @@ export const JobApiAxiosParamCreator = function (configuration?: Configuration)
const localVarHeaderParameter = {} as any;
const localVarQueryParameter = {} as any;
+ // authentication cookie required
+
// authentication bearer required
// http bearer authentication required
await setBearerAuthToObject(localVarHeaderParameter, configuration)
- // authentication cookie required
-
localVarHeaderParameter['Content-Type'] = 'application/json';
@@ -6494,12 +6514,12 @@ export const OAuthApiAxiosParamCreator = function (configuration?: Configuration
const localVarHeaderParameter = {} as any;
const localVarQueryParameter = {} as any;
+ // authentication cookie required
+
// authentication bearer required
// http bearer authentication required
await setBearerAuthToObject(localVarHeaderParameter, configuration)
- // authentication cookie required
-
localVarHeaderParameter['Content-Type'] = 'application/json';
@@ -6561,12 +6581,12 @@ export const OAuthApiAxiosParamCreator = function (configuration?: Configuration
const localVarHeaderParameter = {} as any;
const localVarQueryParameter = {} as any;
+ // authentication cookie required
+
// authentication bearer required
// http bearer authentication required
await setBearerAuthToObject(localVarHeaderParameter, configuration)
- // authentication cookie required
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -6778,12 +6798,12 @@ export const SearchApiAxiosParamCreator = function (configuration?: Configuratio
const localVarHeaderParameter = {} as any;
const localVarQueryParameter = {} as any;
+ // authentication cookie required
+
// authentication bearer required
// http bearer authentication required
await setBearerAuthToObject(localVarHeaderParameter, configuration)
- // authentication cookie required
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -6813,12 +6833,12 @@ export const SearchApiAxiosParamCreator = function (configuration?: Configuratio
const localVarHeaderParameter = {} as any;
const localVarQueryParameter = {} as any;
+ // authentication cookie required
+
// authentication bearer required
// http bearer authentication required
await setBearerAuthToObject(localVarHeaderParameter, configuration)
- // authentication cookie required
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -6862,12 +6882,12 @@ export const SearchApiAxiosParamCreator = function (configuration?: Configuratio
const localVarHeaderParameter = {} as any;
const localVarQueryParameter = {} as any;
+ // authentication cookie required
+
// authentication bearer required
// http bearer authentication required
await setBearerAuthToObject(localVarHeaderParameter, configuration)
- // authentication cookie required
-
if (q !== undefined) {
localVarQueryParameter['q'] = q;
}
@@ -7114,12 +7134,12 @@ export const ServerInfoApiAxiosParamCreator = function (configuration?: Configur
const localVarHeaderParameter = {} as any;
const localVarQueryParameter = {} as any;
+ // authentication cookie required
+
// authentication bearer required
// http bearer authentication required
await setBearerAuthToObject(localVarHeaderParameter, configuration)
- // authentication cookie required
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -7178,12 +7198,12 @@ export const ServerInfoApiAxiosParamCreator = function (configuration?: Configur
const localVarHeaderParameter = {} as any;
const localVarQueryParameter = {} as any;
+ // authentication cookie required
+
// authentication bearer required
// http bearer authentication required
await setBearerAuthToObject(localVarHeaderParameter, configuration)
- // authentication cookie required
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -7395,12 +7415,12 @@ export const ShareApiAxiosParamCreator = function (configuration?: Configuration
const localVarHeaderParameter = {} as any;
const localVarQueryParameter = {} as any;
+ // authentication cookie required
+
// authentication bearer required
// http bearer authentication required
await setBearerAuthToObject(localVarHeaderParameter, configuration)
- // authentication cookie required
-
localVarHeaderParameter['Content-Type'] = 'application/json';
@@ -7433,12 +7453,12 @@ export const ShareApiAxiosParamCreator = function (configuration?: Configuration
const localVarHeaderParameter = {} as any;
const localVarQueryParameter = {} as any;
+ // authentication cookie required
+
// authentication bearer required
// http bearer authentication required
await setBearerAuthToObject(localVarHeaderParameter, configuration)
- // authentication cookie required
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -7469,12 +7489,12 @@ export const ShareApiAxiosParamCreator = function (configuration?: Configuration
const localVarHeaderParameter = {} as any;
const localVarQueryParameter = {} as any;
+ // authentication cookie required
+
// authentication bearer required
// http bearer authentication required
await setBearerAuthToObject(localVarHeaderParameter, configuration)
- // authentication cookie required
-
if (key !== undefined) {
localVarQueryParameter['key'] = key;
}
@@ -7512,12 +7532,12 @@ export const ShareApiAxiosParamCreator = function (configuration?: Configuration
const localVarHeaderParameter = {} as any;
const localVarQueryParameter = {} as any;
+ // authentication cookie required
+
// authentication bearer required
// http bearer authentication required
await setBearerAuthToObject(localVarHeaderParameter, configuration)
- // authentication cookie required
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -7551,12 +7571,12 @@ export const ShareApiAxiosParamCreator = function (configuration?: Configuration
const localVarHeaderParameter = {} as any;
const localVarQueryParameter = {} as any;
+ // authentication cookie required
+
// authentication bearer required
// http bearer authentication required
await setBearerAuthToObject(localVarHeaderParameter, configuration)
- // authentication cookie required
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -7774,12 +7794,12 @@ export const SystemConfigApiAxiosParamCreator = function (configuration?: Config
const localVarHeaderParameter = {} as any;
const localVarQueryParameter = {} as any;
+ // authentication cookie required
+
// authentication bearer required
// http bearer authentication required
await setBearerAuthToObject(localVarHeaderParameter, configuration)
- // authentication cookie required
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -7809,12 +7829,12 @@ export const SystemConfigApiAxiosParamCreator = function (configuration?: Config
const localVarHeaderParameter = {} as any;
const localVarQueryParameter = {} as any;
+ // authentication cookie required
+
// authentication bearer required
// http bearer authentication required
await setBearerAuthToObject(localVarHeaderParameter, configuration)
- // authentication cookie required
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -7844,12 +7864,12 @@ export const SystemConfigApiAxiosParamCreator = function (configuration?: Config
const localVarHeaderParameter = {} as any;
const localVarQueryParameter = {} as any;
+ // authentication cookie required
+
// authentication bearer required
// http bearer authentication required
await setBearerAuthToObject(localVarHeaderParameter, configuration)
- // authentication cookie required
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -7882,12 +7902,12 @@ export const SystemConfigApiAxiosParamCreator = function (configuration?: Config
const localVarHeaderParameter = {} as any;
const localVarQueryParameter = {} as any;
+ // authentication cookie required
+
// authentication bearer required
// http bearer authentication required
await setBearerAuthToObject(localVarHeaderParameter, configuration)
- // authentication cookie required
-
localVarHeaderParameter['Content-Type'] = 'application/json';
@@ -8073,12 +8093,12 @@ export const TagApiAxiosParamCreator = function (configuration?: Configuration)
const localVarHeaderParameter = {} as any;
const localVarQueryParameter = {} as any;
+ // authentication cookie required
+
// authentication bearer required
// http bearer authentication required
await setBearerAuthToObject(localVarHeaderParameter, configuration)
- // authentication cookie required
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -8111,12 +8131,12 @@ export const TagApiAxiosParamCreator = function (configuration?: Configuration)
const localVarHeaderParameter = {} as any;
const localVarQueryParameter = {} as any;
+ // authentication cookie required
+
// authentication bearer required
// http bearer authentication required
await setBearerAuthToObject(localVarHeaderParameter, configuration)
- // authentication cookie required
-
localVarHeaderParameter['Content-Type'] = 'application/json';
@@ -8149,12 +8169,12 @@ export const TagApiAxiosParamCreator = function (configuration?: Configuration)
const localVarHeaderParameter = {} as any;
const localVarQueryParameter = {} as any;
+ // authentication cookie required
+
// authentication bearer required
// http bearer authentication required
await setBearerAuthToObject(localVarHeaderParameter, configuration)
- // authentication cookie required
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -8188,12 +8208,12 @@ export const TagApiAxiosParamCreator = function (configuration?: Configuration)
const localVarHeaderParameter = {} as any;
const localVarQueryParameter = {} as any;
+ // authentication cookie required
+
// authentication bearer required
// http bearer authentication required
await setBearerAuthToObject(localVarHeaderParameter, configuration)
- // authentication cookie required
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -8230,12 +8250,12 @@ export const TagApiAxiosParamCreator = function (configuration?: Configuration)
const localVarHeaderParameter = {} as any;
const localVarQueryParameter = {} as any;
+ // authentication cookie required
+
// authentication bearer required
// http bearer authentication required
await setBearerAuthToObject(localVarHeaderParameter, configuration)
- // authentication cookie required
-
localVarHeaderParameter['Content-Type'] = 'application/json';
@@ -8440,11 +8460,11 @@ export const UserApiAxiosParamCreator = function (configuration?: Configuration)
return {
/**
*
- * @param {any} file
+ * @param {File} file
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
- createProfileImage: async (file: any, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
+ createProfileImage: async (file: File, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
// verify required parameter 'file' is not null or undefined
assertParamExists('createProfileImage', 'file', file)
const localVarPath = `/user/profile-image`;
@@ -8460,12 +8480,12 @@ export const UserApiAxiosParamCreator = function (configuration?: Configuration)
const localVarQueryParameter = {} as any;
const localVarFormParams = new ((configuration && configuration.formDataCtor) || FormData)();
+ // authentication cookie required
+
// authentication bearer required
// http bearer authentication required
await setBearerAuthToObject(localVarHeaderParameter, configuration)
- // authentication cookie required
-
if (file !== undefined) {
localVarFormParams.append('file', file as any);
@@ -8505,12 +8525,12 @@ export const UserApiAxiosParamCreator = function (configuration?: Configuration)
const localVarHeaderParameter = {} as any;
const localVarQueryParameter = {} as any;
+ // authentication cookie required
+
// authentication bearer required
// http bearer authentication required
await setBearerAuthToObject(localVarHeaderParameter, configuration)
- // authentication cookie required
-
localVarHeaderParameter['Content-Type'] = 'application/json';
@@ -8547,12 +8567,12 @@ export const UserApiAxiosParamCreator = function (configuration?: Configuration)
const localVarHeaderParameter = {} as any;
const localVarQueryParameter = {} as any;
+ // authentication cookie required
+
// authentication bearer required
// http bearer authentication required
await setBearerAuthToObject(localVarHeaderParameter, configuration)
- // authentication cookie required
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -8585,12 +8605,12 @@ export const UserApiAxiosParamCreator = function (configuration?: Configuration)
const localVarHeaderParameter = {} as any;
const localVarQueryParameter = {} as any;
+ // authentication cookie required
+
// authentication bearer required
// http bearer authentication required
await setBearerAuthToObject(localVarHeaderParameter, configuration)
- // authentication cookie required
-
if (isAll !== undefined) {
localVarQueryParameter['isAll'] = isAll;
}
@@ -8624,12 +8644,12 @@ export const UserApiAxiosParamCreator = function (configuration?: Configuration)
const localVarHeaderParameter = {} as any;
const localVarQueryParameter = {} as any;
+ // authentication cookie required
+
// authentication bearer required
// http bearer authentication required
await setBearerAuthToObject(localVarHeaderParameter, configuration)
- // authentication cookie required
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -8663,12 +8683,12 @@ export const UserApiAxiosParamCreator = function (configuration?: Configuration)
const localVarHeaderParameter = {} as any;
const localVarQueryParameter = {} as any;
+ // authentication cookie required
+
// authentication bearer required
// http bearer authentication required
await setBearerAuthToObject(localVarHeaderParameter, configuration)
- // authentication cookie required
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -8702,12 +8722,12 @@ export const UserApiAxiosParamCreator = function (configuration?: Configuration)
const localVarHeaderParameter = {} as any;
const localVarQueryParameter = {} as any;
+ // authentication cookie required
+
// authentication bearer required
// http bearer authentication required
await setBearerAuthToObject(localVarHeaderParameter, configuration)
- // authentication cookie required
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -8775,12 +8795,12 @@ export const UserApiAxiosParamCreator = function (configuration?: Configuration)
const localVarHeaderParameter = {} as any;
const localVarQueryParameter = {} as any;
+ // authentication cookie required
+
// authentication bearer required
// http bearer authentication required
await setBearerAuthToObject(localVarHeaderParameter, configuration)
- // authentication cookie required
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -8813,12 +8833,12 @@ export const UserApiAxiosParamCreator = function (configuration?: Configuration)
const localVarHeaderParameter = {} as any;
const localVarQueryParameter = {} as any;
+ // authentication cookie required
+
// authentication bearer required
// http bearer authentication required
await setBearerAuthToObject(localVarHeaderParameter, configuration)
- // authentication cookie required
-
localVarHeaderParameter['Content-Type'] = 'application/json';
@@ -8845,11 +8865,11 @@ export const UserApiFp = function(configuration?: Configuration) {
return {
/**
*
- * @param {any} file
+ * @param {File} file
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
- async createProfileImage(file: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateProfileImageResponseDto>> {
+ async createProfileImage(file: File, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateProfileImageResponseDto>> {
const localVarAxiosArgs = await localVarAxiosParamCreator.createProfileImage(file, options);
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
},
@@ -8954,11 +8974,11 @@ export const UserApiFactory = function (configuration?: Configuration, basePath?
return {
/**
*
- * @param {any} file
+ * @param {File} file
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
- createProfileImage(file: any, options?: any): AxiosPromise<CreateProfileImageResponseDto> {
+ createProfileImage(file: File, options?: any): AxiosPromise<CreateProfileImageResponseDto> {
return localVarFp.createProfileImage(file, options).then((request) => request(axios, basePath));
},
/**
@@ -9053,12 +9073,12 @@ export const UserApiFactory = function (configuration?: Configuration, basePath?
export class UserApi extends BaseAPI {
/**
*
- * @param {any} file
+ * @param {File} file
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof UserApi
*/
- public createProfileImage(file: any, options?: AxiosRequestConfig) {
+ public createProfileImage(file: File, options?: AxiosRequestConfig) {
return UserApiFp(this.configuration).createProfileImage(file, options).then((request) => request(this.axios, this.basePath));
}
diff --git a/web/src/api/open-api/base.ts b/web/src/api/open-api/base.ts
index ce5638fe89..e3631eb908 100644
--- a/web/src/api/open-api/base.ts
+++ b/web/src/api/open-api/base.ts
@@ -13,10 +13,11 @@
*/
-import { Configuration } from "./configuration";
+import type { Configuration } from './configuration';
// Some imports not used depending on template conditions
// @ts-ignore
-import globalAxios, { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
+import type { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
+import globalAxios from 'axios';
export const BASE_PATH = "/api".replace(/\/+$/, "");
@@ -64,8 +65,8 @@ export class BaseAPI {
* @extends {Error}
*/
export class RequiredError extends Error {
- name: "RequiredError" = "RequiredError";
constructor(public field: string, msg?: string) {
super(msg);
+ this.name = "RequiredError"
}
}
diff --git a/web/src/api/open-api/common.ts b/web/src/api/open-api/common.ts
index ffca6fc94e..836bf40d65 100644
--- a/web/src/api/open-api/common.ts
+++ b/web/src/api/open-api/common.ts
@@ -13,9 +13,10 @@
*/
-import { Configuration } from "./configuration";
-import { RequiredError, RequestArgs } from "./base";
-import { AxiosInstance, AxiosResponse } from 'axios';
+import type { Configuration } from "./configuration";
+import type { RequestArgs } from "./base";
+import type { AxiosInstance, AxiosResponse } from 'axios';
+import { RequiredError } from "./base";
/**
*
@@ -83,24 +84,35 @@ export const setOAuthToObject = async function (object: any, name: string, scope
}
}
+function setFlattenedQueryParams(urlSearchParams: URLSearchParams, parameter: any, key: string = ""): void {
+ if (parameter == null) return;
+ if (typeof parameter === "object") {
+ if (Array.isArray(parameter)) {
+ (parameter as any[]).forEach(item => setFlattenedQueryParams(urlSearchParams, item, key));
+ }
+ else {
+ Object.keys(parameter).forEach(currentKey =>
+ setFlattenedQueryParams(urlSearchParams, parameter[currentKey], `${key}${key !== '' ? '.' : ''}${currentKey}`)
+ );
+ }
+ }
+ else {
+ if (urlSearchParams.has(key)) {
+ urlSearchParams.append(key, parameter);
+ }
+ else {
+ urlSearchParams.set(key, parameter);
+ }
+ }
+}
+
/**
*
* @export
*/
export const setSearchParams = function (url: URL, ...objects: any[]) {
const searchParams = new URLSearchParams(url.search);
- for (const object of objects) {
- for (const key in object) {
- if (Array.isArray(object[key])) {
- searchParams.delete(key);
- for (const item of object[key]) {
- searchParams.append(key, item);
- }
- } else {
- searchParams.set(key, object[key]);
- }
- }
- }
+ setFlattenedQueryParams(searchParams, objects);
url.search = searchParams.toString();
}