Compare commits
31 Commits
v1.40.0_63
...
v1.41.0_64
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
10ff950bb8 | ||
|
|
6b9a4a8d6f | ||
|
|
079ee658a5 | ||
|
|
bd838a71d1 | ||
|
|
5999af6c78 | ||
|
|
af2eac52a8 | ||
|
|
e4e040f14b | ||
|
|
10789503c1 | ||
|
|
fd15cdbf40 | ||
|
|
9852376b38 | ||
|
|
d327ec6ba4 | ||
|
|
9e6d6b2532 | ||
|
|
9edbff0ec0 | ||
|
|
b82a3f3300 | ||
|
|
d9fa6619e7 | ||
|
|
f7d3c4b4ff | ||
|
|
4ff92d739d | ||
|
|
befd0f6ecd | ||
|
|
b584185f0f | ||
|
|
10b0924cfb | ||
|
|
6736063f83 | ||
|
|
93274a6d7b | ||
|
|
16b763e086 | ||
|
|
6974d4068b | ||
|
|
0b65bb7e9a | ||
|
|
1eb9ac8217 | ||
|
|
7810dd1942 | ||
|
|
eeb0456356 | ||
|
|
c032cfd99e | ||
|
|
4545249fa3 | ||
|
|
380f719fd8 |
@@ -30,6 +30,7 @@
|
|||||||
## Content
|
## Content
|
||||||
|
|
||||||
- [Official Documentation](https://immich.app/docs)
|
- [Official Documentation](https://immich.app/docs)
|
||||||
|
- [Roadmap](https://github.com/orgs/immich-app/projects/1)
|
||||||
- [Demo](#demo)
|
- [Demo](#demo)
|
||||||
- [Features](#features)
|
- [Features](#features)
|
||||||
- [Introduction](https://immich.app/docs/overview/introduction)
|
- [Introduction](https://immich.app/docs/overview/introduction)
|
||||||
|
|||||||
@@ -2,6 +2,7 @@ version: '3.8'
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
immich-server:
|
immich-server:
|
||||||
|
container_name: immich_server
|
||||||
image: immich-server-dev:latest
|
image: immich-server-dev:latest
|
||||||
build:
|
build:
|
||||||
context: ../server
|
context: ../server
|
||||||
@@ -23,6 +24,7 @@ services:
|
|||||||
- database
|
- database
|
||||||
|
|
||||||
immich-machine-learning:
|
immich-machine-learning:
|
||||||
|
container_name: immich_machine_learning
|
||||||
image: immich-machine-learning-dev:latest
|
image: immich-machine-learning-dev:latest
|
||||||
build:
|
build:
|
||||||
context: ../machine-learning
|
context: ../machine-learning
|
||||||
@@ -41,6 +43,7 @@ services:
|
|||||||
- database
|
- database
|
||||||
|
|
||||||
immich-microservices:
|
immich-microservices:
|
||||||
|
container_name: immich_microservices
|
||||||
image: immich-microservices:latest
|
image: immich-microservices:latest
|
||||||
build:
|
build:
|
||||||
context: ../server
|
context: ../server
|
||||||
@@ -60,6 +63,7 @@ services:
|
|||||||
- immich-server
|
- immich-server
|
||||||
|
|
||||||
immich-web:
|
immich-web:
|
||||||
|
container_name: immich_web
|
||||||
image: immich-web-dev:1.9.0
|
image: immich-web-dev:1.9.0
|
||||||
build:
|
build:
|
||||||
context: ../web
|
context: ../web
|
||||||
|
|||||||
@@ -2,6 +2,7 @@ version: "3.8"
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
immich-server:
|
immich-server:
|
||||||
|
container_name: immich_server
|
||||||
image: altran1502/immich-server:staging
|
image: altran1502/immich-server:staging
|
||||||
entrypoint: ["/bin/sh", "./start-server.sh"]
|
entrypoint: ["/bin/sh", "./start-server.sh"]
|
||||||
volumes:
|
volumes:
|
||||||
@@ -16,6 +17,7 @@ services:
|
|||||||
restart: always
|
restart: always
|
||||||
|
|
||||||
immich-microservices:
|
immich-microservices:
|
||||||
|
container_name: immich_microservices
|
||||||
image: altran1502/immich-server:staging
|
image: altran1502/immich-server:staging
|
||||||
entrypoint: ["/bin/sh", "./start-microservices.sh"]
|
entrypoint: ["/bin/sh", "./start-microservices.sh"]
|
||||||
volumes:
|
volumes:
|
||||||
@@ -30,6 +32,7 @@ services:
|
|||||||
restart: always
|
restart: always
|
||||||
|
|
||||||
immich-machine-learning:
|
immich-machine-learning:
|
||||||
|
container_name: immich_machine_learning
|
||||||
image: altran1502/immich-machine-learning:staging
|
image: altran1502/immich-machine-learning:staging
|
||||||
entrypoint: ["/bin/sh", "./entrypoint.sh"]
|
entrypoint: ["/bin/sh", "./entrypoint.sh"]
|
||||||
volumes:
|
volumes:
|
||||||
@@ -43,6 +46,7 @@ services:
|
|||||||
restart: always
|
restart: always
|
||||||
|
|
||||||
immich-web:
|
immich-web:
|
||||||
|
container_name: immich_web
|
||||||
image: altran1502/immich-web:staging
|
image: altran1502/immich-web:staging
|
||||||
entrypoint: ["/bin/sh", "./entrypoint.sh"]
|
entrypoint: ["/bin/sh", "./entrypoint.sh"]
|
||||||
env_file:
|
env_file:
|
||||||
|
|||||||
@@ -2,6 +2,7 @@ version: "3.8"
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
immich-server:
|
immich-server:
|
||||||
|
container_name: immich_server
|
||||||
image: altran1502/immich-server:release
|
image: altran1502/immich-server:release
|
||||||
entrypoint: ["/bin/sh", "./start-server.sh"]
|
entrypoint: ["/bin/sh", "./start-server.sh"]
|
||||||
volumes:
|
volumes:
|
||||||
@@ -16,6 +17,7 @@ services:
|
|||||||
restart: always
|
restart: always
|
||||||
|
|
||||||
immich-microservices:
|
immich-microservices:
|
||||||
|
container_name: immich_microservices
|
||||||
image: altran1502/immich-server:release
|
image: altran1502/immich-server:release
|
||||||
entrypoint: ["/bin/sh", "./start-microservices.sh"]
|
entrypoint: ["/bin/sh", "./start-microservices.sh"]
|
||||||
volumes:
|
volumes:
|
||||||
@@ -30,6 +32,7 @@ services:
|
|||||||
restart: always
|
restart: always
|
||||||
|
|
||||||
immich-machine-learning:
|
immich-machine-learning:
|
||||||
|
container_name: immich_machine_learning
|
||||||
image: altran1502/immich-machine-learning:release
|
image: altran1502/immich-machine-learning:release
|
||||||
entrypoint: ["/bin/sh", "./entrypoint.sh"]
|
entrypoint: ["/bin/sh", "./entrypoint.sh"]
|
||||||
volumes:
|
volumes:
|
||||||
@@ -43,6 +46,7 @@ services:
|
|||||||
restart: always
|
restart: always
|
||||||
|
|
||||||
immich-web:
|
immich-web:
|
||||||
|
container_name: immich_web
|
||||||
image: altran1502/immich-web:release
|
image: altran1502/immich-web:release
|
||||||
entrypoint: ["/bin/sh", "./entrypoint.sh"]
|
entrypoint: ["/bin/sh", "./entrypoint.sh"]
|
||||||
env_file:
|
env_file:
|
||||||
|
|||||||
BIN
docs/docs/features/img/password-login-settings.png
Normal file
BIN
docs/docs/features/img/password-login-settings.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 18 KiB |
BIN
docs/docs/features/img/user-management-update.png
Normal file
BIN
docs/docs/features/img/user-management-update.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 22 KiB |
@@ -2,6 +2,10 @@
|
|||||||
|
|
||||||
This page contains details about using OAuth in Immich.
|
This page contains details about using OAuth in Immich.
|
||||||
|
|
||||||
|
:::tip
|
||||||
|
Unable to set `app.immich:/` as a valid redirect URI? See [Mobile Redirect URI](#mobile-redirect-uri) for an alternative solution.
|
||||||
|
:::
|
||||||
|
|
||||||
## Overview
|
## Overview
|
||||||
|
|
||||||
Immich supports 3rd party authentication via [OpenID Connect][oidc] (OIDC), an identity layer built on top of OAuth2. OIDC is supported by most identity providers, including:
|
Immich supports 3rd party authentication via [OpenID Connect][oidc] (OIDC), an identity layer built on top of OAuth2. OIDC is supported by most identity providers, including:
|
||||||
@@ -24,50 +28,48 @@ Before enabling OAuth in Immich, a new client application needs to be configured
|
|||||||
|
|
||||||
2. Configure Redirect URIs/Origins
|
2. Configure Redirect URIs/Origins
|
||||||
|
|
||||||
The **Sign-in redirect URIs** should include:
|
The **Sign-in redirect URIs** should include:
|
||||||
|
|
||||||
- `app.immich:/` - for logging in with OAuth from the [Mobile App](/docs/features/mobile-app.mdx)
|
- `app.immich:/` - for logging in with OAuth from the [Mobile App](/docs/features/mobile-app.mdx)
|
||||||
- `http://DOMAIN:PORT/auth/login` - for logging in with OAuth from the Web Client
|
- `http://DOMAIN:PORT/auth/login` - for logging in with OAuth from the Web Client
|
||||||
- `http://DOMAIN:PORT/user-settings` - for manually linking OAuth in the Web Client
|
- `http://DOMAIN:PORT/user-settings` - for manually linking OAuth in the Web Client
|
||||||
|
|
||||||
:::info Redirect URIs
|
Redirect URIs should contain all the domains you will be using to access Immich. Some examples include:
|
||||||
|
|
||||||
Redirect URIs should contain all the domains you will be using to access Immich. Some examples include:
|
Mobile
|
||||||
|
|
||||||
Mobile
|
- `app.immich:/` (You **MUST** include this for iOS and Android mobile apps to work properly)
|
||||||
|
|
||||||
- `app.immich:/` (You **MUST** include this for iOS and Android mobile apps to work properly)
|
Localhost
|
||||||
|
|
||||||
Localhost
|
- `http://localhost:2283/auth/login`
|
||||||
|
- `http://localhost:2283/user-settings`
|
||||||
|
|
||||||
- `http://localhost:2283/auth/login`
|
Local IP
|
||||||
- `http://localhost:2283/user-settings`
|
|
||||||
|
|
||||||
Local IP
|
- `http://192.168.0.200:2283/auth/login`
|
||||||
|
- `http://192.168.0.200:2283/user-settings`
|
||||||
|
|
||||||
- `http://192.168.0.200:2283/auth/login`
|
Hostname
|
||||||
- `http://192.168.0.200:2283/user-settings`
|
|
||||||
|
|
||||||
Hostname
|
- `https://immich.example.com/auth/login`)
|
||||||
|
- `https://immich.example.com/user-settings`)
|
||||||
- `https://immich.example.com/auth/login`)
|
|
||||||
- `https://immich.example.com/user-settings`)
|
|
||||||
|
|
||||||
:::
|
|
||||||
|
|
||||||
## Enable OAuth
|
## Enable OAuth
|
||||||
|
|
||||||
Once you have a new OAuth client application configured, Immich can be configured using the Administration Settings page, available on the web (Administration -> Settings).
|
Once you have a new OAuth client application configured, Immich can be configured using the Administration Settings page, available on the web (Administration -> Settings).
|
||||||
|
|
||||||
| Setting | Type | Default | Description |
|
| Setting | Type | Default | Description |
|
||||||
| ------------- | ------- | -------------------- | ------------------------------------------------------------------------- |
|
| ---------------------------------------------------- | ------- | -------------------- | ----------------------------------------------------------------------------------- |
|
||||||
| Enabled | boolean | false | Enable/disable OAuth |
|
| Enabled | boolean | false | Enable/disable OAuth |
|
||||||
| Issuer URL | URL | (required) | Required. Self-discovery URL for client (from previous step) |
|
| Issuer URL | URL | (required) | Required. Self-discovery URL for client (from previous step) |
|
||||||
| Client ID | string | (required) | Required. Client ID (from previous step) |
|
| Client ID | string | (required) | Required. Client ID (from previous step) |
|
||||||
| Client secret | string | (required) | Required. Client Secret (previous step) |
|
| Client Secret | string | (required) | Required. Client Secret (previous step) |
|
||||||
| Scope | string | openid email profile | Full list of scopes to send with the request (space delimited) |
|
| Scope | string | openid email profile | Full list of scopes to send with the request (space delimited) |
|
||||||
| Button text | string | Login with OAuth | Text for the OAuth button on the web |
|
| Button Text | string | Login with OAuth | Text for the OAuth button on the web |
|
||||||
| Auto register | boolean | true | When true, will automatically register a user the first time they sign in |
|
| Auto Register | boolean | true | When true, will automatically register a user the first time they sign in |
|
||||||
|
| [Auto Launch](#auto-launch) | boolean | false | When true, will skip the login page and automatically start the OAuth login process |
|
||||||
|
| [Mobile Redirect URI Override](#mobile-redirect-uri) | URL | (empty) | Http(s) alternative mobile redirect URI |
|
||||||
|
|
||||||
:::info
|
:::info
|
||||||
The Issuer URL should look something like the following, and return a valid json document.
|
The Issuer URL should look something like the following, and return a valid json document.
|
||||||
@@ -78,6 +80,26 @@ The Issuer URL should look something like the following, and return a valid json
|
|||||||
The `.well-known/openid-configuration` part of the url is optional and will be automatically added during discovery.
|
The `.well-known/openid-configuration` part of the url is optional and will be automatically added during discovery.
|
||||||
:::
|
:::
|
||||||
|
|
||||||
|
## Auto Launch
|
||||||
|
|
||||||
|
When Auto Launch is enabled, the login page will automatically redirect the user to the OAuth authorization url, to login with OAuth. To access the login screen again, use the browser's back button, or navigate directly to `/auth/login?autoLaunch=0`.
|
||||||
|
|
||||||
|
## Mobile Redirect URI
|
||||||
|
|
||||||
|
The redirect URI for the mobile app is `app.immich:/`, which is a [Custom Scheme](https://developer.apple.com/documentation/xcode/defining-a-custom-url-scheme-for-your-app). If this custom scheme is an invalid redirect URI for your OAuth Provider, you can work around this by doing the following:
|
||||||
|
|
||||||
|
1. Configure an http(s) endpoint to forwards requests to `app.immich:/`
|
||||||
|
2. Whitelist the new endpoint as a valid redirect URI with your provider.
|
||||||
|
3. Specify the new endpoint as the `Mobile Redirect URI Override`, in the OAuth settings.
|
||||||
|
|
||||||
|
With these steps in place, you should be able to use OAuth from the [Mobile App](/docs/features/mobile-app.mdx) without a custom scheme redirect URI.
|
||||||
|
|
||||||
|
:::info
|
||||||
|
Immich has a route (`/api/oauth/mobile-redirect`) that is already configured to forward requests to `app.immich:/`, and can be used for step 1.
|
||||||
|
:::
|
||||||
|
|
||||||
|
## Example Configuration
|
||||||
|
|
||||||
Here's an example of OAuth configured for Authentik:
|
Here's an example of OAuth configured for Authentik:
|
||||||
|
|
||||||

|

|
||||||
|
|||||||
32
docs/docs/features/password-login.md
Normal file
32
docs/docs/features/password-login.md
Normal file
@@ -0,0 +1,32 @@
|
|||||||
|
# Password Login
|
||||||
|
|
||||||
|
An overview of password login and related settings for Immich.
|
||||||
|
|
||||||
|
## Enable/Disable
|
||||||
|
|
||||||
|
Immich supports password login, which is enabled by default. The preferred way to disable it is via the [Administration Page](#administration-page), although it can also be changed via a [Server Command](#server-command) as well.
|
||||||
|
|
||||||
|
### Administration Page
|
||||||
|
|
||||||
|
To toggle the password login setting via the web, navigate to the "Administration", expand "Password Authentication", toggle the "Enabled" switch, and press "Save".
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
### Server Command
|
||||||
|
|
||||||
|
There are two [Server Commands](/docs/features/server-commands.md) for password login:
|
||||||
|
|
||||||
|
1. `enable-password-login`
|
||||||
|
2. `disable-password-login`
|
||||||
|
|
||||||
|
See [Server Commands](/docs/features/server-commands.md) for more details about how to run them.
|
||||||
|
|
||||||
|
## Password Reset
|
||||||
|
|
||||||
|
### Admin
|
||||||
|
|
||||||
|
To reset the administrator password, use the `reset-admin-password` [Server Command](/docs/features/server-commands.md).
|
||||||
|
|
||||||
|
### User
|
||||||
|
|
||||||
|
Immich does not currently support self-service password reset. However, the administration can reset passwords for other users. See [User Management: Password Reset](/docs/features/user-management.mdx#password-reset) for more information about how to do this.
|
||||||
@@ -1,21 +1,39 @@
|
|||||||
# Server Commands
|
# Server Commands
|
||||||
|
|
||||||
The `immich-server` docker image comes preinstalled with an administrative CLI that supports the following commands:
|
The `immich-server` docker image comes preinstalled with an administrative CLI (`immich`) that supports the following commands:
|
||||||
|
|
||||||
| Command | Description |
|
| Command | Description |
|
||||||
| ----------------------------- | ------------------------------------- |
|
| ------------------------ | ------------------------------------- |
|
||||||
| `immich help` | Display help |
|
| `help` | Display help |
|
||||||
| `immich reset-admin-password` | Reset the password for the admin user |
|
| `reset-admin-password` | Reset the password for the admin user |
|
||||||
|
| `disable-password-login` | Disable password login |
|
||||||
|
| `enable-password-login` | Enable password login |
|
||||||
|
|
||||||
## How to run a command
|
## How to run a command
|
||||||
|
|
||||||
To run a command, connect to the container and then execute it. For example:
|
To run a command, connect to the container and then execute it by running `immich <command>`.
|
||||||
|
|
||||||
```bash
|
## Examples
|
||||||
docker exec -it immich-server_1 sh
|
|
||||||
|
```bash title="Reset Admin Password"
|
||||||
|
docker exec -it immich_server sh
|
||||||
|
|
||||||
/usr/src/app$ immich reset-admin-password
|
/usr/src/app$ immich reset-admin-password
|
||||||
? Please choose a new password (optional) immich-is-awesome-unlike-this-password
|
? Please choose a new password (optional) immich-is-awesome-unlike-this-password
|
||||||
New password:
|
New password:
|
||||||
immich-is-awesome-unlike-this-password
|
immich-is-awesome-unlike-this-password
|
||||||
```
|
```
|
||||||
|
|
||||||
|
```bash title="Disable Password Login"
|
||||||
|
docker exec -it immich_server sh
|
||||||
|
|
||||||
|
/usr/src/app$ immich disable-password-login
|
||||||
|
Password login has been disabled.
|
||||||
|
```
|
||||||
|
|
||||||
|
```bash title="Enable Password Login"
|
||||||
|
docker exec -it immich_server sh
|
||||||
|
|
||||||
|
/usr/src/app$ immich enable-password-login
|
||||||
|
Password login has been enabled.
|
||||||
|
```
|
||||||
|
|||||||
@@ -16,3 +16,9 @@ Immich supports multiple users, each with their own library.
|
|||||||
## Delete a User
|
## Delete a User
|
||||||
|
|
||||||
If you need to remove a user from Immich, head to "Administration", where users can be scheduled for deletion. The user account will immediately become disabled and their library and all associated data will be removed after 7 days.
|
If you need to remove a user from Immich, head to "Administration", where users can be scheduled for deletion. The user account will immediately become disabled and their library and all associated data will be removed after 7 days.
|
||||||
|
|
||||||
|
## Password Reset
|
||||||
|
|
||||||
|
To reset a user's password, click the pencil icon to edit a user, then click "Reset Password". The user's password will be reset to "password" and they have to change it next time the sign in.
|
||||||
|
|
||||||
|

|
||||||
|
|||||||
@@ -120,7 +120,7 @@ For more information on how to use the application, please refer to the [Post In
|
|||||||
|
|
||||||
### Step 4 - Upgrading
|
### Step 4 - Upgrading
|
||||||
|
|
||||||
When a new version of Immich is (released)[], the application can be upgraded with the following commands, run in the directory with the `docker-compose.yml` file:
|
When a new version of Immich is [released](https://github.com/immich-app/immich/releases), the application can be upgraded with the following commands, run in the directory with the `docker-compose.yml` file:
|
||||||
|
|
||||||
```bash title="Upgrade Immich"
|
```bash title="Upgrade Immich"
|
||||||
docker-compose pull && docker-compose up -d # Or `docker compose`
|
docker-compose pull && docker-compose up -d # Or `docker compose`
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ Running into an issue or have a question? Try the following:
|
|||||||
|
|
||||||
1. Check the [FAQs](/docs/FAQ.md).
|
1. Check the [FAQs](/docs/FAQ.md).
|
||||||
2. Read through the [Release Notes][github-releases].
|
2. Read through the [Release Notes][github-releases].
|
||||||
3. Search through existing [Github Issues][github-issues].
|
3. Search through existing [GitHub Issues][github-issues].
|
||||||
4. Open a help ticket on [Discord][discord-link].
|
4. Open a help ticket on [Discord][discord-link].
|
||||||
|
|
||||||
[github-issues]: https://github.com/immich-app/immich/releases
|
[github-issues]: https://github.com/immich-app/immich/releases
|
||||||
|
|||||||
@@ -13,13 +13,13 @@ If you feel like this is the right cause and the app is something you see yourse
|
|||||||
## Donation
|
## Donation
|
||||||
|
|
||||||
- Monthly donation via [GitHub Sponsors](https://github.com/sponsors/alextran1502)
|
- Monthly donation via [GitHub Sponsors](https://github.com/sponsors/alextran1502)
|
||||||
- One-time donation via [Github Sponsors](https://github.com/sponsors/alextran1502?frequency=one-time&sponsor=alextran1502)
|
- One-time donation via [GitHub Sponsors](https://github.com/sponsors/alextran1502?frequency=one-time&sponsor=alextran1502)
|
||||||
|
|
||||||
## Contributing
|
## Contributing
|
||||||
|
|
||||||
There are lots of non-monetary ways to contribute to Immich as well.
|
There are lots of non-monetary ways to contribute to Immich as well.
|
||||||
|
|
||||||
1. Testing - Using Immich and reporting bugs is a great way to help support the project. Found a bug? [Open an issue on Github][github-issue].
|
1. Testing - Using Immich and reporting bugs is a great way to help support the project. Found a bug? [Open an issue on GitHub][github-issue].
|
||||||
1. Translations - The Immich mobile app has been translated into [17 languages][github-langs] so far! To contribute with translations, email me at alex.tran1502@gmail.com or send me a message on discord.
|
1. Translations - The Immich mobile app has been translated into [17 languages][github-langs] so far! To contribute with translations, email me at alex.tran1502@gmail.com or send me a message on discord.
|
||||||
1. Development - If you are a programmer or developer, take a look at Immich's [technology stack](/docs/developer/architecture.md) and consider fixing bugs or building new features. The team and I are always looking for new contributors. For information about how to contribute as a developer, see the [Developer](/docs/developer/architecture.md) section.
|
1. Development - If you are a programmer or developer, take a look at Immich's [technology stack](/docs/developer/architecture.md) and consider fixing bugs or building new features. The team and I are always looking for new contributors. For information about how to contribute as a developer, see the [Developer](/docs/developer/architecture.md) section.
|
||||||
|
|
||||||
|
|||||||
@@ -3,4 +3,4 @@ The mobile app can be downloaded from the following places:
|
|||||||
- [Google Play Store](https://play.google.com/store/apps/details?id=app.alextran.immich)
|
- [Google Play Store](https://play.google.com/store/apps/details?id=app.alextran.immich)
|
||||||
- [Apple App Store](https://apps.apple.com/us/app/immich/id1613945652)
|
- [Apple App Store](https://apps.apple.com/us/app/immich/id1613945652)
|
||||||
- [F-Droid](https://f-droid.org/packages/app.alextran.immich)
|
- [F-Droid](https://f-droid.org/packages/app.alextran.immich)
|
||||||
- [Github Releases (apk)](https://github.com/immich-app/immich/releases)
|
- [GitHub Releases (apk)](https://github.com/immich-app/immich/releases)
|
||||||
|
|||||||
@@ -105,16 +105,16 @@ const config = {
|
|||||||
position: "right",
|
position: "right",
|
||||||
label: "API",
|
label: "API",
|
||||||
},
|
},
|
||||||
{
|
|
||||||
to: "/blog",
|
|
||||||
position: "right",
|
|
||||||
label: "Blog",
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
href: "https://github.com/immich-app/immich",
|
href: "https://github.com/immich-app/immich",
|
||||||
label: "GitHub",
|
label: "GitHub",
|
||||||
position: "right",
|
position: "right",
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
href: "https://github.com/orgs/immich-app/projects/1",
|
||||||
|
label: "Roadmap",
|
||||||
|
position: "right",
|
||||||
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
footer: {
|
footer: {
|
||||||
@@ -143,16 +143,20 @@ const config = {
|
|||||||
],
|
],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: "More",
|
title: "Links",
|
||||||
items: [
|
items: [
|
||||||
{
|
// {
|
||||||
label: "Blog",
|
// label: "Blog",
|
||||||
to: "/blog",
|
// to: "/blog",
|
||||||
},
|
// },
|
||||||
{
|
{
|
||||||
label: "GitHub",
|
label: "GitHub",
|
||||||
href: "https://github.com/immich-app/immich",
|
href: "https://github.com/immich-app/immich",
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
label: "Roadmap",
|
||||||
|
href: "https://github.com/orgs/immich-app/projects/1",
|
||||||
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
#! /bin/sh
|
||||||
# npm run typeorm migration:run
|
# npm run typeorm migration:run
|
||||||
# npm run start:prod
|
# npm run start:prod
|
||||||
node dist/main.js
|
exec node dist/main.js
|
||||||
|
|||||||
@@ -35,8 +35,8 @@ platform :android do
|
|||||||
task: 'bundle',
|
task: 'bundle',
|
||||||
build_type: 'Release',
|
build_type: 'Release',
|
||||||
properties: {
|
properties: {
|
||||||
"android.injected.version.code" => 63,
|
"android.injected.version.code" => 64,
|
||||||
"android.injected.version.name" => "1.40.0",
|
"android.injected.version.name" => "1.41.0",
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
upload_to_play_store(skip_upload_apk: true, skip_upload_images: true, skip_upload_screenshots: true, aab: '../build/app/outputs/bundle/release/app-release.aab')
|
upload_to_play_store(skip_upload_apk: true, skip_upload_images: true, skip_upload_screenshots: true, aab: '../build/app/outputs/bundle/release/app-release.aab')
|
||||||
|
|||||||
@@ -0,0 +1 @@
|
|||||||
|
* Fix omit null values from json requests
|
||||||
@@ -1,96 +1,96 @@
|
|||||||
{
|
{
|
||||||
"album_info_card_backup_album_excluded": "EXCLUIDOS",
|
"album_info_card_backup_album_excluded": "EXCLUIDOS",
|
||||||
"album_info_card_backup_album_included": "INCLUIDOS",
|
"album_info_card_backup_album_included": "INCLUIDOS",
|
||||||
"album_thumbnail_card_item": "1 item",
|
"album_thumbnail_card_item": "1 elemento",
|
||||||
"album_thumbnail_card_items": "{} items",
|
"album_thumbnail_card_items": "{} elementos",
|
||||||
"album_thumbnail_card_shared": " · Shared",
|
"album_thumbnail_card_shared": " · Compartido",
|
||||||
"album_viewer_appbar_share_delete": "Eliminar álbum ",
|
"album_viewer_appbar_share_delete": "Eliminar álbum",
|
||||||
"album_viewer_appbar_share_err_delete": "No ha podido eliminar el álbum",
|
"album_viewer_appbar_share_err_delete": "No se ha podido eliminar el álbum",
|
||||||
"album_viewer_appbar_share_err_leave": "No ha podido dejar el álbum",
|
"album_viewer_appbar_share_err_leave": "No se ha podido dejar el álbum",
|
||||||
"album_viewer_appbar_share_err_remove": "Hay problemas para eliminar los activos del álbum",
|
"album_viewer_appbar_share_err_remove": "Hay problemas para eliminar contenidos del álbum",
|
||||||
"album_viewer_appbar_share_err_title": "Error al cambiar el título del álbum ",
|
"album_viewer_appbar_share_err_title": "No se ha podido cambiar el título del álbum",
|
||||||
"album_viewer_appbar_share_leave": "Abandonar álbum ",
|
"album_viewer_appbar_share_leave": "Abandonar álbum",
|
||||||
"album_viewer_appbar_share_remove": "Eliminar del álbum ",
|
"album_viewer_appbar_share_remove": "Eliminar del álbum",
|
||||||
"album_viewer_page_share_add_users": "Añadir usuarios",
|
"album_viewer_page_share_add_users": "Añadir usuarios",
|
||||||
"asset_list_settings_subtitle": "Photo grid layout settings",
|
"asset_list_settings_subtitle": "Configuración de la galería",
|
||||||
"asset_list_settings_title": "Photo Grid",
|
"asset_list_settings_title": "Galería",
|
||||||
"backup_album_selection_page_albums_device": "Álbumes en el dispositivo ({})",
|
"backup_album_selection_page_albums_device": "Álbumes en el dispositivo ({})",
|
||||||
"backup_album_selection_page_albums_tap": "Toque para incluir, doble toque para excluir",
|
"backup_album_selection_page_albums_tap": "Toque para incluir, doble toque para excluir",
|
||||||
"backup_album_selection_page_assets_scatter": "Los activos pueden dispersarse en varios álbumes. De este modo, los álbumes pueden ser incluidos o excluidos durante el proceso de copia de seguridad.",
|
"backup_album_selection_page_assets_scatter": "Los elementos pueden estar en varios álbumes. Por eso, los álbumes pueden ser incluidos o excluidos durante el proceso de copia de seguridad.",
|
||||||
"backup_album_selection_page_select_albums": "Seleccionar Álbumes",
|
"backup_album_selection_page_select_albums": "Seleccionar álbumes",
|
||||||
"backup_album_selection_page_selection_info": "Información sobre la Selección",
|
"backup_album_selection_page_selection_info": "Información sobre la selección",
|
||||||
"backup_album_selection_page_total_assets": "Total de activos únicos",
|
"backup_album_selection_page_total_assets": "Total de elementos únicos",
|
||||||
"backup_all": "Todos",
|
"backup_all": "Todos",
|
||||||
"backup_background_service_backup_failed_message": "Failed to backup assets. Retrying…",
|
"backup_background_service_backup_failed_message": "No se ha podido realizar la copia de seguridad. Reintentando…",
|
||||||
"backup_background_service_connection_failed_message": "Failed to connect to the server. Retrying…",
|
"backup_background_service_connection_failed_message": "No se ha podido conectar con el servidor. Reintentando…",
|
||||||
"backup_background_service_current_upload_notification": "Uploading {}",
|
"backup_background_service_current_upload_notification": "Subidendo {}",
|
||||||
"backup_background_service_default_notification": "Checking for new assets…",
|
"backup_background_service_default_notification": "Buscando nuevos elementos…",
|
||||||
"backup_background_service_error_title": "Backup error",
|
"backup_background_service_error_title": "Error de copia de seguridad",
|
||||||
"backup_background_service_in_progress_notification": "Backing up your assets…",
|
"backup_background_service_in_progress_notification": "Subiendo elementos…",
|
||||||
"backup_background_service_upload_failure_notification": "Failed to upload {}",
|
"backup_background_service_upload_failure_notification": "Error al subir {}",
|
||||||
"backup_controller_page_albums": "Álbumes de copia de seguridad",
|
"backup_controller_page_albums": "Álbumes de copia de seguridad",
|
||||||
"backup_controller_page_background_battery_info_link": "Show me how",
|
"backup_controller_page_background_battery_info_link": "Muéstrame cómo",
|
||||||
"backup_controller_page_background_battery_info_message": "For the best background backup experience, please disable any battery optimizations restricting background activity for Immich.\n\nSince this is device-specific, please lookup the required information for your device manufacturer.",
|
"backup_controller_page_background_battery_info_message": "Para disfrutar de la mejor experiencia de copia de seguridad en segundo plano, desactive cualquier optimización de la batería que restrinja la actividad en segundo plano para Immich.\nDado que esto es específico de cada dispositivo, busque la información necesaria para el fabricante de su dispositivo.",
|
||||||
"backup_controller_page_background_battery_info_ok": "OK",
|
"backup_controller_page_background_battery_info_ok": "OK",
|
||||||
"backup_controller_page_background_battery_info_title": "Battery optimizations",
|
"backup_controller_page_background_battery_info_title": "Optimización de batería",
|
||||||
"backup_controller_page_background_charging": "Only while charging",
|
"backup_controller_page_background_charging": "Sólo mientras carga",
|
||||||
"backup_controller_page_background_configure_error": "Failed to configure the background service",
|
"backup_controller_page_background_configure_error": "Error al configurar el servicio en segundo plano",
|
||||||
"backup_controller_page_background_delay": "Delay new assets backup: {}",
|
"backup_controller_page_background_delay": "Delay new assets backup: {}",
|
||||||
"backup_controller_page_background_description": "Turn on the background service to automatically backup any new assets without needing to open the app",
|
"backup_controller_page_background_description": "Activar el servicio en segundo plano para realizar copias de seguridad automáticas de los nuevos elementos sin tener que abrir la aplicación",
|
||||||
"backup_controller_page_background_is_off": "Automatic background backup is off",
|
"backup_controller_page_background_is_off": "Copia de seguridad automática apagada",
|
||||||
"backup_controller_page_background_is_on": "Automatic background backup is on",
|
"backup_controller_page_background_is_on": "Copia de seguridad automática encendida",
|
||||||
"backup_controller_page_background_turn_off": "Turn off background service",
|
"backup_controller_page_background_turn_off": "Desactivar el servicio en segundo plano",
|
||||||
"backup_controller_page_background_turn_on": "Turn on background service",
|
"backup_controller_page_background_turn_on": "Activar el servicio en segundo plano",
|
||||||
"backup_controller_page_background_wifi": "Only on WiFi",
|
"backup_controller_page_background_wifi": "Sólo con WiFi",
|
||||||
"backup_controller_page_backup": "Copia de Seguridad",
|
"backup_controller_page_backup": "Copia de Seguridad",
|
||||||
"backup_controller_page_backup_selected": "Seleccionado:",
|
"backup_controller_page_backup_selected": "Seleccionado:",
|
||||||
"backup_controller_page_backup_sub": "Copia de seguridad de fotos y vídeos",
|
"backup_controller_page_backup_sub": "Copia de seguridad de fotos y vídeos",
|
||||||
"backup_controller_page_cancel": "Cancelar",
|
"backup_controller_page_cancel": "Cancelar",
|
||||||
"backup_controller_page_created": "Created on: {}",
|
"backup_controller_page_created": "Creado el: {}",
|
||||||
"backup_controller_page_desc_backup": "Active la copia de seguridad para cargar automáticamente los nuevos activos al servidor.",
|
"backup_controller_page_desc_backup": "Active la copia de seguridad para cargar automáticamente los nuevos elementos al servidor.",
|
||||||
"backup_controller_page_excluded": "Excluido:",
|
"backup_controller_page_excluded": "Excluido:",
|
||||||
"backup_controller_page_failed": "Failed ({})",
|
"backup_controller_page_failed": "Fallido ({})",
|
||||||
"backup_controller_page_filename": "File name: {} [{}]",
|
"backup_controller_page_filename": "Nombre de archivo: {} [{}]",
|
||||||
"backup_controller_page_id": "ID: {}",
|
"backup_controller_page_id": "ID: {}",
|
||||||
"backup_controller_page_info": "Información de la Copia de Seguridad",
|
"backup_controller_page_info": "Información de la copia de seguridad",
|
||||||
"backup_controller_page_none_selected": "Ninguno seleccionado",
|
"backup_controller_page_none_selected": "Ninguno seleccionado",
|
||||||
"backup_controller_page_remainder": "Remanente",
|
"backup_controller_page_remainder": "Restantes",
|
||||||
"backup_controller_page_remainder_sub": "Fotos y álbumes restantes para hacer una copia de seguridad de la selección",
|
"backup_controller_page_remainder_sub": "Fotos y álbumes restantes para hacer una copia de seguridad de la selección",
|
||||||
"backup_controller_page_select": "Seleccionar",
|
"backup_controller_page_select": "Seleccionar",
|
||||||
"backup_controller_page_server_storage": "Almacenamiento en el servidor",
|
"backup_controller_page_server_storage": "Almacenamiento en el servidor",
|
||||||
"backup_controller_page_start_backup": "Iniciar copia de seguridad",
|
"backup_controller_page_start_backup": "Iniciar copia de seguridad",
|
||||||
"backup_controller_page_status_off": "La copia de seguridad está desactivada",
|
"backup_controller_page_status_off": "La copia de seguridad está desactivada",
|
||||||
"backup_controller_page_status_on": "La copia de seguridad está activada",
|
"backup_controller_page_status_on": "La copia de seguridad está activada",
|
||||||
"backup_controller_page_storage_format": "{} de {} usadas",
|
"backup_controller_page_storage_format": "{} de {} usados",
|
||||||
"backup_controller_page_to_backup": "Álbumes a respaldar",
|
"backup_controller_page_to_backup": "Álbumes a respaldar",
|
||||||
"backup_controller_page_total": "Total",
|
"backup_controller_page_total": "Total",
|
||||||
"backup_controller_page_total_sub": "Todas las fotos y vídeos únicos de los álbumes seleccionados",
|
"backup_controller_page_total_sub": "Todas las fotos y vídeos únicos de los álbumes seleccionados",
|
||||||
"backup_controller_page_turn_off": "Apagar la copia de seguridad",
|
"backup_controller_page_turn_off": "Apagar la copia de seguridad",
|
||||||
"backup_controller_page_turn_on": "Activar la copia de seguridad",
|
"backup_controller_page_turn_on": "Activar la copia de seguridad",
|
||||||
"backup_controller_page_uploading_file_info": "Uploading file info",
|
"backup_controller_page_uploading_file_info": "SUbiendo información de archivos",
|
||||||
"backup_err_only_album": "No se puede eliminar el único álbum",
|
"backup_err_only_album": "No se puede eliminar el único álbum",
|
||||||
"backup_info_card_assets": "activos",
|
"backup_info_card_assets": "elementos",
|
||||||
"cache_settings_album_thumbnails": "Library page thumbnails ({} assets)",
|
"cach_settings_album_thumbnails": "Miniaturas del álbum ({} elementos)",
|
||||||
"cache_settings_clear_cache_button": "Clear cache",
|
"cache_settings_clear_cache_button": "Limpiar caché",
|
||||||
"cache_settings_clear_cache_button_title": "Clears the app's cache. This will significantly impact the app's performance until the cache has rebuilt.",
|
"cache_settings_clear_cache_button_title": "Limpia el caché de la app. Esto afectará significativamente al rendimiento de la aplicación hasta que la caché se haya reconstruido.",
|
||||||
"cache_settings_image_cache_size": "Image cache size ({} assets)",
|
"cache_settings_image_cache_size": "Miniaturas de imágenes ({} elementos)",
|
||||||
"cache_settings_statistics_album": "Library thumbnails",
|
"cache_settings_statistics_album": "Miniaturas del álbum",
|
||||||
"cache_settings_statistics_assets": "{} assets ({})",
|
"cache_settings_statistics_assets": "{} elementos ({})",
|
||||||
"cache_settings_statistics_full": "Full images",
|
"cache_settings_statistics_full": "Imágenes completas",
|
||||||
"cache_settings_statistics_shared": "Shared album thumbnails",
|
"cache_settings_statistics_shared": "Miniaturas del álbum compartido",
|
||||||
"cache_settings_statistics_thumbnail": "Thumbnails",
|
"cache_settings_statistics_thumbnail": "Miniaturas",
|
||||||
"cache_settings_statistics_title": "Cache usage",
|
"cache_settings_statistics_title": "Uso de caché",
|
||||||
"cache_settings_subtitle": "Control the caching behaviour of the Immich mobile application",
|
"cache_settings_subtitle": "Controla el comportamiento de almacenamiento en caché de la aplicación de Immich",
|
||||||
"cache_settings_thumbnail_size": "Thumbnail cache size ({} assets)",
|
"cache_settings_thumbnail_size": "Tamaño del caché de miniaturas ({} elementos)",
|
||||||
"cache_settings_title": "Caching Settings",
|
"cache_settings_title": "Ajustes del caché",
|
||||||
"control_bottom_app_bar_add_to_album": "Add to album",
|
"control_bottom_app_bar_add_to_album": "Añadir al álbum",
|
||||||
"control_bottom_app_bar_album_info": "{} items",
|
"control_bottom_app_bar_album_info": "{} elementos",
|
||||||
"control_bottom_app_bar_album_info_shared": "{} items · Shared",
|
"control_bottom_app_bar_album_info_shared": "{} elementos · Compartido",
|
||||||
"control_bottom_app_bar_create_new_album": "Create new album",
|
"control_bottom_app_bar_create_new_album": "Crear nuevo álbum",
|
||||||
"control_bottom_app_bar_delete": "Eliminar",
|
"control_bottom_app_bar_delete": "Eliminar",
|
||||||
"control_bottom_app_bar_share": "Share",
|
"control_bottom_app_bar_share": "Compartir",
|
||||||
"create_album_page_untitled": "Untitled",
|
"create_album_page_untitled": "Sin título",
|
||||||
"create_shared_album_page_create": "Create",
|
"create_shared_album_page_create": "Crear",
|
||||||
"create_shared_album_page_share": "Compartir",
|
"create_shared_album_page_share": "Compartir",
|
||||||
"create_shared_album_page_share_add_assets": "AÑADIR ACTIVOS",
|
"create_shared_album_page_share_add_assets": "AÑADIR ACTIVOS",
|
||||||
"create_shared_album_page_share_select_photos": "Seleccionar Fotos",
|
"create_shared_album_page_share_select_photos": "Seleccionar Fotos",
|
||||||
@@ -101,17 +101,17 @@
|
|||||||
"delete_dialog_cancel": "Cancelar",
|
"delete_dialog_cancel": "Cancelar",
|
||||||
"delete_dialog_ok": "Eliminar",
|
"delete_dialog_ok": "Eliminar",
|
||||||
"delete_dialog_title": "Eliminar Permanentemente",
|
"delete_dialog_title": "Eliminar Permanentemente",
|
||||||
"exif_bottom_sheet_description": "Añadir Descripción...",
|
"exif_bottom_sheet_description": "Añadir descripción...",
|
||||||
"exif_bottom_sheet_details": "DETALLES",
|
"exif_bottom_sheet_details": "DETALLES",
|
||||||
"exif_bottom_sheet_location": "LOCALZACIÓN",
|
"exif_bottom_sheet_location": "LOCALZACIÓN",
|
||||||
"experimental_settings_new_asset_list_subtitle": "Work in progress",
|
"experimental_settings_new_asset_list_subtitle": "En desarrollo",
|
||||||
"experimental_settings_new_asset_list_title": "Enable experimental photo grid",
|
"experimental_settings_new_asset_list_title": "Habilitar galería experimental",
|
||||||
"experimental_settings_subtitle": "Use at your own risk!",
|
"experimental_settings_subtitle": "¡Úsalo bajo tu responsabilidad!",
|
||||||
"experimental_settings_title": "Experimental",
|
"experimental_settings_title": "Experimental",
|
||||||
"home_page_add_to_album_conflicts": "Added {added} assets to album {album}. {failed} assets are already in the album.",
|
"home_page_add_to_album_conflicts": "Añadidos {added} elementos al álbum {album}. {failed} elementos ya estaban añadidos.",
|
||||||
"home_page_add_to_album_success": "Added {added} assets to album {album}.",
|
"home_page_add_to_album_success": "Añadidos {added} elementos al álbum {album}.",
|
||||||
"library_page_albums": "Albums",
|
"library_page_albums": "Álbumes",
|
||||||
"library_page_new_album": "New album",
|
"library_page_new_album": "Nuevo álbum",
|
||||||
"login_form_button_text": "Iniciar Sesión",
|
"login_form_button_text": "Iniciar Sesión",
|
||||||
"login_form_email_hint": "tucorreo@correo.com",
|
"login_form_email_hint": "tucorreo@correo.com",
|
||||||
"login_form_endpoint_hint": "http://tu-ip-de-servidor:puerto/api",
|
"login_form_endpoint_hint": "http://tu-ip-de-servidor:puerto/api",
|
||||||
@@ -120,75 +120,75 @@
|
|||||||
"login_form_err_invalid_email": "Correo electrónico no válido",
|
"login_form_err_invalid_email": "Correo electrónico no válido",
|
||||||
"login_form_err_leading_whitespace": "Espacio en blanco inicial",
|
"login_form_err_leading_whitespace": "Espacio en blanco inicial",
|
||||||
"login_form_err_trailing_whitespace": "Espacio en blanco al final",
|
"login_form_err_trailing_whitespace": "Espacio en blanco al final",
|
||||||
"login_form_failed_get_oauth_server_config": "Error logging using OAuth, check server URL",
|
"login_form_failed_get_oauth_server_config": "Fallo al iniciar sesión con OAuth. Comprueba la URL del servidor.",
|
||||||
"login_form_failed_get_oauth_server_disable": "OAuth feature is not available on this server",
|
"login_form_failed_get_oauth_server_disable": "OAuth no está disponible en este servidor",
|
||||||
"login_form_failed_login": "Error logging you in, check server URL, email and password",
|
"login_form_failed_login": "Fallo al iniciar sesión, comprueba URL, correo y contraseña",
|
||||||
"login_form_label_email": "Correo",
|
"login_form_label_email": "Correo",
|
||||||
"login_form_label_password": "Contraseña",
|
"login_form_label_password": "Contraseña",
|
||||||
"login_form_password_hint": "contraseña",
|
"login_form_password_hint": "contraseña",
|
||||||
"login_form_save_login": "Mantener la sesión iniciada",
|
"login_form_save_login": "Mantener la sesión iniciada",
|
||||||
"monthly_title_text_date_format": "MMMM y",
|
"monthly_title_text_date_format": "MMMM y",
|
||||||
"profile_drawer_app_logs": "Logs",
|
"profile_drawer_app_logs": "Registros",
|
||||||
"profile_drawer_client_server_up_to_date": "El Cliente y el Servidor están actualizados",
|
"profile_drawer_client_server_up_to_date": "El cliente y el servidor están actualizados",
|
||||||
"profile_drawer_settings": "Settings",
|
"profile_drawer_settings": "Ajustes",
|
||||||
"profile_drawer_sign_out": "Cerrar Sesión",
|
"profile_drawer_sign_out": "Cerrar Sesión",
|
||||||
"search_bar_hint": "Busca tus fotos",
|
"search_bar_hint": "Buscar fotos",
|
||||||
"search_page_no_objects": "No Objects Info Available",
|
"search_page_no_objects": "No hay información sobre objetos",
|
||||||
"search_page_no_places": "No hay información de lugares disponibles",
|
"search_page_no_places": "No hay información sobre lugares",
|
||||||
"search_page_places": "Lugares",
|
"search_page_places": "Lugares",
|
||||||
"search_page_things": "Cosas",
|
"search_page_things": "Objetos",
|
||||||
"search_result_page_new_search_hint": "Nueva Busqueda",
|
"search_result_page_new_search_hint": "Nueva búsqueda",
|
||||||
"select_additional_user_for_sharing_page_suggestions": "Sugerencias",
|
"select_additional_user_for_sharing_page_suggestions": "Sugerencias",
|
||||||
"select_user_for_sharing_page_err_album": "Fallo al crear el álbum",
|
"select_user_for_sharing_page_err_album": "Fallo al crear el álbum",
|
||||||
"select_user_for_sharing_page_share_suggestions": "Suggestions",
|
"select_user_for_sharing_page_share_suggestions": "Sugerencias",
|
||||||
"setting_image_viewer_help": "The detail viewer loads the small thumbnail first, then loads the medium-size preview (if enabled), finally loads the original (if enabled).",
|
"setting_image_viewer_help": "El visor carga primero la miniatura pequeña, luego carga la de tamaño medio (si está activada) y por último la original (si está activada).",
|
||||||
"setting_image_viewer_original_subtitle": "Enable to load the original full-resolution image (large!). Disable to reduce data usage (both network and on device cache).",
|
"setting_image_viewer_original_subtitle": "Activar para cargar la imagen original (¡grande!). Desactivar para reducir el uso de datos (tanto de red como de caché).",
|
||||||
"setting_image_viewer_original_title": "Load original image",
|
"setting_image_viewer_original_title": "Cargar imágenes originales",
|
||||||
"setting_image_viewer_preview_subtitle": "Enable to load a medium-resolution image. Disable to either directly load the original or only use the thumbnail.",
|
"setting_image_viewer_preview_subtitle": "Activar para cargar una imagen de resolución media. Desactivar para cargar directamente el original o utilizar sólo la miniatura.",
|
||||||
"setting_image_viewer_preview_title": "Load preview image",
|
"setting_image_viewer_preview_title": "Cargar miniaturas",
|
||||||
"setting_notifications_notify_failures_grace_period": "Notify background backup failures: {}",
|
"setting_notifications_notify_failures_grace_period": "Notificar fallos de carga en segundo plano: {}",
|
||||||
"setting_notifications_notify_hours": "{} hours",
|
"setting_notifications_notify_hours": "{} horas",
|
||||||
"setting_notifications_notify_immediately": "immediately",
|
"setting_notifications_notify_immediately": "inmediatamente",
|
||||||
"setting_notifications_notify_minutes": "{} minutes",
|
"setting_notifications_notify_minutes": "{} minutos",
|
||||||
"setting_notifications_notify_never": "never",
|
"setting_notifications_notify_never": "nunca",
|
||||||
"setting_notifications_notify_seconds": "{} seconds",
|
"setting_notifications_notify_seconds": "{} segundos",
|
||||||
"setting_notifications_single_progress_subtitle": "Detailed upload progress information per asset",
|
"setting_notifications_single_progress_subtitle": "Información detallada por cada elemento en copia",
|
||||||
"setting_notifications_single_progress_title": "Show background backup detail progress",
|
"setting_notifications_single_progress_title": "Mostrar detalles de la subida",
|
||||||
"setting_notifications_subtitle": "Adjust your notification preferences",
|
"setting_notifications_subtitle": "Ajusta tus preferencias de notificación",
|
||||||
"setting_notifications_title": "Notifications",
|
"setting_notifications_title": "Notificaciones",
|
||||||
"setting_notifications_total_progress_subtitle": "Overall upload progress (done/total assets)",
|
"setting_notifications_total_progress_subtitle": "Progreso general de la subida (subidos/total elementos)",
|
||||||
"setting_notifications_total_progress_title": "Show background backup total progress",
|
"setting_notifications_total_progress_title": "Mostrar progreso de la subida",
|
||||||
"setting_pages_app_bar_settings": "Settings",
|
"setting_pages_app_bar_settings": "Ajustes",
|
||||||
"settings_require_restart": "Please restart Immich to apply this setting",
|
"settings_require_restart": "Por favor, reinica Immich para aplicar estos cambios",
|
||||||
"share_add": "Añadir",
|
"share_add": "Añadir",
|
||||||
"share_add_photos": "Añadir fotos",
|
"share_add_photos": "Añadir fotos",
|
||||||
"share_add_title": "Añadir un título",
|
"share_add_title": "Añadir un título",
|
||||||
"share_create_album": "Crear álbum",
|
"share_create_album": "Crear álbum",
|
||||||
"share_dialog_preparing": "Preparing...",
|
"share_dialog_preparing": "Preparando...",
|
||||||
"share_invite": "Invitar al álbum",
|
"share_invite": "Invitar al álbum",
|
||||||
"sharing_page_album": "Álbumes compartidos",
|
"sharing_page_album": "Álbumes compartidos",
|
||||||
"sharing_page_description": "Crea álbumes compartidos para compartir fotos y vídeos con las personas de tu red.",
|
"sharing_page_description": "Crea álbumes compartidos para compartir fotos y vídeos con otros usuarios.",
|
||||||
"sharing_page_empty_list": "LISTA VACIA",
|
"sharing_page_empty_list": "LISTA VACÍA",
|
||||||
"sharing_silver_appbar_create_shared_album": "Crear un álbum compartido",
|
"sharing_silver_appbar_create_shared_album": "Crear un álbum compartido",
|
||||||
"sharing_silver_appbar_share_partner": "Compartir con el compañero",
|
"sharing_silver_appbar_share_partner": "Compartir con pareja",
|
||||||
"tab_controller_nav_library": "Library",
|
"tab_controller_nav_library": "Álbumes",
|
||||||
"tab_controller_nav_photos": "Fotos",
|
"tab_controller_nav_photos": "Galería",
|
||||||
"tab_controller_nav_search": "Buscar",
|
"tab_controller_nav_search": "Buscar",
|
||||||
"tab_controller_nav_sharing": "Compartiendo",
|
"tab_controller_nav_sharing": "Compartido",
|
||||||
"theme_setting_asset_list_storage_indicator_title": "Show storage indicator on asset tiles",
|
"theme_setting_asset_list_storage_indicator_title": "Mostrar estado de subida en cada elemento",
|
||||||
"theme_setting_asset_list_tiles_per_row_title": "Number of assets per row ({})",
|
"theme_setting_asset_list_tiles_per_row_title": "Número de elementos por fila ({})",
|
||||||
"theme_setting_dark_mode_switch": "Dark mode",
|
"theme_setting_dark_mode_switch": "Modo oscuro",
|
||||||
"theme_setting_image_viewer_quality_subtitle": "Adjust the quality of the detail image viewer",
|
"theme_setting_image_viewer_quality_subtitle": "Ajusta la calidad del visor",
|
||||||
"theme_setting_image_viewer_quality_title": "Image viewer quality",
|
"theme_setting_image_viewer_quality_title": "Calidad del visor",
|
||||||
"theme_setting_system_theme_switch": "Automatic (Follow system setting)",
|
"theme_setting_system_theme_switch": "Automático (Según ajustes del sistema)",
|
||||||
"theme_setting_theme_subtitle": "Choose the app's theme setting",
|
"theme_setting_theme_subtitle": "Elige el tema de la app",
|
||||||
"theme_setting_theme_title": "Theme",
|
"theme_setting_theme_title": "Tema",
|
||||||
"theme_setting_three_stage_loading_subtitle": "Three-stage loading might increase the loading performance but causes significantly higher network load",
|
"theme_setting_three_stage_loading_subtitle": "La carga en tres fases podría aumentar el rendimiento pero provoca una mayor carga de red",
|
||||||
"theme_setting_three_stage_loading_title": "Enable three-stage loading",
|
"theme_setting_three_stage_loading_title": "Activar carga en tres fases",
|
||||||
"version_announcement_overlay_ack": "Reconocer",
|
"version_announcement_overlay_ack": "Reconocer",
|
||||||
"version_announcement_overlay_release_notes": "notas de versión",
|
"version_announcement_overlay_release_notes": "Notas de la versión",
|
||||||
"version_announcement_overlay_text_1": "Hola amigo, hay una nueva versión de",
|
"version_announcement_overlay_text_1": "¡Hola! Hay una nueva versión de",
|
||||||
"version_announcement_overlay_text_2": "tómese su tiempo para visitar la ",
|
"version_announcement_overlay_text_2": "tómate tu tiempo para visitar la ",
|
||||||
"version_announcement_overlay_text_3": "y asegurate de que tu configuración de docker-compose y .env está actualizada para evitar cualquier desconfiguración, especialmente si utiliza WatchTower o cualquier mecanismo que se encargue de actualizar su aplicación de servidor automáticamente.",
|
"version_announcement_overlay_text_3": "y asegúrate de que tu docker-compose y .env están actualizados para prevenir cualquier configuración errónea, especialmente si usas WatchTower o cualquier otro mecanismo que automatice la actualización.",
|
||||||
"version_announcement_overlay_title": "Nueva versión del servidor disponible \uD83C\uDF89"
|
"version_announcement_overlay_title": "Nueva versión del servidor disponible \uD83C\uDF89"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ platform :ios do
|
|||||||
desc "iOS Beta"
|
desc "iOS Beta"
|
||||||
lane :beta do
|
lane :beta do
|
||||||
increment_version_number(
|
increment_version_number(
|
||||||
version_number: "1.40.0"
|
version_number: "1.41.0"
|
||||||
)
|
)
|
||||||
increment_build_number(
|
increment_build_number(
|
||||||
build_number: latest_testflight_build_number + 1,
|
build_number: latest_testflight_build_number + 1,
|
||||||
|
|||||||
36
mobile/openapi/.openapi-generator/FILES
generated
36
mobile/openapi/.openapi-generator/FILES
generated
@@ -3,6 +3,11 @@
|
|||||||
.travis.yml
|
.travis.yml
|
||||||
README.md
|
README.md
|
||||||
analysis_options.yaml
|
analysis_options.yaml
|
||||||
|
doc/APIKeyApi.md
|
||||||
|
doc/APIKeyCreateDto.md
|
||||||
|
doc/APIKeyCreateResponseDto.md
|
||||||
|
doc/APIKeyResponseDto.md
|
||||||
|
doc/APIKeyUpdateDto.md
|
||||||
doc/AddAssetsDto.md
|
doc/AddAssetsDto.md
|
||||||
doc/AddAssetsResponseDto.md
|
doc/AddAssetsResponseDto.md
|
||||||
doc/AddUsersDto.md
|
doc/AddUsersDto.md
|
||||||
@@ -25,6 +30,7 @@ doc/CheckDuplicateAssetResponseDto.md
|
|||||||
doc/CheckExistingAssetsDto.md
|
doc/CheckExistingAssetsDto.md
|
||||||
doc/CheckExistingAssetsResponseDto.md
|
doc/CheckExistingAssetsResponseDto.md
|
||||||
doc/CreateAlbumDto.md
|
doc/CreateAlbumDto.md
|
||||||
|
doc/CreateAlbumShareLinkDto.md
|
||||||
doc/CreateProfileImageResponseDto.md
|
doc/CreateProfileImageResponseDto.md
|
||||||
doc/CreateTagDto.md
|
doc/CreateTagDto.md
|
||||||
doc/CreateUserDto.md
|
doc/CreateUserDto.md
|
||||||
@@ -36,6 +42,8 @@ doc/DeleteAssetStatus.md
|
|||||||
doc/DeviceInfoApi.md
|
doc/DeviceInfoApi.md
|
||||||
doc/DeviceInfoResponseDto.md
|
doc/DeviceInfoResponseDto.md
|
||||||
doc/DeviceTypeEnum.md
|
doc/DeviceTypeEnum.md
|
||||||
|
doc/DownloadFilesDto.md
|
||||||
|
doc/EditSharedLinkDto.md
|
||||||
doc/ExifResponseDto.md
|
doc/ExifResponseDto.md
|
||||||
doc/GetAssetByTimeBucketDto.md
|
doc/GetAssetByTimeBucketDto.md
|
||||||
doc/GetAssetCountByTimeBucketDto.md
|
doc/GetAssetCountByTimeBucketDto.md
|
||||||
@@ -59,12 +67,16 @@ doc/ServerInfoResponseDto.md
|
|||||||
doc/ServerPingResponse.md
|
doc/ServerPingResponse.md
|
||||||
doc/ServerStatsResponseDto.md
|
doc/ServerStatsResponseDto.md
|
||||||
doc/ServerVersionReponseDto.md
|
doc/ServerVersionReponseDto.md
|
||||||
|
doc/ShareApi.md
|
||||||
|
doc/SharedLinkResponseDto.md
|
||||||
|
doc/SharedLinkType.md
|
||||||
doc/SignUpDto.md
|
doc/SignUpDto.md
|
||||||
doc/SmartInfoResponseDto.md
|
doc/SmartInfoResponseDto.md
|
||||||
doc/SystemConfigApi.md
|
doc/SystemConfigApi.md
|
||||||
doc/SystemConfigDto.md
|
doc/SystemConfigDto.md
|
||||||
doc/SystemConfigFFmpegDto.md
|
doc/SystemConfigFFmpegDto.md
|
||||||
doc/SystemConfigOAuthDto.md
|
doc/SystemConfigOAuthDto.md
|
||||||
|
doc/SystemConfigPasswordLoginDto.md
|
||||||
doc/SystemConfigStorageTemplateDto.md
|
doc/SystemConfigStorageTemplateDto.md
|
||||||
doc/SystemConfigTemplateStorageOptionDto.md
|
doc/SystemConfigTemplateStorageOptionDto.md
|
||||||
doc/TagApi.md
|
doc/TagApi.md
|
||||||
@@ -85,12 +97,14 @@ doc/ValidateAccessTokenResponseDto.md
|
|||||||
git_push.sh
|
git_push.sh
|
||||||
lib/api.dart
|
lib/api.dart
|
||||||
lib/api/album_api.dart
|
lib/api/album_api.dart
|
||||||
|
lib/api/api_key_api.dart
|
||||||
lib/api/asset_api.dart
|
lib/api/asset_api.dart
|
||||||
lib/api/authentication_api.dart
|
lib/api/authentication_api.dart
|
||||||
lib/api/device_info_api.dart
|
lib/api/device_info_api.dart
|
||||||
lib/api/job_api.dart
|
lib/api/job_api.dart
|
||||||
lib/api/o_auth_api.dart
|
lib/api/o_auth_api.dart
|
||||||
lib/api/server_info_api.dart
|
lib/api/server_info_api.dart
|
||||||
|
lib/api/share_api.dart
|
||||||
lib/api/system_config_api.dart
|
lib/api/system_config_api.dart
|
||||||
lib/api/tag_api.dart
|
lib/api/tag_api.dart
|
||||||
lib/api/user_api.dart
|
lib/api/user_api.dart
|
||||||
@@ -109,6 +123,10 @@ lib/model/admin_signup_response_dto.dart
|
|||||||
lib/model/album_count_response_dto.dart
|
lib/model/album_count_response_dto.dart
|
||||||
lib/model/album_response_dto.dart
|
lib/model/album_response_dto.dart
|
||||||
lib/model/all_job_status_response_dto.dart
|
lib/model/all_job_status_response_dto.dart
|
||||||
|
lib/model/api_key_create_dto.dart
|
||||||
|
lib/model/api_key_create_response_dto.dart
|
||||||
|
lib/model/api_key_response_dto.dart
|
||||||
|
lib/model/api_key_update_dto.dart
|
||||||
lib/model/asset_count_by_time_bucket.dart
|
lib/model/asset_count_by_time_bucket.dart
|
||||||
lib/model/asset_count_by_time_bucket_response_dto.dart
|
lib/model/asset_count_by_time_bucket_response_dto.dart
|
||||||
lib/model/asset_count_by_user_id_response_dto.dart
|
lib/model/asset_count_by_user_id_response_dto.dart
|
||||||
@@ -121,6 +139,7 @@ lib/model/check_duplicate_asset_response_dto.dart
|
|||||||
lib/model/check_existing_assets_dto.dart
|
lib/model/check_existing_assets_dto.dart
|
||||||
lib/model/check_existing_assets_response_dto.dart
|
lib/model/check_existing_assets_response_dto.dart
|
||||||
lib/model/create_album_dto.dart
|
lib/model/create_album_dto.dart
|
||||||
|
lib/model/create_album_share_link_dto.dart
|
||||||
lib/model/create_profile_image_response_dto.dart
|
lib/model/create_profile_image_response_dto.dart
|
||||||
lib/model/create_tag_dto.dart
|
lib/model/create_tag_dto.dart
|
||||||
lib/model/create_user_dto.dart
|
lib/model/create_user_dto.dart
|
||||||
@@ -131,6 +150,8 @@ lib/model/delete_asset_response_dto.dart
|
|||||||
lib/model/delete_asset_status.dart
|
lib/model/delete_asset_status.dart
|
||||||
lib/model/device_info_response_dto.dart
|
lib/model/device_info_response_dto.dart
|
||||||
lib/model/device_type_enum.dart
|
lib/model/device_type_enum.dart
|
||||||
|
lib/model/download_files_dto.dart
|
||||||
|
lib/model/edit_shared_link_dto.dart
|
||||||
lib/model/exif_response_dto.dart
|
lib/model/exif_response_dto.dart
|
||||||
lib/model/get_asset_by_time_bucket_dto.dart
|
lib/model/get_asset_by_time_bucket_dto.dart
|
||||||
lib/model/get_asset_count_by_time_bucket_dto.dart
|
lib/model/get_asset_count_by_time_bucket_dto.dart
|
||||||
@@ -151,11 +172,14 @@ lib/model/server_info_response_dto.dart
|
|||||||
lib/model/server_ping_response.dart
|
lib/model/server_ping_response.dart
|
||||||
lib/model/server_stats_response_dto.dart
|
lib/model/server_stats_response_dto.dart
|
||||||
lib/model/server_version_reponse_dto.dart
|
lib/model/server_version_reponse_dto.dart
|
||||||
|
lib/model/shared_link_response_dto.dart
|
||||||
|
lib/model/shared_link_type.dart
|
||||||
lib/model/sign_up_dto.dart
|
lib/model/sign_up_dto.dart
|
||||||
lib/model/smart_info_response_dto.dart
|
lib/model/smart_info_response_dto.dart
|
||||||
lib/model/system_config_dto.dart
|
lib/model/system_config_dto.dart
|
||||||
lib/model/system_config_f_fmpeg_dto.dart
|
lib/model/system_config_f_fmpeg_dto.dart
|
||||||
lib/model/system_config_o_auth_dto.dart
|
lib/model/system_config_o_auth_dto.dart
|
||||||
|
lib/model/system_config_password_login_dto.dart
|
||||||
lib/model/system_config_storage_template_dto.dart
|
lib/model/system_config_storage_template_dto.dart
|
||||||
lib/model/system_config_template_storage_option_dto.dart
|
lib/model/system_config_template_storage_option_dto.dart
|
||||||
lib/model/tag_response_dto.dart
|
lib/model/tag_response_dto.dart
|
||||||
@@ -180,6 +204,11 @@ test/album_api_test.dart
|
|||||||
test/album_count_response_dto_test.dart
|
test/album_count_response_dto_test.dart
|
||||||
test/album_response_dto_test.dart
|
test/album_response_dto_test.dart
|
||||||
test/all_job_status_response_dto_test.dart
|
test/all_job_status_response_dto_test.dart
|
||||||
|
test/api_key_api_test.dart
|
||||||
|
test/api_key_create_dto_test.dart
|
||||||
|
test/api_key_create_response_dto_test.dart
|
||||||
|
test/api_key_response_dto_test.dart
|
||||||
|
test/api_key_update_dto_test.dart
|
||||||
test/asset_api_test.dart
|
test/asset_api_test.dart
|
||||||
test/asset_count_by_time_bucket_response_dto_test.dart
|
test/asset_count_by_time_bucket_response_dto_test.dart
|
||||||
test/asset_count_by_time_bucket_test.dart
|
test/asset_count_by_time_bucket_test.dart
|
||||||
@@ -194,6 +223,7 @@ test/check_duplicate_asset_response_dto_test.dart
|
|||||||
test/check_existing_assets_dto_test.dart
|
test/check_existing_assets_dto_test.dart
|
||||||
test/check_existing_assets_response_dto_test.dart
|
test/check_existing_assets_response_dto_test.dart
|
||||||
test/create_album_dto_test.dart
|
test/create_album_dto_test.dart
|
||||||
|
test/create_album_share_link_dto_test.dart
|
||||||
test/create_profile_image_response_dto_test.dart
|
test/create_profile_image_response_dto_test.dart
|
||||||
test/create_tag_dto_test.dart
|
test/create_tag_dto_test.dart
|
||||||
test/create_user_dto_test.dart
|
test/create_user_dto_test.dart
|
||||||
@@ -205,6 +235,8 @@ test/delete_asset_status_test.dart
|
|||||||
test/device_info_api_test.dart
|
test/device_info_api_test.dart
|
||||||
test/device_info_response_dto_test.dart
|
test/device_info_response_dto_test.dart
|
||||||
test/device_type_enum_test.dart
|
test/device_type_enum_test.dart
|
||||||
|
test/download_files_dto_test.dart
|
||||||
|
test/edit_shared_link_dto_test.dart
|
||||||
test/exif_response_dto_test.dart
|
test/exif_response_dto_test.dart
|
||||||
test/get_asset_by_time_bucket_dto_test.dart
|
test/get_asset_by_time_bucket_dto_test.dart
|
||||||
test/get_asset_count_by_time_bucket_dto_test.dart
|
test/get_asset_count_by_time_bucket_dto_test.dart
|
||||||
@@ -228,12 +260,16 @@ test/server_info_response_dto_test.dart
|
|||||||
test/server_ping_response_test.dart
|
test/server_ping_response_test.dart
|
||||||
test/server_stats_response_dto_test.dart
|
test/server_stats_response_dto_test.dart
|
||||||
test/server_version_reponse_dto_test.dart
|
test/server_version_reponse_dto_test.dart
|
||||||
|
test/share_api_test.dart
|
||||||
|
test/shared_link_response_dto_test.dart
|
||||||
|
test/shared_link_type_test.dart
|
||||||
test/sign_up_dto_test.dart
|
test/sign_up_dto_test.dart
|
||||||
test/smart_info_response_dto_test.dart
|
test/smart_info_response_dto_test.dart
|
||||||
test/system_config_api_test.dart
|
test/system_config_api_test.dart
|
||||||
test/system_config_dto_test.dart
|
test/system_config_dto_test.dart
|
||||||
test/system_config_f_fmpeg_dto_test.dart
|
test/system_config_f_fmpeg_dto_test.dart
|
||||||
test/system_config_o_auth_dto_test.dart
|
test/system_config_o_auth_dto_test.dart
|
||||||
|
test/system_config_password_login_dto_test.dart
|
||||||
test/system_config_storage_template_dto_test.dart
|
test/system_config_storage_template_dto_test.dart
|
||||||
test/system_config_template_storage_option_dto_test.dart
|
test/system_config_template_storage_option_dto_test.dart
|
||||||
test/tag_api_test.dart
|
test/tag_api_test.dart
|
||||||
|
|||||||
40
mobile/openapi/README.md
generated
40
mobile/openapi/README.md
generated
@@ -3,7 +3,7 @@ Immich API
|
|||||||
|
|
||||||
This Dart package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
This Dart package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
||||||
|
|
||||||
- API version: 1.39.0
|
- API version: 1.40.0
|
||||||
- Build package: org.openapitools.codegen.languages.DartClientCodegen
|
- Build package: org.openapitools.codegen.languages.DartClientCodegen
|
||||||
|
|
||||||
## Requirements
|
## Requirements
|
||||||
@@ -39,22 +39,15 @@ Please follow the [installation procedure](#installation--usage) and then run th
|
|||||||
```dart
|
```dart
|
||||||
import 'package:openapi/api.dart';
|
import 'package:openapi/api.dart';
|
||||||
|
|
||||||
// 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);
|
|
||||||
|
|
||||||
final api_instance = AlbumApi();
|
final api_instance = APIKeyApi();
|
||||||
final albumId = albumId_example; // String |
|
final aPIKeyCreateDto = APIKeyCreateDto(); // APIKeyCreateDto |
|
||||||
final addAssetsDto = AddAssetsDto(); // AddAssetsDto |
|
|
||||||
|
|
||||||
try {
|
try {
|
||||||
final result = api_instance.addAssetsToAlbum(albumId, addAssetsDto);
|
final result = api_instance.createKey(aPIKeyCreateDto);
|
||||||
print(result);
|
print(result);
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
print('Exception when calling AlbumApi->addAssetsToAlbum: $e\n');
|
print('Exception when calling APIKeyApi->createKey: $e\n');
|
||||||
}
|
}
|
||||||
|
|
||||||
```
|
```
|
||||||
@@ -65,9 +58,15 @@ All URIs are relative to */api*
|
|||||||
|
|
||||||
Class | Method | HTTP request | Description
|
Class | Method | HTTP request | Description
|
||||||
------------ | ------------- | ------------- | -------------
|
------------ | ------------- | ------------- | -------------
|
||||||
|
*APIKeyApi* | [**createKey**](doc//APIKeyApi.md#createkey) | **POST** /api-key |
|
||||||
|
*APIKeyApi* | [**deleteKey**](doc//APIKeyApi.md#deletekey) | **DELETE** /api-key/{id} |
|
||||||
|
*APIKeyApi* | [**getKey**](doc//APIKeyApi.md#getkey) | **GET** /api-key/{id} |
|
||||||
|
*APIKeyApi* | [**getKeys**](doc//APIKeyApi.md#getkeys) | **GET** /api-key |
|
||||||
|
*APIKeyApi* | [**updateKey**](doc//APIKeyApi.md#updatekey) | **PUT** /api-key/{id} |
|
||||||
*AlbumApi* | [**addAssetsToAlbum**](doc//AlbumApi.md#addassetstoalbum) | **PUT** /album/{albumId}/assets |
|
*AlbumApi* | [**addAssetsToAlbum**](doc//AlbumApi.md#addassetstoalbum) | **PUT** /album/{albumId}/assets |
|
||||||
*AlbumApi* | [**addUsersToAlbum**](doc//AlbumApi.md#adduserstoalbum) | **PUT** /album/{albumId}/users |
|
*AlbumApi* | [**addUsersToAlbum**](doc//AlbumApi.md#adduserstoalbum) | **PUT** /album/{albumId}/users |
|
||||||
*AlbumApi* | [**createAlbum**](doc//AlbumApi.md#createalbum) | **POST** /album |
|
*AlbumApi* | [**createAlbum**](doc//AlbumApi.md#createalbum) | **POST** /album |
|
||||||
|
*AlbumApi* | [**createAlbumSharedLink**](doc//AlbumApi.md#createalbumsharedlink) | **POST** /album/create-shared-link |
|
||||||
*AlbumApi* | [**deleteAlbum**](doc//AlbumApi.md#deletealbum) | **DELETE** /album/{albumId} |
|
*AlbumApi* | [**deleteAlbum**](doc//AlbumApi.md#deletealbum) | **DELETE** /album/{albumId} |
|
||||||
*AlbumApi* | [**downloadArchive**](doc//AlbumApi.md#downloadarchive) | **GET** /album/{albumId}/download |
|
*AlbumApi* | [**downloadArchive**](doc//AlbumApi.md#downloadarchive) | **GET** /album/{albumId}/download |
|
||||||
*AlbumApi* | [**getAlbumCountByUserId**](doc//AlbumApi.md#getalbumcountbyuserid) | **GET** /album/count-by-user-id |
|
*AlbumApi* | [**getAlbumCountByUserId**](doc//AlbumApi.md#getalbumcountbyuserid) | **GET** /album/count-by-user-id |
|
||||||
@@ -80,6 +79,7 @@ Class | Method | HTTP request | Description
|
|||||||
*AssetApi* | [**checkExistingAssets**](doc//AssetApi.md#checkexistingassets) | **POST** /asset/exist |
|
*AssetApi* | [**checkExistingAssets**](doc//AssetApi.md#checkexistingassets) | **POST** /asset/exist |
|
||||||
*AssetApi* | [**deleteAsset**](doc//AssetApi.md#deleteasset) | **DELETE** /asset |
|
*AssetApi* | [**deleteAsset**](doc//AssetApi.md#deleteasset) | **DELETE** /asset |
|
||||||
*AssetApi* | [**downloadFile**](doc//AssetApi.md#downloadfile) | **GET** /asset/download/{assetId} |
|
*AssetApi* | [**downloadFile**](doc//AssetApi.md#downloadfile) | **GET** /asset/download/{assetId} |
|
||||||
|
*AssetApi* | [**downloadFiles**](doc//AssetApi.md#downloadfiles) | **POST** /asset/download-files |
|
||||||
*AssetApi* | [**downloadLibrary**](doc//AssetApi.md#downloadlibrary) | **GET** /asset/download-library |
|
*AssetApi* | [**downloadLibrary**](doc//AssetApi.md#downloadlibrary) | **GET** /asset/download-library |
|
||||||
*AssetApi* | [**getAllAssets**](doc//AssetApi.md#getallassets) | **GET** /asset |
|
*AssetApi* | [**getAllAssets**](doc//AssetApi.md#getallassets) | **GET** /asset |
|
||||||
*AssetApi* | [**getAssetById**](doc//AssetApi.md#getassetbyid) | **GET** /asset/assetById/{assetId} |
|
*AssetApi* | [**getAssetById**](doc//AssetApi.md#getassetbyid) | **GET** /asset/assetById/{assetId} |
|
||||||
@@ -109,11 +109,17 @@ Class | Method | HTTP request | Description
|
|||||||
*OAuthApi* | [**callback**](doc//OAuthApi.md#callback) | **POST** /oauth/callback |
|
*OAuthApi* | [**callback**](doc//OAuthApi.md#callback) | **POST** /oauth/callback |
|
||||||
*OAuthApi* | [**generateConfig**](doc//OAuthApi.md#generateconfig) | **POST** /oauth/config |
|
*OAuthApi* | [**generateConfig**](doc//OAuthApi.md#generateconfig) | **POST** /oauth/config |
|
||||||
*OAuthApi* | [**link**](doc//OAuthApi.md#link) | **POST** /oauth/link |
|
*OAuthApi* | [**link**](doc//OAuthApi.md#link) | **POST** /oauth/link |
|
||||||
|
*OAuthApi* | [**mobileRedirect**](doc//OAuthApi.md#mobileredirect) | **GET** /oauth/mobile-redirect |
|
||||||
*OAuthApi* | [**unlink**](doc//OAuthApi.md#unlink) | **POST** /oauth/unlink |
|
*OAuthApi* | [**unlink**](doc//OAuthApi.md#unlink) | **POST** /oauth/unlink |
|
||||||
*ServerInfoApi* | [**getServerInfo**](doc//ServerInfoApi.md#getserverinfo) | **GET** /server-info |
|
*ServerInfoApi* | [**getServerInfo**](doc//ServerInfoApi.md#getserverinfo) | **GET** /server-info |
|
||||||
*ServerInfoApi* | [**getServerVersion**](doc//ServerInfoApi.md#getserverversion) | **GET** /server-info/version |
|
*ServerInfoApi* | [**getServerVersion**](doc//ServerInfoApi.md#getserverversion) | **GET** /server-info/version |
|
||||||
*ServerInfoApi* | [**getStats**](doc//ServerInfoApi.md#getstats) | **GET** /server-info/stats |
|
*ServerInfoApi* | [**getStats**](doc//ServerInfoApi.md#getstats) | **GET** /server-info/stats |
|
||||||
*ServerInfoApi* | [**pingServer**](doc//ServerInfoApi.md#pingserver) | **GET** /server-info/ping |
|
*ServerInfoApi* | [**pingServer**](doc//ServerInfoApi.md#pingserver) | **GET** /server-info/ping |
|
||||||
|
*ShareApi* | [**editSharedLink**](doc//ShareApi.md#editsharedlink) | **PATCH** /share/{id} |
|
||||||
|
*ShareApi* | [**getAllSharedLinks**](doc//ShareApi.md#getallsharedlinks) | **GET** /share |
|
||||||
|
*ShareApi* | [**getMySharedLink**](doc//ShareApi.md#getmysharedlink) | **GET** /share/me |
|
||||||
|
*ShareApi* | [**getSharedLinkById**](doc//ShareApi.md#getsharedlinkbyid) | **GET** /share/{id} |
|
||||||
|
*ShareApi* | [**removeSharedLink**](doc//ShareApi.md#removesharedlink) | **DELETE** /share/{id} |
|
||||||
*SystemConfigApi* | [**getConfig**](doc//SystemConfigApi.md#getconfig) | **GET** /system-config |
|
*SystemConfigApi* | [**getConfig**](doc//SystemConfigApi.md#getconfig) | **GET** /system-config |
|
||||||
*SystemConfigApi* | [**getDefaults**](doc//SystemConfigApi.md#getdefaults) | **GET** /system-config/defaults |
|
*SystemConfigApi* | [**getDefaults**](doc//SystemConfigApi.md#getdefaults) | **GET** /system-config/defaults |
|
||||||
*SystemConfigApi* | [**getStorageTemplateOptions**](doc//SystemConfigApi.md#getstoragetemplateoptions) | **GET** /system-config/storage-template-options |
|
*SystemConfigApi* | [**getStorageTemplateOptions**](doc//SystemConfigApi.md#getstoragetemplateoptions) | **GET** /system-config/storage-template-options |
|
||||||
@@ -137,6 +143,10 @@ Class | Method | HTTP request | Description
|
|||||||
|
|
||||||
## Documentation For Models
|
## Documentation For Models
|
||||||
|
|
||||||
|
- [APIKeyCreateDto](doc//APIKeyCreateDto.md)
|
||||||
|
- [APIKeyCreateResponseDto](doc//APIKeyCreateResponseDto.md)
|
||||||
|
- [APIKeyResponseDto](doc//APIKeyResponseDto.md)
|
||||||
|
- [APIKeyUpdateDto](doc//APIKeyUpdateDto.md)
|
||||||
- [AddAssetsDto](doc//AddAssetsDto.md)
|
- [AddAssetsDto](doc//AddAssetsDto.md)
|
||||||
- [AddAssetsResponseDto](doc//AddAssetsResponseDto.md)
|
- [AddAssetsResponseDto](doc//AddAssetsResponseDto.md)
|
||||||
- [AddUsersDto](doc//AddUsersDto.md)
|
- [AddUsersDto](doc//AddUsersDto.md)
|
||||||
@@ -156,6 +166,7 @@ Class | Method | HTTP request | Description
|
|||||||
- [CheckExistingAssetsDto](doc//CheckExistingAssetsDto.md)
|
- [CheckExistingAssetsDto](doc//CheckExistingAssetsDto.md)
|
||||||
- [CheckExistingAssetsResponseDto](doc//CheckExistingAssetsResponseDto.md)
|
- [CheckExistingAssetsResponseDto](doc//CheckExistingAssetsResponseDto.md)
|
||||||
- [CreateAlbumDto](doc//CreateAlbumDto.md)
|
- [CreateAlbumDto](doc//CreateAlbumDto.md)
|
||||||
|
- [CreateAlbumShareLinkDto](doc//CreateAlbumShareLinkDto.md)
|
||||||
- [CreateProfileImageResponseDto](doc//CreateProfileImageResponseDto.md)
|
- [CreateProfileImageResponseDto](doc//CreateProfileImageResponseDto.md)
|
||||||
- [CreateTagDto](doc//CreateTagDto.md)
|
- [CreateTagDto](doc//CreateTagDto.md)
|
||||||
- [CreateUserDto](doc//CreateUserDto.md)
|
- [CreateUserDto](doc//CreateUserDto.md)
|
||||||
@@ -166,6 +177,8 @@ Class | Method | HTTP request | Description
|
|||||||
- [DeleteAssetStatus](doc//DeleteAssetStatus.md)
|
- [DeleteAssetStatus](doc//DeleteAssetStatus.md)
|
||||||
- [DeviceInfoResponseDto](doc//DeviceInfoResponseDto.md)
|
- [DeviceInfoResponseDto](doc//DeviceInfoResponseDto.md)
|
||||||
- [DeviceTypeEnum](doc//DeviceTypeEnum.md)
|
- [DeviceTypeEnum](doc//DeviceTypeEnum.md)
|
||||||
|
- [DownloadFilesDto](doc//DownloadFilesDto.md)
|
||||||
|
- [EditSharedLinkDto](doc//EditSharedLinkDto.md)
|
||||||
- [ExifResponseDto](doc//ExifResponseDto.md)
|
- [ExifResponseDto](doc//ExifResponseDto.md)
|
||||||
- [GetAssetByTimeBucketDto](doc//GetAssetByTimeBucketDto.md)
|
- [GetAssetByTimeBucketDto](doc//GetAssetByTimeBucketDto.md)
|
||||||
- [GetAssetCountByTimeBucketDto](doc//GetAssetCountByTimeBucketDto.md)
|
- [GetAssetCountByTimeBucketDto](doc//GetAssetCountByTimeBucketDto.md)
|
||||||
@@ -186,11 +199,14 @@ Class | Method | HTTP request | Description
|
|||||||
- [ServerPingResponse](doc//ServerPingResponse.md)
|
- [ServerPingResponse](doc//ServerPingResponse.md)
|
||||||
- [ServerStatsResponseDto](doc//ServerStatsResponseDto.md)
|
- [ServerStatsResponseDto](doc//ServerStatsResponseDto.md)
|
||||||
- [ServerVersionReponseDto](doc//ServerVersionReponseDto.md)
|
- [ServerVersionReponseDto](doc//ServerVersionReponseDto.md)
|
||||||
|
- [SharedLinkResponseDto](doc//SharedLinkResponseDto.md)
|
||||||
|
- [SharedLinkType](doc//SharedLinkType.md)
|
||||||
- [SignUpDto](doc//SignUpDto.md)
|
- [SignUpDto](doc//SignUpDto.md)
|
||||||
- [SmartInfoResponseDto](doc//SmartInfoResponseDto.md)
|
- [SmartInfoResponseDto](doc//SmartInfoResponseDto.md)
|
||||||
- [SystemConfigDto](doc//SystemConfigDto.md)
|
- [SystemConfigDto](doc//SystemConfigDto.md)
|
||||||
- [SystemConfigFFmpegDto](doc//SystemConfigFFmpegDto.md)
|
- [SystemConfigFFmpegDto](doc//SystemConfigFFmpegDto.md)
|
||||||
- [SystemConfigOAuthDto](doc//SystemConfigOAuthDto.md)
|
- [SystemConfigOAuthDto](doc//SystemConfigOAuthDto.md)
|
||||||
|
- [SystemConfigPasswordLoginDto](doc//SystemConfigPasswordLoginDto.md)
|
||||||
- [SystemConfigStorageTemplateDto](doc//SystemConfigStorageTemplateDto.md)
|
- [SystemConfigStorageTemplateDto](doc//SystemConfigStorageTemplateDto.md)
|
||||||
- [SystemConfigTemplateStorageOptionDto](doc//SystemConfigTemplateStorageOptionDto.md)
|
- [SystemConfigTemplateStorageOptionDto](doc//SystemConfigTemplateStorageOptionDto.md)
|
||||||
- [TagResponseDto](doc//TagResponseDto.md)
|
- [TagResponseDto](doc//TagResponseDto.md)
|
||||||
|
|||||||
220
mobile/openapi/doc/APIKeyApi.md
generated
Normal file
220
mobile/openapi/doc/APIKeyApi.md
generated
Normal file
@@ -0,0 +1,220 @@
|
|||||||
|
# openapi.api.APIKeyApi
|
||||||
|
|
||||||
|
## Load the API package
|
||||||
|
```dart
|
||||||
|
import 'package:openapi/api.dart';
|
||||||
|
```
|
||||||
|
|
||||||
|
All URIs are relative to */api*
|
||||||
|
|
||||||
|
Method | HTTP request | Description
|
||||||
|
------------- | ------------- | -------------
|
||||||
|
[**createKey**](APIKeyApi.md#createkey) | **POST** /api-key |
|
||||||
|
[**deleteKey**](APIKeyApi.md#deletekey) | **DELETE** /api-key/{id} |
|
||||||
|
[**getKey**](APIKeyApi.md#getkey) | **GET** /api-key/{id} |
|
||||||
|
[**getKeys**](APIKeyApi.md#getkeys) | **GET** /api-key |
|
||||||
|
[**updateKey**](APIKeyApi.md#updatekey) | **PUT** /api-key/{id} |
|
||||||
|
|
||||||
|
|
||||||
|
# **createKey**
|
||||||
|
> APIKeyCreateResponseDto createKey(aPIKeyCreateDto)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Example
|
||||||
|
```dart
|
||||||
|
import 'package:openapi/api.dart';
|
||||||
|
|
||||||
|
final api_instance = APIKeyApi();
|
||||||
|
final aPIKeyCreateDto = APIKeyCreateDto(); // APIKeyCreateDto |
|
||||||
|
|
||||||
|
try {
|
||||||
|
final result = api_instance.createKey(aPIKeyCreateDto);
|
||||||
|
print(result);
|
||||||
|
} catch (e) {
|
||||||
|
print('Exception when calling APIKeyApi->createKey: $e\n');
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
### Parameters
|
||||||
|
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------- | ------------- | ------------- | -------------
|
||||||
|
**aPIKeyCreateDto** | [**APIKeyCreateDto**](APIKeyCreateDto.md)| |
|
||||||
|
|
||||||
|
### Return type
|
||||||
|
|
||||||
|
[**APIKeyCreateResponseDto**](APIKeyCreateResponseDto.md)
|
||||||
|
|
||||||
|
### Authorization
|
||||||
|
|
||||||
|
No authorization required
|
||||||
|
|
||||||
|
### HTTP request headers
|
||||||
|
|
||||||
|
- **Content-Type**: application/json
|
||||||
|
- **Accept**: application/json
|
||||||
|
|
||||||
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
||||||
|
|
||||||
|
# **deleteKey**
|
||||||
|
> deleteKey(id)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Example
|
||||||
|
```dart
|
||||||
|
import 'package:openapi/api.dart';
|
||||||
|
|
||||||
|
final api_instance = APIKeyApi();
|
||||||
|
final id = 8.14; // num |
|
||||||
|
|
||||||
|
try {
|
||||||
|
api_instance.deleteKey(id);
|
||||||
|
} catch (e) {
|
||||||
|
print('Exception when calling APIKeyApi->deleteKey: $e\n');
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
### Parameters
|
||||||
|
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------- | ------------- | ------------- | -------------
|
||||||
|
**id** | **num**| |
|
||||||
|
|
||||||
|
### Return type
|
||||||
|
|
||||||
|
void (empty response body)
|
||||||
|
|
||||||
|
### Authorization
|
||||||
|
|
||||||
|
No authorization required
|
||||||
|
|
||||||
|
### HTTP request headers
|
||||||
|
|
||||||
|
- **Content-Type**: Not defined
|
||||||
|
- **Accept**: Not defined
|
||||||
|
|
||||||
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
||||||
|
|
||||||
|
# **getKey**
|
||||||
|
> APIKeyResponseDto getKey(id)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Example
|
||||||
|
```dart
|
||||||
|
import 'package:openapi/api.dart';
|
||||||
|
|
||||||
|
final api_instance = APIKeyApi();
|
||||||
|
final id = 8.14; // num |
|
||||||
|
|
||||||
|
try {
|
||||||
|
final result = api_instance.getKey(id);
|
||||||
|
print(result);
|
||||||
|
} catch (e) {
|
||||||
|
print('Exception when calling APIKeyApi->getKey: $e\n');
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
### Parameters
|
||||||
|
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------- | ------------- | ------------- | -------------
|
||||||
|
**id** | **num**| |
|
||||||
|
|
||||||
|
### Return type
|
||||||
|
|
||||||
|
[**APIKeyResponseDto**](APIKeyResponseDto.md)
|
||||||
|
|
||||||
|
### Authorization
|
||||||
|
|
||||||
|
No authorization required
|
||||||
|
|
||||||
|
### HTTP request headers
|
||||||
|
|
||||||
|
- **Content-Type**: Not defined
|
||||||
|
- **Accept**: application/json
|
||||||
|
|
||||||
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
||||||
|
|
||||||
|
# **getKeys**
|
||||||
|
> List<APIKeyResponseDto> getKeys()
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Example
|
||||||
|
```dart
|
||||||
|
import 'package:openapi/api.dart';
|
||||||
|
|
||||||
|
final api_instance = APIKeyApi();
|
||||||
|
|
||||||
|
try {
|
||||||
|
final result = api_instance.getKeys();
|
||||||
|
print(result);
|
||||||
|
} catch (e) {
|
||||||
|
print('Exception when calling APIKeyApi->getKeys: $e\n');
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
### Parameters
|
||||||
|
This endpoint does not need any parameter.
|
||||||
|
|
||||||
|
### Return type
|
||||||
|
|
||||||
|
[**List<APIKeyResponseDto>**](APIKeyResponseDto.md)
|
||||||
|
|
||||||
|
### Authorization
|
||||||
|
|
||||||
|
No authorization required
|
||||||
|
|
||||||
|
### HTTP request headers
|
||||||
|
|
||||||
|
- **Content-Type**: Not defined
|
||||||
|
- **Accept**: application/json
|
||||||
|
|
||||||
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
||||||
|
|
||||||
|
# **updateKey**
|
||||||
|
> APIKeyResponseDto updateKey(id, aPIKeyUpdateDto)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Example
|
||||||
|
```dart
|
||||||
|
import 'package:openapi/api.dart';
|
||||||
|
|
||||||
|
final api_instance = APIKeyApi();
|
||||||
|
final id = 8.14; // num |
|
||||||
|
final aPIKeyUpdateDto = APIKeyUpdateDto(); // APIKeyUpdateDto |
|
||||||
|
|
||||||
|
try {
|
||||||
|
final result = api_instance.updateKey(id, aPIKeyUpdateDto);
|
||||||
|
print(result);
|
||||||
|
} catch (e) {
|
||||||
|
print('Exception when calling APIKeyApi->updateKey: $e\n');
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
### Parameters
|
||||||
|
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------- | ------------- | ------------- | -------------
|
||||||
|
**id** | **num**| |
|
||||||
|
**aPIKeyUpdateDto** | [**APIKeyUpdateDto**](APIKeyUpdateDto.md)| |
|
||||||
|
|
||||||
|
### Return type
|
||||||
|
|
||||||
|
[**APIKeyResponseDto**](APIKeyResponseDto.md)
|
||||||
|
|
||||||
|
### Authorization
|
||||||
|
|
||||||
|
No authorization required
|
||||||
|
|
||||||
|
### HTTP request headers
|
||||||
|
|
||||||
|
- **Content-Type**: application/json
|
||||||
|
- **Accept**: application/json
|
||||||
|
|
||||||
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
||||||
|
|
||||||
15
mobile/openapi/doc/APIKeyCreateDto.md
generated
Normal file
15
mobile/openapi/doc/APIKeyCreateDto.md
generated
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
# openapi.model.APIKeyCreateDto
|
||||||
|
|
||||||
|
## Load the model package
|
||||||
|
```dart
|
||||||
|
import 'package:openapi/api.dart';
|
||||||
|
```
|
||||||
|
|
||||||
|
## Properties
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**name** | **String** | | [optional]
|
||||||
|
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
||||||
16
mobile/openapi/doc/APIKeyCreateResponseDto.md
generated
Normal file
16
mobile/openapi/doc/APIKeyCreateResponseDto.md
generated
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
# openapi.model.APIKeyCreateResponseDto
|
||||||
|
|
||||||
|
## Load the model package
|
||||||
|
```dart
|
||||||
|
import 'package:openapi/api.dart';
|
||||||
|
```
|
||||||
|
|
||||||
|
## Properties
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**secret** | **String** | |
|
||||||
|
**apiKey** | [**APIKeyResponseDto**](APIKeyResponseDto.md) | |
|
||||||
|
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
||||||
18
mobile/openapi/doc/APIKeyResponseDto.md
generated
Normal file
18
mobile/openapi/doc/APIKeyResponseDto.md
generated
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
# openapi.model.APIKeyResponseDto
|
||||||
|
|
||||||
|
## Load the model package
|
||||||
|
```dart
|
||||||
|
import 'package:openapi/api.dart';
|
||||||
|
```
|
||||||
|
|
||||||
|
## Properties
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**id** | **int** | |
|
||||||
|
**name** | **String** | |
|
||||||
|
**createdAt** | **String** | |
|
||||||
|
**updatedAt** | **String** | |
|
||||||
|
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
||||||
15
mobile/openapi/doc/APIKeyUpdateDto.md
generated
Normal file
15
mobile/openapi/doc/APIKeyUpdateDto.md
generated
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
# openapi.model.APIKeyUpdateDto
|
||||||
|
|
||||||
|
## Load the model package
|
||||||
|
```dart
|
||||||
|
import 'package:openapi/api.dart';
|
||||||
|
```
|
||||||
|
|
||||||
|
## Properties
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**name** | **String** | |
|
||||||
|
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
||||||
48
mobile/openapi/doc/AlbumApi.md
generated
48
mobile/openapi/doc/AlbumApi.md
generated
@@ -12,6 +12,7 @@ Method | HTTP request | Description
|
|||||||
[**addAssetsToAlbum**](AlbumApi.md#addassetstoalbum) | **PUT** /album/{albumId}/assets |
|
[**addAssetsToAlbum**](AlbumApi.md#addassetstoalbum) | **PUT** /album/{albumId}/assets |
|
||||||
[**addUsersToAlbum**](AlbumApi.md#adduserstoalbum) | **PUT** /album/{albumId}/users |
|
[**addUsersToAlbum**](AlbumApi.md#adduserstoalbum) | **PUT** /album/{albumId}/users |
|
||||||
[**createAlbum**](AlbumApi.md#createalbum) | **POST** /album |
|
[**createAlbum**](AlbumApi.md#createalbum) | **POST** /album |
|
||||||
|
[**createAlbumSharedLink**](AlbumApi.md#createalbumsharedlink) | **POST** /album/create-shared-link |
|
||||||
[**deleteAlbum**](AlbumApi.md#deletealbum) | **DELETE** /album/{albumId} |
|
[**deleteAlbum**](AlbumApi.md#deletealbum) | **DELETE** /album/{albumId} |
|
||||||
[**downloadArchive**](AlbumApi.md#downloadarchive) | **GET** /album/{albumId}/download |
|
[**downloadArchive**](AlbumApi.md#downloadarchive) | **GET** /album/{albumId}/download |
|
||||||
[**getAlbumCountByUserId**](AlbumApi.md#getalbumcountbyuserid) | **GET** /album/count-by-user-id |
|
[**getAlbumCountByUserId**](AlbumApi.md#getalbumcountbyuserid) | **GET** /album/count-by-user-id |
|
||||||
@@ -167,6 +168,53 @@ Name | Type | Description | Notes
|
|||||||
|
|
||||||
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
||||||
|
|
||||||
|
# **createAlbumSharedLink**
|
||||||
|
> SharedLinkResponseDto createAlbumSharedLink(createAlbumShareLinkDto)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Example
|
||||||
|
```dart
|
||||||
|
import 'package:openapi/api.dart';
|
||||||
|
// 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);
|
||||||
|
|
||||||
|
final api_instance = AlbumApi();
|
||||||
|
final createAlbumShareLinkDto = CreateAlbumShareLinkDto(); // CreateAlbumShareLinkDto |
|
||||||
|
|
||||||
|
try {
|
||||||
|
final result = api_instance.createAlbumSharedLink(createAlbumShareLinkDto);
|
||||||
|
print(result);
|
||||||
|
} catch (e) {
|
||||||
|
print('Exception when calling AlbumApi->createAlbumSharedLink: $e\n');
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
### Parameters
|
||||||
|
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------- | ------------- | ------------- | -------------
|
||||||
|
**createAlbumShareLinkDto** | [**CreateAlbumShareLinkDto**](CreateAlbumShareLinkDto.md)| |
|
||||||
|
|
||||||
|
### Return type
|
||||||
|
|
||||||
|
[**SharedLinkResponseDto**](SharedLinkResponseDto.md)
|
||||||
|
|
||||||
|
### Authorization
|
||||||
|
|
||||||
|
[bearer](../README.md#bearer)
|
||||||
|
|
||||||
|
### HTTP request headers
|
||||||
|
|
||||||
|
- **Content-Type**: application/json
|
||||||
|
- **Accept**: application/json
|
||||||
|
|
||||||
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
||||||
|
|
||||||
# **deleteAlbum**
|
# **deleteAlbum**
|
||||||
> deleteAlbum(albumId)
|
> deleteAlbum(albumId)
|
||||||
|
|
||||||
|
|||||||
48
mobile/openapi/doc/AssetApi.md
generated
48
mobile/openapi/doc/AssetApi.md
generated
@@ -13,6 +13,7 @@ Method | HTTP request | Description
|
|||||||
[**checkExistingAssets**](AssetApi.md#checkexistingassets) | **POST** /asset/exist |
|
[**checkExistingAssets**](AssetApi.md#checkexistingassets) | **POST** /asset/exist |
|
||||||
[**deleteAsset**](AssetApi.md#deleteasset) | **DELETE** /asset |
|
[**deleteAsset**](AssetApi.md#deleteasset) | **DELETE** /asset |
|
||||||
[**downloadFile**](AssetApi.md#downloadfile) | **GET** /asset/download/{assetId} |
|
[**downloadFile**](AssetApi.md#downloadfile) | **GET** /asset/download/{assetId} |
|
||||||
|
[**downloadFiles**](AssetApi.md#downloadfiles) | **POST** /asset/download-files |
|
||||||
[**downloadLibrary**](AssetApi.md#downloadlibrary) | **GET** /asset/download-library |
|
[**downloadLibrary**](AssetApi.md#downloadlibrary) | **GET** /asset/download-library |
|
||||||
[**getAllAssets**](AssetApi.md#getallassets) | **GET** /asset |
|
[**getAllAssets**](AssetApi.md#getallassets) | **GET** /asset |
|
||||||
[**getAssetById**](AssetApi.md#getassetbyid) | **GET** /asset/assetById/{assetId} |
|
[**getAssetById**](AssetApi.md#getassetbyid) | **GET** /asset/assetById/{assetId} |
|
||||||
@@ -226,6 +227,53 @@ Name | Type | Description | Notes
|
|||||||
|
|
||||||
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
||||||
|
|
||||||
|
# **downloadFiles**
|
||||||
|
> Object downloadFiles(downloadFilesDto)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Example
|
||||||
|
```dart
|
||||||
|
import 'package:openapi/api.dart';
|
||||||
|
// 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);
|
||||||
|
|
||||||
|
final api_instance = AssetApi();
|
||||||
|
final downloadFilesDto = DownloadFilesDto(); // DownloadFilesDto |
|
||||||
|
|
||||||
|
try {
|
||||||
|
final result = api_instance.downloadFiles(downloadFilesDto);
|
||||||
|
print(result);
|
||||||
|
} catch (e) {
|
||||||
|
print('Exception when calling AssetApi->downloadFiles: $e\n');
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
### Parameters
|
||||||
|
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------- | ------------- | ------------- | -------------
|
||||||
|
**downloadFilesDto** | [**DownloadFilesDto**](DownloadFilesDto.md)| |
|
||||||
|
|
||||||
|
### Return type
|
||||||
|
|
||||||
|
[**Object**](Object.md)
|
||||||
|
|
||||||
|
### Authorization
|
||||||
|
|
||||||
|
[bearer](../README.md#bearer)
|
||||||
|
|
||||||
|
### HTTP request headers
|
||||||
|
|
||||||
|
- **Content-Type**: application/json
|
||||||
|
- **Accept**: application/json
|
||||||
|
|
||||||
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
||||||
|
|
||||||
# **downloadLibrary**
|
# **downloadLibrary**
|
||||||
> Object downloadLibrary(skip)
|
> Object downloadLibrary(skip)
|
||||||
|
|
||||||
|
|||||||
18
mobile/openapi/doc/CreateAlbumShareLinkDto.md
generated
Normal file
18
mobile/openapi/doc/CreateAlbumShareLinkDto.md
generated
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
# openapi.model.CreateAlbumShareLinkDto
|
||||||
|
|
||||||
|
## Load the model package
|
||||||
|
```dart
|
||||||
|
import 'package:openapi/api.dart';
|
||||||
|
```
|
||||||
|
|
||||||
|
## Properties
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**albumId** | **String** | |
|
||||||
|
**expiredAt** | **String** | | [optional]
|
||||||
|
**allowUpload** | **bool** | | [optional]
|
||||||
|
**description** | **String** | | [optional]
|
||||||
|
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
||||||
15
mobile/openapi/doc/DownloadFilesDto.md
generated
Normal file
15
mobile/openapi/doc/DownloadFilesDto.md
generated
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
# openapi.model.DownloadFilesDto
|
||||||
|
|
||||||
|
## Load the model package
|
||||||
|
```dart
|
||||||
|
import 'package:openapi/api.dart';
|
||||||
|
```
|
||||||
|
|
||||||
|
## Properties
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**assetIds** | **List<String>** | | [default to const []]
|
||||||
|
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
||||||
18
mobile/openapi/doc/EditSharedLinkDto.md
generated
Normal file
18
mobile/openapi/doc/EditSharedLinkDto.md
generated
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
# openapi.model.EditSharedLinkDto
|
||||||
|
|
||||||
|
## Load the model package
|
||||||
|
```dart
|
||||||
|
import 'package:openapi/api.dart';
|
||||||
|
```
|
||||||
|
|
||||||
|
## Properties
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**description** | **String** | | [optional]
|
||||||
|
**expiredAt** | **String** | | [optional]
|
||||||
|
**allowUpload** | **bool** | | [optional]
|
||||||
|
**isEditExpireTime** | **bool** | | [optional]
|
||||||
|
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
||||||
37
mobile/openapi/doc/OAuthApi.md
generated
37
mobile/openapi/doc/OAuthApi.md
generated
@@ -12,6 +12,7 @@ Method | HTTP request | Description
|
|||||||
[**callback**](OAuthApi.md#callback) | **POST** /oauth/callback |
|
[**callback**](OAuthApi.md#callback) | **POST** /oauth/callback |
|
||||||
[**generateConfig**](OAuthApi.md#generateconfig) | **POST** /oauth/config |
|
[**generateConfig**](OAuthApi.md#generateconfig) | **POST** /oauth/config |
|
||||||
[**link**](OAuthApi.md#link) | **POST** /oauth/link |
|
[**link**](OAuthApi.md#link) | **POST** /oauth/link |
|
||||||
|
[**mobileRedirect**](OAuthApi.md#mobileredirect) | **GET** /oauth/mobile-redirect |
|
||||||
[**unlink**](OAuthApi.md#unlink) | **POST** /oauth/unlink |
|
[**unlink**](OAuthApi.md#unlink) | **POST** /oauth/unlink |
|
||||||
|
|
||||||
|
|
||||||
@@ -138,6 +139,42 @@ No authorization required
|
|||||||
|
|
||||||
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
||||||
|
|
||||||
|
# **mobileRedirect**
|
||||||
|
> mobileRedirect()
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Example
|
||||||
|
```dart
|
||||||
|
import 'package:openapi/api.dart';
|
||||||
|
|
||||||
|
final api_instance = OAuthApi();
|
||||||
|
|
||||||
|
try {
|
||||||
|
api_instance.mobileRedirect();
|
||||||
|
} catch (e) {
|
||||||
|
print('Exception when calling OAuthApi->mobileRedirect: $e\n');
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
### Parameters
|
||||||
|
This endpoint does not need any parameter.
|
||||||
|
|
||||||
|
### Return type
|
||||||
|
|
||||||
|
void (empty response body)
|
||||||
|
|
||||||
|
### Authorization
|
||||||
|
|
||||||
|
No authorization required
|
||||||
|
|
||||||
|
### HTTP request headers
|
||||||
|
|
||||||
|
- **Content-Type**: Not defined
|
||||||
|
- **Accept**: Not defined
|
||||||
|
|
||||||
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
||||||
|
|
||||||
# **unlink**
|
# **unlink**
|
||||||
> UserResponseDto unlink()
|
> UserResponseDto unlink()
|
||||||
|
|
||||||
|
|||||||
8
mobile/openapi/doc/OAuthConfigResponseDto.md
generated
8
mobile/openapi/doc/OAuthConfigResponseDto.md
generated
@@ -8,9 +8,11 @@ import 'package:openapi/api.dart';
|
|||||||
## Properties
|
## Properties
|
||||||
Name | Type | Description | Notes
|
Name | Type | Description | Notes
|
||||||
------------ | ------------- | ------------- | -------------
|
------------ | ------------- | ------------- | -------------
|
||||||
**enabled** | **bool** | | [readonly]
|
**enabled** | **bool** | |
|
||||||
**url** | **String** | | [optional] [readonly]
|
**passwordLoginEnabled** | **bool** | |
|
||||||
**buttonText** | **String** | | [optional] [readonly]
|
**url** | **String** | | [optional]
|
||||||
|
**buttonText** | **String** | | [optional]
|
||||||
|
**autoLaunch** | **bool** | | [optional]
|
||||||
|
|
||||||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|||||||
217
mobile/openapi/doc/ShareApi.md
generated
Normal file
217
mobile/openapi/doc/ShareApi.md
generated
Normal file
@@ -0,0 +1,217 @@
|
|||||||
|
# openapi.api.ShareApi
|
||||||
|
|
||||||
|
## Load the API package
|
||||||
|
```dart
|
||||||
|
import 'package:openapi/api.dart';
|
||||||
|
```
|
||||||
|
|
||||||
|
All URIs are relative to */api*
|
||||||
|
|
||||||
|
Method | HTTP request | Description
|
||||||
|
------------- | ------------- | -------------
|
||||||
|
[**editSharedLink**](ShareApi.md#editsharedlink) | **PATCH** /share/{id} |
|
||||||
|
[**getAllSharedLinks**](ShareApi.md#getallsharedlinks) | **GET** /share |
|
||||||
|
[**getMySharedLink**](ShareApi.md#getmysharedlink) | **GET** /share/me |
|
||||||
|
[**getSharedLinkById**](ShareApi.md#getsharedlinkbyid) | **GET** /share/{id} |
|
||||||
|
[**removeSharedLink**](ShareApi.md#removesharedlink) | **DELETE** /share/{id} |
|
||||||
|
|
||||||
|
|
||||||
|
# **editSharedLink**
|
||||||
|
> SharedLinkResponseDto editSharedLink(id, editSharedLinkDto)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Example
|
||||||
|
```dart
|
||||||
|
import 'package:openapi/api.dart';
|
||||||
|
|
||||||
|
final api_instance = ShareApi();
|
||||||
|
final id = id_example; // String |
|
||||||
|
final editSharedLinkDto = EditSharedLinkDto(); // EditSharedLinkDto |
|
||||||
|
|
||||||
|
try {
|
||||||
|
final result = api_instance.editSharedLink(id, editSharedLinkDto);
|
||||||
|
print(result);
|
||||||
|
} catch (e) {
|
||||||
|
print('Exception when calling ShareApi->editSharedLink: $e\n');
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
### Parameters
|
||||||
|
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------- | ------------- | ------------- | -------------
|
||||||
|
**id** | **String**| |
|
||||||
|
**editSharedLinkDto** | [**EditSharedLinkDto**](EditSharedLinkDto.md)| |
|
||||||
|
|
||||||
|
### Return type
|
||||||
|
|
||||||
|
[**SharedLinkResponseDto**](SharedLinkResponseDto.md)
|
||||||
|
|
||||||
|
### Authorization
|
||||||
|
|
||||||
|
No authorization required
|
||||||
|
|
||||||
|
### HTTP request headers
|
||||||
|
|
||||||
|
- **Content-Type**: application/json
|
||||||
|
- **Accept**: application/json
|
||||||
|
|
||||||
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
||||||
|
|
||||||
|
# **getAllSharedLinks**
|
||||||
|
> List<SharedLinkResponseDto> getAllSharedLinks()
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Example
|
||||||
|
```dart
|
||||||
|
import 'package:openapi/api.dart';
|
||||||
|
|
||||||
|
final api_instance = ShareApi();
|
||||||
|
|
||||||
|
try {
|
||||||
|
final result = api_instance.getAllSharedLinks();
|
||||||
|
print(result);
|
||||||
|
} catch (e) {
|
||||||
|
print('Exception when calling ShareApi->getAllSharedLinks: $e\n');
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
### Parameters
|
||||||
|
This endpoint does not need any parameter.
|
||||||
|
|
||||||
|
### Return type
|
||||||
|
|
||||||
|
[**List<SharedLinkResponseDto>**](SharedLinkResponseDto.md)
|
||||||
|
|
||||||
|
### Authorization
|
||||||
|
|
||||||
|
No authorization required
|
||||||
|
|
||||||
|
### HTTP request headers
|
||||||
|
|
||||||
|
- **Content-Type**: Not defined
|
||||||
|
- **Accept**: application/json
|
||||||
|
|
||||||
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
||||||
|
|
||||||
|
# **getMySharedLink**
|
||||||
|
> SharedLinkResponseDto getMySharedLink()
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Example
|
||||||
|
```dart
|
||||||
|
import 'package:openapi/api.dart';
|
||||||
|
|
||||||
|
final api_instance = ShareApi();
|
||||||
|
|
||||||
|
try {
|
||||||
|
final result = api_instance.getMySharedLink();
|
||||||
|
print(result);
|
||||||
|
} catch (e) {
|
||||||
|
print('Exception when calling ShareApi->getMySharedLink: $e\n');
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
### Parameters
|
||||||
|
This endpoint does not need any parameter.
|
||||||
|
|
||||||
|
### Return type
|
||||||
|
|
||||||
|
[**SharedLinkResponseDto**](SharedLinkResponseDto.md)
|
||||||
|
|
||||||
|
### Authorization
|
||||||
|
|
||||||
|
No authorization required
|
||||||
|
|
||||||
|
### HTTP request headers
|
||||||
|
|
||||||
|
- **Content-Type**: Not defined
|
||||||
|
- **Accept**: application/json
|
||||||
|
|
||||||
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
||||||
|
|
||||||
|
# **getSharedLinkById**
|
||||||
|
> SharedLinkResponseDto getSharedLinkById(id)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Example
|
||||||
|
```dart
|
||||||
|
import 'package:openapi/api.dart';
|
||||||
|
|
||||||
|
final api_instance = ShareApi();
|
||||||
|
final id = id_example; // String |
|
||||||
|
|
||||||
|
try {
|
||||||
|
final result = api_instance.getSharedLinkById(id);
|
||||||
|
print(result);
|
||||||
|
} catch (e) {
|
||||||
|
print('Exception when calling ShareApi->getSharedLinkById: $e\n');
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
### Parameters
|
||||||
|
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------- | ------------- | ------------- | -------------
|
||||||
|
**id** | **String**| |
|
||||||
|
|
||||||
|
### Return type
|
||||||
|
|
||||||
|
[**SharedLinkResponseDto**](SharedLinkResponseDto.md)
|
||||||
|
|
||||||
|
### Authorization
|
||||||
|
|
||||||
|
No authorization required
|
||||||
|
|
||||||
|
### HTTP request headers
|
||||||
|
|
||||||
|
- **Content-Type**: Not defined
|
||||||
|
- **Accept**: application/json
|
||||||
|
|
||||||
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
||||||
|
|
||||||
|
# **removeSharedLink**
|
||||||
|
> String removeSharedLink(id)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Example
|
||||||
|
```dart
|
||||||
|
import 'package:openapi/api.dart';
|
||||||
|
|
||||||
|
final api_instance = ShareApi();
|
||||||
|
final id = id_example; // String |
|
||||||
|
|
||||||
|
try {
|
||||||
|
final result = api_instance.removeSharedLink(id);
|
||||||
|
print(result);
|
||||||
|
} catch (e) {
|
||||||
|
print('Exception when calling ShareApi->removeSharedLink: $e\n');
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
### Parameters
|
||||||
|
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------- | ------------- | ------------- | -------------
|
||||||
|
**id** | **String**| |
|
||||||
|
|
||||||
|
### Return type
|
||||||
|
|
||||||
|
**String**
|
||||||
|
|
||||||
|
### Authorization
|
||||||
|
|
||||||
|
No authorization required
|
||||||
|
|
||||||
|
### HTTP request headers
|
||||||
|
|
||||||
|
- **Content-Type**: Not defined
|
||||||
|
- **Accept**: application/json
|
||||||
|
|
||||||
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
||||||
|
|
||||||
24
mobile/openapi/doc/SharedLinkResponseDto.md
generated
Normal file
24
mobile/openapi/doc/SharedLinkResponseDto.md
generated
Normal file
@@ -0,0 +1,24 @@
|
|||||||
|
# openapi.model.SharedLinkResponseDto
|
||||||
|
|
||||||
|
## Load the model package
|
||||||
|
```dart
|
||||||
|
import 'package:openapi/api.dart';
|
||||||
|
```
|
||||||
|
|
||||||
|
## Properties
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**type** | [**SharedLinkType**](SharedLinkType.md) | |
|
||||||
|
**id** | **String** | |
|
||||||
|
**description** | **String** | | [optional]
|
||||||
|
**userId** | **String** | |
|
||||||
|
**key** | **String** | |
|
||||||
|
**createdAt** | **String** | |
|
||||||
|
**expiresAt** | **String** | |
|
||||||
|
**assets** | [**List<AssetResponseDto>**](AssetResponseDto.md) | | [default to const []]
|
||||||
|
**album** | [**AlbumResponseDto**](AlbumResponseDto.md) | | [optional]
|
||||||
|
**allowUpload** | **bool** | |
|
||||||
|
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
||||||
14
mobile/openapi/doc/SharedLinkType.md
generated
Normal file
14
mobile/openapi/doc/SharedLinkType.md
generated
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
# openapi.model.SharedLinkType
|
||||||
|
|
||||||
|
## Load the model package
|
||||||
|
```dart
|
||||||
|
import 'package:openapi/api.dart';
|
||||||
|
```
|
||||||
|
|
||||||
|
## Properties
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------ | ------------- | ------------- | -------------
|
||||||
|
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
||||||
1
mobile/openapi/doc/SystemConfigDto.md
generated
1
mobile/openapi/doc/SystemConfigDto.md
generated
@@ -10,6 +10,7 @@ Name | Type | Description | Notes
|
|||||||
------------ | ------------- | ------------- | -------------
|
------------ | ------------- | ------------- | -------------
|
||||||
**ffmpeg** | [**SystemConfigFFmpegDto**](SystemConfigFFmpegDto.md) | |
|
**ffmpeg** | [**SystemConfigFFmpegDto**](SystemConfigFFmpegDto.md) | |
|
||||||
**oauth** | [**SystemConfigOAuthDto**](SystemConfigOAuthDto.md) | |
|
**oauth** | [**SystemConfigOAuthDto**](SystemConfigOAuthDto.md) | |
|
||||||
|
**passwordLogin** | [**SystemConfigPasswordLoginDto**](SystemConfigPasswordLoginDto.md) | |
|
||||||
**storageTemplate** | [**SystemConfigStorageTemplateDto**](SystemConfigStorageTemplateDto.md) | |
|
**storageTemplate** | [**SystemConfigStorageTemplateDto**](SystemConfigStorageTemplateDto.md) | |
|
||||||
|
|
||||||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||||
|
|||||||
3
mobile/openapi/doc/SystemConfigOAuthDto.md
generated
3
mobile/openapi/doc/SystemConfigOAuthDto.md
generated
@@ -15,6 +15,9 @@ Name | Type | Description | Notes
|
|||||||
**scope** | **String** | |
|
**scope** | **String** | |
|
||||||
**buttonText** | **String** | |
|
**buttonText** | **String** | |
|
||||||
**autoRegister** | **bool** | |
|
**autoRegister** | **bool** | |
|
||||||
|
**autoLaunch** | **bool** | |
|
||||||
|
**mobileOverrideEnabled** | **bool** | |
|
||||||
|
**mobileRedirectUri** | **String** | |
|
||||||
|
|
||||||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|||||||
15
mobile/openapi/doc/SystemConfigPasswordLoginDto.md
generated
Normal file
15
mobile/openapi/doc/SystemConfigPasswordLoginDto.md
generated
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
# openapi.model.SystemConfigPasswordLoginDto
|
||||||
|
|
||||||
|
## Load the model package
|
||||||
|
```dart
|
||||||
|
import 'package:openapi/api.dart';
|
||||||
|
```
|
||||||
|
|
||||||
|
## Properties
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**enabled** | **bool** | |
|
||||||
|
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
||||||
1
mobile/openapi/doc/UpdateUserDto.md
generated
1
mobile/openapi/doc/UpdateUserDto.md
generated
@@ -9,6 +9,7 @@ import 'package:openapi/api.dart';
|
|||||||
Name | Type | Description | Notes
|
Name | Type | Description | Notes
|
||||||
------------ | ------------- | ------------- | -------------
|
------------ | ------------- | ------------- | -------------
|
||||||
**id** | **String** | |
|
**id** | **String** | |
|
||||||
|
**email** | **String** | | [optional]
|
||||||
**password** | **String** | | [optional]
|
**password** | **String** | | [optional]
|
||||||
**firstName** | **String** | | [optional]
|
**firstName** | **String** | | [optional]
|
||||||
**lastName** | **String** | | [optional]
|
**lastName** | **String** | | [optional]
|
||||||
|
|||||||
12
mobile/openapi/lib/api.dart
generated
12
mobile/openapi/lib/api.dart
generated
@@ -27,6 +27,7 @@ part 'auth/oauth.dart';
|
|||||||
part 'auth/http_basic_auth.dart';
|
part 'auth/http_basic_auth.dart';
|
||||||
part 'auth/http_bearer_auth.dart';
|
part 'auth/http_bearer_auth.dart';
|
||||||
|
|
||||||
|
part 'api/api_key_api.dart';
|
||||||
part 'api/album_api.dart';
|
part 'api/album_api.dart';
|
||||||
part 'api/asset_api.dart';
|
part 'api/asset_api.dart';
|
||||||
part 'api/authentication_api.dart';
|
part 'api/authentication_api.dart';
|
||||||
@@ -34,10 +35,15 @@ part 'api/device_info_api.dart';
|
|||||||
part 'api/job_api.dart';
|
part 'api/job_api.dart';
|
||||||
part 'api/o_auth_api.dart';
|
part 'api/o_auth_api.dart';
|
||||||
part 'api/server_info_api.dart';
|
part 'api/server_info_api.dart';
|
||||||
|
part 'api/share_api.dart';
|
||||||
part 'api/system_config_api.dart';
|
part 'api/system_config_api.dart';
|
||||||
part 'api/tag_api.dart';
|
part 'api/tag_api.dart';
|
||||||
part 'api/user_api.dart';
|
part 'api/user_api.dart';
|
||||||
|
|
||||||
|
part 'model/api_key_create_dto.dart';
|
||||||
|
part 'model/api_key_create_response_dto.dart';
|
||||||
|
part 'model/api_key_response_dto.dart';
|
||||||
|
part 'model/api_key_update_dto.dart';
|
||||||
part 'model/add_assets_dto.dart';
|
part 'model/add_assets_dto.dart';
|
||||||
part 'model/add_assets_response_dto.dart';
|
part 'model/add_assets_response_dto.dart';
|
||||||
part 'model/add_users_dto.dart';
|
part 'model/add_users_dto.dart';
|
||||||
@@ -57,6 +63,7 @@ part 'model/check_duplicate_asset_response_dto.dart';
|
|||||||
part 'model/check_existing_assets_dto.dart';
|
part 'model/check_existing_assets_dto.dart';
|
||||||
part 'model/check_existing_assets_response_dto.dart';
|
part 'model/check_existing_assets_response_dto.dart';
|
||||||
part 'model/create_album_dto.dart';
|
part 'model/create_album_dto.dart';
|
||||||
|
part 'model/create_album_share_link_dto.dart';
|
||||||
part 'model/create_profile_image_response_dto.dart';
|
part 'model/create_profile_image_response_dto.dart';
|
||||||
part 'model/create_tag_dto.dart';
|
part 'model/create_tag_dto.dart';
|
||||||
part 'model/create_user_dto.dart';
|
part 'model/create_user_dto.dart';
|
||||||
@@ -67,6 +74,8 @@ part 'model/delete_asset_response_dto.dart';
|
|||||||
part 'model/delete_asset_status.dart';
|
part 'model/delete_asset_status.dart';
|
||||||
part 'model/device_info_response_dto.dart';
|
part 'model/device_info_response_dto.dart';
|
||||||
part 'model/device_type_enum.dart';
|
part 'model/device_type_enum.dart';
|
||||||
|
part 'model/download_files_dto.dart';
|
||||||
|
part 'model/edit_shared_link_dto.dart';
|
||||||
part 'model/exif_response_dto.dart';
|
part 'model/exif_response_dto.dart';
|
||||||
part 'model/get_asset_by_time_bucket_dto.dart';
|
part 'model/get_asset_by_time_bucket_dto.dart';
|
||||||
part 'model/get_asset_count_by_time_bucket_dto.dart';
|
part 'model/get_asset_count_by_time_bucket_dto.dart';
|
||||||
@@ -87,11 +96,14 @@ part 'model/server_info_response_dto.dart';
|
|||||||
part 'model/server_ping_response.dart';
|
part 'model/server_ping_response.dart';
|
||||||
part 'model/server_stats_response_dto.dart';
|
part 'model/server_stats_response_dto.dart';
|
||||||
part 'model/server_version_reponse_dto.dart';
|
part 'model/server_version_reponse_dto.dart';
|
||||||
|
part 'model/shared_link_response_dto.dart';
|
||||||
|
part 'model/shared_link_type.dart';
|
||||||
part 'model/sign_up_dto.dart';
|
part 'model/sign_up_dto.dart';
|
||||||
part 'model/smart_info_response_dto.dart';
|
part 'model/smart_info_response_dto.dart';
|
||||||
part 'model/system_config_dto.dart';
|
part 'model/system_config_dto.dart';
|
||||||
part 'model/system_config_f_fmpeg_dto.dart';
|
part 'model/system_config_f_fmpeg_dto.dart';
|
||||||
part 'model/system_config_o_auth_dto.dart';
|
part 'model/system_config_o_auth_dto.dart';
|
||||||
|
part 'model/system_config_password_login_dto.dart';
|
||||||
part 'model/system_config_storage_template_dto.dart';
|
part 'model/system_config_storage_template_dto.dart';
|
||||||
part 'model/system_config_template_storage_option_dto.dart';
|
part 'model/system_config_template_storage_option_dto.dart';
|
||||||
part 'model/tag_response_dto.dart';
|
part 'model/tag_response_dto.dart';
|
||||||
|
|||||||
47
mobile/openapi/lib/api/album_api.dart
generated
47
mobile/openapi/lib/api/album_api.dart
generated
@@ -167,6 +167,53 @@ class AlbumApi {
|
|||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// Performs an HTTP 'POST /album/create-shared-link' operation and returns the [Response].
|
||||||
|
/// Parameters:
|
||||||
|
///
|
||||||
|
/// * [CreateAlbumShareLinkDto] createAlbumShareLinkDto (required):
|
||||||
|
Future<Response> createAlbumSharedLinkWithHttpInfo(CreateAlbumShareLinkDto createAlbumShareLinkDto,) async {
|
||||||
|
// ignore: prefer_const_declarations
|
||||||
|
final path = r'/album/create-shared-link';
|
||||||
|
|
||||||
|
// ignore: prefer_final_locals
|
||||||
|
Object? postBody = createAlbumShareLinkDto;
|
||||||
|
|
||||||
|
final queryParams = <QueryParam>[];
|
||||||
|
final headerParams = <String, String>{};
|
||||||
|
final formParams = <String, String>{};
|
||||||
|
|
||||||
|
const contentTypes = <String>['application/json'];
|
||||||
|
|
||||||
|
|
||||||
|
return apiClient.invokeAPI(
|
||||||
|
path,
|
||||||
|
'POST',
|
||||||
|
queryParams,
|
||||||
|
postBody,
|
||||||
|
headerParams,
|
||||||
|
formParams,
|
||||||
|
contentTypes.isEmpty ? null : contentTypes.first,
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
/// Parameters:
|
||||||
|
///
|
||||||
|
/// * [CreateAlbumShareLinkDto] createAlbumShareLinkDto (required):
|
||||||
|
Future<SharedLinkResponseDto?> createAlbumSharedLink(CreateAlbumShareLinkDto createAlbumShareLinkDto,) async {
|
||||||
|
final response = await createAlbumSharedLinkWithHttpInfo(createAlbumShareLinkDto,);
|
||||||
|
if (response.statusCode >= HttpStatus.badRequest) {
|
||||||
|
throw ApiException(response.statusCode, await _decodeBodyBytes(response));
|
||||||
|
}
|
||||||
|
// When a remote server returns no body with a status of 204, we shall not decode it.
|
||||||
|
// At the time of writing this, `dart:convert` will throw an "Unexpected end of input"
|
||||||
|
// FormatException when trying to decode an empty string.
|
||||||
|
if (response.body.isNotEmpty && response.statusCode != HttpStatus.noContent) {
|
||||||
|
return await apiClient.deserializeAsync(await _decodeBodyBytes(response), 'SharedLinkResponseDto',) as SharedLinkResponseDto;
|
||||||
|
|
||||||
|
}
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
/// Performs an HTTP 'DELETE /album/{albumId}' operation and returns the [Response].
|
/// Performs an HTTP 'DELETE /album/{albumId}' operation and returns the [Response].
|
||||||
/// Parameters:
|
/// Parameters:
|
||||||
///
|
///
|
||||||
|
|||||||
249
mobile/openapi/lib/api/api_key_api.dart
generated
Normal file
249
mobile/openapi/lib/api/api_key_api.dart
generated
Normal file
@@ -0,0 +1,249 @@
|
|||||||
|
//
|
||||||
|
// AUTO-GENERATED FILE, DO NOT MODIFY!
|
||||||
|
//
|
||||||
|
// @dart=2.12
|
||||||
|
|
||||||
|
// ignore_for_file: unused_element, unused_import
|
||||||
|
// ignore_for_file: always_put_required_named_parameters_first
|
||||||
|
// ignore_for_file: constant_identifier_names
|
||||||
|
// ignore_for_file: lines_longer_than_80_chars
|
||||||
|
|
||||||
|
part of openapi.api;
|
||||||
|
|
||||||
|
|
||||||
|
class APIKeyApi {
|
||||||
|
APIKeyApi([ApiClient? apiClient]) : apiClient = apiClient ?? defaultApiClient;
|
||||||
|
|
||||||
|
final ApiClient apiClient;
|
||||||
|
|
||||||
|
/// Performs an HTTP 'POST /api-key' operation and returns the [Response].
|
||||||
|
/// Parameters:
|
||||||
|
///
|
||||||
|
/// * [APIKeyCreateDto] aPIKeyCreateDto (required):
|
||||||
|
Future<Response> createKeyWithHttpInfo(APIKeyCreateDto aPIKeyCreateDto,) async {
|
||||||
|
// ignore: prefer_const_declarations
|
||||||
|
final path = r'/api-key';
|
||||||
|
|
||||||
|
// ignore: prefer_final_locals
|
||||||
|
Object? postBody = aPIKeyCreateDto;
|
||||||
|
|
||||||
|
final queryParams = <QueryParam>[];
|
||||||
|
final headerParams = <String, String>{};
|
||||||
|
final formParams = <String, String>{};
|
||||||
|
|
||||||
|
const contentTypes = <String>['application/json'];
|
||||||
|
|
||||||
|
|
||||||
|
return apiClient.invokeAPI(
|
||||||
|
path,
|
||||||
|
'POST',
|
||||||
|
queryParams,
|
||||||
|
postBody,
|
||||||
|
headerParams,
|
||||||
|
formParams,
|
||||||
|
contentTypes.isEmpty ? null : contentTypes.first,
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
/// Parameters:
|
||||||
|
///
|
||||||
|
/// * [APIKeyCreateDto] aPIKeyCreateDto (required):
|
||||||
|
Future<APIKeyCreateResponseDto?> createKey(APIKeyCreateDto aPIKeyCreateDto,) async {
|
||||||
|
final response = await createKeyWithHttpInfo(aPIKeyCreateDto,);
|
||||||
|
if (response.statusCode >= HttpStatus.badRequest) {
|
||||||
|
throw ApiException(response.statusCode, await _decodeBodyBytes(response));
|
||||||
|
}
|
||||||
|
// When a remote server returns no body with a status of 204, we shall not decode it.
|
||||||
|
// At the time of writing this, `dart:convert` will throw an "Unexpected end of input"
|
||||||
|
// FormatException when trying to decode an empty string.
|
||||||
|
if (response.body.isNotEmpty && response.statusCode != HttpStatus.noContent) {
|
||||||
|
return await apiClient.deserializeAsync(await _decodeBodyBytes(response), 'APIKeyCreateResponseDto',) as APIKeyCreateResponseDto;
|
||||||
|
|
||||||
|
}
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
|
/// Performs an HTTP 'DELETE /api-key/{id}' operation and returns the [Response].
|
||||||
|
/// Parameters:
|
||||||
|
///
|
||||||
|
/// * [num] id (required):
|
||||||
|
Future<Response> deleteKeyWithHttpInfo(num id,) async {
|
||||||
|
// ignore: prefer_const_declarations
|
||||||
|
final path = r'/api-key/{id}'
|
||||||
|
.replaceAll('{id}', id.toString());
|
||||||
|
|
||||||
|
// ignore: prefer_final_locals
|
||||||
|
Object? postBody;
|
||||||
|
|
||||||
|
final queryParams = <QueryParam>[];
|
||||||
|
final headerParams = <String, String>{};
|
||||||
|
final formParams = <String, String>{};
|
||||||
|
|
||||||
|
const contentTypes = <String>[];
|
||||||
|
|
||||||
|
|
||||||
|
return apiClient.invokeAPI(
|
||||||
|
path,
|
||||||
|
'DELETE',
|
||||||
|
queryParams,
|
||||||
|
postBody,
|
||||||
|
headerParams,
|
||||||
|
formParams,
|
||||||
|
contentTypes.isEmpty ? null : contentTypes.first,
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
/// Parameters:
|
||||||
|
///
|
||||||
|
/// * [num] id (required):
|
||||||
|
Future<void> deleteKey(num id,) async {
|
||||||
|
final response = await deleteKeyWithHttpInfo(id,);
|
||||||
|
if (response.statusCode >= HttpStatus.badRequest) {
|
||||||
|
throw ApiException(response.statusCode, await _decodeBodyBytes(response));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/// Performs an HTTP 'GET /api-key/{id}' operation and returns the [Response].
|
||||||
|
/// Parameters:
|
||||||
|
///
|
||||||
|
/// * [num] id (required):
|
||||||
|
Future<Response> getKeyWithHttpInfo(num id,) async {
|
||||||
|
// ignore: prefer_const_declarations
|
||||||
|
final path = r'/api-key/{id}'
|
||||||
|
.replaceAll('{id}', id.toString());
|
||||||
|
|
||||||
|
// ignore: prefer_final_locals
|
||||||
|
Object? postBody;
|
||||||
|
|
||||||
|
final queryParams = <QueryParam>[];
|
||||||
|
final headerParams = <String, String>{};
|
||||||
|
final formParams = <String, String>{};
|
||||||
|
|
||||||
|
const contentTypes = <String>[];
|
||||||
|
|
||||||
|
|
||||||
|
return apiClient.invokeAPI(
|
||||||
|
path,
|
||||||
|
'GET',
|
||||||
|
queryParams,
|
||||||
|
postBody,
|
||||||
|
headerParams,
|
||||||
|
formParams,
|
||||||
|
contentTypes.isEmpty ? null : contentTypes.first,
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
/// Parameters:
|
||||||
|
///
|
||||||
|
/// * [num] id (required):
|
||||||
|
Future<APIKeyResponseDto?> getKey(num id,) async {
|
||||||
|
final response = await getKeyWithHttpInfo(id,);
|
||||||
|
if (response.statusCode >= HttpStatus.badRequest) {
|
||||||
|
throw ApiException(response.statusCode, await _decodeBodyBytes(response));
|
||||||
|
}
|
||||||
|
// When a remote server returns no body with a status of 204, we shall not decode it.
|
||||||
|
// At the time of writing this, `dart:convert` will throw an "Unexpected end of input"
|
||||||
|
// FormatException when trying to decode an empty string.
|
||||||
|
if (response.body.isNotEmpty && response.statusCode != HttpStatus.noContent) {
|
||||||
|
return await apiClient.deserializeAsync(await _decodeBodyBytes(response), 'APIKeyResponseDto',) as APIKeyResponseDto;
|
||||||
|
|
||||||
|
}
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
|
/// Performs an HTTP 'GET /api-key' operation and returns the [Response].
|
||||||
|
Future<Response> getKeysWithHttpInfo() async {
|
||||||
|
// ignore: prefer_const_declarations
|
||||||
|
final path = r'/api-key';
|
||||||
|
|
||||||
|
// ignore: prefer_final_locals
|
||||||
|
Object? postBody;
|
||||||
|
|
||||||
|
final queryParams = <QueryParam>[];
|
||||||
|
final headerParams = <String, String>{};
|
||||||
|
final formParams = <String, String>{};
|
||||||
|
|
||||||
|
const contentTypes = <String>[];
|
||||||
|
|
||||||
|
|
||||||
|
return apiClient.invokeAPI(
|
||||||
|
path,
|
||||||
|
'GET',
|
||||||
|
queryParams,
|
||||||
|
postBody,
|
||||||
|
headerParams,
|
||||||
|
formParams,
|
||||||
|
contentTypes.isEmpty ? null : contentTypes.first,
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
Future<List<APIKeyResponseDto>?> getKeys() async {
|
||||||
|
final response = await getKeysWithHttpInfo();
|
||||||
|
if (response.statusCode >= HttpStatus.badRequest) {
|
||||||
|
throw ApiException(response.statusCode, await _decodeBodyBytes(response));
|
||||||
|
}
|
||||||
|
// When a remote server returns no body with a status of 204, we shall not decode it.
|
||||||
|
// At the time of writing this, `dart:convert` will throw an "Unexpected end of input"
|
||||||
|
// FormatException when trying to decode an empty string.
|
||||||
|
if (response.body.isNotEmpty && response.statusCode != HttpStatus.noContent) {
|
||||||
|
final responseBody = await _decodeBodyBytes(response);
|
||||||
|
return (await apiClient.deserializeAsync(responseBody, 'List<APIKeyResponseDto>') as List)
|
||||||
|
.cast<APIKeyResponseDto>()
|
||||||
|
.toList();
|
||||||
|
|
||||||
|
}
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
|
/// Performs an HTTP 'PUT /api-key/{id}' operation and returns the [Response].
|
||||||
|
/// Parameters:
|
||||||
|
///
|
||||||
|
/// * [num] id (required):
|
||||||
|
///
|
||||||
|
/// * [APIKeyUpdateDto] aPIKeyUpdateDto (required):
|
||||||
|
Future<Response> updateKeyWithHttpInfo(num id, APIKeyUpdateDto aPIKeyUpdateDto,) async {
|
||||||
|
// ignore: prefer_const_declarations
|
||||||
|
final path = r'/api-key/{id}'
|
||||||
|
.replaceAll('{id}', id.toString());
|
||||||
|
|
||||||
|
// ignore: prefer_final_locals
|
||||||
|
Object? postBody = aPIKeyUpdateDto;
|
||||||
|
|
||||||
|
final queryParams = <QueryParam>[];
|
||||||
|
final headerParams = <String, String>{};
|
||||||
|
final formParams = <String, String>{};
|
||||||
|
|
||||||
|
const contentTypes = <String>['application/json'];
|
||||||
|
|
||||||
|
|
||||||
|
return apiClient.invokeAPI(
|
||||||
|
path,
|
||||||
|
'PUT',
|
||||||
|
queryParams,
|
||||||
|
postBody,
|
||||||
|
headerParams,
|
||||||
|
formParams,
|
||||||
|
contentTypes.isEmpty ? null : contentTypes.first,
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
/// Parameters:
|
||||||
|
///
|
||||||
|
/// * [num] id (required):
|
||||||
|
///
|
||||||
|
/// * [APIKeyUpdateDto] aPIKeyUpdateDto (required):
|
||||||
|
Future<APIKeyResponseDto?> updateKey(num id, APIKeyUpdateDto aPIKeyUpdateDto,) async {
|
||||||
|
final response = await updateKeyWithHttpInfo(id, aPIKeyUpdateDto,);
|
||||||
|
if (response.statusCode >= HttpStatus.badRequest) {
|
||||||
|
throw ApiException(response.statusCode, await _decodeBodyBytes(response));
|
||||||
|
}
|
||||||
|
// When a remote server returns no body with a status of 204, we shall not decode it.
|
||||||
|
// At the time of writing this, `dart:convert` will throw an "Unexpected end of input"
|
||||||
|
// FormatException when trying to decode an empty string.
|
||||||
|
if (response.body.isNotEmpty && response.statusCode != HttpStatus.noContent) {
|
||||||
|
return await apiClient.deserializeAsync(await _decodeBodyBytes(response), 'APIKeyResponseDto',) as APIKeyResponseDto;
|
||||||
|
|
||||||
|
}
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
}
|
||||||
47
mobile/openapi/lib/api/asset_api.dart
generated
47
mobile/openapi/lib/api/asset_api.dart
generated
@@ -233,6 +233,53 @@ class AssetApi {
|
|||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// Performs an HTTP 'POST /asset/download-files' operation and returns the [Response].
|
||||||
|
/// Parameters:
|
||||||
|
///
|
||||||
|
/// * [DownloadFilesDto] downloadFilesDto (required):
|
||||||
|
Future<Response> downloadFilesWithHttpInfo(DownloadFilesDto downloadFilesDto,) async {
|
||||||
|
// ignore: prefer_const_declarations
|
||||||
|
final path = r'/asset/download-files';
|
||||||
|
|
||||||
|
// ignore: prefer_final_locals
|
||||||
|
Object? postBody = downloadFilesDto;
|
||||||
|
|
||||||
|
final queryParams = <QueryParam>[];
|
||||||
|
final headerParams = <String, String>{};
|
||||||
|
final formParams = <String, String>{};
|
||||||
|
|
||||||
|
const contentTypes = <String>['application/json'];
|
||||||
|
|
||||||
|
|
||||||
|
return apiClient.invokeAPI(
|
||||||
|
path,
|
||||||
|
'POST',
|
||||||
|
queryParams,
|
||||||
|
postBody,
|
||||||
|
headerParams,
|
||||||
|
formParams,
|
||||||
|
contentTypes.isEmpty ? null : contentTypes.first,
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
/// Parameters:
|
||||||
|
///
|
||||||
|
/// * [DownloadFilesDto] downloadFilesDto (required):
|
||||||
|
Future<Object?> downloadFiles(DownloadFilesDto downloadFilesDto,) async {
|
||||||
|
final response = await downloadFilesWithHttpInfo(downloadFilesDto,);
|
||||||
|
if (response.statusCode >= HttpStatus.badRequest) {
|
||||||
|
throw ApiException(response.statusCode, await _decodeBodyBytes(response));
|
||||||
|
}
|
||||||
|
// When a remote server returns no body with a status of 204, we shall not decode it.
|
||||||
|
// At the time of writing this, `dart:convert` will throw an "Unexpected end of input"
|
||||||
|
// FormatException when trying to decode an empty string.
|
||||||
|
if (response.body.isNotEmpty && response.statusCode != HttpStatus.noContent) {
|
||||||
|
return await apiClient.deserializeAsync(await _decodeBodyBytes(response), 'Object',) as Object;
|
||||||
|
|
||||||
|
}
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
/// Performs an HTTP 'GET /asset/download-library' operation and returns the [Response].
|
/// Performs an HTTP 'GET /asset/download-library' operation and returns the [Response].
|
||||||
/// Parameters:
|
/// Parameters:
|
||||||
///
|
///
|
||||||
|
|||||||
33
mobile/openapi/lib/api/o_auth_api.dart
generated
33
mobile/openapi/lib/api/o_auth_api.dart
generated
@@ -157,6 +157,39 @@ class OAuthApi {
|
|||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// 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';
|
||||||
|
|
||||||
|
// ignore: prefer_final_locals
|
||||||
|
Object? postBody;
|
||||||
|
|
||||||
|
final queryParams = <QueryParam>[];
|
||||||
|
final headerParams = <String, String>{};
|
||||||
|
final formParams = <String, String>{};
|
||||||
|
|
||||||
|
const contentTypes = <String>[];
|
||||||
|
|
||||||
|
|
||||||
|
return apiClient.invokeAPI(
|
||||||
|
path,
|
||||||
|
'GET',
|
||||||
|
queryParams,
|
||||||
|
postBody,
|
||||||
|
headerParams,
|
||||||
|
formParams,
|
||||||
|
contentTypes.isEmpty ? null : contentTypes.first,
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
Future<void> mobileRedirect() async {
|
||||||
|
final response = await mobileRedirectWithHttpInfo();
|
||||||
|
if (response.statusCode >= HttpStatus.badRequest) {
|
||||||
|
throw ApiException(response.statusCode, await _decodeBodyBytes(response));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/// Performs an HTTP 'POST /oauth/unlink' operation and returns the [Response].
|
/// Performs an HTTP 'POST /oauth/unlink' operation and returns the [Response].
|
||||||
Future<Response> unlinkWithHttpInfo() async {
|
Future<Response> unlinkWithHttpInfo() async {
|
||||||
// ignore: prefer_const_declarations
|
// ignore: prefer_const_declarations
|
||||||
|
|||||||
251
mobile/openapi/lib/api/share_api.dart
generated
Normal file
251
mobile/openapi/lib/api/share_api.dart
generated
Normal file
@@ -0,0 +1,251 @@
|
|||||||
|
//
|
||||||
|
// AUTO-GENERATED FILE, DO NOT MODIFY!
|
||||||
|
//
|
||||||
|
// @dart=2.12
|
||||||
|
|
||||||
|
// ignore_for_file: unused_element, unused_import
|
||||||
|
// ignore_for_file: always_put_required_named_parameters_first
|
||||||
|
// ignore_for_file: constant_identifier_names
|
||||||
|
// ignore_for_file: lines_longer_than_80_chars
|
||||||
|
|
||||||
|
part of openapi.api;
|
||||||
|
|
||||||
|
|
||||||
|
class ShareApi {
|
||||||
|
ShareApi([ApiClient? apiClient]) : apiClient = apiClient ?? defaultApiClient;
|
||||||
|
|
||||||
|
final ApiClient apiClient;
|
||||||
|
|
||||||
|
/// Performs an HTTP 'PATCH /share/{id}' operation and returns the [Response].
|
||||||
|
/// Parameters:
|
||||||
|
///
|
||||||
|
/// * [String] id (required):
|
||||||
|
///
|
||||||
|
/// * [EditSharedLinkDto] editSharedLinkDto (required):
|
||||||
|
Future<Response> editSharedLinkWithHttpInfo(String id, EditSharedLinkDto editSharedLinkDto,) async {
|
||||||
|
// ignore: prefer_const_declarations
|
||||||
|
final path = r'/share/{id}'
|
||||||
|
.replaceAll('{id}', id);
|
||||||
|
|
||||||
|
// ignore: prefer_final_locals
|
||||||
|
Object? postBody = editSharedLinkDto;
|
||||||
|
|
||||||
|
final queryParams = <QueryParam>[];
|
||||||
|
final headerParams = <String, String>{};
|
||||||
|
final formParams = <String, String>{};
|
||||||
|
|
||||||
|
const contentTypes = <String>['application/json'];
|
||||||
|
|
||||||
|
|
||||||
|
return apiClient.invokeAPI(
|
||||||
|
path,
|
||||||
|
'PATCH',
|
||||||
|
queryParams,
|
||||||
|
postBody,
|
||||||
|
headerParams,
|
||||||
|
formParams,
|
||||||
|
contentTypes.isEmpty ? null : contentTypes.first,
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
/// Parameters:
|
||||||
|
///
|
||||||
|
/// * [String] id (required):
|
||||||
|
///
|
||||||
|
/// * [EditSharedLinkDto] editSharedLinkDto (required):
|
||||||
|
Future<SharedLinkResponseDto?> editSharedLink(String id, EditSharedLinkDto editSharedLinkDto,) async {
|
||||||
|
final response = await editSharedLinkWithHttpInfo(id, editSharedLinkDto,);
|
||||||
|
if (response.statusCode >= HttpStatus.badRequest) {
|
||||||
|
throw ApiException(response.statusCode, await _decodeBodyBytes(response));
|
||||||
|
}
|
||||||
|
// When a remote server returns no body with a status of 204, we shall not decode it.
|
||||||
|
// At the time of writing this, `dart:convert` will throw an "Unexpected end of input"
|
||||||
|
// FormatException when trying to decode an empty string.
|
||||||
|
if (response.body.isNotEmpty && response.statusCode != HttpStatus.noContent) {
|
||||||
|
return await apiClient.deserializeAsync(await _decodeBodyBytes(response), 'SharedLinkResponseDto',) as SharedLinkResponseDto;
|
||||||
|
|
||||||
|
}
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
|
/// Performs an HTTP 'GET /share' operation and returns the [Response].
|
||||||
|
Future<Response> getAllSharedLinksWithHttpInfo() async {
|
||||||
|
// ignore: prefer_const_declarations
|
||||||
|
final path = r'/share';
|
||||||
|
|
||||||
|
// ignore: prefer_final_locals
|
||||||
|
Object? postBody;
|
||||||
|
|
||||||
|
final queryParams = <QueryParam>[];
|
||||||
|
final headerParams = <String, String>{};
|
||||||
|
final formParams = <String, String>{};
|
||||||
|
|
||||||
|
const contentTypes = <String>[];
|
||||||
|
|
||||||
|
|
||||||
|
return apiClient.invokeAPI(
|
||||||
|
path,
|
||||||
|
'GET',
|
||||||
|
queryParams,
|
||||||
|
postBody,
|
||||||
|
headerParams,
|
||||||
|
formParams,
|
||||||
|
contentTypes.isEmpty ? null : contentTypes.first,
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
Future<List<SharedLinkResponseDto>?> getAllSharedLinks() async {
|
||||||
|
final response = await getAllSharedLinksWithHttpInfo();
|
||||||
|
if (response.statusCode >= HttpStatus.badRequest) {
|
||||||
|
throw ApiException(response.statusCode, await _decodeBodyBytes(response));
|
||||||
|
}
|
||||||
|
// When a remote server returns no body with a status of 204, we shall not decode it.
|
||||||
|
// At the time of writing this, `dart:convert` will throw an "Unexpected end of input"
|
||||||
|
// FormatException when trying to decode an empty string.
|
||||||
|
if (response.body.isNotEmpty && response.statusCode != HttpStatus.noContent) {
|
||||||
|
final responseBody = await _decodeBodyBytes(response);
|
||||||
|
return (await apiClient.deserializeAsync(responseBody, 'List<SharedLinkResponseDto>') as List)
|
||||||
|
.cast<SharedLinkResponseDto>()
|
||||||
|
.toList();
|
||||||
|
|
||||||
|
}
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
|
/// Performs an HTTP 'GET /share/me' operation and returns the [Response].
|
||||||
|
Future<Response> getMySharedLinkWithHttpInfo() async {
|
||||||
|
// ignore: prefer_const_declarations
|
||||||
|
final path = r'/share/me';
|
||||||
|
|
||||||
|
// ignore: prefer_final_locals
|
||||||
|
Object? postBody;
|
||||||
|
|
||||||
|
final queryParams = <QueryParam>[];
|
||||||
|
final headerParams = <String, String>{};
|
||||||
|
final formParams = <String, String>{};
|
||||||
|
|
||||||
|
const contentTypes = <String>[];
|
||||||
|
|
||||||
|
|
||||||
|
return apiClient.invokeAPI(
|
||||||
|
path,
|
||||||
|
'GET',
|
||||||
|
queryParams,
|
||||||
|
postBody,
|
||||||
|
headerParams,
|
||||||
|
formParams,
|
||||||
|
contentTypes.isEmpty ? null : contentTypes.first,
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
Future<SharedLinkResponseDto?> getMySharedLink() async {
|
||||||
|
final response = await getMySharedLinkWithHttpInfo();
|
||||||
|
if (response.statusCode >= HttpStatus.badRequest) {
|
||||||
|
throw ApiException(response.statusCode, await _decodeBodyBytes(response));
|
||||||
|
}
|
||||||
|
// When a remote server returns no body with a status of 204, we shall not decode it.
|
||||||
|
// At the time of writing this, `dart:convert` will throw an "Unexpected end of input"
|
||||||
|
// FormatException when trying to decode an empty string.
|
||||||
|
if (response.body.isNotEmpty && response.statusCode != HttpStatus.noContent) {
|
||||||
|
return await apiClient.deserializeAsync(await _decodeBodyBytes(response), 'SharedLinkResponseDto',) as SharedLinkResponseDto;
|
||||||
|
|
||||||
|
}
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
|
/// Performs an HTTP 'GET /share/{id}' operation and returns the [Response].
|
||||||
|
/// Parameters:
|
||||||
|
///
|
||||||
|
/// * [String] id (required):
|
||||||
|
Future<Response> getSharedLinkByIdWithHttpInfo(String id,) async {
|
||||||
|
// ignore: prefer_const_declarations
|
||||||
|
final path = r'/share/{id}'
|
||||||
|
.replaceAll('{id}', id);
|
||||||
|
|
||||||
|
// ignore: prefer_final_locals
|
||||||
|
Object? postBody;
|
||||||
|
|
||||||
|
final queryParams = <QueryParam>[];
|
||||||
|
final headerParams = <String, String>{};
|
||||||
|
final formParams = <String, String>{};
|
||||||
|
|
||||||
|
const contentTypes = <String>[];
|
||||||
|
|
||||||
|
|
||||||
|
return apiClient.invokeAPI(
|
||||||
|
path,
|
||||||
|
'GET',
|
||||||
|
queryParams,
|
||||||
|
postBody,
|
||||||
|
headerParams,
|
||||||
|
formParams,
|
||||||
|
contentTypes.isEmpty ? null : contentTypes.first,
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
/// Parameters:
|
||||||
|
///
|
||||||
|
/// * [String] id (required):
|
||||||
|
Future<SharedLinkResponseDto?> getSharedLinkById(String id,) async {
|
||||||
|
final response = await getSharedLinkByIdWithHttpInfo(id,);
|
||||||
|
if (response.statusCode >= HttpStatus.badRequest) {
|
||||||
|
throw ApiException(response.statusCode, await _decodeBodyBytes(response));
|
||||||
|
}
|
||||||
|
// When a remote server returns no body with a status of 204, we shall not decode it.
|
||||||
|
// At the time of writing this, `dart:convert` will throw an "Unexpected end of input"
|
||||||
|
// FormatException when trying to decode an empty string.
|
||||||
|
if (response.body.isNotEmpty && response.statusCode != HttpStatus.noContent) {
|
||||||
|
return await apiClient.deserializeAsync(await _decodeBodyBytes(response), 'SharedLinkResponseDto',) as SharedLinkResponseDto;
|
||||||
|
|
||||||
|
}
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
|
/// Performs an HTTP 'DELETE /share/{id}' operation and returns the [Response].
|
||||||
|
/// Parameters:
|
||||||
|
///
|
||||||
|
/// * [String] id (required):
|
||||||
|
Future<Response> removeSharedLinkWithHttpInfo(String id,) async {
|
||||||
|
// ignore: prefer_const_declarations
|
||||||
|
final path = r'/share/{id}'
|
||||||
|
.replaceAll('{id}', id);
|
||||||
|
|
||||||
|
// ignore: prefer_final_locals
|
||||||
|
Object? postBody;
|
||||||
|
|
||||||
|
final queryParams = <QueryParam>[];
|
||||||
|
final headerParams = <String, String>{};
|
||||||
|
final formParams = <String, String>{};
|
||||||
|
|
||||||
|
const contentTypes = <String>[];
|
||||||
|
|
||||||
|
|
||||||
|
return apiClient.invokeAPI(
|
||||||
|
path,
|
||||||
|
'DELETE',
|
||||||
|
queryParams,
|
||||||
|
postBody,
|
||||||
|
headerParams,
|
||||||
|
formParams,
|
||||||
|
contentTypes.isEmpty ? null : contentTypes.first,
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
/// Parameters:
|
||||||
|
///
|
||||||
|
/// * [String] id (required):
|
||||||
|
Future<String?> removeSharedLink(String id,) async {
|
||||||
|
final response = await removeSharedLinkWithHttpInfo(id,);
|
||||||
|
if (response.statusCode >= HttpStatus.badRequest) {
|
||||||
|
throw ApiException(response.statusCode, await _decodeBodyBytes(response));
|
||||||
|
}
|
||||||
|
// When a remote server returns no body with a status of 204, we shall not decode it.
|
||||||
|
// At the time of writing this, `dart:convert` will throw an "Unexpected end of input"
|
||||||
|
// FormatException when trying to decode an empty string.
|
||||||
|
if (response.body.isNotEmpty && response.statusCode != HttpStatus.noContent) {
|
||||||
|
return await apiClient.deserializeAsync(await _decodeBodyBytes(response), 'String',) as String;
|
||||||
|
|
||||||
|
}
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
}
|
||||||
20
mobile/openapi/lib/api_client.dart
generated
20
mobile/openapi/lib/api_client.dart
generated
@@ -192,6 +192,14 @@ class ApiClient {
|
|||||||
return valueString == 'true' || valueString == '1';
|
return valueString == 'true' || valueString == '1';
|
||||||
case 'DateTime':
|
case 'DateTime':
|
||||||
return value is DateTime ? value : DateTime.tryParse(value);
|
return value is DateTime ? value : DateTime.tryParse(value);
|
||||||
|
case 'APIKeyCreateDto':
|
||||||
|
return APIKeyCreateDto.fromJson(value);
|
||||||
|
case 'APIKeyCreateResponseDto':
|
||||||
|
return APIKeyCreateResponseDto.fromJson(value);
|
||||||
|
case 'APIKeyResponseDto':
|
||||||
|
return APIKeyResponseDto.fromJson(value);
|
||||||
|
case 'APIKeyUpdateDto':
|
||||||
|
return APIKeyUpdateDto.fromJson(value);
|
||||||
case 'AddAssetsDto':
|
case 'AddAssetsDto':
|
||||||
return AddAssetsDto.fromJson(value);
|
return AddAssetsDto.fromJson(value);
|
||||||
case 'AddAssetsResponseDto':
|
case 'AddAssetsResponseDto':
|
||||||
@@ -230,6 +238,8 @@ class ApiClient {
|
|||||||
return CheckExistingAssetsResponseDto.fromJson(value);
|
return CheckExistingAssetsResponseDto.fromJson(value);
|
||||||
case 'CreateAlbumDto':
|
case 'CreateAlbumDto':
|
||||||
return CreateAlbumDto.fromJson(value);
|
return CreateAlbumDto.fromJson(value);
|
||||||
|
case 'CreateAlbumShareLinkDto':
|
||||||
|
return CreateAlbumShareLinkDto.fromJson(value);
|
||||||
case 'CreateProfileImageResponseDto':
|
case 'CreateProfileImageResponseDto':
|
||||||
return CreateProfileImageResponseDto.fromJson(value);
|
return CreateProfileImageResponseDto.fromJson(value);
|
||||||
case 'CreateTagDto':
|
case 'CreateTagDto':
|
||||||
@@ -250,6 +260,10 @@ class ApiClient {
|
|||||||
return DeviceInfoResponseDto.fromJson(value);
|
return DeviceInfoResponseDto.fromJson(value);
|
||||||
case 'DeviceTypeEnum':
|
case 'DeviceTypeEnum':
|
||||||
return DeviceTypeEnumTypeTransformer().decode(value);
|
return DeviceTypeEnumTypeTransformer().decode(value);
|
||||||
|
case 'DownloadFilesDto':
|
||||||
|
return DownloadFilesDto.fromJson(value);
|
||||||
|
case 'EditSharedLinkDto':
|
||||||
|
return EditSharedLinkDto.fromJson(value);
|
||||||
case 'ExifResponseDto':
|
case 'ExifResponseDto':
|
||||||
return ExifResponseDto.fromJson(value);
|
return ExifResponseDto.fromJson(value);
|
||||||
case 'GetAssetByTimeBucketDto':
|
case 'GetAssetByTimeBucketDto':
|
||||||
@@ -290,6 +304,10 @@ class ApiClient {
|
|||||||
return ServerStatsResponseDto.fromJson(value);
|
return ServerStatsResponseDto.fromJson(value);
|
||||||
case 'ServerVersionReponseDto':
|
case 'ServerVersionReponseDto':
|
||||||
return ServerVersionReponseDto.fromJson(value);
|
return ServerVersionReponseDto.fromJson(value);
|
||||||
|
case 'SharedLinkResponseDto':
|
||||||
|
return SharedLinkResponseDto.fromJson(value);
|
||||||
|
case 'SharedLinkType':
|
||||||
|
return SharedLinkTypeTypeTransformer().decode(value);
|
||||||
case 'SignUpDto':
|
case 'SignUpDto':
|
||||||
return SignUpDto.fromJson(value);
|
return SignUpDto.fromJson(value);
|
||||||
case 'SmartInfoResponseDto':
|
case 'SmartInfoResponseDto':
|
||||||
@@ -300,6 +318,8 @@ class ApiClient {
|
|||||||
return SystemConfigFFmpegDto.fromJson(value);
|
return SystemConfigFFmpegDto.fromJson(value);
|
||||||
case 'SystemConfigOAuthDto':
|
case 'SystemConfigOAuthDto':
|
||||||
return SystemConfigOAuthDto.fromJson(value);
|
return SystemConfigOAuthDto.fromJson(value);
|
||||||
|
case 'SystemConfigPasswordLoginDto':
|
||||||
|
return SystemConfigPasswordLoginDto.fromJson(value);
|
||||||
case 'SystemConfigStorageTemplateDto':
|
case 'SystemConfigStorageTemplateDto':
|
||||||
return SystemConfigStorageTemplateDto.fromJson(value);
|
return SystemConfigStorageTemplateDto.fromJson(value);
|
||||||
case 'SystemConfigTemplateStorageOptionDto':
|
case 'SystemConfigTemplateStorageOptionDto':
|
||||||
|
|||||||
3
mobile/openapi/lib/api_helper.dart
generated
3
mobile/openapi/lib/api_helper.dart
generated
@@ -70,6 +70,9 @@ String parameterToString(dynamic value) {
|
|||||||
if (value is JobId) {
|
if (value is JobId) {
|
||||||
return JobIdTypeTransformer().encode(value).toString();
|
return JobIdTypeTransformer().encode(value).toString();
|
||||||
}
|
}
|
||||||
|
if (value is SharedLinkType) {
|
||||||
|
return SharedLinkTypeTypeTransformer().encode(value).toString();
|
||||||
|
}
|
||||||
if (value is TagTypeEnum) {
|
if (value is TagTypeEnum) {
|
||||||
return TagTypeEnumTypeTransformer().encode(value).toString();
|
return TagTypeEnumTypeTransformer().encode(value).toString();
|
||||||
}
|
}
|
||||||
|
|||||||
6
mobile/openapi/lib/model/add_assets_dto.dart
generated
6
mobile/openapi/lib/model/add_assets_dto.dart
generated
@@ -31,9 +31,9 @@ class AddAssetsDto {
|
|||||||
String toString() => 'AddAssetsDto[assetIds=$assetIds]';
|
String toString() => 'AddAssetsDto[assetIds=$assetIds]';
|
||||||
|
|
||||||
Map<String, dynamic> toJson() {
|
Map<String, dynamic> toJson() {
|
||||||
final _json = <String, dynamic>{};
|
final json = <String, dynamic>{};
|
||||||
_json[r'assetIds'] = assetIds;
|
json[r'assetIds'] = this.assetIds;
|
||||||
return _json;
|
return json;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Returns a new [AddAssetsDto] instance and imports its values from
|
/// Returns a new [AddAssetsDto] instance and imports its values from
|
||||||
|
|||||||
@@ -47,15 +47,15 @@ class AddAssetsResponseDto {
|
|||||||
String toString() => 'AddAssetsResponseDto[successfullyAdded=$successfullyAdded, alreadyInAlbum=$alreadyInAlbum, album=$album]';
|
String toString() => 'AddAssetsResponseDto[successfullyAdded=$successfullyAdded, alreadyInAlbum=$alreadyInAlbum, album=$album]';
|
||||||
|
|
||||||
Map<String, dynamic> toJson() {
|
Map<String, dynamic> toJson() {
|
||||||
final _json = <String, dynamic>{};
|
final json = <String, dynamic>{};
|
||||||
_json[r'successfullyAdded'] = successfullyAdded;
|
json[r'successfullyAdded'] = this.successfullyAdded;
|
||||||
_json[r'alreadyInAlbum'] = alreadyInAlbum;
|
json[r'alreadyInAlbum'] = this.alreadyInAlbum;
|
||||||
if (album != null) {
|
if (this.album != null) {
|
||||||
_json[r'album'] = album;
|
json[r'album'] = this.album;
|
||||||
} else {
|
} else {
|
||||||
_json[r'album'] = null;
|
// json[r'album'] = null;
|
||||||
}
|
}
|
||||||
return _json;
|
return json;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Returns a new [AddAssetsResponseDto] instance and imports its values from
|
/// Returns a new [AddAssetsResponseDto] instance and imports its values from
|
||||||
|
|||||||
6
mobile/openapi/lib/model/add_users_dto.dart
generated
6
mobile/openapi/lib/model/add_users_dto.dart
generated
@@ -31,9 +31,9 @@ class AddUsersDto {
|
|||||||
String toString() => 'AddUsersDto[sharedUserIds=$sharedUserIds]';
|
String toString() => 'AddUsersDto[sharedUserIds=$sharedUserIds]';
|
||||||
|
|
||||||
Map<String, dynamic> toJson() {
|
Map<String, dynamic> toJson() {
|
||||||
final _json = <String, dynamic>{};
|
final json = <String, dynamic>{};
|
||||||
_json[r'sharedUserIds'] = sharedUserIds;
|
json[r'sharedUserIds'] = this.sharedUserIds;
|
||||||
return _json;
|
return json;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Returns a new [AddUsersDto] instance and imports its values from
|
/// Returns a new [AddUsersDto] instance and imports its values from
|
||||||
|
|||||||
@@ -51,13 +51,13 @@ class AdminSignupResponseDto {
|
|||||||
String toString() => 'AdminSignupResponseDto[id=$id, email=$email, firstName=$firstName, lastName=$lastName, createdAt=$createdAt]';
|
String toString() => 'AdminSignupResponseDto[id=$id, email=$email, firstName=$firstName, lastName=$lastName, createdAt=$createdAt]';
|
||||||
|
|
||||||
Map<String, dynamic> toJson() {
|
Map<String, dynamic> toJson() {
|
||||||
final _json = <String, dynamic>{};
|
final json = <String, dynamic>{};
|
||||||
_json[r'id'] = id;
|
json[r'id'] = this.id;
|
||||||
_json[r'email'] = email;
|
json[r'email'] = this.email;
|
||||||
_json[r'firstName'] = firstName;
|
json[r'firstName'] = this.firstName;
|
||||||
_json[r'lastName'] = lastName;
|
json[r'lastName'] = this.lastName;
|
||||||
_json[r'createdAt'] = createdAt;
|
json[r'createdAt'] = this.createdAt;
|
||||||
return _json;
|
return json;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Returns a new [AdminSignupResponseDto] instance and imports its values from
|
/// Returns a new [AdminSignupResponseDto] instance and imports its values from
|
||||||
|
|||||||
@@ -41,11 +41,11 @@ class AlbumCountResponseDto {
|
|||||||
String toString() => 'AlbumCountResponseDto[owned=$owned, shared=$shared, sharing=$sharing]';
|
String toString() => 'AlbumCountResponseDto[owned=$owned, shared=$shared, sharing=$sharing]';
|
||||||
|
|
||||||
Map<String, dynamic> toJson() {
|
Map<String, dynamic> toJson() {
|
||||||
final _json = <String, dynamic>{};
|
final json = <String, dynamic>{};
|
||||||
_json[r'owned'] = owned;
|
json[r'owned'] = this.owned;
|
||||||
_json[r'shared'] = shared;
|
json[r'shared'] = this.shared;
|
||||||
_json[r'sharing'] = sharing;
|
json[r'sharing'] = this.sharing;
|
||||||
return _json;
|
return json;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Returns a new [AlbumCountResponseDto] instance and imports its values from
|
/// Returns a new [AlbumCountResponseDto] instance and imports its values from
|
||||||
|
|||||||
26
mobile/openapi/lib/model/album_response_dto.dart
generated
26
mobile/openapi/lib/model/album_response_dto.dart
generated
@@ -71,21 +71,21 @@ class AlbumResponseDto {
|
|||||||
String toString() => 'AlbumResponseDto[assetCount=$assetCount, id=$id, ownerId=$ownerId, albumName=$albumName, createdAt=$createdAt, albumThumbnailAssetId=$albumThumbnailAssetId, shared=$shared, sharedUsers=$sharedUsers, assets=$assets]';
|
String toString() => 'AlbumResponseDto[assetCount=$assetCount, id=$id, ownerId=$ownerId, albumName=$albumName, createdAt=$createdAt, albumThumbnailAssetId=$albumThumbnailAssetId, shared=$shared, sharedUsers=$sharedUsers, assets=$assets]';
|
||||||
|
|
||||||
Map<String, dynamic> toJson() {
|
Map<String, dynamic> toJson() {
|
||||||
final _json = <String, dynamic>{};
|
final json = <String, dynamic>{};
|
||||||
_json[r'assetCount'] = assetCount;
|
json[r'assetCount'] = this.assetCount;
|
||||||
_json[r'id'] = id;
|
json[r'id'] = this.id;
|
||||||
_json[r'ownerId'] = ownerId;
|
json[r'ownerId'] = this.ownerId;
|
||||||
_json[r'albumName'] = albumName;
|
json[r'albumName'] = this.albumName;
|
||||||
_json[r'createdAt'] = createdAt;
|
json[r'createdAt'] = this.createdAt;
|
||||||
if (albumThumbnailAssetId != null) {
|
if (this.albumThumbnailAssetId != null) {
|
||||||
_json[r'albumThumbnailAssetId'] = albumThumbnailAssetId;
|
json[r'albumThumbnailAssetId'] = this.albumThumbnailAssetId;
|
||||||
} else {
|
} else {
|
||||||
_json[r'albumThumbnailAssetId'] = null;
|
// json[r'albumThumbnailAssetId'] = null;
|
||||||
}
|
}
|
||||||
_json[r'shared'] = shared;
|
json[r'shared'] = this.shared;
|
||||||
_json[r'sharedUsers'] = sharedUsers;
|
json[r'sharedUsers'] = this.sharedUsers;
|
||||||
_json[r'assets'] = assets;
|
json[r'assets'] = this.assets;
|
||||||
return _json;
|
return json;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Returns a new [AlbumResponseDto] instance and imports its values from
|
/// Returns a new [AlbumResponseDto] instance and imports its values from
|
||||||
|
|||||||
@@ -76,18 +76,18 @@ class AllJobStatusResponseDto {
|
|||||||
String toString() => 'AllJobStatusResponseDto[thumbnailGenerationQueueCount=$thumbnailGenerationQueueCount, metadataExtractionQueueCount=$metadataExtractionQueueCount, videoConversionQueueCount=$videoConversionQueueCount, machineLearningQueueCount=$machineLearningQueueCount, storageMigrationQueueCount=$storageMigrationQueueCount, isThumbnailGenerationActive=$isThumbnailGenerationActive, isMetadataExtractionActive=$isMetadataExtractionActive, isVideoConversionActive=$isVideoConversionActive, isMachineLearningActive=$isMachineLearningActive, isStorageMigrationActive=$isStorageMigrationActive]';
|
String toString() => 'AllJobStatusResponseDto[thumbnailGenerationQueueCount=$thumbnailGenerationQueueCount, metadataExtractionQueueCount=$metadataExtractionQueueCount, videoConversionQueueCount=$videoConversionQueueCount, machineLearningQueueCount=$machineLearningQueueCount, storageMigrationQueueCount=$storageMigrationQueueCount, isThumbnailGenerationActive=$isThumbnailGenerationActive, isMetadataExtractionActive=$isMetadataExtractionActive, isVideoConversionActive=$isVideoConversionActive, isMachineLearningActive=$isMachineLearningActive, isStorageMigrationActive=$isStorageMigrationActive]';
|
||||||
|
|
||||||
Map<String, dynamic> toJson() {
|
Map<String, dynamic> toJson() {
|
||||||
final _json = <String, dynamic>{};
|
final json = <String, dynamic>{};
|
||||||
_json[r'thumbnailGenerationQueueCount'] = thumbnailGenerationQueueCount;
|
json[r'thumbnailGenerationQueueCount'] = this.thumbnailGenerationQueueCount;
|
||||||
_json[r'metadataExtractionQueueCount'] = metadataExtractionQueueCount;
|
json[r'metadataExtractionQueueCount'] = this.metadataExtractionQueueCount;
|
||||||
_json[r'videoConversionQueueCount'] = videoConversionQueueCount;
|
json[r'videoConversionQueueCount'] = this.videoConversionQueueCount;
|
||||||
_json[r'machineLearningQueueCount'] = machineLearningQueueCount;
|
json[r'machineLearningQueueCount'] = this.machineLearningQueueCount;
|
||||||
_json[r'storageMigrationQueueCount'] = storageMigrationQueueCount;
|
json[r'storageMigrationQueueCount'] = this.storageMigrationQueueCount;
|
||||||
_json[r'isThumbnailGenerationActive'] = isThumbnailGenerationActive;
|
json[r'isThumbnailGenerationActive'] = this.isThumbnailGenerationActive;
|
||||||
_json[r'isMetadataExtractionActive'] = isMetadataExtractionActive;
|
json[r'isMetadataExtractionActive'] = this.isMetadataExtractionActive;
|
||||||
_json[r'isVideoConversionActive'] = isVideoConversionActive;
|
json[r'isVideoConversionActive'] = this.isVideoConversionActive;
|
||||||
_json[r'isMachineLearningActive'] = isMachineLearningActive;
|
json[r'isMachineLearningActive'] = this.isMachineLearningActive;
|
||||||
_json[r'isStorageMigrationActive'] = isStorageMigrationActive;
|
json[r'isStorageMigrationActive'] = this.isStorageMigrationActive;
|
||||||
return _json;
|
return json;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Returns a new [AllJobStatusResponseDto] instance and imports its values from
|
/// Returns a new [AllJobStatusResponseDto] instance and imports its values from
|
||||||
|
|||||||
120
mobile/openapi/lib/model/api_key_create_dto.dart
generated
Normal file
120
mobile/openapi/lib/model/api_key_create_dto.dart
generated
Normal file
@@ -0,0 +1,120 @@
|
|||||||
|
//
|
||||||
|
// AUTO-GENERATED FILE, DO NOT MODIFY!
|
||||||
|
//
|
||||||
|
// @dart=2.12
|
||||||
|
|
||||||
|
// ignore_for_file: unused_element, unused_import
|
||||||
|
// ignore_for_file: always_put_required_named_parameters_first
|
||||||
|
// ignore_for_file: constant_identifier_names
|
||||||
|
// ignore_for_file: lines_longer_than_80_chars
|
||||||
|
|
||||||
|
part of openapi.api;
|
||||||
|
|
||||||
|
class APIKeyCreateDto {
|
||||||
|
/// Returns a new [APIKeyCreateDto] instance.
|
||||||
|
APIKeyCreateDto({
|
||||||
|
this.name,
|
||||||
|
});
|
||||||
|
|
||||||
|
///
|
||||||
|
/// Please note: This property should have been non-nullable! Since the specification file
|
||||||
|
/// does not include a default value (using the "default:" property), however, the generated
|
||||||
|
/// source code must fall back to having a nullable type.
|
||||||
|
/// Consider adding a "default:" property in the specification file to hide this note.
|
||||||
|
///
|
||||||
|
String? name;
|
||||||
|
|
||||||
|
@override
|
||||||
|
bool operator ==(Object other) => identical(this, other) || other is APIKeyCreateDto &&
|
||||||
|
other.name == name;
|
||||||
|
|
||||||
|
@override
|
||||||
|
int get hashCode =>
|
||||||
|
// ignore: unnecessary_parenthesis
|
||||||
|
(name == null ? 0 : name!.hashCode);
|
||||||
|
|
||||||
|
@override
|
||||||
|
String toString() => 'APIKeyCreateDto[name=$name]';
|
||||||
|
|
||||||
|
Map<String, dynamic> toJson() {
|
||||||
|
final json = <String, dynamic>{};
|
||||||
|
if (this.name != null) {
|
||||||
|
json[r'name'] = this.name;
|
||||||
|
} else {
|
||||||
|
// json[r'name'] = null;
|
||||||
|
}
|
||||||
|
return json;
|
||||||
|
}
|
||||||
|
|
||||||
|
/// Returns a new [APIKeyCreateDto] instance and imports its values from
|
||||||
|
/// [value] if it's a [Map], null otherwise.
|
||||||
|
// ignore: prefer_constructors_over_static_methods
|
||||||
|
static APIKeyCreateDto? fromJson(dynamic value) {
|
||||||
|
if (value is Map) {
|
||||||
|
final json = value.cast<String, dynamic>();
|
||||||
|
|
||||||
|
// Ensure that the map contains the required keys.
|
||||||
|
// Note 1: the values aren't checked for validity beyond being non-null.
|
||||||
|
// Note 2: this code is stripped in release mode!
|
||||||
|
assert(() {
|
||||||
|
requiredKeys.forEach((key) {
|
||||||
|
assert(json.containsKey(key), 'Required key "APIKeyCreateDto[$key]" is missing from JSON.');
|
||||||
|
assert(json[key] != null, 'Required key "APIKeyCreateDto[$key]" has a null value in JSON.');
|
||||||
|
});
|
||||||
|
return true;
|
||||||
|
}());
|
||||||
|
|
||||||
|
return APIKeyCreateDto(
|
||||||
|
name: mapValueOfType<String>(json, r'name'),
|
||||||
|
);
|
||||||
|
}
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
|
static List<APIKeyCreateDto>? listFromJson(dynamic json, {bool growable = false,}) {
|
||||||
|
final result = <APIKeyCreateDto>[];
|
||||||
|
if (json is List && json.isNotEmpty) {
|
||||||
|
for (final row in json) {
|
||||||
|
final value = APIKeyCreateDto.fromJson(row);
|
||||||
|
if (value != null) {
|
||||||
|
result.add(value);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return result.toList(growable: growable);
|
||||||
|
}
|
||||||
|
|
||||||
|
static Map<String, APIKeyCreateDto> mapFromJson(dynamic json) {
|
||||||
|
final map = <String, APIKeyCreateDto>{};
|
||||||
|
if (json is Map && json.isNotEmpty) {
|
||||||
|
json = json.cast<String, dynamic>(); // ignore: parameter_assignments
|
||||||
|
for (final entry in json.entries) {
|
||||||
|
final value = APIKeyCreateDto.fromJson(entry.value);
|
||||||
|
if (value != null) {
|
||||||
|
map[entry.key] = value;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return map;
|
||||||
|
}
|
||||||
|
|
||||||
|
// maps a json object with a list of APIKeyCreateDto-objects as value to a dart map
|
||||||
|
static Map<String, List<APIKeyCreateDto>> mapListFromJson(dynamic json, {bool growable = false,}) {
|
||||||
|
final map = <String, List<APIKeyCreateDto>>{};
|
||||||
|
if (json is Map && json.isNotEmpty) {
|
||||||
|
json = json.cast<String, dynamic>(); // ignore: parameter_assignments
|
||||||
|
for (final entry in json.entries) {
|
||||||
|
final value = APIKeyCreateDto.listFromJson(entry.value, growable: growable,);
|
||||||
|
if (value != null) {
|
||||||
|
map[entry.key] = value;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return map;
|
||||||
|
}
|
||||||
|
|
||||||
|
/// The list of required keys that must be present in a JSON.
|
||||||
|
static const requiredKeys = <String>{
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
119
mobile/openapi/lib/model/api_key_create_response_dto.dart
generated
Normal file
119
mobile/openapi/lib/model/api_key_create_response_dto.dart
generated
Normal file
@@ -0,0 +1,119 @@
|
|||||||
|
//
|
||||||
|
// AUTO-GENERATED FILE, DO NOT MODIFY!
|
||||||
|
//
|
||||||
|
// @dart=2.12
|
||||||
|
|
||||||
|
// ignore_for_file: unused_element, unused_import
|
||||||
|
// ignore_for_file: always_put_required_named_parameters_first
|
||||||
|
// ignore_for_file: constant_identifier_names
|
||||||
|
// ignore_for_file: lines_longer_than_80_chars
|
||||||
|
|
||||||
|
part of openapi.api;
|
||||||
|
|
||||||
|
class APIKeyCreateResponseDto {
|
||||||
|
/// Returns a new [APIKeyCreateResponseDto] instance.
|
||||||
|
APIKeyCreateResponseDto({
|
||||||
|
required this.secret,
|
||||||
|
required this.apiKey,
|
||||||
|
});
|
||||||
|
|
||||||
|
String secret;
|
||||||
|
|
||||||
|
APIKeyResponseDto apiKey;
|
||||||
|
|
||||||
|
@override
|
||||||
|
bool operator ==(Object other) => identical(this, other) || other is APIKeyCreateResponseDto &&
|
||||||
|
other.secret == secret &&
|
||||||
|
other.apiKey == apiKey;
|
||||||
|
|
||||||
|
@override
|
||||||
|
int get hashCode =>
|
||||||
|
// ignore: unnecessary_parenthesis
|
||||||
|
(secret.hashCode) +
|
||||||
|
(apiKey.hashCode);
|
||||||
|
|
||||||
|
@override
|
||||||
|
String toString() => 'APIKeyCreateResponseDto[secret=$secret, apiKey=$apiKey]';
|
||||||
|
|
||||||
|
Map<String, dynamic> toJson() {
|
||||||
|
final json = <String, dynamic>{};
|
||||||
|
json[r'secret'] = this.secret;
|
||||||
|
json[r'apiKey'] = this.apiKey;
|
||||||
|
return json;
|
||||||
|
}
|
||||||
|
|
||||||
|
/// Returns a new [APIKeyCreateResponseDto] instance and imports its values from
|
||||||
|
/// [value] if it's a [Map], null otherwise.
|
||||||
|
// ignore: prefer_constructors_over_static_methods
|
||||||
|
static APIKeyCreateResponseDto? fromJson(dynamic value) {
|
||||||
|
if (value is Map) {
|
||||||
|
final json = value.cast<String, dynamic>();
|
||||||
|
|
||||||
|
// Ensure that the map contains the required keys.
|
||||||
|
// Note 1: the values aren't checked for validity beyond being non-null.
|
||||||
|
// Note 2: this code is stripped in release mode!
|
||||||
|
assert(() {
|
||||||
|
requiredKeys.forEach((key) {
|
||||||
|
assert(json.containsKey(key), 'Required key "APIKeyCreateResponseDto[$key]" is missing from JSON.');
|
||||||
|
assert(json[key] != null, 'Required key "APIKeyCreateResponseDto[$key]" has a null value in JSON.');
|
||||||
|
});
|
||||||
|
return true;
|
||||||
|
}());
|
||||||
|
|
||||||
|
return APIKeyCreateResponseDto(
|
||||||
|
secret: mapValueOfType<String>(json, r'secret')!,
|
||||||
|
apiKey: APIKeyResponseDto.fromJson(json[r'apiKey'])!,
|
||||||
|
);
|
||||||
|
}
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
|
static List<APIKeyCreateResponseDto>? listFromJson(dynamic json, {bool growable = false,}) {
|
||||||
|
final result = <APIKeyCreateResponseDto>[];
|
||||||
|
if (json is List && json.isNotEmpty) {
|
||||||
|
for (final row in json) {
|
||||||
|
final value = APIKeyCreateResponseDto.fromJson(row);
|
||||||
|
if (value != null) {
|
||||||
|
result.add(value);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return result.toList(growable: growable);
|
||||||
|
}
|
||||||
|
|
||||||
|
static Map<String, APIKeyCreateResponseDto> mapFromJson(dynamic json) {
|
||||||
|
final map = <String, APIKeyCreateResponseDto>{};
|
||||||
|
if (json is Map && json.isNotEmpty) {
|
||||||
|
json = json.cast<String, dynamic>(); // ignore: parameter_assignments
|
||||||
|
for (final entry in json.entries) {
|
||||||
|
final value = APIKeyCreateResponseDto.fromJson(entry.value);
|
||||||
|
if (value != null) {
|
||||||
|
map[entry.key] = value;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return map;
|
||||||
|
}
|
||||||
|
|
||||||
|
// maps a json object with a list of APIKeyCreateResponseDto-objects as value to a dart map
|
||||||
|
static Map<String, List<APIKeyCreateResponseDto>> mapListFromJson(dynamic json, {bool growable = false,}) {
|
||||||
|
final map = <String, List<APIKeyCreateResponseDto>>{};
|
||||||
|
if (json is Map && json.isNotEmpty) {
|
||||||
|
json = json.cast<String, dynamic>(); // ignore: parameter_assignments
|
||||||
|
for (final entry in json.entries) {
|
||||||
|
final value = APIKeyCreateResponseDto.listFromJson(entry.value, growable: growable,);
|
||||||
|
if (value != null) {
|
||||||
|
map[entry.key] = value;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return map;
|
||||||
|
}
|
||||||
|
|
||||||
|
/// The list of required keys that must be present in a JSON.
|
||||||
|
static const requiredKeys = <String>{
|
||||||
|
'secret',
|
||||||
|
'apiKey',
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
135
mobile/openapi/lib/model/api_key_response_dto.dart
generated
Normal file
135
mobile/openapi/lib/model/api_key_response_dto.dart
generated
Normal file
@@ -0,0 +1,135 @@
|
|||||||
|
//
|
||||||
|
// AUTO-GENERATED FILE, DO NOT MODIFY!
|
||||||
|
//
|
||||||
|
// @dart=2.12
|
||||||
|
|
||||||
|
// ignore_for_file: unused_element, unused_import
|
||||||
|
// ignore_for_file: always_put_required_named_parameters_first
|
||||||
|
// ignore_for_file: constant_identifier_names
|
||||||
|
// ignore_for_file: lines_longer_than_80_chars
|
||||||
|
|
||||||
|
part of openapi.api;
|
||||||
|
|
||||||
|
class APIKeyResponseDto {
|
||||||
|
/// Returns a new [APIKeyResponseDto] instance.
|
||||||
|
APIKeyResponseDto({
|
||||||
|
required this.id,
|
||||||
|
required this.name,
|
||||||
|
required this.createdAt,
|
||||||
|
required this.updatedAt,
|
||||||
|
});
|
||||||
|
|
||||||
|
int id;
|
||||||
|
|
||||||
|
String name;
|
||||||
|
|
||||||
|
String createdAt;
|
||||||
|
|
||||||
|
String updatedAt;
|
||||||
|
|
||||||
|
@override
|
||||||
|
bool operator ==(Object other) => identical(this, other) || other is APIKeyResponseDto &&
|
||||||
|
other.id == id &&
|
||||||
|
other.name == name &&
|
||||||
|
other.createdAt == createdAt &&
|
||||||
|
other.updatedAt == updatedAt;
|
||||||
|
|
||||||
|
@override
|
||||||
|
int get hashCode =>
|
||||||
|
// ignore: unnecessary_parenthesis
|
||||||
|
(id.hashCode) +
|
||||||
|
(name.hashCode) +
|
||||||
|
(createdAt.hashCode) +
|
||||||
|
(updatedAt.hashCode);
|
||||||
|
|
||||||
|
@override
|
||||||
|
String toString() => 'APIKeyResponseDto[id=$id, name=$name, createdAt=$createdAt, updatedAt=$updatedAt]';
|
||||||
|
|
||||||
|
Map<String, dynamic> toJson() {
|
||||||
|
final json = <String, dynamic>{};
|
||||||
|
json[r'id'] = this.id;
|
||||||
|
json[r'name'] = this.name;
|
||||||
|
json[r'createdAt'] = this.createdAt;
|
||||||
|
json[r'updatedAt'] = this.updatedAt;
|
||||||
|
return json;
|
||||||
|
}
|
||||||
|
|
||||||
|
/// Returns a new [APIKeyResponseDto] instance and imports its values from
|
||||||
|
/// [value] if it's a [Map], null otherwise.
|
||||||
|
// ignore: prefer_constructors_over_static_methods
|
||||||
|
static APIKeyResponseDto? fromJson(dynamic value) {
|
||||||
|
if (value is Map) {
|
||||||
|
final json = value.cast<String, dynamic>();
|
||||||
|
|
||||||
|
// Ensure that the map contains the required keys.
|
||||||
|
// Note 1: the values aren't checked for validity beyond being non-null.
|
||||||
|
// Note 2: this code is stripped in release mode!
|
||||||
|
assert(() {
|
||||||
|
requiredKeys.forEach((key) {
|
||||||
|
assert(json.containsKey(key), 'Required key "APIKeyResponseDto[$key]" is missing from JSON.');
|
||||||
|
assert(json[key] != null, 'Required key "APIKeyResponseDto[$key]" has a null value in JSON.');
|
||||||
|
});
|
||||||
|
return true;
|
||||||
|
}());
|
||||||
|
|
||||||
|
return APIKeyResponseDto(
|
||||||
|
id: mapValueOfType<int>(json, r'id')!,
|
||||||
|
name: mapValueOfType<String>(json, r'name')!,
|
||||||
|
createdAt: mapValueOfType<String>(json, r'createdAt')!,
|
||||||
|
updatedAt: mapValueOfType<String>(json, r'updatedAt')!,
|
||||||
|
);
|
||||||
|
}
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
|
static List<APIKeyResponseDto>? listFromJson(dynamic json, {bool growable = false,}) {
|
||||||
|
final result = <APIKeyResponseDto>[];
|
||||||
|
if (json is List && json.isNotEmpty) {
|
||||||
|
for (final row in json) {
|
||||||
|
final value = APIKeyResponseDto.fromJson(row);
|
||||||
|
if (value != null) {
|
||||||
|
result.add(value);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return result.toList(growable: growable);
|
||||||
|
}
|
||||||
|
|
||||||
|
static Map<String, APIKeyResponseDto> mapFromJson(dynamic json) {
|
||||||
|
final map = <String, APIKeyResponseDto>{};
|
||||||
|
if (json is Map && json.isNotEmpty) {
|
||||||
|
json = json.cast<String, dynamic>(); // ignore: parameter_assignments
|
||||||
|
for (final entry in json.entries) {
|
||||||
|
final value = APIKeyResponseDto.fromJson(entry.value);
|
||||||
|
if (value != null) {
|
||||||
|
map[entry.key] = value;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return map;
|
||||||
|
}
|
||||||
|
|
||||||
|
// maps a json object with a list of APIKeyResponseDto-objects as value to a dart map
|
||||||
|
static Map<String, List<APIKeyResponseDto>> mapListFromJson(dynamic json, {bool growable = false,}) {
|
||||||
|
final map = <String, List<APIKeyResponseDto>>{};
|
||||||
|
if (json is Map && json.isNotEmpty) {
|
||||||
|
json = json.cast<String, dynamic>(); // ignore: parameter_assignments
|
||||||
|
for (final entry in json.entries) {
|
||||||
|
final value = APIKeyResponseDto.listFromJson(entry.value, growable: growable,);
|
||||||
|
if (value != null) {
|
||||||
|
map[entry.key] = value;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return map;
|
||||||
|
}
|
||||||
|
|
||||||
|
/// The list of required keys that must be present in a JSON.
|
||||||
|
static const requiredKeys = <String>{
|
||||||
|
'id',
|
||||||
|
'name',
|
||||||
|
'createdAt',
|
||||||
|
'updatedAt',
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
111
mobile/openapi/lib/model/api_key_update_dto.dart
generated
Normal file
111
mobile/openapi/lib/model/api_key_update_dto.dart
generated
Normal file
@@ -0,0 +1,111 @@
|
|||||||
|
//
|
||||||
|
// AUTO-GENERATED FILE, DO NOT MODIFY!
|
||||||
|
//
|
||||||
|
// @dart=2.12
|
||||||
|
|
||||||
|
// ignore_for_file: unused_element, unused_import
|
||||||
|
// ignore_for_file: always_put_required_named_parameters_first
|
||||||
|
// ignore_for_file: constant_identifier_names
|
||||||
|
// ignore_for_file: lines_longer_than_80_chars
|
||||||
|
|
||||||
|
part of openapi.api;
|
||||||
|
|
||||||
|
class APIKeyUpdateDto {
|
||||||
|
/// Returns a new [APIKeyUpdateDto] instance.
|
||||||
|
APIKeyUpdateDto({
|
||||||
|
required this.name,
|
||||||
|
});
|
||||||
|
|
||||||
|
String name;
|
||||||
|
|
||||||
|
@override
|
||||||
|
bool operator ==(Object other) => identical(this, other) || other is APIKeyUpdateDto &&
|
||||||
|
other.name == name;
|
||||||
|
|
||||||
|
@override
|
||||||
|
int get hashCode =>
|
||||||
|
// ignore: unnecessary_parenthesis
|
||||||
|
(name.hashCode);
|
||||||
|
|
||||||
|
@override
|
||||||
|
String toString() => 'APIKeyUpdateDto[name=$name]';
|
||||||
|
|
||||||
|
Map<String, dynamic> toJson() {
|
||||||
|
final json = <String, dynamic>{};
|
||||||
|
json[r'name'] = this.name;
|
||||||
|
return json;
|
||||||
|
}
|
||||||
|
|
||||||
|
/// Returns a new [APIKeyUpdateDto] instance and imports its values from
|
||||||
|
/// [value] if it's a [Map], null otherwise.
|
||||||
|
// ignore: prefer_constructors_over_static_methods
|
||||||
|
static APIKeyUpdateDto? fromJson(dynamic value) {
|
||||||
|
if (value is Map) {
|
||||||
|
final json = value.cast<String, dynamic>();
|
||||||
|
|
||||||
|
// Ensure that the map contains the required keys.
|
||||||
|
// Note 1: the values aren't checked for validity beyond being non-null.
|
||||||
|
// Note 2: this code is stripped in release mode!
|
||||||
|
assert(() {
|
||||||
|
requiredKeys.forEach((key) {
|
||||||
|
assert(json.containsKey(key), 'Required key "APIKeyUpdateDto[$key]" is missing from JSON.');
|
||||||
|
assert(json[key] != null, 'Required key "APIKeyUpdateDto[$key]" has a null value in JSON.');
|
||||||
|
});
|
||||||
|
return true;
|
||||||
|
}());
|
||||||
|
|
||||||
|
return APIKeyUpdateDto(
|
||||||
|
name: mapValueOfType<String>(json, r'name')!,
|
||||||
|
);
|
||||||
|
}
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
|
static List<APIKeyUpdateDto>? listFromJson(dynamic json, {bool growable = false,}) {
|
||||||
|
final result = <APIKeyUpdateDto>[];
|
||||||
|
if (json is List && json.isNotEmpty) {
|
||||||
|
for (final row in json) {
|
||||||
|
final value = APIKeyUpdateDto.fromJson(row);
|
||||||
|
if (value != null) {
|
||||||
|
result.add(value);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return result.toList(growable: growable);
|
||||||
|
}
|
||||||
|
|
||||||
|
static Map<String, APIKeyUpdateDto> mapFromJson(dynamic json) {
|
||||||
|
final map = <String, APIKeyUpdateDto>{};
|
||||||
|
if (json is Map && json.isNotEmpty) {
|
||||||
|
json = json.cast<String, dynamic>(); // ignore: parameter_assignments
|
||||||
|
for (final entry in json.entries) {
|
||||||
|
final value = APIKeyUpdateDto.fromJson(entry.value);
|
||||||
|
if (value != null) {
|
||||||
|
map[entry.key] = value;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return map;
|
||||||
|
}
|
||||||
|
|
||||||
|
// maps a json object with a list of APIKeyUpdateDto-objects as value to a dart map
|
||||||
|
static Map<String, List<APIKeyUpdateDto>> mapListFromJson(dynamic json, {bool growable = false,}) {
|
||||||
|
final map = <String, List<APIKeyUpdateDto>>{};
|
||||||
|
if (json is Map && json.isNotEmpty) {
|
||||||
|
json = json.cast<String, dynamic>(); // ignore: parameter_assignments
|
||||||
|
for (final entry in json.entries) {
|
||||||
|
final value = APIKeyUpdateDto.listFromJson(entry.value, growable: growable,);
|
||||||
|
if (value != null) {
|
||||||
|
map[entry.key] = value;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return map;
|
||||||
|
}
|
||||||
|
|
||||||
|
/// The list of required keys that must be present in a JSON.
|
||||||
|
static const requiredKeys = <String>{
|
||||||
|
'name',
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
@@ -36,10 +36,10 @@ class AssetCountByTimeBucket {
|
|||||||
String toString() => 'AssetCountByTimeBucket[timeBucket=$timeBucket, count=$count]';
|
String toString() => 'AssetCountByTimeBucket[timeBucket=$timeBucket, count=$count]';
|
||||||
|
|
||||||
Map<String, dynamic> toJson() {
|
Map<String, dynamic> toJson() {
|
||||||
final _json = <String, dynamic>{};
|
final json = <String, dynamic>{};
|
||||||
_json[r'timeBucket'] = timeBucket;
|
json[r'timeBucket'] = this.timeBucket;
|
||||||
_json[r'count'] = count;
|
json[r'count'] = this.count;
|
||||||
return _json;
|
return json;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Returns a new [AssetCountByTimeBucket] instance and imports its values from
|
/// Returns a new [AssetCountByTimeBucket] instance and imports its values from
|
||||||
|
|||||||
@@ -36,10 +36,10 @@ class AssetCountByTimeBucketResponseDto {
|
|||||||
String toString() => 'AssetCountByTimeBucketResponseDto[totalCount=$totalCount, buckets=$buckets]';
|
String toString() => 'AssetCountByTimeBucketResponseDto[totalCount=$totalCount, buckets=$buckets]';
|
||||||
|
|
||||||
Map<String, dynamic> toJson() {
|
Map<String, dynamic> toJson() {
|
||||||
final _json = <String, dynamic>{};
|
final json = <String, dynamic>{};
|
||||||
_json[r'totalCount'] = totalCount;
|
json[r'totalCount'] = this.totalCount;
|
||||||
_json[r'buckets'] = buckets;
|
json[r'buckets'] = this.buckets;
|
||||||
return _json;
|
return json;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Returns a new [AssetCountByTimeBucketResponseDto] instance and imports its values from
|
/// Returns a new [AssetCountByTimeBucketResponseDto] instance and imports its values from
|
||||||
|
|||||||
@@ -51,13 +51,13 @@ class AssetCountByUserIdResponseDto {
|
|||||||
String toString() => 'AssetCountByUserIdResponseDto[audio=$audio, photos=$photos, videos=$videos, other=$other, total=$total]';
|
String toString() => 'AssetCountByUserIdResponseDto[audio=$audio, photos=$photos, videos=$videos, other=$other, total=$total]';
|
||||||
|
|
||||||
Map<String, dynamic> toJson() {
|
Map<String, dynamic> toJson() {
|
||||||
final _json = <String, dynamic>{};
|
final json = <String, dynamic>{};
|
||||||
_json[r'audio'] = audio;
|
json[r'audio'] = this.audio;
|
||||||
_json[r'photos'] = photos;
|
json[r'photos'] = this.photos;
|
||||||
_json[r'videos'] = videos;
|
json[r'videos'] = this.videos;
|
||||||
_json[r'other'] = other;
|
json[r'other'] = this.other;
|
||||||
_json[r'total'] = total;
|
json[r'total'] = this.total;
|
||||||
return _json;
|
return json;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Returns a new [AssetCountByUserIdResponseDto] instance and imports its values from
|
/// Returns a new [AssetCountByUserIdResponseDto] instance and imports its values from
|
||||||
|
|||||||
@@ -31,9 +31,9 @@ class AssetFileUploadResponseDto {
|
|||||||
String toString() => 'AssetFileUploadResponseDto[id=$id]';
|
String toString() => 'AssetFileUploadResponseDto[id=$id]';
|
||||||
|
|
||||||
Map<String, dynamic> toJson() {
|
Map<String, dynamic> toJson() {
|
||||||
final _json = <String, dynamic>{};
|
final json = <String, dynamic>{};
|
||||||
_json[r'id'] = id;
|
json[r'id'] = this.id;
|
||||||
return _json;
|
return json;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Returns a new [AssetFileUploadResponseDto] instance and imports its values from
|
/// Returns a new [AssetFileUploadResponseDto] instance and imports its values from
|
||||||
|
|||||||
68
mobile/openapi/lib/model/asset_response_dto.dart
generated
68
mobile/openapi/lib/model/asset_response_dto.dart
generated
@@ -128,54 +128,54 @@ class AssetResponseDto {
|
|||||||
String toString() => 'AssetResponseDto[type=$type, id=$id, deviceAssetId=$deviceAssetId, ownerId=$ownerId, deviceId=$deviceId, originalPath=$originalPath, resizePath=$resizePath, createdAt=$createdAt, modifiedAt=$modifiedAt, isFavorite=$isFavorite, mimeType=$mimeType, duration=$duration, webpPath=$webpPath, encodedVideoPath=$encodedVideoPath, exifInfo=$exifInfo, smartInfo=$smartInfo, livePhotoVideoId=$livePhotoVideoId, tags=$tags]';
|
String toString() => 'AssetResponseDto[type=$type, id=$id, deviceAssetId=$deviceAssetId, ownerId=$ownerId, deviceId=$deviceId, originalPath=$originalPath, resizePath=$resizePath, createdAt=$createdAt, modifiedAt=$modifiedAt, isFavorite=$isFavorite, mimeType=$mimeType, duration=$duration, webpPath=$webpPath, encodedVideoPath=$encodedVideoPath, exifInfo=$exifInfo, smartInfo=$smartInfo, livePhotoVideoId=$livePhotoVideoId, tags=$tags]';
|
||||||
|
|
||||||
Map<String, dynamic> toJson() {
|
Map<String, dynamic> toJson() {
|
||||||
final _json = <String, dynamic>{};
|
final json = <String, dynamic>{};
|
||||||
_json[r'type'] = type;
|
json[r'type'] = this.type;
|
||||||
_json[r'id'] = id;
|
json[r'id'] = this.id;
|
||||||
_json[r'deviceAssetId'] = deviceAssetId;
|
json[r'deviceAssetId'] = this.deviceAssetId;
|
||||||
_json[r'ownerId'] = ownerId;
|
json[r'ownerId'] = this.ownerId;
|
||||||
_json[r'deviceId'] = deviceId;
|
json[r'deviceId'] = this.deviceId;
|
||||||
_json[r'originalPath'] = originalPath;
|
json[r'originalPath'] = this.originalPath;
|
||||||
if (resizePath != null) {
|
if (this.resizePath != null) {
|
||||||
_json[r'resizePath'] = resizePath;
|
json[r'resizePath'] = this.resizePath;
|
||||||
} else {
|
} else {
|
||||||
_json[r'resizePath'] = null;
|
// json[r'resizePath'] = null;
|
||||||
}
|
}
|
||||||
_json[r'createdAt'] = createdAt;
|
json[r'createdAt'] = this.createdAt;
|
||||||
_json[r'modifiedAt'] = modifiedAt;
|
json[r'modifiedAt'] = this.modifiedAt;
|
||||||
_json[r'isFavorite'] = isFavorite;
|
json[r'isFavorite'] = this.isFavorite;
|
||||||
if (mimeType != null) {
|
if (this.mimeType != null) {
|
||||||
_json[r'mimeType'] = mimeType;
|
json[r'mimeType'] = this.mimeType;
|
||||||
} else {
|
} else {
|
||||||
_json[r'mimeType'] = null;
|
// json[r'mimeType'] = null;
|
||||||
}
|
}
|
||||||
_json[r'duration'] = duration;
|
json[r'duration'] = this.duration;
|
||||||
if (webpPath != null) {
|
if (this.webpPath != null) {
|
||||||
_json[r'webpPath'] = webpPath;
|
json[r'webpPath'] = this.webpPath;
|
||||||
} else {
|
} else {
|
||||||
_json[r'webpPath'] = null;
|
// json[r'webpPath'] = null;
|
||||||
}
|
}
|
||||||
if (encodedVideoPath != null) {
|
if (this.encodedVideoPath != null) {
|
||||||
_json[r'encodedVideoPath'] = encodedVideoPath;
|
json[r'encodedVideoPath'] = this.encodedVideoPath;
|
||||||
} else {
|
} else {
|
||||||
_json[r'encodedVideoPath'] = null;
|
// json[r'encodedVideoPath'] = null;
|
||||||
}
|
}
|
||||||
if (exifInfo != null) {
|
if (this.exifInfo != null) {
|
||||||
_json[r'exifInfo'] = exifInfo;
|
json[r'exifInfo'] = this.exifInfo;
|
||||||
} else {
|
} else {
|
||||||
_json[r'exifInfo'] = null;
|
// json[r'exifInfo'] = null;
|
||||||
}
|
}
|
||||||
if (smartInfo != null) {
|
if (this.smartInfo != null) {
|
||||||
_json[r'smartInfo'] = smartInfo;
|
json[r'smartInfo'] = this.smartInfo;
|
||||||
} else {
|
} else {
|
||||||
_json[r'smartInfo'] = null;
|
// json[r'smartInfo'] = null;
|
||||||
}
|
}
|
||||||
if (livePhotoVideoId != null) {
|
if (this.livePhotoVideoId != null) {
|
||||||
_json[r'livePhotoVideoId'] = livePhotoVideoId;
|
json[r'livePhotoVideoId'] = this.livePhotoVideoId;
|
||||||
} else {
|
} else {
|
||||||
_json[r'livePhotoVideoId'] = null;
|
// json[r'livePhotoVideoId'] = null;
|
||||||
}
|
}
|
||||||
_json[r'tags'] = tags;
|
json[r'tags'] = this.tags;
|
||||||
return _json;
|
return json;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Returns a new [AssetResponseDto] instance and imports its values from
|
/// Returns a new [AssetResponseDto] instance and imports its values from
|
||||||
|
|||||||
@@ -36,10 +36,10 @@ class ChangePasswordDto {
|
|||||||
String toString() => 'ChangePasswordDto[password=$password, newPassword=$newPassword]';
|
String toString() => 'ChangePasswordDto[password=$password, newPassword=$newPassword]';
|
||||||
|
|
||||||
Map<String, dynamic> toJson() {
|
Map<String, dynamic> toJson() {
|
||||||
final _json = <String, dynamic>{};
|
final json = <String, dynamic>{};
|
||||||
_json[r'password'] = password;
|
json[r'password'] = this.password;
|
||||||
_json[r'newPassword'] = newPassword;
|
json[r'newPassword'] = this.newPassword;
|
||||||
return _json;
|
return json;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Returns a new [ChangePasswordDto] instance and imports its values from
|
/// Returns a new [ChangePasswordDto] instance and imports its values from
|
||||||
|
|||||||
@@ -36,10 +36,10 @@ class CheckDuplicateAssetDto {
|
|||||||
String toString() => 'CheckDuplicateAssetDto[deviceAssetId=$deviceAssetId, deviceId=$deviceId]';
|
String toString() => 'CheckDuplicateAssetDto[deviceAssetId=$deviceAssetId, deviceId=$deviceId]';
|
||||||
|
|
||||||
Map<String, dynamic> toJson() {
|
Map<String, dynamic> toJson() {
|
||||||
final _json = <String, dynamic>{};
|
final json = <String, dynamic>{};
|
||||||
_json[r'deviceAssetId'] = deviceAssetId;
|
json[r'deviceAssetId'] = this.deviceAssetId;
|
||||||
_json[r'deviceId'] = deviceId;
|
json[r'deviceId'] = this.deviceId;
|
||||||
return _json;
|
return json;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Returns a new [CheckDuplicateAssetDto] instance and imports its values from
|
/// Returns a new [CheckDuplicateAssetDto] instance and imports its values from
|
||||||
|
|||||||
@@ -42,14 +42,14 @@ class CheckDuplicateAssetResponseDto {
|
|||||||
String toString() => 'CheckDuplicateAssetResponseDto[isExist=$isExist, id=$id]';
|
String toString() => 'CheckDuplicateAssetResponseDto[isExist=$isExist, id=$id]';
|
||||||
|
|
||||||
Map<String, dynamic> toJson() {
|
Map<String, dynamic> toJson() {
|
||||||
final _json = <String, dynamic>{};
|
final json = <String, dynamic>{};
|
||||||
_json[r'isExist'] = isExist;
|
json[r'isExist'] = this.isExist;
|
||||||
if (id != null) {
|
if (this.id != null) {
|
||||||
_json[r'id'] = id;
|
json[r'id'] = this.id;
|
||||||
} else {
|
} else {
|
||||||
_json[r'id'] = null;
|
// json[r'id'] = null;
|
||||||
}
|
}
|
||||||
return _json;
|
return json;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Returns a new [CheckDuplicateAssetResponseDto] instance and imports its values from
|
/// Returns a new [CheckDuplicateAssetResponseDto] instance and imports its values from
|
||||||
|
|||||||
@@ -36,10 +36,10 @@ class CheckExistingAssetsDto {
|
|||||||
String toString() => 'CheckExistingAssetsDto[deviceAssetIds=$deviceAssetIds, deviceId=$deviceId]';
|
String toString() => 'CheckExistingAssetsDto[deviceAssetIds=$deviceAssetIds, deviceId=$deviceId]';
|
||||||
|
|
||||||
Map<String, dynamic> toJson() {
|
Map<String, dynamic> toJson() {
|
||||||
final _json = <String, dynamic>{};
|
final json = <String, dynamic>{};
|
||||||
_json[r'deviceAssetIds'] = deviceAssetIds;
|
json[r'deviceAssetIds'] = this.deviceAssetIds;
|
||||||
_json[r'deviceId'] = deviceId;
|
json[r'deviceId'] = this.deviceId;
|
||||||
return _json;
|
return json;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Returns a new [CheckExistingAssetsDto] instance and imports its values from
|
/// Returns a new [CheckExistingAssetsDto] instance and imports its values from
|
||||||
|
|||||||
@@ -31,9 +31,9 @@ class CheckExistingAssetsResponseDto {
|
|||||||
String toString() => 'CheckExistingAssetsResponseDto[existingIds=$existingIds]';
|
String toString() => 'CheckExistingAssetsResponseDto[existingIds=$existingIds]';
|
||||||
|
|
||||||
Map<String, dynamic> toJson() {
|
Map<String, dynamic> toJson() {
|
||||||
final _json = <String, dynamic>{};
|
final json = <String, dynamic>{};
|
||||||
_json[r'existingIds'] = existingIds;
|
json[r'existingIds'] = this.existingIds;
|
||||||
return _json;
|
return json;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Returns a new [CheckExistingAssetsResponseDto] instance and imports its values from
|
/// Returns a new [CheckExistingAssetsResponseDto] instance and imports its values from
|
||||||
|
|||||||
10
mobile/openapi/lib/model/create_album_dto.dart
generated
10
mobile/openapi/lib/model/create_album_dto.dart
generated
@@ -41,11 +41,11 @@ class CreateAlbumDto {
|
|||||||
String toString() => 'CreateAlbumDto[albumName=$albumName, sharedWithUserIds=$sharedWithUserIds, assetIds=$assetIds]';
|
String toString() => 'CreateAlbumDto[albumName=$albumName, sharedWithUserIds=$sharedWithUserIds, assetIds=$assetIds]';
|
||||||
|
|
||||||
Map<String, dynamic> toJson() {
|
Map<String, dynamic> toJson() {
|
||||||
final _json = <String, dynamic>{};
|
final json = <String, dynamic>{};
|
||||||
_json[r'albumName'] = albumName;
|
json[r'albumName'] = this.albumName;
|
||||||
_json[r'sharedWithUserIds'] = sharedWithUserIds;
|
json[r'sharedWithUserIds'] = this.sharedWithUserIds;
|
||||||
_json[r'assetIds'] = assetIds;
|
json[r'assetIds'] = this.assetIds;
|
||||||
return _json;
|
return json;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Returns a new [CreateAlbumDto] instance and imports its values from
|
/// Returns a new [CreateAlbumDto] instance and imports its values from
|
||||||
|
|||||||
162
mobile/openapi/lib/model/create_album_share_link_dto.dart
generated
Normal file
162
mobile/openapi/lib/model/create_album_share_link_dto.dart
generated
Normal file
@@ -0,0 +1,162 @@
|
|||||||
|
//
|
||||||
|
// AUTO-GENERATED FILE, DO NOT MODIFY!
|
||||||
|
//
|
||||||
|
// @dart=2.12
|
||||||
|
|
||||||
|
// ignore_for_file: unused_element, unused_import
|
||||||
|
// ignore_for_file: always_put_required_named_parameters_first
|
||||||
|
// ignore_for_file: constant_identifier_names
|
||||||
|
// ignore_for_file: lines_longer_than_80_chars
|
||||||
|
|
||||||
|
part of openapi.api;
|
||||||
|
|
||||||
|
class CreateAlbumShareLinkDto {
|
||||||
|
/// Returns a new [CreateAlbumShareLinkDto] instance.
|
||||||
|
CreateAlbumShareLinkDto({
|
||||||
|
required this.albumId,
|
||||||
|
this.expiredAt,
|
||||||
|
this.allowUpload,
|
||||||
|
this.description,
|
||||||
|
});
|
||||||
|
|
||||||
|
String albumId;
|
||||||
|
|
||||||
|
///
|
||||||
|
/// Please note: This property should have been non-nullable! Since the specification file
|
||||||
|
/// does not include a default value (using the "default:" property), however, the generated
|
||||||
|
/// source code must fall back to having a nullable type.
|
||||||
|
/// Consider adding a "default:" property in the specification file to hide this note.
|
||||||
|
///
|
||||||
|
String? expiredAt;
|
||||||
|
|
||||||
|
///
|
||||||
|
/// Please note: This property should have been non-nullable! Since the specification file
|
||||||
|
/// does not include a default value (using the "default:" property), however, the generated
|
||||||
|
/// source code must fall back to having a nullable type.
|
||||||
|
/// Consider adding a "default:" property in the specification file to hide this note.
|
||||||
|
///
|
||||||
|
bool? allowUpload;
|
||||||
|
|
||||||
|
///
|
||||||
|
/// Please note: This property should have been non-nullable! Since the specification file
|
||||||
|
/// does not include a default value (using the "default:" property), however, the generated
|
||||||
|
/// source code must fall back to having a nullable type.
|
||||||
|
/// Consider adding a "default:" property in the specification file to hide this note.
|
||||||
|
///
|
||||||
|
String? description;
|
||||||
|
|
||||||
|
@override
|
||||||
|
bool operator ==(Object other) => identical(this, other) || other is CreateAlbumShareLinkDto &&
|
||||||
|
other.albumId == albumId &&
|
||||||
|
other.expiredAt == expiredAt &&
|
||||||
|
other.allowUpload == allowUpload &&
|
||||||
|
other.description == description;
|
||||||
|
|
||||||
|
@override
|
||||||
|
int get hashCode =>
|
||||||
|
// ignore: unnecessary_parenthesis
|
||||||
|
(albumId.hashCode) +
|
||||||
|
(expiredAt == null ? 0 : expiredAt!.hashCode) +
|
||||||
|
(allowUpload == null ? 0 : allowUpload!.hashCode) +
|
||||||
|
(description == null ? 0 : description!.hashCode);
|
||||||
|
|
||||||
|
@override
|
||||||
|
String toString() => 'CreateAlbumShareLinkDto[albumId=$albumId, expiredAt=$expiredAt, allowUpload=$allowUpload, description=$description]';
|
||||||
|
|
||||||
|
Map<String, dynamic> toJson() {
|
||||||
|
final json = <String, dynamic>{};
|
||||||
|
json[r'albumId'] = this.albumId;
|
||||||
|
if (this.expiredAt != null) {
|
||||||
|
json[r'expiredAt'] = this.expiredAt;
|
||||||
|
} else {
|
||||||
|
// json[r'expiredAt'] = null;
|
||||||
|
}
|
||||||
|
if (this.allowUpload != null) {
|
||||||
|
json[r'allowUpload'] = this.allowUpload;
|
||||||
|
} else {
|
||||||
|
// json[r'allowUpload'] = null;
|
||||||
|
}
|
||||||
|
if (this.description != null) {
|
||||||
|
json[r'description'] = this.description;
|
||||||
|
} else {
|
||||||
|
// json[r'description'] = null;
|
||||||
|
}
|
||||||
|
return json;
|
||||||
|
}
|
||||||
|
|
||||||
|
/// Returns a new [CreateAlbumShareLinkDto] instance and imports its values from
|
||||||
|
/// [value] if it's a [Map], null otherwise.
|
||||||
|
// ignore: prefer_constructors_over_static_methods
|
||||||
|
static CreateAlbumShareLinkDto? fromJson(dynamic value) {
|
||||||
|
if (value is Map) {
|
||||||
|
final json = value.cast<String, dynamic>();
|
||||||
|
|
||||||
|
// Ensure that the map contains the required keys.
|
||||||
|
// Note 1: the values aren't checked for validity beyond being non-null.
|
||||||
|
// Note 2: this code is stripped in release mode!
|
||||||
|
assert(() {
|
||||||
|
requiredKeys.forEach((key) {
|
||||||
|
assert(json.containsKey(key), 'Required key "CreateAlbumShareLinkDto[$key]" is missing from JSON.');
|
||||||
|
assert(json[key] != null, 'Required key "CreateAlbumShareLinkDto[$key]" has a null value in JSON.');
|
||||||
|
});
|
||||||
|
return true;
|
||||||
|
}());
|
||||||
|
|
||||||
|
return CreateAlbumShareLinkDto(
|
||||||
|
albumId: mapValueOfType<String>(json, r'albumId')!,
|
||||||
|
expiredAt: mapValueOfType<String>(json, r'expiredAt'),
|
||||||
|
allowUpload: mapValueOfType<bool>(json, r'allowUpload'),
|
||||||
|
description: mapValueOfType<String>(json, r'description'),
|
||||||
|
);
|
||||||
|
}
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
|
static List<CreateAlbumShareLinkDto>? listFromJson(dynamic json, {bool growable = false,}) {
|
||||||
|
final result = <CreateAlbumShareLinkDto>[];
|
||||||
|
if (json is List && json.isNotEmpty) {
|
||||||
|
for (final row in json) {
|
||||||
|
final value = CreateAlbumShareLinkDto.fromJson(row);
|
||||||
|
if (value != null) {
|
||||||
|
result.add(value);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return result.toList(growable: growable);
|
||||||
|
}
|
||||||
|
|
||||||
|
static Map<String, CreateAlbumShareLinkDto> mapFromJson(dynamic json) {
|
||||||
|
final map = <String, CreateAlbumShareLinkDto>{};
|
||||||
|
if (json is Map && json.isNotEmpty) {
|
||||||
|
json = json.cast<String, dynamic>(); // ignore: parameter_assignments
|
||||||
|
for (final entry in json.entries) {
|
||||||
|
final value = CreateAlbumShareLinkDto.fromJson(entry.value);
|
||||||
|
if (value != null) {
|
||||||
|
map[entry.key] = value;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return map;
|
||||||
|
}
|
||||||
|
|
||||||
|
// maps a json object with a list of CreateAlbumShareLinkDto-objects as value to a dart map
|
||||||
|
static Map<String, List<CreateAlbumShareLinkDto>> mapListFromJson(dynamic json, {bool growable = false,}) {
|
||||||
|
final map = <String, List<CreateAlbumShareLinkDto>>{};
|
||||||
|
if (json is Map && json.isNotEmpty) {
|
||||||
|
json = json.cast<String, dynamic>(); // ignore: parameter_assignments
|
||||||
|
for (final entry in json.entries) {
|
||||||
|
final value = CreateAlbumShareLinkDto.listFromJson(entry.value, growable: growable,);
|
||||||
|
if (value != null) {
|
||||||
|
map[entry.key] = value;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return map;
|
||||||
|
}
|
||||||
|
|
||||||
|
/// The list of required keys that must be present in a JSON.
|
||||||
|
static const requiredKeys = <String>{
|
||||||
|
'albumId',
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
@@ -36,10 +36,10 @@ class CreateProfileImageResponseDto {
|
|||||||
String toString() => 'CreateProfileImageResponseDto[userId=$userId, profileImagePath=$profileImagePath]';
|
String toString() => 'CreateProfileImageResponseDto[userId=$userId, profileImagePath=$profileImagePath]';
|
||||||
|
|
||||||
Map<String, dynamic> toJson() {
|
Map<String, dynamic> toJson() {
|
||||||
final _json = <String, dynamic>{};
|
final json = <String, dynamic>{};
|
||||||
_json[r'userId'] = userId;
|
json[r'userId'] = this.userId;
|
||||||
_json[r'profileImagePath'] = profileImagePath;
|
json[r'profileImagePath'] = this.profileImagePath;
|
||||||
return _json;
|
return json;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Returns a new [CreateProfileImageResponseDto] instance and imports its values from
|
/// Returns a new [CreateProfileImageResponseDto] instance and imports its values from
|
||||||
|
|||||||
8
mobile/openapi/lib/model/create_tag_dto.dart
generated
8
mobile/openapi/lib/model/create_tag_dto.dart
generated
@@ -36,10 +36,10 @@ class CreateTagDto {
|
|||||||
String toString() => 'CreateTagDto[type=$type, name=$name]';
|
String toString() => 'CreateTagDto[type=$type, name=$name]';
|
||||||
|
|
||||||
Map<String, dynamic> toJson() {
|
Map<String, dynamic> toJson() {
|
||||||
final _json = <String, dynamic>{};
|
final json = <String, dynamic>{};
|
||||||
_json[r'type'] = type;
|
json[r'type'] = this.type;
|
||||||
_json[r'name'] = name;
|
json[r'name'] = this.name;
|
||||||
return _json;
|
return json;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Returns a new [CreateTagDto] instance and imports its values from
|
/// Returns a new [CreateTagDto] instance and imports its values from
|
||||||
|
|||||||
12
mobile/openapi/lib/model/create_user_dto.dart
generated
12
mobile/openapi/lib/model/create_user_dto.dart
generated
@@ -46,12 +46,12 @@ class CreateUserDto {
|
|||||||
String toString() => 'CreateUserDto[email=$email, password=$password, firstName=$firstName, lastName=$lastName]';
|
String toString() => 'CreateUserDto[email=$email, password=$password, firstName=$firstName, lastName=$lastName]';
|
||||||
|
|
||||||
Map<String, dynamic> toJson() {
|
Map<String, dynamic> toJson() {
|
||||||
final _json = <String, dynamic>{};
|
final json = <String, dynamic>{};
|
||||||
_json[r'email'] = email;
|
json[r'email'] = this.email;
|
||||||
_json[r'password'] = password;
|
json[r'password'] = this.password;
|
||||||
_json[r'firstName'] = firstName;
|
json[r'firstName'] = this.firstName;
|
||||||
_json[r'lastName'] = lastName;
|
json[r'lastName'] = this.lastName;
|
||||||
return _json;
|
return json;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Returns a new [CreateUserDto] instance and imports its values from
|
/// Returns a new [CreateUserDto] instance and imports its values from
|
||||||
|
|||||||
@@ -51,13 +51,13 @@ class CuratedLocationsResponseDto {
|
|||||||
String toString() => 'CuratedLocationsResponseDto[id=$id, city=$city, resizePath=$resizePath, deviceAssetId=$deviceAssetId, deviceId=$deviceId]';
|
String toString() => 'CuratedLocationsResponseDto[id=$id, city=$city, resizePath=$resizePath, deviceAssetId=$deviceAssetId, deviceId=$deviceId]';
|
||||||
|
|
||||||
Map<String, dynamic> toJson() {
|
Map<String, dynamic> toJson() {
|
||||||
final _json = <String, dynamic>{};
|
final json = <String, dynamic>{};
|
||||||
_json[r'id'] = id;
|
json[r'id'] = this.id;
|
||||||
_json[r'city'] = city;
|
json[r'city'] = this.city;
|
||||||
_json[r'resizePath'] = resizePath;
|
json[r'resizePath'] = this.resizePath;
|
||||||
_json[r'deviceAssetId'] = deviceAssetId;
|
json[r'deviceAssetId'] = this.deviceAssetId;
|
||||||
_json[r'deviceId'] = deviceId;
|
json[r'deviceId'] = this.deviceId;
|
||||||
return _json;
|
return json;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Returns a new [CuratedLocationsResponseDto] instance and imports its values from
|
/// Returns a new [CuratedLocationsResponseDto] instance and imports its values from
|
||||||
|
|||||||
@@ -51,13 +51,13 @@ class CuratedObjectsResponseDto {
|
|||||||
String toString() => 'CuratedObjectsResponseDto[id=$id, object=$object, resizePath=$resizePath, deviceAssetId=$deviceAssetId, deviceId=$deviceId]';
|
String toString() => 'CuratedObjectsResponseDto[id=$id, object=$object, resizePath=$resizePath, deviceAssetId=$deviceAssetId, deviceId=$deviceId]';
|
||||||
|
|
||||||
Map<String, dynamic> toJson() {
|
Map<String, dynamic> toJson() {
|
||||||
final _json = <String, dynamic>{};
|
final json = <String, dynamic>{};
|
||||||
_json[r'id'] = id;
|
json[r'id'] = this.id;
|
||||||
_json[r'object'] = object;
|
json[r'object'] = this.object;
|
||||||
_json[r'resizePath'] = resizePath;
|
json[r'resizePath'] = this.resizePath;
|
||||||
_json[r'deviceAssetId'] = deviceAssetId;
|
json[r'deviceAssetId'] = this.deviceAssetId;
|
||||||
_json[r'deviceId'] = deviceId;
|
json[r'deviceId'] = this.deviceId;
|
||||||
return _json;
|
return json;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Returns a new [CuratedObjectsResponseDto] instance and imports its values from
|
/// Returns a new [CuratedObjectsResponseDto] instance and imports its values from
|
||||||
|
|||||||
6
mobile/openapi/lib/model/delete_asset_dto.dart
generated
6
mobile/openapi/lib/model/delete_asset_dto.dart
generated
@@ -31,9 +31,9 @@ class DeleteAssetDto {
|
|||||||
String toString() => 'DeleteAssetDto[ids=$ids]';
|
String toString() => 'DeleteAssetDto[ids=$ids]';
|
||||||
|
|
||||||
Map<String, dynamic> toJson() {
|
Map<String, dynamic> toJson() {
|
||||||
final _json = <String, dynamic>{};
|
final json = <String, dynamic>{};
|
||||||
_json[r'ids'] = ids;
|
json[r'ids'] = this.ids;
|
||||||
return _json;
|
return json;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Returns a new [DeleteAssetDto] instance and imports its values from
|
/// Returns a new [DeleteAssetDto] instance and imports its values from
|
||||||
|
|||||||
@@ -36,10 +36,10 @@ class DeleteAssetResponseDto {
|
|||||||
String toString() => 'DeleteAssetResponseDto[status=$status, id=$id]';
|
String toString() => 'DeleteAssetResponseDto[status=$status, id=$id]';
|
||||||
|
|
||||||
Map<String, dynamic> toJson() {
|
Map<String, dynamic> toJson() {
|
||||||
final _json = <String, dynamic>{};
|
final json = <String, dynamic>{};
|
||||||
_json[r'status'] = status;
|
json[r'status'] = this.status;
|
||||||
_json[r'id'] = id;
|
json[r'id'] = this.id;
|
||||||
return _json;
|
return json;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Returns a new [DeleteAssetResponseDto] instance and imports its values from
|
/// Returns a new [DeleteAssetResponseDto] instance and imports its values from
|
||||||
|
|||||||
@@ -56,14 +56,14 @@ class DeviceInfoResponseDto {
|
|||||||
String toString() => 'DeviceInfoResponseDto[id=$id, deviceType=$deviceType, userId=$userId, deviceId=$deviceId, createdAt=$createdAt, isAutoBackup=$isAutoBackup]';
|
String toString() => 'DeviceInfoResponseDto[id=$id, deviceType=$deviceType, userId=$userId, deviceId=$deviceId, createdAt=$createdAt, isAutoBackup=$isAutoBackup]';
|
||||||
|
|
||||||
Map<String, dynamic> toJson() {
|
Map<String, dynamic> toJson() {
|
||||||
final _json = <String, dynamic>{};
|
final json = <String, dynamic>{};
|
||||||
_json[r'id'] = id;
|
json[r'id'] = this.id;
|
||||||
_json[r'deviceType'] = deviceType;
|
json[r'deviceType'] = this.deviceType;
|
||||||
_json[r'userId'] = userId;
|
json[r'userId'] = this.userId;
|
||||||
_json[r'deviceId'] = deviceId;
|
json[r'deviceId'] = this.deviceId;
|
||||||
_json[r'createdAt'] = createdAt;
|
json[r'createdAt'] = this.createdAt;
|
||||||
_json[r'isAutoBackup'] = isAutoBackup;
|
json[r'isAutoBackup'] = this.isAutoBackup;
|
||||||
return _json;
|
return json;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Returns a new [DeviceInfoResponseDto] instance and imports its values from
|
/// Returns a new [DeviceInfoResponseDto] instance and imports its values from
|
||||||
|
|||||||
113
mobile/openapi/lib/model/download_files_dto.dart
generated
Normal file
113
mobile/openapi/lib/model/download_files_dto.dart
generated
Normal file
@@ -0,0 +1,113 @@
|
|||||||
|
//
|
||||||
|
// AUTO-GENERATED FILE, DO NOT MODIFY!
|
||||||
|
//
|
||||||
|
// @dart=2.12
|
||||||
|
|
||||||
|
// ignore_for_file: unused_element, unused_import
|
||||||
|
// ignore_for_file: always_put_required_named_parameters_first
|
||||||
|
// ignore_for_file: constant_identifier_names
|
||||||
|
// ignore_for_file: lines_longer_than_80_chars
|
||||||
|
|
||||||
|
part of openapi.api;
|
||||||
|
|
||||||
|
class DownloadFilesDto {
|
||||||
|
/// Returns a new [DownloadFilesDto] instance.
|
||||||
|
DownloadFilesDto({
|
||||||
|
this.assetIds = const [],
|
||||||
|
});
|
||||||
|
|
||||||
|
List<String> assetIds;
|
||||||
|
|
||||||
|
@override
|
||||||
|
bool operator ==(Object other) => identical(this, other) || other is DownloadFilesDto &&
|
||||||
|
other.assetIds == assetIds;
|
||||||
|
|
||||||
|
@override
|
||||||
|
int get hashCode =>
|
||||||
|
// ignore: unnecessary_parenthesis
|
||||||
|
(assetIds.hashCode);
|
||||||
|
|
||||||
|
@override
|
||||||
|
String toString() => 'DownloadFilesDto[assetIds=$assetIds]';
|
||||||
|
|
||||||
|
Map<String, dynamic> toJson() {
|
||||||
|
final json = <String, dynamic>{};
|
||||||
|
json[r'assetIds'] = this.assetIds;
|
||||||
|
return json;
|
||||||
|
}
|
||||||
|
|
||||||
|
/// Returns a new [DownloadFilesDto] instance and imports its values from
|
||||||
|
/// [value] if it's a [Map], null otherwise.
|
||||||
|
// ignore: prefer_constructors_over_static_methods
|
||||||
|
static DownloadFilesDto? fromJson(dynamic value) {
|
||||||
|
if (value is Map) {
|
||||||
|
final json = value.cast<String, dynamic>();
|
||||||
|
|
||||||
|
// Ensure that the map contains the required keys.
|
||||||
|
// Note 1: the values aren't checked for validity beyond being non-null.
|
||||||
|
// Note 2: this code is stripped in release mode!
|
||||||
|
assert(() {
|
||||||
|
requiredKeys.forEach((key) {
|
||||||
|
assert(json.containsKey(key), 'Required key "DownloadFilesDto[$key]" is missing from JSON.');
|
||||||
|
assert(json[key] != null, 'Required key "DownloadFilesDto[$key]" has a null value in JSON.');
|
||||||
|
});
|
||||||
|
return true;
|
||||||
|
}());
|
||||||
|
|
||||||
|
return DownloadFilesDto(
|
||||||
|
assetIds: json[r'assetIds'] is List
|
||||||
|
? (json[r'assetIds'] as List).cast<String>()
|
||||||
|
: const [],
|
||||||
|
);
|
||||||
|
}
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
|
static List<DownloadFilesDto>? listFromJson(dynamic json, {bool growable = false,}) {
|
||||||
|
final result = <DownloadFilesDto>[];
|
||||||
|
if (json is List && json.isNotEmpty) {
|
||||||
|
for (final row in json) {
|
||||||
|
final value = DownloadFilesDto.fromJson(row);
|
||||||
|
if (value != null) {
|
||||||
|
result.add(value);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return result.toList(growable: growable);
|
||||||
|
}
|
||||||
|
|
||||||
|
static Map<String, DownloadFilesDto> mapFromJson(dynamic json) {
|
||||||
|
final map = <String, DownloadFilesDto>{};
|
||||||
|
if (json is Map && json.isNotEmpty) {
|
||||||
|
json = json.cast<String, dynamic>(); // ignore: parameter_assignments
|
||||||
|
for (final entry in json.entries) {
|
||||||
|
final value = DownloadFilesDto.fromJson(entry.value);
|
||||||
|
if (value != null) {
|
||||||
|
map[entry.key] = value;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return map;
|
||||||
|
}
|
||||||
|
|
||||||
|
// maps a json object with a list of DownloadFilesDto-objects as value to a dart map
|
||||||
|
static Map<String, List<DownloadFilesDto>> mapListFromJson(dynamic json, {bool growable = false,}) {
|
||||||
|
final map = <String, List<DownloadFilesDto>>{};
|
||||||
|
if (json is Map && json.isNotEmpty) {
|
||||||
|
json = json.cast<String, dynamic>(); // ignore: parameter_assignments
|
||||||
|
for (final entry in json.entries) {
|
||||||
|
final value = DownloadFilesDto.listFromJson(entry.value, growable: growable,);
|
||||||
|
if (value != null) {
|
||||||
|
map[entry.key] = value;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return map;
|
||||||
|
}
|
||||||
|
|
||||||
|
/// The list of required keys that must be present in a JSON.
|
||||||
|
static const requiredKeys = <String>{
|
||||||
|
'assetIds',
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
171
mobile/openapi/lib/model/edit_shared_link_dto.dart
generated
Normal file
171
mobile/openapi/lib/model/edit_shared_link_dto.dart
generated
Normal file
@@ -0,0 +1,171 @@
|
|||||||
|
//
|
||||||
|
// AUTO-GENERATED FILE, DO NOT MODIFY!
|
||||||
|
//
|
||||||
|
// @dart=2.12
|
||||||
|
|
||||||
|
// ignore_for_file: unused_element, unused_import
|
||||||
|
// ignore_for_file: always_put_required_named_parameters_first
|
||||||
|
// ignore_for_file: constant_identifier_names
|
||||||
|
// ignore_for_file: lines_longer_than_80_chars
|
||||||
|
|
||||||
|
part of openapi.api;
|
||||||
|
|
||||||
|
class EditSharedLinkDto {
|
||||||
|
/// Returns a new [EditSharedLinkDto] instance.
|
||||||
|
EditSharedLinkDto({
|
||||||
|
this.description,
|
||||||
|
this.expiredAt,
|
||||||
|
this.allowUpload,
|
||||||
|
this.isEditExpireTime,
|
||||||
|
});
|
||||||
|
|
||||||
|
///
|
||||||
|
/// Please note: This property should have been non-nullable! Since the specification file
|
||||||
|
/// does not include a default value (using the "default:" property), however, the generated
|
||||||
|
/// source code must fall back to having a nullable type.
|
||||||
|
/// Consider adding a "default:" property in the specification file to hide this note.
|
||||||
|
///
|
||||||
|
String? description;
|
||||||
|
|
||||||
|
///
|
||||||
|
/// Please note: This property should have been non-nullable! Since the specification file
|
||||||
|
/// does not include a default value (using the "default:" property), however, the generated
|
||||||
|
/// source code must fall back to having a nullable type.
|
||||||
|
/// Consider adding a "default:" property in the specification file to hide this note.
|
||||||
|
///
|
||||||
|
String? expiredAt;
|
||||||
|
|
||||||
|
///
|
||||||
|
/// Please note: This property should have been non-nullable! Since the specification file
|
||||||
|
/// does not include a default value (using the "default:" property), however, the generated
|
||||||
|
/// source code must fall back to having a nullable type.
|
||||||
|
/// Consider adding a "default:" property in the specification file to hide this note.
|
||||||
|
///
|
||||||
|
bool? allowUpload;
|
||||||
|
|
||||||
|
///
|
||||||
|
/// Please note: This property should have been non-nullable! Since the specification file
|
||||||
|
/// does not include a default value (using the "default:" property), however, the generated
|
||||||
|
/// source code must fall back to having a nullable type.
|
||||||
|
/// Consider adding a "default:" property in the specification file to hide this note.
|
||||||
|
///
|
||||||
|
bool? isEditExpireTime;
|
||||||
|
|
||||||
|
@override
|
||||||
|
bool operator ==(Object other) => identical(this, other) || other is EditSharedLinkDto &&
|
||||||
|
other.description == description &&
|
||||||
|
other.expiredAt == expiredAt &&
|
||||||
|
other.allowUpload == allowUpload &&
|
||||||
|
other.isEditExpireTime == isEditExpireTime;
|
||||||
|
|
||||||
|
@override
|
||||||
|
int get hashCode =>
|
||||||
|
// ignore: unnecessary_parenthesis
|
||||||
|
(description == null ? 0 : description!.hashCode) +
|
||||||
|
(expiredAt == null ? 0 : expiredAt!.hashCode) +
|
||||||
|
(allowUpload == null ? 0 : allowUpload!.hashCode) +
|
||||||
|
(isEditExpireTime == null ? 0 : isEditExpireTime!.hashCode);
|
||||||
|
|
||||||
|
@override
|
||||||
|
String toString() => 'EditSharedLinkDto[description=$description, expiredAt=$expiredAt, allowUpload=$allowUpload, isEditExpireTime=$isEditExpireTime]';
|
||||||
|
|
||||||
|
Map<String, dynamic> toJson() {
|
||||||
|
final json = <String, dynamic>{};
|
||||||
|
if (this.description != null) {
|
||||||
|
json[r'description'] = this.description;
|
||||||
|
} else {
|
||||||
|
// json[r'description'] = null;
|
||||||
|
}
|
||||||
|
if (this.expiredAt != null) {
|
||||||
|
json[r'expiredAt'] = this.expiredAt;
|
||||||
|
} else {
|
||||||
|
// json[r'expiredAt'] = null;
|
||||||
|
}
|
||||||
|
if (this.allowUpload != null) {
|
||||||
|
json[r'allowUpload'] = this.allowUpload;
|
||||||
|
} else {
|
||||||
|
// json[r'allowUpload'] = null;
|
||||||
|
}
|
||||||
|
if (this.isEditExpireTime != null) {
|
||||||
|
json[r'isEditExpireTime'] = this.isEditExpireTime;
|
||||||
|
} else {
|
||||||
|
// json[r'isEditExpireTime'] = null;
|
||||||
|
}
|
||||||
|
return json;
|
||||||
|
}
|
||||||
|
|
||||||
|
/// Returns a new [EditSharedLinkDto] instance and imports its values from
|
||||||
|
/// [value] if it's a [Map], null otherwise.
|
||||||
|
// ignore: prefer_constructors_over_static_methods
|
||||||
|
static EditSharedLinkDto? fromJson(dynamic value) {
|
||||||
|
if (value is Map) {
|
||||||
|
final json = value.cast<String, dynamic>();
|
||||||
|
|
||||||
|
// Ensure that the map contains the required keys.
|
||||||
|
// Note 1: the values aren't checked for validity beyond being non-null.
|
||||||
|
// Note 2: this code is stripped in release mode!
|
||||||
|
assert(() {
|
||||||
|
requiredKeys.forEach((key) {
|
||||||
|
assert(json.containsKey(key), 'Required key "EditSharedLinkDto[$key]" is missing from JSON.');
|
||||||
|
assert(json[key] != null, 'Required key "EditSharedLinkDto[$key]" has a null value in JSON.');
|
||||||
|
});
|
||||||
|
return true;
|
||||||
|
}());
|
||||||
|
|
||||||
|
return EditSharedLinkDto(
|
||||||
|
description: mapValueOfType<String>(json, r'description'),
|
||||||
|
expiredAt: mapValueOfType<String>(json, r'expiredAt'),
|
||||||
|
allowUpload: mapValueOfType<bool>(json, r'allowUpload'),
|
||||||
|
isEditExpireTime: mapValueOfType<bool>(json, r'isEditExpireTime'),
|
||||||
|
);
|
||||||
|
}
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
|
static List<EditSharedLinkDto>? listFromJson(dynamic json, {bool growable = false,}) {
|
||||||
|
final result = <EditSharedLinkDto>[];
|
||||||
|
if (json is List && json.isNotEmpty) {
|
||||||
|
for (final row in json) {
|
||||||
|
final value = EditSharedLinkDto.fromJson(row);
|
||||||
|
if (value != null) {
|
||||||
|
result.add(value);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return result.toList(growable: growable);
|
||||||
|
}
|
||||||
|
|
||||||
|
static Map<String, EditSharedLinkDto> mapFromJson(dynamic json) {
|
||||||
|
final map = <String, EditSharedLinkDto>{};
|
||||||
|
if (json is Map && json.isNotEmpty) {
|
||||||
|
json = json.cast<String, dynamic>(); // ignore: parameter_assignments
|
||||||
|
for (final entry in json.entries) {
|
||||||
|
final value = EditSharedLinkDto.fromJson(entry.value);
|
||||||
|
if (value != null) {
|
||||||
|
map[entry.key] = value;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return map;
|
||||||
|
}
|
||||||
|
|
||||||
|
// maps a json object with a list of EditSharedLinkDto-objects as value to a dart map
|
||||||
|
static Map<String, List<EditSharedLinkDto>> mapListFromJson(dynamic json, {bool growable = false,}) {
|
||||||
|
final map = <String, List<EditSharedLinkDto>>{};
|
||||||
|
if (json is Map && json.isNotEmpty) {
|
||||||
|
json = json.cast<String, dynamic>(); // ignore: parameter_assignments
|
||||||
|
for (final entry in json.entries) {
|
||||||
|
final value = EditSharedLinkDto.listFromJson(entry.value, growable: growable,);
|
||||||
|
if (value != null) {
|
||||||
|
map[entry.key] = value;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return map;
|
||||||
|
}
|
||||||
|
|
||||||
|
/// The list of required keys that must be present in a JSON.
|
||||||
|
static const requiredKeys = <String>{
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
124
mobile/openapi/lib/model/exif_response_dto.dart
generated
124
mobile/openapi/lib/model/exif_response_dto.dart
generated
@@ -126,108 +126,108 @@ class ExifResponseDto {
|
|||||||
String toString() => 'ExifResponseDto[id=$id, fileSizeInByte=$fileSizeInByte, make=$make, model=$model, imageName=$imageName, exifImageWidth=$exifImageWidth, exifImageHeight=$exifImageHeight, orientation=$orientation, dateTimeOriginal=$dateTimeOriginal, modifyDate=$modifyDate, lensModel=$lensModel, fNumber=$fNumber, focalLength=$focalLength, iso=$iso, exposureTime=$exposureTime, latitude=$latitude, longitude=$longitude, city=$city, state=$state, country=$country]';
|
String toString() => 'ExifResponseDto[id=$id, fileSizeInByte=$fileSizeInByte, make=$make, model=$model, imageName=$imageName, exifImageWidth=$exifImageWidth, exifImageHeight=$exifImageHeight, orientation=$orientation, dateTimeOriginal=$dateTimeOriginal, modifyDate=$modifyDate, lensModel=$lensModel, fNumber=$fNumber, focalLength=$focalLength, iso=$iso, exposureTime=$exposureTime, latitude=$latitude, longitude=$longitude, city=$city, state=$state, country=$country]';
|
||||||
|
|
||||||
Map<String, dynamic> toJson() {
|
Map<String, dynamic> toJson() {
|
||||||
final _json = <String, dynamic>{};
|
final json = <String, dynamic>{};
|
||||||
if (id != null) {
|
if (this.id != null) {
|
||||||
_json[r'id'] = id;
|
json[r'id'] = this.id;
|
||||||
} else {
|
} else {
|
||||||
_json[r'id'] = null;
|
// json[r'id'] = null;
|
||||||
}
|
}
|
||||||
if (fileSizeInByte != null) {
|
if (this.fileSizeInByte != null) {
|
||||||
_json[r'fileSizeInByte'] = fileSizeInByte;
|
json[r'fileSizeInByte'] = this.fileSizeInByte;
|
||||||
} else {
|
} else {
|
||||||
_json[r'fileSizeInByte'] = null;
|
// json[r'fileSizeInByte'] = null;
|
||||||
}
|
}
|
||||||
if (make != null) {
|
if (this.make != null) {
|
||||||
_json[r'make'] = make;
|
json[r'make'] = this.make;
|
||||||
} else {
|
} else {
|
||||||
_json[r'make'] = null;
|
// json[r'make'] = null;
|
||||||
}
|
}
|
||||||
if (model != null) {
|
if (this.model != null) {
|
||||||
_json[r'model'] = model;
|
json[r'model'] = this.model;
|
||||||
} else {
|
} else {
|
||||||
_json[r'model'] = null;
|
// json[r'model'] = null;
|
||||||
}
|
}
|
||||||
if (imageName != null) {
|
if (this.imageName != null) {
|
||||||
_json[r'imageName'] = imageName;
|
json[r'imageName'] = this.imageName;
|
||||||
} else {
|
} else {
|
||||||
_json[r'imageName'] = null;
|
// json[r'imageName'] = null;
|
||||||
}
|
}
|
||||||
if (exifImageWidth != null) {
|
if (this.exifImageWidth != null) {
|
||||||
_json[r'exifImageWidth'] = exifImageWidth;
|
json[r'exifImageWidth'] = this.exifImageWidth;
|
||||||
} else {
|
} else {
|
||||||
_json[r'exifImageWidth'] = null;
|
// json[r'exifImageWidth'] = null;
|
||||||
}
|
}
|
||||||
if (exifImageHeight != null) {
|
if (this.exifImageHeight != null) {
|
||||||
_json[r'exifImageHeight'] = exifImageHeight;
|
json[r'exifImageHeight'] = this.exifImageHeight;
|
||||||
} else {
|
} else {
|
||||||
_json[r'exifImageHeight'] = null;
|
// json[r'exifImageHeight'] = null;
|
||||||
}
|
}
|
||||||
if (orientation != null) {
|
if (this.orientation != null) {
|
||||||
_json[r'orientation'] = orientation;
|
json[r'orientation'] = this.orientation;
|
||||||
} else {
|
} else {
|
||||||
_json[r'orientation'] = null;
|
// json[r'orientation'] = null;
|
||||||
}
|
}
|
||||||
if (dateTimeOriginal != null) {
|
if (this.dateTimeOriginal != null) {
|
||||||
_json[r'dateTimeOriginal'] = dateTimeOriginal!.toUtc().toIso8601String();
|
json[r'dateTimeOriginal'] = this.dateTimeOriginal!.toUtc().toIso8601String();
|
||||||
} else {
|
} else {
|
||||||
_json[r'dateTimeOriginal'] = null;
|
// json[r'dateTimeOriginal'] = null;
|
||||||
}
|
}
|
||||||
if (modifyDate != null) {
|
if (this.modifyDate != null) {
|
||||||
_json[r'modifyDate'] = modifyDate!.toUtc().toIso8601String();
|
json[r'modifyDate'] = this.modifyDate!.toUtc().toIso8601String();
|
||||||
} else {
|
} else {
|
||||||
_json[r'modifyDate'] = null;
|
// json[r'modifyDate'] = null;
|
||||||
}
|
}
|
||||||
if (lensModel != null) {
|
if (this.lensModel != null) {
|
||||||
_json[r'lensModel'] = lensModel;
|
json[r'lensModel'] = this.lensModel;
|
||||||
} else {
|
} else {
|
||||||
_json[r'lensModel'] = null;
|
// json[r'lensModel'] = null;
|
||||||
}
|
}
|
||||||
if (fNumber != null) {
|
if (this.fNumber != null) {
|
||||||
_json[r'fNumber'] = fNumber;
|
json[r'fNumber'] = this.fNumber;
|
||||||
} else {
|
} else {
|
||||||
_json[r'fNumber'] = null;
|
// json[r'fNumber'] = null;
|
||||||
}
|
}
|
||||||
if (focalLength != null) {
|
if (this.focalLength != null) {
|
||||||
_json[r'focalLength'] = focalLength;
|
json[r'focalLength'] = this.focalLength;
|
||||||
} else {
|
} else {
|
||||||
_json[r'focalLength'] = null;
|
// json[r'focalLength'] = null;
|
||||||
}
|
}
|
||||||
if (iso != null) {
|
if (this.iso != null) {
|
||||||
_json[r'iso'] = iso;
|
json[r'iso'] = this.iso;
|
||||||
} else {
|
} else {
|
||||||
_json[r'iso'] = null;
|
// json[r'iso'] = null;
|
||||||
}
|
}
|
||||||
if (exposureTime != null) {
|
if (this.exposureTime != null) {
|
||||||
_json[r'exposureTime'] = exposureTime;
|
json[r'exposureTime'] = this.exposureTime;
|
||||||
} else {
|
} else {
|
||||||
_json[r'exposureTime'] = null;
|
// json[r'exposureTime'] = null;
|
||||||
}
|
}
|
||||||
if (latitude != null) {
|
if (this.latitude != null) {
|
||||||
_json[r'latitude'] = latitude;
|
json[r'latitude'] = this.latitude;
|
||||||
} else {
|
} else {
|
||||||
_json[r'latitude'] = null;
|
// json[r'latitude'] = null;
|
||||||
}
|
}
|
||||||
if (longitude != null) {
|
if (this.longitude != null) {
|
||||||
_json[r'longitude'] = longitude;
|
json[r'longitude'] = this.longitude;
|
||||||
} else {
|
} else {
|
||||||
_json[r'longitude'] = null;
|
// json[r'longitude'] = null;
|
||||||
}
|
}
|
||||||
if (city != null) {
|
if (this.city != null) {
|
||||||
_json[r'city'] = city;
|
json[r'city'] = this.city;
|
||||||
} else {
|
} else {
|
||||||
_json[r'city'] = null;
|
// json[r'city'] = null;
|
||||||
}
|
}
|
||||||
if (state != null) {
|
if (this.state != null) {
|
||||||
_json[r'state'] = state;
|
json[r'state'] = this.state;
|
||||||
} else {
|
} else {
|
||||||
_json[r'state'] = null;
|
// json[r'state'] = null;
|
||||||
}
|
}
|
||||||
if (country != null) {
|
if (this.country != null) {
|
||||||
_json[r'country'] = country;
|
json[r'country'] = this.country;
|
||||||
} else {
|
} else {
|
||||||
_json[r'country'] = null;
|
// json[r'country'] = null;
|
||||||
}
|
}
|
||||||
return _json;
|
return json;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Returns a new [ExifResponseDto] instance and imports its values from
|
/// Returns a new [ExifResponseDto] instance and imports its values from
|
||||||
|
|||||||
@@ -31,9 +31,9 @@ class GetAssetByTimeBucketDto {
|
|||||||
String toString() => 'GetAssetByTimeBucketDto[timeBucket=$timeBucket]';
|
String toString() => 'GetAssetByTimeBucketDto[timeBucket=$timeBucket]';
|
||||||
|
|
||||||
Map<String, dynamic> toJson() {
|
Map<String, dynamic> toJson() {
|
||||||
final _json = <String, dynamic>{};
|
final json = <String, dynamic>{};
|
||||||
_json[r'timeBucket'] = timeBucket;
|
json[r'timeBucket'] = this.timeBucket;
|
||||||
return _json;
|
return json;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Returns a new [GetAssetByTimeBucketDto] instance and imports its values from
|
/// Returns a new [GetAssetByTimeBucketDto] instance and imports its values from
|
||||||
|
|||||||
@@ -31,9 +31,9 @@ class GetAssetCountByTimeBucketDto {
|
|||||||
String toString() => 'GetAssetCountByTimeBucketDto[timeGroup=$timeGroup]';
|
String toString() => 'GetAssetCountByTimeBucketDto[timeGroup=$timeGroup]';
|
||||||
|
|
||||||
Map<String, dynamic> toJson() {
|
Map<String, dynamic> toJson() {
|
||||||
final _json = <String, dynamic>{};
|
final json = <String, dynamic>{};
|
||||||
_json[r'timeGroup'] = timeGroup;
|
json[r'timeGroup'] = this.timeGroup;
|
||||||
return _json;
|
return json;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Returns a new [GetAssetCountByTimeBucketDto] instance and imports its values from
|
/// Returns a new [GetAssetCountByTimeBucketDto] instance and imports its values from
|
||||||
|
|||||||
6
mobile/openapi/lib/model/job_command_dto.dart
generated
6
mobile/openapi/lib/model/job_command_dto.dart
generated
@@ -31,9 +31,9 @@ class JobCommandDto {
|
|||||||
String toString() => 'JobCommandDto[command=$command]';
|
String toString() => 'JobCommandDto[command=$command]';
|
||||||
|
|
||||||
Map<String, dynamic> toJson() {
|
Map<String, dynamic> toJson() {
|
||||||
final _json = <String, dynamic>{};
|
final json = <String, dynamic>{};
|
||||||
_json[r'command'] = command;
|
json[r'command'] = this.command;
|
||||||
return _json;
|
return json;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Returns a new [JobCommandDto] instance and imports its values from
|
/// Returns a new [JobCommandDto] instance and imports its values from
|
||||||
|
|||||||
14
mobile/openapi/lib/model/job_counts.dart
generated
14
mobile/openapi/lib/model/job_counts.dart
generated
@@ -51,13 +51,13 @@ class JobCounts {
|
|||||||
String toString() => 'JobCounts[active=$active, completed=$completed, failed=$failed, delayed=$delayed, waiting=$waiting]';
|
String toString() => 'JobCounts[active=$active, completed=$completed, failed=$failed, delayed=$delayed, waiting=$waiting]';
|
||||||
|
|
||||||
Map<String, dynamic> toJson() {
|
Map<String, dynamic> toJson() {
|
||||||
final _json = <String, dynamic>{};
|
final json = <String, dynamic>{};
|
||||||
_json[r'active'] = active;
|
json[r'active'] = this.active;
|
||||||
_json[r'completed'] = completed;
|
json[r'completed'] = this.completed;
|
||||||
_json[r'failed'] = failed;
|
json[r'failed'] = this.failed;
|
||||||
_json[r'delayed'] = delayed;
|
json[r'delayed'] = this.delayed;
|
||||||
_json[r'waiting'] = waiting;
|
json[r'waiting'] = this.waiting;
|
||||||
return _json;
|
return json;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Returns a new [JobCounts] instance and imports its values from
|
/// Returns a new [JobCounts] instance and imports its values from
|
||||||
|
|||||||
@@ -36,10 +36,10 @@ class JobStatusResponseDto {
|
|||||||
String toString() => 'JobStatusResponseDto[isActive=$isActive, queueCount=$queueCount]';
|
String toString() => 'JobStatusResponseDto[isActive=$isActive, queueCount=$queueCount]';
|
||||||
|
|
||||||
Map<String, dynamic> toJson() {
|
Map<String, dynamic> toJson() {
|
||||||
final _json = <String, dynamic>{};
|
final json = <String, dynamic>{};
|
||||||
_json[r'isActive'] = isActive;
|
json[r'isActive'] = this.isActive;
|
||||||
_json[r'queueCount'] = queueCount;
|
json[r'queueCount'] = this.queueCount;
|
||||||
return _json;
|
return json;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Returns a new [JobStatusResponseDto] instance and imports its values from
|
/// Returns a new [JobStatusResponseDto] instance and imports its values from
|
||||||
|
|||||||
@@ -36,10 +36,10 @@ class LoginCredentialDto {
|
|||||||
String toString() => 'LoginCredentialDto[email=$email, password=$password]';
|
String toString() => 'LoginCredentialDto[email=$email, password=$password]';
|
||||||
|
|
||||||
Map<String, dynamic> toJson() {
|
Map<String, dynamic> toJson() {
|
||||||
final _json = <String, dynamic>{};
|
final json = <String, dynamic>{};
|
||||||
_json[r'email'] = email;
|
json[r'email'] = this.email;
|
||||||
_json[r'password'] = password;
|
json[r'password'] = this.password;
|
||||||
return _json;
|
return json;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Returns a new [LoginCredentialDto] instance and imports its values from
|
/// Returns a new [LoginCredentialDto] instance and imports its values from
|
||||||
|
|||||||
20
mobile/openapi/lib/model/login_response_dto.dart
generated
20
mobile/openapi/lib/model/login_response_dto.dart
generated
@@ -66,16 +66,16 @@ class LoginResponseDto {
|
|||||||
String toString() => 'LoginResponseDto[accessToken=$accessToken, userId=$userId, userEmail=$userEmail, firstName=$firstName, lastName=$lastName, profileImagePath=$profileImagePath, isAdmin=$isAdmin, shouldChangePassword=$shouldChangePassword]';
|
String toString() => 'LoginResponseDto[accessToken=$accessToken, userId=$userId, userEmail=$userEmail, firstName=$firstName, lastName=$lastName, profileImagePath=$profileImagePath, isAdmin=$isAdmin, shouldChangePassword=$shouldChangePassword]';
|
||||||
|
|
||||||
Map<String, dynamic> toJson() {
|
Map<String, dynamic> toJson() {
|
||||||
final _json = <String, dynamic>{};
|
final json = <String, dynamic>{};
|
||||||
_json[r'accessToken'] = accessToken;
|
json[r'accessToken'] = this.accessToken;
|
||||||
_json[r'userId'] = userId;
|
json[r'userId'] = this.userId;
|
||||||
_json[r'userEmail'] = userEmail;
|
json[r'userEmail'] = this.userEmail;
|
||||||
_json[r'firstName'] = firstName;
|
json[r'firstName'] = this.firstName;
|
||||||
_json[r'lastName'] = lastName;
|
json[r'lastName'] = this.lastName;
|
||||||
_json[r'profileImagePath'] = profileImagePath;
|
json[r'profileImagePath'] = this.profileImagePath;
|
||||||
_json[r'isAdmin'] = isAdmin;
|
json[r'isAdmin'] = this.isAdmin;
|
||||||
_json[r'shouldChangePassword'] = shouldChangePassword;
|
json[r'shouldChangePassword'] = this.shouldChangePassword;
|
||||||
return _json;
|
return json;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Returns a new [LoginResponseDto] instance and imports its values from
|
/// Returns a new [LoginResponseDto] instance and imports its values from
|
||||||
|
|||||||
@@ -36,10 +36,10 @@ class LogoutResponseDto {
|
|||||||
String toString() => 'LogoutResponseDto[successful=$successful, redirectUri=$redirectUri]';
|
String toString() => 'LogoutResponseDto[successful=$successful, redirectUri=$redirectUri]';
|
||||||
|
|
||||||
Map<String, dynamic> toJson() {
|
Map<String, dynamic> toJson() {
|
||||||
final _json = <String, dynamic>{};
|
final json = <String, dynamic>{};
|
||||||
_json[r'successful'] = successful;
|
json[r'successful'] = this.successful;
|
||||||
_json[r'redirectUri'] = redirectUri;
|
json[r'redirectUri'] = this.redirectUri;
|
||||||
return _json;
|
return json;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Returns a new [LogoutResponseDto] instance and imports its values from
|
/// Returns a new [LogoutResponseDto] instance and imports its values from
|
||||||
|
|||||||
@@ -31,9 +31,9 @@ class OAuthCallbackDto {
|
|||||||
String toString() => 'OAuthCallbackDto[url=$url]';
|
String toString() => 'OAuthCallbackDto[url=$url]';
|
||||||
|
|
||||||
Map<String, dynamic> toJson() {
|
Map<String, dynamic> toJson() {
|
||||||
final _json = <String, dynamic>{};
|
final json = <String, dynamic>{};
|
||||||
_json[r'url'] = url;
|
json[r'url'] = this.url;
|
||||||
return _json;
|
return json;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Returns a new [OAuthCallbackDto] instance and imports its values from
|
/// Returns a new [OAuthCallbackDto] instance and imports its values from
|
||||||
|
|||||||
6
mobile/openapi/lib/model/o_auth_config_dto.dart
generated
6
mobile/openapi/lib/model/o_auth_config_dto.dart
generated
@@ -31,9 +31,9 @@ class OAuthConfigDto {
|
|||||||
String toString() => 'OAuthConfigDto[redirectUri=$redirectUri]';
|
String toString() => 'OAuthConfigDto[redirectUri=$redirectUri]';
|
||||||
|
|
||||||
Map<String, dynamic> toJson() {
|
Map<String, dynamic> toJson() {
|
||||||
final _json = <String, dynamic>{};
|
final json = <String, dynamic>{};
|
||||||
_json[r'redirectUri'] = redirectUri;
|
json[r'redirectUri'] = this.redirectUri;
|
||||||
return _json;
|
return json;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Returns a new [OAuthConfigDto] instance and imports its values from
|
/// Returns a new [OAuthConfigDto] instance and imports its values from
|
||||||
|
|||||||
@@ -14,12 +14,16 @@ class OAuthConfigResponseDto {
|
|||||||
/// Returns a new [OAuthConfigResponseDto] instance.
|
/// Returns a new [OAuthConfigResponseDto] instance.
|
||||||
OAuthConfigResponseDto({
|
OAuthConfigResponseDto({
|
||||||
required this.enabled,
|
required this.enabled,
|
||||||
|
required this.passwordLoginEnabled,
|
||||||
this.url,
|
this.url,
|
||||||
this.buttonText,
|
this.buttonText,
|
||||||
|
this.autoLaunch,
|
||||||
});
|
});
|
||||||
|
|
||||||
bool enabled;
|
bool enabled;
|
||||||
|
|
||||||
|
bool passwordLoginEnabled;
|
||||||
|
|
||||||
///
|
///
|
||||||
/// Please note: This property should have been non-nullable! Since the specification file
|
/// Please note: This property should have been non-nullable! Since the specification file
|
||||||
/// does not include a default value (using the "default:" property), however, the generated
|
/// does not include a default value (using the "default:" property), however, the generated
|
||||||
@@ -36,36 +40,54 @@ class OAuthConfigResponseDto {
|
|||||||
///
|
///
|
||||||
String? buttonText;
|
String? buttonText;
|
||||||
|
|
||||||
|
///
|
||||||
|
/// Please note: This property should have been non-nullable! Since the specification file
|
||||||
|
/// does not include a default value (using the "default:" property), however, the generated
|
||||||
|
/// source code must fall back to having a nullable type.
|
||||||
|
/// Consider adding a "default:" property in the specification file to hide this note.
|
||||||
|
///
|
||||||
|
bool? autoLaunch;
|
||||||
|
|
||||||
@override
|
@override
|
||||||
bool operator ==(Object other) => identical(this, other) || other is OAuthConfigResponseDto &&
|
bool operator ==(Object other) => identical(this, other) || other is OAuthConfigResponseDto &&
|
||||||
other.enabled == enabled &&
|
other.enabled == enabled &&
|
||||||
|
other.passwordLoginEnabled == passwordLoginEnabled &&
|
||||||
other.url == url &&
|
other.url == url &&
|
||||||
other.buttonText == buttonText;
|
other.buttonText == buttonText &&
|
||||||
|
other.autoLaunch == autoLaunch;
|
||||||
|
|
||||||
@override
|
@override
|
||||||
int get hashCode =>
|
int get hashCode =>
|
||||||
// ignore: unnecessary_parenthesis
|
// ignore: unnecessary_parenthesis
|
||||||
(enabled.hashCode) +
|
(enabled.hashCode) +
|
||||||
|
(passwordLoginEnabled.hashCode) +
|
||||||
(url == null ? 0 : url!.hashCode) +
|
(url == null ? 0 : url!.hashCode) +
|
||||||
(buttonText == null ? 0 : buttonText!.hashCode);
|
(buttonText == null ? 0 : buttonText!.hashCode) +
|
||||||
|
(autoLaunch == null ? 0 : autoLaunch!.hashCode);
|
||||||
|
|
||||||
@override
|
@override
|
||||||
String toString() => 'OAuthConfigResponseDto[enabled=$enabled, url=$url, buttonText=$buttonText]';
|
String toString() => 'OAuthConfigResponseDto[enabled=$enabled, passwordLoginEnabled=$passwordLoginEnabled, url=$url, buttonText=$buttonText, autoLaunch=$autoLaunch]';
|
||||||
|
|
||||||
Map<String, dynamic> toJson() {
|
Map<String, dynamic> toJson() {
|
||||||
final _json = <String, dynamic>{};
|
final json = <String, dynamic>{};
|
||||||
_json[r'enabled'] = enabled;
|
json[r'enabled'] = this.enabled;
|
||||||
if (url != null) {
|
json[r'passwordLoginEnabled'] = this.passwordLoginEnabled;
|
||||||
_json[r'url'] = url;
|
if (this.url != null) {
|
||||||
|
json[r'url'] = this.url;
|
||||||
} else {
|
} else {
|
||||||
_json[r'url'] = null;
|
// json[r'url'] = null;
|
||||||
}
|
}
|
||||||
if (buttonText != null) {
|
if (this.buttonText != null) {
|
||||||
_json[r'buttonText'] = buttonText;
|
json[r'buttonText'] = this.buttonText;
|
||||||
} else {
|
} else {
|
||||||
_json[r'buttonText'] = null;
|
// json[r'buttonText'] = null;
|
||||||
}
|
}
|
||||||
return _json;
|
if (this.autoLaunch != null) {
|
||||||
|
json[r'autoLaunch'] = this.autoLaunch;
|
||||||
|
} else {
|
||||||
|
// json[r'autoLaunch'] = null;
|
||||||
|
}
|
||||||
|
return json;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Returns a new [OAuthConfigResponseDto] instance and imports its values from
|
/// Returns a new [OAuthConfigResponseDto] instance and imports its values from
|
||||||
@@ -88,8 +110,10 @@ class OAuthConfigResponseDto {
|
|||||||
|
|
||||||
return OAuthConfigResponseDto(
|
return OAuthConfigResponseDto(
|
||||||
enabled: mapValueOfType<bool>(json, r'enabled')!,
|
enabled: mapValueOfType<bool>(json, r'enabled')!,
|
||||||
|
passwordLoginEnabled: mapValueOfType<bool>(json, r'passwordLoginEnabled')!,
|
||||||
url: mapValueOfType<String>(json, r'url'),
|
url: mapValueOfType<String>(json, r'url'),
|
||||||
buttonText: mapValueOfType<String>(json, r'buttonText'),
|
buttonText: mapValueOfType<String>(json, r'buttonText'),
|
||||||
|
autoLaunch: mapValueOfType<bool>(json, r'autoLaunch'),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
return null;
|
return null;
|
||||||
@@ -140,6 +164,7 @@ class OAuthConfigResponseDto {
|
|||||||
/// The list of required keys that must be present in a JSON.
|
/// The list of required keys that must be present in a JSON.
|
||||||
static const requiredKeys = <String>{
|
static const requiredKeys = <String>{
|
||||||
'enabled',
|
'enabled',
|
||||||
|
'passwordLoginEnabled',
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
6
mobile/openapi/lib/model/remove_assets_dto.dart
generated
6
mobile/openapi/lib/model/remove_assets_dto.dart
generated
@@ -31,9 +31,9 @@ class RemoveAssetsDto {
|
|||||||
String toString() => 'RemoveAssetsDto[assetIds=$assetIds]';
|
String toString() => 'RemoveAssetsDto[assetIds=$assetIds]';
|
||||||
|
|
||||||
Map<String, dynamic> toJson() {
|
Map<String, dynamic> toJson() {
|
||||||
final _json = <String, dynamic>{};
|
final json = <String, dynamic>{};
|
||||||
_json[r'assetIds'] = assetIds;
|
json[r'assetIds'] = this.assetIds;
|
||||||
return _json;
|
return json;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Returns a new [RemoveAssetsDto] instance and imports its values from
|
/// Returns a new [RemoveAssetsDto] instance and imports its values from
|
||||||
|
|||||||
6
mobile/openapi/lib/model/search_asset_dto.dart
generated
6
mobile/openapi/lib/model/search_asset_dto.dart
generated
@@ -31,9 +31,9 @@ class SearchAssetDto {
|
|||||||
String toString() => 'SearchAssetDto[searchTerm=$searchTerm]';
|
String toString() => 'SearchAssetDto[searchTerm=$searchTerm]';
|
||||||
|
|
||||||
Map<String, dynamic> toJson() {
|
Map<String, dynamic> toJson() {
|
||||||
final _json = <String, dynamic>{};
|
final json = <String, dynamic>{};
|
||||||
_json[r'searchTerm'] = searchTerm;
|
json[r'searchTerm'] = this.searchTerm;
|
||||||
return _json;
|
return json;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Returns a new [SearchAssetDto] instance and imports its values from
|
/// Returns a new [SearchAssetDto] instance and imports its values from
|
||||||
|
|||||||
@@ -61,15 +61,15 @@ class ServerInfoResponseDto {
|
|||||||
String toString() => 'ServerInfoResponseDto[diskSizeRaw=$diskSizeRaw, diskUseRaw=$diskUseRaw, diskAvailableRaw=$diskAvailableRaw, diskUsagePercentage=$diskUsagePercentage, diskSize=$diskSize, diskUse=$diskUse, diskAvailable=$diskAvailable]';
|
String toString() => 'ServerInfoResponseDto[diskSizeRaw=$diskSizeRaw, diskUseRaw=$diskUseRaw, diskAvailableRaw=$diskAvailableRaw, diskUsagePercentage=$diskUsagePercentage, diskSize=$diskSize, diskUse=$diskUse, diskAvailable=$diskAvailable]';
|
||||||
|
|
||||||
Map<String, dynamic> toJson() {
|
Map<String, dynamic> toJson() {
|
||||||
final _json = <String, dynamic>{};
|
final json = <String, dynamic>{};
|
||||||
_json[r'diskSizeRaw'] = diskSizeRaw;
|
json[r'diskSizeRaw'] = this.diskSizeRaw;
|
||||||
_json[r'diskUseRaw'] = diskUseRaw;
|
json[r'diskUseRaw'] = this.diskUseRaw;
|
||||||
_json[r'diskAvailableRaw'] = diskAvailableRaw;
|
json[r'diskAvailableRaw'] = this.diskAvailableRaw;
|
||||||
_json[r'diskUsagePercentage'] = diskUsagePercentage;
|
json[r'diskUsagePercentage'] = this.diskUsagePercentage;
|
||||||
_json[r'diskSize'] = diskSize;
|
json[r'diskSize'] = this.diskSize;
|
||||||
_json[r'diskUse'] = diskUse;
|
json[r'diskUse'] = this.diskUse;
|
||||||
_json[r'diskAvailable'] = diskAvailable;
|
json[r'diskAvailable'] = this.diskAvailable;
|
||||||
return _json;
|
return json;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Returns a new [ServerInfoResponseDto] instance and imports its values from
|
/// Returns a new [ServerInfoResponseDto] instance and imports its values from
|
||||||
|
|||||||
@@ -31,9 +31,9 @@ class ServerPingResponse {
|
|||||||
String toString() => 'ServerPingResponse[res=$res]';
|
String toString() => 'ServerPingResponse[res=$res]';
|
||||||
|
|
||||||
Map<String, dynamic> toJson() {
|
Map<String, dynamic> toJson() {
|
||||||
final _json = <String, dynamic>{};
|
final json = <String, dynamic>{};
|
||||||
_json[r'res'] = res;
|
json[r'res'] = this.res;
|
||||||
return _json;
|
return json;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Returns a new [ServerPingResponse] instance and imports its values from
|
/// Returns a new [ServerPingResponse] instance and imports its values from
|
||||||
|
|||||||
@@ -56,14 +56,14 @@ class ServerStatsResponseDto {
|
|||||||
String toString() => 'ServerStatsResponseDto[photos=$photos, videos=$videos, objects=$objects, usageRaw=$usageRaw, usage=$usage, usageByUser=$usageByUser]';
|
String toString() => 'ServerStatsResponseDto[photos=$photos, videos=$videos, objects=$objects, usageRaw=$usageRaw, usage=$usage, usageByUser=$usageByUser]';
|
||||||
|
|
||||||
Map<String, dynamic> toJson() {
|
Map<String, dynamic> toJson() {
|
||||||
final _json = <String, dynamic>{};
|
final json = <String, dynamic>{};
|
||||||
_json[r'photos'] = photos;
|
json[r'photos'] = this.photos;
|
||||||
_json[r'videos'] = videos;
|
json[r'videos'] = this.videos;
|
||||||
_json[r'objects'] = objects;
|
json[r'objects'] = this.objects;
|
||||||
_json[r'usageRaw'] = usageRaw;
|
json[r'usageRaw'] = this.usageRaw;
|
||||||
_json[r'usage'] = usage;
|
json[r'usage'] = this.usage;
|
||||||
_json[r'usageByUser'] = usageByUser;
|
json[r'usageByUser'] = this.usageByUser;
|
||||||
return _json;
|
return json;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Returns a new [ServerStatsResponseDto] instance and imports its values from
|
/// Returns a new [ServerStatsResponseDto] instance and imports its values from
|
||||||
|
|||||||
@@ -46,12 +46,12 @@ class ServerVersionReponseDto {
|
|||||||
String toString() => 'ServerVersionReponseDto[major=$major, minor=$minor, patch_=$patch_, build=$build]';
|
String toString() => 'ServerVersionReponseDto[major=$major, minor=$minor, patch_=$patch_, build=$build]';
|
||||||
|
|
||||||
Map<String, dynamic> toJson() {
|
Map<String, dynamic> toJson() {
|
||||||
final _json = <String, dynamic>{};
|
final json = <String, dynamic>{};
|
||||||
_json[r'major'] = major;
|
json[r'major'] = this.major;
|
||||||
_json[r'minor'] = minor;
|
json[r'minor'] = this.minor;
|
||||||
_json[r'patch'] = patch_;
|
json[r'patch'] = this.patch_;
|
||||||
_json[r'build'] = build;
|
json[r'build'] = this.build;
|
||||||
return _json;
|
return json;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Returns a new [ServerVersionReponseDto] instance and imports its values from
|
/// Returns a new [ServerVersionReponseDto] instance and imports its values from
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user